CN111444874B - Fingerprint module control method and electronic equipment - Google Patents

Fingerprint module control method and electronic equipment Download PDF

Info

Publication number
CN111444874B
CN111444874B CN202010265699.XA CN202010265699A CN111444874B CN 111444874 B CN111444874 B CN 111444874B CN 202010265699 A CN202010265699 A CN 202010265699A CN 111444874 B CN111444874 B CN 111444874B
Authority
CN
China
Prior art keywords
angle
screen
fingerprint module
change amount
determining
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.)
Active
Application number
CN202010265699.XA
Other languages
Chinese (zh)
Other versions
CN111444874A (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010265699.XA priority Critical patent/CN111444874B/en
Publication of CN111444874A publication Critical patent/CN111444874A/en
Application granted granted Critical
Publication of CN111444874B publication Critical patent/CN111444874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/13Sensors therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a fingerprint module control method and electronic equipment. The method is applied to electronic equipment, the electronic equipment comprises at least two screens and a fingerprint module positioned below the screens, and the method comprises the following steps: acquiring the angle variation of the included angle between every two adjacent screens in at least two screens and the current position of the fingerprint module; determining the moving direction of the fingerprint module and the moving distance of the fingerprint module based on the angle variation of each included angle; determining a target position of the fingerprint module based on the moving direction, the moving distance and the current position; based on the moving direction, the fingerprint module is controlled to move from the current position to the target position. According to the implementation scheme, the position of the fingerprint module is moved in real time according to the folding requirement of the user on the screen of the electronic equipment, so that the user can find the position of the fingerprint module faster, and the efficiency of unlocking the fingerprint under the screen is improved.

Description

Fingerprint module control method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a fingerprint module control method and electronic equipment.
Background
As the technology of flexible screen is mature, the interactive operation of combining hardware and mobile phone software, which is generated by utilizing the bendable characteristic of the flexible screen, is increasing. These technologies and ideas are rapidly generating and translating into technology accumulation for enterprises upstream and downstream in the industry chain.
The under-screen fingerprint is a hidden under-screen fingerprint design, and the finger can unlock by directly pressing the appointed area of the screen. For folding screen equipment, when the screen is folded or unfolded, because the screen interface can change, if the fingerprint module under the screen is arranged in a specified area of the screen, a user needs to unlock the fingerprint under the screen, the screen possibly needs to be turned over, the operation is inconvenient, and the fingerprint unlocking efficiency under the screen is lower for the user.
Disclosure of Invention
The embodiment of the invention provides a fingerprint module control method and electronic equipment, which can solve the problem of low on-screen fingerprint unlocking efficiency.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a fingerprint module control method, applied to an electronic device, where the electronic device includes at least two screens and a fingerprint module located below the screens, the method includes:
acquiring the angle variation of the included angle between every two adjacent screens in at least two screens and the current position of the fingerprint module;
determining the moving direction of the fingerprint module and the moving distance of the fingerprint module based on the angle variation of each included angle;
determining a target position of the fingerprint module based on the moving direction, the moving distance and the current position;
Based on the moving direction, the fingerprint module is controlled to move from the current position to the target position.
In a second aspect, an embodiment of the present invention provides an electronic device, including at least two screens and a fingerprint module located below the screens, where the electronic device includes:
the first acquisition module is used for acquiring the angle variation of the included angle between every two adjacent screens in the at least two screens and the current position of the fingerprint module;
the movement information determining module is used for determining the movement direction of the fingerprint module and the movement distance of the fingerprint module based on the angle variation of each included angle;
the target position determining module is used for determining the target position of the fingerprint module based on the moving direction, the moving distance and the current position;
and the moving module is used for controlling the fingerprint module to move from the current position to the target position based on the moving direction.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor and a memory storing computer program instructions;
the processor executes the computer program instructions to implement the fingerprint module control method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium, where computer program instructions are stored, where the computer program instructions, when executed by a processor, implement a fingerprint module control method as provided in the first aspect.
In the embodiment of the invention, in the process that the electronic equipment is in screen folding, the moving direction of the fingerprint module and the moving distance of the fingerprint module are determined based on the acquired angle change amount of the included angle between every two adjacent screens, then the target position of the fingerprint module is determined based on the moving direction, the moving distance and the current position, and the fingerprint module is controlled to move from the current position to the target position. The folding requirement of the user on the electronic screen is reflected by the angle variation of each included angle, the position of the fingerprint module is moved in real time according to the folding requirement of the user on the screen of the electronic equipment, the user can find the position of the fingerprint module more quickly, and the efficiency of unlocking the fingerprints under the screen is improved.
Drawings
The invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings in which like or similar reference characters designate like or similar features.
FIG. 1 is a flowchart of a fingerprint module control method according to an embodiment of the present invention;
FIG. 2 is a schematic view of a first direction according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a position of a fingerprint module when a folding screen of an electronic device is in an unfolded state according to an embodiment of the present invention;
FIG. 4 is a schematic diagram showing the positions of the fingerprint module when the first included angle provided by the embodiment of the invention is reduced to 120 degrees;
fig. 5 is a schematic diagram illustrating a change in position of a fingerprint module when a first included angle provided in an embodiment of the present invention increases from 120 degrees to 180 degrees;
FIG. 6a is a schematic diagram illustrating a position of a fingerprint module when a first angle is 180 degrees according to an embodiment of the present invention;
FIG. 6b is a schematic diagram of a position of a fingerprint module when a first angle is 0 degrees according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a third direction and a fourth direction according to an embodiment of the present invention;
fig. 8 is a schematic diagram illustrating a position of a fingerprint module when a folding screen of an electronic device is in an unfolded state according to another embodiment of the present invention;
fig. 9 is a schematic diagram illustrating a change in position of a fingerprint module when the second included angle provided in the embodiment of the present invention is reduced from 180 degrees to 90 degrees;
fig. 10 is a schematic diagram illustrating a change in position of a fingerprint module when the second included angle provided in the embodiment of the present invention is reduced from 90 degrees to 0 degrees;
FIG. 11 is a schematic view of the second angle and the fourth angle according to the embodiment of the present invention, which are all changed between 120 degrees and 180 degrees;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
Fig. 13 is a second schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely configured to illustrate the invention and are not configured to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the invention by showing examples of the invention.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
Based on the technical problems, the embodiment of the invention provides a fingerprint module control method and electronic equipment, which can improve the efficiency of under-screen fingerprint unlocking. The following detailed description refers to the accompanying drawings.
Fig. 1 is a flow chart illustrating a fingerprint module control method according to an embodiment of the present invention. As shown in fig. 1, the fingerprint module control method provided by the embodiment of the invention is applied to an electronic device, the electronic device comprises at least two screens and a fingerprint module positioned below the screens, and the method comprises steps 110 to 140.
Step 110, obtaining the angle variation of the included angle between every two adjacent screens in at least two screens and the current position of the fingerprint module.
Step 120, determining the moving direction of the fingerprint module and the moving distance of the fingerprint module based on the angle variation of each included angle.
And 130, determining the target position of the fingerprint module based on the moving direction, the moving distance and the current position.
Step 140, controlling the fingerprint module to move from the current position to the target position based on the moving direction.
In the embodiment of the invention, in the process that the electronic equipment is in screen folding, the moving direction of the fingerprint module and the moving distance of the fingerprint module are determined based on the acquired angle change amount of the included angle between every two adjacent screens, then the target position of the fingerprint module is determined based on the moving direction, the moving distance and the current position, and the fingerprint module is controlled to move from the current position to the target position. The folding requirement of the user on the electronic screen is reflected by the angle variation of each included angle, the position of the fingerprint module is moved in real time according to the folding requirement of the user on the screen of the electronic equipment, the user can find the position of the fingerprint module more quickly, and the efficiency of unlocking the fingerprints under the screen is improved.
The specific implementation of each of steps 110-140 is described in detail below.
A specific implementation of step 110 will first be described. In some embodiments, the electronic device has a folding screen that can be folded into at least two screens, i.e., the electronic device includes at least two screens. When the included angle between every two adjacent screens of the folding screen of the electronic device is 180 degrees, the whole folding screen of the electronic device is in an unfolding state.
When the included angle between any two adjacent screens in the folding screen of the electronic device is not equal to 180 degrees, the whole folding screen is in a folding state. When the included angles between the screens of the electronic equipment are different values, the folding screens representing the electronic equipment are in different folding states.
When the folding screen of the electronic device is switched between an unfolded state and a folded state, or the folding screen of the electronic device is switched between different folded states, the included angle between at least one pair of adjacent screens in the electronic screen is changed.
And acquiring the angle variation of the included angle between every two adjacent screens in the at least two screens in the process of changing the included angle between any two adjacent screens of the electronic equipment. Because the folding screen can be buckled into two at least screens, in order to be convenient for the user to carry out fingerprint unblock under the screen, consequently need consider the angle variation of the contained angle between every two adjacent screens, remove fingerprint module to suitable position.
It should be noted that, for any one of the screens in the electronic device, the screen has a first surface and a second surface that are disposed opposite to each other. Wherein the first surface is a display surface. It should be noted that the fingerprint module is located at the second surface side of the screen, i.e. below the screen.
The included angle between every two adjacent screens can be the included angle between the first surfaces of the two adjacent screens or the included angle between the second surfaces of the two screens. The included angle between the first surfaces of the two screens or the included angle between the second surfaces of the two screens is 0-180 degrees. That is, the angle between two adjacent screens is less than or equal to 180 degrees.
In the process of changing the included angle between any two adjacent screens of the electronic equipment, in order to improve the moving instantaneity of the mobile module, the angle change amount of the included angle between every two adjacent screens can be obtained according to a preset time interval.
The specific implementation of step 120 is described in detail below.
In some embodiments, the folding screen of the electronic device may be folded into two screens, a first screen and a second screen, i.e., the electronic device includes the first screen and the second screen.
In some embodiments, the folding screen of the electronic device may be folded into three screens, namely a third screen, a fourth screen, and a fifth screen, the fourth screen being connected between the third screen and the fifth screen.
The specific implementation of step 120 is slightly different in the case of different numbers of screens comprised by the electronic device. The following is a detailed description of the two cases.
First case: the electronic device includes a first screen and a second screen.
It should be noted that, the first screen and the second screen each include a first surface and a second surface opposite to each other, and the first surface is a display surface. That is, the first screen includes a first surface of the first screen and a second surface of the first screen that are disposed opposite to each other. The second screen includes a first surface of the second screen and a second surface of the second screen disposed opposite each other.
In the first case, step 120 comprises: in the process that a first included angle between the second surface of the first screen and the second surface of the second screen is changed within a first preset angle range, if the first angle change amount of the first included angle is a negative value, determining that the moving direction is a first direction; if the first angle variation is a positive value, determining that the moving direction is a second direction; wherein the first direction and the second direction are opposite; the moving distance is determined based on the first angle change amount and the width of the first screen or the width of the second screen.
In some embodiments of the present invention, the first preset angle range may be 0 to 180 degrees, or may be set to other angle ranges according to the folding requirement, which is not limited herein. The first preset angle range is 0 degrees to 180 degrees.
It should be noted that, the first angle between the second surface of the first screen and the second surface of the second screen varies between 0 degrees and 180 degrees, including: the first angle is smaller and larger, and the first angle is smaller and larger.
Case a: the first angle is reduced from large.
If the first included angle is reduced from 0 degrees to 180 degrees, the first screen and the second screen are folded slowly. As an example, as shown in fig. 2, if the first angle is reduced from 180 degrees to 120 degrees, the first screen and the second screen change from an unfolded state to a folded state, and the first angle change amount of the first angle is a negative value, the direction of the fingerprint module is determined as the first direction.
As one example, the first direction is a direction perpendicular to an intersection line of the first screen and the second screen (i.e., a folding line shown in fig. 2), and the first direction is directed from the intersection line to an edge line of the first screen or the second screen parallel to the intersection line. The dash-dot line with the arrow in fig. 2 shows the first direction.
As an example, referring to fig. 3, assuming that the first included angle is 180 degrees, the under-screen fingerprint module is at a middle position of the entire folding screen in the horizontal direction. If the first angle is reduced from 180 degrees to 120 degrees, the fingerprint module is moved from the position of fig. 3 to the position of fig. 4 in the first direction shown in fig. 4.
Under the condition A, the representative user wants to use the folding screen in the folding state, so that the fingerprint module is moved to the first screen or the second screen, the user operation is facilitated, and the fingerprint unlocking efficiency under the screen is improved.
B case: the first angle is small and large.
If the first included angle is changed from 0 degrees to 180 degrees from large to small, the first screen and the second screen in the folded state are unfolded slowly. As an example, as shown in fig. 5, if the first angle is reduced from 120 degrees to 180 degrees, the first screen and the second screen are changed from the folded state to the unfolded state, and the first angle change amount is a positive value, the direction of the fingerprint module is determined as a second direction opposite to the first direction.
As an example, referring to fig. 5, the second direction is a direction perpendicular to an intersection line of the first screen and the second screen (i.e., the folding line indicated in fig. 2), and the second direction is directed from an edge line of the second screen to the intersection line. The dashed-dotted line with the arrow in fig. 5 shows the second direction.
As an example, referring to fig. 5, if the first included angle increases from 120 degrees to 180 degrees, the fingerprint module moves from the position in fig. 4 to the central position of the entire folding screen in the horizontal direction along the second direction.
It should be noted that, whether the fingerprint module is moved to the first screen or the second screen may be predefined, and the first direction and the second direction may be determined.
Under the B condition, the representative user wants to use the folding screen in the unfolded state, so that the fingerprint module is moved to the middle of the whole folding screen, the user operation is facilitated, and the fingerprint unlocking efficiency under the screen is improved.
In some examples, in case a and case B, the moving distance may be determined based on the first angle change amount and the width of the first screen or the width of the second screen.
In some embodiments, if the fingerprint module is moved to the first screen in the process of reducing the first included angle is predefined, the moving distance is determined according to the first angle variation and the width of the first screen.
In some embodiments, if the fingerprint module is moved to the second screen in the process of reducing the first angle is predefined, the moving distance is determined according to the first angle variation and the width of the second screen.
In some embodiments, the width of the first screen may be equal to the width of the second screen, on the basis of which the moving distance a may be calculated using the following expression:
a=|Δθ1*b1/360| (1)
wherein Δθ1 is a first angle variation, and b1 is a width of the first screen.
In some embodiments, if the fingerprint module is moved to the first screen in the process of reducing the first included angle is predefined, b1 in the formula (1) is the width of the first screen. If the fingerprint module is moved to the second screen in the process of reducing the first included angle is predefined, b1 in the formula (1) is the width of the second screen.
As can be seen from the formula (1), if the first angle is reduced from 180 degrees to 0 degrees, see fig. 6a-6b, the fingerprint module moves from the middle position of the width of the folding screen to the middle position of the width of the first screen, i.e. the total distance the fingerprint module moves is b1/2.
It should be noted that, the fingerprint module does not have to be moved to the middle position of the first screen, but may be moved to other positions convenient for the user to operate, and the parameters in the formula (1) may be modified accordingly.
It should be noted that if the screen of the electronic device is in the folding process, that is, if the included angle between any two adjacent screens in the electronic device is in the changing process, the fingerprint module does not move if the electronic device is out of the screen, the unlocking position on the display interface of the electronic device should be the same as the position of the fingerprint module, so that the user can unlock the fingerprint module displayed on the interface, thereby saving energy consumption.
It should be noted that, if the included angle between the first surface of the first screen and the first surface of the second screen is changed between 0 degrees and 180 degrees, it represents that the user wants to close the screen of the electronic device and does not want to operate on the screen of the electronic device, and the fingerprint module under the screen is not moved.
Second case: the electronic device includes a third screen, a fourth screen, and a fifth screen.
Each of the third screen, the fourth screen and the fifth screen comprises a first surface and a second surface which are opposite, and the first surface is a display surface. That is, the third screen includes a first surface of the third screen and a second surface of the third screen; the fourth screen comprises a first surface of the fourth screen and a second surface of the fourth screen; the fifth screen includes a first surface of the fifth screen and a second surface of the fifth screen.
In the second case, since the electronic device includes 3 screens, if the user changes the folded state of the screen of the electronic device, there are the following C case and D case, and thus step 120 includes step 1201, step 1202, and step 1203.
Step 1201, in the process that the second included angle between the first surface of the third screen and the first surface of the fourth screen is changed within the second preset angle range, and the third included angle between the second surface of the fourth screen and the second surface of the fifth screen is changed within the third preset angle range, determining that the moving direction is the third direction if both the second included angle before the change and the second included angle after the change are greater than or equal to the first preset angle under the condition that the second angle change amount of the second included angle is negative; and if the second included angle before the change and the second included angle after the change are smaller than the first preset angle, determining that the moving direction is the fourth direction.
As an example, the second preset angle range may be 0 to 180 degrees, and the third preset angle range may be 0 to 180 degrees. For example, the first preset angle may be 90 degrees.
Case C: the second angle variation of the second included angle is a negative value, and the third included angle varies between 0 degrees and 180 degrees.
Referring to fig. 7, if the second included angle is reduced from 180 degrees to 120 degrees, that is, the second included angle before the change and the second included angle after the change are both greater than or equal to 90 degrees, the moving direction of the fingerprint module is the third direction. As one example, the third direction is a direction perpendicular to the intersection line of the third screen and the fourth screen (i.e., the first folding line in fig. 7), and the third direction is directed from the first folding line to the intersection line of the fourth screen and the fifth screen (i.e., the second folding line in fig. 7).
Because the second included angle before the change and the second included angle after the change are both greater than or equal to 90 degrees, the third screen does not completely shade the fourth screen, and the fingerprint module moves on the fourth screen, so that the unlocking operation of a user is facilitated.
If the second included angle is reduced from 70 degrees to 60 degrees, namely the second included angle before the change and the second included angle after the change are smaller than 90 degrees, the moving direction is the fourth direction. As one example, the fourth direction is a direction perpendicular to the second folding line, and the fourth direction is directed from the second folding line to an edge line of the fifth screen.
Because the second included angle before the change and the second included angle after the change are smaller than 90 degrees, the third screen slowly shields the fourth screen, and the fingerprint module can be moved to the first surface of the fifth screen, so that the unlocking operation of a user is facilitated.
Step 1202, determining that the moving direction is a fifth direction if the second included angle before the change and the second included angle after the change are smaller than the first preset angle under the condition that the second angle change is a positive value; and if the second included angle before the change and the second included angle after the change are larger than or equal to the first preset angle, determining that the moving direction is the sixth direction.
D case: the second angle variation is positive, and the third included angle varies between 0 degrees and 180 degrees.
If the second included angle is increased from 60 degrees to 70 degrees, that is, the second included angle before the change and the second included angle after the change are smaller than 90 degrees, the moving direction of the fingerprint module is a fifth direction opposite to the fourth direction. As one example, the fifth direction is a direction perpendicular to the second fold line, and the fifth direction is directed from an edge line of the fifth screen to the second fold line.
If the second included angle is increased from 120 degrees to 180 degrees, that is, the second included angle before the change and the second included angle after the change are both greater than or equal to 90 degrees, the moving direction of the fingerprint module is a sixth direction opposite to the third direction. The sixth direction is a direction perpendicular to the first folding line in fig. 7, and is directed from the second folding line to the first folding line.
In case C or D, step 120 includes step 1203. Step 1203, determining a moving distance based on the second angle change amount and the width of the fourth screen and/or the width of the fifth screen.
In some embodiments, the widths of the fourth screen and the fifth screen may be equal, on the basis of which the moving distance a may be calculated using the following expression:
a=|Δθ2*b2/360| (2)
where Δθ2 is the second angle change amount, and b2 is the width of the fourth screen.
It is assumed that when the entire folding screen is in an unfolded state, that is, the included angle between the third screen and the fourth screen is 180 degrees, the included angle between the fourth screen and the fifth screen is also 180 degrees, and the fingerprint module is located in the middle position of the width of the fourth screen, see fig. 8.
As can be seen from the formula (2), if the second included angle is reduced from 180 degrees to 90 degrees and the included angle between the fourth screen and the fifth screen is 180 degrees, referring to fig. 9, the fingerprint module moves from the middle position of the width of the fourth screen to the intersection position of the fourth screen and the fifth screen along the third direction.
If the second angle is reduced from 90 degrees to 0 degrees, the third screen obscures the fourth screen, and referring to fig. 10, the fingerprint module moves from the intersection position of the fourth screen and the fifth screen to the middle position of the width of the fifth screen along the fourth direction.
It should be noted that, the fingerprint module is not necessarily moved to the middle position of the fifth screen, but may be moved to other positions convenient for the user to operate, and the parameters in the formula (2) may be modified accordingly.
Similarly, if the second included angle increases from 0 degrees to 90 degrees, the fingerprint module moves from the middle position of the width of the fifth screen to the intersection position of the fourth screen and the fifth screen along the fifth direction. Similarly, if the second included angle increases from 90 degrees to 180 degrees, the fingerprint module moves from the intersection position of the fourth screen and the fifth screen to the width middle position of the fourth screen.
In some embodiments, in the second case, since the electronic device includes 3 screens, if the user changes the folding state of the screens of the electronic device, there are also E-case, F-case, G-case, and H-case, so step 120 further includes steps 1204 to 1208.
In step 1204, in the process that the second included angle changes within the second preset angle range, and the fourth included angle between the first surface of the fourth screen and the first surface of the fifth screen changes within the fourth preset angle range, the moving direction is determined to be the sixth direction when the second angle change amount is a positive value and the third angle change amount of the fourth included angle is a negative value.
As an example, the fourth preset angle range may be 0 degrees to 180 degrees.
Case E: the second angle change is positive and the third angle change of the fourth angle is negative.
Referring to fig. 11, if the second included angle increases from 120 degrees to 180 degrees and the fourth included angle decreases from 180 degrees to 120 degrees, the moving direction of the fingerprint module is the sixth direction.
Because the second included angle gradually increases, the fourth included angle gradually decreases, namely the fifth screen gradually shields the first surface of the fourth screen, and the first surface of the third screen gradually appears, the fingerprint module is moved along the sixth direction, so that the user can unlock conveniently.
In step 1205, in the process that the second included angle changes within the second preset angle range, and the fourth included angle between the first surface of the fourth screen and the first surface of the fifth screen changes within the fourth preset angle range, the moving direction is determined to be the third direction when the second angle change amount is negative and the third angle change amount is positive.
In case F, the second angle change amount is a negative value and the third angle change amount is a positive value.
Referring to fig. 11, if the fourth included angle increases from 120 degrees to 180 degrees and the second included angle decreases from 180 degrees to 120 degrees, the moving direction of the fingerprint module is the third direction.
Because the fourth included angle gradually increases, the second included angle gradually decreases, namely the third screen gradually shields the first surface of the fourth screen, and the first surface of the fifth screen gradually appears, the fingerprint module is moved along the third direction, so that the user can unlock conveniently.
In step 1206, in the process that the second included angle changes within the second preset angle range, and the fourth included angle between the first surface of the fourth screen and the first surface of the fifth screen changes within the fourth preset angle range, if the absolute value of the second angle change is smaller than the absolute value of the third angle change, the moving direction is determined to be the sixth direction, and if the absolute value of the second angle change is larger than the absolute value of the third angle change, the moving direction is determined to be the third direction, under the condition that both the second angle change and the third angle change are negative.
In case G, the second angle change amount is a negative value and the third angle change amount is a negative value.
In the case of G, since the second angle variation is negative and the third angle variation is negative, both the third screen and the fifth screen are slowly blocking the first surface of the fourth screen. In order to facilitate unlocking, the sum of the changed second included angle and the changed fourth included angle needs to be limited to be larger than a preset angle threshold value. For example, the preset angle threshold is 240 degrees.
If only the second angle variation is considered to be negative, the moving direction of the fingerprint module should be the third direction, and if only the third angle variation is considered to be negative, the moving direction of the fingerprint module should be the sixth direction, so that the moving trend of the fingerprint module needs to be determined by determining the magnitude between the absolute value of the second angle variation and the absolute value of the third angle variation.
And if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, determining the moving direction as the sixth direction, and if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount, determining the moving direction as the third direction.
In step 1207, in the process that the second included angle changes within the second preset angle range, and the fourth included angle between the first surface of the fourth screen and the first surface of the fifth screen changes within the fourth preset angle range, if the absolute value of the second angle change is smaller than the absolute value of the third angle change, the moving direction is determined to be the third direction, and if the absolute value of the second angle change is larger than the absolute value of the third angle change, the moving direction is determined to be the sixth direction.
In case H, the second angle change amount is a positive value and the third angle change amount is a positive value.
If only the second angle variation is considered to be positive, the moving direction of the fingerprint module is determined to be the sixth direction, and if only the third angle variation is considered to be positive, the moving direction of the fingerprint module is determined to be the third direction, so that the moving trend of the fingerprint module needs to be determined by judging the magnitude between the absolute value of the second angle variation and the absolute value of the third angle variation.
And if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, determining the moving direction as the third direction, and if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount, determining the moving direction as the sixth direction.
Step 120 further includes step 1208 of determining a movement distance based on the second angle change, the third angle change, the width of the fourth screen, and/or the width of the fifth screen on an E-case, F-case, G-case, or H-case basis. Wherein the sum of the changed second included angle and the changed fourth included angle is larger than a preset angle threshold.
In some embodiments, the widths of the fourth screen and the fifth screen may be equal, on the basis of which the moving distance a may be calculated using the following expression:
a=|(Δθ2–Δθ3)b2/180| (3)
Where Δθ2 is the second angle change amount, Δθ3 is the third angle change amount, and b2 is the width of the fourth screen.
It is assumed that when the whole folding screen is in an unfolded state, that is, an included angle between the third screen and the fourth screen is 180 degrees, an included angle between the fourth screen and the fifth screen is also 180 degrees, and the fingerprint module is located at a width middle position of the fourth screen.
As can be seen from the formula (3), if the second angle is reduced from 180 degrees to 170 degrees, the fourth angle is reduced from 180 degrees to 160 degrees, and the fingerprint module moves b2/18 from the middle position of the width of the fourth screen to the position a on the fourth screen along the sixth direction.
If the second included angle is continuously reduced from 170 degrees to 160 degrees and the fourth included angle is increased from 160 degrees to 180 degrees, the fingerprint module moves B2/6 from the position A to the position B on the fourth screen along the third direction.
If the fourth included angle is reduced from 180 degrees to 160 degrees and the second included angle is continuously increased from 160 degrees to 170 degrees, the fingerprint module moves B2/6 from the position B to the position A on the fourth screen along the sixth direction.
If the second included angle increases from 170 to 180 degrees and the fourth included angle increases from 160 to 180 degrees, the fingerprint module moves b2/18 from the position A along the third direction to the central position on the fourth screen.
It should be noted that, in step 130, after the current position, the moving direction and the moving distance of the fingerprint module are determined, the final position, i.e. the target position, where the fingerprint module needs to be moved may be determined.
In step 140, after the target position of the fingerprint module is obtained, the fingerprint module is controlled to move to the target position based on the moving direction.
In some embodiments of the present invention, the method for controlling a fingerprint module provided in the embodiment of the present invention further includes: acquiring the angle change rate of each included angle; and determining the moving speed of the fingerprint module based on the angle change speed. On this basis, step 140 includes: and controlling the fingerprint module to move from the current position to the target position based on the moving direction and the moving speed.
In some embodiments, in the first case, the moving speed of the fingerprint module is determined according to the changing speed of the first included angle. As an example, the movement rate of the fingerprint module is positively correlated with the angular change rate of the first included angle. That is, when the user changes the first angle rapidly, the fingerprint module moves rapidly. Otherwise, when the user slowly changes the first included angle, the fingerprint module slowly moves along with the first included angle.
In other embodiments, in the second case, in the case of C and the case of D, the movement rate of the fingerprint module is determined according to the change rate of the second angle. As an example, the movement rate of the fingerprint module is positively correlated with the angular change rate of the second included angle.
And under the conditions of E, F, G or H, determining the moving speed of the fingerprint module according to the changing speed of the second included angle and/or the changing speed of the fourth included angle. As an example, the movement rate of the fingerprint module is positively correlated with the angular change rate of the second included angle or the angular change rate of the fourth included angle. In other embodiments, the movement rate of the fingerprint module may be determined with the greater of the angular rate of change of the second included angle and the angular rate of change of the fourth included angle.
The moving speed of the fingerprint module is determined according to the change speed of the included angle, so that the requirements of users can be considered, and the good experience of the users is improved.
If the electronic device includes more than three electronic screens, the control method of the fingerprint module is similar to the control method of the two cases, and the purpose is to move the fingerprint module to the screen convenient for the user to operate and see, which is not described herein.
Fig. 12 shows a schematic structural diagram of an electronic device 1200 according to an embodiment of the present invention. As shown in fig. 12, an electronic device 1200 provided by an embodiment of the present invention includes at least two screens and a fingerprint module located below the screens, where the electronic device 1200 further includes:
the first obtaining module 1210 is configured to obtain an angle variation of an included angle between every two adjacent screens in the at least two screens and a current position of the fingerprint module.
The movement information determining module 1220 is configured to determine a movement direction of the fingerprint module and a movement distance of the fingerprint module based on the angle variation of each included angle.
The target position determining module 1230 is configured to determine a target position of the fingerprint module based on the moving direction, the moving distance and the current position.
The moving module 1240 is configured to control the fingerprint module to move from the current position to the target position based on the moving direction.
In the embodiment of the invention, in the process that the electronic equipment is in screen folding, the moving direction of the fingerprint module and the moving distance of the fingerprint module are determined based on the acquired angle change amount of the included angle between every two adjacent screens, then the target position of the fingerprint module is determined based on the moving direction, the moving distance and the current position, and the fingerprint module is controlled to move from the current position to the target position. The folding requirement of the user on the electronic screen is reflected by the angle variation of each included angle, the position of the fingerprint module is moved in real time according to the folding requirement of the user on the screen of the electronic equipment, the user can find the position of the fingerprint module more quickly, and the efficiency of unlocking the fingerprints under the screen is improved.
In some embodiments of the invention, the electronic device 1200 further comprises:
the second acquisition module is used for acquiring the angle change rate of each included angle;
and the movement rate determining module is used for determining the movement rate of the fingerprint module based on the angle change rate.
The mobile module is specifically used for:
and controlling the fingerprint module to move from the current position to the target position based on the moving direction and the moving speed.
In some embodiments of the invention, an electronic device includes a first screen and a second screen; the first screen and the second screen respectively comprise a first surface and a second surface which are opposite, and the first surface is a display surface; the movement information determination module 1220 includes:
the first moving direction determining unit is configured to determine, in a process that a first included angle between the second surface of the first screen and the second surface of the second screen changes within a first preset angle range, that the moving direction is the first direction if a first angle change amount of the first included angle is a negative value.
A second moving direction determining unit configured to determine that the moving direction is the second direction if the first angle variation is a positive value; wherein the first direction and the second direction are opposite.
And a first moving distance determining unit configured to determine a moving distance based on the first angle change amount and a width of the first screen or a width of the second screen.
In some embodiments of the present invention, the at least two screens include a third screen, a fourth screen, and a fifth screen, the fourth screen being connected between the third screen and the fifth screen; each of the third screen, the fourth screen and the fifth screen comprises a first surface and a second surface which are opposite, and the first surface is a display surface; wherein the movement information determining module 1220 includes:
a third movement direction determining unit, configured to determine, when the second angle variation of the second angle is negative and the second angle before the change and the second angle after the change are both greater than or equal to the first preset angle, that the movement direction is a third direction in a process that the second angle between the first surface of the third screen and the first surface of the fourth screen is changed within a second preset angle range, and the third angle between the second surface of the fourth screen and the second surface of the fifth screen is changed within the third preset angle range; and if the second included angle before the change and the second included angle after the change are smaller than the first preset angle, determining that the moving direction is the fourth direction.
A fourth moving direction determining unit, configured to determine, when the second angle variation is a positive value, that the moving direction is a fifth direction if the second included angle before the change and the second included angle after the change are smaller than the first preset angle; and if the second included angle before the change and the second included angle after the change are larger than or equal to the first preset angle, determining that the moving direction is the sixth direction.
And a second moving distance determining unit that determines a moving distance based on the second angle change amount and the width of the fourth screen and/or the width of the fifth screen.
Wherein the third direction is opposite to the sixth direction and the fourth direction is opposite to the fifth direction. .
In some embodiments of the present invention, the movement information determination module 1220 includes:
and the fifth moving direction determining unit is used for determining that the moving direction is the sixth direction under the condition that the second angle variation is positive and the third angle variation of the fourth angle is negative in the process that the second angle varies within a second preset angle range and the fourth angle between the first surface of the fourth screen and the first surface of the fifth screen varies within a fourth preset angle range.
A sixth moving direction determining unit configured to determine that the moving direction is the third direction when the second angle change amount is a negative value and the third angle change amount is a positive value.
A seventh moving direction determining unit configured to determine, when the second angle change amount and the third angle change amount are both negative, that the moving direction is the sixth direction if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, and that the moving direction is the third direction if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount.
And an eighth moving direction determining unit configured to determine, when the second angle change amount and the third angle change amount are both positive values, that the moving direction is the third direction if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, and that the moving direction is the sixth direction if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount.
And a third moving distance determining unit configured to determine a moving distance based on the second angle change amount, the third angle change amount, the width of the fourth screen, and/or the width of the fifth screen.
Wherein the sum of the changed second included angle and the changed fourth included angle is larger than a preset angle threshold.
The electronic device 1200 provided in the embodiment of the present invention can implement each process in the embodiment of the method for controlling a fingerprint module provided in the embodiment of the present invention, and in order to avoid repetition, a description is omitted here.
Fig. 13 is a schematic diagram of a hardware architecture of an electronic device implementing various embodiments of the present invention, where the electronic device 1300 includes, but is not limited to: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, processor 1310, and power source 1311. It will be appreciated by those skilled in the art that the electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like. The electronic device 1300 also includes at least two screens and a fingerprint module (not shown in fig. 13) located below the screens.
The processor 1310 is configured to obtain an angle variation of an included angle between each two adjacent screens in the at least two screens and a current position of the fingerprint module; determining the moving direction of the fingerprint module and the moving distance of the fingerprint module based on the angle variation of each included angle; determining a target position of the fingerprint module based on the moving direction, the moving distance and the current position; based on the moving direction, the fingerprint module is controlled to move from the current position to the target position.
In the embodiment of the invention, in the process that the electronic equipment is in screen folding, the moving direction of the fingerprint module and the moving distance of the fingerprint module are determined based on the acquired angle change amount of the included angle between every two adjacent screens, then the target position of the fingerprint module is determined based on the moving direction, the moving distance and the current position, and the fingerprint module is controlled to move from the current position to the target position. The folding requirement of the user on the electronic screen is reflected by the angle variation of each included angle, the position of the fingerprint module is moved in real time according to the folding requirement of the user on the screen of the electronic equipment, the user can find the position of the fingerprint module more quickly, and the efficiency of unlocking the fingerprints under the screen is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 1301 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, after receiving downlink data from the base station, processing the downlink data by the processor 1310; and, the uplink data is transmitted to the base station. Typically, the radio unit 1301 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, rf unit 1301 may also communicate with networks and other devices via a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 1302, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 1303 may convert audio data received by the radio frequency unit 1301 or the network module 1302 or stored in the memory 1309 into an audio signal and output as sound. Also, the audio output unit 1303 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic apparatus 1300. The audio output unit 1303 includes a speaker, a buzzer, a receiver, and the like.
The input unit 1304 is used for receiving audio or video signals. The input unit 1304 may include a graphics processor (Graphics Processing Unit, GPU) 13041 and a microphone 13042, the graphics processor 13041 processing image data of still pictures or video obtained by an image capturing device (e.g., camera assembly) in a video capturing mode or an image capturing mode. The processed image frame may be displayed on the display unit 1306. The image frames processed by the graphics processor 13041 may be stored in memory 1309 (or other storage medium) or transmitted via the radio frequency unit 1301 or the network module 1302. The microphone 13042 can receive sound and can process such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 1301 in the case of a telephone call mode.
The electronic device 1300 also includes at least one sensor 1305, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 13061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 13061 and/or backlight when the electronic device 1300 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 1305 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 1306 is used to display information input by a user or information provided to the user. The display unit 1306 may include a display panel 13061, and the display panel 13061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 1307 may be used to receive input numerical or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1307 includes a touch panel 13071 and other input devices 13072. Touch panel 13071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on touch panel 13071 or thereabout touch panel 13071 using any suitable object or accessory such as a finger, stylus, or the like). The touch panel 13071 can include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 1310, and receives and executes commands sent from the processor 1310. In addition, the touch panel 13071 can be implemented in various types of resistive, capacitive, infrared, surface acoustic wave, and the like. The user input unit 1307 may further include other input devices 13072 in addition to the touch panel 13071. In particular, other input devices 13072 may include, but are not limited to, physical keyboards, function keys (e.g., volume control keys, switch keys, etc.), trackballs, mice, joysticks, and so forth, which are not described in detail herein.
Further, the touch panel 13071 can be overlaid on the display panel 13061, and when the touch panel 13071 detects a touch operation thereon or thereabout, the touch operation is transmitted to the processor 1310 to determine a type of touch event, and the processor 1310 then provides a corresponding visual output on the display panel 13061 according to the type of touch event. Although in fig. 13, the touch panel 13071 and the display panel 13061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 13071 and the display panel 13061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 1308 is an interface for an external device to connect with the electronic apparatus 1300. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 1308 may be used to receive input (e.g., data information, power, etc.) from an external device and to transmit the received input to one or more elements within the electronic device 1300 or may be used to transmit data between the electronic device 1300 and an external device.
Memory 1309 may be used to store software programs as well as various data. The memory 1309 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 1309 may include high-speed random access memory, but may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 1310 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 1309, and invoking data stored in the memory 1309, thereby performing overall monitoring of the electronic device. The processor 1310 may include one or more processing units; preferably, the processor 1310 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1310.
The electronic device 1300 may also include a power source 1311 (e.g., a battery) for powering the various components, wherein the power source 1311 may be logically connected to the processor 1310 by a power management system, such as to provide charge, discharge, and power management functions via the power management system.
In addition, the electronic device 1300 includes some functional modules that are not shown, and will not be described herein.
Preferably, the embodiment of the present invention further provides an electronic device, further including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program when executed by the processor implements each process of the above embodiment of the fingerprint module control method, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, realizes the processes of the fingerprint module control method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative, not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (10)

1. The fingerprint module control method is applied to electronic equipment, and the electronic equipment comprises at least two screens and a fingerprint module positioned below the screens, and is characterized by comprising the following steps:
acquiring the angle variation of the included angle between every two adjacent screens in the at least two screens and the current position of the fingerprint module;
determining the moving direction of the fingerprint module and the moving distance of the fingerprint module based on the angle variation of each included angle;
determining a target position of the fingerprint module based on the moving direction, the moving distance and the current position;
controlling the fingerprint module to move from the current position to the target position based on the moving direction;
The determining the moving direction of the fingerprint module based on the angle variation of each included angle comprises the following steps:
determining the moving direction of the fingerprint module as a first direction under the condition that the two adjacent screens are changed from an unfolding state to a folding state;
and determining the moving direction of the fingerprint module as a second direction opposite to the first direction under the condition that the two adjacent screens are changed from the folding state to the unfolding state.
2. The method according to claim 1, wherein the method further comprises:
acquiring the angle change rate of each included angle;
determining the moving speed of the fingerprint module based on the angle change speed;
wherein, based on the moving direction, control the fingerprint module to move from the current position to the target position, including:
and controlling the fingerprint module to move from the current position to the target position based on the moving direction and the moving speed.
3. The method of claim 1, wherein the electronic device comprises a first screen and a second screen; the first screen and the second screen respectively comprise a first surface and a second surface which are opposite, and the first surface is a display surface;
The determining the moving direction of the fingerprint module and the moving distance of the fingerprint module based on the angle variation of each included angle comprises the following steps:
in the process that a first included angle between the second surface of the first screen and the second surface of the second screen changes within a first preset angle range, if a first angle change amount of the first included angle is a negative value, determining that the moving direction is the first direction;
if the first angle variation is a positive value, determining that the moving direction is the second direction;
the moving distance is determined based on the first angle change amount and a width of the first screen or a width of the second screen.
4. The method of claim 1, wherein the at least two screens comprise a third screen, a fourth screen, and a fifth screen, the fourth screen being connected between the third screen and the fifth screen; each of the third screen, the fourth screen and the fifth screen comprises a first surface and a second surface which are opposite, and the first surface is a display surface;
wherein, based on every the angle variation of contained angle, confirm the direction of movement of fingerprint module with the travel distance of fingerprint module includes:
In the process that a second included angle between the first surface of the third screen and the first surface of the fourth screen changes within a second preset angle range, and a third included angle between the second surface of the fourth screen and the second surface of the fifth screen changes within a third preset angle range, if the second angle change amount of the second included angle is negative, determining that the moving direction is a third direction if both the second included angle before the change and the second included angle after the change are greater than or equal to the first preset angle; if the second included angle before the change and the second included angle after the change are smaller than the first preset angle, determining that the moving direction is a fourth direction;
under the condition that the second angle variation is a positive value, if the second included angle before the variation and the second included angle after the variation are smaller than the first preset angle, determining that the moving direction is a fifth direction; if the second included angle before the change and the second included angle after the change are larger than or equal to the first preset angle, determining that the moving direction is a sixth direction;
determining the moving distance based on the second angle change amount and the width of the fourth screen and/or the width of the fifth screen;
Wherein the third direction is opposite to the sixth direction and the fourth direction is opposite to the fifth direction.
5. The method of claim 4, wherein determining the moving direction of the fingerprint module and the moving distance of the fingerprint module based on the angle change amount of each included angle comprises:
determining that the moving direction is the sixth direction when the second angle change amount is a positive value and the third angle change amount of the fourth angle is a negative value in the process that the second angle is changed in the second preset angle range and the fourth angle between the first surface of the fourth screen and the first surface of the fifth screen is changed in the fourth preset angle range;
determining that the moving direction is the third direction when the second angle variation is a negative value and the third angle variation is a positive value;
when the second angle change amount and the third angle change amount are both negative, determining that the moving direction is the sixth direction if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, and determining that the moving direction is the third direction if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount;
When the second angle change amount and the third angle change amount are both positive values, determining that the moving direction is the third direction if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, and determining that the moving direction is the sixth direction if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount;
determining the moving distance based on the second angle change amount, the third angle change amount, the width of the fourth screen, and/or the width of the fifth screen;
wherein the sum of the changed second included angle and the changed fourth included angle is larger than a preset angle threshold.
6. An electronic device comprising at least two screens and a fingerprint module located below the screens, the electronic device comprising:
the first acquisition module is used for acquiring the angle variation of the included angle between every two adjacent screens in the at least two screens and the current position of the fingerprint module;
the movement information determining module is used for determining the movement direction of the fingerprint module and the movement distance of the fingerprint module based on the angle variation of each included angle;
The target position determining module is used for determining the target position of the fingerprint module based on the moving direction, the moving distance and the current position;
the moving module is used for controlling the fingerprint module to move from the current position to the target position based on the moving direction;
the movement information determining module is specifically configured to:
determining the moving direction of the fingerprint module as a first direction under the condition that the two adjacent screens are changed from an unfolding state to a folding state;
and determining the moving direction of the fingerprint module as a second direction opposite to the first direction under the condition that the two adjacent screens are changed from the folding state to the unfolding state.
7. The electronic device of claim 6, wherein the electronic device further comprises:
the second acquisition module is used for acquiring the angle change rate of each included angle;
the movement rate determining module is used for determining the movement rate of the fingerprint module based on the angle change rate;
the mobile module is specifically configured to:
and controlling the fingerprint module to move from the current position to the target position based on the moving direction and the moving speed.
8. The device of claim 6, wherein the electronic device comprises a first screen and a second screen; the first screen and the second screen respectively comprise a first surface and a second surface which are opposite, and the first surface is a display surface;
the movement information determination module includes:
a first moving direction determining unit, configured to determine, in a process that a first included angle between a second surface of the first screen and a second surface of the second screen changes within a first preset angle range, that the moving direction is the first direction if a first angle change amount of the first included angle is a negative value;
a second moving direction determining unit configured to determine the moving direction as the second direction if the first angle change amount is a positive value;
a first moving distance determining unit configured to determine the moving distance based on the first angle change amount and a width of the first screen or a width of the second screen.
9. The apparatus of claim 6, wherein the at least two screens comprise a third screen, a fourth screen, and a fifth screen, the fourth screen being connected between the third screen and the fifth screen; each of the third screen, the fourth screen and the fifth screen comprises a first surface and a second surface which are opposite, and the first surface is a display surface;
Wherein the movement information determining module includes:
a third movement direction determining unit, configured to determine, when a second angle change amount of the second angle is negative and both the second angle before the change and the second angle after the change are greater than or equal to the first preset angle in a process that a second angle between the first surface of the third screen and the first surface of the fourth screen is changed within a second preset angle range, and a third angle between the second surface of the fourth screen and the second surface of the fifth screen is changed within the third preset angle range, that the movement direction is a third direction; if the second included angle before the change and the second included angle after the change are smaller than the first preset angle, determining that the moving direction is a fourth direction;
a fourth movement direction determining unit, configured to determine, when the second angle variation is a positive value, that the movement direction is a fifth direction if the second included angle before the change and the second included angle after the change are smaller than the first preset angle; if the second included angle before the change and the second included angle after the change are larger than or equal to the first preset angle, determining that the moving direction is a sixth direction;
A second moving distance determining unit that determines the moving distance based on the second angle change amount and a width of the fourth screen and/or a width of the fifth screen;
wherein the third direction is opposite to the sixth direction and the fourth direction is opposite to the fifth direction.
10. The apparatus of claim 9, wherein the movement information determination module comprises:
a fifth movement direction determining unit, configured to determine, in a case where the second angle change amount is a positive value and the third angle change amount of the fourth angle is a negative value, that the movement direction is the sixth direction in a process that the second angle changes within the second preset angle range and the fourth angle between the first surface of the fourth screen and the first surface of the fifth screen changes within the fourth preset angle range;
a sixth moving direction determining unit configured to determine the moving direction as the third direction in a case where the second angle change amount is a negative value and the third angle change amount is a positive value;
a seventh moving direction determining unit configured to determine, when the second angle change amount and the third angle change amount are both negative, that the moving direction is the sixth direction if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, and that the moving direction is the third direction if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount;
An eighth moving direction determining unit configured to determine, when the second angle change amount and the third angle change amount are both positive values, that the moving direction is the third direction if the absolute value of the second angle change amount is smaller than the absolute value of the third angle change amount, and that the moving direction is the sixth direction if the absolute value of the second angle change amount is larger than the absolute value of the third angle change amount;
a third movement distance determining unit configured to determine the movement distance based on the second angle change amount, the third angle change amount, a width of the fourth screen, and/or a width of the fifth screen;
wherein the sum of the changed second included angle and the changed fourth included angle is larger than a preset angle threshold.
CN202010265699.XA 2020-04-07 2020-04-07 Fingerprint module control method and electronic equipment Active CN111444874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010265699.XA CN111444874B (en) 2020-04-07 2020-04-07 Fingerprint module control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010265699.XA CN111444874B (en) 2020-04-07 2020-04-07 Fingerprint module control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111444874A CN111444874A (en) 2020-07-24
CN111444874B true CN111444874B (en) 2023-09-22

Family

ID=71652860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010265699.XA Active CN111444874B (en) 2020-04-07 2020-04-07 Fingerprint module control method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111444874B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206904B (en) * 2021-05-11 2023-10-17 维沃移动通信有限公司 Electronic equipment
CN113361421A (en) * 2021-06-10 2021-09-07 维沃移动通信有限公司 Electronic device
CN113406476B (en) * 2021-06-16 2024-07-02 上海摩软通讯技术有限公司 Fingerprint module testing arrangement
CN116052224B (en) * 2022-07-18 2023-10-20 荣耀终端有限公司 Fingerprint identification method and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508615A (en) * 2011-11-28 2012-06-20 明基电通有限公司 Touch screen picture control method
CN105812577A (en) * 2016-05-05 2016-07-27 广东欧珀移动通信有限公司 Screen brightness adjustment method and device
CN106778508A (en) * 2016-11-22 2017-05-31 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107908334A (en) * 2017-12-04 2018-04-13 维沃移动通信有限公司 A kind of fingerprint image target display methods, device and mobile terminal
CN108762564A (en) * 2018-05-30 2018-11-06 维沃移动通信有限公司 A kind of method of controlling operation thereof and terminal device
CN109358793A (en) * 2018-09-27 2019-02-19 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109407932A (en) * 2018-10-31 2019-03-01 维沃移动通信有限公司 A kind of icon moving method and mobile terminal
CN109885153A (en) * 2019-01-30 2019-06-14 东莞市步步高通信软件有限公司 A kind of screen control method and mobile terminal
CN110888569A (en) * 2019-10-21 2020-03-17 维沃移动通信有限公司 Content selection control method and electronic equipment
DE102018122896A1 (en) * 2018-09-18 2020-03-19 JENETRIC GmbH Method and device for checking a mobile input device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508615A (en) * 2011-11-28 2012-06-20 明基电通有限公司 Touch screen picture control method
CN105812577A (en) * 2016-05-05 2016-07-27 广东欧珀移动通信有限公司 Screen brightness adjustment method and device
CN106778508A (en) * 2016-11-22 2017-05-31 维沃移动通信有限公司 A kind of fingerprint identification method and mobile terminal
CN107908334A (en) * 2017-12-04 2018-04-13 维沃移动通信有限公司 A kind of fingerprint image target display methods, device and mobile terminal
CN108762564A (en) * 2018-05-30 2018-11-06 维沃移动通信有限公司 A kind of method of controlling operation thereof and terminal device
DE102018122896A1 (en) * 2018-09-18 2020-03-19 JENETRIC GmbH Method and device for checking a mobile input device
CN109358793A (en) * 2018-09-27 2019-02-19 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109407932A (en) * 2018-10-31 2019-03-01 维沃移动通信有限公司 A kind of icon moving method and mobile terminal
CN109885153A (en) * 2019-01-30 2019-06-14 东莞市步步高通信软件有限公司 A kind of screen control method and mobile terminal
CN110888569A (en) * 2019-10-21 2020-03-17 维沃移动通信有限公司 Content selection control method and electronic equipment

Also Published As

Publication number Publication date
CN111444874A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN111444874B (en) Fingerprint module control method and electronic equipment
CN108459797B (en) Control method of folding screen and mobile terminal
CN108347759B (en) Anti-interference method of flexible screen and mobile terminal
CN108628565B (en) Mobile terminal operation method and mobile terminal
CN108319390B (en) Control method of flexible screen and mobile terminal
CN108509123B (en) Application program closing method and mobile terminal
CN109407932B (en) Icon moving method and mobile terminal
CN108227996B (en) Display control method and mobile terminal
CN109032486B (en) Display control method and terminal equipment
CN108897486B (en) Display method and terminal equipment
CN111562896B (en) Screen projection method and electronic equipment
CN109739407B (en) Information processing method and terminal equipment
CN110471559B (en) False touch prevention method and mobile terminal
CN109407949B (en) Display control method and terminal
CN111459333A (en) Content display method and electronic equipment
CN109600468B (en) Control method of foldable terminal and foldable terminal
CN108509141B (en) Control generation method and mobile terminal
CN111522613B (en) Screen capturing method and electronic equipment
CN111311489B (en) Image clipping method and electronic equipment
JP7221305B2 (en) Object recognition method and mobile terminal
CN109669656B (en) Information display method and terminal equipment
CN109597546B (en) Icon processing method and terminal equipment
CN108469944B (en) Display control method and mobile terminal
CN111443860B (en) Touch control method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant