Supercharge Your Innovation With Domain-Expert AI Agents!

PQDIF (Power Quality Data Interchange Format) file tree structure comparative method based on linked list

A tree structure and file technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as difficult and fast comparison, and achieve easy-to-implement results

Active Publication Date: 2012-09-19
STATE GRID JIANGSU ELECTRIC POWER CO ELECTRIC POWER RES INST +1
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since PQDIF is a tree structure, it is difficult to quickly compare

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
  • PQDIF (Power Quality Data Interchange Format) file tree structure comparative method based on linked list
  • PQDIF (Power Quality Data Interchange Format) file tree structure comparative method based on linked list
  • PQDIF (Power Quality Data Interchange Format) file tree structure comparative method based on linked list

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] Below in conjunction with accompanying drawing and specific embodiment, further illustrate the present invention, should be understood that these embodiments are only for illustrating the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various aspects of the present invention Modifications in equivalent forms all fall within the scope defined by the appended claims of this application.

[0017] Such as figure 1 As shown, the tree structures of PQDIF files A and B are respectively traversed to generate a unique node name dictionary array N and a channel name dictionary array M, and the node linked lists La and Lb of PQDIF files A and B are established, and the same linked list elements of La and Lb are reduced. Compare the linked list elements in La with N and M to get the nodes that B is missing relative to A; compare the linked list elements in Lb with ...

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 PQDIF (Power Quality Data Interchange Format) file tree structure comparative method based on a linked list, which comprises the following steps: respectively traversing node names in the tree structures of a PQDIF file A and a PQDIF file B; building a node name dictionary digit group N; respectively traversing nodes for defining channel names in the tree structures of the PQDIF file A and the PQDIF file B, and building a channel name dictionary digit group M; respectively building a node linked list La and a node linked list Lb of the PQDIF file A and the PQDIF fileB; and successively taking a linked list element Xk from La to look up whether Xk is in Lb, and respectively removing Xk from La and Lb if Xk is in Lb, wherein the residual linked list elements in Laare linked list elements absent in Lb, and the residual linked list elements in Lb are the excessive linked list element in Lb. According to the PQDIF file tree structure comparative method, the complexity of the PQDIF file tree structure is lowered, and the PQDIF file tree structure comparative method is easy to realize.

Description

technical field [0001] The invention relates to the field of power quality, in particular to a method for comparing tree structures of PQDIF files based on linked lists. Background technique [0002] PQDIF is an international standard data format for power quality data. Due to differences in the technical level of equipment manufacturers, the PQDIF formats provided by related equipment are not the same. Therefore, it is necessary to use the standardized PQDIF data package to compare with it and point out the differences, so that equipment manufacturers rectification. Since PQDIF is a tree structure, it is necessary to distinguish between parent and child nodes, and also to distinguish specific channels, so it is difficult to perform a quick comparison. Contents of the invention [0003] Purpose of the invention: for the problems and deficiencies in the above-mentioned prior art, the purpose of the present invention is to provide a PQDIF file tree structure comparison meth...

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): G06F17/22G06F17/30
Inventor 袁晓冬
Owner STATE GRID JIANGSU ELECTRIC POWER CO ELECTRIC POWER RES INST
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More