Message Sequence Diagram Generation with Automatic Error Handling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for generating message sequence diagrams struggle with efficiently incorporating error handling procedures, especially when dealing with numerous messages and statuses, and fail to effectively combine abnormal specifications with normal specifications.
Innovation Solution
A method and device that utilize a message sequence diagram and a phenomenon causal relationship model to associate elements with phenomena, setting actions for specific phenomena and storing this information to add error handling actions to the message sequence, considering the causal relationships among phenomena.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If traditional methods are used to manually create message sequence diagrams for error handling procedures, then completeness and accuracy of error handling can be achieved, but the time and effort required increases significantly
Solution Approach 1:
The system performs preliminary actions by automatically generating a message sequence diagram for normal procedures first, then uses this as a foundation to automatically add error handling procedures. This preliminary generation of the normal flow diagram reduces the time required while ensuring completeness of error handling through systematic addition of error scenarios.
Solution Approach 2:
The invention introduces an intermediary processing system that acts as a mediator between the normal procedure diagram and the final complete diagram. This intermediary automatically analyzes the normal flow, identifies potential error points, and systematically adds error handling procedures, thereby ensuring reliability while reducing manual effort and time.
2Adaptability or versatility
If many rules are described to handle various messages and statuses in error handling, then coverage of error scenarios improves, but the complexity of the message sequence diagram increases
Solution Approach 1:
The system segments the error handling process into distinct, manageable parts by automatically identifying and separating different error scenarios from the normal flow. Each error handling procedure is generated as a distinct segment with clear entry and exit points, which improves coverage of error scenarios while maintaining diagram readability and reducing overall complexity.
Solution Approach 2:
The invention applies dynamics by making the message sequence diagram adaptable and flexible through automatic generation. The system dynamically adjusts the diagram structure based on the analyzed normal procedures and identified error scenarios, creating a versatile diagram that covers multiple error cases without requiring manual complexity management. The automatic generation ensures the diagram remains organized despite covering numerous error scenarios.
Data Source
AI summary
A message sequence generation method and a message sequence generation device, by which a message sequence with an error handling added thereto can be efficiently generated. The method includes setting an action for a specific phenomenon in the phenomenon causal relationship model, associating each element included in the message sequence information with each phenomenon to generate element/phenomenon correspondence information, storing the element/phenomenon correspondence information into a memory device, and acquiring the action set for the phenomenon corresponding to each element and the action set for another phenomenon caused by the phenomenon, from the element/phenomenon correspondence information, and adding the actions to the element as an error handling.


