Electric meter file dynamic maintenance method, device and equipment and intelligent electric meter management system
By utilizing multi-dimensional historical communication data in the smart meter management system to evaluate the communication status between the meter and the concentrator, the true concentrator to which the meter belongs can be relocated. This solves the problems of low reliability of meter data acquisition and low operation and maintenance efficiency under dynamic changes in communication status, and achieves higher positioning accuracy and system efficiency.
Patent Information
- Application Number
- CN202510996535.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-17
- Publication Date
- 2025-11-18
AI Technical Summary
In smart meter management systems, due to dynamic changes in communication status, the master station cannot accurately locate the true owner concentrator of the meter, resulting in low reliability of meter data acquisition and low operation and maintenance efficiency.
When the target concentrator receives a meter registration request, it uses multiple historical communication quality parameters to evaluate communication anomalies between the meter and the reference concentrator, relocates the meter's true owner concentrator, updates the record relationship table, controls the reference concentrator to delete the meter record, and the target concentrator to configure the meter record.
It improves the reliability of electricity meter data acquisition and the operation and maintenance efficiency of the smart meter management system, and enhances the system's adaptability and positioning accuracy.
Smart Images

Figure CN120979909A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart meter management technology, and in particular to a method, device, equipment and smart meter management system for dynamic maintenance of meter records. Background Technology
[0002] In smart meter management systems, because a single concentrator can only manage a limited number of meters, many projects typically require the deployment of multiple concentrators to manage a large number of meters in a given area. In terms of communication architecture, the concentrator and the main station usually communicate via a network (such as a 4G network), while the meters and the concentrator typically communicate via a PLC (Power Line Communication).
[0003] Currently, the configuration and maintenance of electricity meter files typically rely on a single condition (such as address matching). However, due to the limitations of the communication architecture, the communication status between the meter and the concentrator is usually dynamic. Therefore, relying on a single condition, the master station in the smart meter management system often cannot accurately locate the true concentrator to which the meter belongs, i.e., it cannot accurately locate the concentrator that can communicate normally with the meter. This affects the reliability of meter data collection and the operational efficiency of the smart meter management system. Summary of the Invention
[0004] The main purpose of this application is to provide a method, device, equipment, and smart meter management system for dynamic maintenance of electricity meter records. The aim is to accurately locate the true owner concentrator of the electricity meter in an environment where the communication status changes dynamically, so as to improve the reliability of electricity meter data acquisition and the operation and maintenance efficiency of the smart meter management system.
[0005] To achieve the above objectives, this application provides a method for dynamic maintenance of electricity meter records, the method comprising:
[0006] When the target concentrator in the smart meter management system receives a registration request from the target meter, and the target concentrator has not configured a file for the target meter, the concentrator to which the target meter belongs is determined in the file relationship table of the master station in the smart meter management system and used as the reference concentrator.
[0007] If the reference concentrator is not the target concentrator, then multiple historical communication quality parameters of the target meter in the smart meter management system are obtained, and based on each of the historical communication quality parameters, it is determined whether the communication between the target meter and the reference concentrator is abnormal.
[0008] If communication is abnormal, the target concentrator will be designated as the new concentrator to which the target electricity meter belongs, and the information will be updated in the file relationship table.
[0009] The reference concentrator is controlled to delete the configured file of the target meter, and the target concentrator is controlled to configure the file of the target meter.
[0010] In one embodiment, the step of determining whether the communication between the target meter and the reference concentrator is abnormal based on each of the historical communication quality parameters includes:
[0011] Obtain the target decision threshold and the target weights of each of the historical communication quality parameters;
[0012] Based on the target weights of each of the historical communication quality parameters, a weighted fusion process is performed on each of the historical communication quality parameters to obtain a decision value;
[0013] If the decision value is greater than the target decision threshold, then it is determined that the communication between the target meter and the reference concentrator is abnormal;
[0014] If the decision value is less than or equal to the target decision threshold, then it is determined that the communication between the target meter and the reference concentrator is normal.
[0015] In one embodiment, the step of obtaining the target decision threshold and the target weights of each of the historical communication quality parameters includes:
[0016] Obtain the current environment information of the network environment in which the smart meter management system is located;
[0017] Based on a preset mapping relationship between environmental information and decision thresholds, a decision threshold corresponding to the current environmental information is obtained and used as the target decision threshold; and,
[0018] Based on the preset mapping relationship between environmental information and the weights of each communication quality parameter, the weights of each communication quality parameter corresponding to the current environmental information are obtained and used as the target weights of each of the historical communication quality parameters.
[0019] In one embodiment, the step of determining whether the communication between the target meter and the reference concentrator is abnormal based on each of the historical communication quality parameters includes:
[0020] Obtain the target parameter threshold corresponding to each of the historical communication quality parameters, and determine whether each of the historical communication quality parameters is greater than or equal to its corresponding target parameter threshold.
[0021] If so, then it is determined that the communication between the target meter and the reference concentrator is abnormal;
[0022] If not, then it is determined that the communication between the target meter and the reference concentrator is normal.
[0023] In one embodiment, the method further includes:
[0024] The master station is controlled to periodically read the list of meter files for each concentrator in the smart meter management system;
[0025] For any of the concentrators, if the list of electricity meter files for the concentrator read by the master station is inconsistent with the list of electricity meter files that the concentrator needs to be configured stored by the master station, then the list of electricity meter files for the concentrator is adjusted based on the list of electricity meter files that the concentrator needs to be configured stored by the master station.
[0026] In one embodiment, before the step of determining the concentrator to which the target meter belongs as the reference concentrator in the master station's file relationship table in the smart meter management system, the method further includes:
[0027] The target concentrator is controlled to periodically send search broadcast frames;
[0028] The system detects whether each meter in the smart meter management system meets the preset registration conditions, and selects the meters that meet the preset registration conditions as target meters.
[0029] Control the target electricity meter to send a registration request to the target concentrator.
[0030] In one embodiment, after determining the concentrator to which the target meter belongs, as the reference concentrator, in the master station's file relationship table in the smart meter management system, the method further includes:
[0031] If the reference concentrator is the target concentrator, then the target concentrator is controlled to configure the file of the target meter.
[0032] Furthermore, to achieve the above objectives, this application also provides a dynamic maintenance device for electricity meter records, the device comprising:
[0033] The file analysis module is used to determine the concentrator to which the target meter belongs in the file relationship table of the master station in the smart meter management system when the target concentrator in the smart meter management system receives a registration request sent by the target meter and the target concentrator has not configured the file of the target meter. The concentrator is then used as the reference concentrator.
[0034] The decision-making module is used to obtain multiple historical communication quality parameters of the target meter in the smart meter management system if the reference concentrator is not the target concentrator, and determine whether the communication between the target meter and the reference concentrator is abnormal based on each of the historical communication quality parameters.
[0035] If a communication failure occurs, the file update module will designate the target concentrator as the new concentrator to which the target meter belongs and update the file relationship table; it will also control the base concentrator to delete the configured file of the target meter and control the target concentrator to configure the file of the target meter.
[0036] Furthermore, to achieve the above objectives, this application also provides a smart meter management system, which includes:
[0037] Multiple electricity meters are used to send registration requests;
[0038] Multiple concentrators are provided, and the electricity meter is communicatively connected to the concentrator. When a target concentrator receives a registration request from a target electricity meter and the target concentrator has not configured a file for the target electricity meter, the target concentrator reports the registration request received by the target concentrator to the main station.
[0039] The main station, which is communicatively connected to each of the aforementioned concentrators, is used for:
[0040] After receiving the registration request reported by the target concentrator, the concentrator to which the target meter belongs is determined in the file relationship table of the main station and used as the reference concentrator.
[0041] If the reference concentrator is not the target concentrator, then multiple historical communication quality parameters of the target meter in the smart meter management system are obtained, and based on each of the historical communication quality parameters, it is determined whether the communication between the target meter and the reference concentrator is abnormal.
[0042] If communication is abnormal, the target concentrator will be designated as the new concentrator to which the target electricity meter belongs, and the information will be updated in the file relationship table.
[0043] The reference concentrator is controlled to delete the configured file of the target meter, and the target concentrator is controlled to configure the file of the target meter.
[0044] In addition, to achieve the above objectives, this application also provides a dynamic maintenance device for electricity meter records, the dynamic maintenance device for electricity meter records comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the dynamic maintenance method for electricity meter records as described above.
[0045] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the dynamic maintenance method for electricity meter records as described above.
[0046] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the dynamic maintenance method for electricity meter records as described above.
[0047] This application provides a method for dynamic maintenance of electricity meter files. When a target concentrator in a smart meter management system receives a registration request from a target electricity meter, and the target concentrator has not configured a file for the target electricity meter, the method determines the concentrator to which the target electricity meter belongs in the file relationship table of the master station in the smart meter management system, designating it as the base concentrator. If the base concentrator is not the target concentrator, the method obtains multiple historical communication quality parameters of the target electricity meter in the smart meter management system and determines whether the communication between the target electricity meter and the base concentrator is abnormal based on these parameters. If the communication is abnormal, the method designates the target concentrator as the new concentrator to which the target electricity meter belongs and updates the file relationship table. The method also controls the base concentrator to delete the configured file for the target electricity meter and controls the target concentrator to configure the file for the target electricity meter.
[0048] Therefore, the technical solution provided in this application, when the target concentrator receives a registration request from the target meter but the target concentrator has not configured a file for the target meter (i.e., when the communication status changes), determines whether it is necessary to relocate the concentrator to which the target meter belongs by judging whether the concentrator to which the target meter currently belongs (i.e., the reference concentrator) is the target concentrator. If the reference concentrator is not the target concentrator, it means that multiple concentrators (i.e., the target concentrator and the reference concentrator) are competing for the registration of the target meter, and it is necessary to relocate the concentrator to which the target meter belongs. At this time, the technical solution provided in this application will simultaneously use multiple historical communication quality parameters of the target meter in the smart meter management system to evaluate whether the communication between the target meter and the reference concentrator is abnormal, that is, to use multi-dimensional historical communication data to evaluate the communication status between the target meter and the reference concentrator, so as to accurately locate the true concentrator to which the target meter belongs. Since this application considers multi-dimensional historical communication data when locating the true concentrator to which the meter belongs, its accuracy is higher than that of conventional methods that rely on only a single condition. If the communication between the target meter and the reference concentrator is abnormal, it means that the two cannot communicate normally. In this case, the target concentrator can be set as the new concentrator to which the target meter belongs and updated in the file relationship table. Then, by controlling the reference concentrator to delete the configured file of the target meter and controlling the target concentrator to configure the file of the target meter, the target meter can be re-registered to the target concentrator.
[0049] In summary, the technical solution provided in this application can accurately locate the true owner concentrator of the electricity meter in an environment where the communication status changes dynamically, thereby improving the reliability of electricity meter data collection and the operation and maintenance efficiency of the smart meter management system. Attached Figure Description
[0050] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0051] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 A flowchart illustrating the dynamic maintenance method for electricity meter records provided in the first embodiment of this application;
[0053] Figure 2 A flowchart illustrating the dynamic maintenance method for electricity meter records provided in the fourth embodiment of this application;
[0054] Figure 3 A simplified flowchart illustrating the dynamic maintenance method for electricity meter records provided in the fourth embodiment of this application;
[0055] Figure 4 A flowchart illustrating the dynamic maintenance method for electricity meter records provided in the fifth embodiment of this application;
[0056] Figure 5 A simplified flowchart illustrating the dynamic maintenance method for electricity meter records provided in the fifth embodiment of this application;
[0057] Figure 6 A schematic diagram of the module structure of the dynamic maintenance device for electricity meter records provided in this application embodiment;
[0058] Figure 7 This is a schematic diagram of the structure of the smart meter management system provided in the embodiments of this application;
[0059] Figure 8 This is a schematic diagram of the hardware operating environment involved in the embodiments of this application.
[0060] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings.
[0061] Explanation of icon numbers:
[0062] A1~Am, electricity meters; D1~Dn, concentrators; M1, main station;
[0063] 10. Archive Analysis Module; 20. Decision Making Module; 30. Archive Update Module; 40. Periodic Verification Module; 50. Registration Request Receiving Module;
[0064] 101. Processing device; 102. Read-only memory; 103. Storage device; 104. Random access memory; 105. Bus; 106. Input / output interface; 107. Input device; 108. Output device; 109. Communication device. Detailed Implementation
[0065] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0066] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0067] In smart meter management systems, because a single concentrator can only manage a limited number of meters, many projects in a given area typically require the deployment of multiple concentrators to manage a large number of meters. In terms of communication architecture, the concentrator and the master station usually communicate via a network (such as a 4G network), while the meters and the concentrator typically communicate via a PLC.
[0068] Currently, the configuration and maintenance of electricity meter files typically rely on a single condition (such as address matching). However, due to the limitations of the communication architecture, the communication status between the meter and the concentrator is usually dynamic. Therefore, relying on a single condition, the master station in the smart meter management system often cannot accurately locate the true concentrator to which the meter belongs, i.e., it cannot accurately locate the concentrator that can communicate normally with the meter. This affects the reliability of meter data collection and the operational efficiency of the smart meter management system.
[0069] For example, there is currently an automatic registration scheme for dual-mode G3+RF (Radio Frequency) electricity meters, which relies on a static configuration mode with pre-entered file information and cannot handle the dynamic file change requirements in a carrier communication environment.
[0070] In summary, research has revealed the following long-standing problems in the management and maintenance of smart meter management systems:
[0071] 1. The main station cannot accurately locate the true owner concentrator of the electricity meter, which affects the reliability of electricity meter data collection and the operation and maintenance efficiency of the smart meter management system;
[0072] 2. The meter records recorded inside the concentrator and the meter records recorded at the main station are often inconsistent, causing communication failures and increasing the workload of operation and maintenance.
[0073] 3. The smart meter management system has poor adaptability.
[0074] Based on this, the technical solution provided in this application, when the target concentrator receives a registration request from the target meter but the target concentrator has not configured a file for the target meter (i.e., when the communication status changes), determines whether it is necessary to relocate the concentrator to which the target meter belongs by judging whether the concentrator to which the target meter currently belongs (i.e., the reference concentrator) is the target concentrator. If the reference concentrator is not the target concentrator, it means that multiple concentrators (i.e., the target concentrator and the reference concentrator) are competing for the registration of the target meter, and it is necessary to relocate the concentrator to which the target meter belongs. At this time, the technical solution provided in this application will simultaneously use multiple historical communication quality parameters of the target meter in the smart meter management system to evaluate whether the communication between the target meter and the reference concentrator is abnormal, that is, to use multi-dimensional historical communication data to evaluate the communication status between the target meter and the reference concentrator, so as to accurately locate the true concentrator to which the target meter belongs. Because this application considers multi-dimensional historical communication data when locating the true concentrator to which the meter belongs, its accuracy is higher than that of conventional methods that rely on only a single condition. If the communication between the target meter and the reference concentrator is abnormal, it means that the two cannot communicate normally. In this case, the target concentrator can be set as the new concentrator to which the target meter belongs and updated in the file relationship table. Then, by controlling the reference concentrator to delete the configured file of the target meter and controlling the target concentrator to configure the file of the target meter, the target meter can be re-registered to the target concentrator.
[0075] Therefore, the technical solution provided in this application can accurately locate the true owner concentrator of the electricity meter in an environment where the communication status changes dynamically, thereby improving the reliability of electricity meter data collection and the operation and maintenance efficiency of the smart meter management system.
[0076] Furthermore, in the technical solution provided in this application, the master station in the smart meter management system periodically reads the meter file list of each concentrator to verify whether the file data stored by the master station is consistent with the meter file list of the concentrator. If they are inconsistent, the meter file list of the concentrator will be adjusted to make it consistent with the file data stored by the master station. This effectively overcomes the technical defect of communication failure caused by the frequent inconsistency between the meter file and the meter file recorded by the master station, thereby further improving the reliability of meter data collection and the operation and maintenance efficiency of the smart meter management system.
[0077] Furthermore, in the technical solution provided in this application, when using various historical communication quality parameters to assess whether the communication between the target meter and the reference concentrator is abnormal, the thresholds and weights used need to be flexibly determined according to the network environment of the smart meter management system in order to improve the adaptive capability of the smart meter management system and thereby further improve the accuracy of locating the true owner concentrator of the meter.
[0078] Furthermore, the technical solution provided in this application is applicable to large residential areas with densely deployed electricity meters, solving the problem of record maintenance for large-scale electricity meter management. It is also suitable for electricity meter management in industrial users, supporting the need for highly reliable power monitoring.
[0079] The subject executing the dynamic maintenance method for electricity meter records in this application can be a dynamic maintenance device for electricity meter records with data processing, network communication and program operation functions, or a control system, control circuit, etc. that can realize the above functions, or a smart electricity meter management system. This embodiment does not specifically limit it in this regard.
[0080] The following description uses a smart meter management system as the implementing entity to illustrate the various embodiments.
[0081] This application presents a first embodiment of a method for dynamically maintaining electricity meter records. Please refer to [link / reference]. Figure 1 The dynamic maintenance method for electricity meter records includes steps S10 to S40:
[0082] Step S10: If the target concentrator in the smart meter management system receives a registration request from the target meter and the target concentrator has not configured a file for the target meter, the concentrator to which the target meter belongs is determined in the file relationship table of the master station in the smart meter management system and used as the reference concentrator.
[0083] It should be noted that a target concentrator refers to a concentrator in the smart meter management system that receives a registration request from a target meter. The number of target concentrators can be one or more; this embodiment does not impose a specific limitation. A target meter is the meter to be registered with a concentrator; the number of target meters can also be one or more; this embodiment does not impose a specific limitation. The record relationship table is used to record the concentrator to which each meter in the smart meter management system belongs.
[0084] In one feasible implementation, when determining the concentrator to which a target meter belongs in the file relationship table of the master station in the smart meter management system, the meter information (such as meter ID) of the target meter can be used as an index to search for the concentrator corresponding to the meter information in the file relationship table, which is then used as the concentrator to which the target meter belongs.
[0085] Step S20: If the reference concentrator is not the target concentrator, obtain multiple historical communication quality parameters of the target meter in the smart meter management system, and determine whether the communication between the target meter and the reference concentrator is abnormal based on each historical communication quality parameter.
[0086] It should be noted that historical communication quality parameters are parameters that can be used to evaluate the historical communication quality (i.e., communication status) between the target meter and the reference concentrator. These historical communication quality parameters may include, but are not limited to, at least two of the following: the frequency at which the target concentrator receives registration requests from the target meter within a certain time period prior to the current moment (i.e., registration frequency); the time interval between the last time the main station collected data from the target meter and the current moment; historical communication quality score (determined based on historical signal strength and historical signal-to-noise ratio, with a higher score for poorer communication quality); and time attenuation factor (i.e., the length of time since the last successful communication). This embodiment does not specifically limit these parameters. In determining whether the communication between the target meter and the reference concentrator is abnormal, this embodiment essentially determines whether the communication between the target meter and the reference concentrator was abnormal within a certain time period prior to the current moment; that is, it evaluates the historical communication quality.
[0087] In addition, if the reference concentrator is the target concentrator, the target concentrator can be directly controlled to configure the target meter's profile.
[0088] Step S30: If communication is abnormal, the target concentrator will be designated as the new concentrator to which the target meter belongs, and the information will be updated in the file relationship table.
[0089] Understandably, the fact that the target concentrator receives a registration request from the target meter indicates that communication between the target concentrator and the target meter is good. In this case, if communication between the target meter and the base concentrator is abnormal, it means that they cannot communicate normally, and the target concentrator can be designated as the new concentrator to which the target meter belongs. If communication between the target meter and the base concentrator is normal, it means that they can communicate normally, and there is no need to change the concentrator to which the target meter belongs. The target meter can continue to be registered with the base concentrator, and therefore, the master station must reject the target concentrator's request to register the target meter.
[0090] In one feasible implementation, to avoid overload caused by migrating too many meters to the same concentrator, before assigning the target concentrator as the new concentrator to the target meter, it can be checked whether the load of the target concentrator is greater than the set load limit. If so, a concentrator in the smart meter management system that is adjacent to the target concentrator can be used as the new concentrator to which the target meter is assigned (the concentrator with the lowest load among the concentrators adjacent to the target concentrator can be selected as the new concentrator to which the target meter is assigned). Subsequently, the concentrator to which the target meter is assigned will also be configured with the target meter's file, thereby achieving load balancing scheduling among concentrators.
[0091] Step S40: Control the reference concentrator to delete the configured target meter file, and control the target concentrator to configure the target meter file.
[0092] It should be noted that the meter's file can contain meter management information such as meter device information, communication parameters, and ownership relationship. When controlling the reference concentrator to delete the configured target meter's file and controlling the target concentrator to configure the target meter's file, these two operations can be performed simultaneously. To avoid duplicate data collection caused by multiple concentrators registering the same meter simultaneously, the reference concentrator can be controlled to delete the configured target meter's file first, and then the target concentrator can be controlled to configure the target meter's file. This embodiment does not specifically limit the implementation of step S40.
[0093] Additionally, it should be noted that the master station can control the base concentrator to delete the configured target meter's file by sending a file deletion command to the base concentrator; and can control the target concentrator to configure the target meter's file by sending a file configuration command to the target concentrator.
[0094] The technical solution provided in this embodiment, when the target concentrator receives a registration request from the target meter but the target concentrator has not configured a file for the target meter (i.e., when the communication status changes), determines whether it is necessary to relocate the concentrator to which the target meter belongs by judging whether the concentrator currently to which the target meter belongs (i.e., the reference concentrator) is the target concentrator. If the reference concentrator is not the target concentrator, it means that multiple concentrators (i.e., the target concentrator and the reference concentrator) are competing for the registration of the target meter, and it is necessary to relocate the concentrator to which the target meter belongs. At this time, the technical solution provided in this embodiment will simultaneously use multiple historical communication quality parameters of the target meter in the smart meter management system to evaluate whether the communication between the target meter and the reference concentrator is abnormal. That is, it uses multi-dimensional historical communication data to evaluate the communication status between the target meter and the reference concentrator, thereby accurately locating the true concentrator to which the target meter belongs. Because this embodiment considers multi-dimensional historical communication data when locating the true concentrator to which the meter belongs, its accuracy is higher than that of conventional methods that rely on only a single condition. If the communication between the target meter and the reference concentrator is abnormal, it means that the two cannot communicate normally. In this case, the target concentrator can be set as the new concentrator to which the target meter belongs and updated in the file relationship table. Then, by controlling the reference concentrator to delete the configured file of the target meter and controlling the target concentrator to configure the file of the target meter, the target meter can be re-registered to the target concentrator.
[0095] In summary, the technical solution provided in this embodiment can accurately locate the true owner concentrator of the electricity meter in an environment where the communication status changes dynamically, thereby improving the reliability of electricity meter data collection and the operation and maintenance efficiency of the smart meter management system.
[0096] Based on the first embodiment described above, a second embodiment of the method for dynamic maintenance of electricity meter records in this application is proposed. In the second embodiment, step S20 may include steps S21 to S24:
[0097] Step S21: Obtain the target decision threshold and the target weights of each historical communication quality parameter;
[0098] It should be noted that the target decision threshold, used to determine whether the communication between the target meter and the reference concentrator is abnormal, can be a default value set by the user, or it can be flexibly determined according to the network environment of the smart meter management system. This embodiment does not impose specific limitations on it. The target weight of the historical communication quality parameter is used to characterize the degree of influence of the historical communication quality parameter on the final communication status evaluation result. It can be a default value set by the user, or it can be flexibly determined according to the network environment of the smart meter management system. This embodiment does not impose specific limitations on it.
[0099] In one feasible implementation, when flexibly determining the target decision threshold and the target weights of each historical communication quality parameter based on the network environment of the smart meter management system, step S21 may include steps S211 to S212:
[0100] Step S211: Obtain the current environment information of the network environment where the smart meter management system is located;
[0101] It should be noted that the current environmental information refers to the environmental information of the network environment in which the smart meter management system is located at the current moment. This environmental information may include, but is not limited to, the strength of communication signals, signal-to-noise ratio, bit error rate, etc. This embodiment does not make specific limitations on this.
[0102] Step S212: Based on the preset mapping relationship between environmental information and decision threshold, obtain the decision threshold corresponding to the current environmental information as the target decision threshold; and based on the preset mapping relationship between environmental information and the weights of each communication quality parameter, obtain the weights of each communication quality parameter corresponding to the current environmental information as the target weights of each historical communication quality parameter.
[0103] It should be noted that a relational table can be used to record the mapping relationship between environmental information and decision thresholds, as well as the mapping relationship between environmental information and the weights of each communication quality parameter. Thus, the target decision threshold and the target weights of each historical communication quality parameter can be determined by looking up the table. Alternatively, key-value pairs or other methods can be used to record the mapping relationship between environmental information and decision thresholds, as well as the mapping relationship between environmental information and the weights of each communication quality parameter. This embodiment does not impose specific limitations on this approach.
[0104] This implementation method sets target decision thresholds and target weights for each historical communication quality parameter. These need to be flexibly determined based on the network environment of the smart meter management system, so that the determined target decision thresholds and target weights for each historical communication quality parameter are adapted to the current network environment of the smart meter management system, thereby further improving the accuracy of locating the true home concentrator of the meter.
[0105] Furthermore, in other implementations, after determining the target decision threshold and the target weights of each historical communication quality parameter, the user can fine-tune the determined target decision threshold and the target weights of each historical communication quality parameter. Alternatively, a model can be trained with the goal of improving positioning accuracy, shortening system response time, and improving resource utilization. The determined target decision threshold and the target weights of each historical communication quality parameter are then input into the model to fine-tune the target decision threshold and the target weights of each historical communication quality parameter using the model (the model can determine an adjustment amount, and by adding the target decision threshold to this adjustment amount, the target decision threshold can be fine-tuned; similarly, the target weights can be fine-tuned). Afterward, the fine-tuned target decision threshold and the target weights of each historical communication quality parameter are used to evaluate the communication status between the target meter and the reference concentrator to further improve the accuracy of the communication status evaluation, thereby further improving the accuracy of locating the meter's true home concentrator.
[0106] Step S22: Based on the target weights of each historical communication quality parameter, perform weighted fusion processing on each historical communication quality parameter to obtain the decision value;
[0107] It should be noted that the process of weighted fusion of historical communication quality parameters based on their target weights to obtain the decision value includes: calculating the product of each historical communication quality parameter and its respective target weight to obtain each sub-decision value; and calculating the sum of the sub-decision values to obtain the final decision value.
[0108] Taking the frequency of the registration request received by the target concentrator from the target meter (i.e., the registration frequency), the time interval between the last time the main station collected the data from the target meter and the current time, the communication quality score, and the time decay factor as examples, the implementation process of step S22 can be expressed as the following formula 1.
[0109] D(t)=α·R(t)+β·C(t)+γ·Q(t)+δ·T(t) Formula 1;
[0110] Where D(t) is the decision value, R(t) is the registration frequency, α is the target weight of the registration frequency, C(t) is the time interval, β is the target weight of the time interval, Q(t) is the communication quality score, γ is the target weight of the communication quality score, T(t) is the time decay factor, and δ is the target weight of the time decay factor.
[0111] Step S23: If the decision value is greater than the target decision threshold, then an anomaly is determined in the communication between the target meter and the reference concentrator.
[0112] Step S24: If the decision value is less than or equal to the target decision threshold, then it is determined that the communication between the target meter and the reference concentrator is normal.
[0113] The processing logic of this embodiment can be expressed as follows:
[0114] "IF(Event Type == Registration Request) THEN"
[0115] Calculate the decision value D(t).
[0116] IF(D(t)>Dynamic threshold)THEN
[0117] Perform file switching operation
[0118] Update decision parameters
[0119] ELSE
[0120] Refuse registration and record decision log.
[0121] END IF
[0122] END IF
[0123] This embodiment, by setting up a system, first determines the target decision threshold and the target weights of each historical communication quality parameter when evaluating whether the communication between the target meter and the reference concentrator is abnormal using historical communication quality parameters. Then, it uses the target weights of each historical communication quality parameter to perform weighted fusion processing to obtain a decision value that incorporates all historical communication quality parameters. If the decision value is greater than the target decision threshold, it indicates that most of the historical communication quality parameters, or parameters that have a high degree of influence on the evaluation result, clearly indicate that the communication between the target meter and the reference concentrator is abnormal, and thus the communication between the target meter and the reference concentrator can be determined to be abnormal. If the decision value is less than or equal to the target decision threshold, it indicates that most of the historical communication quality parameters, or parameters that have a high degree of influence on the evaluation result, clearly indicate that the communication between the target meter and the reference concentrator is normal, and thus the communication between the target meter and the reference concentrator can be determined to be normal. Therefore, this embodiment ensures that communication is only considered abnormal when there is a substantial deterioration in the overall assessment of communication quality. This significantly reduces misjudgments and invalid file change operations caused by short-term fluctuations in individual parameters, thereby further improving the reliability of meter data collection and the operation and maintenance efficiency of the smart meter management system.
[0124] Based on the first embodiment described above, a third embodiment of the method for dynamic maintenance of electricity meter records in this application is proposed. In the third embodiment, step S20 may include steps S25 to S27:
[0125] Step S25: Obtain the target parameter threshold corresponding to each historical communication quality parameter, and determine whether each historical communication quality parameter is greater than or equal to its corresponding target parameter threshold.
[0126] It should be noted that the target parameter threshold corresponding to the historical communication quality parameter serves as the basis for determining whether the historical communication quality parameter indicates an abnormal communication between the target meter and the reference concentrator, or whether the communication between the target meter and the reference concentrator is normal. The target parameter threshold corresponding to the historical communication quality parameter can be a default value set by the user, or it can be flexibly determined according to the network environment of the smart meter management system. This embodiment does not impose specific limitations on this.
[0127] In one feasible implementation, when flexibly determining the target parameter threshold corresponding to each historical communication quality parameter based on the network environment of the smart meter management system, step S25 may include: obtaining the current environment information of the network environment in which the smart meter management system is located; and obtaining the parameter threshold of each communication quality parameter corresponding to the current environment information based on the preset mapping relationship between the environment information and the parameter threshold of each communication quality parameter, as the target parameter threshold corresponding to each historical communication quality parameter.
[0128] The mapping relationship between environmental information and the parameter thresholds of various communication quality parameters can be recorded using relational tables, key-value pairs, or other methods. This embodiment does not impose specific limitations on this.
[0129] This implementation method sets target parameter thresholds corresponding to each historical communication quality parameter. These thresholds need to be flexibly determined based on the network environment of the smart meter management system. This ensures that the determined target parameter thresholds for each historical communication quality parameter are adapted to the current network environment of the smart meter management system, thereby further improving the accuracy of locating the true owner concentrator of the meter.
[0130] Furthermore, in other implementations, after determining the target parameter thresholds corresponding to each historical communication quality parameter, the user can fine-tune the determined target parameter thresholds, or train a model aimed at improving positioning accuracy, shortening system response time, and improving resource utilization. The determined target parameter thresholds corresponding to each historical communication quality parameter are then input into this model to fine-tune the target parameter thresholds (the model can determine an adjustment amount; by adding the target parameter threshold to this adjustment amount, the target parameter threshold can be fine-tuned). Afterward, the fine-tuned target parameter thresholds corresponding to each historical communication quality parameter are used to evaluate the communication status between the target meter and the reference concentrator, further improving the accuracy of the communication status evaluation, thereby further improving the accuracy of locating the meter's true home concentrator.
[0131] Step S26: If yes, then determine that the communication between the target meter and the reference concentrator is abnormal;
[0132] Step S27: If not, then it is determined that the communication between the target meter and the reference concentrator is normal.
[0133] This embodiment sets up a mechanism where, when evaluating whether communication between the target meter and the reference concentrator is abnormal using historical communication quality parameters, all historical communication quality parameters must explicitly indicate an abnormality before a communication anomaly is determined. Otherwise, the communication is considered normal. This effectively avoids misjudgments caused by fluctuations in a single parameter or transient interference, significantly improving the accuracy of communication anomaly detection. Consequently, in environments with dynamically changing communication states, the true concentrator to which the meter belongs can be located more accurately, further improving the reliability of meter data acquisition and the operational efficiency of the smart meter management system.
[0134] Based on the first, second, and / or third embodiments described above, a fourth embodiment of the method for dynamic maintenance of electricity meter records in this application is proposed. In this fourth embodiment, please refer to... Figure 2 The dynamic maintenance method for electricity meter records may also include steps S50 to S60:
[0135] Step S50: Control the master station to periodically read the list of meter files for each concentrator in the smart meter management system;
[0136] It should be noted that the concentrator's meter file list records all the meter files currently configured for that concentrator. The master station can periodically read the meter file list of each concentrator in the smart meter management system according to a default cycle (e.g., one week) or a cycle flexibly set by the user according to actual conditions. This embodiment does not impose specific limitations on this.
[0137] Step S60: For any concentrator, if the list of electricity meter files of the concentrator read by the master station is inconsistent with the list of electricity meter files that the concentrator needs to be configured stored by the master station, then adjust the list of electricity meter files of the concentrator based on the list of electricity meter files that the concentrator needs to be configured stored by the master station.
[0138] It should be noted that when adjusting the concentrator's meter file list based on the meter files that the concentrator needs to be configured with, the concentrator's meter file list needs to be compared with the meter files saved by the main station. Redundant meter files need to be deleted and missing meter files need to be added to ensure that the concentrator's meter file list is consistent with the meter files that the concentrator needs to be configured with, which are saved by the main station.
[0139] The processing logic of this embodiment can be expressed as follows:
[0140] "FOR each concentrator DCU_iDO"
[0141] Get DCU_i file list
[0142] Compare with the main site archive
[0143] Generate a difference report
[0144] IF (differences exist) THEN
[0145] Perform synchronization operation
[0146] Update main site archives
[0147] END IF
[0148] END FOR
[0149] Understandably, if the meter files required for configuration by the concentrators stored at the master station are inconsistent with the meter file list of the concentrators, it will affect the reliability of meter data collection and increase the workload of operation and maintenance. Therefore, this embodiment sets the master station in the smart meter management system to periodically read the meter file list of each concentrator to verify whether the file data stored at the master station is consistent with the meter file list of the concentrators. If they are inconsistent, the meter file list of the concentrators will be adjusted to be consistent with the file data stored at the master station, thereby further improving the reliability of meter data collection and the operation and maintenance efficiency of the smart meter management system.
[0150] For example, to help understand the process of implementing this embodiment of the smart meter management system, please refer to... Figure 3 , specifically:
[0151] After the timer triggers the smart meter management system to enter the verification process, the master station will begin checking each concentrator one by one. It will read the meter file list from concentrator C; then, it will compare the read meter file list from concentrator C with the meter files that concentrator C needs to configure, stored by the master station. If a redundant meter file Y is found in concentrator C's meter file list (the master station indicates that meter file Y should belong to concentrator D), the master station will issue a command to concentrator C to delete meter file Y. After concentrator C completes the deletion of meter file Y, the master station will continue checking the next... The concentrator reads the list of meter files from concentrator D; then it compares the read list of meter files from concentrator D with the list of meter files that concentrator D needs to be configured, which is stored by the master station; if it finds that the meter file list of concentrator D is missing the meter file file of meter Y (the master station indicates that the meter file of meter Y should belong to concentrator D), the master station will issue an instruction to concentrator D to add the meter file of meter Y; after concentrator D completes the addition of the meter file of meter Y, the master station will continue to check the next concentrator until all concentrators have been checked, and the master station can then complete the file consistency maintenance for the current verification cycle.
[0152] It should be noted that the above examples are only for aiding understanding of this application and do not constitute a limitation on the dynamic maintenance method for electricity meter records in this application. Any further simple modifications based on this technical concept are within the scope of protection of this application.
[0153] Based on the first, second, third, and / or fourth embodiments described above, a fifth embodiment of the method for dynamic maintenance of electricity meter records in this application is proposed. In this fifth embodiment, please refer to... Figure 4 Before step S10, the dynamic maintenance method for electricity meter records may also include steps S01 to S03:
[0154] Step S01: Control the target concentrator to periodically send search broadcast frames;
[0155] Step S02: Detect whether each meter in the smart meter management system meets the preset registration conditions, and use the meters that meet the preset registration conditions as target meters;
[0156] It should be noted that the preset registration conditions may include, but are not limited to, the first power-on of the target meter and / or the communication timeout between the target meter and the reference concentrator, etc. This embodiment does not specifically limit these conditions.
[0157] Step S03: Control the target meter to send a registration request to the target concentrator.
[0158] For example, to help understand the implementation process of the smart meter management system for the dynamic maintenance method of meter records formed by combining this embodiment with the first and third embodiments described above, please refer to... Figure 5Taking a reference concentrator as concentrator A, a target concentrator as concentrator B, a target electricity meter as electricity meter X, and historical communication quality parameters including the frequency of the target concentrator receiving registration requests from the target electricity meter and the time interval between the last time the main station collected data from the target electricity meter and the current time, the specific details are as follows:
[0159] If communication between meter X and concentrator A is interrupted when concentrator B periodically sends meter search broadcast frames, the communication will time out. In this case, meter X will respond to the meter search broadcast frames sent by concentrator B by sending a registration request. After receiving the registration request from meter X, concentrator B will check its local files to see if it has a file for meter X. If so, concentrator B can directly register meter X without reporting the registration request to the master station. If not, concentrator B needs to report the registration request to the master station. Then, the master station will check the ownership of meter X. If meter X belongs to concentrator A, it needs to count the frequency (n) of the registration requests sent by the target meter and obtain the last... The time interval m between the time when the target meter's data is collected and the current time is considered. If the frequency n is greater than or equal to the target frequency threshold N, and the time interval m is greater than or equal to the target time interval threshold M, the switching conditions are met, and concentrator B can be designated as the new concentrator to which meter X belongs, and the data will be updated in the file relationship table. Then, the master station will issue a meter X file deletion command to concentrator A and a meter X file configuration command to concentrator B to control concentrator A to delete the configured meter X file and control concentrator B to configure the meter X file. Thus, meter X can be re-registered in concentrator B. If the frequency n is less than the target frequency threshold N, and / or the time interval m is less than the target time interval threshold M, the switching conditions are not met, and the master station will reject concentrator B's request to register meter X.
[0160] It should be noted that the above examples are only for aiding understanding of this application and do not constitute a limitation on the dynamic maintenance method for electricity meter records in this application. Any further simple modifications based on this technical concept are within the scope of protection of this application.
[0161] Based on the first, second, third, fourth and / or fifth embodiments described above, a sixth embodiment of the dynamic maintenance method for electricity meter files of this application is proposed. In the sixth embodiment, the dynamic maintenance method for electricity meter files may further include: after obtaining multiple historical communication quality parameters of the target electricity meter in the smart meter management system, the method may also use the historical communication quality parameters to predict the possible drift trend of the target electricity meter (i.e., it may need to be changed to communicate with another concentrator), so as to configure the file of the target electricity meter in the concentrator to which it is to drift in advance, thereby reducing communication interruption time.
[0162] This application also provides a device for dynamic maintenance of electricity meter records. Please refer to... Figure 6 The dynamic maintenance device for the meter records may include:
[0163] The file analysis module 10 is used to determine the concentrator to which the target meter belongs in the file relationship table of the main station in the smart meter management system when the target concentrator in the smart meter management system receives a registration request sent by the target meter and the target concentrator has not configured the file of the target meter. The concentrator is then used as the reference concentrator.
[0164] The decision-making module 20 is used to obtain multiple historical communication quality parameters of the target meter in the smart meter management system if the reference concentrator is not the target concentrator, and determine whether the communication between the target meter and the reference concentrator is abnormal based on each historical communication quality parameter.
[0165] If communication fails, the file update module 30 will assign the target concentrator as the new concentrator to the target meter and update the file relationship table; it will also control the base concentrator to delete the configured file of the target meter and control the target concentrator to configure the file of the target meter.
[0166] In one embodiment, the decision-making module 20 is further configured to:
[0167] Obtain the target decision threshold and the target weights of each historical communication quality parameter;
[0168] Based on the target weights of each historical communication quality parameter, a weighted fusion process is performed on each historical communication quality parameter to obtain the decision value;
[0169] If the decision value is greater than the target decision threshold, then an anomaly is determined in the communication between the target meter and the reference concentrator;
[0170] If the decision value is less than or equal to the target decision threshold, then the communication between the target meter and the reference concentrator is considered to be normal.
[0171] In one embodiment, the decision-making module 20 is further configured to:
[0172] Obtain the current environment information of the network environment in which the smart meter management system is located;
[0173] Based on the preset mapping relationship between environmental information and decision thresholds, the decision threshold corresponding to the current environmental information is obtained as the target decision threshold; and based on the preset mapping relationship between environmental information and the weights of each communication quality parameter, the weights of each communication quality parameter corresponding to the current environmental information are obtained as the target weights of each historical communication quality parameter.
[0174] In one embodiment, the decision-making module 20 is further configured to:
[0175] Obtain the target parameter threshold corresponding to each historical communication quality parameter, and determine whether each historical communication quality parameter is greater than or equal to its corresponding target parameter threshold.
[0176] If so, then an anomaly is determined in the communication between the target meter and the reference concentrator;
[0177] If not, then the communication between the target meter and the reference concentrator is normal.
[0178] In one embodiment, the meter record dynamic maintenance device may further include a periodic verification module 40, used for:
[0179] The control station periodically reads the list of meter files for each concentrator in the smart meter management system;
[0180] For any concentrator, if the list of meter files for the concentrator read by the master station is inconsistent with the list of meter files that the concentrator needs to be configured for, the list of meter files for the concentrator will be adjusted based on the list of meter files that the concentrator needs to be configured for, stored by the master station.
[0181] In one embodiment, the meter record dynamic maintenance device may further include a registration request receiving module 50, used for:
[0182] The target concentrator periodically sends search broadcast frames;
[0183] The system detects whether each meter in the smart meter management system meets the preset registration conditions and uses the meters that meet the preset registration conditions as target meters.
[0184] Control the target meter to send a registration request to the target concentrator.
[0185] The meter record dynamic maintenance device provided in this application adopts the meter record dynamic maintenance method in the above embodiments. It can accurately locate the true owner concentrator of the meter in an environment where the communication status changes dynamically, thereby improving the reliability of meter data collection and the operation and maintenance efficiency of the smart meter management system. Compared with the prior art, the beneficial effects of the meter record dynamic maintenance device provided in this application are the same as those of the meter record dynamic maintenance method provided in the above embodiments, and other technical features in this meter record dynamic maintenance device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0186] This application also provides a smart meter management system; please refer to... Figure 7 (The dashed lines represent that meter A1 can be changed to communicate with concentrator Dn, and meter Am can be changed to communicate with concentrator D1.) This smart meter management system may include:
[0187] Multiple electricity meters A1 to Am are used to send registration requests;
[0188] Multiple concentrators D1 to Dn are connected to the electricity meter for communication. When the target concentrator receives a registration request from the target electricity meter and the target concentrator has not configured the target electricity meter's file, it reports the registration request received by the target concentrator to the main station M1.
[0189] Master station M1 communicates with each concentrator and is used for:
[0190] After receiving the registration request reported by the target concentrator, the concentrator to which the target meter belongs is determined in the file relationship table of the main station M1 and used as the reference concentrator.
[0191] If the reference concentrator is not the target concentrator, then obtain multiple historical communication quality parameters of the target meter in the smart meter management system, and determine whether the communication between the target meter and the reference concentrator is abnormal based on each historical communication quality parameter.
[0192] If communication is abnormal, the target concentrator will be designated as the new concentrator to which the target meter belongs, and the information will be updated in the file relationship table.
[0193] The control reference concentrator deletes the configured target meter file and controls the target concentrator to configure the target meter file.
[0194] It should be noted that the main station M1 and each concentrator can communicate via a network (such as a 4G network), and the electricity meter and concentrator can communicate via a PLC.
[0195] In one embodiment, the master station M1 is also used for:
[0196] Obtain the target decision threshold and the target weights of each historical communication quality parameter;
[0197] Based on the target weights of each historical communication quality parameter, a weighted fusion process is performed on each historical communication quality parameter to obtain the decision value;
[0198] If the decision value is greater than the target decision threshold, then an anomaly is determined in the communication between the target meter and the reference concentrator;
[0199] If the decision value is less than or equal to the target decision threshold, then the communication between the target meter and the reference concentrator is considered to be normal.
[0200] In one embodiment, the master station M1 is also used for:
[0201] Obtain the current environment information of the network environment in which the smart meter management system is located;
[0202] Based on the preset mapping relationship between environmental information and decision thresholds, the decision threshold corresponding to the current environmental information is obtained as the target decision threshold; and based on the preset mapping relationship between environmental information and the weights of each communication quality parameter, the weights of each communication quality parameter corresponding to the current environmental information are obtained as the target weights of each historical communication quality parameter.
[0203] In one embodiment, the master station M1 is also used for:
[0204] Obtain the target parameter threshold corresponding to each historical communication quality parameter, and determine whether each historical communication quality parameter is greater than or equal to its corresponding target parameter threshold.
[0205] If so, then an anomaly is determined in the communication between the target meter and the reference concentrator;
[0206] If not, then the communication between the target meter and the reference concentrator is normal.
[0207] In one embodiment, the master station M1 is also used for:
[0208] Periodically read the list of meter files for each concentrator in the smart meter management system;
[0209] For any concentrator, if the list of meter files for the concentrator read by the master station M1 is inconsistent with the list of meter files that the concentrator needs to be configured for, the list of meter files for the concentrator will be adjusted based on the list of meter files that the concentrator needs to be configured for, stored by the master station M1.
[0210] In one embodiment, the master station M1 is also used for:
[0211] The target concentrator periodically sends search broadcast frames;
[0212] The system detects whether each meter in the smart meter management system meets the preset registration conditions and uses the meters that meet the preset registration conditions as target meters.
[0213] Control the target meter to send a registration request to the target concentrator.
[0214] The smart meter management system provided in this application adopts the dynamic meter file maintenance method in the above embodiments, which can accurately locate the true owner concentrator of the meter in an environment where the communication status changes dynamically, thereby improving the reliability of meter data collection and the operation and maintenance efficiency of the smart meter management system. Compared with the prior art, the beneficial effects of the smart meter management system provided in this application are the same as those of the dynamic meter file maintenance method provided in the above embodiments, and other technical features in this smart meter management system are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0215] This application also provides a dynamic meter record maintenance device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the dynamic meter record maintenance method in the above embodiments.
[0216] The following is for reference. Figure 8 It shows a structural schematic diagram of a meter archive dynamic maintenance device suitable for implementing embodiments of this application. Figure 8 The illustrated meter record dynamic maintenance device is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0217] like Figure 8 As shown, the meter record dynamic maintenance device may include a processing unit 101 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory 102 or a program loaded from a storage device 103 into a random access memory 104. The random access memory 104 also stores various programs and data required for the operation of the meter record dynamic maintenance device. The processing unit 101, the read-only memory 102, and the random access memory 104 are interconnected via a bus 105. An input / output interface 106 is also connected to the bus 105. Typically, the following systems can be connected to the input / output interface 106: input devices 107 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 108 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 103 including, for example, magnetic tapes, hard disks, etc.; and communication devices 109. The communication device 109 allows the meter record dynamic maintenance device to exchange data via wireless or wired communication with other devices. Although the diagram shows dynamic meter record maintenance equipment with various systems, it should be understood that it is not required to implement or have all of the systems shown. Alternatively, more or fewer systems may be implemented.
[0218] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 103, or installed from read-only memory 102. When the computer program is executed by processing device 101, it performs the functions defined in the methods of the embodiments of this application.
[0219] The meter record dynamic maintenance device provided in this application, employing the meter record dynamic maintenance method described in the above embodiments, can accurately locate the true owner concentrator of the meter in an environment where communication status changes dynamically, thereby improving the reliability of meter data collection and the operational efficiency of the smart meter management system. Compared with the prior art, the beneficial effects of the meter record dynamic maintenance device provided in this application are the same as those of the meter record dynamic maintenance method provided in the above embodiments, and other technical features in this meter record dynamic maintenance device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0220] It should be understood that various parts of the embodiments of this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0221] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the above claims.
[0222] This application also provides a computer-readable storage medium storing a computer program that can run on a processor. The computer program is used to execute the dynamic maintenance method for electricity meter records in the above embodiments.
[0223] The computer-readable storage medium provided in this application embodiment may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0224] The aforementioned computer-readable storage medium may be included in the dynamic maintenance equipment for electricity meter records; or it may exist independently and not be installed in the dynamic maintenance equipment for electricity meter records.
[0225] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by the meter record dynamic maintenance device, the device causes the following: when the target concentrator in the smart meter management system receives a registration request from a target meter, and the target concentrator has not configured a record for the target meter, the device determines the concentrator to which the target meter belongs in the record relationship table of the master station in the smart meter management system, and designates it as the base concentrator; if the base concentrator is not the target concentrator, the device obtains multiple historical communication quality parameters of the target meter in the smart meter management system, and determines whether the communication between the target meter and the base concentrator is abnormal based on these parameters; if the communication is abnormal, the device designates the target concentrator as the new concentrator to which the target meter belongs and updates the record relationship table; the device controls the base concentrator to delete the configured record for the target meter, and controls the target concentrator to configure the record for the target meter.
[0226] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0227] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0228] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0229] The computer-readable storage medium provided in this application embodiment stores computer-readable program instructions for executing the above-described dynamic meter record maintenance method. This enables accurate location of the actual meter's concentrator in environments with dynamically changing communication states, thereby improving the reliability of meter data acquisition and the operational efficiency of the smart meter management system. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application embodiment are the same as those of the dynamic meter record maintenance method provided in the above embodiments, and will not be repeated here.
[0230] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described dynamic maintenance method for electricity meter records.
[0231] The computer program product provided in this application embodiment can accurately locate the true owner concentrator of the electricity meter in an environment where the communication status changes dynamically, thereby improving the reliability of electricity meter data collection and the operation and maintenance efficiency of the smart meter management system. Compared with the prior art, the beneficial effects of the computer program product provided in this application embodiment are the same as the beneficial effects of the dynamic maintenance method for electricity meter records provided in the above embodiments, and will not be repeated here.
[0232] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.
Claims
1. A method for dynamic maintenance of electricity meter records, characterized in that, The method includes: When the target concentrator in the smart meter management system receives a registration request from the target meter, and the target concentrator has not configured a file for the target meter, the concentrator to which the target meter belongs is determined in the file relationship table of the master station in the smart meter management system and used as the reference concentrator. If the reference concentrator is not the target concentrator, then multiple historical communication quality parameters of the target meter in the smart meter management system are obtained, and based on each of the historical communication quality parameters, it is determined whether the communication between the target meter and the reference concentrator is abnormal. If communication is abnormal, the target concentrator will be designated as the new concentrator to which the target electricity meter belongs, and the information will be updated in the file relationship table. The reference concentrator is controlled to delete the configured file of the target meter, and the target concentrator is controlled to configure the file of the target meter.
2. The method as described in claim 1, characterized in that, The step of determining whether the communication between the target meter and the reference concentrator is abnormal based on the historical communication quality parameters includes: Obtain the target decision threshold and the target weights of each of the historical communication quality parameters; Based on the target weights of each of the historical communication quality parameters, a weighted fusion process is performed on each of the historical communication quality parameters to obtain a decision value; If the decision value is greater than the target decision threshold, then it is determined that the communication between the target meter and the reference concentrator is abnormal; If the decision value is less than or equal to the target decision threshold, then it is determined that the communication between the target meter and the reference concentrator is normal.
3. The method as described in claim 2, characterized in that, The step of obtaining the target decision threshold and the target weights of each of the historical communication quality parameters includes: Obtain the current environment information of the network environment in which the smart meter management system is located; Based on a preset mapping relationship between environmental information and decision thresholds, a decision threshold corresponding to the current environmental information is obtained and used as the target decision threshold; and, Based on the preset mapping relationship between environmental information and the weights of each communication quality parameter, the weights of each communication quality parameter corresponding to the current environmental information are obtained and used as the target weights of each of the historical communication quality parameters.
4. The method as described in claim 1, characterized in that, The step of determining whether the communication between the target meter and the reference concentrator is abnormal based on the historical communication quality parameters includes: Obtain the target parameter threshold corresponding to each of the historical communication quality parameters, and determine whether each of the historical communication quality parameters is greater than or equal to its corresponding target parameter threshold. If so, then it is determined that the communication between the target meter and the reference concentrator is abnormal; If not, then it is determined that the communication between the target meter and the reference concentrator is normal.
5. The method according to any one of claims 1 to 4, characterized in that, The method further includes: The master station is controlled to periodically read the list of meter files for each concentrator in the smart meter management system; For any of the concentrators, if the list of electricity meter files for the concentrator read by the master station is inconsistent with the list of electricity meter files that the concentrator needs to be configured stored by the master station, then the list of electricity meter files for the concentrator is adjusted based on the list of electricity meter files that the concentrator needs to be configured stored by the master station.
6. The method according to any one of claims 1 to 4, characterized in that, Before the step of determining the concentrator to which the target meter belongs, as the reference concentrator, in the file relationship table of the master station in the smart meter management system, the method further includes: The target concentrator is controlled to periodically send search broadcast frames; The system detects whether each meter in the smart meter management system meets the preset registration conditions, and selects the meters that meet the preset registration conditions as target meters. Control the target electricity meter to send a registration request to the target concentrator.
7. The method according to any one of claims 1 to 4, characterized in that, After determining the concentrator to which the target meter belongs, as the reference concentrator, in the file relationship table of the master station in the smart meter management system, the method further includes: If the reference concentrator is the target concentrator, then the target concentrator is controlled to configure the file of the target meter.
8. A dynamic maintenance device for electricity meter records, characterized in that, The device includes: The file analysis module is used to determine the concentrator to which the target meter belongs in the file relationship table of the master station in the smart meter management system when the target concentrator in the smart meter management system receives a registration request sent by the target meter and the target concentrator has not configured the file of the target meter. The concentrator is then used as the reference concentrator. The decision-making module is used to obtain multiple historical communication quality parameters of the target meter in the smart meter management system if the reference concentrator is not the target concentrator, and determine whether the communication between the target meter and the reference concentrator is abnormal based on each of the historical communication quality parameters. If a communication failure occurs, the file update module will designate the target concentrator as the new concentrator to which the target meter belongs and update the file relationship table; it will also control the base concentrator to delete the configured file of the target meter and control the target concentrator to configure the file of the target meter.
9. A smart meter management system, characterized in that, The smart meter management system includes: Multiple electricity meters are used to send registration requests; Multiple concentrators are provided, and the electricity meter is communicatively connected to the concentrator. When a target concentrator receives a registration request from a target electricity meter and the target concentrator has not configured a file for the target electricity meter, the target concentrator reports the registration request received by the target concentrator to the main station. The main station, which is communicatively connected to each of the aforementioned concentrators, is used for: After receiving the registration request reported by the target concentrator, the concentrator to which the target meter belongs is determined in the file relationship table of the main station and used as the reference concentrator. If the reference concentrator is not the target concentrator, then multiple historical communication quality parameters of the target meter in the smart meter management system are obtained, and based on each of the historical communication quality parameters, it is determined whether the communication between the target meter and the reference concentrator is abnormal. If communication is abnormal, the target concentrator will be designated as the new concentrator to which the target electricity meter belongs, and the information will be updated in the file relationship table. The reference concentrator is controlled to delete the configured file of the target meter, and the target concentrator is controlled to configure the file of the target meter.
10. A dynamic maintenance device for electricity meter records, characterized in that, The meter record dynamic maintenance device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the meter record dynamic maintenance method as described in any one of claims 1 to 7.