WO2019196863A1 - 内容的显示方法及装置 - Google Patents

内容的显示方法及装置 Download PDF

Info

Publication number
WO2019196863A1
WO2019196863A1 PCT/CN2019/082043 CN2019082043W WO2019196863A1 WO 2019196863 A1 WO2019196863 A1 WO 2019196863A1 CN 2019082043 W CN2019082043 W CN 2019082043W WO 2019196863 A1 WO2019196863 A1 WO 2019196863A1
Authority
WO
WIPO (PCT)
Prior art keywords
angle
display screen
coordinate axis
content
display
Prior art date
Application number
PCT/CN2019/082043
Other languages
English (en)
French (fr)
Inventor
杜峰
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2019196863A1 publication Critical patent/WO2019196863A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Definitions

  • the present disclosure relates to the field of communications, and in particular, to a method and an apparatus for displaying content.
  • the mobile terminal browses the picture
  • the best effect of the picture cannot be presented when the mobile terminal is tilted relative to the user's line of sight.
  • the user needs to manually adjust the angle of the mobile phone display screen.
  • the user In order to achieve the best angle between the line of sight of the human eye and the content displayed on the display screen, the user needs to participate in the process, and the user operation is cumbersome, and the adjustment precision is low due to the random adjustment of the manual, and the user experience is poor. .
  • the embodiment of the present invention provides a method and a device for displaying content, so as to solve the problem that the angle between the line of sight of the human eye and the content displayed on the display screen is optimal, the user needs to participate, the user operation is cumbersome, and the manual adjustment is arbitrary.
  • the problem is that the adjustment accuracy is low and the user experience is poor.
  • an embodiment of the present disclosure provides a method for displaying content, where the method includes:
  • an embodiment of the present disclosure further provides a display device for content, where the device includes:
  • a line of sight acquisition module for acquiring a line of sight of the human eye and the display screen
  • the first adjustment module is configured to perform rotation display on the display content of the display screen according to the line of sight angle and the orientation information of the display screen, so that the content is perpendicular to the line of sight of the human eye.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being the processor The step of implementing the display method of the content according to any of the above items at the time of execution.
  • an embodiment of the present disclosure further provides a computer readable storage medium, where the computer readable storage medium stores a computer program, and when the computer program is executed by a processor, implementing the content according to any one of the above The steps of the display method.
  • the line of sight of the human eye and the line of sight of the display screen are obtained; according to the line of sight and the orientation information of the display screen, the content displayed on the display screen is rotated and displayed, so that the content displayed on the display screen and the line of sight of the human eye vertical.
  • the display orientation of the content displayed on the display screen is automatically adjusted as the line of sight changes, and the content displayed on the display screen is always perpendicular to the line of sight of the human eye, without requiring the user to manually adjust the mobile terminal.
  • the holding angle can automatically adjust the angle between the display content of the display and the line of sight of the human eye, thereby improving the adjustment precision and improving the user viewing experience.
  • FIG. 1 is a schematic flow chart of a method of displaying content in an embodiment of the present disclosure.
  • FIG. 2 is a schematic diagram of an initial state of a display screen in a method of displaying content in an embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram showing an offset angle of a display screen in a display method of content in an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram showing an offset angle of a display screen in a display method of content in another embodiment of the present disclosure
  • FIG. 5 is a schematic diagram showing rotation of content in a display method of content in an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram showing rotation of content in a display method of content in another embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram showing rotation of content in a display method of content in another embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a display device of a content in an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a mobile terminal in an embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of a method for displaying content in an embodiment of the present disclosure.
  • the method may be applied to a mobile terminal, and may also be applied to other terminal devices.
  • the following is applied to a mobile terminal (such as a smart phone).
  • the example will be described in detail.
  • the method of Figure 1 can include:
  • S101 acquiring a line of sight of a human eye line of sight and a display screen, wherein an eyeball tracking technique is used to determine a line of sight of the human eye, and a line of sight of the human eye is an imaginary line between the eyeball and the display screen when the eyeball of the person looks at the display screen, when moving
  • the eyeball of the human eye shifts accordingly, and the angle between the line of sight of the human eye and the line perpendicular to the plane of the display screen changes accordingly, and the eyeball offset state of the human eye is collected in real time through the front camera, thereby determining The angle between the line of sight of the human eye and the line perpendicular to the plane of the display screen, that is, the line of sight;
  • orientation information of the display screen wherein the orientation information of the display screen refers to a relative position relationship between the display screen and the human face in a vertical direction, the display screen may be parallel to the human face, and the lower end may be away from the human face. It is also possible that the upper end is far away from the human face, and the built-in gyroscope of the mobile terminal can be used to obtain the orientation information of the display screen, and the state information of the gyroscope can be collected in real time, thereby determining the orientation information of the display screen.
  • the display screen of the mobile terminal is monitored to locate the currently displayed content, where the content may be a picture stored locally by the mobile terminal, a picture loaded on the network, or may be a picture in a web page.
  • the content to be adjusted can be located in the current display page of the display screen, and the content to be adjusted can be displayed in the current display page in full screen or in the current display page.
  • the offset information of the display screen can be determined according to the orientation information of the human eye and the orientation information of the display screen, including in the horizontal direction. a first angle on the first angle and a second angle in the vertical direction, and further adjusting the content displayed on the display screen according to the offset information, so that the adjustment of the content is not limited to the rotation in the gravity direction, but can be based on the horizontal direction.
  • the offsets in the vertical direction are adjusted separately, so that the adjusted content can follow the movement of the line of sight of the human eye in both the horizontal direction and the vertical direction, ensuring that the content displayed on the display screen is at the optimal angle of the line of sight of the human eye.
  • the display orientation of the content displayed on the display screen is automatically adjusted according to the change of the line of sight of the human eye, and the content displayed on the display screen is always perpendicular to the line of sight of the human eye.
  • the user does not need to manually adjust the holding angle of the mobile terminal, and can automatically adjust the angle between the content displayed on the display screen and the line of sight of the human eye, thereby improving the adjustment precision and improving the user viewing experience.
  • the three-dimensional coordinate system of the display screen needs to be established in advance, wherein the three-dimensional coordinate system includes a first coordinate axis X-axis, a second coordinate axis Y-axis, and a third coordinate axis Z-axis, and the three-dimensional coordinate system is displayed.
  • the movement of the screen changes, but the first coordinate axis and the second coordinate axis are always located on the plane of the display screen, the third coordinate axis is always perpendicular to the plane of the display screen, and the initial state of the display screen is the center point of the display screen and The human eye is on the same level and the display is in a vertical position.
  • Fig. 2 schematically shows an initial state of the display screen and an initial coordinate system.
  • the initial state of the display screen 200 is that the center point of the display screen 200 is on the same level as the human eye, and the display screen 200 is in the vertical state.
  • the display screen 200 is in a vertical state, and the longer side of the display screen 200 is parallel to the direction of gravity, and the shorter side is parallel to the direction of the first coordinate axis.
  • the initial coordinate system is established as shown in Fig. 2, the X axis, the Y axis, and the Z axis.
  • the positive direction of the X-axis is horizontal to the right
  • the positive direction of the Y-axis is horizontally upward
  • the positive direction of the Z-axis is perpendicular to the outward direction of the display screen 200.
  • the layout parameter of the gyroscope (gravity sensor) of the mobile terminal is obtained according to the model of the mobile terminal, and the initial three-dimensional coordinate system of the mobile terminal is established according to the layout parameter. Specifically, the gravity sensor and the mobile terminal are determined according to the gravity sensor and the camera layout. The status corresponds to the information and the distance between the camera and the center of the display. The center of the display screen of the mobile terminal is flush with the eye and the vertical state of the body is the initial state. If the initial state is 0, the X axis is 0, the Y axis is -9.8, and the Z axis is 0.
  • the front camera captures
  • the eyeball information is a vertical screen; then when the height of the display center of the mobile terminal does not change clockwise by 90 degrees, the state changes to X/Y/Z: 9.8/0/0, and the line of sight of the human eye is perpendicular to the display screen, that is, Z The angle between the axis and the line of sight of the human eye is 0 degrees.
  • the installation position of the gyroscope (gravity sensor) built in the mobile terminal has a great influence on the initial coordinate system of the front and back positions. If the gravity sensor is located on the back of the mobile terminal, the Z axis is the same as the initial coordinate system; if the gravity sensor is located at the mobile terminal On the front side, the Z-axis direction is opposite to the initial coordinate system, and normalization processing is required, and the corresponding relationship is stored in the mobile terminal, and the normalized coordinate system is used as the initial coordinate system of the mobile terminal of the corresponding model, that is, figure 2.
  • the angle between the line of sight of the human eye and the Z axis can be determined as the first angle of the display screen in the direction of the first coordinate axis, and the direction of the Z axis and the direction of gravity (ie, the direction vertically downward) is determined.
  • the angle between the two is taken as the second angle of the display screen in the direction of the second coordinate axis.
  • the angle between the line of sight of the human eye and the Z axis is not zero, if the display screen is in the second coordinate axis. If the direction is offset (ie, the display is no longer in the vertical state), the angle between the Z axis and the direction of gravity is not 90 degrees.
  • Fig. 3 schematically shows a first angle when the display screen is shifted in the direction of the first coordinate axis.
  • the human eye 300 is on the same horizontal plane as the center point of the display screen 200.
  • the first angle ⁇ is zero.
  • the display screen 200 is offset on the horizontal plane, the first angle ⁇ is Not zero, at this time, the content displayed on the display screen 200 is also offset with respect to the line of sight of the human eye.
  • the display screen is offset in the direction of the first coordinate axis (possibly the left end of the display screen is away from the human face, or the right end of the display screen may be away from the human face),
  • the two axes adjust the display angle of the content displayed on the display screen in the direction of the first coordinate axis; wherein if the left end of the display screen is offset inward (ie, the left end is away from the human eye), the first angle ⁇ is greater than -90 degrees and Less than 0 degrees; if the right end of the display is offset inward (ie, the right end is away from the human eye), the first angle ⁇ is greater than 0 degrees and less than 90 degrees.
  • Fig. 4 schematically shows a second angle when the display screen is shifted in the direction of the second coordinate axis.
  • the second angle ⁇ is 90 degrees.
  • the second angle ⁇ is not 90 degrees.
  • the content displayed on the display screen 200 is also offset from the line of sight of the human eye.
  • the display screen is offset in the direction of the second coordinate axis (the upper end of the display screen may be away from the human face, or the display may be The lower end is away from the face), and the angle of presentation of the content displayed on the display screen in the direction of the second coordinate axis is adjusted centering on the first coordinate axis.
  • the second angle ⁇ is greater than 90 degrees; if the lower end of the display screen is offset inward (ie, the lower end is away from the human eye), the second angle ⁇ is less than 90 degree.
  • the S102 rotates and displays the content displayed on the display screen according to the acquired line of sight angle and the orientation information of the display screen, and specifically includes:
  • Step one determining a first angle ⁇ between the line of sight of the human eye and the third coordinate axis in the pre-established three-dimensional coordinate system according to the acquired line of sight angle, specifically, when the line of sight angle is defined as the line of sight of the human eye and perpendicular to the display screen When the angle between the straight lines of the plane is located, the line of sight angle is the first angle ⁇ ;
  • Step 2 determining a second angle ⁇ between the direction of gravity and the forward direction of the third coordinate axis according to the orientation information of the display screen;
  • Step 3 for the first coordinate axis and the second coordinate axis in the three-dimensional coordinate system, according to the first angle and the second angle, respectively determine the rotation angle and the rotation direction of the content displayed by the display screen; specifically, according to the first clamp Angle, determining a rotation angle and a rotation direction of the display on the first coordinate axis centered on the second coordinate axis, and determining, according to the second angle, that the content displayed on the display screen is centered on the first coordinate axis
  • the angle of rotation and the direction of rotation on the second coordinate axis wherein when the first angle is 0°, the angle of rotation on the first coordinate axis is 0°, and when the second angle is 90°, The angle of rotation on the second coordinate axis is 0°, that is, when the first angle is 0° and the second angle is 90°, it is not necessary to perform rotation adjustment on the content displayed on the display screen;
  • Step 4 rotating and displaying the content displayed on the display screen based on the determined rotation angle and the rotation direction; specifically, when the content displayed on the display screen is rotated and displayed, the content displayed on the display screen is respectively determined by the second coordinate axis.
  • the center rotates on the first coordinate axis, and/or rotates the content displayed on the display screen on the second coordinate axis centering on the first coordinate axis, wherein when the first angle is 0°, the display screen displays The content does not need to be rotated on the first coordinate axis.
  • the second angle is 90°, the content displayed on the display does not need to be rotated on the second coordinate axis.
  • the method further includes:
  • Step 5 for the first coordinate axis and the second coordinate axis in the three-dimensional coordinate system, according to the first angle and the second angle, respectively determining a reduction coefficient of the display size of the content displayed by the display screen; specifically, according to the first folder Angle, determining a reduction factor of the display size of the content displayed on the first coordinate axis (ie, a reduction factor of the width of the content displayed on the display screen), and determining the content displayed on the display screen according to the second angle a reduction factor of the display size on the coordinate axis (ie, a reduction factor of the length of the content displayed on the display screen), wherein when the first angle is 0°, the reduction factor on the first coordinate axis is 0, when the second When the angle is 90°, the reduction factor on the second coordinate axis is 0, that is, when the first angle is 0° and the second angle is 90°, it is not necessary to display the content displayed on the display screen.
  • Display size reduction adjustment determining a reduction factor of the display size of the content displayed on the first
  • Step 6 based on the reduction factor, the display size of the content displayed on the display screen is reduced and displayed, so that the content is completely displayed; specifically, when the display size of the display screen is reduced, the display content of the display screen is respectively displayed.
  • Display size reduction display on the first coordinate axis, and/or rotation display size reduction display on the second coordinate axis of the display screen wherein the display content is displayed when the first angle is 0°
  • the display size reduction display is not required on the first coordinate axis, and when the second angle is 90°, the content displayed on the display screen does not need to be displayed in the second coordinate axis.
  • determining the display screen according to the first angle and the second angle respectively The rotation angle of the displayed content and the direction of rotation, including:
  • the absolute value of the first angle is determined as a rotation angle centered on the second coordinate axis displayed by the display screen, wherein The direction of rotation of the angle greater than -90° and less than 0° is opposite to the direction of rotation of the first angle greater than 0° and less than 90°;
  • the absolute value of the difference between the second angle and the 90° is determined as the rotation angle of the display on the first coordinate axis, wherein the second The rotation direction with an angle less than 90° is opposite to the rotation direction of the second angle greater than 90°; specifically, when the second angle is greater than 0° and less than 90°, the rotation angle is 90°- ⁇ , when the second clamp When the angle is greater than 90° and less than 180°, the angle of rotation is ⁇ -90°.
  • the size reduction factor includes:
  • the cosine value of the first angle is determined as a reduction factor of the display size of the content displayed on the display screen on the first coordinate axis;
  • the rotation of the left end of the display screen along the Z-axis direction of the third coordinate axis is a horizontal positive rotation
  • the rotation of the left end of the display screen along the third coordinate axis-Z-axis direction is a horizontal negative rotation
  • the display content of the display screen can be adjusted by the following steps A1-A3:
  • Step A1 determining a first angle of the display screen in the direction of the first coordinate axis, wherein the first angle represents an offset direction and an offset amplitude of the display screen on the first coordinate axis, specifically, if the first angle ⁇ If the first angle ⁇ is greater than 0 degrees and less than 90 degrees, the right end of the display screen is away from the human eye.
  • the first angle of the display screen in the direction of the first coordinate axis can be determined by the eyeball tracking technique. Specifically, when the eyeball tracking to the human eye moves to the left, it can be determined that the display screen is located on the left side of the human eye, that is, the offset direction of the display screen on the first coordinate axis is shifted to the left (the left end of the display screen is far away) Human eye); when the eyeball tracking to the human eye moves to the right, it can be determined that the display screen is located on the right side of the human eye, that is, the offset direction of the display screen on the first coordinate axis is shifted to the right (right end of the display screen) Stay away from the human eye).
  • Step A2 Determine, according to the determined first angle, a first rotation direction, a first rotation angle, and a first size reduction factor (ie, a first reduction factor) of the content displayed on the display screen on the first coordinate axis.
  • a first size reduction factor ie, a first reduction factor
  • Step A3 rotating the content displayed on the display screen centering on the second coordinate axis according to the first rotation direction and the first rotation angle, and reducing the width of the content displayed on the display screen according to the first size reduction ratio (ie, reducing the short side of the display screen) Display size on).
  • the following two cases can be classified.
  • Case 1 When -90° ⁇ ⁇ ⁇ 0°, the offset direction of the display on the first coordinate axis is shifted to the left. At this time, the left side of the content displayed on the display screen is larger than the content displayed on the display screen. The right side is farther away from the human eye, so it can be determined that the first rotation direction of the content displayed on the display screen is: the left side of the content displayed on the display screen rotates outward in the direction of the first coordinate axis, and the right side Rotating inward in the direction of the first coordinate axis (ie, horizontally positive rotation), the first rotation angle is the first angle ⁇ .
  • Case 2 When 0° ⁇ ⁇ ⁇ 90°, the offset direction of the display screen on the first coordinate axis is shifted to the right. At this time, the right side of the content displayed on the display screen is larger than the content displayed on the display screen. The left side is farther away from the human eye, so it can be determined that the first rotation direction of the content displayed on the display screen is: the right side of the content displayed on the display screen is rotated outward in the direction of the first coordinate axis, while the left side is The first coordinate axis rotates inward (ie, horizontal negative rotation), and the first rotation angle is the first angle ⁇ .
  • the display does not rotate while the content displayed on the display screen is rotated, the size after the content is rotated is changed by the influence of the display screen, so the size of the content displayed on the display screen needs to be reduced accordingly.
  • the width of the content displayed on the display screen is reduced by the first size reduction factor cos ⁇ .
  • the determination of the first size reduction factor can be obtained as shown in FIG. 5.
  • the content 501 displayed on the display screen is rotated by the first rotation direction and the first rotation angle ⁇ to become the content 502 displayed on the display screen, where x is the original width of the content 501, and y is the rotated width of the content 502.
  • x is the original width of the content 501
  • y is the rotated width of the content 502.
  • y x*cos ⁇ . That is, the rotated width of the content 502 is cos ⁇ times the original width of the content 501.
  • FIG. 5 shows only the rotation of the first case, that is, the offset direction of the display screen on the first coordinate axis is the rotation of the content when shifting to the left, and the rotation of the second case.
  • the determination method of the first size reduction multiple is similar to this, and is also cos ⁇ , which will not be repeated here.
  • the user when the display screen is offset in the direction of the first coordinate axis, the user can display the best position by rotating the content and adjusting the width of the content so that the display screen is offset from the line of sight of the human eye.
  • the content of the angle thereby improving the user experience of browsing the content displayed on the display.
  • the display content of the display screen can be adjusted by the following steps B1-B3:
  • Step B1 determining a second angle of the display screen in the direction of the second coordinate axis, wherein the second angle represents an offset direction and an offset width of the display screen on the second coordinate axis, specifically, if the second angle ⁇ If it is less than 90 degrees, the lower end of the display screen is away from the human eye. If the second angle ⁇ is greater than 90 degrees, the upper end of the display screen is away from the human eye.
  • the value of the second angle can be determined by a gyroscope provided in the mobile terminal. Specifically, if the second angle is 90 degrees, it can be determined that the display screen does not tilt in the direction of the second coordinate axis; if the second angle is greater than 90 degrees, it can be determined that the upper end of the display screen is away from the human eye, that is, the display screen is The offset direction on the second coordinate axis is: the upper end of the display screen is offset inward in the direction of the second coordinate axis (ie, away from the human eye), and the lower end is outwardly offset in the direction of the second coordinate axis (ie, close to the person If the second angle is less than 90 degrees, it can be determined that the lower end of the display screen is away from the human eye, that is, the offset direction of the display screen on the second coordinate axis is: the upper end of the display screen is outward in the direction of the second coordinate axis Offset (ie close to the human eye) while the lower end is offset in
  • Step B2 Determine, according to the determined second angle, a second rotation direction, a second rotation angle, and a second size reduction ratio (ie, a second reduction factor) of the content displayed on the display screen on the second coordinate axis.
  • a second size reduction ratio ie, a second reduction factor
  • Step B3 rotating the content displayed on the display screen centering on the first coordinate axis according to the second rotation direction and the second rotation angle, and reducing the length of the content according to the second size reduction ratio (ie, reducing the display on the long side of the display screen) size).
  • the following two cases can be classified.
  • the upper end of the content displayed on the display screen is farther than the lower end of the content displayed on the display screen relative to the human eye, so that the second rotation direction of the content displayed on the display screen can be determined as: the upper end of the content displayed on the display screen Rotating outward in the direction of the second coordinate axis (ie, close to the human eye) while the lower end rotates inward in the direction of the second coordinate axis (ie, away from the human eye), that is, vertical positive rotation, and the second rotation angle is ⁇ -90 °.
  • the display does not rotate while the content displayed on the display screen is rotated, the size after the content is rotated is changed by the influence of the display screen, so the size of the content displayed on the display screen needs to be reduced accordingly.
  • the length of the content is reduced by a second size reduction factor cos ( ⁇ -90°).
  • Figure 6 is a side view of the content 600 displayed on the display screen.
  • the human eye is located on the right side (not shown), and the upper end of the content 600 displayed on the display screen is away from the human eye, the lower end is close to the human eye, and the Z-axis is The angle between the directions of gravity is ⁇ , and obviously, ⁇ is greater than 90 degrees.
  • the content 600 needs to be rotated to a position that coincides with the direction of gravity. From the angular relationship shown in Fig. 6, it can be calculated that the second rotation angle is ⁇ -90°.
  • n m * cos ( ⁇ - 90 °). That is, the length after the rotation of the content 600 is cos ( ⁇ -90°) times the length before the rotation.
  • the upper end of the content displayed on the display screen is closer than the lower end of the content displayed on the display screen with respect to the human eye, so that the second rotation direction of the content displayed on the display screen can be determined: the upper end of the content displayed on the display screen Rotating inward in the direction of the second coordinate axis (ie away from the human eye) while the lower end is rotating outward in the direction of the second coordinate axis (ie close to the human eye), ie vertical negative rotation, the second rotation angle is 90° - ⁇ .
  • the display does not rotate while the content displayed on the display is rotated, the size after the content is rotated is changed by the influence of the display screen, so the size of the content needs to be reduced accordingly.
  • the length of the content is reduced by a second size reduction factor cos (90°- ⁇ ).
  • the determination of the second rotation angle and the second size reduction factor can be obtained as shown in FIG. 7 is a side view of the content 700 displayed on the display screen.
  • the human eye is located on the right side (not shown), and the upper end of the content 700 displayed on the display screen is close to the human eye, the lower end is away from the human eye, and the Z axis is
  • the angle between the directions of gravity is ⁇ , and obviously, ⁇ is less than 90 degrees.
  • the content 700 needs to be rotated to a position that coincides with the direction of gravity. From the angular relationship shown in Fig. 7, it can be calculated that the second rotation angle is 90°- ⁇ .
  • n m * cos (90 ° - ⁇ ). That is, the length after the rotation of the content 700 is a cos (90°- ⁇ ) times the length before the rotation.
  • the user when the display screen is offset in the direction of the second coordinate axis, the user can be presented by rotating the content and adjusting the length (height) of the content so that the display screen is offset from the line of sight of the human eye. The best angle of content, thereby improving the user experience of browsing the content displayed on the display.
  • the display screen is shifted to the left in the direction of the first coordinate axis, that is, ⁇ is not zero, -90° ⁇ ⁇ ⁇ 0°.
  • the display can also be offset in the direction of the second coordinate axis, as follows:
  • the upper end of the display screen is offset inward in the direction of the second coordinate axis (ie away from the human eye), while the lower end is outwardly offset in the direction of the second coordinate axis (ie close to the human eye), at this time, the Z axis
  • the angle ⁇ between the direction of gravity and gravity is greater than 90 degrees.
  • the left side of the content displayed on the display screen should be rotated outwardly by the angle ⁇ in the direction of the first coordinate axis centered on the second coordinate axis, and the right side is centered on the second coordinate axis in the direction of the first coordinate axis.
  • the center is rotated inward by an angle ⁇ , and the width of the content is reduced by cos ⁇ times.
  • the upper end of the content is rotated outward in the direction of the second coordinate axis by an angle of ⁇ -90° (ie, close to the human eye), and the lower end is centered on the first coordinate axis in the direction of the second coordinate axis.
  • the inward rotation angle is ⁇ -90° (ie away from the human eye) and the length of the content is reduced by cos( ⁇ -90°) times.
  • the upper end of the display screen is outwardly offset in the direction of the second coordinate axis (ie, close to the human eye), while the lower end is offset inward in the direction of the second coordinate axis (ie, away from the human eye), at this time, the Z axis
  • the angle ⁇ between the direction of gravity and gravity is less than 90 degrees.
  • the left side of the content displayed on the display screen should be rotated outward by an angle ⁇ in the direction of the first coordinate axis centered on the second coordinate axis, and the right side should be centered on the second coordinate axis in the direction of the first coordinate axis. Rotate the angle ⁇ inward and reduce the width of the content by cos ⁇ times.
  • the upper end of the content is rotated inwardly by the angle of 90°- ⁇ (ie, away from the human eye) in the direction of the second coordinate axis centering on the first coordinate axis, and the lower end is centered on the first coordinate axis in the direction of the second coordinate axis.
  • the display screen is not offset in the direction of the second coordinate axis, and the angle ⁇ between the Z-axis and the gravity direction is equal to 90 degrees.
  • the left side of the content displayed on the display screen should be rotated outward by an angle ⁇ in the direction of the first coordinate axis centered on the second coordinate axis, and the right side should be centered on the second coordinate axis in the direction of the first coordinate axis.
  • Scene 2 The display screen is shifted to the right in the direction of the first coordinate axis, that is, ⁇ is not zero, 0° ⁇ ⁇ ⁇ 90°.
  • the display can also be offset in the direction of the second coordinate axis, as follows:
  • the upper end of the display screen is offset inward in the direction of the second coordinate axis (ie away from the human eye), while the lower end is outwardly offset in the direction of the second coordinate axis (ie close to the human eye), at this time, the Z axis
  • the angle ⁇ between the direction of gravity and gravity is greater than 90 degrees.
  • the right side of the content displayed on the display screen should be rotated outward by an angle ⁇ in the direction of the first coordinate axis centered on the second coordinate axis, and the left side is centered on the second coordinate axis in the direction of the first coordinate axis. Rotate the angle ⁇ inward and reduce the width of the content by cos ⁇ times.
  • the upper end of the content displayed on the display screen is rotated outward by an angle of ⁇ -90° in the direction of the second coordinate axis centering on the first coordinate axis (ie, close to the human eye), and the lower end is centered on the first coordinate axis at the second In the direction of the coordinate axis, the angle is rotated inward by ⁇ -90° (ie away from the human eye), and the length of the content is reduced by cos( ⁇ -90°) times.
  • the upper end of the display screen is outwardly offset in the direction of the second coordinate axis (ie, close to the human eye), while the lower end is offset inward in the direction of the second coordinate axis (ie, away from the human eye), at this time, the Z axis
  • the angle ⁇ between the direction of gravity and gravity is less than 90 degrees.
  • the right side of the content displayed on the display screen should be rotated outward by an angle ⁇ in the direction of the first coordinate axis centered on the second coordinate axis, and the left side is centered on the second coordinate axis in the direction of the first coordinate axis. Rotate the angle ⁇ inward and reduce the width of the content by cos ⁇ times.
  • the upper end of the content displayed on the display screen is rotated inward by an angle of 90°- ⁇ (ie, away from the human eye) in the direction of the second coordinate axis centering on the first coordinate axis, and the second end is centered on the first coordinate axis.
  • the display screen is not offset in the direction of the second coordinate axis, and the angle ⁇ between the Z-axis and the gravity direction is equal to 90 degrees.
  • the right side of the content displayed on the display screen should be rotated outward by an angle ⁇ in the direction of the first coordinate axis centered on the second coordinate axis, and the left side is centered on the second coordinate axis in the direction of the first coordinate axis.
  • Scene 3 The display screen does not shift in the direction of the first coordinate axis, that is, ⁇ is zero. At the same time, the display can also be offset in the direction of the second coordinate axis, as follows:
  • the upper end of the display screen is offset inward in the direction of the second coordinate axis (ie away from the human eye), while the lower end is outwardly offset in the direction of the second coordinate axis (ie close to the human eye), at this time, the Z axis
  • the angle ⁇ between the direction of gravity and gravity is greater than 90 degrees. For this scenario, there is no need to adjust the content displayed on the display in the direction of the first coordinate axis.
  • the upper end of the content displayed on the display screen is rotated outward by an angle of ⁇ -90° in the direction of the second coordinate axis centering on the first coordinate axis (ie, close to the human eye), and the lower end is centered on the first coordinate axis at the second In the direction of the coordinate axis, the angle is rotated inward by ⁇ -90° (ie away from the human eye), and the length of the content is reduced by cos( ⁇ -90°) times.
  • the upper end of the display screen is outwardly offset in the direction of the second coordinate axis (ie, close to the human eye), while the lower end is offset inward in the direction of the second coordinate axis (ie, away from the human eye), at this time, the Z axis
  • the angle ⁇ between the direction of gravity and gravity is less than 90 degrees.
  • the upper end of the content displayed on the display screen is rotated inward by an angle of 90°- ⁇ (ie, away from the human eye) in the direction of the second coordinate axis centering on the first coordinate axis, and the second end is centered on the first coordinate axis. Rotate the angle 90°- ⁇ outward in the direction of the coordinate axis (ie close to the human eye) and reduce the length of the content by cos(90°- ⁇ ) times.
  • the display screen is not offset in the direction of the second coordinate axis, and the angle ⁇ between the Z-axis and the gravity direction is equal to 90 degrees. For this scenario, there is no need to adjust the content displayed on the display in the direction of the first coordinate axis and the direction of the second coordinate axis.
  • the embodiment of the present disclosure can adjust the content displayed by the display screen in the direction of the first coordinate axis and the direction of the second coordinate axis, respectively, including adjusting the direction and size of the content.
  • the adjustment of the content displayed on the display screen is not limited to the rotation in the direction of gravity, but can be specifically adjusted according to the offset in the direction of the first coordinate axis and the direction of the second coordinate axis, thereby making the adjusted.
  • the content can follow the movement of the line of sight of the human eye in both the first coordinate axis direction and the second coordinate axis direction, ensuring that the content displayed on the display screen presents an optimal angle of view of the human eye.
  • FIG. 8 is a schematic structural diagram of a display device of a content in an embodiment of the present disclosure.
  • the display device of the content may include:
  • a line of sight angle acquisition module 810 configured to acquire a line of sight of a human eye line of sight and a display screen
  • the first adjustment module 820 is configured to perform rotation display on the display content of the display screen according to the line of sight angle and the orientation information of the display screen, so that the content is perpendicular to the line of sight of the human eye.
  • the first adjustment module 820 is specifically configured to:
  • the content is rotationally displayed based on the rotation angle and the rotation direction.
  • the foregoing apparatus further includes:
  • a reduction coefficient determination module 830 configured to determine, according to the first angle and the second angle, respectively, the content displayed by the display screen for the first coordinate axis and the second coordinate axis in the three-dimensional coordinate system The reduction factor of the display size;
  • the second adjustment module 840 is configured to reduce the display size of the content based on the reduction factor to display the content completely.
  • the first adjustment module 820 is further specifically configured to:
  • the first angle is not equal to 0° and greater than ⁇ 90° and less than 90°, determining an absolute value of the first angle as a content displayed by the display screen is centered on the second coordinate axis a rotation angle, wherein the rotation direction of the first angle greater than -90° and less than 0° is opposite to the rotation direction of the first angle greater than 0° and less than 90°;
  • the second angle is less than 90° or greater than 90°, determining an absolute value of the difference between the second angle and 90° as the content displayed by the display screen is centered on the first coordinate axis
  • the rotation angle of the rotation direction in which the second angle is less than 90° is opposite to the rotation direction in which the second angle is greater than 90°.
  • the reduction coefficient determination module 830 is specifically configured to:
  • the first angle is not equal to 0° and greater than ⁇ 90° and less than 90°, determining a cosine value of the first angle as a display size of a content displayed by the display screen at the first coordinate Reduction factor on the axis;
  • the sine value of the second angle is determined as a reduction factor of the display size of the content displayed by the display screen on the second coordinate axis.
  • the display device of the content provided by the embodiment of the present disclosure can implement various processes for implementing the display method of the content in the foregoing method embodiment. To avoid repetition, details are not described herein again.
  • the line of sight of the human eye and the line of sight of the display screen are acquired; according to the line of sight and the orientation information of the display screen, the content displayed on the display screen is rotated and displayed to display the display screen.
  • the content is perpendicular to the line of sight of the human eye.
  • the display orientation of the content displayed on the display screen is automatically adjusted as the line of sight changes, and the content displayed on the display screen is always perpendicular to the line of sight of the human eye, without requiring the user to manually adjust the mobile terminal.
  • the holding angle can automatically adjust the angle between the display content of the display and the line of sight of the human eye, thereby improving the adjustment precision and improving the user viewing experience.
  • FIG. 9 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present disclosure.
  • the mobile terminal 900 includes, but is not limited to, a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, a processor 910, and Power supply 911 and other components. It will be understood by those skilled in the art that the mobile terminal structure shown in FIG. 9 does not constitute a limitation of the mobile terminal, and the mobile terminal may include more or less components than those illustrated, or combine some components, or different components. Arrangement.
  • the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle terminal, a wearable device, a pedometer, and the like.
  • the processor 910 is configured to acquire a line of sight of a line of sight of the human eye and the display screen;
  • the display orientation of the content displayed on the display screen is automatically adjusted according to the change of the line of sight of the human eye, and the content displayed on the display screen is always perpendicular to the line of sight of the human eye.
  • the user does not need to manually adjust the holding angle of the mobile terminal, and can automatically adjust the angle between the content displayed on the display screen and the line of sight of the human eye, thereby improving the adjustment precision and improving the user viewing experience.
  • the processor 110 is specifically configured to:
  • the rotating display of the content displayed on the display screen according to the line of sight angle and the orientation information of the display screen includes:
  • the content is rotationally displayed based on the rotation angle and the rotation direction.
  • the processor 110 is further configured to:
  • the method further includes:
  • the display size of the content is reduced based on the reduction factor to display the content in its entirety.
  • the processor 110 is specifically configured to:
  • Determining, according to the first angle and the second angle, respectively, a rotation angle and a rotation direction of the content displayed by the display screen including:
  • the first angle is not equal to 0° and greater than ⁇ 90° and less than 90°, determining an absolute value of the first angle as a content displayed by the display screen is centered on the second coordinate axis a rotation angle, wherein the rotation direction of the first angle greater than -90° and less than 0° is opposite to the rotation direction of the first angle greater than 0° and less than 90°;
  • the second angle is less than 90° or greater than 90°, determining an absolute value of the difference between the second angle and 90° as the content displayed by the display screen is centered on the first coordinate axis
  • the rotation angle of the rotation direction in which the second angle is less than 90° is opposite to the rotation direction in which the second angle is greater than 90°.
  • the processor 110 is specifically configured to:
  • Determining, according to the first angle and the second angle, a reduction factor of a display size of the content displayed by the display screen, respectively, comprising:
  • the first angle is not equal to 0° and greater than ⁇ 90° and less than 90°, determining a cosine value of the first angle as a display size of a content displayed by the display screen at the first coordinate Reduction factor on the axis;
  • the sine value of the second angle is determined as a reduction factor of the display size of the content displayed by the display screen on the second coordinate axis.
  • the mobile terminal 900 in the embodiment of the present disclosure acquires the line of sight of the human eye line of sight and the display screen; according to the line of sight angle and the orientation information of the display screen, the content displayed on the display screen is rotated and displayed, so that the content displayed on the display screen is The human eye is perpendicular to the line of sight. Based on the line of sight and the current orientation of the display, the display orientation of the content displayed on the display screen is automatically adjusted as the line of sight changes, and the content displayed on the display screen is always perpendicular to the line of sight of the human eye, without requiring the user to manually adjust the mobile terminal.
  • the holding angle can automatically adjust the angle between the display content of the display and the line of sight of the human eye, thereby improving the adjustment precision and improving the user viewing experience.
  • the mobile terminal 900 provided by the embodiment of the present disclosure can implement various processes implemented by the mobile terminal in the embodiment of the foregoing method for displaying the content. To avoid repetition, details are not described herein again.
  • the radio frequency unit 901 can be used for receiving and transmitting signals during the transmission and reception of information or during a call, and specifically, after receiving downlink data from the base station, processing the processor 910; The uplink data is sent to the base station.
  • radio frequency unit 901 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio unit 901 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides the user with wireless broadband Internet access through the network module 902, such as helping the user to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 903 can convert the audio data received by the radio frequency unit 901 or the network module 902 or stored in the memory 909 into an audio signal and output as a sound. Moreover, the audio output unit 903 can also provide audio output (eg, call signal reception sound, message reception sound, etc.) related to a particular function performed by the mobile terminal 900.
  • the audio output unit 903 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 904 is for receiving an audio or video signal.
  • the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042 that images an still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 906.
  • the image frames processed by the graphics processor 9041 may be stored in the memory 909 (or other storage medium) or transmitted via the radio unit 901 or the network module 902.
  • the microphone 9042 can receive sound and can process such sound as audio data.
  • the processed audio data can be converted to a format output that can be transmitted to the mobile communication base station via the radio unit 901 in the case of a telephone call mode.
  • the mobile terminal 900 also includes at least one type of sensor 905, such as a light sensor, motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 9061 according to the brightness of the ambient light, and the proximity sensor can close the display panel 9061 when the mobile terminal 900 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity. It can be used to identify the attitude of the mobile terminal (such as horizontal and vertical screen switching, related games).
  • sensor 905 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors and the like are not described here.
  • the display unit 906 is for displaying information input by the user or information provided to the user.
  • the display unit 106 can include a display panel 9061.
  • the display panel 1061 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 907 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal.
  • the user input unit 907 includes a touch panel 9071 and other input devices 9072.
  • the touch panel 9071 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 9071 or near the touch panel 9071. operating).
  • the touch panel 9071 may include two parts of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 910 receives the commands from the processor 910 and executes them.
  • the touch panel 9071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the user input unit 907 may also include other input devices 9072.
  • other input devices 9072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, and are not described herein again.
  • the touch panel 9071 may be overlaid on the display panel 9061.
  • the touch panel 9071 detects a touch operation on or near the touch panel 9071, the touch panel 9071 transmits to the processor 910 to determine the type of the touch event, and then the processor 910 according to the touch.
  • the type of event provides a corresponding visual output on display panel 9061.
  • the touch panel 9071 and the display panel 9061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 9071 and the display panel 9061 may be integrated. The input and output functions of the mobile terminal are implemented, and are not limited herein.
  • the interface unit 908 is an interface in which an external device is connected to the mobile terminal 900.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the interface unit 908 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 900 or can be used at the mobile terminal 900 and externally Data is transferred between devices.
  • Memory 909 can be used to store software programs as well as various data.
  • the memory 909 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • the memory 909 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 910 is a control center of the mobile terminal that connects various portions of the entire mobile terminal using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 909, and recalling data stored in the memory 909.
  • the mobile terminal performs various functions and processing data to perform overall monitoring on the mobile terminal.
  • the processor 910 may include one or more processing units; optionally, the processor 910 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, etc., and a modulation solution
  • the processor mainly handles wireless communication. It can be understood that the above modem processor may not be integrated into the processor 910.
  • the mobile terminal 900 may further include a power source 911 (such as a battery) for supplying power to various components.
  • a power source 911 such as a battery
  • the power source 911 may be logically connected to the processor 910 through a power management system to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 900 includes some functional modules not shown, and details are not described herein again.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 910, a memory 909, a computer program stored on the memory 909 and executable on the processor 910, where the computer program is executed by the processor 910.
  • a mobile terminal including a processor 910, a memory 909, a computer program stored on the memory 909 and executable on the processor 910, where the computer program is executed by the processor 910.
  • the embodiment of the present disclosure further provides a computer readable storage medium.
  • the computer readable storage medium stores a computer program, and when the computer program is executed by the processor, implements various processes of the display method embodiment of the foregoing content, and can achieve the same Technical effects, to avoid repetition, will not be repeated here.
  • the computer readable storage medium such as a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present disclosure, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal (which may be a cell phone, computer, server, air conditioner, or network device, etc.) to perform the methods described in various embodiments of the present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公开实施例公开了一种内容的显示方法及装置,该方法包括:获取人眼视线与显示屏的视线角;根据该视线角和显示屏的朝向信息,对显示屏显示的内容进行转动显示,以使显示屏显示的内容与人眼视线垂直。

