WO2020103643A1 - 数据处理方法、装置及计算机可读存储介质 - Google Patents
数据处理方法、装置及计算机可读存储介质Info
- Publication number
- WO2020103643A1 WO2020103643A1 PCT/CN2019/113343 CN2019113343W WO2020103643A1 WO 2020103643 A1 WO2020103643 A1 WO 2020103643A1 CN 2019113343 W CN2019113343 W CN 2019113343W WO 2020103643 A1 WO2020103643 A1 WO 2020103643A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- key
- encryption
- decryption
- data processing
- application request
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0435—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
Definitions
- the present disclosure relates to the field of communication technologies, and in particular, to a data processing method, device, and computer-readable storage medium.
- OTN Optical Transport Network
- symmetric encryption algorithm is the best choice for OTN network.
- the encryption algorithm of symmetric encryption is generally public, and the key needs to be kept carefully, because once the key is leaked, others can restore the encrypted data according to the key and algorithm.
- the distribution and management of symmetrically encrypted keys is very difficult.
- the main purpose of the present disclosure is to provide a data processing method, device, and computer-readable storage medium, aiming to solve the problem of very difficult distribution and management of symmetrically encrypted keys at present.
- the present disclosure provides a data processing method; the data processing method includes the following steps: the encryption end sends a first key application request to the key management end; the encryption end sends the first synchronization information to the decryption end, to Causing the decryption terminal to send a second key application request to the key management terminal based on the received first synchronization information; wherein, the key management terminal receives the first key application request and the second key When applying for the request, verify the first key application request and the second key application request respectively, and send the first password respectively when the first key application request passes the verification and the second key application request passes the verification Key to the encryption end and the decryption end.
- the present disclosure also provides a data processing device including: a memory, a processor, and a data processing program stored on the memory and executable on the processor, so When the data processing program is executed by the processor, the steps of the foregoing data processing method are realized.
- the present disclosure also provides a computer-readable storage medium having a data processing program stored on the computer-readable storage medium, the data processing program is executed by the processor to achieve the aforementioned data processing Method steps.
- FIG. 1 is a schematic structural diagram of a data processing device of a hardware operating environment according to an embodiment of the present disclosure
- FIG. 2 is a schematic flowchart of a first embodiment of a data processing method of the present disclosure
- FIG. 3 is a detailed flowchart of the steps of the encryption end sending the first key application request to the key management end in the second embodiment of the disclosed data processing method;
- FIG. 4 is a schematic flowchart of a fourth embodiment of the data processing method of the present disclosure.
- FIG. 5 is a schematic flowchart of a fifth embodiment of the data processing method of the present disclosure.
- FIG. 6 is a schematic flowchart of a sixth embodiment of the data processing method of the present disclosure.
- FIG. 7 is a detailed flowchart of the steps of the encryption terminal sending the first key application request to the key management terminal in the eighth embodiment of the disclosed data processing method.
- the encryption end sends a first key application request to the key management end; the encryption end sends first synchronization information to the decryption end, so that the decryption end sends a second key to the key management end based on the received first synchronization information Application request; wherein, when receiving the first key application request and the second key application request, the key management terminal verifies the first key application request and the second key application request, and When the first key application request passes verification and the second key application request passes verification, the first key is sent to the encryption end and the decryption end, respectively.
- the present disclosure provides a solution that enables information exchange between an independent key management device and an OTN device, and improves the reliability of OTN device encryption.
- FIG. 1 is a schematic structural view of a data processing device of a hardware operating environment according to an embodiment of the present disclosure.
- the data processing device in the embodiment of the present disclosure may be a PC, a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Pictures Experts Group Audio Layer III, motion picture expert compression standard audio level 3) player, MP4 (Moving Picture, Experts, Group, Audio, Layer IV, motion picture expert compression standard audio level 4) Players, portable computers and other mobile terminal devices with display functions.
- MP3 Motion Pictures Experts Group Audio Layer III, motion picture expert compression standard audio level 3
- MP4 Moving Picture, Experts, Group, Audio, Layer IV, motion picture expert compression standard audio level 4
- portable computers and other mobile terminal devices with display functions may be a PC, a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Pictures Experts Group Audio Layer III, motion picture expert compression standard audio level 3) player, MP4 (Moving Picture, Experts, Group, Audio, Layer IV, motion picture expert compression standard audio level 4) Players, portable computers and other mobile terminal devices with display functions.
- MP3 Motion Picture
- the data processing apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002.
- the communication bus 1002 is used to implement connection communication between these components.
- the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface and a wireless interface.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
- the memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as a disk memory.
- the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
- the data processing device may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and so on.
- sensors such as light sensors, motion sensors and other sensors.
- the data processing device can also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, which will not be repeated here.
- FIG. 1 does not constitute a limitation on the data processing device, and may include more or fewer components than those illustrated, or combine certain components, or different components Layout.
- the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and a data processing application program.
- the network interface 1004 is mainly used to connect to a background server and perform data communication with the background server;
- the user interface 1003 is mainly used to connect to a client (user side) and perform data communication with the client; and
- the processor 1001 may be used to call the data processing program stored in the memory 1005 and perform the following operations: the encryption end sends a first key application request to the key management end; the encryption end sends the first synchronization information to the decryption end to enable decryption
- the terminal sends a second key application request to the key management terminal based on the received first synchronization information; wherein, the key management terminal receives the first key application request and the second key application request , Verify the first key application request and the second key application request respectively, and send the first key to the first key application request and the second key application request when the verification is passed
- the encryption end and the decryption end may be used to call the data processing program stored in the memory 1005 and perform the following operations: the encryption end sends a first key application request
- the processor 1001 may call the data processing application stored in the memory 1005, and also perform the following operations: the encryption end determines the number of valid keys in the current second key; and the valid key When the number is less than the preset number, the encryption terminal sends a first key application request to the key management terminal.
- the processor 1001 may call the data processing program stored in the memory 1005, and also perform the following operation: upon receiving the first key sent by the key management terminal, the encryption terminal determines its encryption module Whether it is in an encrypted state, and if so, the encryption end updates the second key based on the first key; wherein, when receiving the first key sent by the key management end, the decryption end Determine whether its decryption module is in an encrypted state, and if so, the decryption end updates the second key based on the first key.
- the processor 1001 may call the data processing program stored in the memory 1005, and also perform the following operation: if the first synchronization information is sent within the first preset time period, the key management terminal does not receive the sending The first key, and there is no valid key in the second key, the encryption end interrupts the service transmission between the decryption end; the duration after interrupting the service transmission reaches the second preset When the duration is long, the step of sending the first key application request from the encryption end to the key management end is continued.
- the processor 1001 may call the data processing program stored in the memory 1005, and also perform the following operation: if the first synchronization information is sent within the first preset time period, the key management terminal does not receive the sending And the second key does not have a valid key, then within the third preset duration, the encryption end uses the last key used in the second key as the valid key ; When the duration after the last key used in the second key is used as the effective key reaches the second preset duration, continue to perform the step of the encryption end sending the first key application request to the key management end.
- the processor 1001 may call the data processing program stored in the memory 1005, and also perform the following operations:
- the encryption end When receiving the encryption start instruction, the encryption end sends a first key application request to the key management end;
- the data processing method further includes:
- the encryption end When receiving the first key sent by the key management end, the encryption end performs parameter configuration operation on the encryption module of the encryption end based on the encryption parameters and the first key, wherein, after receiving the When the first key sent by the key management end, the decryption end performs parameter configuration operations on the decryption module of the decryption end based on the encryption parameters and the first key;
- the encryption end determines the first subkey to be used based on the order of the subkeys in the first key, and updates the first synchronization information based on the first subkey to be used;
- the encryption end sends the updated first synchronization information to the decryption end, so that the decryption end determines the second subkey to be used based on the updated first synchronization information.
- the processor 1001 may call the data processing program stored in the memory 1005, and also perform the following operation: if the first synchronization information is sent within the first preset time period, the key management terminal does not receive the sending The first key, when the duration after the current moment reaches the second preset duration, continue to perform the step of the encryption end sending the first key application request to the key management end.
- the processor 1001 may call the data processing program stored in the memory 1005, and also perform the following operations: when receiving the second synchronization information sent by the decryption end, the encryption end interrupts and the decryption end Service transmission, where, when the decryption terminal is reset, the decryption terminal erases the currently stored key and sends second synchronization information to the encryption terminal; the encryption terminal sends the first to the key management terminal Key application request.
- the processor 1001 may call the data processing program stored in the memory 1005, and also perform the following operation: upon receiving the first key sent by the key management terminal, the encryption terminal determines its encryption module Whether it is in an encrypted state, and if so, the encryption end controls the encryption module to perform an encryption operation based on the first key and the identification information.
- the present disclosure also provides a data processing method.
- the data processing method includes the following steps: Step S100, an encryption terminal sends a first key application request to a key management terminal; the data processing method is applied to an OTN transmission system
- the OTN transmission system includes an encryption end, a decryption end, and a key management end.
- the encryption terminal when the encryption terminal detects the encryption start instruction, the encryption terminal sends a first key application request to the key management terminal, and the first key application request includes its key application ID.
- the key management end may send the encryption start instruction to the encryption end, or other management end devices in the OTN transmission system may send the encryption start instruction to the encryption end;
- the encryption terminal if the encryption terminal performs the encryption operation for the first time and the encryption terminal detects that the corresponding encryption key is not currently stored, the encryption terminal triggers the encryption start instruction;
- the encryption end currently stores the corresponding encryption key, that is, the second key. If the number of valid keys in the second key is less than the preset number, the encryption start instruction is triggered, where valid key refers to The currently unused key.
- step S200 the encryption terminal sends the first synchronization information to the decryption terminal, so that the decryption terminal sends a second key application request to the key management terminal based on the received first synchronization information;
- the encryption terminal sends the first synchronization information to the decryption terminal, so that the decryption terminal sends a second key application request to the key management terminal based on the received first synchronization information;
- the encryption terminal sends the first synchronization information to the decryption terminal.
- the first synchronization information is transmitted between the encryption terminal and the decryption terminal by using unoccupied bits in the OTN frame structure.
- the decryption end creates a key application based on the first synchronization information, and then sends a second key application request to the key management end.
- the first synchronization information includes a key application ID
- the second key application request includes a key application ID.
- the key management end After receiving the first key application request from the encryption end and the second key application request from the decryption end, the key management end verifies the key application ID and second key application of the first key application request Whether the requested key application ID is the same, when the key application ID of the first key application request and the key application ID of the second key application request are the same, the verification is passed, and after verification, the key management terminal is automatically generated by multiple groups The first key composed of the keys, and then the key management end delivers the first key to the encryption end and the decryption end.
- the encryption terminal performs the encryption operation for the first time, after receiving the first key, the encryption terminal will configure the encryption module according to the first key and encryption parameters, and after receiving the first key, the decryption terminal will use the first key and Decryption parameters configure the decryption module.
- the encryption terminal uses the subkey in the first key to encrypt data
- the key sequence number of the subkey is filled in the synchronization information, and the synchronization information is transmitted to the decryption terminal.
- the decryption terminal uses the key sequence number in the synchronization information Determine the subkey to be used, and decrypt the encrypted data according to the subkey determined to be used.
- the encryption terminal after the encryption terminal sends the first key application request to the key management terminal, the encryption terminal sends the first synchronization information to the decryption terminal, and then the decryption terminal sends the first synchronization information to the decryption terminal.
- the key management terminal sends a second key application request. After receiving the first key application request and the second key application request, the key management terminal verifies the first key application request and the second key application request, respectively.
- a second key application request and when the verification of the first key application request and the verification of the second key application request are passed, the first key is sent to the encryption end and the decryption end respectively;
- the decryption terminal can apply for the same key at the same time, which improves the convenience of key distribution and management in the OTN transmission system.
- step S100 includes: S110, the encryption end determines the effective key of the current second key Number; S120, when the number of valid keys is less than a preset number, the encryption end sends a first key application request to the key management end.
- the encryption terminal determines the number of valid keys in the second key.
- the encryption terminal finds that the number of valid keys in the second key is less than At a preset number, the encryption end sends the first key application request to the key management end, and then the encryption end notifies the decryption end to send the second key application request to the key management end through the first synchronization information.
- the key management end After verifying the first key application request sent by the encryption end and the second key application request sent by the decryption end, delivers the first key to the encryption end and the decryption end.
- the encryption terminal first determines the number of valid keys in the current second key. When the number of valid keys is found to be less than the preset number, the encryption terminal The terminal sends the first key application request; by the encryption terminal applying for a key when the number of valid keys is less than the preset number, the function of automatic key update is realized, and the confidentiality of data transmission between OTN devices is further improved.
- the data processing method further includes:
- the encryption end determines whether its encryption module is in an encrypted state, and if so, the encryption end updates the first key based on the first key Two keys
- the decryption end when receiving the first key sent by the key management end, determines whether its decryption module is in an encrypted state, and if so, the decryption end updates the first key based on the first key Two keys.
- the encryption end when the encryption end receives the first key sent by the key management end, the encryption end detects whether the encryption module is in the encryption state, and if the encryption module is in the encryption state, the encryption end uses the first key No need to configure the encryption module, that is, after the encryption end has used the key in the second key, the data to be transmitted can be encrypted based on the first key.
- the decryption end detects whether the decryption module is in the encrypted state. In the encrypted state, the decryption end does not need to configure a decryption module when using the first key, that is, after the decryption end uses the key in the second key, it can decrypt the transmitted data based on the first key.
- the encryption end determines whether its encryption module is in an encrypted state, and if it is, the decryption end is based on the The first key updates the second key; meanwhile, when receiving the first key sent by the key management end, the decryption end determines whether its decryption module is in an encrypted state, and if so, the decryption end
- the second key is updated based on the first key; the key is automatically updated while ensuring encrypted transmission of data, and the confidentiality of data transmission between OTN devices is improved.
- the data processing method further includes: S130, if the first synchronization information is sent Within the first preset duration, if the first key sent by the key management end is not received, and there is no valid key in the second key, the encryption end is interrupted and the decryption end S140, when the duration after the interruption of the service transmission reaches the second preset duration, continue to perform the step of the encryption end sending the first key application request to the key management end.
- the encryption terminal after sending the first synchronization information, performs cumulative timing to determine whether the first key sent by the key management terminal is received within the first preset time period after sending the first synchronization information , If the first key sent by the key management terminal is not received within the first preset duration, and the encryption terminal determines that there is no valid key in the second key, the encryption terminal will automatically cut off the service transmission from the decryption terminal, When the duration after interrupting the service transmission reaches the second preset duration, the encryption terminal sends a first key application request to the key management terminal while recalculating the waiting time, and notifies the decryption terminal to the key management terminal through the first synchronization information Send a second key application request, and if the encryption end does not receive the first key issued by the key management end within the first preset duration, repeat the above steps.
- the first preset duration and the second preset duration can be set reasonably.
- the encryption end interrupts the service transmission between the decryption end and when the duration after the interruption of service transmission reaches the second preset duration, the encryption end continues to send the first encryption key to the key management end
- the steps of the key application request it realizes the guarantee of data transmission in abnormal situations, and at the same time automatically restores the encrypted data transmission between OTN devices after the abnormal situation is lifted.
- the data processing method further includes: S150, if the first synchronization information is sent after the first Within a preset duration, if the first key sent by the key management end is not received, and there is no valid key in the second key, within the third preset duration, the encryption end will The last key used in the second key is used as the effective key; S160, when the duration after the last key used in the second key is used as the effective key reaches the second preset time, continue The step of sending the first key application request from the encryption end to the key management end is performed.
- the encryption end when the encryption end waits for the key management end to issue the first key for more than the first preset duration, the encryption end detects whether a valid key exists in the second key. If there is no valid key, within the third preset duration, the encryption end uses the last key used in the second key as the effective key, and the encryption end uses the last key used in the second key to encrypt For the data to be transmitted, the decryption end decrypts the received service data based on the last key used in the second key, and the duration after the last key used in the second key is used as the effective key reaches the second At the preset time, the encryption end will send the first key application request to the key management end and recalculate the waiting time.
- the first preset duration and the second preset duration can be set reasonably.
- the third preset duration is the time interval between when there is no valid key in the second key and when the encryption end receives a new key (first key).
- the encryption end if the encryption end does not receive the first key sent by the key management end within the first preset time period after sending the first synchronization information, and the second key There is no valid key in, then within the third preset duration, the encryption end uses the last key used in the second key as the valid key, where, within the third preset duration, the The decrypting end uses the last used key as an effective key; then, when the duration after the last used key in the second key is used as the effective key reaches the second preset duration, the encryption end continues to perform encryption
- the key management terminal sends the first key application request step; it realizes the encrypted transmission of data under abnormal conditions, and automatically restores the encrypted data transmission between OTN devices after the abnormal conditions are lifted.
- step S100 includes: S170.
- the encryption terminal manages the key The terminal sends a first key application request; after step S200, the data processing method further includes: step S400, when receiving the first key sent by the key management terminal, the encryption terminal is based on the encryption parameters and the The first key performs a parameter configuration operation on the encryption module of the encryption end, wherein, when receiving the first key sent by the key management end, the decryption end is based on the encryption parameters and the first key Perform parameter configuration operation on the decryption module of the decryption end; step S500, the encryption end determines the first subkey to be used based on the order of the subkeys in the first key, and based on the first subkey to be used The key updates the first synchronization information; step S600, the encryption end sends the updated first synchronization information to the decryption end, so that
- the encryption terminal after the encryption terminal receives the encryption start instruction, the encryption terminal sends the first key application request to the key management terminal and simultaneously sends the first synchronization information to the decryption terminal. After the decryption terminal receives the first synchronization information Send a second key application request to the key management terminal. After verifying the first key application request and the second key application request, the key management terminal sends the first key to the encryption terminal and the decryption terminal. key.
- the encryption terminal After the encryption terminal receives the first key issued by the key management terminal, the encryption terminal configures the parameters of the encryption module based on the encryption parameters and the first key, and at the same time, the decryption terminal issues the first key issued by the key management terminal After the first key, the decryption terminal configures the parameters of the decryption module based on the encryption parameters and the first key.
- the encryption terminal determines the first subkey to be used based on the order of the subkeys in the first key, updates the first synchronization information based on the first subkey to be used, and the encryption terminal Send the updated first synchronization information to the decryption terminal, and the decryption terminal determines the second subkey to be used based on the updated first synchronization information.
- the encryption terminal after receiving the encryption start instruction, the encryption terminal sends a first key application request to the key management terminal, and after receiving the first key sent by the key management terminal , The encryption terminal performs parameter configuration operations on the encryption module of the encryption terminal based on the encryption parameters and the first key, and after the decryption terminal receives the first key sent by the key management terminal, the The decryption terminal configures the parameters of the decryption module of the decryption terminal based on the encryption parameters and the first key, and then the encryption terminal determines the first subkey to be used based on the order of the subkeys in the first key, and then Update the first synchronization information based on the first subkey to be used, and then the encryption end sends the updated first synchronization information to the decryption end, and then the decryption end is based on the updated The first synchronization information determines the second subkey to be used; it enables data encryption to have continuity when multiple sets of keys are used.
- a seventh embodiment of the data processing method of the present disclosure is proposed.
- step S200 after step S200, it further includes: if the first preset duration after sending the first synchronization information, the received The first key sent by the key management terminal continues to perform the step of sending the first key application request from the encryption terminal to the key management terminal when the duration after the current time reaches the second preset duration.
- the encryption terminal waits for the key management terminal to issue the first key after sending the first synchronization information to the decryption terminal. If the encryption key is not received within the first preset time period after sending the first synchronization information When the first key issued by the key management terminal reaches the second preset time duration after the current time, the encryption terminal sends a first key application request to the key management terminal.
- the encryption end does not receive the first key sent by the key management end within the first preset time period after sending the first synchronization information, and then after the current time When the duration reaches the second preset duration, the process of sending the first key application request from the encryption end to the key management end is continued; the data encryption transmission between OTN devices can be automatically restored under abnormal conditions.
- step S100 includes: step S180, when receiving the second synchronization information sent by the decryption terminal , The encryption end interrupts the service transmission between the decryption end, wherein, when the decryption end is reset, the decryption end erases the currently stored key and sends second synchronization information to the encryption end Step S190, the encryption end sends a first key application request to the key management end.
- the decryption terminal when the decryption terminal performs a reset operation, the decryption terminal erases the currently stored key, and then the decryption terminal sends second synchronization information to the encryption terminal, where the second synchronization information includes the last decryption operation of the decryption terminal
- the identification information of the key used after the encryption end receives the second synchronization information sent by the decryption end, the encryption end interrupts the data transmission between the decryption end and the encryption end initiates a first key application to the key management end
- the encryption end notifies the decryption end through the first synchronization information to initiate a second key application request to the key management end.
- the key management end After receiving the first key application request from the encryption end and the second key application request from the decryption end, the key management end verifies its application information, and after verification passes, sends the first key to the encryption end and decryption end for its use.
- the encryption terminal after the encryption terminal receives the second synchronization information sent by the decryption terminal, the encryption terminal interrupts service transmission with the decryption terminal, and when the decryption terminal is reset, The decryption end erases the currently stored key and sends second synchronization information to the encryption end, and the encryption end sends a first key application request to the key management end; this enables the decryption end to be reset Guarantee and automatic recovery of encrypted data transmission between OTN devices.
- the second synchronization information includes identification information of the key used by the decryption terminal for the last decryption operation.
- Data processing methods also include:
- the encryption end When receiving the first key sent by the key management end, the encryption end determines whether its encryption module is in an encrypted state, and if so, the encryption end controls based on the first key and the identification information The encryption module performs an encryption operation.
- the encryption end detects whether the encryption module is in the encryption state. If the encryption module is in the encryption state, the encryption end is based on the first key and the first key. The identification information in the second synchronization information controls the encryption module to perform the encryption operation. If the encryption module is not in the encryption state, you need to perform the above operation after reconfiguring the encryption module.
- the encryption terminal when the encryption terminal receives the first key sent by the key management terminal, the encryption terminal determines whether its encryption module is in an encrypted state, and if so, the encryption terminal Based on the first key and the identification information, the encryption module is controlled to perform an encryption operation; the continuity of data encryption transmission between OTN devices under the condition that the decryption end is reset is achieved.
- an embodiment of the present disclosure also proposes a computer-readable storage medium having a data processing program stored on the computer-readable storage medium.
- the terminal sends a first key application request; the encryption terminal sends first synchronization information to the decryption terminal, so that the decryption terminal sends a second key application request to the key management terminal based on the received first synchronization information;
- the key management terminal verifies the first key application request and the second key application request respectively, and
- the key application request passes verification and the second key application request passes verification, the first key is sent to the encryption end and the decryption end, respectively.
- the encryption end determines the number of valid keys in the current second key; when the number of valid keys is less than a preset When it is the quantity, the encryption end sends a first key application request to the key management end.
- the encryption terminal determines whether its encryption module is in an encrypted state If yes, the encryption end updates the second key based on the first key; wherein, when receiving the first key sent by the key management end, the decryption end determines its decryption module Whether it is in an encrypted state, and if so, the decryption end updates the second key based on the first key.
- the following operation is also implemented: if the first preset time period after sending the first synchronization information, the first password sent by the key management terminal is not received Key, and there is no valid key in the second key, the encryption end interrupts service transmission with the decryption end;
- the step of sending the first key application request from the encryption end to the key management end is continued.
- the following operation is also implemented: if the first preset time period after sending the first synchronization information, the first sent by the key management terminal is not received Key, and there is no valid key in the second key, then within the third preset duration, the encryption end uses the last key used in the second key as the valid key; When the duration of the last key used in the second key as a valid key reaches the second preset duration, the step of sending the first key application request from the encryption end to the key management end is continued.
- the encryption end When receiving the encryption start instruction, the encryption end sends a first key application request to the key management end;
- the data processing method further includes:
- the encryption end When receiving the first key sent by the key management end, the encryption end performs parameter configuration operation on the encryption module of the encryption end based on the encryption parameters and the first key, wherein, after receiving the When the first key sent by the key management end, the decryption end performs parameter configuration operations on the decryption module of the decryption end based on the encryption parameters and the first key;
- the encryption end determines the first subkey to be used based on the order of the subkeys in the first key, and updates the first synchronization information based on the first subkey to be used;
- the encryption end sends the updated first synchronization information to the decryption end, so that the decryption end determines the second subkey to be used based on the updated first synchronization information.
- the following operation is also implemented: if the first preset time period after sending the first synchronization information, the first password sent by the key management terminal is not received Key, when the duration after the current moment reaches the second preset duration, continue to perform the step of the encryption end sending the first key application request to the key management end.
- the encryption end when the data processing program is executed by the processor, the following operation is further implemented: when receiving the second synchronization information sent by the decryption end, the encryption end interrupts the service transmission between the decryption end, Wherein, when the decryption terminal is reset, the decryption terminal erases the currently stored key and sends second synchronization information to the encryption terminal; the encryption terminal sends a first key application request to the key management terminal .
- the following operation when the data processing program is executed by the processor, the following operation is also implemented: when receiving the first key sent by the key management terminal, the encryption terminal determines whether its encryption module is in an encrypted state If yes, the encryption end controls the encryption state to perform an encryption operation based on the first key and the identification information.
- the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better Implementation.
- the technical solution of the present disclosure can be embodied in the form of a software product in essence or part that contributes to some situations, and the computer software product is stored in a storage medium (such as ROM / RAM, The magnetic disk and the optical disk) include several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in the embodiments of the present disclosure.
- a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
- the present disclosure enables the encryption end and the decryption end to apply for the same key at the same time, and improves the convenience of key distribution and management in the OTN transmission system.
- the encryption end of the present disclosure sends the first key application request to the key management end
- the encryption end sends the first synchronization information to the decryption end
- the decryption end sends the second encryption key to the key management end based on the received first synchronization information.
- Key application request after receiving the first key application request and the second key application request, the key management terminal verifies the first key application request and the second key application request, and When the first key application request passes verification and the second key application request passes verification, the first key is sent to the encryption end and the decryption end respectively; so that the encryption end and the decryption end can apply for the same
- the key improves the convenience of key distribution and management in the OTN transmission system.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims (11)
- 一种数据处理方法,其中,所述数据处理方法包括以下步骤:加密端向密钥管理端发送第一密钥申请请求;加密端发送第一同步信息至解密端,以使解密端基于接收到的所述第一同步信息向密钥管理端发送第二密钥申请请求;其中,所述密钥管理端在接收到所述第一密钥申请请求以及第二密钥申请请求时,分别验证所述第一密钥申请请求以及第二密钥申请请求,并在所述第一密钥申请请求验证通过以及第二密钥申请请求验证通过时,分别发送第一密钥至所述加密端以及所述解密端。
- 如权利要求1所述数据处理方法,其中,所述加密端向密钥管理端发送第一密钥申请请求的步骤包括:所述加密端确定当前的第二密钥中有效密钥的数量;在所述有效密钥的数量小于预设数量时,所述加密端向密钥管理端发送第一密钥申请请求。
- 如权利要求2所述数据处理方法,其中,所述加密端发送第一同步信息至解密端的步骤之后,所述数据处理方法还包括:在接收到所述密钥管理端发送的第一密钥时,所述加密端确定其加密模块是否处于加密状态,若是,则所述加密端基于所述第一密钥更新所述第二密钥;其中,在接收到所述密钥管理端发送的第一密钥时,所述解密端确定其解密模块是否处于加密状态,若是,则所述解密端基于所述第一密钥更新所述第二密钥。
- 如权利要求2所述数据处理方法,其中,所述加密端发送第一同步信息至解密端的步骤之后,所述数据处理方法还包括:若发送第一同步信息之后的第一预设时长内,未接收到所述密钥管理端发送的第一密钥,且所述第二密钥中不存在有效密钥,则所述加密端中断与所述解密端之间的业务传输;在中断业务传输之后的持续时长达到第二预设时长时,继续执行加密端向密钥管理端发送第一密钥申请请求的步骤。
- 如权利要求2所述数据处理方法,其中,所述加密端发送第一同步信息至解密端 的步骤之后,所述数据处理方法还包括:若发送第一同步信息之后的第一预设时长内,未接收到所述密钥管理端发送的第一密钥,且所述第二密钥中不存在有效密钥,则在第三预设时长内,所述加密端将所述第二密钥中最后使用的密钥作为有效密钥;在将所述第二密钥中最后使用的密钥作为有效密钥之后的持续时长达到第二预设时长时,继续执行加密端向密钥管理端发送第一密钥申请请求的步骤。
- 如权利要求1所述数据处理方法,其中,所述第一密钥包括多组子密钥,所述加密端向密钥管理端发送第一密钥申请请求的步骤包括:在接收到加密启动指令时,所述加密端向密钥管理端发送第一密钥申请请求;所述加密端发送第一同步信息至解密端的步骤之后,所述数据处理方法还包括:在接收到所述密钥管理端发送的第一密钥时,所述加密端基于加密参数以及所述第一密钥对所述加密端的加密模块进行参数配置操作,其中,在接收到所述密钥管理端发送的第一密钥时,所述解密端基于加密参数以及所述第一密钥对所述解密端的解密模块进行参数配置操作;所述加密端基于所述第一密钥中子密钥的顺序确定第一待使用子密钥,基于所述第一待使用子密钥更新所述第一同步信息;所述加密端发送更新后的所述第一同步信息至所述解密端,以供所述解密端基于更新后的所述第一同步信息确定第二待使用子密钥。
- 如权利要求6所述数据处理方法,其中,所述加密端发送第一同步信息至解密端的步骤之后,所述数据处理方法还包括:若发送第一同步信息之后的第一预设时长内,未接收到所述密钥管理端发送的第一密钥,则在当前时刻之后的持续时长达到第二预设时长时,继续执行加密端向密钥管理端发送第一密钥申请请求的步骤。
- 如权利要求1至7任一项所述数据处理方法,其中,所述加密端向密钥管理端发送第一密钥申请请求的步骤包括:在接收到解密端发送的第二同步信息时,所述加密端中断与所述解密端之间的业务传输,其中,在所述解密端复位时,所述解密端擦除当前存储的密钥,并发送第二同步信息至所述加密端;所述加密端向密钥管理端发送第一密钥申请请求。
- 如权利要求8所述数据处理方法,其中,所述第二同步信息包括所述解密端最后一次解密操作所使用的密钥的标识信息,所述加密端发送第一同步信息至解密端的步骤之后,所述数据处理方法还包括:在接收到所述密钥管理端发送的第一密钥时,所述加密端确定其加密模块是否处于加密状态,若是,则所述加密端基于所述第一密钥以及所述标识信息控制所述加密模块执行加密操作。
- 一种数据处理装置,其中,所述数据处理装置包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的数据处理程序,所述数据处理程序被所述处理器执行时实现如权利要求1至9中任一项所述的数据处理方法的步骤。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有数据处理程序,所述数据处理程序被处理器执行时实现如权利要求1至9中任一项所述的数据处理方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811412741.5 | 2018-11-23 | ||
CN201811412741.5A CN111224772B (zh) | 2018-11-23 | 2018-11-23 | 数据处理方法、装置及计算机可读存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020103643A1 true WO2020103643A1 (zh) | 2020-05-28 |
Family
ID=70773514
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/113343 WO2020103643A1 (zh) | 2018-11-23 | 2019-10-25 | 数据处理方法、装置及计算机可读存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111224772B (zh) |
WO (1) | WO2020103643A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114760099A (zh) * | 2022-03-16 | 2022-07-15 | 金蝶蝶金云计算有限公司 | 一种数据传输方法、装置、设备及存储介质 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113612612A (zh) * | 2021-09-30 | 2021-11-05 | 阿里云计算有限公司 | 一种数据加密传输方法、系统、设备及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107347058A (zh) * | 2016-05-06 | 2017-11-14 | 阿里巴巴集团控股有限公司 | 数据加密方法、数据解密方法、装置及系统 |
CN108075890A (zh) * | 2016-11-16 | 2018-05-25 | 中兴通讯股份有限公司 | 数据发送端、数据接收端、数据传输方法及系统 |
US10104047B2 (en) * | 2015-04-08 | 2018-10-16 | Microsemi Solutions (U.S.), Inc. | Method and system for encrypting/decrypting payload content of an OTN frame |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580167B (zh) * | 2014-12-22 | 2018-11-30 | 腾讯科技(深圳)有限公司 | 一种传输数据的方法、装置和系统 |
CN106803783A (zh) * | 2015-11-26 | 2017-06-06 | 深圳市中兴微电子技术有限公司 | 一种加密解密方法、加密解密装置及数据传输系统 |
-
2018
- 2018-11-23 CN CN201811412741.5A patent/CN111224772B/zh active Active
-
2019
- 2019-10-25 WO PCT/CN2019/113343 patent/WO2020103643A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10104047B2 (en) * | 2015-04-08 | 2018-10-16 | Microsemi Solutions (U.S.), Inc. | Method and system for encrypting/decrypting payload content of an OTN frame |
CN107347058A (zh) * | 2016-05-06 | 2017-11-14 | 阿里巴巴集团控股有限公司 | 数据加密方法、数据解密方法、装置及系统 |
CN108075890A (zh) * | 2016-11-16 | 2018-05-25 | 中兴通讯股份有限公司 | 数据发送端、数据接收端、数据传输方法及系统 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114760099A (zh) * | 2022-03-16 | 2022-07-15 | 金蝶蝶金云计算有限公司 | 一种数据传输方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN111224772A (zh) | 2020-06-02 |
CN111224772B (zh) | 2022-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10412061B2 (en) | Method and system for encrypted communications | |
US10356070B2 (en) | Method for transferring profile and electronic device supporting the same | |
WO2018157858A1 (zh) | 信息存储方法、装置及计算机可读存储介质 | |
CN107231627B (zh) | 一种蓝牙网络及配网方法 | |
US10419223B2 (en) | Method of using symmetric cryptography for both data encryption and sign-on authentication | |
US20240048985A1 (en) | Secure password sharing for wireless networks | |
CA2995514C (en) | Message protection method, and related device, and system | |
US11564099B2 (en) | RRC connection resume method and apparatus | |
US20210256114A1 (en) | Over-The-Air Upgrade Method and Related Apparatus | |
KR102281782B1 (ko) | 무선 통신 시스템에서 단말의 어플리케이션을 원격으로 관리하는 방법 및 장치 | |
CN106888206B (zh) | 密钥交换方法、装置及系统 | |
EP4322464A1 (en) | Information transmission method, storage medium and electronic device | |
US9443069B1 (en) | Verification platform having interface adapted for communication with verification agent | |
US11324068B2 (en) | Data transmission method and device, and storage medium | |
WO2020103643A1 (zh) | 数据处理方法、装置及计算机可读存储介质 | |
WO2017012204A1 (zh) | 无线连接方法、终端及无线访问接入点、计算机存储介质 | |
CN111563251A (zh) | 一种终端设备中私密信息的加密方法和相关装置 | |
US11637704B2 (en) | Method and apparatus for determining trust status of TPM, and storage medium | |
CN110826097A (zh) | 一种数据处理方法及电子设备 | |
EP3410629B1 (en) | Data transmission method, device and system | |
JP2005136870A (ja) | 電子機器および暗号鍵更新制御方法 | |
WO2021114113A1 (zh) | 刷机处理方法及相关装置 | |
CN114244573A (zh) | 数据传输管控方法、装置、计算机设备和存储介质 | |
CN103313237B (zh) | 一种移动云终端与云服务器交互的方法及系统 | |
CN114697031A (zh) | 通信方法、计算机设备及计算机可读存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19887061 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19887061 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 05.10.2021) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19887061 Country of ref document: EP Kind code of ref document: A1 |