CN112087300B - Key distribution method for electric power field device - Google Patents

Key distribution method for electric power field device Download PDF

Info

Publication number
CN112087300B
CN112087300B CN202010749519.5A CN202010749519A CN112087300B CN 112087300 B CN112087300 B CN 112087300B CN 202010749519 A CN202010749519 A CN 202010749519A CN 112087300 B CN112087300 B CN 112087300B
Authority
CN
China
Prior art keywords
meter
key
concentrator
master station
distribution method
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
CN202010749519.5A
Other languages
Chinese (zh)
Other versions
CN112087300A (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.)
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and Electric 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 Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN202010749519.5A priority Critical patent/CN112087300B/en
Publication of CN112087300A publication Critical patent/CN112087300A/en
Application granted granted Critical
Publication of CN112087300B publication Critical patent/CN112087300B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0891Revocation or update of secret information, e.g. encryption key update or rekeying
    • 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)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a key distribution method for electric power field equipment, which is characterized in that a master station is used as an intermediate party for transmitting keys to a concentrator and a meter, the master station successfully transmits the key of the concentrator to the meter, and then the master station successfully transmits the key of the meter to the meter, after ensuring that the meter successfully receives the key of the meter transmitted by the master station, the master station can transmit meter file information corresponding to each meter and containing the key of the meter to the concentrator corresponding to the meter, and then the concentrator can establish data communication with the meter corresponding to the key of the meter by utilizing the corresponding key of the meter, so that the security of the concentrator and the key distribution process of the meter is realized.

Description

Key distribution method for electric power field device
Technical Field
The invention relates to the field of electric power, in particular to a key distribution method for electric power field equipment.
Background
With the development of the current internet of things technology, more and more devices can be accessed into a network, so that people can acquire the device information through field devices. Due to the fact that the development of the internet of things technology is mature, more and more electric power field devices can be connected to the network, and device information of the electric power field devices is easy to obtain by the electric power field devices on site. However, since the technical development of the safety of device communication is lagged behind the development and popularization of the technology of the internet of things, the potential safety hazard exists in many electric field devices accessed to the internet of things.
In power systems, there is typically a DLMS standard to restrict the communication security of the meter, but there is currently no set of security and operational standards for the overall system. Because of the need to enable communication between different power field devices, such as between a concentrator and a meter, distribution of keys between these power field devices requiring communication is required for security reasons.
The key distribution method in the current power system mainly comprises the steps that the system initializes default keys of all power field devices, and then distributes the keys to the corresponding power field devices in a manual key updating mode. However, the key distribution management is complicated, and when a large number of meters are accessed, the amount of operations for manually updating the key distribution is increased; in addition, since the current key distribution method is based on manual key input, there is a security risk of key leakage whether the default key to be distributed or the updated key is easily caused.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a key distribution method for electric power field equipment aiming at the prior art.
The technical scheme adopted for solving the technical problems is as follows: a key distribution method for an electric field device, comprising the steps of:
step 1, endowing each concentrator with a corresponding concentrator default key when leaving the factory, and endowing each meter with a meter default key when leaving the factory;
step 2, the master station transmits the concentrator key to the corresponding concentrator, and makes judgment processing according to the transmission result of the concentrator key:
when the master station successfully transmits the concentrator key to the corresponding concentrator, the step 3 is shifted to; otherwise, the master station continues to send the concentrator key to the corresponding concentrator until the concentrator key is successfully sent to the corresponding concentrator, and then the step 3 is carried out;
step 3, the master station transmits the meter key to the corresponding meter, and makes judgment processing according to the transmission result of the meter key:
when the master station successfully transmits the meter key to the corresponding meter for timing, the step 4 is shifted to; otherwise, the master station continues to send the meter key to the corresponding meter until the meter key is successfully sent to the corresponding meter, and then the step 4 is carried out;
step 4, the master station transmits meter file information containing meter key information to the corresponding concentrator, and makes a judgment according to the meter file information transmission result:
when the master station successfully transmits the meter file information, the step 5 is carried out; otherwise, the master station continues to send the meter file information to the corresponding concentrator until the meter file information is successfully sent to the corresponding concentrator, and then the step 5 is carried out;
and 5, the concentrator establishes data communication with the corresponding meter by using the meter key in the received meter file information.
In an improvement, the key distribution method for the power field device further comprises: when the concentrator reverts to the concentrator default key, the master station transmits the updated concentrator key to the concentrator.
Still further, the key distribution method for a power field device further includes:
when the meter recovers to the meter default key, the master station respectively transmits the updated meter key to the meter and the concentrator corresponding to the meter;
the concentrator establishes data communication with the meter using the updated meter key.
Further, the key distribution method for the power field device further includes:
when the data communication state between the concentrator and the meter is abnormal, the concentrator sends a new data communication state abnormality to the master station;
the master station resends the meter file information to the concentrator;
the concentrator replaces the original meter file information with the newly received meter file information.
Preferably, in the key distribution method for a power field device, the concentrator default key is different from the meter default key.
In the key distribution method for the electric power field device, when the communication between the master station and any concentrator is unsuccessful, the master station establishes a communication connection with any concentrator by using the latest key matched with any concentrator, and after the master station successfully and normally communicates with the any concentrator, the master station takes the latest key as a key for subsequent communication with any concentrator.
Still further, the key distribution method for a power field device further includes:
when the master station and any concentrator fail to normally communicate successfully by using the latest key, the master station retries to establish communication connection with any concentrator by using the latest key;
the master station makes a judgment according to the result of the number of attempts:
when the number of attempts reaches a first preset number limit value and the successful normal establishment with any concentrator is still unsuccessful, the master station terminates the communication connection with any concentrator; otherwise, the master station takes the latest key as a key for subsequent communication with any concentrator.
Further, in the key distribution method for a power field device, when the communication between the master station and any meter is unsuccessful, the master station establishes a communication connection with any meter by using the latest key adapted to the any meter, and after the master station successfully and normally communicates with the master station, the master station takes the latest key as a key for subsequent communication with any meter.
Still further, the key distribution method for a power field device further includes:
when the master station and any meter fail to normally communicate successfully by using the latest key, the master station retries to establish communication connection with any meter by using the latest key;
the master station makes a judgment according to the result of the number of attempts:
when the number of attempts reaches a second preset number limit value and the successful establishment of the communication connection with any meter is still unsuccessful, the master station terminates the communication connection with any meter; otherwise, the master station takes the latest key as a key for subsequent communication with any one of the tables.
Preferably, in the key distribution method for a power field device, the first preset number of times limit is different from the second preset number of times limit.
Compared with the prior art, the invention has the advantages that:
firstly, the key distribution method for the electric power field device comprises the steps that a master station is used as an intermediate party for transmitting keys to a concentrator and a meter, the master station successfully transmits the concentrator keys to the meter, then the master station successfully transmits the meter keys to the meter, after ensuring that the meter keys transmitted by the master station are successfully received by the meter, the master station can transmit meter file information corresponding to each meter and containing the meter keys to the concentrator corresponding to the meter, and then the concentrator can establish data communication with the meter corresponding to the meter keys by utilizing the corresponding meter keys, so that the safety of the key distribution process of the concentrator and the meter keys is realized, and the leakage of keys between the concentrator and the meter is avoided;
secondly, by introducing a meter file information compensation mechanism, when the concentrator cannot establish normal communication with the meter by utilizing the meter key before the utilization of the meter, the master station resends meter file information corresponding to the meter to the concentrator again, so that the concentrator can establish normal data communication with the meter.
Drawings
Fig. 1 is a flow chart of a key distribution method for a power field device according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the embodiments of the drawings.
The embodiment provides a key distribution method for electric power field equipment, which is suitable for a system formed by a main station, a plurality of concentrators and a plurality of meters, wherein each concentrator is at least connected with one meter in a hanging mode. Specifically, the key distribution method for the power field device comprises the following steps:
step 1, endowing each concentrator with a corresponding concentrator default key when leaving the factory, and endowing each meter with a meter default key when leaving the factory; that is, each concentrator has a corresponding default key of the concentrator, and the default keys of the concentrators corresponding to the two different concentrators can be the same or the same; of course, each meter has a corresponding meter default key, and the meter default keys corresponding to the two different meters can be the same or the same; the concentrator default key and the meter default key in this embodiment are different keys;
step 2, the master station transmits the concentrator key to the corresponding concentrator, and makes judgment processing according to the transmission result of the concentrator key:
when the master station successfully transmits the concentrator key to the corresponding concentrator, the master station and the concentrator can communicate at the moment, and then the step 3 is carried out; otherwise, the master station continues to send the concentrator key to the corresponding concentrator until the concentrator key is successfully sent to the corresponding concentrator, and then the step 3 is carried out;
step 3, the master station transmits the meter key to the corresponding meter, and makes judgment processing according to the transmission result of the meter key:
when the master station successfully transmits the meter key to the corresponding meter, the master station and the meter can communicate at the moment, and the step 4 is carried out; otherwise, the master station continues to send the meter key to the corresponding meter until the meter key is successfully sent to the corresponding meter, and then the step 4 is carried out;
step 4, the master station transmits meter file information containing meter key information to the corresponding concentrator, and makes a judgment according to the meter file information transmission result:
when the master station successfully transmits the meter file information, the step 5 is carried out; otherwise, the master station continues to send the meter file information to the corresponding concentrator until the meter file information is successfully sent to the corresponding concentrator, and then the step 5 is carried out;
and 5, the concentrator establishes data communication with the corresponding meter by using the meter key in the received meter file information. That is, the concentrator can establish data communication with the corresponding meter according to the meter key in the meter file information received by the concentrator, so that the concentrator can read the data of the meter.
In view of the fact that the concentrator is in operation, the master station transmits the updated concentrator key to the concentrator once the concentrator has recovered to the concentrator default key. That is, the master station confirms that any one of the concentrators in the system has returned the key to the default concentrator key at the time of shipment, and transmits the updated concentrator key for that concentrator to that concentrator.
In addition, when the meter is restored to the meter default key, the master station respectively sends the updated meter key to the meter and the concentrator corresponding to the meter in consideration of the actual situation in the meter work;
the concentrator establishes data communication with the meter using the updated meter key.
Of course, when the data communication state between the concentrator and the meter is abnormal, firstly, the concentrator transmits the data communication state abnormality to the master station; then, the master station resends the meter file information to the concentrator; finally, the concentrator replaces the original meter file information with the newly received meter file information.
When the communication between the master station and any concentrator is unsuccessful, the master station establishes communication connection with any concentrator by using the latest key matched with any concentrator, and after the master station and the concentrator successfully and normally communicate, the master station takes the latest key as the key for subsequent communication with any concentrator.
In addition, when the master station and any concentrator fail to normally communicate successfully by using the latest key, the master station again tries to establish communication connection with any concentrator by using the latest key; and the master station makes a judgment according to the result of the number of attempts:
when the number of attempts reaches a first preset number limit value and the successful normal establishment with any concentrator is still unsuccessful, the master station terminates the communication connection with any concentrator; otherwise, the master station takes the latest key as a key for subsequent communication with any concentrator.
When the communication between the master station and any meter is unsuccessful, the master station establishes communication connection with any meter by using the latest key matched with any meter, and after the master station and the meter successfully and normally communicate, the master station takes the latest key as the key for subsequent communication with any meter. When the master station and any meter fail to normally communicate successfully by using the latest key, the master station again tries to establish communication connection with any meter by using the latest key; and the master station makes a judgment according to the result of the number of attempts:
when the number of attempts reaches a second preset number limit value and the successful establishment of the communication connection with any meter is still unsuccessful, the master station terminates the communication connection with any meter; otherwise, the master station takes the latest key as a key for subsequent communication with any one of the tables. Wherein the first preset number of times limit value and the second preset number of times limit value are set to different values.
While the preferred embodiments of the present invention have been described in detail, it is to be clearly understood that the same may be varied in many ways by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A key distribution method for an electric field device, comprising the steps of:
step 1, endowing each concentrator with a corresponding concentrator default key when leaving the factory, and endowing each meter with a meter default key when leaving the factory;
step 2, the master station transmits the concentrator key to the corresponding concentrator, and makes judgment processing according to the transmission result of the concentrator key:
when the master station successfully transmits the concentrator key to the corresponding concentrator, the step 3 is shifted to; otherwise, the master station continues to send the concentrator key to the corresponding concentrator until the concentrator key is successfully sent to the corresponding concentrator, and then the step 3 is carried out;
step 3, the master station transmits the meter key to the corresponding meter, and makes judgment processing according to the transmission result of the meter key:
when the master station successfully transmits the meter key to the corresponding meter for timing, the step 4 is shifted to; otherwise, the master station continues to send the meter key to the corresponding meter until the meter key is successfully sent to the corresponding meter, and then the step 4 is carried out;
step 4, the master station transmits meter file information containing meter key information to the corresponding concentrator, and makes a judgment according to the meter file information transmission result:
when the master station successfully transmits the meter file information, the step 5 is carried out; otherwise, the master station continues to send the meter file information to the corresponding concentrator until the meter file information is successfully sent to the corresponding concentrator, and then the step 5 is carried out;
and 5, the concentrator establishes data communication with the corresponding meter by using the meter key in the received meter file information.
2. The key distribution method for a power field device according to claim 1, further comprising: when the concentrator reverts to the concentrator default key, the master station transmits the updated concentrator key to the concentrator.
3. The key distribution method for a power field device according to claim 1 or 2, further comprising:
when the meter recovers to the meter default key, the master station respectively transmits the updated meter key to the meter and the concentrator corresponding to the meter;
the concentrator establishes data communication with the meter using the updated meter key.
4. The key distribution method for a power field device according to claim 1 or 2, further comprising:
when the data communication state between the concentrator and the meter is abnormal, the concentrator sends a new data communication state abnormality to the master station;
the master station resends the meter file information to the concentrator;
the concentrator replaces the original meter file information with the newly received meter file information.
5. The key distribution method for a power field device of claim 4, wherein the concentrator default key is different from the meter default key.
6. The key distribution method for a power field device according to claim 4, wherein when communication between the master station and any concentrator is unsuccessful, the master station establishes a communication connection with the any concentrator using a latest key adapted to the any concentrator, and after both are successfully communicated normally, the master station regards the latest key as a key for subsequent communication with the any concentrator.
7. The key distribution method for a power field device of claim 6, further comprising:
when the master station and any concentrator fail to normally communicate successfully by using the latest key, the master station retries to establish communication connection with any concentrator by using the latest key;
the master station makes a judgment according to the result of the number of attempts:
when the number of attempts reaches a first preset number limit value and the successful normal establishment with any concentrator is still unsuccessful, the master station terminates the communication connection with any concentrator; otherwise, the master station takes the latest key as a key for subsequent communication with any concentrator.
8. The key distribution method for an electric power field device according to claim 7, wherein when communication between the master station and any one of the meters is unsuccessful, the master station establishes a communication connection with the any one of the meters using a latest key adapted to the any one of the meters, and after both of them are successful in normal communication, the master station regards the latest key as a key for subsequent communication with the any one of the meters.
9. The key distribution method for a power field device of claim 8, further comprising:
when the master station and any meter fail to normally communicate successfully by using the latest key, the master station retries to establish communication connection with any meter by using the latest key;
the master station makes a judgment according to the result of the number of attempts:
when the number of attempts reaches a second preset number limit value and the successful establishment of the communication connection with any meter is still unsuccessful, the master station terminates the communication connection with any meter; otherwise, the master station takes the latest key as a key for subsequent communication with any one of the tables.
10. The key distribution method for a power field device of claim 9, wherein the first preset number of times limit is different from the second preset number of times limit.
CN202010749519.5A 2020-07-30 2020-07-30 Key distribution method for electric power field device Active CN112087300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010749519.5A CN112087300B (en) 2020-07-30 2020-07-30 Key distribution method for electric power field device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010749519.5A CN112087300B (en) 2020-07-30 2020-07-30 Key distribution method for electric power field device

