Device control method and apparatus, electronic device, and storage medium
By switching the fingerprint recognition module to swipe detection mode when the screen is locked, and collecting swipe operation signals to control the functions of electronic devices, the problem of limited functionality of the fingerprint recognition module when the screen is locked is solved, and rich function control and improved user experience are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2022-07-29
- Publication Date
- 2026-04-24
AI Technical Summary
In existing technologies, fingerprint recognition modules cannot perform any operation control other than unlocking when the screen is locked, thus limiting their functionality and failing to meet the diverse needs of users when the screen is locked.
When the screen is locked, the fingerprint recognition module switches to swipe detection mode. By collecting swipe operation signals, it controls the target functions of the electronic device, such as volume adjustment, and generates corresponding control commands to achieve function control.
It enriches the functionality of the fingerprint recognition module in the lock screen state, improves the user experience, reduces the need for physical buttons, lowers device costs and design difficulty, and enhances the structural strength and sealing of the device.
Smart Images

Figure CN115240236B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic equipment technology, specifically to a device control method, apparatus, electronic equipment, and storage medium. Background Technology
[0002] With the development of biometric technology, more and more biometric modules are being integrated into electronic devices, such as fingerprint recognition modules, facial recognition modules, and voice recognition modules. Among them, fingerprint recognition modules remain a standard feature in the vast majority of electronic devices.
[0003] In related technologies, fingerprint recognition modules in electronic devices are mainly used for fingerprint enrollment, device unlocking, payment verification, and other scenarios, and their functions are relatively limited. Summary of the Invention
[0004] To enrich the functionality of fingerprint recognition modules in electronic devices, this disclosure provides a device control method, apparatus, electronic device, and storage medium.
[0005] In a first aspect, embodiments of this disclosure provide a device control method, the method comprising:
[0006] In response to receiving a lock screen signal from the electronic device, the working state of the fingerprint recognition module of the electronic device is switched to the swipe detection state;
[0007] The sliding operation signal collected by the fingerprint recognition module is obtained. The sliding operation signal is the signal generated by the continuous sliding operation of the object under test on the fingerprint sensing end of the fingerprint recognition module.
[0008] The target function of the electronic device is controlled according to the sliding operation signal.
[0009] In some embodiments, the method described in this disclosure further includes:
[0010] In the locked screen state, in response to the detection of a fingerprint recognition signal, the working state of the fingerprint recognition module is switched to fingerprint detection state; wherein, the fingerprint recognition signal is a signal generated by a fingerprint recognition event;
[0011] The fingerprint recognition module acquires the fingerprint data to be tested and obtains the fingerprint recognition result based on the fingerprint data to be tested.
[0012] Switch the working state of the fingerprint recognition module to the swipe detection state.
[0013] In some implementations, the fingerprint recognition module includes a target button, and the fingerprint recognition event includes a press event of the target button.
[0014] In some embodiments, the target function includes the volume adjustment function of the electronic device; the step of controlling the target function of the electronic device according to the sliding operation signal includes:
[0015] Generate a corresponding volume control command based on the sliding operation signal;
[0016] Adjust the current volume of the electronic device according to the volume control command.
[0017] In some implementations, generating a corresponding volume control command based on the sliding operation signal includes:
[0018] The sliding direction and / or sliding distance are determined based on the sliding operation signal;
[0019] The volume control command is generated based on the sliding direction and / or sliding distance.
[0020] In some embodiments, the electronic device includes a mobile terminal, and the fingerprint recognition module is disposed on the side frame of the mobile terminal.
[0021] Secondly, embodiments of this disclosure provide a device control apparatus, the apparatus comprising:
[0022] The state switching module is configured to switch the working state of the fingerprint recognition module of the electronic device to the swipe detection state in response to receiving the screen lock signal of the electronic device;
[0023] The signal acquisition module is configured to acquire the sliding operation signal collected by the fingerprint recognition module. The sliding operation signal is the signal generated by the continuous sliding operation of the object under test on the fingerprint sensing end of the fingerprint recognition module.
[0024] The function control module is configured to control the target function of the electronic device according to the sliding operation signal.
[0025] In some implementations, the state switching module is configured to: in the locked screen state, in response to detecting a fingerprint recognition signal, switch the operating state of the fingerprint recognition module to a fingerprint detection state; wherein, the fingerprint recognition signal is a signal generated by a fingerprint recognition event;
[0026] The signal acquisition module is configured to: acquire the fingerprint data to be tested collected by the fingerprint recognition module, and obtain the fingerprint recognition result based on the fingerprint data to be tested;
[0027] The state switching module is configured to switch the working state of the fingerprint recognition module to the swipe detection state.
[0028] In some implementations, the fingerprint recognition module includes a target button, and the fingerprint recognition event includes a press event of the target button.
[0029] In some implementations, the target function includes the volume adjustment function of the electronic device; the function control module is configured to:
[0030] Generate a corresponding volume control command based on the sliding operation signal;
[0031] Adjust the current volume of the electronic device according to the volume control command.
[0032] In some implementations, the function control module is configured to:
[0033] The sliding direction and / or sliding distance are determined based on the sliding operation signal;
[0034] The volume control command is generated based on the sliding direction and / or sliding distance.
[0035] In some embodiments, the electronic device includes a mobile terminal, and the fingerprint recognition module is disposed on the side frame of the mobile terminal.
[0036] Thirdly, embodiments of this disclosure provide an electronic device, including:
[0037] processor; and
[0038] A memory storing computer instructions for causing the processor to perform the method according to any embodiment of the first aspect.
[0039] Fourthly, embodiments of this disclosure provide a storage medium storing computer instructions, the computer instructions being configured to cause the computer instructions to be used according to the method described in any embodiment of the first aspect.
[0040] The device control method of this disclosure includes, in response to receiving a screen lock signal from an electronic device, switching the operating state of the fingerprint recognition module of the electronic device to a swipe detection state, acquiring a swipe operation signal collected by the fingerprint recognition module, and controlling a target function of the electronic device based on the swipe operation signal. In this disclosure, by switching the operating state of the fingerprint recognition module in the screen lock state, the fingerprint recognition module can be used to achieve function control in the screen lock state, enriching the functionality of the fingerprint recognition module and improving the user experience. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the specific embodiments of this disclosure or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0042] Figure 1 This is a flowchart of a volume control method according to some embodiments of the present disclosure.
[0043] Figure 2 This is a flowchart of a volume control method according to some embodiments of the present disclosure.
[0044] Figure 3 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure.
[0045] Figure 4 This is a flowchart of a volume control method according to some embodiments of the present disclosure.
[0046] Figure 5 This is a schematic diagram of a volume control method according to some embodiments of this disclosure.
[0047] Figure 6 This is a flowchart of a volume control method according to some embodiments of the present disclosure.
[0048] Figure 7 This is a structural block diagram of the device control apparatus according to some embodiments of the present disclosure.
[0049] Figure 8 This is a schematic diagram of the structure of an electronic device according to some embodiments of the present disclosure. Detailed Implementation
[0050] The technical solutions of this disclosure will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure. Furthermore, the technical features involved in the different embodiments of this disclosure described below can be combined with each other as long as they do not conflict with each other.
[0051] With the development of fingerprint recognition technology, fingerprint recognition has now become a standard feature of the vast majority of electronic devices, such as smartphones, tablets, and personal laptops.
[0052] Currently, fingerprint recognition modules in electronic devices are mainly used for fingerprint enrollment, device unlocking, payment verification, and other scenarios. In some related technologies, fingerprint recognition modules can also be used to identify operation events and realize some auxiliary functions of electronic devices. For example, when a user clicks, double-clicks, or swipes on the fingerprint recognition module, functions such as taking screenshots, switching to one-handed mode, and accessing drop-down menus can be realized.
[0053] However, these operation events can only be implemented in the screen-on working mode of electronic devices. This is because in the lock screen mode, the system needs to listen to the user's fingerprint unlock operation, so the fingerprint recognition module is in fingerprint listening state and cannot listen to and recognize other operation events. This results in the control function of the fingerprint recognition module being relatively limited, making it unsuitable for many application scenarios.
[0054] Based on the deficiencies mentioned in the related technologies above, this disclosure provides a device control method, apparatus, electronic device, and storage medium, aiming to utilize the fingerprint recognition module of the electronic device to realize function control in the locked screen state, thereby enriching the application scenarios of the fingerprint recognition module.
[0055] Firstly, this disclosure provides a device control method applicable to electronic devices. The electronic device in this disclosure can be any device with a fingerprint recognition module, such as a smartphone, tablet computer, personal computer, wearable device, etc. This disclosure does not limit the specific type of electronic device.
[0056] like Figure 1 As shown, in some embodiments, the device control method exemplified by this disclosure includes:
[0057] S110. In response to receiving the screen lock signal from the electronic device, the working state of the fingerprint recognition module of the electronic device is switched to the swipe detection state.
[0058] S120. Obtain the sliding operation signal collected by the fingerprint recognition module.
[0059] S130, Control the target function of the electronic device according to the sliding operation signal.
[0060] In this embodiment, the fingerprint recognition module includes a swipe detection state and a fingerprint detection state. In the swipe detection state, the fingerprint recognition module can recognize continuous swipe operations on the fingerprint sensing end. In the fingerprint detection state, the fingerprint recognition module can recognize touch operations on the fingerprint sensing end.
[0061] In some implementations, the fingerprint recognition module uses a capacitive fingerprint sensor as an example. The capacitive fingerprint sensor may include the following operating states:
[0062] 1. Fingerprint Detection State: This refers to the normal fingerprint recognition state, which can recognize when a user's finger lightly touches or taps the fingerprint sensor, then collect the user's fingerprint data, and determine the fingerprint recognition result by comparing it with the pre-recorded fingerprint.
[0063] 2. Navigation Mode: In this mode, the fingerprint recognition module can detect continuous swipes of the user's finger on the fingerprint sensor. For example, if the user swipes their finger up and down or left and right on the fingerprint sensor, the fingerprint recognition module can recognize the corresponding swipe operations in Navigation mode.
[0064] 3. Fingerprint Image Capture: In this working state, fingerprint image data of the finger at the fingerprint sensor can be captured.
[0065] 4. Sleep state: refers to the dormant state of the fingerprint recognition module.
[0066] 5. Idle state: This refers to the spatial phase when the fingerprint recognition module switches between the above working states. For example, when the fingerprint recognition module switches from the Finger Detect state to the Navigation state, it can first switch from the Finger Detect state to the Idle state, and then switch to the Navigation state.
[0067] The screen lock signal of an electronic device refers to the trigger signal used to control the screen of the electronic device to turn off. For example, taking a smartphone as an example, when the user presses the power button while the screen is on, or when the phone is on for a preset time, a corresponding screen lock signal is generated. The system controls the phone screen to turn off and enter the screen lock state based on the screen lock signal.
[0068] In this embodiment of the disclosure, when the electronic device enters the lock screen state, the fingerprint recognition module is not kept in the fingerprint detection state, but the working state of the fingerprint recognition module is switched to the swipe detection state, that is, the aforementioned Navigation state.
[0069] When the fingerprint recognition module is in the swipe detection state (Navigation), it can collect swipe operation signals. Swipe operation signals refer to the signals generated by the user's finger continuously swiping on the fingerprint sensing end of the fingerprint recognition module.
[0070] For example, in one instance, when a user slides their finger from top to bottom or from left to right on the fingerprint sensor of the fingerprint recognition module, this constitutes a continuous sliding operation, and the fingerprint recognition module can collect the sliding operation signal generated by the sliding operation.
[0071] After receiving the sliding operation signal, the system can generate corresponding control commands based on the sliding operation signal, thereby achieving the control of the target function.
[0072] In this embodiment of the disclosure, corresponding key values can be pre-set for different sliding operation signals. After a certain sliding operation signal is obtained, the corresponding key value can be generated based on the sliding operation signal. Then, the key value is reported to the API (Application Program Interface) of the corresponding function through the system's Input subsystem to realize the corresponding function control.
[0073] For example, in some implementations, the target function is volume adjustment. After obtaining the sliding operation signal, a corresponding key value is generated based on the sliding operation signal. Then, the key value is reported to the system's Audio API through the Input subsystem to adjust the current volume of the electronic device.
[0074] For example, in some implementations, the target function is the "flashlight" function. After obtaining the sliding operation signal, the corresponding key value is generated according to the sliding operation signal. Then, the key value is reported to the flash control API of the system through the Input subsystem to realize the turning on and off of the flash of the electronic device.
[0075] Of course, those skilled in the art will understand that the target function can be any function suitable for implementation, and is not limited to the examples above, which will not be elaborated further in this disclosure.
[0076] It is worth noting that, in this embodiment, by controlling the electronic device in the locked state, the fingerprint recognition module can achieve more control functions. For example, taking volume adjustment as an example, volume adjustment is a very common need when users listen to music on electronic devices in the locked state. In related technologies, the fingerprint recognition module is used to listen to fingerprint signals in the locked state, and therefore cannot achieve volume adjustment. However, in this embodiment, by switching the working state of the fingerprint recognition module in the locked state, volume adjustment can be achieved in the locked state, enriching the functionality of the fingerprint recognition module.
[0077] As can be seen from the above, in this embodiment of the disclosure, by switching the working state of the fingerprint recognition module in the lock screen state, the fingerprint recognition module can be used to realize function control in the lock screen state, enrich the function of the fingerprint recognition module, and improve the user experience.
[0078] Understandably, when an electronic device is locked, the fingerprint recognition module needs to not only detect the aforementioned target functions but also unlock the device. Therefore, the following section will combine... Figure 2 The fingerprint unlocking process will be explained.
[0079] like Figure 2 As shown, in some embodiments, the device control method of this disclosure further includes:
[0080] S210. In the locked screen state, in response to the detection of a fingerprint recognition signal, the working state of the fingerprint recognition module is switched to fingerprint detection state.
[0081] S220. Obtain the fingerprint data to be tested collected by the fingerprint recognition module, and obtain the fingerprint recognition result based on the fingerprint data to be tested.
[0082] S230, Switch the working state of the fingerprint recognition module to the swipe detection state.
[0083] In this embodiment of the disclosure, the user can pre-enter one or more fingerprint template data through the fingerprint recognition module. The process of fingerprint template data entry can be understood and fully implemented by those skilled in the art with reference to relevant technologies, and will not be described in detail here.
[0084] As described above, in this embodiment, when entering the lock screen state, the system controls the fingerprint recognition module to switch its operating state to swipe detection (Navigation), thereby achieving the control of the target function through the aforementioned method. When the user wishes to unlock the device, the fingerprint recognition module's operating state needs to be switched from swipe detection (Navigation) to fingerprint detection (Finger Detect).
[0085] In some implementations, when a fingerprint recognition signal is detected, the operating state of the fingerprint recognition module can be switched from navigation to fingerprint detection. Conversely, when no fingerprint recognition signal is detected, the operating state of the fingerprint recognition module can be kept in navigation.
[0086] A fingerprint recognition signal refers to the signal generated by a fingerprint recognition event. A fingerprint recognition event can be understood as a trigger event that requires the fingerprint detection function to be invoked.
[0087] Taking a smartphone as an example, in one scenario, when the phone is locked, the device unlock event triggered by the user pressing the power button is the fingerprint recognition event that requires calling the fingerprint detection function to unlock the device. In another scenario, when the phone is locked, the device unlock event triggered by the user tapping the device's touchscreen is the fingerprint recognition event that requires calling the fingerprint detection function to unlock the device. This disclosure does not impose any limitations on this.
[0088] When the aforementioned fingerprint recognition event occurs, a corresponding fingerprint recognition signal will be generated. When the system detects the generation of the fingerprint recognition signal, it can control the fingerprint recognition module to switch from the navigation state to the fingerprint detection state.
[0089] When the fingerprint recognition module is in fingerprint detection mode, it can detect the user's finger touching or clicking on the fingerprint sensor and then collect the fingerprint data to be tested.
[0090] After obtaining the fingerprint data to be tested, the fingerprint recognition module matches the fingerprint data with the pre-recorded fingerprint template data to obtain the corresponding fingerprint recognition result. If the fingerprint recognition result is a successful match, the electronic device will unlock; otherwise, if the fingerprint recognition result is a failed match, the device will not unlock.
[0091] It is understandable that after obtaining the fingerprint recognition result, it indicates that the current fingerprint recognition event has been completed. The system then controls the fingerprint recognition module to switch its working state from fingerprint detection state to swipe detection state, so that it can continue to control the target function. This disclosure will not elaborate further on this.
[0092] As can be seen from the above, in this embodiment of the disclosure, by switching the working state of the fingerprint recognition module in the locked screen state, the fingerprint recognition module can simultaneously realize device unlocking and target function control, thus enriching the functions of the fingerprint recognition module.
[0093] Currently, with the development of full-screen technology, physical buttons on mobile devices such as smartphones and tablets are becoming increasingly rare. However, the "power button," "volume up," and "volume down" buttons remain essential. These buttons are typically located on the side bezel of the device, requiring openings in the bezel. On one hand, the structure of these physical buttons increases cost and the difficulty of stacking them; on the other hand, the openings reduce the structural strength of the bezel and result in poor sealing.
[0094] Therefore, in some embodiments of this disclosure, fingerprint detection and volume adjustment functions can be simultaneously achieved using the fingerprint recognition module of an electronic device according to the aforementioned device control method. The device control method of this disclosure will be described below using a smartphone as an example.
[0095] Figure 3 The structure of a smartphone in some embodiments of this disclosure is shown below, in conjunction with... Figure 3 The application scenarios of the method disclosed herein are explained.
[0096] Figure 3 Figure (a) illustrates a smartphone with a non-full-screen design. The phone includes a display screen 110, function keys 120 on the front panel of the display screen 110, and a power button 130 on the side bezel of the phone. In this example, the phone's fingerprint recognition module is integrated into the function key 120; that is, the user can perform fingerprint recognition by touching the function key 120 with their finger.
[0097] Figure 3 Figure (b) illustrates a smartphone with a full-screen design. The display screen 110 occupies almost the entire front panel, leaving no room for function keys. The power button 130 is located on the side bezel 140 of the phone. In this example, the fingerprint recognition module 200 is integrated into the power button 130, meaning that the user can perform fingerprint recognition by touching the power button 130 with their finger.
[0098] As can be seen, the smartphone of this embodiment does not need to have "volume up" and "volume down" buttons on the side frame 140. The volume of the phone can be controlled by the fingerprint recognition module. For details, please refer to the volume control method process described below.
[0099] It should be noted that the electronic device structure of the embodiments disclosed herein is not limited to... Figure 3 The two examples shown can be applied to any other electronic device with a fingerprint recognition module. For example, the fingerprint recognition module of some smartphones is located on the back of the phone, and it can also be used to implement the method of this disclosure, which will not be described in detail here.
[0100] like Figure 4 As shown, in some embodiments, the device control method of this disclosure, which controls the volume of an electronic device based on a sliding operation signal, includes:
[0101] S410: Generate the corresponding volume control command based on the sliding operation signal.
[0102] S420: Adjust the current volume of the electronic device according to the volume control command.
[0103] In this embodiment of the disclosure, when the fingerprint recognition module is in the sliding detection state, the fingerprint recognition module can collect sliding operation signals. The sliding operation signal refers to the signal generated by the user's finger continuously sliding on the fingerprint sensing end of the fingerprint recognition module.
[0104] For example Figure 3As shown in (a), the upper surface of the function key 120 is the fingerprint sensing end of the fingerprint recognition module. When the user slides his finger on the function key 120 from left to right or from right to left, it is a continuous sliding operation, and the fingerprint recognition module can collect the sliding operation signal generated by the sliding operation.
[0105] For example Figure 3 As shown in (b), the upper surface of the power button 130 is the fingerprint sensing end of the fingerprint recognition module 200. When the user slides his finger on the power button 130 from top to bottom or from bottom to top, it is a continuous sliding operation, and the fingerprint recognition module can collect the sliding operation signal generated by the sliding operation.
[0106] As mentioned above, when the fingerprint recognition module is in the swipe detection state (Navigation), the fingerprint recognition module can detect the swipe operation signal generated by the swipe operation. The system can then generate a corresponding volume control command based on the swipe operation signal and adjust the current volume of the electronic device according to the volume control command.
[0107] Figure 5 A schematic diagram of a device control method according to some embodiments of this disclosure is shown. Figure 5 Solid arrows indicate the volume control process, while dashed arrows indicate the fingerprint unlock control process. The following section combines... Figure 5 Each will be explained separately.
[0108] First, such as Figure 5 As shown, in this example, the fingerprint recognition module includes a sensing terminal 210 and a target button 220 integrated on the sensing terminal 210. The target button 220 can be a button that performs different functions depending on the specific device structure, for example... Figure 3 As shown in (a), the target key 220 can be function key 120, for example... Figure 3 As shown in (b), the target button 220 can be the power button 130.
[0109] In addition to the hardware components mentioned above, the fingerprint recognition module also includes several software modules, namely the FP HAL module, the FPTA module, and the FP Driver module.
[0110] FP HAL is the software component of the fingerprint recognition module, belonging to the hardware abstraction layer, used to encapsulate the underlying functions of the fingerprint recognition module. For example, in this embodiment, the FP HAL module can control the switching of the fingerprint recognition module's operating state based on the fingerprint recognition signal.
[0111] FPTA is the software component of the fingerprint recognition module, mainly comprising the specific algorithm implementation logic for each working state. For example, in this embodiment, the FPTA module can switch between fingerprint detection state (FingerDetect) and swipe detection state (Navigation) according to the switching instructions of FP HAL.
[0112] The FP Driver is the driver part of the fingerprint recognition module, mainly used to report key values to the Input subsystem of the mobile phone system.
[0113] Continue to refer to Figure 5 As shown, the Input subsystem refers to the subsystem in a mobile phone system used to implement input event communication. The Input subsystem has a layered structure, consisting of a driver layer, a subsystem core layer, and an event processing layer. The basic unit of communication between the layers of the Input subsystem is an event. Any operation of an Input device can be abstracted into an Input event, such as pressing the target button 220 or clicking the touchscreen.
[0114] Audio API refers to the API (Application Program Interface) provided by the mobile phone system for managing system audio. Those skilled in the art can undoubtedly understand and fully implement the specific working principles of the Input subsystem and Audio API by referring to relevant technologies, and this disclosure will not elaborate further.
[0115] The Key Guard module is a functional module in a mobile phone system used to handle screen lock / unlock operations. In this embodiment, it can be used to send fingerprint monitoring commands to the fingerprint recognition module.
[0116] The Fingerprint Server module is the fingerprint service framework in the mobile phone system, which can forward fingerprint monitoring commands to the fingerprint recognition module.
[0117] like Figure 5As shown, the device control method of this disclosure, in the process of realizing volume adjustment in the locked screen state, includes: (1) when the device lock screen signal is received, the Key Guard module sends a fingerprint monitoring command to the Fingerprint Server module; (2) the Fingerprint Server module forwards the fingerprint monitoring command to the FP HAL module; (3) the FP HAL module switches the working state of the FP TA module to the swipe detection state (Navigation); (4) for example, the user's finger slides up and down on the sensing end 210, so that the FP TA module can collect the swipe operation signal; (5) the FP TA module sends the swipe operation signal back to the FP HAL module; (6) the FP HAL module receives the swipe operation signal and notifies the FP Driver module to generate the corresponding key value; (7) the FP Driver module sends the generated key value to the Input subsystem; (8) the Input subsystem reports the key value to the Audio API to realize the control of the system volume.
[0118] Continue to refer to Figure 5 As shown, the device control method of this disclosure, in the process of unlocking the device in the locked screen state, includes: ①, for example, the user presses the target button 220 to generate a fingerprint recognition signal; ②, the FP HAL module controls the FP TA module to switch from the swipe detection state (Navigation) to the fingerprint detection state (FingerDetect) according to the fingerprint recognition signal; ③, the FP TA module can collect the user's fingerprint data to be tested, and the FP TA module obtains the fingerprint recognition result by matching the fingerprint data to be tested with the pre-recorded fingerprint template data, and sends the fingerprint recognition result back to the FP HAL module; ④, the FP HAL module controls the FP TA module to switch from the fingerprint detection state (FingerDetect) to the swipe detection state (Navigation); ⑤, the FP HAL module reports the fingerprint recognition result to the Fingerprint Server module; ⑥, the Fingerprint Server module reports the fingerprint recognition result to the Key Guard module, and after receiving the fingerprint recognition result, the Key Guard module can determine whether to unlock or not unlock the screen according to the fingerprint recognition result.
[0119] As can be seen from the above, in this embodiment of the disclosure, the fingerprint recognition module of the electronic device can be used to adjust the volume of the electronic device, thus eliminating the need to set volume buttons on the electronic device. For example Figure 3As shown, only the power button 130 needs to be set on the side frame of the smartphone, and there is no need to set the volume buttons. On the one hand, this can save costs and space and reduce the difficulty of phone stacking design. On the other hand, there is no need to open the volume button hole on the side frame 140, which improves structural strength and waterproof and dustproof sealing.
[0120] In some embodiments of this disclosure, when implementing volume adjustment, the current volume of the electronic device can be adjusted according to a sliding operation signal. The following describes how... Figure 6 The implementation method is described below.
[0121] like Figure 6 As shown, in some embodiments, the volume control method of this disclosure, in the process of determining a volume control command based on a sliding operation signal, includes:
[0122] S610. Determine the sliding direction and / or sliding distance based on the sliding operation signal.
[0123] S620: Generate volume control commands based on the sliding direction and / or sliding distance.
[0124] Combination Figure 5 As shown, different key values can be preset according to different sliding operations, including sliding direction and / or sliding distance.
[0125] For example, see one example. Figure 5 As shown, when the sliding direction is detected to be from bottom to top and the sliding distance is greater than the preset threshold, the FP Driver module reports the key value A1 to the Input subsystem. The volume control command corresponding to key value A1 is "volume increase by 10%".
[0126] For example, see another example. Figure 5 As shown, when the sliding direction is detected to be from top to bottom and the sliding distance is greater than the preset threshold, the FP Driver module reports the key value A2 to the Input subsystem. The volume control command corresponding to key value A2 is "volume decrease by 10%".
[0127] For example, see another example. Figure 5 As shown, when the detected sliding direction is from bottom to top, and the sliding distance exceeds a predetermined threshold, the FP Driver module reports key value A3 to the Input subsystem once. The volume control command corresponding to key value A3 is "volume increase by 5%". Thus, in this example, a single sliding operation by the user can achieve a continuous increase in volume.
[0128] Similarly, when the detected swipe direction is from top to bottom, and the swipe distance exceeds a predetermined threshold, the FPDriver module reports the key value A4 to the Input subsystem once. The volume control command corresponding to key value A4 is "volume decrease by 5%". Thus, in this example, a single swipe operation by the user can achieve a continuous decrease in volume.
[0129] As can be seen from the above, in this embodiment of the disclosure, the fingerprint recognition module can be used to realize volume control in multiple ways, enrich the volume adjustment methods, and improve the user experience.
[0130] In addition, the above embodiments of this disclosure describe the implementation method of device unlocking and target function control in the locked screen state. At the same time, in the device screen-on state, the solution of this disclosure is also compatible with the control function of the fingerprint recognition module in related technologies. Those skilled in the art can undoubtedly understand and fully implement it in combination with related technologies, and this disclosure will not elaborate further on this.
[0131] As can be seen from the above, in this embodiment of the present disclosure, in addition to using the fingerprint recognition module to realize fingerprint detection and volume control, more system functions can be realized, the system control methods can be enriched, and the user experience can be improved.
[0132] Secondly, this disclosure provides a device control apparatus that can be applied to electronic devices. The electronic device in this disclosure can be any device with a fingerprint recognition module, such as a smartphone, tablet computer, personal computer, wearable device, etc. This disclosure does not limit the specific type of electronic device.
[0133] like Figure 7 As shown, in some embodiments, the volume control device of this disclosure includes:
[0134] The state switching module 10 is configured to switch the working state of the fingerprint recognition module of the electronic device to the swipe detection state in response to receiving the screen lock signal of the electronic device.
[0135] The signal acquisition module 20 is configured to acquire the sliding operation signal collected by the fingerprint recognition module. The sliding operation signal is the signal generated by the continuous sliding operation of the object under test on the fingerprint sensing end of the fingerprint recognition module.
[0136] The function control module 30 is configured to control the target function of the electronic device according to the sliding operation signal.
[0137] As can be seen from the above, in this embodiment of the disclosure, by switching the working state of the fingerprint recognition module in the lock screen state, the fingerprint recognition module can be used to realize function control in the lock screen state, enrich the function of the fingerprint recognition module, and improve the user experience.
[0138] In some embodiments, the state switching module 10 is configured to: in the locked screen state, in response to detecting a fingerprint recognition signal, switch the working state of the fingerprint recognition module to a fingerprint detection state; wherein, the fingerprint recognition signal is a signal generated by a fingerprint recognition event;
[0139] The signal acquisition module 20 is configured to: acquire the fingerprint data to be tested collected by the fingerprint recognition module, and obtain the fingerprint recognition result based on the fingerprint data to be tested;
[0140] The state switching module 10 is configured to switch the working state of the fingerprint recognition module to the sliding detection state.
[0141] As can be seen from the above, in this embodiment of the disclosure, by switching the working state of the fingerprint recognition module in the locked screen state, the fingerprint recognition module can simultaneously realize device unlocking and target function control, thus enriching the functions of the fingerprint recognition module.
[0142] In some implementations, the fingerprint recognition module includes a target button, and the fingerprint recognition event includes a press event of the target button.
[0143] In some embodiments, the target function includes the volume adjustment function of the electronic device; the function control module 30 is configured to:
[0144] Generate a corresponding volume control command based on the sliding operation signal;
[0145] Adjust the current volume of the electronic device according to the volume control command.
[0146] In this embodiment of the disclosure, the fingerprint recognition module of the electronic device is used to adjust the volume of the electronic device, thereby eliminating the need to set volume buttons on the electronic device, saving costs and space, reducing design difficulty, and improving the structural strength and waterproof and dustproof sealing of the device.
[0147] In some embodiments, the function control module 30 is configured to:
[0148] The sliding direction and / or sliding distance are determined based on the sliding operation signal;
[0149] The volume control command is generated based on the sliding direction and / or sliding distance.
[0150] As can be seen from the above, in this embodiment of the disclosure, the fingerprint recognition module can be used to realize volume control in multiple ways, enrich the volume adjustment methods, and improve the user experience.
[0151] In some embodiments, the electronic device includes a mobile terminal, and the fingerprint recognition module is disposed on the side frame of the mobile terminal.
[0152] Thirdly, embodiments of this disclosure provide an electronic device, including:
[0153] processor; and
[0154] The memory stores computer instructions for causing the processor to perform the method according to any embodiment of the first aspect.
[0155] Fourthly, embodiments of this disclosure provide a storage medium storing computer instructions for causing the computer instructions to perform the method according to any embodiment of the first aspect.
[0156] Figure 8 The diagram illustrates the electronic device structure in some embodiments of this disclosure, which will be discussed below in conjunction with... Figure 8 Some embodiments of the electronic device described herein will be explained.
[0157] Reference Figure 8 The electronic device 1800 may include one or more of the following components: processing component 1802, memory 1804, power supply component 1806, multimedia component 1808, audio component 1810, input / output (I / O) interface 1812, sensor component 1816, and communication component 1818.
[0158] Processing component 1802 typically controls the overall operation of electronic device 1800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 1802 may include one or more processors 1820 to execute instructions. Furthermore, processing component 1802 may include one or more modules to facilitate interaction between processing component 1802 and other components. For example, processing component 1802 may include a multimedia module to facilitate interaction between multimedia component 1808 and processing component 1802. As another example, processing component 1802 may read executable instructions from memory to implement relevant functions of the electronic device.
[0159] Memory 1804 is configured to store various types of data to support the operation of electronic device 1800. Examples of this data include instructions for any application or method operating on electronic device 1800, contact data, phonebook data, messages, pictures, videos, etc. Memory 1804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0160] Power supply component 1806 provides power to various components of electronic device 1800. Power supply component 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 1800.
[0161] The multimedia component 1808 includes a display screen that provides an output interface between the electronic device 1800 and the user. In some embodiments, the multimedia component 1808 includes a front-facing camera and / or a rear-facing camera. When the electronic device 1800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera can receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
[0162] Audio component 1810 is configured to output and / or input audio signals. For example, audio component 1810 includes a microphone (MIC) configured to receive external audio signals when electronic device 1800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 1804 or transmitted via communication component 1818. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
[0163] I / O interface 1812 provides an interface between processing component 1802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0164] Sensor assembly 1816 includes one or more sensors for providing state assessments of various aspects of electronic device 1800. For example, sensor assembly 1816 can detect the on / off state of electronic device 1800, the relative positioning of components such as the display and keypad of electronic device 1800, changes in position of electronic device 1800 or a component of electronic device 1800, the presence or absence of user contact with electronic device 1800, the orientation or acceleration / deceleration of electronic device 1800, and temperature changes of electronic device 1800. Sensor assembly 1816 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 1816 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 1816 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0165] Communication component 1818 is configured to facilitate wired or wireless communication between electronic device 1800 and other devices. Electronic device 1800 can access wireless networks based on communication standards, such as Wi-Fi, 2G, 3G, 4G, 5G, or 6G, or combinations thereof. In one exemplary embodiment, communication component 1818 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 1818 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0166] In an exemplary embodiment, the electronic device 1800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0167] Obviously, the above embodiments are merely examples for clear illustration and are not intended to limit the embodiments. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is neither necessary nor possible to exhaustively list all embodiments here. However, obvious variations or modifications derived therefrom are still within the scope of protection of this disclosure.
Claims
1. A device control method, characterized in that, The method includes: In response to receiving a screen lock signal from the electronic device, the working state of the fingerprint recognition module of the electronic device is switched from fingerprint detection state to swipe detection state, the swipe detection state being used to recognize swipe operations generated on the fingerprint recognition module; The sliding operation signal collected by the fingerprint recognition module is obtained. The sliding operation signal is the signal generated by the continuous sliding operation of the object under test on the fingerprint sensing end of the fingerprint recognition module. The target function of the electronic device is controlled according to the sliding operation signal.
2. The method according to claim 1, characterized in that, Also includes: In the locked screen state, in response to the detection of a fingerprint recognition signal, the working state of the fingerprint recognition module is switched to fingerprint detection state; wherein, the fingerprint recognition signal is a signal generated by a fingerprint recognition event; The fingerprint recognition module acquires the fingerprint data to be tested and obtains the fingerprint recognition result based on the fingerprint data to be tested. Switch the working state of the fingerprint recognition module to the swipe detection state.
3. The method according to claim 2, characterized in that, The fingerprint recognition module includes a target button, and the fingerprint recognition event includes the press event of the target button.
4. The method according to claim 1, characterized in that, The target function includes the volume adjustment function of the electronic device; the control of the target function of the electronic device according to the sliding operation signal includes: Generate a corresponding volume control command based on the sliding operation signal; Adjust the current volume of the electronic device according to the volume control command.
5. The method according to claim 4, characterized in that, The step of generating a corresponding volume control command based on the sliding operation signal includes: The sliding direction and / or sliding distance are determined based on the sliding operation signal; The volume control command is generated based on the sliding direction and / or sliding distance.
6. The method according to any one of claims 1 to 5, characterized in that, The electronic device includes a mobile terminal, and the fingerprint recognition module is located on the side frame of the mobile terminal.
7. A device control apparatus, characterized in that, The device includes: A state switching module is configured to switch the operating state of the fingerprint recognition module of the electronic device from fingerprint detection state to swipe detection state in response to receiving a screen lock signal from the electronic device. The swipe detection state is used to recognize swipe operations generated on the fingerprint recognition module. The signal acquisition module is configured to acquire the sliding operation signal collected by the fingerprint recognition module. The sliding operation signal is the signal generated by the continuous sliding operation of the object under test on the fingerprint sensing end of the fingerprint recognition module. The function control module is configured to control the target function of the electronic device according to the sliding operation signal.
8. The apparatus according to claim 7, characterized in that, The state switching module is configured to: in the locked screen state, in response to the detection of a fingerprint recognition signal, switch the working state of the fingerprint recognition module to the fingerprint detection state; wherein, the fingerprint recognition signal is a signal generated by a fingerprint recognition event; The signal acquisition module is configured to: acquire the fingerprint data to be tested collected by the fingerprint recognition module, and obtain the fingerprint recognition result based on the fingerprint data to be tested; The state switching module is configured to switch the working state of the fingerprint recognition module to the swipe detection state.
9. An electronic device, characterized in that, include: processor; and A memory storing computer instructions for causing the processor to perform the method according to any one of claims 1 to 6.
10. A storage medium, characterized in that, The system stores computer instructions for instructing the computer instructions to use the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Multifunctional interaction way of mobile terminal under off state
CN107422961A
Working mode control method and device of fingerprint module and storage medium
CN112799497A
Fingerprint module and electronic equipment
CN208337636U