Control method and electronic equipment

By implementing sliding operations on the fingerprint recognition button of the notebook, the electronic device is controlled to evoke different functions, solving the problems of fixed functions and high complexity in the existing technology, and achieving functional expansion and user experience improvement.

CN119473025APending Publication Date: 2025-02-18LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411519478.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The physical button function of existing notebooks is fixed. Adding new functions requires adding new buttons, resulting in higher implementation complexity.

Method used

Through the input operation of the operating body on the target button for the fingerprint recognition function, the control electronic device realizes a target function different from the fingerprint recognition function, such as evoking different functions through sliding operations.

Benefits of technology

Functional expansion is achieved without adding hardware structure, improving user experience of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473025A_ABST
    Figure CN119473025A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and electronic equipment. The method comprises the steps of obtaining an input operation of an operation body on a target key; the target key is used for realizing a fingerprint identification function, and the target key is one of a plurality of input units included in an input device of the electronic equipment; according to the input operation, the electronic equipment is controlled to achieve a target function, and the target function is different from the fingerprint recognition function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic equipment, and in particular to a control method and electronic equipment. Background Art

[0002] Currently, fingerprint sensors can be configured on physical buttons of notebooks to achieve specific functions.

[0003] However, the function of each key is fixed. If a new function needs to be added, a new key needs to be added. For a physical laptop keyboard, the implementation complexity is relatively high. Summary of the invention

[0004] In view of this, the present application provides a control method and an electronic device as follows:

[0005] A control method, comprising:

[0006] Obtaining an input operation of an operating body on a target key; the target key is used to implement a fingerprint recognition function, and the target key is one of a plurality of input units included in an input device of an electronic device;

[0007] According to the input operation, the electronic device is controlled to implement a target function, where the target function is different from the fingerprint recognition function.

[0008] The above method, preferably, controls the electronic device to realize the target function according to the input operation, including:

[0009] In the case where it is detected that the input operation includes the first operation, obtaining a second operation in the input operation; the second operation is an operation of sliding on the target key;

[0010] According to the second operation, the electronic device is controlled to implement a target function.

[0011] In the above method, preferably, when it is detected that the input operation includes the first operation, the method further includes:

[0012] Starting a target application in the electronic device; the target application has the ability to utilize a target model, and the number of trainable parameters of the target model is greater than 100 million;

[0013] The target application has multiple application functions, and the target function is at least one function among the multiple application functions.

[0014] In the above method, preferably, the operation parameters of the second operation include: the operation direction of the second operation;

[0015] Among them, different operation directions correspond to different target functions.

[0016] In the above method, preferably, the operation direction of the second operation is obtained by:

[0017] Using the fingerprint sensor on the target button to collect multiple frames of continuous fingerprint images;

[0018] Identify fingerprint feature points in each frame of the fingerprint image;

[0019] The operation direction of the operating body on the target key is obtained according to the fingerprint feature points in the adjacent fingerprint images.

[0020] The above method preferably obtains the operation direction of the operating body on the target key according to the fingerprint feature points in the adjacent fingerprint image, including:

[0021] Obtaining a first relative position of a target feature point in a first image and a second relative position of the target feature point in a second image; the first image and the second image are two adjacent frames of the fingerprint image;

[0022] The moving direction of the operating body on the target key is obtained according to the positional relationship between the first relative position and the second relative position.

[0023] In the above method, preferably, when it is detected that the input operation includes the first operation, the method further includes:

[0024] Outputting function navigation information on a display interface of the electronic device;

[0025] The function navigation information is used to prompt the operation direction of the second operation and the target function corresponding to the operation direction.

[0026] In the above method, preferably, according to the second operation, controlling the electronic device to achieve the target function includes:

[0027] Obtaining a sliding end point position of the second operation on the target key;

[0028] According to the sliding end position, the electronic device is controlled to realize a target function; the target function is a function corresponding to the function icon at the sliding end position.

[0029] In the above method, preferably, the first operation is: touching the target key twice in succession;

[0030] Alternatively, the first operation is: touching the target button for a period of time exceeding a target duration.

[0031] An electronic device, comprising:

[0032] An input device; the input device comprises a plurality of input units;

[0033] A processor is used to obtain an input operation of an operating body on a target button; the target button is used to implement a fingerprint recognition function, and the target button is one of the multiple input units; according to the input operation, the electronic device is controlled to implement a target function, and the target function is different from the fingerprint recognition function.

[0034] A computer-readable storage medium stores a computer program / instruction, which implements any of the above-mentioned methods when executed by a processor.

[0035] A computer program product comprising a computer program / instruction, which, when executed by a processor, implements any of the methods described above

[0036] It can be seen from the above technical solutions that in a control method and electronic device disclosed in the present application, the electronic device can be controlled to realize a target function different from the fingerprint recognition function by inputting an operation on a target key for a fingerprint recognition function by an operating body, and the target key is one of a plurality of input units included in an input device of the electronic device. It can be seen that the present application can realize other functions through an independent input key for realizing a fingerprint recognition function, so that the input device does not need to increase the hardware structure, and can also realize function expansion, thereby improving the user experience of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0038] Figure 1 A flow chart of an implementation of a control method provided in an embodiment of the present application;

[0039] Figure 2 An example diagram of an electronic device to which the embodiments of the present application are applicable;

[0040] Figure 3 This is an example diagram of finger operation on a target key in an embodiment of the present application;

[0041] Figure 4 A partial flow chart of a control method provided in an embodiment of the present application;

[0042] Figure 5 Another partial flow chart of a control method provided in an embodiment of the present application;

[0043] Figure 6 Another partial flow chart of a control method provided in an embodiment of the present application;

[0044] Figure 7 This is an example diagram of obtaining a fingerprint image during finger sliding in an embodiment of the present application;

[0045] Figure 8 This is an example diagram of obtaining fingerprint feature points during finger sliding in an embodiment of the present application;

[0046] Fig. 9 This is an example diagram of obtaining the moving direction through adjacent fingerprint images in an embodiment of the present application;

[0047] Fig.10 This is an example diagram of detecting the sliding direction in an embodiment of the present application;

[0048] Fig.11 Another example diagram of detecting the sliding direction in an embodiment of the present application;

[0049] Fig.12 This is an example diagram of function navigation in an embodiment of the present application;

[0050] Fig.13 A partial flow chart of a control method provided in an embodiment of the present application;

[0051] Fig.14 This is an example diagram of a virtual cursor in an embodiment of the present application;

[0052] Fig.15 A structural view of a control device provided in an embodiment of the present application;

[0053] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0054] Fig.17 A flowchart for implementing functional expansion of the fingerprint module on a notebook computer applicable to this application;

[0055] Fig.18 This is an example diagram of the fingerprint module on the notebook computer used in this application for detecting the sliding direction;

[0056] Fig.19 This is another example diagram of the fingerprint module on a notebook computer used in the present application for detecting the sliding direction. DETAILED DESCRIPTION

[0057] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0058] refer to Figure 1 As shown, it is a flow chart of an implementation of a control method provided in an embodiment of the present application. The method can be applied to an electronic device having an input device and the input device includes multiple input units, such as a notebook with an integrated input keyboard or a tablet connected to a leather case keyboard, etc. Figure 2 As shown in . One of the input units in the input device is a target key, and the target key is used to implement the fingerprint recognition function. For example, the target key is a keyboard key equipped with a fingerprint sensor. The technical solution in this embodiment is mainly used to expand the input function of the input device, thereby improving the user experience of the electronic device.

[0059] Specifically, the method in this embodiment may include the following steps:

[0060] Step 101: Obtaining an input operation of an operating body on a target key.

[0061] For example, Figure 3 As shown in , a user performs at least one input operation such as touching, pressing, sliding, etc. on a target key on a notebook keyboard where a fingerprint sensor is deployed by using a finger.

[0062] Step 102: According to the input operation, control the electronic device to implement the target function.

[0063] Among them, the target function is different from the fingerprint recognition function.

