Intelligent water meter management method and system based on hybrid encryption algorithm

By adopting a hybrid encryption algorithm in the smart water meter and combining SM2 and SM4 algorithms to generate asymmetric key pairs and key groups, the problem of low security in smart water meter data transmission is solved, and higher data security and user privacy are achieved Protect.

CN119484067APending Publication Date: 2025-02-18CHONGQING SMART METER GRP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411582678.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The data transmission of smart water meter is low, and is easily leaked and tampered with, affecting user privacy and data security.

Method used

Using a hybrid encryption algorithm, combined with asymmetric encryption algorithm SM2 and symmetric encryption algorithm SM4, asymmetric key pairs of smart water meter devices and key groups of the platform are generated, and data is transmitted through mixed encryption and signatures.

Benefits of technology

It effectively improves the security of smart water meter data communication, reduces the complexity of key management and computing resource overhead, and enhances the security of data transmission and user privacy protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484067A_ABST
    Figure CN119484067A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent water meter management method and system based on a hybrid encryption algorithm. The method comprises the steps that 1, intelligent water meter equipment generates an asymmetric key pair of the intelligent water meter equipment through an SM2 algorithm, wherein the asymmetric key pair comprises a public key Q12; the intelligent water meter management platform is provided with a platform server, and the platform server generates a platform communication key group and a security key group through a random key generation algorithm; 2, the intelligent water meter equipment exchanges a symmetric key P1 and an asymmetric key Q22 of a platform communication key group and communication keys Q32 and Q12 of a security key group with the intelligent water meter management platform; and step 3, the intelligent water meter equipment transmits equipment parameters and acquired data to the platform server after mixed encryption and signature of an algorithm SM4 and an algorithm SM2. The safety of data communication of the intelligent water meter can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of smart water meters, and in particular relates to a smart water meter management method and system based on a hybrid encryption algorithm. Background Art

[0002] With the rapid advancement of urbanization and the improvement of people's living standards, the management and utilization of water resources have become increasingly important. Traditional water meters have been unable to meet the needs of modern urban water resource management due to their single function, inconvenient reading, easy damage and theft. Therefore, as a new generation of water meter equipment, smart water meters have gradually gained favor in the market with their advanced technology and convenient functions. Smart water meters use advanced microelectronics technology, sensor technology and modern communication technology to measure and record water consumption in real time and accurately, and transmit it to the data center through the network to achieve remote monitoring and management. However, with the development of smart water meters and data mining, water meter data is prone to leakage and tampering. Through smart water meter data, it is possible to leak information such as user water consumption and time, which may involve user privacy. Therefore, the security of smart water meter data transmission has become an urgent problem to be solved.

[0003] Application number: CN201310415168.4, Publication number: CN104464098A, a security management device for an intelligent water meter IC card system, comprising a processor, a first data interface, a second data interface and a FLASH memory, wherein the processor is respectively connected to the first data interface, the second data interface and the FLASH memory, and the information security management module performs identity authentication when exchanging data with the water sales management system through the IC card information exchange module, thereby ensuring the legitimacy of the communication between the two; and different keys can be used to realize the hierarchical management of the water company, and the 3DES / AES multi-level encryption method is adopted, so that the key security is relatively high, and the key can be upgraded in real time through the program download port on the information security management module, thereby avoiding the risk brought by key leakage. This patent application adopts 3DES / AES to encrypt data, which are both symmetric encryption algorithms. The security of symmetric encryption algorithms depends on the storage of encryption keys. Keys are easily leaked and the security is relatively low. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is: how to provide a smart water meter management method based on a hybrid encryption algorithm to effectively improve the security of smart water meter data communication.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solutions: a smart water meter management method and system based on a hybrid encryption algorithm, comprising the following steps;

[0006] Step 1: The smart water meter device generates an asymmetric key pair of the smart water meter device through an asymmetric encryption algorithm SM2, and the asymmetric key pair includes a public key Q12 of the smart water meter device; the smart water meter management platform is provided with a platform server, and the platform server generates a platform communication key group and a security key group through a random key generation algorithm;

[0007] Step 2: The smart water meter device exchanges the platform communication symmetric key P1 and the platform communication asymmetric key Q22 of the platform communication key group, the platform security communication key Q32 of the security key group, and the smart water meter device public key Q12 with the smart water meter management platform;

