CN112269526B - Screen rotating method, control device, electronic device and storage medium - Google Patents

Screen rotating method, control device, electronic device and storage medium Download PDF

Info

Publication number
CN112269526B
CN112269526B CN202011276880.7A CN202011276880A CN112269526B CN 112269526 B CN112269526 B CN 112269526B CN 202011276880 A CN202011276880 A CN 202011276880A CN 112269526 B CN112269526 B CN 112269526B
Authority
CN
China
Prior art keywords
display screen
fingerprint
current
display
screen
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
CN202011276880.7A
Other languages
Chinese (zh)
Other versions
CN112269526A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011276880.7A priority Critical patent/CN112269526B/en
Publication of CN112269526A publication Critical patent/CN112269526A/en
Application granted granted Critical
Publication of CN112269526B publication Critical patent/CN112269526B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • 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/1347Preprocessing; Feature extraction
    • 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/1365Matching; Classification

Abstract

The embodiment of the application provides a screen rotating method, which comprises the following steps: acquiring a current fingerprint image through a fingerprint sensor arranged below a display screen; matching the current fingerprint image with the fingerprint template, and confirming the direction of the display screen according to the direction corresponding to the matched fingerprint template; and controlling the direction of the display picture to be consistent with the direction of the display screen. So, utilize fingerprint identification to realize that the screen intelligence is rotatory, improved screen fingerprint identification's utilization ratio, and for accelerometer realization screen rotation scheme cost more excellent, stability is higher.

Description

