Intelligent electric meter debugging method and device and electric meter data system

By coordinating with multiple gateways and the cloud platform to determine the binding relationship of electricity meters and automatically debugging new electricity meters, the problem of delayed debugging response caused by manual operation in existing technologies is solved, and efficient and accurate electricity meter online debugging is achieved.

CN121299568APending Publication Date: 2026-01-09国网河北省电力有限公司营销服务中心 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511532535.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-24
Publication Date
2026-01-09

AI Technical Summary

Technical Problem

Existing meter commissioning solutions require manual operation and cannot identify new metering devices in real time, resulting in delayed commissioning response and failing to meet the high-efficiency deployment requirements of power metering systems.

Method used

The binding relationship between the new electricity meter and multiple gateways is established and sent to the cloud platform. The cloud platform automatically adjusts the new electricity meter according to the binding relationship set and work order type, reducing manual intervention and improving binding efficiency and accuracy.

Benefits of technology

It enables automatic meter debugging, improves debugging efficiency and accuracy, reduces the risk of binding failure, and ensures the stable operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121299568A_ABST
    Figure CN121299568A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent electric meter debugging method and device and an electric meter data system, and relates to the technical field of electric power measurement. The method comprises the following steps: when a new electricity meter accesses an electricity meter data system, a plurality of gateways determine a binding relationship with each electricity meter and send the binding relationship to a cloud platform as a new binding relationship set; the cloud platform determines a binding relationship corresponding to the new electricity meter in the current work order according to the new binding relationship set, an old binding relationship set before the new electricity meter accesses the electricity meter data system and a service type of the current work order, and generates current work order information according to the binding relationship corresponding to the new electricity meter in the current work order; and the cloud platform debugs a new electricity meter in the current work order based on the current work order information. Automatic debugging of the intelligent electric meter can be realized, and the debugging efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power metering technology, and in particular to a smart meter debugging method, device, and meter data system. Background Technology

[0002] As the core terminal for power data acquisition, electricity meters need to interact with the cloud platform through gateways to complete functions such as electricity consumption information collection, equipment status monitoring, and work order processing. Currently, electricity meter data acquisition and debugging systems have become a key support for power grid power consumption-side management. Their operational efficiency directly affects the accuracy of electricity metering, the timeliness of business processing, and the overall operation and maintenance cost control of the power grid. Therefore, how to achieve efficient and accurate electricity meter debugging has become a key focus of the industry.

[0003] In the meter installation and commissioning process, on-site installation, equipment networking, data connection, and communication adaptation all require manual operation. This results in a large amount of repetitive human resource investment, increases the workload of frontline technicians, and is difficult to adapt to the needs of large-scale and efficient deployment of electricity metering systems. Specifically, existing electricity terminal commissioning schemes require manual pre-counting of devices to be commissioned, and cannot identify new metering devices in real time, adjust the commissioning scheme according to the on-site meter installation and disassembly, or automatically complete the commissioning. This lack of flexibility and adaptability leads to a relatively slow commissioning response.

[0004] Therefore, there is an urgent need for a technology that can automatically complete the commissioning of smart meters to improve the efficiency of commissioning operations and meet the needs of information technology, lean manufacturing, and intelligentization of power metering systems. Summary of the Invention

[0005] In view of this, embodiments of the present invention provide a smart meter debugging method, device, and meter data system to achieve automatic debugging of smart meters and improve debugging efficiency.

[0006] In a first aspect, embodiments of the present invention provide a smart meter debugging method, applied to a meter data system, the meter data system including multiple meters, multiple gateways and a cloud platform; The method includes: When a new electricity meter is connected to the electricity meter data system, the multiple gateways determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set; The cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order, and generates the current work order information based on the binding relationship corresponding to the new meter in the current work order. The cloud platform debugs the new electricity meter in the current work order based on the current work order information.

[0007] In one possible implementation, when a new electricity meter is connected to the electricity meter data system, the multiple gateways determine their binding relationships with each electricity meter and send this information to the cloud platform as a new set of binding relationships, including: After the new electricity meter is powered on, it sends a binding command to the multiple gateways; Based on the binding instruction, the multiple gateways send gateway information to the new electricity meter; The new electricity meter will determine the gateway corresponding to the first gateway information received as the target gateway bound to the new electricity meter, and send the binding relationship between the new electricity meter and the target gateway to the target gateway; After receiving the binding relationship, the target gateway stores the binding relationship. The multiple gateways send the stored binding relationships to the cloud platform; The binding relationship includes: the device identifier of the new electricity meter, the gateway identifier of the target gateway, and the communication protocol of the target gateway.

[0008] In one possible implementation, the plurality of gateways send gateway information to the new electricity meter based on the binding instruction, including: After receiving the binding instruction, the multiple gateways collect the communication bus signal occupancy status and send gateway information to the new electricity meter based on the communication bus signal occupancy status.

[0009] In one possible implementation, the communication bus signal occupancy includes signal occupancy and no signal occupancy; After receiving the binding instruction, the multiple gateways collect information on the communication bus signal occupancy and send gateway information to the new meter based on the communication bus signal occupancy information, including: When the communication bus signal occupancy status is no signal occupancy, the gateway sends gateway information to the new electricity meter; When the communication bus signal occupancy status is "signal occupied", the gateway re-collects the communication bus signal occupancy status until the communication bus signal occupancy status is "no signal occupied", at which point the gateway sends gateway information to the new meter.

[0010] In one possible implementation, after the gateway sends gateway information to the new meter, the method further includes: When the process of the gateway sending gateway information to the new electricity meter is interfered with by signal, the gateway delays for a preset time and then retryes sending the gateway information to the new electricity meter; When the number of times the gateway retryes sending gateway information exceeds the preset number of retries, the gateway stops sending gateway information and prompts for the manual binding process.

[0011] In one possible implementation, the business type includes new meter installation, and the current work order contains the device identifier of the new meter; The cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order. It then generates the current work order information based on the binding relationship corresponding to the new meter in the current work order, including: If the business type is new meter installation, the cloud platform queries the new binding relationship set for the new meter in the current work order based on the device identifier of the new meter in the current work order. The current work order information is generated based on the binding relationship of the new electricity meter in the current work order.

[0012] In one possible implementation, the business type includes meter replacement, and the current work order contains the device identifier of the old meter; The cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order. It then generates the current work order information based on the binding relationship corresponding to the new meter in the current work order, including: If the business type is table swapping, the cloud platform will set the new binding relationships together, and the binding relationships not included in the old binding relationship set will be determined as the difference set. Based on the device identifier of the old meter in the current work order, determine the binding relationship of the old meter from the old binding relationship set, and determine the gateway identifier of the target gateway corresponding to the old meter based on the binding relationship of the old meter; The cloud platform queries the binding relationship of the new meter in the current work order in the difference set based on the gateway identifier of the target gateway corresponding to the old meter; The current work order information is generated based on the binding relationship of the new electricity meter in the current work order.

[0013] In one possible implementation, the cloud platform, based on the current work order information, debugs the new electricity meter in the current work order, including: The cloud platform generates a meter reading instruction based on the current work order information and sends it to the debugging gateway corresponding to the current work order information; The debugging gateway determines the meter reading template corresponding to the new electricity meter according to the meter reading instruction, collects data from the new electricity meter according to the meter reading template, and sends it to the cloud platform; After receiving the meter reading data returned by the debugging gateway, the cloud platform updates the old binding relationship set according to the current work order information to complete the debugging of the new electricity meter in the current work order.

[0014] Secondly, embodiments of the present invention provide a smart meter debugging device, applied to a meter data system, the meter data system including multiple meters, multiple gateways, and a cloud platform; the device includes: The binding relationship determination module is used to determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set; The work order information generation module is used to determine the binding relationship corresponding to the new electricity meter in the current work order based on the new binding relationship set, the old binding relationship set before the new electricity meter is connected to the electricity meter data system, and the business type of the current work order, and to generate the current work order information based on the binding relationship corresponding to the new electricity meter in the current work order. The new meter debugging module is used to debug the new meter in the current work order based on the current work order information.

[0015] Thirdly, embodiments of the present invention provide an electricity meter data system, including multiple electricity meters, multiple gateways, and a cloud platform, wherein the electricity meter data system is used to perform the steps of the method as described in the first aspect or any implementation thereof.

[0016] The beneficial effects of the embodiments of the present invention compared with the prior art are as follows: In this embodiment of the invention, when a new electricity meter is connected to the electricity meter data system, multiple gateways determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set. Therefore, the new electricity meter can automatically determine its binding relationship without the need for instructions from the cloud platform or gateways, reducing the number of communications during the binding process and effectively reducing the risk of binding failure due to channel congestion. Furthermore, based on the new binding relationship set, the old binding relationship set before the new electricity meter is connected to the electricity meter data system, and the service type of the current work order, the cloud platform can automatically determine the binding relationship corresponding to the new electricity meter in the current work order, and then debug the new electricity meter in the current work order. This invention can accurately determine the binding relationship of the new electricity meter and adaptively select the debugging scheme according to the service type of the work order, quickly completing the automatic debugging of the electricity meter, improving the efficiency, accuracy, and reliability of electricity meter network debugging, and ensuring the stable operation of the power system. Attached Figure Description

[0017] Figure 1 This is a schematic diagram illustrating the implementation process of a smart meter debugging method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a smart meter debugging device provided in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the relationship between the new binding relationship set, the old binding relationship set, and the difference set provided in an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of an electricity meter data system provided in an embodiment of the present invention; Figure 3 In the table, 31 represents the new binding relationship set, 32 represents the old binding relationship set, and 33 represents the difference set. Detailed Implementation

[0018] The present application will be described more clearly below with reference to specific embodiments. These embodiments will help those skilled in the art to further understand the function of the present application, but do not limit the present application in any way. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application. These all fall within the protection scope of the present application.

[0019] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0020] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0021] In the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0022] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0023] Furthermore, the term "multiple" mentioned in the embodiments of this application should be interpreted as two or more.

[0024] This invention provides a smart meter debugging method, which is applied to a meter data system, including multiple meters, multiple gateways and a cloud platform.

[0025] The electricity meter data system is an intelligent system used to achieve real-time collection, reliable transmission, and centralized management of electricity consumption data. It can uniformly monitor multiple distributed electricity meters and standardize electricity data processing, providing data support for subsequent electricity metering, energy consumption analysis, and equipment operation and maintenance. Within this electricity meter data system: An electricity meter is a data acquisition terminal that is directly associated with electrical equipment or users. It establishes a connection with a gateway through means including but not limited to RS485 bus. Its core function is to collect the electricity data it monitors, such as electricity consumption, voltage, and current. At the same time, it needs to establish a binding relationship with a gateway to ensure the directionality of data transmission and avoid data confusion.

[0026] The gateway acts as an intermediary node between the electricity meter and the cloud platform, undertaking data forwarding and device coordination functions. On one hand, it receives data uploaded from multiple bound electricity meters, completing initial data integration; on the other hand, it establishes a communication connection with the cloud platform, uploading the integrated meter data to the cloud platform. A single gateway can bind multiple electricity meters, enabling centralized management of electricity meters within a certain area.

[0027] The cloud platform is the centralized management core of the entire system. Its main functions are to centrally store and analyze electricity consumption data, provide data interfaces and management interfaces for meter operation and maintenance, electricity consumption analysis, etc., and realize remote monitoring of all meters in the system.

[0028] Based on the above-mentioned electricity meter data system, see Figure 1 This invention provides a method for debugging a smart meter, detailed below: In step S101, when a new electricity meter is connected to the electricity meter data system, multiple gateways determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set.

[0029] In one possible implementation, when a new electricity meter is connected to the electricity meter data system, multiple gateways can determine the binding relationship with each electricity meter and send it to the cloud platform.

[0030] For example: After the new meter is powered on, it sends binding instructions to multiple gateways; Multiple gateways send gateway information to the new electricity meter based on the binding command; The new meter will identify the gateway corresponding to the first gateway information it receives as the target gateway to be bound to the new meter, and send the binding relationship between the new meter and the target gateway to the target gateway. After receiving the binding relationship, the target gateway stores the binding relationship; Multiple gateways send the stored binding relationships to the cloud platform; The binding relationship may include: the device identifier of the new electricity meter, the gateway identifier of the target gateway, and the communication protocol of the target gateway.

[0031] In this embodiment of the invention, the electricity meter initiates the binding process, changing the passive interaction mode that relies on gateways or cloud platforms for triggering, and enhancing the initiative and flexibility of the electricity meter's interaction. Sending binding instructions to multiple gateways simultaneously can reduce the risk of binding failure due to single gateway failure, channel congestion, or insufficient compatibility with the electricity meter. The new electricity meter determines the target gateway in the order of receiving gateway information, without complex calculations or cloud intervention, and can quickly complete the selection of the binding object, greatly improving the binding efficiency between the new electricity meter and the gateway. After the gateway stores the binding relationship locally, it uploads it to the cloud platform to form a new binding relationship set, which not only realizes the traceability of the binding status on the gateway side, but also realizes the cloud synchronization of the binding relationship of the entire system, providing a reliable data foundation for debugging operations.

[0032] In step S102, the cloud platform determines the binding relationship of the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order, and generates the current work order information based on the binding relationship of the new meter in the current work order.

[0033] For example, the business type includes new meter installation, and the current work order may include the device identifier of the new meter.

[0034] In one possible implementation, the cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order. Based on the binding relationship corresponding to the new meter in the current work order, the platform generates the current work order information, including: If the business type is new meter installation, the cloud platform will query the binding relationship corresponding to the new meter in the current work order in the new binding relationship set according to the device identifier of the new meter in the current work order; and generate the current work order information according to the binding relationship corresponding to the new meter in the current work order.

[0035] For example, the business type includes meter replacement, and the current work order contains the device identifier of the old meter.

[0036] In one possible implementation, the cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order. Based on the binding relationship corresponding to the new meter in the current work order, the platform generates the current work order information, including: If the business type is table replacement, the cloud platform will centralize the new binding relationships, and determine the binding relationships not included in the old binding relationship set as the difference set. Based on the device identifier of the old meter in the current work order, the cloud platform will determine the binding relationship of the old meter from the old binding relationship set, and determine the gateway identifier of the target gateway corresponding to the old meter based on the binding relationship of the old meter. Based on the gateway identifier of the target gateway corresponding to the old meter, the cloud platform will query the binding relationship of the new meter in the current work order from the difference set. Based on the binding relationship of the new meter in the current work order, the cloud platform will generate the current work order information.

[0037] Step S103: The cloud platform debugs the new electricity meter in the current work order based on the current work order information.

[0038] In one possible implementation, the cloud platform, based on the current work order information, debugs the new electricity meter in the current work order, including: The cloud platform generates meter reading instructions based on the current work order information and sends them to the debugging gateway corresponding to the current work order information; The debugging gateway determines the meter reading template corresponding to the new electricity meter based on the meter reading instruction, collects data from the new electricity meter according to the meter reading template, and sends it to the cloud platform; After receiving the meter reading data returned by the debugging gateway, the cloud platform updates the old binding relationship set according to the current work order information, and completes the debugging of the new electricity meter in the current work order.

[0039] In this embodiment of the invention, the cloud platform accurately locates the debugging gateway and issues meter reading instructions based on the work order information, which can avoid incorrect or missed instructions, ensure accurate debugging, and reduce invalid channel occupation; the debugging gateway uses a preset meter reading template to quickly match new electricity meters without configuring collection parameters, which can improve the debugging efficiency of new meters.

[0040] In this embodiment of the invention, when a new electricity meter is connected to the electricity meter data system, the target gateway to be bound to the new electricity meter is determined from multiple gateways, and the binding relationship is sent to the cloud platform. Therefore, the new electricity meter can automatically determine the binding relationship without the need for instructions from the cloud platform or gateway, reducing the number of communications during the binding process and effectively reducing the risk of binding failure due to channel congestion. Furthermore, based on the new binding relationship set, the old binding relationship set before the new electricity meter is connected to the electricity meter data system, and the service type of the current work order, the cloud platform can automatically determine the binding relationship corresponding to the new electricity meter in the current work order, and then debug the new electricity meter in the current work order. This invention can accurately determine the binding relationship of the new electricity meter and adaptively select the debugging scheme according to the service type of the work order, quickly completing the automatic debugging of the electricity meter, improving the efficiency, accuracy, and reliability of electricity meter network debugging, and ensuring the stable operation of the power system.

[0041] In some embodiments, the new meter and the gateway need to be connected via a communication bus. However, other meters or gateways may be transmitting data on the bus. If multiple gateways send gateway information simultaneously after receiving the binding command, or if the bus is occupied by other devices, signals from different devices may overlap and conflict on the bus, causing distortion or loss of gateway information transmission. Consequently, the new meter cannot accurately receive valid gateway information, leading to binding failure. Therefore, multiple gateways sending gateway information to the new meter based on the binding command can include: After receiving the binding command, multiple gateways collect the communication bus signal occupancy status and send gateway information to the new meter based on the communication bus signal occupancy status.

[0042] For example, communication bus signal occupancy includes both signal occupancy and no signal occupancy.

[0043] After receiving the binding command, multiple gateways collect information on the communication bus signal occupancy and send gateway information to the new meter based on this information, including: When the communication bus signal occupancy status is "no signal occupancy", the gateway sends gateway information to the new meter; When the communication bus signal occupancy status is "signal occupied", the gateway re-collects the communication bus signal occupancy status until the communication bus signal occupancy status is "no signal occupied", at which point the gateway sends gateway information to the new meter.

[0044] In one possible implementation, after the gateway sends gateway information to the new meter, the following is also included: When the gateway is interfered with by signal interference during the process of sending gateway information to the new meter, the gateway will delay for a preset time and then retry sending the gateway information to the new meter. When the number of times the gateway retryes sending gateway information exceeds the preset number of retries, the gateway stops sending gateway information and prompts for the manual binding process.

[0045] In this embodiment of the invention, sending gateway information when there is no signal occupation on the bus can effectively avoid bus channel conflicts and ensure the reliability of command transmission between the gateway and the new meter. When the number of retries exceeds a preset value, automatic sending is stopped and a manual binding process prompt is triggered, which can reduce the waste of resources caused by excessive retries. At the same time, manual intervention can be introduced when the automatic binding process is difficult to take effect, thereby improving the robustness and practicality of the overall binding scheme.

[0046] Furthermore, in some embodiments, due to reasons such as high channel occupancy or communication device transmission failure, the gateway's repeated retries to send gateway information may be interfered with. To ensure that the new electricity meter can be successfully bound and to avoid affecting meter debugging and work order execution, the following manual binding process may also be involved in the actual application of the embodiments of the present invention: When installing new electricity meters, on-site technicians carry mobile work terminals. A mobile work terminal is a mobile device with infrared and wireless communication capabilities, enabling it to connect and exchange information with the platform wirelessly and with the electricity meter via infrared communication.

[0047] If the gateway is unable to send gateway information to the meter to complete the binding, on-site technicians can perform manual binding. The specific procedure is as follows: Technicians select a gateway to bind to the new electricity meter and record the gateway identifier; they also record manual binding information on a mobile work terminal; the manual binding information includes the device identifier of the new electricity meter, the gateway identifier of the manually bound gateway, the communication protocol of the manually bound gateway, and the current time; the mobile work terminal uses infrared communication to send the manual binding information to the new electricity meter.

[0048] In existing technologies, the commissioning of new electricity meters relies on multiple instructions from the cloud platform for meter reading and parameter configuration. This not only consumes channel resources but can also lead to interruptions in the commissioning process due to abnormal instruction transmission, failing to meet the "high-efficiency and automated" requirements of the smart grid for business processing. In this embodiment of the invention, the binding of the electricity meter and gateway no longer relies on manual configuration or proactive instruction issuance from the cloud platform. This simplifies the operation process, reduces configuration errors caused by manual intervention, and avoids instruction transmission delays caused by channel occupancy when binding multiple devices simultaneously, thus reducing the risk of binding failure. Furthermore, the binding relationship stored on the cloud platform can be automatically compared with the device information uploaded in real time on-site. When replacing meters, there is no need for manual verification of the old and new binding relationships, resolving the problem of mismatch between work orders and actual installed equipment, and improving business processing efficiency.

[0049] The new electricity meter connected to the electricity meter data system can be an electricity meter installed at a newly set electricity meter metering point. In this case, the cloud platform needs to execute a new meter installation work order for the new electricity meter.

[0050] Embodiment 1 of the present invention provides a method for automatically debugging a newly installed meter for internet access, which is described in detail below: (1) After the new meter is powered on, it sends a binding command to multiple gateways.

[0051] (2) The gateway that receives the binding instruction collects the communication bus signal occupancy status; when the communication bus signal occupancy status is no signal occupancy, the gateway sends gateway information to the new meter; when the communication bus signal occupancy status is signal occupancy, the gateway re-collects the communication bus signal occupancy status until the communication bus signal occupancy status is no signal occupancy, then the gateway sends gateway information to the new meter; when the process of the gateway sending gateway information to the new meter is interfered with by the signal, the gateway delays for a preset time and then retryes sending gateway information to the new meter; when the number of times the gateway retryes sending gateway information exceeds the preset number of retryes, the gateway stops sending gateway information and provides a manual binding process prompt.

[0052] (3) The new meter will determine the gateway corresponding to the first gateway information received as the target gateway to be bound to the new meter, and send the binding relationship between the new meter and the target gateway to the target gateway; the binding relationship includes the device identifier of the new meter, the gateway identifier of the target gateway and the communication protocol of the target gateway; after receiving the binding relationship, the target gateway stores the binding relationship; all gateways send the stored binding relationship to the cloud platform, and the cloud platform records all the binding relationships received after the new meter is connected to the meter data system as the new binding relationship set.

[0053] (4) Cloud platform executes new meter installation work order: Based on the device identifier of the new meter in the current new meter installation work order, query the binding relationship corresponding to the new meter in the current new meter installation work order in the new binding relationship set, and record the queried binding relationship as the work order information of the current new meter installation work order.

[0054] In this embodiment of the invention, the new meter device identifier is used as the query basis to directly locate the corresponding binding relationship in the new binding relationship set. This ensures that the work order information is completely consistent with the actual binding status of the new meter, avoiding mismatches and omissions that are prone to occur during manual verification, and ensuring the accuracy of the new meter installation work order execution. The binding relationship query and work order information recording are completed automatically without manual intervention for filtering or input, which can improve the efficiency of work order processing. The generated work order information includes the binding relationship between the new meter and the target gateway, which can provide accurate data for subsequent new meter debugging and data collection based on the work order, ensuring the rapid completion of the new meter installation business process.

[0055] (5) The cloud platform generates a meter reading instruction based on the work order information of the current new meter installation work order and sends it to the debugging gateway corresponding to the binding relationship of the new meter in the work order information. The gateway has multiple meter reading templates pre-set, defining the name of the electrical parameters to be collected, the communication address of the electrical parameters, and the data type of the electrical parameters. The debugging gateway determines the meter reading template corresponding to the new meter based on the meter reading instruction, collects data from the new meter based on the meter reading template, and sends it to the cloud platform. After receiving the meter reading data returned by the debugging gateway, the cloud platform adds the binding relationship between the new meter and the target gateway to the old binding relationship set stored in the cloud platform, and completes the debugging of the new meter in the current new meter installation work order.

[0056] The new electricity meter connected to the electricity meter data system can also be a new electricity meter that is replaced after the old electricity meter is removed from the original electricity meter metering point. In this case, the cloud platform needs to execute the replacement work order for the old electricity meter.

[0057] Embodiment 2 of the present invention provides a method for automatically debugging internet access when the meter is replaced, including the following steps: (1) After the new meter is powered on, it sends a binding command to multiple gateways.

[0058] (2) The gateway that receives the binding instruction collects the communication bus signal occupancy status; when the communication bus signal occupancy status is no signal occupancy, the gateway sends gateway information to the new meter; when the communication bus signal occupancy status is signal occupancy, the gateway re-collects the communication bus signal occupancy status until the communication bus signal occupancy status is no signal occupancy, then the gateway sends gateway information to the new meter; when the process of the gateway sending gateway information to the new meter is interfered with by the signal, the gateway delays for a preset time and then retryes sending gateway information to the new meter; when the number of times the gateway retryes sending gateway information exceeds the preset number of retryes, the gateway stops sending gateway information and provides a manual binding process prompt.

[0059] (3) The new meter will determine the gateway corresponding to the first gateway information received as the target gateway to be bound to the new meter, and send the binding relationship between the new meter and the target gateway to the target gateway; the binding relationship includes the device identifier of the new meter, the gateway identifier of the target gateway and the communication protocol of the target gateway; after receiving the binding relationship, the target gateway stores the binding relationship; all gateways send the stored binding relationship to the cloud platform, and the cloud platform records all the binding relationships received after the new meter is connected to the meter data system as the new binding relationship set.

[0060] (4) The cloud platform executes the meter replacement work order: the new binding relationship set is set, and the binding relationship not included in the old binding relationship set is determined as the difference set; based on the device identifier of the old meter in the current meter replacement work order, the binding relationship of the old meter is determined from the old binding relationship set, and the gateway identifier of the target gateway corresponding to the old meter is determined; based on the gateway identifier of the target gateway corresponding to the old meter, the cloud platform queries the binding relationship corresponding to the new meter in the current meter replacement work order in the difference set, and records the queried binding relationship as the work order information of the current meter replacement work order.

[0061] Figure 3 The diagram illustrates the relationship between the new binding relationship set, the old binding relationship set, and the difference set provided in Embodiment 2 of the present invention. In this diagram, the right ellipse 31 represents the new binding relationship set, the left ellipse 32 represents the old binding relationship set, and the striped area 33 is the part of the right ellipse 31 that does not overlap with the left ellipse 32, representing the difference set.

[0062] The new binding relationship set is the collection of all binding relationships of the target gateway automatically bound to the new meter after its access. It includes both the binding relationships of existing meters bound to the target gateway and the binding relationships of the new meter. The old binding relationship set is the collection of all existing meter-gateway binding relationships in the system before the new meter's access, reflecting the historical binding status before the new meter's access. The difference set is the difference between the new and old binding relationship sets, consisting of binding relationships that exist only in the new binding relationship set but not in the old binding relationship set. The core characteristic of a new meter is that it "was not previously bound to the system, but a binding relationship was created after its access." Therefore, the old binding relationship set does not contain any binding relationships corresponding to the new meter, while the new binding relationship set does. Thus, the elements in the difference set are the binding relationships newly added after the new meter's access to the system. This eliminates the need for manual comparison of meter parameters and identifiers, allowing direct filtering of the new meter's binding relationships, reducing the tediousness of manual operation and avoiding errors in manual comparison. Meanwhile, the difference set provides data on newly installed meters for work order generation. Based on the binding relationships in the difference set, the system can automatically identify newly installed meters and generate work orders automatically, greatly improving business processing efficiency.

[0063] (5) The cloud platform generates a meter reading instruction based on the work order information of the current meter replacement work order and sends it to the debugging gateway corresponding to the binding relationship of the new meter in the work order information. The gateway has multiple meter reading templates pre-set, defining the name of the electrical parameters to be collected, the communication address of the electrical parameters, and the data type of the electrical parameters. The debugging gateway determines the meter reading template corresponding to the new meter based on the meter reading instruction, collects data from the new meter based on the meter reading template, and sends it to the cloud platform. After receiving the meter reading data returned by the debugging gateway, the cloud platform deletes the binding relationship of the old meter from the old binding relationship set stored in the cloud platform, adds the binding relationship corresponding to the new meter found in the difference set, and completes the debugging of the new meter in the current meter replacement work order.

[0064] This invention provides a smart meter debugging device for use in a meter data system, which includes multiple meters, multiple gateways, and a cloud platform.

[0065] See Figure 2 The diagram shows a schematic of the structure of the smart meter debugging device 2 provided in an embodiment of the present invention, which is described in detail below: The binding relationship determination module 21 is used to determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set; The work order information generation module 22 is used to determine the binding relationship of the new electricity meter in the current work order based on the new binding relationship set, the old binding relationship set before the new electricity meter is connected to the electricity meter data system, and the business type of the current work order, and to generate the current work order information based on the binding relationship of the new electricity meter in the current work order. The new meter debugging module 23 is used to debug the new meter in the current work order based on the current work order information.

[0066] In one possible implementation, the binding relationship determination module 21 is used for: After receiving the binding command sent by the new meter after it is powered on, the system sends gateway information to the new meter according to the communication bus signal occupancy. If the process of sending gateway information to the new meter is interfered with by the signal, the system will retry sending gateway information to the new meter after a preset delay. If the number of times the system retryes sending gateway information exceeds the preset number of retries, the system will stop sending gateway information and provide a prompt for the manual binding process.

[0067] In one possible implementation, the binding relationship determination module 21 is also used for: Send the stored binding relationships to the cloud platform.

[0068] In one possible implementation, the work order information generation module 22 is used for: If the business type is new meter installation, then based on the device identifier of the new meter in the current work order, query the binding relationship corresponding to the new meter in the current work order in the new binding relationship set; and generate the current work order information based on the binding relationship corresponding to the new meter in the current work order.

[0069] In one possible implementation, the work order information generation module 22 is also used for: If the business type is table replacement, the binding relationships not included in the old binding relationship set are determined as the difference set in the new binding relationship set; based on the device identifier of the old meter in the current work order, the binding relationship of the old meter is determined from the old binding relationship set, and the gateway identifier of the target gateway corresponding to the old meter is determined based on the binding relationship of the old meter. Based on the gateway identifier of the target gateway corresponding to the old electricity meter, query the binding relationship of the new electricity meter in the current work order in the difference set; generate the current work order information based on the binding relationship of the new electricity meter in the current work order.

[0070] In one possible implementation, the new meter debugging module 23 is used for: Generate a meter reading instruction based on the current work order information and send it to the debugging gateway corresponding to the current work order information; In one possible implementation, the new meter debugging module 23 is also used for: After receiving the meter reading data returned by the debugging gateway, the old binding relationship set is updated according to the current work order information to complete the debugging of the new electricity meter in the current work order.

[0071] See Figure 4 The diagram illustrates the structure of the electricity meter data system provided in an embodiment of the present invention, which is described in detail below: The meter data system includes multiple meters, multiple gateways, and a cloud platform. The meter data system is used to execute the steps of any of the methods in the above-described smart meter debugging method.

[0072] Multiple electricity meters are connected to the gateway via, but not limited to, RS485 bus, and send messages to the gateway. Communication connections can be established between the electricity meters and the gateway, and between the gateway and the cloud platform. Each electricity meter is bound to a gateway after power-on, and each gateway can be bound to multiple electricity meters.

[0073] For the sake of simplicity and clarity, only the above-described functional modules / units are used as examples. In practical applications, the functions described above can be assigned to different functional modules / units as needed. These modules / units can be implemented in hardware, software, or a combination of both.

[0074] In the above embodiments, the descriptions of each embodiment have their own emphasis. Parts not detailed or described in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Unless otherwise specified or in conflict with logic, the terminology and / or descriptions between different embodiments are consistent and can be referenced interchangeably. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.

[0075] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method for debugging a smart meter, characterized in that, It is applied to an electricity meter data system, which includes multiple electricity meters, multiple gateways, and a cloud platform; The method includes: When a new electricity meter is connected to the electricity meter data system, the multiple gateways determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set; The cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order, and generates the current work order information based on the binding relationship corresponding to the new meter in the current work order. The cloud platform debugs the new electricity meter in the current work order based on the current work order information.

