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

Framing method and device for DL/T645 protocol message based on XML

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

Active Publication Date: 2020-02-21
YUNNAN POWER GRID CO LTD ELECTRIC POWER RES INST
View PDF6 Cites 6 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
  • Framing method and device for DL/T645 protocol message based on XML
  • Framing method and device for DL/T645 protocol message based on XML
  • Framing method and device for DL/T645 protocol message based on XML

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0061] figure 1 It exemplarily shows a schematic flowchart corresponding to an XML-based DL / T645 protocol message framing method provided by the embodiment of the present application. Such as figure 1 As shown, it specifically includes the following steps:

[0062] Step 101, after receiving the message sent by the remote end, 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, according to the structural information of the message, analyze the frame field node in the frame message node to obtain the attribute value of the frame field node.

[0065] Step 104, create a character array.

[0066] Step 105, acc...

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 a framing method and device for a DL / T645 protocol message based on XML. The method comprises the steps of reading an XML document of a message after the message sent by a far end is received, and determining structure information of the message according to the XML document of the message; analyzing a frame field node in the frame message node according to the structure information of the message to obtain an attribute value of the frame field node; and then creating a character array, assigning the character array according to the attribute value of the frame field node to form a target message, and sending the target message to a destination address. Thus, no matter whether the DL / T645 protocol message is self-defined by a manufacturer or not, the DL / T645 protocolmessage can be framed, so that the structure of the DL / T645 protocol message is described in a unified manner, and deviation of understanding of partial content of the DL / T645 protocol is avoided.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to an XML-based DL / T645 protocol message framing method and device. Background technique [0002] The power industry standard DL / T645 multi-function electric energy meter communication protocol is to unify and standardize the communication protocol for data exchange between multi-functional electric energy meters and data acquisition terminal equipment, which enables electric energy meter manufacturers and electricity information collection terminal manufacturers to use unified Standards for information exchange, thereby avoiding repeated investment in equipment, simplifying the workflow of electricity consumption information collection in the power sector, and accelerating the marketing modernization and standardization of measurement standards in the power sector. [0003] After the promulgation of the DL / T645 electric energy meter communication protocol, most el...

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/06
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