Screen rotating method, control device, electronic device and storage medium
Technical Field
The present invention relates to the field of touch technologies, and in particular, to a screen rotation method, a control device, an electronic device, and a storage medium.
Background
At present, mobile terminals such as mobile phones have a screen rotation function, that is, a display screen of the mobile terminal rotates along with the rotation of the mobile terminal to adapt to a display direction of the display screen. In the related art, a gravity sensor is configured in the mobile terminal, and the mobile terminal can detect the state of the mobile phone through the gravity sensor, so as to control the display screen to rotate. However, gravity sensors are susceptible to magnetic fields and are easily damaged by impacts.
Disclosure of Invention
The embodiment of the application provides a screen rotating method, a control device, an electronic device and a storage medium.
The embodiment of the application provides a screen rotating method, which comprises the following steps:
acquiring a current fingerprint image through a fingerprint sensor arranged below a display screen;
matching the current fingerprint image with a fingerprint template;
confirming the direction of the display screen according to the direction corresponding to the matched fingerprint template;
and controlling the direction of the display picture to be consistent with the direction of the display screen.
An embodiment of the present application provides a control device, including:
the acquisition module is used for acquiring a current fingerprint image through a fingerprint sensor arranged below the display screen;
the matching module is used for matching the current fingerprint image with a fingerprint template;
the confirmation module is used for confirming the direction of the display screen according to the direction corresponding to the matched fingerprint template;
and the control module is used for controlling the direction of the display picture to be consistent with the direction of the display screen.
The embodiment of the application provides an electronic device, the electronic device comprises a display screen, a fingerprint sensor and a processor, wherein the fingerprint sensor is arranged below the display screen. The processor is used for acquiring a current fingerprint image through a fingerprint sensor arranged below the display screen; further for matching the current fingerprint image with a fingerprint template; the direction of the display screen is confirmed according to the direction corresponding to the matched fingerprint template; and the direction of the display picture is controlled to be consistent with the direction of the display screen. In certain embodiments, the present application provides a non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the screen rotation method of any of the above embodiments.
According to the screen rotating method, the control device, the electronic device and the storage medium, the current fingerprint image is matched with the fingerprint template through fingerprint identification, and after the direction of the display screen is confirmed according to the direction corresponding to the matched fingerprint template, the display picture is controlled to rotate to the confirmed direction. Therefore, the intelligent rotation of the screen is realized by utilizing fingerprint identification, the utilization rate of the screen fingerprint identification is improved, and the scheme for realizing the rotation of the screen relative to the accelerometer has better cost and higher stability.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart of a screen rotation method according to an embodiment of the present application;
FIG. 2 is a schematic plan view of an electronic device according to an embodiment of the present application;
FIG. 3 is a block diagram of a control device according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a fingerprint template according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating feature operator replication classification of a screen rotation method according to an embodiment of the present disclosure;
FIG. 6 is a flow chart of a screen rotation method according to an embodiment of the present application;
FIG. 7 is a flow chart of a screen rotation method according to an embodiment of the present application;
FIG. 8 is a flow chart of a screen rotation method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a fingerprint ridge and valley of a screen rotation method according to an embodiment of the present application;
FIG. 10 is an algorithm enhancement schematic of a screen rotation method according to an embodiment of the present application;
fig. 11 is a characteristic point diagram of a screen rotation method according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, "above" or "below" a first feature means that the first and second features are in direct contact, or that the first and second features are not in direct contact but are in contact with each other via another feature therebetween. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Of course, they are merely examples and are not intended to limit the present invention. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, the present invention provides examples of various specific processes and materials, but one of ordinary skill in the art may recognize applications of other processes and/or uses of other materials.
Referring to fig. 1 and fig. 2, an embodiment of the present application provides a screen rotation method, including:
s10: acquiring a current fingerprint image through a fingerprint sensor 12 arranged below a display screen 11;
s20: matching the current fingerprint image with a fingerprint template;
s30: confirming the direction of the display screen 11 according to the direction corresponding to the matched fingerprint template;
s40: the orientation of the display screen is controlled to coincide with the orientation of the display screen 11.
Referring to fig. 2, the present embodiment provides an electronic device 10, where the electronic device 10 includes a display 11, a fingerprint sensor 12, and a processor 13. The fingerprint sensor 12 is disposed below the display screen 11. The processor 13 is used for acquiring a current fingerprint image through the fingerprint sensor 12 arranged below the display screen 11; the fingerprint matching module is also used for matching the current fingerprint image with the fingerprint template; and is used for confirming the direction of the display screen 11 according to the direction corresponding to the matched fingerprint template; and for controlling the orientation of the display to be consistent with the orientation of the display screen 11.
Referring to fig. 3, the present embodiment further provides a control apparatus 20, where the control apparatus 20 includes an obtaining module 21, a matching module 22, a confirming module 23, and a control module 24. The acquisition module 21 is configured to acquire a current fingerprint image through the fingerprint sensor 12 disposed below the display screen 11; the matching module 22 is used for matching the current fingerprint image with the fingerprint template; the confirming module 23 is used for confirming the direction of the display screen 11 according to the corresponding direction; the control module 24 controls the direction of the display screen to be consistent with the direction of the display screen 11.
Specifically, in step S10, before enabling the screen rotation, the user places the fingerprint portion on the surface of the finger at the fingerprint sensor 12 located under the display screen 11 of the electronic device, and acquires the image of the current fingerprint by capturing the fingerprint by the fingerprint sensor 12. Electronic devices include, but are not limited to, smart phones, smart watches, notebooks, tablet computers, and even in-vehicle computers 10. In the fingerprint sensor 12, when light is emitted from the display 11, the angle of refraction of the emitted light on the uneven lines of the fingerprint on the surface of the finger and the brightness of the reflected light are different. The fingerprint sensor 12 collects the picture information of different light and shade degrees, and then the fingerprint collection is completed. In this way, the current fingerprint image can be acquired by the fingerprint sensor 12.
The fingerprint sensor 12 is located below the display screen 11, which means that the fingerprint sensor 12 is covered by the display screen 11, so that the screen occupation ratio of the electronic device 10 can be increased.
In step S20, after the current fingerprint image is collected, the current fingerprint is matched with the fingerprint template. Referring to fig. 4, a fingerprint image is collected in advance, feature points are extracted from the fingerprint image, and the feature points are recorded, and the feature points may form a graph, a table, or be associated by a certain formula to construct a feature operator, so that the feature operator can be conveniently used as a fingerprint template during storage and matching. After the obtaining module 21 obtains the current fingerprint image, the matching module 22 needs to match the fingerprint information of the previous fingerprint image with the feature operators of the stored fingerprint template, and the next operation can be executed after the matching is qualified.
In step S30, the feature operators of the fingerprint template obtained in step S20 may be copied in multiple directions and classified, and the feature operators may be classified into four region categories, front, back, left, and right after being copied and classified. The number of the copying and classifying directions can be 8, 12 or 16, and the larger the number of the copying and the finer the direction classification, the higher the recognition rate of the intelligent rotation of the rear screen.
Referring to fig. 5, 8-direction copy and classification are performed on the feature operators, and the feature operators can be four region categories, front, back, left, and right after copy and classification. After the current fingerprint image is matched with the fingerprint template, the direction of the display screen 11 is confirmed according to the matching result. For example, the current fingerprint image is matched with the feature operator in the region (i) in fig. 5, and the template is confirmed to determine that the direction of the display screen 11 is vertical; if the current fingerprint image is matched with the characteristic operator in the region II in the figure 5, the template is confirmed to determine that the direction of the display screen 11 is transverse. In this way, the direction of the display screen 11 is confirmed according to the direction of the characteristic operator matched with the current fingerprint image.
In step S40, after the orientation of the display screen 11 is confirmed, the orientation of the display screen may be controlled to be consistent with the orientation of the display screen 11. When the direction of the display screen 11 is confirmed to be horizontal, the display picture can be controlled to be horizontal; when the display screen 11 is confirmed to be vertical, the display picture can be controlled to be vertical, so that the purpose of rotating the display picture can be achieved.
According to the screen rotating method, the current fingerprint image is matched with the fingerprint template through fingerprint identification, and after the direction of the display screen 11 is confirmed according to the direction corresponding to the matched fingerprint template, the display picture is controlled to rotate to the confirmed direction. Therefore, the intelligent rotation of the screen is realized by utilizing fingerprint identification, the utilization rate of the screen fingerprint identification is improved, and the scheme for realizing the rotation of the screen relative to the accelerometer has better cost and higher stability.
Referring to fig. 6, in some embodiments, controlling the orientation of the display frame to be consistent with the orientation of the display screen 11 (step S40) includes:
s41: judging whether the current display picture is consistent with the direction of the display screen 11;
s42: when the current display screen is aligned with the orientation of the display screen 11, the orientation of the current display screen is kept unchanged.
S43: when the current display screen is not in accordance with the direction of the display screen 11, the current display screen is controlled to rotate so that the rotated display screen is in accordance with the direction of the display screen 11.
In some embodiments, the control module 13 is configured to determine whether the current display screen is in accordance with the direction of the display screen 11; and is used for keeping the direction of the current display picture unchanged when the direction of the current display picture is consistent with that of the display screen 11; and when the current display picture is not consistent with the direction of the display screen 11, controlling the current display picture to rotate so that the rotated display picture is consistent with the direction of the display screen 11.
In some embodiments, the processor 13 is configured to determine whether the current display image is consistent with the orientation of the display screen 11; and is used for keeping the direction of the current display picture unchanged when the direction of the current display picture is consistent with that of the display screen 11; and when the current display picture is not consistent with the direction of the display screen 11, controlling the current display picture to rotate so that the rotated display picture is consistent with the direction of the display screen 11.
In step S41, to implement the subsequent screen rotation operation, it is necessary to determine in advance whether the current display screen is in the same direction as the display screen 11, if so, keep the direction of the current display screen unchanged, and if not, control the current display screen to rotate so that the rotated display screen is in the same direction as the display screen 11. In this way, according to the judgment result, whether the next operation is to keep the current display screen direction still or to rotate the display screen by a certain angle until the current display screen direction is consistent with the display screen 11 can be selected.
In step S42, if it is determined that the current display screen is aligned with the orientation of the display panel 11, the orientation of the current display screen is maintained. For example, matching the current fingerprint image with the fingerprint template feature operator, and when the direction of the display screen 11 is determined to be vertical, if the current display picture is also determined to be vertical, keeping the direction of the current display picture as vertical; and matching the current fingerprint image with the fingerprint template characteristic operator, and when the template is confirmed to determine that the direction of the display screen 11 is transverse, if the current display picture is also transverse, keeping the direction of the current display picture as transverse unchanged. In this way, the display screen orientation can be maintained in a uniform orientation on the display screen 11.
In step S43, if it is determined that the current display screen does not correspond to the display screen 11 in direction, the current display screen is controlled to rotate by a certain angle so that the rotated display screen corresponds to the display screen 11 in direction. The screen rotation effect is achieved. For example, when the current fingerprint image is matched with the fingerprint template feature operator, and the template is confirmed to determine that the direction of the display screen 11 is vertical, if the current display picture is judged to be horizontal, the current display picture is controlled to rotate, so that the rotated display picture is vertical in the same direction as the direction of the display screen 11; and matching the current fingerprint image with the fingerprint template characteristic operator, confirming that the template determines that the direction of the display screen 11 is horizontal, and if the current display picture is judged to be vertical, controlling the current display picture to rotate so that the rotated display picture is horizontal and the direction of the display screen 11 is consistent. In this way, the display screen can be rotated to a direction in accordance with the display screen 11.
Referring to fig. 7, in some embodiments, controlling the current display to rotate so that the rotated display is aligned with the direction of the display screen 11 (step S43) includes:
s431; calculating the rotation angle of the current display picture and enabling the rotation angle to be smaller than or equal to 180 degrees;
s432: confirming the rotation direction of the current display picture based on the rotation angle;
s433: and controlling the display picture to rotate according to the rotation angle and the rotation direction.
In some embodiments, the control module 24 is configured to calculate a rotation angle of the current display frame and make the rotation angle less than or equal to 180 degrees; the rotation direction is used for confirming the current display picture based on the rotation angle; and controlling the display screen to rotate according to the rotation angle and the rotation direction.
In some embodiments, the processor 13 is configured to calculate a rotation angle of the current display screen and make the rotation angle less than or equal to 180 degrees; and the rotation direction is used for confirming the current display picture based on the rotation angle; and controlling the display screen to rotate according to the rotation angle and the rotation direction.
In step S431, if it is determined that the current display screen is not in the same direction as the display screen 11, the current display screen is controlled to rotate by a certain angle, so that the rotated display screen is in the same direction as the display screen 11. And calculating according to the direction of the display screen 11 and the direction of the current display picture to obtain the angle required to be rotated, wherein the rotation angle is required to be less than or equal to 180 degrees.
In step S432, after the rotation angle is obtained to make the current display screen and the display screen 11 coincide with each other, the rotation direction of the current display screen needs to be confirmed. The rotation direction can be clockwise rotation 90 degrees, also can be for rotating 180 degrees along the pointer, anticlockwise 90 degrees and anticlockwise 180 degrees, guarantee that rotation angle is less than or equal to 180 degrees.
In step S433, after the rotation angle and the rotation direction are obtained in step S431 and step S432, the processor 13 controls the display screen to rotate according to the corresponding rotation direction and angle, so that the rotated display screen is consistent with the direction of the display screen 11, thereby achieving the purpose of intelligently rotating the screen.
Referring to fig. 8, in some embodiments, a fingerprint template is obtained by:
s50: acquiring a template image acquired by the fingerprint sensor 12;
s60: the template image is copied and rotated to obtain a plurality of fingerprint templates, each fingerprint template corresponding to the orientation of one of the display screens 11.
In some embodiments, the acquisition module 21 is configured to acquire a template image acquired by the fingerprint sensor 12; and for copying and rotating the template image to obtain a plurality of fingerprint templates, each fingerprint template corresponding to the orientation of one of the display screens 11.
In some embodiments, the processor 13 is configured to acquire a template image captured by the fingerprint sensor 12; and for copying and rotating the template image to obtain a plurality of fingerprint templates, each fingerprint template corresponding to the orientation of one of the display screens 11.
In step S50, the fingerprint template is acquired based on the fingerprint sensor 12. The fingerprint part on the surface of the finger is placed at a fingerprint sensor 12 below the display screen 11, and the fingerprint sensor 12 collects the fingerprint to acquire an image of the fingerprint.
The collection process is as follows: in the fingerprint sensor 12, the finger is illuminated by a built-in light source and reflects light onto the fingerprint sensor 12 to obtain a fingerprint image. In the fingerprint, the concave parts between the fingerprint lines are white and called valley lines, and the convex parts between the fingerprint lines are black and called ridge lines, as shown in fig. 9, the fingerprint sensor 12 distinguishes the ridge lines and the valley lines, and carries out image normalization processing to obtain clear fingerprint lines;
when the texture of the fingerprint is not clear enough, the fingerprint image can be strengthened through an algorithm, so that the ridge line of the fingerprint is clearer, and the specific effect can be seen in fig. 10;
the fingerprint image is subjected to binarization processing, namely, the gray value of a pixel point on the image is set to be 0 or 255, so that the whole image presents a process with an obvious black-and-white effect, and the extraction of characteristic points is facilitated;
referring to fig. 11, feature points and minutiae points are extracted from a fingerprint image, the first-level features refer to global ridge manifold of the fingerprint, the second-level features refer to minutiae points, the minutiae points may be tip points, branch points, burrs, and the like, and the third-level features refer to details of ridges.
Referring to fig. 4 again, the feature operators are constructed, and after the feature points are obtained, the feature points are recorded, and the feature points may be combined into a graph, a table, or associated by a certain formula to construct the feature operators, which are convenient for storage and use as fingerprint templates during matching.
In step S60, after obtaining the fingerprint template, the feature operators of the fingerprint template are copied and classified in multiple directions, and the feature operators may be four region categories, front, back, left and right after copying and classifying. The larger the number of copies and the finer the direction classification, the higher the recognition rate of the intelligent rotation of the screen behind. Therefore, the direction of the display screen 11 can be confirmed according to the direction of the fingerprint template characteristic operator matched with the current fingerprint image.
In some embodiments, each display 11 has an orientation corresponding to at least two fingerprint templates.
When the feature operators of the fingerprint templates are copied and classified in multiple directions, the direction is at least 8, and therefore the feature operators can be ensured to be at least two fingerprint templates corresponding to four region categories, namely front, rear, left and right region categories after being copied and classified. Thus, by ensuring that each direction of the display screen 11 corresponds to at least two fingerprint templates, the recognition rate and the accuracy rate of screen rotation are ensured.
In certain embodiments, the present application provides a non-transitory computer-readable storage medium containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the screen rotation method of any of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
In the description of the present specification, reference to the description of "one embodiment", "certain embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
While embodiments of the present invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (9)

