Method for verifying consistency of dynamic behavior in UML model and time-sequence contract

A consistency and model technology, applied in the direction of program control devices, can solve problems such as model inconsistency, and achieve the effect of ensuring accuracy and reusability

Inactive Publication Date: 2010-03-17
EAST CHINA NORMAL UNIV
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the present invention is to provide a method for verifying the consistency of dynamic behavior and timing contract in the Unified Modeling Language (UML) model, to solve the problem of model inconsistency in the software development requirements design stage, and to provide service-oriented architecture (SOA) and contract-based Combination of designs provides model-level standardized technical solutions

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 verifying consistency of dynamic behavior in UML model and time-sequence contract
  • Method for verifying consistency of dynamic behavior in UML model and time-sequence contract
  • Method for verifying consistency of dynamic behavior in UML model and time-sequence contract

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0042] like figure 1 Shown, method of the present invention can comprise following 5 steps:

[0043] Step S101, modeling according to the UML standard, including UML state diagrams and sequence diagrams, and saving the metamodel of the graphics, which is to prepare for subsequent code mapping;

[0044] Step S102, constructing the dynamic behavior of the model, and realizing the algorithm of mapping the state diagram to the PROMELA code;

[0045] Step S103, constructing a model temporal contract, and implementing an algorithm for mapping sequence diagrams to LTL temporal logic formulas;

[0046] Step S104, using the model verification tool SPIN to verify the PROMELA code and LTL temporal logic formula obtained in 2 and 3;

[0047] Step S105, collecting the returned verification results and judging whether the dynamic behavior ...

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 relates to a method for verifying the consistency of a dynamic behavior in a unified modeling language (UML) model and a time-sequence contract. The method is characterized by comprisingthe following steps: modeling according to the UML standard, including generating a UML state diagram and a UML sequence diagram, and then saving the metamodels of the diagrams; mapping the UML statediagram to a PROMELA code for the dynamic behavior of the model; establishing the time-sequence contract of the model to map the UML sequence diagram to an LTL temporal logical formula; utilizing a model verifying tool SPIN to verify the PROMELA code and the LTL temporal logical formula; and analyzing the returned SPIN verifying result. The technical scheme of the invention associates the unifiedmodeling language (UML) and the verifying tool together, solves the problem of model inconsistency arisen in the requirement and design stage of soft engineering and provides an effective basis for the subsequent development of model driving type software.

Description

technical field [0001] The invention belongs to the technical field of software development, and in particular relates to a method for verifying the consistency of dynamic behavior and timing contract in a unified modeling language UML model. Background technique [0002] Service-Oriented Architecture (SOA) is an architectural model that enables distributed deployment, composition, and use of loosely coupled coarse-grained application components over a network as required. The service layer is the foundation of SOA, and SOA services must be composed of contracts, interfaces and implementations. The contract is the basis for the realization of service sharing and reuse, and the combination of contract design and SOA has brought many benefits to software development and reuse. [0003] The Unified Modeling Language (UML) is one of the most commonly used and effective methods for analyzing and designing software systems today. By dynamically simulating the behavior of the mode...

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): G06F9/44
Inventor 刘静杜德慧谢越尹玲宫学强曹虹华
Owner EAST CHINA NORMAL UNIV
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