CN117666883A - Electronic equipment and processing method - Google Patents

Electronic equipment and processing method Download PDF

Info

Publication number
CN117666883A
CN117666883A CN202311863331.3A CN202311863331A CN117666883A CN 117666883 A CN117666883 A CN 117666883A CN 202311863331 A CN202311863331 A CN 202311863331A CN 117666883 A CN117666883 A CN 117666883A
Authority
CN
China
Prior art keywords
sensing
values
acquisition
electronic device
movement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311863331.3A
Other languages
Chinese (zh)
Inventor
田兴法
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202311863331.3A priority Critical patent/CN117666883A/en
Publication of CN117666883A publication Critical patent/CN117666883A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The application discloses electronic equipment and a processing method, wherein the electronic equipment comprises a fingerprint sensor and a processor, the fingerprint sensor is provided with a plurality of first induction areas, and the first induction areas are arranged in an acquisition area of the fingerprint sensor at intervals; the processor is configured to determine movement of the operator relative to the acquisition area based on at least two second sensing values if it is determined that the operator is present by the first sensing values of the plurality of first sensing areas, and obtain second sensing values of the plurality of first sensing areas at least twice based on the target acquisition period.

Description

Electronic equipment and processing method
Technical Field
The application relates to an electronic device and a processing method.
Background
Conventional electronic devices generally perform operation control on the electronic device through an operation device such as a touch screen, a touch pad, or a mouse. Although these conventional operation devices are all established operation devices, the use of these conventional operation devices is limited in many use cases, and the convenience of operation control of electronic devices by users is still further improved. Taking a touch screen as an example, the touch screen is usually arranged on electronic devices such as a smart phone, a tablet personal computer and a personal digital assistant, when the electronic devices are used for photographing, one hand is usually required to hold the electronic devices in an adjusting direction, two fingers of the other hand slide the screen to adjust the focal length, photographing operation can be completed only by two hands, focal length adjustment operation cannot be completed by one hand, and convenience is poor.
Disclosure of Invention
The application provides electronic equipment and a processing method, and the technical scheme adopted by the embodiment of the application is as follows.
The first aspect of the present application provides an electronic device, including:
the fingerprint sensor is provided with a plurality of first sensing areas, and the first sensing areas are arranged in an acquisition area of the fingerprint sensor at intervals;
and a processor for determining movement of the operator relative to the acquisition area based on at least two second sensing values if it is determined that the operator is present by the first sensing values of the plurality of first sensing areas, and obtaining the second sensing values of the plurality of first sensing areas at least twice based on the target acquisition period.
In some implementations, the processor is further to:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a first processing mode based on a first trigger instruction; the first processing mode corresponds to the fingerprint sensor determining movement of the operating body through the plurality of first sensing areas.
In some implementations, the processor is specifically configured to:
if the existence of the operating body is determined through the first sensing values of the first sensing areas, a contact event is obtained;
obtaining second sensing values of the plurality of first sensing regions at least twice based on a target acquisition period in response to the contact event;
determining a moving direction of the operation body relative to the acquisition area based on at least two second sensing values;
obtaining initial coordinates in response to the contact event, wherein the initial coordinates belong to a display area of a screen;
and constructing at least one target coordinate based on the moving direction and the initial coordinate until a departure event is obtained through the fingerprint sensor, wherein each of the initial coordinate and the at least one target coordinate is used for controlling a display object of the display area to move according to the direction indicated by the direction information.
In some implementations, the processor is specifically configured to:
obtaining second sensing values of each of the plurality of first sensing areas at a first moment;
obtaining second sensing values of each of the plurality of first sensing areas at a second moment;
comparing the plurality of second sensing values at the first time and the plurality of second sensing values at the second time determines a direction of movement of the operator relative to the acquisition area.
In some implementations, the processor is specifically configured to:
and adding a fixed value based on the N-1 th target coordinate to construct the N-th target coordinate.
In some implementations, the processor is specifically configured to:
enabling a second sensing region of the fingerprint sensor if it is determined that an operating body exists through first sensing values of the plurality of first sensing regions; wherein the second sensing regions are more accurate than each of the first sensing regions; the second sensing region comprises the first sensing region;
obtaining a third induction value of the second induction area at least twice based on the target acquisition period;
movement of the operator relative to the acquisition region is determined based on at least two third sensed values.
In some implementations, the processor is specifically configured to:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a second processing mode based on a second trigger instruction; the second processing mode corresponds to the fingerprint sensor determining movement of the operating body through the second sensing area.
In some implementations, the processor is specifically configured to:
and triggering a second triggering instruction when the target application program runs.
A second aspect of the present application provides a processing method, including:
acquiring first sensing values of a plurality of first sensing areas of the fingerprint sensor; the first sensing areas are arranged in the acquisition area of the fingerprint sensor at intervals;
if the existence of an operating body is determined through the first sensing values of the plurality of first sensing areas, obtaining second sensing values of the plurality of first sensing areas at least twice based on a target acquisition period;
movement of the operator relative to the acquisition region is determined based on at least two second sensed values.
In some implementations, further comprising:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a first processing mode based on a first trigger instruction; the first processing mode corresponds to the fingerprint sensor determining movement of the operating body through the plurality of first sensing areas.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a first sensing region according to an embodiment of the present application;
FIG. 3a is a schematic diagram showing second sensing values of the first sensing regions in the N-1 acquisition cycle according to an embodiment of the present application;
FIG. 3b is a schematic diagram illustrating second sensing values of the plurality of first sensing regions in the N-th acquisition period according to an embodiment of the present application;
FIG. 4 is a data flow diagram of one particular embodiment of an electronic device of an embodiment of the present application;
fig. 5 is a flowchart of a processing method according to an embodiment of the present application.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
It should be understood that various modifications may be made to the embodiments of the application herein. Therefore, the above description should not be taken as limiting, but merely as exemplification of the embodiments. Other modifications within the scope and spirit of this application will occur to those skilled in the art.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It is also to be understood that, although the present application has been described with reference to some specific examples, a person skilled in the art will certainly be able to achieve many other equivalent forms of the present application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The foregoing and other aspects, features, and advantages of the present application will become more apparent in light of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application with unnecessary or excessive detail. Therefore, specific structural and functional details disclosed herein are not intended to be limiting, but merely serve as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the word "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments as per the application.
An electronic device is provided in this embodiment, fig. 1 is a schematic structural diagram of the electronic device in this embodiment, fig. 2 is a schematic structural diagram of a first sensing area in this embodiment, and referring to fig. 1 and fig. 2, the electronic device in this embodiment may include a fingerprint sensor and a processor.
The fingerprint sensor is provided with a plurality of first sensing areas, and the intervals among the first sensing areas are arranged in the acquisition area of the fingerprint sensor.
The processor is configured to: if the presence of an operating body is determined through the first sensing values of the plurality of first sensing areas, obtaining second sensing values of the plurality of first sensing areas at least twice based on a target acquisition period, and determining the movement of the operating body relative to the acquisition area based on at least two second sensing values.
Alternatively, the collection area of the fingerprint sensor may be disposed at any location of the electronic device. For example, the side of the electronic device may be provided with a power key, and the fingerprint sensor may be integrated on the power key. The acquisition region may be formed by a surface of a power key. It will be appreciated that the power key may also be located near the lower edge of the display. Alternatively, the fingerprint sensor is also integrated on a volume condition key on the side of the electronic device. Alternatively, the fingerprint sensor may be disposed on a side or a back side of the electronic device, or the like.
Optionally, the plurality of first sensing areas may be uniformly arranged in the collecting area at equal intervals. For example, the fingerprint sensor may include m×k sensing units, where M and K are positive integers. The M x K sensing units can be arranged in an array manner in the acquisition area to form a sensing array. The fingerprint sensor can acquire fingerprint images based on the induction values of the M multiplied by K induction units, and fingerprint identification is performed based on the fingerprint images. On the basis, H×L sensing units can be selected from the sensing arrays formed by the M×K sensing units to serve as first sensing arrays, P×Q uniformly arranged first sensing arrays can be selected from the sensing arrays in total, and the corresponding area of each first sensing array serves as a first sensing area. Wherein, H, L, P and Q are both positive integers.
Alternatively, the sensing unit may include, but is not limited to, a capacitive sensor, an optical sensor, an ultrasonic sensor, and the like. Taking the sensing unit including the capacitive sensors as an example, m×k capacitive sensor arrays may be arranged in the sampling area, and a subarray formed by h×l capacitive sensors may be selected as the first sensing array.
Optionally, the first sensing value and the second sensing value may include sensing values of sensing units such as a capacitive sensor, an optical sensor, and an ultrasonic sensor, where the sensing values can represent a distance and/or a pressure between a sub-region of the first sensing region and a surface of the operating body, and the sub-region is a region opposite to the sensing unit in the first sensing region. For example, the capacitance values of the h×l capacitive sensors in the first sensing array may be regarded as the first sensing value, where the first sensing value actually includes a set of capacitance values.
Optionally, the first sensing value and the second sensing value may also include a first processing value formed based on processing sensing values of sensing units such as a capacitive sensor, an optical sensor, an ultrasonic sensor, and the like, where the first processing value can represent an average distance and/or an average pressure between the first sensing region and a surface of the operating body. Also for example, an average value of capacitance values of h×l capacitance sensors in the first sensing array may be calculated, and the average value may be taken as the first sensing value.
Alternatively, a plurality of the first sensing regions may be configured to acquire a first sensing value according to a target acquisition period, and determine whether an acquisition region has an operation body present based on the first sensing value. For example, a first threshold value corresponding to the first sensing value may be preset, and when the first sensing value is greater than the first threshold value, it may be determined that a first sensing region corresponding to the first sensing value, or a sub-region of the first sensing region corresponding to the first sensing value has an operation body presence. Also for example, it may be determined whether an operator is present in the acquisition area based on the first sensing value by a preset operator sensing algorithm. The method of determining whether the acquisition region has the presence of the operation body is not limited herein, and in actual application, whether the acquisition region has the presence of the operation body may be determined based on the first sensing value by various methods. It will be appreciated that the operating body may comprise a finger of the user, possibly other parts of the user, or possibly other objects.
Optionally, the second sensing value of the plurality of first sensing regions may be different from the first sensing value of the plurality of first sensing regions at least twice. For example, the sensing values of the plurality of first sensing regions at the N-2 th acquisition period may be referred to as first sensing values. In the case where it is determined that the sampling region has the presence of the operating body based on the first sensing values, the sensing values of the plurality of first sensing regions at the N-1 th acquisition period and the N-th acquisition period may be referred to as second sensing values.
Alternatively, one of the second sensing values of the at least two first sensing regions may be the same as the first sensing value of the plurality of first sensing regions. For example, the sensing values of the plurality of first sensing regions at the N-2 th acquisition period may be referred to as first sensing values. In the case that the sampling area is determined to have the operation body present based on the first sensing value, sensing values of the plurality of first sensing areas in the N-2 th and N-1 th acquisition periods may be respectively taken as second sensing values.
It will be appreciated that in practice, the acquisition of the second sensing values of the plurality of second sensing regions in two acquisition cycles is not limited to the acquisition of the second sensing values of three, four or more consecutive or non-consecutive acquisition cycles.
Optionally, when determining that the operating body exists based on the first sensing values of the plurality of first sensing regions, the second sensing values of the plurality of first sensing regions may be acquired at least twice according to the target acquisition period, and movement of the operating body may be determined based on the at least two second sensing values. Then, a control instruction for controlling the electronic device to perform the target operation corresponding to the movement of the operation body may be generated. For example, in the event that it is determined that the sampling area has an operator present and that the operator is moving relative to the sampling area, control instructions for controlling a target application on an electronic device to perform a target operation may be generated.
According to the electronic device, the sampling area of the fingerprint sensor is provided with the plurality of first sensing areas, whether the sampling area is provided with an operation body or not can be determined based on the first sensing values of the plurality of first sensing areas, and movement of the operation body relative to the sampling area can be determined based on the at least twice second sensing values of the plurality of first sensing areas. Therefore, the fingerprint sensor can be used for detecting the movement of the operating body, a feasible implementation mode is provided for the operation control of the electronic equipment, the operation process is simple, the implementation is easy, and the stability and the robustness are high.
In some embodiments, the processor is further configured to:
control coordinates for controlling a display content change of a screen of the electronic device corresponding to movement of the operation body are generated by a first processing mode based on a first trigger instruction.
Wherein the first processing mode corresponds to a determination of movement of the operating body by the plurality of first sensing areas of the fingerprint sensor.
Alternatively, the processor may be in the first processing mode by default, and in response to the first trigger instruction, control coordinates corresponding to movement of the operation body may be generated by the first processing mode, and display content of a screen of the electronic device may be controlled to be changed by the control coordinates.
Optionally, the processor may also switch to the first processing mode in response to the first trigger instruction. And, in a case where it is determined that an operating body is present based on the first sensing values of the plurality of first sensing regions, generating control coordinates corresponding to the movement of the operating body based on the determined movement of the operation with respect to the acquisition region by the first processing mode. For example, the processor may default to a second processing mode, and the processor may generate a first trigger instruction in response to a target application program operation, and switch to the first processing mode based on the first trigger instruction.
Alternatively, the processor may determine movement information for characterizing movement of the operation body with respect to the acquisition area based on at least two second sensing values, and may generate control coordinates based on the movement information through the first processing mode, and control display content change of a screen of the electronic device through the control coordinates.
Optionally, the processor may be configured to generate control coordinates conforming to a target protocol based on the movement information through the first processing mode. In the case of the electronic device having a touch screen, the processor may also generate control coordinates conforming to the target protocol based on movement of the operator relative to the touch screen. Therefore, the consistency design of the control instructions of the fingerprint sensor and the touch screen can be realized, the development difficulty of a target application program is simplified, and the application range of application program control based on the movement of an operating body in a sampling area of the fingerprint sensor is widened.
Alternatively, the display content of the screen of the electronic device may include various display contents displayed on the screen of the electronic device. The display may include a system interface of an operating system, such as a desktop, a taskbar, a setup interface, and the like. The display content may also include an application program interface.
For example, the electronic device may generate a first trigger instruction in response to initiation of a camera program to trigger the processor to switch to a first processing mode. In the case where the movement of the operation body has been determined based on at least two second inductions, control coordinates for controlling the focal length of the camera may be generated by the first processing mode.
In some embodiments, the processor is specifically configured to:
if the existence of the operating body is determined through the first sensing values of the first sensing areas, a contact event is obtained;
obtaining second sensing values of the plurality of first sensing regions at least twice based on a target acquisition period in response to the contact event;
determining a moving direction of the operation body relative to the acquisition area based on at least two second sensing values;
obtaining initial coordinates in response to the contact event, wherein the initial coordinates belong to a display area of a screen;
and constructing at least one target coordinate based on the moving direction and the initial coordinate until a departure event is obtained through the fingerprint sensor, wherein each of the initial coordinate and the at least one target coordinate is used for controlling a display object of the display area to move according to the direction indicated by the direction information.
Optionally, the contact event may be used to indicate that the operating body is in contact with the acquisition region, and the exit event may be used to indicate that the operating body is in a disengaged state from the sampling region. On this basis, the second sensing values of the plurality of first sensing regions may be continuously acquired based on a target acquisition period in response to the contact event, and the moving direction of the operation body with respect to the acquisition region may be continuously determined based on the second sensing values of the plurality of first sensing regions adjacent at least twice.
For example, the target acquisition period may be T1, and a set of second sensing values of the plurality of first sensing regions are acquired at intervals of T1, and a moving direction of the operation body with respect to the acquisition region is determined at intervals of T1 based on the second sensing value of the current acquisition period and the second sensing value of at least one acquisition period preceding the current acquisition period.
Alternatively, one coordinate in the display area of the screen may be stored as the reference coordinate in advance. The processor may obtain the reference coordinates and take them as starting coordinates in response to a touch event. For example, the center point coordinates of the display area of the screen may be set as reference coordinates in advance, and the center point coordinates may be acquired from a memory or a register as start coordinates when a touch event is acquired.
Alternatively, the processor may determine the start coordinates of the display area belonging to the screen based on the relative positional relationship between the operation body and the acquisition area in response to the contact event. For example, a correspondence relationship between a display area of a screen and the acquisition area may be preset. In the case where it is determined that the acquisition region has the operation body present, the relative positional relationship between the operation body and the acquisition region may be determined based on the second sensing value. And then, determining the initial coordinates based on the relative position relation between the operation body and the acquisition area and the corresponding relation between the display area of the screen and the acquisition area.
Alternatively, in the case of determining the moving direction and the start coordinate of the operation body, the processor may construct one target coordinate every interval of the target acquisition period based on the start coordinate and the moving direction. In the case where there is already a constructed target coordinate in the previous acquisition cycle, the target coordinate of the current acquisition cycle may be constructed based on the moving direction determined in the current acquisition cycle and the target coordinate constructed in the previous acquisition cycle. For example, in a first acquisition cycle, the target coordinates for the first acquisition cycle may be constructed based on the start coordinates and the direction of movement. In the second acquisition period, the target coordinates of the second acquisition period may be constructed based on the movement direction determined in the second acquisition period and the target coordinates constructed in the first acquisition period.
Alternatively, a fixed value may be pre-stored, which is used to characterize the relative step sizes of the two adjacent acquisition periods. The processor may be configured to construct an nth target coordinate by adding a fixed value based on the nth-1 target coordinate. And during the 1 st acquisition period, adding a fixed value on the basis of the initial coordinate to construct the 1 st target coordinate.
Optionally, a relative position relationship between the operation body and the acquisition region in each acquisition period may be determined, a relative displacement between the operation body and the acquisition region may be determined based on the relative position relationship between at least two acquisition periods, and the target coordinate may be determined based on the relative displacement, the start coordinate and the movement direction.
In practical applications, the target coordinates may also be determined based on the fixed values and the relative positional relationship. For example, in the case where a relative displacement of two adjacent acquisition cycles can be acquired, the target coordinates of the current acquisition cycle may be determined based on the relative displacement. In the event that the relative displacement of two adjacent acquisition cycles is not effectively identified, the target coordinates of the current acquisition cycle may be determined based on the fixed value.
Alternatively, the direction information may be used to identify the direction of movement. The moving distance and moving direction of the display object of the display area may be controlled based on each of the start coordinate and the target coordinate and the direction information. It should be understood that the display object in the display area moves in the direction indicated by the direction information, and the changing of the display position of the display object should be broadly understood to include various movement modes such as translation, gathering movement, radioactive movement, and rotation movement.
Alternatively, the display object of the display area may include any display object in display content of a screen of the electronic device. The display object may comprise any one of a system interface or an application interface of the electronic device. For example, the display object may be an image captured by a camera displayed in a display interface of a camera program. When the focal length of the camera is adjusted by using the fingerprint sensor, the image shot by the camera is actually moved toward the center or radially away from the center with the center point of the display interface or with the focus point as the center.
Optionally, the processor may be configured to: if a first number of acquisition cycles or a first duration of succession is continued, it is determined that the acquisition zone has no operational body based on the first sensing values of the plurality of first sensing zones, a departure event is obtained. Of course, the processor may also be configured to: a departure event is obtained if no operator is sensed based on the second sensed values of the plurality of first sensed regions for a first number of consecutive acquisition cycles or a first duration of consecutive acquisition cycles.
In some embodiments, the processor is specifically configured to:
obtaining second sensing values of each of the plurality of first sensing areas at a first moment;
obtaining second sensing values of each of the plurality of first sensing areas at a second moment;
comparing the plurality of second sensing values at the first time and the plurality of second sensing values at the second time determines a direction of movement of the operator relative to the acquisition area.
It will be appreciated that the second sensing value can be indicative of an average distance and/or an average pressure between the first sensing region and the surface of the operating body. The finger surface is typically in the form of a convex arc, and the average distance and/or average pressure between different areas of the finger surface and the respective first sensing areas is typically different when the finger touches the acquisition area. When the relative position relationship between the finger and the acquisition area is different, the second sensing values of the plurality of first sensing areas are different. When the finger is relatively displaced relative to the acquisition area, the second sensing values of the two groups of the plurality of first sensing areas acquired before and after the finger moves are different. On the basis, two groups of second sensing values of the plurality of first sensing areas can be obtained, the two groups of second sensing values are compared, and the moving direction of the operation body relative to the acquisition area is determined.
Alternatively, the first time instant and the second time instant may be in different acquisition periods. For example, the second sensing values of the plurality of first sensing regions in the N-1 acquisition cycle may be obtained, and the italic values in fig. 3a are the second sensing values of the respective first sensing regions in the N-1 acquisition cycle. The second sensing values of the plurality of first sensing regions in the nth acquisition period may also be obtained, and the italic numerical values in fig. 3b are the second sensing values of the first sensing regions in the nth acquisition period. And comparing the second sensing values obtained in the N-1 acquisition period with the second sensing values obtained in the N acquisition period to determine the moving direction of the operation body relative to the acquisition area.
Alternatively, the direction recognition model may be constructed in advance. For example, the direction recognition model may be built in advance based on a machine learning model. In practical application, the direction recognition model can be used for comparing the plurality of second sensing values at the first moment with the plurality of second sensing values at the second moment to determine the moving direction of the operation body relative to the acquisition area.
In some embodiments, the processor is specifically configured to:
enabling a second sensing region of the fingerprint sensor if it is determined that an operating body exists through first sensing values of the plurality of first sensing regions; wherein the second sensing region comprises between the first sensing regions; the second sensing areas have higher precision than each first sensing area;
obtaining a third induction value of the second induction area at least twice based on the target acquisition period;
movement of the operator relative to the acquisition region is determined based on at least two third sensed values.
Alternatively, the second sensing region may comprise the entire area of the acquisition region. Illustratively, still taking as an example that the fingerprint sensor includes m×k sensing units, the fingerprint sensor may include p×q first sensing arrays, each of which may include h×l sensing units. The second sensing region may comprise all of the acquisition region, i.e. the second sensing region comprises M x K sensing units. Since the area of the second sensing area and the number of sensing units are larger than those of the first sensing areas, the accuracy of the second sensing area is higher than that of each of the first sensing areas, and is actually higher than that of the plurality of first sensing areas.
It will be appreciated that the second sensing region may also comprise a partial region of the acquisition region. For example, a second sensing array including a plurality of the first sensing arrays may be selected from sensing arrays consisting of m×k sensing units, and the second sensing array may include r×s sensing units.
Alternatively, the second sensing region may be enabled in the event that it is determined that the acquisition region has an operator present. Since the sensing units of the plurality of first sensing regions are already in the enabled state, the sensing units of other regions than the first sensing regions in the second sensing region are actually enabled, so that the sensing units in the whole second sensing region are in the enabled state.
On this basis, a third sensing value of the second sensing region may be obtained at least twice based on the target acquisition period. Optionally, the third sensing value may include a sensing value of a sensing unit in the second sensing region. At this time, the third sensing value may include a sensing value matrix composed of sensing values. Alternatively, the sensing value of the sensing unit in the second sensing area is obtained, and the second processing value may be formed based on the processing of the sensing value of the sensing unit in the second sensing area, and the second processing value may be used as the third sensing value.
Alternatively, based on the acquisition of at least two third sensing values, at least two fingerprint images may be acquired based on the at least two third sensing values, and movement of the operation body with respect to the acquisition region may be determined based on the at least two fingerprint images. For example, a third sensed value for the N-1 th acquisition cycle may be obtained, and the N-1 th fingerprint image may be generated based on the third sensed value for the N-1 th acquisition cycle. After the time period T1, a third sensing value of the nth acquisition period may be acquired, and an nth fingerprint image may be generated based on the third sensing value of the nth acquisition period. Then, a specific point in the N-1 th fingerprint image and a characteristic point in the N-1 th fingerprint image may be identified, and movement of the operator relative to the acquisition region may be determined by comparing the specific point in the N-1 th fingerprint image and the characteristic point in the N-th fingerprint image. In this way, the accuracy of sensing the movement of the operation body with respect to the acquisition region can be improved.
Alternatively, as shown in fig. 4, it may be determined whether or not there is an operation body present based on the first sensing values of the plurality of first sensing regions. If it is determined that the acquisition region has the presence of an operator, a contact event is obtained that characterizes the operator in contact with the acquisition region.
In response to the contact event, a second sensing value may be obtained based on a target acquisition period through a plurality of the first sensing regions. First displacement information for characterizing a movement of the operator relative to the acquisition area may be obtained based on at least two of the sensing values.
In synchronization therewith, a second sensing region of the fingerprint sensor, through which a third sensing value is acquired, may be enabled in response to the contact event. Second displacement information characterizing the movement of the operator relative to the acquisition area may be obtained based on at least two of the third sensing values.
Based on the first displacement information and the second displacement information, consistency of the first displacement information and the second displacement information can be compared, and when the consistency of the first displacement information and the second displacement information meets a target condition, target displacement information can be generated based on the first displacement information and the second displacement information, and the target displacement information is used for identifying movement of an operating body relative to the acquisition area. Control instructions for the electronic device to perform a target operation may be generated based on the target displacement information.
In some embodiments, the processor is specifically configured to:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a second processing mode based on a second trigger instruction; the second processing mode corresponds to the fingerprint sensor determining movement of the operating body through the second sensing area.
Alternatively, the processor may trigger a second trigger instruction in response to the target application running. And generating control coordinates corresponding to the movement of the operating body through the second processing mode, and controlling the display content output by the target application program to change through the control coordinates. For example, the processor may trigger a second trigger instruction in response to a camera program start, generate control coordinates corresponding to movement of the operation body through the second processing mode, control a focal length, a focus position, and the like of the camera through the control coordinates. Of course, the control coordinates may also control, for example, the display interface to slide or scroll, etc.
Optionally, the processor may acquire, based on the second trigger instruction, corresponding position information based on at least two third sensing values in the second processing mode, where the position information may be used to characterize a relative position of the operating body and the second sensing area. Control coordinates for controlling a display content change of a screen of the electronic device may be generated based on at least two position information.
Optionally, the processor may also determine, by the second processing mode, a moving direction of the operation body with respect to the acquisition area based on at least two third sensing values, and construct a start coordinate. At least one target coordinate is constructed based on the start coordinate and the direction of movement. For example, a preset reference coordinate may be used as the start coordinate, and a fixed value may be added to form the target coordinate of the subsequent acquisition cycle on the basis of the start coordinate or the target coordinate of the previous acquisition cycle.
It can be understood that, during actual application, the first trigger instruction or the second trigger instruction may be generated for different application scenarios, so as to selectively trigger the first processing mode or the second processing mode. For example, in an application scenario with relatively low control accuracy requirements, a first trigger instruction may be generated to trigger a first processing mode, and control coordinates may be generated based on second sensing values of the plurality of first sensing regions. And generating a second trigger instruction under an application scene with higher control precision requirement, triggering a second processing mode, and generating control coordinates based on a third sensing value of the second sensing region.
The embodiment of the application further provides a processing method, and fig. 5 is a flowchart of the processing method of the embodiment of the application, and referring to fig. 5, the processing method of the embodiment of the application may specifically include the following steps.
S201, acquiring first sensing values of a plurality of first sensing areas of a fingerprint sensor; the first sensing areas are arranged in the collecting area of the fingerprint sensor at intervals.
S202, if the existence of an operating body is determined through the first sensing values of the plurality of first sensing areas, obtaining second sensing values of the plurality of first sensing areas at least twice based on a target acquisition period;
s203, determining the movement of the operation body relative to the acquisition area based on at least two second sensing values.
In some embodiments, further comprising:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a first processing mode based on a first trigger instruction; the first processing mode corresponds to the fingerprint sensor determining movement of the operating body through the plurality of first sensing areas.
In some embodiments, generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device by a first processing mode includes:
if the existence of the operating body is determined through the first sensing values of the first sensing areas, a contact event is obtained;
obtaining second sensing values of the plurality of first sensing regions at least twice based on a target acquisition period in response to the contact event;
determining a moving direction of the operation body relative to the acquisition area based on at least two second sensing values;
obtaining initial coordinates in response to the contact event, wherein the initial coordinates belong to a display area of a screen;
and constructing at least one target coordinate based on the moving direction and the initial coordinate until a departure event is obtained through the fingerprint sensor, wherein each of the initial coordinate and the at least one target coordinate is used for controlling a display object of the display area to move according to the direction indicated by the direction information.
In some embodiments, determining a direction of movement of the operator relative to the acquisition region based on at least two second sensed values comprises:
obtaining second sensing values of each of the plurality of first sensing areas at a first moment;
obtaining second sensing values of each of the plurality of first sensing areas at a second moment;
comparing the plurality of second sensing values at the first time and the plurality of second sensing values at the second time determines a direction of movement of the operator relative to the acquisition area.
In some embodiments, constructing at least one target coordinate until a departure event is obtained by the fingerprint sensor comprises:
and adding a fixed value based on the N-1 th target coordinate to construct the N-th target coordinate.
In some embodiments, the method further comprises:
enabling a second sensing region of the fingerprint sensor if it is determined that an operating body exists through first sensing values of the plurality of first sensing regions; wherein the second sensing regions are more accurate than each of the first sensing regions; the second sensing region comprises the first sensing region;
obtaining a third induction value of the second induction area at least twice based on the target acquisition period;
movement of the operator relative to the acquisition region is determined based on at least two third sensed values.
In some embodiments, the method further comprises:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a second processing mode based on a second trigger instruction; the second processing mode corresponds to the fingerprint sensor determining movement of the operating body through the second sensing area.
In some embodiments, the method further comprises:
and triggering a second triggering instruction when the target application program runs.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, an electronic device, a computer-readable storage medium, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media having computer-usable program code embodied therein. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium.
The processor may be a general purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a programmable logic device (programmable logic device, PLD), or a combination thereof. The PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), general-purpose array logic (generic array logic, GAL) or any combination thereof. The general purpose processor may be a microprocessor or any conventional processor or the like.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
The readable storage medium may be a magnetic disk, an optical disk, a DVD, a USB, a read-only memory (ROM), a random-access memory (RAM), etc., and the specific storage medium form is not limited in this application.
The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application, the scope of which is defined by the claims. Various modifications and equivalent arrangements may be made to the present application by those skilled in the art, which modifications and equivalents are also considered to be within the scope of the present application.

Claims (10)

1. An electronic device, comprising:
the fingerprint sensor is provided with a plurality of first sensing areas, and the first sensing areas are arranged in an acquisition area of the fingerprint sensor at intervals;
and a processor for determining movement of the operator relative to the acquisition area based on at least two second sensing values if it is determined that the operator is present by the first sensing values of the plurality of first sensing areas, and obtaining the second sensing values of the plurality of first sensing areas at least twice based on the target acquisition period.
2. The electronic device of claim 1, the processor further to:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a first processing mode based on a first trigger instruction; the first processing mode corresponds to the fingerprint sensor determining movement of the operating body through the plurality of first sensing areas.
3. The electronic device of claim 2, the processor being specifically configured to:
if the existence of the operating body is determined through the first sensing values of the first sensing areas, a contact event is obtained;
obtaining second sensing values of the plurality of first sensing regions at least twice based on a target acquisition period in response to the contact event;
determining a moving direction of the operation body relative to the acquisition area based on at least two second sensing values;
obtaining initial coordinates in response to the contact event, wherein the initial coordinates belong to a display area of a screen;
and constructing at least one target coordinate based on the moving direction and the initial coordinate until a departure event is obtained through the fingerprint sensor, wherein each of the initial coordinate and the at least one target coordinate is used for controlling a display object of the display area to move according to the direction indicated by the direction information.
4. The electronic device of claim 3, the processor being specifically configured to:
obtaining second sensing values of each of the plurality of first sensing areas at a first moment;
obtaining second sensing values of each of the plurality of first sensing areas at a second moment;
comparing the plurality of second sensing values at the first time and the plurality of second sensing values at the second time determines a direction of movement of the operator relative to the acquisition area.
5. The electronic device of claim 3, the processor being specifically configured to:
and adding a fixed value based on the N-1 th target coordinate to construct the N-th target coordinate.
6. The electronic device of claim 1, the processor being specifically configured to:
enabling a second sensing region of the fingerprint sensor if it is determined that an operating body exists through first sensing values of the plurality of first sensing regions; wherein the second sensing regions are more accurate than each of the first sensing regions; the second sensing region comprises the first sensing region;
obtaining a third induction value of the second induction area at least twice based on the target acquisition period;
movement of the operator relative to the acquisition region is determined based on at least two third sensed values.
7. The electronic device of claim 2 or 6, the processor being specifically configured to:
generating control coordinates corresponding to movement of the operation body for controlling display content change of a screen of the electronic device through a second processing mode based on a second trigger instruction; the second processing mode corresponds to the fingerprint sensor determining movement of the operating body through the second sensing area.
8. The electronic device of claim 7, the processor being specifically configured to:
and triggering a second triggering instruction when the target application program runs.
9. A method of processing, comprising:
acquiring first sensing values of a plurality of first sensing areas of the fingerprint sensor; the first sensing areas are arranged in the acquisition area of the fingerprint sensor at intervals;
if the existence of an operating body is determined through the first sensing values of the plurality of first sensing areas, obtaining second sensing values of the plurality of first sensing areas at least twice based on a target acquisition period;
movement of the operator relative to the acquisition region is determined based on at least two second sensed values.
10. The processing method according to claim 9, further comprising:
generating control coordinates corresponding to movement of the operating body for controlling display content change of a screen of the electronic device through a first processing mode based on a first trigger instruction; the first processing mode corresponds to the fingerprint sensor determining movement of the operating body through the plurality of first sensing areas.
CN202311863331.3A 2023-12-29 2023-12-29 Electronic equipment and processing method Pending CN117666883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311863331.3A CN117666883A (en) 2023-12-29 2023-12-29 Electronic equipment and processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311863331.3A CN117666883A (en) 2023-12-29 2023-12-29 Electronic equipment and processing method

Publications (1)

Publication Number Publication Date
CN117666883A true CN117666883A (en) 2024-03-08

Family

ID=90075221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311863331.3A Pending CN117666883A (en) 2023-12-29 2023-12-29 Electronic equipment and processing method

Country Status (1)

Country Link
CN (1) CN117666883A (en)

Similar Documents

Publication Publication Date Title
KR101773030B1 (en) Method of controlling an electronic device
US20150268789A1 (en) Method for preventing accidentally triggering edge swipe gesture and gesture triggering
US20160180146A1 (en) Fingerprint authentication using touch sensor data
EP3518522B1 (en) Image capturing method and device
JP6314251B2 (en) Operation input device, operation input method and program
CN108920066B (en) Touch screen sliding adjustment method and device and touch equipment
CN107203313B (en) Method for adjusting desktop display object, mobile terminal and computer readable storage medium
CN112204576B (en) Method for determining finger movements on a fingerprint sensor
CN108733302B (en) Gesture triggering method
CN110211021B (en) Image processing apparatus, image processing method, and storage medium
CN112150580A (en) Image processing method and device, intelligent terminal and storage medium
US20180018085A1 (en) Image processing apparatus, image processing method, and recording medium
JP2019133287A (en) Biometric authentication device, biometric authentication program and biometric authentication method
CN106934389A (en) A kind of fingerprint identification method and mobile terminal
JP6278889B2 (en) INPUT DEVICE, ITS CONTROL METHOD, AND PROGRAM
KR102065912B1 (en) Apparatus and method for obtaining image for user authentication using sensing pressure
CN111052133A (en) Method for determining contact of a finger with a fingerprint sensor and fingerprint sensing system
CN117666883A (en) Electronic equipment and processing method
JP6397508B2 (en) Method and apparatus for generating a personal input panel
US10114469B2 (en) Input method touch device using the input method, gesture detecting device, computer-readable recording medium, and computer program product
KR20180122721A (en) An information processing apparatus, an information processing method, and an information processing program stored in a storage medium
CN111104886A (en) Gesture recognition method, device, equipment and storage medium
CN105717982B (en) Information processing method and electronic equipment
TWI674536B (en) Fingerprint navigation method and electronic device
JP5495657B2 (en) Character recognition device, character recognition program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination