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

Descriptor-based protocol message and data interaction method and system

A protocol message and interaction method technology, applied in the field of embedded communication, can solve the problems of difficult development, high module coupling, difficult upgrade and maintenance, etc.

Active Publication Date: 2020-07-07
XIAN FLAG ELECTRONICS
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] A typical water and electricity meter data collection network includes three levels: master station, concentrator / repeater, and collection terminal. The concentrator / repeater is an intermediate device that is responsible for issuing commands from the master station and collecting and summarizing terminal data. Reporting, which requires the concentrator to be compatible with Ethernet, 4G network, private network and other master network interfaces, and compatible with different types of acquisition terminal data interfaces such as ModBUS and MBUS, and needs to have a protocol compatible with the data format of the upper and lower device interfaces , which makes the existing concentrators face the problems of high module coupling and difficult upgrade and maintenance: on the one hand, in order to share configuration data, all protocols are implemented by different modules of a main program, and any module modification requires reorganization of the main program , the development is difficult and the cycle is long; on the other hand, after changing the original protocol or adding a new protocol, all protocols involved in the program need to be retested to ensure that the shared configuration content under different protocol conditions does not interfere with each other, which greatly increases Test cycle and cost

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
  • Descriptor-based protocol message and data interaction method and system
  • Descriptor-based protocol message and data interaction method and system
  • Descriptor-based protocol message and data interaction method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0055] Taking the header of a protocol in the State Grid as an example, the protocol stipulates that the message contains the following fields:

[0056] (1) Start character: fixed value 68H, 1 byte

[0057] (2) Byte length L: including protocol identification and user data length, consisting of 2 bytes, as shown in Table 1;

[0058] Table 1

[0059] D7 D6 D5 D4 D3 D2 D1 D0 D15 D14 D13 D12 D11 D10 D9 D8

[0060] (2a) The protocol identification is represented by the two-digit code D0~D1 in Table 1;

[0061] (2b) User data length L1: composed of D2 to D15, indicating the total number of bytes.

[0062] (3) Start character: fixed value 68H, 1 byte

[0063] Then the corresponding descriptors are as follows:

[0064] (1){attrib=const, value=0x68, modelName="", bitsN=8, funcName=ConstCode,}

[0065](2a){attrib=var, value=1, modelName="", bitsN=2, funcName=ProtoCode,}

[0066] (2b){attrib=var, value=0, funcName=PackLength, bitsN=14, modelName="",...

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 provides a descriptor-based protocol message and data interaction method and a descriptor-based protocol message and data interaction system. The descriptor-based protocol message and data interaction method comprises the steps that: a communication main body operates a service logic cycle of message receiving, message parsing, data updating, message generating and message transmitting; an interface module of the communication main body receives data messages from different data interfaces or outputs output messages of a protocol module from a specified interface; a correspondingmapping function is called by the protocol module of the communication main body according to the description of a descriptor to finish the interaction between the protocol messages and data parameters; and the service module of the communication main body completes service logic of the communication main body and completes updating of data or protocol messages. The descriptor-based protocol message and data interaction method reduces the protocol matching difficulty, is high in flexibility, has the advantages of good compatibility, easy upgrading and configuration, can greatly reduce the development difficulty, and saves the development cost.

Description

technical field [0001] The invention belongs to the technical field of embedded communication, and relates to a descriptor-based interaction method and system for protocol messages and data. Background technique [0002] With the development of micro-electromechanical, chip technology and communication technology, terminal acquisition equipment such as water meters and electricity meters are also developing from traditional analog quantity acquisition and transmission to digital, intelligent and integrated directions, especially at the equipment communication level, from analog transmission to digital packet transmission. With the development of communication networks, various communication means such as serial bus, Ethernet, wireless wide area network, and dedicated dynamic network have appeared in the data transmission between the terminal and the master station. When actually building a network, multiple networks often need to coexist or segment transmission terminal dat...

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/06
CPCH04L69/06H04L69/22H04L69/26
Inventor 权磊朱繁寇强刘乐盈陈旭峰李金玲
Owner XIAN FLAG ELECTRONICS