Industrial controller multicast communication key distribution method and system

By employing a multicast communication key distribution method in the DCS control system, member authentication and data encryption are achieved, solving the problem of insufficient multicast communication security in traditional DCS systems and improving system security and communication efficiency.

CN114422118BActive Publication Date: 2024-11-29SUPCON TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111555495.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-17
Publication Date
2024-11-29
Estimated Expiration
2041-12-17

AI Technical Summary

Technical Problem

In traditional DCS control systems, multicast communication lacks an effective security mechanism, resulting in multicast group members being unable to authenticate their identities and multicast data being unencrypted, posing various security risks.

Method used

An industrial controller multicast communication key distribution method is adopted. Through multicast key requests and communication key distribution messages between group members and the key distribution server, the identity and legitimacy of group members are authenticated and multicast data is encrypted. A lightweight communication key distribution mechanism simplifies the process.

Benefits of technology

It improves the security and authentication efficiency of multicast communication, simplifies the communication process, and ensures the security and reliability of the DCS system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114422118B_ABST
    Figure CN114422118B_ABST
Patent Text Reader

Abstract

The present invention relates to a method and system for distributing a multicast communication key of an industrial controller. The method is applied between a group member and a key distribution server. The method comprises: a group member generates a multicast key request message, signs the multicast key request message, obtains first signature information, and further generates a multicast key request message based on the multicast key request message and the first signature information, and sends the message to the key distribution server; the key distribution server uses a group member device identifier to query the multicast group address and the multicast group communication key stored in the multicast key request message for the group member, generates a multicast communication key distribution message based on the multicast key request message, the multicast group address and the multicast group communication key, and sends the message to the group member; the group member verifies the multicast communication key distribution message, and stores the multicast communication key and the multicast group address corresponding to the multicast communication key distribution message whose verification result is correct.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial information security technology, and in particular to a method and system for distributing multicast communication keys of industrial controllers. Background Art

[0002] A DCS system includes deployment of DCS controllers, operator stations, engineers, configuration servers, historical data servers, etc. The operator station (engineer station) needs to configure the controller, collect data, issue commands, upgrade firmware, etc. through relevant communication protocols. There are many forms of communication in the DCS system communication network. Its communication forms include unicast communication, multicast communication and broadcast communication. Among them, multicast communication is generally used for certain types of messages that need to notify multiple objects (such as controller status data, self-diagnostic information release and collaborative control), thereby reducing communication traffic and improving network communication efficiency. In traditional control systems, control system multicast communication does not consider security mechanisms, such as encrypted communication and identity authentication mechanisms. Its communication information is transmitted in plain text, so its communication process is easy to be monitored. Attackers can forge data packets carrying error status or control instructions through man-in-the-middle attacks, deceive control nodes or monitoring nodes of the control system, and damage the system. At the same time, users cannot detect control system abnormalities in time. Therefore, from the perspective of practical application, the security of control system multicast communication will have an important impact on the overall security of the control system. Therefore, based on the characteristics of the control system itself, considering adding multicast communication identity authentication and communication encryption methods applicable to the control system has become an urgent problem to be solved.

[0003] The control system has high requirements for communication real-time and reliability. Furthermore, the controller itself has limited computing resources and is usually unable to support security encryption protocols that require large computing power, such as TLS / DTLS. On the other hand, traditional devices mostly use public key encryption technology based on digital certificates for identity authentication, and digital certificates are cumbersome and inconvenient in daily system maintenance. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides an industrial controller multicast communication key distribution method and system, which solves the technical problems involved in the traditional DCS control system that the multicast communication cannot establish an effective security communication mechanism, the multicast group members cannot be authenticated, and the multicast data is not encrypted, resulting in multiple security risks.

[0006] (II) Technical solution

[0007] In order to achieve the above object, the main technical solutions adopted by the present invention include:

[0008] In a first aspect, an embodiment of the present invention provides an industrial controller multicast communication key distribution method, the method is applied between a group member and a key distribution server, wherein the group member is any terminal node device participating in multicast communication in a DCS control network, and the method includes:

