Realizing method and its device for communication protocol described by abstract grammar rule

A communication protocol and abstract syntax technology, applied in transmission systems, electrical components, etc., can solve problems such as the inability to add codes, affect the efficiency of encoding and decoding, and reduce the performance of encoding and decoding, so as to improve stability and scalability, and improve system resources Utilization, the effect of improving codec efficiency

Inactive Publication Date: 2006-11-08
SHANGHAI HUAWEI TECH CO LTD
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0023] In practical applications, the above solutions have the following problems: the general processing method adopted by the existing technical solutions seriously affects the encoding and decoding efficiency in the actual communication process; it does not support user-customized data structures, which affects the user's development efficiency and leads to a decrease in encoding and decoding performance ;Unable to flexibly adjust protocol specifications to meet actual needs; Unable to complete the detection and processing of codec errors; Unable to implement user-customized additional operation processing
[0024] The main reason for this situation is that the existing technical solutions use a general main program to query the data structure and call the function library to complete the encoding and decoding, which adds a q

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
  • Realizing method and its device for communication protocol described by abstract grammar rule
  • Realizing method and its device for communication protocol described by abstract grammar rule
  • Realizing method and its device for communication protocol described by abstract grammar rule

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0086] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0087] In order to solve the encoding and decoding efficiency bottleneck problem of the existing technical solutions, the present invention starts from a new perspective, abandons the generality of codes used for encoding and decoding, develops a converter from abstract grammar rules to realizable high-level language codes, and combines The processing of user-customized information generates the required data structure and special implementation code from the communication protocol described by the abstract grammar rules according to the user-customized information. Efficient implementation of decoding, and the generality of the converter ensures the feasibility of converting abstract syntax rules to implementation codes.

[0088] The present invention moves the c...

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 present invention discloses abstract syntax rule descriptive communication protocol implementation method and device, to realize abstract syntax rule descriptive communication protocol and high efficiency to realize protocol coding decoding; furthermore also supporting user configuring data structure, supporting protocol specification adjusting, supporting error detection and process, and supporting user configuring operation processing. The present invention generates relevant specially realizing code and data structure to each kind communication protocol abstract syntax rule description, capable of directly compiling or explaining operation in communication entity; according to depth-first principle traversing syntax tree, parallel processing user configuring information, to generate node logical relationship fit data structure and realizing code; in advance establishing elementary data type process code library, directly taking for generating simple joint realizing code.

Description

technical field [0001] The invention relates to the realization technology of the communication protocol, in particular to the realization method and device of the communication protocol described by the abstract syntax rules. Background technique [0002] In a communication system, communication between different entities must be carried out according to a certain communication protocol. The interaction of messages of different communication devices is also carried out in accordance with the message format stipulated in the protocol. The realization of the communication protocol is the key step of the communication system. Each interface in the communication system has a dedicated communication protocol, including its message encoding method. At the same time, considering the transmission efficiency and other issues, most interface messages define their own encoding method. The sender encodes the message into a code stream according to the pre-agreed encoding rule, and th...

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/06
Inventor 金颖龙纲李冠臣
Owner SHANGHAI HUAWEI TECH CO LTD
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