Unlock instant, AI-driven research and patent intelligence for your innovation.

A method for automatically generating source codes of communication protocols on windows/linux platforms combined with tree tables

An automatic generation and communication protocol technology, applied in software testing/debugging, program control devices, etc., can solve problems such as system errors, high difficulty and cost, and long interoperability test cycle of distributed application systems, so as to achieve convenient integration and calling, The effect of reducing the duty cycle

Active Publication Date: 2017-03-15
SICHUAN AEROSPACE SYST ENG INST
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Traditional communication protocol source program automatic generation technologies are mostly implemented based on data frame modeling language technologies such as ASN.1, SDL, or TTCN. For application software developers in enterprises, these data frame modeling languages ​​have a certain learning curve. As a result, automatic code generation technology is not widely used in enterprise distributed applications at present. Most communication programs still rely on software developers to directly interpret the original documents of the specified communication protocol for manual programming. From a mathematical point of view, due to the use of natural language The communication protocol specification document described lacks certain rigor, and some software developers are not important enough to implement the communication protocol specification, so many application systems cannot finally meet the requirements of the relevant communication protocol standard specifications, or partially meet the requirements.
In addition, in the development process of the application system, as the relevant requirements change, it will often bring about a large number of modification of the communication layer protocol, which will also lead to the repetition of communication code modification and joint debugging. These mechanical and repetitive modifications and communication debugging work occupy The valuable research and development energy of software developers, and manual modification of codes can easily lead to system errors
The combination of these factors leads to long interconnection and interoperability test cycles and difficult coordination among distributed application systems in enterprises, which brings greater difficulty and cost to the integrated construction of enterprise application interoperability.

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
  • A method for automatically generating source codes of communication protocols on windows/linux platforms combined with tree tables
  • A method for automatically generating source codes of communication protocols on windows/linux platforms combined with tree tables
  • A method for automatically generating source codes of communication protocols on windows/linux platforms combined with tree tables

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0021] Embodiment: the present invention will be further described below, a kind of Windows / Linux platform communication protocol source code automatic generation method based on table structure in conjunction with form-driven, described method is realized by corresponding system, and this system specifically comprises: data frame construction Model management module, source code automatic generation module, code simulation verification module and development kit building module, such as figure 1 shown;

[0022] 1. Data frame modeling management module:

[0023] For any data frame, it is necessary to establish a data frame project, and then use the data frame modeling management tool to describe it in a top-down and layer-by-layer manner. This module uses a combination of tree and table structures. For the data frame structure, it specifically includes: data frame segmentation management, intra-segment data structure management and data frame parity management.

[0024] 1) ...

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 method for automatically generating a specific platform communication protocol source code on the basis of tree-table combination drive. In the method, a data frame modeling management module, a source code automatic generation module, a code simulation inspection module and a development package construction module are arranged. Compared with the existing method for automatically generating a source code, according to the method disclosed by the invention, a data frame format is described by combining a tree structure with a two-dimensional table to finish modeling for a data frame. In this way, communication layer code organization for a data package is realized, then related configuration is called, and the communication data frame encoding and decoding source codes of language platforms such as c++ / c# are automatically generated on the basis of the related rules, thus realizing modification for the description of the data frame for the table and directly driving automatic generation for the communication codes, realizing test inspection for automatic code generation, and facilitating integrated calling for application programs; in this way, the working period of code modification and combined debugging due to the own modification of a communication protocol, and the conditions of system errors due to code modification can be greatly reduced.

Description

technical field [0001] The invention relates to a protocol source code realization technology in an application program, in particular to a method for automatically generating the source code of a communication protocol on a Windows / Linux platform driven by a tree table. Background technique [0002] Traditional communication protocol source program automatic generation technologies are mostly implemented based on data frame modeling language technologies such as ASN.1, SDL or TTCN. For application software developers in enterprises, these data frame modeling languages ​​have a certain learning curve. As a result, automatic code generation technology is not widely used in enterprise distributed applications at present. Most communication programs still rely on software developers to directly interpret the original documents of the specified communication protocol for manual programming. From a mathematical point of view, due to the use of natural language The communication p...

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/44G06F11/36
Inventor 张子利范亚周保琢唐经天张波王诗利刘正敏宋勇
Owner SICHUAN AEROSPACE SYST ENG INST