Modbus communication protocol parsing method, system and device and storage medium

A communication protocol and analysis method technology, which is applied in the field of Modbus communication protocol analysis and computer-readable storage media, can solve problems such as bloated code, long development cycle, unfavorable code post-maintenance, etc., and achieve the effect of flexible display and reduced workload

Active Publication Date: 2019-01-18
XIAMEN KECAN INFORMATION TECH +1
View PDF10 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above situation will lead to the need to re-develop the code of each non-standard order parsing power distribution cabinet protocol, and the bottom layer, background and front-end codes need to be re-modified, the development cycle is long, and this development method will lead to more and more bloated code and complex, which is not conducive to code maintenance

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
  • Modbus communication protocol parsing method, system and device and storage medium
  • Modbus communication protocol parsing method, system and device and storage medium
  • Modbus communication protocol parsing method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0039] The embodiment of the invention discloses a Modbus communication protocol analysis method, which makes the analysis method of the power distribution cabinet protocol suitable for all non-standard orders.

[0040] see figure 1 , a flow chart of a Modbus communication protocol analysis method disclosed in an embodiment of the present invention, as figure 1 shown, including:

[0041] S101: Obtain the XML file corresponding to the Modbus communication protocol...

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 Modbus communication protocol parsing method, system and device, and a computer readable storage medium. The method comprises the following steps: obtaining an XML file corresponding to the Modbus communication protocol, wherein the XML file is a file describing the parameters of the distribution cabinet to be monitored; parsing the XML file to obtain a parsing result, and storing the parsing result; sending a polling request command to the corresponding distribution cabinet equipment according to the analysis result, and filling a data table corresponding to the Modbus communication protocol in according to the received data. The invention provides a Modbus communication protocol analysis method, and the XML file adopts fixed structure definition to describe theparameters of the distribution cabinet to be monitored. All the display contents of the distribution cabinet information page are transmitted in the background, which reduces the workload of the front-end, makes the front-end page display more flexible, and is applicable to all Modbus communication protocols.

Description

technical field [0001] The present invention relates to the technical field of power distribution cabinets, and more specifically, relates to a Modbus communication protocol analysis method, system and equipment, and a computer-readable storage medium. Background technique [0002] In the order of the module computer room, most of the power distribution cabinets are non-standard customizations. During the actual implementation process, the power distribution cabinet agreement will be adjusted accordingly according to the on-site configuration and customer needs, especially the changes in the protocol branch are relatively large. In the agreement, there will be one-way and two-way changes in the main power distribution line. When the main line is two lines, the alarm state quantity will be shared by the two lines or separated separately, and the voltage, current, electric energy, power, and temperature of the branch lines And other information, different protocols monitor dif...

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): H04L12/403H04L29/08
CPCH04L12/403H04L67/02H04L67/025H04L2012/40228
Inventor 陈玉清陆泽华曹菲陈晓龙照坤
Owner XIAMEN KECAN INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products