Information protection method, communication method, network device, communication system and storage medium
By using quantum keys in SRv6 technology to encrypt the segment identification information in the segment routing header, the problem of insufficient protection of the segment routing header is solved, the security and efficiency of the data packet forwarding path are improved, and the encryption cost is reduced. Risk of key leakage.
Patent Information
- Application Number
- CN202411191576.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The existing segment routing header does not adequately protect the segment list. An attacker can tamper with the segment identification information, causing the packet forwarding path to be hijacked and destroying the security of network communications.
Using an information protection method based on SRv6 technology, the quantum key is obtained to encrypt the segment identification information in the segment routing message header to generate quantum segment identification information to ensure the confidentiality and integrity of the data packet forwarding path.
It effectively prevents attackers from stealing data without being noticed, ensures safe and efficient transmission and storage of data packets, enhances network equipment's ability to control data packet forwarding paths, and reduces the risk of key leakage.
Smart Images

Figure CN118694527A
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security, and more specifically, to an information protection method, communication method, network equipment, communication system and computer-readable storage medium based on SRv6 technology. Background Art
[0002] The segment routing header used in the Internet Protocol version 6 can accurately control the forwarding path of data. However, since the segment routing header does not provide sufficient protection for the segment list in the segment routing, attackers can manipulate the forwarding path of data packets by tampering with the segment identification information in the segment list, causing them to reach the network device controlled or monitored by the attacker as desired, thereby achieving the purpose of message hijacking. Summary of the invention
[0003] The present application provides an information protection method, a communication method, a network device, a communication system and a computer-readable storage medium based on SRv6 technology.
[0004] The present application embodiment provides an information protection method based on SRv6 technology, the information protection method is used for a network device, the method comprising: Obtain quantum keys; The segment identification information in the segment routing message header is encrypted according to the quantum key to obtain quantum segment identification information, so as to protect the segment identification information.
[0005] In this way, the quantum segment identification information is obtained by encrypting the segment identification information in the segment routing header with a quantum key. The quantum key has extremely strong confidentiality, and attackers cannot steal data without being detected. In this way, the obtained quantum segment identification information has good confidentiality and can safely and efficiently store and transmit the information required for segment routing.
[0006] In some embodiments, the network device is respectively connected to the controller and the quantum key management system in communication, and the obtaining of the quantum key includes: Initiate a quantum key application to the quantum key management system through the controller; Receiving first key information distributed by the quantum key management system according to the quantum key application; The first key information is decrypted to obtain the quantum key and a quantum key identifier corresponding to the quantum key.
[0007] In this way, a quantum key application is initiated to the quantum key management system through the controller. Then, the first key information distributed by the quantum key management system according to the quantum key application is received. Finally, the first key information is decrypted to obtain the quantum key and the quantum key identifier corresponding to the quantum key. The quantum key has extremely strong confidentiality, and attackers cannot steal data without being detected. The quantum key identifier helps to manage and use the quantum key. The quantum key and quantum key identifier obtained in this way can be used in subsequent communication processes to enhance the confidentiality of the communication process.
[0008] In some embodiments, initiating a quantum key application to the quantum key management system through the controller includes: A quantum key application is initiated to the quantum key management system through the controller at every preset period.
[0009] In this way, the network device sets a preset period, and then initiates a quantum key application to the quantum key management system through the controller every preset period. In this way, by regularly initiating quantum key applications, the regular update of the key can be ensured. Even if the quantum key is illegally obtained at a certain point in time, the regular update will make the illegally obtained key invalid in the near future, reducing the risk of key leakage.
[0010] In some embodiments, the quantum key application includes a security device identifier of the network device, the first key information is obtained by the quantum key management system encrypting the second key information according to the quantum master key, the second key information is randomly generated by the quantum key management system, and the quantum master key is pre-filled in the network device and determined according to the security device identifier.
[0011] In this way, the quantum key application sent by the network device includes the security device identification of the network device, and the security device identification is used to determine the quantum master key to be used according to the security device identification when the subsequent quantum key management system uses the quantum master key to encrypt the second key information. The first key information received by the network device is obtained by the quantum key management system by encrypting the second key information according to the quantum master key, so that the second key message is sent to the network device under the protection of the quantum master key. Among them, the second key information is randomly generated by the quantum key management system, the quantum master key is pre-filled in the network device and determined according to the security device identification, and the network device is pre-filled with the quantum master key for use by the network device.
[0012] In some embodiments, the quantum key application further includes the number of quantum keys, and the second key information further includes a number of initial quantum keys corresponding to the number of quantum keys; and / or The quantum key application also includes a quantum key length, and the second key information also includes an initial quantum key corresponding to the quantum key length.
[0013] In this case, the quantum key application also includes the number of quantum keys, and the second key information also includes the number of initial quantum keys corresponding to the number of quantum keys, and the number of quantum keys is determined according to the actual needs of the network device to ensure the reasonable allocation and use of quantum resources; and / or The quantum key application also includes the quantum key length, and the second key information also includes the initial quantum key corresponding to the quantum key length. The quantum key length is determined based on the actual needs of the network device to ensure that it is consistent with the key length required by the network device.
[0014] In some embodiments, the information protection method further includes: A registration request is initiated to the controller, where the registration request includes a security device identifier of the network device, so as to perform security authentication on the quantum key management system through the controller.
[0015] In this way, the network device initiates a registration request to the controller, and the registration request includes the network device's secure device identification, so as to conduct security authentication to the quantum key management system through the controller. In this way, the network device's secure device identification is used, and the controller is used as a transfer station to conduct security authentication to the quantum key management system, ensuring that the network device that passes the security authentication can obtain the quantum key.
[0016] In some embodiments, the information protection method further includes: The quantum key identifier and the quantum segment identifier information are stored in a preset field in a segment routing message header.
[0017] In this way, the network device stores the quantum key identification and quantum segment identification information in a preset field in the segment routing message header. The quantum key identification can be used to verify the integrity of the data packet, while the quantum segment identification indicates the specific network segment that the data packet needs to pass through. In this way, by storing the quantum key identification and quantum segment identification information in the segment routing message header, the network device can safely and accurately control the forwarding path of the data packet.
[0018] In some embodiments, encrypting the segment identification information in the segment routing message header according to the quantum key to obtain quantum segment identification information to protect the segment identification information includes: The segment identification information is encrypted according to the quantum key and a preset encryption algorithm to obtain quantum segment identification information, so as to protect the segment identification information.
[0019] In this way, the network device encrypts the segment identification information according to the quantum key and the preset encryption algorithm to obtain the quantum segment identification information to protect the segment identification information. By encrypting the segment identification information using the quantum key and the encryption algorithm, even if the data is intercepted, the encrypted segment identification information cannot be easily decrypted and understood, which can ensure the security of the segment identification information during transmission.
[0020] An embodiment of the present application provides a communication method, which is used for the network device, and the communication method includes: Receiving data information sent by a previous network device in the communication link where the network device is located, the data information including a segment routing message header processed based on the above-mentioned information protection method based on the SRv6 technology; Parsing the data information to obtain a quantum key identifier; Performing security verification on the data information according to the quantum key identifier; When the security verification is passed, the data information is sent to the next network device in the communication link where the network device is located.
[0021] In this way, in the communication link where the network device is located, the network device uses the quantum key identifier to parse the data information sent by the previous network device to obtain the quantum key identifier. The network device then performs security verification on the data information based on the obtained quantum key identifier. Ensure that if the security verification passes, the network device sends the data information to the next network device in the communication link. This ensures the security of the communication link and improves the efficiency of data forwarding.
[0022] In some embodiments, the performing security verification on the data information according to the quantum key identification includes: According to the quantum key identifier, querying the network device for a quantum key corresponding to the quantum key identifier; When a quantum key corresponding to the quantum key identifier is queried in the network device, the data information security is confirmed by the quantum key.
[0023] In this way, the network device queries the quantum key corresponding to the quantum key identifier in the network device according to the quantum key identifier. When the quantum key corresponding to the quantum key identifier is queried in the network device, the network device confirms the security of the data information through the quantum key. In this way, after the quantum key corresponding to the quantum key identifier is queried in the network device, the segment routing message header is verified according to the queried quantum key to confirm the security of the data information.
[0024] In some embodiments, the performing security verification on the data information according to the quantum key identification includes: If the quantum key corresponding to the quantum key identifier is not found in the network device, querying the quantum key corresponding to the quantum key identifier from the quantum key management system according to the quantum key identifier; When a quantum key corresponding to the quantum key identifier is found in the quantum key management system, the data information security is confirmed by using the quantum key; When the quantum key corresponding to the quantum key identifier is not found in the quantum key management system, it is confirmed that the data information security is abnormal.
[0025] In this way, when the quantum key corresponding to the quantum key identifier is not found in the network device, the network device queries the quantum key corresponding to the quantum key identifier from the quantum key management system according to the quantum key identifier. When the quantum key corresponding to the quantum key identifier is found in the quantum key management system, the network device confirms that the data information is secure. When the quantum key corresponding to the quantum key identifier is not found in the quantum key management system, it is confirmed that the data information security is abnormal. In this way, by querying the quantum key corresponding to the quantum key identifier in the quantum key management system, the segment routing message header is verified whether it has been tampered with according to the queried quantum key, and the security of the data information is confirmed. If the quantum key corresponding to the quantum key identifier cannot be found in the quantum key management system, it is confirmed that the data information security is abnormal.
[0026] An embodiment of the present application provides a network device, which includes a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the above-mentioned information protection method and communication method are implemented.
[0027] An embodiment of the present application provides a communication system, which includes a network device, a controller and a quantum key management system as described above, and the network device is communicatively connected to the controller and the quantum key management system respectively.
[0028] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium memory stores a computer program, and when the computer program is executed by one or more processors, the above method is implemented.
[0029] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 This is one of the flowcharts of the information protection method of the implementation mode of the present application; Figure 2 It is a schematic diagram of an example of an information protection method according to an embodiment of the present application; Figure 3 This is a schematic diagram of data transmission based on SRv6 according to an implementation method of the present application; Figure 4 This is the second flowchart of the information protection method of the implementation mode of the present application; Figure 5 This is the third flow chart of the information protection method of the implementation mode of the present application; Figure 6 This is the fourth flowchart of the information protection method of the implementation mode of the present application; Figure 7 This is the fifth flowchart of the information protection method of the implementation mode of the present application; Figure 8 It is a schematic diagram of HMAC TLV field information of an implementation mode of the present application; Fig. 9 is a schematic structural diagram of an SRH according to an embodiment of the present application; Fig.10 This is the sixth flowchart of the information protection method of the implementation mode of the present application; Fig.11 It is one of the flow charts of the communication method of the implementation mode of the present application; Fig.12 is a schematic diagram of an example of a communication method according to an embodiment of the present application; Fig.13 This is the second flow chart of the communication method according to the implementation mode of the present application; Fig.14 This is the third flow chart of the communication method of the implementation mode of the present application. DETAILED DESCRIPTION
[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0032] With the rapid development of the Internet, Internet protocols are constantly updated and iterated. The most widely used version of the Internet Protocol is IPv6, which not only solves the problem of limited IPv4 address space in the Internet Protocol IPv4 version, but also provides a more secure, efficient and flexible communication protocol for the future development of the Internet. With the widespread deployment of IPv6, it will play an important role in promoting the advancement of Internet technology and the expansion of its applications.
[0033] In the related technology, a method of applying IPv6 is proposed, which is a network routing technology Segment Routing over IPv6 (SRv6) that combines Segment Routing (SR) technology with the IPv6 protocol. The Segment list (SID list) is encapsulated in the SR header (Segment Routing Header, SRH) of the IPv6 message to control the message forwarding path. This can provide a flexible and efficient routing solution. Segment Routing (SR) technology is a source routing protocol, also known as a segment routing protocol. The source node specifies the forwarding path and converts the path into an ordered Segment list (SID list) and encapsulates it in the message header. SRv6 converts the path into an ordered Segment list (SID list) and encapsulates it in the message header by inserting an ordered Segment List in the data packet header to guide the processing and forwarding of the received data packets, thereby realizing the scheduling and orchestration of traffic and realizing the refined SLA service guarantee of the business.
[0034] Although the network routing technology SRv6 can provide a flexible and efficient routing solution, the data packets sent using the network routing technology SRv6 may be intercepted by attackers in the network. Attackers tamper with the SID list encapsulated in the SR header of the IPv6 message to send the data packet to the network device specified by the attacker, so that the data carried by the data packet is hijacked or the specified network device is attacked, resulting in poor security of data packet transmission in the network communication link, which undermines the trust foundation of the network.
[0035] Based on the above questions, please refer to Figure 1 The embodiment of the present application provides an information protection method based on SRv6 technology, the information protection method is used for a network device, and the method includes the following steps: 011: Obtain quantum key; 012: Encrypt the segment identification information in the segment routing message header according to the quantum key to obtain the quantum segment identification information, so as to protect the segment identification information.
[0036] The embodiment of the present application also provides a network device, including a memory and a processor. The information protection method of the embodiment of the present application can be implemented by the network device of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to obtain a quantum key, and encrypt the segment identification information in the segment routing message header according to the quantum key to obtain quantum segment identification information, so as to protect the segment identification information.
[0037] The embodiment of the present application also provides an information protection device. The information protection method of the embodiment of the present application can be implemented by the information protection device of the embodiment of the present application. Specifically, the information protection device includes an acquisition module and an encryption module. The acquisition module is used to obtain a quantum key. The encryption module is used to encrypt the segment identification information in the segment routing message header according to the quantum key to obtain quantum segment identification information, so as to protect the segment identification information.
[0038] The present application provides a communication system, which includes the network device of the above-mentioned embodiment, as well as a controller and a quantum key management system, wherein the network device is communicatively connected with the controller and the quantum key management system respectively.
[0039] Specifically, a network device is a device that provides information protection, provides data encapsulation, and segment routing message header encryption and decryption functions to ensure the confidentiality and integrity of segment routing message header information. The controller is used to provide registration management and quantum key application agency for network devices. The controller also has the configuration and distribution control functions of quantum keys, encryption algorithms, and authentication algorithms. The quantum key management system applies for and distributes quantum keys through the controller and network devices, and also directly connects to network devices to inject quantum master keys. The quantum key management system can provide national secret algorithm capabilities based on quantum keys, provide unified password access specifications for controllers or network devices, and realize multi-level password security application capabilities.
[0040] In certain embodiments, see Figure 2, the network device in the above communication system is a quantum secure SRv6 device. The quantum secure SRv6 device and the quantum key management system communicate through the controller, such as key application and key distribution. In the case where the quantum secure SRv6 device sends a quantum key application, the controller receives the quantum key application and performs a series of processing, and then sends the processed quantum key application to the quantum key management service. When the quantum key application is approved, the controller obtains the quantum key distributed by the quantum key management system, and then distributes the quantum key to the quantum secure SRv6 device. In addition, the secure medium in the quantum secure SRv6 device is also directly connected to the quantum key management service, and the quantum key is pre-filled from the quantum key management service. The secure medium is a certificate issued by the relevant unit that meets the relevant standards and has security protection capabilities. In the implementation mode of this application, the secure medium is a security chip such as a secure SIM card and a secure TF card.
[0041] Specifically, in the implementation mode of the present application, the segment routing message header is used to store and transmit path information, including multiple segment identification information. The segment identification information is used to guide the forwarding path of the data. The network device obtains the quantum key, and then encrypts the segment identification information in the segment routing message header according to the quantum key to obtain the quantum segment identification information, so as to protect the segment identification information.
[0042] The following is an example to illustrate the information protection method of the implementation mode of the present application. In the embodiment of the present application, the quantum security SRv6 device is a network device. SRv6 refers to the use of Segment Routing in the IPv6 network, using the IPv6 address as the SID, and the SRv6 node forwards the message according to the Segment. SRv6 encapsulates the SID list in the SR header (Segment Routing Header, SRH) of the IPv6 message to control the message forwarding path. The SR header is a segment routing header, hereinafter referred to as SRH. The segment list (SID list) is segment identification information, hereinafter referred to as the SID list. SRH includes a SID list.
[0043] See also Figure 3 , the data transmission diagram based on SRv6 is shown in the figure. This diagram is for reference only. Different implementation methods may use different data transmission methods, which are determined according to actual needs and are not limited here. There are four network devices in the figure, namely network device A, network device B, network device C and network device D. Network device A is the starting point of the IPv6 message, and network device D is the end point of the IPv6 message. The IPv6 message carries SRH, which contains a SID list. SID is used to guide the forwarding path of the IPv6 message, and SL is used to indicate the number of remaining network devices that the IPv6 message needs to pass through.
[0044] Please refer again Figure 2 , the quantum-safe SRv6 device obtains the quantum key, and then encrypts the SID list in the SRH according to the quantum key to obtain the quantum SID list to protect the SID list.
[0045] In summary, in the information protection method, communication method, network device and communication system of the implementation mode of the present application, the network device encrypts the segment identification information in the segment routing header by a quantum key to obtain the quantum segment identification information, and the quantum key has extremely strong confidentiality, and the attacker cannot steal the data without being detected. In this way, the obtained quantum segment identification information has good confidentiality and can safely and efficiently store and transmit the information required for the segment routing.
[0046] See also Figure 4 In some embodiments, the network device is respectively connected to the controller and the quantum key management system in communication, and step 011 (obtaining the quantum key) includes the steps of: 0111: Initiate a quantum key application to the quantum key management system through the controller; 0112: receiving the first key information distributed by the quantum key management system according to the quantum key application; 0113: Decrypt the first key information to obtain a quantum key and a quantum key identifier corresponding to the quantum key.
[0047] In some embodiments, the application module is used to initiate a quantum key application to the quantum key management system through the controller. The receiving module is used to receive the first key information distributed by the quantum key management system according to the quantum key application. The decryption module is used to decrypt the first key information to obtain the quantum key and the quantum key identifier corresponding to the quantum key.
[0048] In some embodiments, the processor is also used to initiate a quantum key application to the quantum key management system through the controller, receive first key information distributed by the quantum key management system based on the quantum key application, and decrypt the first key information to obtain a quantum key and a quantum key identifier corresponding to the quantum key.
[0049] Specifically, the quantum key application includes a security device identification of the network device, and the security device identification includes a security medium identification and a network device identification integrated with the network device. The first key information is obtained by the quantum key management system by encrypting the second key information according to the quantum master key, and the second key information is randomly generated by the quantum key management system. The quantum master key is pre-filled in the network device and determined according to the security device identification. The network device initiates a quantum key application to the quantum key management system through the controller. Then, the network device receives the first key information distributed by the quantum key management system according to the quantum key application.
[0050] The second key information includes the initial quantum keys corresponding to the number of quantum keys and the initial quantum keys corresponding to the length of the quantum keys. Finally, the network device decrypts the first key information to obtain the quantum key and the quantum key identifier corresponding to the quantum key. The quantum key has extremely strong confidentiality, and attackers cannot steal data without being detected. The quantum key identifier helps to manage and use the quantum key. The quantum key and quantum key identifier obtained in this way can be used in subsequent communication processes to enhance the confidentiality of the communication process.
[0051] Continuing with the above example, please refer again to Figure 2 , the secure medium is used to store quantum keys, usually a secure SIM card or a secure TF card, and other devices or devices capable of storing quantum keys can also be used, which is determined according to actual needs and is not limited here. The quantum secure SRv6 device initiates a quantum key application to the quantum key management system through the controller. The quantum key application includes the secure medium ID integrated in the quantum secure SRv6 device, the number of quantum keys required by the quantum secure SRv6 device, and the quantum key length required by the quantum secure SRv6 device (an integer multiple of 16 bytes). Then, the quantum secure SRv6 device receives the first key information distributed by the quantum key management system according to the quantum key application. The first key information is obtained by the quantum key management system by encrypting the second key information according to the quantum master key. The second key information is randomly generated by the quantum key management system. The quantum master key is pre-filled in the network device and determined according to the security device identification.
[0052] The second key information includes the initial quantum keys of the same number as the quantum key number required by the quantum secure SRv6 device and the initial quantum keys of the same length as the quantum key length required by the quantum secure SRv6 device. The quantum key management system pre-fills the quantum master key to the secure media ID integrated with the quantum secure SRv6 device through the filling software. The quantum master key is used to encrypt the second key message to obtain the first key message, so as to protect the security of the second key message during transmission.
[0053] Finally, the quantum secure SRv6 device decrypts the first key information to obtain quantum keys and quantum key identifiers corresponding to the quantum keys in a number corresponding to the number of quantum keys required by the SRv6 device.
[0054] In this way, the quantum-safe SRv6 device obtains the quantum keys and quantum key identifiers corresponding to the number of quantum keys required by the SRv6 device. The quantum keys have extremely strong confidentiality, and attackers cannot steal data without being detected. The quantum key identifier helps manage and use the quantum keys. The quantum keys and quantum key identifiers obtained in this way can be used in subsequent communication processes to enhance the confidentiality of the communication process.
[0055] See also Figure 5 In some embodiments, step 0111 (initiating a quantum key application to a quantum key management system via a controller) includes the steps of: 01111: Initiate a quantum key application to the quantum key management system through the controller at every preset period.
[0056] In some embodiments, the initiating module is used to initiate a quantum key application to the quantum key management system through the controller at every preset period.
[0057] In some embodiments, the processor is further configured to initiate a quantum key application to a quantum key management system through a controller at preset periodic intervals.
[0058] Specifically, the network device sets a preset period, and then initiates a quantum key application to the quantum key management system through the controller every preset period. In this way, by regularly initiating quantum key applications, the regular update of the key can be ensured. Even if the quantum key is illegally obtained at a certain point in time, the regular update will make the illegally obtained key invalid in the near future, reducing the risk of key leakage.
[0059] Continuing with the above example, please refer again to Figure 2 The quantum security SRv6 device sets a preset period, and then initiates a quantum key application to the quantum key management system through the controller every preset period. The above preset period can be any time interval such as 24 hours, 12 hours, 8 hours, etc., which is determined according to actual communication needs and is not limited here.
[0060] In this way, the quantum-safe SRv6 device can ensure the regular update of the key by regularly initiating quantum key applications. Even if the quantum key is illegally obtained at a certain point in time, regular updates can invalidate the illegally obtained key, reducing the risk of key leakage to a certain extent.
[0061] See also Figure 6 In some embodiments, the information protection method further comprises the steps of: 013: Initiate a registration request to the controller, where the registration request includes the security device identifier of the network device so as to perform security authentication to the quantum key management system through the controller.
[0062] In some implementations, the initiating module is used to initiate a registration request to the controller, where the registration request includes a security device identifier of the network device, so as to perform security authentication to the quantum key management system through the controller.
[0063] In some embodiments, the processor is further configured to initiate a registration request to the controller, where the registration request includes a security device identifier of the network device, so as to perform security authentication to the quantum key management system through the controller.
[0064] Specifically, the security device identification includes the network device identification and the security medium identification integrated with the network device. The network device initiates a registration request to the controller, and the registration request includes the security device identification of the network device, so as to perform security authentication with the quantum key management system through the controller. In this way, the security device identification of the network device is used, and the controller is used as a transfer station to perform security authentication with the quantum key management system, ensuring that the network device that passes the security authentication can obtain the quantum key.
[0065] Continuing with the above example, please refer again to Figure 2 , the quantum-safe SRv6 device initiates a registration request to the controller, the registration request includes the quantum-safe SRv6 device SN and the quantum-safe SRv6 device integrated secure media ID, so as to perform security authentication to the quantum key management system through the controller. After receiving the registration request, the controller stores the relationship between the quantum-safe SRv6 device SN and the quantum-safe SRv6 device integrated secure media ID, and performs security authentication to the quantum key management system through the received quantum-safe SRv6 device SN and the quantum-safe SRv6 device integrated secure media ID information.
[0066] In this way, through the quantum secure SRv6 device SN and the secure media ID integrated in the quantum secure SRv6 device, the controller is used as a transit station to perform security authentication on the quantum key management system, ensuring that network devices that pass the security authentication can obtain quantum keys.
[0067] See also Figure 7 In some embodiments, the information protection method further comprises the steps of: 014: Store the quantum key identification and quantum segment identification information in a preset field in the segment routing message header.
[0068] In some embodiments, the storage module is used to store the quantum key identification and quantum segment identification information in a preset field in the segment routing message header.
[0069] In some embodiments, the processor is further configured to store the quantum key identification and quantum segment identification information in a preset field in the segment routing message header.
[0070] Specifically, the network device stores the quantum key identification and quantum segment identification information in a preset field in the segment routing message header. The quantum key identification can be used to verify the integrity of the data packet, while the quantum segment identification indicates the specific network segment that the data packet needs to pass through. In this way, by storing the quantum key identification and quantum segment identification information in the segment routing message header, the network device can safely and accurately control the forwarding path of the data packet.
[0071] Continuing with the above example, the HMAC TLV field is a default field. Please refer to Figure 2 , a quantum-safe SRv6 device stores the quantum key identity and quantum SID list in the HMAC TLV field in the SRH.
[0072] See also Figure 8 The general structure of the HMAC TLV field is shown in the figure. This diagram is for reference only. Different implementations may use different structures, which are determined according to actual needs and are not limited here. Among them, Type represents the type of the HMAC TLV field. Length represents the length of the HMAC TLV field, that is, the total length of Type, Length, RESERVED, HMAC Key ID and HMAC message. RESERVED represents the extended field of the HMAC TLV field. HMAC Key ID represents the quantum key identifier. HMAC represents the quantum SID list obtained by encrypting the SID list through a hash algorithm and a quantum key.
[0073] See also Fig. 9 The standard position of the HMAC TLV field in the SRH is shown in the figure. This diagram is for reference only. Different implementations may be in different positions, which are determined according to actual needs and are not limited here. Among them, Segment List is the Segment list, that is, the SID list; Payload represents the IPv6 payload, that is, the actual IPv6 data.
[0074] In this way, since the quantum key identifier can be used to verify the integrity of the data packet, and the quantum segment identifier indicates the specific network segment that the data packet needs to pass through, by storing the quantum key identifier and quantum SID list in the segment routing message header, the quantum secure SRv6 device can safely and accurately control the forwarding path of the data packet.
[0075] See also Fig.10 In some implementations, step 012 (encrypting the segment identification information in the segment routing message header according to the quantum key to obtain the quantum segment identification information to protect the segment identification information) includes the steps of: 0121: Encrypt the segment identification information according to the quantum key and a preset encryption algorithm to obtain the quantum segment identification information, so as to protect the segment identification information.
[0076] In some embodiments, the encryption module is used to encrypt the segment identification information according to the quantum key and a preset encryption algorithm to obtain the quantum segment identification information, so as to protect the segment identification information.
[0077] In some embodiments, the processor is further configured to encrypt the segment identification information according to the quantum key and a preset encryption algorithm to obtain the quantum segment identification information, so as to protect the segment identification information.
[0078] Specifically, the network device encrypts the segment identification information according to the quantum key and the preset encryption algorithm to obtain the quantum segment identification information to protect the segment identification information. By encrypting the segment identification information using the quantum key and the encryption algorithm, even if the data is intercepted, the encrypted segment identification information cannot be easily decrypted and understood, which can ensure the security of the segment identification information during transmission.
[0079] Continuing with the above example, the preset encryption algorithm is the hash (HMAC) algorithm. In other implementations, encryption functions such as the AES encryption algorithm, the DES algorithm, and the secure hash algorithm may also be used. This is determined based on actual needs and is not limited here. Please refer to Figure 2 The quantum-safe SRv6 device encrypts the SID list according to the quantum key and the preset encryption algorithm to obtain the quantum SID list to protect the SID list. Figure 8 ,The encryption process of SID list and quantum key is shown in the figure.
[0080] In this way, the quantum-safe SRv6 device encrypts the segment identification information by using quantum keys and encryption algorithms. In this way, even if the data is intercepted, the segment identification information cannot be easily obtained, thus ensuring the security of the segment identification information during transmission.
[0081] See also Fig.11 The embodiment of the present application provides a communication method, which is used for a network device and includes the steps of: 021: receiving data information sent by a previous network device in a communication link where the network device is located, the data information including a segment routing message header processed based on any one of the above information protection methods; 022: Analyze the data information and obtain the quantum key identification; 023: Securely verify data information based on quantum key identification; 024: When the security verification is passed, the data information is sent to the next network device in the communication link where the network device is located.
[0082] In some embodiments, the receiving module is further used to receive data information sent by the previous network device in the communication link where the network device is located, and the data information includes a segment routing message header obtained by processing based on any of the above information protection methods. The parsing module is used to parse the data information and obtain the quantum key identifier. The verification module is also used to perform security verification on the data information according to the quantum key identifier. The sending module is used to send the data information to the next network device in the communication link where the network device is located when the security verification passes.
[0083] In some embodiments, the processor is also used to receive data information sent by the previous network device in the communication link where the network device is located, the data information includes a segment routing message header obtained by processing based on any of the above-mentioned information protection methods, and to parse the data information to obtain a quantum key identifier, and to perform security verification on the data information according to the quantum key identifier and, if the security verification passes, send the data information to the next network device in the communication link where the network device is located.
[0084] Specifically, a communication link is a physical or logical connection between network devices for transmitting data. The network device receives data information sent by the previous network device in the communication link where the network device is located, and the data information includes a segment routing message header obtained by processing based on any of the above information protection methods. The network device parses the data information and obtains a quantum key identifier. Then, the network device performs security verification on the data information based on the quantum key identifier. If the security verification passes, the network device sends the data information to the next network device in the communication link where the network device is located.
[0085] Continuing with the above example, see Fig.12 , the quantum secure SRv6 devices in the communication link where the quantum secure SRv6 device B is located are all consistent with the quantum secure SRv6 device B, and are respectively connected to the quantum key management system and the controller. Quantum secure SRv6 device B receives the data information sent by the quantum secure SRv6 device A in the communication link where the quantum secure SRv6 device B is located, and the data information includes the SRH obtained by processing the information protection method based on the above-mentioned implementation method. Quantum secure SRv6 device B parses the data information and obtains the quantum key identifier. Then, the quantum secure SRv6 device B performs security verification on the data information based on the quantum key identifier. If the security verification passes, the quantum secure SRv6 device B sends the data information to the quantum secure SRv6 device C in the communication link where the quantum secure SRv6 device B is located.
[0086] In this way, in the communication link where the network device is located, the network device uses the quantum key identifier to parse the data information sent by the previous network device to obtain the quantum key identifier. The network device then performs security verification on the data information based on the obtained quantum key identifier. Ensure that if the security verification passes, the network device sends the data information to the next network device in the communication link. This ensures the security of the communication link and improves the efficiency of data forwarding.
[0087] See also Fig.13 In some embodiments, step 023 (security verification of data information according to quantum key identification) includes the steps of: 0231: query the quantum key corresponding to the quantum key identifier in the network device according to the quantum key identifier; 0232: When a quantum key corresponding to a quantum key identifier is found in a network device, the data information security is confirmed by the quantum key.
[0088] In some embodiments, the query module is further used to query the quantum key corresponding to the quantum key identifier in the network device according to the quantum key identifier. The confirmation module is further used to confirm the data information security through the quantum key when the quantum key corresponding to the quantum key identifier is queried in the network device.
[0089] In some embodiments, the processor is further used to query a quantum key corresponding to the quantum key identifier in a network device based on the quantum key identifier, and when a quantum key corresponding to the quantum key identifier is queried in the network device, confirm the security of data information through the quantum key.
[0090] Specifically, the network device queries the quantum key corresponding to the quantum key identifier in the network device according to the quantum key identifier. When the quantum key corresponding to the quantum key identifier is queried in the network device, the network device confirms the security of the data information through the quantum key. In this way, after the quantum key corresponding to the quantum key identifier is queried in the network device, the segment routing message header is verified according to the queried quantum key to confirm the security of the data information.
[0091] Continuing with the above example, the quantum-safe SRv6 device queries the quantum key corresponding to the quantum key identifier in the secure medium integrated with the quantum-safe SRv6 device according to the quantum key identifier. When the quantum key corresponding to the quantum key identifier is found in the secure medium, the quantum-safe SRv6 device confirms the data information security through the quantum key.
[0092] In this way, after the quantum key corresponding to the quantum key identifier is queried in the quantum security SRv6 device, the SRH is verified to see if it has been tampered with based on the queried quantum key, thereby confirming the security of the data information.
[0093] See also Fig.14 In some embodiments, step 023 (security verification of data information according to quantum key identification) includes the steps of: 0233: When the quantum key corresponding to the quantum key identifier is not found in the network device, the quantum key corresponding to the quantum key identifier is searched from the quantum key management system according to the quantum key identifier; 0234: When a quantum key corresponding to a quantum key identifier is found in the quantum key management system, the data information security is confirmed by the quantum key; 0235: When the quantum key corresponding to the quantum key identifier is not found in the quantum key management system, a data information security anomaly is confirmed.
[0094] In some embodiments, the query module is further used to query the quantum key corresponding to the quantum key identifier from the quantum key management system according to the quantum key identifier when the quantum key corresponding to the quantum key identifier is not queried in the network device. The confirmation module is used to confirm the data information security through the quantum key when the quantum key corresponding to the quantum key identifier is queried in the quantum key management system. The confirmation module is also used to confirm that the data information security is abnormal when the quantum key corresponding to the quantum key identifier is not queried in the quantum key management system.
[0095] In certain embodiments, the processor is further configured to, when a quantum key corresponding to the quantum key identifier is not found in the network device, query the quantum key corresponding to the quantum key identifier from the quantum key management system according to the quantum key identifier, and when a quantum key corresponding to the quantum key identifier is found in the quantum key management system, confirm the security of data information through the quantum key, and when a quantum key corresponding to the quantum key identifier is not found in the quantum key management system, confirm that the data information security is abnormal.
[0096] Specifically, when the quantum key corresponding to the quantum key identifier is not found in the network device, the network device queries the quantum key corresponding to the quantum key identifier from the quantum key management system according to the quantum key identifier. When the quantum key corresponding to the quantum key identifier is found in the quantum key management system, the network device confirms the security of the data information through the quantum key. When the quantum key corresponding to the quantum key identifier is not found in the quantum key management system, it is confirmed that the data information security is abnormal. In this way, by querying the quantum key corresponding to the quantum key identifier in the quantum key management system, whether the segment routing message header has been tampered with is verified according to the queried quantum key, and the security of the data information is confirmed. If the quantum key corresponding to the quantum key identifier cannot be found in the quantum key management system, it is confirmed that the data information security is abnormal.
[0097] Continuing with the above example, when the quantum key corresponding to the quantum key identifier is not found in the security medium of the quantum security SRv6 device, the quantum security SRv6 device queries the quantum key corresponding to the quantum key identifier from the quantum key management system according to the quantum key identifier. When the quantum key corresponding to the quantum key identifier is found in the quantum key management system, the quantum security SRv6 device confirms the security of the data information through the quantum key. When the quantum key corresponding to the quantum key identifier is not found in the quantum key management system, the quantum security SRv6 device confirms that the data information security is abnormal. In this way, the quantum security SRv6 device verifies whether the SRH has been tampered with according to the queried quantum key by querying the quantum key corresponding to the quantum key identifier in the quantum key management system, and confirms the security of the data information. If the quantum key corresponding to the quantum key identifier cannot be found in the quantum key management system, the quantum security SRv6 device confirms that the data information has been tampered with or viewed.
[0098] In this way, after the quantum-safe SRv6 device queries the quantum key corresponding to the quantum key identifier in the quantum key management service, it verifies whether the segment routing message header has been tampered with based on the queried quantum key and confirms the security of the data information. If the quantum key description is not queried, the SRH has been tampered with or viewed. The quantum-safe SRv6 device ensures the security and confidentiality of the SRH by using quantum keys.
[0099] The present application also provides a computer-readable storage medium containing a computer program. When the computer program is executed by one or more processors, the one or more processors execute the method of the present application.
[0100] It is understood that a computer program includes computer program code. The computer program code may be in source code form, object code form, executable file or some intermediate form. Computer readable storage media may include: any entity or device capable of carrying computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), and software distribution medium.
[0101] In the description of this specification, the descriptions with reference to the terms "specifically", "further", "particularly", "understandably", etc. are intended to mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not intended to 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.
[0102] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0103] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. An information protection method based on SRv6 technology, characterized in that: The information protection method is used for a network device, and the method comprises: Obtain quantum keys; The segment identification information in the segment routing message header is encrypted according to the quantum key to obtain quantum segment identification information, so as to protect the segment identification information.
2. The information protection method according to claim 1, characterized in that: The network device is respectively connected to the controller and the quantum key management system for communication, and the obtaining of the quantum key includes: Initiate a quantum key application to the quantum key management system through the controller; Receiving first key information distributed by the quantum key management system according to the quantum key application; The first key information is decrypted to obtain the quantum key and a quantum key identifier corresponding to the quantum key.
3. The information protection method according to claim 2, characterized in that: The initiating a quantum key application to the quantum key management system through the controller includes: A quantum key application is initiated to the quantum key management system through the controller at every preset period.
4. The information protection method according to claim 2, characterized in that: The quantum key application includes the security device identification of the network device, the first key information is obtained by the quantum key management system through encryption processing of the second key information according to the quantum master key, the second key information is randomly generated by the quantum key management system, and the quantum master key is pre-filled in the network device and determined according to the security device identification.
5. The information protection method according to claim 4, characterized in that: The quantum key application further includes the number of quantum keys, and the second key information further includes the number of initial quantum keys corresponding to the number of quantum keys; and / or The quantum key application also includes a quantum key length, and the second key information also includes an initial quantum key corresponding to the quantum key length.
6. The information protection method according to claim 2, characterized in that: The information protection method further includes: A registration request is initiated to the controller, where the registration request includes a security device identifier of the network device, so as to perform security authentication on the quantum key management system through the controller.
7. The information protection method according to claim 2, characterized in that: The information protection method further includes: The quantum key identifier and the quantum segment identifier information are stored in a preset field in a segment routing message header.
8. The information protection method according to claim 1, characterized in that: The step of encrypting the segment identification information in the segment routing message header according to the quantum key to obtain quantum segment identification information to protect the segment identification information includes: The segment identification information is encrypted according to the quantum key and a preset encryption algorithm to obtain quantum segment identification information, so as to protect the segment identification information.
9. A communication method, characterized in that: The communication method is used for the network device, and the communication method includes: Receiving data information sent by a previous network device in the communication link where the network device is located, the data information comprising a segment routing message header obtained by processing the information protection method based on the SRv6 technology according to any one of claims 1 to 8; Parsing the data information to obtain a quantum key identifier; Performing security verification on the data information according to the quantum key identifier; When the security verification is passed, the data information is sent to the next network device in the communication link where the network device is located.
10. The communication method according to claim 9, characterized in that: The performing security verification on the data information according to the quantum key identification includes: According to the quantum key identifier, querying the network device for a quantum key corresponding to the quantum key identifier; When a quantum key corresponding to the quantum key identifier is queried in the network device, the data information security is confirmed by the quantum key.
11. The communication method according to claim 10, characterized in that: The performing security verification on the data information according to the quantum key identification comprises: If the quantum key corresponding to the quantum key identifier is not found in the network device, querying the quantum key corresponding to the quantum key identifier from the quantum key management system according to the quantum key identifier; When a quantum key corresponding to the quantum key identifier is found in the quantum key management system, the data information security is confirmed by using the quantum key; When the quantum key corresponding to the quantum key identifier is not found in the quantum key management system, it is confirmed that the data information security is abnormal.
12. A network device, characterized in that: The network device includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 8 or claims 9 to 11 is implemented.
13. A communication system, characterized in that: The communication system comprises the network device, controller and quantum key management system as claimed in claim 12, wherein the network device is communicatively connected with the controller and the quantum key management system respectively.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium memory stores a computer program, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
METHOD AND SYSTEM FOR DISTRIBUTING SECRET KEYS OF A MEDIA STREAM
ATE519289T1
Safe and low-overhead SRv6 implementation method
CN111010274A
Quantum encryption communication method and system capable of automatically networking
CN115473641A
IPv6 message encryption and decryption method based on quantum key application mechanism
CN117155568A
Encrypted cached content system
US20150095637A1
Cited By
Quantum key distribution system and system-based quantum key distribution method
CN121418096A
Message security authentication method and device based on quantum key
CN121690596A
Information protection method, communication method, network device, communication system, and storage medium
WO2026045838A1
