Password out-of-control resisting system and method based on motion state perceptionTechnical Field
The invention relates to the field of passwords, in particular to a password runaway-resistant system and method based on motion state perception.
Background
Encryption equipment deployed in a weapon platform usually solidifies explicit cipher key data PCS such as application keys, application algorithms, algorithm parameters and the like in a nonvolatile storage unit of a cipher machine, and is used for providing encryption protection for information such as communication command or information reconnaissance of the weapon platform, and the weapon platform has the conditions of being trapped and captured by tricks or not exploding missiles, particularly airborne and missile-borne encryption equipment.
The requirements of the current system for the encryption device are as follows:
1) the encryption device can provide encryption service in the task execution process of the weapon platform;
2) after the weapon platform is out of control, the PCS (personal communications system) of the key data of the plain-state password in the encryption equipment can not be acquired by an opponent.
After the weapon platform is out of control, on one hand, the weapon platform is separated from a wireless communication coverage range designed by the system or cannot normally communicate due to electromagnetic interference, and the like, and the password system cannot remotely destroy the clear password key data PCS of the encryption equipment on line by using a wireless communication means; on the other hand, the weapon platform may be in a power-off state after being out of control, the encryption device cannot work, the weapon platform cannot be judged to be in the out-of-control state, and the clear-state password key data PCS of the nonvolatile storage unit cannot be destroyed.
Disclosure of Invention
Aiming at the problems in the prior art, the password runaway-resistant system and method based on motion state perception, which are suitable for airborne and missile-borne platforms, are provided, and are still suitable for encryption equipment of a weapon platform, wherein the task process sequentially comprises a static preparation stage, a dynamic execution stage and a static ending stage.
The technical scheme adopted by the invention is as follows: a password anti-runaway system based on motion state perception comprises encryption equipment carried on an airborne/missile-borne platform, wherein the encryption equipment consists of an encryption equipment host and a protection medium, and the encryption equipment host comprises a control unit, an acceleration sensor, a nonvolatile storage unit and a volatile storage unit; the protection medium is used for storing storage protection information; the nonvolatile storage unit is used for storing key data of the protected password; the volatile storage unit is used for storing key data of the plain state password; the acceleration sensor is used for acquiring a motion state; the control unit is used for decrypting the key data of the protected password and storing the decrypted key data into the volatile storage unit; and operating the password instruction according to the motion state and destroying the key data of the plain password.
Further, the control unit generates a data stream through a hash function by using the storage protection information, decrypts the protected password key data through an exclusive-or mode, acquires the clear password key data, and destroys the storage protection information.
Further, the control unit detects the motion state and the relative position change of the airborne/missile-borne platform in real time through the acceleration sensor, and if the relative position change of the equipment is detected to exceed a set threshold value, the equipment is in a task execution stage and runs a password instruction; the acceleration sensor detects that the airborne/missile-borne platform is in a static state, if the static state holding time exceeds a set threshold value, the encryption equipment judges that the task is finished, and key data of the plain-state password stored in the volatile storage unit are destroyed.
Further, the key data of the plain-state password stored in the volatile storage unit is automatically destroyed when the encryption equipment is powered off.
The invention also provides a password anti-runaway method based on motion state perception, in a task preparation stage of the airborne/missile-borne platform, storage protection information is loaded into encryption equipment, the encryption equipment decrypts the protected password key data CCS and then loads the decrypted data into a volatile storage unit to operate, encryption protection is provided for the communication service of the airborne/missile-borne platform in a task execution stage, and when the encryption equipment detects that the airborne/missile-borne platform is converted from the flight state in the task execution stage to the static state at the end of the task, the clear password key data of the volatile storage unit in the equipment is destroyed.
Further, the specific process of the password runaway prevention method is as follows:
step 1, an encryption device reads storage protection information in a protection medium;
step 2, the encryption equipment decrypts the key data of the protected password by using the storage protection information to obtain the key data of the plain password;
step 3, loading the key data of the plain password into a volatile storage space of the equipment, and destroying the storage protection information at the same time;
step 4, the encryption equipment runs a password instruction; by detecting the motion state and the relative position change of the airborne/missile-borne platform, if the relative position change of the equipment is detected to exceed a set threshold value, the encryption equipment judges that the equipment is in a task execution stage;
step 5, the encryption equipment detects that the airborne/missile-borne platform is in a static state, if the static state holding time exceeds a set threshold value, the encryption equipment judges that the airborne/missile-borne platform is in a task ending stage, and key data of the plain-state password stored in the encryption equipment are destroyed;
furthermore, an acceleration sensor is adopted to detect the motion state of the airborne/missile-borne platform, so that the task stage is judged.
Further, the decryption process of step 2 is: and generating a data stream by using the storage protection information through a hash function, decrypting the key data of the protected password in an exclusive OR mode to obtain the key data of the plain password, and destroying the storage protection information.
Compared with the prior art, the beneficial effects of adopting the technical scheme are as follows:
1) the nonvolatile memory in the encryption equipment only stores the key data CCS of the protected password and does not store the key data PCS of the plain password, so that the daily safety management of the equipment is facilitated;
2) the encryption equipment automatically senses the switching condition of the weapon platform at the task stage through a sensor and automatically destroys the key data PCS of the internal plain-state password; if the encryption equipment is powered off, the clear-state password key data PCS stored in the volatile memory is automatically destroyed, and the risk of password key data leakage caused by the fact that online management cannot be conducted after the encryption equipment is out of control is avoided.
Drawings
Fig. 1 is a schematic diagram of a cryptosystem for resisting runaway based on motion state perception, which is provided by the invention.
Fig. 2 is a flow chart of a password runaway prevention method based on motion state perception, which is provided by the invention.
FIG. 3 is a diagram illustrating encryption of cryptographic resources according to an embodiment of the invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings.
The problems to be solved by the invention are as follows: how the encryption equipment utilizes the task characteristics of the weapon platform to sense the change of the motion state, and automatically destroys all the internal clear-state password key data PCS to resist the safety risk caused by the out-of-control equipment.
Example 1
As shown in fig. 1, the invention provides a password runaway prevention system based on motion state sensing, which comprises an encryption device carried on an airborne/missile-borne platform, wherein the encryption device is composed of an encryption device host and a protection medium, and the encryption device host comprises a control unit, an acceleration sensor, a nonvolatile storage unit and a volatile storage unit; the protection medium is used for storing storage protection information; the nonvolatile storage unit is used for storing key data of the protected password; the protection medium stores storage protection information; the volatile storage unit is used for storing key data of the plain state password; the acceleration sensor is used for acquiring a motion state; the control unit is used for decrypting the key data of the protected password and storing the decrypted key data into the volatile storage unit; and operating the password instruction according to the motion state and destroying the key data of the plain password. Before the encryption equipment works, the storage protection information SK in the protection medium must be read, and then the encryption equipment can normally work and provide encryption service.
As shown in fig. 3, the protected cipher key data stored in the nonvolatile memory unit is the result of xor protection on the plain cipher key data by using the data stream generated by the hash function using the storage protection information.
During decryption, the control unit generates data stream through a hash function by using the storage protection information, decrypts the protected password key data through an exclusive-or mode, acquires the clear password key data, and destroys the storage protection information.
The control unit detects the motion state and the relative position change of the airborne/missile-borne platform in real time through the acceleration sensor, and if the relative position change of the equipment is detected to exceed a set threshold value, the equipment is in a task execution stage and runs a password instruction; the acceleration sensor detects that the airborne/missile-borne platform is in a static state, if the static state holding time exceeds a set threshold value, the encryption equipment judges that the task is finished, and key data of the plain-state password stored in the volatile storage unit are destroyed.
If the encryption equipment is powered off, the clear-state password key data PCS stored in the volatile memory is automatically destroyed, and the risk of password key data leakage caused by the fact that online management cannot be conducted after the encryption equipment is out of control is avoided.
Example 2
As shown in fig. 2, the invention further provides a password runaway prevention method based on motion state perception, in a task preparation stage of an airborne/missile-borne platform, storage protection information is loaded into an encryption device, the encryption device decrypts critical data CCS of a protected password and loads the decrypted data CCS into a volatile storage unit to operate, encryption protection is provided for communication services of the airborne/missile-borne platform in a task execution stage, and when the encryption device detects that the airborne/missile-borne platform is converted from a flight state in the task execution stage to a static state at the end of a task, clear password critical data of the volatile storage unit in the device are destroyed. In this embodiment, an acceleration sensor is used to detect the motion state of the airborne/missile-borne platform, so as to determine the task stage.
Specifically, the password runaway prevention method comprises the following specific processes:
step 1, an encryption device reads storage protection information in a protection medium;
step 2, the encryption equipment decrypts the key data of the protected password by using the storage protection information to obtain the key data of the plain password;
step 3, loading the key data of the plain password into a volatile storage space of the equipment, and destroying the storage protection information at the same time;
step 4, the encryption equipment runs a password instruction; by detecting the motion state and the relative position change of the airborne/missile-borne platform, if the relative position change of the equipment is detected to exceed a set threshold value, the encryption equipment judges that the equipment is in a task execution stage;
step 5, the encryption equipment detects that the airborne/missile-borne platform is in a static state, if the static state holding time exceeds a set threshold value, the encryption equipment judges that the platform is in a task ending stage (including normal ending and abnormal ending), and key data of the internal stored plain-state password are destroyed;
the decryption process of the step 2 is as follows: and generating a data stream by using the storage protection information through a hash function, decrypting the key data of the protected password in an exclusive OR mode to obtain the key data of the plain password, and destroying the storage protection information.
The technical scheme adopted by the invention has the beneficial effects that:
1) the nonvolatile memory in the encryption equipment only stores the key data CCS of the protected password and does not store the key data PCS of the plain password, so that the daily safety management of the equipment is facilitated;
2) the encryption equipment automatically senses the switching condition of the weapon platform at the task stage through a sensor and automatically destroys the key data PCS of the internal plain-state password; if the encryption equipment is powered off, the clear-state password key data PCS stored in the volatile memory is automatically destroyed, and the risk of password key data leakage caused by the fact that online management cannot be conducted after the encryption equipment is out of control is avoided.
The invention is not limited to the foregoing embodiments. The invention extends to any novel feature or any novel combination of features disclosed in this specification and any novel method or process steps or any novel combination of features disclosed. Those skilled in the art to which the invention pertains will appreciate that insubstantial changes or modifications can be made without departing from the spirit of the invention as defined by the appended claims.
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.