[0009] S1. A group member generates multicast key request information, signs the multicast key request information, obtains first signature information, and further generates a multicast key request message based on the multicast key request information and the first signature information, and sends the message to a key distribution server;

[0010] The multicast key request information includes: a group member random number, a group member device identifier, and a group member timestamp;

[0011] S2. The key distribution server uses the group member device identifier to query the multicast group address and multicast group communication key stored in the group member according to the multicast key request message, and further generates a multicast communication key distribution message based on the multicast key request message, the multicast group address, and the multicast group communication key, and sends it to the group member;

[0012] S3. The group members verify the multicast communication key distribution message, and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct.

[0013] Preferably, the S1 comprises:

[0014] S11, a group member generates a multicast key request message;

[0015] S12. The group member signs the multicast key request information using the group member device certificate private key to obtain first signature information;

[0016] S13. The group member encrypts the multicast key request information and the first signature information using the public key of the key distribution server root certificate to generate a multicast key request message, and sends the multicast key request message to the key distribution server.

[0017] Preferably, S2 includes:

[0018] S21. The key distribution server receives a multicast key request message, and uses the private key of the key distribution server root certificate to decrypt the multicast key request message to obtain multicast key request information and first signature information;

[0019] S22. The key distribution server uses the device certificate public key contained therein to verify whether the first signature information is correct. If correct, the key distribution server records the multicast key request information.

[0020] S23, the key distribution server uses the group member device identifier to query the multicast group address of the group member and the multicast group communication key pre-stored in the key distribution server;

[0021] S24. If the query is successful, the key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members.

[0022] Preferably, the S24 includes:

[0023] S241, the key distribution server generates multicast communication key distribution information based on the group member random number, the multicast group address and the multicast group communication key in the multicast key request information;

[0024] The multicast communication key distribution information includes: group member random number, group member multicast group address, multicast communication key and key distribution server timestamp information;

[0025] S242, the key distribution server signs the multicast communication key distribution information using the root certificate private key to obtain second signature information;

[0026] S243. The key distribution server encrypts the multicast communication key distribution information and the second signature information using the device certificate public key contained in the group member device certificate, obtains a multicast communication key distribution message, and sends the multicast communication key distribution message to the group member.

[0027] Preferably, S3 includes:

[0028] S31, the group member receives the multicast communication key distribution message, and uses the group member device certificate private key to decrypt the multicast communication key distribution message to obtain the second signature information and the multicast communication key distribution information;

[0029] S32, the group member uses the root certificate public key to verify whether the second signature information and the group member random number and key distribution server timestamp information contained in the multicast communication key distribution information are correct;

[0030] S33. If correct, the group member stores the multicast communication key and multicast group address in the multicast communication key distribution information whose verification result is correct.

[0031] On the other hand, this embodiment also provides an industrial controller multicast communication key distribution system, including:

[0032] The group member is used to generate multicast key request information, sign the multicast key request information, obtain first signature information, and further generate a multicast key request message based on the multicast key request information and the first signature information, and send the message to the key distribution server;

[0033] The multicast key request information includes: a group member random number, a group member device identifier, and a group member timestamp;

[0034] A key distribution server is used to query the multicast group address and multicast group communication key stored by the group member device identifier according to the multicast key request message, and further generate a multicast communication key distribution message based on the multicast key request message, the multicast group address and the multicast group communication key and send it to the group member;

[0035] The group member is also used to verify the multicast communication key distribution message, and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct.

[0036] Preferably,

[0037] The group member is used to generate multicast key request information, sign the multicast key request information, obtain first signature information, and further generate a multicast key request message based on the multicast key request information and the first signature information, and send it to the key distribution server, specifically including:

[0038] The group members generate a multicast key request message;

[0039] The group member signs the multicast key request information using the group member device certificate private key to obtain first signature information;

