A smart electric meter
By processing sensitive measurement data and verification sensitive data by the security module, the problem that the smart meter main controller is susceptible to malicious tampering is solved, the security of the meter is improved, and the reliability of the data and the protection of user interests are ensured.
Patent Information
- Application Number
- CN201810865280.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-08-01
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2038-08-01
AI Technical Summary
Existing smart meters are susceptible to malicious tampering when processed by the main controller, resulting in low data security and inability to effectively protect user interests.
Design a smart meter that directly processes sensitive measurement data and verification sensitive data by the security module to avoid the risk of malicious tampering of the main controller during data processing and improve the security of the meter. The specific implementation is that after the communication module receives the data from the main station, it determines its type. If it is sensitive data, it is forwarded to the security module for processing and verification to ensure the authenticity and legality of the data.
It effectively avoids the risk of malicious tampering by the main controller during processing, improves the security of smart meters, ensures the reliability and integrity of measurement values and user instructions, and protects the interests of users.
Smart Images

Figure CN108872664B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of automated electronic products, and in particular to a smart electric meter. Background Art
[0002] Smart meters are the terminals of smart grids. In addition to the basic electricity consumption metering function of traditional meters, they also have many intelligent functions such as two-way multi-rate metering, user-side control and anti-electricity theft.
[0003] The structure of common smart meters is as follows: Figure 1 As shown, it includes a main controller, a communication module, a meter, a security module, a display and a controllable switch. The main controller performs corresponding operations under the control of the master station, such as reading the meter value of the meter, controlling the controllable switch to close to achieve power off, etc. In the process of performing the corresponding operations, the security module provides encryption or decryption services for the main controller. However, this structure of smart meters still has great risks. When hackers maliciously attack and control the main controller, the security module cannot find that the data sent by the main controller is false data, and cannot play a role in protecting data security. For example, after the main controller obtains the metering value, the hacker tampered with the data and sent it to the security module for encryption and other security processing, and finally the main controller sent it to the main station through the communication module. It can be seen that in the entire data processing process, the security module did not play a role in protecting the authenticity of the data, and the main station could not find that the data was tampered with when the main controller processed it; for example, after the smart meter receives the power-off command, it is usually parsed by the main controller and the security module verifies the legitimacy of the command. The main controller will execute the power-off command only after the command verification is passed. When the main controller is maliciously controlled, the main controller can skip the verification link and directly send a power-off signal to the controllable switch, resulting in malicious power-off. It can be seen that the current smart meters are less secure and the interests of users are easily infringed.
[0004] Therefore, how to provide a solution that can solve the above technical problems is a problem that technicians in this field currently need to solve. Summary of the invention
[0005] The purpose of this application is to provide a smart electric meter, which avoids the risk of malicious tampering during processing by a main controller, improves the security of the electric meter, and better protects the interests of users.
[0006] In order to solve the above technical problems, the present application provides a smart electric meter, comprising:
[0007] A meter for measuring the amount of electricity;
[0008] A communication module for transmitting data;
[0009] A main controller connected to the communication module is used to receive data sent by the main station through the communication module, and determine whether the data is metering sensitive data. If so, forward it to the security module, otherwise perform corresponding operations according to the data;
[0010] The security module is connected to the main controller and the meter respectively, and is used to perform corresponding security operations on the metered value of the meter according to the metering sensitive data.
[0011] Preferably, the smart meter further includes:
[0012] a controllable switch connected to the safety module;
[0013] The main controller is further used to determine whether the data is verification sensitive data, and if so, forward it to the security module, otherwise, perform corresponding operations according to the data;
[0014] The security module is also used to verify the legitimacy of the verification-type sensitive data, and after the verification-type sensitive data passes the verification, controls the controllable switch to close to supply power to the user corresponding to the controllable switch, or controls the controllable switch to open to cut off power to the user corresponding to the controllable switch according to the verification-type sensitive data.
[0015] Preferably, the metering sensitive data includes metering power data;
[0016] The security module is specifically used to obtain the metering value of the meter according to the metering power data, perform security processing on the metering value, and send the metering value after security processing to the main controller so that the main controller reports it to the main station.
[0017] Preferably, the metering sensitive data also includes billing data;
[0018] The security module is specifically used to obtain the metering value of the meter according to the billing data, and complete the billing according to the preset electricity price and the metering value.
[0019] Preferably, the smart meter further includes:
[0020] A display connected to the main controller and used to display the measurement value;
[0021] The main controller is also used to restore the metering value after safety processing and display it through the display.
[0022] Preferably, the process of securely processing the measurement value is specifically as follows:
[0023] The meter value is encrypted and / or a message authentication code and / or a signature is calculated.
[0024] Preferably, the process of verifying the legitimacy of the verification sensitive data is specifically as follows:
[0025] The legitimacy of the verification data is verified by decryption and / or signature authentication and / or verification of the message authentication code.
[0026] Preferably, the controllable switch is a relay.
[0027] Preferably, the display is a liquid crystal screen.
[0028] The present application provides a smart electric meter, including a meter for measuring electricity; a communication module for transmitting data; a main controller connected to the communication module, used to receive data sent by a main station through the communication module, and determine whether the data is metering sensitive data, if so, forward it to the security module, otherwise perform corresponding operations according to the data; a security module connected to the main controller and the meter, respectively, and used to perform corresponding security operations on the metered value of the meter according to the metering sensitive data.
[0029] In this application, sensitive metering data is directly processed by a security module. The security module is directly connected to the meter and can directly perform secure operations on the metered value of the meter. In other words, the metered value is not processed by the main controller but by a very secure security module, which avoids the risk of malicious tampering during processing by the main controller, improves the security of the meter, and better protects the interests of users. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the prior art and the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0031] Figure 1 It is a structural schematic diagram of a smart electric meter in the prior art;
[0032] Figure 2 A schematic diagram of the structure of a smart meter provided in this application;
[0033] Figure 3 A schematic diagram of the structure of another smart meter provided in this application. DETAILED DESCRIPTION
[0034] The core of the present application is to provide a smart electric meter, which avoids the risk of malicious tampering during processing by the main controller, improves the security of the electric meter, and better protects the interests of users.
[0035] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] Please refer to Figure 2 , Figure 2 A schematic diagram of the structure of a smart meter provided for this application includes:
[0037] A meter 1 for measuring the amount of electricity;
[0038] Communication module 2 for transmitting data;
[0039] The main controller 3 connected to the communication module 2 is used to receive the data sent by the main station through the communication module 2, and determine whether the data is sensitive data of measurement type. If so, it is forwarded to the security module 4, otherwise, corresponding operations are performed according to the data;
[0040] A security module 4 is connected to the main controller 3 and the meter 1 respectively, and is used to perform corresponding security operations on the metering value of the meter 1 according to the metering sensitive data.
[0041] Specifically, in order to solve the problems raised in the background technology, the present application improves the structure of the smart meter. Since the metering value of the meter 1 belongs to the important and key information of the user, there is no risk of being tampered with, and the main controller 3 is more vulnerable to hacker attacks. If the metering value is read by the main controller 3, there is a risk of tampering at the metering value of the attacked main controller 3. The security module 4 is "bypassed", and the security module 4 and the main station will not find that the data has been tampered with; therefore, the present application connects the meter 1 with the security module 4, and the security module 4 obtains the metering value. The security module 4 is provided with anti-attack software, which will not be maliciously controlled, and there is no risk of the obtained metering value being tampered with. Therefore, the metering value processed by the security module 4 can ensure the reliability and integrity of the metering value, and the meter can be safer. In addition, when the data sent by the main station is not sensitive data of metering, that is, it does not involve important and key information of the user, the main controller 3 directly responds accordingly, so that it can cooperate with the security module 4 to reduce the pressure of data processing.
[0042] It should be noted that the metering value here can be the power consumption of the user corresponding to the smart meter, and the metering sensitive data here is sent by the master station, which is a type of instruction for the metering value, such as reporting the metering value and billing. The communication module 2 here can be a wireless communication module, such as a Wi-Fi (Wireless-Fidelity) network, or a wired communication module, which is not limited in this application.
[0043] In addition, when the security module 4 is connected to the hardware such as the meter 1, it can be through interfaces such as SPI (Serial Peripheral Interface) and UART (Universal Asynchronous Receiver / Transmitter), or other interfaces, which are not limited in this application. This application can be used not only for smart meters, but also for other industrial control equipment that requires the use of security chips.
[0044] The present application provides a smart electric meter, including a meter for measuring electricity; a communication module for transmitting data; a main controller connected to the communication module, used to receive data sent by a main station through the communication module, and determine whether the data is metering sensitive data, if so, forward it to the security module, otherwise perform corresponding operations according to the data; a security module connected to the main controller and the meter, respectively, and used to perform corresponding security operations on the metered value of the meter according to the metering sensitive data.
[0045] In this application, sensitive metering data is directly processed by a security module. The security module is directly connected to the meter and can directly perform secure operations on the metered value of the meter. In other words, the metered value is not processed by the main controller but by a very secure security module, which avoids the risk of malicious tampering during processing by the main controller, improves the security of the meter, and better protects the interests of users.
[0046] Based on the above embodiments:
[0047] As a preferred embodiment, the smart electric meter further includes:
[0048] A controllable switch 5 connected to the safety module 4;
[0049] The main controller 3 is also used to determine whether the data is verification sensitive data. If so, it is forwarded to the security module 4, otherwise, corresponding operations are performed according to the data;
[0050] The security module 4 is also used to verify the legitimacy of the verification-type sensitive data, and after the verification-type sensitive data passes the verification, controls the controllable switch 5 to close to supply power to the user corresponding to the controllable switch 5, or controls the controllable switch 5 to open to cut off power to the user corresponding to the controllable switch 5.
[0051] Specifically, in order to further improve the safety of the electric meter, the verification sensitive data sent by the master station is still processed by the security module 4. The verification sensitive data here can be an instruction to control the action of the controllable switch 5, such as closing the controllable switch 5 or opening the controllable switch 5. For this type of data, the security module 4 needs to verify its authenticity. After determining that the data is true (legal), the security module 4 sends a control signal to the controllable switch 5 connected to it. Please refer to Figure 3 Specifically, when the verification-type sensitive data is to close the controllable switch 5, the security module 4 sends a closing control signal to the controllable switch 5 connected thereto. After the controllable switch 5 is closed, the user's electric meter is connected to the power supply grid, and the power supply grid can supply power to the user. When the verification-type sensitive data is to disconnect the controllable switch 5, the security module 4 sends a disconnecting control signal to the controllable switch 5 connected thereto. After the controllable switch 5 is disconnected, the user's electric meter is disconnected from the power supply grid, and the user is cut off from power.
[0052] In addition, in addition to the above-mentioned measurement-related sensitive data and verification-related sensitive data, other data involving important information sent by the master station may also be processed accordingly by the security module 4 as needed, and this application does not make any special limitations here.
[0053] As a preferred embodiment, the metering sensitive data includes metering power data;
[0054] The security module 4 is specifically used to obtain the metering value of the meter 1 according to the metering power data, perform security processing on the metering value, and send the metering value after security processing to the main controller 3 so that the main controller 3 can report it to the main station.
[0055] Specifically, the metered electricity data here is the reported metered value in the first embodiment, that is, the master station requires the main controller 3 of the electric meter to return the user's electricity consumption (metered value), and the user's electricity consumption is measured by the meter 1. Therefore, after receiving the metered electricity data forwarded by the main controller 3, the security module 4 obtains the metered value and performs security processing such as encrypting the metered value to improve data security, and then reports it to the master station via the main controller 3.
[0056] As a preferred embodiment, the metering sensitive data also includes billing data;
[0057] The security module 4 is specifically used to obtain the metering value of the meter 1 according to the billing data, and complete the billing according to the preset electricity price and the metering value.
[0058] Specifically, in order to further improve the security of the electricity meter, the metering sensitive data also includes billing data, that is, the master station requires the electricity meter to complete the billing of the user's electricity consumption. Specifically, the security module 4 can pre-store data such as electricity prices. After the security module 4 obtains the metering value, it calculates the user's electricity bill based on the metering value and the electricity price. In addition, if the security module 4 also includes the amount of electricity paid by the user, the security module 4 can also deduct the corresponding amount based on the calculated electricity bill, thereby completing the billing function.
[0059] In addition, in addition to electricity metering data and billing data, metering sensitive data may also be other data, which is not limited in this application.
[0060] As a preferred embodiment, the smart electric meter further includes:
[0061] A display connected to the main controller 3 and used to display the measurement value;
[0062] The main controller is also used to restore the metering value after safety processing and display it on the display.
[0063] Specifically, in order to improve the intelligence of the electricity meter, when the user wants to know the electricity consumption, the user can make the electricity meter display the metering value through the main station. For example, the user sends an electricity display request to the main station, and the main station controls the electricity meter to display the electricity. Therefore, the smart meter of the present application also includes a display, and the display can be connected to the main controller 3. The main controller 3 receives the metering value after security processing by the security module 4, and restores the metering value after security processing, for example, verifies whether the MAC value is consistent. After consistency, remove the MAC value calculated by the security module 4, and restores the metering value after security processing to facilitate display on the display.
[0064] It should be noted that the display here can be a liquid crystal screen, or a LED display screen or other displays, and this application does not limit this.
[0065] As a preferred embodiment, the process of safely processing the measurement value is specifically as follows:
[0066] The meter value is encrypted and / or a message authentication code and / or a signature is calculated.
[0067] Specifically, when the measurement value is securely processed, encryption, calculation of message authentication code (MAC value) and signature can be used. Signature is a method of identity authentication using a key. The method of securely processing the measurement value can be but is not limited to the above-mentioned methods.
[0068] As a preferred embodiment, the process of verifying the legitimacy of sensitive authentication data is specifically as follows:
[0069] Verify the legitimacy of the authentication data by decrypting and / or signing and / or verifying the message authentication code.
[0070] Specifically, when the security module 4 verifies verification-type sensitive data, it can be decrypted using a set password. If decryption is possible, it means that the verification-type sensitive data is legal. The legality of the verification-type sensitive data can also be determined through signature authentication and message authentication code verification. Of course, the verification method can also be other, which is not limited in this application.
[0071] As a preferred embodiment, the controllable switch 5 is a relay.
[0072] Specifically, considering the cost of the electric meter, the controllable switch 5 can be a common low-priced relay, and of course it can also be other controllable switches 5, as long as it can realize the present application, and the present application does not make any limitation here.
[0073] As a preferred embodiment, the display is a liquid crystal screen.
[0074] Specifically, the display may be a liquid crystal screen, or an LED display screen, or other displays, which is not limited in this application.
[0075] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0076] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the sentence "comprise a..." do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.
[0077] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A smart electric meter, characterized in that: include: A meter for measuring the amount of electricity; A communication module for transmitting data; A main controller connected to the communication module is used to receive data sent by the main station through the communication module, and determine whether the data is metering sensitive data. If so, forward it to the security module, otherwise perform corresponding operations according to the data; The security module is connected to the main controller and the meter respectively and is used to perform corresponding security operations on the metered value of the meter according to the metering sensitive data; Wherein, the security module is also used to obtain the measurement value; Furthermore, the metering sensitive data includes metering power data; The security module is specifically used to obtain the metering value of the meter according to the metering power data, perform security processing on the metering value, and send the metering value after security processing to the main controller so that the main controller reports it to the main station.
2. The smart electric meter according to claim 1, characterized in that: The smart meter also includes: a controllable switch connected to the safety module; The main controller is further used to determine whether the data is verification sensitive data, and if so, forward it to the security module, otherwise, perform corresponding operations according to the data; The security module is also used to verify the legitimacy of the verification-type sensitive data, and after the verification-type sensitive data passes the verification, controls the controllable switch to close to supply power to the user corresponding to the controllable switch, or controls the controllable switch to open to cut off power to the user corresponding to the controllable switch according to the verification-type sensitive data.
3. The smart electric meter according to claim 1, characterized in that: The metering sensitive data also includes billing data; The security module is specifically used to obtain the metering value of the meter according to the billing data, and complete the billing according to the preset electricity price and the metering value.
4. The smart electric meter according to claim 1, characterized in that: The smart meter also includes: A display connected to the main controller and used to display the measurement value; The main controller is also used to restore the metering value after safety processing and display it through the display.
5. The smart electric meter according to claim 1, characterized in that: The process of safely processing the measurement value is specifically as follows: The meter value is encrypted and / or a message authentication code and / or a signature is calculated.
6. The smart electric meter according to claim 2, characterized in that: The process of verifying the legitimacy of the verification sensitive data is specifically as follows: The legitimacy of the verification data is verified by decryption and / or signature authentication and / or verification of the message authentication code.
7. The smart electric meter according to claim 2, characterized in that: The controllable switch is a relay.
8. The smart electric meter according to claim 4, characterized in that: The display is a liquid crystal screen.
