Detailed Description
In order to enable those skilled in the art to better understand the present application, the following description will make clear and complete descriptions of the technical solutions according to the embodiments of the present application with reference to the accompanying drawings.
The current electronic devices are generally provided with fingerprint recognition devices, and the fingerprint recognition devices are generally arranged on the side, front or back of the electronic device so as to be used for collecting fingerprints of users for fingerprint recognition. With further application of the fingerprint recognition device, some electronic devices may not only perform identity verification by using the fingerprint recognition device, but also recognize an operation of inputting a finger by using the fingerprint recognition device, so as to perform corresponding control on the electronic device, for example, call up a corresponding application program, control a volume of the electronic device, control a display brightness of the electronic device, and so on.
However, in the related art, in a state that the screen is unlocked and is lit, corresponding control is performed according to an operation for the fingerprint recognition device, and in a state that the screen is locked and is out of the screen, triggering of corresponding control by the fingerprint recognition device is not supported, or a response rate to the operation for the fingerprint recognition device is low.
In order to solve the above problems, the inventor proposes the device control method, the device, the electronic device and the storage medium provided by the embodiments of the present application, which can detect a touch operation on the fingerprint identification device for the first time and delay a time for the fingerprint identification device to perform heating detection after controlling unlocking and lighting of the screen in a state that the screen is in a screen-off state and in a screen-off state, so that the fingerprint identification device can perform fingerprint detection again, thereby detecting a second touch operation of a user, and triggering the electronic device to perform control corresponding to a double-click operation, and improving a response rate of the double-click operation on the fingerprint identification device. The specific device control method is described in detail in the following embodiments.
The following describes a scenario related to an embodiment of the present application.
As shown in fig. 1, in the scenario shown in fig. 1, an electronic device 100 is included, the electronic device 100 including a screen 130 and a fingerprint recognition device 140. The screen 130 is a display component for displaying images, and is disposed on a front panel of the electronic device 100, the fingerprint recognition device 140 may be disposed on a side frame of the electronic device 100, and the fingerprint recognition device 140 may be configured to detect a touch operation of a finger of a user and collect fingerprint information of the finger, so as to unlock the screen 130, perform other control on the electronic device 100, and the like according to the touch operation of the finger of the user on the fingerprint recognition device 140.
In one possible implementation, the fingerprint recognition device 140 may include a capacitive fingerprint sensor that utilizes capacitive fingerprint detection technology. The capacitive fingerprint detection technology is a biological identification technology based on the capacitive detection principle. In this technique, a plurality of minute capacitive electrodes are arranged on a capacitive fingerprint sensor. These capacitive electrodes induce a change in current when a finger touches the sensor surface. Because the fingerprint lines and the concave-convex characteristics of the skin are different, when the finger is in contact with the sensor, the capacitance values of different parts are also different.
The following describes the device control method according to the embodiment of the present application in detail with reference to the accompanying drawings.
Referring to fig. 2, fig. 2 is a flow chart illustrating a device control method according to an embodiment of the application. In a specific embodiment, the device control method is applied to the above electronic device, where the electronic device includes a screen and a fingerprint recognition device, and of course, it is understood that the electronic device applied in this embodiment may be a smart phone, a tablet computer, a smart watch, an electronic book, etc., which is not limited herein. The following will describe the flow chart shown in fig. 2 in detail, and the device control method specifically may include the following steps:
Step S110, under the condition that the screen is in a state of being out of screen and locked, receiving a first touch operation acting on the fingerprint identification device, and acquiring first fingerprint information acquired by the fingerprint identification device.
In the embodiment of the application, the electronic equipment can comprise a fingerprint identification device, and the fingerprint identification device can be arranged on a side frame of the electronic equipment. The fingerprint identification device arranged on the side frame can receive touch operations of a user, such as clicking operations, pressing operations and the like, collect fingerprint information of the fingers of the user in the process of receiving the touch operations, and control the electronic equipment to unlock a screen, execute other control and the like according to the received touch operations and the collected fingerprint information, and is not limited herein.
In some embodiments, the fingerprint recognition device may be disposed on a right side frame of the electronic device or may be disposed on a left side frame of the electronic device, and the fingerprint recognition device may be flush with the side frame of the electronic device or may protrude from the side frame of the electronic device, which is not limited herein.
In the embodiment of the application, under the condition that the screen of the electronic equipment is in a screen-off and screen-locking state, when the fingerprint identification device detects that the screen is touched, the fingerprint identification device can receive touch operation acted on the fingerprint identification device, and when the fingerprint identification device receives the touch operation, fingerprint information of fingers of a user is synchronously acquired, so that whether the screen is unlocked or not and the screen is controlled to be in a screen-on state is determined according to the fingerprint information.
The screen-off state refers to the state that the screen is closed, no content is displayed, the equipment is in a low power consumption state, the screen-on state is opposite to the screen-off state, the screen-on state refers to the state that the screen is lightened, the content is displayed, and the equipment is in a normal working state. The screen locking state means that the screen is locked, a user cannot directly access application programs and data in the device, the screen can be unlocked only by a specific unlocking mode (such as password, fingerprint, facial recognition and the like) and the device is accessed and operated on the screen, and the screen is in an unlocked state opposite to the screen locking state, the unlocked state means that the screen is unlocked, and the user can freely access the device and operate on the screen.
In some embodiments, a driver of a fingerprint recognition device in an underlying layer of an operating system of an electronic device may obtain a touch operation (as a first touch operation) received by the fingerprint recognition device, and obtain fingerprint information (as first fingerprint information) collected by the fingerprint recognition device.
And step 120, if the first fingerprint information is matched with the stored fingerprint information, unlocking the screen, controlling the screen to be in a bright screen state, and controlling the fingerprint identification device to be in a fingerprint detection state.
In the embodiment of the application, after the first touch operation is received and the first fingerprint information is acquired, the first fingerprint information can be matched with stored fingerprint information, according to the matching result, if the first fingerprint information is matched with any stored fingerprint information, the first fingerprint information is matched with the stored fingerprint information, namely, the first fingerprint information is the recorded fingerprint information in the electronic equipment, so that the finger of the current touch fingerprint identification device passes the identity verification, the screen can be unlocked and controlled to be in a bright screen, and if the first fingerprint information is not matched with each stored fingerprint information, the first fingerprint information is not matched with the stored fingerprint information, namely, the first fingerprint information is not the recorded fingerprint information in the electronic equipment, so that the finger of the current touch fingerprint identification device does not pass the identity verification.
In the related art, referring to fig. 3, in a state that a screen is locked and is deactivated, a fingerprint recognition device detects a touch operation on the screen, whether the acquired fingerprint information is the registered fingerprint information is determined, after the electronic equipment controls the screen to unlock and lighten the screen, an upper layer informs a bottom layer of unlocking the screen and the lighten the screen, then the bottom layer performs detection (namely heating detection) of a bad block of the fingerprint recognition device so as to avoid damage of the fingerprint recognition device and continuous power on, and further, the fingerprint recognition device is prevented from scalding a user, after the heating detection is completed, the fingerprint recognition device enters a fingerprint detection (FINGERPRINT DETECTION, FDT) state or a sleep (Idle) state, and after the fingerprint recognition device is in the FDT state or the sleep state, the fingerprint recognition device can detect the operation of the user on the fingerprint recognition device. In the related art, when the screen is in a screen locking and screen locking state and the detection of double-click operation of the fingerprint identification device is realized, if the fingerprint identification device is touched for the first time, the screen is controlled to unlock and lighten the screen, so that the fingerprint identification device can perform heating detection, and the fingerprint identification device can not detect the second touch of a user, and if the fingerprint identification device is touched for the first time, the screen is not controlled to unlock and lighten the screen, but whether the user performs the second touch on the fingerprint identification device is continuously detected, the fingerprint unlocking is delayed, and if the user only needs to unlock the screen by touching the fingerprint identification device for a single time, the response speed of unlocking the screen is influenced.
Therefore, in the embodiment of the application, when the screen is in the state of screen extinction and screen locking, the first touch operation of the fingerprint identification device is received, and under the condition that the acquired fingerprint information is matched with the stored fingerprint information, after unlocking the screen and controlling the screen to be in the state of screen brightening, the heating detection is not immediately performed, but the fingerprint identification device is directly controlled to be in the fingerprint detection state, namely in the FDT state, so that the next operation of the user can be continuously detected, and the second touch operation in the double-click operation which the user wants to perform is detected.
In some embodiments, when the first fingerprint information is matched with the stored fingerprint information, the fingerprint feature corresponding to the first fingerprint information can be matched with the fingerprint feature corresponding to the stored fingerprint information, if the fingerprint feature corresponding to the first fingerprint information is matched with the fingerprint feature corresponding to any stored fingerprint information, the first fingerprint information is matched with the fingerprint information, and if the fingerprint feature corresponding to the first fingerprint information is not matched with the fingerprint feature corresponding to each stored fingerprint information, the first fingerprint information is not matched with each stored fingerprint information.
In some embodiments, a driver of a fingerprint identification apparatus in a bottom layer of an operating system of an electronic device may match first fingerprint information with stored fingerprint information, and notify an upper layer of the operating system to unlock a screen and initiate a bright screen when the first fingerprint information matches the stored fingerprint information, so that the screen may be unlocked and controlled to be in a bright screen state, and the upper layer of the operating system may be another layer located above the bottom layer, such as a kernel layer, an application layer, etc., that is, notify the upper layer of the bright screen and the control screen immediately when the first fingerprint information matches the stored fingerprint information, instead of notifying the upper layer of the bright screen and the control screen after detecting whether there is a second touch operation (i.e., determining whether the user intends to be a double click operation) for the fingerprint identification apparatus later; the driver of the fingerprint identification device does not immediately detect heating of the fingerprint identification device after receiving the notification, but controls the fingerprint identification device to be in a fingerprint detection state so as to detect whether a user performs a second touch operation in double-click operation.
And step S130, if the second touch operation acting on the fingerprint identification device is received within a first time period, executing control corresponding to a double-click event, wherein the first time period is a time period of a first duration after the screen is controlled to be in a bright screen state.
In the embodiment of the present application, when the fingerprint recognition device is in the fingerprint detection state, the touch operation of the user may be detected, and if the fingerprint recognition device detects the touch operation within the first period (the period of the first duration after the control screen is in the bright screen state), that is, the touch operation (as the second touch operation) acting on the fingerprint recognition device is received within the first period after the control screen is in the bright screen state, it indicates that the user performs the second touch operation in the double-click operation, that is, the double-click event for the fingerprint recognition device is detected, and therefore, the control corresponding to the double-click event may be performed. The first time period may be determined according to a maximum time period of an interval between two touches of the fingerprint recognition device in the double-click operation, for example, the first time period may be 350 milliseconds (ms), 400ms, 500ms, etc.
In some embodiments, after determining that the second touch operation is received, the driver of the fingerprint identification device in the bottom layer of the operating system of the electronic device may report a double-click event to the upper layer, and after receiving the double-click event reported by the driver, the upper layer may respond to the double-click event and execute control corresponding to the double-click event.
In some embodiments, the control corresponding to the double-click event may be that an application program corresponding to the double-click event is executed, so that in a state that the screen is locked and is deactivated, the user realizes calling of the corresponding application program through double-click operation on the fingerprint identification device. The application program corresponding to the double-click event may be preset, for example, the electronic device may display a setting interface of the application program corresponding to the double-click time, and according to a user operation in the setting interface, the application program corresponding to the double-click event set by the user may be determined.
In one possible implementation, the control corresponding to the double-click event may be execution of an application corresponding to the double-click event. The application program corresponding to the double-click event may include a plurality of application programs, and when the application program corresponding to the double-click event is executed, the application program matching the first fingerprint information may be determined according to the first fingerprint information acquired above, and the application program matching the first fingerprint information may be executed. Therefore, the user can set corresponding application programs for different fingers of the user, and the user can operate the fingerprint identification device through different fingers to call different application programs.
In some embodiments, the control corresponding to the double click event may be performed, or may be control for an application program currently running, for example, control for an application program running in the foreground before the screen is in the off state. For example, the electronic device may currently run a music playing application, and if a second touch operation acting on the fingerprint recognition device is received within a first period of time, the music playing application may be controlled to switch a currently played song, increase a volume, or decrease a volume, etc.
Of course, in the embodiment of the present application, the specific control performed by the electronic device corresponding to the double click event may not be limited, and may also be other controls, for example, control the electronic device to be in the flight mode, etc.
In some embodiments, the period of time of the first duration after the above control screen is in the bright screen state may be a period of time from a time when the above unlocking the screen and controlling the screen is performed, for example, a time when a driver of a fingerprint recognition device in a bottom layer of an operating system notifies the upper layer of unlocking the screen and controlling the screen to be in the bright screen state is a first time, and then the above first period of time may be a period of time from the first time.
In some embodiments, the period of time of the first duration after the screen is in the bright screen state may be a period of time from a moment when the screen is actually in the bright screen state. For another example, after the upper layer of the operating system unlocks the screen and controls the screen, the lower layer is notified that the screen has been unlocked and the screen is controlled to be in the bright screen state, and the time at which the lower layer receives the notification is the second time, and then the above first period may be a period from the second time.
And step 140, after the duration of the screen in the bright screen state reaches a second duration, controlling the fingerprint identification device to perform heating detection, wherein the second duration is longer than or equal to the first duration.
In the embodiment of the application, after the duration of the control screen in the bright screen state reaches the second duration, the fingerprint identification device can be controlled to perform heating detection, and the second duration is greater than or equal to the first duration, so that the fingerprint identification device can be controlled to perform heating detection after the second touch operation of detecting whether the user performs double-click operation on the fingerprint identification device is realized, that is, the heating detection is not performed immediately after the screen is unlocked and the screen is controlled to be in the bright screen state, but is performed after the second duration is delayed, thereby avoiding that the fingerprint identification device performs heating detection prematurely and misses the second touch operation of detecting the fingerprint identification device by the user, and further avoiding that the electronic equipment cannot detect the double-click operation of the user on the fingerprint identification device.
In some embodiments, the above time period after the screen is in the bright screen state may be a time period from when the above screen is unlocked and controlled, for example, when a driver of a fingerprint recognition device in a bottom layer of an operating system notifies an upper layer of unlocking the screen and controls the screen to be in the bright screen state at a first time, then the above time period after the screen is controlled to be in the bright screen state may be a time period from the first time.
In some embodiments, the time period after the screen is in the bright screen state is controlled, and may also be the time period from the moment when the screen is actually in the bright screen state. For another example, after the upper layer of the operating system unlocks the screen and controls the screen, the lower layer is notified that the screen is unlocked and the screen is controlled to be in the bright screen state, and the time when the lower layer receives the notification is the second time, so the time period after the screen is controlled to be in the bright screen state can be the time period from the second time.
It should be noted that, the above steps S130 and S140 may be performed in parallel, that is, whether the above second touch operation is received in the above first period of time or not, the fingerprint identification device is controlled to perform heat detection as long as the duration after the control screen is in the bright screen state reaches the second duration, so as to avoid the fingerprint identification device from being continuously electrified to scald the user when the fingerprint identification device is damaged.
The equipment control method provided by the embodiment of the application can delay the time for heating detection of the fingerprint identification device after the first detection of the touch operation on the fingerprint identification device and the control of the unlocking and the brightening of the screen under the condition that the screen is in the off-screen state, so that the fingerprint identification device can perform fingerprint detection again, the second touch operation of a user can be detected, the control corresponding to the double-click operation can be triggered by the electronic equipment, the response rate of the double-click operation on the fingerprint identification device is improved, in addition, the screen unlocking and the brightening of the screen are controlled after the first detection of the touch operation on the fingerprint identification device, rather than the control of the screen unlocking and the brightening after the continuous detection of whether the user performs the second touch on the fingerprint identification device is performed, thereby avoiding the influence on the response speed of unlocking the screen and avoiding the need of the user for unlocking the screen by single-touch of the fingerprint identification device.
Referring to fig. 4, fig. 4 is a flow chart illustrating a device control method according to another embodiment of the application. The device control method is applied to the electronic device, the electronic device comprises a screen and a fingerprint identification device, the detailed description will be given below with respect to the flow shown in fig. 4, and the device control method specifically comprises the following steps:
Step S210, under the condition that the screen is in a state of being out of screen and locked, receiving a first touch operation acting on the fingerprint identification device, and acquiring first fingerprint information acquired by the fingerprint identification device.
In the embodiment of the present application, step S210 may refer to the content of the foregoing embodiment, and is not described herein.
Step S220, if the first fingerprint information is matched with the stored fingerprint information, unlocking the screen and controlling the screen to be in a bright screen state, and then timing.
In the embodiment of the application, after the first touch operation is received and the first fingerprint information is acquired, the first fingerprint information is matched with the stored fingerprint information, which means that the finger touching the fingerprint identification device at this time passes the identity verification, so that the screen can be unlocked and controlled to be in a bright screen state, and after the screen is unlocked and controlled to be in a bright screen state, timing can be performed, so that whether the user performs the second touch operation in the double-click operation is determined according to the timing time length, and the fingerprint identification device is controlled to perform heating detection according to the timing time length.
In some embodiments, the timing may be started at the time when the above unlocking the screen and controlling the screen is performed. For example, the driver of the fingerprint recognition device in the bottom layer of the operating system starts timing at a first time when the upper layer is notified to unlock the screen and control the screen to be in the bright screen state.
In some embodiments, the timing may begin at the moment when the screen is actually in the bright screen state. For another example, after the upper layer of the operating system unlocks the screen and controls the screen, the lower layer is notified that the screen has been unlocked and the screen is controlled to be in a bright screen state, and the time at which the lower layer receives the notification is a second time, and then the timing is started at the second time.
And step S230, controlling the fingerprint identification device to be in a fingerprint detection state.
In the embodiment of the present application, step S230 may refer to the content of the foregoing embodiment, and is not described herein.
And step S240, if the timed duration does not exceed the first duration and a second touch operation acting on the fingerprint identification device is received, executing control corresponding to a double-click event, wherein the first time period is a time period of the first duration after the screen is controlled to be in a bright screen state.
In the embodiment of the application, when the fingerprint identification device is in the fingerprint detection state, the touch operation of the user on the fingerprint identification device can be detected, and if the second touch operation of the fingerprint identification device is received under the condition that the time length does not exceed the first time length, the second touch operation in the double-click operation is performed by the user, namely, the double-click event aiming at the fingerprint identification device is detected, so that the control corresponding to the double-click event can be executed.
And S250, controlling the fingerprint identification device to perform heating detection after the timed duration reaches a second duration, wherein the second duration is longer than or equal to the first duration.
In the embodiment of the application, after the time length counted by the timer reaches the second time length, the fingerprint identification device can be controlled to perform heating detection, and the second time length is greater than or equal to the first time length, so that the fingerprint identification device can be controlled to perform heating detection after the second touch operation of detecting whether the user performs double-click operation on the fingerprint identification device is realized, and the situation that the fingerprint identification device performs heating detection prematurely and misses the second touch operation of detecting the user on the fingerprint identification device can be avoided, and further the electronic equipment cannot detect the double-click operation of the user on the fingerprint identification device is avoided.
In some embodiments, the above timer may be cleared after controlling the fingerprint recognition device to perform heat detection, and the fingerprint recognition device may be controlled to be in a fingerprint detection state or a sleep state, so that the fingerprint recognition device may detect an operation of the user with respect to the fingerprint recognition device.
The device control method provided by the embodiment of the application can be used for timing after the touch operation on the fingerprint identification device is detected for the first time and the screen unlocking and the screen brightening are controlled under the condition that the screen is in the off-screen state, and controlling the fingerprint identification device to carry out heating detection after the timing time reaches the corresponding time, so that the time for carrying out heating detection by the fingerprint identification device is delayed, the fingerprint identification device can carry out fingerprint detection again, the second touch operation of a user can be detected, the control corresponding to the double-click operation of the electronic device can be triggered, and the response rate of the double-click operation on the fingerprint identification device is improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of a device control method according to another embodiment of the application. The device control method is applied to the electronic device, the electronic device comprises a screen and a fingerprint identification device, the detailed description will be given below with respect to the flow shown in fig. 5, and the device control method specifically comprises the following steps:
step S310, under the condition that the screen is in a state of being out of screen and locked, receiving a first touch operation acting on the fingerprint identification device, and acquiring first fingerprint information acquired by the fingerprint identification device.
Step 320, if the first fingerprint information is matched with the stored fingerprint information, unlocking the screen and controlling the screen to be in a bright screen state, and then controlling the fingerprint identification device to be in a fingerprint detection state.
In the embodiment of the present application, the step S310 and the step S320 may refer to the content of the foregoing embodiment, and are not described herein.
And step 330, if the touch operation on the fingerprint identification device is not received in the first time period, controlling the fingerprint identification device to perform heating detection after the duration of controlling the screen to be in the bright screen state reaches the second duration.
In the embodiment of the application, when the fingerprint recognition device is in the fingerprint detection state, the user can detect the touch operation of the fingerprint recognition device, if the fingerprint recognition device does not detect the touch operation in the first time period (the time period of the first time period after the control screen is in the bright screen state), that is, the control screen does not receive the touch operation (serving as the second touch operation) acting on the fingerprint recognition device in the first time period after the control screen is in the bright screen state, the user does not perform the second touch operation in the double-click operation, that is, the double-click event aiming at the fingerprint recognition device is not detected, the fingerprint recognition device can be controlled to perform the heating detection after the time period of the control screen is in the bright screen state reaches the second time period, so that the fingerprint recognition device can be controlled to perform the heating detection after the second touch operation of whether the user performs the double-click operation aiming at the fingerprint recognition device or not is realized, that is not immediately performed the heating detection after the control screen is in the bright screen state, that the heating detection is performed immediately after the second time period is delayed, the heating detection is performed, so that the fingerprint recognition device can be performed in the second time period after the second touch operation is performed on the fingerprint recognition device is not performed, and the second touch operation aiming at the fingerprint recognition device can not be performed, and the fingerprint recognition device can be prevented from being missed.
In some embodiments, after controlling the fingerprint recognition device to perform heat detection, the fingerprint recognition device may be controlled to be in a fingerprint detection state or a sleep state, so that the fingerprint recognition device may detect an operation of the user with respect to the fingerprint recognition device.
And step S340, if the second touch operation acting on the fingerprint identification device is received within a first time period, executing control corresponding to a double-click event, wherein the first time period is a time period of a first duration after the screen is controlled to be in a bright screen state.
And step 350, after the duration of the screen in the bright screen state reaches a second duration, controlling the fingerprint identification device to perform heating detection, wherein the second duration is longer than or equal to the first duration.
In the embodiment of the present application, step S340 and step S350 may refer to the content of the foregoing embodiment, and are not described herein.
The equipment control method provided by the embodiment of the application can delay the time for heating detection of the fingerprint identification device after the first detection of the touch operation on the fingerprint identification device and the control of the unlocking and the brightening of the screen under the condition that the screen is in the off-screen state, so that the fingerprint identification device can perform fingerprint detection again, the second touch operation of a user can be detected, the control corresponding to the double-click operation can be triggered by the electronic equipment, the response rate of the double-click operation on the fingerprint identification device is improved, in addition, the screen unlocking and the brightening of the screen are controlled after the first detection of the touch operation on the fingerprint identification device, rather than the control of the screen unlocking and the brightening after the continuous detection of whether the user performs the second touch on the fingerprint identification device is performed, thereby avoiding the influence on the response speed of unlocking the screen and avoiding the need of the user for unlocking the screen by single-touch of the fingerprint identification device.
Referring to fig. 6, fig. 6 is a schematic flow chart of a device control method according to still another embodiment of the present application. The device control method is applied to the electronic device, the electronic device comprises a screen and a fingerprint identification device, the detailed description will be given below with respect to the flow shown in fig. 6, and the device control method specifically comprises the following steps:
Step S410, under the condition that the screen is in a state of being out of screen and locked, receiving a first touch operation acting on the fingerprint identification device, and acquiring first fingerprint information acquired by the fingerprint identification device.
Step S420, if the first fingerprint information is matched with the stored fingerprint information, unlocking the screen, controlling the screen to be in a bright screen state, and controlling the fingerprint identification device to be in a fingerprint detection state.
And step S430, if the second touch operation acting on the fingerprint identification device is received within a first time period, executing control corresponding to a double-click event, wherein the first time period is a time period of a first duration after the screen is controlled to be in a bright screen state.
And step S440, after the duration of the screen in the bright screen state reaches a second duration, controlling the fingerprint identification device to perform heating detection, wherein the second duration is longer than or equal to the first duration.
In the embodiment of the present application, the step S410 and the step S440 can refer to the content of the foregoing embodiment, and are not described herein.
And S450, if the first fingerprint information is not matched with the stored fingerprint information, controlling the fingerprint identification device to be in a fingerprint detection state.
In the embodiment of the application, after the first touch operation is received and the first fingerprint information is acquired, if the first fingerprint information is determined to be not matched with the stored fingerprint information, the fingerprint of the current touch fingerprint identification device does not pass the identity verification, in this case, the identification device can be controlled to be in a fingerprint detection state, namely in an FDT state, so that the next operation of the user can be continuously detected, and the situation that the second touch operation in the double-click operation performed by the user cannot be detected under the condition that the first touch operation in the double-click operation performed by the user does not pass the fingerprint verification can be avoided.
In some embodiments, after controlling the fingerprint recognition device to be in the fingerprint detection state, a timer may be performed to determine whether the user performs a second touch operation of the double-click operation according to a time period of the timer.
In one possible implementation, the timing may be started at the moment when the control fingerprint recognition device is in the fingerprint detection state, or may be started at the moment when the fingerprint recognition device is actually in the fingerprint detection state.
Step S460, if a third touch operation acting on the fingerprint identification device is received within a second time period, acquiring second fingerprint information acquired by the fingerprint identification device, wherein the second time period is the first time period after the fingerprint identification device is controlled to be in a fingerprint detection state.
In the embodiment of the application, when the fingerprint recognition device is in the fingerprint detection state, the touch operation of the user can be detected, if the fingerprint recognition device detects the touch operation in the second time period (the time period of the first duration after the fingerprint recognition device is controlled to be in the fingerprint detection state), that is, the touch operation (serving as the third touch operation) acting on the fingerprint recognition device is received in the first time period after the fingerprint recognition device is controlled to be in the fingerprint detection state, the second touch operation in the double-click operation is performed by the user, but because the first fingerprint information acquired during the first touch operation in the double-click operation is not passed through identity verification, the second fingerprint information acquired by the fingerprint recognition device during the third touch operation is received can be acquired so as to perform identity verification according to the second fingerprint information.
In addition, when the fingerprint recognition device is in the fingerprint detection state, the touch operation of the user on the fingerprint recognition device may be detected, and if the touch operation on the fingerprint recognition device is not received in the second period, the second touch operation in the double-click operation is not performed by the user, that is, the double-click event for the fingerprint recognition device is not detected, the fingerprint recognition device may be controlled to be in the fingerprint detection state or the sleep state, so that the fingerprint recognition device may detect the operation of the user on the fingerprint recognition device.
And S470, unlocking the screen and controlling the screen to be in a bright screen state if the second fingerprint information is matched with the stored fingerprint information, and executing control corresponding to a double-click event.
In the embodiment of the application, after the third touch operation is received and the second fingerprint information is acquired, the second fingerprint information can be matched with the stored fingerprint information, and according to the matching result, if the second fingerprint information is matched with any stored fingerprint information, the second fingerprint information is matched with the stored fingerprint information, namely, the second fingerprint information is the recorded fingerprint information in the electronic equipment, so that the finger touching the fingerprint identification device at this time passes the identity verification, the screen can be unlocked and controlled to be in a bright screen, and in addition, the control corresponding to the double-click event can be executed because the second touch operation in the double-click operation of the user is detected, namely, the double-click event aiming at the fingerprint identification device is detected.
And step S480, controlling the fingerprint identification device to perform heating detection.
In the embodiment of the application, under the condition that the second fingerprint information is matched with the stored fingerprint information, the screen is unlocked, the screen is controlled to be in a bright screen state, and after the control corresponding to the double-click event is executed, the fingerprint identification device can be controlled to perform heating detection. That is, after the first touch operation is received, since the acquired first fingerprint information is not matched with the stored fingerprint information, the screen is not unlocked and is controlled to be in the bright screen state at this time, and therefore the fingerprint identification device does not perform heat detection, in this case, the time for heat detection does not need to be delayed, so that the fingerprint identification device can be controlled to perform heat detection immediately after the screen is unlocked and is controlled to be in the bright screen state under the condition that the second fingerprint information is matched with the stored fingerprint information, and the detection of the double click operation is not affected.
In some embodiments, after controlling the fingerprint recognition device to perform heat detection, the fingerprint recognition device may be controlled to be in a fingerprint detection state or a sleep state, so that the fingerprint recognition device may detect an operation of the user with respect to the fingerprint recognition device.
Step S490, if the second fingerprint information is not matched with the stored fingerprint information, the fingerprint identification device is controlled to be in a fingerprint detection state or a dormant state.
In the embodiment of the application, after the second fingerprint information is matched with the stored fingerprint information, if the second fingerprint information is not matched with each stored fingerprint information, the second fingerprint information is not matched with the stored fingerprint information, that is, the first fingerprint information is not the entered fingerprint information in the electronic equipment, so that the finger touching the fingerprint identification device at this time does not pass the identity verification, in the case, because the collected fingerprint information does not pass the authentication when the user performs the touch operation (i.e. performs the first touch operation and the second touch operation) twice, the screen is not unlocked, the control screen is in a bright screen state, the control corresponding to the double-click event is not executed, and the fingerprint identification device is controlled to be in a fingerprint detection state or a dormant state, so that the fingerprint identification device can detect the operation of the user on the fingerprint identification device.
The equipment control method provided by the embodiment of the application can delay the time for heating detection of the fingerprint identification device after the first detection of the touch operation on the fingerprint identification device and the control of the unlocking and the brightening of the screen under the condition that the screen is in the off-screen state, so that the fingerprint identification device can perform fingerprint detection again, the second touch operation of a user can be detected, the control corresponding to the double-click operation can be triggered by the electronic equipment, the response rate of the double-click operation on the fingerprint identification device is improved, in addition, the screen unlocking and the brightening of the screen are controlled after the first detection of the touch operation on the fingerprint identification device, rather than the control of the screen unlocking and the brightening after the continuous detection of whether the user performs the second touch on the fingerprint identification device is performed, thereby avoiding the influence on the response speed of unlocking the screen and avoiding the need of the user for unlocking the screen by single-touch of the fingerprint identification device.
The device control method according to the foregoing embodiment will be described with reference to fig. 7.
The method comprises the steps of detecting touch operation aiming at a fingerprint identification device when a screen of electronic equipment is in a screen-off and screen-locking state, determining whether acquired fingerprint information is the recorded fingerprint information, informing an upper layer of an operating system to unlock the screen and control the screen to be in a screen-on state and start timing of a first time period if the acquired fingerprint information is the recorded fingerprint information, informing the upper layer after the upper layer unlocks the screen and controls the screen to be in the screen-on state, informing the lower layer after the upper layer receives the notification and starts timing of a second time period, controlling the fingerprint identification device to be in a fingerprint detection state, informing the upper layer of detecting a double-click event if the touch operation aiming at the fingerprint identification device is received in the first time period of timing, allowing the upper layer to execute control corresponding to the double-click event, controlling the fingerprint identification device to generate heat after the second time period of the timing is up, and clearing the timing of the first time period and controlling the fingerprint identification device to be in a fingerprint detection state or a dormant state after the fingerprint identification device completes the heating detection. If the touch operation of the fingerprint identification device is not received in the first time period of timing, the user can be determined to perform the touch operation once, the fingerprint identification device can be controlled to perform heating detection after the second time period of timing is reached, and after the fingerprint identification device finishes heating detection, the timing of the first time period can be cleared, and the fingerprint identification device is controlled to be in a fingerprint detection state or a dormant state.
In addition, after determining whether the acquired fingerprint information is the recorded fingerprint information, if the acquired fingerprint information is not the recorded fingerprint information, the fingerprint identification device can be controlled to be in a fingerprint detection state and start timing of a first time period, if the touch operation for the fingerprint identification device is received in the first time period of timing, whether the acquired fingerprint information is the recorded fingerprint information or not can be determined, if the acquired fingerprint information is the recorded fingerprint information, the bottom layer informs the upper layer to unlock a screen and control the screen to be in a bright screen state, and the bottom layer informs the upper layer to detect a double-click event, so that control corresponding to the double-click event can be executed by the upper layer, and the fingerprint identification device can be controlled to perform heating detection. In addition, if the collected fingerprint information is not the recorded fingerprint information or the touch operation for the fingerprint identification device is not received in the first time of timing, the timing of the first time can be cleared, and the fingerprint identification device is controlled to be in a fingerprint detection state or a dormant state.
Referring to fig. 8, a block diagram of a device control apparatus 500 according to an embodiment of the application is shown. The device control apparatus 500 is applied to the electronic device, where the electronic device includes a screen and a fingerprint recognition apparatus, and the device control apparatus 500 includes an information acquisition module 510, a first control module 520, a second control module 530, and a third control module 540. The information obtaining module 510 is configured to receive a first touch operation applied to the fingerprint identification device and obtain first fingerprint information collected by the fingerprint identification device when the screen is in a state of being turned off and locked, the first control module 520 is configured to unlock the screen and control the screen to be in a state of being turned on after the first fingerprint information is matched with stored fingerprint information, and control the fingerprint identification device to be in a state of being turned on, the second control module 530 is configured to execute a control corresponding to a double click event when a second touch operation applied to the fingerprint identification device is received in a first period of time, the first period of time is a first period of time after the screen is controlled to be in the state of being turned on, and the third control module 540 is configured to control the fingerprint identification device to perform heat detection after a second period of time after the screen is controlled to be in the state of being turned on reaches, the second period of time being longer than or equal to the first period of time.
In some embodiments, the first control module 520 may be specifically configured to unlock the screen and control the screen to be in a bright screen state and then time the screen if the first fingerprint information matches the stored fingerprint information, and control the fingerprint recognition device to be in a fingerprint detection state.
In a possible implementation, the second control module 530 may be specifically configured to perform control corresponding to a double click event if the counted time period does not exceed the first time period and a second touch operation is received on the fingerprint recognition device.
In a possible implementation manner, the third control module 540 may be specifically configured to control the fingerprint identification device to perform heat generation detection after the counted time period reaches the second time period.
In some embodiments, the device control apparatus 500 may further include a fourth control module, where the fourth control module is configured to, after the first fingerprint information is matched with any stored fingerprint information, unlock the screen and control the screen to be in a bright screen state, control the fingerprint identification apparatus to be in a fingerprint detection state, and if a touch operation acting on the fingerprint identification apparatus is not received in the first period of time, control the fingerprint identification apparatus to perform heat detection after a duration after the screen is controlled to be in the bright screen state reaches the second duration.
In some embodiments, the device control apparatus 500 may further include a fifth control module, a sixth control module, and a seventh control module, where the fifth control module is configured to receive the first touch operation applied to the fingerprint identification apparatus and obtain the first fingerprint information collected by the fingerprint identification apparatus when the screen is in the off-screen and on-screen state, and if the first fingerprint information does not match with the stored fingerprint information, control the fingerprint identification apparatus to be in the fingerprint detection state, the information obtaining module 510 is further configured to obtain the second fingerprint information collected by the fingerprint identification apparatus when the third touch operation applied to the fingerprint identification apparatus is received in the second time period, where the second time period is the first time period after the fingerprint identification apparatus is controlled to be in the fingerprint detection state, and the sixth control module is configured to unlock the screen and control the screen to be in the on-screen state when the second fingerprint information matches with the stored fingerprint information, and perform control corresponding to a double click event, and the seventh control module is configured to control the fingerprint identification apparatus to generate heat.
In a possible implementation manner, the device control apparatus 500 may further include an eighth control module, where the eighth control module is configured to control the fingerprint recognition apparatus to be in a fingerprint detection state or a sleep state after acquiring the second fingerprint information acquired by the fingerprint recognition apparatus if the third touch operation applied to the fingerprint recognition apparatus is received within the second period of time, and if the second fingerprint information does not match the stored fingerprint information.
In some embodiments, the device control apparatus 500 may further include a ninth control module. And the ninth control module is used for controlling the fingerprint identification device to be in a fingerprint detection state or a dormant state after the fingerprint identification device is controlled to perform heating detection.
In some embodiments, the third control module 540 may be specifically configured to run an application corresponding to the double click event.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus and modules described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
In several embodiments provided by the present application, the coupling of the modules to each other may be electrical, mechanical, or other.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
In summary, according to the scheme provided by the application, under the condition that the screen is in a screen-off and screen-locking state, a first touch operation acting on the fingerprint identification device is received, first fingerprint information acquired by the fingerprint identification device is acquired, if the first fingerprint information is matched with stored fingerprint information, the screen is unlocked, the screen is controlled to be in a screen-on state, then the fingerprint identification device is controlled to be in a fingerprint detection state, if a second touch operation acting on the fingerprint identification device is received in a first time period, then control corresponding to a double click event is executed, the first time period is a time period of a first duration after the screen is controlled to be in the screen-on state, and after the duration of the screen is controlled to be in the screen-on state reaches a second duration, the fingerprint identification device is controlled to perform heating detection, and the second duration is greater than or equal to the first duration. Therefore, under the condition that the screen is in a state of extinguishing the screen and extinguishing the screen, the touch operation on the fingerprint identification device can be detected for the first time, after the screen is controlled to be unlocked and bright, the heating detection time of the fingerprint identification device is delayed, so that the fingerprint identification device can carry out fingerprint detection again, the second touch operation of a user can be detected, the control corresponding to the double-click operation of the electronic equipment can be triggered, and the response rate of the double-click operation on the fingerprint identification device is improved.
Referring to fig. 9, a block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device 100 may be an electronic device capable of running an application program, such as a smart phone, a tablet computer, an electronic book, a notebook computer, etc. The electronic device 100 of the present application may comprise one or more of a processor 110, a memory 120, a screen 130, a fingerprinting apparatus 140, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more applications being configured to perform the method as described in the foregoing method embodiments.
The processor 110 utilizes various interfaces and lines to connect various portions of the overall electronic device 100, perform various functions of the electronic device 100, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and invoking data stored in the memory 120.
Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like.
The screen 130 is a display component for image display, and is typically provided on the front panel of the electronic device 100.
The fingerprint recognition device 140 may be disposed on a side frame of the electronic apparatus 100, and the fingerprint recognition device 140 may be configured to detect a touch operation of a finger of a user and collect fingerprint information of the finger, so as to unlock the screen 130, perform other control on the electronic apparatus 100, and the like according to the touch operation of the finger of the user on the fingerprint recognition device 140.
Referring to fig. 10, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 800 has stored therein program code which can be invoked by a processor to perform the methods described in the method embodiments described above.
The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.
It should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present application and not for limiting the same, and although the present application has been described in detail with reference to the above-mentioned embodiments, it will be understood by those skilled in the art that the technical solution described in the above-mentioned embodiments may be modified or some technical features may be equivalently replaced, and these modifications or replacements do not drive the essence of the corresponding technical solution to deviate from the spirit and scope of the technical solution of the embodiments of the present application.