Method for improving data acquisition efficiency of electric energy meter, acquisition terminal and medium
By performing a pre-collection process before collecting electricity meter data to identify and sort the load types of the electricity meters, the problem of identification diversity in data collection of 645 protocol electricity meters is solved, the collection efficiency and success rate are improved, communication failures are avoided, and efficient data collection is achieved.
Patent Information
- Application Number
- CN202511129749.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-13
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2045-08-13
AI Technical Summary
In the existing technology, electricity meters based on the 645 protocol have the problem of identification diversity during the data collection process, which leads to reading failures, affects collection efficiency and data integrity, and has high upgrade and transformation costs, making it difficult to completely replace it with the 698 protocol.
The pre-collection process is executed before the formal meter reading. By receiving the communication response data of the electricity meter, the supported load type is marked, and data collection is carried out according to priority sorting, including the identification and processing of old load, new load three-phase and new load phase, and the timed table is skipped.
It significantly improves the acquisition success rate and system response speed, avoids repeated reading and communication failure, shortens the task cycle, and ensures data integrity and efficient use of communication resources.
Smart Images

Figure CN120751293A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data collection terminals, and in particular relates to a method for improving the efficiency of data collection of electric energy meters, a data collection terminal, and a medium. Background Art
[0002] In the current context of the intelligent and digital transformation of power systems, energy meters, as crucial terminal devices for power data collection, require standardized communication protocols and improved data collection efficiency, becoming crucial for achieving refined management. With the promotion and application of the DL / T698.45-2017 communication protocol (hereinafter referred to as the "698 protocol"), power systems are placing higher demands on the communication capabilities, functional scalability, and security of terminal devices. Compared to the earlier DL / T645-2007 protocol (hereinafter referred to as the "645 protocol"), the 698 protocol offers significant improvements in communication speed, standardized data structures, security mechanisms, and functional scalability, providing technical support for building a unified and efficient data collection system. In practice, a large number of energy meters based on the 645 protocol remain in the field, posing high upgrade and retrofit costs and making complete replacement difficult in the short term. Therefore, data collection terminals must not only support the functions of the 698 protocol but also be compatible and adaptable to the communication requirements of energy meters using the 645 protocol, establishing integrated support for both the new and legacy protocols.
[0003] In specific data collection tasks, especially when reading 96-point load curve data at 15-minute intervals, 645 protocol electricity meters suffer from significant identification diversity. Unlike the unified data identification method in 698 protocol, 645 protocol often has multiple optional collection identifiers for the same type of data, and support for these identifiers varies between different manufacturers and batches of electricity meters. For example, when collecting frozen voltage data, multiple identifiers may be present, but not all devices support all of them. This can lead to a large number of reading failures during the terminal collection process, affecting overall collection efficiency and data integrity. Summary of the Invention
[0004] In order to solve the above problems in the prior art, the present invention provides a method for improving the efficiency of electric energy meter data collection, which is used for a collection terminal and includes the following steps: Step S1, before formal meter reading, execute the electric energy meter pre-collection process to receive the communication response data of the electric energy meter; Step S2, marking the load types supported by the electric energy meter based on the communication response data, the load types including old load, new load three-phase and new load split-phase; Step S3, prioritizing the load types supported by the electric energy meter based on the load tags; Step S4: Data collection is performed based on priority sorting and load marking during formal meter reading.
[0005] The method for marking the load type in step S2 is: Sending reading content to the target electric energy meter, wherein the reading content includes at least real-time time, the most recent load record block, the voltage curve data block, the A phase voltage, and the C phase voltage; Receiving the communication response data from the electric energy meter, and determining the load type supported by the electric energy meter: If the most recent load record block information is received, it is marked as old load; If the voltage curve data block is received, it is marked as a new load. If the phase A voltage and phase C voltage are received, it is marked as a new load three-phase. If the phase A voltage is received and the phase C voltage is not received, it is marked as a new load single-phase.
[0006] Specifically, the pre-collection process includes the following steps: Step S11, determining whether the power is turned on again, or whether the table file is changed and the change is to add a 645 table; Step S12, checking whether the number of electric energy meters that need to be pre-collected in the area to be determined is zero, if so, exiting the pre-collection process, otherwise selecting the electric energy meters in the area to be determined in turn and executing step S13; Step S13, suspending execution of the task issued by the master station, sending the reading content to the electric energy meter, and determining whether the electric energy meter responds with data; Step S131: If the electric energy meter only responds to real-time data or no data is responded, the pre-collection determination fails, and the process continues with step S12. Step S132: If other data is returned, the communication response data of the electric energy meter is received, the load type supported by the electric energy meter is determined, and the electric energy meter is removed from the waiting area.
[0007] Furthermore, in step S131, if the time period during which the data has not been replied exceeds a threshold, the table is marked as a potential timeout table, and the table is removed from the pending determination area, and the polling mechanism is subsequently executed; if only real-time data is replied or the meter is determined to be an abnormal electricity meter, the table is removed from the pending determination area, and the polling mechanism is subsequently executed.
[0008] On the basis of the above solution, when the data is collected in step S4: If the energy meter only supports one load type, data collection is performed according to this type; If multiple load types are supported, the supported types will be read in the order of priority: old - new three - new single. After any type is read successfully, subsequent readings will not be performed. If all types are not supported, data collection is performed in the order of priority: old - new three - new single - real-time.
[0009] According to another embodiment, the method further includes a method for processing a timed-out electric energy meter during data acquisition, specifically comprising the following steps: Step S5, loading the meter reading task issued by the master station and executing the meter reading task; Step S6, determining whether the number of unread energy meters in the current meter reading task is 0, if it is 0, the task has been successfully executed and the meter reading process ends; if it is not 0, executing step S7; Step S7, judging the status of each unread electricity meter: If the electric energy meter has been marked as "timeout skip meter", determine whether the current time is the set time. If so, clear the "timeout skip meter" mark state, frame and send the meter reading message normally; if not, skip the framing and sending process of the meter; If the electric energy meter is not marked as "timeout skip meter", the meter reading message is sent to the load type of the pre-collection mark for the meter that meets the 645 standard, and the meter reading message is directly sent to the meter that meets the 698 standard, and the data reply is waited for; Step S8: If the data is returned normally, the data is parsed and saved; if the data is not returned, the timeout duration of the electric energy meter is counted to determine whether the electric energy meter is marked as a "potential timeout meter". The timeout threshold of the potential timeout meter is 698 meter timeout threshold * 0.6 or 645 non-"potential timeout meter" timeout threshold * 0.6; Step S9: If the electricity meter is marked as a "potential timeout meter", determine whether its timeout duration reaches the timeout threshold of the potential timeout meter. If it does not reach the timeout threshold, execute step S6; if it reaches the timeout threshold, mark the electricity meter as a "timeout skip meter" and no longer read it subsequently, and execute step S6.
[0010] Furthermore, the type of the electric energy meter is an "old load" 645 meter. When performing framing and meter reading, data items that can be included in a single frame are skipped, and data items that are not included in a single frame are found for framing. After framing, the data are sent to the electric energy meter for reading.
[0011] Based on the same inventive concept, the present application provides a collection terminal, comprising: A first acquisition module, comprising a pre-acquisition unit and a marking unit; The pre-collection unit is used to perform the electric energy meter pre-collection process before formal meter reading and receive the communication response data of the electric energy meter; The marking unit is used to mark the load type supported by the electric energy meter according to the communication response data, and the load type includes old load, new load three-phase and new load split-phase; a processing module, configured to prioritize load types supported by the electric energy meter according to the load tags of the first acquisition module; The second acquisition module is used to collect data based on priority sorting and load marking during formal meter reading.
[0012] Furthermore, the pre-collection unit includes: The first judgment subunit is used to read the real-time time of the electric energy meter and verify whether the electric energy meter is communicating normally; The second judgment subunit is used to determine whether the electric energy meter supports the old load; The third judgment subunit is used to determine whether the electric energy meter supports the three-phase of the new load; The fourth judgment subunit is used to determine whether the electric energy meter supports the new load, and jointly determine with the fifth judgment subunit whether the new load supports single-phase; The fifth judgment subunit is used to determine whether the new load is supported, and jointly determine with the third judgment subunit and the fourth judgment subunit whether the new load is three-phase.
[0013] The present invention also provides a computer-readable storage medium having a computer program. When the computer program is executed by a processor, the steps of the method for improving the efficiency of data collection of electric energy meters as described above are implemented.
[0014] Compared with the prior art, the present invention has the following beneficial effects: 1. Before the formal meter reading task is executed, pre-collection is used to quickly identify the electricity meter's support for different data identifiers, dynamically matching the optimal collection path, avoiding repeated readings and communication failures caused by identifier incompatibility, and significantly improving the collection success rate and system response speed; 2. By identifying and skipping the timeout table, it can effectively avoid invalid occupation of the meter reading channel. After the electricity meter is marked as a potential timeout state, the subsequent reading strategy is adjusted to avoid long invalid waiting times, shorten the task cycle, release communication resources, and ensure the efficient execution of the overall collection task and data integrity. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 This is a flow chart of the overall method of this application; Figure 2 This is a flow chart of the pre-collection method for this application; Figure 3 This is the flowchart for processing the timeout table for this application; Figure 4 The data collection flow chart for the old load 645 table is provided for this application. DETAILED DESCRIPTION
[0016] The 645 protocol electricity meter (hereinafter referred to as the 645 meter) does not have a unique reading identifier for the same collected data, and 645 meters of different production batches and types may not be able to support all identifiers. Therefore, for the 96-point frozen curve, this application performs pre-collection before the formal meter reading, and marks the meter reading identifiers supported by the 645 meter based on the reply status of the meter reading frame to improve the terminal's collection efficiency.
[0017] The invention will be further described below with reference to specific embodiments.
[0018] Example 1 like Figure 1 As shown, the present application provides a method for improving the efficiency of electric energy meter data collection, which is used for a collection terminal and includes the following steps: Step S1, before formal meter reading, execute the electric energy meter pre-collection process to receive the communication response data of the electric energy meter; The steps for executing the pre-collection process for the energy meter are: Step S11: First, determine whether the terminal is powered on again, or whether the table file is changed and the change is to add a new 645 table. If so, continue to execute the pre-collection process; Step S12, checking whether the number of electric energy meters that need to be pre-collected in the area to be determined is zero, if so, exiting the pre-collection process, otherwise selecting the electric energy meters in the area to be determined in turn and executing step S13; Step S13, suspending execution of the task issued by the master station in the terminal, sending the reading content to the electric energy meter, and determining whether the electric energy meter responds with data; Furthermore, the reading content sent to the energy meter in the pre-collection is a custom scheme, which is used to reply to the load type supported by the energy meter based on the data of the energy meter. The reading identification supported by the energy meter includes: The load record block has the characteristic of a single frame identifying multiple data items, which is called old load; The data block (three-phase) has the characteristic of returning all phase data of the identifier in a single frame, becoming the new load three-phase; The data block (phase) has the characteristic of returning only the data expected to be read in a single frame. It is called new load phase, also called new load single phase.
[0019] At the time of initialization, each 645 meter is marked as supporting old load, supporting new load single phase, and supporting new load three phase. During the pre-collection process, unsupported load types are shielded, and data is collected for supported load types to determine the load types supported by the 645 meter.
[0020] According to this embodiment, the custom scheme for pre-collection is: 04000102, real-time reading time, can be replaced by any real-time data item, used to verify whether the electric energy meter can communicate normally. The communication status of the electric energy meter is determined by real-time data to avoid the influence of time selection factors on the return of meter reading data when reading frozen data, which may lead to incorrect judgment of the communication status of the electric energy meter. 06000002: Read the most recent record block to determine whether the old load is supported. No freezing time is specified, allowing the meter to automatically return to the most recent load record stored internally. This minimizes the impact of missing data in the meter and allows for more accurate determination of whether the old load is supported. 061001FF, reads the voltage curve data block, which is used to determine whether the electric energy meter supports the new load. To avoid reading failure due to no frozen data at the specified time point, select the most recent time point where data is known to exist for reading (i.e., the last 15-minute frozen period closest to the current time point); 06100101, read the A-phase voltage to determine whether the new load is supported. It works together with the "voltage curve data block" and "C-phase voltage" to determine whether the energy meter is single-phase or three-phase for the new load. 06100103: Reads the phase C voltage to determine whether the new load is supported. It works together with the "voltage curve data block" and "phase A voltage" to determine whether the energy meter is single-phase or three-phase for the new load.
[0021] Based on the above customized solution, the reading content is sent to the target electricity meter. The reading content includes: real-time time, the most recent load record block, voltage curve data block, phase A voltage and phase C voltage. Then, based on the data returned by the electricity meter, the supported load type is determined and marked for subsequent formal collection.
[0022] In other embodiments, the voltages of phases A and B or phases A and C can be used to confirm whether voltage information other than phase A is available for reading, and to determine whether the new load is single-phase or three-phase.
[0023] Step S2, marking the load types supported by the electric energy meter based on the communication response data, the load types including old load, new load three-phase and new load split-phase; Step S131: If the electric energy meter only responds to real-time data or no data is responded, the pre-collection determination fails, and the process continues with step S12. Step S132: If other data is returned, the communication response data of the electric energy meter is received, the load type supported by the electric energy meter is determined, and the electric energy meter is removed from the waiting area.
[0024] Receiving the communication response data from the electric energy meter, and determining the load type supported by the electric energy meter: If the latest load record block is received, it will be marked as old load. It should be noted that the "latest record block" is a data item in the "old load". The reply of "latest record block" means that the "old load" supports reading. If a voltage curve data block is received, it is marked as a new load; If only the A-phase voltage is received and the C-phase voltage is not received, it is marked as a new load with split phases; if the A-phase voltage and the C-phase voltage are received, it is marked as a new load with three phases.
[0025] Step S3, prioritizing the load types supported by the electric energy meter based on the load tags; When the energy meter supports legacy loads, multiple data items can be read in a single frame. That is, multiple parameters such as "ABC phase voltage," "ABC phase current," "grid frequency," "total and per-phase active power," "total and per-phase reactive power," and "total and per-phase power factor" can be recorded in a given time block. When all of the above are configured simultaneously in a meter reading task, reading can be completed in a single frame.
[0026] According to the 645 protocol, single-phase multi-rate meters and single-phase smart meters only support Phase A voltage, Phase A current, total active power, total power factor, forward active energy, and reverse active energy. They do not support data block commands, but other types of single-phase meters may support data block commands. Three-phase meters only support voltage, current, active power, and reactive power, while also supporting the existing load recording protocol. To address scenarios where communication fluctuations can cause delays in reading three-phase meter data, the new three-phase reading protocol is prioritized over the new single-phase reading protocol. It is important to note that both single-phase and three-phase meters are subject to communication fluctuations. In this case, if the meter is actually a single-phase meter, read the data identifier of the three-phase meter first. Even if this fails, read the data from the single-phase meter. If the meter is actually a three-phase meter, read the data identifier of the single-phase meter first. Once data is available, the reading task is marked as successful, resulting in missing data for phases B and C on the three-phase meter. Therefore, the reading priority of the new three-phase meter is prioritized over the new single-phase meter.
[0027] Because communication fluctuations can potentially cause a three-phase meter to be misidentified as a single-phase meter, when the terminal is idle, it initiates a reading of the new three-phase type for meters that only support the new single-phase type. If valid data is returned, the meter is marked as supporting the new three-phase type. This re-reading and judgment of the meter reduces the probability of incorrect or incomplete meter type judgments due to communication fluctuations.
[0028] Therefore, based on the above, the priority order is: old load > new three-reading > new single-reading.
[0029] Step S4: Data collection is performed based on priority sorting and load marking during formal meter reading.
[0030] Processing is performed based on the pre-collection results. If the electricity meter only supports one load type, data collection is performed according to this type. If the electricity meter supports multiple load types, the supported types are read in the priority order of old-new three-new single. After any type is read successfully, subsequent readings will not be performed. If all types are not supported, the data collection task is performed in the priority order of old-new three-new single-real-time.
[0031] Example 2 This embodiment provides a complete pre-collection determination method, such as Figure 2 As shown, the method includes: First, determine whether the terminal is powered on again, or whether the file has been changed and the change involves Form 645. If the above conditions are not met, exit the pre-collection process; if the above conditions are met, continue to execute pre-collection; Check the number of electric energy meters that need to be pre-collected in the waiting area. If the number of electric energy meters is 0, it means that all 645 meters have completed the judgment and exit the pre-collection process; if it is not 0, select the electric energy meters from the waiting area in turn; Pause the execution of the task sent by the master station in the terminal, load and execute the pre-collection custom solution in Example 1, and determine whether the electric energy meter has data reply; If only real-time data is received and no frozen data is received, the data is not replied, or it is determined to be an abnormal electricity meter, the pre-collection fails and the next electricity meter is judged; if only real-time data is replied or it is determined to be an abnormal electricity meter, the meter is removed from the waiting area and the polling mechanism is executed subsequently.
[0032] If the old load replies with valid information, it is determined to be an "old load" and the meter is removed from the waiting area. The next electric energy meter is judged and the new load reply status is no longer checked. The meter type is determined based on the validity of the ABC phase voltage reply data. If the A phase voltage replies with valid data but the B and C phase voltage reply data are invalid data, it is determined to be a single-phase meter. If both ABC reply with valid data, it is determined to be a three-phase meter.
[0033] If the old load has not recovered and the voltage curve data block has recovered, it is determined to be a "new load". The recovery of the phase C voltage is further used to determine whether it is a single-phase meter or a three-phase meter. After the determination is completed, the energy meter is removed from the waiting area and the next energy meter is determined. If the voltage of phase A recovers and the voltage of phase C does not recover, it is determined as "new load split-phase". If the voltage of phase A recovers and the voltage of phase C also recovers, it is determined as "new load three-phase". The energy meter is removed from the waiting area and the next energy meter is determined. If the reply is not the above situation, it is determined to be an abnormal electricity meter, the pre-collection fails, and the next electricity meter is determined.
[0034] Through the above pre-collection method, the 645 meter is pre-collected before the terminal officially reads the meter, and the reading identification supported by each 645 meter is marked and sorted. The new and old load types and single and three-phase types supported by each meter are quickly determined, reducing the number of retry rounds in the actual meter reading process and improving the data collection success rate.
[0035] Example 3 Based on Examples 1 and 2, if data is not returned during the pre-collection process, a determination is made as to whether the duration of the non-response exceeds a threshold. If so, the meter is marked as a potential timeout meter and removed from the pending determination area, with subsequent polling. This threshold is determined based on the typical network establishment time of a typical meter area and is set to 10 minutes in this example.
[0036] In addition, this embodiment provides a method for handling timeout tables during formal collection. The timer starts from the first reading of the table. If the number of times any information is returned during the reading within time T1 is 0, it is determined that the table has no corresponding physical table, and subsequent reading attempts are not made until the table is initialized to a "non-fake table file" at time A, and the reading is attempted again.
[0037] like Figure 3 As shown, the timeout table processing method specifically includes the following steps: Step S5, loading the meter reading task issued by the master station and executing the meter reading task; Step S6, determining whether the number of unread energy meters in the current meter reading task is 0, if it is 0, it indicates that the task has been successfully executed, and the meter reading process ends; if it is not 0, executing step S7; Step S7, judging the status of each unread electricity meter: If the electric energy meter has been marked as "timeout skip meter", further determine whether the current time is time A (set time). If so, clear the "timeout skip meter" mark state, frame and send the meter reading message normally; if not, skip the framing and sending process of the meter; If the energy meter is not marked as "timeout skip meter", the meter reading message is sent to the 645 meter according to the load type marked in the pre-collection. The meter reading message is directly sent to the energy meter that complies with the 698 protocol (hereinafter referred to as the 698 meter) and waits for the data reply. Step S8: If the data is returned normally, the data is parsed and saved; if the data is not returned, the meter timeout duration is counted to determine whether the meter is marked as a "potential timeout meter". The timeout threshold of the potential timeout meter is 698 meter timeout threshold * 0.6 or 645 non-"potential timeout meter" timeout threshold * 0.6; Step S9: If the electricity meter is marked as a "potential timeout meter", determine whether its timeout duration reaches the timeout threshold of the potential timeout meter. If it does not reach the timeout threshold, execute step S6; if it reaches the timeout threshold, mark the electricity meter as a "timeout skip meter" and no longer read it subsequently, and execute step S6.
[0038] In this embodiment, the time T1 is set to 2 hours in combination with the freezing data collection frequency and the field test results. Taking into account the freezing of the reading day after midnight and the operation frequency of the terminal by the field master station, the time A is set to 23:00 on the same day. If the electric energy meter being read has been marked as a potential timeout meter, 0.6*T1 is used as the timeout threshold of the electric energy meter.
[0039] Through the above method, an adaptive identification mechanism is added for the fake meters in the archives, and the electricity meters that may appear in the substation without data response after reaching the maximum waiting time are processed, and the reading of the fake meters is skipped to avoid invalid occupation of the concurrent channels; when the meter has been marked as a potential timeout, the judgment threshold of the timeout meter is lowered to quickly identify the communication abnormal device to avoid affecting the overall data collection efficiency.
[0040] Example 4 The present invention determines the load type supported by the 645 table during pre-collection, such as Figure 4 As shown in the figure, during the formal data collection process, the data collection process for the 645 table that supports the old load includes the following steps: Load the meter reading task issued by the master station and execute the meter reading task; Determine whether the number of unread energy meters in the current meter reading task is 0. If it is 0, it means the task has been successfully executed and the meter reading process ends; if it is not 0, determine the type of energy meter; When the meter type is 698, or the non-"old load" type 645 meter, normal framing and meter reading are performed, and data reply is waited for; if the data reply is normal, the returned data is parsed and saved; if the meter does not reply normally, the timeout table processing method in Example 3 is executed, and the timeout table is skipped if it is judged to be a timeout table; Since multiple data items can be read in a single frame when supporting old loads, when the type of the electric energy meter is an "old load" 645 meter, when the data items in the configuration plan are framed and read one by one, the items that can be included in the single frame are skipped, and data items not included in the single frame are found for framing (finding the next data item not included in 06000001) to reduce invalid meter reading. After framing is completed, the meter reading frame is sent to the electric energy meter for reading. If the data is returned normally, the returned data is parsed and saved. If the electric energy meter does not return normally, the timeout table processing method in Example 3 is executed, and it is skipped if it is determined to be a timeout table.
[0041] For example, when reading the meter, data items A, B, C, D, E, and F are required. When the old load reads data item A, the returned data frame contains multiple data items A, B, D, and E. At this time, you only need to skip B, D, and E, find the data items C and F that are not included, and frame them for sending.
[0042] For data collection of the "old load" 645 meter, by skipping the data items included in a single frame and directly processing the items not included, redundant communication caused by item-by-item framing is avoided, invalid requests are reduced, the overall meter reading cycle is shortened, and the meter reading efficiency and system stability are significantly improved.
[0043] Based on the same inventive concept, the present invention provides a collection terminal, comprising: A first acquisition module, comprising a pre-acquisition unit and a marking unit; The pre-collection unit is used to perform the electric energy meter pre-collection process before formal meter reading and receive the communication response data of the electric energy meter; The pre-collection unit includes: The first judgment subunit is used to read the real-time time of the electric energy meter and verify whether the electric energy meter is communicating normally; The second judgment subunit is used to determine whether the electric energy meter supports the old load; The third judgment subunit is used to determine whether the electric energy meter supports the three-phase of the new load; The fourth judgment subunit is used to determine whether the electric energy meter supports the new load, and jointly determine with the fifth judgment subunit whether the new load supports single-phase; The fifth judgment subunit is used to determine whether the new load is supported, and jointly determine with the third judgment subunit and the fourth judgment subunit whether the new load is three-phase.
[0044] The marking unit is used to mark the load type supported by the electric energy meter according to the communication response data, and the load type includes old load, new load three-phase and new load split-phase; a processing module, configured to prioritize load types supported by the electric energy meter according to the load tags of the first acquisition module; The second acquisition module is used to collect data based on priority sorting and load marking during formal meter reading.
[0045] Furthermore, the method for improving the efficiency of electricity meter data collection according to the present invention may be recorded on a computer-readable recording medium. Specifically, the present invention may provide a computer-readable recording medium storing computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor may be prompted to execute the method for improving the efficiency of electricity meter data collection as described above.
[0046] It should be noted that the flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the module, program segment, or part of the code contains at least one executable instruction for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.
[0047] In general, various example embodiments of the present invention may be implemented in hardware or dedicated circuitry, software, firmware, logic, or any combination thereof. Certain aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device. When aspects of embodiments of the present invention are illustrated or described as block diagrams, flow charts, or using some other graphical representation, it will be understood that the blocks, devices, systems, techniques, or methods described herein may be implemented, as non-limiting examples, in hardware, software, firmware, dedicated circuitry or logic, general-purpose hardware or a controller or other computing device, or some combination thereof.
[0048] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.
[0049] Although the above describes the specific implementation methods of the present invention, it does not limit the scope of protection of the present invention. Those skilled in the art should understand that various modifications or variations that can be made by those skilled in the art on the basis of the technical solution of the present invention without creative work are still within the scope of protection of the present invention.
Claims
1. A method for improving the efficiency of data collection of electric energy meters, characterized in that: For the acquisition terminal, including the following steps: Step S1, before formal meter reading, execute the electric energy meter pre-collection process to receive the communication response data of the electric energy meter; Step S2, marking the load types supported by the electric energy meter based on the communication response data, the load types including old load, new load three-phase and new load split-phase; Step S3, prioritizing the load types supported by the electric energy meter based on the load tags; Step S4: During formal meter reading, data is collected from the electric energy meter based on priority sorting and load marking.
2. The method for improving the efficiency of electric energy meter data collection according to claim 1, characterized in that: The method for marking the load type in step S2 is: Sending reading content to the target electric energy meter, wherein the reading content includes at least real-time time, the most recent load record block, the voltage curve data block, the A phase voltage, and the C phase voltage; Receiving the communication response data from the electric energy meter, and determining the load type supported by the electric energy meter: If the most recent load record block information is received, it is marked as old load; If the voltage curve data block is received, it is marked as a new load. If the phase A voltage and phase C voltage are received, it is marked as a new load three-phase. If the phase A voltage is received and the phase C voltage is not received, it is marked as a new load single-phase.
3. The method for improving the efficiency of electric energy meter data collection according to claim 2, characterized in that: The pre-collection process includes the following steps: Step S11, determining whether the power is turned on again, or whether the table file is changed and the change is to add a 645 table; Step S12, checking whether the number of electric energy meters that need to be pre-collected in the area to be determined is zero, if so, exiting the pre-collection process, otherwise selecting the electric energy meters in the area to be determined in turn and executing step S13; Step S13, suspending execution of the task issued by the master station, sending the reading content to the electric energy meter, and determining whether the electric energy meter responds with data; Step S131: If the electric energy meter only responds to real-time data or no data is responded, the pre-collection determination fails, and the process continues with step S12. Step S132: If other data is returned, the communication response data of the electric energy meter is received, the load type supported by the electric energy meter is determined, and the electric energy meter is removed from the waiting area.
4. The method for improving the efficiency of electric energy meter data collection according to claim 3, characterized in that: In step S131, if the time period without data reply exceeds a threshold, the table is marked as a potential timeout table, and the table is removed from the waiting area for determination, and the polling mechanism is subsequently executed; If only real-time data is replied or it is determined to be an abnormal electricity meter, the meter will be removed from the waiting area and the polling mechanism will be executed subsequently.
5. The method for improving the efficiency of electric energy meter data collection according to claim 2, characterized in that: When the step S4 performs data collection: If the energy meter only supports one load type, data collection is performed according to this type; If multiple load types are supported, the supported types will be read in the order of priority: old - new three - new single. After any type is read successfully, subsequent readings will not be performed. If all types are not supported, data collection is performed in the order of priority: old - new three - new single - real-time.
6. The method for improving the efficiency of electric energy meter data collection according to claim 4, characterized in that: The method also includes a method for processing a timed-out electric energy meter during data acquisition, specifically comprising the following steps: Step S5, loading the meter reading task issued by the master station and executing the meter reading task; Step S6, determining whether the number of unread energy meters in the current meter reading task is 0, if it is 0, the task has been successfully executed and the meter reading process ends; if it is not 0, executing step S7; Step S7, judging the status of each unread electricity meter: If the electric energy meter has been marked as "timeout skip meter", determine whether the current time is the set time. If so, clear the "timeout skip meter" mark state, frame and send the meter reading message normally; if not, skip the framing and sending process of the meter; If the energy meter is not marked as "timeout skip meter", the meter reading message is sent based on the load type of the pre-collection mark for the meter that meets the 645 standard. The meter reading message is directly sent to the meter that meets the 698 standard and the data reply is waited for; Step S8: If the data is returned normally, the data is parsed and saved. If the data is not returned, the meter timeout duration is counted to determine whether the meter is marked as a "potential timeout meter." The timeout threshold for the potential timeout meter is 698 meter timeout threshold * 0.6 or 645 non-"potential timeout meter" timeout threshold * 0.
6. In step S9, if the meter is marked as a "potential timeout meter," determine whether its timeout duration has reached the timeout threshold of the potential timeout meter. If not, proceed to step S6. If it has reached the timeout threshold, mark the meter as a "timeout skip meter" and no longer read the meter, and proceed to step S6.
7. The method for improving the efficiency of electric energy meter data collection according to any one of claims 5 or 6, characterized in that: The type of the electric energy meter is an "old load" 645 meter. When framing the meter, the data items that can be included in a single frame are skipped, and the data items that are not included in the single frame are searched for framing. After framing, the data are sent to the electric energy meter for reading.
8. A collection terminal, characterized in that: include: A first acquisition module, comprising a pre-acquisition unit and a marking unit; The pre-collection unit is used to perform the electric energy meter pre-collection process before formal meter reading and receive the communication response data of the electric energy meter; The marking unit is used to mark the load type supported by the electric energy meter according to the communication response data, and the load type includes old load, new load three-phase and new load split-phase; a processing module, configured to prioritize load types supported by the electric energy meter according to the load tags of the first acquisition module; The second acquisition module is used to collect data based on priority sorting and load marking during formal meter reading.
9. The acquisition terminal according to claim 7, characterized in that: The pre-collection unit includes: The first judgment subunit is used to read the real-time time of the electric energy meter and verify whether the electric energy meter is communicating normally; The second judgment subunit is used to determine whether the electric energy meter supports the old load; The third judgment subunit is used to determine whether the electric energy meter supports the three-phase of the new load; The fourth judgment subunit is used to determine whether the electric energy meter supports the new load, and jointly determine with the fifth judgment subunit whether the new load supports single-phase; The fifth judgment subunit is used to determine whether the new load is supported, and jointly determine with the third judgment subunit and the fourth judgment subunit whether the new load is three-phase.
10. A computer-readable storage medium, comprising a computer program, wherein when the computer program is executed by a processor, the method for improving the efficiency of data collection of an electric energy meter according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Link detection-based electricity meter type automatic identification method and system
CN108345681A
Electric energy meter information reporting method, electric energy meter and storage medium
CN115190186A
Electric energy meter load curve frozen data acquisition method and acquisition terminal
CN117538608A
Implementation method for self-adaptive reading of load record of electric energy meter
CN118212761A
Electric energy meter protocol detection and meter reading method based on intelligent measurement terminal
CN120358428A
Cited By
Electric energy meter data freezing method and system for decentralized freezing based on special data container
CN121764411A