[0008] Step 3: The smart water meter device transmits the device parameters and collected data to the platform server after hybrid encryption and signing using the symmetric encryption algorithm SM4 and the asymmetric encryption algorithm SM2.

[0009] The step 2 includes: when the smart water meter device is initially registered, the smart water meter device public key Q12 and the platform security communication key Q32 are exchanged with the smart water meter management platform through the proximal communication device.

[0010] The step one comprises:

[0011] Step S1: The smart water meter device generates a random asymmetric key pair Q11 and Q12 through an asymmetric encryption algorithm SM2; wherein Q11 is a private key of the smart water meter device, and Q12 is a public key of the smart water meter device;

[0012] Step S2: The platform server generates a symmetric key, namely, the platform communication symmetric key P1, through the symmetric encryption algorithm SM4; the platform server generates two sets of asymmetric key pairs, namely, the platform communication asymmetric key Q21 and the platform communication asymmetric key Q22, and the platform security communication key Q31 and the platform security communication key Q32, through the asymmetric encryption algorithm SM2;

[0013] The platform communication key group includes the platform communication symmetric key P1, the platform communication asymmetric key Q21 and the platform communication asymmetric key Q22; the security key group includes the platform security communication key Q31 and the platform security communication key Q32.

[0014] Among them, Q21 is the platform communication private key, Q22 is the platform communication public key; Q31 is the secure communication private key, and Q32 is the secure communication public key.

[0015] The step 2 comprises: step S3: based on the proximal communication device, synchronizing the smart water meter device public key Q12 of the smart water meter device to the smart water meter management platform, and configuring the platform security communication key Q32 to the smart water meter device;

[0016] Step S4: The smart water meter management platform encrypts the platform communication symmetric key P1 and the platform communication asymmetric key Q22 that need to be sent through the asymmetric encryption algorithm SM2 and the smart water meter device public key Q12, and uses the platform security communication key Q31 to authenticate the signature of the sent data, forming a communication key sending frame and sending it to the smart water meter device;

[0017] Step S5: After the platform security key Q32 is successfully configured, the smart water meter device initiates a communication key request; after receiving the communication key sending frame sent by the smart water meter management platform, the smart water meter device verifies the signature through the secure communication public key Q32; after the signature is passed, the encrypted data in the communication key sending frame is decrypted through the smart water meter device private key Q11, and the platform communication symmetric key P1 and the platform communication asymmetric key Q22 are synchronized.

[0018] The process of transmitting the smart water meter equipment parameters and the collected data in step 3 includes:

[0019] Step S11: the smart water meter device combines the parameters to be reported and the collected data into a data frame, and then encrypts the data frame using the symmetric encryption algorithm SM4 and the platform communication symmetric key P1 to form a ciphertext frame;

[0020] Step S12: extract the message digest of the ciphertext frame through the SM3 algorithm, digitally sign the message through the asymmetric encryption algorithm SM2 algorithm and the private key Q11 of the smart water meter device, and combine it with the ciphertext frame into a complete upload data frame;

[0021] Step S13: After receiving the uploaded data frame, the smart water meter management platform first calculates the summary value H of the ciphertext data segment through the SM3 algorithm; then verifies the digital signature of the uploaded data frame through the asymmetric encryption algorithm SM2 and the public key Q12 of the smart water meter device, and compares the summary value H with the verification result Q;

[0022] Step S14: When the summary value H and the signature verification result Q are equal, the smart water meter management platform decrypts the ciphertext data segment using the platform communication symmetric key P1 to obtain the data in the uploaded data frame.

[0023] Synchronously upload the data in the data frame to the smart water meter management system.

[0024] An intelligent water meter management system based on a hybrid encryption algorithm is provided with the intelligent water meter management method, the key of which is that a platform server, a proximal communication device and an intelligent water meter device are provided;

[0025] The platform server generates a key pair. The platform server generates a platform communication asymmetric key Q21 and a platform communication asymmetric key Q22 through an asymmetric encryption algorithm SM2, and also generates a platform secure communication key Q31 and a platform secure communication key Q32; Q21 is a platform communication private key, and Q22 is a platform communication public key; Q31 is a secure communication private key, and Q32 is a secure communication public key; the platform server generates a platform communication symmetric key P1 through a symmetric encryption algorithm SM4, and the platform communication symmetric key P1 is a platform communication symmetric confidential key;

[0026] The proximal communication device is used to safely and reliably exchange the smart water meter device public key Q12 and the platform secure communication key Q32 of the smart water meter device;

[0027] Smart water meter devices are used to collect water usage information, and transmit smart water meter device parameters and water usage information to the platform server through a mixed encryption of symmetric encryption algorithm SM4 and asymmetric encryption algorithm SM2.

[0028] The key point of the intelligent water meter management system based on the hybrid encryption algorithm is that it also includes platform server instruction transmission:

[0029] After the smart water meter device is successfully configured, the platform server encrypts the platform communication symmetric key P1 and the platform communication asymmetric key Q22 through the smart water meter device public key Q12, and signs and issues the platform communication key instruction S1 through the secure communication private key Q31, and transmits the platform communication key instruction S1 to the smart water meter device;

[0030] The platform server sends the smart water meter device parameter update, encrypts the parameter update instruction through the platform communication symmetric key P1, and signs the sent parameter update instruction ciphertext through the platform communication asymmetric key Q21 to obtain the data frame D1;

[0031] The platform server sends control instructions, encrypts the parameter update instructions through the platform communication symmetric key P1, and signs the sent instruction ciphertext through the platform communication asymmetric key Q21 to obtain the data frame C1;

[0032] Smart water meter equipment receives platform server data:

[0033] After receiving the data, the smart water meter device first verifies the signature of the data frame through the platform communication asymmetric key Q22, and then decrypts it through the symmetric key P1 to obtain the plaintext data, and updates the corresponding parameter data of the smart water meter device. The data frames D1 and C1 are signed and verified through the platform communication asymmetric key Q22, and the updated parameters and updated instructions of the water meter can be obtained after decryption through P1.

[0034] The key point of the intelligent water meter management system based on hybrid encryption algorithm is that it also includes functional modules, which include data sending module, data receiving module and hybrid encryption / decryption module;

[0035] The data sending module uploads the data of the smart water meter device to the platform server or transmits the platform server parameter update or instruction to the smart water meter device. The data sending module uses the platform communication symmetric key P1 to encrypt the data D and generate the encrypted ciphertext data D1; the data sending module uses the asymmetric encryption private key to generate a data signature for the ciphertext data D1.

[0036] The data receiving module transmits parameter updates or instructions issued by the platform server to the smart water meter device or synchronizes the data uploaded by the smart water meter device to the platform server. The data signature is verified by the asymmetric encryption algorithm public key Q22; the ciphertext data D1 is decrypted by the platform communication symmetric key P1 to obtain the plaintext data D.

[0037] The hybrid encryption / decryption module encrypts the data content through the symmetric encryption algorithm SM4; authenticates the signature of the transmitted encrypted data through the asymmetric encryption algorithm SM2; and encrypts and signs the transmitted key information through the asymmetric encryption algorithm SM2.

[0038] Significant effect: The present invention provides a smart water meter management method and system based on a hybrid encryption algorithm, which can effectively improve the convenience of key management in the smart water meter management system and improve the efficiency of key distribution. It can effectively reduce the computing resource overhead and time overhead of the data encryption process; and effectively improve the security of smart water meter data communication. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a flow chart of the method of the present invention; Figure 2 Schematic diagram of key generation and distribution for smart water meter equipment; Figure 3 This is a schematic diagram of key generation and distribution for the smart water meter management platform; Figure 4 This is a schematic diagram of communication data encryption and authentication; Figure 5 Schematic diagram of the communication process between the smart water meter device and the platform server. DETAILED DESCRIPTION

[0046] like Figure 1-Figure 5 As shown, the technical solution of the present invention is as follows:

[0047] A smart water meter communication transmission method based on SM4 and SM2 hybrid encryption includes the following steps:

[0048] Step 1: The smart water meter device generates a device asymmetric key pair through the SM2 random key pair generation algorithm; the smart water meter management platform generates a platform key group and a security key group through the random key generation algorithm.

[0049] Step 2: During the initial registration of the smart water meter, the platform security communication key Q32 and the smart water meter device public key Q12 are exchanged through the proximal communication device.

[0050] Step 3: The smart water meter device transmits the device parameters and collected data to the server after hybrid encryption and signing by SM4 and SM2.

[0051] Furthermore, the key generation and distribution process includes:

[0052] S1: The smart water meter device generates a random asymmetric key pair Q11 and Q12 through the SM2 algorithm;

[0053] S2: The smart water meter management system generates two sets of symmetric keys through the SM4 algorithm, namely the platform communication symmetric key P1; and generates two sets of asymmetric key pairs through the SM2 algorithm, namely the platform communication asymmetric keys Q21 and Q22, and the platform security communication keys Q31 and Q32;

[0054] Figure 3 The China Water Corporation's keys correspond to the above platform communication asymmetric keys Q21 and Q22, and the platform communication symmetric key P1.

[0055] S3: Based on the proximal communication device, synchronize the asymmetric encryption algorithm public key Q12 of the smart water meter device to the smart water meter management system, and configure the platform security communication asymmetric encryption algorithm public key Q32 to the smart water meter end;

[0056] S4: The platform encrypts the platform communication key group (P1 and Q22) to be issued through the SM2 algorithm and the public key Q12 of the smart water meter device, and signs and authenticates the issued data through the secure communication key Q31;

[0057] S5: After the platform security key Q32 is successfully configured, the smart water meter device initiates a communication key request; after receiving the communication key frame sent by the system, the smart water meter device verifies the signature through the secure communication public key Q32; after the signature is passed, the encrypted data is decrypted through its own private key Q11 and the platform communication key group is synchronized.

[0058] Furthermore, the process of transmitting the smart water meter equipment parameters and the collected data includes:

[0059] S11: The smart water meter device combines the parameters to be reported and the collected data into a data packet, and then encrypts the data frame through SM4 and P1;

[0060] S12: extract the message digest of the ciphertext frame through the SM3 algorithm, digitally sign the message through the SM2 algorithm and the private key Q11 of the smart water meter device, and combine it with the ciphertext into a complete data frame;

[0061] S13: After receiving the data frame, the platform first calculates the summary value H of the ciphertext data segment through the SM3 algorithm; then verifies the digital signature of the data frame through SM2 and Q12, and compares the summary value H with the verification result Q;

[0062] S14: When the summary value H and the signature verification result Q are equal, the ciphertext data segment is decrypted by P1, and the data in the data frame is synchronized to the smart water meter management system. The water consumption information is pushed to the charging platform for charging, and the equipment parameters are sent to the supervision platform for monitoring the equipment status.

[0063] S15: Similarly, when the intelligent level management platform sends data or control instructions, the above steps can also be followed.

[0064] Key permission management:

[0065] In the system, there are three groups of keys that need to be managed, and the corresponding keys correspond to different data communication permissions:

[0066] Smart water meter device key: Q11 and Q12, which is an asymmetric key pair; each smart water meter device corresponds to a unique key pair, which can be used as a signature for data upload and decryption of data sent by security control communication;

[0067] Platform communication key group: This key group consists of the symmetric encryption key of SM4 and the asymmetric key pair of SM2, including the symmetric key P1 and the asymmetric keys Q21 and Q22; each data management platform corresponds to a set of keys; the key can be issued as a parameter, encryption, decryption and signature of ordinary command control.

[0068] Secure communication keys: Q31 and Q32, intelligent management system security control keys, which are used to send and update the platform communication key group and secure communication key stored in the smart water meter device.

[0069] Periodic key replacement:

[0070] Smart water meter device keys Q11 and Q12 are not updated during the life cycle of the smart water meter to ensure a one-to-one correspondence between the device and the key;

[0071] In the platform communication key group, the symmetric key P1 is updated in a shorter period (e.g., 24 hours); the asymmetric key pair Q21 and Q22 is updated in a longer period (e.g., 7 days);

[0072] Secure communication keys: Q31 and Q32 are updated on the system platform in a long-term cycle (e.g., one year);

[0073] System composition of intelligent water meter management system based on hybrid encryption algorithm:

[0074] System Components:

[0075] 1. Platform server:

[0076] The platform server plays a core role in the smart water meter management method and system based on SM4 and SM2 hybrid encryption.

[0077] Generate a key pair:

[0078] Generate SM2 platform communication key pair Q21, Q22 and secure communication key pair Q31, Q32; Q21 is the platform communication private key, Q22 is the platform communication public key; Q31 is the secure communication private key, Q32 is the secure communication public key;

[0079] Generate SM4 symmetric key P1, P1 platform communication symmetric secret key.

[0080] Command transmission:

[0081] After the device is configured successfully, the platform communication symmetric key P1 and the platform communication asymmetric key Q22 are encrypted through the public key Q12 of the smart water meter device, and the ciphertext data S1 is signed and issued through the secure communication private key Q31, and the platform communication key instruction S1 is issued and transmitted to the smart water meter end;

[0082] Send the smart water meter parameter update, encrypt the parameter update instruction with the symmetric encryption key P1, and sign the ciphertext of the instruction with the asymmetric encryption key Q21 to obtain the data frame D1;

[0083] Send control instructions, encrypt parameter update instructions with symmetric encryption key P1, and sign the ciphertext of the sent instructions with asymmetric encryption key Q21 to obtain data frame C1;

[0084] Data reception:

[0085] After the device receives the data, it first uses the platform communication asymmetric key Q22 to verify the signature of the data frame. After verification, it decrypts the plaintext data using the symmetric key P1 and updates the corresponding parameter data of the smart water meter.

[0086] Key Update:

[0087] The update cycle of the platform communication asymmetric key is one week, that is, a new platform communication asymmetric key is generated every seven days;

[0088] The symmetric encryption key replacement cycle is one day, that is, a new symmetric encryption key is generated every 24 hours;

[0089] 2. Proximal communication device: used to safely and reliably exchange the initial public key Q12 of the smart water meter and the smart water meter security management public key Q32.

[0090] 3. Smart water meter equipment:

[0091] It is used to collect water consumption information, and transmits device parameters and water consumption information to the smart water meter management system through SM4 and SM2 mixed encryption.

[0092] Functional modules:

[0093] 1. Data sending module

[0094] Upload data from the smart water meter to the server or transmit server parameter updates or instructions to the smart water meter;

[0095] Encrypt data D using symmetric encryption key P1 to generate encrypted data D1;

[0096] Use the asymmetric encryption private key Q31 to generate a data signature for the ciphertext data D1;

[0097] 2. Data receiving module

[0098] Transmit parameter updates or instructions issued by the server to the smart water meter or synchronize data uploaded by the smart water meter to the server;

[0099] Verify the data signature through the asymmetric encryption algorithm public key Q22;

[0100] Using the symmetric encryption key P1, the ciphertext data D1 is decrypted to obtain the plaintext data D;

[0101] 3. Hybrid encryption / decryption module

[0102] Encrypt data content through symmetric encryption algorithm to achieve high efficiency of data encryption;

[0103] The asymmetric encryption algorithm is used to sign and authenticate the transmitted ciphertext data to improve data security and ensure that the data has not been maliciously destroyed or tampered with;

[0104] The transmitted key information is encrypted and signed through an asymmetric encryption algorithm to improve the security of key distribution;

[0105] SM2, SM3, and SM4 are domestic cryptographic algorithms; the main domestic cryptographic algorithms are SM1, SM2, SM3, and SM4. The key length and packet length are both 128 bits. SM1 is symmetric encryption. Its encryption strength is equivalent to AES. This algorithm is not public. When calling this algorithm, it needs to be called through the interface of the encryption chip. SM2 is asymmetric encryption based on ECC; this algorithm has been made public. Because this algorithm is based on ECC, its signature speed and key generation speed are faster than RSA. SM3 message digest. This algorithm has been made public. The verification result is 256 bits. SM4 wireless LAN standard packet data algorithm. Symmetric encryption, key length and packet length are both 128 bits.

[0106] Preferably, the smart water meter device is provided with an electric gate valve and a flow rate sensor. The platform server detects the user's water flow rate L1 through the flow rate sensor and remotely and wirelessly controls the switch of the electric gate valve; if the water flow rate L1 ≥ 0, and L1 ≤ L2, if it lasts for more than time T1, which is usually 8-24 hours, it is determined that the user's water pipe may have a leak, and a possible leak alarm message is sent to the user's mobile terminal, waiting for the user's mobile terminal to reply. If the user replies normally, the platform server ignores the alarm message. L2 is the leak flow rate limit.