2. The smart meter debugging method according to claim 1, characterized in that, When a new electricity meter is connected to the electricity meter data system, the multiple gateways determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set, including: After the new electricity meter is powered on, it sends a binding command to the multiple gateways; Based on the binding instruction, the multiple gateways send gateway information to the new electricity meter; The new electricity meter will determine the gateway corresponding to the first gateway information received as the target gateway bound to the new electricity meter, and send the binding relationship between the new electricity meter and the target gateway to the target gateway; After receiving the binding relationship, the target gateway stores the binding relationship. The multiple gateways send the stored binding relationships to the cloud platform; The binding relationship includes: the device identifier of the new electricity meter, the gateway identifier of the target gateway, and the communication protocol of the target gateway.

3. The smart meter debugging method according to claim 2, characterized in that, Based on the binding instruction, the multiple gateways send gateway information to the new electricity meter, including: After receiving the binding instruction, the multiple gateways collect the communication bus signal occupancy status and send gateway information to the new electricity meter based on the communication bus signal occupancy status.

4. The smart meter debugging method according to claim 3, characterized in that, The communication bus signal occupancy status includes both signal occupancy and no signal occupancy; After receiving the binding instruction, the multiple gateways collect information on the communication bus signal occupancy and send gateway information to the new meter based on the communication bus signal occupancy information, including: When the communication bus signal occupancy status is no signal occupancy, the gateway sends gateway information to the new electricity meter; When the communication bus signal occupancy status is "signal occupied", the gateway re-collects the communication bus signal occupancy status until the communication bus signal occupancy status is "no signal occupied", at which point the gateway sends gateway information to the new meter.

5. The smart meter debugging method according to claim 4, characterized in that, After the gateway sends gateway information to the new meter, the following is also included: When the process of the gateway sending gateway information to the new electricity meter is interfered with by signal, the gateway delays for a preset time and then retryes sending the gateway information to the new electricity meter; When the number of times the gateway retryes sending gateway information exceeds the preset number of retries, the gateway stops sending gateway information and prompts for the manual binding process.

6. The smart meter debugging method according to any one of claims 1 to 5, characterized in that, The business type includes new meter installation, and the current work order contains the device identifier of the new electricity meter; The cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order. It then generates the current work order information based on the binding relationship corresponding to the new meter in the current work order, including: If the business type is new meter installation, the cloud platform queries the new binding relationship set for the new meter in the current work order based on the device identifier of the new meter in the current work order. The current work order information is generated based on the binding relationship of the new electricity meter in the current work order.

7. The smart meter debugging method according to any one of claims 1 to 5, characterized in that, The business type includes meter replacement, and the current work order contains the device identifier of the old meter. The cloud platform determines the binding relationship corresponding to the new meter in the current work order based on the new binding relationship set, the old binding relationship set before the new meter is connected to the meter data system, and the business type of the current work order. It then generates the current work order information based on the binding relationship corresponding to the new meter in the current work order, including: If the business type is table swapping, the cloud platform will set the new binding relationships together, and the binding relationships not included in the old binding relationship set will be determined as the difference set. Based on the device identifier of the old meter in the current work order, determine the binding relationship of the old meter from the old binding relationship set, and determine the gateway identifier of the target gateway corresponding to the old meter based on the binding relationship of the old meter; The cloud platform queries the binding relationship of the new meter in the current work order in the difference set based on the gateway identifier of the target gateway corresponding to the old meter; The current work order information is generated based on the binding relationship of the new electricity meter in the current work order.

8. The smart meter debugging method according to any one of claims 1 to 5, characterized in that, The cloud platform, based on the current work order information, debugs the new electricity meter in the current work order, including: The cloud platform generates a meter reading instruction based on the current work order information and sends it to the debugging gateway corresponding to the current work order information; The debugging gateway determines the meter reading template corresponding to the new electricity meter according to the meter reading instruction, collects data from the new electricity meter according to the meter reading template, and sends it to the cloud platform; After receiving the meter reading data returned by the debugging gateway, the cloud platform updates the old binding relationship set according to the current work order information to complete the debugging of the new electricity meter in the current work order.

9. A smart meter debugging device, characterized in that, The device is applied to an electricity meter data system, which includes multiple electricity meters, multiple gateways, and a cloud platform; the device includes: The binding relationship determination module is used to determine the binding relationship with each electricity meter and send it to the cloud platform as a new binding relationship set; The work order information generation module is used to determine the binding relationship corresponding to the new electricity meter in the current work order based on the new binding relationship set, the old binding relationship set before the new electricity meter is connected to the electricity meter data system, and the business type of the current work order, and to generate the current work order information based on the binding relationship corresponding to the new electricity meter in the current work order. The new meter debugging module is used to debug the new meter in the current work order based on the current work order information.

10. An electricity meter data system, characterized in that, It includes multiple electricity meters, multiple gateways, and a cloud platform, wherein the electricity meter data system is used to perform the method according to any one of claims 1-8.