CN111221409A - Information display method, information display device, electronic equipment and storage medium - Google Patents

Information display method, information display device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111221409A
CN111221409A CN201911101065.4A CN201911101065A CN111221409A CN 111221409 A CN111221409 A CN 111221409A CN 201911101065 A CN201911101065 A CN 201911101065A CN 111221409 A CN111221409 A CN 111221409A
Authority
CN
China
Prior art keywords
display interface
information
target
display
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911101065.4A
Other languages
Chinese (zh)
Inventor
胡方涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911101065.4A priority Critical patent/CN111221409A/en
Publication of CN111221409A publication Critical patent/CN111221409A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • 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/1601Constructional details related to the housing of computer displays, e.g. of CRT monitors, of flat displays

Landscapes

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

Abstract

The embodiment of the invention discloses an information display method, an information display device, electronic equipment and a storage medium, wherein the information display method comprises the following steps: determining a visual angle of a user for watching target information on a display interface by eyes and a visual distance from the eyes to the display interface, wherein the visual angle comprises an included angle between a sight line of the eyes and the horizontal direction and an included angle between the display interface and the vertical direction; determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance; and adjusting the display mode of the target information on the display interface according to the target area. By utilizing the embodiment of the invention, the displayed information can be prevented from being manually adjusted by a user, so that the user can more conveniently operate the displayed information.

Description

Information display method, information display device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of electronic equipment, in particular to an information display method and device.
Background
With the development of technology, electronic devices have more and more functions, including functions of displaying various information (such as pictures and various types of documents). When displaying information, the user can manually adjust the displayed information according to the intention of the user. For example, a single panoramic image is displayed, and since the user cannot clearly see the area a in the panoramic image, the user manually displays the area a in an enlarged manner. After the enlarged display, if the user needs to view the image as a whole, the user is required to manually perform the reduced display. Alternatively, after zooming in the display, if the user views the area B that is not displayed, the user is required to manually drag the picture to display the area B.
However, in the conventional scheme, the user needs to manually adjust the information displayed on the display interface, and the operation of the user is troublesome.
Disclosure of Invention
The embodiment of the invention provides an information display method and device, and aims to solve the problem that a user is inconvenient to operate because the user needs to manually adjust information displayed on a display interface.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information display method, which is applied to an electronic device, and the method includes:
determining a visual angle of a user for watching target information on a display interface by eyes and a visual distance from the eyes to the display interface, wherein the visual angle comprises an included angle between a sight line of the eyes and the horizontal direction and an included angle between the display interface and the vertical direction;
determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance;
and adjusting the display mode of the target information on the display interface according to the target area.
In a second aspect, an embodiment of the present invention provides an information display apparatus, applied to an electronic device, where the apparatus includes:
the visual line information determining module is used for determining a visual angle of a user's eyes for watching target information on a display interface and a visual distance from the eyes to the display interface, wherein the visual angle comprises an included angle between the visual line of the eyes and the horizontal direction and an included angle between the display interface and the vertical direction;
the area determination module is used for determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance;
and the information display adjusting module is used for adjusting the display mode of the target information on the display interface according to the target area.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the information display method.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the information display method.
In the embodiment of the invention, the operation intention of the user on the displayed information can be determined by determining the visual angle of the user for watching the target information on the display interface and the visual distance from the eyes to the display interface, so that the display mode of the information on the display interface is adjusted. Therefore, according to the embodiment of the invention, the display mode of the information can be automatically adjusted by watching the information by the user without manual adjustment of the user, so that the operation of the user is very convenient, and the operability of the user is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
FIG. 1 shows a flow diagram of an information display method of one embodiment of the invention;
FIG. 2 illustrates a schematic view of a user's eyes viewing information on a display interface according to one embodiment of the invention;
FIG. 3 is a schematic diagram illustrating a change in a target area on a display interface according to one embodiment of the invention;
FIG. 4 illustrates a schematic diagram of determining a target area in accordance with an embodiment of the present invention;
FIG. 5 shows a flow diagram of an information display method of another embodiment of the invention;
fig. 6 is a schematic structural view showing an information display device according to an embodiment of the present invention;
fig. 7 shows a hardware configuration diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a flowchart of an information display method according to an embodiment of the present invention. The information display method is applied to the electronic equipment, and as shown in fig. 1, the information display method comprises the following steps:
s102, determining a visual angle of the user for watching the target information on the display interface and a visual distance from the eyes to the display interface, wherein the visual angle comprises an included angle between the sight line of the eyes and the horizontal direction and an included angle between the display interface and the vertical direction.
The information on the display interface can be information in the form of pictures, characters, tables and the like.
referring to fig. 2, when the user looks at the information on the display interface with eyes, the visual angle of the eyes includes an angle α between the line of sight of the eyes and the horizontal direction and an angle β between the display interface and the vertical direction, and the visual distance from the eyes to the display interface is a vertical distance l from the eyes to the display interface.
And S104, determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance.
And S106, adjusting the display mode of the target information on the display interface according to the target area.
In the embodiment of the invention, the operation intention of the user on the displayed information can be obtained by determining the visual angle of the user for watching the target information on the display interface and the visual distance from the eyes to the display interface, so that the display mode of the information on the display interface is adjusted. Therefore, according to the embodiment of the invention, the display mode of the information can be automatically adjusted by watching the information by the user without manual adjustment of the user, so that the operation of the user is very convenient, and the operability of the user is improved. And the hands of the user are also liberated, and when the hands of the user are inconvenient to operate, the displayed information can still be adjusted.
In one embodiment of the present invention, S106 includes:
amplifying or reducing target information displayed on a display interface; and/or adjusting the display position of the target information on the display interface so that the center point of the target area is located at the center point of the display interface.
The target information displayed on the display interface can be subjected to one of the following operations: zooming in, zooming out, adjusting the display position, zooming in and adjusting the display position, and zooming out and adjusting the display position.
The method for amplifying or reducing the target information displayed on the display interface comprises the following steps: and amplifying or reducing the target information displayed on the display interface to a preset proportion occupying the total area of the display interface. For example, the target information displayed on the display interface is enlarged or reduced to 1/2 of the total area occupied by the display interface, or the target information displayed on the display interface is enlarged or reduced to 2/3 of the total area occupied by the display interface. Under the condition, the displayed target information is amplified or reduced to a proper size, and the target information is prevented from being displayed too small or too large, so that the size of the displayed target information is adjusted to be in line with the habit of the user, and the user experience is better.
Adjusting the display position of the target information on the display interface, comprising: and adjusting the central point of the target area to the central point of the display interface, wherein the central point is the intersection point of two diagonal lines of the display interface. Since the user is usually focused on the center point of the display interface when viewing the display interface. Therefore, the center point of the target area is adjusted to the center point of the display interface, so that the target information is displayed at a proper position, and the user experience is better. In the embodiment of the invention, the displayed information can be amplified, so that a user can conveniently check the local part of the information. The displayed information can be reduced, so that the user can conveniently view the information on the whole. The display position can be adjusted to the central point of the display interface, so that the user can conveniently check the display position.
In one embodiment of the present invention, the enlarging or reducing the information displayed on the display interface includes:
under the condition that the proportion of the area of the target area to the total area of the display interface is smaller than a first preset threshold value, amplifying the information of the target area on the display interface; and under the condition that the proportion of the area of the target area to the total area of the display interface is greater than a second preset threshold value, reducing the information of the target area on the display interface.
As one example, the target area is a target area on which the eyes of the user are focused at a plurality of times, respectively. Here, since the eyes of the user focus on one target area at each time, a plurality of target areas are shared at a plurality of times.
The method for amplifying the information of the target area on the display interface comprises the following steps:
calculating the distance between the central points of the target area at every two adjacent moments to obtain a plurality of distances between the central points;
and in the case that the sum of the distances of the plurality of central points is smaller than a third preset threshold value, amplifying the information of the target area on the display interface.
For example, the eyes of the user are photographed to obtain a multi-frame picture including the eyes of the user, the visual distance of the eyes of the user can be obtained according to each frame picture, and then the target area is obtained, that is, one target area can be obtained according to each frame picture, and then a plurality of target areas where the eyes of the user focus respectively at a plurality of moments can be obtained according to the multi-frame picture.
And calculating the central point distances of the target area at every two adjacent moments to obtain a plurality of central point distances in total. And if the sum of the distances of the central points is less than a third preset threshold, which indicates that the target area of the eyes of the user does not change too much within a period of time, namely the eyes of the user focus on one area on the display interface within a period of time, the information of the target area is amplified, so that the information of the target area can be conveniently seen clearly by the user. Wherein the information of the target area obtained from the last frame of picture can be enlarged.
In the embodiment of the present invention, when the ratio of the area of the target region to the total area of the display interface is smaller than a first predetermined threshold (for example, the first predetermined threshold is 0.1), it indicates that the target region of the user's eyes on the display interface is smaller, and other regions displayed on the display interface except the target region are not focused by the user, so that the information of the target region can be enlarged, and the user can see the information of the target region clearly.
Under the condition that the ratio of the area of the target area to the total area of the display interface is greater than a second predetermined threshold (for example, the second predetermined threshold is 0.75), it is indicated that the target area of the user's eyes on the display interface is relatively large, the information on the display interface is reduced, so that more information is displayed on the display interface, the user can conveniently view more contents, and the user can conveniently view the information on the whole.
In one embodiment of the present invention, S102 includes:
acquiring a picture including eyes; and performing convolution operation on the characteristics of the picture by utilizing a convolution kernel in the convolution neural network to obtain a visual angle.
For example, the input of the convolutional neural network is a picture of the region where the eyes are located, the output is two visual angles, and the input picture is subjected to a series of convolution operations to extract features
Figure BDA0002269883470000061
Wherein Z isl(l ═ 0, 1.., n) denotes a feature obtained by the first layer convolution of the picture, WlAnd (l ═ 0, 1., n) represents a convolution kernel of the l-th layer, namely, the feature map of the current layer and the convolution kernel are subjected to convolution operation to obtain the feature map of the next layer, the operation is continuously carried out to finally obtain two output visual angles, and parameters in the convolution operation are obtained in the pre-training process.
In an embodiment of the present invention, in a case where the picture is a multi-frame picture and a plurality of target regions are determined, adjusting a display position of information on the display interface so that a center point of the target region is located at a center point of the display interface includes:
under the condition that the central points of the target areas change to the same direction and are not in the central area of the display interface, adjusting the display position to enable the central points of the target areas to be located in the central area; wherein the target area is a target area determined by the last frame of picture.
For example, 4 frames of face pictures are acquired, a target area of the eyes of the user on the display interface is determined according to each frame of picture, and 4 target areas are determined in total. As shown in fig. 3, the center points of the 4 target areas sequentially move to the right on the display interface, which indicates that the positions of the user's eyes gazing on the display interface continuously move to the right. Moreover, the central point of the target area determined by the last frame of picture is in the right 1/3 area of the display interface, namely the central point of the target area is not in the central area of the display interface, so that the central point of the target area determined by the last frame of picture is moved to the central area of the display interface, namely, the information watched by the eyes of the user is moved to the center of the display interface, and the user can conveniently view the information.
In one embodiment of the present invention, determining a target area of an eye on a display interface according to a viewing angle and a viewing distance includes:
calculating a focus point of the eyes on the display interface according to the visual angle and the visual distance; and determining a target area according to the focusing point.
In one embodiment of the present invention, determining a target region from a focus point comprises:
referring to diagram (a) in fig. 4, in the case where the focus points include two focus points of both eyes, a line segment connecting the two focus points is determined to determine a circle having the line segment as a diameter; the region surrounded by the circle is set as a target region.
Referring to diagram (b) in fig. 4, in the case where the focus point includes a focus point of a single eye, a circle having a predetermined length as a radius and a center of the focus point is determined; the region surrounded by the circle is set as a target region.
Fig. 5 is a flowchart illustrating an information display method according to another embodiment of the present invention. As shown in fig. 5, the information display method includes:
s202, displaying the photo on the display interface, and shooting a human face picture for watching the photo.
S204, obtaining the picture of the area where each eye is located in the face picture through face detection.
S206, eye catch detection is carried out according to the picture of the area where each eye is located, and the visual angle of each eye for watching the picture on the display interface is determined, wherein the visual angle comprises an included angle β between the sight line of each eye and the horizontal direction and an included angle beta between the display interface and the vertical direction.
And S208, detecting the visual distance l between the eyes of the user and the display interface through the distance sensor.
S210, determining a focus point of each eye of the user on the display interface through the visual angle and the visual distance.
according to an included angle β between the sight line of the eyes and the horizontal direction, an included angle beta between the display interface and the vertical direction and the sight distance l, the central point of the display interface is used as the origin of coordinates, and the coordinates of the focus point of the eyes on the display interface are calculated as follows:
(x,y)=(l·tanα·cosβ,l·tanα·sinβ) (1)
the coordinates of the focus point of each eye can be calculated by using the above formula, so that the coordinates of the focus points of the left and right eyes are calculated to be (x)1,y1) And (x)2,y2)。
S212, determining a target area according to the focusing points of the two eyes, wherein the target area is a circle, and the diameter of the circle is a line formed by connecting the focusing points of the two eyes.
After the target region is obtained, calculating the area S of the target region by adopting a formula (2):
Figure BDA0002269883470000071
coordinates of center point of target area
Figure BDA0002269883470000072
Comprises the following steps:
Figure BDA0002269883470000073
and S214, adjusting the display mode of the photos displayed on the display interface according to the plurality of target areas obtained by the plurality of human face pictures.
For the target area obtained by each frame of picture except the first frame of picture, the formula (4) is adopted to calculate the relative distance vector between the center point of the target area obtained by one frame of picture and the center point of the target area obtained by the previous frame of picture
Figure BDA0002269883470000074
Figure BDA0002269883470000075
According to relative distance vector
Figure BDA0002269883470000081
Calculating the relative distance between the central points of the two target areas obtained from the two adjacent frames of pictures by adopting a formula (5)
Figure BDA0002269883470000082
Figure BDA0002269883470000083
Wherein the relative distance is the distance between the center point of the target area and the display interface, xnThe abscissa, y, of the center point of the target region obtained from the nth frame of picturenThe ordinate, x, of the center point of the target area obtained from the nth frame of picturen-1Represents the abscissa, y, of the center point of the target region obtained from the (n-1) th frame of picturen-1And the vertical coordinate of the center point of the target area obtained by the (n-1) th frame of picture is shown, n is an integer larger than 1, W is the width of the display interface, and H is the height of the display interface.
In addition, the ratio of the area of the target region to the total area of the display interface, which is obtained for each frame of the picture, is calculated by using the following formula (6), that is, the area ratio P of the target region:
P=S/(W×H) (6)
based on the calculation result, adjusting the display mode of the photos on the display interface:
(1) for n from succession1N obtained from frame picture respectively1A target area if n1The area ratio P of each target area is less than the threshold value t1(t1I.e. the first predetermined threshold value in the above), and n)1The sum of the relative distances of the center points of the target areas is less than a threshold value t2(t2That is, the third predetermined threshold value in the above description), the information in the target area obtained from the last frame of picture is enlarged to 1/2 of the size of the display interface, and the picture is moved so that the center point of the target area obtained from the last frame of picture is located in the middle of the display interface.
(2) For n from succession2N obtained from frame picture respectively2A target area if n2The area ratio P of each target area is larger than the threshold value t3(t3I.e., the second predetermined threshold value) of the display screen, the information of the target area obtained by the last frame of picture is reduced to 1/2 of the size of the display interface. Wherein, in the process of zooming out, if the whole photo is presented on the display interface, the zooming out operation is stopped. In addition, the picture is moved so that the center point of the target area obtained from the last frame of picture is in the middle of the display interface.
(3) For n from succession3N obtained from frame picture respectively3A target area, if the relative distance vector between the center point of the target area obtained from each frame of picture and the center point of the target area obtained from the previous frame of picture
Figure BDA0002269883470000084
The abscissa values are positive numbers, which indicates that the center point of the target area changes rightward, and the center point of the target area obtained from the last frame of picture is located in the right 1/3 area of the display interface, and then the picture is moved so that the center point of the target area obtained from the last frame of picture is located in the middle of the display interface.
Or, ifThe relative distance vector between the central point of the target area obtained from each frame of picture and the central point of the target area obtained from the previous frame of picture
Figure BDA0002269883470000091
The abscissa values are negative numbers, which indicates that the center point of the target area changes to the left, and the center point of the target area obtained from the last frame of picture is located in the left 1/3 area of the display interface, and then the picture is moved so that the center point of the target area obtained from the last frame of picture is located in the middle of the display interface.
(4) For n from succession4N obtained from frame picture respectively4A target area, if the relative distance vector between the center point of the target area obtained from each frame of picture and the center point of the target area obtained from the previous frame of picture
Figure BDA0002269883470000092
The longitudinal coordinate values of the image frames are positive numbers, which indicates that the center point of the target area changes upwards, and the center point of the target area obtained by the last frame of image is located in the 1/3 area above the display interface, so that the center point of the target area obtained by the last frame of image is located in the middle of the display interface.
Or, if the relative distance vector between the center point of the target area obtained by each frame of picture and the center point of the target area obtained by the previous frame of picture
Figure BDA0002269883470000093
The longitudinal coordinate values of the target area are negative numbers, the central point of the target area changes downwards, and the central point of the target area obtained by the last frame of picture is located in a 1/3 area below the display interface, so that the picture is moved to enable the central point of the target area obtained by the last frame of picture to be located in the middle of the display interface.
Wherein n is1~n4、t1~t3Can be set by itself, e.g. n1~n4Has a default frame number of 20 and a threshold value t1Default is 0.1, threshold t2Defaults to 0.05, threshold t3Defaults to 0.75 while allowingThe user makes the adjustment himself.
Fig. 6 shows a schematic configuration diagram of an information display device of an embodiment of the present invention. As shown in fig. 6, the information display apparatus 300 includes:
the sight line information determining module 302 is configured to determine a viewing angle at which the user's eyes view the target information on the display interface, and a viewing distance from the eyes to the display interface, where the viewing angle includes an included angle between a sight line of the eyes and a horizontal direction and an included angle between the display interface and a vertical direction.
And the area determination module 304 is used for determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance.
And an information display adjusting module 306, configured to adjust a display mode of the target information on the display interface according to the target area.
In one or more embodiments of the invention, the information display adjustment module 306 comprises:
and the display size adjusting module is used for amplifying or reducing the target information displayed on the display interface.
In one or more embodiments of the invention, the information display adjustment module 306 comprises:
and the display position adjusting module is used for adjusting the display position of the target information on the display interface so that the central point of the target area is positioned at the central point of the display interface.
In one or more embodiments of the invention, the display resizing module comprises:
and the information amplification module is used for amplifying the information of the target area on the display interface under the condition that the proportion of the area of the target area to the total area of the display interface is smaller than a first preset threshold value.
And the information reduction module is used for reducing the information of the target area on the display interface under the condition that the proportion of the area of the target area to the total area of the display interface is greater than a second preset threshold value.
In one or more embodiments of the present invention, in a case where the target area is a target area of the eye at a plurality of times, respectively, the information display apparatus 300 further includes:
and the distance determining module is used for determining that the sum of the distances of the central points is smaller than a third preset threshold, wherein the distance of the central points is the distance of the central points of the target area at two adjacent moments.
In one or more embodiments of the invention, the display resizing module is operable to,
and amplifying or reducing the information of the target area on the display interface to a preset proportion occupying the total area of the display interface.
In one or more embodiments of the invention, the gaze information determination module 302 comprises:
and the picture acquisition module is used for acquiring a picture comprising eyes.
And the convolution operation module is used for performing convolution operation on the characteristics of the picture by utilizing a convolution kernel in the convolution neural network to obtain a visual angle.
In one or more embodiments of the invention, in the case where the picture is a multi-frame picture, and the plurality of target regions are determined, the display position adjustment module is configured to,
under the condition that the central points of the target areas change to the same direction and the central point of the target information area is not in the central area of the display interface, adjusting the display position to enable the central point of the target information area to be located in the central area; wherein the target information area is a target area determined by the last frame of picture.
In one or more embodiments of the invention, the region determination module 304 includes:
and the focusing point calculating module is used for calculating the focusing point of the eyes on the display interface according to the visual angle and the visual distance.
And the target area determining module is used for determining a target area according to the focusing point.
In one or more embodiments of the invention, the target area determination module comprises:
a first region determining module, configured to determine, in a case where the focus point includes two focus points of both eyes, a line segment formed by connecting the two focus points to determine a circle having the line segment as a diameter; the area surrounded by the circle is used as a target area.
The second area determining module is used for determining a circle which takes the focus point as the center of a circle and takes the preset length as the radius under the condition that the focus point comprises the focus point of a single eye; the area surrounded by the circle is used as a target area.
Fig. 7 shows a hardware structure diagram of an electronic device according to an embodiment of the present invention, where the electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power supply 411. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to determine a viewing angle at which the user's eyes view target information on the display interface and a viewing distance from the eyes to the display interface, where the viewing angle includes an included angle between a line of sight of the eyes and a horizontal direction and an included angle between the display interface and a vertical direction; determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance; and adjusting the display mode of the target information on the display interface according to the target area.
In the embodiment of the invention, the operation intention of the user on the displayed information can be determined by determining the visual angle of the user for watching the target information on the display interface and the visual distance from the eyes to the display interface, so that the display mode of the information on the display interface is adjusted. Therefore, according to the embodiment of the invention, the display mode of the information can be automatically adjusted by watching the information by the user without manual adjustment of the user, so that the operation of the user is very convenient, and the operability of the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. Typically, radio unit 401 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. Further, the radio unit 401 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 402, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic apparatus 400 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive audio or video signals. The input Unit 404 may include a Graphics Processing Unit (GPU) 4041 and a microphone 4042, and the Graphics processor 4041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphic processor 4041 may be stored in the memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound, and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 401 in case of the phone call mode.
The electronic device 400 also includes at least one sensor 405, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 4061 and/or the backlight when the electronic apparatus 400 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 405 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. Touch panel 4071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 4071 using a finger, a stylus, or any suitable object or attachment). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 4071 can be implemented by using various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may include other input devices 4072. Specifically, the other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 4071 can be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of the touch event. Although in fig. 7, the touch panel 4071 and the display panel 4061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 408 is an interface for connecting an external device to the electronic apparatus 400. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
The memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 409 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 409 and calling data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 400 includes some functional modules that are not shown, and are not described in detail herein.
An embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned information display method embodiment, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned information display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An information display method applied to electronic equipment is characterized by comprising the following steps:
determining a visual angle of a user for watching target information on a display interface by eyes and a visual distance from the eyes to the display interface, wherein the visual angle comprises an included angle between a sight line of the eyes and the horizontal direction and an included angle between the display interface and the vertical direction;
determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance;
and adjusting the display mode of the target information on the display interface according to the target area.
2. The method according to claim 1, wherein the adjusting the display manner of the target information on the display interface comprises:
amplifying or reducing the target information displayed on the display interface;
and/or the presence of a gas in the gas,
and adjusting the display position of the target information on the display interface to enable the central point of the target area to be located at the central point of the display interface.
3. The method of claim 2, wherein the zooming in or out on the target information displayed on the display interface comprises:
under the condition that the proportion of the area of the target area in the total area of the display interface is smaller than a first preset threshold value, amplifying the information of the target area on the display interface;
and under the condition that the proportion of the area of the target area in the total area of the display interface is greater than a second preset threshold value, reducing the information of the target area on the display interface.
4. The method of claim 2, wherein the zooming in or out on the target information displayed on the display interface comprises:
and amplifying or reducing the information of the target area on the display interface to a preset proportion occupying the total area of the display interface.
5. The method of claim 2, wherein determining a perspective from which the user's eye views the target information on the display interface comprises:
acquiring a picture including the eye;
and performing convolution operation on the characteristics of the picture by utilizing a convolution core in a convolution neural network to obtain the visual angle.
6. The method according to claim 5, wherein, in the case where the picture is a multi-frame picture and a plurality of the target regions are determined,
the adjusting the display position of the target information on the display interface so that the center point of the target area is located at the center point of the display interface includes:
under the condition that the central points of the target areas change to the same direction and the central point of the target information area is not in the central area of the display interface, adjusting the display position to enable the central point of the target information area to be located in the central area;
wherein the target information area is the target area determined by the last frame of the picture.
7. The method of claim 1, wherein determining the target area of the eye on the display interface based on the viewing angle and the viewing distance comprises:
calculating a focus point of the eye on the display interface according to the visual angle and the visual distance;
and determining the target area according to the focusing point.
8. An information display apparatus, characterized in that the apparatus comprises:
the visual line information determining module is used for determining a visual angle of a user's eyes for watching target information on a display interface and a visual distance from the eyes to the display interface, wherein the visual angle comprises an included angle between the visual line of the eyes and the horizontal direction and an included angle between the display interface and the vertical direction;
the area determination module is used for determining a target area focused by the eyes on the display interface according to the visual angle and the visual distance;
and the information display adjusting module is used for adjusting the display mode of the target information on the display interface according to the target area.
9. The apparatus of claim 8, wherein the information display adjustment module comprises:
the display size adjusting module is used for amplifying or reducing the target information displayed on the display interface;
and/or the presence of a gas in the gas,
and the display position adjusting module is used for adjusting the display position of the target information on the display interface so that the central point of the target area is positioned at the central point of the display interface.
10. The apparatus of claim 9, wherein the display resizing module comprises:
the information amplification module is used for amplifying the information of the target area on the display interface under the condition that the proportion of the area of the target area in the total area of the display interface is smaller than a first preset threshold value;
and the information reduction module is used for reducing the information of the target area on the display interface under the condition that the proportion of the area of the target area in the total area of the display interface is greater than a second preset threshold value.
CN201911101065.4A 2019-11-12 2019-11-12 Information display method, information display device, electronic equipment and storage medium Pending CN111221409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911101065.4A CN111221409A (en) 2019-11-12 2019-11-12 Information display method, information display device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911101065.4A CN111221409A (en) 2019-11-12 2019-11-12 Information display method, information display device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111221409A true CN111221409A (en) 2020-06-02

