Processing method and equipment
By setting the target area in the acquisition area of the fingerprint acquisition device and sensing the sensing parameters of the target area in real time, determining the moving operation of the finger, the problem of inaccurate detection results in the prior art is solved, and higher accuracy is achieved.
Patent Information
- Application Number
- CN202411999593.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-18
AI Technical Summary
In the prior art, when detecting finger movement operations, the fingerprint image is susceptible to factors such as impurities on the finger and the severity of the press, resulting in inaccurate detection results.
By setting a target area in the acquisition area of the fingerprint acquisition device and sensing the sensing parameters of the target area in real time in the first working mode, the moving operation of the finger is determined. Meanwhile, the pressure operation of the finger may optionally be determined in combination with the pressure sensing information.
By determining the movement operation based only on the induction information of a part of the target area in the acquisition area, the influence of interference factors such as impurities and the severity of the press can be avoided, and the accuracy of the detection results can be improved.
Smart Images

Figure CN119851321A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a processing method and a device. Background Art
[0002] Some electronic devices can use a fingerprint collection device to collect fingerprint images when the finger is located on the surface of the fingerprint collection device, and detect the movement of the finger by comparing the fingerprint image.
[0003] However, the detected fingerprint image will be affected by various interference factors, such as impurities on the finger (such as water stains) and the intensity of the finger pressure, resulting in inaccurate detection results when detecting mobile operations based on fingerprint images. Summary of the invention
[0004] To this end, this application discloses the following technical solutions:
[0005] The first aspect of the present application provides a processing method, comprising
[0006] Obtaining a first trigger instruction;
[0007] In response to a first trigger instruction, the fingerprint collection device is controlled to be in a first working mode, wherein the fingerprint collection device is in the first working mode, a target area of a collection area of the fingerprint collection device is in a working state, and the target area is a partial area of the collection area;
[0008] Obtaining first sensing information, where the first sensing information is a sensing parameter sensed by a target area of a collection area of the fingerprint collection device;
[0009] Determine, based on the first sensing information, a movement operation of a first finger located on the acquisition area;
[0010] The target area at least serves as an area for collecting fingerprints of the second finger in the second working mode.
[0011] Optionally, also include:
[0012] Obtaining pressure sensing information, where the pressure sensing information comes from a first target area, and the first target area belongs to the plurality of target areas;
[0013] Based on the pressure sensing information, a pressure operation of a first finger located on the acquisition area is determined.
[0014] Optionally, also include:
[0015] Obtaining pressure sensing information, where the pressure sensing information comes from a first target area, and the first target area belongs to the plurality of target areas;
[0016] The determining, based on the first sensing information, the movement operation of the first finger located on the acquisition area includes:
[0017] Based on the first sensing information and the pressure sensing information, a movement operation of a first finger located on the acquisition area is determined.
[0018] Optionally, in response to the first trigger instruction, controlling the fingerprint collection device to be in the first working mode further includes:
[0019] Obtaining fingerprint sensing information, wherein the fingerprint sensing information is a fingerprint parameter sensed by a non-target area of the collection area of the fingerprint collection device; the fingerprint collection device is in a first working mode, and the non-target area of the collection area of the fingerprint collection device is in a working state;
[0020] The determining, based on the first sensing information, the movement operation of the first finger located on the acquisition area includes:
[0021] Based on the first sensing information and the fingerprint sensing information, a movement operation of a first finger located on the collection area is determined.
[0022] Optionally, obtaining the first trigger instruction includes:
[0023] If the application program in the running state belongs to the target application, the first trigger instruction is obtained.
[0024] Optionally, at least one of the following is also included:
[0025] If the running application is a camera application and is in preview mode, controlling the camera to adjust the focus based on the movement operation;
[0026] Locking the focus of the camera based on a first pressure operation;
[0027] The camera is triggered to capture and store the captured image based on the second pressure operation.
[0028] Optionally, at least one of the following is also included:
[0029] If the running application is a camera application and is in a preview mode, switching different cameras is controlled based on the movement operation corresponding to the first pressure operation;
[0030] The target camera is controlled to adjust the focal length based on the movement operation corresponding to the second pressure operation.
[0031] A second aspect of the present application provides an electronic device, including:
[0032] ontology;
[0033] a display screen, at least a portion of which is located on the first surface of the body;
[0034] A fingerprint collection device is located in the body, and a collection area of the fingerprint collection device is exposed through an opening on the second surface of the body, wherein the fingerprint collection device includes a first working mode and a second working mode, the fingerprint collection device is in the first working mode, a target area of the collection area of the fingerprint collection device is in a working state, and the target area is a partial area of the collection area;
[0035] A processor is located in the body, and the processor is used for:
[0036] Obtaining a first trigger instruction;
[0037] In response to the first trigger instruction, the fingerprint collection device is controlled to be in a first working mode;
[0038] Obtaining first sensing information, where the first sensing information is a sensing parameter sensed by a target area of a collection area of the fingerprint collection device;
[0039] Determine, based on the first sensing information, a movement operation of a first finger located on the acquisition area;
[0040] The target area at least serves as an area for collecting fingerprints of the second finger in the second working mode.
[0041] Optionally, there are multiple target areas, and the surface of the first target area among the multiple target areas is a piezoelectric material. The piezoelectric material is used to convert the electrical signal generated by the fingerprint collection device into an ultrasonic signal, and to convert the ultrasonic reflection signal into an electrical signal, so that the fingerprint collection device obtains pressure sensing information according to the converted electrical signal.
[0042] Optionally, it also includes: at least one camera. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0044] Figure 1 is a flowchart of a processing method provided in an embodiment of the present application;
[0045] Figure 2 is a schematic diagram of determining a first movement operation according to first sensing information provided by an embodiment of the present application;
[0046] Figure 3 is a schematic diagram of an electronic device provided in an embodiment of the present application;
[0047] Figure 4 It is a structural schematic diagram of a fingerprint collection device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] 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.
[0049] This application embodiment provides a processing method, see Figure 1 , the method may include the following steps.
[0050] S101, obtaining a first trigger instruction.
[0051] The method of this embodiment may be executed by a processor of an electronic device.
[0052] The processor may obtain the first trigger instruction in the following manner:
[0053] If the application program in the running state belongs to the target application, a first trigger instruction is obtained.
[0054] The processor may determine one or more installed applications as target applications based on user settings or default configurations, for example, it may determine that a camera application, a video playback application, and an album application are target applications. Thus, the processor may periodically determine whether an application in a running state is a target application, and obtain the first trigger instruction if it is a target application, and not obtain the first trigger instruction if it is not a target application.
[0055] The processor may also obtain the first trigger instruction in the following manner:
[0056] In response to detecting a first trigger operation, a first trigger instruction is obtained.
[0057] The first trigger operation is a predefined operation for triggering the first working mode, and its form is not limited. For example, it can be an operation in which a user clicks a specific trigger control displayed on a display screen, or it can be a specific gesture operation.
[0058] The processor may also obtain the first trigger instruction in the following manner:
[0059] If the application program in the running state belongs to the target application and the target application is in the target mode, a first trigger instruction is obtained.
[0060] For each target application, one or more modes of the target application can be pre-set as the target mode of the target application. When the processor determines that the running application belongs to the target application, it further determines whether the target application is currently in the target mode. If it is in the target mode, the first trigger instruction is obtained; if it is not in the target mode, the first trigger instruction is not obtained.
[0061] For example, the target mode of a camera application may be a shooting preview mode, the target mode of an album application may be an image preview mode, and the target mode of a video application may be a full-screen playback mode.
[0062] S102, responding to a first trigger instruction, controlling the fingerprint collection device to be in a first working mode, wherein the fingerprint collection device is in the first working mode, a target area of a collection area of the fingerprint collection device is in a working state, and the target area is a partial area of the collection area.
[0063] The collection area may have one or more target areas. For example, the collection area may be an elongated rectangular area on the surface of the electronic device, and parts of the areas at both ends of the collection area serve as two target areas.
[0064] When the fingerprint collection device is in the first working mode, only the target area may be in the working state, and the non-target area may not be in the working state, or all the collection areas may be in the working state.
[0065] When in the first working mode, the processor can determine the movement operation of the finger on the acquisition area to execute an instruction corresponding to the movement operation on an application currently running in the electronic device at least according to the movement operation.
[0066] S103, obtaining first sensing information, where the first sensing information is sensing parameters sensed in a target area of a collection area of the fingerprint collection device.
[0067] When the target area is in a working state, the fingerprint collection device can obtain the sensing parameters of the target area in real time, and provide the obtained sensing parameters as the first sensing information to the processor.
[0068] The sensing parameter of the target area may be a capacitive sensing parameter. When a finger contacts the target area, different positions of the target area have different capacitance values corresponding to different positions, depending on the strength of the finger pressing and the degree of contact between the finger skin and the target area. The fingerprint collection device may obtain the capacitive sensing parameter representing the capacitance value of each position as the first sensing information.
[0069] The sensing parameter of the target area may be an ultrasonic sensing parameter. When the target area is in working state, the fingerprint acquisition device may convert the electrical signal into an ultrasonic signal and transmit it to the target area. When the finger touches the target area, the ultrasonic signal will be reflected by the finger to form an ultrasonic reflection signal. The fingerprint acquisition device may convert the ultrasonic reflection signal into an electrical signal. Different positions of the target area have different degrees of contact with the finger skin, so that the strength of the ultrasonic reflection signal at different positions is also different. The strength of the electrical signal converted from ultrasonic reflection signals of different strengths is also different. The fingerprint acquisition device may detect the strength of the converted electrical signal to obtain the ultrasonic sensing parameter representing the strength of the ultrasonic reflection signal corresponding to each position as the first sensing information.
[0070] S104, determining a movement operation of a first finger located on a collection area based on the first sensing information, wherein the target area at least serves as an area for collecting fingerprints of a second finger in the second working mode.
[0071] The first finger and the second finger may belong to the same user or to different users, and the first finger and the second finger may be the same finger of the same user or different fingers of the same user.
[0072] The movement operation of the first finger may include a movement direction and a movement distance of the first finger.
[0073] The processor can obtain the first sensing information at different moments, determine the position information at each moment according to the first sensing information at each moment, and further determine the moving direction and moving distance of the first finger according to the position information at different moments.
[0074] The beneficial effects of this embodiment are:
[0075] The electronic device determines the movement operation of the first finger on the collection area based on the first sensing information of a part of the target area of the collection area. Compared with the method of determining the movement operation by comparing the fingerprint image, determining the movement operation only based on the first sensing information obtained from a part of the collection area can avoid the influence of interference factors and is conducive to more accurate determination of the movement operation.
[0076] See also Figure 2 Based on the first sensing information, the method of determining the movement operation of the first finger located on the acquisition area may be:
[0077] The target area may be a long rectangular area. The first sensing information obtained by the processor at any time may include: Figure 2 The processor can determine the sensing parameters of multiple positions of the target area shown in (1) based on the sensing parameters and position parameters of these positions. Figure 2The sensing parameter curve at this moment is shown in (2). The ordinate of the sensing parameter curve is the value of the sensing parameter, and the abscissa is the value of the position parameter.
[0078] The position parameter of each position represents the distance of the position from one end of the long side of the target area. Figure 2 The parameters in (3) range from 10 to 100.
[0079] When there are multiple positions with the same position parameter, the average value of the sensing parameters of the multiple positions can be taken as the value of the ordinate corresponding to the position parameter in the sensing parameter curve.
[0080] by Figure 2 (1) is an example. Assuming that there are two positions with position parameters of 70 in the target area, and the sensing parameters of the two positions are 50 and 60 respectively, it can be determined that the vertical coordinate value corresponding to the position parameter 70 in the sensing parameter curve is 55.
[0081] After obtaining the sensing parameter curve at any moment, the point with the largest ordinate value can be determined in the curve, and the position parameter of the point can be determined as the position information at that moment.
[0082] Alternatively, the weight of each point in the curve can be determined based on its ordinate value. The larger the ordinate value, the larger the corresponding weight. Then, the position parameters of each point in the curve are weighted averaged based on the weight of each point, and the result is used as the position information at that moment.
[0083] After obtaining the position information at multiple moments in the above manner, the moving direction and moving distance of the first finger can be determined according to the increasing or decreasing trend of the position information at multiple consecutive moments and the difference between the multiple position information.
[0084] For example, assuming that the position information at the previous moment is 75 and the position information at the next moment is 50, it can be determined that the moving direction is the second direction and the moving distance is 25. Assuming that the position information at the previous moment is 30 and the position information at the next moment is 65, it can be determined that the moving direction is the first direction and the moving distance is 35.
[0085] In some embodiments, the electronic device may also:
[0086] Obtaining a second trigger instruction;
[0087] In response to the second trigger instruction, the fingerprint collection device is controlled to be in a second working mode, wherein the fingerprint collection device is in the second working mode and the target area of the collection area of the fingerprint collection device is in a working state;
[0088] Obtaining second sensing information, where the second sensing information is a sensing parameter sensed by a target area of a collection area of a fingerprint collection device;
[0089] In response to the second sensing information, obtaining third sensing information through a collection area of the fingerprint collection device;
[0090] Based on the third sensing information, the identity of the user corresponding to the second finger located on the collection area is verified.
[0091] The processor can obtain a second trigger instruction based on the operation of waking up the electronic device. For example, when the display screen is not working, the user can click the display screen or press a specific physical button on the electronic device. The processor can identify the operation as an operation to wake up the device and obtain a second trigger instruction.
[0092] The processor can determine the operations performed by the currently running application, and obtain a second trigger instruction when it is determined that the application performs an operation that requires identity verification. For example, when it is determined that the application performs an account login operation, the second trigger instruction is obtained; when it is determined that the application performs an online payment operation or an online transfer operation, the second trigger instruction is obtained.
[0093] The method for obtaining the second sensing information is the same as the method for obtaining the first sensing information, and will not be described in detail.
[0094] In response to obtaining the second sensing information, the processor may determine whether the second sensing information satisfies a specific condition. If the specific condition is satisfied, the third sensing information is obtained through the collection area; if the specific condition is not satisfied, the third sensing information is not obtained through the collection area.
[0095] The specific condition may be that an average value or a sum of all sensing parameters included in the second sensing information is greater than a certain threshold, or at least one sensing parameter included in the second sensing information is greater than a certain threshold.
[0096] The third sensing information may include sensing parameters of various positions on the acquisition area, for example, capacitive sensing parameters of various positions on the acquisition area, or ultrasonic sensing parameters of various positions on the acquisition area.
[0097] Based on the third sensing information, the processor can collect a fingerprint image of a second finger in the area, compare the fingerprint image with a fingerprint image stored in a memory of the electronic device, and verify the identity of the user corresponding to the second finger based on the comparison result.
[0098] Optionally, when the fingerprint collection device is in the first working mode, the processor may also determine the pressure operation in the following manner:
[0099] Obtaining pressure sensing information, where the pressure sensing information comes from a first target area, and the first target area belongs to the plurality of target areas;
[0100] Based on the pressure sensing information, a pressure operation of a first finger located on the acquisition area is determined.
[0101] The pressure sensing information may include pressure sensing parameters of multiple positions on the first target area, and the pressure sensing parameter of each position may represent the magnitude of the pressure applied to the position.
[0102] Pressure sensing information can be obtained through several piezoelectric test points included in the fingerprint collection device. The piezoelectric test point can convert the pressure exerted on the point into an electrical signal. The strength of the electrical signal is related to the magnitude of the pressure. The fingerprint collection device can obtain the strength of the electrical signal output by these piezoelectric test points as the above-mentioned pressure sensing parameter.
[0103] The pressure operation may be an operation of pressing the collection area with the first finger. After the processor obtains the pressure sensing information, it may determine whether the pressure sensing information satisfies the conditions for the pressure operation. If so, it is determined that the pressure operation is obtained; otherwise, it is determined that no pressure operation is obtained.
[0104] The condition for the pressure operation may be that at least one pressure sensing parameter contained in the pressure sensing information is greater than a certain threshold, or the average value or sum of the pressure sensing parameters contained in the pressure sensing information is greater than a certain threshold.
[0105] Optionally, when determining a pressure operation, the processor may also determine different pressure operations based on different pressure sensing information. For example, a first pressure operation may be obtained when the average value of the pressure sensing parameters contained therein is greater than a first threshold and less than or equal to a second threshold, and a second pressure operation may be obtained when the average value of the pressure sensing parameters contained therein is greater than the second threshold.
[0106] After obtaining the pressure operation, the electronic device can execute the instructions corresponding to the pressure operation on the currently running electronic device based on the pressure operation. The instructions corresponding to the pressure operation may be the same as the instructions corresponding to the click operation in some cases. For example, it may be instructions to trigger a control displayed on the screen, start a specific function, jump to a specific interface, etc.
[0107] Optionally, the processor may execute different instructions according to different pressure operations obtained, for example, when a first pressure operation is obtained, the processor may execute instructions corresponding to the first pressure operation, and when a second pressure operation is obtained, the processor may execute instructions corresponding to the second pressure operation.
[0108] Optionally, the processor may also:
[0109] Obtaining pressure sensing information, the pressure sensing information coming from a first target area, the first target area belonging to the plurality of target areas;
[0110] After obtaining the pressure sensing information, the moving operation can be determined by combining the pressure sensing information and the first sensing information, that is:
[0111] Based on the first sensing information and the pressure sensing information, a movement operation of a first finger located on the acquisition area is determined.
[0112] A method of determining the moving operation by combining the first sensing information and the pressure sensing information is: the processor can determine whether the first finger presses the collection area according to the pressure sensing information; if it is determined that the first finger presses the collection area, the moving operation can be determined according to the first sensing information in S104; if it is determined that the first finger does not press the collection area, it can be determined that the target area is accidentally touched, the obtained first sensing information is ignored, and the moving operation is not determined according to the first sensing information;
[0113] Among them, the processor can determine the size of the pressure sensing parameters of multiple positions in the pressure sensing information. If the average value of the pressure sensing parameters of multiple positions is greater than a certain threshold, or the pressure sensing parameters of at least one position are greater than a certain threshold, it is determined that the first finger pressed the collection area. If the above conditions are not met, it is determined that the first finger did not press the collection area.
[0114] In the above embodiment, the processor can detect whether the first finger presses the collection area based on the pressure sensing information, and then determine whether to respond to the first sensing information to determine the movement operation based on whether it is pressed. In this way, when the finger, clothing or other objects accidentally touch the collection area, the electronic device can be prevented from responding to the movement operation and executing erroneous instructions, thereby achieving the effect of preventing accidental touch.
[0115] One way to determine a moving operation by combining the first sensing information and the pressure sensing information is that the processor can also determine the pressure sliding direction and the pressure sliding distance based on the pressure sensing information. Referring to the previous method of determining a moving operation based on the first sensing information, the processor can determine a pressure sensing parameter curve with the pressure sensing parameters as the vertical coordinate and the position parameters as the horizontal coordinate based on the pressure sensing parameters of different positions in the pressure sensing information at any moment, and then obtain the pressure position information corresponding to the moment by weighted averaging or determining the point with the largest vertical coordinate value, and then determine the pressure sliding direction and the pressure sliding distance based on the pressure position information at multiple moments.
[0116] Furthermore, the processor can determine the moving direction and moving distance based on the first sensing information, and then compare the pressure sliding distance and the moving distance, and compare the pressure sliding direction and the moving direction. If the pressure sliding distance and the moving distance differ greatly, or the pressure sliding direction and the moving direction are opposite, the processor determines that the first sensing information obtained is incorrect, and may not determine the moving operation, nor execute the corresponding instruction based on the moving operation. If the pressure sliding distance and the moving distance differ slightly, and the pressure sliding direction and the moving direction are the same, the processor determines that the first sensing information obtained is correct, and may continue to execute the corresponding instruction based on the determined moving operation.
[0117] Optionally, since the target area is part of the collection area, when the finger touches the target area, it often touches the non-target area at the same time. Therefore, when the fingerprint collection device is in the first working mode, the non-target area of the collection area can also be in a working state. Correspondingly, the processor can obtain fingerprint sensing information in the following manner:
[0118] Obtaining fingerprint sensing information, where the fingerprint sensing information is a fingerprint parameter sensed by a non-target area of a collection area of a fingerprint collection device; the fingerprint collection device is in a first working mode, and the non-target area of the collection area of the fingerprint collection device is in a working state;
[0119] Determining the movement operation of the first finger located on the acquisition area based on the first sensing information includes:
[0120] Based on the first sensing information and the fingerprint sensing information, a movement operation of a first finger located on the collection area is determined.
[0121] The fingerprint sensing information may include fingerprint sensing parameters sensed at multiple locations in the non-target area. These fingerprint sensing parameters can characterize the fingerprint of the surface of the part of the finger that contacts the non-target area. The fingerprint sensing parameters may be capacitive sensing parameters or ultrasonic sensing parameters. The method of obtaining these sensing parameters refers to the content of the sensing parameters of the target area in the above embodiment, which will not be repeated here.
[0122] A method of determining a mobile operation by combining the first sensing information and the fingerprint sensing information may be to determine the mobile operation according to the fingerprint sensing information at different times when the fingerprint sensing information at different times can be obtained, and to determine the mobile operation according to the first sensing information at different times when the fingerprint sensing information at different times cannot be obtained.
[0123] Compared with the first sensing information, the mobile operation based on the fingerprint sensing information can be determined with higher accuracy. For example, the moving distance based on the first sensing information can only be determined in units of 5 mm, while the moving distance based on the fingerprint sensing information can be determined in units of 0.5 mm. Therefore, when there is no interference from other impurities, the fingerprint collection device can obtain fingerprint sensing information at different times from the non-target area. At this time, the fingerprint sensing information can be used to determine the mobile operation. When there are water stains, dust or other impurities on the finger, the fingerprint collection device may not be able to obtain fingerprint sensing information at different times from the non-target area. In this case, the mobile operation can be determined by the first sensing information to meet the corresponding operation requirements.
[0124] One way to determine a mobile operation by combining the first sensing information and the fingerprint sensing information may be to determine the needs of a currently running application. If the content displayed by the currently running application needs to be adjusted based on the mobile operation, the mobile operation may be determined based on the first sensing information to avoid the determined mobile operation being interfered with by impurities on the finger. If the application parameters of the currently running application need to be adjusted based on the mobile operation, the mobile operation may be determined based on the fingerprint sensing information so as to adjust the application parameters with higher accuracy.
[0125] For example, if you need to move the interface of the currently running application to the top or bottom of the screen based on a moving operation, you can determine the moving operation based on the first sensing information. If you need to adjust the display brightness of the current interface based on the moving operation, you can determine the moving operation based on the fingerprint sensing information.
[0126] A method of combining the first sensing information and the fingerprint sensing information to determine the mobile operation can refer to the aforementioned second method of combining the first sensing information and the pressure sensing information, which will not be repeated here.
[0127] The fingerprint movement operation can be determined based on the fingerprint sensing information at different times by comparing the fingerprint sensing information at different times to determine the position where the finger contacts the non-target area at different times, and determining the movement direction and movement distance based on the position changes at different times.
[0128] After determining the moving operation, the processor may execute an instruction corresponding to the moving operation on the application currently running on the electronic device at least according to the moving operation. For example, the processor may execute an instruction to switch between multiple objects controlled by the application at least according to the moving operation; the processor may execute an instruction to move the display content of the application on the screen at least according to the moving operation; the processor may execute an instruction to scale the display content of the application on the screen at least according to the moving operation; the processor may execute an instruction to adjust the application parameters of the application at least according to the moving operation.
[0129] For the first case, the processor may determine the order of switching according to the moving direction, determine the number of switching according to the moving distance, and then switch to other objects in the order and number starting from the currently selected object.
[0130] Exemplarily, an album application is currently running, and the album application displays thumbnails of multiple images in a matrix form. If the moving direction is the second direction, the processor can switch backwards one by one starting from the currently selected image in a left-to-right and top-to-bottom order until N images are switched. If the moving direction is the first direction, the processor can switch forwards one by one starting from the currently selected image in a bottom-to-top and right-to-left order until N images are switched. N is determined according to the moving distance. The greater the moving distance, the greater N, and the smaller the moving distance, the smaller N.
[0131] Alternatively, a camera application is currently running, and the camera application can control multiple cameras configured in the electronic device, and the processor can switch the camera currently used by the camera application for shooting according to the moving operation. Exemplarily, the four cameras can be numbered as camera 1 to camera 4, and if the moving direction is the second direction, the cameras can be switched in ascending order, such as from camera 1 to camera 3, and if the moving direction is the first direction, the cameras can be switched in descending order, such as from camera 3 to camera 2, and the number of switches can be determined according to the moving distance, or can be a fixed value, such as fixed to switch only one camera each time.
[0132] For the second case, the processor can determine the moving direction of the displayed content according to the moving direction of the first finger, determine the moving distance of the displayed content according to the moving distance of the first finger, and then execute the display content instruction of the mobile application according to the moving direction and distance of the displayed content.
[0133] Exemplarily, when the movement direction of the first finger is a first direction, the processor can execute an instruction to move the display interface of the application to the top of the screen. When the movement direction of the first finger is a second direction, the processor can execute an instruction to move the display interface of the application to the bottom of the screen. The distance that the display interface moves is determined based on the movement distance of the first finger.
[0134] For the third case, the processor may determine whether to enlarge or reduce the display content of the application according to the moving direction of the first finger, determine the enlargement or reduction amplitude according to the moving distance of the first finger, and then enlarge or reduce the display content of the application.
[0135] Exemplarily, when the movement direction of the first finger is a first direction, the processor can execute an instruction to enlarge the display content of the application; when the movement direction of the first finger is a second direction, the processor can execute an instruction to reduce the display content of the application; the extent of enlargement or reduction of the display content is determined according to the movement distance of the first finger.
[0136] For the fourth case, the processor may determine whether to increase or decrease the application parameters of the application according to the moving direction of the first finger, determine the magnitude of increase or decrease according to the moving distance of the first finger, and then adjust the application parameters of the application.
[0137] As an example, the focal length parameter of the camera application can be adjusted according to the movement operation, that is, if the application in the running state belongs to the camera application and is in the preview mode, the camera is controlled to adjust the focal length based on the movement operation. If the moving direction of the first finger is the first direction, the focal length can be increased according to the moving distance of the first finger, and if the moving direction of the first finger is the second direction, the focal length can be reduced according to the moving distance of the first finger.
[0138] As another example, the brightness of a video application can be adjusted according to a moving operation. If a video application is currently running and is in a video playback mode, the brightness can be adjusted according to a moving distance of a first finger. If the moving direction of the first finger is a first direction, the brightness is increased; if the moving direction of the first finger is a second direction, the brightness is decreased.
[0139] As an example, the volume of an audio application can be adjusted according to a movement operation. If an audio application is currently running, the volume can be adjusted according to the movement distance of the first finger. If the movement direction of the first finger is a first direction, the volume is increased; if the movement direction of the first finger is a second direction, the volume is decreased.
[0140] An application may have a variety of adjustable application parameters, such as brightness and volume parameters for video applications, and focus and exposure parameters for camera applications. Which application parameters of an application are adjusted based on mobile operations may be determined based on the system settings of the electronic device. The system settings may have default settings and may be changed based on user operations.
[0141] After determining the pressure operation, the processor may execute an instruction corresponding to the pressure operation on an application currently running on the electronic device at least based on the pressure operation.
[0142] Depending on the currently running application, the instructions corresponding to the pressure operation may be different.
[0143] Exemplarily, if a camera application is currently running, the instruction corresponding to the pressure operation may be a shooting instruction, and after determining the pressure operation, the processor may trigger the camera to shoot and store the shot image;
[0144] If it is determined that the camera application is in a photo taking mode when the pressure operation is performed, the processor may trigger the camera to take and store the taken photo; if it is determined that the camera application is in a video recording mode when the pressure operation is performed, the processor may trigger the camera to take and store the taken video;
[0145] If a video application is currently running, the instruction corresponding to the pressure operation may be a video play / pause instruction. After determining the pressure operation, the processor may control the video being played by the video application to pause, or control the paused video to continue playing;
[0146] If a video application is currently running, the instruction corresponding to the pressure operation may be a video play / pause instruction. After determining the pressure operation, the processor may control the video being played by the video application to pause, or control the paused video to continue playing.
[0147] Optionally, the processor may also execute different instructions on the currently running application according to different pressure operations.
[0148] For example, if the camera app is currently running, the processor can:
[0149] Locking the focus of the camera based on the first pressure operation, that is, executing an instruction to lock the focus according to the first pressure operation;
[0150] The camera is triggered to shoot and store the shot image based on the second pressure operation, that is, the shooting instruction is executed according to the second pressure operation.
[0151] In the case of currently running a video application, the processor may execute an instruction to switch the full screen / window mode according to the first pressure operation, and execute a video play / pause instruction according to the second pressure operation.
[0152] When the photo album application is currently running, the processor may execute an instruction to delete the selected image according to the first pressure operation, and execute an instruction to view the selected image according to the second pressure operation.
[0153] Optionally, the processor may also combine the pressure operation and the movement operation to execute different instructions on the currently running application.
[0154] The processor may execute an instruction corresponding to a movement operation on a currently running application according to the movement operation when determining the first pressure operation, and execute another instruction corresponding to a movement operation on the currently running application according to the movement operation when determining the second pressure operation.
[0155] In some embodiments, the processor may, when determining the first pressure operation, execute an instruction to switch between multiple objects controlled by the application according to the movement operation, and when determining the second pressure operation, execute an instruction to adjust the application parameters of the application according to the movement operation. Alternatively, the processor may, when determining the first pressure operation, execute an instruction to switch between multiple objects controlled by the application according to the movement operation, and when determining the second pressure operation, execute an instruction to move the display content of the application on the screen according to the movement operation.
[0156] As some examples, if the running application is a camera application and is in preview mode, different cameras can be switched based on the movement operation control corresponding to the first pressure operation; and the focus of the target camera can be adjusted based on the movement operation control corresponding to the second pressure operation.
[0157] That is, if the first pressure operation is determined, the processor can switch the camera used by the camera application for shooting according to the movement operation, and if the second pressure operation is determined, the processor can adjust the focal length parameter of the camera application according to the movement operation.
[0158] As other examples, if the running application is a photo album application, the processor can switch between multiple images in the photo album application based on the movement operation corresponding to the first pressure operation; and move the display interface of the photo album application to the top or bottom of the screen based on the movement operation corresponding to the second pressure operation.
[0159] In any embodiment, the processor may also control the vibration module of the electronic device to vibrate after determining the movement operation and the pressure operation to provide operation feedback to the user. During the vibration, the intensity and / or duration of the vibration may be adjusted according to the movement distance of the first finger, and the vibration may be performed in different vibration modes according to the determined pressure operation.
[0160] This embodiment also provides an electronic device, see Figure 3 , the electronic device may include:
[0161] ontology;
[0162] a display screen, at least a portion of which is located on the first surface of the body;
[0163] A fingerprint collection device is located in the body, and a collection area of the fingerprint collection device is exposed through an opening on the second surface of the body, wherein the fingerprint collection device includes a first working mode and a second working mode, the fingerprint collection device is in the first working mode, a target area of the collection area of the fingerprint collection device is in a working state, and the target area is a partial area of the collection area;
[0164] The processor is located in the main body and is used for:
[0165] Obtaining a first trigger instruction;
[0166] In response to the first trigger instruction, the fingerprint collection device is controlled to be in a first working mode;
[0167] Obtaining first sensing information, where the first sensing information is a sensing parameter sensed by a target area of a collection area of a fingerprint collection device;
[0168] Determine, based on the first sensing information, a movement operation of a first finger located on the acquisition area;
[0169] The target area at least serves as an area for fingerprint collection for the second finger in the second working mode.
[0170] like Figure 3 As shown, the display screen may be located on the first surface of the body, and the first surface of the body may be a surface with the largest area among the multiple surfaces of the body.
[0171] The second surface may be another surface on the body that is perpendicular to the first surface. Optionally, the second surface may be a surface that is perpendicular to the first surface and parallel to the long side of the first surface.
[0172] The second surface may have openings, and the collection area of the fingerprint collection device may be exposed in one of the openings, so that the finger can contact the collection area. The collection area may be Figure 3 The long sides of the elongated rectangular region shown may be parallel to the long sides of the first surface.
[0173] The fingerprint collection device can have Figure 4 The structure shown in (1) of FIG. In this structure, the fingerprint collection device includes a fingerprint recognition chip, a substrate carrying the chip, and a packaging material covering the chip. The packaging material can be an epoxy molding compound (EMC) or other materials. The area on the upper surface of the packaging material can be used as the collection area.
[0174] Figure 4 In the structure shown in (1), the fingerprint recognition chip may have a fingertip detection (DFD) area, and the DFD area can continuously sense the capacitance value of a part of the collection area to obtain capacitance sensing parameters. When the obtained capacitance sensing parameters indicate that a finger has touched the collection area, the fingerprint recognition chip can sense the capacitance sensing parameters of the entire collection area, and determine the fingerprint image of the second finger on the collection area based on the obtained capacitance sensing parameters, so that the processor can perform identity recognition based on the fingerprint image.
[0175] In the above structure, the portion of the acquisition area where the DFD area can sense the capacitance value can be used as the target area.
[0176] The fingerprint collection device can have Figure 4 The structure shown in (2). In this structure, the fingerprint acquisition device includes a fingerprint recognition chip, a substrate carrying the chip and a packaging material covering the chip, and may also include a plurality of piezoelectric test points arranged on the substrate, and the piezoelectric test points may be arranged below the first target area among the plurality of target areas, whereby the piezoelectric test points can sense the pressure acting on the first target area, and output an electrical signal corresponding to the intensity of the pressure to the fingerprint recognition chip, so as to obtain a pressure sensing parameter based on the electrical signal.
[0177] Fingerprint collection device can also have Figure 4 The structure shown in (3) of FIG. In this structure, the fingerprint collection device includes a fingerprint recognition chip, a substrate carrying the chip, and a piezoelectric material covering the chip. The piezoelectric material can be a copolymer piezoelectric material or other piezoelectric materials.
[0178] The upper surface of the piezoelectric material can be used as a collection area. In the fingerprint collection device, the fingerprint recognition chip can generate an electrical signal, and the piezoelectric material can convert the electrical signal into an ultrasonic signal and transmit it to the collection area. When a finger touches the collection area, the finger can reflect the ultrasonic signal to form an ultrasonic reflection signal. The piezoelectric material converts the ultrasonic reflection signal into an electrical signal, and the fingerprint recognition chip can obtain the converted electrical signal to obtain the ultrasonic sensing parameters of the collection area based on the electrical signal, and obtain fingerprint sensing information based on the ultrasonic sensing parameters.
[0179] In this embodiment, the fingerprint recognition chip can continuously transmit ultrasonic signals to the target area of the collection area through the piezoelectric material to obtain the ultrasonic sensing parameters of the target area. When the obtained ultrasonic sensing parameters indicate that a finger has touched the collection area, the piezoelectric material is used to transmit ultrasonic signals to the entire collection area to obtain the ultrasonic sensing parameters of the entire collection area.
[0180] In the fingerprint collection device of the above structure, the surface of the first target area is a piezoelectric material, so the method of obtaining pressure sensing information can also be that the fingerprint recognition chip transmits an ultrasonic signal to the first target area through the piezoelectric material, the ultrasonic signal is reflected by the first finger in the first target area to form an ultrasonic reflection signal, the piezoelectric material converts the ultrasonic reflection signal into an electrical signal, the fingerprint recognition chip obtains these electrical signals, and obtains the pressure sensing information of the first target area based on these electrical signals.
[0181] Optionally, the electronic device may further include at least one camera. When the camera application of the electronic device is in operation, the camera application may use the camera to capture images and store the captured images.
[0182] When the electronic device includes multiple cameras, the camera application can shoot based on one of the cameras each time it shoots an image. Before each shooting, the processor can switch the camera used by the camera application for shooting according to the movement operation of the first finger.
[0183] The working principle of the above electronic device can be found in the relevant steps of the method in the above embodiment, which will not be described in detail.
[0184] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0185] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0186] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0187] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0188] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A processing method comprising Obtaining a first trigger instruction; In response to the first trigger instruction, the fingerprint collection device is controlled to be in the first working mode, wherein: The fingerprint collection device is in a first working mode, a target area of a collection area of the fingerprint collection device is in a working state, and the target area is a partial area of the collection area; Obtaining first sensing information, where the first sensing information is a sensing parameter sensed by a target area of a collection area of the fingerprint collection device; Determine, based on the first sensing information, a movement operation of a first finger located on the acquisition area; The target area at least serves as an area for collecting fingerprints of the second finger in the second working mode.
2. The method according to claim 1, further comprising: Obtaining pressure sensing information, where the pressure sensing information comes from a first target area, and the first target area belongs to the plurality of target areas; Based on the pressure sensing information, a pressure operation of a first finger located on the acquisition area is determined.
3. The method according to claim 1, further comprising: Obtaining pressure sensing information, where the pressure sensing information comes from a first target area, and the first target area belongs to the plurality of target areas; The determining, based on the first sensing information, the movement operation of the first finger located on the acquisition area includes: Based on the first sensing information and the pressure sensing information, a movement operation of a first finger located on the acquisition area is determined.
4. According to the method of claim 1, in response to the first trigger instruction, controlling the fingerprint collection device to be in the first working mode further comprises: Obtaining fingerprint sensing information, wherein the fingerprint sensing information is fingerprint parameters sensed in a non-target area of a collection area of the fingerprint collection device; The fingerprint collection device is in a first working mode, and the non-target area of the collection area of the fingerprint collection device is in a working state; The determining, based on the first sensing information, the movement operation of the first finger located on the acquisition area includes: Based on the first sensing information and the fingerprint sensing information, a movement operation of a first finger located on the collection area is determined.
5. The method according to claim 1, wherein obtaining the first trigger instruction comprises: If the application program in the running state belongs to the target application, the first trigger instruction is obtained.
6. The method according to any one of claims 1 to 5, further comprising at least one of the following: If the running application is a camera application and is in preview mode, controlling the camera to adjust the focus based on the movement operation; Locking the focus of the camera based on a first pressure operation; The camera is triggered to capture and store the captured image based on the second pressure operation.
7. The method according to any one of claims 1 to 5, further comprising at least one of the following: If the running application is a camera application and is in a preview mode, switching different cameras is controlled based on the movement operation corresponding to the first pressure operation; The target camera is controlled to adjust the focal length based on the movement operation corresponding to the second pressure operation.
8. An electronic device comprising: ontology; a display screen, at least a portion of which is located on the first surface of the body; A fingerprint collection device is located in the body, and a collection area of the fingerprint collection device is exposed through an opening on the second surface of the body, wherein the fingerprint collection device includes a first working mode and a second working mode, the fingerprint collection device is in the first working mode, a target area of the collection area of the fingerprint collection device is in a working state, and the target area is a partial area of the collection area; A processor is located in the body, and the processor is used for: Obtaining a first trigger instruction; In response to the first trigger instruction, the fingerprint collection device is controlled to be in a first working mode; Obtaining first sensing information, where the first sensing information is a sensing parameter sensed by a target area of a collection area of the fingerprint collection device; Determine, based on the first sensing information, a movement operation of a first finger located on the acquisition area; The target area at least serves as an area for collecting fingerprints of the second finger in the second working mode.
9. According to the device of claim 8, there are multiple target areas, and the surface of the first target area among the multiple target areas is a piezoelectric material, and the piezoelectric material is used to convert the electrical signal generated by the fingerprint collection device into an ultrasonic signal, and to convert the ultrasonic reflection signal into an electrical signal, so that the fingerprint collection device obtains pressure sensing information according to the converted electrical signal.
10. The device according to claim 8, further comprising: At least one camera.
Citation Information
Patent Citations
Mobile terminal and camera focusing processing method thereof
CN105208277A
Interaction method, device and equipment based on tactile feedback, and readable medium
CN111796678A
Electronic equipment and processing method
CN117666883A