Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar modules or modules having the same or similar functionality throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a touch device unlocking method and apparatus according to an embodiment of the present invention with reference to the drawings.
Fig. 1 is a flowchart of a touch device unlocking method according to an embodiment of the present invention.
As shown in fig. 1, the touch device unlocking method may include:
and S1, receiving an unlocking operation of the touch device by the user.
Wherein the unlocking operation may include inputting unlocking information.
In the related art, the touch device is mainly encrypted through encryption software, and the encrypted information is stored in an operating system, so that the encryption software is easily bypassed through cracking, ROOT, flashing and the like, and an illegal user can normally operate the touch device.
In order to solve the above problem, in an embodiment of the present invention, a user may first enter encrypted information through an operating system, and store the encrypted information in a touch screen control chip. The encrypted information may be track information generated by a user sliding a touch screen, or may be a password. The password may be a number or a character such as a letter. The encrypted information is stored in an independent touch screen control chip, and even if an operating system of the touch equipment is cracked, an illegal user cannot touch the equipment to perform input operation, so that the available value of the touch equipment is reduced, and the personal information safety of the user is ensured.
When the user needs to unlock the touch device, the user may input unlocking information.
And S2, matching the unlocking information with the encryption information stored in the touch screen control chip.
After receiving an unlocking operation of the touch device by a user, the unlocking information can be matched with the encrypted information stored in the touch screen control chip. For example: if the encrypted information is track information generated by the sliding touch screen, the corresponding unlocking information should also be track information generated by the sliding touch screen.
And S3, when the unlocking information is matched with the encryption information, controlling the touch screen control chip to unlock the touch device.
Specifically, if the unlocking information input by the user is matched and consistent with the encryption information stored in the touch screen control chip, the touch screen control chip determines that the unlocking of the touch equipment is successful. After the unlocking is successful, the user can control the touch device, so that the main control chip of the touch device can execute the corresponding instruction.
In addition, as shown in fig. 2, the touch device unlocking method according to the embodiment of the present invention may further include step S4 and step S5.
And S4, controlling the touch screen control chip to report the preset information to the main control chip in the first preset time.
Specifically, after the encrypted information is entered into the touch screen control chip and the corresponding encryption function is started, the touch screen control chip may report the preset information to the main control chip of the touch device at a first preset time, for example, every 1 second. And the response information returned to the touch screen control chip by the main control chip corresponds to the preset information. The preset information and the response information are mainly used for judging whether an operating system of the touch device is in an abnormal state or not. If the touch screen control chip receives the response information returned by the main control chip, the operating system is in a normal state; if the response information is not received, the operating system is in an abnormal state. The abnormal state may be caused by interruption of communication signals between the main control chip and the touch screen control chip and connection failure, or may be caused by cracking or flashing of an operating system.
And S5, if the touch screen control chip does not receive the response information returned by the main control chip within the second preset time, determining that the operating system is in an abnormal state.
Specifically, if the touch screen control chip does not receive response information corresponding to the preset information, which is returned by the main control chip of the touch device, within a second preset time, for example, within 5 minutes, it is determined that the operating system of the touch device is in an abnormal state, and a response cannot be generated to the touch screen control chip. For example: the touch screen control chip sends preset information to the main control chip every 1 second, and if the operating system is in a normal state, the main control chip returns a response message to the touch screen control chip according to each preset information. Therefore, if the touch screen control chip does not receive the response information for 5 minutes, it indicates that the operating system may be cracked or the flash is performed, or the communication signal between the main control chip and the touch screen control chip is interrupted, the connection between the main control chip and the touch screen control chip fails, and the like, and the operating system is in an abnormal state.
In addition, as shown in fig. 3, the touch device unlocking method according to the embodiment of the present invention may further include step S6.
And S6, when the operating system of the touch device is in an abnormal state and the touch device is in a screen locking state, if the touch device is detected to receive an input operation, controlling the touch screen control chip to send interference information to the main control chip so that the main control chip cannot execute an instruction corresponding to the input operation.
After the operating system is determined to be in an abnormal state, for example, under the condition that the operating system is possibly cracked, and the touch screen control chip does not unlock the touch device, if it is detected that a user performs an input operation on the touch device at the moment, the touch screen control chip can be controlled to send interference information to the main control chip, so that the main control chip cannot execute an instruction corresponding to the input operation, and an illegal user can be effectively prevented from normally using the touch device.
The disturbance information may be other operation information that disturbs the input operation of the touch device, such as continuous key actuation information. The input operation may be an operation of inputting through an external command manner such as a mouse or a keyboard. That is, if the operating system is cracked, the illegal user can operate the touch device in a non-touch manner such as a mouse or a keyboard. Because the encrypted information is stored in the touch screen control chip, even if the operating system is cracked, the encrypted information cannot be bypassed, and the screen can be unlocked only by inputting the unlocking information corresponding to the encrypted information, so that the touch device is normally used. Therefore, the encrypted information is stored in the touch screen control chip, and the safety of the touch equipment is effectively improved.
It should be understood that the touch device may be an electronic device including a touch screen, such as a smart phone, a tablet computer, a personal computer with a touch screen, and the like.
Although the related art discloses a secure password input system and method based on a secure touch screen control chip, the main application scenario is electronic payment or electronic transaction. And the safe touch screen control chip is used for encrypting the received password input interface image sent by the system processor and sending the encrypted password to the display screen for display, converting the electric signal containing the position information generated by the touch screen into a real password, encrypting and storing the real password, and automatically decrypting and sending the password when the system processor sends a password reading command. Specifically, when the payment password is input, the secure touch screen control chip is used for encrypting the password input interface image, for example, the corresponding relation between key values of keys and key coordinate information is disturbed, so that the payment password is prevented from being intercepted by a malicious program. After the user inputs the correct password, the password is decrypted to generate a real password which is sent to the system, and finally the system completes the corresponding password verification operation, such as the password is successfully paid correctly. Therefore, the essence is different from the technical scheme of the invention.
According to the unlocking method of the touch equipment, the encrypted information is stored in the touch screen control chip, so that an illegal user can be effectively prevented from bypassing the system to encrypt and normally use the touch equipment, the personal information safety of the user is ensured, and the safety of the touch equipment is improved.
In order to achieve the purpose, the invention further provides an unlocking device of the touch equipment.
Fig. 4 is a first schematic structural diagram of an unlocking device for a touch device according to an embodiment of the present invention.
As shown in fig. 4, the touch device unlocking apparatus may include: a receiving module 110, a matching module 120 and a control module 130.
The receiving module 110 is configured to receive an unlocking operation of the touch device by a user.
Wherein the unlocking operation may include inputting unlocking information.
The matching module 120 is configured to match the unlocking information with the encryption information stored in the touch screen control chip.
After receiving an unlocking operation of the touch device by a user, the unlocking information can be matched with the encrypted information stored in the touch screen control chip. For example: if the encrypted information is track information generated by the sliding touch screen, the corresponding unlocking information should also be track information generated by the sliding touch screen.
The control module 130 is configured to control the touch screen control chip to unlock the touch device when the unlocking information matches the encryption information.
Specifically, if the unlocking information input by the user is matched and consistent with the encryption information stored in the touch screen control chip, the touch screen control chip determines that the unlocking of the touch equipment is successful. The control module 130 controls the touch screen control chip to unlock the touch device. After the unlocking is successful, the user can control the touch device, so that the main control chip of the touch device can execute the corresponding instruction.
In addition, as shown in fig. 5, the touch device unlocking apparatus according to the embodiment of the present invention may further include a saving module 140.
The storage module 140 is configured to enter the encrypted information through the operating system before matching the unlocking information with the encrypted information, and store the encrypted information in the touch screen control chip. In an embodiment of the present invention, a user may first enter the encrypted information through the operating system, and the saving module 140 may save the encrypted information to the touch screen control chip. The encrypted information may be track information generated by a user sliding a touch screen, or may be a password. The password may be a number or a character such as a letter. The encrypted information is stored in an independent touch screen control chip, and even if an operating system of the touch equipment is cracked, an illegal user cannot touch the equipment to perform input operation, so that the available value of the touch equipment is reduced, and the personal information safety of the user is ensured.
In addition, as shown in fig. 6, the unlocking apparatus for a touch device according to the embodiment of the present invention may further include a reporting module 150 and a determining module 160.
The reporting module 150 is configured to control the touch screen control chip to report the preset information to the main control chip at a first preset time. Specifically, after the encrypted information is entered into the touch screen control chip and the corresponding encryption function is turned on, the reporting module 150 may control the touch screen control chip to report the preset information to the main control chip of the touch device at a first preset time, for example, every 1 second. And the response information returned to the touch screen control chip by the main control chip corresponds to the preset information. The preset information and the response information are mainly used for judging whether an operating system of the touch device is in an abnormal state or not. If the touch screen control chip receives the response information returned by the main control chip, the operating system is in a normal state; if the response information is not received, the operating system is in an abnormal state. The abnormal state may be caused by interruption of communication signals between the main control chip and the touch screen control chip and connection failure, or may be caused by cracking or flashing of an operating system.
The determining module 160 is configured to determine that the operating system is in an abnormal state when the touch screen control chip does not receive the response information returned by the main control chip within the second preset time.
Specifically, if the touch screen control chip does not receive response information corresponding to the preset information, which is returned by the main control chip of the touch device, within a second preset time, for example, within 5 minutes, it is determined that the operating system of the touch device is in an abnormal state, and a response cannot be generated to the touch screen control chip. For example: the touch screen control chip sends preset information to the main control chip every 1 second, and if the operating system is in a normal state, the main control chip returns a response message to the touch screen control chip according to each preset information. Therefore, if the touch screen control chip does not receive the response information for 5 minutes, it indicates that the operating system may be cracked or the flash is performed, or the communication signal between the main control chip and the touch screen control chip is interrupted, the connection between the main control chip and the touch screen control chip fails, and the like, and the operating system is in an abnormal state.
In addition, as shown in fig. 7, the touch device unlocking apparatus according to the embodiment of the present invention may further include a transmitting module 170.
The sending module 170 is configured to, when the operating system of the touch device is in an abnormal state and the touch device is in a screen locking state, control the touch screen control chip to send interference information to the main control chip if it is detected that the touch device receives an input operation, so that the main control chip cannot execute an instruction corresponding to the input operation.
After the operating system is determined to be in an abnormal state, for example, under the condition that the operating system may be cracked, and the touch screen control chip does not unlock the touch device, if it is detected that a user performs an input operation on the touch device at this time, the sending module 170 may control the touch screen control chip to send interference information to the main control chip, so that the main control chip cannot execute an instruction corresponding to the input operation, and thus, an illegal user can be effectively prevented from normally using the touch device.
The disturbance information may be other operation information that disturbs the input operation of the touch device, such as continuous key actuation information. The input operation may be an operation of inputting through an external command manner such as a mouse or a keyboard. That is, if the operating system is cracked, the illegal user can operate the touch device in a non-touch manner such as a mouse or a keyboard. Because the encrypted information is stored in the touch screen control chip, even if the operating system is cracked, the encrypted information cannot be bypassed, and the screen can be unlocked only by inputting the unlocking information corresponding to the encrypted information, so that the touch device is normally used. Therefore, the encrypted information is stored in the touch screen control chip, and the safety of the touch equipment is effectively improved.
It should be understood that the touch device may be an electronic device including a touch screen, such as a smart phone, a tablet computer, a personal computer with a touch screen, and the like.
According to the unlocking device for the touch equipment, the encrypted information is stored in the touch screen control chip, so that an illegal user can be effectively prevented from bypassing the system encryption to normally use the touch equipment after an operating system of the touch equipment is cracked, the personal information safety of the user is ensured, and the safety of the touch equipment is improved.
In the present invention, the terms "first", "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.