Description

内容的显示方法及装置
相关申请的交叉引用
本申请主张在2018年4月13日在中国提交的中国专利申请号No.201810329233.4的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信领域,尤其涉及一种内容的显示方法及装置。
背景技术
随着摄像头技术及网络技术的发展,用户在移动终端上浏览图片的频率越来越频繁。例如,使用移动终端上的摄像头拍完照片后,会查看拍摄效果决定是否删除或分享;在移动终端上浏览网页或新闻时也会阅读到相应配图等等。
相关技术中,在移动终端上预览图片时,需要用户手动改变握持角度以保证图片的呈现方位。此外,部分设备为增强用户体验,采用按压屏幕以根据重力传感器的角度来缩小或放大图片的方式。
由此可知,相关技术中在使用移动终端浏览图片时,由于移动终端相对于用户视线倾斜时无法呈现图片的最佳效果,为了达到更好的观看体验,需要用户手动调整手机显示屏的角度,以调整人眼视线与显示屏显示的内容的夹角达到最佳角度,在此过程中需要用户参与,存在用户操作繁琐、由于手动调整具有随意性而导致调整精度低、用户体验效果差的问题。
发明内容
本公开实施例提供一种内容的显示方法及装置,以解决为了使得人眼视线与显示屏显示的内容的夹角达到最佳角度,需要用户参与,存在用户操作繁琐、由于手动调整具有随意性而导致调整精度低、用户体验效果差的问题。
为解决上述技术问题,本公开实施例是这样实现的:
第一方面,本公开实施例提供了一种内容的显示方法,该方法包括:
获取人眼视线与显示屏的视线角;
根据所述视线角和所述显示屏的朝向信息,对所述显示屏显示的内容进行转动显示,以使所述内容与所述人眼视线垂直。
第二方面,本公开实施例还提供了一种内容的显示装置,该装置包括:
视线角获取模块,用于获取人眼视线与显示屏的视线角;
第一调整模块,用于根据所述视线角和所述显示屏的朝向信息,对所述显示屏显示的内容进行转动显示,以使所述内容与所述人眼视线垂直。
第三方面,本公开实施例还提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上述任一项所述的内容的显示方法的步骤。
第四方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如上述任一项所述的内容的显示方法的步骤。
在本公开实施例中,获取人眼视线与显示屏的视线角;根据该视线角和显示屏的朝向信息,对显示屏显示的内容进行转动显示,以使显示屏显示的内容与人眼视线垂直。基于视线角和显示屏的当前朝向,自动随着人眼视线变化适应性调整显示屏显示的内容的显示方位,并使得显示屏显示的内容与人眼视线始终保持垂直,无需用户手动调整移动终端的握持角度,能够自动调整显示屏显示的内容与人眼视线的夹角,提高了调整精度,提升了用户观看体验。
附图说明
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开的一个实施例中一种内容的显示方法的示意性流程图。
图2是本公开的一个实施例中一种内容的显示方法中显示屏的初始状态 示意图。
图3是本公开的一个实施例中一种内容的显示方法中显示屏的偏移角度示意图;
图4是本公开的另一个实施例中一种内容的显示方法中显示屏的偏移角度示意图;
图5是本公开的一个实施例中一种内容的显示方法中内容的旋转示意图;
图6是本公开的另一个实施例中一种内容的显示方法中内容的旋转示意图;
图7是本公开的另一个实施例中一种内容的显示方法中内容的旋转示意图;
图8是本公开的一个实施例中一种内容的显示装置的结构示意图。
图9是本公开的一个实施例中一种移动终端的结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
图1是本公开的一个实施例中一种内容的显示方法的示意性流程图,该方法可以应用于移动终端,也可以应用于其他终端设备,下面以应用于移动终端(如智能手机)为例进行详细说明。图1的方法可包括:
S101,获取人眼视线与显示屏的视线角,其中,可利用眼球追踪技术来确定人眼视线,人眼视线即人的眼球看向显示屏时眼球与显示屏之间的假想直线,当移动终端在空间移动时,人眼眼球随之偏移,人眼视线与垂直于显示屏所在平面的直线之间的夹角随之变化,通过前置摄像头实时采集人眼眼球偏移状态,进而确定人眼视线与垂直于显示屏所在平面的直线之间的夹角,即视线角;
以及,获取显示屏的朝向信息,其中,显示屏的朝向信息是指显示屏在 竖直方向上与人脸之间的相对位置关系,显示屏可以与人脸平行,还可能下端远离人脸,也可能上端远离人脸,可利用移动终端的内置陀螺仪来获取显示屏的朝向信息,实时采集陀螺仪的状态信息,进而确定显示屏的朝向信息。
S102,根据获取到的视线角和显示屏的朝向信息,对显示屏显示的内容进行转动显示,以使该内容与人眼视线垂直。
具体的,监测移动终端的显示屏以定位当前显示的内容,其中,该内容可以是移动终端本地存储的图片、网络上加载的图片,还可以是网页中的配图等。通过监测移动终端的显示屏,即可在显示屏的当前显示页面中定位到待调整的内容,待调整的内容可全屏显示于当前显示页面中,也可非全屏显示于当前显示页面中。
该步骤中,根据视线角和显示屏的朝向信息调整显示屏显示的内容时,若显示屏显示的内容所在平面与人眼视线不垂直,此时,需要根据视线角和显示屏的朝向信息分别确定在各方向上的旋转角度和旋转方向,最终,通过对显示屏显示的内容的自动调整使得该内容与人眼视线保持垂直,即使得显示屏相对于人眼视线发生偏移时仍能为用户呈现出最佳角度的内容,从而提高用户浏览显示屏显示的内容的体验度。
具体的,当定位到移动终端的显示屏上显示的内容、且人眼视线随显示屏移动时,能够根据人眼视线和显示屏的朝向信息来确定显示屏的偏移信息,包括在水平方向上的第一角度和在垂直方向上的第二角度,进而根据该偏移信息调整显示屏显示的内容,使得该内容的调整不仅仅局限于重力方向上的旋转,而是能够根据水平方向上和垂直方向上的偏移分别进行调整,从而使调整后的内容在水平方向和垂直方向上均能跟随人眼视线的移动,确保显示屏显示的内容呈现在人眼视线的最佳角度。
在本公开实施例中,基于视线角和显示屏的当前朝向,自动随着人眼视线变化适应性调整显示屏显示的内容的显示方位,并使得显示屏显示的内容与人眼视线始终保持垂直,无需用户手动调整移动终端的握持角度,能够自 动调整显示屏显示的内容与人眼视线的夹角,提高了调整精度,提升了用户观看体验。
下面,将结合具体的实施例,对本公开实施例的方法作进一步的描述。
在一个实施例中,需要预先建立显示屏的三维坐标系,其中,该三维坐标系包括第一坐标轴X轴、第二坐标轴Y轴、第三坐标轴Z轴,该三维坐标系随显示屏的移动而变化,但是,定义第一坐标轴和第二坐标轴始终位于显示屏所在平面,第三坐标轴始终垂直于显示屏所在平面,且显示屏的初始状态为显示屏的中心点与人眼位于同一水平面上、且显示屏位于竖直状态。
图2示意性地示出了显示屏的初始状态以及初始坐标系。如图2所示,假设人眼位于正前方,则显示屏200的初始状态为:显示屏200的中心点与人眼位于同一水平面上、且显示屏200位于竖直状态。其中,显示屏200位于竖直状态指显示屏200较长的一边与重力方向平行,较短的一边与第一坐标轴方向平行。以显示屏的中心点为原点,建立初始坐标系如图2中所示的X轴、Y轴及Z轴。其中,X轴的正方向为水平向右,Y轴的正方向为水平向上,Z轴的正方向为垂直于显示屏200的向外方向。
其中,根据移动终端的型号获取该移动终端的陀螺仪(重力传感器)的布局参数,根据该布局参数建立移动终端的初始三维坐标系,具体的,根据重力传感器和相机布局确定重力传感器与移动终端状态对应信息,以及相机与显示屏中心距离。以移动终端的显示屏中心与眼睛平齐且机身竖直状态为初始状态,假如,获取到的初始状态为X轴为0,Y轴为-9.8,Z轴为0,前置相机捕获到眼球信息为垂直屏幕;那么当移动终端的显示屏中心高度不变顺时针旋转90度时状态变为X/Y/Z:9.8/0/0,此时人眼视线与显示屏垂直,即Z轴与人眼视线夹角为0度。
另外,移动终端内置的陀螺仪(重力传感器)的安装位置尤其是正反面位置初始坐标系影响较大,如果重力传感器位于移动终端背面,则其Z轴与初始坐标系相同;如果重力传感器位于移动终端正面,则其Z轴方向与初始 坐标系相反,需要做归一化处理,将其对应关系存储于移动终端中,将归一化后的坐标系作为对应型号的移动终端的初始坐标系,即图2。
基于上述确定的初始坐标系,可确定人眼视线与Z轴之间的夹角作为显示屏在第一坐标轴方向上的第一角度,确定Z轴与重力方向(即竖直向下的方向)之间的夹角作为显示屏在第二坐标轴方向上的第二角度。显然,当人眼视线随显示屏移动时,若显示屏在第一坐标轴方向上发生偏移,则人眼视线与Z轴之间的夹角不为零,若显示屏在第二坐标轴方向上发生偏移(即显示屏不再处于竖直状态),则Z轴与重力方向之间的夹角不为90度。
图3示意性地示出了显示屏在第一坐标轴方向上发生偏移时的第一角度。如图3所示,人眼300与显示屏200的中心点位于同一水平面上,在初始状态下,第一角度α为零,当显示屏200在该水平面上发生偏移时,第一角度α不为零,此时,显示屏200上显示的内容相对于人眼视线也发生偏移。具体的,若第一角度α不为零,说明显示屏在第一坐标轴方向上发生偏移(可能显示屏的左端远离人脸,也可能显示屏的右端远离人脸),则需以第二坐标轴为中心调整显示屏显示的内容在第一坐标轴方向上的呈现角度;其中,若显示屏左端向内偏移(即左端远离人眼),则第一角度α大于-90度且小于0度;若显示屏右端向内偏移(即右端远离人眼),则第一角度α大于0度且小于90度。
图4示意性地示出了显示屏在第二坐标轴方向上发生偏移时的第二角度。如图4所示,显示屏200位于竖直状态时,第二角度β为90度,当显示屏200在第二坐标轴方向上发生偏移时,第二角度β不为90度,此时,显示屏200上显示的内容相对于人眼视线也发生偏移。具体的,若显示屏在第二坐标轴方向上的第二角度β不为90度,说明显示屏在第二坐标轴方向上发生偏移(可能显示屏的上端远离人脸,也可能显示屏的下端远离人脸),则需以第一坐标轴为中心调整显示屏显示的内容在第二坐标轴方向上的呈现角度。其中,若显示屏上端向内偏移(即上端远离人眼),则第二角度β大于90度; 若显示屏下端向内偏移(即下端远离人眼),则第二角度β小于90度。
以下详细说明如何根据人眼视线及显示屏的朝向信息调整显示屏显示的内容。
其中,上述S102根据获取到的视线角和显示屏的朝向信息,对显示屏显示的内容进行转动显示,具体包括:
步骤一,根据获取到的视线角,确定人眼视线与预先建立的三维坐标系中第三坐标轴之间的第一夹角α,具体的,当视线角定义为人眼视线与垂直于显示屏所在平面的直线之间的夹角时,视线角即为第一夹角α;
步骤二,根据显示屏的朝向信息,确定重力方向与第三坐标轴正向之间的第二夹角β;
步骤三,针对三维坐标系中第一坐标轴和第二坐标轴,根据第一夹角和第二夹角,分别确定显示屏显示的内容的旋转角度以及旋转方向;具体的,根据第一夹角,确定显示屏显示的内容以第二坐标轴为中心在第一坐标轴上的旋转夹角和旋转方向,以及根据第二夹角,确定显示屏显示的内容以第一坐标轴为中心在第二坐标轴上的旋转夹角和旋转方向,其中,当第一夹角为0°时,在第一坐标轴上的旋转夹角为0°,当第二夹角为90°时,在第二坐标轴上的旋转夹角为0°,也就是说,当第一夹角为0°且第二夹角为90°时,不需要对显示屏显示的内容进行转动调整;
步骤四,基于确定出的旋转角度和旋转方向对显示屏显示的内容进行转动显示;具体的,在对显示屏显示的内容进行旋转显示时,分别将显示屏显示的内容以第二坐标轴为中心在第一坐标轴上进行旋转,和/或将显示屏显示的内容以第一坐标轴为中心在第二坐标轴上进行旋转,其中,当第一夹角为0°时,显示屏显示的内容在第一坐标轴上不需要旋转,当第二夹角为90°时,显示屏显示的内容在第二坐标轴上不需要旋转。
进一步的,考虑到显示屏显示的内容旋转显示前在显示屏上全屏显示,如果显示屏显示的内容在第一坐标轴上或第二坐标轴上进行旋转显示后,可 能存在内容不完全显示的情况,为了保证用户的人眼视线与显示屏显示的内容垂直的同时,确保用户能够完整观看显示屏显示的内容,基于此,在确定第一夹角和第二夹角之后,还包括:
步骤五,针对三维坐标系中第一坐标轴和第二坐标轴,根据第一夹角和第二夹角,分别确定显示屏显示的内容的显示尺寸的缩小系数;具体的,根据第一夹角,确定显示屏显示的内容在第一坐标轴上的显示尺寸的缩小系数(即显示屏显示的内容的宽度的缩小系数),以及根据第二夹角,确定显示屏显示的内容在第二坐标轴上的显示尺寸的缩小系数(即显示屏显示的内容的长度的缩小系数),其中,当第一夹角为0°时,在第一坐标轴上的缩小系数为0,当第二夹角为90°时,在第二坐标轴上的缩小系数为0,也就是说,当第一夹角为0°且第二夹角为90°时,不需要对显示屏显示的内容进行显示尺寸缩小调整;
步骤六,基于缩小系数对显示屏显示的内容的显示尺寸缩小显示,以使该内容完整显示;具体的,在对显示屏显示的内容进行显示尺寸缩小调整时,分别将显示屏显示的内容在第一坐标轴上进行显示尺寸缩小显示,和/或将显示屏显示的内容在第二坐标轴上进行旋转显示尺寸缩小显示,其中,当第一夹角为0°时,显示屏显示的内容在第一坐标轴上不需要进行显示尺寸缩小显示,当第二夹角为90°时,显示屏显示的内容在第二坐标轴上不需要进行显示尺寸缩小显示。
其中,针对确定在第一坐标轴和第二坐标轴上的旋转参数(旋转角度和旋转方向)的情况,具体的,上述步骤三,根据第一夹角和第二夹角,分别确定显示屏显示的内容的旋转角度以及旋转方向,具体包括:
若第一夹角不等于0°以及大于-90°且小于90°,则将第一夹角的绝对值确定为显示屏显示的内容以第二坐标轴为中心的旋转角度,其中,第一夹角大于-90°且小于0°的旋转方向与第一夹角大于0°且小于90°的旋转方向相反;
若第二夹角小于90°或大于90°,则将第二夹角与90°的差值的绝对值确 定为显示屏显示的内容以第一坐标轴为中心的旋转角度,其中,第二夹角小于90°的旋转方向与第二夹角大于90°的旋转方向相反;具体的,当第二夹角大于0°且小于90°时,旋转角度为90°-β,当第二夹角大于90°且小于180°时,旋转角度为β-90°。
其中,针对确定在第一坐标轴和第二坐标轴上的显示尺寸缩小系数的情况,具体的,上述步骤五,根据第一夹角和第二夹角,分别确定显示屏显示的内容的显示尺寸的缩小系数,具体包括:
若第一夹角不等于0°以及大于-90°且小于90°,则将第一夹角的余弦值确定为显示屏显示的内容的显示尺寸在第一坐标轴上的缩小系数;
若第二夹角小于90°或大于90°,则将第二夹角的正弦值确定为显示屏显示的内容的显示尺寸在第二坐标轴上的缩小系数;具体的,当第二夹角大于0°且小于90°时,缩小系数为cos(90°-β)=sinβ,当第二夹角大于90°且小于180°时,缩小系数为cos(β-90°)=sinβ。
具体的,基于如下旋转方向的定义,对显示屏显示的内容的旋转调整和缩小调整进行详细说明:
以第二坐标轴Y轴为中心,显示屏左端沿第三坐标轴Z轴方向的旋转为水平正旋转,显示屏左端沿第三坐标轴-Z轴方向的旋转为水平负旋转;
以第一坐标轴X轴为中心,显示屏上端沿第三坐标轴Z轴方向的旋转为垂直正旋转,显示屏上端沿第三坐标轴-Z轴方向的旋转为垂直负旋转。
在一个实施例中,若第一角度α不为零,即显示屏在第一坐标轴方向上发生偏移,则可通过以下步骤A1-A3来调整显示屏显示的内容:
步骤A1,确定显示屏在第一坐标轴方向上的第一角度,其中,该第一角度表征显示屏在第一坐标轴上的偏移方向和偏移幅度,具体的,若第一角度α大于-90度且小于0度,则显示屏左端远离人眼,若第一角度α大于0度且小于90度,则显示屏右端远离人眼。
该步骤中,可通过眼球追踪技术来确定显示屏在第一坐标轴方向上的第 一角度。具体的,当追踪到人眼的眼球向左移动时,则可确定显示屏位于人眼的左侧,即显示屏在第一坐标轴上的偏移方向为向左偏移(显示屏左端远离人眼);当追踪到人眼的眼球向右移动时,则可确定显示屏位于人眼的右侧,即显示屏在第一坐标轴上的偏移方向为向右偏移(显示屏右端远离人眼)。
步骤A2,根据确定出的第一角度,确定显示屏显示的内容在第一坐标轴上的第一旋转方向、第一旋转角度及第一尺寸缩小倍数(即第一缩小系数)。
步骤A3,按照第一旋转方向及第一旋转角度以第二坐标轴为中心旋转显示屏显示的内容,以及,按照第一尺寸缩小倍数缩小显示屏显示的内容的宽度(即缩小显示屏短边上的显示尺寸)。
根据显示屏在第一坐标轴上的偏移方向的不同,可分为如下两种情况。
情况一、当-90°<α<0°时,即显示屏在第一坐标轴上的偏移方向为向左偏移,此时,显示屏显示的内容的左侧比显示屏显示的内容的右侧相对于人眼而言距离更远,因此可确定显示屏显示的内容的第一旋转方向为:显示屏显示的内容的左侧在第一坐标轴方向上向外旋转、同时右侧在第一坐标轴方向上向内旋转(即水平正旋转),第一旋转角度即为第一角度α。
情况二、当0°<α<90°时,即显示屏在第一坐标轴上的偏移方向为向右偏移,此时,显示屏显示的内容的右侧比显示屏显示的内容的左侧相对于人眼而言距离更远,因此可确定显示屏显示的内容的第一旋转方向为:显示屏显示的内容的右侧在第一坐标轴方向上向外旋转、同时左侧在第一坐标轴方向上向内旋转(即水平负旋转),第一旋转角度即为第一角度α。
此外,由于显示屏显示的内容旋转的同时显示屏并不旋转,导致内容旋转后的尺寸受显示屏的影响发生尺寸上的变化,因此需相应缩小显示屏显示的内容的尺寸。为使内容能够完整显示,需将显示屏显示的内容的宽度缩小第一尺寸缩小倍数cosα。
其中,第一尺寸缩小倍数的确定可由图5所示得出。在图5中,显示屏显示的内容501按照第一旋转方向及第一旋转角度α旋转后成为显示屏显示 的内容502,x为内容501的原始宽度,y为内容502的旋转后宽度。由图5可看出,
Figure PCTCN2019082043-appb-000001
因此,y=x*cosα。即,内容502的旋转后宽度为内容501的原始宽度的cosα倍。
需要说明的是,图5示出的仅是上述情况一的旋转情况,即显示屏在第一坐标轴上的偏移方向为向左偏移时对内容的旋转情况,对于情况二的旋转情况,第一尺寸缩小倍数的确定方式也与此类似,也为cosα,在此不一一赘述。
本实施例中,当显示屏在第一坐标轴方向上发生偏移时,能够通过旋转内容及调整内容的宽度,使得显示屏相对于人眼视线发生偏移时仍能为用户呈现出最佳角度的内容,从而提高用户浏览显示屏显示的内容的体验度。
在一个实施例中,若第二角度β不为零,即显示屏在第二坐标轴方向上发生偏移,则可通过以下步骤B1-B3来调整显示屏显示的内容:
步骤B1,确定显示屏在第二坐标轴方向上的第二角度,其中,该第二角度表征显示屏在第二坐标轴上的偏移方向和偏移幅度,具体的,若第二角度β小于90度,则显示屏下端远离人眼,若第二角度β大于90度,则显示屏上端远离人眼。
该步骤中,可通过移动终端内设的陀螺仪来确定第二角度的值。具体的,若第二角度为90度,则可确定显示屏在第二坐标轴方向上未发生倾斜;若第二角度大于90度,则可确定显示屏的上端远离人眼,即显示屏在第二坐标轴上的偏移方向为:显示屏的上端在第二坐标轴方向上向内偏移(即远离人眼)、同时下端在第二坐标轴方向上向外偏移(即靠近人眼);若第二角度小于90度,则可确定显示屏的下端远离人眼,即显示屏在第二坐标轴上的偏移方向为:显示屏的上端在第二坐标轴方向上向外偏移(即靠近人眼)、同时下端在第二坐标轴方向上向内偏移(即远离人眼)。
步骤B2,根据确定出的第二角度,确定显示屏显示的内容在第二坐标轴上的第二旋转方向、第二旋转角度及第二尺寸缩小倍数(即第二缩小系数)。
步骤B3,按照第二旋转方向及第二旋转角度以第一坐标轴为中心旋转显示屏显示的内容,以及,按照第二尺寸缩小倍数缩小该内容的长度(即缩小显示屏长边上的显示尺寸)。
根据显示屏在第二坐标轴上的偏移方向的不同,可分为如下两种情况。
情况一、当β>90°时,即显示屏在第二坐标轴上的偏移方向为:显示屏的上端在第二坐标轴方向上向内偏移、同时下端在第二坐标轴方向上向外偏移。此时,显示屏显示的内容的上端比显示屏显示的内容的下端相对于人眼而言距离更远,因此可确定显示屏显示的内容的第二旋转方向为:显示屏显示的内容的上端在第二坐标轴方向上向外旋转(即靠近人眼)、同时下端在第二坐标轴方向上向内旋转(即远离人眼),即垂直正旋转,第二旋转角度即为β-90°。
此外,由于显示屏显示的内容旋转的同时显示屏并不旋转,导致内容旋转后的尺寸受显示屏的影响发生尺寸上的变化,因此需相应缩小显示屏显示的内容的尺寸。为使内容能够完全呈现在显示屏中,需将内容的长度缩小第二尺寸缩小倍数cos(β-90°)。
其中,第二旋转角度和第二尺寸缩小倍数的确定可由图6所示得出。图6所示为显示屏显示的内容600的侧面图,此时人眼位于右侧(图中未示出),显示屏显示的内容600的上端远离人眼,下端靠近人眼,Z轴与重力方向之间的夹角为β,显然,β大于90度。为使内容能够被调整至人眼视线的最佳角度,则需将内容600旋转至与重力方向重合的位置。由图6所示的角度关系可计算出,第二旋转角度为β-90°。假设内容600的长度为m,旋转至与重力方向重合的位置后的长度为n,则由图6可看出:
Figure PCTCN2019082043-appb-000002
因此:n=m*cos(β-90°)。即,内容600旋转后的长度为旋转前的长度的cos(β-90°)倍。
情况二、当β<90°时,即显示屏在第二坐标轴上的偏移方向为:显示屏的上端在第二坐标轴方向上向外偏移、同时下端在第二坐标轴方向上向内偏 移。此时,显示屏显示的内容的上端比显示屏显示的内容的下端相对于人眼而言距离更近,因此可确定显示屏显示的内容的第二旋转方向为:显示屏显示的内容的上端在第二坐标轴方向上向内旋转(即远离人眼)、同时下端在第二坐标轴方向上向外旋转(即靠近人眼),即垂直负旋转,第二旋转角度即为90°-β。
此外,由于显示屏显示的内容旋转的同时显示屏并不旋转,导致内容旋转后的尺寸受显示屏的影响发生尺寸上的变化,因此需相应缩小内容的尺寸。为使内容能够完全呈现在显示屏中,需将内容的长度缩小第二尺寸缩小倍数cos(90°-β)。
其中,第二旋转角度和第二尺寸缩小倍数的确定可由图7所示得出。图7所示为显示屏显示的内容700的侧面图,此时人眼位于右侧(图中未示出),显示屏显示的内容700的上端靠近人眼,下端远离人眼,Z轴与重力方向之间的夹角为β,显然,β小于90度。为使内容能够被调整至人眼视线的最佳角度,则需将内容700旋转至与重力方向重合的位置。由图7所示的角度关系可计算出,第二旋转角度为90°-β。假设内容700的长度为m,旋转至与重力方向重合的位置后的长度为n,则由图7可看出:
Figure PCTCN2019082043-appb-000003
因此:n=m*cos(90°-β)。即,内容700旋转后的长度为旋转前的长度的cos(90°-β)倍。
本实施例中,当显示屏在第二坐标轴方向上发生偏移时,能够通过旋转内容及调整内容的长度(高度),使得显示屏相对于人眼视线发生偏移时仍能为用户呈现出最佳角度的内容,从而提高用户浏览显示屏显示的内容的体验度。
以下列举几种具体场景的实施例来说明如何调整显示屏显示的内容。
场景一、显示屏在第一坐标轴方向上向左偏移,即α不为零,-90°<α<0°。同时,显示屏在第二坐标轴方向上也可有所偏移,具体如下:
(1)显示屏的上端在第二坐标轴方向上向内偏移(即远离人眼)、同时 下端在第二坐标轴方向上向外偏移(即靠近人眼),此时,Z轴与重力方向之间的夹角β大于90度。针对此场景,应将显示屏显示的内容的左侧以第二坐标轴为中心在第一坐标轴方向上向外旋转角度α、右侧以第二坐标轴为中心在第一坐标轴方向为中心上向内旋转角度α,并将内容的宽度缩小cosα倍。同时,将内容的上端以第一坐标轴为中心在第二坐标轴方向上向外旋转角度β-90°(即靠近人眼)、下端以第一坐标轴为中心在第二坐标轴方向上向内旋转角度β-90°(即远离人眼),并将内容的长度缩小cos(β-90°)倍。
(2)显示屏的上端在第二坐标轴方向上向外偏移(即靠近人眼)、同时下端在第二坐标轴方向上向内偏移(即远离人眼),此时,Z轴与重力方向之间的夹角β小于90度。针对此场景,应将显示屏显示的内容的左侧以第二坐标轴为中心在第一坐标轴方向上向外旋转角度α、右侧以第二坐标轴为中心在第一坐标轴方向上向内旋转角度α,并将内容的宽度缩小cosα倍。同时,将内容的上端以第一坐标轴为中心在第二坐标轴方向上向内旋转角度90°-β(即远离人眼)、下端以第一坐标轴为中心在第二坐标轴方向上向外旋转角度90°-β(即靠近人眼),并将内容的长度缩小cos(90°-β)倍。
(3)显示屏在第二坐标轴方向上未发生偏移,此时Z轴与重力方向之间的夹角β等于90度。针对此场景,应将显示屏显示的内容的左侧以第二坐标轴为中心在第一坐标轴方向上向外旋转角度α、右侧以第二坐标轴为中心在第一坐标轴方向上向内旋转角度α,并将内容的宽度缩小cosα倍。同时,在第二坐标轴方向上无需调整显示屏显示的内容。
场景二、显示屏在第一坐标轴方向上向右偏移,即α不为零,0°<α<90°。同时,显示屏在第二坐标轴方向上也可有所偏移,具体如下:
(1)显示屏的上端在第二坐标轴方向上向内偏移(即远离人眼)、同时下端在第二坐标轴方向上向外偏移(即靠近人眼),此时,Z轴与重力方向之间的夹角β大于90度。针对此场景,应将显示屏显示的内容的右侧以第二坐标轴为中心在第一坐标轴方向上向外旋转角度α、左侧以第二坐标轴为中心 在第一坐标轴方向上向内旋转角度α,并将内容的宽度缩小cosα倍。同时,将显示屏显示的内容的上端以第一坐标轴为中心在第二坐标轴方向上向外旋转角度β-90°(即靠近人眼)、下端以第一坐标轴为中心在第二坐标轴方向上向内旋转角度β-90°(即远离人眼),并将内容的长度缩小cos(β-90°)倍。
(2)显示屏的上端在第二坐标轴方向上向外偏移(即靠近人眼)、同时下端在第二坐标轴方向上向内偏移(即远离人眼),此时,Z轴与重力方向之间的夹角β小于90度。针对此场景,应将显示屏显示的内容的右侧以第二坐标轴为中心在第一坐标轴方向上向外旋转角度α、左侧以第二坐标轴为中心在第一坐标轴方向上向内旋转角度α,并将内容的宽度缩小cosα倍。同时,将显示屏显示的内容的上端以第一坐标轴为中心在第二坐标轴方向上向内旋转角度90°-β(即远离人眼)、下端以第一坐标轴为中心在第二坐标轴方向上向外旋转角度90°-β(即靠近人眼),并将内容的长度缩小cos(90°-β)倍。
(3)显示屏在第二坐标轴方向上未发生偏移,此时Z轴与重力方向之间的夹角β等于90度。针对此场景,应将显示屏显示的内容的右侧以第二坐标轴为中心在第一坐标轴方向上向外旋转角度α、左侧以第二坐标轴为中心在第一坐标轴方向上向内旋转角度α,并将内容的宽度缩小cosα倍。同时,在第二坐标轴方向上无需调整显示屏显示的内容。
场景三、显示屏在第一坐标轴方向未发生偏移,即α为零。同时,显示屏在第二坐标轴方向上也可有所偏移,具体如下:
(1)显示屏的上端在第二坐标轴方向上向内偏移(即远离人眼)、同时下端在第二坐标轴方向上向外偏移(即靠近人眼),此时,Z轴与重力方向之间的夹角β大于90度。针对此场景,在第一坐标轴方向上无需调整显示屏显示的内容。同时,将显示屏显示的内容的上端以第一坐标轴为中心在第二坐标轴方向上向外旋转角度β-90°(即靠近人眼)、下端以第一坐标轴为中心在第二坐标轴方向上向内旋转角度β-90°(即远离人眼),并将内容的长度缩小cos(β-90°)倍。
(2)显示屏的上端在第二坐标轴方向上向外偏移(即靠近人眼)、同时下端在第二坐标轴方向上向内偏移(即远离人眼),此时,Z轴与重力方向之间的夹角β小于90度。针对此场景,在第一坐标轴方向上无需调整显示屏显示的内容。同时,将显示屏显示的内容的上端以第一坐标轴为中心在第二坐标轴方向上向内旋转角度90°-β(即远离人眼)、下端以第一坐标轴为中心在第二坐标轴方向上向外旋转角度90°-β(即靠近人眼),并将内容的长度缩小cos(90°-β)倍。
(3)显示屏在第二坐标轴方向上未发生偏移,此时Z轴与重力方向之间的夹角β等于90度。针对此场景,在第一坐标轴方向上和第二坐标轴方向上均无需调整显示屏显示的内容。
由上述列举的几个具体场景可看出,本公开实施例,能够通过在第一坐标轴方向上和第二坐标轴方向上分别调整显示屏显示的内容,包括调整该内容的方向及尺寸,使得显示屏显示的内容的调整不仅仅局限于重力方向上的旋转,而是能够根据第一坐标轴方向上和第二坐标轴方向上的偏移进行有针对性的调整,从而使调整后的内容在第一坐标轴方向和第二坐标轴方向上均能跟随人眼视线的移动,确保显示屏显示的内容呈现在人眼视线的最佳角度。
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
图8是本公开的一个实施例中一种内容的显示装置的结构示意图。请参考图8,该内容的显示装置可包括:
视线角获取模块810,用于获取人眼视线与显示屏的视线角;
第一调整模块820,用于根据所述视线角和所述显示屏的朝向信息,对 所述显示屏显示的内容进行转动显示,以使所述内容与所述人眼视线垂直。
可选的,所述第一调整模块820,具体用于:
根据所述视线角,确定所述人眼视线与预先建立的三维坐标系中第三坐标轴之间的第一夹角,其中,所述第三坐标轴垂直于所述显示屏所在平面;
根据所述朝向信息,确定重力方向与所述第三坐标轴正向之间的第二夹角;
针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的旋转角度以及旋转方向,其中,所述第一坐标轴和所述第二坐标轴位于所述显示屏所在平面;
基于所述旋转角度和所述旋转方向对所述内容进行转动显示。
可选的,上述装置还包括:
缩小系数确定模块830,用于针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的显示尺寸的缩小系数;
第二调整模块840,用于基于所述缩小系数对所述内容的显示尺寸缩小显示,以使所述内容完整显示。
可选的,所述第一调整模块820,进一步具体用于:
若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的绝对值确定为所述显示屏显示的内容以所述第二坐标轴为中心的旋转角度,其中,所述第一夹角大于-90°且小于0°的旋转方向与所述第一夹角大于0°且小于90°的旋转方向相反;
若所述第二夹角小于90°或大于90°,则将所述第二夹角与90°的差值的绝对值确定为所述显示屏显示的内容以所述第一坐标轴为中心的旋转角度,其中,所述第二夹角小于90°的旋转方向与所述第二夹角大于90°的旋转方向相反。
可选的,所述缩小系数确定模块830,具体用于:
若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的余弦值确定为所述显示屏显示的内容的显示尺寸在所述第一坐标轴上的缩小系数;
若所述第二夹角小于90°或大于90°,则将所述第二夹角的正弦值确定为所述显示屏显示的内容的显示尺寸在所述第二坐标轴上的缩小系数。
本公开实施例提供的内容的显示装置能够实现上述方法实施例中内容的显示方法实现的各个过程,为避免重复,这里不再赘述。
在本公开实施例提供的内容的显示装置中,获取人眼视线与显示屏的视线角;根据该视线角和显示屏的朝向信息,对显示屏显示的内容进行转动显示,以使显示屏显示的内容与人眼视线垂直。基于视线角和显示屏的当前朝向,自动随着人眼视线变化适应性调整显示屏显示的内容的显示方位,并使得显示屏显示的内容与人眼视线始终保持垂直,无需用户手动调整移动终端的握持角度,能够自动调整显示屏显示的内容与人眼视线的夹角,提高了调整精度,提升了用户观看体验。
图9为实现本公开各个实施例的一种移动终端的硬件结构示意图。
该移动终端900包括但不限于:射频单元901、网络模块902、音频输出单元903、输入单元904、传感器905、显示单元906、用户输入单元907、接口单元908、存储器909、处理器910、以及电源911等部件。本领域技术人员可以理解,图9中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器910,用于获取人眼视线与显示屏的视线角;
根据所述视线角和所述显示屏的朝向信息,对所述显示屏显示的内容进行转动显示,以使所述内容与所述人眼视线垂直。
在本公开实施例中,基于视线角和显示屏的当前朝向,自动随着人眼视线变化适应性调整显示屏显示的内容的显示方位,并使得显示屏显示的内容与人眼视线始终保持垂直,无需用户手动调整移动终端的握持角度,能够自动调整显示屏显示的内容与人眼视线的夹角,提高了调整精度,提升了用户观看体验。
其中,处理器110,具体用于:
所述根据所述视线角和所述显示屏的朝向信息,对所述显示屏显示的内容进行转动显示,包括:
根据所述视线角,确定所述人眼视线与预先建立的三维坐标系中第三坐标轴之间的第一夹角,其中,所述第三坐标轴垂直于所述显示屏所在平面;
根据所述朝向信息,确定重力方向与所述第三坐标轴正向之间的第二夹角;
针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的旋转角度以及旋转方向,其中,所述第一坐标轴和所述第二坐标轴位于所述显示屏所在平面;
基于所述旋转角度和所述旋转方向对所述内容进行转动显示。
其中,处理器110,还用于:
在根据所述朝向信息,确定重力方向与所述第三坐标轴正向之间的第二夹角之后,还包括:
针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的显示尺寸的缩小系数;
基于所述缩小系数对所述内容的显示尺寸缩小显示,以使所述内容完整显示。
其中,处理器110,具体用于:
所述根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的旋转角度以及旋转方向,包括:
若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的绝对值确定为所述显示屏显示的内容以所述第二坐标轴为中心的旋转角度,其中,所述第一夹角大于-90°且小于0°的旋转方向与所述第一夹角大于0°且小于90°的旋转方向相反;
若所述第二夹角小于90°或大于90°,则将所述第二夹角与90°的差值的绝对值确定为所述显示屏显示的内容以所述第一坐标轴为中心的旋转角度,其中,所述第二夹角小于90°的旋转方向与所述第二夹角大于90°的旋转方向相反。
其中,处理器110,具体用于:
所述根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的显示尺寸的缩小系数,包括:
若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的余弦值确定为所述显示屏显示的内容的显示尺寸在所述第一坐标轴上的缩小系数;
若所述第二夹角小于90°或大于90°,则将所述第二夹角的正弦值确定为所述显示屏显示的内容的显示尺寸在所述第二坐标轴上的缩小系数。
本公开实施例中的移动终端900,获取人眼视线与显示屏的视线角;根据该视线角和显示屏的朝向信息,对显示屏显示的内容进行转动显示,以使显示屏显示的内容与人眼视线垂直。基于视线角和显示屏的当前朝向,自动随着人眼视线变化适应性调整显示屏显示的内容的显示方位,并使得显示屏显示的内容与人眼视线始终保持垂直,无需用户手动调整移动终端的握持角度,能够自动调整显示屏显示的内容与人眼视线的夹角,提高了调整精度,提升了用户观看体验。
需要说明的是,本公开实施例提供的移动终端900能够实现上述内容的显示方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。
应理解的是,本公开实施例中,射频单元901可用于收发信息或通话过 程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器910处理;另外,将上行的数据发送给基站。通常,射频单元901包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元901还可以通过无线通信系统与网络和其他设备通信。
移动终端通过网络模块902为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元903可以将射频单元901或网络模块902接收的或者在存储器909中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元903还可以提供与移动终端900执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元903包括扬声器、蜂鸣器以及受话器等。
输入单元904用于接收音频或视频信号。输入单元904可以包括图形处理器(Graphics Processing Unit,GPU)9041和麦克风9042,图形处理器9041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元906上。经图形处理器9041处理后的图像帧可以存储在存储器909(或其它存储介质)中或者经由射频单元901或网络模块902进行发送。麦克风9042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元901发送到移动通信基站的格式输出。
移动终端900还包括至少一种传感器905,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板9061的亮度,接近传感器可在移动终端900移动到耳边时,关闭显示面板9061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如 横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器905还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元906用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板9061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。
用户输入单元907可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元907包括触控面板9071以及其他输入设备9072。触控面板9071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板9071上或在触控面板9071附近的操作)。触控面板9071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器910,接收处理器910发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板9071。除了触控面板9071,用户输入单元907还可以包括其他输入设备9072。具体地,其他输入设备9072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板9071可覆盖在显示面板9061上,当触控面板9071检测到在其上或附近的触摸操作后,传送给处理器910以确定触摸事件的类型,随后处理器910根据触摸事件的类型在显示面板9061上提供相应的视觉输出。虽然在图9中,触控面板9071与显示面板9061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面 板9071与显示面板9061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元908为外部装置与移动终端900连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元908可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端900内的一个或多个元件或者可以用于在移动终端900和外部装置之间传输数据。
存储器909可用于存储软件程序以及各种数据。存储器909可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器909可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器910是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器909内的软件程序和/或模块,以及调用存储在存储器909内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器910可包括一个或多个处理单元;可选的,处理器910可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器910中。
移动终端900还可以包括给各个部件供电的电源911(比如电池),可选的,电源911可以通过电源管理系统与处理器910逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,移动终端900包括一些未示出的功能模块,在此不再赘述。
可选的,本公开实施例还提供一种移动终端,包括处理器910,存储器909,存储在存储器909上并可在所述处理器910上运行的计算机程序,该计算机程序被处理器910执行时实现上述内容的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述内容的显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求 所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (12)

  1. 一种内容的显示方法,包括:
    获取人眼视线与显示屏的视线角;
    根据所述视线角和所述显示屏的朝向信息,对所述显示屏显示的内容进行转动显示,以使所述内容与所述人眼视线垂直。
  2. 根据权利要求1所述的方法,其中,所述根据所述视线角和所述显示屏的朝向信息,对所述显示屏显示的内容进行转动显示,包括:
    根据所述视线角,确定所述人眼视线与预先建立的三维坐标系中第三坐标轴之间的第一夹角,其中,所述第三坐标轴垂直于所述显示屏所在平面;
    根据所述朝向信息,确定重力方向与所述第三坐标轴正向之间的第二夹角;
    针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的旋转角度以及旋转方向,其中,所述第一坐标轴和所述第二坐标轴位于所述显示屏所在平面;
    基于所述旋转角度和所述旋转方向对所述内容进行转动显示。
  3. 根据权利要求2所述的方法,其中,在根据所述朝向信息,确定重力方向与所述第三坐标轴正向之间的第二夹角之后,还包括:
    针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的显示尺寸的缩小系数;
    基于所述缩小系数对所述内容的显示尺寸缩小显示,以使所述内容完整显示。
  4. 根据权利要求2所述的方法,其中,所述根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的旋转角度以及旋转方向,包括:
    若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的绝对值确定为所述显示屏显示的内容以所述第二坐标轴为中心的旋转角 度,其中,所述第一夹角大于-90°且小于0°的旋转方向与所述第一夹角大于0°且小于90°的旋转方向相反;
    若所述第二夹角小于90°或大于90°,则将所述第二夹角与90°的差值的绝对值确定为所述显示屏显示的内容以所述第一坐标轴为中心的旋转角度,其中,所述第二夹角小于90°的旋转方向与所述第二夹角大于90°的旋转方向相反。
  5. 根据权利要求3所述的方法,其中,所述根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的显示尺寸的缩小系数,包括:
    若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的余弦值确定为所述显示屏显示的内容的显示尺寸在所述第一坐标轴上的缩小系数;
    若所述第二夹角小于90°或大于90°,则将所述第二夹角的正弦值确定为所述显示屏显示的内容的显示尺寸在所述第二坐标轴上的缩小系数。
  6. 一种内容的显示装置,包括:
    视线角获取模块,用于获取人眼视线与显示屏的视线角;
    第一调整模块,用于根据所述视线角和所述显示屏的朝向信息,对所述显示屏显示的内容进行转动显示,以使所述内容与所述人眼视线垂直。
  7. 根据权利要求6所述的装置,其中,所述第一调整模块,具体用于:
    根据所述视线角,确定所述人眼视线与预先建立的三维坐标系中第三坐标轴之间的第一夹角,其中,所述第三坐标轴垂直于所述显示屏所在平面;
    根据所述朝向信息,确定重力方向与所述第三坐标轴正向之间的第二夹角;
    针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的旋转角度以及旋转方向,其中,所述第一坐标轴和所述第二坐标轴位于所述显示屏所在平面;
    基于所述旋转角度和所述旋转方向对所述内容进行转动显示。
  8. 根据权利要求7所述的装置,还包括:
    缩小系数确定模块,用于针对所述三维坐标系中第一坐标轴和第二坐标轴,根据所述第一夹角和所述第二夹角,分别确定所述显示屏显示的内容的显示尺寸的缩小系数;
    第二调整模块,用于基于所述缩小系数对所述内容的显示尺寸缩小显示,以使所述内容完整显示。
  9. 根据权利要求7所述的装置,其中,所述第一调整模块,进一步具体用于:
    若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的绝对值确定为所述显示屏显示的内容以所述第二坐标轴为中心的旋转角度,其中,所述第一夹角大于-90°且小于0°的旋转方向与所述第一夹角大于0°且小于90°的旋转方向相反;
    若所述第二夹角小于90°或大于90°,则将所述第二夹角与90°的差值的绝对值确定为所述显示屏显示的内容以所述第一坐标轴为中心的旋转角度,其中,所述第二夹角小于90°的旋转方向与所述第二夹角大于90°的旋转方向相反。
  10. 根据权利要求8所述的装置,其中,所述缩小系数确定模块,具体用于:
    若所述第一夹角不等于0°以及大于-90°且小于90°,则将所述第一夹角的余弦值确定为所述显示屏显示的内容的显示尺寸在所述第一坐标轴上的缩小系数;
    若所述第二夹角小于90°或大于90°,则将所述第二夹角的正弦值确定为所述显示屏显示的内容的显示尺寸在所述第二坐标轴上的缩小系数。
  11. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的内容的显示方法的步骤。
  12. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的内容的显示方法的步骤。
PCT/CN2019/082043 2018-04-13 2019-04-10 内容的显示方法及装置 WO2019196863A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810329233.4 2018-04-13
CN201810329233.4A CN108737642A (zh) 2018-04-13 2018-04-13 内容的显示方法及装置

Publications (1)

Publication Number Publication Date
WO2019196863A1 true WO2019196863A1 (zh) 2019-10-17

Family

ID=63940789

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/082043 WO2019196863A1 (zh) 2018-04-13 2019-04-10 内容的显示方法及装置

Country Status (2)

Country Link
CN (1) CN108737642A (zh)
WO (1) WO2019196863A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737642A (zh) * 2018-04-13 2018-11-02 维沃移动通信有限公司 内容的显示方法及装置
CN111163303B (zh) * 2018-11-08 2021-08-31 中移(苏州)软件技术有限公司 一种图像显示方法、装置、终端及存储介质
CN109933189A (zh) * 2018-12-28 2019-06-25 惠州Tcl移动通信有限公司 动态桌面布局方法、显示设备及计算机存储介质
CN109739359B (zh) * 2019-01-04 2022-09-09 合肥京东方光电科技有限公司 显示屏、显示画面处理方法、装置及显示设备
JP2020129263A (ja) * 2019-02-08 2020-08-27 セイコーエプソン株式会社 表示システム、情報処理装置の制御プログラム、及び情報処理装置の制御方法
CN110580886A (zh) * 2019-08-06 2019-12-17 深圳市华夏光彩股份有限公司 显示屏的亮度调整方法及相关产品
CN111142616B (zh) * 2019-12-04 2022-04-26 维沃移动通信有限公司 图像显示方法及电子设备
CN111261027B (zh) * 2020-01-22 2022-07-12 京东方科技集团股份有限公司 旋转显示设备及其控制方法、旋转显示系统以及存储介质
CN111601373B (zh) * 2020-05-09 2023-04-25 Oppo广东移动通信有限公司 背光亮度控制方法、装置、移动终端及存储介质
CN111915667A (zh) * 2020-07-27 2020-11-10 深圳数联天下智能科技有限公司 一种视线识别方法、识别装置、终端设备及可读存储介质
CN113805655B (zh) * 2021-09-09 2024-07-16 维沃移动通信有限公司 显示方法、装置和电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013021539A1 (ja) * 2011-08-10 2013-02-14 パナソニック株式会社 情報表示装置
CN103179278A (zh) * 2013-03-21 2013-06-26 广东欧珀移动通信有限公司 一种控制屏幕旋转的方法和装置
CN104063053A (zh) * 2014-05-30 2014-09-24 小米科技有限责任公司 图像显示方法、装置及电子设备
CN107291266A (zh) * 2017-06-21 2017-10-24 腾讯科技(深圳)有限公司 图像显示的方法和装置
CN107644395A (zh) * 2016-07-21 2018-01-30 华为终端(东莞)有限公司 图像处理方法以及移动设备
CN108737642A (zh) * 2018-04-13 2018-11-02 维沃移动通信有限公司 内容的显示方法及装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102043576A (zh) * 2009-10-26 2011-05-04 鸿富锦精密工业(深圳)有限公司 显示器画面自动调整系统及方法
CN102479065B (zh) * 2010-11-26 2014-05-07 Tcl集团股份有限公司 旋转式显示器及其显示方法
EP2649932A4 (en) * 2010-12-08 2017-06-14 National University Corporation Shizuoka University Method for detecting point of gaze and device for detecting point of gaze
TW201407596A (zh) * 2012-08-06 2014-02-16 Hon Hai Prec Ind Co Ltd 電子裝置校正系統及方法
CN103744601B (zh) * 2014-01-27 2017-05-17 华勤通讯技术有限公司 移动终端及显示内容偏转方法
CN105988556A (zh) * 2015-01-27 2016-10-05 鸿富锦精密工业(武汉)有限公司 电子设备及应用于该电子设备的显示调节方法
CN105100396A (zh) * 2015-05-21 2015-11-25 努比亚技术有限公司 一种移动终端及其旋转显示方法和装置
CN104881263B (zh) * 2015-05-27 2018-03-23 天津三星电子有限公司 一种显示控制方法及显示设备
CN105573485B (zh) * 2015-05-28 2018-12-25 宇龙计算机通信科技(深圳)有限公司 一种显示内容调节方法及终端
CN105302420B (zh) * 2015-11-18 2019-06-28 成都中科创达软件有限公司 一种移动终端中的图片显示方法及系统
CN106200921B (zh) * 2016-06-28 2019-08-20 Oppo广东移动通信有限公司 控制方法、控制装置及电子装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013021539A1 (ja) * 2011-08-10 2013-02-14 パナソニック株式会社 情報表示装置
CN103179278A (zh) * 2013-03-21 2013-06-26 广东欧珀移动通信有限公司 一种控制屏幕旋转的方法和装置
CN104063053A (zh) * 2014-05-30 2014-09-24 小米科技有限责任公司 图像显示方法、装置及电子设备
CN107644395A (zh) * 2016-07-21 2018-01-30 华为终端(东莞)有限公司 图像处理方法以及移动设备
CN107291266A (zh) * 2017-06-21 2017-10-24 腾讯科技(深圳)有限公司 图像显示的方法和装置
CN108737642A (zh) * 2018-04-13 2018-11-02 维沃移动通信有限公司 内容的显示方法及装置

Also Published As

Publication number Publication date
CN108737642A (zh) 2018-11-02

Similar Documents

Publication Publication Date Title
WO2019196863A1 (zh) 内容的显示方法及装置
WO2019144814A1 (zh) 显示屏的控制方法及移动终端
CN107786817B (zh) 一种拍照方法及移动终端
WO2019174628A1 (zh) 拍照方法及移动终端
WO2021104321A1 (zh) 图像显示方法及电子设备
CN109725683B (zh) 一种程序显示控制方法和折叠屏终端
WO2020238377A1 (zh) 拍摄处理方法、装置、移动终端及存储介质
CN108881733B (zh) 一种全景拍摄方法及移动终端
WO2020020134A1 (zh) 拍摄方法及移动终端
CN110970003A (zh) 屏幕亮度调整方法、装置、电子设备及存储介质
WO2021063099A1 (zh) 拍摄方法及电子设备
CN108628515B (zh) 一种多媒体内容的操作方法和移动终端
CN109348019B (zh) 一种显示方法及装置
WO2019184947A1 (zh) 图像查看方法及移动终端
US11842029B2 (en) Image display method and mobile terminal
CN109246360A (zh) 一种提示方法及移动终端
CN109819168B (zh) 一种摄像头的启动方法以及移动终端
WO2022134632A1 (zh) 作品处理方法及装置
WO2021057222A1 (zh) 显示方法及终端
WO2020220893A1 (zh) 截图方法及移动终端
WO2019154360A1 (zh) 界面切换方法及移动终端
EP3731506A1 (en) Image display method and mobile terminal
CN109782992B (zh) 视频播放方法、双屏终端及计算机可读存储介质
WO2020042815A1 (zh) 文本编辑方法及移动终端
WO2021147911A1 (zh) 移动终端、拍摄模式的检测方法及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19785328

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19785328

Country of ref document: EP

Kind code of ref document: A1