WO2013017023A1 - 一种控制终端屏幕的显示状态的方法及装置 - Google Patents

一种控制终端屏幕的显示状态的方法及装置 Download PDF

Info

Publication number
WO2013017023A1
WO2013017023A1 PCT/CN2012/078937 CN2012078937W WO2013017023A1 WO 2013017023 A1 WO2013017023 A1 WO 2013017023A1 CN 2012078937 W CN2012078937 W CN 2012078937W WO 2013017023 A1 WO2013017023 A1 WO 2013017023A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
image
display state
terminal
threshold
Prior art date
Application number
PCT/CN2012/078937
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 WO2013017023A1 publication Critical patent/WO2013017023A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/161Indexing scheme relating to constructional details of the monitor
    • G06F2200/1614Image rotation following screen orientation, e.g. switching from landscape to portrait mode

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method and apparatus for controlling a display state of a screen of a terminal.
  • the terminal can control the operation of some applications through gravity sensing function, and can also pass gravity.
  • the sensing function controls the display state of the screen, such as the control screen being in the horizontal display state or the vertical display state, so that the display state of the terminal screen is automatically switched.
  • the control of the display state of the terminal screen is mainly realized by a gravity sensor embedded in the terminal, and the gravity sensor determines whether to change the display state of the current screen to another by judging the change of the direction between the terminal and the gravity of the earth.
  • Display state for example, when the gravity sensor determines that the terminal is in a vertical state according to a change in direction between the terminal and the Earth's bow 1 force, the display state of the control terminal screen is a vertical screen display; according to the direction between the terminal and the earth's gravity
  • the display state of the screen of the control terminal is a horizontal screen display.
  • the automatic switching of the display state of the terminal screen can be realized by using the gravity sensing technology in the terminal.
  • the direction of the terminal user viewing the screen as the terminal screen display object does not necessarily have an absolute relationship with the gravity direction.
  • the display state of the screen most suitable for the end user to view should be consistent with the direction in which the end user's eyes face up, ie In vertical display
  • the display state of the screen of the terminal determined according to the gravity sensor chip is a horizontal screen display.
  • the display of the terminal screen is controlled by gravity sensing technology. The status does not match the screen state that the terminal screen should actually display to its display object. Therefore, gravity sensing technology is not suitable for controlling the display state of the terminal screen in this scene.
  • the technique of determining the display state of the terminal screen by gravity sensing has a problem that the control result of the display state of the terminal screen is inconsistent with the display state that the terminal screen should actually display to the display object thereof, that is, the screen The accuracy of the control results of the display state is low.
  • an embodiment of the present invention provides a method and apparatus for determining a display state of a screen of a terminal.
  • the technical solution is adopted to avoid the control result of the display state of the terminal screen and the display of the display object that the terminal screen should actually display.
  • the problem of inconsistent state improves the accuracy of the control result on the display state of the screen.
  • a method of controlling a display state of a screen of a terminal including:
  • an apparatus for controlling a display state of a screen of a terminal including:
  • An image obtaining unit configured to acquire an image of a display object of the terminal screen
  • a parameter determining unit configured to display a display of the terminal screen according to the image acquiring unit An image of the image, determining a parameter for characterizing a relative position of the image on the screen of the terminal; a correspondence relationship holding unit, configured to save a correspondence between a parameter range and a screen display state; and a screen display state determining unit configured to Corresponding relationship between the parameter range saved by the correspondence relationship holding unit and the screen display state, and determining a screen display state corresponding to the range of the parameter determined by the parameter determining unit to represent the relative position of the image on the terminal screen ;
  • the screen display state control unit is configured to control a display state of the terminal screen according to the screen display state determined by the screen display state determining unit.
  • the parameter for characterizing the relative position of the image of the display object on the screen of the terminal is determined according to the acquired image of the display object of the terminal screen, and according to the saved parameter range and the screen The corresponding relationship of the display states is determined, the display state of the screen corresponding to the range of the parameters of the relative position is determined, and then the display state of the terminal screen is controlled according to the determined display state of the screen.
  • the terminal determines the display state of the screen and controls the terminal screen according to the determined parameter of the relative position of the image of the display object on the terminal screen and the corresponding relationship between the saved parameter range and the display state of the screen, thereby avoiding
  • Figure 3 is a schematic flowchart of determining parameters for characterizing a relative position of an image on a screen of a terminal according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic diagram of determining a third straight line according to Embodiment 1 of the present invention.
  • FIG. 5 is a flow chart showing still another method for determining a display state of a screen of a terminal according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic diagram of determining a first vector according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram of determining a second angle according to Embodiment 1 of the present invention.
  • FIG. 8 is a schematic diagram of a screen display state corresponding to a first parameter range according to Embodiment 1 of the present invention.
  • FIG. 9 is a schematic diagram of a screen display state corresponding to a second parameter range according to Embodiment 1 of the present invention.
  • FIG. 10 is a schematic diagram of a screen display state corresponding to a third parameter range according to Embodiment 1 of the present invention.
  • FIG. 11 is a schematic diagram of a screen display state corresponding to a fourth parameter range according to Embodiment 1 of the present invention.
  • FIG. 12 is a schematic flowchart of still determining a second angle according to Embodiment 1 of the present invention
  • FIG. 13 is a schematic structural diagram of an apparatus for controlling a display state of a screen of a terminal according to Embodiment 2 of the present invention.
  • Embodiment 1 of the present invention provides a method for controlling a display state of a screen of a terminal, and the method can be applied to a terminal having an image acquisition function, such as a mobile phone, an electronic reading device, and the like.
  • the image acquisition function of the terminal can be implemented by a camera that is provided by the terminal, or can be implemented by an external image acquisition device of the terminal.
  • the terminal can acquire an image of the display object of the terminal screen, determine a display state of the screen to control according to the determined parameter of the relative position of the image of the display object on the terminal screen, and the corresponding relationship between the saved parameter range and the display state of the screen.
  • the terminal screen avoids the problem that the control result of the display state of the terminal screen is inconsistent with the display state that the terminal screen should actually display to the display object thereof, and improves the accuracy of the control result of the display state of the screen.
  • an image of the display object of the terminal screen is acquired, and parameters for characterizing the relative position of the image on the screen of the terminal are determined, and further, according to the saved parameter Corresponding relationship between the range and the screen display state, determining a screen display state corresponding to the range of the parameter indicating the relative position of the image on the terminal screen, and controlling the display state of the terminal screen according to the determined screen display state.
  • the screen display state generally refers to various display states of the content displayed on the screen relative to the screen, and the screen display state may include horizontal screen display, vertical screen display, display at a set angle, etc.
  • the screen display state may include horizontal screen display, vertical screen display, display at a set angle, etc.
  • the vertical screen display, and the set angle display it is also possible to further specify the display direction of the displayed content, for example, for the face image displayed on the vertical screen, a further rule can be specified.
  • the display direction of the face such as the display position of the eye on the screen, is higher than the display position of the mouth on the screen, or the display position of the eye on the screen, the display position of the low mouth on the screen.
  • the description of the screen display status here is only an example. In actual applications, the screen display status can be expanded according to actual needs.
  • a display object of a terminal screen generally refers to an object that the terminal can collect an image through a camera or an image acquisition device, for example, a user who uses the terminal, specifically, an image of a display object of the acquired terminal screen. Includes face images.
  • the parameters for characterizing the relative position of the image on the screen of the terminal are mainly used to identify the position of the acquired image relative to the screen of the terminal. Specifically, the relative image is used to represent the relative position of the image on the screen of the terminal.
  • the parameter of the location may include: an angle between the face image and the screen of the terminal, wherein determining the angle between the face image and the screen of the terminal may include: determining a location of the target in the face image And determining the angle between the face image and the terminal screen according to the position of the set target.
  • the image obtained by the following includes a face image, a parameter for characterizing the relative position of the image on the terminal screen, and an angle between the face image and the terminal screen as an example.
  • a method for controlling the display state of the screen of the terminal provided by the embodiment of the present invention is described in detail.
  • FIG. 1 is a schematic flowchart of a display state of a screen of a control terminal according to Embodiment 1 of the present invention.
  • the process of controlling the display state of the screen of the terminal includes the following steps: Step 101: Acquire a terminal An image of the display object of the screen, and determining a bit of the set target in the image.
  • the display that occupies the largest image area among the plurality of display objects included in the image
  • the position of the target is set in the image corresponding to the object, and is determined as the position at which the target is set in the image.
  • the display object occupying the largest image area can be generally determined as the object closest to the terminal screen.
  • the object closest to the terminal screen is used as the main display object of the terminal screen, and is used as a basis for determining the display state of the terminal screen. Can improve the accuracy of the determination results.
  • Step 102 Determine a parameter for characterizing the relative position of the image on the screen of the terminal according to the location of the set target.
  • a parameter for characterizing the relative position of the image on the terminal screen is determined, that is, an angle between the acquired face image and the terminal screen is determined.
  • the setting target can be flexibly determined according to the type of the image, and the target that can identify the image in the image is selected as the setting target, for example, For a face image, the face, nose, mouth, etc. of the face can be used to identify the face. Therefore, one or more of these targets can be selected as the set target to determine the image for use in the representation.
  • the parameters of the relative position on the terminal screen are described in the image.
  • Step 103 Determine, according to a correspondence between the saved parameter range and the display state of the screen, a display state of the screen corresponding to a range of parameters of the relative position of the identifier image on the terminal screen.
  • the correspondence between the parameter range and the display state of the screen may be pre-configured.
  • the determined parameter for characterizing the relative position of the image on the terminal screen is also It may be different. Therefore, the correspondence between the parameter range and the display state of the screen may refer to the selected setting target configuration, and may be configured as multiple groups.
  • Step 104 Control the terminal screen according to the determined display state of the screen.
  • the terminal screen is controlled according to the determined display state of the screen, that is, the control terminal screen is in the display state of the determined screen, specifically, the display state of the screen of the terminal screen when the image is acquired is determined and the determined Whether the display state of the screen is consistent. If not, the display state of the screen of the terminal is controlled to be switched to the determined screen display state. If they are consistent, the display state of the screen of the terminal is controlled to be unchanged.
  • the terminal can determine a parameter indicating the relative position of the image on the screen of the terminal according to the image obtained as the display object of the terminal screen, and further corresponding to the display state of the screen according to the parameter range stored in the terminal. a relationship, determining a display state of the screen corresponding to a range of parameters indicating a relative position of the image on the terminal screen, and controlling the terminal screen by the determined display state of the screen, so that the display state of the terminal screen and the terminal screen should actually be displayed to The display state of the display object is uniform, thereby achieving the purpose of improving the accuracy of the control result of the display state of the screen.
  • an image of a display object of the terminal screen is obtained in step 101.
  • the image of the display object is a facial image of the display object, and the positions of the two eyes in the facial image are determined.
  • Set the position of the target in the image or determine any two of the midpoint position, the nose position, and the mouth position of the two eyes in the face image as the position of the target set in the image. The above is to determine the setting in the image.
  • Two preferred embodiments of the position of the target but are not limited to the above two preferred embodiments.
  • the corresponding process in FIG. 1 for determining the target in the image may be determined by the position of the eyebrow or the ear in the facial image.
  • Execution of 101 may be performed according to a set period, for example, a step of acquiring an image of a display object of the terminal screen is performed every set time; or may be triggered by a user; or may be performed by combining the existing gravity sensing function of the terminal. which is:
  • step 101 is performed to obtain an image of the display object of the terminal screen.
  • the terminal can detect the change of the direction between the screen of the terminal and the force of the earth by the gravity sensing module. According to the change of the direction, the terminal determines the angle of the screen relative to the ground, and the angle of the change is set. The threshold value is compared. When the changed angle is greater than or equal to the set threshold, the terminal determines the display state of the switching screen. In the prior art, when the terminal determines the display state of the switching screen through the gravity sensing module, the terminal directly The display state of the current screen is switched to the display state of the other screen.
  • the switching is not performed temporarily, but the terminal screen is determined by executing the flow corresponding to FIG.
  • the screen display state is controlled according to the determined state, thereby avoiding the problem that the control result of the display state of the terminal screen is inconsistent with the display state that the terminal screen should actually display to the display object thereof, and the display state of the screen is improved.
  • the accuracy of the control results when the terminal determines the display state of the switching screen through the gravity sensing module, the switching is not performed temporarily, but the terminal screen is determined by executing the flow corresponding to FIG.
  • the first embodiment uses three preferred embodiments to implement the step 102 and the step 103 respectively, that is, according to the target set in the image.
  • Three preferred embodiments of the location determining the display state of the terminal screen are as follows: A preferred embodiment 1 for determining the display state of the terminal screen
  • the position of the two eyes in the acquired image of the display object is determined as the position of the set target in the image, that is, the position of the set target is the position of the two eyes of the face.
  • FIG. 2 is a schematic flow chart of determining a display state of a screen of a terminal according to a preferred embodiment of the present invention. As shown in FIG. 2, determining a display state of a screen of a terminal according to a position of a target set in an image determines a display state of the screen of the terminal.
  • the steps include:
  • Step 201 Determine the first line where the two eyes are connected according to the positions of the two eyes.
  • Step 202 Determine a first angle between the first straight line and a second straight line parallel to the width direction of the terminal screen.
  • Step 203 Determine the first angle as a parameter for characterizing the relative position of the image on the screen of the terminal.
  • the first angle which is a parameter for characterizing the relative position of the image on the terminal screen may select an angle formed by the intersection of the first straight line and the second straight line to be less than or equal to ninety degrees or greater than or equal to ninety degrees. The angle of the.
  • Step 204 Determine, according to the correspondence between the saved parameter range and the display state of the screen, the display state of the screen corresponding to the range of the first angle.
  • the first straight line is determined according to the positions of the two eyes of the image in the display object, and the angle between the second straight line parallel to the width direction of the terminal screen is determined, and the relative position of the image on the terminal screen is determined.
  • the parameter is further determined according to the range of the parameter indicating the relative position of the image on the terminal screen, and the display state of the screen corresponding to the parameter range is determined, thereby controlling the determined display state of the terminal screen and the terminal screen should actually be displayed.
  • the display state of the display object is consistent, and the purpose of improving the accuracy of the control result of the display state of the screen is achieved.
  • the first line determined may also be a line parallel to the line connecting the two eyes.
  • the first line is preferably determined by two eyes.
  • the first straight line may be determined according to the method of determining the first straight line in step 201, according to the eyebrow or the ear in the image of the display object.
  • the first angle of the parameter for characterizing the relative position of the image on the terminal screen may select an angle of less than or equal to ninety degrees, or may select a clip of ninety degrees or more.
  • the angle according to the selected angle, determines the corresponding relationship between the parameter range on which the screen display state is based and the display state of the screen, as follows:
  • the correspondence between the parameter range on which the screen display state is based and the display state of the screen may be determined as follows:
  • the saved screen display state corresponding to the parameter range is a vertical screen display
  • the saved screen display state corresponding to the parameter range is a horizontal screen display.
  • the first threshold is smaller than the second threshold, and preferably, the first threshold is less than forty-five degrees and the second threshold is greater than forty-five degrees.
  • the display state of the screen can be determined, so that the determined screen is The display state and the terminal screen should actually be displayed to match the display state of their display objects.
  • the correspondence between the parameter range on which the screen display state is determined and the display state of the screen may be determined as follows:
  • the saved screen display state corresponding to the parameter range is a horizontal screen display
  • the saved screen display state corresponding to the parameter range is a vertical screen display.
  • the third threshold is less than the fourth threshold, and preferably, the third threshold is less than one One hundred and thirty-five degrees, the second threshold is greater than one hundred and thirty-five degrees.
  • any two of the midpoint position, the nose position, and the mouth position of the two eyes in the acquired image of the display object are determined as the position of the target in the image, that is, the position of the target is set. It is any two of the midpoint position, nose position, and mouth position of the two eyes in the image.
  • the correspondence between the parameter range saved in the preferred embodiment 2 of the present application and the display state of the screen is substantially the same as the corresponding relationship described in the preferred embodiment 1.
  • the main description is determined to be used for characterizing the image.
  • the steps of the parameters of the relative position on the terminal screen, as shown in FIG. 3, the steps of determining the parameters for characterizing the relative position of the image on the screen of the terminal include:
  • Step 301 Determine a third line where the two positions are connected according to any two positions of the midpoint position, the nose position, and the mouth position of the two eyes in the determined image.
  • a straight line in which the midpoint position of the two eyes in the image and the line of the nose are located is determined as the third straight line.
  • it is not limited to the method of determining the third straight line according to the above two positions, and the midpoint position, the nose position and the mouth position of the two eyes can be arbitrarily combined to determine two positions to determine the third straight line. .
  • Step 302 Determine a first angle between the third straight line and a fourth straight line parallel to the length direction of the terminal screen.
  • Step 303 Determine the first angle as a parameter for characterizing the relative position of the image on the screen of the terminal.
  • the first angle which is a parameter for characterizing the relative position of the image on the screen of the terminal may select an angle formed by the intersection of the third straight line and the fourth straight line to be less than or equal to ninety degrees or greater than or equal to ninety degrees. Angle.
  • Step 304 Determine the first according to the correspondence between the saved parameter range and the display state of the screen The display state of the screen corresponding to the range of the angle.
  • any two of the midpoint position, the nose position, and the mouth position of the two eyes in the acquired image of the display object are determined as the position of the target in the image, and the determined setting is determined. Based on the position of the target, the display state of the terminal screen is determined.
  • the method for determining the display state of the screen of the terminal in the third embodiment includes: Step 501: Determine a first vector formed by the connection of the two locations according to the determined two positions, The direction of a vector points to the position of the lower portion of the two positions determined.
  • Step 502 Determine a second angle between the first vector and the second vector parallel to the length direction of the terminal screen along a set direction, and the direction of the second vector points to an upper portion of the terminal screen.
  • Step 503 Determine a second angle as a parameter for characterizing the relative position of the image on the screen of the terminal.
  • Step 504 Determine, according to the correspondence between the saved parameter range and the display state of the screen, the display state of the screen corresponding to the range of the second angle.
  • the connection between the midpoint position and the nose position of the two eyes constitutes a first vector pointing to the upper nose position, in actual operation, and Not limited to the above-described manner of determining the first vector, according to the description of the step 501, the first vector pointing to the mouth position can be determined by the connection of the nose position and the mouth position, or according to the midpoint position of the two eyes, the mouth The line of locations determines the first vector that points to the location of the mouth.
  • the y-axis is a second vector parallel to the length direction of the terminal screen, and A corresponds to a counterclockwise direction between the first vector and the second vector.
  • the second angle of the direction corresponds to the second angle between the first vector and the second vector along the clockwise direction, and the angle of which setting direction is specifically selected as the second angle can be pre-configured.
  • the corresponding relationship between the saved parameter range and the display state of the screen in step 504 included in the corresponding flow of FIG. 5 can be as follows:
  • the saved display state of the screen corresponding to the parameter range is The vertical screen is displayed and the direction of the displayed image is upward; wherein, preferably, the fifth threshold is set to forty-five degrees, but is not limited to this angle; preferably, the sixth threshold may be set to three hundred Fifteen degrees, but not limited to this angle. As shown in FIG.
  • the display state of the screen corresponding to the parameter range is vertical screen display and the direction of the displayed image is upward;
  • the saved screen display state corresponding to the parameter range is a horizontal screen display and the direction of the displayed image is rightward; wherein the seventh threshold is greater than the fifth threshold
  • the threshold, and preferably, the seventh threshold may be set to one hundred and thirty-five degrees, but is not limited to this angle.
  • the seventh threshold is one hundred and thirty-five degrees in the figure
  • the display object is displayed.
  • the direction of the face image relative to the position of the screen of the terminal is rightward.
  • the display state of the screen corresponding to the parameter range is horizontally displayed and the direction of the displayed image is to the right;
  • the saved screen display state corresponding to the parameter range is a vertical screen display and the direction of the displayed image is downward; wherein the eighth threshold is greater than the seventh Threshold, and preferably, the eighth threshold can be set to two hundred and twenty-five degrees, but not Limited to this angle.
  • the eighth threshold is greater than the seventh Threshold, and preferably, the eighth threshold can be set to two hundred and twenty-five degrees, but not Limited to this angle.
  • the seventh threshold is greater than or equal to the seventh threshold (the threshold is 135 degrees in the figure) and less than or equal to the eighth threshold (the eighth threshold is 225 degrees in the figure)
  • the direction of the face image of the object is downward with respect to the position of the screen of the terminal.
  • the display state of the screen corresponding to the parameter range is the vertical screen display and the direction of the displayed image is downward;
  • the saved screen display state corresponding to the parameter range is a horizontal screen display and the direction of the displayed image is leftward; wherein the sixth threshold is greater than the eighth Threshold.
  • the eighth threshold is equal to or greater than the eighth threshold (the second threshold is 225 degrees)
  • the sixth threshold is less than or equal to the sixth threshold (the sixth threshold is three hundred and one degrees h).
  • the direction of the face image of the display object relative to the position of the screen of the terminal is leftward.
  • the display state of the screen corresponding to the parameter range is horizontally displayed and the direction of the displayed image is to the left;
  • the fifth threshold, the seventh threshold, the eighth threshold, and the sixth threshold are sequentially increased; the direction of the displayed image is the front view direction of the display object of the terminal screen.
  • the display state of the screen can be determined to be a vertical screen display and the direction of the displayed image is Up, or horizontal screen display and the direction of the displayed image is to the right, or the vertical screen is displayed and the direction of the displayed image is downward, or the horizontal screen is displayed and the direction of the displayed image is leftward.
  • the display state of the screen can be accurately controlled, so that the control result of the display state of the terminal screen and the display state of the terminal screen should be displayed to the display object, thereby improving the screen.
  • the method for determining the second angle mainly includes:
  • Step 1201 Determine a third vector formed by the connection of the two positions according to the determined two positions The amount, the direction of the third vector points to the position of the upper part of the two positions determined.
  • Step 1202 Determine a second angle between the third vector and a fourth vector parallel to the length direction of the terminal screen in a set direction, and the direction of the fourth vector points to a lower portion of the terminal screen.
  • Embodiment 2 of the present invention provides a device for controlling the display state of a screen of a terminal, and the device can be applied to a terminal, for example, a mobile phone.
  • FIG. 13 is a schematic structural diagram of an apparatus for controlling a display state of a screen of a terminal according to Embodiment 3 of the present invention.
  • the apparatus for controlling the display state of a screen of the terminal mainly includes:
  • An image obtaining unit 1301, configured to acquire an image of a display object of the terminal screen
  • the parameter determining unit 1302 is configured to determine, according to the image of the display object of the terminal screen acquired by the image acquiring unit 1301, a parameter for characterizing a relative position of the image on the screen of the terminal;
  • the correspondence relationship holding unit 1303 is configured to save the correspondence between the parameter range and the screen display state.
  • the screen display state determining unit 1304 is configured to determine and determine the parameter according to the correspondence between the parameter range saved by the correspondence relationship holding unit 1303 and the screen display state.
  • the unit 1302 determines a screen display state corresponding to a range of parameters of the relative position of the image on the terminal screen;
  • the screen display state control unit 1305 is configured to control the terminal screen according to the screen display state determined by the screen display state determining unit 1304.
  • the device shown in FIG. 13 includes a screen display state control unit 1305, which is specifically configured to determine whether the screen display state of the terminal screen is consistent with the determined screen display state when the image is acquired; If not, the display status of the control terminal screen is switched to The determined screen display status; if yes, the display status of the control terminal screen remains unchanged.
  • a screen display state control unit 1305 which is specifically configured to determine whether the screen display state of the terminal screen is consistent with the determined screen display state when the image is acquired; If not, the display status of the control terminal screen is switched to The determined screen display status; if yes, the display status of the control terminal screen remains unchanged.
  • the device shown in FIG. 13 includes a parameter determining unit 1302, specifically for determining that multiple images are included in the image acquired by the image acquiring unit 1301. An image corresponding to the display object occupying the largest image area among the display objects; and a parameter for characterizing the relative position of the image corresponding to the display object occupying the largest image area on the terminal screen.
  • the image acquiring unit 1301 included in the apparatus shown in FIG. 13 is further configured to receive the image through the terminal before acquiring the image of the display object of the terminal screen.
  • the gravity sensing module determines an indication of the need to switch the display state of the screen.
  • the device shown in FIG. 13 includes a parameter determining unit 1302, specifically configured to determine a face image and a terminal screen when the image acquired by the image acquiring unit 1301 includes a face image. The angle between the two.
  • the device shown in FIG. 13 includes a parameter determining unit 1302, which is specifically configured to determine a position of a target in the face image; and determine a face image according to the position of the set target. The angle between the screen and the terminal screen.
  • the device shown in FIG. 13 includes a parameter determining unit 1302, specifically for determining the positions of two eyes in the face image; and determining two positions according to the positions of the two eyes. a first line where the eye is connected; determining a first angle between the first line and a second line parallel to the width direction of the terminal screen; determining the first angle as a clip between the face image and the terminal screen angle.
  • the device shown in FIG. 13 includes a parameter determining unit 1302, specifically for determining any two of a midpoint position, a nose position, and a mouth position of two eyes in the face image. a position; and determining, according to the determined two positions, a third line where the two positions are connected; determining a first angle between the third line and a fourth line parallel to the length direction of the terminal screen; An angle is the angle between the face image and the terminal screen.
  • the 13 includes a correspondence relationship holding unit 1303, which is specifically configured to: when the determined first angle is an angle of less than or equal to ninety degrees, in the parameter When the range is greater than or equal to zero and less than or equal to the first threshold, the saved screen display state corresponding to the parameter range is a vertical screen display; when the parameter range is greater than or equal to the second threshold and less than or equal to ninety degrees, the saved parameter is saved.
  • the display state of the screen corresponding to the range is a horizontal screen display; wherein the first threshold is smaller than the second threshold.
  • the device shown in FIG. 13 includes a correspondence relationship holding unit 1303, specifically configured to determine, between the first line and the second line, that the first angle is greater than or equal to At an angle of ninety degrees, when the parameter range is greater than or equal to ninety degrees and less than or equal to the third threshold, the saved screen display state corresponding to the parameter range is a horizontal screen display; and the parameter range is greater than or equal to the fourth threshold When the value is less than or equal to one hundred and eighty degrees, the saved display state of the screen corresponding to the parameter range is a vertical screen display; wherein the third threshold is smaller than the fourth threshold.
  • the device shown in FIG. 13 includes a parameter determining unit 1302, specifically for determining any two of a midpoint position, a nose position, and a mouth position of two eyes in the face image. And determining, according to the determined two positions, a first vector formed by a line connecting the two positions, the direction of the first vector points to a position of the determined two positions located at a lower portion of the face; determining the first vector and the parallel a second angle along the set direction between the second vectors in the length direction of the terminal screen is an angle between the face image and the terminal screen, and the direction of the second vector points to an upper portion of the terminal screen; or, according to the determined Two positions, determining a third vector formed by the connection of the two positions, the direction of the third vector points to a position of the determined two positions located above the face; determining the third vector and the length parallel to the length of the terminal screen
  • the second angle between the four vectors along the set direction is the angle between the face image and the terminal screen
  • the device shown in FIG. 13 includes a correspondence relationship holding unit 1303, where the parameter range is greater than or equal to 0 and less than or equal to a fifth threshold, or the parameter range is Saved when greater than or equal to the sixth threshold and less than or equal to three hundred and sixty degrees
  • the screen display state corresponding to the parameter range is a vertical screen display and the direction of the displayed image is upward; when the parameter range is greater than or equal to the fifth threshold and less than or equal to the seventh threshold, the saved screen display state corresponding to the parameter range Displayed in a horizontal screen and the direction of the displayed image is rightward; when the parameter range is greater than or equal to the seventh threshold and less than or equal to the eighth threshold, the saved screen display state corresponding to the parameter range is a vertical screen display and the displayed image When the parameter range is greater than or equal to the eighth threshold and less than or equal to the sixth threshold, the saved screen display state corresponding to the parameter range is a horizontal screen display and the direction of the displayed image is leftward;
  • the screen display state corresponding to the parameter range
  • the above device for controlling the display state of the screen of the terminal is only logically divided according to the functions implemented by the terminal, and in actual application, superposition or splitting of the above units may be performed.
  • the function implemented by the device provided by the embodiment corresponds to the method flow for controlling the display state of the screen of the terminal provided by the foregoing embodiment, and the more detailed processing flow implemented by the terminal is in the foregoing method embodiment. A detailed description will not be described in detail here.
  • the device for controlling the display state of the screen of the terminal in the second embodiment further has a function module capable of implementing the first embodiment, and details are not described herein again.
  • the parameter determining unit determines a parameter for characterizing the relative position of the image on the screen of the terminal according to the image of the display object acquired by the image acquiring unit, and then the screen display state determining unit Determining, according to the correspondence between the parameter range saved by the correspondence relationship holding unit and the display state of the screen, the display state of the screen corresponding to the parameter range in which the parameter of the relative position determined by the parameter determining unit is located, and the screen display state control unit according to the determined screen
  • the display state of the terminal screen and the display state of the screen of the terminal screen when the image is acquired, the display state of the control terminal screen is consistent with the display state that the terminal screen should actually display to the display object thereof, and the accuracy of the control result of the display state of the screen is improved.

Abstract

本发明公开了一种控制终端屏幕的显示状态的方法及装置,主要技术方案包括:获取终端屏幕的显示对象的图像,并确定用于表征图像在终端屏幕上的相对位置的参数;根据保存的参数范围与屏幕显示状态的对应关系,确定与参数所在范围对应的屏幕显示状态;根据确定出的屏幕显示状态控制终端屏幕。根据该技术方案,终端根据确定出的显示对象的图像在终端屏幕上相对位置的参数,确定出屏幕的显示状态并控制终端屏幕的显示状态,避免了对终端屏幕的显示状态的控制结果与终端屏幕实际应该显示给其显示对象的显示状态不一致的问题,提高了屏幕的显示状态的控制结果的准确性。

Description

一种控制终端屏幕的显示状态的方法及装置 本申请要求于 20 1 1年 8月 1日提交中国专利局、 申请号为 20 1 1 102 187 39 . 6 , 发明名称为 "一种控制终端屏幕的显示状态的方法及装置" 的中国专利申请的优先权, 其全部内容通过弓 I用结合在本申请中。
技术领域
本发明涉及终端技术领域,尤其涉及一种控制终端屏幕的显示状态的方法 及装置 背景技术
随着终端各项功能的不断发展与完善,重力感应技术在手机、手持游戏机、 电子阅读器等终端中广泛应用,例如,终端可以通过重力感应功能控制一些应 用程序的运行,也可以通过重力感应功能控制屏幕的显示状态,如控制屏幕处 于横屏显示状态或竖屏显示状态, 以使终端屏幕的显示状态实现自动切换。
目前,对终端屏幕的显示状态的控制主要通过嵌入在终端中的重力感应器 实现,重力感应器通过判断终端与地球引力之间的方向的变化,确定是否将当 前屏幕的显示状态切换至另一显示状态,例如,重力感应器在根据终端与地球 弓 1力之间的方向变化确定终端处于竖直状态时,控制终端屏幕的显示状态为竖 屏显示;在根据终端与地球引力之间的方向变化确定终端处于水平状态时,控 制终端屏幕的显示状态为横屏显示。
通过在终端中采用重力感应技术能够实现终端屏幕的显示状态的自动切 换,但在终端的实际应用中,作为终端屏幕显示对象的终端用户观看屏幕的方 向不一定与地心引力方向有绝对关系,例如, 当终端用户处于卧姿状态时,终 端用户观看屏幕的方向与地心引力方向无关,在该状态下,最适合终端用户观 看的屏幕的显示状态应与终端用户眼睛正视的方向一致, 即处于竖屏显示状 态;而实际情况下, 当终端用户处于卧姿状态时,根据重力感应芯片确定出的 终端的屏幕的显示状态为横屏显示,显然,在该场景下,通过重力感应技术控 制终端屏幕的显示状态,与终端屏幕实际应该显示给其显示对象的屏幕状态不 符, 因此, 重力感应技术不适用于在此场景下控制终端屏幕的显示状态。
综上,现有技术中,通过重力感应确定终端屏幕的显示状态的技术,存在 对终端屏幕的显示状态的控制结果与终端屏幕实际应该显示给其显示对象的 显示状态不一致的问题, 即对屏幕的显示状态的控制结果的准确性低。
发明内容
有鉴于此, 本发明实施例提供一种确定终端屏幕的显示状态的方法及装 置,采用该技术方案,避免了对终端屏幕的显示状态的控制结果与终端屏幕实 际应该显示给其显示对象的显示状态不一致的问题,提高了对屏幕的显示状态 的控制结果的准确性。
本发明实施例通过如下技术方案实现:
根据本发明实施例的一个方面,提供了一种控制终端屏幕的显示状态的方 法, 包括:
获取终端屏幕的显示对象的图像,并确定用于表征所述图像在所述终端屏 幕上的相对位置的参数;
根据保存的参数范围与屏幕显示状态的对应关系,确定与所述表征所述图 像在所述终端屏幕上的相对位置的参数所在范围对应的屏幕显示状态; 并 根据确定出的屏幕显示状态控制所述终端屏幕的显示状态。
根据本发明实施例的另一个方面,还提供了一种控制终端屏幕的显示状态 的装置, 包括:
图像获取单元, 用于获取终端屏幕的显示对象的图像;
参数确定单元,用于根据所述图像获取单元获取的所述终端屏幕的显示对 象的图像, 确定用于表征所述图像在所述终端屏幕上的相对位置的参数; 对应关系保存单元, 用于保存参数范围与屏幕显示状态的对应关系; 屏幕显示状态确定单元,用于根据所述对应关系保存单元保存的参数范围 与屏幕显示状态的对应关系,确定与所述参数确定单元确定出的表征所述图像 在所述终端屏幕上的相对位置的参数所在范围对应的屏幕显示状态;
屏幕显示状态控制单元,用于根据所述屏幕显示状态确定单元确定出的屏 幕显示状态控制所述终端屏幕的显示状态。
通过本发明实施例提供的上述至少一个技术方案,根据获取的终端屏幕的 显示对象的图像确定出用于表征显示对象的图像在终端屏幕上相对位置的参 数,并根据保存的参数范围与屏幕的显示状态的对应关系,确定出相对位置的 参数所在范围对应的屏幕的显示状态,然后根据确定出的屏幕的显示状态控制 终端屏幕的显示状态。根据该技术方案,终端根据确定出的显示对象的图像在 终端屏幕上相对位置的参数,以及保存的参数范围与屏幕的显示状态的对应关 系,确定出屏幕的显示状态并控制终端屏幕,从而避免了对终端屏幕的显示状 态的控制结果与终端屏幕实际应该显示给其显示对象的显示状态不一致的问 题, 提高了对屏幕的显示状态的控制结果的准确性。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明 书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可 通过在所写的说明书、权利要求书、 以及附图中所特别指出的结构来实现和获 得。
附图说明
Figure imgf000005_0001
图; 图 3 为本发明实施例一提供的确定用于表征图像在终端屏幕上的相对位 置的参数的流程示意图;
图 4为本发明实施例一提供的确定第三直线的示意图;
图 5 为本发明实施例一提供的又一种确定终端屏幕的显示状态的流程示
图 6为本发明实施例一提供的确定第一矢量的示意图;
图 7为本发明实施例一提供的一种确定第二夹角的示意图;
图 8 为本发明实施例一提供的对应第一参数范围的屏幕显示状态的示意 图;
图 9 为本发明实施例一提供的对应第二参数范围的屏幕显示状态的示意 图;
图 10为本发明实施例一提供的对应第三参数范围的屏幕显示状态的示意 图;
图 11为本发明实施例一提供的对应第四参数范围的屏幕显示状态的示意 图;
图 12为本发明实施例一提供的又一种确定第二夹角的流程示意图; 图 13为本发明实施例二提供的控制终端屏幕的显示状态的装置的结构示 意图。
具体实施方式
为了给出提高对屏幕的显示状态的控制结果的准确性的实现方案,本发明 实施例提供了一种控制终端屏幕的显示状态的方法以及装置,以下结合说明书 附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅 用于说明和解释本发明,并不用于限定本发明。并且在不冲突的情况下,本申 请中的实施例及实施例中的特征可以相互组合。 本发明实施例一提供了一种控制终端屏幕的显示状态的方法,该方法可以 应用于具备图像获取功能的终端, 例如手机、 电子阅读设备等。其中,终端所 具备的图像获取功能能够通过终端自带的摄像头实现,也可以通过该终端的外 界图像获取设备实现。终端能够获取终端屏幕的显示对象的图像,根据确定出 的显示对象的图像在终端屏幕上相对位置的参数,以及保存的参数范围与屏幕 的显示状态的对应关系,确定出屏幕的显示状态以控制终端屏幕,从而避免了 终端屏幕的显示状态的控制结果与终端屏幕实际应该显示给其显示对象的显 示状态不一致的问题, 提高了对屏幕的显示状态的控制结果的准确性。
本发明实施例一提供的控制终端屏幕的显示状态的方法中,获取终端屏幕 的显示对象的图像, 并确定出用于表征该图像在终端屏幕上的相对位置的参 数,进而能够根据保存的参数范围与屏幕显示状态的对应关系,确定与该表征 图像在终端屏幕上的相对位置的参数所在范围对应的屏幕显示状态,并根据确 定出的屏幕显示状态控制所述终端屏幕的显示状态。
本发明各实施例涉及的屏幕显示状态,一般指屏幕上显示的内容相对于屏 幕的各种显示状态,该屏幕显示状态可以包括横屏显示、竖屏显示、 以设定角 度显示等, 进一歩地, 在横屏显示、 竖屏显示、 以设定角度显示的基础上, 还 可以进一歩规定所显示的内容的显示方向,例如,对于竖屏显示的人脸图像来 说,可以进一歩规定人脸的显示方向,如眼睛在屏幕上的显示位置高于嘴巴在 屏幕上的显示位置、 或眼睛在屏幕上的显示位置低嘴巴在屏幕上的显示位置。 此处对于屏幕显示状态的描述仅为举例,实际应用中,可以根据实际需求对屏 幕显示状态进行扩展。
本发明各实施例涉及的终端屏幕的显示对象,通常指终端能够通过摄像头 或图像获取设备采集到图像的对象,例如,使用该终端的用户, 具体地,获取 到的终端屏幕的显示对象的图像包括人脸图像。 本发明各实施例涉及的用于表征该图像在终端屏幕上的相对位置的参数, 主要用于标识获取的图像相对于终端屏幕的位置,具体地,该用于表征图像在 终端屏幕上的相对位置的参数,可以包括:人脸图像与该终端屏幕之间的夹角, 其中,人脸图像与该终端屏幕之间的夹角的确定方式可以包括:确定人脸图像 中设定目标的位置,并根据设定目标的位置,确定人脸图像与终端屏幕之间的 夹角。
为了更好地理解本发明实施例, 以下以获取到的图像包括人脸图像、用于 表征图像在终端屏幕上的相对位置的参数为人脸图像与该终端屏幕之间的夹 角为例, 对本发明实施例提供的控制终端屏幕的显示状态的方法进行详细描 述。
图 1 示出了本发明实施例一提供的控制终端屏幕的显示状态的流程示意 图, 如图 1所示, 该控制终端屏幕的显示状态的过程, 主要包括如下歩骤: 歩骤 101、 获取终端屏幕的显示对象的图像, 并确定图像中设定目标的位 该歩骤 101中,当获取的图像中包括多个显示对象时,将图像中包括的多 个显示对象中占据图像面积最大的显示对象对应的图像中设定目标的位置,确 定为图像中设定目标的位置。占据图像面积最大的显示对象通常可以确定为距 离终端屏幕最近的对象,通过该处理方式,将距离终端屏幕最近的对象作为终 端屏幕的主要显示对象,并以此作为确定终端屏幕显示状态的依据,能够提高 确定结果的准确性。
歩骤 102、 根据设定目标的位置, 确定用于表征图像在终端屏幕上的相对 位置的参数。
该歩骤 102中,确定用于表征图像在终端屏幕上的相对位置的参数,即确 定获取的人脸图像与终端屏幕的夹角。其中,设定目标可以根据图像的类型灵 活确定,主要选择图像中能够对图像起到标识作用的目标作为设定目标,例如, 对于人脸图像来说,人脸的眼睛、鼻子、嘴巴等都可以对该人脸起到标识作用, 因此,可以选择这些目标中的一个或多个作为设定目标, 以确定用于表征图像 在终端屏幕上的相对位置的参数。
歩骤 103、 根据保存的参数范围与屏幕的显示状态的对应关系, 确定与表 征图像在终端屏幕上的相对位置的参数所在范围对应的屏幕的显示状态。
该歩骤 103中,参数范围与屏幕的显示状态的对应关系可以预先配置,通 常情况下,选择出的设定目标不同,则确定出的用于表征图像在终端屏幕上的 相对位置的参数也可能不同, 因此,该参数范围与屏幕的显示状态的对应关系 可以参考所选择的设定目标配置, 并且可以配置为多组。
歩骤 104、 根据确定出的屏幕的显示状态控制终端屏幕。
该歩骤 104中,根据确定出的屏幕的显示状态控制终端屏幕,即控制终端 屏幕处于所确定出的屏幕的显示状态,具体地,判断获取图像时终端屏幕的屏 幕的显示状态与确定出的屏幕的显示状态是否一致,如果不一致,则控制该终 端屏幕的显示状态切换为确定出的屏幕显示状态,如果一致,则控制该终端屏 幕的显示状态不变。
至此, 控制终端屏幕的显示状态的流程结束。
图 1对应的流程中,终端能够根据获取作为终端屏幕的显示对象的图像确 定出表征图像在终端屏幕上的相对位置的参数,并进一歩根据保存在终端中的 参数范围与屏幕的显示状态的对应关系,确定出表征图像在终端屏幕上的相对 位置的参数所在范围对应的屏幕的显示状态,并通过确定出的屏幕的显示状态 控制终端屏幕,使终端屏幕的显示状态与终端屏幕实际应该显示给其显示对象 的显示状态一致, 从而到达提高对屏幕的显示状态的控制结果的准确性的目 的。
图 1对应流程中,歩骤 101中获取终端屏幕的显示对象的图像, 优选的, 显示对象的图像为显示对象的脸部图像,并将脸部图像中两只眼睛的位置确定 为图像中设定目标的位置,或者将面部图像中两只眼睛的中点位置、鼻子位置 以及嘴巴位置中的任意两个位置确定为图像中设定目标的位置,以上为确定图 像中设定目标的位置的两种优选实施方案,但并不局限于上述两种优选实施方 案,例如,还可以通过面部图像中眉毛或者耳朵的位置确定图像中设定目标的 图 1对应流程中, 歩骤 101的执行, 可以按照设定周期执行, 例如, 每经 过设定时长执行获取终端屏幕的显示对象的图像的歩骤;也可以由用户触发执 行; 还可以结合终端现有的重力感应功能执行, 即:
在接收到通过终端的重力感应模块确定出的需要切换屏幕显示状态的指 示后执行歩骤 101, 即获取终端屏幕的显示对象的图像。 本技术方案中, 终端 通过重力感应模块能够检测到终端屏幕与地球弓 I力之间的方向的变化,根据上 述方向的变化,终端确定出屏幕相对地面变化的角度,将此变化的角度与设定 的门限值比较, 当变化的角度大于等于设定的门限值时,终端确定切换屏幕的 显示状态,现有技术中,当终端通过重力感应模块确定切换屏幕的显示状态时, 直接将当前屏幕的显示状态切换至另一屏幕的显示状态,本技术方案中, 当终 端通过重力感应模块确定切换屏幕的显示状态时,暂不执行切换,而是通过执 行图 1对应的流程确定终端屏幕的屏幕显示状态,根据确定出的该状态进行控 制,从而避免了对终端屏幕的显示状态的控制结果与终端屏幕实际应该显示给 其显示对象的显示状态不一致的问题,提高了对屏幕的显示状态的控制结果的 准确性。
根据上述歩骤 101 中确定图像中设定目标的位置的优选实施方案, 相应 的, 本实施例一采用三个优选实施方案分别实现歩骤 102以及歩骤 103, 即根 据图像中设定目标的位置确定终端屏幕的显示状态的三个优选实施方式,具体 如下: 确定终端屏幕的显示状态的优选实施方式一
该优选实施方式一中,将获取的显示对象的图像中两只眼睛的位置确定为 图像中设定目标的位置, 即设定目标的位置为人脸两只眼睛的位置。
图 2 示出了本发明优选实施方式一提供的确定终端屏幕的显示状态的流 程示意图,如图 2所示,根据图像中设定目标的位置确定终端屏幕的显示状态 确定终端屏幕的显示状态的歩骤包括:
歩骤 201、 根据两只眼睛的位置, 确定两只眼睛连线所在的第一直线。 歩骤 202、确定第一直线与平行于终端屏幕的宽度方向的第二直线之间的 第一夹角。
歩骤 203、 确定第一夹角为用于表征图像在终端屏幕上的相对位置的参 数。
该歩骤 203中,作为表征图像在终端屏幕上的相对位置的参数的第一夹角 可以选择第一直线和第二直线相交形成的小于等于九十度的夹角或者大于等 于九十度的夹角。
歩骤 204、 根据保存的参数范围与屏幕的显示状态的对应关系, 确定第一 夹角所在范围对应的屏幕的显示状态。
至此, 本优选实施方式一确定终端屏幕的显示状态的流程结束。
本实施例一中,根据显示对象中图像的两只眼睛的位置确定第一直线,与 平行于终端屏幕的宽度方向的第二直线的夹角,确定出表征图像在终端屏幕上 的相对位置的参数,进一歩,根据表征图像在终端屏幕上的相对位置的参数所 在范围,确定出该参数范围所对应的屏幕的显示状态,从而控制确定出的终端 屏幕的显示状态与终端屏幕实际应该显示给其显示对象的显示状态一致,达到 提高对屏幕的显示状态的控制结果的准确性的目的。
图 2对应流程包括的歩骤 201中,确定出的第一直线还可以是平行于两只 眼睛连线的直线, 本优选实施方式一优选通过两只眼睛确定第一直线的方式, 实际操作中,可以采用歩骤 201中的确定第一直线的方式,根据显示对象的图 像中眉毛或者耳朵确定出第一直线。
图 2对应流程包括的歩骤 203中,用于表征图像在终端屏幕上的相对位置 的参数的第一夹角可以选择小于等于九十度的夹角,也可以选择大于等于九十 度的夹角,根据所选择的夹角不同,确定屏幕显示状态时所依据的参数范围与 屏幕的显示状态的对应关系也有所不同, 具体如下所述:
第一夹角选择小于等于九十度的夹角时,上述歩骤 204中,确定屏幕显示 状态所依据的参数范围与屏幕的显示状态的对应关系, 可以如下:
在参数范围为大于等于零且小于等于第一阈值时,保存的与该参数范围对 应的屏幕显示状态为竖屏显示;
在参数范围为大于等于第二阈值且小于等于九十度时,保存的与该参数范 围对应的屏幕显示状态为横屏显示。
上述对应关系中,第一阈值小于第二阈值,并且优选地,第一阈值小于四 十五度, 第二阈值大于四十五度。
根据终端中保存的上述参数范围与屏幕的显示状态的对应关系的信息,根 据此对应关系以及确定出的第一夹角的所在范围, 能够确定出屏幕的显示状 态,以使确定出的屏幕的显示状态与终端屏幕实际应该显示给其显示对象的显 示状态一致。
第一夹角选择大于等于九十度时,上述歩骤 204中,确定屏幕显示状态所 依据的参数范围与屏幕的显示状态的对应关系, 可以如下:
在参数范围为大于等于九十度且小于等于第三阈值时,保存的与该参数范 围对应的屏幕显示状态为横屏显示;
在参数范围为大于等于第四阈值且小于等于一百八十度时,保存的与该参 数范围对应的屏幕显示状态为竖屏显示。
上述对应关系中,第三阈值小于第四阈值,并且优选地,第三阈值小于一 百三十五度, 第二阈值大于一百三十五度。 确定终端屏幕的显示状态的优选实施方式二
该优选实施方式二中, 将获取的显示对象的图像中两只眼睛的中点位置、 鼻子位置以及嘴巴位置中的任意两个位置确定为图像中设定目标的位置,即设 定目标的位置为图像中两只眼睛的中点位置、鼻子位置以及嘴巴位置中的任意 两个位置。
本申请优选实施方式二中保存的参数范围与屏幕的显示状态的对应关系 与优选实施方式一中所述的对应关系基本相同, 在此, 本优选实施方式二中, 主要描述确定用于表征图像在终端屏幕上的相对位置的参数的歩骤, 如图 3 所示, 确定用于表征图像在终端屏幕上的相对位置的参数的歩骤包括:
歩骤 301、 根据确定出的图像中两只眼睛的中点位置、 鼻子位置以及嘴巴 位置中的任意两个位置, 确定两个位置连线所在的第三直线。
该歩骤 301中,如图 4所示,将图像中两只眼睛的中点位置、鼻子位置的 连线所在的直线确定为第三直线。在实际操作中,并不局限于根据上述两个位 置确定第三直线的方法,还可以将两只眼睛的中点位置、鼻子位置以及嘴巴位 置任意组合确定出两个位置, 以确定第三直线。
歩骤 302、确定第三直线与平行于终端屏幕的长度方向的第四直线之间的 第一夹角。
歩骤 303、 确定第一夹角为用于表征图像在终端屏幕上的相对位置的参 数。
该歩骤 303中,作为表征图像在终端屏幕上的相对位置的参数的第一夹角 可以选择第三直线和第四直线相交形成的小于等于九十度的夹角或者大于等 于九十度的夹角。
歩骤 304、 根据保存的参数范围与屏幕的显示状态的对应关系, 确定第一 夹角所在范围对应的屏幕的显示状态。
至此, 本优选实施方式二确定终端屏幕的显示状态的流程结束。
本优选实施方式二中,在确定出第一夹角为用于表征图像在终端屏幕上的 相对位置的参数后,保存的参数范围与屏幕的显示状态的对应关系与上述优选 实施方式一中所述的对应关系基本相同, 此处不再赘述。 确定终端屏幕的显示状态的优选实施方式三
该优选实施方式三中, 将获取的显示对象的图像中两只眼睛的中点位置、 鼻子位置以及嘴巴位置中的任意两个位置确定为图像中设定目标的位置,并以 确定出的设定目标的位置为依据, 确定出终端屏幕的显示状态。
如图 5所示,本优选实施方式三中确定终端屏幕的显示状态的歩骤,包括: 歩骤 501、根据确定出的两个位置,确定两个位置的连线构成的第一矢量, 第一矢量的方向指向确定出的两个位置中位于面部下部的位置。
歩骤 502、确定第一矢量与平行于终端屏幕的长度方向的第二矢量之间沿 设定方向的第二夹角, 第二矢量的方向指向终端屏幕的上部。
歩骤 503、 确定第二夹角为用于表征图像在终端屏幕上的相对位置的参 数。
歩骤 504、 根据保存的参数范围与屏幕的显示状态的对应关系, 确定第二 夹角所在范围对应的屏幕的显示状态。
至此, 优选实施方式三确定终端屏幕的显示状态的流程结束。
图 5对应的优选实施方式三的歩骤 501中,如图 6所示,将两只眼睛的中 点位置、鼻子位置的连线构成指向上鼻子位置的第一矢量,在实际操作中,并 不局限于上述确定第一矢量的方式, 根据该歩骤 501的描述, 通过鼻子位置、 嘴巴位置的连线可以确定指向嘴巴位置的第一矢量,或者,根据两只眼睛的中 点位置、 嘴巴位置的连线可以确定指向嘴巴位置的第一矢量。 图 5对应的优选实施方式三的歩骤 502中, 如图 7所示, y轴为平行于终 端屏幕的长度方向的第二矢量, A对应第一矢量与第二矢量之间沿着逆时针方 向的第二夹角, 对应第一矢量与第二矢量之间沿着顺时针方向第二夹角, 具体选择哪个设定方向的夹角作为第二夹角, 可预先配置。
图 5对应流程包括的歩骤 504中,保存的参数范围与屏幕的显示状态的对 应关系, 可以如下:
在参数范围为大于等于 0且小于等于第五阈值,或者,在参数范围为大于 等于第六阈值且小于等于三百六十度的参数范围,保存的与该参数范围对应的 屏幕的显示状态为竖屏显示且所显示图像的方向为向上;其中,优选地,可以 设置该第五阈值为四十五度,但不局限于这一角度;优选地,可以设置该第六 阈值为三百一十五度, 但不局限于这一角度。 如图 8所示, 大于等于零且 小于等于第五阈值(图中取第五阈值为四十五度) 时, 显示对象的面部图像相 对于终端屏幕的位置的方向向上, 为方便显示对象阅览屏幕内容, 所在的 参数范围对应的屏幕的显示状态为竖屏显示且显示图像的方向向上;
在参数范围为大于等于第五阈值且小于等于第七阈值时,保存的与该参数 范围对应的屏幕显示状态为横屏显示且所显示图像的方向为向右;其中,第七 阈值大于第五阈值,并且优选地,可以设定第七阈值为一百三十五度,但不局 限于这一角度。 如图 9所示, 大于等于第五阈值 (图中取第五阈值为四十 五度值)且小于等于第七阈值(图中取第七阈值为一百三十五度) 时, 显示对 象的面部图像相对于终端的屏幕的位置的方向向右,为方便显示对象阅览屏幕 内容, 所在的参数范围对应的屏幕的显示状态为横屏显示且显示图像的方 向向右;
在参数范围为大于等于第七阈值且小于等于第八阈值时,保存的与该参数 范围对应的屏幕显示状态为竖屏显示且所显示图像的方向为向下;其中,第八 阈值大于第七阈值,并且优选地,可以设定第八阈值为二百二十五度,但不局 限于这一角度。 如图 10所示, 大于等于第七阈值 (图中取第七阈值为一百 三十五度)且小于等于第八阈值(图中取第八阈值为二百二十五度) 时, 显示 对象的面部图像相对于终端的屏幕的位置的方向向下,为方便显示对象阅览屏 幕内容, 所在的参数范围对应的屏幕的显示状态为竖屏显示且显示图像的 方向向下;
在参数范围为大于等于第八阈值且小于等于第六阈值时,保存的与该参数 范围对应的屏幕显示状态为横屏显示且所显示图像的方向为向左;其中,第六 阈值大于第八阈值。 如图 11所示, 大于等于第八阈值 (图中取第八阈值为 二百二十五度) 且小于等于第六阈值 (图中取第六阈值为三百一" h五度) 时, 显示对象的面部图像相对于终端的屏幕的位置的方向向左,为方便显示对象阅 览屏幕内容, 所在的参数范围对应的屏幕的显示状态为横屏显示且显示图 像的方向向左;
上述对应关系中, 第五阈值、 第七阈值、 第八阈值、 第六阈值依次增大; 所显示图像的方向为所述终端屏幕的显示对象的正视方向。
根据显示对象的图像在终端屏幕上的相对位置的参数,以及终端保存的上 述参数范围与屏幕的显示状态的对应关系,可以确定出的屏幕的显示状态为竖 屏显示且所显示图像的方向为向上, 或者横屏显示且所显示图像的方向为向 右,或者竖屏显示且所显示图像的方向为向下,或者横屏显示且所显示图像的 方向为向左。根据以上终端保存的四种屏幕的显示状态,可以准确的控制屏幕 的显示状态,使终端屏幕的显示状态的控制结果与终端屏幕实际应该显示给其 显示对象的显示状态一致,达到提高对屏幕的显示状态的控制结果的准确性的 目的。
根据本发明优选实施方式三,还提供了另外一种确定第二角度的方法,如 图 12所示, 该确定第二角度的方法, 主要包括:
歩骤 1201、 根据确定出的两个位置, 确定两个位置的连线构成的第三矢 量, 第三矢量的方向指向确定出的两个位置中位于面部上部的位置。 歩骤 1202、 确定第三矢量与平行于终端屏幕的长度方向的第四矢量之间 沿设定方向的第二夹角, 第四矢量的方向指向终端屏幕的下部。
至此, 确定第二夹角的流程结束。
本发明实施例二提供了一种控制终端屏幕的显示状态的装置,该装置可以 应用于终端, 例如, 手机。
图 13为本发明实施例三提供的控制终端屏幕的显示状态的装置的结构示 意图, 如图 13所示, 该控制终端屏幕的显示状态的装置, 主要包括:
图像获取单元 1301、 参数确定单元 1302、 对应关系保存单元 1303、 屏幕 显示状态确定单元 1304以及屏幕显示状态控制单元 1305 ;
其中:
图像获取单元 1301 , 用于获取终端屏幕的显示对象的图像;
参数确定单元 1302 ,用于根据图像获取单元 1301获取的所述终端屏幕的 显示对象的图像, 确定用于表征图像在终端屏幕上的相对位置的参数;
对应关系保存单元 1303 ,用于保存参数范围与屏幕显示状态的对应关系; 屏幕显示状态确定单元 1304 ,用于根据对应关系保存单元 1303保存的参 数范围与屏幕显示状态的对应关系, 确定与参数确定单元 1302确定出的表征 图像在终端屏幕上的相对位置的参数所在范围对应的屏幕显示状态;
屏幕显示状态控制单元 1305 ,用于根据屏幕显示状态确定单元 1304确定 出的屏幕显示状态控制终端屏幕。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的屏幕 显示状态控制单元 1305, 具体用于确定获取图像时终端屏幕的屏幕显示状态 与确定出的屏幕显示状态是否一致;若否,控制终端屏幕的显示状态切换为确 定出的屏幕显示状态; 若是, 控制终端屏幕的显示状态不变。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的参数 确定单元 1302 ,具体用于在图像获取单元 1301获取的图像中包括多个显示对 象时,确定图像中包括的多个显示对象中占据图像面积最大的显示对象对应的 图像;确定用于表征所述占据所述图像面积最大的显示对象对应的图像在所述 终端屏幕上的相对位置的参数。
如图 13所示,本发明实施例二提供的一个优选实施方式中,图 13所示装 置包括的图像获取单元 1301 ,还用于在获取终端屏幕的显示对象的图像之前, 接收到通过终端的重力感应模块确定出的需要切换屏幕显示状态的指示。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的参数 确定单元 1302 , 具体用于在图像获取单元 1301获取的图像包括人脸图像时, 确定人脸图像与终端屏幕之间的夹角。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的参数 确定单元 1302, 具体用于确定人脸图像中设定目标的位置; 根据设定目标的 位置, 确定人脸图像与终端屏幕之间的夹角。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的参数 确定单元 1302 , 具体用于确定人脸图像中两只眼睛的位置; 并根据两只眼睛 的位置,确定两只眼睛连线所在的第一直线;确定第一直线与平行于终端屏幕 的宽度方向的第二直线之间的第一夹角;确定第一夹角为人脸图像与终端屏幕 之间的夹角。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的参数 确定单元 1302 , 具体用于确定人脸图像中两只眼睛的中点位置、 鼻子位置以 及嘴巴位置中的任意两个位置;并根据确定出的两个位置,确定两个位置连线 所在的第三直线;确定第三直线与平行于终端屏幕的长度方向的第四直线之间 的第一夹角; 确定第一夹角为人脸图像与终端屏幕之间的夹角。 本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的对应 关系保存单元 1303 , 具体用于在确定出的第一夹角为小于等于九十度的夹角 时,在参数范围为大于等于零且小于等于第一阈值时,保存的与该参数范围对 应的屏幕显示状态为竖屏显示;在参数范围为大于等于第二阈值且小于等于九 十度时,保存的与该参数范围对应的屏幕的显示状态为横屏显示;其中,第一 阈值小于第二阈值。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的对应 关系保存单元 1303, 具体用于在确定出的第一夹角为第一直线与第二直线之 间大于等于九十度的夹角时,在参数范围为大于等于九十度且小于等于第三阈 值时,保存的与该参数范围对应的屏幕显示状态为横屏显示;在参数范围为大 于等于第四阈值且小于等于一百八十度时,保存的与该参数范围对应的屏幕的 显示状态为竖屏显示; 其中, 第三阈值小于第四阈值。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的参数 确定单元 1302 , 具体用于确定人脸图像中两只眼睛的中点位置、 鼻子位置以 及嘴巴位置中的任意两个位置;并根据确定出的两个位置,确定两个位置的连 线构成的第一矢量,第一矢量的方向指向确定出的两个位置中位于面部下部的 位置;确定第一矢量与平行于终端屏幕的长度方向的第二矢量之间沿设定方向 的第二夹角为人脸图像与终端屏幕之间的夹角,第二矢量的方向指向终端屏幕 的上部; 或, 根据确定出的两个位置, 确定两个位置的连线构成的第三矢量, 第三矢量的方向指向确定出的两个位置中位于面部上部的位置;确定第三矢量 与平行于终端屏幕的长度方向的第四矢量之间沿设定方向的第二夹角为人脸 图像与终端屏幕之间的夹角, 第四矢量的方向指向终端屏幕的下部。
本发明实施例二提供的一个优选实施方式中, 图 13所示装置包括的对应 关系保存单元 1303 , 具体用于在参数范围为大于等于 0且小于等于第五阈值 时,或者,在参数范围为大于等于第六阈值且小于等于三百六十度时,保存的 与该参数范围对应的屏幕显示状态为竖屏显示且所显示图像的方向为向上;在 参数范围为大于等于第五阈值且小于等于第七阈值时,保存的与该参数范围对 应的屏幕显示状态为横屏显示且所显示图像的方向为向右;在参数范围为大于 等于第七阈值且小于等于第八阈值时,保存的与该参数范围对应的屏幕显示状 态为竖屏显示且所显示图像的方向为向下;在参数范围为大于等于第八阈值且 小于等于第六阈值时,保存的与该参数范围对应的屏幕显示状态为横屏显示且 所显示图像的方向为向左; 其中, 第五阈值、 第七阈值、 第八阈值、 第六阈值 依次增大。
应当理解,以上控制终端屏幕的显示状态的装置仅为根据该终端实现的功 能进行的逻辑划分, 实际应用中,可以进行上述单元的叠加或拆分。并且该实 施例提供的装置所实现的功能与上述实施例提供的控制终端屏幕的显示状态 的方法流程一一对应,对于该终端所实现的更为详细的处理流程,在上述方法 实施例中已做详细描述, 此处不再详细描述。
并且,本实施例二中的控制终端屏幕的显示状态的装置还具有能够实现实 施例一的功能模块, 此处不再赘述。
通过本发明实施例提供的上述至少一个技术方案,参数确定单元根据图像 获取单元获取的显示对象的图像,确定出用于表征图像在终端屏幕上的相对位 置的参数,然后,屏幕显示状态确定单元根据对应关系保存单元保存的参数范 围与屏幕的显示状态的对应关系,确定出参数确定单元确定出的相对位置的参 数所在参数范围对应的屏幕的显示状态,屏幕显示状态控制单元根据确定出的 屏幕的显示状态与获取图像时终端屏幕的屏幕的显示状态,控制终端屏幕的显 示状态与终端屏幕实际应该显示给其显示对象的显示状态一致,提高对屏幕的 显示状态的控制结果的准确性。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基 本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要 求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发 明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及 其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。

Claims

权 利 要 求
1、 一种控制终端屏幕的显示状态的方法, 其特征在于, 包括:
获取终端屏幕的显示对象的图像,并确定用于表征所述图像在所述终端屏 幕上的相对位置的参数;
根据保存的参数范围与屏幕显示状态的对应关系,确定与所述表征所述图 像在所述终端屏幕上的相对位置的参数所在范围对应的屏幕显示状态; 并
根据确定出的屏幕显示状态控制所述终端屏幕的显示状态。
2、 如权利要求 1所述的方法, 其特征在于, 根据确定出的屏幕显示状态 控制所述终端屏幕的显示状态, 包括:
判断获取所述图像时所述终端屏幕的屏幕显示状态与确定出的所述屏幕 显示状态是否一致;
若否, 控制所述终端屏幕的显示状态切换为确定出的所述屏幕显示状态; 若是, 控制所述终端屏幕的显示状态不变。
3、 如权利要求 1所述的方法, 其特征在于, 获取的所述图像中包括多个 显示对象;
所述确定用于表征所述图像在所述终端屏幕上的相对位置的参数, 包括: 确定所述图像中包括的多个显示对象中占据所述图像面积最大的显示对 象对应的图像;
确定用于表征所述占据所述图像面积最大的显示对象对应的图像在所述 终端屏幕上的相对位置的参数。
4、 如权利要求 1-3任一项所述的方法, 其特征在于, 获取终端屏幕的显 示对象的图像之前, 还包括:
接收到通过所述终端的重力感应模块确定出的切换屏幕显示状态的指示。
5、 如权利要求 1所述的方法, 其特征在于, 获取的所述图像包括人脸图 像; 所述用于表征所述图像在所述终端屏幕上的相对位置的参数, 包括: 所述人脸图像与所述终端屏幕之间的夹角。
6、 如权利要求 5所述的方法, 其特征在于, 确定用于表征所述图像在所 述终端屏幕上的相对位置的参数, 包括:
确定所述人脸图像中设定目标的位置;
根据所述设定目标的位置, 确定所述人脸图像与所述终端屏幕之间的夹 角。
7、 如权利要求 6所述的方法, 其特征在于, 所述确定所述人脸图像中设 定目标的位置, 包括:
确定所述人脸图像中两只眼睛的位置;
根据所述设定目标的位置, 确定所述人脸图像与所述终端屏幕之间的夹 角, 包括:
根据所述两只眼睛的位置, 确定所述两只眼睛连线所在的第一直线; 确定所述第一直线与平行于所述终端屏幕的宽度方向的第二直线之间的 第一夹角;
确定所述第一夹角为所述人脸图像与所述终端屏幕之间的夹角。
8、 如权利要求 6所述的方法, 其特征在于, 所述确定所述人脸图像中设 定目标的位置, 包括:
确定所述人脸图像中两只眼睛的中点位置、鼻子位置以及嘴巴位置中的任 意两个位置;
根据所述设定目标的位置, 确定所述人脸图像与所述终端屏幕之间的夹 角, 包括:
根据确定出的两个位置, 确定所述两个位置连线所在的第三直线; 确定所述第三直线与平行于所述终端屏幕的长度方向的第四直线之间的 第一夹角; 确定所述第一夹角为所述人脸图像与所述终端屏幕之间的夹角。
9、 如权利要求 7或 8所述的方法, 其特征在于, 所述第一夹角为小于等 于九十度的夹角时,保存的参数范围与屏幕显示状态的对应关系的方式,包括: 在参数范围为大于等于零且小于等于第一阈值时,保存的与该参数范围对 应的屏幕显示状态为竖屏显示;
在参数范围为大于等于第二阈值且小于等于九十度时,保存的与该参数范 围对应的屏幕的显示状态为横屏显示;
其中, 所述第一阈值小于所述第二阈值。
10、如权利要求 8所述的方法,其特征在于,所述第一夹角为所述第一直 线与所述第二直线之间大于等于九十度的夹角时,保存的参数范围与屏幕显示 状态的对应关系的方式, 包括:
在参数范围为大于等于九十度且小于等于第三阈值时,保存的与该参数范 围对应的屏幕显示状态为横屏显示;
在参数范围为大于等于第四阈值且小于等于一百八十度时,保存的与该参 数范围对应的屏幕的显示状态为竖屏显示;
其中, 所述第三阈值小于所述第四阈值。
11、如权利要求 6所述的方法,其特征在于,所述确定所述人脸图像中设 定目标的位置, 包括:
确定所述人脸图像中两只眼睛的中点位置、鼻子位置以及嘴巴位置中的任 意两个位置;
根据所述设定目标的位置, 确定所述人脸图像与所述终端屏幕之间的夹 角, 包括:
根据确定出的两个位置,确定所述两个位置的连线构成的第一矢量,所述 第一矢量的方向指向确定出的两个位置中位于面部下部的位置;确定所述第一 矢量与平行于所述终端屏幕的长度方向的第二矢量之间沿设定方向的第二夹 角为所述人脸图像与所述终端屏幕之间的夹角,所述第二矢量的方向指向所述 终端屏幕的上部; 或
根据确定出的两个位置,确定所述两个位置的连线构成的第三矢量,所述 第三矢量的方向指向确定出的两个位置中位于面部上部的位置;确定所述第三 矢量与平行于所述终端屏幕的长度方向的第四矢量之间沿设定方向的第二夹 角为所述人脸图像与所述终端屏幕之间的夹角,所述第四矢量的方向指向所述 终端屏幕的下部。
12、 如权利要求 11所述的方法, 其特征在于, 保存的参数范围与屏幕显 示状态的对应关系的方式, 包括:
在参数范围为大于等于 0且小于等于第五阈值时,或者,在参数范围为大 于等于第六阈值且小于等于三百六十度时,保存的与该参数范围对应的屏幕显 示状态为竖屏显示且所显示图像的方向为向上;
在参数范围为大于等于所述第五阈值且小于等于第七阈值时,保存的与该 参数范围对应的屏幕显示状态为横屏显示且所显示图像的方向为向右;
在参数范围为大于等于所述第七阈值且小于等于第八阈值时,保存的与该 参数范围对应的屏幕显示状态为竖屏显示且所显示图像的方向为向下;
在参数范围为大于等于所述第八阈值且小于等于所述第六阈值时,保存的 与该参数范围对应的屏幕显示状态为横屏显示且所显示图像的方向为向左; 其中,所述第五阈值、所述第七阈值、所述第八阈值、所述第六阈值依次 增大; 所显示图像的方向为所述终端屏幕的显示对象的正视方向。
13、 一种控制终端屏幕的显示状态的装置, 其特征在于, 包括: 图像获取单元, 用于获取终端屏幕的显示对象的图像;
参数确定单元,用于根据所述图像获取单元获取的所述终端屏幕的显示对 象的图像, 确定用于表征所述图像在所述终端屏幕上的相对位置的参数; 对应关系保存单元, 用于保存参数范围与屏幕显示状态的对应关系; 屏幕显示状态确定单元,用于根据所述对应关系保存单元保存的参数范围 与屏幕显示状态的对应关系,确定与所述参数确定单元确定出的表征所述图像 在所述终端屏幕上的相对位置的参数所在范围对应的屏幕显示状态;
屏幕显示状态控制单元,用于根据所述屏幕显示状态确定单元确定出的屏 幕显示状态控制所述终端屏幕的显示状态。
14、 如权利要求 13所述的装置, 其特征在于, 所述屏幕显示状态控制单 元,具体用于判断获取所述图像时所述终端屏幕的屏幕显示状态与确定出的所 述屏幕显示状态是否一致;若否,控制所述终端屏幕的显示状态切换为确定出 的所述屏幕显示状态; 若是, 控制所述终端屏幕的显示状态不变。
15、 如权利要求 13所述的装置, 其特征在于, 所述参数确定单元, 具体 用于在所述图像获取单元获取的所述图像中包括多个显示对象时,确定所述图 像中包括的多个显示对象中占据所述图像面积最大的显示对象对应的图像,并 确定用于表征所述占据所述图像面积最大的显示对象对应的图像在所述终端 屏幕上的相对位置的参数。
16、 如权利要求 13-15任一项所述的装置, 其特征在于,所述图像获取单 元,还用于在获取终端屏幕的显示对象的图像之前,接收到通过所述终端的重 力感应模块确定出的切换屏幕显示状态的指示。
17、 如权利要求 13所述的装置, 其特征在于, 所述参数确定单元, 具体 用于在所述图像获取单元获取的所述图像包括人脸图像时,确定所述人脸图像 与所述终端屏幕之间的夹角。
18、 如权利要求 17所述的装置, 其特征在于, 所述参数确定单元, 具体 用于确定所述人脸图像中设定目标的位置;根据所述设定目标的位置,确定所 述人脸图像与所述终端屏幕之间的夹角。
19、 如权利要求 18所述的装置, 其特征在于, 所述参数确定单元, 具体 用于确定所述人脸图像中两只眼睛的位置;并根据所述两只眼睛的位置,确定 所述两只眼睛连线所在的第一直线;确定所述第一直线与平行于所述终端屏幕 的宽度方向的第二直线之间的第一夹角;确定所述第一夹角为所述人脸图像与 所述终端屏幕之间的夹角。
20、 如权利要求 18所述的装置, 其特征在于, 所述参数确定单元, 具体 用于确定所述人脸图像中两只眼睛的中点位置、鼻子位置以及嘴巴位置中的任 意两个位置;并据确定出的两个位置,确定所述两个位置连线所在的第三直线; 确定所述第三直线与平行于所述终端屏幕的长度方向的第四直线之间的第一 夹角; 确定所述第一夹角为所述人脸图像与所述终端屏幕之间的夹角。
21、如权利要求 19或 20所述的装置,其特征在于,所述对应关系保存单 元,具体用于在确定出的所述第一夹角为小于等于九十度的夹角时,在参数范 围为大于等于零且小于等于第一阈值时,保存的与该参数范围对应的屏幕显示 状态为竖屏显示;在参数范围为大于等于第二阈值且小于等于九十度时,保存 的与该参数范围对应的屏幕的显示状态为横屏显示;其中,所述第一阈值小于 所述第二阈值。
22、 如权利要求 20所述的装置, 其特征在于, 所述对应关系保存单元, 具体用于在确定出的所述第一夹角为所述第一直线与所述第二直线之间大于 等于九十度的夹角时, 在参数范围为大于等于九十度且小于等于第三阈值时, 保存的与该参数范围对应的屏幕显示状态为横屏显示;在参数范围为大于等于 第四阈值且小于等于一百八十度时,保存的与该参数范围对应的屏幕的显示状 态为竖屏显示; 其中, 所述第三阈值小于所述第四阈值。
23、 如权利要求 18所述的装置, 其特征在于, 所述参数确定单元, 具体 用于确定所述人脸图像中两只眼睛的中点位置、鼻子位置以及嘴巴位置中的任 意两个位置;并根据确定出的两个位置,确定所述两个位置的连线构成的第一 矢量,所述第一矢量的方向指向确定出的两个位置中位于面部下部的位置;确 定所述第一矢量与平行于所述终端屏幕的长度方向的第二矢量之间沿设定方 向的第二夹角为所述人脸图像与所述终端屏幕之间的夹角,所述第二矢量的方 向指向所述终端屏幕的上部;或,根据确定出的两个位置,确定所述两个位置 的连线构成的第三矢量,所述第三矢量的方向指向确定出的两个位置中位于面 部上部的位置;确定所述第三矢量与平行于所述终端屏幕的长度方向的第四矢 量之间沿设定方向的第二夹角为所述人脸图像与所述终端屏幕之间的夹角,所 述第四矢量的方向指向所述终端屏幕的下部。
24、 如权利要求 23所述的装置, 其特征在于, 所述对应关系保存单元, 具体用于在参数范围为大于等于 0且小于等于第五阈值时,或者,在参数范围 为大于等于第六阈值且小于等于三百六十度时,保存的与该参数范围对应的屏 幕显示状态为竖屏显示且所显示图像的方向为向上;在参数范围为大于等于所 述第五阈值且小于等于第七阈值时,保存的与该参数范围对应的屏幕显示状态 为横屏显示且所显示图像的方向为向右;在参数范围为大于等于所述第七阈值 且小于等于第八阈值时,保存的与该参数范围对应的屏幕显示状态为竖屏显示 且所显示图像的方向为向下;在参数范围为大于等于所述第八阈值且小于等于 所述第六阈值时,保存的与该参数范围对应的屏幕显示状态为横屏显示且所显 示图像的方向为向左; 其中, 所述第五阈值、 所述第七阈值、 所述第八阈值、 所述第六阈值依次增大;所显示图像的方向为所述终端屏幕的显示对象的正视 方向。
PCT/CN2012/078937 2011-08-01 2012-07-20 一种控制终端屏幕的显示状态的方法及装置 WO2013017023A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110218739.6 2011-08-01
CN201110218739.6A CN102915188B (zh) 2011-08-01 2011-08-01 一种控制终端屏幕的显示状态的方法及装置

Publications (1)

Publication Number Publication Date
WO2013017023A1 true WO2013017023A1 (zh) 2013-02-07

Family

ID=47613572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078937 WO2013017023A1 (zh) 2011-08-01 2012-07-20 一种控制终端屏幕的显示状态的方法及装置

Country Status (2)

Country Link
CN (1) CN102915188B (zh)
WO (1) WO2013017023A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571474A (zh) * 2013-10-17 2015-04-29 中国移动通信集团公司 一种对终端屏幕显示内容进行自适应调整的方法和装置

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179278B (zh) * 2013-03-21 2015-05-13 广东欧珀移动通信有限公司 一种控制屏幕旋转的方法和装置
CN104122983A (zh) * 2013-04-27 2014-10-29 中国移动通信集团公司 一种屏幕显示方向调整方法及装置
CN103702032B (zh) * 2013-12-31 2017-04-12 华为技术有限公司 图像处理方法、装置和终端设备
CN106161916B (zh) * 2015-04-08 2019-10-29 联想(北京)有限公司 一种图像采集方法及电子设备
CN105573691A (zh) * 2015-05-28 2016-05-11 宇龙计算机通信科技(深圳)有限公司 一种用户终端显示屏参数的调整方法及用户终端
CN105511861A (zh) * 2015-11-30 2016-04-20 周奇 移动终端的显示控制方法及装置
CN106060126B (zh) * 2016-05-24 2019-03-19 众安在线财产保险股份有限公司 一种智能设备屏幕状态的远程自动识别方法和系统
CN106201271A (zh) * 2016-07-15 2016-12-07 乐视控股(北京)有限公司 横竖屏切换控制方法及装置
CN107483709A (zh) * 2016-09-29 2017-12-15 维沃移动通信有限公司 一种横竖屏切换方法及移动终端
CN106648056A (zh) * 2016-09-30 2017-05-10 宇龙计算机通信科技(深圳)有限公司 一种切换移动终端横竖屏显示的方法及装置
CN106973228B (zh) * 2017-03-31 2020-02-21 联想(北京)有限公司 一种拍摄方法及电子设备
WO2018214035A1 (zh) * 2017-05-23 2018-11-29 华为技术有限公司 一种多媒体文件的处理方法和装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527137A (zh) * 2008-03-06 2009-09-09 海尔集团公司 屏幕显示的调整方法及装置
CN102122231A (zh) * 2011-03-11 2011-07-13 华为终端有限公司 屏幕显示方法及移动终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3733322B2 (ja) * 2001-11-21 2006-01-11 キヤノン株式会社 マルチモーダル文書受信装置及びマルチモーダル文書送信装置、マルチモーダル文書送受信システム及びそれらの制御方法、プログラム
CN101794193A (zh) * 2010-02-23 2010-08-04 华为终端有限公司 画面控制方法及电子设备

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527137A (zh) * 2008-03-06 2009-09-09 海尔集团公司 屏幕显示的调整方法及装置
CN102122231A (zh) * 2011-03-11 2011-07-13 华为终端有限公司 屏幕显示方法及移动终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571474A (zh) * 2013-10-17 2015-04-29 中国移动通信集团公司 一种对终端屏幕显示内容进行自适应调整的方法和装置

Also Published As

Publication number Publication date
CN102915188B (zh) 2015-07-29
CN102915188A (zh) 2013-02-06

Similar Documents

Publication Publication Date Title
WO2013017023A1 (zh) 一种控制终端屏幕的显示状态的方法及装置
JP5857257B2 (ja) 表示装置及び表示方向切替方法
CN104471519B (zh) 移动终端中呈现全景照片的方法和装置、以及移动终端
CN106534665B (zh) 图像显示装置、图像显示方法以及存储介质
KR101085680B1 (ko) 모바일 장치 및 이를 이용한 증강 현실 구현 방법
CN106970697B (zh) 界面交互装置及方法
CN107391060A (zh) 图像显示方法、装置、系统及设备、可读介质
CN108366163B (zh) 相机应用的控制方法、装置、移动终端及计算机可读介质
US9259645B2 (en) Storage medium having stored therein an image generation program, image generation method, image generation apparatus and image generation system
KR20150124371A (ko) 이미지 표시 방법, 장치, 프로그램 및 기록매체
CN109886208B (zh) 物体检测的方法、装置、计算机设备及存储介质
WO2016011649A1 (zh) 终端设备屏幕显示模式的切换方法、装置及终端设备
JP2018180051A (ja) 電子機器及びその制御方法
EP3806443A1 (en) Tracking photographing method and apparatus, and storage medium
CN105718232A (zh) 一种任意角平面旋转显示方法及显示装置
CN108134903B (zh) 拍摄方法及相关产品
KR20210064378A (ko) 관점 회전 방법 및 장치, 디바이스 및 저장 매체
WO2017005070A1 (zh) 显示控制方法及装置
CN113384880A (zh) 虚拟场景显示方法、装置、计算机设备及存储介质
WO2014154006A1 (zh) 一种展现移动终端拍摄的图像的方法及装置
EP3349095A1 (en) Method, device, and terminal for displaying panoramic visual content
CN111127541B (zh) 车辆尺寸的确定方法、装置及存储介质
CN104378576B (zh) 一种信息处理方法及电子设备
CN105744142B (zh) 一种图像采集方法及电子设备
KR102278229B1 (ko) 전자기기 및 그 제어 방법

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: 12819792

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: 12819792

Country of ref document: EP

Kind code of ref document: A1