Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Marking method by using protocol data markup language and communication method

A technology of protocol data and markup language, which is applied in the field of communication, can solve problems such as the inability to reflect the relationship between data and communication protocols, the inability to reflect communication protocol data transmission, and the poor readability of communication protocol markup languages.

Active Publication Date: 2018-11-27
成都晶博电气科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, the communication software uses a configuration file to record the amount of data that can be recorded by the monitoring device. Each amount of data has a mark, which is used to correspond to the mark specified in the protocol during the assembly or decomposition process of the protocol frame. However, the existing communication software The configuration file used cannot reflect the relationship between the data and the communication protocol, that is, it cannot reflect how to transmit data through the communication protocol. Therefore, the existing communication protocol markup language is not very readable. When the data is transmitted through the existing communication protocol markup language, The receiver or sender cannot decompose or assemble the data frame in a standardized and orderly manner, and can only use each device to send "fixed frame" and fix the decomposition method to obtain device data

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
  • Marking method by using protocol data markup language and communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] This embodiment provides a method for marking using protocol data markup language, which is applied to the communication protocol between the communication software and the monitoring device, including:

[0038] mark the application nature part of the data point;

[0039] Label the protocol nature part of the data point.

[0040] What needs to be explained here is that when using this embodiment, in order to identify the data points in the monitoring device using the communication protocol, the communication protocol needs to number the data points. For example, when the communication protocol is Modbus, the data points are numbered using the register number. Number, when the communication protocol is IEC103, use the group number + point number to uniquely identify a data point, and this data point can be a bit in a byte array, an array of two bytes, an array of four bytes, Forms such as arrays of multiple bytes, they can respectively represent state, analog quantity, ...

Embodiment 2

[0048] like figure 1 As shown, this embodiment provides a method for communicating with the marking method provided in Embodiment 1, including:

[0049] Step S1: The communication software assembles the query frame according to the application property part mark and the protocol property part mark of the data point, and sends the query frame to the monitoring device;

[0050] Step S2: The communication software receives the response frame from the monitoring device and decomposes the data value from the response frame;

[0051] Step S3: The communication software updates the original data value.

[0052] What needs to be explained here is that the data transmission through the communication protocol is actually how to put the data point value into the corresponding position in the data frame (query frame is a kind of data frame), so that the receiver can accurately decompose the data point value Come out, in this embodiment, this needs query frame to tell monitoring device h...

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 marking method by using a protocol data markup language. The method is applied to a communication protocol between communication software and a monitoring device, and comprises: marking an application property part of a data point; and marking a protocol property part of the data point. The method divides the marking of the communication protocol data point into two partsincluding the application property and the protocol property so as to assemble and disassemble data frames in a standardized and orderly manner.

Description

technical field [0001] The invention relates to the communication field, in particular to a marking method and a communication method using a protocol data markup language. Background technique [0002] At present, in the communication software of a monitoring system, in order to collect the operating data in the monitoring device that reflects the operating status of the monitoring system, and also for the correctness of communication, it is generally necessary to communicate data between the communication software and the monitoring device according to the communication protocol. Frame sending and receiving, the data frame is a byte string conforming to the communication protocol, the communication software composes the sending frame according to the communication protocol before sending, and the byte string received by the communication software conforming to the communication protocol is the receiving frame. [0003] In the prior art, the communication software uses a co...

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/08
CPCH04L67/02H04L67/025H04L69/329
Inventor 康可唐洪兴
Owner 成都晶博电气科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products