当前位置:网站首页>Requirements and business model analysis requirements 13 data modeling
Requirements and business model analysis requirements 13 data modeling
2022-06-12 02:46:00 【SpriCoder】
Book13- Data modeling
1. summary
- Data modeling describes the definition of data 、 Structure, relationship and other characteristics of technology .
- Data model performance
- Conceptual data model : Explain the data model in problem domain language , Student ( Student number 、 full name 、 Date of birth )
- Physical data model : The physical data model is an explanation of the solution system language of the data model , Describe the implementation of shared transaction in solution system , Is a formal definition ,Student{(Number,Long,Not Null, primary key),(Name, Varchar 50, Not Null),(Birthday,Date, Null)}.
- Logical data model : Student =( Student number , identifier )+( full name ,4 Chinese characters )+( Date of birth , date )
- The most commonly used are entity relationship diagrams

2. entity model
![]() | ![]() |
|---|
2.1. Entity

- Logical entity is the refinement of conceptual entity , Have a complete description of the characteristics .
- Entities in entity relationship modeling generally refer to logical entities .
- Process entities : For example, sales behavior process entity .

2.2. attribute
![]() | ![]() |
|---|

- Above picture email Is a multivalued attribute .
- Store attributes and export attributes .
2.3. Relationship

- The degree of the relationship : Number of entities participating in the relationship

- Cardinality of the relationship ( constraint ): Describe the number of relationships that the example may participate in
- maximum cardinality : Key constraint
- One 1
- Many >1
- Minimum cardinality : Participate in the constraints
- Optional 0
- Mandatory 1
- maximum cardinality : Key constraint

- Subtype relationships : Multiple entities are mostly similar 、 A few are different .

- Entities affected by relationships
- Weak entity : The existence and identification of entities that need to depend on other entities , For example, examination. ( Weak entity ) For the course ( Parent entity ).
- Related entities : The entities attached to the relationship

3. Creation of entity relationship diagram
3.1. Create an entity relationship diagram that fully describes the information
- Where sufficient information is available
- The system is small and simple
- The system functions are divided into simple parts , To a certain part
- step
- Identify entities from description information
- Identify the identifier of the entity
- Establish relationships between entities
- Add detailed description
- example : textbook 330-332




3.2. Create according to entity relation diagram of hard data form
![]() | ![]() |
|---|
- Creating steps
- Analyze form content , Determine form subject
- Establish relationships between topics
- Organize form items around forms
- Supplement the details of the entity relationship
- Example : textbook P333-335




3.3. Entity relationship diagram creation in complex situations
- Discover the conceptual domain of the system
- Create a description of the concept domain
- Expand concept fields
- Merge local data models of conceptual domains
4. Relation between entity relation diagram and process model
- Technology to synchronize entity relationship diagram and process model : function / Entity matrix .

- Build functionality / The entity matrix process is also an excellent check , It can help to verify the correctness of process model and data module , Find the mistake 、 missing 、 Redundancy and inconsistency .
边栏推荐
- Force deduction solution summary -04.06 Successor
- DbNull if statement - DbNull if statement
- Requirements and business model innovation - Requirements 7- user requirements acquisition based on use case / scenario model
- Force deduction solution summary 875- coco who likes bananas
- The program actively carries out telephone short message alarm, and customizes telephone, short message and nail alarm notifications
- SSH public key login failed with error: Sign_ and_ send_ pubkey: no mutual signature supported
- A single quarter of educational technology revenue of 230million: a year-on-year decrease of 51% and a sharp narrowing of net loss
- Unity3D中DrawCall、Batches、SetPassCall
- AcrelCloud-6000安全用电云平台在某商业广场的应用
- 如何防止商場電氣火灾的發生?
猜你喜欢

How to build urban smart bus travel? Quick code to answer

Proxy and reflection (II)

The road of global evolution of vivo global mall -- multilingual solution

WPS表格 学习笔记 - 高亮显示重复值

Application of ard3m motor protector in coal industry

Application of residual pressure monitoring system in high-rise civil buildings

Cupp dictionary generation tool (similar tools include crunch)

Getting started with RPC

Cvpr2022 | IFS RCNN: an incremental small sample instance splitter

I2C协议概述
随机推荐
The program actively carries out telephone short message alarm, and customizes telephone, short message and nail alarm notifications
Intel Galileo Gen2 development
How should programmers solve the problem of buying vegetables? Take you hand in hand to quickly order and grab vegetables by using the barrier free auxiliary function
min25筛
WPS table learning notes - highlight duplicate values
AcrelCloud-6000安全用电云平台在某商业广场的应用
DDD的分层架构
Ue4\ue5 touch screen touch event: single finger and double finger
Force deduction solution summary 942- increase / decrease string matching
【无标题】2022煤矿安全检查考题及在线模拟考试
errno: -4078, code: ‘ECONNREFUSED‘, syscall: ‘connect‘, address: ‘127.0.0.1‘, port: 3306; Postman error
Layered architecture of DDD
Force deduction solution summary 675- cutting trees for golf competition
Comment prévenir les incendies électriques dans les centres commerciaux?
一起教育科技单季营收2.3亿:同比降51% 净亏大幅收窄
The market value has exceeded $3trillion. Why should apple, which has been criticized as a loser, rise again and again?
Force deduction solution summary - Sword finger offer II 114 Alien dictionary
Xcall cluster script (view JPS command)
Start ticwatch2
【高代码文件格式API】道宁为您提供文件格式API集——Aspose,只需几行代码即可创建转换和操作100多种文件格式





