CN110929277B - Data concentrator, and electric energy metering data processing method and system - Google Patents

Data concentrator, and electric energy metering data processing method and system Download PDF

Info

Publication number
CN110929277B
CN110929277B CN201911135792.2A CN201911135792A CN110929277B CN 110929277 B CN110929277 B CN 110929277B CN 201911135792 A CN201911135792 A CN 201911135792A CN 110929277 B CN110929277 B CN 110929277B
Authority
CN
China
Prior art keywords
data
electric energy
energy metering
encryption key
ciphertext
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911135792.2A
Other languages
Chinese (zh)
Other versions
CN110929277A (en
Inventor
房毅
徐雷明
王永滨
王佳
李晓帅
毕海涛
潘婷婷
张倩
牟文亭
张瑗璐
王艳芹
孙立富
徐新华
张俊伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
Weifang Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Weifang Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, Weifang Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201911135792.2A priority Critical patent/CN110929277B/en
Publication of CN110929277A publication Critical patent/CN110929277A/en
Application granted granted Critical
Publication of CN110929277B publication Critical patent/CN110929277B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6209Protecting access to data via a platform, e.g. using keys or access control rules to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/20Information technology specific aspects, e.g. CAD, simulation, modelling, system security

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a processing method of electric energy metering data, which comprises the following steps of: dividing the electric energy metering data to be processed into two groups periodically to obtain a first group of electric energy metering data and a second group of electric energy metering data; encrypting the first and second groups of electric energy metering data by using the first encryption key and the second encryption key to obtain first ciphertext data and second ciphertext data; encrypting the first encryption key and the second encryption key to obtain a first encryption key ciphertext and a second encryption key ciphertext; splicing the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext into first mixed data; calculating a digital digest M of the first mixed data; splicing the first mixed data and the digital abstract M into second mixed data to be stored locally; and after receiving the related instruction, uploading the second mixed data. Correspondingly, the invention also provides a data concentrator and a system for processing the electric energy metering data. The invention is used for enhancing the uploading safety of the electric energy metering data.

Description

Data concentrator, and electric energy metering data processing method and system
Technical Field
The invention relates to the field of power systems, in particular to a data concentrator, and a method and a system for processing electric energy metering data.
Background
With the improvement of the living standard of people, the number of electric power users is increased, and therefore, in the field of electric power metering, a great amount of data processing work exists, such as the collection and the input of electric energy metering data pairs of the electric power users.
In order to save labor cost and improve metering work efficiency, electric power companies have used electric energy metering devices in more and more areas, such as using intelligent electric energy meters to automatically collect electric energy metering data of electric power users, and then after receiving an electric energy metering data summarizing instruction, summarizing and uploading (uploading to an electric power system server of the electric power company) the electric energy metering data collected by the electric energy metering devices through a data concentrator.
However, the current society is a highly informative society, and information security is permeated into all aspects of people's daily life, and uploading of electric energy metering data is no exception. Therefore, in order to ensure the integrity and accuracy of the electric energy metering data of each electric power user, the importance of the data concentrator on the safe uploading of the electric energy metering data collected by the electric energy metering device is more and more prominent.
Therefore, the invention provides a data concentrator, a method and a system for processing electric energy metering data, which are used for solving the problems.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention provides a data concentrator, a method and a system for processing electric energy metering data, which are used for enhancing the safety of uploading the electric energy metering data.
In a first aspect, the present invention provides a method for processing electric energy metering data, where the method for processing electric energy metering data includes an electric energy metering data uploading processing method applied to a data concentrator, where the data concentrator is used for collecting electric energy metering data of a user in a centralized manner; the electric energy metering data uploading processing method comprises the following steps:
dividing the electric energy metering data to be processed into two groups according to users at regular intervals to obtain a first group of electric energy metering data and a second group of electric energy metering data;
an encryption module of a preset symmetric encryption algorithm is adopted, a preset first encryption key is used for encrypting a first group of electric energy metering data to obtain first ciphertext data, and a preset second encryption key is used for encrypting a second group of electric energy metering data to obtain second ciphertext data;
encrypting a first encryption key by adopting a preset asymmetric encryption algorithm and using a preset public key to obtain a first encryption key ciphertext, and encrypting a second encryption key to obtain a second encryption key ciphertext;
according to a pre-agreed sequence, the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext are spliced into first mixed data F1;
calculating a digital abstract of the first mixed data F1 by adopting an MD5 algorithm to obtain a digital abstract M;
the first mixed data F1 and the digital abstract M are spliced into second mixed data F2 to be stored locally;
and after receiving the electric energy metering data summarizing instruction sent by the power system server, uploading the second mixed data F2 to the power system server.
Further, the second mixed data F2 is stored locally, and specifically includes:
determining whether the second mixed data F2 satisfies a preset data dividing condition:
if yes, dividing the second mixed data F2 into corresponding data blocks meeting the preset size according to preset dividing rules, and storing the data blocks to the local;
if not, directly storing the second mixed data F2 to the local;
after receiving the electric energy metering data summarizing instruction sent by the electric power system server, uploading the second mixed data F2 to the electric power system server, wherein the method specifically comprises the following steps:
after receiving an electric energy metering data summarizing instruction sent by a power system server, judging whether the locally stored data blocks are segmented:
if yes, uploading all the divided data blocks to a power system server in parallel;
if not, the second mixed data F2 stored locally is directly uploaded to the power system server.
Further, the electric energy metering data processing method further comprises an electric energy metering data receiving and processing method applied to a power system server of an electric power company; the electric energy metering data receiving and processing method is matched with the electric energy metering data uploading and processing method, and comprises the following steps:
acquiring second mixed data F2 transmitted by an electric energy metering data uploading processing method;
splitting the second mixed data F2 to obtain the first mixed data F1 and the digital abstract M;
calculating the digital abstract of the split first mixed data F1 by adopting an MD5 algorithm to obtain a digital abstract M';
verifying whether the calculated digital abstract M' is the same as the split digital abstract M;
splitting the first mixed data F1 to obtain the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext when the digital digest M' obtained by verification calculation is the same as the digital digest M obtained by splitting;
based on a preset asymmetric encryption algorithm, decrypting the first encryption key ciphertext to obtain a first encryption key and decrypting the second encryption key ciphertext to obtain a second encryption key by adopting a preset key corresponding to the public key;
the method comprises the steps of decrypting first ciphertext data by using a decrypted first encryption key to obtain a first group of electric energy metering data based on a preset decryption module of a symmetric encryption algorithm, and decrypting second ciphertext data by using a decrypted second encryption key to obtain a second group of electric energy metering data;
the decrypted first set of electrical energy metering data and the second set of electrical energy metering data are stored.
Further, the second mixed data F2 transmitted by the method for uploading and processing the acquired electric energy metering data includes:
receiving the uploaded data and judging whether the received data is a segmented data block or not:
if yes, merging the received data blocks to obtain the second mixed data F2;
if not, directly obtaining the second mixed data F2.
In a second aspect, the present invention provides a system for processing electric energy metering data, the system for processing electric energy metering data comprising an electric energy metering data uploading processing system applied to a data concentrator, the data concentrator is used for collecting electric energy metering data of a user in a centralized manner; the electric energy metering data uploading processing system comprises:
the electric energy metering data grouping module is used for periodically dividing the electric energy metering data to be processed into two groups according to users to obtain a first group of electric energy metering data and a second group of electric energy metering data;
the symmetric encryption module adopts a preset encryption module of a symmetric encryption algorithm, encrypts a first group of electric energy metering data by using a preset first encryption key to obtain first ciphertext data, and encrypts a second group of electric energy metering data by using a preset second encryption key to obtain second ciphertext data;
the asymmetric encryption module adopts a preset asymmetric encryption algorithm, encrypts a first encryption key by using a preset public key to obtain a first encryption key ciphertext, and encrypts a second encryption key to obtain a second encryption key ciphertext;
the first splicing module splices the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext into first mixed data F1 according to a pre-agreed sequence;
the first digital digest module calculates a digital digest of the first mixed data F1 by adopting an MD5 algorithm to obtain a digital digest M;
the second splicing module splices the first mixed data F1 and the digital abstract M into second mixed data F2 and stores the second mixed data F2 locally;
and the uploading module is used for uploading the second mixed data F2 to the power system server after receiving the electric energy metering data summarizing instruction sent by the power system server.
Further, the second splicing module includes:
the first splicing unit splices the first mixed data F1 and the digital abstract M into second mixed data F2;
a first determination unit that determines whether the second mixed data F2 satisfies a preset data division condition;
the first storage unit is used for dividing the second mixed data F2 into corresponding data blocks meeting the preset size according to preset dividing rules and storing the data blocks to the local when the first judging unit judges that the second mixed data F2 meets the preset data dividing conditions;
a second storage unit that directly stores the second mixed data F2 to a local area when the first determination unit determines that the second mixed data F2 does not satisfy a preset data division condition;
further, the uploading module includes:
the second judging unit judges whether the data blocks are segmented or not after receiving the electric energy metering data summarizing instruction sent by the power system server;
a first uploading unit that uploads each of the divided data blocks in parallel to the power system server when the second determining unit determines that the divided data blocks are locally stored;
and a second uploading unit for directly uploading the second mixed data F2 stored locally to the power system server when the second judging unit judges that the data block stored locally is not the divided data block.
Further, the system for processing electric energy metering data further comprises an electric energy metering data receiving and processing system applied to a power system server of an electric power company, and the system for receiving and processing electric energy metering data comprises:
the second mixed data acquisition module acquires second mixed data F2 transmitted by the electric energy metering data uploading processing method;
the first splitting module splits the second mixed data F2 to obtain the first mixed data F1 and the digital abstract M;
the second digital digest module is used for calculating the digital digest of the first mixed data F1 obtained by splitting by adopting an MD5 algorithm to obtain a digital digest M';
the digital digest verification module verifies whether the calculated digital digest M' is identical to the split digital digest M;
the second splitting module is used for splitting the first mixed data F1 to obtain the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext when the digital digest M' obtained by verification and calculation is identical to the digital digest M obtained by splitting;
the first decryption module decrypts the first encryption key ciphertext to obtain a first encryption key and decrypts the second encryption key ciphertext to obtain a second encryption key by adopting a preset key corresponding to the public key based on a preset asymmetric encryption algorithm;
the second decryption module is based on a preset decryption module of a symmetric encryption algorithm, decrypts the first ciphertext data by using the decrypted first encryption key to obtain a first group of electric energy metering data, and decrypts the second ciphertext data by using the decrypted second encryption key to obtain a second group of electric energy metering data;
and the electric energy metering data summarizing module is used for storing the decrypted first group of electric energy metering data and the decrypted second group of electric energy metering data to the local.
Further, the second hybrid data acquisition module includes:
a data receiving unit for receiving the uploaded data;
a judging unit that judges whether the received data is a divided data block;
a mixed data acquisition unit for merging the received data blocks to obtain the second mixed data F2 when the received data are determined to be the divided data blocks; when the received data is not the divided data block, the data received by the data receiving unit is the second mixed data F2.
Further, the asymmetric encryption algorithm adopts an RSA algorithm; the symmetric encryption algorithm adopts an AES encryption algorithm or a 3DES encryption algorithm.
In a third aspect, the present invention provides a data concentrator, in which the power metering data uploading processing system is integrated with the power metering data processing system.
The invention has the advantages that,
(1) The invention provides a data concentrator, a processing method and a system of electric energy metering data, which periodically divide the electric energy metering data to be processed into two groups according to users to obtain a first group of electric energy metering data and a second group of electric energy metering data, encrypt the first group of electric energy metering data by a preset encryption module of a symmetrical encryption algorithm to obtain first ciphertext data by using a preset first encryption key, encrypt the second group of electric energy metering data by using a preset second encryption key to obtain second ciphertext data, then encrypt the first encryption key by using a preset asymmetric encryption algorithm and encrypt the first encryption key to obtain a first encryption key ciphertext and encrypt the second encryption key to obtain a second encryption key ciphertext, the method comprises the steps of splicing first ciphertext data, second ciphertext data, a first encryption key ciphertext and a second encryption key ciphertext into first mixed data F1 according to a preset sequence, calculating a digital abstract of the first mixed data F1 by an MD5 algorithm to obtain digital abstract M, splicing the first mixed data F1 and the digital abstract M into second mixed data F2, storing the second mixed data F2 locally, uploading the second mixed data F2 to a power system server after receiving an electric energy metering data summarizing instruction sent by the power system server, and further improving the complexity of data uploaded to the power system server to a certain extent, so that the safety and the integrity of electric energy metering data uploaded to the power system server are improved;
(2) According to the data concentrator, the electric energy metering data processing method and the electric energy metering data processing system, the first mixed data F1 and the digital abstract M are spliced into the second mixed data F2 to be stored locally, and after the electric energy metering data summarizing instruction sent by the electric power system server is received, the second mixed data F2 is uploaded to the electric power system server, so that the electric energy metering data corresponding to summarized electric power users does not need to be collected after the electric energy metering data summarizing instruction sent by the electric power system server is received, and the electric energy metering data summarizing efficiency of the electric power system server is improved to a certain extent.
(3) According to the data concentrator, the processing method and the processing system of the electric energy metering data, when the second mixed data F2 is stored locally, whether the second mixed data F2 meets the preset data dividing condition can be judged, when the judgment result is yes, the second mixed data F2 can be divided into the corresponding data blocks meeting the preset size according to the preset dividing rule and stored locally, after the electric energy metering data summarizing instruction sent by the electric power system server is received, whether the data blocks are stored locally or not can be judged, if yes, the data blocks obtained through dividing are uploaded to the electric power system server in parallel, and therefore the data transmission rate can be improved to a certain extent.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of a method of processing electric energy metering data according to an embodiment of the present invention.
FIG. 2 is a schematic block diagram of a system for processing electrical energy metering data in accordance with one embodiment of the present invention.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
Example 1:
fig. 1 is a schematic flow chart of a method of processing electric energy metering data according to an embodiment of the present invention.
As shown in fig. 1, the processing method of the electric energy metering data includes an electric energy metering data uploading processing method 100 and an electric energy metering data receiving processing method 200 used together with the electric energy metering data uploading processing method 100. The subject of the power metering data upload processing method 100 may be a data concentrator. The data concentrator is used for summarizing the electric energy metering data of the corresponding number of electric power users. The execution subject of the electric energy metering data receiving processing method 200 may be a power system server of an electric power company.
Referring to fig. 1, the method 100 for uploading the electric energy metering data includes the following steps 110-170.
And step 110, dividing the electric energy metering data to be processed into two groups according to users at regular intervals to obtain a first group of electric energy metering data and a second group of electric energy metering data.
In this embodiment, for example, on the first day of the month, the electric energy metering data to be processed may be divided into two groups according to the user to obtain the first group of electric energy metering data and the second group of electric energy metering data. The electric energy metering data to be processed are the electric energy metering data of the last month of the electric power user.
Each power consumer corresponds to a group of electric energy metering data, taking 100 groups of electric energy metering data to be processed in this embodiment as an example, the 100 groups of electric energy metering data correspond to 100 power consumers, the electric energy metering data to be processed can be divided into two groups according to the users at regular intervals, for example, 50 arbitrary users can be divided into a first group, the electric energy metering data of the 50 users form the first group of electric energy metering data, and the electric energy metering data of the remaining 50 users automatically form the second group of electric energy metering data.
Step 120, an encryption module of a preset symmetric encryption algorithm is adopted, a preset first encryption key is used for encrypting the first group of electric energy metering data to obtain first ciphertext data, and a preset second encryption key is used for encrypting the second group of electric energy metering data to obtain second ciphertext data.
In this embodiment, the symmetric encryption algorithm adopts an AES encryption algorithm, where the first encryption key is K1, and the second encryption key is K2. When the encryption module adopting the symmetric encryption algorithm is used, the first encryption key is used as K1, and the first group of electric energy metering data obtained in the encryption step 110 is used to obtain first ciphertext data. Correspondingly, the encryption module adopting the symmetric encryption algorithm encrypts the second set of electric energy metering data obtained in the step 110 by using the second encryption key to obtain second ciphertext data.
And 130, encrypting the first encryption key by adopting a preset asymmetric encryption algorithm and using a preset public key to obtain a first encryption key ciphertext, and encrypting the second encryption key to obtain a second encryption key ciphertext.
In this embodiment, the asymmetric encryption algorithm adopts an RSA encryption algorithm, and a public key is preset to be K3. When the encryption method is used, the public key is used, the first encryption key and the second encryption key are encrypted respectively through the asymmetric encryption algorithm, and a first encryption key ciphertext and a second encryption key ciphertext are correspondingly obtained.
And 140, splicing the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext into first mixed data F1 according to a preset sequence.
The predetermined order may be any order of the first ciphertext data, the second ciphertext data, the first encryption key ciphertext, and the second encryption key ciphertext, for example, the first ciphertext data, the second ciphertext data, the first encryption key ciphertext, and the second encryption key ciphertext may be sequentially arranged, or the first encryption key ciphertext, the second ciphertext data, the first ciphertext data, and the second encryption key ciphertext may be sequentially arranged, which may be predetermined by a person skilled in the art according to actual situations.
Step 150, calculating the digital digest of the first mixed data F1 by using the MD5 algorithm to obtain a digital digest M.
The digital digest M is used to verify the integrity of the first hybrid data F1.
In step 160, the first mixed data F1 and the digital digest M are spelled into second mixed data F2 and stored locally.
The second mixed data F2 comprises the first mixed data F1 and the digital abstract M, the first mixed data F1 is formed by splicing the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext, and therefore the complexity of data uploaded to the power system server is increased to a certain extent, and further the safety and the integrity of electric energy metering data uploaded to the power system server are improved.
Step 170, after receiving the electric energy metering data summarizing instruction sent by the electric power system server, uploading the second mixed data F2 to the electric power system server.
After receiving the electric energy metering data summarizing instruction sent by the electric power system server, the second mixed data F2 stored locally in step 160 is directly uploaded to the electric power system server. Therefore, the invention does not need to collect the electric energy metering data corresponding to the summarized power users after receiving the electric energy metering data summarizing instruction sent by the power system server, and improves the efficiency of the power system server for summarizing the electric energy metering data to a certain extent.
Referring to fig. 1, the method 200 for processing the electric energy metering data includes the following steps 210-280.
Step 210, obtain the second mixed data F2 transmitted in the electric energy metering data uploading processing method 100.
Step 220, splitting the second mixed data F2 to obtain the first mixed data F1 and the digital digest M.
In step 230, the MD5 algorithm is adopted to calculate the digital digest of the split first mixed data F1, so as to obtain a digital digest M'.
Step 240, verifying whether the calculated digital digest M' is identical to the split digital digest M.
If the calculated digital digest M' is the same as the digital digest M obtained by splitting in step 220, the first mixed data F1 obtained by splitting in step 220 has data integrity.
Step 250, when the digital digest M' obtained by the verification and calculation is the same as the digital digest M obtained by the splitting, splitting the first mixed data F1 to obtain the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext.
Specifically, the first ciphertext data, the second ciphertext data, the first encryption key ciphertext, and the second encryption key ciphertext for stitching the first hybrid data F1 may be reversely split according to a predetermined order for stitching the first hybrid data F1.
Step 260, based on a preset asymmetric encryption algorithm, adopting a preset key corresponding to the public key to decrypt the first encryption key ciphertext to obtain a first encryption key, and decrypting the second encryption key ciphertext to obtain a second encryption key.
In step 260, the RSA encryption algorithm identical to the asymmetric encryption algorithm in step 130 is used, corresponding to the asymmetric encryption algorithm in the power metering data uploading processing method 100.
Step 270, based on the decryption module of the preset symmetric encryption algorithm, decrypts the first ciphertext data using the decrypted first encryption key to obtain a first set of electric energy metering data, and decrypts the second ciphertext data using the decrypted second encryption key to obtain a second set of electric energy metering data.
Corresponding to the symmetric encryption algorithm in the power metering data upload processing method 100, the AES encryption algorithm identical to the symmetric encryption algorithm in step 120 is adopted in step 270.
Step 280 stores the decrypted first and second sets of electrical energy metering data.
The first and second sets of electrical energy metering data decrypted in step 270 are stored.
Example 2:
embodiment 2 is different from embodiment 1 in that the processing method of electric energy metering data in this embodiment further includes: in step 160, the second mixed data F2 is stored locally, which specifically includes: determining whether the second mixed data F2 satisfies a preset data dividing condition:
if yes, dividing the second mixed data F2 into corresponding data blocks meeting the preset size according to preset dividing rules, and storing the data blocks to the local;
if not, directly storing the second mixed data F2 to the local;
in step 170, after receiving the electric energy metering data summarizing instruction sent by the electric power system server, uploading the second mixed data F2 to the electric power system server, which specifically includes: after receiving an electric energy metering data summarizing instruction sent by a power system server, judging whether the locally stored data blocks are segmented:
if yes, uploading all the divided data blocks to a power system server in parallel;
if not, the second mixed data F2 stored locally is directly uploaded to the power system server.
Correspondingly, in step 210, the second hybrid data F2 transmitted from the electric energy metering data uploading processing method is obtained, including:
receiving the uploaded data and judging whether the received data is a segmented data block or not:
if yes, merging the received data blocks to obtain the second mixed data F2;
if not, directly obtaining the second mixed data F2.
Example 3:
fig. 2 is an embodiment of a system for processing electrical energy metering data according to the present invention. The data concentrator referred to in this embodiment is used to aggregate the power metering data of the users in a centralized manner.
Referring to fig. 2, the processing system of the electric energy metering data includes an electric energy metering data uploading processing system 300 applied to a data concentrator, and also includes an electric energy metering data receiving processing system 400 applied to a power system server of an electric power company. The system 300 is used in conjunction with the system 400.
The electric energy metering data uploading processing system 300 includes:
the electric energy metering data grouping module 301 periodically divides electric energy metering data to be processed into two groups according to users to obtain a first group of electric energy metering data and a second group of electric energy metering data;
the symmetric encryption module 302, which adopts a preset encryption module of a symmetric encryption algorithm, encrypts a first group of electric energy metering data by using a preset first encryption key to obtain first ciphertext data, and encrypts a second group of electric energy metering data by using a preset second encryption key to obtain second ciphertext data;
the asymmetric encryption module 303 encrypts the first encryption key to obtain a first encryption key ciphertext and encrypts the second encryption key to obtain a second encryption key ciphertext by adopting a preset asymmetric encryption algorithm and using a preset public key;
the first splicing module 304 splices the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext into first mixed data F1 according to a predetermined sequence;
the first digital digest module 305 calculates a digital digest of the first hybrid data F1 using an MD5 algorithm, to obtain a digital digest M;
the second splicing module 306 splices the first mixed data F1 and the digital abstract M into second mixed data F2 and stores the second mixed data F2 locally;
the uploading module 307 uploads the second mixed data F2 to the power system server after receiving the electric energy metering data summarizing instruction sent by the power system server.
The electric energy metering data receiving and processing system 400 includes:
the second mixed data acquisition module 401 acquires second mixed data F2 transmitted by the electric energy metering data uploading processing method;
the first splitting module 402 splits the second mixed data F2 to obtain the first mixed data F1 and the digital digest M;
the second digital digest module 403 calculates a digital digest of the first mixed data F1 obtained by the splitting by using an MD5 algorithm, to obtain a digital digest M';
a digital digest verification module 404 for verifying whether the calculated digital digest M' is identical to the split digital digest M;
the second splitting module 405 splits the first mixed data F1 to obtain the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext when the digital digest M' obtained by the verification and calculation is the same as the digital digest M obtained by the splitting;
the first decryption module 406 decrypts the first encryption key ciphertext to obtain a first encryption key and decrypts the second encryption key ciphertext to obtain a second encryption key based on a preset asymmetric encryption algorithm by adopting a preset key corresponding to the public key;
the second decryption module 407 decrypts the first ciphertext data by using the decrypted first encryption key to obtain a first group of electric energy metering data, and decrypts the second ciphertext data by using the decrypted second encryption key to obtain a second group of electric energy metering data based on a preset decryption module of the symmetric encryption algorithm;
the power metering data summarization module 408 stores the decrypted first set of power metering data and the decrypted second set of power metering data locally.
Example 4:
embodiment 4 is different from embodiment 3 in the processing system of electric energy metering data in this embodiment:
the second splicing module comprises:
the first splicing unit splices the first mixed data F1 and the digital abstract M into second mixed data F2;
a first determination unit that determines whether the second mixed data F2 satisfies a preset data division condition;
the first storage unit is used for dividing the second mixed data F2 into corresponding data blocks meeting the preset size according to preset dividing rules and storing the data blocks to the local when the first judging unit judges that the second mixed data F2 meets the preset data dividing conditions;
a second storage unit that directly stores the second mixed data F2 to a local area when the first determination unit determines that the second mixed data F2 does not satisfy a preset data division condition;
further, the uploading module includes:
the second judging unit judges whether the data blocks are segmented or not after receiving the electric energy metering data summarizing instruction sent by the power system server;
a first uploading unit that uploads each of the divided data blocks in parallel to the power system server when the second determining unit determines that the divided data blocks are locally stored;
and a second uploading unit for directly uploading the second mixed data F2 stored locally to the power system server when the second judging unit judges that the data block stored locally is not the divided data block.
The second hybrid data acquisition module includes:
a data receiving unit for receiving the uploaded data;
a judging unit that judges whether the received data is a divided data block;
a mixed data acquisition unit for merging the received data blocks to obtain the second mixed data F2 when the received data are determined to be the divided data blocks; when the received data is not the divided data block, the data received by the data receiving unit is the second mixed data F2.
Example 5:
this embodiment provides a data concentrator having integrated therein the electrical energy metering data uploading processing system 300 described in embodiment 3.
Example 6:
this embodiment provides a data concentrator having integrated therein the electrical energy metering data uploading processing system 300 described in embodiment 4.
The same or similar parts between the various embodiments in this specification are referred to each other.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. The processing method of the electric energy metering data is characterized by comprising an electric energy metering data uploading processing method applied to a data concentrator, wherein the data concentrator is used for intensively collecting electric energy metering data of users; the electric energy metering data uploading processing method comprises the following steps:
dividing the electric energy metering data to be processed into two groups according to users at regular intervals to obtain a first group of electric energy metering data and a second group of electric energy metering data;
an encryption module of a preset symmetric encryption algorithm is adopted, a preset first encryption key is used for encrypting a first group of electric energy metering data to obtain first ciphertext data, and a preset second encryption key is used for encrypting a second group of electric energy metering data to obtain second ciphertext data;
encrypting a first encryption key by adopting a preset asymmetric encryption algorithm and using a preset public key to obtain a first encryption key ciphertext, and encrypting a second encryption key to obtain a second encryption key ciphertext;
according to a pre-agreed sequence, the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext are spliced into first mixed data F1;
calculating a digital abstract of the first mixed data F1 by adopting an MD5 algorithm to obtain a digital abstract M;
the first mixed data F1 and the digital abstract M are spliced into second mixed data F2 to be stored locally;
after receiving the electric energy metering data summarizing instruction sent by the electric power system server, uploading the second mixed data F2 to the electric power system server;
the second mixed data F2 is stored locally, and specifically includes:
determining whether the second mixed data F2 satisfies a preset data dividing condition:
if yes, dividing the second mixed data F2 into corresponding data blocks meeting the preset size according to preset dividing rules, and storing the data blocks to the local;
if not, directly storing the second mixed data F2 to the local;
after receiving the electric energy metering data summarizing instruction sent by the electric power system server, uploading the second mixed data F2 to the electric power system server, wherein the method specifically comprises the following steps:
after receiving an electric energy metering data summarizing instruction sent by a power system server, judging whether the locally stored data blocks are segmented:
if yes, uploading all the divided data blocks to a power system server in parallel;
if not, directly uploading the locally stored second mixed data F2 to the power system server;
the electric energy metering data processing method further comprises an electric energy metering data receiving and processing method applied to a power system server of an electric power company; the electric energy metering data receiving and processing method is matched with the electric energy metering data uploading and processing method, and comprises the following steps:
acquiring second mixed data F2 transmitted in the electric energy metering data uploading processing method;
splitting the second mixed data F2 to obtain the first mixed data F1 and the digital abstract M;
calculating the digital abstract of the split first mixed data F1 by adopting an MD5 algorithm to obtain a digital abstract M';
verifying whether the calculated digital abstract M' is the same as the split digital abstract M;
splitting the first mixed data F1 to obtain the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext when the digital digest M' obtained by verification calculation is the same as the digital digest M obtained by splitting;
based on a preset asymmetric encryption algorithm, decrypting the first encryption key ciphertext to obtain a first encryption key and decrypting the second encryption key ciphertext to obtain a second encryption key by adopting a preset key corresponding to the public key;
the method comprises the steps of decrypting first ciphertext data by using a decrypted first encryption key to obtain a first group of electric energy metering data based on a preset decryption module of a symmetric encryption algorithm, and decrypting second ciphertext data by using a decrypted second encryption key to obtain a second group of electric energy metering data;
the decrypted first set of electrical energy metering data and the second set of electrical energy metering data are stored.
2. The method for processing electric energy metering data according to claim 1, wherein the second mixed data F2 transmitted from the method for uploading the acquired electric energy metering data comprises:
receiving the uploaded data and judging whether the received data is a segmented data block or not:
if yes, merging the received data blocks to obtain the second mixed data F2;
if not, directly obtaining the second mixed data F2.
3. The system for processing the electric energy metering data is characterized by comprising an electric energy metering data uploading processing system applied to a data concentrator, wherein the data concentrator is used for intensively collecting electric energy metering data of users; the electric energy metering data uploading processing system comprises:
the electric energy metering data grouping module is used for periodically dividing the electric energy metering data to be processed into two groups according to users to obtain a first group of electric energy metering data and a second group of electric energy metering data;
the symmetric encryption module adopts a preset encryption module of a symmetric encryption algorithm, encrypts a first group of electric energy metering data by using a preset first encryption key to obtain first ciphertext data, and encrypts a second group of electric energy metering data by using a preset second encryption key to obtain second ciphertext data;
the asymmetric encryption module adopts a preset asymmetric encryption algorithm, encrypts a first encryption key by using a preset public key to obtain a first encryption key ciphertext, and encrypts a second encryption key to obtain a second encryption key ciphertext;
the first splicing module splices the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext into first mixed data F1 according to a pre-agreed sequence;
the first digital digest module calculates a digital digest of the first mixed data F1 by adopting an MD5 algorithm to obtain a digital digest M;
the second splicing module splices the first mixed data F1 and the digital abstract M into second mixed data F2 and stores the second mixed data F2 locally;
the uploading module is used for uploading the second mixed data F2 to the power system server after receiving the electric energy metering data summarizing instruction sent by the power system server;
the second splicing module comprises:
the first splicing unit splices the first mixed data F1 and the digital abstract M into second mixed data F2;
a first determination unit that determines whether the second mixed data F2 satisfies a preset data division condition;
the first storage unit is used for dividing the second mixed data F2 into corresponding data blocks meeting the preset size according to preset dividing rules and storing the data blocks to the local when the first judging unit judges that the second mixed data F2 meets the preset data dividing conditions;
a second storage unit that directly stores the second mixed data F2 to a local area when the first determination unit determines that the second mixed data F2 does not satisfy a preset data division condition;
the uploading module comprises:
the second judging unit judges whether the data blocks are segmented or not after receiving the electric energy metering data summarizing instruction sent by the power system server;
a first uploading unit that uploads each of the divided data blocks in parallel to the power system server when the second determining unit determines that the divided data blocks are locally stored;
a second uploading unit configured to directly upload the locally stored second hybrid data F2 to the power system server when the second determining unit determines that the locally stored data block is not a divided data block;
the system for processing the electric energy metering data further comprises an electric energy metering data receiving and processing system applied to a power system server of an electric power company, and the system for receiving and processing the electric energy metering data comprises:
the second mixed data acquisition module acquires second mixed data F2 transmitted by the electric energy metering data uploading processing method;
the first splitting module splits the second mixed data F2 to obtain the first mixed data F1 and the digital abstract M;
the second digital digest module is used for calculating the digital digest of the first mixed data F1 obtained by splitting by adopting an MD5 algorithm to obtain a digital digest M';
the digital digest verification module verifies whether the calculated digital digest M' is identical to the split digital digest M;
the second splitting module is used for splitting the first mixed data F1 to obtain the first ciphertext data, the second ciphertext data, the first encryption key ciphertext and the second encryption key ciphertext when the digital digest M' obtained by verification and calculation is identical to the digital digest M obtained by splitting;
the first decryption module decrypts the first encryption key ciphertext to obtain a first encryption key and decrypts the second encryption key ciphertext to obtain a second encryption key by adopting a preset key corresponding to the public key based on a preset asymmetric encryption algorithm;
the second decryption module is based on a preset decryption module of a symmetric encryption algorithm, decrypts the first ciphertext data by using the decrypted first encryption key to obtain a first group of electric energy metering data, and decrypts the second ciphertext data by using the decrypted second encryption key to obtain a second group of electric energy metering data;
and the electric energy metering data summarizing module is used for storing the decrypted first group of electric energy metering data and the decrypted second group of electric energy metering data to the local.
4. The system for processing electrical energy metering data of claim 3 wherein the second hybrid data acquisition module comprises:
a data receiving unit for receiving the uploaded data;
a judging unit that judges whether the received data is a divided data block;
a mixed data acquisition unit for merging the received data blocks to obtain the second mixed data F2 when the received data are determined to be the divided data blocks; when the received data is not the divided data block, the data received by the data receiving unit is the second mixed data F2.
5. The system for processing electric energy metering data according to claim 3 or 4, wherein the asymmetric encryption algorithm adopts an RSA algorithm; the symmetric encryption algorithm adopts an AES encryption algorithm or a 3DES encryption algorithm.
6. A data concentrator having integrated therein an electrical energy metering data uploading processing system as claimed in claim 3.
CN201911135792.2A 2019-11-19 2019-11-19 Data concentrator, and electric energy metering data processing method and system Active CN110929277B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911135792.2A CN110929277B (en) 2019-11-19 2019-11-19 Data concentrator, and electric energy metering data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911135792.2A CN110929277B (en) 2019-11-19 2019-11-19 Data concentrator, and electric energy metering data processing method and system

Publications (2)

Publication Number Publication Date
CN110929277A CN110929277A (en) 2020-03-27
CN110929277B true CN110929277B (en) 2023-08-01

Family

ID=69850297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911135792.2A Active CN110929277B (en) 2019-11-19 2019-11-19 Data concentrator, and electric energy metering data processing method and system

Country Status (1)

Country Link
CN (1) CN110929277B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112051441B (en) * 2020-09-18 2022-03-18 国网山东省电力公司临朐县供电公司 Electric power communication network line detection system
CN112383504A (en) * 2020-09-28 2021-02-19 国网山东省电力公司冠县供电公司 Electric power thing networking block chain data management system
CN113810223A (en) * 2021-08-20 2021-12-17 佳源科技股份有限公司 Method for realizing remote collection of HPLC maintenance logs

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104868996A (en) * 2014-02-25 2015-08-26 中兴通讯股份有限公司 Data encryption and decryption method, device thereof, and terminal
EP3361408A1 (en) * 2017-02-10 2018-08-15 Michael Mertens Verifiable version control on authenticated and/or encrypted electronic documents
CN109104279A (en) * 2018-08-31 2018-12-28 国网河北省电力有限公司沧州供电分公司 A kind of encryption method of electric power data, system and terminal device
CN109802825A (en) * 2017-11-17 2019-05-24 深圳市金证科技股份有限公司 A kind of data encryption, the method for decryption, system and terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104868996A (en) * 2014-02-25 2015-08-26 中兴通讯股份有限公司 Data encryption and decryption method, device thereof, and terminal
EP3361408A1 (en) * 2017-02-10 2018-08-15 Michael Mertens Verifiable version control on authenticated and/or encrypted electronic documents
CN109802825A (en) * 2017-11-17 2019-05-24 深圳市金证科技股份有限公司 A kind of data encryption, the method for decryption, system and terminal device
CN109104279A (en) * 2018-08-31 2018-12-28 国网河北省电力有限公司沧州供电分公司 A kind of encryption method of electric power data, system and terminal device

Also Published As

Publication number Publication date
CN110929277A (en) 2020-03-27

Similar Documents

Publication Publication Date Title
CN110929277B (en) Data concentrator, and electric energy metering data processing method and system
EP2871801B1 (en) Energy usage data management
Jo et al. Efficient and privacy-preserving metering protocols for smart grid systems
CN104486075B (en) A kind of verification method of intelligent substation ICD model file digital signature
CN111127254B (en) Marketing and distribution through data management system
CN103036884B (en) A kind of data guard method based on homomorphic cryptography and system
Borges et al. EPPP4SMS: efficient privacy-preserving protocol for smart metering systems and its simulation using real-world data
CN105554031B (en) encryption method, encryption device, decryption method, decryption device and terminal
US20120084554A1 (en) System and method for hosting encrypted monitoring data
CN102111265A (en) Method for encrypting embedded secure access module (ESAM) of power system acquisition terminal
EP3395031B1 (en) Method for providing a proof of retrievability
CN108683665A (en) Data ciphering method, system in fiber optic communication and data transmitting equipment
CN104077356A (en) Homomorphic encryption based cloud storage platform retrieval method
CN115085940A (en) Private data aggregation method and system for smart power grid
Yukun et al. A security privacy protection scheme for data collection of smart meters based on homomorphic encryption
KR20130052560A (en) Private overlay for information networks
CN107070874A (en) System, encryption method and the device of broadcast communication, decryption method and device
CN111865989A (en) Data security protection method for intelligent electric meter
CN112055001B (en) Electric energy metering data uploading method and system, electric energy metering data storage method and system, and terminal
CN110278077B (en) Method, device, equipment and storage medium for acquiring data information of electric energy meter
CN112398655B (en) File transmission method, server and computer storage medium
CN112087301A (en) Gas meter safety certification system based on state cryptographic algorithm
CN112383504A (en) Electric power thing networking block chain data management system
CN116795900A (en) Data monitoring system and method based on big data
EP4084484A1 (en) Method and device for encryption of video stream, communication equipment, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant