A device encryption method and apparatus, a terminal device, and a storage medium

By generating an encrypted control signal to shut down the power of the interactive device, combined with authentication, the problem of low information security of terminal devices is solved, and more reliable encryption protection is achieved.

CN113779518BActive Publication Date: 2026-04-21CHINA GREATWALL TECH GRP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA GREATWALL TECH GRP CO LTD
Filing Date
2021-08-30
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

Even when existing terminal devices are encrypted, they are easily cracked, resulting in low information security.

Method used

By acquiring encryption instructions and generating encryption control signals, the switching devices are controlled to turn off the power supply to the interactive device, and the power supply is restored after successful authentication, thus achieving physical isolation encryption.

Benefits of technology

It enhances the information security of terminal devices, reduces the instability of software encryption and the impact of viruses, and improves the reliability of encryption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113779518B_ABST
    Figure CN113779518B_ABST
Patent Text Reader

Abstract

The application is suitable for the field of encryption technology, and provides a device encryption method and device, a terminal device and a storage medium. In the embodiment of the application, an encryption instruction is acquired, an encryption control signal is generated according to the encryption instruction, and a first switching device is controlled to be closed according to the encryption control signal, so that the first switching device is used to control a power supply to supply power to an interactive device, thereby improving the information security of the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of encryption technology, and in particular relates to a device encryption method, apparatus, terminal device and storage medium. Background Technology

[0002] With the development of society, mobile phones, computers and other terminal devices are becoming more and more common in people's lives. As a result, the information security of terminal devices is receiving more and more attention. Even if the existing terminal devices are encrypted, they are still easily cracked by connecting to external devices, resulting in low information security of terminal devices. Summary of the Invention

[0003] This application provides a device encryption method, apparatus, terminal device, and storage medium, which can solve the problem of low information security of terminal devices.

[0004] In a first aspect, embodiments of this application provide a device encryption method, including:

[0005] Obtain the encryption instruction and generate an encryption control signal based on the encryption instruction;

[0006] The first switching device is controlled to close according to the above-mentioned encryption control signal. The first switching device is used to control the power supply to the interactive device.

[0007] In one embodiment, the interactive device includes an input device and a data transmission device.

[0008] In one embodiment, prior to obtaining the encryption instructions, the following is included:

[0009] Acquire key signals, and when the key signals meet the preset encryption trigger conditions, generate encryption instructions.

[0010] In one embodiment, after detecting that the above-mentioned key signal meets the preset encryption trigger condition, the following is included:

[0011] Obtain the input information and generate the decryption trigger condition based on the input information.

[0012] In one embodiment, after controlling the switching device to turn off according to the aforementioned encryption control signal, the following steps are included:

[0013] Obtain the decryption command and generate a decryption control signal based on the decryption command.

[0014] The second switching device is turned on according to the above-mentioned decryption control signal. The second switching device is used to control the power supply to the identity detection device.

[0015] The system acquires the identity information obtained through the aforementioned identity detection device. When the identity information meets the preset decryption conditions, it controls the aforementioned first switching device to turn on.

[0016] In one embodiment, the identity verification device includes a camera, a keyboard, and a fingerprint recognition device.

[0017] In one embodiment, the current state and key signal are acquired, and when the current state and key signal are detected to meet the preset decryption triggering conditions, a decryption command is generated.

[0018] Secondly, embodiments of this application provide a device encryption apparatus, comprising:

[0019] The acquisition module is used to acquire encryption instructions and generate encryption control signals based on the encryption instructions.

[0020] The control module is used to control the first switching device to turn off according to the above-mentioned encryption control signal. The first switching device is used to control the power supply to supply power to the interactive device.

[0021] Thirdly, embodiments of this application provide a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of any of the aforementioned device encryption methods.

[0022] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the aforementioned device encryption methods.

[0023] Fifthly, embodiments of this application provide a computer program product that, when run on a terminal device, causes the terminal device to execute any of the device encryption methods described in the first aspect.

[0024] In this embodiment, an encryption instruction is obtained to determine that an encryption operation is required. An encryption control signal is then generated based on the encryption instruction, and the first switching device is controlled to turn off according to the encryption control signal. The first switching device controls the power supply to the interactive device. By controlling the activation state of the interactive device that can interact with the terminal device, encryption is performed through physical isolation, thereby improving the information security of the terminal device. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is a schematic diagram of the first type of device encryption method provided in the embodiments of this application;

[0027] Figure 2 This is a schematic diagram of the second process of the device encryption method provided in the embodiments of this application;

[0028] Figure 3 This is a schematic diagram of the device encryption apparatus provided in the embodiments of this application;

[0029] Figure 4 This is a schematic diagram of the structure of the terminal device provided in the embodiments of this application. Detailed Implementation

[0030] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0031] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0032] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0033] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0034] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0035] Figure 1 The diagram shown is a flowchart of a device encryption method according to an embodiment of this application. The execution subject of this method can be a terminal device, such as... Figure 1 As shown, the above-mentioned device encryption method may include the following steps:

[0036] Step S101: Obtain encryption instructions and generate encryption control signals based on the encryption instructions.

[0037] In this embodiment, after receiving the encryption command, the control device in the terminal device generates a corresponding control signal. The encryption control signal is a control signal generated by the control device for the terminal device that needs to be encrypted, so as to facilitate encryption according to the control signal.

[0038] Optionally, the above-mentioned control device can be an embedded controller (EC) integrated on the motherboard of the terminal device.

[0039] In one embodiment, before step S101, the process may include: the terminal device acquiring a key signal generated by a user operation and detecting the key signal; when the detected key signal meets a preset encryption trigger condition, generating an encryption command to enable the control device to generate an encryption control signal. For example, a preset encryption key is used; when the user presses the encryption key, a key signal is generated; if the detected key signal is located at the position of the preset encryption key, it indicates that the detected key signal meets the preset encryption trigger condition. The aforementioned encryption key includes, but is not limited to, a power button, at least one key at a preset position, etc.

[0040] Furthermore, the encryption keys can be further configured with conditions to obtain the aforementioned encryption trigger conditions. The key press methods for setting the encryption trigger conditions include, but are not limited to, the encryption key being pressed a preset number of times, the encryption key being pressed for a preset duration, the order in which the encryption keys are pressed when at least two encryption keys exist, or simultaneous pressing of the encryption keys. Setting the encryption trigger conditions can also be any combination of at least two of the aforementioned key press methods. For example, pressing the A key twice, then pressing the B key twice, or pressing the Ctrl+M key combination simultaneously can trigger the encryption trigger conditions.

[0041] In one embodiment, after detecting that the key signal meets the preset encryption trigger condition, the process includes: acquiring input information and generating a decryption trigger condition based on the input information. That is, while performing the encryption operation, the decryption trigger condition required for decryption is confirmed. Thus, when the signal acquired by the control device meets the decryption trigger condition, the relevant decryption operation can be performed, which means activating the second switching device for identity verification. In this embodiment, the input information may also include identity information, which is the corresponding decryption condition. That is, when the identity information of the user is determined to be the identity information in the decryption condition through identity verification, the first switching device is activated.

[0042] In one embodiment, after obtaining the encryption instruction, the encryption instruction can be verified to determine whether the current operator has the necessary permissions. Once permissions are confirmed, an encryption control signal is generated based on the encryption instruction, thereby improving the security of the encryption control. The identity information of the current operator can be detected by an identity detection device.

[0043] This is a specific example, not a limitation. The default encryption trigger condition is pressing the power button twice, and the identity recognition method is fingerprint recognition. When encryption is required, the user presses the power button twice, and a prompt to enter a fingerprint interface pops up. After the user enters their fingerprint through the fingerprint enrollment device, the control device obtains the entered fingerprint through the fingerprint enrollment device and performs identity verification. When the identity verification is successful, an encryption control signal is generated according to the encryption command, thereby disabling the interactive device.

[0044] In one embodiment, the encryption triggering conditions can be determined based on the button signal and the current state of the terminal device, and then an encryption control signal can be generated according to the encryption instruction, thereby improving the security of encryption control.

[0045] This is a specific example, not a limitation. When the terminal device is in normal use (i.e., not locked), pressing the Ctrl+M key combination triggers encryption. The authentication method is password verification. Taking a PC as an example, when a user needs encryption while using the PC normally, pressing Ctrl+M brings up a password input screen. After entering the password, the control device retrieves the fingerprint using a fingerprint scanner and performs authentication. Upon successful authentication, an encryption control signal is generated based on the encryption command, thereby disabling the interactive device.

[0046] This is a specific example, not a limitation. When the terminal device is currently in a locked state, pressing the power button twice triggers encryption. The authentication method is fingerprint recognition. Taking a laptop as an example, when a user is transferring data from a USB drive or downloading files online while the laptop is locked and encryption is required, pressing the power button twice brings up a fingerprint registration interface. After the user registers their fingerprint using a fingerprint scanner, the control device retrieves the registered fingerprint and performs authentication. Upon successful authentication, an encryption control signal is generated based on the encryption command, thereby disabling the interactive device—specifically, disabling the data transfer device required for the aforementioned operation.

[0047] Step S102: Control the first switching device to turn off according to the encryption control signal. The first switching device is used to control the power supply to the interactive device.

[0048] In this embodiment, the control device controls the first switching device to close according to the encryption control signal it generates, thereby disconnecting the power supply to the interactive device and causing the interactive device to stop operating. It can be understood that this embodiment focuses on pure firmware, directly achieving encryption by cutting off the power to the interactive device via the first switching device, thus disabling the terminal device. This improves encryption reliability by physically isolating the input / output of the terminal device, reducing the instability of software encryption, and preventing encryption failure due to malware or tampering, thereby enhancing the overall information security of the terminal device.

[0049] In one embodiment, the interactive device includes, but is not limited to, input devices and data transmission devices. The input devices include, but are not limited to, keyboards, mice, and touchscreens; the data transmission devices include, but are not limited to, USB interfaces, Type-C interfaces, and network interfaces (RJ45 interfaces).

[0050] In one embodiment, such as Figure 2 As shown, after step S102, the following steps are included:

[0051] Step S201: Obtain the decryption command and generate a decryption control signal based on the decryption command;

[0052] In this embodiment, after receiving the decryption command, the control device in the terminal device generates a corresponding control signal. The decryption control signal is a control signal generated by the control device for the terminal device that needs to be decrypted, so as to facilitate decryption according to the control signal.

[0053] In one embodiment, before step S201, the process may include: the terminal device acquiring its current state and key signals generated by user operations; and generating a decryption command when the current state and key signals meet a preset decryption trigger condition, so that the control device can generate a decryption control signal. For example, if the current state is that the PC is unlocked and in an encrypted state, a preset decryption key is defined. When the user presses the decryption key, a key signal is generated. If the detected key signal is located at the preset decryption key position, it indicates that the detected key signal meets the preset decryption trigger condition. The current state includes, but is not limited to, encrypted state, decrypted state, locked state, and normal usage state; the decryption key includes, but is not limited to, a power button, or at least one key at a preset position.

[0054] Furthermore, the decryption keys can be further configured with conditions to obtain the aforementioned decryption trigger conditions. These conditions can be set via key presses, including but not limited to: a preset number of key presses, a preset duration of key presses, or the order or simultaneous pressing of the decryption keys when at least two keys exist. The decryption trigger conditions can also be any combination of at least two of the aforementioned key press methods. For example, pressing the A key twice, then pressing the B key twice, or pressing the Ctrl+M key combination simultaneously can trigger the decryption trigger conditions.

[0055] Step S202: Control the second switching device to turn on according to the decryption control signal. The second switching device is used to control the power supply to the identity detection device.

[0056] In this embodiment, the control device controls the second switching device to turn on according to the decryption control signal it generates, that is, to turn on the identity detection device for identity verification, so as to determine whether the current user is legitimate. It is understood that this embodiment starts with pure firmware, directly using the second switching device to turn on the identity detection device to achieve the identity verification of the current user, thereby determining whether the terminal device can be enabled, thus improving the reliability of decryption and enhancing the information security of the terminal device. The aforementioned identity detection device includes, but is not limited to, a camera, keyboard, and fingerprint recognition device. It is understood that the camera can be used for facial recognition to detect identity, the keyboard can be used for password verification, and the fingerprint recognition device can be used for fingerprint verification.

[0057] This is a specific example, not a limitation. The default decryption trigger condition is pressing the power button twice, and the identity recognition method is fingerprint recognition. When decryption is required, the user presses the power button twice to generate a decryption control signal, which then controls the second switch to turn on and pops up a prompt to register a fingerprint. After the user registers their fingerprint through the fingerprint registration device, the control device obtains the registered fingerprint through the fingerprint registration device and performs identity verification. When the identity verification is successful, it controls the first switch to turn on, thereby disabling the interactive device.

[0058] Step S203: Obtain the identity information obtained through the identity detection device. When the identity information meets the preset decryption conditions, control the first switching device to turn on.

[0059] In this embodiment, when authentication is successful, it indicates that the current user is legitimate. The control device then controls the first switching device to turn on, thereby restoring power supply to the relevant interactive devices.

[0060] This is a specific example, not a limitation. When the terminal device is in normal use mode (unlocked), pressing the Ctrl+M key combination triggers decryption. The identity verification method is password authentication. Taking a PC as an example, when a user needs to decrypt while using the PC, they press Ctrl+M simultaneously. The control device generates a decryption control signal, which prompts for a password input interface. After the user enters the password, the control device retrieves the fingerprint using a fingerprint scanner and performs identity verification. When the identity information meets the preset decryption conditions, the first switch is activated, thus enabling the interactive device.

[0061] This is a specific example, not a limitation. When the terminal device is currently in a locked state, pressing the power button twice triggers the decryption process. The identity verification method is fingerprint recognition. Taking a laptop as an example, when a user needs to transfer data via an interface and requires decryption, the user presses the power button twice. The control device generates a decryption control signal, which prompts the user to enter their fingerprint. After the user enters their fingerprint using the fingerprint scanner, the control device retrieves the entered fingerprint and performs identity verification. When the identity information meets the preset decryption conditions, the first switch is activated, thus enabling the interactive device and activating the corresponding data transmission interface.

[0062] In this embodiment, an encryption instruction is obtained to determine that an encryption operation is required. An encryption control signal is then generated based on the encryption instruction, and the first switching device is controlled to turn off according to the encryption control signal. The first switching device controls the power supply to the interactive device. By controlling the activation state of the interactive device that can interact with the terminal device, encryption is performed through physical isolation, thereby improving the information security of the terminal device.

[0063] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0064] Corresponding to the device encryption method described above, Figure 3 The diagram shown is a structural schematic of a device encryption apparatus according to an embodiment of this application. Figure 3 As shown, the above-mentioned device encryption device may include:

[0065] The acquisition module 301 is used to acquire encryption instructions and generate encryption control signals based on the encryption instructions.

[0066] The control module 302 is used to control the first switching device to turn off according to the encryption control signal. The first switching device is used to control the power supply to the interactive device.

[0067] In one embodiment, the interactive device may include an input device and a data transmission device.

[0068] In one embodiment, the above-mentioned device encryption device may further include:

[0069] The first instruction generation module is used to acquire key signals and generate encryption instructions when the key signal meets the preset encryption trigger conditions.

[0070] In one embodiment, the above-mentioned device encryption device may further include:

[0071] The condition generation module is used to obtain input information and generate decryption trigger conditions based on the input information.

[0072] In one embodiment, the above-mentioned device encryption device may further include:

[0073] The signal generation module is used to acquire decryption instructions and generate decryption control signals based on the decryption instructions.

[0074] The power supply control module is used to control the second switching device to turn on according to the decryption control signal. The second switching device is used to control the power supply to the identity detection device.

[0075] The information acquisition module is used to acquire identity information obtained through the identity detection device. When the identity information meets the preset decryption conditions, it controls the first switching device to turn on.

[0076] In one embodiment, the identity verification device includes a camera, a keyboard, and a fingerprint recognition device.

[0077] In one embodiment, the above-mentioned device encryption device may further include:

[0078] The second instruction generation module is used to obtain the current state and key signals. When the current state and key signals are detected to meet the preset decryption trigger conditions, a decryption instruction is generated.

[0079] In this embodiment, an encryption instruction is obtained to determine that an encryption operation is required. An encryption control signal is then generated based on the encryption instruction, and the first switching device is controlled to turn off according to the encryption control signal. The first switching device controls the power supply to the interactive device. By controlling the activation state of the interactive device that can interact with the terminal device, encryption is performed through physical isolation, thereby improving the information security of the terminal device.

[0080] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described device and module can be referred to the corresponding process in the foregoing system embodiments and method embodiments, and will not be repeated here.

[0081] Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0082] like Figure 4 As shown, the terminal device 4 in this embodiment includes: at least one processor 400 ( Figure 4 (Only one is shown in the image), a memory 401 connected to the processor 400, and a computer program 402 stored in the memory 401 and executable on at least one processor 400, such as a device encryption program. When the processor 400 executes the computer program 402, it implements the steps in the various device encryption method embodiments described above, for example... Figure 1 The steps S101 to S102 are shown. Alternatively, when the processor 400 executes the computer program 402, it implements the functions of each module in the above-described device embodiments, for example... Figure 3 The functions of modules 301 to 302 are shown.

[0083] For example, the computer program 402 described above can be divided into one or more modules. One or more of these modules are stored in the memory 401 and executed by the processor 400 to complete this application. The one or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program 402 in the terminal device 4. For example, the computer program 402 can be divided into an acquisition module 301 and a control module 302, with the specific functions of each module as follows:

[0084] The acquisition module 301 is used to acquire encryption instructions and generate encryption control signals based on the encryption instructions.

[0085] The control module 302 is used to control the first switching device to turn off according to the encryption control signal. The first switching device is used to control the power supply to the interactive device.

[0086] The aforementioned terminal device 4 may include, but is not limited to, a processor 400 and a memory 401. Those skilled in the art will understand that... Figure 4 This is merely an example of terminal device 4 and does not constitute a limitation on terminal device 4. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, it may also include input / output devices, network access devices, buses, etc.

[0087] The processor 400 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0088] In some embodiments, the aforementioned memory 401 may be an internal storage unit of the terminal device 4, such as a hard disk or memory of the terminal device 4. In other embodiments, the aforementioned memory 401 may be an external storage device of the terminal device 4, such as a plug-in hard disk, smart media card (SMC), secure digital card (SD), flash card, etc., equipped on the terminal device 4. Furthermore, the aforementioned memory 401 may include both internal storage units and external storage devices of the terminal device 4. The aforementioned memory 401 is used to store operating systems, applications, boot loaders, data, and other programs, such as the program code of the aforementioned computer programs. The aforementioned memory 401 may also be used to temporarily store data that has been output or will be output.

[0089] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the above device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0090] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0091] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0092] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0093] The units described above as separate components may or may not be physically separate. The 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 the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0094] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0095] If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0096] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A device encryption method, characterized by, include: The system acquires an encryption command and verifies it to determine whether the encryption command and the current operator's identity information have the necessary permissions. If permissions are confirmed, an encryption control signal is generated based on the encryption command. The encryption command is generated when the terminal device acquires key signals generated by the user's operation and detects these signals. The encryption control signal is generated when the detected key signal and the current state of the terminal device meet preset encryption trigger conditions. The current state includes normal usage states (unlocked and locked screen states). Different current states correspond to different preset encryption trigger conditions for the key signals. These preset encryption trigger conditions include the key being pressed a preset number of times, the key being pressed for a preset duration, and the sequential or simultaneous pressing of the encryption keys when at least two encryption keys exist. The identity information includes fingerprint, face, and password. The encryption control signal controls the first switching device to turn off, and the first switching device is used to control the power supply to the interactive device.

2. The device encryption method of claim 1, wherein, The interactive device includes an input device and a data transmission device.

3. The device encryption method of claim 1, wherein, Before obtaining the encryption instructions, including: Acquire key signals, and when the key signals meet preset encryption trigger conditions, generate encryption instructions.

4. The device encryption method of claim 3, wherein, After detecting that the key signal meets the preset encryption trigger conditions, the following is included: Obtain input information and generate decryption trigger conditions based on the input information.

5. The device encryption method according to any one of claims 1 to 4, wherein, After controlling the switching device to turn off according to the encryption control signal, the following is included: Obtain the decryption command, and generate a decryption control signal based on the decryption command; The second switching device is turned on according to the decryption control signal. The second switching device is used to control the power supply to the identity detection device. The system acquires identity information obtained through the identity detection device, and when the identity information meets preset decryption conditions, it controls the first switching device to turn on.

6. The device encryption method of claim 5, wherein, The identity verification device includes a camera, a keyboard, and a fingerprint recognition device.

7. The device encryption method of claim 5, wherein, Before obtaining the decryption command, the following is included: The system acquires the current state and key signals. When the current state and key signals meet the preset decryption trigger conditions, a decryption command is generated.

8. An apparatus encryption device, comprising: include: The acquisition module is used to acquire encryption instructions, verify the encryption instructions to determine whether the encryption instructions and the current operator's identity information have authorization, and generate an encryption control signal according to the encryption instructions after determining that authorization has authorization. The encryption instructions are generated by the terminal device acquiring key signals generated by user operations and detecting the key signals. When the detected key signals and the current state of the terminal device meet the preset encryption trigger conditions, the encryption control signal is generated. The current state is the normal use state, i.e., the unlocked state and the locked state. The preset encryption trigger conditions for the key signals are different for different current states. The key press method of the preset encryption trigger conditions for the key signals includes the number of times the encryption key is pressed, the preset duration of the encryption key being pressed, and the sequential or simultaneous pressing of the encryption keys when there are at least two encryption keys. The identity information includes fingerprint, face, and password. A control module is configured to control a first switch device to be closed according to the encrypted control signal, and the first switch device is configured to control the power supply to supply power to the interactive device.

9. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The computer program is executed by the processor to implement the steps of the device encryption method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the device encryption method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Device and method for realizing network locking of mobile terminal

    CN102340768A

  • Method for improving the information security of a terminal

    CN109376511A

  • Encryption method and device of storage equipment and storage medium

    CN111027077A