Configurable general protocol generation method

A general-purpose protocol and protocol technology, applied in the field of network communication, can solve problems such as inability to meet business and test requirements, inability to dynamically configure protocol content, and cumbersome problems, achieving low packet loss rate, fast execution efficiency, and reduced secondary development.

Active Publication Date: 2019-05-17
CRSC COMM & INFORMATION GRP CO LTD
View PDF13 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Most of the existing protocol parsers handle a single protocol. It is very cumbersome to prepare different protocol parsers for multiple devices and multiple protocols. However, the parsers that allow custom protocol content cannot dynamically configure the protocol content. Unable to meet business and testing requirements

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
  • Configurable general protocol generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The present invention will be described in detail below in conjunction with the accompanying drawings. However, it should be understood that the accompanying drawings are provided only for better understanding of the present invention, and they should not be construed as limiting the present invention.

[0018] The configurable general protocol generation method provided by the present invention comprises the following steps:

[0019] 1) Determine the basic function configuration file, protocol message format configuration file and parameterized configuration file of the protocol message to be generated, specifically:

[0020] 1.1) Record the protocol communication connection configuration and protocol message processing mode of the protocol message to be generated in XML form, and obtain the basic function configuration file of the protocol message to be generated.

[0021] 1.1.1) If figure 1 As shown, the communication connection configuration is divided into Socket...

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 configurable general protocol generation method, which is characterized by comprising the following steps of: 1) determining a basic function configuration file and a protocol message format configuration file of a protocol message to be generated; 2) determining a communication connection mode, a starting function and field data of the protocol message to be generated according to the basic function configuration file and the protocol message format configuration file of the protocol message to be generated; and 3) assembling the obtained field data to complete generation of the protocol message, and only updating and maintaining a protocol message format configuration file for subsequent newly-added Internet of Things equipment and a corresponding interface protocol without secondary development and maintenance, so that the method is simple and convenient, and can be widely applied to the technical field of network communication.

Description

technical field [0001] The invention relates to a method for generating a general protocol based on configurability, and belongs to the technical field of network communication. Background technique [0002] In the design and development of some IoT (Internet of Things)-based systems, a common interconnection platform needs to be adapted and developed with hundreds of IoT device protocols of different manufacturers and models. Generally speaking, as long as a new sensor or front-end device is added, the interconnection platform needs to implement the matching interface protocol in the code, and compile, package, test and upgrade, which makes the use of the interconnection platform less convenient , and increase a lot of workload and maintenance costs, the scalability is not strong. On the other hand, in the test verification link, the test environment cannot be equipped with all front-end IoT devices for test verification due to site limitations and procurement costs. [0...

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 Applications(China)
IPC IPC(8): H04L29/06H04L29/08
Inventor 赵凯张景峰杨天骄
Owner CRSC COMM & INFORMATION GRP 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