Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for converting UML model to SmartC model

A technology of model conversion and conversion method, which is applied in the field of embedded integrated development environment, can solve problems such as unfavorable and rapid progress, and achieve the effect of improving efficiency and simplifying complexity

Inactive Publication Date: 2012-03-14
ZHEJIANG UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

First of all, the expressive ability of SmartC language for demand modeling needs to be improved, because the top layer of SmartC language is the system layer, which describes the composition and structure of the system. Modeling the system layer has entered the design stage of system development. In the requirements analysis stage before development, SmartC language has not been involved in
Secondly, the SmartC language is still in the promotion stage and is not familiar to outsiders. If an ordinary developer wants to use the SmartC language, he must first spend a lot of time learning it, which is not conducive to the rapid development.

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 converting UML model to SmartC model
  • Method for converting UML model to SmartC model
  • Method for converting UML model to SmartC model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] A conversion method from a UML model to a SmartC model, comprising the steps of:

[0043] 1) Analyze the object diagram and state diagram in the UML model, and extract the OSEK standard API in the executable code of the state and transition conditions in the UML model state diagram;

[0044] 2) Analyze the functions involved in the interaction between different entities in the OSEK standard API, and use this as a standard to convert the UML state diagram into a SmartC model that supports the OSEK standard.

[0045] Among them, the analysis of the object diagram and state diagram in the UML model in step 1) is: convert the entire life cycle of the object in the system into the Task in the task layer in the SmartC model, and analyze the state and state transition conditions in the state diagram Judge the logical relationship between tasks and the calling relationship of tasks to external resources, and determine the relationship between Task and other SmartC elements. Th...

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 built-in integration development environment technique, in particular to a conversion method which realizes the conversion from a UML model to an SmartC model. The conversion method of the invention from the UML model to the SmartC model comprises the steps as follows: (1) object pictures and state pictures in the UML model are analysed and OSEK standard API in executable codes of state and transfer conditions in the UML model state pictures is extracted; (2) functions in the OSEK standard API which relates to the interaction between different entities are analysed and taken as a standard; the UML state picture is converted into the SmartC model which supports the OSEK standard. The conversion method of the invention analyses the total characteristic of the UML model, extracts two models: the object picture and the state picture out of all model pictures so as to carry out the model conversion and does not need to analyse all models in the UML. As the SmartCis good at describing the automobile electron field and the UML language is good at describing the general modelling process, the appearance of the model conversion strategy solves the problem of filed refinement of the modelling process in the automobile electron field.

Description

technical field [0001] The invention relates to an embedded integrated development environment technology, mainly realizing a conversion method from a UML model to a SmartC model. Background technique [0002] The powerful expression ability of UML model in describing system structure and behavior is one of the important factors for it to become a general modeling language. But just because of its wide versatility, it still lacks the ability to describe some aspects in specific fields (such as embedded fields). [0003] A very important feature of embedded systems is real-time performance. Many systems have very strict requirements for real-time performance, such as automobiles, aviation and other fields. Since the UML language is mainly proposed for object-oriented software development, UML diagrams cannot describe time-based systems well. [0004] The emergence of SmartC model fills the gap of UML model's ability to describe in this respect. The design of SmartC languag...

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 Patents(China)
IPC IPC(8): G06F9/44
Inventor 吴朝晖张莉苹胡博李红丁杰
Owner ZHEJIANG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More