Intrinsic safety transmission state setting method and related equipment of synchronous optical communication system

By implementing the endogenous secure transmission state setting method in a synchronous optical communication system, the initial configuration and key negotiation between the local terminal and the remote terminal are solved, and the physical layer security problems existing in the information transmission process of traditional optical communication systems are improved, and the security and effectiveness of information transmission are improved.

CN114710286BActive Publication Date: 2025-04-29BEIJING UNIV OF POSTS & TELECOMM
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210239076.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-11
Publication Date
2025-04-29
Estimated Expiration
2042-03-11

AI Technical Summary

Technical Problem

Traditional optical communication systems have shortcomings in the physical layer security during information transmission. After the outside world grasps the key information, it can easily intercept the signal and decrypt it to crack the communication content.

Method used

By implementing the endogenous secure transmission state setting method in a synchronous optical communication system, the security of information transmission is ensured by using the initial configuration, initial secret flow exchange, key negotiation and work secret flow exchange between the local terminal and the remote terminal.

Benefits of technology

This method effectively improves the synchronization of clock frequency, reduces the possibility of information being stolen, and improves the security and effectiveness of information transmission during optical communication transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114710286B_ABST
    Figure CN114710286B_ABST
Patent Text Reader

Abstract

The present application provides a method for setting the intrinsic security transmission state of a synchronous optical communication system and related equipment, wherein the local terminal includes a local transmitter and a local receiver, and the remote terminal includes a remote transmitter and a remote receiver. The method includes: initializing and configuring the local transmitter, the local receiver, the remote transmitter, and the remote receiver respectively; the local transmitter generates a first dense stream data, and the remote transmitter generates a second dense stream data; the local transmitter and the remote receiver perform a first initial dense stream exchange, and the remote transmitter and the local receiver perform a second initial dense stream exchange; the local receiver and the remote receiver perform a key negotiation to obtain a negotiation result, and according to the negotiation result, the local transmitter and the remote receiver perform a first working dense stream exchange, and the remote transmitter and the local receiver perform a second working dense stream exchange, and the synchronous optical communication system completes the intrinsic security transmission state setting. Improve the security of the optical communication transmission process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of optical communication technology, and in particular to a method for setting an intrinsically safe transmission state of a synchronous optical communication system and related equipment. Background Art

[0002] Optical communication has the advantages of high speed, large capacity, and long-distance transmission, and is currently the most important means of communication. At present, in traditional "add-on" optical communication, information is subject to security risks of being "hijacked" at any time due to transparent transmission. Therefore, additional key negotiation must be established between the sender and receiver to ensure reliable transmission of information. Once the outside world has the key information, it can easily intercept the signal from any point in the transmission line and decrypt it, cracking the communication content, which has a shortcoming in the security of the physical layer of the optical network. Summary of the invention

[0003] In view of this, the purpose of the present application is to propose a method for setting an intrinsically safe transmission state of a synchronous optical communication system and related equipment to solve the above technical problems.

[0004] Based on the above purpose, the first aspect of the present application provides a method for setting an intrinsic security transmission state of a synchronous optical communication system, wherein the synchronous communication system analyzes a local terminal and a remote terminal, wherein the local terminal includes a local transmitting end and a local receiving end, and the remote terminal includes a remote transmitting end and a remote receiving end, and the method includes:

[0005] Initializing and configuring the local sending end, the local receiving end, the remote sending end, and the remote receiving end respectively;

[0006] Instruct the local sending end to generate first dense stream data, and store the first dense stream data in an initial dense stream buffer of the local sending end, and instruct the remote sending end to generate second dense stream data, and store the second dense stream data in an initial dense stream buffer of the remote sending end;

[0007] In response to determining that the amount of the first dense stream data in the initial dense stream buffer of the local sending end reaches a first storage threshold and the amount of the second dense stream data in the initial dense stream buffer of the remote sending end reaches a second storage threshold, the local sending end and the remote receiving end perform a first initial dense stream exchange, and the remote sending end and the local receiving end perform a second initial dense stream exchange;

[0008] A key negotiation is performed by the local receiving end and the remote receiving end to obtain a negotiation result, and according to the negotiation result, a first working secret stream is exchanged by the local sending end and the remote receiving end, and a second working secret stream is exchanged by the remote sending end and the local receiving end;

[0009] In response to the local sending end receiving the first working dense stream synchronization result sent by the remote receiving end within a preset time, the remote sending end receiving the second working dense stream synchronization result sent by the local receiving end, and the first working dense stream synchronization result and the second working dense stream synchronization result are both pre-set synchronization success values, the synchronous optical communication system completes the setting of the endogenous secure transmission status.

[0010] A second aspect of the present application provides a device for setting an intrinsic safety transmission state of a synchronous optical communication system, comprising:

[0011] An initialization configuration module, configured to respectively perform initialization configuration on the local sending end, the local receiving end, the remote sending end, and the remote receiving end;

[0012] The initial dense stream acquisition module is configured to enable the local sending end to generate first dense stream data and store the first dense stream data in the local sending end initial dense stream buffer, enable the remote sending end to generate second dense stream data and store the second dense stream data in the remote sending end initial dense stream buffer;

[0013] The initial dense stream exchange module is configured to, in response to determining that the amount of the first dense stream data in the initial dense stream buffer of the local sending end reaches a first storage threshold and the amount of the second dense stream data in the initial dense stream buffer of the remote sending end reaches a second storage threshold, the local sending end and the remote receiving end perform a first initial dense stream exchange, and the remote sending end and the local receiving end perform a second initial dense stream exchange;

[0014] A working secret stream exchange module is configured to perform key negotiation through the local receiving end and the remote receiving end to obtain a negotiation result, and perform a first working secret stream exchange through the local sending end and the remote receiving end according to the negotiation result, and the remote sending end and the local receiving end perform a second working secret stream exchange;

[0015] The synchronization analysis module is configured to respond to the situation that within a preset time, the local sending end receives a first working dense stream synchronization result sent by the remote receiving end, the remote sending end receives a second working dense stream synchronization result sent by the local receiving end, and the first working dense stream synchronization result and the second working dense stream synchronization result are both preset synchronization success values, and the synchronous optical communication system completes the setting of an endogenous secure transmission status.

[0016] A third aspect of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the program.

[0017] A fourth aspect of the present application provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method described in the first aspect.

[0018] From the above, it can be seen that the method for setting the intrinsic security transmission state of the synchronous optical communication system and related equipment provided by the present application are initialized and configured through the completely identical local terminal and remote terminal. The local transmitter and the local receiver of the local terminal, the remote transmitter and the remote receiver of the remote terminal interact with each other to perform the first initial dense stream exchange, the second initial dense stream exchange, the first working dense stream exchange and the second working dense stream exchange, so that the receiving end of the local terminal and the remote receiving end can predict and track the clock frequency of the local transmitter and the local receiver in real time, effectively improve the frequency deviation, ensure synchronization in clock frequency, reduce the possibility of information theft, improve the security in the optical communication transmission process, and enhance the effectiveness of information transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A flowchart of a method for setting an intrinsic safety transmission state of a synchronous optical communication system according to an embodiment of the present application;

[0021] Figure 2 A schematic diagram of the structure of a device for setting an intrinsic safety transmission state of a synchronous optical communication system according to an embodiment of the present application;

[0022] Figure 3 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0024] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0025] In the related technology, in the traditional "additional" optical communication, additional key negotiation is established between the sender and receiver to ensure the reliable transmission of information. Once the outside world has the key information, it can easily intercept the signal from any point in the transmission line and decrypt it, cracking the communication content, which has a shortcoming in the security of the physical layer of the optical network.

[0026] An embodiment of the present application provides a method for setting an intrinsic secure transmission state of a synchronous optical communication system. Through initialization configuration of completely identical local terminals and remote terminals, the local transmitter and local receiver of the local terminal, and the remote transmitter and remote receiver of the remote terminal interact to perform a first initial secret stream exchange, a second initial secret stream exchange, a first working secret stream exchange, and a second working secret stream exchange. It does not rely on an independent external key distribution path, and can simultaneously achieve secure transmission and key negotiation based on a unified channel.

[0027] like Figure 1 As shown, the synchronous optical communication system of this embodiment includes a local terminal and a remote terminal, wherein the local terminal includes a local transmitting end and a local receiving end, and the remote terminal includes a remote transmitting end and a remote receiving end, and the method includes:

[0028] Step 101, initializing and configuring the local sending end, the local receiving end, the remote sending end, and the remote receiving end respectively.

[0029] In this step, the local transmitter and the local receiver are exactly the same as the remote transmitter and the remote receiver. The local transmitter and the remote transmitter are powered on to load the FPGA respectively. The clock chip is configured first. If the clock chip is configured successfully, the indicator light will show completion, or the internal register will be increased. Otherwise, a timeout alarm state will occur. Then the DAC chip is configured. After the DAC chip is configured successfully, the indicator light will show completion status, or the internal register will be increased. Otherwise, a timeout alarm state will occur. Then the FPGA line clock is configured. After the FPGA line clock is configured successfully, the indicator light will show completion status, or the internal register will be increased. Otherwise, a timeout alarm state will occur.

[0030] Power on the local receiving end and the remote receiving end to load the FPGA. First, configure the clock chip. If the clock chip is configured successfully, the indicator light will show completion, or increase the internal register. Otherwise, a timeout alarm will occur. Then configure the ADC chip. After the ADC chip is configured successfully, the indicator light will show completion, or increase the internal register. Otherwise, a timeout alarm will occur. Then configure the FPGA line clock. After the FPGA line clock is configured successfully, the indicator light will show completion, or increase the internal register. Otherwise, a timeout alarm will occur.

[0031] The synchronous optical communication system is based on the synchronous OFDM system (Orthogonal Frequency Division Multiplexing). Synchronization means that the clock sampling frequencies of the local transmitter, local receiver, remote transmitter and remote receiver are kept consistent, that is, the receiver can predict and track the clock frequency of the transmitter in real time. Synchronization can effectively improve the frequency deviation. Among them, the OFDM block consists of a cyclic prefix and useful data information. The ODFM algorithm can effectively suppress or eliminate the frequency selective fading caused by the channel delay spread.

[0032] Step 102, instruct the local sending end to generate first dense stream data, and store the first dense stream data into the local sending end initial dense stream buffer, instruct the remote sending end to generate second dense stream data, and store the second dense stream data into the remote sending end initial dense stream buffer.

[0033] In this step, the first dense stream data and the second dense stream data are continuously generated and stored in the local sending end initial dense stream buffer and the remote sending end initial dense stream buffer respectively, so as to prepare data for subsequent dense stream exchange.

[0034] Step 103, in response to determining that the amount of the first dense stream data in the initial dense stream buffer of the local sending end reaches a first storage threshold and the amount of the second dense stream data in the initial dense stream buffer of the remote sending end reaches a second storage threshold, the local sending end and the remote receiving end perform a first initial dense stream exchange, and the remote sending end and the local receiving end perform a second initial dense stream exchange.

[0035] In this step, the continuously generated first dense stream data is stored in the local sending end initial dense stream buffer. When the first storage threshold of the local sending end initial dense stream buffer is reached, the local sending end and the remote receiving end perform a first initial dense stream exchange. The continuously generated second dense stream data is stored in the remote sending end initial dense stream buffer. When the second threshold of the remote sending end initial dense stream buffer is reached, the remote sending end and the local receiving end perform a second initial dense stream exchange to prevent attackers from intercepting and cracking the transmitted data.

[0036] Step 104, the local receiving end and the remote receiving end perform key negotiation to obtain a negotiation result, and based on the negotiation result, the local sending end and the remote receiving end perform a first working secret stream exchange, and the remote sending end and the local receiving end perform a second working secret stream exchange.

[0037] In this step, the local receiving end and the remote receiving end perform key negotiation. After the key negotiation is successful, a local sending end is generated without relying on an additional external negotiation process. This enables the information to have an inherently secure anti-interception function that does not rely on additional keys, and can effectively resist eavesdropping and intrusion attacks from the outside world.

[0038] Step 105, in response to the local sending end receiving the first working dense stream synchronization result sent by the remote receiving end within a preset time, the remote sending end receiving the second working dense stream synchronization result sent by the local receiving end, and the first working dense stream synchronization result and the second working dense stream synchronization result are both pre-set synchronization success values, the synchronous optical communication system completes the setting of the endogenous secure transmission status.

[0039] In this step, the working states of the local sending end, the local receiving end, the remote sending end and the remote receiving end are kept synchronized through the first working dense stream synchronization result and the second working dense stream synchronization result before data is transmitted, ensuring that data transmission and decryption can only be performed when everything is ready, so that the synchronous optical communication system has higher security and stability.

[0040] In the above scheme, the synchronous optical communication system uses the OFDM algorithm to perform initialization configuration through completely identical local transmitters and remote transmitters, local receivers and remote receivers, and performs the first initial dense stream exchange, the second initial dense stream exchange, the first working dense stream exchange and the second working dense stream exchange through the interaction of the local transmitter, the local receiver, the remote transmitter and the remote receiver, so as to ensure synchronization in clock frequency, reduce the possibility of information being stolen, improve the security in the optical communication transmission process, and enhance the effectiveness of information transmission.

[0041] In some embodiments, step 102 specifically includes:

[0042] Instruct the local sending end to read the first random information, use the first random information as the first key information of the local sending end, and generate first secret stream data through the local sending end initial secret stream generator;

[0043] Encrypting the first dense stream data by using the first key information, and storing the encrypted first dense stream data into the local sending end initial dense stream buffer;

[0044] At the same time, the remote sending end is instructed to read the second random information, use the second random information as the second key information of the remote sending end, and generate the second secret stream data through the remote sending end initial secret stream generator;

[0045] The second secret stream data is encrypted by using the second key information, and the encrypted second secret stream data is stored in the initial secret stream buffer of the remote sending end.

[0046] In this step, the first random information and the second random information are automatically generated by the synchronous optical communication system, the local transmitter reads the first random information as the first key information, generates the first dense stream data according to the initial dense stream generator of the local transmitter, and encrypts the first dense stream by the first key information. This stage occupies an initial dense stream generator and an initial dense stream buffer of the local transmitter. The remote transmitter reads the second random information as the second key information, generates the second dense stream data according to the initial dense stream generator of the remote transmitter, and encrypts the second dense stream by the second key information. This stage occupies an initial dense stream generator and an initial dense stream buffer of the remote transmitter. At this time, the line domain logic of the local receiving end and the remote receiving end start working respectively and enter the working state. The working state is manifested as: the service data is not connected, the key negotiation data is not connected, there is encryption for characterization, the plaintext for whether the decryption is successful is inserted normally, the orthogonal phase shift keying (QPSK) mapping is performed normally, the 256 phase shift keying (256PSK) mapping is performed normally, and it starts running only when the dense stream data is ready, and the overhead, pilot and frame header can be inserted normally.

[0047] In some embodiments, step 103 specifically includes:

[0048] Step 1031: The local sending end receives first state feedback information from the remote receiving end, and the remote sending end receives second state feedback information from the local receiving end.

[0049] Step 1032, in response to determining that the first state feedback information and the second state feedback information are both preset initial values, the local receiving end reads a preset first encryption card to obtain third key information of the local receiving end, generates third dense stream data according to the initial dense stream generator of the local receiving end, encrypts the third dense stream data by using the third key information, and stores the encrypted third dense stream data into the initial dense stream buffer of the local receiving end,

[0050] The remote receiving end reads a pre-set second encryption card to obtain the fourth key information of the remote receiving end, generates fourth dense stream data according to the initial dense stream generator of the remote receiving end, encrypts the fourth dense stream data by the fourth key information, and stores the encrypted fourth dense stream data into the initial dense stream buffer of the remote receiving end.

[0051] Step 1033, in response to determining that the number of the first dense stream data in the local sending end initial dense stream buffer reaches the first storage threshold, the number of the second dense stream data in the remote sending end initial dense stream buffer reaches the second storage threshold, the number of the third dense stream data in the local receiving end initial dense stream buffer reaches the third storage threshold, and the number of the fourth dense stream data in the remote receiving end initial dense stream buffer reaches the fourth storage threshold, the remote receiving end receives the first countdown information pre-set by the local sending end, and performs synchronization analysis on the first countdown information to obtain a first synchronization result, and the local receiving end receives the second countdown information pre-set by the remote sending end, and performs synchronization analysis on the second countdown information to obtain a second synchronization result.

[0052] Step 1034, in response to determining that the first synchronization result and the second synchronization result are both successful synchronization, the first key information of the local sending end and the fourth key information of the remote receiving end are exchanged, and the second key information of the remote sending end and the third key information of the local receiving end are exchanged.

[0053] In the above scheme, the state value of the first state feedback information is a preset initial value. When the initial value is 1, it indicates that the fourth storage threshold of the initial dense stream buffer of the remote receiving end is reached. The state value of the second state feedback information is also a preset initial value. When the second initial value is 1, it indicates that the third storage threshold of the initial dense stream buffer of the local receiving end is reached, so that the working states of the local sending end, the local receiving end, the remote sending end and the remote receiving end remain synchronized.

[0054] The remote receiving end receives the first countdown information preset by the local sending end (the countdown of the synchronous exchange register of the local sending end), and the local receiving end receives the second countdown information preset by the remote sending end (the countdown of the synchronous exchange register of the remote sending end). By synchronously analyzing the first countdown information and the second countdown information, the exchange of the first key information and the fourth key information, and the exchange of the second key information and the third key information are synchronized.

[0055] In some embodiments, step 104 specifically includes:

[0056] Step 1041: instruct the local receiving end to initiate a first negotiation instruction, instruct the remote receiving end to initiate a second negotiation instruction, and obtain a negotiation result based on the first negotiation instruction and the second negotiation instruction.

[0057] Step 1042: In response to determining that the negotiation result is successful, the local sending end obtains first negotiation key information, generates first working secret stream data according to the working secret stream generator of the local sending end, encrypts the first working secret stream data by using the first negotiation key information, and stores the encrypted first working secret stream data in the working secret stream buffer of the local sending end.

[0058] The remote sending end obtains the second negotiated key information, generates the second working secret stream data according to the remote sending end working secret stream generator, encrypts the second working secret stream data by using the second negotiated key information, and stores the encrypted second working secret stream data into the remote sending end working secret stream buffer,

[0059] The local receiving end obtains the third negotiated key information, generates the third working secret stream data according to the working secret stream generator of the local receiving end, encrypts the third working secret stream data by using the third negotiated key information, and stores the encrypted third working secret stream data into the working secret stream buffer of the local receiving end,

[0060] The remote receiving end obtains fourth negotiated key information, generates fourth working secret stream data according to the remote receiving end working secret stream generator, encrypts the fourth working secret stream data using the fourth negotiated key, and stores the encrypted fourth working secret stream data into the remote receiving end working secret stream buffer.

[0061] Step 1043, in response to determining that the number of the first working dense stream data in the local sending end working dense stream buffer reaches the first storage threshold, the number of the second working dense stream data in the remote sending end working dense stream buffer reaches the second storage threshold, the number of the third working dense stream data in the local receiving end working dense stream buffer reaches the third storage threshold, and the number of the fourth working dense stream data in the remote receiving end working dense stream buffer reaches the fourth storage threshold, the remote sending end receives the third countdown information of the local sending end and analyzes the third countdown information to obtain a third synchronization result, and the local receiving end receives the fourth countdown information of the remote sending end and analyzes the fourth countdown information to obtain a fourth synchronization result.

[0062] Step 1044, in response to determining that the third synchronization result and the fourth synchronization result are both successful synchronizations, the first negotiated key information of the local sending end and the fourth negotiated key information of the remote receiving end are exchanged, and the second negotiated key information of the remote sending end and the third negotiated key information of the local receiving end are exchanged.

[0063] In the above scheme, the local receiving end initiates a first negotiation instruction, the remote receiving end initiates a second negotiation instruction, the local receiving end and the remote receiving end perform key negotiation, after the negotiation is successful, the local sending end working secret stream generator generates the first working secret stream data, and encrypts the first working secret stream data by the first negotiation key information, the remote sending end obtains the second negotiation key information of the remote sending end, generates the second working secret stream data according to the working secret stream generator of the remote sending end, and encrypts the second working secret stream data by the second negotiation key information, the local receiving end working secret stream generator obtains the third negotiation key information, generates the third working secret stream data according to the working secret stream generator of the local receiving end, and encrypts the third working secret stream data by the third negotiation key information, the remote receiving end obtains the fourth negotiation key information, generates the fourth working secret stream data according to the working secret stream generator of the remote receiving end, and encrypts the fourth working secret stream by the fourth negotiation key, which does not rely on additional external negotiation processes, and is a secure optical communication method that provides endogenous protection for information transmission entirely by the synchronous optical communication system itself, integrating communication and confidentiality, and merging transmission and protection.

[0064] In some embodiments, the first feedback information includes a first clock locking information state, a first CP locking information state, a first frame synchronization locking state and a first dense stream synchronization state, and the second feedback information includes a second clock locking information state, a second CP locking information state, a second frame synchronization locking state and a second dense stream synchronization state.

[0065] In the above scheme, each process of the first initial dense stream exchange, the second initial dense stream exchange, the key negotiation, the first working dense stream exchange and the second dense stream exchange is kept synchronous through the first clock locking information state, the first CP locking information state, the first frame synchronization locking state, the first dense stream synchronization state, the second clock locking information state, the second CP locking information state, the second frame synchronization locking state and the second dense stream synchronization state.

[0066] In some embodiments, in step 105, the performing of key negotiation by the local receiving end and the remote receiving end to obtain a negotiation result, performing a first working secret stream exchange by the local sending end and the remote receiving end according to the negotiation result, and performing a second working secret stream exchange by the remote sending end and the local receiving end, specifically includes:

[0067] Instruct the remote receiving end to perform synchronization analysis on the first working secret stream exchange, obtain the first working secret stream synchronization result, and send the first working secret stream synchronization result to the local sending end;

[0068] The local receiving end is instructed to perform synchronization analysis on the exchange of the second working secret stream, obtain a synchronization result of the second working secret stream, and send the synchronization result of the second working secret stream to the remote sending end.

[0069] In the above scheme, by synchronously analyzing the first working secret flow exchange and the second working secret flow exchange, the first working secret flow synchronization result and the second working secret flow synchronization result are obtained, so that the working states of the local sending end, the local receiving end, the remote sending end, and the remote receiving end remain synchronized.

[0070] In some embodiments, in response to not receiving the first working dense stream synchronization result and the second working dense stream synchronization result within a preset time or the first working dense stream synchronization result and / or the second dense stream synchronization result being a synchronization failure, the local sending end is re-ordered to generate new first dense stream data and the remote sending end is re-ordered to generate new second dense stream data.

[0071] In the above scheme, the first working secret stream synchronization result and the second working secret stream synchronization result are synchronization feedback messages. If the first working secret stream synchronization result and the second working secret stream synchronization result are not received within the time limit, or a synchronization failure occurs in the first working secret stream synchronization result and the second working secret stream synchronization result, they are returned to enable the local sending end to generate new first secret stream data and the remote sending end to generate new second secret stream data, so that data transmission remains synchronized.

[0072] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0073] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0074] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a device for setting an intrinsically safe transmission state of a synchronous optical communication system.

[0075] refer to Figure 2 , the device for setting the intrinsic safety transmission state of the synchronous optical communication system comprises:

[0076] An initialization configuration module 201 is configured to respectively perform initialization configuration on the local sending end, the local receiving end, the remote sending end, and the remote receiving end;

[0077] The initial dense stream acquisition module 202 is configured to enable the local sending end to generate first dense stream data and store the first dense stream data in the local sending end initial dense stream buffer, enable the remote sending end to generate second dense stream data and store the second dense stream data in the remote sending end initial dense stream buffer;

[0078] The initial dense stream exchange module 203 is configured to, in response to determining that the amount of the first dense stream data in the initial dense stream buffer of the local sending end reaches a first storage threshold and the amount of the second dense stream data in the initial dense stream buffer of the remote sending end reaches a second storage threshold, the local sending end and the remote receiving end perform a first initial dense stream exchange, and the remote sending end and the local receiving end perform a second initial dense stream exchange;

[0079] The working secret flow exchange module 204 is configured to perform key negotiation through the local receiving end and the remote receiving end to obtain a negotiation result, and perform a first working secret flow exchange through the local sending end and the remote receiving end according to the negotiation result, and the remote sending end and the local receiving end perform a second working secret flow exchange;

[0080] The synchronization analysis module 205 is configured to respond to the situation that within a preset time, the local sending end receives the first working dense stream synchronization result sent by the remote receiving end, the remote sending end receives the second working dense stream synchronization result sent by the local receiving end, and the first working dense stream synchronization result and the second working dense stream synchronization result are both pre-set synchronization success values, and the synchronous optical communication system completes the setting of the endogenous secure transmission status.

[0081] In some embodiments, the initial dense flow acquisition module 202 is specifically configured to:

[0082] Instruct the local sending end to read the first random information, use the first random information as the first key information of the local sending end, and generate first secret stream data through the local sending end initial secret stream generator;

[0083] Encrypting the first dense stream data by using the first key information, and storing the encrypted first dense stream data into the local sending end initial dense stream buffer;

[0084] At the same time, the remote sending end is instructed to read the second random information, use the second random information as the second key information of the remote sending end, and generate the second secret stream data through the remote sending end initial secret stream generator;

[0085] The second secret stream data is encrypted by using the second key information, and the encrypted second secret stream data is stored in the initial secret stream buffer of the remote sending end.

[0086] In some embodiments, the initial dense flow exchange module 203 is specifically configured as follows:

[0087] The local sending end receives first state feedback information from the remote receiving end, and the remote sending end receives second state feedback information from the local receiving end;

[0088] In response to determining that both the first state feedback information and the second state feedback information are preset initial values, the local receiving end reads a preset first encryption card to obtain third key information of the local receiving end, generates third dense stream data according to the initial dense stream generator of the local receiving end, encrypts the third dense stream data by using the third key information, and stores the encrypted third dense stream data in the initial dense stream buffer of the local receiving end.

[0089] The remote receiving end reads a preset second encryption card to obtain the fourth key information of the remote receiving end, generates fourth dense stream data according to the remote receiving end initial dense stream generator, encrypts the fourth dense stream data by the fourth key information, and stores the encrypted fourth dense stream data into the remote receiving end initial dense stream buffer;

[0090] In response to determining that the amount of the first dense stream data in the local sending end initial dense stream buffer reaches the first storage threshold, the amount of the second dense stream data in the remote sending end initial dense stream buffer reaches the second storage threshold, the amount of the third dense stream data in the local receiving end initial dense stream buffer reaches the third storage threshold, and the amount of the fourth dense stream data in the remote receiving end initial dense stream buffer reaches the fourth storage threshold, the remote receiving end receives the first countdown information preset by the local sending end, and performs synchronization analysis on the first countdown information to obtain a first synchronization result, and the local receiving end receives the second countdown information preset by the remote sending end, and performs synchronization analysis on the second countdown information to obtain a second synchronization result;

