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

A method and device for realizing serial communication message matching based on database

A serial communication and database technology, applied in the field of serial communication message matching based on database, can solve problems such as low processing efficiency and achieve the effect of improving stability

Active Publication Date: 2022-05-10
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problems existing in the prior art, the present invention innovatively proposes a method and device for realizing serial communication message matching based on a database, which effectively solves the problem of low processing efficiency caused by existing communication messages, and effectively improves the The stability of the system is convenient for later maintenance work

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 method and device for realizing serial communication message matching based on database
  • A method and device for realizing serial communication message matching based on database
  • A method and device for realizing serial communication message matching based on database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as figure 1 As shown, the present invention provides a method for realizing serial communication message matching based on a database, including:

[0041] S1, divide the protocol in the message into protocol blocks, and establish a one-to-one correspondence between the database and the protocol blocks in the message, wherein the protocol block includes a data block;

[0042] S2, load the database, read the parameter value of the serial port attribute, and configure the serial port;

[0043] S3, load the protocol block, read the parameter value of the protocol block, and determine the attribute information of the parameter values ​​of different protocol blocks in the message;

[0044] S4, according to the attribute information of the parameter value of the protocol block in the message and the requirements of the message composition rules, perform the framing operation of the query message, and send the query message to the lower computer;

[0045] S5, after recei...

Embodiment 2

[0057] Such as Figure 6 As shown, the technical solution of the present invention also provides a device for realizing serial communication message matching based on a database, including:

[0058] The division establishment module 101 divides the protocol in the message into a protocol block, and establishes a one-to-one correspondence between the database and the protocol block in the message, wherein the protocol block includes a data block;

[0059] The first loading module 102 loads the database, reads the parameter value of the serial port attribute, and performs serial port configuration;

[0060] The second loading module 103 loads the statute block, reads the parameter value of the statute block, and determines the attribute information of the parameter values ​​of different statute blocks in the message;

[0061] The framing module 104, according to the attribute information of the parameter value of the protocol block in the message and the requirements of the mes...

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

For the problems existing in the prior art, the present invention innovatively proposes a method for realizing serial communication message matching based on a database, and divides the protocol into 9 different protocol blocks, and in the database, establishes the database and The one-to-one correspondence between the protocol blocks in the message further defines the attribute division of the data blocks in the protocol block, and defines the message composition and analysis rules, and the attribute information and message analysis in the message according to the parameter value of the data block According to the requirements of the rules, the data in the data block of the reply message after deframing is obtained. The present invention also proposes a device for matching serial communication messages based on a database, which effectively solves the problem of low processing efficiency due to existing communication messages. problem, effectively improving the stability of the system, facilitating later maintenance work, and greatly reducing the technical difficulty of system access to new devices and new protocols.

Description

technical field [0001] The invention relates to the field of communication messages, in particular to a method and device for realizing matching of serial communication messages based on a database. Background technique [0002] In some large-scale systems, the monitoring host needs to access various types of MCU devices and various communication protocols (a series of agreements that both parties should abide by in order to ensure effective and reliable communication between the two parties in the data communication system). The customized protocol brings a lot of inconvenience to the development and maintenance of the monitoring host. Repetitive development work (the MCU device library and protocol library need to be continuously expanded) will consume a lot of energy of the monitoring system maintenance personnel. [0003] At present, one solution is that each manufacturer generally adopts the method of assigning a special person to modify the protocol code, but this met...

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): H04L69/22G06F16/2455
CPCH04L69/22G06F16/24564
Inventor 石涛
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD