Symmetrical identity authentication method and device for local communication of distribution network, equipment and medium
By adopting a symmetric identity authentication method based on quantum random numbers in the distribution Internet of Things, and using quantum random number strings and XOR algorithms for two-way identity authentication, the risk and algorithm complexity of existing technologies being cracked in a quantum computer environment are solved. It solves high-level problems and achieves efficient and safe access to massive terminals.
Patent Information
- Application Number
- CN202410803015.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-24
AI Technical Summary
Existing power distribution Internet of Things identity authentication technology faces the risk of being cracked when faced with the improvement of computing power due to the development of quantum computers, and the high complexity of the algorithm makes it difficult to meet the secure access needs of massive terminals.
A symmetric identity authentication method for distribution network local communication based on quantum random numbers is adopted. The intelligent distribution transformer and distribution network terminals collaborate to use a pre-stored symmetric key string for encryption and decryption. The quantum random number string and XOR algorithm are used to generate message authentication. code for two-way identity authentication.
It achieves true randomness and unpredictability in the identity authentication process, reduces the risk of being cracked, simplifies the encryption algorithm, improves computing speed, and can support the secure access needs of massive terminals.
Smart Images

Figure CN118694538A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of quantum encryption technology, and in particular to a symmetric identity authentication method, device, equipment and medium for local communication in a distribution network based on quantum random numbers. Background Art
[0002] The massive distributed resource communication network in the power distribution Internet of Things is gradually opening up, and security risks are also coming with it. In order to ensure the secure interaction of data between the power distribution Internet of Things terminal and the edge node, and to prevent the attack range from the low-security level area to the high-security level area, the intelligent fusion terminal of the distribution network terminal and the edge node needs to perform two-way identity authentication. Two-way identity authentication technology refers to the reliable verification of the identity of the communicating parties, including the process of the user presenting his or her identity certificate to the system and the system checking the user's identity certificate.
[0003] The current identity authentication technology can be divided into shared key-based identity authentication, biometrics-based identity authentication and public key encryption algorithm-based identity authentication according to the different verification carriers. Shared key-based identity authentication refers to the completion of identity authentication through the server and the user sharing one or a group of passwords. Biometrics-based identity authentication refers to identity authentication based on each person's unique physical features, such as fingerprints, irises, etc. Public key encryption algorithm-based identity authentication refers to the authentication of both parties in the communication holding a public key and a private key respectively.
[0004] At present, the identity authentication process of the power distribution Internet of Things is generally based on the encryption system built with national commercial encryption, which realizes the secure transmission of sensitive data through computational complexity. However, with the improvement of computing power, especially the development of quantum computers, the risk of the power distribution Internet of Things identity authentication encryption system being cracked has increased, bringing security risks to the stable operation of the power grid. Due to the increasing scale of access terminals, the algorithms of several existing identity authentication technologies are generally complex and difficult to meet the security access needs of massive terminals. Summary of the invention
[0005] In order to overcome the shortcomings of the prior art, one of the objectives of the present invention is to provide a symmetric identity authentication method for local communication in a distribution network, which completes identity verification through the collaboration of edge devices and end devices and then through quantum keys.
[0006] One of the purposes of the present invention is achieved by the following technical solution:
[0007] A symmetric identity authentication method for local communication of a distribution network, when an intelligent distribution transformer performs identity authentication on a distribution network end, includes the following steps:
[0008] The intelligent distribution transformer end encrypts the acquired random number string by using a pre-stored symmetric key string to obtain an encrypted random number string, and sends the encrypted random number string to the distribution network end;
[0009] The distribution network end decrypts the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, inputs the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and uses the symmetric key string to encrypt the message authentication code, and sends the encrypted message authentication code to the smart distribution transformer end;
[0010] The intelligent distribution transformer decrypts the message authentication code by using the symmetric key string to obtain a second message authentication code;
[0011] The intelligent distribution transformer inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code;
[0012] The intelligent distribution transformer compares the second message authentication code with the third message authentication code. If the two are the same, identity authentication is completed; otherwise, the authentication fails.
[0013] Furthermore, after authentication fails, the method further includes: deleting the random number string and the symmetric key string.
[0014] Furthermore, in order to ensure randomness and unpredictability, the random number string is a quantum random number string generated by a quantum random generator.
[0015] Furthermore, in order to store keys and generate random numbers to ensure security,
[0016] Before the intelligent distribution transformer encrypts the obtained random number string by using the pre-stored quantum symmetric key string, it also includes:
[0017] Generate the quantum random number string and store the symmetric key string;
[0018] Each time identity authentication is performed, the smart distribution transformer and the distribution network end obtain the symmetric key string, and the smart distribution transformer obtains the random number string.
[0019] Furthermore, in order to ensure the implementation of one-time one-pad, the intelligent distribution transformer encrypts the random number string by using a pre-stored symmetric key string, including: encrypting the random number string by using the symmetric key string based on an XOR algorithm.
[0020] Furthermore, in order to ensure the randomness and non-tamperability of authentication code generation, the preset authentication code generation algorithm is a Toeplitz matrix.
[0021] Furthermore, when the distribution network end performs identity authentication on the intelligent distribution transformer end, the following steps are included:
[0022] The distribution network end encrypts the acquired random number string by using a pre-stored quantum symmetric key string to obtain an encrypted random number string, and sends the encrypted random number string to the smart distribution transformer end;
[0023] The intelligent distribution transformer end decrypts the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, inputs the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and uses the symmetric key string to encrypt the message authentication code, and sends the encrypted message authentication code to the distribution network end;
[0024] The distribution network end decrypts the message authentication code by using the symmetric key string to obtain a second message authentication code;
[0025] The distribution network terminal inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code;
[0026] The distribution network end compares the second message authentication code with the third message authentication code. If the two are the same, the identity authentication is completed; otherwise, the authentication fails.
[0027] A second object of the present invention is to provide a symmetric identity authentication device for local communication in a distribution network.
[0028] The second object of the present invention is achieved by adopting the following technical solution:
[0029] A symmetric identity authentication device for local communication in a distribution network, comprising:
[0030] An encryption module is used for the intelligent distribution transformer to encrypt the acquired random number string by using a pre-stored symmetric key string to obtain an encrypted random number string, and send the encrypted random number string to the distribution network end;
[0031] A message authentication code generation module is used for the distribution network end to decrypt the encrypted random number string through the pre-stored symmetric key string to obtain the random number string, input the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and use the symmetric key string to encrypt the message authentication code, and send the encrypted message authentication code to the smart distribution transformer end;
[0032] The identity authentication module is used for the intelligent distribution transformer to decrypt the message authentication code through the symmetric key string to obtain a second message authentication code; the intelligent distribution transformer inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code; the intelligent distribution transformer compares the second message authentication code with the third message authentication code, and if the two are the same, the identity authentication is completed; otherwise, the authentication fails.
[0033] The third object of the present invention is to provide an electronic device for performing one of the objects of the invention, which includes a processor, a storage medium and a computer program, wherein the computer program is stored in the storage medium, and when the computer program is executed by the processor, the above-mentioned symmetric identity authentication method for local communication of the distribution network is implemented.
[0034] A fourth object of the present invention is to provide a computer-readable storage medium storing one of the objects of the invention, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned symmetric identity authentication method for local communication of the distribution network is implemented.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] The symmetric identity authentication method for local communication in the distribution network proposed in the present invention performs symmetric identity authentication based on a random number string, and uses random numbers combined with symmetric quantum keys to make the encryption in the identity authentication process truly random and unpredictable. Identity authentication does not rely on traditional computing security, but is guaranteed by quantum mechanics, and will not increase the risk of being cracked due to the development of computers. In addition, the identity authentication method proposed in the present invention is based on a symmetric key, which ensures security while having a simple encryption algorithm and fast computing speed, and can well support the security access requirements of massive terminals. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 It is a flow chart of the symmetric identity authentication method for local communication in the distribution network of embodiment 1;
[0038] Figure 2 It is a schematic diagram of the overall authentication architecture of the present invention;
[0039] Figure 3 It is a structural block diagram of a symmetric identity authentication device for local communication in a distribution network according to Embodiment 2;
[0040] Figure 4 It is a structural block diagram of an electronic device of Embodiment 3. DETAILED DESCRIPTION
[0041] The present invention will be described in more detail below in conjunction with the accompanying drawings. It should be noted that the following description of the present invention with reference to the accompanying drawings is only illustrative and not restrictive. The various embodiments can be combined with each other to form other embodiments not shown in the following description.
[0042] Embodiment 1
[0043] Embodiment 1 provides a symmetric identity authentication method for local communication in a distribution network, aiming to ensure the unconditional provable security of quantum keys through the intrinsic properties of quantum mechanics, and provide stronger security protection for the secure transmission and access of distribution Internet of Things business data.
[0044] The authentication method of this embodiment uses two-way authentication. Specifically, it requires the edge device and the end device to cooperate. The overall security is guaranteed by the quantum security module configured in the edge device and the end device, and has provable unconditional security.
[0045] The communication in this embodiment adopts a local communication channel, that is, a communication channel in a distribution station area, and the communication modes include power line carrier, micro-power wireless, RS485 communication, etc.
[0046] Please refer to Figure 1 As shown, a symmetric identity authentication method for local communication of a distribution network is characterized in that when the intelligent distribution transformer performs identity authentication on the distribution network end, the following steps are included:
[0047] S1. The intelligent distribution transformer encrypts the acquired random number string by using the pre-stored quantum symmetric key string to obtain an encrypted random number string, and sends the encrypted random number string to the distribution network end;
[0048] The above-mentioned intelligent distribution transformer is an edge device located at the edge node, that is, the intelligent terminal of the distribution area, which is used for data processing. As an on-site data processing center, it carries advanced business applications, realizes online monitoring, intelligent analysis and decision-making control of the operation status of the area, and plays a positive role in promoting the construction of a new power system by building a digital area and studying various technical applications.
[0049] The random number string in S1 is a quantum random number string generated by a quantum random generator, which has high randomness and unpredictability.
[0050] In S1, the intelligent distribution transformer terminal encrypts the random number string by using a pre-stored symmetric key string, including: encrypting the random number string by using the symmetric key based on an XOR algorithm.
[0051] Before the intelligent distribution transformer encrypts the obtained random number string by using the pre-stored quantum symmetric key string, it also includes:
[0052] Generate the quantum random number string and store the symmetric key string;
[0053] Each time identity authentication is performed, the smart distribution transformer and the distribution network end obtain the symmetric key string, and the smart distribution transformer obtains the random number string.
[0054] The quantum symmetric key string is an offline charged quantum symmetric key string. In this embodiment, a quantum security module can be added to the entire identity authentication system architecture to obtain the quantum symmetric key string. Please refer to Figure 2As shown in the overall architecture diagram, the quantum security module is used to generate the quantum random number string and store the symmetric key string. Each time the identity is authenticated, the intelligent distribution transformer and the distribution network terminal obtain the symmetric key string from the quantum security module. Before the intelligent distribution transformer performs identity authentication, it needs to take out the symmetric key string previously charged offline from the key management module of the quantum security module, and inform the distribution network terminal of the index value of the key used through the local communication channel.
[0055] It should be noted that, since the present embodiment adopts the XOR algorithm, in order to ensure one-time one-key, the number of bits of the symmetric key string should be consistent with the random number string.
[0056] S2, the distribution network end decrypts the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, inputs the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and uses the symmetric key string to encrypt the message authentication code, and sends the encrypted message authentication code to the smart distribution transformer end;
[0057] The above-mentioned distribution network terminal is an end device used for information collection and processing. It has communication access capabilities, supports the collection and processing of relevant information, and can transmit information to edge devices.
[0058] As described in S1, when the distribution network end receives the index value of the key sent by the smart distribution transformer end, it takes out the symmetric key string that was previously charged offline and is completely consistent with the one stored in the smart distribution transformer end from the quantum security module.
[0059] The preset authentication code generation algorithm is usually a hash function, and this embodiment uses a Toeplitz matrix. In order to ensure one-time one-key and avoid increasing the amount of calculation, the number of bits of the message authentication code also needs to be consistent with the random number string.
[0060] It should be noted that steps S1 and S2 do not verify the random number string or symmetric key string. Because when the random number string is transmitted, only the legitimate communication parties, that is, the smart distribution transformer and the distribution network end, have the symmetric key string, so it is impossible for an intermediate attacker to obtain the random number string, and therefore it is impossible to tamper with it.
[0061] To generate a message authentication code, the edge (distribution network or intelligent distribution transformer) uses the same Toeplitz matrix. After one end generates a random number string, it is converted into a vector, multiplied by the Toeplitz matrix to obtain a sequence, and then the sequence is encrypted and decrypted using the symmetric key using XOR. The Toeplitz matrix is known to both ends, and the selection of the matrix has nothing to do with the symmetric key and the random number string, but the length of the symmetric key and the random number string is determined by the rows and columns of the matrix. The matrix is determined first, and then the length of the key and the random number string is determined based on the matrix.
[0062] S3, the intelligent distribution transformer decrypts the message authentication code by using the symmetric key string to obtain a second message authentication code;
[0063] The second message authentication code obtained by decryption in S3 is the first message authentication code.
[0064] S4, the intelligent distribution transformer inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code;
[0065] It should be noted that when generating a message authentication code, the random number string is the input value, and then the message authentication code is generated through a preset algorithm. Therefore, only the same input can get the same message authentication code. Since the transmitted information does not directly contain the bit information of the random number string, and the message authentication code is a one-way function, a malicious attacker in the middle cannot recover the random number string information after obtaining the message authentication code. If an attacker pretends to be a legitimate party to generate a message authentication code, it will also fail to pass the verification because the input random number string information is different. Therefore, identity comparison can be performed through steps S3 and S4.
[0066] S5. The intelligent distribution transformer compares the second message authentication code with the third message authentication code. If the two are the same, identity authentication is completed; otherwise, the authentication fails.
[0067] The comparison in S5 is based on whether the random number string has been tampered with. As mentioned above, an attacker cannot obtain the random number string. Therefore, the method of this embodiment is essentially the comparison of the random number string.
[0068] In S5, after the authentication fails, the process further includes: deleting the random number string and the symmetric key string.
[0069] In addition, when the distribution network end performs identity authentication on the smart distribution transformer end, the steps are the same as the identity authentication of the smart distribution transformer end on the distribution network end, wherein the random number string encryption and message authentication code comparison are performed by the distribution network end, and the first message authentication code is generated by the smart distribution transformer end.
[0070] Specifically, when the distribution network end performs identity authentication on the intelligent distribution transformer end, the following steps are included:
[0071] The distribution network uses the quantum security module to generate a quantum random number string;
[0072] The distribution network uses the quantum symmetric key string to encrypt the random number string and sends the encryption result to the smart distribution transformer through the local channel.
[0073] After receiving the message, the intelligent distribution transformer uses the quantum symmetric key string to decrypt it, and uses the decrypted random number string and the symmetric key to generate the message authentication code H1;
[0074] The intelligent distribution transformer uses a symmetric key to encrypt the message authentication code and sends the message authentication code to the distribution network end via a local communication channel;
[0075] After receiving the message, the distribution network end decrypts it and generates a message authentication code H2 based on the original random number string and the symmetric key;
[0076] The distribution network end compares H1 and H2. If the comparison is successful, the identity authentication of the distribution network end to the intelligent distribution transformer end is completed, the identity authentication process is terminated, and the symmetric key string and random number string are destroyed; if the comparison is unsuccessful, the symmetric key string and random number string are terminated and destroyed.
[0077] In summary, since the encryption and decryption process is symmetrical and uses the XOR algorithm, the complexity is low and the encryption and decryption operation speed is fast. This process can complete a two-way authentication and encryption and decryption process using only two strings of quantum random numbers and a set of symmetric keys, with low resource consumption, which can support the access needs of massive terminal resources. In addition, each two-way authentication process uses independent and truly random quantum random numbers and quantum keys, which are highly secure and can support the secure access needs of edge-end devices.
[0078] Embodiment 2
[0079] Embodiment 2 discloses a device corresponding to the symmetric identity authentication method for local communication in the distribution network corresponding to the above embodiment, which is a virtual device structure of the above embodiment, please refer to Figure 3 As shown, including:
[0080] The encryption module 210 is used for the intelligent distribution transformer to encrypt the acquired random number string by using the pre-stored symmetric key string to obtain an encrypted random number string, and send the encrypted random number string to the distribution network end;
[0081] The message authentication code generation module 220 is used for the distribution network end to decrypt the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, input the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and use the symmetric key string to encrypt the message authentication code, and send the encrypted message authentication code to the smart distribution transformer end;
[0082] The identity authentication module 230 is used for the intelligent distribution transformer to decrypt the message authentication code through the symmetric key string to obtain a second message authentication code; the intelligent distribution transformer inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code; the intelligent distribution transformer compares the second message authentication code with the third message authentication code, and if the two are the same, the identity authentication is completed; otherwise, the authentication fails.
[0083] Preferably, after authentication fails, the method further includes: deleting the random number string and the symmetric key string.
[0084] Preferably, the random number string is a quantum random number string generated by a quantum random generator.
[0085] Preferably, before the intelligent distribution transformer encrypts the acquired random number string by using the pre-stored quantum symmetric key string, the method further includes:
[0086] Generate the quantum random number string and store the symmetric key string;
[0087] Each time identity authentication is performed, the smart distribution transformer and the distribution network end obtain the symmetric key string, and the smart distribution transformer obtains the random number string.
[0088] Preferably, the intelligent distribution transformer encrypts the random number string by using a pre-stored symmetric key string, including: encrypting the random number string by using the symmetric key string based on an XOR algorithm.
[0089] Preferably, the preset authentication code generation algorithm is a Toeplitz matrix.
[0090] Preferably, when the distribution network end performs identity authentication on the intelligent distribution transformer end, the following steps are included:
[0091] The distribution network end encrypts the acquired random number string by using a pre-stored quantum symmetric key string to obtain an encrypted random number string, and sends the encrypted random number string to the smart distribution transformer end;
[0092] The intelligent distribution transformer end decrypts the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, inputs the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and uses the symmetric key string to encrypt the message authentication code, and sends the encrypted message authentication code to the distribution network end;
[0093] The distribution network end decrypts the message authentication code by using the symmetric key string to obtain a second message authentication code;
[0094] The distribution network terminal inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code;
[0095] The distribution network end compares the second message authentication code with the third message authentication code. If the two are the same, the identity authentication is completed; otherwise, the authentication fails.
[0096] Embodiment 3
[0097] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of the present invention is shown in FIG. Figure 4As shown, the electronic device includes a processor 310, a memory 320, an input device 330 and an output device 340; the number of processors 310 in the computer device can be one or more. Figure 4 A processor 310 is taken as an example; the processor 310, the memory 320, the input device 330 and the output device 340 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0098] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the symmetric identity authentication method for local communication in the distribution network in the embodiment of the present invention. The processor 310 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 320, that is, the symmetric identity authentication method for local communication in the distribution network in the above-mentioned embodiment 1 is implemented.
[0099] The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 320 may further include a memory remotely arranged relative to the processor 310, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0100] The input device 330 may be used to receive input user identity information, random number strings, etc. The output device 340 may include a display device such as a display screen.
[0101] Embodiment 4
[0102] Embodiment 4 of the present invention further provides a storage medium containing computer executable instructions, which can be used by a computer to execute a symmetric identity authentication method for local communication of a distribution network, the method comprising:
[0103] The intelligent distribution transformer end encrypts the acquired random number string by using the pre-stored quantum symmetric key string to obtain an encrypted random number string, and sends the encrypted random number string to the distribution network end;
[0104] The distribution network end decrypts the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, inputs the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and uses the symmetric key string to encrypt the message authentication code, and sends the encrypted message authentication code to the smart distribution transformer end;
[0105] The intelligent distribution transformer decrypts the message authentication code by using the symmetric key string to obtain a second message authentication code;
[0106] The intelligent distribution transformer inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code;
[0107] The intelligent distribution transformer compares the second message authentication code with the third message authentication code. If the two are the same, identity authentication is completed; otherwise, the authentication fails.
[0108] Of course, the storage medium containing computer executable instructions provided in an embodiment of the present invention is not limited to the method operations described above, and can also execute related operations in the symmetric identity authentication method based on local communication of the distribution network provided in any embodiment of the present invention.
[0109] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for an electronic device (which can be a mobile phone, a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0110] It is worth noting that in the embodiment of the above-mentioned symmetric identity authentication method device based on local communication in the distribution network, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific name of each functional unit is only for the convenience of distinguishing each other, and is not used to limit the scope of protection of the present invention.
[0111] For those skilled in the art, various other corresponding changes and deformations can be made according to the technical solutions and concepts described above, and all of these changes and deformations should fall within the protection scope of the claims of the present invention.
Claims
1. A symmetric identity authentication method for local communication in a distribution network, characterized in that: When the intelligent distribution transformer performs identity authentication on the distribution network, the following steps are included: The intelligent distribution transformer end encrypts the acquired random number string by using the pre-stored quantum symmetric key string to obtain an encrypted random number string, and sends the encrypted random number string to the distribution network end; The distribution network end decrypts the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, inputs the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and uses the symmetric key string to encrypt the message authentication code, and sends the encrypted message authentication code to the smart distribution transformer end; The intelligent distribution transformer decrypts the message authentication code by using the symmetric key string to obtain a second message authentication code; The intelligent distribution transformer inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code; The intelligent distribution transformer compares the second message authentication code with the third message authentication code. If the two are the same, identity authentication is completed; otherwise, the authentication fails.
2. The symmetric identity authentication method for local communication in a distribution network as claimed in claim 1, characterized in that: After the authentication fails, the method further includes: deleting the random number string and the symmetric key string.
3. The symmetric identity authentication method for local communication in a distribution network as claimed in claim 1, characterized in that: The random number string is a quantum random number string generated by a quantum random generator.
4. The symmetric identity authentication method for local communication in a distribution network as claimed in claim 3, characterized in that: Before the intelligent distribution transformer encrypts the obtained random number string by using the pre-stored quantum symmetric key string, it also includes: Generate the quantum random number string and store the symmetric key string; Each time identity authentication is performed, the smart distribution transformer and the distribution network end obtain the symmetric key string, and the smart distribution transformer obtains the random number string.
5. The symmetric identity authentication method for local communication in a distribution network as claimed in claim 1, characterized in that: The intelligent distribution transformer encrypts the random number string by using a pre-stored symmetric key string, including: encrypting the random number string by using the symmetric key string based on an XOR algorithm.
6. The symmetric identity authentication method for local communication in a distribution network as claimed in claim 1, characterized in that: The preset authentication code generation algorithm is the Toeplitz matrix.
7. The symmetric identity authentication method for local communication in a distribution network as claimed in claim 1, characterized in that: When the distribution network end performs identity authentication on the intelligent distribution transformer end, the following steps are included: The distribution network end encrypts the acquired random number string by using a pre-stored quantum symmetric key string to obtain an encrypted random number string, and sends the encrypted random number string to the smart distribution transformer end; The intelligent distribution transformer end decrypts the encrypted random number string by using the pre-stored symmetric key string to obtain the random number string, inputs the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and uses the symmetric key string to encrypt the message authentication code, and sends the encrypted message authentication code to the distribution network end; The distribution network end decrypts the message authentication code by using the symmetric key string to obtain a second message authentication code; The distribution network terminal inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code; The distribution network end compares the second message authentication code with the third message authentication code. If the two are the same, the identity authentication is completed; otherwise, the authentication fails.
8. A symmetric identity authentication device for local communication in a distribution network, characterized in that: It includes: An encryption module is used for the intelligent distribution transformer to encrypt the acquired random number string by using a pre-stored symmetric key string to obtain an encrypted random number string, and send the encrypted random number string to the distribution network end; A message authentication code generation module is used for the distribution network end to decrypt the encrypted random number string through the pre-stored symmetric key string to obtain the random number string, input the random number string into a preset authentication code generation algorithm to obtain a first message authentication code, and use the symmetric key string to encrypt the message authentication code, and send the encrypted message authentication code to the smart distribution transformer end; An identity authentication module, used for the intelligent distribution transformer to decrypt the message authentication code through the symmetric key string to obtain a second message authentication code; The intelligent distribution transformer inputs the random number string into a preset authentication code generation algorithm to obtain a third message authentication code; The intelligent distribution transformer compares the second message authentication code with the third message authentication code. If the two are the same, identity authentication is completed; otherwise, the authentication fails.
9. An electronic device comprising a processor, a storage medium and a computer program, wherein the computer program is stored in the storage medium, wherein: When the computer program is executed by a processor, the symmetric identity authentication method for local communication in a distribution network as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the symmetric identity authentication method for local communication in a distribution network as described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Low-power-consumption radio frequency encryption communication system
CN120602230A
