CN106546942B - Encryption detection method for consistency of electric energy metering equipment - Google Patents

Encryption detection method for consistency of electric energy metering equipment Download PDF

Info

Publication number
CN106546942B
CN106546942B CN201510594190.9A CN201510594190A CN106546942B CN 106546942 B CN106546942 B CN 106546942B CN 201510594190 A CN201510594190 A CN 201510594190A CN 106546942 B CN106546942 B CN 106546942B
Authority
CN
China
Prior art keywords
electric energy
energy metering
encryption
workstation
consistency
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
CN201510594190.9A
Other languages
Chinese (zh)
Other versions
CN106546942A (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.)
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Holley Technology Co Ltd
Original Assignee
Electric Power Research Institute of Guangdong Power Grid Co Ltd
Holley Technology 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 Electric Power Research Institute of Guangdong Power Grid Co Ltd, Holley Technology Co Ltd filed Critical Electric Power Research Institute of Guangdong Power Grid Co Ltd
Priority to CN201510594190.9A priority Critical patent/CN106546942B/en
Publication of CN106546942A publication Critical patent/CN106546942A/en
Application granted granted Critical
Publication of CN106546942B publication Critical patent/CN106546942B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention discloses an encryption detection method for the consistency of electric energy metering equipment, which comprises the steps of starting a workstation and carrying out identity authentication with a first safety encryption controller; the workstation sends a control command to the consistency detection device, starts a signal source, and detects the logic control voltage, current and power factor according to consistency; the workstation reads the consistency detection logic, is connected with the first and second security encryption controllers and carries out bidirectional identity authentication; the workstation is connected with the first and second security encryption controllers, the detected electric energy metering equipment and the reference electric energy metering equipment, and bidirectional identity authentication is carried out; the workstation reads a target code ciphertext of the reference electric energy metering equipment and sends the ciphertext to the first safety encryption controller, and reads a target code text of the detected electric energy metering equipment and sends the target code text to the second safety encryption controller; and verifying the ciphertext data of each frame by the workstation, and storing the ciphertext data into a target code ciphertext library of the detected electric energy metering equipment. The invention also discloses a consistency comparison system of the electric energy metering equipment.

Description

