CN-113779518-B - Equipment encryption method and device, terminal equipment and storage medium
Abstract
The application is suitable for the technical field of encryption and provides a device encryption method, a device, terminal equipment and a storage medium. The embodiment of the application acquires the encryption instruction, generates the encryption control signal according to the encryption instruction, and controls the first switching device to be closed according to the encryption control signal, wherein the first switching device is used for controlling the power supply to supply power to the interaction equipment, so that the information security of the terminal equipment is improved.
Inventors
- CHEN XUN
Assignees
- 中国长城科技集团股份有限公司
- 中国长城科技集团股份有限公司
Dates
- Publication Date
- 20260421
- Application Date
- 20210830
- Priority Date
- 20210830
Claims (10)
- 1. A method of encrypting a device, comprising: Acquiring an encryption instruction, verifying the encryption instruction to judge whether the encryption instruction and the identity identification information of a current operator have authority, and generating an encryption control signal according to the encryption instruction after the authority is determined, wherein the encryption instruction acquires a key signal generated by user operation by terminal equipment, detects the key signal, and is generated when the key signal and the current state of the terminal equipment are detected to judge that preset encryption triggering conditions are met, the current state is a normal use state, namely a non-screen locking state and a screen locking state, preset encryption triggering conditions of key signals corresponding to different current states are different, the key pressing mode of the preset encryption triggering conditions of the key signals comprises the preset times of pressing of encryption keys, the preset time of pressing of the encryption keys, the sequence of the encryption keys when at least two encryption keys exist or simultaneous pressing of the encryption keys, and the identity identification information comprises fingerprints, faces and passwords; and controlling the first switching device to be closed according to the encryption control signal, wherein the first switching device is used for controlling a power supply to supply power to the interaction equipment.
- 2. The device encryption method of claim 1, wherein the interactive device comprises an input device and a data transmission device.
- 3. The apparatus encryption method according to claim 1, characterized by comprising, before acquiring the encryption instruction: And acquiring a key signal, and generating an encryption instruction when the key signal is detected to meet a preset encryption triggering condition.
- 4. The device encryption method of claim 3, wherein after detecting that the key signal satisfies a preset encryption trigger condition, comprising: And acquiring input information, and generating a decryption triggering condition according to the input information.
- 5. The apparatus encryption method according to any one of claims 1 to 4, comprising, after controlling the switching device to be turned off according to the encryption control signal: Obtaining a decryption instruction, and generating a decryption control signal according to the decryption instruction; The second switching device is controlled to be started according to the decryption control signal, and the second switching device is used for controlling a power supply to supply power to the identity detection equipment; and acquiring the identity information acquired by the identity detection equipment, and controlling the first switching device to be started when the identity information accords with a preset decryption condition.
- 6. The device encryption method of claim 5, wherein the identity detection device comprises a camera, a keyboard, a fingerprint entry device.
- 7. The apparatus encryption method according to claim 5, comprising, before acquiring the decryption instruction: acquiring a current state and a key signal, and generating a decryption instruction when the current state and the key signal are detected to meet a preset decryption trigger condition.
- 8.A device encryption apparatus, comprising: The system comprises an acquisition module, a verification module and a control module, wherein the acquisition module is used for acquiring an encryption instruction, verifying the encryption instruction to judge whether the encryption instruction and the identity identification information of a current operator have authority, and generating an encryption control signal according to the encryption instruction after the authority is determined, wherein the encryption instruction acquires a key signal generated by user operation by a terminal device, detects the key signal, and is generated when the key signal and the current state of the terminal device are detected to judge that preset encryption triggering conditions are met, the current state is a normal use state, namely a non-screen locking state and a screen locking state, the preset encryption triggering conditions of the key signals corresponding to different current states are different, the key pressing mode of the preset encryption triggering conditions of the key signal comprises the preset times of pressing of an encryption key, the preset time of pressing of the encryption key, the sequence or simultaneous pressing of the encryption key when at least two encryption keys exist, and the identity identification information comprises fingerprints, a human face and a password; And the control module is used for controlling the first switching device to be closed according to the encryption control signal, and the first switching device is used for controlling the power supply to supply power to the interaction equipment.
- 9. Terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of a device encryption method according to any one of claims 1 to 7 when the computer program is executed.
- 10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of a device encryption method according to any one of claims 1 to 7.
Description
Equipment encryption method and device, terminal equipment and storage medium Technical Field The present application belongs to the field of encryption technology, and in particular, relates to an apparatus encryption method, an apparatus, a terminal device, and a storage medium. Background With the development of society, terminal devices such as mobile phones and computers are more and more common in life of people, and information security problems aiming at the terminal devices are more and more important for people, but the existing terminal devices are in an encrypted state, but are easy to crack the encrypted terminal devices by people through connecting external devices, so that the information security of the terminal devices is lower. Disclosure of Invention The embodiment of the application provides a device encryption method, a device, terminal equipment and a storage medium, which can solve the problem of low information security of the terminal equipment. In a first aspect, an embodiment of the present application provides an apparatus encryption method, including: acquiring an encryption instruction, and generating an encryption control signal according to the encryption instruction; And controlling the first switching device to be closed according to the encryption control signal, wherein the first switching device is used for controlling a power supply to supply power to the interaction equipment. In one embodiment, the interactive device includes an input device and a data transmission device. In one embodiment, prior to obtaining the encrypted instruction, comprising: and acquiring a key signal, and generating an encryption instruction when the key signal is detected to meet a preset encryption triggering condition. In one embodiment, after detecting that the key signal meets a preset encryption triggering condition, the method includes: And acquiring input information, and generating a decryption triggering condition according to the input information. In one embodiment, after controlling the switching device to be turned off according to the encryption control signal, the method includes: obtaining a decryption instruction, and generating a decryption control signal according to the decryption instruction; controlling a second switching device to be turned on according to the decryption control signal, wherein the second switching device is used for controlling a power supply to supply power to the identity detection equipment; And acquiring the identity information acquired by the identity detection equipment, and controlling the first switching device to be turned on when the identity information accords with a preset decryption condition. In one embodiment, the identity detection device comprises a camera, a keyboard and a fingerprint input device. In one embodiment, a current state and a key signal are acquired, and when the current state and the key signal are detected to meet a preset decryption trigger condition, a decryption instruction is generated. In a second aspect, an embodiment of the present application provides an apparatus encryption device, including: The acquisition module is used for acquiring the encryption instruction and generating an encryption control signal according to the encryption instruction; And the control module is used for controlling the first switching device to be closed according to the encryption control signal, and the first switching device is used for controlling the power supply to supply power to the interaction equipment. In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements steps of any one of the device encryption methods when the processor executes the computer program. In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the steps of any one of the device encryption methods described above. In a fifth aspect, an embodiment of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to perform any of the device encryption methods of the first aspect described above. In the embodiment of the application, the encryption instruction is acquired to know that encryption operation is needed currently, so that an encryption control signal is generated according to the encryption instruction, and the first switching device is controlled to be closed according to the encryption control signal, wherein the first switching device is used for controlling the power supply to supply power to the interaction equipment. The starting state of the interactive equipment which can interact with the terminal equipment is controlled to be encrypted in a physical isolation mod