A delivery method based on quantum key and osu combination and related equipment
By setting quantum transfer (QT) overhead in the reserved bits of the OSU frame, quantum key exchange between OTN devices is realized, which solves the problems of low efficiency and insufficient security in key negotiation signaling transmission in the OSU encryption scheme, and realizes efficient and secure key negotiation and business encryption.
Patent Information
- Application Number
- CN202611290534.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-24
- Publication Date
- 2026-11-27
AI Technical Summary
In existing OSU encryption schemes, the transmission of key negotiation signaling lacks an efficient in-band mechanism, relies on external networks which poses security risks, and the key negotiation process is complex and cannot effectively simplify the control plane.
Quantum transfer (QT) overhead is set in the reserved bits of the OSU frame. Quantum key exchange messages are transmitted between OTN devices through the QT overhead, enabling in-band transmission of key negotiation signaling and service data within the same OSU service channel, thus avoiding reliance on external Internet protocol networks.
It simplifies the interaction process between devices, reduces the complexity of operation and maintenance, improves transmission security, avoids security risks on the Internet exposure surface, and realizes the coordination of key negotiation and business encryption in the same channel, which is suitable for small-granularity services below 1.25G.
Smart Images

Figure CN123184828A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a transmission method and related equipment based on the combination of quantum key distribution and OSU. Background Technology
[0002] OTN (Optical Transport Network) refers to a transport network that transmits, multiplexes, routes, and monitors service signals within the optical domain, ensuring their performance and survivability. OSU (Optical Service Unit) technology is an improvement on OTN, employing a more flexible payload block partitioning method to support efficient transport of services at different granularities from 2Mbps to 100Gbps. Quantum Key Distribution (QKD) technology generates symmetric keys by transmitting quantum states, theoretically possessing information-theoretic security at the protocol level.
[0003] Currently, quantum-safe OTN services mainly face the following technical challenges: First, existing OSU encryption schemes lack efficient in-band mechanisms for key negotiation signaling transmission. While existing schemes propose methods to transmit encrypted control information through overhead channels within the OSU data stream, these methods rely on protocol stacks or periodic overhead insertions, making implementation complex. Furthermore, the transmission channels for key negotiation signaling and business data do not achieve true in-band fusion, failing to effectively simplify the control plane.
[0004] Second, the key negotiation process relies on external networks, posing security risks. In existing technologies, key negotiation between OTN devices and key service platforms often depends on external IP networks for signaling interaction, increasing the internet exposure surface and network layer attack surface, resulting in insufficient security. Summary of the Invention
[0005] The main objective of this application is to propose a transmission method, device, electronic device, storage medium, and program product based on the combination of quantum key distribution and OSU, so as to realize the in-band transmission of key negotiation signaling and business data within the same OSU business channel without relying on external Internet protocol networks, thereby simplifying the interaction process and improving security.
[0006] To achieve the above objectives, one aspect of this application proposes a transmission method based on a combination of quantum key distribution and OSU, the method comprising: Set the quantum transfer QT overhead in the reserved bits of the OSU frame; The QT overhead is used to transmit quantum key exchange messages between OTN devices that support OSU functionality.
[0007] In some embodiments, the transmission of quantum key interaction messages between OTN devices supporting OSU functionality via the QT overhead specifically includes: The first OTN device establishes an OSU service channel with the second OTN device; The first OTN device sends key negotiation signaling to the second OTN device in-band within the OSU service channel through the QT overhead, performs a two-way handshake interaction with the second OTN device, and obtains the session key from the quantum key service platform KMS based on the result of the two-way handshake interaction. The first OTN device uses the session key to encrypt the service payload mapped to the OSU frame, and sends the encrypted OSU frame to the second OTN device through the OSU service channel; The second OTN device uses the session key to decrypt the service payload of the received encrypted OSU frame; The key negotiation signaling and the service payload are transmitted within the same OSU service channel, without relying on an external Internet protocol network.
[0008] In some embodiments, the QT overhead occupies 1 bit in the RES reserved bits, and the QT overhead carries four QT frame types in the OSU frame, the four QT frame types including: Start QT interaction message, with its QT overhead bit set to the first encoding, used to initiate a key negotiation session; The response to the Start QT interaction message has its QT overhead bit set to the second encoding, which is used to confirm the Start QT interaction message and notify the sender to prepare to receive key interaction information. When a QT interaction message ends, its QT overhead bits are set to the third encoding to initiate an end encryption request; The response to the end of the QT interaction message has its QT overhead bit set to the fourth encoding to confirm the end of the QT interaction message.
[0009] In some embodiments, the two-way handshake interaction includes: The first OTN device continuously sends multiple first OSU frames, and the QT overhead bits of the first OSU frames are all set to the first encoding, and initiates the start QT interaction message to the second OTN device; After receiving the first OSU frame, the second OTN device waits for an interval of one OSU frame and then continuously sends multiple second OSU frames. The QT overhead bits of the second OSU frames are all set to the second code, and the device responds to the first OTN device with the start QT interaction message. After receiving the response start QT interaction message, the first OTN device sends a session key request to the quantum key service platform KMS and receives the key request ID and session key returned by the quantum key service platform KMS. The first OTN device transmits the key request ID to the second OTN device through the QT overhead; The second OTN device queries the quantum key service platform KMS based on the received key application ID and obtains the session key.
[0010] In some embodiments, the first OTN device continuously transmits multiple first OSU frames, specifically including: The first OTN device continuously sends M groups of OSU frames, each group containing N OSU frames. The QT overhead bits of the N OSU frames constitute one byte of the first encoding, where M and N are both integers not less than 1.
[0011] In some embodiments, N is 8, the first code is 10101010, the second code is 11011011, the third code is 00100111, and the fourth code is 00000000.
[0012] In some embodiments, the method further includes a key negotiation session termination procedure, the termination procedure specifically including: The first OTN device continuously sends multiple third OSU frames, and the QT overhead bits of the third OSU frames are all set to the third encoding, and initiates the end QT interaction message to the second OTN device; The second OTN device continuously sends multiple fourth OSU frames, all of which have their QT overhead bits set to the fourth encoding, in response to the first OTN device with the end QT interaction message; After receiving the response end QT interaction message, the first OTN device deencrypts the message.
[0013] In some embodiments, the QT frame type information in the QT overhead and the service data in the OSU frame payload are carried in parallel within the same OSU frame structure; the OSU service channels corresponding to different service routes are isolated by hard pipes, and the key negotiation and encryption / decryption of each service route do not interfere with each other.
[0014] In some embodiments, sending the encrypted OSU frame to the second OTN device through the OSU service channel specifically includes: The OSU frame carrying the encrypted service payload is mapped to the ODUk frame and transmitted to the second OTN device through the OTN network; The second OTN device demaps the ODUk frame to recover the OSU frame.
[0015] In some embodiments, the session key obtained by the first OTN device from the KMS is 128 bits or 256 bits long, and the validity period of the session key is controlled by the KMS.
[0016] To achieve the above objectives, another aspect of this application proposes a transmission device based on a combination of quantum key distribution and an OSU, the device comprising: The OSU frame processing module is used to set the quantum transfer QT overhead in the reserved bits of the OSU frame; A quantum key exchange module is used to transmit quantum key exchange messages between OTN devices that support OSU functionality via the QT overhead.
[0017] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method.
[0018] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.
[0019] To achieve the above objectives, another aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0020] The embodiments of this application include at least the following beneficial effects: This application provides a transmission method, device, electronic device, storage medium, and program product based on the combination of quantum key and OSU. This scheme utilizes the originally idle RES reserved bits in the OSU frame structure to customize the quantum transmission QT overhead, and uses this QT overhead to directly transmit quantum key interaction messages between OTN devices that support OSU functionality within the band. This can produce multiple beneficial effects: On the one hand, by directly using the embedded bytes in the OSU frame structure to carry key negotiation information, without relying on additional Layer 3 protocols or external Internet channels, it not only simplifies the interaction process between devices and reduces the complexity of operation and maintenance, but also effectively eliminates the security risks of key information being exposed on the Internet surface through transmission via an independent OTN hard pipe, significantly improving transmission security; on the other hand, by reusing the reserved bits with a default value of zero in the frame structure to transmit quantum information, it achieves the coordination of key negotiation and service encryption in the same channel without occupying additional service bandwidth or affecting the compatibility of OSU standard frames, thereby providing a simplified, highly secure, and resource-saving quantum encrypted transmission foundation for small-granularity services below 1.25G. Attached Figure Description
[0021] Figure 1 This is a flowchart of a transmission method based on the combination of quantum key and OSU provided in an embodiment of this application; Figure 2 yes Figure 1 The flowchart of step S102 in the document; Figure 3 yes Figure 2 The flowchart of the two-way handshake interaction in step S202; Figure 4 This is a schematic diagram of the architecture of a transmission system based on the combination of quantum key and OSU provided in an embodiment of this application; Figure 5 This is a schematic diagram showing the location of QT overhead in the OSU frame according to an embodiment of this application; Figure 6 This is a schematic diagram of the QT interaction process provided in the embodiments of this application; Figure 7 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0023] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0024] Before providing a detailed description of the embodiments of this application, some of the nouns and terms involved in the embodiments of this application will be explained first. The nouns and terms involved in the embodiments of this application are subject to the following interpretations.
[0025] 1) OTN (optical transport network): Optical transport network is a type of network that enables the transmission, multiplexing, routing, and monitoring of service signals in the optical domain, while ensuring their performance indicators and survivability.
[0026] 2) OSU (Optical Service Unit): OSU technology is an improvement on Optical Transport Network (OTN) technology. It adopts a more flexible payload block (PB) partitioning method, which can support the efficient carrying of services with different granularities from 2M to 100Gbps and support the number of connections at the k level. The simplified bandwidth lossless adjustment mechanism can well meet the needs of customers for flexible and variable service bandwidth.
[0027] 3) QKD (quantum key distribution): A method for generating symmetric keys by transmitting quantum states between communicating parties, which has information-theoretic security at the theoretical protocol level.
[0028] 4) QKD Quantum Key Distribution Network: A network based on QKD that enables secure key distribution between specified users.
[0029] Currently, quantum-safe OTN services mainly face the following problems: First, quantum encryption for small-granularity services below 1G is difficult. Existing technologies have solved the key information exchange problem for EOO (Ethernet over OTU) services, but encryption for services with speeds below 1G cannot be achieved through ODUk (Optical channel Data Unit-k) because ODUk has too large a bandwidth granularity, which would result in a huge waste of bandwidth when encrypting small-granularity services.
[0030] Second, encryption schemes based on SDH technology face the challenge of network decommissioning. Currently, quantum services below 1G are mainly encrypted using SDH (Synchronous Digital Hierarchy) technology. However, as SDH equipment is decommissioned on a large scale, its carrier entity is shrinking, and there is an urgent need for a small-granularity quantum encryption scheme that can adapt to the next-generation OTN network architecture.
[0031] Third, the signaling overhead mechanism of existing OSU encryption schemes has limitations. Existing schemes have proposed methods to insert encryption control overhead every M frames in the OSU data stream. These schemes have the following shortcomings: (a) the interval insertion method limits the real-time performance and continuity of key negotiation; (b) they require additional frame counting and interval management mechanisms, resulting in high implementation complexity; (c) key negotiation signaling and service data are transmitted in the same OSU data stream, but a complete two-way handshake session mechanism is lacking.
[0032] In view of this, this application provides a method, apparatus, electronic device, storage medium, and program product based on the combination of quantum key and OSU. This scheme utilizes the RES reserved bit in the OSU frame structure to carry quantum key negotiation signaling, realizing in-band transmission of key negotiation signaling and service data within the same OSU service channel, without relying on external Internet protocol networks, thereby simplifying the interaction process and improving security.
[0033] This application provides a transmission method based on the combination of quantum key and OSU, relating to the field of communication technology. This transmission method based on the combination of quantum key and OSU can be applied to terminals, servers, or software running on either terminal or server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, or in-vehicle terminal, but is not limited to these. The server can be configured as an independent physical server, a server cluster consisting of multiple physical servers, or a distributed system. It can also be configured as a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing a transmission method based on the combination of quantum key and OSU, but is not limited to the above forms.
[0034] This application can be used in a wide variety of general-purpose or special-purpose computer system environments or configurations. Examples include: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, and distributed computing environments including any of the above systems or devices. This application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform specific tasks or implement specific abstract data types. This application can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0035] like Figure 1 As shown, this embodiment provides a transmission method based on the combination of quantum key distribution and OSU, including the following steps: Step S101: Set the quantum transfer QT overhead in the reserved bits of the OSU frame.
[0036] As an optional implementation, the QT overhead occupies 1 bit in the RES reserved bits, and the QT overhead carries four QT frame types in the OSU frame, the four QT frame types including: Start QT interaction message, with its QT overhead bit set to the first code (preferably 10101010) to initiate a key negotiation session; The response to the start QT interaction message has its QT overhead bit set to the second encoding (preferably 11011011), which is used to confirm the start QT interaction message and notify the sender to prepare to receive key interaction information. The QT interaction message ends, and its QT overhead bit is set to the third code (preferably 00100111) to initiate an end encryption request; The response to the end of the QT interaction message has its QT overhead bit set to the fourth code (preferably 00000000) to confirm the end of the QT interaction message.
[0037] Step S102: Transmit quantum key exchange messages between OTN devices that support OSU functionality through the QT overhead.
[0038] In some embodiments, see Figure 2 Step S102 may include, but is not limited to, steps S201 to S204: Step S201: The first OTN device and the second OTN device establish an OSU service channel.
[0039] Step S202: The first OTN device sends a key negotiation signaling to the second OTN device in-band within the OSU service channel through the QT overhead, performs a two-way handshake interaction with the second OTN device, and obtains the session key from the quantum key service platform KMS based on the result of the two-way handshake interaction.
[0040] Step S203: The first OTN device uses the session key to encrypt the service payload mapped to the OSU frame, and sends the encrypted OSU frame to the second OTN device through the OSU service channel.
[0041] Specifically, the OSU frame carrying the encrypted service payload is mapped to the ODUk frame and transmitted to the second OTN device through the OTN network; the second OTN device demaps the OSU frame from the ODUk frame to recover the OSU frame.
[0042] Step S204: The second OTN device uses the session key to decrypt the service payload of the received encrypted OSU frame. The key negotiation signaling and the service payload are transmitted within the same OSU service channel, without relying on an external Internet Protocol network.
[0043] As one implementation method, see Figure 3 The two-way handshake interaction in step S202 may include, but is not limited to, steps S301 to S305: Step S301: The first OTN device continuously sends N OSU frames, and the QT overhead bits of the N OSU frames are all set to the first encoding, and initiates the start QT interaction message to the second OTN device.
[0044] For example, the first OTN device continuously sends M groups of OSU frames, each group containing N OSU frames, and the QT overhead bits of the N OSU frames constitute one byte of the first encoding, where M is an integer not less than 1.
[0045] Step S302: After receiving the N OSU frames, the second OTN device waits for an interval of 1 OSU frame, and then continuously sends N OSU frames. The QT overhead bits of the N OSU frames are all set to the second code, and the device responds to the first OTN device with the start QT interaction message.
[0046] Step S303: After receiving the response start QT interaction message, the first OTN device sends a session key request to the KMS and receives the key request ID and session key returned by the KMS.
[0047] Step S304: The first OTN device transmits the key request ID to the second OTN device through the QT overhead.
[0048] Step S305: The second OTN device queries the KMS based on the received key request ID and obtains the session key.
[0049] As a further optional implementation, the method also includes a key negotiation session termination process, which specifically includes steps S306 to S308: Step S306: The first OTN device continuously sends N OSU frames, and the QT overhead bits of the N OSU frames are all set to the third encoding, and initiates the end QT interaction message to the second OTN device; Step S307: The second OTN device continuously sends N OSU frames, and the QT overhead bits of the N OSU frames are all set to the fourth code, and responds to the first OTN device with the end QT interaction message; Step S308: After receiving the response end QT interaction message, the first OTN device deencrypts the message.
[0050] Specifically, N is 8, the first code is 10101010, the second code is 11011011, the third code is 00100111, and the fourth code is 00000000. QT messages are transmitted using 8 bits (i.e., 8 OSU frames). Considering that OSUs use M32 / 256 bits to define multiframes, 8 is an integer multiple of 32 / 256, facilitating device processing of signal frames. Considering that the RES reserved bits are set to all 0s by default, the end-of-acknowledgment QT interaction message is defined as 00000000 to simplify device processing complexity.
[0051] For example, the session key obtained by the first OTN device from the KMS is 128 bits or 256 bits in length, and the validity period of the session key is controlled by the KMS.
[0052] In some embodiments, the QT frame type information in the QT overhead and the service data in the OSU frame payload are carried in parallel within the same OSU frame structure; the OSU service channels corresponding to different service routes are isolated by hard pipes, and the key negotiation and encryption / decryption of each service route do not interfere with each other.
[0053] The solutions of the embodiments of this application will be described in detail below with reference to the accompanying drawings and specific application examples.
[0054] like Figure 4 As shown, this application proposes a transmission system based on the combination of quantum key distribution and OSU, comprising a three-layer architecture: 1) Quantum Key Service Layer The quantum key service layer generates physically real random numbers through the quantum key distribution network (QKDN), and the quantum key service platform (KMS) provides authentication and key services to the operating network. QKDN, based on QKD technology, enables secure key distribution between designated users.
[0055] 2) Quantum Business Enablement Control Layer The quantum service enablement control layer consists of the quantum OTN operation platform and the manufacturer's network management system, and is responsible for the activation, dismantling, and key update triggering management of quantum-safe OTN services. The triggering condition for service encryption is: when a quantum-safe OTN service is activated or dismantled, it is triggered by the network management system of the quantum service enablement control layer.
[0056] 3) Quantum OTN device layer The quantum OTN device layer, consisting of OTN point-to-point devices and forwarding devices, is the main implementing entity of the method in this application. OTN devices supporting OSU functionality establish connections through OSU service channels and utilize the QT overhead defined in this application to complete the transmission of quantum key messages.
[0057] (1) OSU frame structure and QT overhead definition like Figure 5 As shown, the OSU frame structure includes version number (VER), tributary port number (TPN), frame type (FT), path trace identifier (TTI), 32 multiframe indicator (M32), automatic protection switching (APS), delay measurement (DM), channel / serial connection monitoring (PM / TCM), continuity check (CV), sequence number (SQ), mapping overhead, reserved overhead (RES), and CRC8 check area.
[0058] This application selects 1 bit from the RES reserved bit of the OSU frame and defines it as the quantum transfer (QT) overhead. The RES reserved bit is originally a reserved bit with a default value of 0, but in this application, it is given an explicit quantum key transmission function.
[0059] Considering that the OSU uses M32 / 256 bits to define multiframes, QT messages use 8 bits (i.e., 8 OSU frames, which are integer multiples of 32 / 256) to transmit messages, facilitating device processing of signal frames. This application defines four QT frame types, as shown in Table 1: Table 1 QT Frame Type Definitions
[0060] The QT interaction message for ending the response is defined as 00000000, which is consistent with the default value of the RES reserved bit, thus simplifying the processing complexity of the device.
[0061] (2) QT Interaction Process like Figure 6 As shown, the QT interaction flow of this application embodiment is as follows: ① Start QT interaction messages After the first OTN device (hereinafter referred to as A) and the second OTN device (hereinafter referred to as Z) establish an OSU service channel, A continuously sends multiple first OSU frames. Specifically, A continuously sends M groups of OSU frames, each group containing N OSU frames, and the QT overhead bits of the N OSU frames constitute a byte of first encoding. In this embodiment, M=3, N=8, that is, A continuously sends 3×8=24 OSU frames, and the QT overhead bits of every 8 OSU frames constitute a byte of 10101010, for a total of 3 bytes of 10101010 are sent. At this time, the OSU payload is filled with all 1s. This message indicates the start of key exchange information transmission.
[0062] ② Respond to the start of QT interactive messages After receiving the aforementioned 3×8 frames, Z waits for 1 frame (with the QT bit set to 0) to prepare for receiving an acknowledgment message. Z then continuously sends 3×8 OSU frames, with the QT overhead bit set to 11011011, to acknowledge A with a "Start QT Interaction" message, indicating that it is ready to receive key interaction information.
[0063] ③ Session Key Request After receiving the response to start the QT interaction message, the OTN (OSU) device sends a session key request to the KMS quantum key service platform to obtain the key request ID and session key.
[0064] ④ Respond to session key request The quantum key service platform KMS returns the key application ID and session key to client A.
[0065] ⑤ Key request ID encryption interaction Terminal A transmits the Key Request ID to Terminal Z via the QT overhead bits. The Key Request ID is transmitted using QT bits, specifically in the same manner as step ①, by continuously sending multiple sets of OSU frames, with the QT overhead bits of each set of multiple OSU frames constituting the corresponding bytes of the Key Request ID.
[0066] ⑥ Session key query After receiving the key request ID transmitted by QT, the Z-end OSU device queries the session key with the quantum key service platform KMS through the protocol.
[0067] ⑦ Respond to session key request The quantum key distribution platform (KMS) returns the session key to the Z end.
[0068] Business encryption and decryption process Terminal A uses a session key (128-bit or 256-bit) to begin encrypting the service payload of the OSU frame. The encrypted OSU frame is mapped into an ODUk frame and transmitted to Terminal Z via the OTN network. The encryption duration is as agreed upon between the OSU device and the quantum platform, and the update time is controlled by the platform.
[0069] After receiving the OTN frame, the Z end demultiplexes it to obtain the ODUk frame, demaps it from the ODUk frame to recover the OSU frame, and uses the session key obtained from the quantum key service platform KMS to complete the decryption and restore the service payload content.
[0070] ⑧ End QT interaction messages When encryption needs to be terminated, end A continuously sends 3×8 OSU frames with the QT bit set to 00100111, initiating an end encryption request.
[0071] 9. Response ends QT interaction message Z sends 3×8 OSU frames consecutively with the QT bit set to 00000000, and sends an acknowledgment message to A to end the QT interaction. A then deencrypts the message upon receiving it.
[0072] (3) Key update and triggering mechanism In this embodiment, the OSU frame carries key update information (including key deletion and addition) to achieve key updates and simultaneously enable service encryption. Key updates have the following characteristics: 1) Service and key negotiation use the same OSU channel, eliminating the need for a separate control plane channel and simplifying the control plane structure.
[0073] 2) Each route is independent, and services are isolated by hard pipes. Encryption and decryption do not interfere with each other, ensuring the security isolation of each service.
[0074] The key update is triggered by the network management of the quantum service enablement control layer when the quantum-safe OTN service is activated or dismantled. (4) Specific Implementation Examples In a telecommunications operator's OTN access network, the A-end OTN device and the Z-end OTN device are connected via an OSU service channel, carrying a 100Mbps enterprise private line service. Implement quantum encrypted transmission according to the following steps: Step 1: Establish an OSU service channel between end A and end Z. End A sets the QT overhead in the RES reserved bit of the OSU frame.
[0076] Step 2: End A continuously sends 3×8 OSU frames, with QT overhead bits all set to 10101010, and initiates a QT interaction start message to End Z.
[0077] Step 3: The Z-end responds with the start of the QT interaction message, continuously sending 3×8 OSU frames, with the QT overhead bits all set to 11011011.
[0078] Step 4: Client A requests a session key from KMS and obtains the key request ID and a 128-bit session key.
[0079] Step 5: End A transmits the key request ID to End Z via QT overhead bits.
[0080] Step 6: The Z end queries KMS based on the key application ID and obtains the session key.
[0081] Step 7: End A uses the session key to encrypt the service payload of the OSU frame, and maps the encrypted OSU frame into an ODUk frame for transmission to End Z.
[0082] Step 8: The Z end demaps the ODUk frame to recover the OSU frame and uses the session key to complete the decryption.
[0083] Step 9: When the service ends, end A sends 3×8 OSU frames with QT overhead bits of 00100111 to initiate an end encryption request. End Z responds with 3×8 OSU frames with QT overhead bits of 00000000, and end A deencrypts.
[0084] (5) Advantages and beneficial effects In summary, compared with the prior art, this application has at least the following advantages and beneficial effects: 1) Simplified interaction: This application utilizes the originally idle RES reserved bits in the OSU frame structure to customize the QT overhead, and directly completes the transmission of quantum key messages within the OSU frame without the need for additional protocol stack support. It can be implemented through OTN devices, which greatly reduces the complexity of operation and maintenance.
[0085] 2) High security: Quantum key messages are transmitted in an independent hard channel of OTN through reserved bits of OSU frames, with no Internet exposure surface and no Layer 3 protocol propagation, avoiding the security risks faced by traditional IP network transmission of key messages.
[0086] 3) High resource utilization: This application makes full use of the originally idle RES reserved bits in the OSU frame structure, without occupying additional service bandwidth resources, and without affecting the standard compatibility and normal service carrying capacity of the OSU frame.
[0087] 4) Simplified control plane: Services and key negotiation use the same OSU channel, each route is independent, services are isolated by hard pipes, encryption and decryption do not interfere with each other, the control plane structure is clear and easy to manage.
[0088] This application also provides a transmission device based on the combination of quantum key distribution and OSU, which can implement the above method. The device includes: The OSU frame processing module is used to set the quantum transfer QT overhead in the reserved bits of the OSU frame; A quantum key exchange module is used to transmit quantum key exchange messages between OTN devices that support OSU functionality via the QT overhead.
[0089] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0090] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method. This electronic device can be any smart terminal, including tablet computers, in-vehicle computers, etc.
[0091] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0092] Please see Figure 7 , Figure 7 The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes: The processor 701 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 702 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 702 can store the operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 702 and is called and executed by the processor 701 using the methods described in the embodiments of this application. The input / output interface 703 is used to implement information input and output; The communication interface 704 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 705 transmits information between various components of the device (e.g., processor 701, memory 702, input / output interface 703, and communication interface 704); The processor 701, memory 702, input / output interface 703, and communication interface 704 are connected to each other within the device via bus 705.
[0093] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method.
[0094] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0095] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0096] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0097] It is understood that the content of the above method embodiments is applicable to the embodiments of this program product. The specific functions implemented in the embodiments of this program product are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments. The executable computer program code or "code" used to perform the various embodiments can be written in high-level programming languages such as C, C++, Python, Smalltalk, Java, JavaScript, Visual Basic, Structured Query Language (e.g., Transact-SQL), Perl, or in various other programming languages.
[0098] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0099] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0100] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0101] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0102] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0103] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0104] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0105] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0106] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0107] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0108] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A transmission method based on the combination of quantum key distribution and OSU, characterized in that, The method includes the following steps: Set the quantum transfer QT overhead in the reserved bits of the OSU frame; The QT overhead is used to transmit quantum key exchange messages between OTN devices that support OSU functionality.
2. The method according to claim 1, characterized in that, The transmission of quantum key exchange messages between OTN devices supporting OSU functionality via the QT overhead specifically includes: The first OTN device establishes an OSU service channel with the second OTN device; The first OTN device performs a two-way handshake interaction with the second OTN device through the QT overhead, and obtains the session key from the quantum key service platform KMS based on the result of the two-way handshake interaction; The first OTN device uses the session key to encrypt the service payload mapped to the OSU frame, and sends the encrypted OSU frame to the second OTN device through the OSU service channel; The second OTN device uses the session key to decrypt the service payload of the received encrypted OSU frame.
3. The method according to claim 2, characterized in that, The QT overhead occupies 1 bit in the RES reserved bits, and the QT overhead carries four QT frame types in the OSU frame, the four QT frame types including: Start QT interaction message, with its QT overhead bit set to the first encoding, used to initiate a key negotiation session; The response to the Start QT interaction message has its QT overhead bit set to the second encoding, which is used to confirm the Start QT interaction message and notify the sender to prepare to receive key interaction information. When a QT interaction message ends, its QT overhead bits are set to the third encoding to initiate an end encryption request; The response to the end of the QT interaction message has its QT overhead bit set to the fourth encoding to confirm the end of the QT interaction message.
4. The method according to claim 3, characterized in that, The two-way handshake interaction includes: The first OTN device continuously sends multiple first OSU frames, and the QT overhead bits of the first OSU frames are all set to the first encoding, and initiates the start QT interaction message to the second OTN device; After receiving the first OSU frame, the second OTN device continuously sends multiple second OSU frames, in which the QT overhead bits of the second OSU frames are all set to the second code, in response to the start QT interaction message to the first OTN device. After receiving the response start QT interaction message, the first OTN device sends a session key request to the quantum key service platform KMS and receives the key request ID and session key returned by the quantum key service platform KMS. The first OTN device transmits the key request ID to the second OTN device through the QT overhead; The second OTN device queries the quantum key service platform KMS based on the received key application ID and obtains the session key.
5. The method according to claim 4, characterized in that, The first OTN device continuously sends multiple first OSU frames, specifically including: The first OTN device continuously sends M groups of OSU frames, each group containing N OSU frames. The QT overhead bits of the N OSU frames constitute one byte of the first encoding, where M and N are both integers not less than 1.
6. The method according to claim 3, characterized in that, The method also includes a process for ending the key negotiation session, which specifically includes: The first OTN device continuously sends multiple third OSU frames, and the QT overhead bits of the third OSU frames are all set to the third encoding, and initiates the end QT interaction message to the second OTN device; The second OTN device continuously sends multiple fourth OSU frames, all of which have their QT overhead bits set to the fourth encoding, in response to the first OTN device with the end QT interaction message; After receiving the response end QT interaction message, the first OTN device deencrypts.
7. The method according to claim 2, characterized in that, The step of sending the encrypted OSU frame to the second OTN device through the OSU service channel specifically includes: The OSU frame carrying the encrypted service payload is mapped to the ODUk frame and transmitted to the second OTN device through the OTN network; The second OTN device demaps the ODUk frame to recover the OSU frame.
8. A transmission device based on the combination of quantum key distribution and OSU, characterized in that, The device includes: The OSU frame processing module is used to set the quantum transfer QT overhead in the reserved bits of the OSU frame; A quantum key exchange module is used to transmit quantum key exchange messages between OTN devices that support OSU functionality via the QT overhead.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.