Encryption detection method for consistency of electric energy metering equipment
Technical Field
The invention relates to an encryption detection method for software consistency comparison of intelligent metering equipment and a system device thereof.
Background
At present, the complexity of software of electric energy metering equipment is higher and higher, and a power grid company establishes a comparison scheme meeting the requirements of related technical specifications for verifying the software consistency and the reliability. The following defects mainly exist: in the software comparison process, equipment manufacturers are required to provide codes, so that the codes are easy to leak; the data is transmitted in a clear text manner in the comparison process, and is easy to eavesdrop and intercept; only a simple password is used for verification, and the reliability of software comparison personnel cannot be ensured.
Disclosure of Invention
The invention solves the technical defects, designs a comparison improvement of software consistency comparison of intelligent metering equipment, for example, designs a safety encryption controller, adopts a communication mode to encrypt and authenticate the software version number of the intelligent metering equipment by providing an embedded safety scheme, reads the target code of the electric energy metering equipment by using advanced physical protection and hardware encryption technology, detects the software consistency and provides safety measures for the software comparison of the metering equipment.
Preferably, the system mainly comprises a security encryption controller, a workstation, a recorded sample, a device to be detected and an intelligent metering device software consistency detection device. The software consistency detection system software of the intelligent metering equipment is deployed on a workstation, and the safety encryption controller authenticates with each other and the equipment to be detected. After the authentication is passed, the workstation communicates with the detection device in an RS485 bus mode to control the signal source; after the detection device rises, carrying out communication operation on the equipment sample and the detected equipment according to the configured software consistency comparison scheme; and automatically detecting the consistency of the measured quantity and the target code of the detected equipment by software, and judging the detection result.
In order to achieve the above object, the encryption detection method for consistency of electric energy metering equipment of the present invention comprises the steps of: 1) Starting the workstation, inputting a detection password, performing identity authentication with the first security encryption controller, and verifying the validity of detection; 2) The workstation sends a control command to the consistency detection device, starts a signal source, and detects the logic control voltage, current and power factor according to consistency; 3) The workstation reads the consistency detection logic, is connected with the first security encryption controller and the second security encryption controller, and carries out bidirectional identity authentication through the first path of encryption channel; 4) The workstation is connected with the first security encryption controller and the detected electric energy metering equipment to acquire the encryption authentication data of the software version number, carries out bidirectional identity authentication through the second path of encryption channel, judges whether the authentication is successful, continues to execute the next step if the authentication is successful, and terminates the execution of the step if the authentication is unsuccessful; 5) The workstation is connected with the second security encryption controller and the reference electric energy metering equipment, acquires the encryption authentication data of the software version number, carries out bidirectional identity authentication through the second path of encryption channel, judges whether the authentication is successful, continues to execute the next step if the authentication is successful, and terminates the execution of the step if the authentication is unsuccessful; 6) The workstation reads a 128-byte data cipher text of the target code of the reference electric energy metering device, sends the cipher text to the first safe encryption controller, and obtains cipher text data through secondary encryption; 7) The workstation verifies whether the ciphertext data of each frame are checked correctly, and if the ciphertext data are checked correctly, the ciphertext data are stored into a target code secret library of the reference electric energy metering equipment; 8) The workstation reads a 128-byte data cipher text of the target code of the detected electric energy metering equipment, sends the cipher text to the second secure encryption controller, and obtains cipher text data through secondary encryption; 9) And the workstation verifies whether the verification of the ciphertext data of each frame is correct or not, and stores the ciphertext data into the target code secret library of the detected electric energy metering equipment if the verification is correct.
Correspondingly, the consistency comparison system for the electric energy metering equipment comprises a first safety encryption controller, a second safety encryption controller, a consistency detection device, reference electric energy metering equipment, detected electric energy metering equipment and a workstation which are arranged on an RS485 control bus, wherein the workstation is in communication connection with the safety encryption controller, the consistency detection device, the reference electric energy metering equipment and the detected electric energy metering equipment, and the equipment reference electric energy metering equipment is in voltage parallel connection and current serial connection with the detected electric energy metering equipment.
The invention adopts the optimized technical scheme to solve the source code security encryption problem of software consistency comparison of the intelligent metering equipment, protects the storage and transmission processes in source code comparison by adopting multi-party mutual authentication and double encryption channels, and realizes high-level security management of copy prevention, wiretapping prevention and tamper prevention.
Drawings
Fig. 1 is a functional structure block diagram of the consistency comparison system of the electric energy metering device of the present invention.
Detailed Description
Referring to fig. 1, in a preferred embodiment of the present invention, the present invention provides a method for detecting consistency of an electric energy metering device by encryption, comprising the steps of:
1) Starting the workstation 6, for example, communicating with the first secure encryption controller 1 to perform user identity authentication by inputting a detection password by a user, and verifying the validity of the detection password;
2) The workstation 6 sends a control command to the consistency detection device 3, starts a signal source, controls voltage, current and power factor according to consistency detection logic, for example, controls the consistency detection device 3 to electrify a plurality of electric energy metering devices to be detected and reference devices which are simultaneously hung on (for example, RS 485) buses, and then raises the voltage/current to a rated value;
3) The workstation 6 reads the consistency detection logic, is connected with the first secure encryption controller 1 and the second secure encryption controller 2, and carries out bidirectional identity authentication through a first path of encryption channel;
4) The workstation 6 is connected with the first security encryption controller 1 and the detected electric energy metering equipment 5, acquires the encryption authentication data of the software version number, carries out bidirectional identity authentication through a second path of encryption channel, judges whether the authentication is successful, continues to execute the next step if the authentication is successful, and terminates to execute the step if the authentication is unsuccessful;
5) The workstation 6 is connected with the second security encryption controller 2 and the reference electric energy metering equipment 4, acquires the encryption authentication data of the software version number, carries out bidirectional identity authentication through a second path of encryption channel, judges whether the authentication is successful, continues to execute the next step if the authentication is successful, and terminates the execution of the step if the authentication is unsuccessful;
6) The workstation 6 reads a 128-byte data cipher text of the target code of the reference electric energy metering device 4, sends the cipher text to the first secure encryption controller 1, and obtains cipher text data through the secondary encryption mode;
7) The workstation 6 verifies whether the verification of the ciphertext data of each frame is correct or not, and if the verification is correct, the ciphertext data are stored into a target code ciphertext library of the reference electric energy metering equipment 4;
8) The workstation 6 reads a 128-byte data cipher text of the target code of the detected electric energy metering device 5, sends the cipher text to the second safe encryption controller 2, and obtains cipher text data through secondary encryption;
9) And the workstation 6 verifies whether the verification of the ciphertext data of each frame is correct or not, and stores the correct verification into the target code ciphertext library of the detected electric energy metering equipment 5.
As another embodiment, corresponding to the above embodiment, the electric energy metering device consistency comparison system includes a first secure encryption controller 1, a second secure encryption controller 2, a consistency detection device 3, a reference electric energy metering device 4, a detected electric energy metering device 5 and a workstation 6 which are arranged on an RS485 control bus, the workstation 6 is in communication connection with the secure encryption controller 1, the secure encryption controller 2, the consistency detection device 3, the reference electric energy metering device 4 and the detected electric energy metering device 5, and the device reference electric energy metering device 2 is in parallel voltage and in series current with the detected electric energy metering device 3.
The consistency detection logic is that after the workstation 6 sends a control command to the consistency detection apparatus 3, the control logic built in the apparatus 3 starts to operate, and the control logic enables the consistency comparison system of the present invention to implement the operations of steps 3) to 9).
In an improved mode, the workstation 6 controls the consistency detection device 3, the reference electric energy metering device 4 and the detected electric energy metering device 5 in an RS485 bus mode, and is in communication connection with the first safety encryption controller 1 and the second safety encryption controller 2 in a USB mode.
In a further improvement, the steps 6) to 7) are repeated until all the target codes of the reference electric energy metering device 4 are read, and the target code dense library of the reference electric energy metering device 4 is stored.
In an improvement, the method embodiment further comprises the steps of: and (4) repeating the steps 8) to 9) until all the target codes of the detected electric energy metering device 5 are read, storing the target code ciphertext library of the detected electric energy metering device 5, detecting the target code ciphertext library of the reference electric energy metering device 4 and the target code ciphertext library of the detected electric energy metering device 5, judging whether the target code ciphertext library is consistent with the target code ciphertext library of the detected electric energy metering device 5, and returning a success identifier after the target code ciphertext library is consistent with the target code ciphertext library of the detected electric energy metering device 5.