Family

ID=70832331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911101065.4A Pending CN111221409A (en) 2019-11-12 2019-11-12 Information display method, information display device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111221409A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925497A (en) * 2021-03-31 2021-06-08 维沃移动通信有限公司 Content display method and device, electronic equipment and readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893934A (en) * 2010-06-25 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Method and device for intelligently adjusting screen display
CN104331168A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Display adjusting method and electronic equipment
CN104661012A (en) * 2014-11-28 2015-05-27 深圳市亿思达科技集团有限公司 Individual holographic three-dimensional display method and equipment
CN107704176A (en) * 2017-10-30 2018-02-16 努比亚技术有限公司 A kind of picture-adjusting method and terminal
CN107797664A (en) * 2017-10-27 2018-03-13 广东欧珀移动通信有限公司 Content display method, device and electronic installation
CN108519834A (en) * 2018-04-04 2018-09-11 Oppo广东移动通信有限公司 Method for displaying image, device, storage medium and electronic equipment
CN109361865A (en) * 2018-11-21 2019-02-19 维沃移动通信(杭州)有限公司 A kind of image pickup method and terminal
CN110248091A (en) * 2019-06-12 2019-09-17 Oppo广东移动通信有限公司 Focalization method and Related product

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101893934A (en) * 2010-06-25 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Method and device for intelligently adjusting screen display
CN104331168A (en) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 Display adjusting method and electronic equipment
CN104661012A (en) * 2014-11-28 2015-05-27 深圳市亿思达科技集团有限公司 Individual holographic three-dimensional display method and equipment
CN107797664A (en) * 2017-10-27 2018-03-13 广东欧珀移动通信有限公司 Content display method, device and electronic installation
CN107704176A (en) * 2017-10-30 2018-02-16 努比亚技术有限公司 A kind of picture-adjusting method and terminal
CN108519834A (en) * 2018-04-04 2018-09-11 Oppo广东移动通信有限公司 Method for displaying image, device, storage medium and electronic equipment
CN109361865A (en) * 2018-11-21 2019-02-19 维沃移动通信(杭州)有限公司 A kind of image pickup method and terminal
CN110248091A (en) * 2019-06-12 2019-09-17 Oppo广东移动通信有限公司 Focalization method and Related product

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925497A (en) * 2021-03-31 2021-06-08 维沃移动通信有限公司 Content display method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN108513070B (en) Image processing method, mobile terminal and computer readable storage medium
US20220279116A1 (en) Object tracking method and electronic device
CN110891144B (en) Image display method and electronic equipment
CN108471498B (en) Shooting preview method and terminal
CN108495029B (en) Photographing method and mobile terminal
CN110505400B (en) Preview image display adjustment method and terminal
CN110174993B (en) Display control method, terminal equipment and computer readable storage medium
CN111562896B (en) Screen projection method and electronic equipment
CN111223047B (en) Image display method and electronic equipment
CN111147752B (en) Zoom factor adjusting method, electronic device, and medium
CN110198413B (en) Video shooting method, video shooting device and electronic equipment
CN111031234B (en) Image processing method and electronic equipment
CN110162286B (en) Picture display method and terminal
CN109348019B (en) Display method and device
CN111026316A (en) Image display method and electronic equipment
CN109819166B (en) Image processing method and electronic equipment
CN109413333B (en) Display control method and terminal
CN110830713A (en) Zooming method and electronic equipment
EP4092613A1 (en) Image cropping method and electronic device
CN108174110B (en) Photographing method and flexible screen terminal
CN108804628B (en) Picture display method and terminal
CN111405181B (en) Focusing method and electronic equipment
CN111176526B (en) Picture display method and electronic equipment
CN111028686B (en) Image processing method, image processing apparatus, electronic device, and medium
WO2020156119A1 (en) Application program interface adjustment method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination