Target variable protocol data unit codec code automatic generation implementation method

A protocol data unit, automatic generation technology, applied in the field of communication, can solve the problems of poor scalability, difficult expansion, ECN rules do not provide a target platform, etc., to achieve the effect of easy implementation and simple operation

Active Publication Date: 2010-09-22
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF2 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. Poor scalability, adding new target platforms, new code must be written
[0007] 2. The user cannot independently develop the new target platform, but must be very familiar with the working principle of the code generation program, so usually the porting work of the target platform is completed by the developer of the code generation system
[0008] 3. Due to the difficulty of expansion, the n

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
  • Target variable protocol data unit codec code automatic generation implementation method
  • Target variable protocol data unit codec code automatic generation implementation method
  • Target variable protocol data unit codec code automatic generation implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The present invention will be described in further detail below.

[0043] It is assumed that the target platform used is UML language based on Telelogic TAU G2, and ASN.1 language is used for PDU description. The basic elements supported by the system include empty type (NULL), integer type (INTEGER), Boolean type (BOOLEAN), real number type (REAL), enumeration type (ENUM), bit string type (BIT STRING), string type (OCTET STRING). Composition elements include SEQUENCE OF, SET OF, CHOICE, SEQUENCE, and SET.

[0044] Write the target platform feature description file, which includes the following contents:

[0045] (1) The code of Telelogic TAU G2 corresponding to the type definition (type), encoding function (encode), and decoding function (decode) of basic elements such as NULL, INTEGER, BOOLEAN, REAL, ENUM, BIT STRING, and OCTET STRING.

[0046] (2) The code of the Telelogic TAU G2 corresponding to the combination element type definition (type), encoding function (e...

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 target variable protocol data unit codec code automatic generation implementation method. Firstly, a target platform characteristic description file is written, the file describes the basic conventional characteristics of the specific target platform, then a PDU description file is written to describe composition of inner elements of PDU, a system automatically analyzes the PDU description file and generates an abstract syntax tree irrelevant to the target platform according to the content thereof, and then the system traverses the abstract syntax tree and generates a data dictionary relevant to the target platform by utilizing the characteristic of the target platform, and finally a code template base is written and PDU codec code directing to the specific target platform is generated. The system applying the method can conveniently generate PDU codec code supporting various target platforms, and especially the target platform and template to generate code can be completely customized without modifying the code generation system.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to an implementation method for automatically generating codec codes of protocol data units of variable objects. Background technique [0002] The information unit exchanged between the peer-to-peer protocols is called a protocol data unit (Protocol Data Unit, PDU). In order to reduce the bandwidth required to transmit PDUs, various communication protocols have specially designed the PDU encoding format in order to transmit as much information as possible with as few bits as possible. Although the data in this compressed encoding format is easy to transmit, it brings inconvenience to the processing of the communication software. Therefore, in the development and testing of the communication protocol stack, it is necessary to write a special PDU codec program to realize the PDU bit string and the internal data of the application. Conversion between structures. In the protoco...

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): H04L29/06G06F9/44
Inventor 李海张钦郑哲侯舒娟吴嗣亮孙昕
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
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