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

Automatic unpacking and check method for message data

A verification method and teletext technology, applied in the field of network communication, can solve the problems of error-prone, low telegram communication efficiency, etc., and achieve the effect of improving production efficiency

Inactive Publication Date: 2010-02-10
SHANGHAI BAOSIGHT SOFTWARE CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] The purpose of the present invention is to provide an automatic unpacking and verification method for electronic data to solve the technical problems of low efficiency and error-prone electronic communication in the process control system of the existing metallurgical industry

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
  • Automatic unpacking and check method for message data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Such as figure 1 As shown, a method for automatically unpacking and verifying text data includes the following steps:

[0030] (1) Set a message specification database composed of message specifications, the message specifications include information such as message number, serial number, data type, length, etc.; receive the message number, read from the message specification database according to the received message number For message specifications with the same message number, a specification array corresponding to the message number is formed according to the serial number order of the message specifications;

[0031] (2) receiving the message data, according to the length information of the message item in the specification array, intercepting the message data from the received message data; the specific interception method can be to record the cumulative offset, obtain the text of the specified length, etc.;

[0032] (3) According to the value range information ...

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 an automatic unpacking and check method for message data, comprising the following steps: firstly, a message specification database formed by message specifications is set, eachmessage specification comprises a message number, a sequence number, a data type and length information, the message number is received, the message specification of the same message number is read from the message specification database according to the received message number, and a corresponding specification data group of the message number is formed according to the sequence of the sequencenumber of the message specification; secondly, the message data is received, and message data is intercepted from the received message data according to the length information of a message item in thespecification data array; and thirdly, a corresponding message data value of the message item is checked according to the data type and a value taking range of the message item; and when the existingmessage data value corresponding to the message item is not in the value taking range or can not be converted into a prescribed data type, report fails, and otherwise, the report succeeds. The invention can fast and accurately unpack a received message, and has the university and the extensibility.

Description

technical field [0001] The invention relates to the network communication of the process control system in the metallurgical industry, in particular to the message communication method in the process control system of the metallurgical industry. Background technique [0002] Text communication is an application of TCP / IP communication, and it is also one of the main methods of communication between the process control system in the metallurgical field and external systems and external devices. [0003] The essence of the message is a string of binary data streams with specific meanings. According to the identification meaning of binary stream, it can be further divided into binary message and text message. For example, the binary representation of the integer 1000 is 03E8, which occupies 2 bytes, and it is represented as "1000" four bytes in text form (assuming that the length is specified as 4 bytes). If it is a floating-point number, the sender generally needs to amplify...

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/06H04L12/58
Inventor 徐长盛傅贤栋尉晟煜
Owner SHANGHAI BAOSIGHT SOFTWARE CO LTD