Unlock instant, AI-driven research and patent intelligence for your innovation.
A method and device for realizing serial communication message matching based on database
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
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
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
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
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.