1. A screen rotation method, comprising:
the method comprises the steps of collecting a fingerprint image in advance, extracting a plurality of feature points from the fingerprint image, and constructing a feature operator according to the feature points;
copying and rotating the characteristic operators to obtain a plurality of characteristic operators, and classifying the characteristic operators to obtain a plurality of region categories, wherein each region category corresponds to the direction of one display screen;
using a plurality of characteristic operators as fingerprint templates respectively;
acquiring a current fingerprint image through a fingerprint sensor arranged below a display screen;
matching the current fingerprint image with the fingerprint template;
confirming the direction of the display screen according to the area type corresponding to the matched fingerprint template;
and controlling the direction of the display picture to be consistent with the direction of the display screen.
2. The screen rotation method of claim 1, wherein controlling the orientation of the display to be consistent with the orientation of the display screen comprises:
judging whether the current display picture is consistent with the direction of the display screen;
when the direction of the current display picture is consistent with that of the display screen, keeping the direction of the current display picture unchanged;
and when the direction of the current display picture is not consistent with that of the display screen, controlling the current display picture to rotate so as to enable the rotated display picture to be consistent with that of the display screen.
3. The screen rotation method according to claim 2, wherein the controlling of the current display to rotate so that the rotated display is in accordance with the orientation of the display screen comprises:
calculating the rotation angle of the current display picture and enabling the rotation angle to be smaller than or equal to 180 degrees;
confirming the rotation direction of the current display picture based on the rotation angle;
and controlling the display picture to rotate according to the rotation angle and the rotation direction.
4. The screen rotation method of claim 1, wherein each of the display screens has an orientation corresponding to at least two of the fingerprint templates.
5. A control device, comprising:
the acquisition module is used for acquiring a fingerprint image in advance and acquiring a current fingerprint image through a fingerprint sensor arranged below the display screen;
the processor is used for extracting a plurality of feature points from the fingerprint image and constructing a feature operator according to the feature points; copying and rotating the characteristic operators to obtain a plurality of characteristic operators, and classifying the characteristic operators to obtain a plurality of region categories, wherein each region category corresponds to the direction of one display screen; using a plurality of characteristic operators as fingerprint templates respectively;
a matching module for matching the current fingerprint image with the fingerprint template;
the confirmation module is used for confirming the direction of the display screen according to the region type corresponding to the matched fingerprint template;
and the control module is used for controlling the direction of the display picture to be consistent with the direction of the display screen.
6. An electronic device, comprising:
a display screen;
the fingerprint sensor is arranged below the display screen and is used for acquiring a fingerprint image in advance; and
the processor is used for extracting a plurality of feature points from the fingerprint image and constructing a feature operator according to the feature points; copying and rotating the characteristic operators to obtain a plurality of characteristic operators, and classifying the characteristic operators to obtain a plurality of region categories, wherein each region category corresponds to the direction of one display screen; using a plurality of characteristic operators as fingerprint templates respectively; the fingerprint sensor is arranged below the display screen and used for acquiring a current fingerprint image; further for matching the current fingerprint image with the fingerprint template; the display screen is used for displaying the fingerprint template corresponding to the area type; and the direction of the display picture is controlled to be consistent with the direction of the display screen.
7. The electronic device of claim 6, wherein the processor is configured to determine whether the current display screen is in accordance with the orientation of the display screen; the display screen is also used for keeping the direction of the current display picture unchanged when the direction of the current display picture is consistent with that of the display screen; and the display control module is used for controlling the current display picture to rotate so as to enable the rotated display picture to be consistent with the direction of the display screen when the current display picture is inconsistent with the direction of the display screen.
8. The electronic device according to claim 7, wherein the processor is configured to calculate a rotation angle of the current display and make the rotation angle less than or equal to 180 degrees; the rotation angle is used for confirming the rotation direction of the current display picture; and the display screen is controlled to rotate according to the rotation angle and the rotation direction.
9. A non-transitory computer-readable storage medium of computer-executable instructions, which when executed by one or more processors, cause the processors to perform the screen rotation method of any one of claims 1-4.
CN202011276880.7A 2020-11-16 2020-11-16 Screen rotating method, control device, electronic device and storage medium Active CN112269526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011276880.7A CN112269526B (en) 2020-11-16 2020-11-16 Screen rotating method, control device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011276880.7A CN112269526B (en) 2020-11-16 2020-11-16 Screen rotating method, control device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112269526A CN112269526A (en) 2021-01-26
CN112269526B true CN112269526B (en) 2022-05-20

Family

ID=74339114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011276880.7A Active CN112269526B (en) 2020-11-16 2020-11-16 Screen rotating method, control device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112269526B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002044727A (en) * 2000-07-26 2002-02-08 Hitachi Ltd Portable telephone and portable telephone system
CN103076960A (en) * 2011-10-26 2013-05-01 华为终端有限公司 Method for controlling screen displaying direction and terminal thereof
CN105573631A (en) * 2015-12-14 2016-05-11 联想(北京)有限公司 Touch display electronic device and control method thereof
CN105955632A (en) * 2016-04-19 2016-09-21 上海卓易科技股份有限公司 Horizontal and vertical screen rotation control method and device for handheld equipment
CN106155515A (en) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 The method of adjustment of screen display direction and device
CN106951243A (en) * 2017-03-13 2017-07-14 华勤通讯技术有限公司 screen control method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002044727A (en) * 2000-07-26 2002-02-08 Hitachi Ltd Portable telephone and portable telephone system
CN103076960A (en) * 2011-10-26 2013-05-01 华为终端有限公司 Method for controlling screen displaying direction and terminal thereof
CN106155515A (en) * 2015-04-27 2016-11-23 中兴通讯股份有限公司 The method of adjustment of screen display direction and device
CN105573631A (en) * 2015-12-14 2016-05-11 联想(北京)有限公司 Touch display electronic device and control method thereof
CN105955632A (en) * 2016-04-19 2016-09-21 上海卓易科技股份有限公司 Horizontal and vertical screen rotation control method and device for handheld equipment
CN106951243A (en) * 2017-03-13 2017-07-14 华勤通讯技术有限公司 screen control method and terminal device

Also Published As

Publication number Publication date
CN112269526A (en) 2021-01-26

Similar Documents

Publication Publication Date Title
JP6444523B2 (en) Fingerprint recognition method and fingerprint recognition apparatus
US8649575B2 (en) Method and apparatus of a gesture based biometric system
TWI619080B (en) Method for calculating fingerprint overlapping region and electronic device
CN111695386B (en) Fingerprint image enhancement, fingerprint identification and application program starting method
WO2017071065A1 (en) Area recognition method and apparatus
JP5229050B2 (en) Document area extraction apparatus, method, and program from image
WO2020238232A1 (en) Image recognition method, apparatus and device, and authentication method, apparatus and device
CN109344832A (en) Image processing method and device, electronic equipment and storage medium
CN111191644B (en) Identity recognition method, system and device
US20170091521A1 (en) Secure visual feedback for fingerprint sensing
CN113936280B (en) Automatic character recognition system and method for code disc of embedded instrument
CN107091704A (en) Pressure detection method and device
CN105894042A (en) Method and apparatus for detecting whether document image is covered
CN114581998A (en) Deployment and control method, system, equipment and medium based on target object association feature fusion
Ocampo-Vega et al. Image processing for automatic reading of electro-mechanical utility meters
CN113780201B (en) Hand image processing method and device, equipment and medium
CN109241892B (en) Instrument panel reading method, instrument panel reading device and electronic equipment
CN112269526B (en) Screen rotating method, control device, electronic device and storage medium
WO2016145827A1 (en) Terminal control method and device
CN113239339A (en) Certificate shooting method and device, computer equipment and storage medium
CN112818979A (en) Text recognition method, device, equipment and storage medium
WO2018213947A1 (en) Image recognition system and electronic device
CN108596127A (en) A kind of fingerprint identification method, auth method and device and identity veritify machine
KR101659195B1 (en) System and method for effectively performing an image categorization procedure
CN113610090A (en) Seal image identification and classification method and device, computer equipment and storage medium

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