[0064] Specifically, the target function is triggered when the input operation meets the trigger condition. For example, after obtaining the input operation, the present embodiment detects whether the input operation meets the trigger condition. If the input operation meets the trigger condition, the target function is aroused, that is, the electronic device is controlled to implement the target function. Specifically, the electronic device is controlled to execute at least one task corresponding to the target function to implement the target function.

[0065] Among them, the target function corresponds to the trigger condition satisfied by the input operation. That is to say, different trigger conditions make the target function realized by the electronic device different. The target function in this embodiment includes ordinary functions or AI functions, ordinary functions such as calling up the configuration page, automatically answering the video / voice conference, etc., and AI functions such as waking up the voice assistant, etc.

[0066] It can be seen from the above technical solution that in a control method provided by an embodiment of the present application, an electronic device can be controlled to realize a target function different from the fingerprint recognition function by inputting an operation of an operating body on a target key for a fingerprint recognition function, and the target key is one of a plurality of input units included in an input device of the electronic device. It can be seen that the present application can realize other functions through an independent input key for realizing a fingerprint recognition function, so that the input device does not need to increase the hardware structure, and can also realize function expansion, thereby improving the user experience of the electronic device.

[0067] In one implementation, the trigger condition may include: the input operation includes a first operation and a second operation, the second operation is different from the first operation, and the second operation is input after the first operation.

[0068] Specifically, in step 102, when controlling the electronic device to achieve the target function, it can be achieved in the following ways: Figure 4 As shown in:

[0069] Step 401: monitor whether the input operation includes the first operation; if it is monitored that the input operation includes the first operation, execute step 402; if the input operation does not include the first operation, it indicates that the target function does not need to be implemented at this time, and you can return to continue to obtain new input operations and then execute step 401 until the input operation includes the first operation, which indicates that the target function needs to be implemented at this time, and you can execute step 402.

[0070] Step 402: Obtain a second operation in the input operation.

[0071] The second operation is a sliding operation on the target key, that is, after the operating body performs the first operation on the target key, it performs a sliding operation on the target key.

[0072] Step 403: According to the second operation, control the electronic device to implement the target function.

[0073] The second operation is different from the first operation. The first operation can be understood as: an operation of entering the target function awakening mode, such as an operation of touching the target button twice in a row, an operation of pressing the target button twice in a row, and an operation of touching the target button for more than a target time. In this embodiment, after the first operation is detected, a second operation input by the operator after the first operation is obtained, and then the electronic device is controlled according to the second operation to realize the target function.

[0074] The second operation can be understood as an operation that evokes the target function. Different second operations evoke different target functions. Specifically, the second operation can have at least one operation parameter. When the parameter value of the operation parameter is different, the target function evoked by the second operation is different. For example, the operation parameters include: the operation direction of the second operation, that is, the sliding direction. Based on this, different operation directions correspond to different target functions, that is, when the operating body performs sliding operations with different sliding directions on the target button, different target functions on the electronic device can be evoked. For example, the target function evoked by the operating body sliding upward on the target button is the first function, and the target function evoked by the operating body sliding downward on the target button is the second function, and the second function is different from the first function.

[0075] Based on the above implementation, when the input operation including the first operation is detected in step 401, the method in this embodiment may also have the following processing, such as Figure 5 As shown in:

[0076] Step 404: Start the target application in the electronic device.

[0077] Among them, the target application can be an ordinary application, such as a photo album, email, etc., or it can have the ability to use the target model, which is not limited in this embodiment. The number of trainable parameters of the target model in this embodiment is greater than 100 million. For example, the target model can be a large language model LLM (Large Language Model). The target application can be a program that can call LLM, such as a voice assistant configured in a notebook. The large language model learns the statistical characteristics and laws of the language by training a large amount of text data, so that it can understand and generate natural language text. Large language models usually have parameters ranging from billions to hundreds of billions, which can capture complex relationships and patterns in language text.

[0078] Specifically, step 404 is performed before step 403. Step 404 may be performed after step 402, or before step 402, or step 404 may be performed synchronously with step 402.

