A fast storage method for electric energy meter measurement data

By using verification functions and blockchain storage in the rapid storage method of electric energy meter measurement data, the problem of lack of authenticity verification of electric energy meter measurement data is solved, and high authenticity and safe storage of measurement data are achieved.

CN114417432BActive Publication Date: 2025-01-21ZHEJIANG WELLSUN INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111665216.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-01-21
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

There is currently a lack of authenticity proof of the electricity metering data, which makes the metering data easily tampered with and affects the order of electricity consumption.

Method used

A fast certificate storage method for electric energy meter measurement data is adopted. By setting up a concentrator in the user area, the smart electric energy meter is connected to the concentrator, the metering center generates a verification function set, the smart electric energy meter generates the measurement value and extracts the hash value, and the concentrator distributes Verify the function and verify the hash value, and finally upload the certificate hash value to the blockchain storage.

Benefits of technology

The verification function forms the storage certificate of the measurement data, improves the authenticity of the measurement data storage certificate, prevents data tampering, and enhances the security of the measurement data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114417432B_ABST
    Figure CN114417432B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of electric energy metering, and specifically to a fast evidence storage method for electric energy meter metering data, comprising: setting up several concentrators in the user area; the metering center generates a verification function and sends it to the concentrator; the smart electric energy meter generates a metering hash value at the end of the metering cycle; extracts a feature hash value and sends it to the connected concentrator; the concentrator assigns a verification function to the connected smart electric energy meter; the concentrator extracts the verification hash value, substitutes it into the corresponding verification function and feeds it back to the smart electric energy meter; the smart electric energy meter associates the verification value, the feature hash value and the metering hash value with the metering value and stores it; during the verification cycle, the evidence hash value is uploaded to the blockchain for storage; the smart electric energy meter reversely deduces the assigned verification function and sends it to the metering center; if the verification function does not match the verification function set, an alarm is issued to prompt manual investigation. The substantial effect of the present invention is that it can further improve the authenticity of the metering data evidence storage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric energy metering, and in particular to a method for quickly storing electric energy metering data. Background Art

[0002] Advanced measurement systems and automatic meter reading systems built on the basis of smart meters can provide users with more detailed electricity consumption information, so that users can better manage their electricity consumption to achieve the goal of saving electricity bills and reducing greenhouse gas emissions. Accurate measurement of electricity consumption not only involves the settlement of fees, but is also the basis for users' energy-saving work, and plays an important role in maintaining the public's electricity order. Tampering with electricity metering data includes destroying or interfering with the hardware work of smart meters. This interference requires the installation of hardware outside the smart meter, which is easy to be discovered by manual investigation. It is also possible to modify the data by invading the carrier communication network and invading the smart meter. At present, the power grid uses a 15-minute cycle to report metering data, and smart meters measure and store metering data every minute or every few minutes according to the model. By tampering with the data stored in the smart meter, the metering accuracy will be destroyed and the electricity order will be affected. Therefore, it is necessary to take technical means to store metering data in a timely manner so as to timely discover and deal with tampering with the data of smart meters.

[0003] For example, Chinese patent CN109541298A, published on March 29, 2019, is a method for measuring electric energy meters. It includes the following steps: S1, set the CT ratio, CT = k*10^n, where k is the calculation coefficient and n is the dimension; set the storage accuracy dimension to a; set the pulse constant dimension to b; then obtain the display dimension X = n+a; S2, collect the original power E; S3, obtain the collected power E / CT after the original power is subjected to current mutual inductance; S4, obtain the stored power E / CT*10^(-ab) after the collected power is converted by storage accuracy, and round it; S5, according to the calculation coefficient k set in step S1 and the stored power obtained in step S4, obtain the converted power = k* stored power, and store the converted power in the electric energy meter; S6, finally display the converted power obtained in step S5 on the display screen of the electric energy meter, and then adjust the display position of the converted power in the display screen according to the display dimension X obtained in step S1. The electric energy meter using this measurement method has a long service life. Its technical solution stores the measured electricity in the electricity meter, which can be tampered with. Summary of the invention

