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

A method and device for framing DL/T645 protocol messages based on XML

A message and protocol technology, applied in the field of data processing, can solve problems such as deviations in the understanding of DL/T645 protocols, and achieve the effect of avoiding deviations

Active Publication Date: 2022-01-28
YUNNAN POWER GRID CO LTD ELECTRIC POWER RES INST
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] After the promulgation of the DL / T645 electric energy meter communication protocol, most electric energy meters contain the DL / T645 protocol, but some electric energy meters only contain the custom protocol of the manufacturer, and it is easy to understand some of the content of the DL / T645 protocol.

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 framing DL/T645 protocol messages based on XML
  • A method and device for framing DL/T645 protocol messages based on XML
  • A method and device for framing DL/T645 protocol messages based on XML

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the purpose, technical solutions and advantages of the present application, the present application will be further described in detail below with reference to the accompanying drawings.

[0061] figure 1 The flow schematic of a flow chart corresponding to a group frame method based on XML-based DL / T645 protocol packets provided herein. like figure 1 As shown, the specifically includes the steps of:

[0062] Step 101, after receiving the telegram transmitted, read the XML document of the message.

[0063] Step 102, determine the structure information of the message according to the XML document of the message.

[0064] Step 103, based on the structure information of the packet, parse the frame field node in the frame packet node to obtain the attribute value of the frame field node.

[0065] Step 104: Create a character number.

[0066] Step 105, assign the character array based on the attribute value of the frame field node, and form a target message.

...

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

This application provides an XML-based DL / T645 protocol message framing method and device. The method includes: after receiving the message sent by the remote end, reading the XML document of the message, and determining the structural information of the message according to the XML document of the message; then according to the structural information of the message, Analyzing the frame field node in the frame message node to obtain the attribute value of the frame field node; then creating a character array, and assigning a value to the character array according to the attribute value of the frame field node to form a target message, Then send the target packet to the destination address. In this way, no matter whether the DL / T645 protocol message is customized by the manufacturer or not, the DL / T645 protocol message can be framed, so as to achieve a unified description of the structure of the DL / T645 protocol message and avoid DL / T645 protocol message structure. There is a deviation in the understanding of part of the content of the T645 statute.

Description

Technical field [0001] The present application relates to the field of data processing, and Background technique [0002] Power industry standard DL / T645 multi-function power meter communication statute is a communication protocol when data exchange with data acquisition terminal devices, and can make energy meter manufacturers and electricity information collection terminal manufacturers with unity. The standard is interactive, thereby avoiding the repeated investment of the equipment, simplifying the workflow of the electricity information collection, speeding up the marketing modernization and metrology standard standardization construction. [0003] After the issuance of the DL / T645 power meter communication status, most of the energy gauges contains the DL / T645 specification, but there is a partial power table only contains custom protices for manufacturers, and it is easy to understand some of the contents of the DL / T645 protocol. Therefore, it is necessary to unify...

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): H04L67/01
CPCH04L69/03H04L69/26
Inventor 杨莉
Owner YUNNAN POWER GRID CO LTD ELECTRIC POWER RES INST
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