Publications (2)

Publication Number Publication Date
CN112087300A CN112087300A (en) 2020-12-15
CN112087300B true CN112087300B (en) 2023-04-28

Family

ID=73735297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010749519.5A Active CN112087300B (en) 2020-07-30 2020-07-30 Key distribution method for electric power field device

Country Status (1)

Country Link
CN (1) CN112087300B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5590198A (en) * 1995-12-19 1996-12-31 Pitney Bowes Inc. Open metering system with super password vault access
EP0780809A2 (en) * 1995-12-19 1997-06-25 Pitney Bowes Inc. PC-based open metering system and method
CN101900801A (en) * 2010-07-15 2010-12-01 田卫华 Intelligent electric energy meter field test device and test method thereof
CN102685114A (en) * 2012-04-24 2012-09-19 广东电网公司电力科学研究院 Metering data transmission system based on identity encryption and data transmission method
CN106683386A (en) * 2017-03-03 2017-05-17 济南瑞泉电子有限公司 Intelligent concentrator of valve control water meter

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7912788B2 (en) * 2004-09-29 2011-03-22 Pitney Bowes Inc. Mutual authentication system and method for protection of postal security devices and infrastructure

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5590198A (en) * 1995-12-19 1996-12-31 Pitney Bowes Inc. Open metering system with super password vault access
EP0780809A2 (en) * 1995-12-19 1997-06-25 Pitney Bowes Inc. PC-based open metering system and method
CN101900801A (en) * 2010-07-15 2010-12-01 田卫华 Intelligent electric energy meter field test device and test method thereof
CN102685114A (en) * 2012-04-24 2012-09-19 广东电网公司电力科学研究院 Metering data transmission system based on identity encryption and data transmission method
CN106683386A (en) * 2017-03-03 2017-05-17 济南瑞泉电子有限公司 Intelligent concentrator of valve control water meter

Also Published As

Publication number Publication date
CN112087300A (en) 2020-12-15

Similar Documents

Publication Publication Date Title
CN102185382B (en) System and method for data communication between power distribution master station system and power distribution terminal
CA1201170A (en) Hybrid optical/electrical data highway
CN107947357A (en) A kind of power distribution automation data acquisition device and method based on secure accessing area
CN107995051A (en) Secondary equipment of intelligent converting station visualized O&M module information interactive system and method
CN105227398A (en) Long method of attachment, system and its apparatus, terminal are shared in multi-service
CN104636986A (en) Dispatching remote safety remote control checking method based on service
CN102857380A (en) Remote upgrading method for power line carrier communication routing
CN105577757A (en) Multilevel management system of intelligent power terminals based on load balancing and authentication method thereof
CN103822539A (en) Rocket ground test control system based on redundant structure
CN111416864A (en) Block chain-based data management system for Internet
CN105577785A (en) Interregional network communication system and implementation method thereof
CN102740501A (en) wireless network access point sharing method
CN105812504A (en) Intelligent communication address coding method
CN104908779A (en) Marshalling double-heading data flow redundancy method and system
CN112087300B (en) Key distribution method for electric power field device
CN104505942A (en) Power distribution automatic feeder terminal based on data bus and network thereof
CN105791023B (en) The method, apparatus and system of optical network unit ONU management
CN110266808A (en) A kind of method and system uploaded based on vehicle mounted remote communicating module file
EP3232646B1 (en) Apparatus for relaying data transmission in scada system
CN104899174A (en) Method for automatically assigning addresses after plurality of photovoltaic inverters are connected in series
CN104268737A (en) Automatic maintenance spare part inventory management system for CBTC
CN105122851A (en) System for transmitting heterogeneous network-linked data and method therefor
CN106855967A (en) A kind of dispatching of power netwoks data sharing platform
CN102970701A (en) Base station, base station control system and method
CN1817002B (en) Improvements in or relating to communication systems

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