Documente Academic
Documente Profesional
Documente Cultură
Introduction
The sole purpose of an Information System is to support or automate business activities by storing and processing relevant business information or data. It is therefore critical to the success of any IS development that the meaning, structure and business rules of the required data are fully analysed, understood and modelled. During the Investigation phase we are concerned with understanding the underlying (i.e. logical) data requirement rather than making decisions about its physical implementation.
In other words the underlying logical view is of a number of separate data groupings, each describing a different business concept or object. We will also find that information on, for example, products is physically held in many other places, such as on customer orders, invoices and despatch notes. This all leads to a confusing mess of duplication and interconnecting information, which in turn leads to problems in maintaining data consistency and integrity.
Entities
Any object or concept about which a system needs to hold information is known as an Entity Type (or entity for short). To be a valid entity we must wish to hold information on more than one occurrence of it. Entity occurrences are real world instances of an entity type. For example the entity type Supplier will have occurrences such as:
Entities (continued)
The symbol for an entity in an LDS is a round cornered rectangle containing the entitys name (which must be unique):
Supplier unique name
An entity must have a number of properties to qualify as such: - There must be more than one occurrence of the entity. - Each occurrence should be uniquely identifiable. - There must be data that we want to hold about the entity. - It should be of direct interest to the system.
Attributes
Each item of information (or data) that we hold about an entity is known as an attribute or data item. Examples of attributes for Supplier might be supplier number, supplier name, supplier address, and supplier telephone no. The detail of an entitys attributes is not formally included on the Logical Data Structure itself. This is held in separate textual descriptions.
Relationships
Entities do not exist in isolation, but are related to other entities. In physical data structures these relationships are signified by physical links such as pointers or placement in the same file or document. In logical models relationships represent business associations or rules and not physical links. Any entities that are related are linked by a line on the LDS. The line is labelled with the name of the relationship, and is named in both directions.
Degree
The number of occurrences of each entity type participating in a given relationship is denoted by the degree or cardinality of that relationship, and illustrated on the LDS by adding crows feet to the relationships line. There are three types of degree:
Many to Many (m:n). This tells us that each occurrence of A is related to one or more occurrences of B, and each occurrence of B is related to one or more occurrences of A. One to Many (1:m). This tells us that each occurrence of A is related to one or more occurrences of B, but each occurrence of B is related to only one occurrence of A. One to One (1:1). This tells us that each occurrence of A is related to only one occurrence of B, and each occurrence of B is related to only one occurrence of A.
Identifying Entities
To identify entities in the current environment we can begin by looking at our physical data stores to find out exactly what it is that they hold information about. If we take the customer order file and discuss it with users, we find that it not only contains details of each individual order, but of the customers themselves,
i.e. customer address, customer telephone number etc., and so encompasses at least two entities, namely Customer and Customer Order.
Verification
Once the entity list has been drawn up we should verify it with key users during preliminary scoping interviews. The key questions to ask of each entity are: Are any of the candidates merely attributes of another entity? Do any of the candidates represent a subset of occurrences of another entity? Do all of the entities have a unique identifier? During this process we may discover new entities, merge existing entities or discard candidates as being outside the area of investigation.
Adding Relationships
We now examine each entity to see if it is directly related, in a way that is of interest to the system, to any of the other entities. The best way to do this is in discussion with users, either taking each entity in turn, or starting with a key entity and moving around the LDS network as the relationships are identified. Having identified where we think relationships exist, we now consider their degree, optionality and names. We do this by identifying the business rules that apply to each entity pairing. The basic process is the same for all pairings, so we will look at just one example.
QUESTIONS???
THANK YOU