A Generic Protocol Generation Method Based on Configurable

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

Active Publication Date: 2021-05-04
CRSC COMM & INFORMATION GRP CO LTD
View PDF13 Cites 0 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
  • A Generic Protocol Generation Method Based on Configurable

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 in that it comprises the following steps: 1) determining the basic function configuration file and the protocol message format configuration file of the protocol message to be generated; The basic function configuration file and the protocol message format configuration file of the text determine the communication connection mode, start function and field data of the protocol message to be generated; 3) assemble the field data obtained to complete the generation of the protocol message, the present invention For subsequent new IoT devices and corresponding interface protocols, it is only necessary to update the configuration file of the maintenance protocol message format, without the need for secondary development and maintenance. It is simple and convenient, and can be widely used in the field of network communication technology.

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 Patents(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