Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for development by utilizing UML (Unified Modeling Language) sequence diagram and activity diagram generation tool

A technology of sequence diagrams and activity diagrams, applied in program files, program control devices, software maintenance/management, etc., can solve problems such as difficulty in accurately expressing conditional branching and parallel event processing, and inability to express UML sequence diagrams.

Inactive Publication Date: 2011-08-03
HUAWEI TECH CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor discovered during the invention process that: the existing UML sequence diagram can only represent the main process of business operation, and when the business process changes, the UML sequence diagram cannot express it, such as: it is difficult to accurately express conditional branching and parallel event processing, etc.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for development by utilizing UML (Unified Modeling Language) sequence diagram and activity diagram generation tool
  • Method for development by utilizing UML (Unified Modeling Language) sequence diagram and activity diagram generation tool
  • Method for development by utilizing UML (Unified Modeling Language) sequence diagram and activity diagram generation tool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] This embodiment provides a method for developing using UML sequence diagrams, such as figure 1 As shown, the following processing steps are included:

[0027] Step 11. Obtain the UML sequence diagram corresponding to the business processing flow, the UML sequence diagram includes at least one of branch processing primitives, parallel processing primitives or internal processing primitives;

[0028] Step 12, generating a corresponding activity diagram from the UML sequence diagram.

[0029] It can be seen from the technical solutions provided by the above-mentioned embodiments of the present invention that the embodiments of the present invention include at least one of branch processing primitives, parallel processing primitives, and internal processing primitives in the UML sequence diagram, and the The sequence diagram described above is converted into an activity diagram, so that different processing logics can be executed according to different situations of variou...

Embodiment 2

[0032] In this embodiment, there is a business processing flow with branch processing logic. When using the UML sequence diagram to represent the business processing flow with branch processing logic, it is necessary to set a plurality of branch primitives in the UML sequence diagram to represent multiple different Branch processing logic, such as Flow1 and Flow2, wherein the branch graphic element Flow1 corresponds to the first branch processing logic, and the branch graphic element Flow2 corresponds to the second branch processing logic. Therefore, when Flow1 or Flow2 is selected, the specific processing steps of the corresponding branch processing logic are displayed. What needs to be explained is: the representation method of the branch primitive, for example: figure 2 , use two side-by-side small square icons to represent three parallel branches. Of course, other shapes can also be set, such as setting a circle to represent branch primitives, and different colors can als...

Embodiment 3

[0046] During the processing of this embodiment, a certain network element needs to process multiple events at the same time, that is to say, there is a parallel processing logic in the processing process, so when the UML sequence diagram represents the process, it is necessary to set a Parallel processing of primitives, for example: such as Figure 4 As shown, the parallel processing graphic element can be represented by a black vertical small square, and the parallel processing graphic element takes effect after receiving the CON message returned by the VPN in step 4 and the RRBE message returned by the PPS in step 5. That is, Service Broker processes the above-mentioned CON message and RRBE message at the same time. If only one of the above-mentioned CON message and RRBE message is received, the above-mentioned parallel processing primitives will not take effect, that is, the Service Broker will not process the above-mentioned CON message or RRBE message, and the processing...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for development by utilizing a UML (Unified Modeling Language) sequence diagram and an activity diagram generation tool. The method mainly comprises the following steps: obtaining a UML sequence diagram corresponding to a business process flow; and generating the UML sequence diagram into a corresponding activity diagram, wherein the UML sequence diagram at least comprises one of a branch processing primitive and a processing primitive or an exterior processing primitive. With the adoption of the method and the activity diagram generation tool, different processing logics can be executed according to the different situations of various businesses.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method developed by using UML sequence diagram and an activity diagram generation tool. Background technique [0002] Unified Modeling Language (UML, Unified Modeling Language) is currently used in software engineering. It is a tool for object-oriented programming, which is used to abstract real-world problems into object-oriented solutions for further coding. [0003] UML is composed of a bunch of diagrams, including: use case diagrams, class diagrams, object diagrams, state generation diagrams, activity diagrams, sequence diagrams, deployment diagrams, etc. The significance of these diagrams: on the one hand, it is to enable software analysts and designers to have a deeper understanding and understanding of the target problem (achieved in the process of drawing these diagrams); on the other hand, it is to enable all personnel involved in the project Can participate i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
CPCG06F8/73G06F8/10G06F9/44
Inventor 何沁庞启勇
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products