[0040] The group member encrypts the multicast key request information and the first signature information using the public key of the key distribution server root certificate to generate a multicast key request message, and sends the multicast key request message to the key distribution server;

[0041] The key distribution server uses the group member device identifier to query the multicast group address and multicast group communication key of the group member stored therein according to the multicast key request message, and further generates a multicast communication key distribution message based on the multicast key request message, the multicast group address, and the multicast group communication key and sends it to the group member, specifically including:

[0042] The key distribution server receives the multicast key request message, and uses the private key of the key distribution server root certificate to decrypt the multicast key request message to obtain the multicast key request information and the first signature information;

[0043] The key distribution server verifies whether the first signature information is correct by using the public key of the device certificate contained therein, and if correct, records the multicast key request information;

[0044] The key distribution server uses the group member device identifier to query the multicast group address of the group member and the multicast group communication key pre-stored in the key distribution server;

[0045] If the query is successful, the key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members;

[0046] The group members verify the multicast communication key distribution message and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct, including:

[0047] The group member receives the multicast communication key distribution message, and uses the group member device certificate private key to decrypt the multicast communication key distribution message to obtain the second signature information and the multicast communication key distribution information;

[0048] The group members use the root certificate public key to verify whether the group member random number and key distribution server timestamp information contained in the second signature information and the multicast communication key distribution information are correct;

[0049] If correct, the group member stores the multicast communication key and the multicast group address in the multicast communication key distribution information whose verification result is correct.

[0050] Preferably,

[0051] The key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members, specifically including:

[0052] The key distribution server generates multicast communication key distribution information based on the group member random number, the multicast group address and the multicast group communication key in the multicast key request information;

[0053] The multicast communication key distribution information includes: group member random number, group member multicast group address, multicast communication key and key distribution server timestamp information;

[0054] The key distribution server signs the multicast communication key distribution information using the root certificate private key to obtain second signature information;

[0055] The key distribution server encrypts the multicast communication key distribution information and the second signature information using the device certificate public key contained in the group member device certificate, obtains the multicast communication key distribution message, and sends the multicast communication key distribution message to the group members.

[0056] Preferably,

[0057] The key distribution server is further used to generate multicast communication key update information, and use the multicast communication key to generate a message authentication code HMAC of the multicast communication key update information; the key distribution server encrypts the multicast communication key update information and the message authentication code HMAC using the multicast communication key and sends them to the group members as a multicast communication key update message;

[0058] The multicast communication key update information includes a key update timestamp and a multicast communication update key;

[0059] The group member is also used to receive the multicast communication key update message, use the multicast communication key to decrypt, obtain and verify the multicast communication key update information and the message authentication code HMAC, and if correct, use the multicast communication update key in the multicast communication key update information as the new multicast communication key.

[0060] Preferably,

[0061] The key distribution server is also used to store the group member device identification, device certificate and its multicast group address to complete the group member registration authorization.

[0062] (III) Beneficial effects

[0063] The beneficial effects of the present invention are as follows: an industrial controller multicast communication key distribution method and system of the present invention, by adopting multicast key request messages and multicast communication key distribution messages between group members and a key distribution server, realizes the identity legitimacy authentication of group members and multicast data encryption, thereby improving security. On the other hand, through a lightweight communication key distribution mechanism, the communication process is simplified. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] Figure 1 A schematic diagram of a method for distributing keys for multicast communication of an industrial controller according to the present invention;

[0065] Figure 2 A DCS multicast communication network topology diagram in an embodiment of the present invention;

[0066] Figure 3 The present invention is a schematic diagram of the structure of an industrial controller multicast communication key distribution system. DETAILED DESCRIPTION

[0067] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below through specific implementation modes in conjunction with the accompanying drawings.

[0068] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0069] See also Figure 1 This embodiment provides a method for distributing keys for multicast communication of industrial controllers. The method is applied between a group member and a key distribution server, wherein the group member is any terminal node device participating in multicast communication in a DCS control network. The method includes:

[0070] S1. A group member generates multicast key request information, signs the multicast key request information, obtains first signature information, and further generates a multicast key request message based on the multicast key request information and the first signature information, and sends the message to a key distribution server.

[0071] The multicast key request information includes: a group member random number, a group member device identifier, and a group member timestamp.

[0072] S2. The key distribution server queries the stored multicast group address and multicast group communication key of the group member according to the multicast key request message and uses the group member device identifier, and further generates a multicast communication key distribution message based on the multicast key request message, the multicast group address and the multicast group communication key and sends it to the group member.

[0073] S3. The group members verify the multicast communication key distribution message, and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct.

[0074] This embodiment provides a method for distributing keys for multicast communication of industrial controllers, which is applied to multi-communication identity authentication and communication encryption between DCS controllers, operation stations, and engineers in a DCS control system. A typical DCS multicast communication network topology is as follows: Figure 2 The method involves a multicast group member (ie, a group member) and a key distribution server, wherein the group member can be any terminal node device participating in multicast communication in a DCS control network, such as a DCS controller, an operation station, and an engineer station.

[0075] In the practical application of this embodiment, S1 includes:

[0076] S11, a group member generates a multicast key request message;

[0077] S12. The group member signs the multicast key request information using the group member device certificate private key to obtain first signature information;

[0078] S13. The group member encrypts the multicast key request information and the first signature information using the public key of the key distribution server root certificate to generate a multicast key request message, and sends the multicast key request message to the key distribution server.

[0079] In the practical application of this embodiment, S2 includes:

[0080] S21. The key distribution server receives a multicast key request message, and uses the private key of the key distribution server root certificate to decrypt the multicast key request message to obtain multicast key request information and first signature information.

[0081] S22. The key distribution server uses the device certificate public key contained therein to verify whether the first signature information is correct. If correct, the multicast key request information is recorded; (the device certificate public key information has been stored on the key distribution server).

[0082] S23. The key distribution server uses the group member device identifier to query the multicast group address of the group member and the multicast group communication key pre-stored in the key distribution server.

[0083] Specifically, the key distribution server stores the device identification, device certificate and multicast group address of the registered authorized group members.

[0084] S24. If the query is successful, the key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members.

[0085] Specifically, if the query fails (that is, the device identification, device certificate and multicast group address of the group member are not found in the key distribution server), the subsequent process is stopped. The device is actually a digital certificate, which is a thing representing identity, containing public key information corresponding to a private key information.

[0086] In the practical application of this embodiment, the S24 includes:

[0087] S241, the key distribution server generates multicast communication key distribution information based on the group member random number, the multicast group address and the multicast group communication key in the multicast key request information;

[0088] The multicast communication key distribution information includes: group member random number, group member multicast group address, multicast communication key and key distribution server timestamp information;

[0089] S242. The key distribution server signs the multicast communication key distribution information using the root certificate private key to obtain second signature information; (the root certificate is pre-stored on the group member device, and the root certificate is a digital certificate owned by the key distribution server).

[0090] S243. The key distribution server encrypts the multicast communication key distribution information and the second signature information using the device certificate public key contained in the group member device certificate, obtains a multicast communication key distribution message, and sends the multicast communication key distribution message to the group member.

[0091] In the practical application of this embodiment, S3 includes:

[0092] S31. The group member receives the multicast communication key distribution message, and uses the group member device certificate private key to decrypt the multicast communication key distribution message to obtain the second signature information and the multicast communication key distribution information.

[0093] S32. The group members use the root certificate public key to verify whether the group member random number and key distribution server timestamp information contained in the second signature information and the multicast communication key distribution information are correct.

[0094] S33. If correct, the group member stores the multicast communication key and multicast group address in the multicast communication key distribution information whose verification result is correct.

[0095] On the other hand, see Figure 3 This embodiment also provides an industrial controller multicast communication key distribution system, including:

[0096] The group member is used to generate multicast key request information, sign the multicast key request information, obtain first signature information, and further generate a multicast key request message based on the multicast key request information and the first signature information, and send it to the key distribution server.

[0097] The multicast key request information includes: a group member random number, a group member device identifier, and a group member timestamp.

[0098] The key distribution server is used to query the multicast group address and multicast group communication key of the group member stored therein according to the multicast key request message and the group member device identifier, and further generate a multicast communication key distribution message based on the multicast key request message, the multicast group address and the multicast group communication key and send it to the group member.

[0099] The group member is also used to verify the multicast communication key distribution message, and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct.

[0100] In the actual application of this embodiment, the group member is used to generate multicast key request information, sign the multicast key request information, obtain first signature information, and further generate a multicast key request message based on the multicast key request information and the first signature information, and send it to the key distribution server, specifically including:

[0101] Group members generate multicast key request messages.

[0102] The group member signs the multicast key request information using the group member device certificate private key to obtain first signature information.

[0103] The group member encrypts the multicast key request information and the first signature information using the public key of the key distribution server root certificate, generates a multicast key request message, and sends the multicast key request message to the key distribution server.

[0104] The key distribution server uses the group member device identifier to query the multicast group address and multicast group communication key of the group member stored therein according to the multicast key request message, and further generates a multicast communication key distribution message based on the multicast key request message, the multicast group address, and the multicast group communication key and sends it to the group member, specifically including:

[0105] The key distribution server receives the multicast key request message, and uses the private key of the key distribution server root certificate to decrypt the multicast key request message to obtain the multicast key request information and the first signature information.

[0106] The key distribution server uses the device certificate public key contained therein to verify whether the first signature information is correct, and if correct, records the multicast key request information.

[0107] The key distribution server uses the group member device identifier to query the multicast group address of the group member and the multicast group communication key pre-stored in the key distribution server.

[0108] If the query is successful, the key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains the multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members.

[0109] The group members verify the multicast communication key distribution message, and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct, including specifically:

[0110] The group member receives the multicast communication key distribution message, and uses the group member device certificate private key to decrypt the multicast communication key distribution message to obtain the second signature information and the multicast communication key distribution information.

[0111] The group members use the root certificate public key to verify whether the group member random number and key distribution server timestamp information contained in the second signature information and the multicast communication key distribution information are correct.

[0112] If correct, the group member stores the multicast communication key and the multicast group address in the multicast communication key distribution information whose verification result is correct.

[0113] In the practical application of this embodiment, the key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members, specifically including:

[0114] The key distribution server generates multicast communication key distribution information based on the group member random number, the multicast group address and the multicast group communication key in the multicast key request information.

[0115] The multicast communication key distribution information includes: group member random numbers, group member multicast group addresses, multicast communication keys, and key distribution server timestamp information.

[0116] The key distribution server signs the multicast communication key distribution information using the root certificate private key to obtain second signature information.

[0117] The key distribution server encrypts the multicast communication key distribution information and the second signature information using the device certificate public key contained in the group member device certificate, obtains the multicast communication key distribution message, and sends the multicast communication key distribution message to the group members.

[0118] In the actual application of this embodiment, the key distribution server is also used to generate multicast communication key update information, and use the multicast communication key to generate the message authentication code HMAC of the multicast communication key update information; the key distribution server encrypts the multicast communication key update information and the message authentication code HMAC using the multicast communication key and sends them to the group members as a multicast communication key update message.

[0119] The multicast communication key update information includes a key update timestamp and a multicast communication update key.

[0120] The industrial controller multicast communication key distribution system in this embodiment realizes the multicast key update function, and realizes the source authenticity authentication of the multicast key update communication information and the encryption of the communication data based on the shared key technology. The shared key technology is more efficient than the public key encryption technology, so the multicast key update rate is fast, which improves the key distribution efficiency while ensuring the communication security. By regularly updating the multicast communication key, the system security is improved.

[0121] The group member is also used to receive the multicast communication key update message, use the multicast communication key to decrypt, obtain and verify the multicast communication key update information and the message authentication code HMAC, and if correct, use the multicast communication update key in the multicast communication key update information as the new multicast communication key.

[0122] In the actual application of this embodiment, the key distribution server is also used to store the group member device identification, device certificate and its multicast group address to complete the group member registration authorization.

[0123] In the present embodiment, an industrial controller multicast communication key distribution method and system are provided. By adopting multicast key request messages and multicast communication key distribution messages between group members and a key distribution server, the legitimacy authentication of group members and multicast data encryption are realized, thereby improving security. On the other hand, the communication process is simplified through a lightweight communication key distribution mechanism.

[0124] Since the system described in the above embodiment of the present invention is a system used to implement the method of the above embodiment of the present invention, a person skilled in the art can understand the specific structure and variation of the system / device based on the method described in the above embodiment of the present invention, and thus will not be described in detail here. All systems used in the method of the above embodiment of the present invention belong to the scope of protection of the present invention.

[0125] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0126] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions.

[0127] It should be noted that in the claims, any reference numerals placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by the same hardware. The use of the words first, second, third, etc., is for convenience of expression only and does not indicate any order. These words may be understood as part of the component name.

[0128] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0129] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.

[0130] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.

Claims

1. A method for distributing multicast communication keys of industrial controllers, characterized in that: The method is applied between a group member and a key distribution server, wherein the group member is any terminal node device participating in multicast communication in a DCS control network, and the method comprises: S1. A group member generates multicast key request information, signs the multicast key request information, obtains first signature information, and further generates a multicast key request message based on the multicast key request information and the first signature information, and sends the message to a key distribution server; The multicast key request information includes: a group member random number, a group member device identifier, and a group member timestamp; S2. The key distribution server uses the group member device identifier to query the multicast group address and multicast group communication key stored in the group member according to the multicast key request message, and further generates a multicast communication key distribution message based on the multicast key request message, the multicast group address, and the multicast group communication key, and sends it to the group member; S3, the group members verify the multicast communication key distribution message, and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct; The S1 includes: S11, a group member generates a multicast key request message; S12. The group member signs the multicast key request information using the group member device certificate private key to obtain first signature information; S13. The group member encrypts the multicast key request information and the first signature information using the public key of the key distribution server root certificate to generate a multicast key request message, and sends the multicast key request message to the key distribution server.

2. The method according to claim 1, characterized in that The S2 includes: S21. The key distribution server receives a multicast key request message, and uses the private key of the key distribution server root certificate to decrypt the multicast key request message to obtain multicast key request information and first signature information; S22, the key distribution server uses the device certificate public key contained therein to verify whether the first signature information is correct, and if correct, records the multicast key request information; S23, the key distribution server uses the group member device identifier to query the multicast group address of the group member and the multicast group communication key pre-stored in the key distribution server; S24. If the query is successful, the key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members.

3. The method according to claim 2, characterized in that The S24 includes: S241, the key distribution server generates multicast communication key distribution information based on the group member random number, the multicast group address and the multicast group communication key in the multicast key request information; The multicast communication key distribution information includes: group member random number, group member multicast group address, multicast communication key and key distribution server timestamp information; S242, the key distribution server signs the multicast communication key distribution information using the root certificate private key to obtain second signature information; S243. The key distribution server encrypts the multicast communication key distribution information and the second signature information using the device certificate public key contained in the group member device certificate, obtains a multicast communication key distribution message, and sends the multicast communication key distribution message to the group member.

4. The method according to claim 3, characterized in that The S3 includes: S31, the group member receives the multicast communication key distribution message, and uses the group member device certificate private key to decrypt the multicast communication key distribution message to obtain the second signature information and the multicast communication key distribution information; S32, the group member uses the root certificate public key to verify whether the second signature information and the group member random number and key distribution server timestamp information contained in the multicast communication key distribution information are correct; S33. If correct, the group member stores the multicast communication key and multicast group address in the multicast communication key distribution information whose verification result is correct.

5. An industrial controller multicast communication key distribution system, characterized in that: include: The group member is used to generate multicast key request information, sign the multicast key request information, obtain first signature information, and further generate a multicast key request message based on the multicast key request information and the first signature information, and send the message to the key distribution server; The multicast key request information includes: a group member random number, a group member device identifier, and a group member timestamp; A key distribution server is used to query the multicast group address and multicast group communication key stored by the group member device identifier according to the multicast key request message, and further generate a multicast communication key distribution message based on the multicast key request message, the multicast group address and the multicast group communication key and send it to the group member; The group member is also used to verify the multicast communication key distribution message and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct; The group member is used to generate multicast key request information, sign the multicast key request information, obtain first signature information, and further generate a multicast key request message based on the multicast key request information and the first signature information, and send it to the key distribution server, specifically including: The group members generate a multicast key request message; The group member signs the multicast key request information using the group member device certificate private key to obtain first signature information; The group member encrypts the multicast key request information and the first signature information using the public key of the key distribution server root certificate to generate a multicast key request message, and sends the multicast key request message to the key distribution server; The key distribution server uses the group member device identifier to query the multicast group address and multicast group communication key of the group member stored therein according to the multicast key request message, and further generates a multicast communication key distribution message based on the multicast key request message, the multicast group address, and the multicast group communication key and sends it to the group member, specifically including: The key distribution server receives the multicast key request message, and uses the private key of the key distribution server root certificate to decrypt the multicast key request message to obtain the multicast key request information and the first signature information; The key distribution server verifies whether the first signature information is correct by using the public key of the device certificate contained therein, and if correct, records the multicast key request information; The key distribution server uses the group member device identifier to query the multicast group address of the group member and the multicast group communication key pre-stored in the key distribution server; If the query is successful, the key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members; The group members verify the multicast communication key distribution message and store the multicast communication key and multicast group address corresponding to the multicast communication key distribution message whose verification result is correct, including: The group member receives the multicast communication key distribution message, and uses the group member device certificate private key to decrypt the multicast communication key distribution message to obtain the second signature information and the multicast communication key distribution information; The group members use the root certificate public key to verify whether the group member random number and key distribution server timestamp information contained in the second signature information and the multicast communication key distribution information are correct; If correct, the group member stores the multicast communication key and the multicast group address in the multicast communication key distribution information whose verification result is correct.

6. The system according to claim 5, characterized in that The key distribution server generates multicast communication key distribution information based on the multicast key request information, the multicast group address and the multicast group communication key, obtains a multicast communication key distribution message based on the multicast communication key distribution information, and further sends the multicast communication key distribution message to the group members, specifically including: The key distribution server generates multicast communication key distribution information based on the group member random number, the multicast group address and the multicast group communication key in the multicast key request information; The multicast communication key distribution information includes: group member random number, group member multicast group address, multicast communication key and key distribution server timestamp information; The key distribution server signs the multicast communication key distribution information using the root certificate private key to obtain second signature information; The key distribution server encrypts the multicast communication key distribution information and the second signature information using the device certificate public key contained in the group member device certificate, obtains the multicast communication key distribution message, and sends the multicast communication key distribution message to the group members.

7. The system according to claim 6, characterized in that The key distribution server is further used to generate multicast communication key update information, and use the multicast communication key to generate a message authentication code HMAC of the multicast communication key update information; the key distribution server encrypts the multicast communication key update information and the message authentication code HMAC using the multicast communication key and sends them to the group members as a multicast communication key update message; The multicast communication key update information includes a key update timestamp and a multicast communication update key; The group member is also used to receive the multicast communication key update message, use the multicast communication key to decrypt, obtain and verify the multicast communication key update information and the message authentication code HMAC, and if correct, use the multicast communication update key in the multicast communication key update information as the new multicast communication key.

8. The system according to claim 7, characterized in that The key distribution server is also used to store the group member device identification, device certificate and its multicast group address to complete the group member registration authorization.

Citation Information

Patent Citations

  • Method and apparatus for multicast indication of group key change

    US6295361B1