Processing method and system for remote automatic point meter update based on power distribution device

The remote automatic point meter update method and system address inefficiencies in power distribution automation by implementing a dynamic update process that ensures efficient and accurate point table updates across diverse sites and manufacturers, reducing operational costs and maintaining system integrity.

CN113722340BActive Publication Date: 2024-12-03KEDA INTELLIGENT ELECTRICAL TECH +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110996057.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-27
Publication Date
2024-12-03
Estimated Expiration
2041-08-27

AI Technical Summary

Technical Problem

Current power distribution automation systems face inefficiencies in point table configuration and maintenance, with varying requirements across different sites and manufacturers, leading to errors and high operational costs.

Method used

A remote automatic point meter update method and system that uses a dynamic update process to receive, verify, and parse file content data packets according to standard protocols, updating point tables in power distribution devices efficiently and accurately.

Benefits of technology

The system enhances efficiency and reduces operational costs by automating point table updates, ensuring compatibility across different sites and manufacturers, and eliminating the need for manual maintenance tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113722340B_ABST
    Figure CN113722340B_ABST
Patent Text Reader

Abstract

The present invention discloses a processing method and system for remote automatic point table update based on power distribution device, which belongs to the field of power distribution network automation data communication technology, including receiving file content data packets issued by the master station in accordance with standard protocol, and returning the correct or abnormal response of writing the file to the master station for response when receiving the last file content data packet; after receiving the file content data packet issued by the master station, checking the legality of the file content, and storing the legal file content in the memory; parsing the legal file content, and extracting data to update the existing point table file in the terminal. The scheme of the present invention is easy to cooperate with the master station, and is completely based on the standard protocol; based on the dynamic update method, it has point table requirements suitable for different sites.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power distribution network automation data communication, and in particular to a remote automatic point meter update processing method and system based on a power distribution device. Background Art

[0002] At present, with the rapid development of computer technology and communication technology, the requirements for the number of data collection at the power equipment terminal, the degree of coordination with the remote master station and the diversity of on-site configuration methods are becoming increasingly important.

[0003] Based on the current distribution automation terminal equipment and the master station for on-site collection of telemetry, telesignaling and remote control communication, there are the following disadvantages:

[0004] (1) There are differences in the number of telemetering and telesignaling uploaded to the master station from different sites, and the point numbers for issuing remote control commands, and there are many different requirements for point tables; (2) At present, the point table configuration information of the equipment mainly relies on the manufacturer to perform maintenance and download operations locally through maintenance software, which is inefficient and prone to errors; (3) With the large-scale implementation and application of distribution automation, the construction scale of distribution automation terminals will only increase in the next few years. There are many distribution terminal manufacturers in operation at present, and the debugging software and debugging methods of each manufacturer are very different. In order to meet the needs of the master station, the master station urgently needs a set of tools to improve efficiency, unify operation and maintenance interface software, and improve interface standards and unify debugging and operation methods. Summary of the invention

[0005] The purpose of the present invention is to overcome the defects of the prior art and provide a remote automatic point meter update processing method based on a power distribution device, which is based on a dynamic update method and is suitable for point meter requirements at different sites.

[0006] To achieve the above objectives, on the one hand, a processing method for remote automatic point meter update based on a power distribution device is adopted, comprising:

[0007] Receive the file content data packets sent by the master station in accordance with the standard protocol, and when receiving the last file content data packet, return the correct or abnormal response of writing the file to the master station for response;

[0008] After receiving the file content data packet sent by the master station, the file content is checked for legality and the legal file content is stored in the memory;

[0009] Parse the legal file content and extract data to update the existing point table file in the terminal.

[0010] Furthermore, the parsing of the legal file content and extracting data to update the existing point table file in the terminal includes:

[0011] First read the file content from the corresponding memory location, and parse out the number of telemetry point tables that currently need to be updated;

[0012] Circularly read the file data content sent by the master station that has been saved in the memory offset address, parse and restore the field data of the point table parameter structure comm_pointtable in sequence and store them in the point table parameter structure comm_pointtable, the point table parameter structure comm_pointtable includes the fields of information body address Infoaddr, offset Offset, upload coefficient Ratio, change dead zone Deadzone and spare Reserve;

[0013] Compare the field Infoaddr in the point table parameter structure comm_pointtable with the field Infoaddr in the telemetry data structure comm_yctable used for uploading in the memory. The telemetry data structure comm_yctable contains the fields of information body address Infoaddr, data value and offset Offset.

[0014] If they are the same, update the Offset field in the telemetry data structure comm_yctable to the Offset variable value in the point table parameter structure comm_pointtable;

[0015] After looping to YCMAX number, the update and assignment of the Offset variable in the field of all telemetry data structure comm_yctable is completed.

[0016] Furthermore, before reading the file content from the corresponding memory location and parsing the number of telemetry point tables that currently need to be updated, it also includes:

[0017] The Infoaddr field in the telemetry data structure comm_yctable is initialized from 0x4001 to 0x4064 in sequence, and the Offset field is assigned a value of 65535 in sequence.

[0018] Furthermore, it also includes:

[0019] When the master station calls for the amount of telemetry data in real time, the pointer points to the first telemetry name of the field in the telemetry data structure comm_yctable plus the field Offset variable.

[0020] Further, the receiving of the file content data packet sent by the main station in accordance with the standard protocol includes:

[0021] Receiving a file writing request sent by the master station;

[0022] Determine whether the message format complies with the 101 frame structure format or the 104 frame structure format according to the message structure;

[0023] If it is in compliance, continue to receive the file writing request sent by the master station;

[0024] And perform a legality check on the received file name and file length;

[0025] If it is illegal, exit the process of receiving the package.

[0026] On the other hand, a processing system for remote automatic point table update based on a power distribution device is adopted, including a master station, a terminal and a memory, the terminal and the master station are connected through a hardware communication interface serial port or a network port, and the terminal includes a receiving module, a verification module and a point table update module, wherein:

[0027] The receiving module is used to receive the file content data packets sent by the main station in accordance with the standard protocol, and when receiving the last file content data packet, return the correct or abnormal response of writing the file to the main station for response;

[0028] The verification module is used to verify the legality of the file content after receiving the file content data packet sent by the master station, and store the legal file content in the memory;

[0029] The point table update module is used to parse the legal file content and extract data to update the existing point table file in the terminal.

[0030] Furthermore, the point table updating module is specifically used for:

[0031] First read the file content from the corresponding memory location, and parse out the number of telemetry point tables that currently need to be updated;

[0032] Circularly read the file data content sent by the master station that has been saved in the memory offset address, parse and restore the field data of the point table parameter structure comm_pointtable in sequence and store them in the point table parameter structure comm_pointtable, the point table parameter structure comm_pointtable includes the fields of information body address Infoaddr, offset Offset, upload coefficient Ratio, change dead zone Deadzone and spare Reserve;

[0033] Compare the field Infoaddr in the point table parameter structure comm_pointtable with the field Infoaddr in the telemetry data structure comm_yctable used for uploading in the memory. The telemetry data structure comm_yctable contains the fields of information body address Infoaddr, data value and offset Offset.

[0034] If they are the same, update the Offset field in the telemetry data structure comm_yctable to the Offset variable value in the point table parameter structure comm_pointtable;

[0035] After looping to YCMAX number, the update and assignment of the Offset variable in the field of all telemetry data structure comm_yctable is completed.

[0036] Furthermore, the receiving module includes a file receiving unit and a response unit, wherein:

[0037] The receiving unit is used to receive the file content data packet sent by the master station through the hardware communication interface serial port or network port in accordance with the standard protocol;

[0038] The response unit is used to return a correct or abnormal response of writing the file to the main station for response when receiving the last packet of file content data.

[0039] Furthermore, the receiving unit is specifically used for:

[0040] Receiving a file writing request sent by the master station;

[0041] Determine whether the message format complies with the 101 frame structure format or the 104 frame structure format according to the message structure;

[0042] If it is in compliance, continue to receive the file writing request sent by the master station;

[0043] And perform a legality check on the received file name and file length;

[0044] If it is illegal, exit the process of receiving the package.

[0045] Compared with the prior art, the present invention has the following technical effects: the present invention adopts a design of active reception and dynamic update and replacement, automatically receives and analyzes the meter files issued by the master station through standard protocols, and after legality verification, parses the file format content, extracts useful data in sequence according to the corresponding format, and updates and replaces the existing meter files in the terminal, solving the problems of low efficiency of terminal debugging and access in the current power system and high workload of operation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings:

[0047] Figure 1 It is a flow chart of a processing method for remote automatic point meter update based on a power distribution device;

[0048] Figure 2 It is the process of writing 101 / 104 protocol into files;

[0049] Figure 3 It is a general principle diagram of a processing method for remote automatic point meter update based on a power distribution device;

[0050] Figure 4 It is a flowchart of the content parsing process of the point table file. DETAILED DESCRIPTION

[0051] In order to further illustrate the features of the present invention, please refer to the following detailed description and drawings of the present invention. The drawings are for reference and illustration only and are not intended to limit the scope of protection of the present invention.

[0052] like Figure 1 As shown, this embodiment discloses a processing method based on remote automatic point meter update of a power distribution device, comprising the following steps S1 to S3:

[0053] S1. Receive the file content data packets sent by the master station in accordance with the standard protocol, and when receiving the last file content data packet, return the correct or abnormal response of writing the file to the master station for response;

[0054] S2. After receiving the file content data packet sent by the master station, perform a legality check on the file content and store the legal file content in the memory;

[0055] S3. Parse the legal file content and extract data to update the existing point table file in the terminal.

[0056] It should be noted that the terminal receives the file content data packet sent by the main station through the hardware communication interface serial port or network port. The terminal is easy to cooperate with the main station and is completely based on standard protocols; and based on the dynamic update method, it has point table requirements suitable for different sites.

[0057] As a further preferred technical solution, Figures 2 to 3 As shown, in step S1, receiving the file content data packet sent by the main station in a standard protocol manner includes:

[0058] Receiving a file writing request sent by the master station;

[0059] Determine whether the message format complies with the 101 frame structure format or the 104 frame structure format according to the message structure;

[0060] If it is in compliance, continue to receive the file writing request sent by the master station;

[0061] And perform a legality check on the received file name and file length;

[0062] If it is illegal, then exit the process of receiving the package;

[0063] It should be noted that the master station first sends a file activation command, the data packet of which contains key content such as the file name and file length, and then sends the content in the file name in segments of 256 bytes at the maximum.

[0064] When the hardware communication interface serial port or network port receives a file write request sent by the master station, it completes the automatic verification and analysis of the data frame, and confirms whether the frame is a 101 or 104 legal frame based on the unique structure of the message format. After satisfying the legality check, the received file name and length are checked to prevent illegal file names or file types that are not recognizable by the device from being mistakenly parsed and stored, causing system operation abnormalities.

[0065] Then the terminal passively waits for the master station to continue sending file content data packets, receiving and storing them while performing the byte CRC check process of the file content. After all segmented packets are received, the final calculated CRC value is compared with the check CRC calculated by the master station for the last packet, and a correct or abnormal response to confirm the file writing is returned to the master station for response, thus completing the entire file writing process.

[0066] As a further preferred technical solution, Figure 4 As shown, the above step S3: parsing the legal file content and extracting data to update the existing point table file in the terminal includes:

[0067] First read the file content from the corresponding memory location, and parse out the number of telemetry point tables that currently need to be updated;

[0068] Circularly read the file data content sent by the master station that has been saved in the memory offset address, parse and restore the field data of the point table parameter structure comm_pointtable in sequence and store them in the point table parameter structure comm_pointtable, the point table parameter structure comm_pointtable includes the fields of information body address Infoaddr, offset Offset, upload coefficient Ratio, change dead zone Deadzone and spare Reserve;

[0069] Compare the field Infoaddr in the point table parameter structure comm_pointtable with the field Infoaddr in the telemetry data structure comm_yctable used for uploading in the memory. The telemetry data structure comm_yctable contains the fields of information body address Infoaddr, data value and offset Offset.

[0070] If they are the same, update the Offset field in the telemetry data structure comm_yctable to the Offset variable value in the point table parameter structure comm_pointtable;

[0071] After looping to YCMAX number, the update and assignment of the Offset variable in the field of all telemetry data structure comm_yctable is completed.

[0072] It should be noted that the two important point table structure data tables involved in this embodiment (taking telemetry as an example) refer to Table 1 and Table 2. According to Table 1, Table 2 and the maximum amount of telemetry stored in the device, a #define YCMAX 100 is defined (representing that the device has a maximum of 100 telemetry uploads), and a point table parameter structure comm_pointtable[YCMAX] with a YCMAX number is defined, indicating the maximum amount of telemetry information data supported by the point table sent by the master station; it contains 5 field variables: information body address (Infoaddr), offset (Offset), upload coefficient (Ratio), change dead zone (Deadzone), and reserve (Reserve).

[0073] Define another telemetry data structure comm_yctable[YCMAX], which is used to cache and store the voltage, current, power and other data collected by the device through the ADC chip. It contains three field variables: information body address (Infoaddr), data (value) and offset (Offset).

[0074] Table 1: Point table structure data table comm_pointtable

[0075]

[0076] Table 2: Telemetry data structure table comm_yctable

[0077]

[0078] As a further preferred technical solution, before reading the file content from the corresponding memory location and parsing the number of telemetry point tables that currently need to be updated, it also includes:

[0079] Upon power-on initialization, the Infoaddr field in the telemetry data structure comm_yctable is initialized from 0x4001 to 0x4064 in sequence, and the Offset field is assigned a value of 65535 (indicating that the telemetry value is not transmitted).

[0080] As a further preferred technical solution, it also includes:

[0081] When the master station calls for the amount of telemetry data in real time, the pointer points to the first telemetry name in the field of the telemetry data structure comm_yctable and then adds the field Offset variable, thereby realizing the order of uploading of telemetry data.

[0082] It should be noted that the above principle is also applicable to telesignaling and remote control point table. The difference is that the other field information of telesignaling and remote control is different. The meaning of the key infoaddr and offset fields is the same as that of telemetry, and the processing process is the same, so it will not be repeated here.

[0083] This embodiment also discloses a processing system for remote automatic point table update based on a power distribution device, including a master station, a terminal and a memory, the terminal and the master station are connected via a hardware communication interface serial port or network port, the terminal includes a receiving module, a verification module and a point table update module, wherein:

[0084] The receiving module is used to receive the file content data packets sent by the main station in accordance with the standard protocol, and when receiving the last file content data packet, return the correct or abnormal response of writing the file to the main station for response;

[0085] The verification module is used to verify the legality of the file content after receiving the file content data packet sent by the master station, and store the legal file content in the memory;

[0086] The point table update module is used to parse the legal file content and extract data to update the existing point table file in the terminal.

[0087] As a further preferred technical solution, the point table updating module is specifically used for:

[0088] First read the file content from the corresponding memory location, and parse out the number of telemetry point tables that currently need to be updated;

[0089] Circularly read the file data content sent by the master station that has been saved in the memory offset address, parse and restore the field data of the point table parameter structure comm_pointtable in sequence and store them in the point table parameter structure comm_pointtable, the point table parameter structure comm_pointtable includes the fields of information body address Infoaddr, offset Offset, upload coefficient Ratio, change dead zone Deadzone and spare Reserve;

[0090] Compare the field Infoaddr in the point table parameter structure comm_pointtable with the field Infoaddr in the telemetry data structure comm_yctable used for uploading in the memory. The telemetry data structure comm_yctable contains the fields of information body address Infoaddr, data value and offset Offset.

[0091] If they are the same, update the Offset field in the telemetry data structure comm_yctable to the Offset variable value in the point table parameter structure comm_pointtable;

[0092] After looping to YCMAX number, the update and assignment of the Offset field variable in all telemetry data structures comm_yctable are completed.

[0093] As a further preferred technical solution, the receiving module includes a file receiving unit and a response unit, wherein:

[0094] The receiving unit is used to receive the file content data packet sent by the master station through the hardware communication interface serial port or network port in accordance with the standard protocol;

[0095] The response unit is used to return a correct or abnormal response of writing the file to the main station for response when receiving the last packet of file content data.

[0096] As a further preferred technical solution, the receiving unit is specifically used for:

[0097] Receiving a file writing request sent by the master station;

[0098] Determine whether the message format complies with the 101 frame structure format or the 104 frame structure format according to the message structure;

[0099] If it is in compliance, continue to receive the file writing request sent by the master station;

[0100] And perform a legality check on the received file name and file length;

[0101] If it is illegal, exit the process of receiving the package.

[0102] The system provided in the embodiment of the present invention is used to execute the above-mentioned method embodiments. Please refer to the above-mentioned embodiments for the specific process and detailed contents, which will not be repeated here.

[0103] The processing method for remote automatic point meter update based on the power distribution device adopted in this embodiment has the advantages of:

[0104] (1) Introducing point table structure data tables, which can dynamically store the relevant content of new point table files required by the master station and associate them with the telemetry data table in the memory, so that point tables can be downloaded in a customized manner without using the manufacturer's maintenance tools;

[0105] (2) Compatible with the current master station protocol, making full use of existing conditions without the need for redevelopment or custom protocol development;

[0106] (3) Based on the dynamic update method, it has the point table requirements applicable to different sites;

[0107] (4) For terminal equipment manufacturers, there is no need to arrange dedicated personnel to connect, maintain and configure local point table information at each site, which improves efficiency and saves costs;

[0108] (5) It is convenient to port to other project systems and only provides a few interface processing functions to quickly develop requirements.

[0109] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A processing method for remote automatic point meter update based on a power distribution device, characterized in that: include: S1. Receive the file content data packets sent by the master station in accordance with the standard protocol, and when receiving the last file content data packet, return the correct or abnormal response of writing the file to the master station for response; S2. After receiving the file content data packet sent by the master station, perform a legality check on the file content and store the legal file content in the memory; S3. Parse the legal file content and extract data to update the existing point table file in the terminal, including: S31, initialize the Infoaddr field in the telemetry data structure comm_yctable from 0x4001 to 0x4064, assign the value of 65535 to the Offset field, read the file content from the corresponding memory location, and parse out the number of telemetry point tables that need to be updated; S32, cyclically reading the file data content sent by the master station and stored in the memory offset address, and sequentially parsing and restoring the field data of the point table parameter structure comm_pointtable and storing them in the point table parameter structure comm_pointtable, wherein the point table parameter structure comm_pointtable includes the fields of information body address Infoaddr, offset Offset, upload coefficient Ratio, change dead zone Deadzone and spare Reserve; S33, compare whether the field Infoaddr in the point table parameter structure comm_pointtable is the same as the field Infoaddr in the telemetry data structure comm_yctable used for uploading in the memory, the telemetry data structure comm_yctable includes fields for the information body address Infoaddr, data value and offset Offset, the data range of the field Infoaddr in the point table parameter structure comm_pointtable and the field Infoaddr in the telemetry data structure comm_yctable is 0x4001-0x4064, which means the starting address of the first telemetry quantity specified in the protocol; S34, if they are the same, then update the field Offset in the telemetry data structure comm_yctable to the Offset variable value in the point table parameter structure comm_pointtable; S35. After looping to YCMAX number, the Offset variable in the field of all telemetry data structures comm_yctable is updated and assigned. The YCMAX represents the maximum telemetry upload amount of the device. The specific step S1 is: Receiving a file writing request sent by the master station; Determine whether the message format is a legal frame of the 101 frame structure format or the 104 frame structure format according to the message structure; If the legal frame check is satisfied, continue to receive the file write request sent by the master station; and perform a legality check on the received file name and file length; If the legitimacy check is satisfied, the terminal then passively waits for the master station to continue sending the file content data packet, and performs the byte CRC check process of the file content while receiving and storing it. After all the segmented packets are received, the final calculated CRC value is compared with the check CRC calculated by the master station for the last packet, and a correct or abnormal response to confirm the writing of the file is returned to the master station for response; If the legal frame check is not met, or if the legal frame check is met but the legality check is not met, it is judged as illegal and the packet receiving process is exited.

2. The processing method for remote automatic point meter update based on the power distribution device according to claim 1, characterized in that: Also includes: When the master station calls for the amount of telemetry data in real time, the pointer points to the first telemetry name of the field in the telemetry data structure comm_yctable plus the field Offset variable.

3. A remote automatic point meter update processing system based on a power distribution device, characterized in that: It includes a master station, a terminal and a memory. The terminal and the master station are connected through a hardware communication interface serial port or network port. The terminal includes a receiving module, a verification module and a point table update module, wherein: The receiving module is used to receive the file content data packets sent by the main station in accordance with the standard protocol, and when receiving the last file content data packet, return the correct or abnormal response of writing the file to the main station for response; The verification module is used to verify the legality of the file content after receiving the file content data packet sent by the master station, and store the legal file content in the memory; The point table update module is used to parse the legal file content and extract data to update the existing point table file in the terminal; The point table updating module is specifically used for: Initialize the Infoaddr field in the telemetry data structure comm_yctable from 0x4001 to 0x4064, and assign the value of 65535 to the Offset field. Read the file content from the corresponding memory location and parse out the number of telemetry point tables that need to be updated. Circularly read the file data content sent by the master station that has been saved in the memory offset address, parse and restore the field data of the point table parameter structure comm_pointtable in sequence and store them in the point table parameter structure comm_pointtable, the point table parameter structure comm_pointtable includes the fields of information body address Infoaddr, offset Offset, upload coefficient Ratio, change dead zone Deadzone and spare Reserve; Compare whether the field Infoaddr in the point table parameter structure comm_pointtable is the same as the field Infoaddr in the telemetry data structure comm_yctable used for uploading in the memory. The telemetry data structure comm_yctable contains fields for the information body address Infoaddr, data value and offset Offset. The data range of the field Infoaddr in the point table parameter structure comm_pointtable and the field Infoaddr in the telemetry data structure comm_yctable is 0x4001-0x4064, which means the starting address of the first telemetry quantity specified in the protocol; If they are the same, update the Offset field in the telemetry data structure comm_yctable to the Offset variable value in the point table parameter structure comm_pointtable; After looping to YCMAX number, the Offset variable in the field of all telemetry data structure comm_yctable is updated and assigned. The YCMAX represents the maximum telemetry upload amount of the device. The receiving module is specifically used as follows: Receiving a file writing request sent by the master station; Determine whether the message format is a legal frame of the 101 frame structure format or the 104 frame structure format according to the message structure; If the legal frame check is satisfied, continue to receive the file write request sent by the master station; and perform a legality check on the received file name and file length; If the legitimacy check is satisfied, the terminal then passively waits for the master station to continue sending the file content data packet, and performs the byte CRC check process of the file content while receiving and storing it. After all the segmented packets are received, the final calculated CRC value is compared with the check CRC calculated by the master station for the last packet, and a correct or abnormal response to confirm the writing of the file is returned to the master station for response; If the legal frame check is not met, or if the legal frame check is met but the legality check is not met, it is judged as illegal and the packet receiving process is exited.

4. The processing system for remote automatic point meter update based on the power distribution device according to claim 3, characterized in that: The receiving module includes a file receiving unit and a response unit, wherein: The receiving unit is used to receive the file content data packet sent by the master station through the hardware communication interface serial port or network port in accordance with the standard protocol; The response unit is used to return a correct or abnormal response of writing the file to the main station for response when receiving the last packet of file content data.

Citation Information

Patent Citations

  • Interoperation method of realizing measurement data synchronization of main distribution network system

    CN107506392A

  • PCM system satellite telemetry data classification extraction method and system

    CN109828952A

  • Power system 101 and 104 communication protocol processing system and processing method thereof

    CN110971491A