[0091] In response to determining that both the first synchronization result and the second synchronization result are successful synchronization, the first key information of the local sending end and the fourth key information of the remote receiving end are exchanged, and the second key information of the remote sending end and the third key information of the local receiving end are exchanged.

[0092] In some embodiments, the working density flow exchange module 204 is specifically configured as follows:

[0093] Instructing the local receiving end to initiate a first negotiation instruction, instructing the remote receiving end to initiate a second negotiation instruction, and obtaining a negotiation result based on the first negotiation instruction and the second negotiation instruction;

[0094] In response to determining that the negotiation result is successful, the local sending end obtains first negotiation key information, generates first working secret stream data according to the working secret stream generator of the local sending end, encrypts the first working secret stream data by using the first negotiation key information, and stores the encrypted first working secret stream data in the working secret stream buffer of the local sending end.

[0095] The remote sending end obtains the second negotiated key information, generates the second working secret stream data according to the remote sending end working secret stream generator, encrypts the second working secret stream data by using the second negotiated key information, and stores the encrypted second working secret stream data into the remote sending end working secret stream buffer,

[0096] The local receiving end obtains the third negotiated key information, generates the third working secret stream data according to the working secret stream generator of the local receiving end, encrypts the third working secret stream data by using the third negotiated key information, and stores the encrypted third working secret stream data into the working secret stream buffer of the local receiving end,

[0097] The remote receiving end obtains fourth negotiated key information, generates fourth working secret stream data according to the remote receiving end working secret stream generator, encrypts the fourth working secret stream data by using the fourth negotiated key, and stores the encrypted fourth working secret stream data into the remote receiving end working secret stream buffer;

[0098] In response to determining that the number of the first working dense stream data in the local sending end working dense stream buffer reaches the first storage threshold, the number of the second working dense stream data in the remote sending end working dense stream buffer reaches the second storage threshold, the number of the third working dense stream data in the local receiving end working dense stream buffer reaches the third storage threshold, and the number of the fourth working dense stream data in the remote receiving end working dense stream buffer reaches the fourth storage threshold, the remote sending end receives the third countdown information of the local sending end, analyzes the third countdown information, and obtains a third synchronization result, and the local receiving end receives the fourth countdown information of the remote sending end, analyzes the fourth countdown information, and obtains a fourth synchronization result;

[0099] In response to determining that the third synchronization result and the fourth synchronization result are both successful synchronizations, the first negotiated key information of the local sending end and the fourth negotiated key information of the remote receiving end are exchanged, and the second negotiated key information of the remote sending end and the third negotiated key information of the local receiving end are exchanged.

[0100] In some embodiments, the first feedback information includes a first clock locking information state, a first CP locking information state, a first frame synchronization locking state and a first dense stream synchronization state, and the second feedback information includes a second clock locking information state, a second CP locking information state, a second frame synchronization locking state and a second dense stream synchronization state.

[0101] In some embodiments, the synchronization analysis module 205 is specifically configured to:

[0102] Instruct the remote receiving end to perform synchronization analysis on the first working secret stream exchange, obtain the first working secret stream synchronization result, and send the first working secret stream synchronization result to the local sending end;

[0103] The local receiving end is instructed to perform synchronization analysis on the exchange of the second working secret stream, obtain a synchronization result of the second working secret stream, and send the synchronization result of the second working secret stream to the remote sending end.

[0104] In some embodiments, the device for setting an intrinsic safety transmission state of the synchronous optical communication system further includes a circulation module, specifically including:

[0105] In response to not receiving the first working dense stream synchronization result and the second working dense stream synchronization result within a preset time or the first working dense stream synchronization result and / or the second dense stream synchronization result being a synchronization failure, the local sending end is again instructed to generate new first dense stream data, and the remote sending end is again instructed to generate new second dense stream data.

[0106] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0107] The device of the above embodiment is used to implement the corresponding method for setting the intrinsic safety transmission state of the synchronous optical communication system in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0108] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for setting the intrinsic security transmission state of the synchronous optical communication system described in any of the above embodiments is implemented.

[0109] Figure 3A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0110] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an 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 specification.

[0111] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0112] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0113] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0114] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0115] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0116] The electronic device of the above embodiment is used to implement the corresponding method for setting the intrinsic safety transmission state of the synchronous optical communication system in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0117] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the method for setting the intrinsic security transmission state of the synchronous optical communication system as described in any of the above embodiments.

[0118] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0119] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method for setting the intrinsic safety transmission state of the synchronous optical communication system as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0120] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0121] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.

[0122] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.

