Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

There are several diagrams of ATM system in UML modeling language

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article is to share with you about several diagrams of ATM systems in the UML modeling language. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1 use case diagram:

The use case diagram in the UML modeling language describes a functional unit provided by the system. Understand the functional requirements of the system and the relationship between "roles" and use cases in the system in a visual way.

In this case, the participant "bank depositor" and ATM. The simplified ATM only has withdrawal, deposit and other functions. The remaining functions are not described in detail.

2 types of diagrams:

The class diagram in UML modeling language shows the static structure of the system. Logic class, implementation class, implementation class are the entities that programmers deal with. The class is described using a three-part rectangle on the class diagram, as shown in figure 2. The top section shows the name of the class, the middle part contains the properties of the class, and the bottom part contains the actions (or "methods") of the class.

In this example, many individual accounts make up the account library, which has three attributes: account type, account number, and balance. Many bank depositors form depositors' banks. The ATM system includes many ATM machines. What attributes and operations are included in the two classes of bank depositors and ATM machines, their visibility and the return type, number of parameters and parameter types of the operation are clear from the class diagram. Through the class diagram, designers can not only clearly express their own design intentions, but also help them organize their own ideas, enrich and optimize their own design.

3 sequence diagram:

Sequence diagrams in the UML modeling language show the detailed flow of a specific use case (or part of a use case). It is almost self-describing and shows the call relationships between different objects in the process, as well as different calls to different objects in great detail. A sequence diagram has two dimensions: the vertical dimension displays the sequence of messages / calls in the chronological order in which they occur, and the horizontal dimension shows the object instance to which the message is sent.

This example describes the flow of information when a customer withdraws money from an ATM machine in chronological order, which is heavier than the time sequence of message transmission between objects.

4 State diagram:

In the UML modeling language, the state diagram represents the different states of a class and the state transition information of the class. It includes five basic elements: the initial starting point, which is drawn using a solid circle; the transition between states, which is drawn using a line segment with an open arrow; the state, which is drawn with a rounded rectangle; a judgment point, which is drawn using a hollow circle; and one or more termination points, which are drawn using a circle with a solid circle inside.

This example describes several states that customers will experience when operating on an ATM machine, and the conditions for the transition between various states. Because it is a simplified example, in addition to waiting for the customer to insert the starting state of the magnetic card and the ending state of the service, the customer will be in four states: entering the password, selecting the type of service, deposit and withdrawal.

5 activity diagram:

Activity diagrams in the UML modeling language represent the process control flow between two or more classes of objects when an activity is processed. Suitable for modeling higher-level processes, such as how the company is currently running its business, as an option, activities can be grouped into swimlane, which is used to represent the objects that actually perform the activity.

The sequence diagram focuses on the sequence of time, while the activity diagram focuses on the mutual restriction between the parts, which can be effectively expressed for some parallel activities.

6 component diagram:

The component diagram in the UML modeling language provides a physical view of the system, showing the dependence of the software in the system on other software components (for example, library functions).

7 deployment diagram:

The deployment diagram in UML modeling language shows how the software system is deployed to the hardware environment. The purpose is to show where the different components of the system will run physically and how they will communicate with each other.

The deployment diagram (collaboration diagram) focuses on the static connection between expressing objects, which corresponds to the message delivery on the sequence diagram one by one.

Thank you for reading! This is the end of this article on "there are several diagrams of ATM system in UML modeling language". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report