Professional Documents
Culture Documents
Si Chapter3p2.fr - en
Si Chapter3p2.fr - en
com
Merise is an IS design method based on the systemic approach. It defines three levels of
design aimed at covering the static and dynamic aspects of an IS as shown in the
following table:
The Conceptual Data Model (CDM), allows the static description of the information system using
the concepts of entity and association.
1
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
Conceptual Model of Treatment (CTM)
The MCT makes it possible to describe the different business processes associated with an
information system, as well as the actors involved in these processes and the flows of information
between them. It is used to identify processing needs and to describe how those needs can be met by
The Logical Data Model (PDM) allows a representation of the physical structure of a
database.
The Organizational Model of Processing (MOT) offers a global vision of the information
system. It is at this stage of processing analysis that the real constraints of the organization
are highlighted.
The static and dynamic aspects can be treated separately at the conceptual and organizational
levels (two different teams can each deal with one aspect). However, before moving on to the
Operational level, a validation step of the different models built is necessary in order to be sure
that there have been no errors or omissions. This is done by comparing the MOT and MCD by the
"external models" or "Views". The design process is described by the following figure (Models of
the MERISE method):
2
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
3
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
The Conceptual Data Model (CDM)
The objective of the MCD is to represent all the memorizable data of the studied domain. The
CDM is based on the “Entity/Association” model where entities represent objects and associations
represent relationships between objects. Its role is to:
Define the concepts or objects that are at the "centres of interest", the associations between these objects and
the constraints.
MCD concepts
The formalism of the CDM is based on 4 types of basic concepts which are:
1)Property :
Definition :A piece of information is elementary data that can be attached to an entity or an
association; in this case, information is namedattributeOrproperty.
- A property is the descriptive element of the individual-type or of the relationship-type. To take on
its meaning, a property must be assigned to an individual-type or to a relation-type.
- A property is the modeling of manipulated or exchanged information.
- A property can take values.
- Each entity must be equipped with at least oneidentifier, which is a particular property such that each
value of this identifier corresponds to one and only one occurrence of the entity considered. When
generating the tables of a database, the identifier takes on the role of primary key. Placed first within
the entity, the property playing the role of identifier must be underlined.
Example :
4
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
Characteristics of a property:
If one wishes to break down the meaning of all or part of a compound property in order to
reference it by parts, it must be made explicit by as many elementary properties.
2)INDIVIDUAL-TYPE:
or whose existence the organism agrees to recognize. The INDIVIDUALTYPE expresses a type, a class,
Example:Customer, Invoice, Contract, Employee, Car, Child. The typical individual is described by a list of
properties. For example, the individual-type “Customer” is described by the properties “Customer
They make it possible to describe the trade and the activity of the company. The fundamental criterion for
the typical individual independently of its use (it is said to have an existence of its own).
From concrete or abstract objects of the real world, one can at will, compose a
infinity of classes.
A typical individual must keep his identity through all the transformations or treatments he may
undergo.
An identifier is a descriptive property of the individual-type such as: 'An occurrence of the individual-
type concerned corresponds to one value and only one of this property'.
Example :Order number 125. Correspondence must target the present but also the future. How
to choose the identifier?
Often, the designer creates an "artificial" property which acts as an identifier for a given
individual type in order to avoid generating duplicates. This property can be:
- An order number: for example the order number
- A composite property: for example the registration of a vehicle
- A relative identifier: for example the chapter number and the article number in the chapter.
c) Verification rule:
At any occurrence of the individual-type, there can only be, at a given moment, at most one and only
one value of this property. If this rule is not verified for a property of an individual-type then it cannot
6
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
d) Standardization rules:
A-Any non-identifying property of a type-individual must depend on the identifier and only on the
identifier.
Matriculation → Name, Service code, Service name and Service code → Service name B-each
composed.
* It is desirable that the properties attached to an individual-type have a meaning for all
its occurrences.
Example:The “power” property will never have a meaning for each of the occurrences of the individual-
When such a problem arises, we must question the model of the typical individual. The following
question then arises: "Haven't several classes been nested within a single typical individual?" ".
Two solutions are then possible:
1/ Modeling is tolerated despite its lack of relevance. 2/The
typical individual is broken down into several sets.
3)RELATIONSHIP:
Definition:In general an association connects two entities; however, it can link an entity with itself
7
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
- A RELATION-TYPE models a set of links or associations of the same nature between two or more
occurrences of individuals of different type or of the same type.
- It is the set of two or more typical individuals defining a real situation in which each plays a
particular role.
Example:A CHILD and a VACCINE are typical individuals whose existence is real.
- VACCINATION can be seen as an encounter between a CHILD and a VACCINE, it is a typical
relationship.
- VACCINATION exists only because the child and the vaccine exist.
We deduce from this that a typical relationship only exists through the typical individuals that compose it.
Occurrence of RELATION-TYPE:
It is an element of a set of links of the same nature. For example: The “BCG” vaccine applied to
the child “MOHAMED”.
Identifier of a RELATION-TYPE:
A relation-type does not have its own identifier. Its identifier is the juxtaposition of the identifiers of the typical
Example:
- The vaccination type relationship is identified by the couple (vaccine code, child's name).
- The pair (“BCG”, “Mohamed01”) identifies one and only one occurrence of the vaccination set.
Concept of collection:
A type-relation can be described by its own properties. This is information that can only take
on meaning with the presence of all the typical individuals that make up this typical
relationship.
8
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
Example:The vaccination date is a property of the vaccination-type relation.
When a type-relation has properties other than the identifier, it is said to carry
information.
Example:
9
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
satisfied with the reduced representation given by model A in the event that certain actions
Verification rule:
To a combination of occurrences of individual-types composing the collection of a relation-type, there can
Example :
Normalization rules:
Example :We only know the date of authorization if we know the driver's license number of the
person and the registration number of the car → ownership well verified.
The date of the driving license is known when we know the license number of the person. This
property is therefore verified on the person subset belonging to the collection {person, car} of the
relation driving → the date of driving property should be removed from the relation-type driving and
10
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
B- an occurrence of the type-relation can only exist linked to an occurrence of each of the
individual-types of its collection, no optional leg.
Example :In the diagram on the left, we want to model the fact that an order is placed either by a
customer or by a company. This CDM is not standardized because an occurrence of the PASSE type
relationship (left side) must necessarily relate to a customer, a company and an order.
Example :
11
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
Collection: NOBODY
Dimension = 2. The relation–type is 'BINARY'. It is also “Reflexive”.
CARDINALITIES:
They are defined for each INDIVIDUAL-RELATION couple. They translate the participation of the
by 2 variables:
1. Minimum cardinality:
Minimum number of occurrences of the relation that can exist for an occurrence of the considered
individual.
2. Maximum cardinality:
Maximum number of occurrences of the relation that can exist for an occurrence of the considered
individual.
There are 3 typical values that are generally used:0, 1, N(for many)
- 0 in minimum indicates that an occurrence of individual–type may not participate.
12
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
- 1 in maximum indicates that each occurrence of the individual–type participates at most once.
- N in maximum indicates that at least one occurrence of the individual–type can participate
several times.
The reality expressed characterizes the present but must also take into account the future. The
A given STORE always makes at least 1 delivery (this is a management rule), it can
make several (N).
- A PRODUCT may not be delivered or may be delivered several times.
13
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
4)Integrity constraints:
The management rules express the INTEGRITY CONSTRAINTS of the model. There are different types
of constraints:
Example: an employee cannot have a higher salary than the director of the company. Or the sum of the CA
vs)Cardinalities:They reflect, for each individual-relation couple, the PARTICIPATION of the occurrences
of a typical individual in the occurrences of a typical relationship. The choice of cardinalities must be
made with great care. They must absolutely respect the management rules.
Role of cardinalities:
We will illustrate this role through various examples.
Example :
1. Consider the management rule: A teacher teaches 1 or more subjects.
14
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
2. Consider the following model:
The cardinalities proposed on the model above do not make it possible to manage multi-customer
orders and to take into account prospects (these are new customers who have not yet placed orders).
In order to solve the problem, here are the new cardinalities proposed.
15
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
Logical Data Model (LDM)
The conceptual description made it possible to represent as faithfully as possible the realities of the
universe to be computerized. But this representation cannot be directly manipulated and accepted by
designers and not by the machine. It is therefore necessary to move from the conceptual level to a
second level closer to the capacities of the computer systems. This level, called the logical level,
- or relational model
Each of these models is based on specific data organization techniques that software will
be able to manage, in this chapter the focus will be on the relational model.
The rules for moving from the MCD to the relational model
These rules are of an algorithmic type and can therefore be implemented by software engineering tools (
PowerDesignerFor example). The translation of the basic concepts of the conceptual model is governed by
-Any entity becomes a relation.The entity identifier becomes the primary key of the relationship.
The transition from the conceptual model to the logical model at the level of the relationship classes (association) is done
1. if one of the entity classes has a low cardinality: the table will have as attributes, the attributes of
the class having a low cardinality, then the relationship attribute(s) and finally the attributes of the
16
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
2. if the two entity classes have a strong cardinality: the table will have as attributes, the attributes
of the two relationship classes preceded by the names of the respective classes, then the
relationship attribute(s).
Any binary association of type (1-n) or (1-1)is characterized by the existence of a functional dependence
between the identifier of the entity connected by the segment carrying the cardinality 1,1 or 0,1 and
the other entity. In the diagram below we have the following functional dependency: P1-->P1' , A
such an association entails the integration of the identifier of the goal entity of the functional dependency in the
relation associated with the source entity of the functional dependency. The duplicated property becomes a
Noticed:in the relation named “Association”, P1 and P1' are suffixed with a # (they are foreign
keys) because they are primary keys respectively in the relations E1 and E2.
The example below illustrates the application of these three rules on the following classic order
Special cases
1. Case of cardinality (x,1),(x,1):
Several ways of transformation exist, we retain the following: x can take 0.1 indifferently.
In the relational LDM the identifier ident1 becomes a foreign key in the table associated with the relation (table)
It will be the same for the identifier ident2 which will be a foreign key in the relation (table) associated with
Object1 (ident1,p11,p1,ident2*)
Object2 (ident2,p21,p22,…,ident1*)
We apply the general rules with the only difference that the relation is twice linked to the same object.
0.n
mother
SCOMPANY DHOLD
Company Holds
NOTOSCOMPANY NOTOSCOMPANY
CompanyNo
Name Percentage_of_capital NOTOM NOTOSCOMPANY_MOTHER
0.n
sector
18
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
Example 1:
Since this is a (0,n)-(0,n) relationship, an additional table is created. This table contains as
composite primary key, the key of the "two" related objects. As the same object is linked twice to
the relation, the same name cannot be used twice for the key. In this case it is necessary to use
0.1
husband
PPERSON
Person To be married
NOTOMATRICLE
NoMatricule to be married NOTOMATRICLE_EWIFE
Name NOTOM
0.1
marry
roles in the MCD, and to include the role in the name of one of the migrated keys in the MLD.
Example 2:
Since this is a (0,1)-(0,1) relationship, we generally have a choice as to which object will contain
the foreign key. As this relation is linked twice to the same object, it is obvious that we must
duplicate the primary key, while ensuring that the same key name will not be used for the
primary key and the foreign key. In our example, all married men have the foreign key value of
their current wife as their foreign key. For unmarried men and women, the foreign key is
worthless. We could of course use the inverse modeling with a foreign key NO_MATRICULE_MARI,
which indicates for each married woman, the registration number of her husband.
19
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023
Exercise 1"School Management»
Transform the following MCD, which represents "running a school" into an MLD by following all the rules
Pupil
NoMatricule
Class
frequent
Name 1.n 1.n Class_Name
School year Cycle
First name
Date of birth
1.n
Matter Teach
Code_Material 0.n
Wording
Year
0.n
Teacher
Code_Prof
Name
first name
Exercise 2:Give the MCD corresponding to the following MLDR, specify the cardinalities and the
TEST (test n°, test wording, writing date, test date, coefficient, Examination_Code#) EXAMINATION
20
Chapter-03: Concept of method of analysis and design of an Information System 2022-2023