A method and device for updating key of measurement and control system
The uncontrollable problem of satellite-on-mounted equipment caused by decryption unit failure is solved by directly decrypting key update instructions, and controllability recovery is achieved in the case of failure.
Patent Information
- Application Number
- CN202210668761.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2042-06-14
AI Technical Summary
In the prior art, the decryption unit cannot decrypt remote control instructions when it is affected by single particles in space, resulting in the on-site equipment being unable to operate according to the instructions of the ground control center, resulting in waste of resources.
By sending an encrypted key update instruction to the measurement and control system, the independent key directly decrypts the remote control instruction, determines whether the password is a preset password, and then updates the decryption key, and resets the decryption unit status.
The key can still be updated when the decryption unit fails, improving the controllability of the satellite-based equipment and avoiding waste of resources.
Smart Images

Figure CN115175180B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of satellite-to-ground communication technology, and in particular to a method and device for updating a key of a measurement and control system. Background Art
[0002] In the existing technology, when the ground control center sends an instruction to the satellite service system, it needs to first be decrypted by the decryption unit of the measurement and control system and then the decrypted plaintext data is sent to the satellite service system. The satellite service system sends the instruction to the specific satellite equipment according to the content of the instruction, or sends a key replacement instruction to the decryption unit to replace the decryption key of the decryption unit.
[0003] When the decryption unit is affected by a single particle in space and is unable to decrypt instructions, the measurement and control system cannot directly control the decryption unit according to the decrypted instruction content. As a result, the decryption unit will remain in an undecryptable state, and the onboard equipment will be unable to operate according to the instructions sent to the ground control center, resulting in a waste of resources. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide at least a method and device for updating the key of a measurement and control system, which updates the key by directly decrypting the key update instruction, and can also reset the decryption unit when a decryption unit fails. This solves the technical problem in the prior art that the remote control instruction cannot be interpreted when the decryption unit fails, and has the technical effect of improving the controllability of the satellite-borne equipment.
[0005] This application mainly includes the following aspects:
[0006] In the first aspect, an embodiment of the present application provides a key update method for a measurement and control system, which includes: sending a key update instruction to the measurement and control system, where the key update instruction is an encrypted remote control instruction; decrypting the remote control instruction with an independent key, and determining the decrypted remote control instruction as plaintext data; judging whether the password carried in the plaintext data is a preset password, where the preset password is used to verify the security of the remote control instruction; if the password carried in the plaintext data is a preset password, determining the instruction content in the plaintext data; and updating the decryption key according to the instruction content.
[0007] Optionally, before decrypting the remote control instruction by an independent key and determining the decrypted remote control instruction as plain text data, the method also includes: identifying whether the instruction flag carried by the remote control instruction is a preset flag; the preset flag is used to describe that the remote control instruction is sent by the corresponding ground control center; if the instruction flag carried by the remote control instruction is a preset flag, the remote control instruction is decrypted by the independent key, and the decrypted remote control instruction is determined as plain text data.
[0008] Optionally, the remote control command is decrypted by an independent key, and the decrypted remote control command is determined as plaintext data, including: decrypting the remote control command a preset number of times by the independent key; comparing the decryption results corresponding to the preset number of decryptions, and determining the majority of the same decryption results as the plaintext data corresponding to the remote control command.
[0009] Optionally, the instruction content includes: resetting the state of the decryption unit and updating the corresponding decryption key; updating the decryption key according to the instruction content includes: if the instruction content is to reset the state of the decryption unit, setting the decryption unit to an initial state; the initial state is to use the decryption key corresponding to the preset decryption key encoding to decrypt the next remote control instruction; if the instruction content is to update the corresponding decryption key, then updating the decryption key of the decryption unit according to the decryption key regeneration function.
[0010] Optionally, the instruction content also includes: a decryption key code and a decryption key regeneration function code; if the instruction content is to update the corresponding decryption key, then updating the decryption key of the decryption unit according to the decryption key regeneration function includes: if the instruction content is to update the corresponding decryption key, then determining the decryption key code and decryption key regeneration function code in the instruction content; updating the decryption key corresponding to the decryption key code according to the decryption key regeneration function code corresponding to the decryption key regeneration function code.
[0011] Optionally, the instruction content also includes: updating the independent key; if the password carried in the plaintext data is a preset password, after determining the instruction content in the plaintext data, the method also includes: if the instruction content is to update the independent key, updating the independent key according to the independent key regeneration function.
[0012] In the second aspect, an embodiment of the present application also provides a key update device for a measurement and control system, which includes: a sending module for sending a key update instruction to the measurement and control system, wherein the key update instruction is an encrypted remote control instruction; an independent key decryption module for decrypting the remote control instruction by an independent key, and determining the decrypted remote control instruction as plaintext data; a password identification module for determining whether the password carried in the plaintext data is a preset password, and the preset password is used to verify the security of the remote control instruction; an instruction parsing module for determining the instruction content in the plaintext data if the password carried in the plaintext data is a preset password; and an update module for updating the decryption key according to the instruction content.
[0013] Optionally, the independent key decryption module is also used to identify whether the command flag carried by the remote control command is a preset flag; the preset flag is used to describe that the remote control command is sent by the corresponding ground control center; if the command flag carried by the remote control command is a preset flag, the remote control command is decrypted by the independent key, and the decrypted remote control command is determined as plaintext data.
[0014] In a third aspect, an embodiment of the present application further provides an electronic device comprising: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the measurement and control system key update method in the above-mentioned first aspect or any possible implementation method of the first aspect.
[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of updating the measurement and control system key in the above-mentioned first aspect or any possible implementation method of the first aspect are executed.
[0016] The embodiment of the present application provides a method and device for updating a key in a measurement and control system. The method includes: sending a key update instruction to the measurement and control system, where the key update instruction is an encrypted remote control instruction; decrypting the remote control instruction with an independent key, and determining the decrypted remote control instruction as plain text data; determining whether the password carried in the plain text data is a preset password, where the preset password is used to verify the security of the remote control instruction; if the password carried in the plain text data is a preset password, determining the instruction content in the plain text data; and updating the decryption key based on the instruction content. The present application updates the key by directly decrypting the key update instruction, and can also reset the decryption unit when a decryption unit fails. This solves the technical problem in the prior art that the remote control instruction cannot be interpreted when a decryption unit fails, and has the technical effect of improving the controllability of satellite-borne equipment.
[0017] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A flowchart of a key updating method for a measurement and control system provided in an embodiment of the present application is shown.
[0020] Figure 2 A flowchart of another key updating method for a measurement and control system provided in an embodiment of the present application is shown.
[0021] Figure 3A functional module diagram of a key updating device for a measurement and control system provided in an embodiment of the present application is shown.
[0022] Figure 4 A schematic structural diagram of an electronic device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art, under the guidance of the contents of this application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.
[0024] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.
[0025] In the prior art, a decryption unit is required to decrypt the remote control command. When the decryption unit fails, the remote control command cannot be interpreted, and control of the onboard equipment is lost.
[0026] Based on this, the embodiments of the present application provide a method and apparatus for updating a key in a measurement and control system. This method updates the decryption key by directly decrypting a key update instruction. This method also allows the decryption unit to be reset if a decryption unit fails. This solves the technical problem in the prior art of being unable to interpret remote control instructions when a decryption unit fails, thereby improving the controllability of onboard equipment. The details are as follows:
[0027] See also Figure 1 , Figure 1 This is a flow chart of a key update method for a measurement and control system provided in an embodiment of the present application. Figure 1 As shown, the key update method of the measurement and control system provided in the embodiment of the present application includes the following steps:
[0028] S101. Send a key update instruction to the measurement and control system. The key update instruction is an encrypted remote control instruction.
[0029] That is, the ground control center sends a key update command to the measurement and control system. The key update command is a command to update the control key.
[0030] S102: Decrypt the remote control instruction using an independent key, and determine the decrypted remote control instruction as plain text data.
[0031] That is, the key update instruction is decrypted using a separate key.
[0032] The remote control command is decrypted by an independent key, and before the decrypted remote control command is determined as plain text data, the method also includes: identifying whether the command flag carried by the remote control command is a preset flag; the preset flag is used to describe that the remote control command is sent by the corresponding ground control center; if the command flag carried by the remote control command is the preset flag, the remote control command is decrypted by the independent key, and the decrypted remote control command is determined as plain text data.
[0033] Specifically, a timed identification method can be used to identify whether the command flag carried by the remote control command is a preset flag. That is, according to a preset time range, the command flag carried by the current remote control command is checked at intervals within the preset time range to see whether it is a preset flag.
[0034] See also Figure 2 , Figure 2 The flowchart of the steps of decrypting the remote control command by an independent key and determining the decrypted remote control command as plain text data is provided in the embodiment of the present application. Figure 2 As shown, the remote control command is decrypted by an independent key, and the decrypted remote control command is determined as plain text data including:
[0035] S201: Decrypt the remote control command a preset number of times using an independent key.
[0036] Specifically, the preset number of times is generally set to three, and the number of independent keys is generally set to one.
[0037] S202: Compare the decryption results corresponding to the preset number of decryptions, and determine the most identical decryption results as the plaintext data corresponding to the remote control command.
[0038] That is, the remote control command is decrypted using a triple-module redundancy method, using three modules to decrypt the remote control command simultaneously, and the majority of identical decryption results are determined to be the plaintext data corresponding to the remote control command.
[0039] That is, the decryption results corresponding to the three modules can be obtained. If two or more of the three decryption results are the same, the same decryption results are determined as the plaintext data corresponding to the remote control command.
[0040] return Figure 1 S103: Determine whether the password carried in the plaintext data is a preset password, where the preset password is used to verify the security of the remote control command.
[0041] Determine the password contained in the decrypted plaintext data and determine whether the password is the preset password.
[0042] That is to say, the plaintext data includes a password, and the preset password is set in advance by the staff, and the security of the remote control signal transmission is further improved by verifying the password.
[0043] S104: Determine the instruction content in the plaintext data.
[0044] If the password carried in the plaintext data is a preset password, the instruction content in the plaintext data is determined.
[0045] If the plain text data does not carry a password or the carried password is not a preset password, the remote control command is considered unsafe and is directly ignored.
[0046] S105: Update the decryption key according to the instruction content.
[0047] The instruction content includes: resetting the state of the decryption unit and updating the corresponding decryption key.
[0048] Updating the decryption key according to the instruction content includes: if the instruction content is to reset the state of the decryption unit, setting the decryption unit to an initial state; the initial state is to use the decryption key corresponding to the preset decryption key encoding to decrypt the next remote control instruction; if the instruction content is to update the corresponding decryption key, updating the decryption key of the decryption unit according to the decryption key regeneration function.
[0049] For example, if the decryption unit includes three decryption keys, namely, a decryption key with a decryption key code of 1, a decryption key with a decryption key code of 2, and a decryption key with a decryption key code of 3, and the decryption unit is initially decrypted using the decryption key with a decryption key code of 1, then if the instruction is to reset the state of the decryption unit, the decryption unit is instructed to use the decryption key with a decryption key code of 1 to decrypt the next remote control command. In other words, when the next remote control signal is sent, the decryption key with a decryption key code of 1 is used for decryption, rather than using a separate key.
[0050] The decryption key regeneration function is a preset function, and the original decryption key is substituted into the decryption key regeneration function to determine an updated decryption key.
[0051] The instruction content also includes: a decryption key code and a decryption key regeneration function code; if the instruction content is to update the corresponding decryption key, then updating the decryption key of the decryption unit according to the decryption key regeneration function includes: if the instruction content is to update the corresponding decryption key, then determining the decryption key code and decryption key regeneration function code in the instruction content; according to the decryption key regeneration function corresponding to the decryption key regeneration function code, updating the decryption key corresponding to the decryption key code.
[0052] The decryption key is updated according to the decryption key regeneration function, and the updated decryption key is determined as the regenerated decryption key. In other words, the original decryption key will be deleted and only the regenerated decryption key will be retained.
[0053] For example, if there are three decryption key regeneration functions, they are: a decryption key regeneration function with a decryption key regeneration function code of 1, a decryption key regeneration function with a decryption key regeneration function code of 2, and a decryption key regeneration function with a decryption key regeneration function code of 3. If the instruction is to update the corresponding decryption key, the decryption key code is 2 and the decryption key regeneration function code is 1, then the decryption key regeneration function with a decryption key regeneration function code of 1 is used to update the decryption key with a decryption key code of 2. In other words, the decryption keys with decryption key codes 1 and 3 are not updated.
[0054] The instruction content also includes: updating the independent key; if the password carried in the plaintext data is a preset password, after determining the instruction content in the plaintext data, the method also includes: if the instruction content is to update the independent key, updating the independent key according to the independent key regeneration function.
[0055] Exemplarily, the instruction content also includes: an independent key regeneration function code; if the instruction content is to update the independent key, the independent key is updated according to the independent key regeneration function corresponding to the independent key regeneration function code, and the updated independent key is used for decryption of the next key update instruction.
[0056] That is, if the number of independent key regeneration functions is three, then the independent key regeneration functions are respectively an independent key regeneration function with an independent key regeneration function code of 1, an independent key regeneration function with an independent key regeneration function code of 2, and an independent key regeneration function with an independent key regeneration function code of 3. If the instruction content is to update the independent key and the independent key regeneration function code is 1, the independent key regeneration function with an independent key regeneration function code of 1 is used to update the independent key, and the updated independent key is used to decrypt the next key update instruction.
[0057] In other words, this application no longer requires the satellite service system to analyze the plaintext data after telemetry command decryption and then control the decryption unit of the measurement and control system to update the key based on the content of the plaintext data. Instead, the telemetry command is directly decrypted before the decryption unit to control the decryption unit to update the key.
[0058] Based on the same application concept, the embodiment of the present application also provides a measurement and control system key update device corresponding to the measurement and control system key update method provided in the above embodiment. Since the principle of solving the problem by the device in the embodiment of the present application is similar to the measurement and control system key update method in the above embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0059] like Figure 3 , Figure 3 This is a functional module diagram of a key update device for a measurement and control system provided in an embodiment of the present application. The key update device 10 for a measurement and control system includes: a sending module 101, an independent key decryption module 102, a password identification module 103, an instruction parsing module 104, and an updating module 105. The sending module 101 is used to send a key update instruction to the measurement and control system, where the key update instruction is an encrypted remote control instruction; the independent key decryption module 102 is used to decrypt the remote control instruction using an independent key and determine the decrypted remote control instruction as plaintext data; the password identification module 103 is used to determine whether the password carried in the plaintext data is a preset password; the instruction parsing module 104 is used to determine the instruction content in the plaintext data if the password carried in the plaintext data is a preset password; and the updating module 105 is used to update the decryption key of the decryption unit according to the instruction content.
[0060] The independent key decryption module 102 is also used to identify whether the command flag carried by the remote control command is a preset flag; the preset flag is used to describe that the remote control command is sent by the corresponding ground control center; if the command flag carried by the remote control command is a preset flag, the remote control command is decrypted by the independent key, and the decrypted remote control command is determined to be plaintext data.
[0061] The independent key decryption module 102 is further configured to decrypt the remote control command a preset number of times using an independent key; compare the decryption results corresponding to the preset number of decryptions, and determine the majority of identical decryption results as the plaintext data corresponding to the remote control command.
[0062] The instruction content includes: resetting the state of the decryption unit and updating the corresponding decryption key; the update module 105 is also used to set the decryption unit to an initial state if the instruction content is to reset the state of the decryption unit; the initial state is to use the decryption key corresponding to the preset decryption key encoding to decrypt the next remote control instruction; if the instruction content is to update the corresponding decryption key, the decryption key of the decryption unit is updated according to the decryption key regeneration function.
[0063] The instruction content also includes: decryption key code, decryption key regeneration function code; the update module 105 is also used to determine the decryption key code and decryption key regeneration function code in the instruction content if the instruction content is to update the corresponding decryption key; and update the decryption key corresponding to the decryption key code according to the decryption key regeneration function corresponding to the decryption key regeneration function code.
[0064] The instruction content also includes: updating the independent key; the updating module 105 is further used to update the independent key according to the independent key regeneration function if the instruction content is to update the independent key.
[0065] Based on the same application concept, see Figure 4 As shown, it is a structural diagram of an electronic device provided in an embodiment of the present application. The electronic device 20 includes: a processor 201, a memory 202 and a bus 203. The memory 202 stores machine-readable instructions executable by the processor 201. When the electronic device 20 is running, the processor 201 and the memory 202 communicate through the bus 203. The machine-readable instructions are executed by the processor 201 when it is running, such as the steps of the key update method of the measurement and control system in any of the above embodiments.
[0066] Specifically, when the machine-readable instruction is executed by the processor 201, the following processing can be performed: a key update instruction is sent to the measurement and control system, and the key update instruction is an encrypted remote control instruction; the remote control instruction is decrypted by an independent key, and the decrypted remote control instruction is determined as plain text data; it is determined whether the password carried in the plain text data is a preset password, and the preset password is used to verify the security of the remote control instruction; if the password carried in the plain text data is a preset password, the instruction content in the plain text data is determined; and the decryption key is updated according to the instruction content.
[0067] Based on the same application concept, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the measurement and control system key update method provided in the above embodiment are executed.
[0068] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned measurement and control system key update method can be executed, and the key is updated by directly decrypting the key update instruction. The decryption unit can also be reset when a failure occurs in the decryption unit, which solves the technical problem in the prior art that the remote control instruction cannot be interpreted when the decryption unit fails, and has the technical effect of improving the controllability of the satellite-borne equipment.
[0069] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0070] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0071] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0072] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.
[0073] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A key update method for a measurement and control system, characterized in that: The key updating method of the measurement and control system includes: Sending a key update instruction to the measurement and control system, wherein the key update instruction is an encrypted remote control instruction; Decrypting the remote control instruction using an independent key and determining the decrypted remote control instruction as plain text data; Determining whether the password carried in the plaintext data is a preset password, the preset password being used to verify the security of the remote control command; If the password carried in the plaintext data is a preset password, determining the instruction content in the plaintext data; Update the decryption key according to the instruction content; The instruction content includes: resetting the state of the decryption unit, updating the corresponding decryption key and updating the independent key; The updating of the decryption key according to the instruction content includes: if the instruction content is to reset the state of the decryption unit, setting the decryption unit to an initial state; the initial state is to use the decryption key corresponding to the preset decryption key encoding to decrypt the next remote control instruction.
2. The key updating method of the measurement and control system according to claim 1, characterized in that: Before decrypting the remote control instruction by the independent key and determining the decrypted remote control instruction as plain text data, the method further includes: Identify whether the command flag carried by the remote control command is a preset flag; the preset flag is used to describe that the remote control command is sent by the corresponding ground control center; If the instruction flag carried by the remote control instruction is a preset flag, the remote control instruction is decrypted by an independent key, and the decrypted remote control instruction is determined as plain text data.
3. The key updating method of the measurement and control system according to claim 1 or 2, characterized in that: Decrypting the remote control instruction using the independent key and determining the decrypted remote control instruction as plain text data includes: The remote control command is decrypted a preset number of times by an independent key; Decryption results corresponding to a preset number of decryptions are compared, and the majority of identical decryption results are determined as the plaintext data corresponding to the remote control command.
4. The key updating method of the measurement and control system according to claim 1, characterized in that: Updating the decryption key according to the instruction content includes: If the instruction content is to update the corresponding decryption key, the decryption key of the decryption unit is updated according to the decryption key regeneration function.
5. The key updating method of the measurement and control system according to claim 4, characterized in that: The instruction content also includes: a decryption key code and a decryption key regeneration function code; if the instruction content is to update the corresponding decryption key, then updating the decryption key of the decryption unit according to the decryption key regeneration function includes: If the instruction content is to update the corresponding decryption key, determining the decryption key code and the decryption key regeneration function code in the instruction content; The decryption key corresponding to the decryption key code is updated according to the decryption key regeneration function corresponding to the decryption key regeneration function code.
6. The key updating method of the measurement and control system according to claim 1, characterized in that: If the password carried in the plaintext data is a preset password, after determining the instruction content in the plaintext data, the method further includes: If the instruction content is to update the independent key, the independent key is updated according to the independent key regeneration function.
7. A key updating device for a measurement and control system, characterized in that: The key updating device of the measurement and control system includes: A sending module, used to send a key update instruction to the measurement and control system, wherein the key update instruction is an encrypted remote control instruction; An independent key decryption module, configured to decrypt the remote control instruction using an independent key and determine the decrypted remote control instruction as plain text data; a password identification module, configured to determine whether the password carried in the plaintext data is a preset password, wherein the preset password is used to verify the security of the remote control command; an instruction parsing module, configured to determine instruction content in the plaintext data if the password carried in the plaintext data is a preset password; An updating module, configured to update a decryption key according to the instruction content; The instruction content includes: resetting the state of the decryption unit, updating the corresponding decryption key and updating the independent key; The update module is further configured to set the decryption unit to an initial state if the instruction content is to reset the state of the decryption unit; the initial state is to use the decryption key corresponding to the preset decryption key encoding to decrypt the next remote control instruction.
8. The key updating device for a measurement and control system according to claim 7, characterized in that: The independent key decryption module is also used to identify whether the command flag carried by the remote control command is a preset flag; the preset flag is used to describe that the remote control command is sent by the corresponding ground control center; if the command flag carried by the remote control command is a preset flag, the remote control command is decrypted by the independent key, and the decrypted remote control command is determined as plaintext data.
9. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the memory communicate through the bus. When the machine-readable instructions are run by the processor, the steps of the key update method for the measurement and control system as described in any one of claims 1 to 6 are executed.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the key updating method for a measurement and control system according to any one of claims 1 to 6 are executed.
Citation Information
Patent Citations
Instruction execution method and device, terminal equipment and storage medium
CN112597475A
Secret key updating method, gateway, control device, electronic equipment and medium
CN113259933A
System and method for dynamic generation of encryption keys
US20060126836A1