Claims (3)

1. An encryption detection method for consistency of electric energy metering equipment is characterized by comprising the following steps:
1) Starting a workstation (6), inputting a detection password, performing identity authentication with the first security encryption controller (1), and verifying the detection validity;
2) The workstation (6) sends a control command to the consistency detection device (3), starts a signal source, controls the power supply of the consistency detection device (3) to be electrified according to consistency detection logic, and adjusts voltage, current and power factor to appropriate values;
3) The workstation (6) reads the consistency detection logic, is connected with the first secure encryption controller (1) and the second secure encryption controller (2), and carries out bidirectional identity authentication through the first path of encryption channel;
4) The workstation (6) is connected with the first security encryption controller (1) and the detected electric energy metering equipment (5), acquires software version number encryption authentication data, performs bidirectional identity authentication through a second path of encryption channel, judges whether the authentication is successful, continues to execute the next step if the authentication is successful, and terminates to execute the step if the authentication is unsuccessful;
5) The workstation (6) is connected with the second security encryption controller (2) and the reference electric energy metering equipment (4), acquires the encrypted authentication data of the software version number, performs bidirectional identity authentication through a second path of encryption channel, judges whether the authentication is successful, continues to execute the next step if the authentication is successful, and terminates to execute the step if the authentication is unsuccessful;
6) The workstation (6) reads a 128-byte data cipher text of the target code of the reference electric energy metering device (4), sends the cipher text to the first safe encryption controller (1), and obtains cipher text data through secondary encryption;
7) The workstation (6) verifies whether the ciphertext data of each frame are correctly checked, and if the ciphertext data are correctly checked, the ciphertext data are stored into a target code ciphertext library of the reference electric energy metering equipment (4);
8) The workstation (6) reads a 128-byte data cipher text of the target code of the detected electric energy metering device (5), sends the cipher text to the second secure encryption controller (2), and obtains cipher text data through secondary encryption;
9) And the workstation (6) verifies whether the ciphertext data of each frame is checked correctly, and if the ciphertext data is checked correctly, the ciphertext data is stored into a target code ciphertext library of the detected electric energy metering equipment (5).
2. The encryption detection method for the consistency of the electric energy metering devices according to claim 1, characterized in that the steps 6) to 7) are repeated until all the target codes of the reference electric energy metering device (4) are read and stored in the target code secret library of the reference electric energy metering device (4).
3. The encryption detection method for the consistency of the electric energy metering device according to claim 2, further comprising: and (4) repeating the steps 8) to 9) until all target codes of the detected electric energy metering device (5) are read, storing the target code secret library of the detected electric energy metering device (5), detecting the target code secret library of the reference electric energy metering device (4) and the target code secret library of the detected electric energy metering device (5), judging whether the target codes are consistent or not, and returning a success identifier after the target codes are consistent.
CN201510594190.9A 2015-09-17 2015-09-17 Encryption detection method for consistency of electric energy metering equipment Active CN106546942B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510594190.9A CN106546942B (en) 2015-09-17 2015-09-17 Encryption detection method for consistency of electric energy metering equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510594190.9A CN106546942B (en) 2015-09-17 2015-09-17 Encryption detection method for consistency of electric energy metering equipment

Publications (2)

Publication Number Publication Date
CN106546942A CN106546942A (en) 2017-03-29
CN106546942B true CN106546942B (en) 2023-03-21

Family

ID=58361426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510594190.9A Active CN106546942B (en) 2015-09-17 2015-09-17 Encryption detection method for consistency of electric energy metering equipment

Country Status (1)

Country Link
CN (1) CN106546942B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100722668B1 (en) * 2006-01-03 2007-05-28 에스케이 텔레콤주식회사 Measurment machine with ciphering technology, automatic measurment system and method thereof
CN102915409A (en) * 2012-09-11 2013-02-06 中国电力科学研究院 Software filing and comparing instrument applied to electric energy meter and implementing method of software filing and comparing instrument
CN103001771A (en) * 2012-11-14 2013-03-27 广东电网公司电力科学研究院 Data transmission security encryption method for metering automation system
CN103493428A (en) * 2011-04-29 2014-01-01 国际商业机器公司 Data encryption
CN103679062A (en) * 2013-12-23 2014-03-26 上海贝岭股份有限公司 Intelligent electric meter main control chip and security encryption method
CN103744050A (en) * 2014-01-23 2014-04-23 国家电网公司 Field detection device of intelligent electric energy meter
CN104216830A (en) * 2014-09-01 2014-12-17 广州供电局有限公司 Method and system for detecting consistency of equipment software
CN104821901A (en) * 2015-04-15 2015-08-05 广东电网有限责任公司电力科学研究院 Test device for electric energy metering communication protocol of intelligent transformer station

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100722668B1 (en) * 2006-01-03 2007-05-28 에스케이 텔레콤주식회사 Measurment machine with ciphering technology, automatic measurment system and method thereof
CN103493428A (en) * 2011-04-29 2014-01-01 国际商业机器公司 Data encryption
CN102915409A (en) * 2012-09-11 2013-02-06 中国电力科学研究院 Software filing and comparing instrument applied to electric energy meter and implementing method of software filing and comparing instrument
CN103001771A (en) * 2012-11-14 2013-03-27 广东电网公司电力科学研究院 Data transmission security encryption method for metering automation system
CN103679062A (en) * 2013-12-23 2014-03-26 上海贝岭股份有限公司 Intelligent electric meter main control chip and security encryption method
CN103744050A (en) * 2014-01-23 2014-04-23 国家电网公司 Field detection device of intelligent electric energy meter
CN104216830A (en) * 2014-09-01 2014-12-17 广州供电局有限公司 Method and system for detecting consistency of equipment software
CN104821901A (en) * 2015-04-15 2015-08-05 广东电网有限责任公司电力科学研究院 Test device for electric energy metering communication protocol of intelligent transformer station

Also Published As

Publication number Publication date
CN106546942A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN109257327B (en) Communication message safety interaction method and device for power distribution automation system
CN107113315B (en) Identity authentication method, terminal and server
CN105512538B (en) Debugging method and system of intelligent mobile operating system
CN104216830B (en) Method and system for detecting consistency of equipment software
CN110011848B (en) Mobile operation and maintenance auditing system
CN106131021B (en) Request authentication method and system
CN102255109A (en) Authentication method for mobile terminal battery, and mobile terminal thereof
JP2010166486A5 (en)
CN108712246B (en) Intelligent household equipment and system and visitor password acquisition method
CN106027250A (en) Identity card information safety transmission method and system
CN110912864A (en) Electric equipment, charging equipment and identity authentication method thereof
CN111435390A (en) Safety protection method for operation and maintenance tool of power distribution terminal
CN110660145A (en) Lock control method, system, lock and storage medium based on mobile terminal
CN104268756A (en) Mobile payment method and system
CN102652386A (en) Method for testing electric components in mains supply, in particular in mains supply for building
CN103200562A (en) Communication terminal locking method and communication terminal
CN111901303A (en) Device authentication method and apparatus, storage medium, and electronic apparatus
CN109922022A (en) Internet of Things communication means, platform, terminal and system
CN109086588B (en) Authentication method and authentication equipment
CN104918241A (en) User authentication method and system
EP3480718A1 (en) System and method for facilitating authentication via a shortrange wireless token
CN105430649A (en) Wifi access method and apparatus
CN106546942B (en) Encryption detection method for consistency of electric energy metering equipment
CN108599932A (en) A kind of identity identifying method for electric system
CN204903754U (en) System is compared to energy metering equipment uniformity

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