CN111857910A - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN111857910A
CN111857910A CN202010600138.0A CN202010600138A CN111857910A CN 111857910 A CN111857910 A CN 111857910A CN 202010600138 A CN202010600138 A CN 202010600138A CN 111857910 A CN111857910 A CN 111857910A
Authority
CN
China
Prior art keywords
display area
target
angle
target display
parallel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010600138.0A
Other languages
Chinese (zh)
Inventor
周瀚宸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202010600138.0A priority Critical patent/CN111857910A/en
Publication of CN111857910A publication Critical patent/CN111857910A/en
Pending legal-status Critical Current

Links

Images

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/18Eye characteristics, e.g. of the iris
    • G06V40/19Sensors therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Ophthalmology & Optometry (AREA)
  • Multimedia (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an information display method and device and electronic equipment, and belongs to the technical field of communication. The method comprises the following steps: determining parallel lines of human eyes; determining a reference line of a target display area in the electronic equipment; the included angle between the parallel lines of the human eyes and the reference line is not within the preset angle range, the target display area is rotated by a target angle, the included angle between the reference line of the target display area and the parallel lines of the human eyes is located within the preset angle range, in the application, the position relation between the reference line of the target display area and the parallel lines of the human eyes of a user is detected in real time, the parallel lines of the human eyes of the user are used as reference lines, the display mode of display contents in a screen of the electronic equipment is enabled to be achieved, the adjustment can be conducted according to the relative position relation between the parallel lines of the human eyes and the target display area in real time, the probability of false touch is reduced, meanwhile, the stability of the switching process of the target display area of the electronic equipment is guaranteed.

Description

Information display method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a method and a device for displaying information and electronic equipment.
Background
With the rapid development of mobile electronic device technology, mobile devices such as mobile phones and tablet computers are widely used in daily life of people, and due to the portability of the mobile devices, users can use the portable mobile devices to watch videos, browse webpages and other entertainment activities in various life scenes.
At present, in order to meet the requirements of users for using portable mobile devices in various living scenes, the mobile devices can switch horizontal screen display and vertical screen display of content displayed in a display screen of the mobile device according to the using scenes of the mobile devices, so that the content displayed in the display screen of the mobile device can better meet the requirements or viewing angles of the users; if the fact that the rotation of the mobile terminal exceeds the preset angle is detected, it is judged that the user holds the mobile device transversely at the moment, and the display mode of the display content needs to be switched from vertical screen display to horizontal screen display.
However, in the current scheme, the display mode of the mobile device only includes a horizontal screen display mode and a vertical screen display mode, and after detecting that the change of the rotation angle of the user holding the mobile device exceeds a certain threshold value, the display mode of the mobile device is switched through a sensor inside the mobile device, which is easy to cause a false touch operation.
Disclosure of Invention
The embodiment of the application provides an information display method and device and electronic equipment, and can solve the problems that when a user uses mobile equipment in the prior art, when a display mode in the mobile equipment is switched between horizontal screen display and vertical screen display, false touch operation is easy to occur, and an obvious flash feeling is generated in the switching process.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an information display method, where the method includes:
determining human eye parallel lines which are straight lines parallel to a central connecting line of pupils of two eyes of a user;
determining a reference line of a target display area in the electronic equipment;
and under the condition that the included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, rotating the target display area by a target angle to enable the included angle between the reference line of the target display area and the parallel lines of the human eyes to be within the preset angle range.
In a second aspect, an embodiment of the present application provides an information display apparatus, including:
the first determining module is used for determining parallel lines of human eyes, wherein the parallel lines of human eyes are straight lines parallel to a central connecting line of pupils of two eyes of a user;
The second determining module is used for determining a datum line of a target display area in the electronic equipment;
and the adjusting module is used for rotating the target display area by a target angle under the condition that the included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range.
In a third aspect, an embodiment of the present application further provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, the present embodiments also provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the parallel lines of the human eyes are determined, and the parallel lines of the human eyes are straight lines parallel to the central connecting line of the pupils of the two eyes of the user; determining a reference line of a target display area in the electronic equipment; in the application, when the position of a target display area for displaying content in the electronic equipment is adjusted, the position relation between the reference line of the target display area and the parallel lines of human eyes of a user is detected in real time, the parallel lines of human eyes of the user are taken as reference lines, and when the included angle between the reference line of the target display area and the parallel lines of human eyes is not in the preset angle range, the target display area is rotated by a target angle to enable the included angle between the reference line of the target display area and the parallel lines of human eyes to be in the preset angle range, so that the display mode of the display content in the screen of the electronic equipment is realized, the method can adjust the relative position relation between the parallel lines of the human eyes and the target display area in real time, so that the probability of mistaken touch is reduced, meanwhile, the reference lines of the target display area change along with the parallel lines of the human eyes of the user, so that the switching process of the display content is consistent with the changing process of the sight of the user all the time, the stability of the switching process of the target display area of the electronic equipment is guaranteed, and the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for displaying information according to an embodiment of the present disclosure;
fig. 2 is a schematic information display diagram of an electronic device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of information display of another electronic device provided in the embodiments of the present application;
FIG. 4 is a schematic diagram of information display of another electronic device provided in the embodiments of the present application;
FIG. 5 is a flow chart illustrating steps of another method for displaying information provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of the relative positions of parallel lines of a human eye and a target display area according to an embodiment of the present application;
FIG. 7 is a schematic diagram of another relative position of parallel lines of a human eye and a target display area provided by an embodiment of the present application;
fig. 8 is a block diagram of a display device for displaying information according to an embodiment of the present disclosure;
fig. 9 is an electronic device provided in an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes in detail the display of information provided by the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating steps of a method for displaying information according to an embodiment of the present application, where as shown in fig. 1, the method may include:
step 101, determining parallel human eyes, wherein the parallel human eyes are straight lines parallel to a central connecting line of pupils of two eyes of a user.
In the step, a face image of the user can be acquired through a camera device of the electronic equipment, and a straight line connecting centers of pupils of two eyes of the user in the face image is determined according to the face image of the user, and the straight line is determined as a parallel line of the human eyes.
Specifically, because the pupil is a small circular hole located at the center of the iris of the eyeball, and the color of the pupil is different from the color of other parts of the human eye (e.g., white part of the eye and other parts of the iris), the image pickup device of the electronic device can locate the positions of the pupils of both eyes, and further determine the positions of the centers of the pupils of both eyes, including the position of the center of the pupil of the left eye and the position of the center of the pupil of the right eye, and connect the center of the pupil of the left eye and the center of the pupil of the right eye, so as to obtain a straight line connecting the centers of the pupils of both eyes of the user, and determine the.
In the embodiment of the present application, the parallel lines of the human eyes may also be determined according to other feature points in the human face, for example, a connection line of points on a symmetric organ of the human face, such as a connection line of points on both ears, a connection line of two eyebrow peaks, and the like, and a straight line parallel to a connection line of centers of pupils of the two eyes may be determined as the parallel lines of the human eyes.
Fig. 2 is a schematic information display diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 2, the centers of pupils of two eyes of a user are detected to be points a and B respectively through an imaging device (point O) disposed on the electronic device, and the centers of the pupils of the two eyes are connected, so that a straight line AB passing through the centers of the pupils of the two eyes and being the points a and B respectively can be determined as a parallel line of the human eye, where the parallel line of the human eye is used to reflect a head posture characteristic of the user when the user views the electronic device.
And 102, determining a datum line of a target display area in the electronic equipment.
In this step, a target display area for displaying the content in the electronic device may be determined, and a reference line of the target display area may be further determined, where the reference line reflects a display position characteristic of the target display area.
Referring to fig. 2, if a user uses an electronic device to watch a video, the target display area 10 is a video playing interface; if the user uses the electronic device to read the text, the target display area 10 is a display area of the text; if the user plays a game using the electronic device, the target display area 10 is a running interface of the game.
Furthermore, most of the screens of the existing electronic devices are rectangular structures, and the frames of the content displayed on the screens of the electronic devices are also adaptively set to be rectangular structures, as shown in fig. 2, when a certain high-definition video is played by using the electronic devices, the playing interface of the video, that is, the target display area 10 and the screens of the electronic devices are both rectangular structures, so that, in order to accurately and concisely reflect the display position characteristics of the target display area 10, when a user watches the video by using the electronic devices, the frame CD at the top of the video playing interface is determined as the reference line of the target display area 10.
Optionally, if the electronic device starts to play the video in a vertical screen display manner, the frame at the top of the video playing interface may be the side with the shorter side length of the electronic device, and if the electronic device starts to play the video in a horizontal screen display manner, the frame at the top of the video playing interface may be the side with the longer side length of the electronic device.
In the embodiment of the present application, the reference line may also be a line segment parallel to a frame at the top of the video playing interface, for example, a frame at the bottom of the video playing interface may also be a line segment parallel to a frame at the top of the video playing interface and passing through a camera device in the electronic device for acquiring a face image, so that the reference line of the target display area intersects with a connection line between the camera device and a feature point in the face image at the position of the camera device, and the positional relationship between the reference line of the target display area and a parallel line of human eyes can be displayed more intuitively.
In addition, the reference line may also be a straight line in a target display area of a display screen of the electronic device, which is set autonomously based on a usage habit of the user on the electronic device, for example, when the user watches a video playing interface, a habit line of sight has a certain inclination angle with the playing interface, and therefore, the user may set the reference line as a line segment having a certain included angle with a frame at the top of the video playing interface.
Step 103, under the condition that the included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, rotating the target display area by a target angle, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range.
In this step, if it is detected that an included angle between a parallel line of a human eye and a reference line of a target display area in the electronic device is not within a preset angle range, adjusting a display position of the target display area in the electronic device, and rotating the target display area by a target angle, so that the included angle between the reference line of the target display area and the parallel line of the human eye is within the preset angle range.
In the embodiment of the present application, the preset angle range may be a preset fixed angle range, for example: -10 °, 10 °), i.e. the angle between the parallel lines of the eyes of the user and the reference line of the target display area may be within a certain range based on the viewing habits of the user.
Further, if it is detected that the included angle between the parallel lines of the human eyes and the reference line of the target display area in the electronic device is not within the preset angle range, the positional relationship between the two eyes of the user and the target display area in the electronic device is described, which is different from the positional relationship when the user is used to watch the display content in the target display area in the electronic device, at this time, the target display area may be rotated by the target angle, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range, and thus the positional relationship between the two eyes of the user and the target display area in the electronic device is consistent with the positional relationship when the user is used to watch the display content in the target display area in the electronic device, and conforms to the watching habit of the user. For example, when a user watches a video playing interface, a certain inclination angle is formed between a habitual sight line and the playing interface, and the inclination angle habitual to the user can be set to be the preset angle, so that the target display area can be rotated by a target angle, and an included angle between a reference line of the target display area and a parallel line of human eyes is in a preset angle range.
Optionally, the preset angle range may be (0 ° ), that is, it needs to be ensured that when the user uses the electronic device, parallel lines of human eyes of the user and reference lines of the target display area displayed in the display screen of the electronic device are in a state of being parallel to each other.
Specifically, as shown in fig. 2, when the user normally views the display content in the target display area 10 of the electronic device, the parallel line AB of the human eye of the user and the reference line CD of the target display area 10 are parallel to each other based on the viewing habit of the user.
Fig. 3 is a schematic diagram of information display of another electronic device according to an embodiment of the present disclosure, as shown in fig. 3, when a user views a display content in a target display area 10 with the electronic device, a head posture characteristic of the user changes, for example, when the user changes from sitting to lying to using the electronic device, a head posture of the user changes with respect to the electronic device, a positional relationship between a parallel line AB of human eyes and a reference line CD of the target display area 10 may change from a state in which the parallel line AB and the CD are parallel to each other to a non-parallel state due to the change of the head posture of the user, and an included angle α exists between the AB and the CD.
Further, when the parallel lines of the human eyes and the reference lines are in a non-parallel state, the position relationship between the two eyes of the user and the target display area in the electronic device is different from the position relationship when the user normally watches the display content in the target display area in the electronic device, at this time, the display position of the target display area in the electronic device is adjusted, and the target display area is rotated by a certain angle, so that the reference lines of the target display area and the parallel lines of the human eyes are parallel, and therefore, the position relationship between the two eyes of the user and the target display area in the electronic device is consistent with the position relationship when the user normally watches the display content in the target display area in the electronic device, and the watching habits of the user are met.
Fig. 4 is a schematic diagram of information display of another electronic device according to an embodiment of the present application, and as shown in fig. 4, the target display area 10 is rotated by α in a clockwise direction, so that the reference line CD of the target display area 10 is parallel to the parallel line AB of the human eye again.
To sum up, the information display method provided by the embodiment of the present application includes: determining parallel lines of human eyes, wherein the parallel lines of human eyes are straight lines parallel to the central connecting line of pupils of two eyes of a user; determining a reference line of a target display area in the electronic equipment; in the application, when the position of a target display area for displaying content in the electronic equipment is adjusted, the position relation between the reference line of the target display area and the parallel lines of human eyes of a user is detected in real time, the parallel lines of human eyes of the user are taken as reference lines, and when the included angle between the reference line of the target display area and the parallel lines of human eyes is not in the preset angle range, the target display area is rotated by a target angle to enable the included angle between the reference line of the target display area and the parallel lines of human eyes to be in the preset angle range, so that the display mode of the display content in the screen of the electronic equipment is realized, the method can adjust the relative position relation between the parallel lines of the human eyes and the target display area in real time, so that the probability of mistaken touch is reduced, meanwhile, the reference lines of the target display area change along with the parallel lines of the human eyes of the user, so that the switching process of the display content is consistent with the changing process of the sight of the user all the time, the stability of the switching process of the target display area of the electronic equipment is guaranteed, and the use experience of the user is improved.
Fig. 5 is a flowchart of steps of another information display method provided in an embodiment of the present application, and as shown in fig. 5, the method may include:
step 201, determining the rotation angle of the electronic equipment.
In this step, the angle at which the electronic device is rotated may be determined by a gyroscope disposed inside the electronic device.
Specifically, the gyroscope is a sensor for measuring the angular velocity of an object by using the principle that the direction indicated by the rotating shaft of a rotating object is not changed when the gyroscope is not influenced by external force, and when the gyroscope moves along with the electronic device, the gyroscope can measure the angular velocity of the electronic device rotating around each axis, and the angle of the electronic device rotating along each axis can be obtained by performing integral operation on the angular velocity.
For example, if the electronic device is placed horizontally in the initial state, at this time, an included angle between the electronic device and the horizontal plane is zero, and if it is detected that the electronic device is rotated along the side direction of the screen of the electronic device, the rotated angle of the electronic device may be determined as the included angle between the display screen of the electronic device and the horizontal plane at this time.
Step 202, when the angle is greater than or equal to a first angle and the duration of the angle which is continuously greater than or equal to the first angle is greater than or equal to a second preset duration, executing the step of determining the parallel lines of the human eyes.
In this step, if the angle is greater than or equal to a first angle, and the duration of the angle that is continuously greater than or equal to the first angle is greater than or equal to a second preset duration, step 203 is executed.
The first angle may be a fixed angle value preset according to a habit of a user using the electronic device, for example, 20 degrees, and when it is detected that the angle of rotation of the electronic device is greater than or equal to 20 degrees, it may be indicated that the angle of rotation of the electronic device is large, and an angle adjustment needs to be performed on a target display area of the electronic device, and at this time, a process of adjusting the display angle of the target display area in the electronic device according to the angle of rotation of the electronic device may be performed.
In addition, the second preset time period may be a fixed time period preset according to a habit of the user using the electronic device, for example, 5 seconds, and in a case that it is detected that the time period during which the angle of rotation of the electronic device continues to be greater than or equal to 20 degrees is greater than or equal to 5 seconds, determining the parallel lines of the human eyes and adjusting the display position of the target display area according to the positional relationship between the parallel lines of the human eyes and the reference line of the target display area are performed.
In the embodiment of the application, a setting module with a screen intelligent adjustment function can be added in a setting interface of the electronic device, and is used for opening or closing the function of adjusting the position of the target display area of the electronic device by detecting the parallel lines of the human eyes.
And step 203, determining human eye parallel lines which are straight lines parallel to the central connecting line of the pupils of the two eyes of the user.
The implementation of this step is similar to the implementation of step 101 described above, and is not described here again.
And step 204, determining a reference line of a target display area in the electronic equipment.
The implementation of this step is similar to the implementation of step 102, and is not described here again.
And step 205, determining an included angle between the parallel lines of the human eyes and the reference line, and determining the target angle based on the included angle and the preset angle range.
In this step, after the parallel lines of the human eyes and the reference lines of the target display areas are determined, in order to represent the position relationship between the eyes of the user and the target display areas in the electronic device, the included angles between the parallel lines of the human eyes and the reference lines can be determined according to the positions of the parallel lines of the human eyes and the reference lines.
Specifically, if the included angle is within the preset angle range, it indicates that the position relationship between the two eyes of the user and the target display area in the electronic device at this time is consistent with the position relationship when the user normally watches the display content in the target display area in the electronic device, so that the viewing habit of the user is met, and the position of the target display area does not need to be adjusted; if the included angle is not within the preset angle range, the included angle between the parallel lines of the human eyes and the reference line is too large, at this time, the position relationship between the two eyes of the user and the target display area in the electronic equipment is different from the position relationship when the user normally watches the display content in the target display area in the electronic equipment, and at this time, the display position of the target display area in the electronic equipment can be adjusted, so that the reference line of the target display area and the parallel lines of the human eyes are located within the preset angle range.
Optionally, when the preset angle range is (0 ° or 0 °), step 205 may determine an included angle between the parallel lines of the human eyes and the reference line, and determine the angle of the included angle as the target angle.
Specifically, if the included angle is zero, it indicates that parallel lines and reference lines of human eyes are parallel to each other, the target angle is 0 degree, and at this time, the position relationship between the two eyes of the user and the target display area in the electronic device is consistent with the position relationship when the user normally watches the display content in the target display area in the electronic device, so that the viewing habit of the user is met, and the position of the target display area does not need to be adjusted; if the included angle is not zero, it indicates that the parallel lines of the human eyes and the reference lines are in a non-parallel state, at this time, the position relationship between the two eyes of the user and the target display area in the electronic device is different from the position relationship when the user normally watches the display content in the target display area in the electronic device, and at this time, the reference lines of the target display area and the parallel lines of the human eyes can be made to be parallel by adjusting the display position of the target display area in the electronic device.
Optionally, the step of determining an included angle between the parallel line of the human eye and the reference line in step 205 may specifically include:
Substep 2051 determines the plane where the target display area is located as a target plane.
In this step, a plane in which the target display area is located in the electronic device may be determined as the target plane.
Specifically, the target display area in the electronic device is displayed in the display screen of the electronic device, so that the target plane is a plane where the display screen of the electronic device is located.
Fig. 6 is a schematic diagram of relative positions of parallel lines of human eyes and a target display area according to an embodiment of the present application, and as shown in fig. 6, a plane where the target display area 10 for displaying content in an electronic device is located may be determined as a target plane.
A two-dimensional cartesian coordinate system OXY may be established in the target plane, an origin of the coordinate system OXY may be an information position O of an imaging device for detecting a face image of the user, an X-axis direction of the coordinate system OXY may be a short-side direction of the electronic device, and a Y-axis direction of the coordinate system OXY may be a long-side direction of the electronic device.
And a substep 2052 of determining projection lines of the parallel lines of the human eye in the target plane.
In this step, the parallel lines of the human eye specified by the imaging device of the electronic apparatus are straight lines in the three-dimensional space, and therefore, it is necessary to project the parallel lines of the human eye on the target plane to specify the projection lines of the parallel lines of the human eye on the target plane, and further specify the positional relationship between the parallel lines of the human eye and the target display region by using the projection lines of the parallel lines of the human eye.
Referring to fig. 6, a straight line EF is a projection line of parallel lines of the human eye in the object plane OXY, where point E may be a projection point of the center of the pupil of the left eye of the user in the object plane OXY, and point F may be a projection point of the center of the pupil of the right eye of the user in the object plane OXY.
And a substep 2053 of rotating the projection line to a rotation angle required when the projection line is parallel to the reference line according to a preset rotation direction, and determining the rotation angle as an included angle between the parallel line of the human eye and the reference line.
In this step, an included angle between a projection line of parallel lines of the human eye and a reference line of the target display area may be determined, thereby determining whether the included angle between the projection line and the reference line is within the preset angle range.
Further, in order to make the included angle between the projection line and the reference line directional, the projection line may be rotated to a required angle parallel to the reference line according to a preset rotation direction, and the required angle may be determined as the included angle between the parallel line of the human eye and the reference line.
Specifically, the preset rotation direction is a rotation direction when a rotation angle of the projection line when the projection line rotates to be parallel to the reference line is less than 180 degrees.
Referring to fig. 6, the angle α required when the projection line EF is rotated to be parallel to the reference line CD may be determined as an angle between the parallel line of the human eye and the reference line CD of the target display area 10.
Further, the coordinates (x) of the projection point E in the object plane OXY through the center of the pupil of the left eye of the user1,y1) And the coordinates (x) of the projected point F of the center of the pupil of the right eye of the user in the object plane OXY2,y2) And determining an included angle alpha between the projection line EF and the datum line CD.
Specifically, the angle α between the projection line EF and the reference line CD can be determined by the following formula (1).
α=arctan(x2-x1)/(y2-y1) (1)
Optionally, the step of determining the target angle based on the included angle and the preset angle range in step 205 may specifically include:
sub-step 2054 determines the plane where the target display area is located as the target plane.
The implementation manner of this step is similar to the implementation process of step 2051, and is not described here again.
And a substep 2055 of determining projection lines of the parallel lines of the human eye in the target plane.
The implementation of this step is similar to the implementation of step 2052, and is not described here again.
And a substep 2056 of rotating the projection line according to a preset rotation direction to a rotation angle required when an included angle between the projection line and the reference line is within the preset angle range, and determining the rotation angle as the target angle.
The implementation manner of this step is similar to the implementation process of step 2053, and is not described here again.
And step 206, under the condition that the included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, rotating the target display area by a target angle to enable the included angle between the reference line of the target display area and the parallel lines of the human eyes to be within the preset angle range.
In this step, the position relationship between the eyes of the user and the target display area in the electronic device may be determined according to the included angle between the parallel lines of the human eyes and the reference line of the target display area determined in step 205 and the target angle representing the angle of the included angle.
Specifically, if the target angle is within the preset angle range, it is indicated that an included angle between a projection line of parallel lines of human eyes in a target plane and a reference line is small, and at this time, a position relationship between two eyes of a user and a target display area in the electronic device is consistent with a position relationship when the user normally watches display content in the target display area in the electronic device, so that the viewing habit of the user is met, and the position of the target display area does not need to be adjusted; if the target angle is not within the preset angle range, it is indicated that an included angle between the projection line of the parallel lines of the human eyes in the target plane and the reference line is larger, at this time, a position relationship between the two eyes of the user and the target display area in the electronic device is different from a position relationship when the user normally watches the display content in the target display area in the electronic device, at this time, the position of the target display area can be adjusted according to the target angle, and the target display area is rotated by the target angle, so that the included angle between the reference line of the target display area and the projection line of the parallel lines of the human eyes in the target plane is within the preset angle range.
Optionally, when the preset angle range is (0 ° ), step 206 may be to rotate the target display area by the target angle if the target angle is not equal to zero, so that the reference line and the parallel lines of the human eyes are parallel to each other.
Specifically, if the target angle is zero, it indicates that the projection line of the parallel lines of the human eyes in the target plane is parallel to the reference line, and at this time, the position relationship between the two eyes of the user and the target display area in the electronic device is consistent with the position relationship when the user normally watches the display content in the target display area in the electronic device, so that the viewing habit of the user is met, and the position of the target display area does not need to be adjusted; if the target angle is not zero, it indicates that the projection lines of the parallel lines of the human eyes in the target plane and the reference lines are in a non-parallel state, at this time, the position relationship between the two eyes of the user and the target display area in the electronic device is different from the position relationship when the user normally watches the display content in the target display area in the electronic device, at this time, the position of the target display area can be adjusted according to the target angle, and the target display area is rotated by the target angle, so that the reference lines of the target display area and the projection lines of the parallel lines of the human eyes in the target plane are parallel to each other.
Optionally, step 206 may specifically include:
sub-step 2061, determining the opposite direction of the preset rotation direction as the target direction.
In this step, when the included angle between the parallel line and the reference line of the human eye is determined in sub-step 2053, the direction opposite to the preset rotation direction may be determined as the target direction with reference to the rotation direction of the projection line, that is, the preset rotation direction.
Specifically, the rotation direction of the projection line may represent a direction in which the eyes of the user need to rotate when the electronic device rotates, in order to ensure that a positional relationship between the eyes of the user and the target display area displayed in the electronic device remains unchanged.
Correspondingly, the target direction may represent a direction in which the target display area displayed in the electronic device needs to be rotated to ensure that a positional relationship between the two eyes of the user and the target display area displayed in the electronic device remains unchanged when the electronic device is rotated, and therefore, the rotation direction of the projection line is opposite to the target direction.
As shown in fig. 6, in the process of rotating the projection line EF to be parallel to the reference line CD, the rotation direction of the projection line EF is the counterclockwise direction in the object plane OXY, and therefore, the clockwise direction in the object plane OXY can be determined as the object direction.
Sub-step 2062 of rotating the target display region by the target angle in the target direction.
In this step, after the target direction is determined, the target display area may be rotated by the target angle in the target direction such that the reference line after the rotation and the reference line of the target display area remain parallel again.
Referring to fig. 6, after determining that an included angle between a projection line EF of parallel lines of human eyes in a target plane OXY and a reference line CD of the target display area 10 is rotated by α in a counterclockwise direction, adjusting the position of the target display area 10 to make the target display area 10 perform corresponding adjustment following the position adjustment of the reference line CD, specifically, controlling the reference line CD of the target display area 10 to rotate by α in the clockwise direction, and making the reference lines of the target display area 20 after performing the position adjustment C 'D', C 'D' parallel to the projection line EF of the parallel lines of human eyes in the target plane OXY.
And step 207, adjusting the size of the target display area according to the size of the target display area and the size of the display screen of the electronic equipment, so that all display contents in the target display area are displayed in the display screen of the electronic equipment.
In this step, since the display screen of the electronic device and the target display area are generally rectangular in practical application, after the position of the target display area is adjusted, a mismatch between the target display area and the display screen of the electronic device may occur, for example, a part of the display content in the target display area may exceed the display screen of the electronic device, so that the display content cannot be displayed in the display screen of the electronic device, or the size of the target display area is too small compared with the size of the display screen of the electronic device, which affects the user to receive the display content in the target display area.
Therefore, the size of the target display area can be adjusted according to the size of the target display area and the size of the display screen of the electronic device, for example, the size of the target display area is adjusted according to a corresponding proportion, or the size of the side length of the target display area is adjusted, so that the target display area and the display screen of the electronic device are matched with each other.
Fig. 7 is a schematic diagram of another relative position between a parallel line of a human eye and a target display area provided in an embodiment of the present application, and as shown in fig. 7, the target display area 20 after performing position adjustment exceeds an area of a display screen of an electronic device, so that display contents in the target display area cannot be fully displayed in the display screen of the electronic device.
Further, the size of the target display area 20 may be adjusted, for example, the size of the target display area 20 after the position adjustment is reduced, and at the same time, the reference line C "D" of the target display area 30 after the size adjustment continues to be parallel to the projection line EF of the parallel line of the human eye in the target plane OXY, without changing the position relationship between the eyes of the user and the target display area in the electronic device.
On the other hand, if the size of the target display area after the position adjustment is far smaller than the size of the display screen of the electronic device, so that a large number of blank positions appear in the display screen of the electronic device except the target display area, the size of the target display area may also be adjusted, for example, the size of the target display area after the position adjustment is enlarged.
And 208, displaying the target display area after the size adjustment in a display screen of the electronic equipment.
In this step, the resized target display area may be displayed in a display screen of the electronic device.
Step 209, stopping executing the step of determining the parallel lines of the human eyes when detecting that the duration of the included angle between the reference line and the parallel lines of the human eyes continuously located in the preset angle range is greater than or equal to a first preset duration.
In this step, the step of determining the parallel lines of the human eyes may be stopped when it is detected that a duration of an angle between the reference line and the parallel lines of the human eyes which is continuously located within the preset angle range is greater than or equal to a first preset duration.
Specifically, if it is detected that the duration that the included angle between the reference line and the parallel lines of the human eyes is continuously located in the preset angle range is greater than or equal to a first preset duration, it is indicated that the positional relationship between the parallel lines of the human eyes and the reference line of the target display area does not change greatly within the first preset duration range, that is, the head posture of the user does not change significantly within the first preset duration range relative to the target display area of the electronic device, so that the screen locking function of the electronic device can be triggered, and the target display area in the screen of the electronic device does not change continuously along with the parallel lines of the human eyes of the user.
To sum up, the information display method provided by the embodiment of the present application includes: determining parallel lines of human eyes, wherein the parallel lines of human eyes are straight lines parallel to the central connecting line of pupils of two eyes of a user; determining a reference line of a target display area in the electronic equipment; in the application, when the position of a target display area for displaying content in the electronic equipment is adjusted, the position relation between the reference line of the target display area and the parallel lines of human eyes of a user is detected in real time, the parallel lines of human eyes of the user are taken as reference lines, and when the included angle between the reference line of the target display area and the parallel lines of human eyes is not in the preset angle range, the target display area is rotated by a target angle to enable the included angle between the reference line of the target display area and the parallel lines of human eyes to be in the preset angle range, so that the display mode of the display content in the screen of the electronic equipment is realized, the method can adjust the relative position relation between the parallel lines of the human eyes and the target display area in real time, so that the probability of mistaken touch is reduced, meanwhile, the reference lines of the target display area change along with the parallel lines of the human eyes of the user, so that the switching process of the display content is consistent with the changing process of the sight of the user all the time, the stability of the switching process of the target display area of the electronic equipment is guaranteed, and the use experience of the user is improved.
In addition, before the parallel lines of the human eyes and the reference line of the target display area are determined, the rotating angle of the electronic equipment is detected, so that the step of determining the parallel lines of the human eyes is executed only under the condition that the angle is larger than or equal to a first angle and the duration of the angle which is continuously larger than or equal to the first angle is larger than or equal to a second preset duration, and therefore whether the step of determining the parallel lines of the human eyes and the reference line of the target display area needs to be executed or not is accurately judged by utilizing the state of the electronic equipment, and misjudgment of the electronic equipment is avoided.
In the information display method provided in the embodiment of the present application, the execution main body may be an information display device, or a control module for executing the information display method in the information display device. In the embodiment of the present application, a method for displaying information performed by an information display device is taken as an example, and the information display device provided in the embodiment of the present application is described.
Fig. 8 is a block diagram of an information display apparatus according to an embodiment of the present application, and as shown in fig. 8, the apparatus 300 includes:
the first determining module 301 is configured to determine a parallel line of a human eye, where the parallel line of the human eye is a straight line parallel to a central connection line of pupils of two eyes of a user;
A second determining module 302, configured to determine a reference line of a target display area in the electronic device;
the adjusting module 303 is configured to rotate the target display area by a target angle under the condition that an included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range.
Optionally, the apparatus 300 further includes:
the size adjusting module is used for adjusting the size of the target display area according to the size of the target display area and the size of a display screen of the electronic equipment, so that all display contents in the target display area are displayed in the display screen of the electronic equipment;
and the display module is used for displaying the target display area after the size adjustment in a display screen of the electronic equipment.
Optionally, the apparatus further comprises:
and the third determining module is used for determining an included angle between the parallel lines of the human eyes and the reference line and determining the target angle based on the included angle and the preset angle range.
Optionally, the third determining module includes:
The first determining submodule is used for determining the plane where the target display area is located as a target plane;
the second determining submodule is used for determining the projection line of the parallel lines of the human eyes in the target plane;
and the second determining submodule is used for determining the projection line as the target angle according to a rotation angle required when the projection line rotates to an included angle between the projection line and the reference line within the preset angle range according to a preset rotation direction.
Optionally, the preset angle range includes (0 ° ),
the adjusting module 303 includes:
and the adjusting submodule is used for rotating the target display area by the target angle under the condition that the parallel lines of the human eyes and the reference lines are in a non-parallel state, so that the reference lines of the target display area are parallel to the parallel lines of the human eyes.
Optionally, the adjusting sub-module includes:
the first determining unit is used for determining an included angle between the parallel lines of the human eyes and the reference line and determining the angle of the included angle as the target angle;
and the first adjusting unit is used for rotating the target display area by the target angle under the condition that the target angle is not equal to zero, so that the reference line is parallel to the parallel lines of the human eyes.
Optionally, the third determining module and the first determining unit specifically include:
the first determining subunit is used for determining a plane where the target display area is located as a target plane;
the second determining subunit is used for determining the projection line of the parallel lines of the human eyes in the target plane;
and the third determining subunit is used for rotating the projection line to a rotation angle required when the projection line is parallel to the reference line according to a preset rotation direction, and determining the rotation angle as an included angle between the parallel line of the human eye and the reference line.
Optionally, the adjusting module 303 and the adjusting submodule specifically include:
a second determination unit configured to determine a direction opposite to the preset rotation direction as a target direction;
and the second adjusting unit is used for rotating the target display area by the target angle along the target direction.
Optionally, the apparatus further comprises:
the first detection module is used for stopping executing the step of determining the parallel lines of the human eyes under the condition that the duration of detecting that the included angle between the reference line and the parallel lines of the human eyes is continuously located in the preset angle range is greater than or equal to a first preset duration.
Optionally, the apparatus further comprises:
a fourth determining module, configured to determine an angle at which the electronic device rotates;
and the second detection module is used for executing the step of determining the parallel lines of the human eyes under the condition that the angle is greater than or equal to a first angle and the duration of the angle which is continuously greater than or equal to the first angle is greater than or equal to a second preset duration.
In summary, the display device of information provided in the embodiment of the present application includes: determining parallel lines of human eyes, wherein the parallel lines of human eyes are straight lines parallel to the central connecting line of pupils of two eyes of a user; determining a reference line of a target display area in the electronic equipment; in the application, when the position of a target display area for displaying content in the electronic equipment is adjusted, the position relation between the reference line of the target display area and the parallel lines of human eyes of a user is detected in real time, the parallel lines of human eyes of the user are taken as reference lines, and when the included angle between the reference line of the target display area and the parallel lines of human eyes is not in the preset angle range, the target display area is rotated by a target angle to enable the included angle between the reference line of the target display area and the parallel lines of human eyes to be in the preset angle range, so that the display mode of the display content in the screen of the electronic equipment is realized, the method can adjust the relative position relation between the parallel lines of the human eyes and the target display area in real time, so that the probability of mistaken touch is reduced, meanwhile, the reference lines of the target display area change along with the parallel lines of the human eyes of the user, so that the switching process of the display content is consistent with the changing process of the sight of the user all the time, the stability of the switching process of the target display area of the electronic equipment is guaranteed, and the use experience of the user is improved.
The display device of the information in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a kiosk, and the like, and the embodiments of the present application are not particularly limited.
The display device of information in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The information display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 and fig. 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the above-mentioned information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The input unit 504 is configured to determine a parallel line of a human eye, where the parallel line of the human eye is a straight line parallel to a central connection line of pupils of two eyes of a user;
a processor 510 for determining a reference line of a target display area in an electronic device;
the display unit 506 is configured to rotate the target display area by a target angle under the condition that an included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range.
In the application, when the position of a target display area for displaying content in electronic equipment is adjusted, the position relationship between a reference line of the target display area and parallel lines of human eyes of a user is detected in real time, the parallel lines of human eyes of the user are used as reference lines, and under the condition that the included angle between the reference line of the target display area and the parallel lines of human eyes is not within a preset angle range, the target display area is rotated by a target angle, so that the included angle between the reference line of the target display area and the parallel lines of human eyes is within the preset angle range, and the display mode of the displayed content in the screen of the electronic equipment can be adjusted in real time according to the relative position relationship between the parallel lines of human eyes and the target display area, thereby reducing the probability of false touch, and simultaneously, the reference line of the target display area changes along with the parallel lines of human eyes of the user, the switching process of the display content is consistent with the change process of the sight of the user, so that the stability of the target display area switching process of the electronic equipment is ensured, and the use experience of the user is improved.
Optionally, the processor 510 is further configured to adjust the size of the target display area according to the size of the target display area and the size of the display screen of the electronic device, so that all display contents in the target display area can be displayed in the display screen of the electronic device;
the display unit 506 is further configured to display the resized target display area on a display screen of the electronic device.
Optionally, the processor 510 is further configured to determine an included angle between the parallel line of the human eye and the reference line, and determine the target angle based on the included angle and the preset angle range.
Optionally, the processor 510 is further configured to determine a plane where the target display area is located as a target plane;
determining projection lines of the parallel lines of the human eyes in the target plane;
and determining the projection line as the target angle according to a rotation angle required when the projection line rotates to an included angle between the projection line and the reference line within the preset angle range according to a preset rotation direction.
Optionally, the preset angle range includes a (0 ° ) processor 510, and is further configured to rotate the target display area by the target angle under the condition that the parallel lines of the human eyes and the reference lines are in a non-parallel state, so that the reference lines of the target display area are parallel to the parallel lines of the human eyes.
Optionally, the processor 510 is further configured to determine an included angle between the parallel line and the reference line of the human eye, and determine an angle of the included angle as the target angle;
the display unit 506 is further configured to rotate the target display area by the target angle if the target angle is not equal to zero, so that the reference line and the parallel line of the human eyes are parallel to each other.
Optionally, the processor 510 is further configured to determine a plane where the target display area is located as a target plane;
determining projection lines of the parallel lines of the human eyes in the target plane;
and rotating the projection line to a rotation angle required when the projection line is parallel to the reference line according to a preset rotation direction, and determining the rotation angle as an included angle between the parallel line of the human eye and the reference line.
Optionally, the processor 510 is further configured to determine a direction opposite to the preset rotation direction as a target direction;
a display unit 506, further configured to rotate the target display area by the target angle along the target direction.
Optionally, the processor 510 is further configured to stop executing the step of determining the parallel lines of the human eyes when it is detected that a duration of an included angle between the reference line and the parallel lines of the human eyes continuously located in the preset angle range is greater than or equal to a first preset duration.
Optionally, the processor 510 is further configured to determine an angle of rotation of the electronic device;
and under the condition that the angle is greater than or equal to a first angle and the duration of the angle which is continuously greater than or equal to the first angle is greater than or equal to a second preset duration, executing the step of determining the parallel lines of the human eyes.
In the application, when the position of a target display area for displaying content in electronic equipment is adjusted, the position relation between a reference line of the target display area and parallel lines of human eyes of a user is detected in real time, the parallel lines of the human eyes of the user are used as reference lines, when an included angle between the reference line of the target display area and the parallel lines of the human eyes is not within a preset angle range, the target display area is rotated by a target angle, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range, and therefore, the display mode of the display content in a screen of the electronic equipment can be adjusted in real time according to the relative position relation between the parallel lines of the human eyes and the target display area, the probability of mistaken touch is reduced, meanwhile, the reference line of the target display area changes along with the parallel lines of the human eyes of the user, and the switching process of the display content is, therefore, the stability of the target display area switching process of the electronic equipment is ensured, and the use experience of a user is improved.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the graphics processing Unit 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (12)

1. A method of displaying information, the method comprising:
determining human eye parallel lines which are straight lines parallel to a central connecting line of pupils of two eyes of a user;
determining a reference line of a target display area in the electronic equipment;
and under the condition that the included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, rotating the target display area by a target angle to enable the included angle between the reference line of the target display area and the parallel lines of the human eyes to be within the preset angle range.
2. The method of claim 1, wherein after the step of rotating the target display area by a target angle such that the reference line of the target display area is parallel to the parallel line of the human eye, the method further comprises:
according to the size of the target display area and the size of a display screen of the electronic equipment, adjusting the size of the target display area to enable all display contents in the target display area to be displayed in the display screen of the electronic equipment;
and displaying the target display area after the size adjustment in a display screen of the electronic equipment.
3. The method of claim 1, wherein prior to rotating the target display area by a target angle, the method further comprises:
and determining an included angle between the parallel lines of the human eyes and the reference line, and determining the target angle based on the included angle and the preset angle range.
4. The method of claim 3, wherein the step of determining the target angle based on the included angle and the preset angle range comprises:
determining a plane where the target display area is located as a target plane;
determining projection lines of the parallel lines of the human eyes in the target plane;
and determining the projection line as the target angle according to a rotation angle required when the projection line rotates to an included angle between the projection line and the reference line within the preset angle range according to a preset rotation direction.
5. The method according to claim 1, wherein the preset angular range comprises (0 ° ),
the step of rotating the target display area by a target angle under the condition that the included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range includes:
And under the condition that the parallel lines of the human eyes and the reference lines are in a non-parallel state, rotating the target display area by the target angle to enable the reference lines of the target display area to be parallel to the parallel lines of the human eyes.
6. The method according to claim 5, wherein the step of rotating the target display area by the target angle so that the reference line of the target display area is parallel to the parallel line of the human eye with the parallel line of the human eye and the reference line in a non-parallel state comprises:
determining an included angle between the parallel lines of the human eyes and the reference line, and determining the angle of the included angle as the target angle;
and under the condition that the target angle is not equal to zero, rotating the target display area by the target angle so that the reference line and the parallel line of the human eyes are parallel to each other.
7. The method according to claim 3 or 6, wherein the step of determining the angle between the parallel lines of the human eye and the reference line comprises:
determining a plane where the target display area is located as a target plane;
determining projection lines of the parallel lines of the human eyes in the target plane;
And rotating the projection line to a rotation angle required when the projection line is parallel to the reference line according to a preset rotation direction, and determining the rotation angle as an included angle between the parallel line of the human eye and the reference line.
8. The method according to claim 4 or 7, wherein the step of rotating the target display area by a target angle specifically comprises:
determining the opposite direction of the preset rotating direction as a target direction;
rotating the target display area by the target angle along the target direction.
9. The method of claim 1, wherein after rotating the target display area by a target angle, the method further comprises:
and under the condition that the duration that the included angle between the reference line and the parallel lines of the human eyes is detected to be continuously positioned in the preset angle range is greater than or equal to a first preset duration, stopping executing the step of determining the parallel lines of the human eyes.
10. The method of claim 1, wherein prior to the step of determining parallel lines of the human eye, the method further comprises:
determining an angle at which the electronic device is rotated;
and under the condition that the angle is greater than or equal to a first angle and the duration of the angle which is continuously greater than or equal to the first angle is greater than or equal to a second preset duration, executing the step of determining the parallel lines of the human eyes.
11. An apparatus for displaying information, the apparatus comprising:
the first determining module is used for determining parallel lines of human eyes, wherein the parallel lines of human eyes are straight lines parallel to a central connecting line of pupils of two eyes of a user;
the second determining module is used for determining a datum line of a target display area in the electronic equipment;
and the adjusting module is used for rotating the target display area by a target angle under the condition that the included angle between the parallel lines of the human eyes and the reference line is not within a preset angle range, so that the included angle between the reference line of the target display area and the parallel lines of the human eyes is within the preset angle range.
12. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of displaying information according to any one of claims 1-10.
CN202010600138.0A 2020-06-28 2020-06-28 Information display method and device and electronic equipment Pending CN111857910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010600138.0A CN111857910A (en) 2020-06-28 2020-06-28 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010600138.0A CN111857910A (en) 2020-06-28 2020-06-28 Information display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111857910A true CN111857910A (en) 2020-10-30

Family

ID=72988646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010600138.0A Pending CN111857910A (en) 2020-06-28 2020-06-28 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111857910A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445342A (en) * 2020-11-26 2021-03-05 维沃移动通信有限公司 Display screen control method and device and electronic equipment
CN112614319A (en) * 2020-12-21 2021-04-06 珠海格力电器股份有限公司 Terminal adjusting method and device, computer equipment and computer readable storage medium
CN113504832A (en) * 2021-07-27 2021-10-15 北京字节跳动网络技术有限公司 Mobile terminal display adjustment method, device, equipment and medium
CN114466140A (en) * 2022-02-09 2022-05-10 维沃移动通信有限公司 Image shooting method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN104679225A (en) * 2013-11-28 2015-06-03 上海斐讯数据通信技术有限公司 Method and device for adjusting screen of mobile terminal and mobile terminal
CN106575198A (en) * 2014-07-24 2017-04-19 华为技术有限公司 Method and apparatus for switching screen display mode of terminal device, and terminal device
US20180253148A1 (en) * 2013-06-08 2018-09-06 Apple Inc. Device, Method, and Graphical User Interface for Synchronizing Two or More Displays
CN108717367A (en) * 2018-04-13 2018-10-30 上海爱优威软件开发有限公司 A kind of adjustment shows the method and terminal of the page
US20190012841A1 (en) * 2017-07-09 2019-01-10 Eyedaptic, Inc. Artificial intelligence enhanced system for adaptive control driven ar/vr visual aids
CN109308153A (en) * 2017-07-27 2019-02-05 先锋高科技(上海)有限公司 Picture adjusting method and device, computer readable storage medium, terminal
US20190206028A1 (en) * 2017-12-29 2019-07-04 Kyocera Document Solutions Inc. Image Processing Apparatus, Image Processing Method, and Recording Medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180253148A1 (en) * 2013-06-08 2018-09-06 Apple Inc. Device, Method, and Graphical User Interface for Synchronizing Two or More Displays
CN103412647A (en) * 2013-08-13 2013-11-27 广东欧珀移动通信有限公司 Face recognition page display control method and mobile terminal
CN104679225A (en) * 2013-11-28 2015-06-03 上海斐讯数据通信技术有限公司 Method and device for adjusting screen of mobile terminal and mobile terminal
CN106575198A (en) * 2014-07-24 2017-04-19 华为技术有限公司 Method and apparatus for switching screen display mode of terminal device, and terminal device
US20190012841A1 (en) * 2017-07-09 2019-01-10 Eyedaptic, Inc. Artificial intelligence enhanced system for adaptive control driven ar/vr visual aids
CN109308153A (en) * 2017-07-27 2019-02-05 先锋高科技(上海)有限公司 Picture adjusting method and device, computer readable storage medium, terminal
US20190206028A1 (en) * 2017-12-29 2019-07-04 Kyocera Document Solutions Inc. Image Processing Apparatus, Image Processing Method, and Recording Medium
CN108717367A (en) * 2018-04-13 2018-10-30 上海爱优威软件开发有限公司 A kind of adjustment shows the method and terminal of the page

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112445342A (en) * 2020-11-26 2021-03-05 维沃移动通信有限公司 Display screen control method and device and electronic equipment
CN112614319A (en) * 2020-12-21 2021-04-06 珠海格力电器股份有限公司 Terminal adjusting method and device, computer equipment and computer readable storage medium
CN113504832A (en) * 2021-07-27 2021-10-15 北京字节跳动网络技术有限公司 Mobile terminal display adjustment method, device, equipment and medium
CN113504832B (en) * 2021-07-27 2024-05-28 北京字节跳动网络技术有限公司 Mobile terminal display adjustment method, device, equipment and medium
CN114466140A (en) * 2022-02-09 2022-05-10 维沃移动通信有限公司 Image shooting method and device
CN114466140B (en) * 2022-02-09 2023-10-24 维沃移动通信有限公司 Image shooting method and device

Similar Documents

Publication Publication Date Title
US10955913B2 (en) Adjusting content display orientation on a screen based on user orientation
US11640235B2 (en) Additional object display method and apparatus, computer device, and storage medium
CN111857910A (en) Information display method and device and electronic equipment
US9430045B2 (en) Special gestures for camera control and image processing operations
KR102491443B1 (en) Display adaptation method and apparatus for application, device, and storage medium
WO2019153824A1 (en) Virtual object control method, device, computer apparatus, and storage medium
US9304591B2 (en) Gesture control
CN110427110B (en) Live broadcast method and device and live broadcast server
US20120038675A1 (en) Assisted zoom
CN111324250B (en) Three-dimensional image adjusting method, device and equipment and readable storage medium
TW201214299A (en) Selecting view orientation in portable device via image analysis
WO2020073967A1 (en) Horizontal and vertical screen switching method, wearable device, and apparatus having storage function
JP2018180051A (en) Electronic device and control method thereof
CN110738972B (en) Page refreshing method and device for ink screen
WO2018186004A1 (en) Electronic device and method for controlling same
US20210274035A1 (en) Method for anti-disturbing, electronic device, and computer-readable storage medium
JP2018180050A (en) Electronic device and control method thereof
CN111991801A (en) Display method and device and electronic equipment
CN114153361B (en) Interface display method, device, terminal and storage medium
CN113065457B (en) Face detection point processing method and device, computer equipment and storage medium
CN116033227A (en) Video playing method, device, electronic equipment and readable storage medium
CN114327204A (en) Information display method, device, equipment and storage medium
CN117991945A (en) Cursor 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