Test method and device based on automatically generated sequence diagram

An automatic generation and sequence diagram technology, applied in the field of computer applications, can solve the problems of low efficiency of manual drawing of sequence diagrams and low test efficiency, and achieve the effect of solving the difficulty of debugging programs, improving test efficiency and saving human resources.

Inactive Publication Date: 2017-03-29
SHANGHAI ZTE SOFTWARE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a test method and device based on automatically generating sequence diagrams, which can better solve the problem of low test efficiency caused by manual drawing of sequence diagrams

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
  • Test method and device based on automatically generated sequence diagram
  • Test method and device based on automatically generated sequence diagram
  • Test method and device based on automatically generated sequence diagram

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0062] The invention assists testing by automatically generating sequence diagrams.

[0063] figure 1 It is the flow chart of the test method based on the automatically generated sequence diagram provided by the embodiment of the present invention, such as figure 1 As shown, the steps include:

[0064] Step S101: Collect information during the interaction process of the multi-node asynchronous message interaction system.

[0065] Wherein, the collected information includes the node name of the message exchange, the message number and description, the sender node of the message, and the receiver node of the message.

[0066] It should be noted that befo...

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 discloses a test method and device based on an automatically generated sequence diagram, and relates to the field of computer applications. The method comprises the following steps: collecting information of a multi-node asynchronous message interaction system in an interaction process; allocating drawing spaces to drawing units corresponding to corresponding messages in sequence according message serial numbers and illustrations in the collected information; after the drawing spaces are allocated to the drawing units corresponding to all messages, displaying the corresponding drawing units in the drawing spaces; and performing corresponding tests by use of the displayed drawing units. According to the test method and device provided by the invention, by means of the automatically generated sequence diagram, the interaction procedures of the messages can be displayed intuitively, thereby locating faulty nodes more conveniently and solving the problems of program debugging difficulty and problem locating difficulty in the multi-node asynchronous message interaction system, meanwhile as the sequence diagram is automatically generated, the manpower resources are saved, and the test efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a testing method and device based on automatically generating sequence diagrams. Background technique [0002] In a multi-node asynchronous message interaction system, due to the many nodes and messages involved, once a problem occurs, it is difficult for engineers to locate the node where the message is blocked, which brings great difficulty to problem location and debugging. [0003] In the existing test technology, if a problem is found in the program, most of them locate the problem through single-step debugging and log printing. Although this method can gradually narrow the scope of the problem and finally locate the problem, the efficiency of locating the problem is low, and the result Presentation is not intuitive. [0004] By drawing a sequence diagram, the message interaction relationship can be presented intuitively. However, the current sequence diagram can only ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/36
Inventor 郑印姬文燕朱建
Owner SHANGHAI ZTE SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products