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

QP frame-based automatic code generator

An automatic generation and code technology, applied in the direction of creating/generating source code, intelligent editor, program control device, etc., to reduce program debugging work, improve efficiency, and avoid code writing work.

Inactive Publication Date: 2017-04-19
TIANJIN UNIVERSITY OF TECHNOLOGY
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Furthermore, the action of the Q_ENTRY_SIG signal must be specified

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
  • QP frame-based automatic code generator
  • QP frame-based automatic code generator
  • QP frame-based automatic code generator

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The present invention will be further described below in conjunction with the accompanying drawings.

[0058] See attached figure 2 , the scheme of the present invention is: step one, the step that conforms to the state chart design of certain standard based on OpenOffice Draw; Step two, the step of the extraction of OpenOffice Draw text information; The steps of the code of the C++ language specification and the QP programming specification. The detailed steps in each step are:

[0059] (1) Drawing specification of UML state diagram

[0060] 1) state (state). Design in the drawing module of OpenOffice as image 3 As shown in the "state", the State in the first box in the figure represents the name of the entire state, and the second box represents some events in the state, such as entry, entry and exit action events. Because the QP framework is an event-based framework, the events that need to be processed in this state can be described in the second box.

[006...

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 QP frame-based automatic code generator. The QP frame-based automatic code generator is a tool for converting UML state diagrams which are drawn according to a certain specification into C++ codes which can be operated on a quantization platform. According to the tool, a state diagram file, drawn via OpenOffice, in an odg form is converted into a corresponding XML file by utilizing a relationship between ODG files and XML files, node information which comprises static and dynamic elements of a program state diagram is extracted from the corresponding XML file, and an automatic code generator tool is constructed by taking Visual Studio 2012 as environment, so as to directly convert the state diagram information into C++ codes with a certain specification. According to the QP frame-based automatic code generator, the tedious code compiling work can be effectively avoided, the program debugging work caused by code compiling errors can be lightened, and the software development efficiency is greatly improved.

Description

technical field [0001] The invention realizes a tool that can transform the UML state diagram drawn according to certain specifications into C++ code that can run on the quantized platform. Background technique [0002] With the continuous popularization and improvement of software technology, the demand for software products has been showing a growing trend. While enjoying the great convenience brought by computers in work and life, people also put forward more requirements for the development of computer software and hardware. These requirements are specifically manifested in, first, the environment to be dealt with by software development is becoming more and more complex, and the functional requirements are more comprehensive; second, the needs of users are changing; third, the system must be more secure, reliable and stable. Today, with the high development of software engineering, many software developers still use manual coding methods. This traditional development ...

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/33
Inventor 陈胜勇程徐许金山唐庭龙刘梦娜赵萌
Owner TIANJIN UNIVERSITY OF TECHNOLOGY
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