[0123] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A method for setting an intrinsically safe transmission state of a synchronous optical communication system, characterized in that: The synchronous optical communication system analyzes a local terminal and a remote terminal, wherein the local terminal includes a local transmitting end and a local receiving end, and the remote terminal includes a remote transmitting end and a remote receiving end, and the method includes: Initializing and configuring the local sending end, the local receiving end, the remote sending end, and the remote receiving end respectively; Instruct the local sending end to generate first dense stream data, and store the first dense stream data in an initial dense stream buffer of the local sending end, and instruct the remote sending end to generate second dense stream data, and store the second dense stream data in an initial dense stream buffer of the remote sending end; In response to determining that the amount of the first dense stream data in the initial dense stream buffer of the local sending end reaches a first storage threshold and the amount of the second dense stream data in the initial dense stream buffer of the remote sending end reaches a second storage threshold, the local sending end and the remote receiving end perform a first initial dense stream exchange, and the remote sending end and the local receiving end perform a second initial dense stream exchange; A key negotiation is performed by the local receiving end and the remote receiving end to obtain a negotiation result, and according to the negotiation result, a first working secret stream is exchanged by the local sending end and the remote receiving end, and a second working secret stream is exchanged by the remote sending end and the local receiving end; In response to the local sending end receiving a first working dense stream synchronization result sent by the remote receiving end within a preset time, the remote sending end receiving a second working dense stream synchronization result sent by the local receiving end, and the first working dense stream synchronization result and the second working dense stream synchronization result are both preset synchronization success values, the synchronous optical communication system completes the setting of the endogenous secure transmission state; The step of performing key negotiation with the local receiving end and the remote receiving end to obtain a negotiation result, performing a first working secret stream exchange with the local sending end and the remote receiving end according to the negotiation result, and performing a second working secret stream exchange with the remote sending end and the local receiving end, specifically includes: Instructing the local receiving end to initiate a first negotiation instruction, instructing the remote receiving end to initiate a second negotiation instruction, and obtaining a negotiation result based on the first negotiation instruction and the second negotiation instruction; In response to determining that the negotiation result is successful, the local sending end obtains first negotiation key information, generates first working secret stream data according to the working secret stream generator of the local sending end, encrypts the first working secret stream data by using the first negotiation key information, and stores the encrypted first working secret stream data in the working secret stream buffer of the local sending end. The remote sending end obtains the second negotiated key information, generates the second working secret stream data according to the remote sending end working secret stream generator, encrypts the second working secret stream data by using the second negotiated key information, and stores the encrypted second working secret stream data into the remote sending end working secret stream buffer, The local receiving end obtains the third negotiated key information, generates the third working secret stream data according to the working secret stream generator of the local receiving end, encrypts the third working secret stream data by using the third negotiated key information, and stores the encrypted third working secret stream data into the working secret stream buffer of the local receiving end, The remote receiving end obtains fourth negotiated key information, generates fourth working secret stream data according to the remote receiving end working secret stream generator, encrypts the fourth working secret stream data by using the fourth negotiated key, and stores the encrypted fourth working secret stream data into the remote receiving end working secret stream buffer; In response to determining that the number of the first working dense stream data in the local sending end working dense stream buffer reaches the first storage threshold, the number of the second working dense stream data in the remote sending end working dense stream buffer reaches the second storage threshold, the number of the third working dense stream data in the local receiving end working dense stream buffer reaches the third storage threshold, and the number of the fourth working dense stream data in the remote receiving end working dense stream buffer reaches the fourth storage threshold, the remote sending end receives the third countdown information of the local sending end, analyzes the third countdown information, and obtains a third synchronization result, and the local receiving end receives the fourth countdown information of the remote sending end, analyzes the fourth countdown information, and obtains a fourth synchronization result; In response to determining that the third synchronization result and the fourth synchronization result are both successful synchronizations, the first negotiated key information of the local sending end and the fourth negotiated key information of the remote receiving end are exchanged, and the second negotiated key information of the remote sending end and the third negotiated key information of the local receiving end are exchanged.

2. The method according to claim 1, characterized in that The step of causing the local sending end to generate first dense stream data and storing the first dense stream data in an initial dense stream buffer of the local sending end, causing the remote sending end to generate second dense stream data and storing the second dense stream data in an initial dense stream buffer of the remote sending end specifically includes: Instruct the local sending end to read the first random information, use the first random information as the first key information of the local sending end, and generate first secret stream data through the local sending end initial secret stream generator; Encrypting the first dense stream data by using the first key information, and storing the encrypted first dense stream data into the local sending end initial dense stream buffer; At the same time, the remote sending end is instructed to read the second random information, use the second random information as the second key information of the remote sending end, and generate the second secret stream data through the remote sending end initial secret stream generator; The second secret stream data is encrypted by using the second key information, and the encrypted second secret stream data is stored in the initial secret stream buffer of the remote sending end.

3. The method according to claim 1, characterized in that The local sending end and the remote receiving end perform a first initial dense stream exchange, and the remote sending end and the local receiving end perform a second initial dense stream exchange, specifically including: The local sending end receives first state feedback information from the remote receiving end, and the remote sending end receives second state feedback information from the local receiving end; In response to determining that both the first state feedback information and the second state feedback information are preset initial values, the local receiving end reads a preset first encryption card to obtain third key information of the local receiving end, generates third dense stream data according to the initial dense stream generator of the local receiving end, encrypts the third dense stream data by using the third key information, and stores the encrypted third dense stream data in the initial dense stream buffer of the local receiving end. The remote receiving end reads a preset second encryption card to obtain the fourth key information of the remote receiving end, generates fourth dense stream data according to the remote receiving end initial dense stream generator, encrypts the fourth dense stream data by the fourth key information, and stores the encrypted fourth dense stream data into the remote receiving end initial dense stream buffer; In response to determining that the amount of the first dense stream data in the local sending end initial dense stream buffer reaches the first storage threshold, the amount of the second dense stream data in the remote sending end initial dense stream buffer reaches the second storage threshold, the amount of the third dense stream data in the local receiving end initial dense stream buffer reaches the third storage threshold, and the amount of the fourth dense stream data in the remote receiving end initial dense stream buffer reaches the fourth storage threshold, the remote receiving end receives the first countdown information preset by the local sending end, and performs synchronization analysis on the first countdown information to obtain a first synchronization result, and the local receiving end receives the second countdown information preset by the remote sending end, and performs synchronization analysis on the second countdown information to obtain a second synchronization result; In response to determining that both the first synchronization result and the second synchronization result are successful synchronization, the first key information of the local sending end and the fourth key information of the remote receiving end are exchanged, and the second key information of the remote sending end and the third key information of the local receiving end are exchanged.

4. The method according to claim 3, characterized in that The first feedback information includes a first clock locking information state, a first CP locking information state, a first frame synchronization locking state and a first dense stream synchronization state, and the second feedback information includes a second clock locking information state, a second CP locking information state, a second frame synchronization locking state and a second dense stream synchronization state.

5. The method according to claim 1, characterized in that The local sending end receives the first working secret stream synchronization result sent by the remote receiving end, and the remote sending end receives the second working secret stream synchronization result sent by the local receiving end, specifically including: Instruct the remote receiving end to perform synchronization analysis on the first working secret stream exchange, obtain the first working secret stream synchronization result, and send the first working secret stream synchronization result to the local sending end; The local receiving end is instructed to perform synchronization analysis on the exchange of the second working secret stream, obtain a synchronization result of the second working secret stream, and send the synchronization result of the second working secret stream to the remote sending end.

6. The method according to claim 1, characterized in that Also includes: In response to not receiving the first working dense stream synchronization result and the second working dense stream synchronization result within a preset time or the first working dense stream synchronization result and / or the second dense stream synchronization result being a synchronization failure, the local sending end is again instructed to generate new first dense stream data, and the remote sending end is again instructed to generate new second dense stream data.

7. A device for setting an intrinsically safe transmission state of a synchronous optical communication system, characterized in that: include: An initialization configuration module is configured to respectively initialize the configuration of the local sending end, the local receiving end, the remote sending end, and the remote receiving end; The initial dense stream acquisition module is configured to enable the local sending end to generate first dense stream data and store the first dense stream data in the local sending end initial dense stream buffer, enable the remote sending end to generate second dense stream data and store the second dense stream data in the remote sending end initial dense stream buffer; The initial dense stream exchange module is configured to, in response to determining that the amount of the first dense stream data in the initial dense stream buffer of the local sending end reaches a first storage threshold and the amount of the second dense stream data in the initial dense stream buffer of the remote sending end reaches a second storage threshold, the local sending end and the remote receiving end perform a first initial dense stream exchange, and the remote sending end and the local receiving end perform a second initial dense stream exchange; A working secret stream exchange module is configured to perform key negotiation through the local receiving end and the remote receiving end to obtain a negotiation result, and perform a first working secret stream exchange through the local sending end and the remote receiving end according to the negotiation result, and the remote sending end and the local receiving end perform a second working secret stream exchange; The negotiation result is obtained by performing key negotiation between the local receiving end and the remote receiving end, and the first working secret stream is exchanged between the local sending end and the remote receiving end according to the negotiation result, and the remote sending end and the local receiving end perform a second working secret stream exchange, specifically for instructing the local receiving end to initiate a first negotiation instruction, instructing the remote receiving end to initiate a second negotiation instruction, and obtaining a negotiation result based on the first negotiation instruction and the second negotiation instruction; In response to determining that the negotiation result is successful, the local sending end obtains the first negotiation key information, generates the first working secret stream data according to the working secret stream generator of the local sending end, encrypts the first working secret stream data by using the first negotiation key information, and stores the encrypted first working secret stream data in the working secret stream buffer of the local sending end, the remote sending end obtains the second negotiation key information, generates the second working secret stream data according to the working secret stream generator of the remote sending end, encrypts the second working secret stream data by using the second negotiation key information, and stores the encrypted second working secret stream data in the working secret stream buffer of the remote sending end. The sending end working secret stream buffer, the local receiving end obtains the third negotiated key information, generates the third working secret stream data according to the working secret stream generator of the local receiving end, encrypts the third working secret stream data by the third negotiated key information, and stores the encrypted third working secret stream data into the working secret stream buffer of the local receiving end, the remote receiving end obtains the fourth negotiated key information, generates the fourth working secret stream data according to the working secret stream generator of the remote receiving end, encrypts the fourth working secret stream data by the fourth negotiated key, and stores the encrypted fourth working secret stream data into the working secret stream buffer of the remote receiving end; In response to determining that the number of the first working dense stream data in the working dense stream buffer of the local sending end reaches the first storage threshold, the number of the second working dense stream data in the working dense stream buffer of the remote sending end reaches the second storage threshold, the number of the third working dense stream data in the working dense stream buffer of the local receiving end reaches the third storage threshold, and the number of the fourth working dense stream data in the working dense stream buffer of the remote receiving end reaches the fourth storage threshold, the remote sending end receives the third countdown information of the local sending end, analyzes the third countdown information to obtain a third synchronization result, and the local receiving end receives the fourth countdown information of the remote sending end, analyzes the fourth countdown information to obtain a fourth synchronization result; in response to determining that the third synchronization result and the fourth synchronization result are both successful synchronization, the first negotiated key information of the local sending end and the fourth negotiated key information of the remote receiving end are exchanged, and the second negotiated key information of the remote sending end and the third negotiated key information of the local receiving end are exchanged; The synchronization analysis module is configured to respond to the situation that within a preset time, the local sending end receives a first working dense stream synchronization result sent by the remote receiving end, the remote sending end receives a second working dense stream synchronization result sent by the local receiving end, and the first working dense stream synchronization result and the second working dense stream synchronization result are both preset synchronization success values, and the synchronous optical communication system completes the setting of an endogenous secure transmission status.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Key negotiation method and communication device

    CN110365474A

  • Y-00-based key agreement and information transmission integration method and device

    CN111314055A