[0079] It should be noted that the target application has multiple application functions, such as Vincent image, Vincent text, Vincent video, etc. Specifically, the target application can implement the corresponding application function by calling the target model or hardware component, etc. The target function is at least one function among the multiple application functions of the target application.

[0080] For example, after the operator touches the target button with the fingerprint sensor twice in a row, the notebook enters the mode of evok- ing the target function. In this mode, the voice assistant in the notebook is activated, and the voice assistant can implement functions such as Vincent map and Vincent text by calling LLM. Based on this, in response to the sliding operation of the operator on the target button, the notebook is controlled to implement the target function that matches the sliding direction in the voice assistant according to the sliding direction. For example, when the operator slides to the left on the target button, the Vincent map module of the voice assistant is activated on the notebook to implement the Vincent map function; for another example, when the operator slides to the right on the target button, the Vincent text module of the voice assistant is activated on the notebook to implement the Vincent text function, and so on.

[0081] Based on the above implementation, the operation direction of the second operation can be obtained by the following method: Figure 6 As shown in:

[0082] Step 601: Use the fingerprint sensor on the target button to collect multiple frames of continuous fingerprint images.

[0083] For example, Figure 7 As shown in , during the sliding operation of the operating body on the target button, the fingerprint sensor on the target button collects multiple frames of continuous fingerprint images at a preset time interval. The contact positions between the operating body and the fingerprint sensor in two adjacent fingerprint images are adjacent. For example, as the operating body slides to the right on the target button, the position of the operating body in the next fingerprint image is to the right of the position of the operating body in the previous fingerprint image.

[0084] Step 602: Identify fingerprint feature points in each frame of fingerprint image.

[0085] In this embodiment, the fingerprint feature points in each frame of the fingerprint image can be obtained by performing feature recognition on each frame of the fingerprint image through a recognition algorithm. Figure 8 as shown in .

[0086] Step 603: Obtain the operation direction of the operating body on the target key according to the fingerprint feature points in the adjacent fingerprint images.

[0087] Specifically, in step 603, the operation direction of the operating body on the target key can be obtained according to the corresponding relationship between the relative positions of the same fingerprint feature point in adjacent fingerprint images.

[0088] For example, in this embodiment, the first relative position of the target feature point in the first image and the second relative position of the target feature point in the second image can be obtained. The first image and the second image here are two adjacent frames of fingerprint images. Specifically, Fig. 9As shown in , the target feature point is the same feature point among the fingerprint feature points identified in the first image and the second image, such as the core point of the index finger fingerprint. The first relative position is the relative position of the target feature point relative to one side image edge of the first image, such as the left edge, and the second relative position is the relative position of the same target feature point relative to one side image edge of the second image, such as the left edge. Then, according to the positional relationship between the first relative position and the second relative position, the moving direction of the operating body on the target key is obtained.

[0089] Specifically, the first relative position and the second relative position are in a left-right or up-down position relationship. Based on this, in this embodiment, the moving direction of the operating body on the target key can be determined according to the sequence of the first image and the second image in terms of acquisition time.

[0090] For example, the second image is a fingerprint image collected after the first image, and the second relative position is rightward relative to the first relative position, which indicates that the operating body moves to the right on the target key. Fig.10 As shown in;

[0091] For another example, the second image is a fingerprint image collected after the first image, and the second relative position is lower left relative to the first relative position, which indicates that the operating body moves to the lower left on the target key. Fig.11 as shown in .

[0092] Based on the above implementation scheme, when it is detected in step 401 that the input operation includes the first operation, in this embodiment, function navigation information can also be output on the display interface of the electronic device.

[0093] The function navigation information is used to prompt the operation direction of the second operation and the target function corresponding to the operation direction.

[0094] Specifically, the function navigation information can use an arrow symbol to represent the operation direction, and use the display brightness of the arrow symbol in the corresponding display area to represent whether the operating body moves in the operation direction. At the same time, the function identifier of the target function can be displayed in the corresponding area of ​​the display area where the arrow symbol is located, such as an application icon or other characters or icons representing the target function.

[0095] For example, Fig.12As shown in , in this embodiment, after detecting that the operating body has touched the keyboard key where the fingerprint sensor is located twice in succession, a function navigation interface can be output on the laptop desktop. The function navigation interface includes four display areas, each of which presents an arrow symbol, respectively indicating that sliding in these four operation directions can be performed. Each display area can be distinguished by directions such as edge color or area color. Moreover, when the operating body slides in a certain operation direction, the display area in the operation direction can be highlighted, and the text of the target function corresponding to the operation direction is presented in the display area or in the adjacent area corresponding to the display area, such as the text "Venshengtu" representing the Vinshengtu function.

[0096] Based on the above implementation, step 403, when controlling the electronic device to implement the target function according to the second operation, can be implemented in the following ways: Fig.13 As shown in:

[0097] Step 1301: Obtain the sliding end position of the second operation on the target key.

[0098] Among them, in this embodiment, when the first operation is detected, the cursor position can be simulated on the electronic device according to the touch position of the operating body on the target key, which can be understood as controlling the position of the virtual cursor on the electronic device, and the virtual cursor and the real cursor on the electronic device can be the same or different. In other words, a control relationship between the operating body and the virtual cursor is established. Based on this, in this embodiment, the movement of the virtual cursor can be controlled in response to the sliding operation of the operating body on the target key. Therefore, after the operating body performs the second operation, the end point position of the sliding operation of the second operating body on the target key can be obtained, that is, the sliding end point position. The sliding end point position, that is, the virtual cursor position, corresponds to a function icon on the display interface of the electronic device.

[0099] Step 1302: Control the electronic device to achieve the target function according to the sliding end point position.

[0100] The target function is the function corresponding to the function icon at the sliding end position.

[0101] For example, Fig.14 As shown in , after the operator touches the target button twice in succession, the notebook establishes a control relationship between the virtual cursor and the operator, and the operator controls the movement of the virtual cursor on the notebook by sliding. When the operator ends sliding, that is, the second operation ends, the sliding end position of the sliding operation is obtained, and the sliding end position corresponds to the position of the virtual cursor. The sliding end position, that is, the virtual cursor position, corresponds to a function icon on the desktop of the notebook, such as a browser icon or a document editing application icon. Based on this, the notebook is controlled to start the browser or document editing application corresponding to the function icon corresponding to the virtual cursor position.

[0102] refer to Fig.15 , is a structural diagram of a control device provided in an embodiment of the present application, the control device can be configured in an electronic device having an input device and the input device includes multiple input units, such as a notebook with an integrated input keyboard or a tablet connected to a leather keyboard, etc. Figure 2 As shown in . One of the input units in the input device is a target key, and the target key is used to implement the fingerprint recognition function. For example, the target key is a keyboard key equipped with a fingerprint sensor. The technical solution in this embodiment is mainly used to expand the input function of the input device, thereby improving the user experience of the electronic device.

[0103] Specifically, the device in this embodiment may include the following units:

[0104] An operation obtaining unit 1501 is used to obtain an input operation of an operating body on a target key; the target key is used to implement a fingerprint recognition function, and the target key is one of a plurality of input units included in an input device of an electronic device;

[0105] The function control unit 1502 is used to control the electronic device to implement a target function according to the input operation, where the target function is different from the fingerprint recognition function.

[0106] It can be seen from the above technical solution that in a control device provided by an embodiment of the present application, an electronic device can be controlled to realize a target function different from the fingerprint recognition function by inputting an operation of an operating body on a target key for a fingerprint recognition function, and the target key is one of a plurality of input units included in an input device of the electronic device. It can be seen that the present application can realize other functions through an independent input key for realizing a fingerprint recognition function, so that the input device does not need to increase the hardware structure, and can also realize function expansion, thereby improving the user experience of the electronic device.

[0107] In one implementation, the function control unit 1502 is specifically used to obtain a second operation in the input operation when it is detected that the input operation includes a first operation; the second operation is an operation of sliding on the target key; and according to the second operation, the electronic device is controlled to implement the target function.

[0108] Among them, when the function control unit 1502 detects that the input operation includes the first operation, it is also used to: start the target application in the electronic device; the target application has the ability to utilize a target model, and the number of trainable parameters of the target model is greater than 100 million; the target application has multiple application functions, and the target function is at least one function among the multiple application functions.

[0109] Preferably, the operating parameters of the second operation include: an operating direction of the second operation; wherein different operating directions correspond to different target functions.

[0110] Based on this, the function control unit 1502 is also used to: obtain the operation direction of the second operation in the following manner: use the fingerprint sensor on the target button to collect multiple frames of continuous fingerprint images; identify the fingerprint feature points in each frame of the fingerprint image; and obtain the operation direction of the operating body on the target button based on the fingerprint feature points in the adjacent fingerprint images.

[0111] Among them, when the function control unit 1502 obtains the operation direction of the operating body on the target key based on the fingerprint feature points in the adjacent fingerprint images, it is specifically used to: obtain the first relative position of the target feature point in the first image and the second relative position of the target feature point in the second image; the first image and the second image are two adjacent frames of the fingerprint image; according to the positional relationship between the first relative position and the second relative position, obtain the moving direction of the operating body on the target key.

[0112] Based on this, when the function control unit 1502 detects that the input operation includes a first operation, it is also used to: output function navigation information on the display interface of the electronic device; wherein the function navigation information is used to prompt the operation direction of the second operation and the target function corresponding to the operation direction.

[0113] Among them, when the function control unit 1502 controls the electronic device to implement the target function according to the second operation, it is specifically used to: obtain the sliding end position of the second operation on the target button; according to the sliding end position, control the electronic device to implement the target function; the target function is the function corresponding to the function icon at the sliding end position.

[0114] Specifically, the first operation is: an operation of touching the target key twice in succession; or, the first operation is: an operation of touching the target key for more than a target time period.

[0115] It should be noted that the specific implementation method of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0116] refer to Fig.16 , is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, and the electronic device may include the following structure:

[0117] Input device 1601; the input device 1601 includes a plurality of input units 1611;

[0118] Processor 1602 is used to obtain an input operation of an operating body on a target button; the target button is used to implement a fingerprint recognition function, and the target button is one of the multiple input units; according to the input operation, the electronic device is controlled to implement a target function, and the target function is different from the fingerprint recognition function.

[0119] It can be seen from the above technical solution that in an electronic device provided by an embodiment of the present application, the electronic device can be controlled to realize a target function different from the fingerprint recognition function by inputting an operation of an operating body on a target key for a fingerprint recognition function, and the target key is one of a plurality of input units included in an input device of the electronic device. It can be seen that the present application can realize other functions through an independent input key for realizing a fingerprint recognition function, so that the input device does not need to increase the hardware structure, and can also realize function expansion, thereby improving the user experience of the electronic device.

[0120] Taking a notebook as an example, this application uses a fingerprint module in the keyboard and a key with a fingerprint sensor to achieve extended functions, call or execute other functions.

[0121] After adopting the technical solution of this application, the following advantages can be achieved:

[0122] 1. No need to modify the existing keyboard design, you can directly add silk screen printing on the fingerprint module to realize the expansion function icon;

[0123] 2. Extended functions can be implemented, executed or called through key actions. For example, sliding a finger up and down, left and right on the surface of the fingerprint module can implement at least four corresponding extended functions.

[0124] For example, Fig.17 As shown in , the fingerprint module is in the fingerprint collection mode, and the user's finger performs input operation on the button. If the notebook does not detect the operation of placing the finger on the fingerprint module, the fingerprint module continues to be in the fingerprint collection mode. If the notebook detects that the finger is placed on the fingerprint module, then detecting whether the finger leaves the fingerprint module is leaving the fingerprint module. If the finger leaves the fingerprint module, then continue to the next step of detection, such as monitoring whether the button is double-clicked; if the mobile phone does not leave the fingerprint module, it can be determined that the first operation is detected, that is, the finger touches the fingerprint module for more than the target time. At this time, enter the other function awakening mode of the fingerprint module; then, detect whether the finger slides on the fingerprint module. If there is sliding, then detect the sliding direction. If it is sliding downward, then wake up the corresponding function of sliding downward; if it is sliding to the left, then wake up the corresponding function of sliding to the left; if it is sliding upward, then wake up the corresponding function of sliding upward; if it is sliding to the right, then wake up the corresponding function of sliding to the right.

[0125] The detection of the sliding direction can be achieved by detecting the relative position change of the same fingerprint feature point relative to the left edge of the fingerprint image. Fig.18 and Fig.19 As shown in , the relative position of the fingerprint feature point is represented by the distance relative to the left edge of the fingerprint image, and the position states of the fingerprint feature point are represented by ①, ②, ③, and ④ respectively. The distance of the fingerprint feature point relative to the left edge of the fingerprint image is represented by the size relationship between a and b; the distance of the fingerprint feature point relative to the upper edge of the fingerprint image is represented by the size relationship between c and d. Based on this, if the position of the fingerprint feature point slides from state ① to state ②, then the sliding direction can be determined to be sliding to the right; if the position of the fingerprint feature point slides from state ② to state ①, then the sliding direction can be determined to be sliding to the left; if the position of the fingerprint feature point slides from state ③ to state ④, then the sliding direction can be determined to be sliding downward; if the position of the fingerprint feature point slides from state ④ to state ③, then the sliding direction can be determined to be sliding upward.

[0126] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0127] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0128] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0129] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A control method, comprising: Obtaining an input operation of an operating body on a target key; the target key is used to implement a fingerprint recognition function, and the target key is one of a plurality of input units included in an input device of an electronic device; According to the input operation, the electronic device is controlled to implement a target function, where the target function is different from the fingerprint recognition function.

2. The method according to claim 1, controlling the electronic device to implement a target function according to the input operation, comprising: In a case where it is detected that the input operation includes a first operation, obtaining a second operation in the input operation; The second operation is an operation of sliding on the target button; According to the second operation, the electronic device is controlled to implement a target function.

3. The method according to claim 2, when it is detected that the input operation includes a first operation, the method further comprises: Starting a target application in the electronic device; The target application has the ability to utilize a target model, the number of trainable parameters of the target model being greater than 100 million; The target application has multiple application functions, and the target function is at least one function among the multiple application functions.

4. The method according to claim 2, wherein the operating parameters of the second operation include: an operation direction of the second operation; Among them, different operation directions correspond to different target functions.

5. The method according to claim 4, wherein the operation direction of the second operation is obtained by: Using the fingerprint sensor on the target button to collect multiple frames of continuous fingerprint images; Identify fingerprint feature points in each frame of the fingerprint image; The operation direction of the operating body on the target key is obtained according to the fingerprint feature points in the adjacent fingerprint images.

6. The method according to claim 5, obtaining the operation direction of the operating body on the target key according to the fingerprint feature points in the adjacent fingerprint image, comprises: Obtaining a first relative position of a target feature point in the first image and a second relative position of the target feature point in the second image; The first image and the second image are two adjacent frames of fingerprint images; The moving direction of the operating body on the target key is obtained according to the positional relationship between the first relative position and the second relative position.

7. The method according to claim 4, in the case where it is detected that the input operation includes a first operation, the method further comprises: Outputting function navigation information on a display interface of the electronic device; The function navigation information is used to prompt the operation direction of the second operation and the target function corresponding to the operation direction.

8. The method according to claim 2, controlling the electronic device to implement a target function according to the second operation, comprising: Obtaining a sliding end point position of the second operation on the target key; According to the sliding end position, the electronic device is controlled to realize a target function; the target function is a function corresponding to the function icon at the sliding end position.

9. The method according to claim 2, wherein the first operation is: touching the target key twice in succession; Alternatively, the first operation is: touching the target button for a period of time exceeding a target duration.

10. An electronic device, comprising: Input device; The input device includes a plurality of input units; A processor, used for obtaining an input operation of an operating body on a target key; The target button is used to implement a fingerprint recognition function, and the target button is one of the multiple input units; according to the input operation, the electronic device is controlled to implement a target function, and the target function is different from the fingerprint recognition function.