[0107] The platform server detects the user's water flow rate L1 through the flow rate sensor; if the water flow rate L1 ≥ L3 and lasts for more than time T2, T2 is usually 8-24 hours, L3> L2, it is judged that the user's water pipe may have a burst or forgotten to close the water valve, and sends a possible water pipe burst or forgotten to close the water valve alarm message to the user's mobile terminal, waiting for the user's mobile phone to reply. If the user replies normally, the platform server ignores the alarm message. If no reply message is received for more than time T3, T3 is usually 10-60 minutes, the smart water meter device is closed through the electric gate valve. The flow rate limit when the L3 water pipe bursts or forgets to close the water valve is usually the flow rate when the water pipe valve is fully open.

[0108] The platform server detects the user's water flow rate L1 through the flow rate sensor; if the user's water flow rate L1 continues to shake violently, the electric gate valve is controlled to be opened appropriately, such as three quarters, and after a delay of T4, the electric gate valve is fully opened. After the water supply is restored after the water supply is cut off, there may be a large number of bubbles in the water, causing the user's water flow rate L1 to continue to shake violently. In order to prevent the violent shaking from damaging the water pipe, the electric gate valve is controlled to be opened appropriately. T4 is 3-10 minutes.

[0109] The above are only preferred implementations of the present invention. It should be pointed out that a number of modifications and improved technical solutions made by those skilled in the art without departing from the technical solution should also be deemed to fall within the scope of protection required by the claims.

Claims

1. A smart water meter management method based on a hybrid encryption algorithm, characterized in that: The method comprises the following steps: Step 1: The smart water meter device generates an asymmetric key pair of the smart water meter device through an asymmetric encryption algorithm SM2, and the asymmetric key pair includes a public key Q12 of the smart water meter device; the smart water meter management platform is provided with a platform server, and the platform server generates a platform communication key group and a security key group through a random key generation algorithm; Step 2: The smart water meter device exchanges the platform communication symmetric key P1 and the platform communication asymmetric key Q22 of the platform communication key group, the platform security communication key Q32 of the security key group, and the smart water meter device public key Q12 with the smart water meter management platform; Step 3: The smart water meter device transmits the device parameters and collected data to the platform server after hybrid encryption and signing using the symmetric encryption algorithm SM4 and the asymmetric encryption algorithm SM2.

2. According to claim 1, a smart water meter management method based on a hybrid encryption algorithm is characterized in that: The step 2 includes: when the smart water meter device is initially registered, the smart water meter device public key Q12 and the platform security communication key Q32 are exchanged with the smart water meter management platform through the proximal communication device.

3. According to claim 1, a smart water meter management method based on a hybrid encryption algorithm is characterized in that: The step one comprises: Step S1: The smart water meter device generates a random asymmetric key pair Q11 and Q12 through an asymmetric encryption algorithm SM2; wherein Q11 is a private key of the smart water meter device, and Q12 is a public key of the smart water meter device; Step S2: The platform server generates a symmetric key, namely, the platform communication symmetric key P1, through the symmetric encryption algorithm SM4; the platform server generates two sets of asymmetric key pairs, namely, the platform communication asymmetric key Q21 and the platform communication asymmetric key Q22, and the platform security communication key Q31 and the platform security communication key Q32, through the asymmetric encryption algorithm SM2; Q21 is the platform communication private key, Q22 is the platform communication public key; Q31 is the secure communication private key, Q32 is the secure communication public key; The platform communication key group includes the platform communication symmetric key P1, the platform communication asymmetric key Q21 and the platform communication asymmetric key Q22; the security key group includes the platform security communication key Q31 and the platform security communication key Q32.

4. According to claim 3, a smart water meter management method based on a hybrid encryption algorithm is characterized in that: The step 2 comprises: step S3: based on the proximal communication device, synchronizing the smart water meter device public key Q12 of the smart water meter device to the smart water meter management platform, and configuring the platform security communication key Q32 to the smart water meter device; Step S4: The smart water meter management platform encrypts the platform communication symmetric key P1 and the platform communication asymmetric key Q22 that need to be sent through the asymmetric encryption algorithm SM2 and the smart water meter device public key Q12, and uses the platform security communication key Q31 to authenticate the signature of the sent data, forming a communication key sending frame and sending it to the smart water meter device; Step S5: After the platform security key Q32 is successfully configured, the smart water meter device initiates a communication key request; after receiving the communication key sending frame sent by the smart water meter management platform, the smart water meter device verifies the signature through the secure communication public key Q32; after the signature is passed, the encrypted data in the communication key sending frame is decrypted through the smart water meter device private key Q11, and the platform communication symmetric key P1 and the platform communication asymmetric key Q22 are synchronized.

5. The intelligent water meter management method based on hybrid encryption algorithm according to claim 4 is characterized in that: The process of transmitting the smart water meter equipment parameters and the collected data in step 3 includes: Step S11: the smart water meter device combines the parameters to be reported and the collected data into a data frame, and then encrypts the data frame using the symmetric encryption algorithm SM4 and the platform communication symmetric key P1 to form a ciphertext frame; Step S12: extract the message digest of the ciphertext frame through the SM3 algorithm, digitally sign the message through the asymmetric encryption algorithm SM2 and the private key Q11 of the smart water meter device, and combine it with the ciphertext frame into a complete upload data frame; Step S13: After receiving the uploaded data frame, the smart water meter management platform first calculates the summary value H of the ciphertext data segment through the SM3 algorithm; then verifies the digital signature of the uploaded data frame through the asymmetric encryption algorithm SM2 and the public key Q12 of the smart water meter device, and compares the summary value H with the verification result Q; Step S14: When the summary value H and the signature verification result Q are equal, the smart water meter management platform decrypts the ciphertext data segment using the platform communication symmetric key P1 to obtain the data in the uploaded data frame.

6. A smart water meter management system based on a hybrid encryption algorithm, provided with the smart water meter management method according to any one of claims 1 to 5, characterized in that: A platform server, a proximal communication device and a smart water meter device are provided; The platform server generates a key pair. The platform server generates a platform communication asymmetric key Q21 and a platform communication asymmetric key Q22 through an asymmetric encryption algorithm SM2, and also generates a platform security communication key Q31 and a platform security communication key Q32; Q21 is a platform communication private key, and Q22 is a platform communication public key; Q31 is the secure communication private key, Q32 is the secure communication public key; the platform server generates the platform communication symmetric key P1 through the symmetric encryption algorithm SM4, and the platform communication symmetric key P1 is the platform communication symmetric confidential key; The proximal communication device is used to safely and reliably exchange the smart water meter device public key Q12 and the platform security communication key Q32 of the smart water meter device; Smart water meter devices are used to collect water usage information, and transmit smart water meter device parameters and water usage information to the platform server through a mixed encryption of the symmetric encryption algorithm SM4 and the asymmetric encryption algorithm SM2.

7. The intelligent water meter management system based on hybrid encryption algorithm according to claim 6 is characterized in that: It also includes platform server command transmission: After the smart water meter device is successfully configured, the platform server encrypts the platform communication symmetric key P1 and the platform communication asymmetric key Q22 through the smart water meter device public key Q12, and signs and issues the platform communication key instruction S1 through the secure communication private key Q31, and transmits the platform communication key instruction S1 to the smart water meter device; The platform server sends the smart water meter device parameter update, encrypts the parameter update instruction through the platform communication symmetric key P1, and signs the sent parameter update instruction ciphertext through the platform communication asymmetric key Q21 to obtain the data frame D1; The platform server sends control instructions, encrypts the parameter update instructions through the platform communication symmetric key P1, and signs the sent instruction ciphertext through the platform communication asymmetric key Q21 to obtain the data frame C1; Smart water meter equipment receives platform server data: After receiving the data, the smart water meter device first uses the platform communication asymmetric key Q22 to verify the signature of the data frame. After verification, it decrypts the plaintext data using the symmetric key P1 and updates the corresponding parameter data of the smart water meter device.

8. The intelligent water meter management system based on hybrid encryption algorithm according to claim 7 is characterized in that: It also includes functional modules, which include a data sending module, a data receiving module and a hybrid encryption / decryption module; The data transmission module uploads the smart water meter device data to the platform server or transmits the platform server parameter updates or instructions to the smart water meter device; The data receiving module transmits parameter updates or instructions issued by the platform server to the smart water meter device or synchronizes the data uploaded by the smart water meter device to the platform server; The hybrid encryption / decryption module encrypts the data content through the symmetric encryption algorithm SM4; authenticates the signature of the transmitted encrypted data through the asymmetric encryption algorithm SM2; and encrypts and signs the transmitted key information through the asymmetric encryption algorithm SM2.

Citation Information

Patent Citations

  • Security management device of intelligent water meter IC (integrated circuit) card system

    CN104464098A