Anti-loss method and system for enabling electric energy meter to be disabled based on code verification
By using the State Grid's unique hardware coding, SM4 national cryptographic encryption, and HPLC high-speed power line communication, a power meter anti-loss system was constructed. This system solves the problem of the inability to interrupt the use of power meters after they are lost or misappropriated. It achieves low-cost, scenario-adaptable security protection and reduces the risk of asset loss and illegal electricity theft for power supply companies.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TAIAN POWER SUPPLY CO OF STATE GRID SHANDONG ELECTRIC POWER CO
- Filing Date
- 2026-01-15
- Publication Date
- 2026-05-19
AI Technical Summary
Existing technologies cannot effectively prevent the use of lost or misappropriated electricity meters, and it is difficult to balance protection effectiveness, cost control, and adaptability to weak network scenarios, leading to increased asset losses and illegal electricity theft risks for power supply companies.
A loss prevention method based on code verification is adopted. Through the unique hardware code of the State Grid standard, SM4 national cryptographic encryption and HPLC high-speed power line communication, a three-level architecture of hardware layer-binding layer-authentication layer is constructed. Dual authentication of code matching and location matching is performed, and a gradient authentication failure handling process and offline adaptation mechanism for weak network scenarios are provided.
It achieves one-to-one coding and location binding between electricity meters and data acquisition terminals, ensuring that offline meter codes cannot be obtained after loss or misappropriation, reducing asset losses, avoiding the risk of illegal electricity theft, and ensuring stable electricity use.
Smart Images

Figure CN122069064A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power meter security protection and power information security technology. Specifically, it relates to a method and system for preventing the loss of electricity meters by disabling them based on code verification. It is applied to the prevention of loss and misappropriation of electricity meter assets, metering security control and abnormal equipment handling in the whole life cycle management process of power supply enterprises. Background Technology
[0002] With the acceleration of urban and rural power grid construction and the deepening of power market reform, electricity meters, as the core equipment of the power metering system, have been widely used in diverse power consumption scenarios such as old residential areas, temporary construction sites, urban-rural fringe areas and remote mountainous areas. Their asset security and metering compliance are directly related to the economic interests of power supply companies, and are also a key prerequisite for maintaining the fair order of the power market and the stable operation of the power grid.
[0003] Currently, the security protection and asset management of electricity meters mainly adopts four types of technical means: physical protection, electronic alarms, location tracking, and electronic authentication. However, all of these technologies have significant limitations in practical applications. Physical protection methods, while inexpensive and easy to install, are easily damaged by specialized tools and lack anti-misappropriation functions. Damaged equipment is easily stolen, sold, or illegally reused. Furthermore, they suffer from the drawbacks of being a single protection method and difficult to manage uniformly. Electronic alarm technology can provide real-time feedback on abnormal equipment status, but it can only serve as an early notification and cannot prevent actual use after misappropriation, nor can it effectively track lost electricity meters. Location tracking technology, while enabling asset traceability, suffers from high hardware costs and is highly dependent on real-time network signals, completely failing in remote areas with no or blocked signals. Electronic authentication technology is easy to implement and highly compatible, but it carries the risk of easily cracked and leaked passwords, and lacks a binding mechanism between the device and its installation location, making it impossible to identify misappropriation from other locations and fundamentally failing to guarantee equipment security.
[0004] In recent years, power supply companies have increasingly urgent needs for full lifecycle asset management of electricity meters, and the technological direction of replacing "passive early warning" with "active protection" has become a key research focus in the industry. However, current technologies still have the following problems: they fail to disconnect the actual use value of lost or misappropriated equipment; and they struggle to balance protection effectiveness, cost control, and adaptability to weak network scenarios. These problems severely restrict the effectiveness of electricity meter asset security management, causing huge asset losses to power supply companies and easily triggering derivative risks such as illegal electricity theft and metering disputes, disrupting electricity consumption order. This is the shortcoming of existing technologies.
[0005] In view of this, the present invention provides a method and system for preventing the loss of electricity meters by disabling them based on code verification, so as to solve the defects of the prior art such as passive protection, inability to interrupt the use value of the equipment, high cost, and weak adaptability, which is an urgent need to ensure the safety of electricity meter assets and metering security. Summary of the Invention
[0006] The purpose of this invention is to address the shortcomings of existing technologies, such as failing to disconnect lost or misappropriated equipment, and difficulty in balancing protection effectiveness, cost control, and adaptability to weak network scenarios. These problems severely restrict the effectiveness of electricity meter asset security management, causing huge asset losses to power supply companies and easily leading to derivative risks such as illegal electricity theft and metering disputes, disrupting electricity consumption order. This invention provides a method and system for preventing electricity meter loss by disabling it through code verification, thereby solving the aforementioned technical problems.
[0007] To achieve the above objectives, the present invention provides the following technical solution: In a first aspect, the present invention provides a method for preventing the loss of an electricity meter by disabling it based on code verification, comprising the following steps: S1, the steps of encoding generation and encrypted forwarding, in which: Once the electricity meter is installed and powered on, it searches for and connects to the preset target acquisition terminal. The acquisition terminal receives the unique hardware code from the electricity meter and integrates it with the acquisition terminal's own asset code and the corresponding transformer area and line location information into an encrypted data packet, which is then forwarded to the binding layer. S2, the steps of binding layer verification and association reporting, in which: The binding layer receives encrypted data packets from the data acquisition terminal. The binding layer performs double verification on the received encrypted data packets. After the verification is successful, the binding relationship between the energy meter and the data acquisition terminal is established within the binding layer, and the binding relationship record is synchronized to the authentication layer. S3, the steps for dual-signature activation and exception handling at the authentication layer, in which: The authentication layer performs dual-signature verification. After the dual-signature verification is successful, the authentication layer generates an encrypted activation command. After receiving the activation command from the marketing system, the data acquisition terminal forwards the command to the corresponding electricity meter. S4. Steps to enable the display of the activated electricity meter. In this step: The electricity meter receives the activation command forwarded by the data acquisition terminal, activates the electricity meter screen and displays it normally; and automatically generates a short-term local authorization token according to the parameters in the activation command. S5, the steps for offline adaptation in weak network scenarios, in which: When the network is weak or disconnected, the electricity meter maintains its display function through a local authorization token and stores the electricity consumption data to the built-in chip at fixed intervals.
[0008] The binding layer includes a data collection system; the authentication layer includes a marketing system. Furthermore, step S1 specifically includes: The electricity meter includes an industrial-grade ID chip, which has a unique hardware code written into it at the factory. The coding format follows the State Grid Corporation's current electricity meter asset coding standard. The unique hardware code includes core elements such as the user unit, asset type, production sequence, and verification information to ensure uniqueness across the entire industry. The data acquisition terminal uses the existing asset code of the power industry without any other extensions; the specific location information such as the transformer area and line to which the data acquisition terminal belongs is associated through the terminal asset ledger configuration in the data acquisition system. Furthermore, the specific steps for associating the asset code of the acquisition terminal with the location information are as follows: when the maintenance personnel are installing and debugging the terminal, they bind and input the asset code of the acquisition terminal with the number of the specific location information such as the substation and line through the acquisition system, forming a one-to-one mapping between the asset code of the acquisition terminal and the location information. When the acquisition terminal uploads signals, the associated information is automatically synchronized.
[0009] To ensure the uniqueness and tamper-proof nature of the hardware code, a combination of static base code and dynamic check code is used for encoding. Based on the State Grid Corporation's current electricity meter coding rules, the static base code includes the user unit code, asset type code, and product serial number. The unit code adopts the unified power supply unit code of the State Grid, which facilitates asset ownership and tracking. The asset type code is formulated according to the State Grid equipment classification, which facilitates the differentiation of different types of equipment. The product serial number is arranged by the manufacturer according to the State Grid specifications, which includes information such as the production date and serial number increment order to prevent duplicate numbers of similar equipment. The dynamic verification code is a dynamic verification code that verifies the static basic code using the State Grid's standard cyclic redundancy check algorithm. The result is used to check whether the code has been tampered with or has errors during transmission or storage. If the verification fails, an abnormal alarm is triggered in the background.
[0010] Furthermore, to ensure the security of code transmission, the SM4 national cryptographic algorithm is used for encryption. The association information between the asset code and location information of the data collection terminal is encrypted before transmission, which complies with the requirements of the "Technical Specification for Security Protection of Electricity User Electricity Information Collection System".
[0011] Furthermore, this method utilizes HPLC high-speed power line communication, which is fully covered by the power company, for data transmission.
[0012] Furthermore, step S2 specifically includes: The data acquisition system performs dual verification of the coding matching between the electricity meter and the data acquisition terminal, as well as the validity of the location information of the data acquisition terminal. After the verification is passed, a binding relationship is established between the electricity meter and the data acquisition terminal, and an unalterable binding record is generated. After the binding relationship is established and access control is completed, the verified binding relationship between the electricity meter and the data acquisition terminal is simultaneously sent to the marketing system to provide core association basis for subsequent dual authentication.
[0013] Once the binding relationship is established, it can only be modified or unbound through normal business work order flow within the management unit's marketing system. This effectively avoids accidental operation or illegal tampering, ensuring the security and seriousness of the association relationship. Furthermore, step S3 specifically includes: The marketing system first verifies whether the binding relationship between the electricity meter and the data collection terminal matches, and then verifies whether the location information uploaded by the data collection terminal is consistent with the location information preset by the data collection system. This completes the dual authentication of code matching and location matching. Once the authentication is successful, an activation command is issued. Furthermore, to balance security and ease of operation and maintenance, a tiered authentication failure handling process of "early warning-lock-alarm-passive response" is designed, including the initial early warning stage, temporary lock stage, active alarm stage, passive authentication stage, and process reset rules. The initial warning stage is initiated immediately after the electricity meter is connected to the power grid and powered on. It automatically sends an authentication request to the data acquisition terminal with a fixed short interval. At the same time, the electricity meter records log information such as the time of each authentication and the code matching result in real time. The temporary lockout phase is when the energy meter automatically switches to the temporary lockout phase after multiple consecutive authentication failures in the primary warning phase. The frequency of sending authentication requests to the data acquisition terminal is adjusted to be extended. During this period, the energy metering module operates normally and continuously attempts to establish effective authentication with the terminal. The active alarm phase is initiated before entering the passive authentication phase if authentication is not completed within the temporary locking phase and the cumulative power-on time of the electricity meter is about to exceed 24 hours (adjusted as appropriate). This involves automatically searching for the nearest data acquisition terminal within the signal coverage area via the communication module and uploading alarm information including the device's unique hardware code, cumulative unauthenticated time, and location characteristics (such as the area of the distribution station matching the signal strength). Upon receiving the alarm, the data acquisition terminal immediately synchronizes it to the data acquisition system, which automatically generates an "Unknown Device Access Risk" warning, pushes it to the marketing front end, and marks the warning level as "Medium," along with the core information of the alarming device for maintenance personnel to verify. The passive authentication phase refers to the period after the active alarm is completed. During this phase, the energy meter no longer actively initiates authentication requests, but only keeps the communication interface on standby. It only responds to authentication commands and uploads coded information when the data acquisition terminal actively calls it. The process reset rule is that, regardless of any of the above stages, as long as the electricity meter goes through the process of power outage and power restoration, the authentication status will be automatically reset, and the complete authentication process will be restarted from the initial warning stage. Throughout the process, only the display remains inactive, ensuring that the offline table code cannot be retrieved if it is lost or misappropriated.
[0014] Furthermore, step S4 specifically includes: After receiving the encrypted activation command from the marketing system forwarded by the data acquisition terminal, the electricity meter activates the electricity meter screen and displays it normally, allowing offline display of meter code data. At the same time, based on the parameters in the activation command, a short-term local authorization token is automatically generated. The token's validity period can be set according to actual operation and maintenance needs, providing permission support for normal screen display in subsequent weak network offline scenarios.
[0015] If the electricity meter fails to pass dual-signature authentication (code mismatch, abnormal location information, or no instruction received), it will remain in a black screen state with no display. Although the metering and storage modules can work normally, the meter code cannot be displayed offline, completely losing the value of offline metering.
[0016] Furthermore, step S5 specifically includes: In the event of weak or interrupted network conditions such as remote mountainous areas or temporary construction sites, the electricity meter can continue to display data using a local authorization token. The meter will store electricity consumption data in the built-in Flash chip at fixed intervals (the storage capacity supports long-term data backup). The binding relationship between the electricity meter and the data acquisition terminal will also remain fixed and will not fluctuate with the network status. After the network is restored, the electricity meter will automatically upload the metering data and operation logs from the offline period first. The backend will update the local authorization token after verifying the integrity of the data.
[0017] If an electricity meter is lost, misappropriated, disassembled and moved to a new scenario and then reconnected to power, it will automatically revert to a screenless state because it cannot match the new scenario's data acquisition terminal code, cannot obtain new activation instructions, and the original local authorization token will become invalid. In this case, it can only perform metering and storage, and cannot read the meter code offline, thus preventing its illegal use from the root. At the same time, the electricity meter will record the abnormal status and upload it to the marketing system when it is connected to the network again, so that maintenance personnel can check it.
[0018] Secondly, the present invention provides a loss prevention system based on code verification to disable the electricity meter, including a code generation and encryption forwarding module, a binding layer verification and association reporting module, an authentication layer dual signature activation and anomaly handling module, an activated electricity meter open display module, and a weak network scenario offline adaptation module. The encoding generation and encryption forwarding module contains: Once the electricity meter is installed and powered on, it searches for and connects to the preset target acquisition terminal. The acquisition terminal receives the unique hardware code from the electricity meter and integrates it with the acquisition terminal's own asset code and the corresponding transformer area and line location information into an encrypted data packet, which is then forwarded to the binding layer. The binding layer verification and association reporting module contains: The binding layer receives encrypted data packets from the data acquisition terminal and performs authentication based on the encrypted data packets. The binding layer performs double verification on the received encrypted data packets. After the verification is successful, the binding relationship between the energy meter and the data acquisition terminal is established within the binding layer, and the binding relationship record is synchronized to the authentication layer. The authentication layer dual-signature activation and exception handling module includes: The authentication layer performs dual-signature verification. After the dual-signature verification is successful, the authentication layer generates an encrypted activation command. After receiving the activation command issued by the authentication layer, the data acquisition terminal forwards the command to the corresponding electricity meter. The activated electricity meter displays the meter's module, which contains: The electricity meter receives the activation command forwarded by the data acquisition terminal, activates the electricity meter screen and displays it normally; and generates a short-term local authorization token according to the parameters in the activation command. The offline adaptation module for weak network scenarios includes: When the network is weak or disconnected, the electricity meter maintains its display through a local authorization token and stores the electricity consumption data to the built-in chip at fixed intervals.
[0019] The system adopts a three-level architecture of hardware layer-binding layer-authentication layer. Data interaction between layers relies entirely on HPLC high-speed power line communication for transmission, and all interactive data is encrypted using the SM4 national cryptographic algorithm. The hardware layer includes an electricity meter and a data acquisition terminal; the binding layer includes a data acquisition system; and the authentication layer includes a marketing system.
[0020] Furthermore, the encoded generation and encrypted forwarding module specifically includes: The electricity meter includes an industrial-grade ID chip, which has a unique hardware code written into it at the factory. The coding format follows the State Grid Corporation's current electricity meter asset coding standard. The unique hardware code includes core elements such as the user unit, asset type, production sequence, and verification information to ensure uniqueness across the entire industry. The data acquisition terminal uses the existing asset code of the power industry without any other extensions; the specific location information such as the transformer area and line to which the data acquisition terminal belongs is associated through the terminal asset ledger configuration in the data acquisition system. Furthermore, the specific steps for associating the asset code of the acquisition terminal with the location information are as follows: when the maintenance personnel are installing and debugging the terminal, they bind and input the asset code of the acquisition terminal with the number of the specific location information such as the substation and line through the acquisition system, forming a one-to-one mapping of "asset code-location information". When the acquisition terminal uploads signals, the associated information is automatically synchronized.
[0021] To ensure the uniqueness and tamper-proof nature of the hardware code, a combination of "static base code + dynamic check code" is used for encoding. Based on the State Grid Corporation's current electricity meter coding rules, the static base code includes the user unit code, asset type code, and product serial number. The unit code adopts the unified power supply unit code of the State Grid, which facilitates asset ownership and tracking. The asset type code is formulated according to the State Grid equipment classification, which facilitates the differentiation of different types of equipment. The product serial number is arranged by the manufacturer according to the State Grid specifications, which includes information such as the production date and serial number increment order to prevent duplicate numbers of similar equipment. The dynamic verification code is a dynamic verification code that verifies the static basic code using the State Grid's standard cyclic redundancy check algorithm. The result is used to check whether the code has been tampered with or has errors during transmission or storage. If the verification fails, an abnormal alarm is triggered in the background.
[0022] Furthermore, to ensure the security of code transmission, the SM4 national cryptographic algorithm is used for encryption. The associated information of "asset code-location information" of the collection terminal is encrypted before transmission, which complies with the requirements of the "Technical Specification for Security Protection of Electricity User Electricity Consumption Information Collection System".
[0023] Furthermore, this method utilizes HPLC high-speed power line communication, which is fully covered by the power company, for data transmission.
[0024] Furthermore, the binding layer verification and association reporting module specifically includes: The data acquisition terminal is configured by the operation and maintenance personnel in the data acquisition system with the location information of the target data acquisition terminal area and line, and the asset code of the data acquisition terminal is entered to form a fixed mapping of the data acquisition terminal "asset code-installation location"; The data acquisition system performs dual verification of the coding matching between the energy meter and the data acquisition terminal, as well as the validity of the location information of the data acquisition terminal. After the verification is passed, a binding relationship is established between the energy meter and the data acquisition terminal, generating an unalterable binding record. Once the binding relationship is established, it can only be modified or unbound through normal business work order circulation within the management unit's marketing system. This effectively avoids accidental operation or illegal tampering, ensuring the security and seriousness of the association relationship. After establishing the binding relationship and controlling permissions, the binding relationship between the verified electricity meter and the data collection terminal is simultaneously sent to the marketing system to provide core association basis for subsequent dual authentication.
[0025] Furthermore, the authentication layer dual-signature activation and anomaly handling module specifically includes: The marketing system first verifies whether the binding relationship between the electricity meter and the data collection terminal matches, and then verifies whether the location information uploaded by the data collection terminal is consistent with the location information preset by the data collection system. This completes the dual authentication of code matching and location matching. Once the authentication is successful, an activation command is issued. Furthermore, to balance security and ease of operation and maintenance, a tiered authentication failure handling process of "early warning-lock-alarm-passive response" is designed, including the initial early warning stage, temporary lock stage, active alarm stage, passive authentication stage, and process reset rules. The initial warning stage is initiated immediately after the electricity meter is connected to the power grid and powered on. It automatically sends an authentication request to the data acquisition terminal with a fixed short interval. At the same time, the electricity meter records log information such as the time of each authentication and the code matching result in real time. The temporary lockout phase is when the energy meter automatically switches to the temporary lockout phase after multiple consecutive authentication failures in the primary warning phase. The frequency of sending authentication requests to the data acquisition terminal is adjusted to be extended. During this period, the energy metering module operates normally and continuously attempts to establish effective authentication with the terminal. The active alarm phase is initiated before entering the passive authentication phase if authentication is not completed within the temporary locking phase and the cumulative power-on time of the electricity meter is about to exceed 24 hours (adjusted as appropriate). This involves automatically searching for the nearest data acquisition terminal within the signal coverage area via the communication module and uploading alarm information containing "the device's unique hardware code, cumulative unauthenticated time, and location characteristics (such as the area of the distribution station matching the signal strength)." Upon receiving the alarm, the data acquisition terminal immediately synchronizes it to the data acquisition system, which automatically generates an "Unknown Device Access Risk" warning, pushes it to the marketing front end, and marks the warning level as "medium," along with the core information of the alarming device for maintenance personnel to verify. The passive authentication phase refers to the period after the active alarm is completed. During this phase, the energy meter no longer actively initiates authentication requests, but only keeps the communication interface on standby. It only responds to authentication commands and uploads coded information when the data acquisition terminal actively calls it. The process reset rule is that, regardless of any of the above stages, as long as the electricity meter goes through the process of power outage and power restoration, the authentication status will be automatically reset, and the complete authentication process will be restarted from the initial warning stage. Throughout the process, only the display remains inactive, ensuring that the offline table code cannot be retrieved if it is lost or misappropriated.
[0026] Furthermore, the activated display module of the energy meter specifically includes: After receiving the encrypted activation command from the marketing system forwarded by the data acquisition terminal, the electricity meter activates the electricity meter screen and displays it normally, allowing offline display of meter code data. At the same time, based on the parameters in the activation command, a short-term local authorization token is automatically generated. The token's validity period can be set according to actual operation and maintenance needs, providing permission support for normal screen display in subsequent weak network offline scenarios.
[0027] If the electricity meter fails to pass dual-signature authentication (code mismatch, abnormal location information, or no instruction received), it will remain in a black screen state with no display. Although the metering and storage modules can work normally, the meter code cannot be displayed offline, completely losing the value of offline metering.
[0028] Furthermore, the offline adaptation module for weak network scenarios specifically includes: In the event of weak or interrupted network conditions such as remote mountainous areas or temporary construction sites, the electricity meter can continue to display data using a local authorization token. The meter will store electricity consumption data in the built-in Flash chip at fixed intervals (the storage capacity supports long-term data backup). The binding relationship between the electricity meter and the data acquisition terminal will also remain fixed and will not fluctuate with the network status. After the network is restored, the electricity meter will automatically upload the metering data and operation logs from the offline period first. The backend will update the local authorization token after verifying the integrity of the data.
[0029] If an electricity meter is lost, misappropriated, disassembled and moved to a new scenario and then reconnected to power, it will automatically revert to a screenless state because it cannot match the new scenario's data acquisition terminal code, cannot obtain new activation instructions, and the original local authorization token will become invalid. In this case, it can only perform metering and storage, and cannot read the meter code offline, thus preventing its illegal use from the root. At the same time, the electricity meter will record the abnormal status and upload it to the marketing system when it is connected to the network again, so that maintenance personnel can check it.
[0030] The beneficial effects of this invention are as follows: It adopts technologies such as the State Grid standard unique hardware coding, SM4 national cryptographic encryption, HPLC high-speed power line communication, and short-term local authorization tokens. By constructing a three-level protection architecture of "hardware layer - binding layer - authentication layer", it realizes one-to-one coding and location binding between the electricity meter and the data acquisition terminal, performs dual authentication of coding matching and location matching, and provides a graded authentication failure handling process and an offline adaptation mechanism for weak network scenarios. It establishes a closed-loop security protection system and a low-cost, highly adaptable operation guarantee system. Ultimately, it solves the technical pain points of existing technologies that fail to cut off the actual use value of lost or misappropriated equipment, make it difficult to balance protection effect, cost control, and adaptability to weak network scenarios. It avoids asset losses caused by power supply companies due to equipment loss or misappropriation, effectively avoids derivative risks such as illegal electricity theft and metering disputes, and ensures the stability of electricity use order.
[0031] Furthermore, the design principle of this invention is reliable, the structure is simple, and it has a very wide range of application prospects.
[0032] Therefore, it is evident that the present invention has outstanding substantive features and significant progress compared with the prior art, and the beneficial effects of its implementation are also obvious. Attached Figure Description
[0033] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0034] Figure 1 The flowchart of an anti-loss method for an electricity meter based on code verification to disable the meter is provided by the present invention.
[0035] Figure 2 This invention provides a schematic diagram of the principle framework of an anti-loss system that disables electricity meters based on code verification.
[0036] Among them, 1-encoding generation and encryption forwarding module, 2-binding layer verification and association reporting module, 3-authentication layer dual signature activation and anomaly handling module, 4-activated electricity meter open display module, and 5-weak network scenario offline adaptation module. Detailed Implementation
[0037] The present invention will now be described in detail with reference to the accompanying drawings and specific embodiments. The following embodiments are explanations of the present invention, but the present invention is not limited to the following implementation methods.
[0038] Example 1: This invention provides a method for preventing the loss of electricity meters by disabling them based on code verification, comprising the following steps: S1, the steps of encoding generation and encrypted forwarding, in which: Once the electricity meter is installed and powered on, it searches for and connects to the preset target acquisition terminal. The acquisition terminal receives the unique hardware code from the electricity meter and integrates it with the acquisition terminal's own asset code and the corresponding transformer area and line location information into an encrypted data packet, which is then forwarded to the binding layer. S2, the steps of binding layer verification and association reporting, in which: The binding layer receives encrypted data packets from the data acquisition terminal. The binding layer performs double verification on the received encrypted data packets. After the verification is successful, the binding relationship between the energy meter and the data acquisition terminal is established within the binding layer, and the binding relationship record is synchronized to the authentication layer. S3, the steps for dual-signature activation and exception handling at the authentication layer, in which: The authentication layer performs dual-signature verification. After the dual-signature verification is successful, the authentication layer generates an encrypted activation command. After receiving the activation command from the marketing system, the data acquisition terminal forwards the command to the corresponding electricity meter. S4. Steps to enable the display of the activated electricity meter. In this step: The electricity meter receives the activation command forwarded by the data acquisition terminal, activates the electricity meter screen and displays it normally; and automatically generates a short-term local authorization token according to the parameters in the activation command. S5, the steps for offline adaptation in weak network scenarios, in which: When the network is weak or disconnected, the electricity meter maintains its display function through a local authorization token and stores the electricity consumption data to the built-in chip at fixed intervals.
[0039] The binding layer includes a data collection system; the authentication layer includes a marketing system. Furthermore, step S1 specifically includes: The electricity meter includes an industrial-grade ID chip, which has a unique hardware code written into it at the factory. The coding format follows the State Grid Corporation's current electricity meter asset coding standard. The unique hardware code includes core elements such as the user unit, asset type, production sequence, and verification information to ensure uniqueness across the entire industry. The data acquisition terminal uses the existing asset code of the power industry without any other extensions; the specific location information such as the transformer area and line to which the data acquisition terminal belongs is associated through the terminal asset ledger configuration in the data acquisition system. Furthermore, the specific steps for associating the asset code of the acquisition terminal with the location information are as follows: when the maintenance personnel are installing and debugging the terminal, they bind and input the asset code of the acquisition terminal with the number of the specific location information such as the substation and line through the acquisition system, forming a one-to-one mapping between the asset code of the acquisition terminal and the location information. When the acquisition terminal uploads signals, the associated information is automatically synchronized.
[0040] To ensure the uniqueness and tamper-proof nature of the hardware code, a combination of static base code and dynamic check code is used for encoding. Based on the State Grid Corporation's current electricity meter coding rules, the static base code includes the user unit code, asset type code, and product serial number. The unit code adopts the unified power supply unit code of the State Grid, which facilitates asset ownership and tracking. The asset type code is formulated according to the State Grid equipment classification, which facilitates the differentiation of different types of equipment. The product serial number is arranged by the manufacturer according to the State Grid specifications, which includes information such as the production date and serial number increment order to prevent duplicate numbers of similar equipment. The dynamic verification code is a dynamic verification code that verifies the static basic code using the State Grid's standard cyclic redundancy check algorithm. The result is used to check whether the code has been tampered with or has errors during transmission or storage. If the verification fails, an abnormal alarm is triggered in the background.
[0041] Furthermore, to ensure the security of code transmission, the SM4 national cryptographic algorithm is used for encryption. The association information between the asset code and location information of the data collection terminal is encrypted before transmission, which complies with the requirements of the "Technical Specification for Security Protection of Electricity User Electricity Information Collection System".
[0042] Furthermore, this method utilizes HPLC high-speed power line communication, which is fully covered by the power company, for data transmission.
[0043] Furthermore, step S2 specifically includes: The data acquisition terminal is configured by the operation and maintenance personnel in the data acquisition system with the location information of the target data acquisition terminal area and line, and the asset code of the data acquisition terminal is entered to form a fixed mapping relationship between the asset code of the data acquisition terminal and the installation location. The data acquisition system performs dual verification of the coding matching between the electricity meter and the data acquisition terminal, as well as the validity of the location information of the data acquisition terminal. After the verification is passed, a binding relationship is established between the electricity meter and the data acquisition terminal, and an unalterable binding record is generated. After the binding relationship is established and access control is completed, the verified binding relationship between the electricity meter and the data acquisition terminal is simultaneously sent to the marketing system to provide core association basis for subsequent dual authentication.
[0044] Once the binding relationship is established, it can only be modified or unbound through normal business work order flow within the management unit's marketing system. This effectively avoids accidental operation or illegal tampering, ensuring the security and seriousness of the association relationship. Furthermore, step S3 specifically includes: The marketing system first verifies whether the binding relationship between the electricity meter and the data collection terminal matches, and then verifies whether the location information uploaded by the data collection terminal is consistent with the location information preset by the data collection system. This completes the dual authentication of code matching and location matching. Once the authentication is successful, an activation command is issued. Furthermore, to balance security and ease of operation and maintenance, a tiered authentication failure handling process of "early warning-lock-alarm-passive response" is designed, including the initial early warning stage, temporary lock stage, active alarm stage, passive authentication stage, and process reset rules. The initial warning stage is initiated immediately after the electricity meter is connected to the power grid and powered on. It automatically sends an authentication request to the data acquisition terminal with a fixed short interval. At the same time, the electricity meter records log information such as the time of each authentication and the code matching result in real time. The temporary lockout phase is when the energy meter automatically switches to the temporary lockout phase after multiple consecutive authentication failures in the primary warning phase. The frequency of sending authentication requests to the data acquisition terminal is adjusted to be extended. During this period, the energy metering module operates normally and continuously attempts to establish effective authentication with the terminal. The active alarm phase is initiated before entering the passive authentication phase if authentication is not completed within the temporary locking phase and the cumulative power-on time of the electricity meter is about to exceed 24 hours (adjusted as appropriate). This involves automatically searching for the nearest data acquisition terminal within the signal coverage area via the communication module and uploading alarm information including the device's unique hardware code, cumulative unauthenticated time, and location characteristics (such as the area of the distribution station matching the signal strength). Upon receiving the alarm, the data acquisition terminal immediately synchronizes it to the data acquisition system, which automatically generates an "Unknown Device Access Risk" warning, pushes it to the marketing front end, and marks the warning level as "Medium," along with the core information of the alarming device for maintenance personnel to verify. The passive authentication phase refers to the period after the active alarm is completed. During this phase, the energy meter no longer actively initiates authentication requests, but only keeps the communication interface on standby. It only responds to authentication commands and uploads coded information when the data acquisition terminal actively calls it. The process reset rule is that, regardless of any of the above stages, as long as the electricity meter goes through the process of power outage and power restoration, the authentication status will be automatically reset, and the complete authentication process will be restarted from the initial warning stage. Throughout the process, only the display remains inactive, ensuring that the offline table code cannot be retrieved if it is lost or misappropriated.
[0045] Furthermore, step S4 specifically includes: After receiving the encrypted activation command from the marketing system forwarded by the data acquisition terminal, the electricity meter activates the electricity meter screen and displays it normally, allowing offline display of meter code data. At the same time, based on the parameters in the activation command, a short-term local authorization token is automatically generated. The token's validity period can be set according to actual operation and maintenance needs, providing permission support for normal screen display in subsequent weak network offline scenarios.
[0046] If the electricity meter fails to pass dual-signature authentication (code mismatch, abnormal location information, or no instruction received), it will remain in a black screen state with no display. Although the metering and storage modules can work normally, the meter code cannot be displayed offline, completely losing the value of offline metering.
[0047] Furthermore, step S5 specifically includes: In the event of weak or interrupted network conditions such as remote mountainous areas or temporary construction sites, the electricity meter can continue to display data using a local authorization token. The meter will store electricity consumption data in the built-in Flash chip at fixed intervals (the storage capacity supports long-term data backup). The binding relationship between the electricity meter and the data acquisition terminal will also remain fixed and will not fluctuate with the network status. After the network is restored, the electricity meter will automatically upload the metering data and operation logs from the offline period first. The backend will update the local authorization token after verifying the integrity of the data.
[0048] If an electricity meter is lost, misappropriated, disassembled and moved to a new scenario and then reconnected to power, it will automatically revert to a screenless state because it cannot match the new scenario's data acquisition terminal code, cannot obtain new activation instructions, and the original local authorization token will become invalid. In this case, it can only perform metering and storage, and cannot read the meter code offline, thus preventing its illegal use from the root. At the same time, the electricity meter will record the abnormal status and upload it to the marketing system when it is connected to the network again, so that maintenance personnel can check it.
[0049] Example 2: This invention provides a loss prevention system based on code verification to disable electricity meters, including a code generation and encryption forwarding module, a binding layer verification and association reporting module, an authentication layer dual signature activation and anomaly handling module, an activated electricity meter open display module, and a weak network scenario offline adaptation module. Encoding generation and encryption forwarding module 1, in which: Once the electricity meter is installed and powered on, it searches for and connects to the preset target acquisition terminal. The acquisition terminal receives the unique hardware code from the electricity meter and integrates it with the acquisition terminal's own asset code and the corresponding transformer area and line location information into an encrypted data packet, which is then forwarded to the binding layer. Binding layer verification and association reporting module 2, in which: The binding layer receives encrypted data packets from the data acquisition terminal and performs double verification on the received encrypted data packets. After the verification is successful, the binding relationship between the energy meter and the data acquisition terminal is established within the binding layer, and the binding relationship record is synchronized to the authentication layer. Authentication layer dual-signature activation and exception handling module 3, in which: The authentication layer performs dual-signature verification. After the dual-signature verification is successful, the authentication layer generates an encrypted activation command. After receiving the activation command issued by the authentication layer, the data acquisition terminal forwards the command to the corresponding electricity meter. After activation, the electricity meter opens display module 4, which contains: The electricity meter receives the activation command forwarded by the data acquisition terminal, activates the electricity meter screen and displays it normally; and generates a short-term local authorization token according to the parameters in the activation command. The offline adaptation module 5 for weak network scenarios includes: When the network is weak or disconnected, the electricity meter maintains its display through a local authorization token and stores the electricity consumption data to the built-in chip at fixed intervals.
[0050] The system adopts a three-level architecture of hardware layer-binding layer-authentication layer. Data interaction between layers relies entirely on HPLC high-speed power line communication for transmission, and all interactive data is encrypted using the SM4 national cryptographic algorithm. The hardware layer includes an electricity meter and a data acquisition terminal; the binding layer includes a data acquisition system; and the authentication layer includes a marketing system.
[0051] Furthermore, the encoded generation and encrypted forwarding module 1 specifically includes: The electricity meter includes an industrial-grade ID chip, which has a unique hardware code written into it at the factory. The coding format follows the State Grid Corporation's current electricity meter asset coding standard. The unique hardware code includes core elements such as the user unit, asset type, production sequence, and verification information to ensure uniqueness across the entire industry. The data acquisition terminal uses the existing asset code of the power industry without any other extensions; the specific location information such as the transformer area and line to which the data acquisition terminal belongs is associated through the terminal asset ledger configuration in the data acquisition system. Furthermore, the specific steps for associating the asset code of the acquisition terminal with the location information are as follows: when the maintenance personnel are installing and debugging the terminal, they bind and input the asset code of the acquisition terminal with the number of the specific location information such as the substation and line through the acquisition system, forming a one-to-one mapping of "asset code-location information". When the acquisition terminal uploads signals, the associated information is automatically synchronized.
[0052] To ensure the uniqueness and tamper-proof nature of the hardware code, a combination of "static base code + dynamic check code" is used for encoding. Based on the State Grid Corporation's current electricity meter coding rules, the static base code includes the user unit code, asset type code, and product serial number. The unit code adopts the unified power supply unit code of the State Grid, which facilitates asset ownership and tracking. The asset type code is formulated according to the State Grid equipment classification, which facilitates the differentiation of different types of equipment. The product serial number is arranged by the manufacturer according to the State Grid specifications, which includes information such as the production date and serial number increment order to prevent duplicate numbers of similar equipment. The dynamic verification code is a dynamic verification code that verifies the static basic code using the State Grid's standard cyclic redundancy check algorithm. The result is used to check whether the code has been tampered with or has errors during transmission or storage. If the verification fails, an abnormal alarm is triggered in the background.
[0053] Furthermore, to ensure the security of code transmission, the SM4 national cryptographic algorithm is used for encryption. The associated information of "asset code-location information" of the collection terminal is encrypted before transmission, which complies with the requirements of the "Technical Specification for Security Protection of Electricity User Electricity Consumption Information Collection System".
[0054] Furthermore, this method utilizes HPLC high-speed power line communication, which is fully covered by the power company, for data transmission.
[0055] Furthermore, the binding layer verification and association reporting module 2 specifically includes: The data acquisition terminal is configured by the operation and maintenance personnel in the data acquisition system with the location information of the target data acquisition terminal area and line, and the asset code of the data acquisition terminal is entered to form a fixed mapping of the data acquisition terminal "asset code-installation location"; The data acquisition system performs dual verification of the coding matching between the energy meter and the data acquisition terminal, as well as the validity of the location information of the data acquisition terminal. After the verification is passed, a binding relationship is established between the energy meter and the data acquisition terminal, generating an unalterable binding record. Once the binding relationship is established, it can only be modified or unbound through normal business work order circulation within the management unit's marketing system. This effectively avoids accidental operation or illegal tampering, ensuring the security and seriousness of the association relationship. After establishing the binding relationship and controlling permissions, the binding relationship between the verified electricity meter and the data collection terminal is simultaneously sent to the marketing system to provide core association basis for subsequent dual authentication.
[0056] Furthermore, the authentication layer dual-signature activation and anomaly handling module 3 specifically includes: The marketing system first verifies whether the binding relationship between the electricity meter and the data collection terminal matches, and then verifies whether the location information uploaded by the data collection terminal is consistent with the location information preset by the data collection system. This completes the dual authentication of code matching and location matching. Once the authentication is successful, an activation command is issued. Furthermore, to balance security and ease of operation and maintenance, a tiered authentication failure handling process of "early warning-lock-alarm-passive response" is designed, including the initial early warning stage, temporary lock stage, active alarm stage, passive authentication stage, and process reset rules. The initial warning stage is initiated immediately after the electricity meter is connected to the power grid and powered on. It automatically sends an authentication request to the data acquisition terminal with a fixed short interval. At the same time, the electricity meter records log information such as the time of each authentication and the code matching result in real time. The temporary lockout phase is when the energy meter automatically switches to the temporary lockout phase after multiple consecutive authentication failures in the primary warning phase. The frequency of sending authentication requests to the data acquisition terminal is adjusted to be extended. During this period, the energy metering module operates normally and continuously attempts to establish effective authentication with the terminal. The active alarm phase is initiated before entering the passive authentication phase if authentication is not completed within the temporary locking phase and the cumulative power-on time of the electricity meter is about to exceed 24 hours (adjusted as appropriate). This involves automatically searching for the nearest data acquisition terminal within the signal coverage area via the communication module and uploading alarm information containing "the device's unique hardware code, cumulative unauthenticated time, and location characteristics (such as the area of the distribution station matching the signal strength)." Upon receiving the alarm, the data acquisition terminal immediately synchronizes it to the data acquisition system, which automatically generates an "Unknown Device Access Risk" warning, pushes it to the marketing front end, and marks the warning level as "medium," along with the core information of the alarming device for maintenance personnel to verify. The passive authentication phase refers to the period after the active alarm is completed. During this phase, the energy meter no longer actively initiates authentication requests, but only keeps the communication interface on standby. It only responds to authentication commands and uploads coded information when the data acquisition terminal actively calls it. The process reset rule is that, regardless of any of the above stages, as long as the electricity meter goes through the process of power outage and power restoration, the authentication status will be automatically reset, and the complete authentication process will be restarted from the initial warning stage. Throughout the process, only the display remains inactive, ensuring that the offline table code cannot be retrieved if it is lost or misappropriated.
[0057] Furthermore, the activated display module 4 of the energy meter specifically includes: After receiving the encrypted activation command from the marketing system forwarded by the data acquisition terminal, the electricity meter activates the electricity meter screen and displays it normally, allowing offline display of meter code data. At the same time, based on the parameters in the activation command, a short-term local authorization token is automatically generated. The token's validity period can be set according to actual operation and maintenance needs, providing permission support for normal screen display in subsequent weak network offline scenarios.
[0058] If the electricity meter fails to pass dual-signature authentication (code mismatch, abnormal location information, or no instruction received), it will remain in a black screen state with no display. Although the metering and storage modules can work normally, the meter code cannot be displayed offline, completely losing the value of offline metering.
[0059] Furthermore, the offline adaptation module 5 for weak network scenarios specifically includes: In the event of weak or interrupted network conditions such as remote mountainous areas or temporary construction sites, the electricity meter can continue to display data using a local authorization token. The meter will store electricity consumption data in the built-in Flash chip at fixed intervals (the storage capacity supports long-term data backup). The binding relationship between the electricity meter and the data acquisition terminal will also remain fixed and will not fluctuate with the network status. After the network is restored, the electricity meter will automatically upload the metering data and operation logs from the offline period first. The backend will update the local authorization token after verifying the integrity of the data.
[0060] If an electricity meter is lost, misappropriated, disassembled and moved to a new scenario and then reconnected to power, it will automatically revert to a screenless state because it cannot match the new scenario's data acquisition terminal code, cannot obtain new activation instructions, and the original local authorization token will become invalid. In this case, it can only perform metering and storage, and cannot read the meter code offline, thus preventing its illegal use from the root. At the same time, the electricity meter will record the abnormal status and upload it to the marketing system when it is connected to the network again, so that maintenance personnel can check it.
[0061] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. The methods disclosed in the embodiments are described simply because they correspond to the systems disclosed in the embodiments; relevant details can be found in the method section.
[0062] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0063] In the embodiments provided by this invention, it should be understood that the disclosed systems, methods, and approaches can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.
[0064] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0065] In addition, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit.
[0066] Similarly, in the various embodiments of the present invention, each processing unit can be integrated into a functional module, or each processing unit can exist physically, or two or more processing units can be integrated into a functional module.
[0067] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0068] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0069] The above-disclosed embodiments are merely preferred embodiments of the present invention, but the present invention is not limited thereto. Any non-creative variations that can be conceived by those skilled in the art, as well as any improvements and modifications made without departing from the principles of the present invention, should fall within the protection scope of the present invention.
Claims
1. A method for preventing the loss of an electricity meter by disabling it based on code verification, characterized in that, Includes the following steps: S1, the steps of encoding generation and encrypted forwarding, in which: Once the electricity meter is installed and powered on, it searches for and connects to the preset target acquisition terminal. The acquisition terminal receives the unique hardware code from the electricity meter and integrates it with the acquisition terminal's own asset code and the corresponding transformer area and line location information into an encrypted data packet, which is then forwarded to the binding layer. S2, the steps of binding layer verification and association reporting, in which: The binding layer receives encrypted data packets from the data acquisition terminal and performs double verification on the received encrypted data packets. After the verification is successful, the binding relationship between the energy meter and the data acquisition terminal is established within the binding layer, and the binding relationship record is synchronized to the authentication layer. S3, the steps for dual-signature activation and exception handling at the authentication layer, in which: The authentication layer performs dual-signature verification and authentication on the electricity meter and the data acquisition terminal. After the dual-signature verification and authentication is successful, an encrypted activation command is generated. After receiving the activation command issued by the authentication layer, the data acquisition terminal forwards the command to the corresponding electricity meter. S4. Steps to enable the display of the activated electricity meter. In this step: The electricity meter receives the activation command forwarded by the data acquisition terminal, activates the electricity meter screen and displays it normally; and automatically generates a short-term local authorization token according to the parameters in the activation command. S5, the steps for offline adaptation in weak network scenarios, in which: When the network is weak or disconnected, the electricity meter maintains its display function through a local authorization token and stores the electricity consumption data to the built-in chip at fixed intervals.
2. The method according to claim 1, characterized in that, The electricity meter mentioned in step S1 includes an ID chip. A unique hardware code is written into the ID chip when it leaves the factory. The encoding format follows the current electricity meter asset coding standard of State Grid Corporation of China. The unique hardware code includes the user unit code, asset type code, production sequence and verification information. The data acquisition terminal uses the current asset coding system in the power industry. Furthermore, the asset code is associated with the location information of the transformer station and line to which the data acquisition terminal belongs.
3. The method according to claim 2, characterized in that, The specific steps for associating the asset code and location information of the data acquisition terminal are as follows: During the installation and debugging of the data acquisition terminal, the asset code of the data acquisition terminal is bound and entered with the number of the substation and line location information through the binding layer, thereby completing the association between the asset code and location information of the data acquisition terminal.
4. The method according to claim 3, characterized in that, The method uses a combination of static base code and dynamic check code for encoding. The static base code includes the unit code, asset type code, production sequence and check information. The unit code used is the unified power supply unit code of the State Grid; the asset type code is formulated according to the State Grid equipment classification; the product serial number is arranged by the manufacturer according to the State Grid specifications, including the product's production date and serial number increment information. The dynamic verification code is used to verify the static basic code using the State Grid's standard cyclic redundancy check algorithm, and the result is used as the dynamic verification code to check whether the encoding has been tampered with or errors have occurred during transmission or storage. If the verification fails, an abnormal alarm is triggered to the background.
5. The method according to claim 4, characterized in that, Step S2 includes: The location information of the target acquisition terminal area and line is pre-set in the binding layer, and the asset code of the acquisition terminal is entered in the binding layer; The binding layer performs dual verification of the coding matching between the energy meter and the data acquisition terminal, as well as the validity of the location information of the data acquisition terminal. After the verification is successful, the binding relationship between the energy meter and the data acquisition terminal is established, a binding record is generated, and the record is sent to the authentication layer.
6. The method according to claim 5, characterized in that, Step S3 also includes a dual-signature verification and authentication failure handling process, which includes a primary warning stage, a temporary lock stage, an active alarm stage, a passive authentication stage, and process reset rules. The initial warning stage is specifically initiated as follows: the initial warning stage is activated immediately after the electricity meter is connected to the power grid and powered on, and an authentication request is sent to the data acquisition terminal. The request interval is set to a fixed short period. At the same time, the electricity meter records log information such as the time of each authentication and the code matching result in real time. The temporary locking phase is as follows: after multiple consecutive authentication failures in the primary warning phase, the electricity meter enters the temporary locking phase, and the frequency of sending authentication requests to the data acquisition terminal is increased. During this period, the electricity metering module operates normally and continuously attempts to establish effective authentication with the data acquisition terminal. The active alarm phase is as follows: if authentication is not completed within the temporary locking phase and the cumulative power-on time of the electricity meter is about to exceed the preset time, the active alarm process will be initiated before entering the passive authentication phase; the active alarm process searches for the nearest acquisition terminal within the signal coverage area to upload alarm information, the acquisition terminal receives the alarm information and synchronizes it to the binding layer, the binding layer automatically generates an "unknown device access risk" warning, pushes it to the front end and marks the warning level; The passive authentication phase specifically refers to the period after the active alarm process is completed, during which the electricity meter formally enters the passive authentication phase. During this stage, authentication requests are no longer initiated proactively. The communication interface remains on standby, and authentication instructions are only responded to and encoded information is uploaded when the data collection terminal initiates a call. The process reset rule is as follows: regardless of any of the above stages, as long as the electricity meter goes through the process of power outage and power restoration, the authentication status will be automatically reset, and the complete authentication process will be restarted from the initial warning stage.
7. The method according to claim 6, characterized in that, Step S4 specifically involves: After receiving the activation command, the electricity meter activates the meter screen and begins to display normally; based on the parameters in the activation command, a short-term local authorization token is automatically generated; if the electricity meter fails to pass dual-signature authentication, it will remain in a black screen state with no display; it can measure and store data normally, but cannot display meter readings offline. The electricity meter failed dual-signature authentication in three cases: code mismatch, abnormal location information, or no instruction received.
8. The method according to claim 7, characterized in that, Step S5 specifically includes: In scenarios with weak or no network, the electricity meter maintains its display function by relying on a local authorization token, stores electricity consumption data in the built-in chip at fixed intervals, and keeps the binding relationship between the code and the data acquisition terminal fixed. After the network is restored, the electricity meter uploads the metering data and operation logs from the offline period, and the authentication layer updates the local authorization token after verifying the integrity of the data; If an electricity meter is lost, misappropriated, disassembled and moved to a new scene and then reconnected to power, the electricity meter will automatically revert to a screenless state after the local authorization token expires. It will only support metering and storage and will not be able to read the meter code offline. At the same time, the electricity meter records abnormal states and uploads them to the authentication layer when the active alarm stage is triggered.
9. A loss prevention system based on code verification to disable an electricity meter, specifically comprising: The encoding generation and encryption forwarding module contains: Once the electricity meter is installed and powered on, it searches for and connects to the preset target acquisition terminal. The acquisition terminal receives the unique hardware code from the electricity meter and integrates it with the acquisition terminal's own asset code and the corresponding transformer area and line location information into an encrypted data packet, which is then forwarded to the binding layer. The binding layer verification and association reporting module contains: The binding layer receives encrypted data packets from the data acquisition terminal and performs authentication based on the encrypted data packets. The binding layer performs double verification on the received encrypted data packets. After the verification is successful, the binding relationship between the energy meter and the data acquisition terminal is established within the binding layer, and the binding relationship record is synchronized to the authentication layer. The authentication layer dual-signature activation and exception handling module includes: The authentication layer performs dual-signature verification. After the dual-signature verification is successful, the authentication layer generates an encrypted activation command. After receiving the activation command issued by the authentication layer, the data acquisition terminal forwards the command to the corresponding electricity meter. The activated electricity meter displays the meter's module, which contains: The electricity meter receives the activation command forwarded by the data acquisition terminal, activates the electricity meter screen and displays it normally; and generates a short-term local authorization token according to the parameters in the activation command. The offline adaptation module for weak network scenarios includes: When the network is weak or disconnected, the electricity meter maintains its display through a local authorization token and stores the electricity consumption data to the built-in chip at fixed intervals.
10. The system according to claim 9, characterized in that, The system adopts a three-level architecture of hardware layer, binding layer, and authentication layer. Data interaction between the layers relies entirely on HPLC high-speed power line communication for transmission, and all interactive data is encrypted using the SM4 national cryptographic algorithm.