[0004] The technical problem to be solved by the present invention is that there is currently a lack of a solution for proving the authenticity of metering data of electric energy meters. A method for quickly storing metering data of electric energy meters is proposed, which can quickly store metering data of electric energy meters.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: a fast evidence storage method for metering data of electric energy meters, comprising: setting up several concentrators in the user area, and connecting a smart electric energy meter to a concentrator; the metering center generates a verification function set, the verification function is: verification value = f (characteristic value), the verification function has N coefficients, and sends the verification function set to the concentrator; the smart electric energy meter generates a metering value at the end of a metering cycle, extracts a hash value together with the metering value associated with a timestamp and a smart electric energy meter identifier, and records it as a metering hash value; extracts a hash value together with the metering hash value generated in the current metering cycle and the hash value generated in the previous metering cycle as the characteristic hash value of the current metering cycle, and sends the characteristic hash value to the connected concentrator; the concentrator assigns a verification function to the connected smart electric energy meter, and replaces the coefficient of the verification function with a coefficient variable and sends it to the smart electric energy meter; After receiving the characteristic hash value, the concentrator extracts the hash value together with the characteristic hash value and the current metering cycle serial number as the verification hash value, substitutes the verification hash value into the corresponding verification function, and feeds back the verification function result as the verification value to the smart electric energy meter; the smart electric energy meter stores the verification value, characteristic hash value and metering hash value in association with the metering value; N metering cycles are used as verification cycles, and the concentrator extracts the hash value together with the characteristic hash values ​​of all the smart electric energy meters received most recently as the evidence hash value, and uploads the evidence hash value to the blockchain for storage; the smart electric energy meter reversely deduces the assigned verification function based on the N verification values, and sends the verification function in association with the smart electric energy meter identifier to the metering center; the metering center groups the smart electric energy meters of the same concentrator into a group, and the verification function of each group of smart electric energy meters will match the verification function set. If the verification function does not match the verification function set, an alarm is issued to prompt manual investigation.

[0006] Preferably, the verification function is a univariate polynomial, and the number of monomials of the univariate polynomial is N.

[0007] Preferably, the metering center sends the verification function set to the concentrator by: traversing the M-bit hexadecimal number of the characteristic value, calculating the corresponding verification value, and forming the sample data; serializing the verification function, and sending the sample data to the concentrator; after the concentrator receives the characteristic hash value, it calculates the verification hash value, finds the sample data corresponding to the last M bits of the verification hash value, and feeds back the verification value of the sample data to the smart electricity meter.

[0008] Preferably, the metering center uses the verification function serial number, characteristic value and verification value together as sample data; the metering center groups the concentrators, mixes the sample data corresponding to all verification functions, and randomly sends them to the concentrators in the group; after obtaining the verification hash value, the concentrator searches for the serial number of the verification function assigned to the smart electric energy meter and the sample data corresponding to the last M bits of the verification hash value; if found, the corresponding verification value is fed back to the smart electric energy meter, if not found, the serial number of the corresponding verification function and the last M bits of the characteristic hash value are sent to other concentrators in the same group; the concentrator extracts the hash value together with the characteristic hash value and the current metering cycle serial number to obtain the verification hash value, and searches for the serial number of the verification function and the sample data corresponding to the last M bits of the verification hash value; the concentrator that finds the corresponding sample data feeds back the verification value to the smart electric energy meter.

[0009] Preferably, a dedicated memory is connected to the concentrator, and the memory stores sample data sets of k*s verification functions, k is the number of preset verification cycles, and s is the number of smart meters connected to each concentrator; the dedicated memory is provided with three registers, which are respectively used to store serial numbers, M-bit hexadecimal numbers and verification values; the dedicated memory periodically reads the registers, and after obtaining the corresponding verification value, writes the verification value into the third register; after receiving the characteristic hash value, the concentrator writes the current metering cycle serial number and the last M bits of the characteristic hash value into the corresponding register, waits for a preset period of time, and then reads the register corresponding to the verification value to obtain the verification value.

[0010] Preferably, the smart energy meter is connected to two concentrators, the two concentrators respectively assign a verification function to the smart energy meter, and the coefficient of the verification function is replaced by a coefficient variable and sent to the smart energy meter; the smart energy meter sends the characteristic hash value to the two concentrators respectively to obtain two verification values; when the verification cycle arrives, the smart energy meter respectively inverts the two assigned verification functions, and sends the verification function to the metering center in association with the smart energy meter identifier and the concentrator identifier; the metering center groups the smart energy meters of the same concentrator into one group, and the verification function of each group of smart energy meters will be consistent with the verification function set. If the verification function does not match the verification function set, an alarm is issued to prompt manual investigation.

[0011] The substantial effect of the present invention is as follows: between two blockchain evidence storages, the evidence of metering data is formed by a verification function, which can further improve the authenticity of the metering data evidence and ensure that the metering data is not tampered with; the smart electric energy meter reversely deduces the verification function, and the authenticity of the metering data can be proved by the correct verification function, which is convenient for the metering center to verify; multiple concentrators are grouped to prevent the concentrator from being invaded, thereby improving the security of metering data evidence. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1This is a schematic diagram of a quick evidence storage method according to Example 1.

[0013] Figure 2 This is a schematic diagram of a method for sending a verification function to a concentrator in accordance with Embodiment 1.

[0014] Figure 3 This is a schematic diagram of a method for sending sample data to a concentrator according to an embodiment.

[0015] Figure 4 This is a schematic diagram of the working method of the dedicated memory in Example 2.

[0016] Figure 5 This is a schematic diagram of the fast evidence storage method of Example 2. DETAILED DESCRIPTION

[0017] The specific implementation of the present invention will be further described below through specific examples in conjunction with the accompanying drawings.

[0018] Embodiment 1:

[0019] A fast storage method for electric energy meter measurement data, please refer to the attached Figure 1 , including: setting up several concentrators in the user area, and connecting the smart electric energy meter to one concentrator; the metering center generates a verification function set, the verification function is: verification value = f (characteristic value), the verification function has N coefficients, and sends the verification function set to the concentrator; the smart electric energy meter generates a metering value at the end of the metering cycle, and extracts a hash value by associating the metering value with a timestamp and a smart electric energy meter identifier, which is recorded as a metering hash value; the metering hash value generated in this metering cycle and the hash value generated in the previous metering cycle are extracted together as the characteristic hash value of this metering cycle, and the characteristic hash value is sent to the connected concentrator; the concentrator assigns a verification function to the connected smart electric energy meter, and replaces the coefficient of the verification function with a coefficient variable and sends it to the smart electric energy meter; after receiving the characteristic hash value, the concentrator compares the characteristic hash value with the current The hash value is extracted together with the metering cycle serial number as the verification hash value, the verification hash value is substituted into the corresponding verification function, and the verification function result is fed back to the smart electric energy meter as the verification value; the smart electric energy meter stores the verification value, characteristic hash value and metering hash value in association with the metering value; N metering cycles are used as verification cycles, and the concentrator extracts the hash value together with the characteristic hash values ​​of all the smart electric energy meters received most recently as the evidence hash value, and uploads the evidence hash value to the blockchain for storage; the smart electric energy meter reversely deduces the assigned verification function based on the N verification values, and sends the verification function in association with the smart electric energy meter identifier to the metering center; the metering center groups the smart electric energy meters of the same concentrator into a group, and the verification function of each group of smart electric energy meters will match the verification function set. If the verification function does not match the verification function set, an alarm is issued to prompt manual investigation.

[0020] The verification function is a univariate polynomial, and the number of monomials of the univariate polynomial is N. The form of the univariate polynomial is: f(x) = a0 + a1*x + a2*x + ... + a*nx, where there are several terms with coefficients of 0, that is, n ≥ N. The number of terms with non-zero coefficients of the univariate polynomial should be exactly N, so that the verification function has N coefficients. The characteristic of the polynomial function is that when the function is inverted based on a finite number of sample data, there are infinite results. Therefore, only when the specific form is obtained can the N coefficient values ​​be inverted, and the specific verification function can be inverted. No sample data can be wrong or missing in the inversion process.

[0021] Uploading data to the blockchain requires a handling fee, and the current blockchain transaction fees are relatively high. If the metering data of the electric energy meter is directly uploaded to the blockchain for storage, it will consume a lot of funds and is not feasible. For this reason, it is necessary to reduce the frequency of uploading data to the blockchain, that is, to lengthen the interval between evidence storage, which brings the risk of data tampering. The technical solution of this embodiment, by using a verification function, forms evidence of metering data at a higher frequency, thereby significantly extending the cycle of uploading data to the blockchain and reducing capital consumption.

[0022] When the metering data is tampered with, the metering hash value and the characteristic hash value will change, which will cause the characteristic hash value and the hash value of the current cycle number and the verification hash value to change. As a result, the verification value no longer matches the verification hash value, resulting in an erroneous sample data, and the smart energy meter cannot correctly infer the verification function. If the metering data of the smart energy meter is tampered with, and it tries to request the concentrator to obtain the verification value again, it still cannot obtain the correct verification value due to the change in the cycle number. Therefore, it is impossible to tamper with the metering data without leaving a trace. And because the verification function cannot be correctly inferred, it will be easily discovered by the metering center. Save the verification time of the metering center.

[0023] Please see attached Figure 2 ,The method that the metering center sends the verification function set to the concentrator is as follows: the ,characteristic value traverses the M-bit hexadecimal number, calculates the corresponding verification value to form the ,sample data; the verification function is serialized and the sample data is sent to the ,concentrator; after receiving the characteristic hash value, the concentrator calculates the verification hash value, finds the sample data corresponding to the last M ,bits of the verification hash value, and feeds back the verification value of the sample data to the ,smart electricity meter.

[0024] Please see attached Figure 3As an improved implementation method, the metering center uses the verification function serial number, characteristic value and verification value together as sample data; the metering center groups the concentrators, mixes the sample data corresponding to all verification functions, and randomly sends them to the concentrators in the group; after the concentrator obtains the verification hash value, it searches for the serial number of the verification function assigned to the smart electric energy meter and the sample data corresponding to the last M bits of the verification hash value; if found, the corresponding verification value is fed back to the smart electric energy meter, if not found, the serial number of the corresponding verification function and the last M bits of the characteristic hash value are sent to other concentrators in the same group; the concentrator extracts the hash value together with the characteristic hash value and the current metering cycle serial number to obtain the verification hash value, and searches for the serial number of the verification function and the sample data corresponding to the last M bits of the verification hash value; the concentrator that finds the corresponding sample data feeds back the verification value to the smart electric energy meter.

[0025] The beneficial technical effect of this embodiment is that between the two blockchain evidence storages, the evidence of metering data is formed through a verification function, which can further improve the authenticity of the metering data evidence and ensure that the metering data is not tampered with; the smart electricity meter reversely deduces the verification function, and the authenticity of the metering data can be proved through the correct verification function, which is convenient for the metering center to verify.

[0026] Embodiment 2:

[0027] A fast storage method for electric energy meter measurement data, please refer to the attached Figure 4 In this embodiment, a dedicated memory is connected to the concentrator, and the memory stores sample data sets of k*s verification functions, where k is the number of preset verification cycles, and s is the number of smart meters connected to each concentrator; the dedicated memory is provided with three registers, which are respectively used to store the serial number, M-bit hexadecimal number and verification value; the dedicated memory periodically reads the register, and after obtaining the corresponding verification value, writes the verification value into the third register; after the concentrator receives the characteristic hash value, the serial number of the current metering cycle and the last M bits of the characteristic hash value are written into the corresponding register, and after waiting for the preset time, the register corresponding to the verification value is read to obtain the verification value. The dedicated memory can store sample data sets for up to several years, even the same as the mandatory replacement cycle of the electric energy meter. No program changes are required, and no networking is required. When the electric energy meter replacement work is carried out only by relying on the power grid, replacing a new dedicated memory by the way can effectively improve the security of the sample data set.

[0028] Please see attached Figure 5, the smart energy meter is connected to two concentrators. The two concentrators assign a verification function to the smart energy meter respectively, and replace the coefficient of the verification function with a coefficient variable and send it to the smart energy meter; the smart energy meter sends the characteristic hash value to the two concentrators respectively to obtain two verification values; when the verification cycle arrives, the smart energy meter deduces the two assigned verification functions respectively, and sends the verification function to the metering center in association with the smart energy meter ID and the concentrator ID; the metering center groups the smart energy meters of the same concentrator into one group, and the verification function of each group of smart energy meters will match the verification function set. If the verification function does not match the verification function set, an alarm will be issued to prompt manual investigation. Even if one concentrator is hacked and assists in the tampering of the metering data, the verification value provided by the second concentrator can prevent the smart energy meter from establishing the correct verification function, thereby being able to detect the tampering of the metering data.

[0029] Compared with the first embodiment, grouping multiple concentrators can prevent the concentrators from being invaded and improve the security of metering data storage.

[0030] The above-described embodiment is only a preferred solution of the present invention and does not limit the present invention in any form. There are other variations and modifications without exceeding the technical solution described in the claims.

Claims

1. A method for quickly storing electric energy meter measurement data, characterized in that: include: Several concentrators are set up in the user area, and the smart energy meter is connected to one concentrator; The measurement center generates a verification function set, wherein the verification function is: verification value = f (eigenvalue), the verification function has N coefficients, and sends the verification function set to the concentrator; At the end of the metering cycle, the smart energy meter generates a metering value, and extracts a hash value by associating the metering value with a timestamp and the smart energy meter identifier, which is recorded as a metering hash value; Extract the hash value of the metering hash value generated in the current metering period together with the hash value generated in the previous metering period as the characteristic hash value of the current metering period, and send the characteristic hash value to the connected concentrator; The concentrator assigns a verification function to the connected smart energy meter, and sends the coefficient of the verification function to the smart energy meter instead of the coefficient variable; After receiving the characteristic hash value, the concentrator extracts the hash value together with the characteristic hash value and the current metering cycle serial number as the verification hash value, substitutes the verification hash value into the corresponding verification function, and feeds the verification function result as the verification value back to the smart energy meter; The smart electric energy meter associates the verification value, the characteristic hash value and the metering hash value with the metering value for storage; N metering cycles are used as verification cycles. The concentrator extracts the hash value of all the characteristic hash values ​​of the smart energy meters received recently as the evidence hash value, and uploads the evidence hash value to the blockchain for storage; The smart energy meter infers the assigned verification function based on the N verification values, and sends the verification function to the metering center in association with the smart energy meter identifier; The metering center groups the smart energy meters of the same concentrator into one group. The verification function of each group of smart energy meters will be consistent with the verification function set. If the verification function does not match the verification function set, an alarm will be issued to prompt manual troubleshooting. The method by which the measurement center sends the verification function set to the concentrator is: The characteristic value traverses the M-bit hexadecimal number, calculates the corresponding verification value, and forms the sample data; The verification function is serialized and the sample data is sent to the concentrator; After receiving the characteristic hash value, the concentrator calculates the verification hash value, finds the sample data corresponding to the last M bits of the verification hash value, and feeds back the verification value of the sample data to the smart energy meter; The metrology center uses the verification function serial number, characteristic value and verification value together as sample data; The measurement center groups the concentrators, mixes the sample data corresponding to all verification functions, and randomly sends them to the concentrators in the group; After the concentrator obtains the verification hash value, it searches for the serial number of the verification function assigned by the smart electric energy meter and the sample data corresponding to the last M bits of the verification hash value; If found, the corresponding verification value is fed back to the smart energy meter. If not found, the serial number of the corresponding verification function and the last M bits of the characteristic hash value are sent to other concentrators in the same group. The concentrator extracts the hash value from the characteristic hash value and the current metering cycle serial number to obtain the verification hash value, and searches for the serial number of the verification function and the sample data corresponding to the last M bits of the verification hash value; The concentrator that finds the corresponding sample data feeds back the verification value to the smart energy meter.

2. According to claim 1, a method for quickly storing electric energy meter measurement data is characterized in that: The verification function is a univariate polynomial, and the number of monomials of the univariate polynomial is N.

3. According to claim 1, a method for quickly storing electric energy meter measurement data is characterized in that: A dedicated memory is connected to the concentrator, and the memory stores k*s sample data sets of verification functions, where k is the number of preset verification cycles and s is the number of smart meters connected to each concentrator; The dedicated memory is provided with three registers, which are respectively used to store the sequence number, the M-bit hexadecimal number and the verification value; The dedicated memory periodically reads the register, obtains the corresponding verification value, and writes the verification value into a third register; After receiving the characteristic hash value, the concentrator writes the current metering cycle number and the last M bits of the characteristic hash value into the corresponding register, waits for a preset time, and then reads the register corresponding to the verification value to obtain the verification value.

4. A method for quickly storing electric energy meter measurement data according to claim 1 or 2, characterized in that: The smart electric energy meter is connected to two concentrators, and the two concentrators respectively assign a verification function to the smart electric energy meter, and replace the coefficient of the verification function with a coefficient variable and send it to the smart electric energy meter; The smart energy meter sends the characteristic hash value to two concentrators respectively to obtain two verification values; When the verification cycle arrives, the smart energy meter deduces the two assigned verification functions respectively, associates the verification functions with the smart energy meter ID and the concentrator ID and sends them to the metering center; The metering center will group the smart energy meters of the same concentrator into one group. The verification function of each group of smart energy meters will be consistent with the verification function set. If the verification function does not match the verification function set, an alarm will be issued to prompt manual investigation.

Citation Information

Patent Citations

  • Measuring method of electric energy meter

    CN109541298A

  • Block chain-based intellectual property data evidence storage and right confirmation method

    CN113378218A

  • Electricity consumption data acquisition method and system based on block chain

    CN113411321A