1. 3 models and 5 levels
3 models :
The models obtained by object-oriented modeling are object model , dynamic model and function model .
The importance of these three sub-models is different for different problems to be solved: to solve almost any problem, it is necessary to abstract a very valuable object model from the entities in the objective world and the interrelationships between entities; when the problem involves interaction and timing (for example, user interface and process control, etc.), the dynamic model is important; to solve problems with a large amount of calculation (for example, high-level language compilation, scientific and engineering calculations, etc.), important functional models are involved. Both the dynamic model and the functional model contain operations in the object model.
5 levels:
The object model of a complex problem usually consists of a subject layer, a class and object layer, a structure layer, an attribute layer, and a service layer
5 activities corresponding to 5 levels:
Find classes and objects
recognition structure
identify themes
define properties
define service
2. General sequence of object-oriented analysis
①Looking for classes and objects
② Identification structure
③Identify the theme
④ Define attributes
⑤Establish a dynamic model
⑥Establish functional model
⑦ Define service
3. Create an object model
① Determine the class and object
② Determining the relationship
③ Divide themes
④ Determine attributes
⑤ Identify the inheritance relationship
⑥ Repeated modification
4. Build a dynamic model
① Write the script
② Imagine the user interface
③ Draw an event tracking diagram
④ Draw a state diagram
⑤Review dynamic model
5. Build a functional model
① Draw the basic system model
② Draw a functional-level data flow diagram
③ Describe the function of the processing box