CN109871253A - A kind of display methods and terminal - Google Patents
A kind of display methods and terminal Download PDFInfo
- Publication number
- CN109871253A CN109871253A CN201910099821.8A CN201910099821A CN109871253A CN 109871253 A CN109871253 A CN 109871253A CN 201910099821 A CN201910099821 A CN 201910099821A CN 109871253 A CN109871253 A CN 109871253A
- Authority
- CN
- China
- Prior art keywords
- window
- focal position
- case
- moved
- user
- 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
Links
Landscapes
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of display methods, applied to terminal, the described method includes: in the case where the terminal shows first window and the second window simultaneously, detect the focal position of user's sight, wherein, the display area of second window is located in the display area of the first window, and the size of the first window is greater than the size of second window;According to the focal position, second window is moved and/or scaled.Terminal provided by the invention can be improved user to the reading efficiency of picture.
Description
Technical field
The present invention relates to field of display technology more particularly to a kind of display methods and terminal.
Background technique
Picture-in-picture mode that is, in the case where terminal shows first window, while showing second on this first window
Window, user can check the display picture of first window and the second window at the terminal simultaneously.This mode can help to use
Improve the treatment effeciency to application program in family.
In reality, the part that the display picture of the second window can block first window shows picture, in this premise
Under, if user wants to see that the part that first window is blocked also needs user additionally to increase the operation for removing the second window manually, drop
The low picture reading efficiency of user.
Summary of the invention
The embodiment of the present invention provides a kind of display methods and terminal, blocks the to solve the second window under picture-in-picture mode
The part of one window shows picture, causes the problem that user is low to picture reading efficiency.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to terminal the embodiment of the invention provides a kind of display methods, which comprises
In the case where the terminal shows first window and the second window simultaneously, the focal position of user's sight is detected,
Wherein, the display area of second window is located in the display area of the first window, and the size of the first window
Greater than the size of second window;
According to the focal position, second window is moved and/or scaled.
Second aspect, the embodiment of the present invention also provide a kind of terminal, comprising:
First detection module, in the case where the terminal shows first window and the second window simultaneously, detection to be used
The focal position of family sight, wherein the display area of second window is located in the display area of the first window, and institute
The size for stating first window is greater than the size of second window;
Execution module, for according to the focal position, second window being moved and/or being scaled.
The third aspect, the embodiment of the present invention also provide a kind of terminal, including processor, memory and are stored in the storage
On device and the computer program that can run on the processor, realized when the computer program is executed by the processor
The step of stating display methods.
Fourth aspect, the embodiment of the present invention also provide a kind of computer readable storage medium, the computer-readable storage
The step of being stored with computer program on medium, above-mentioned display method realized when the computer program is executed by processor.
In embodiments of the present invention, by examining in the case where the terminal shows first window and the second window simultaneously
Survey the focal position of user's sight, wherein the display area of second window is located in the display area of the first window,
And the size of the first window is greater than the size of second window;According to the focal position, to second window into
Row is mobile and/or scales.In this way, user can be by the focal position of control sight, so that the shifting that the second window is envisioned
Dynamic and/or scaling, the display picture for wanting to see is viewed convenient for user, improves user to the reading efficiency of picture.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention
Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention,
For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings
Obtain other attached drawings.
Fig. 1 is a kind of flow chart of display methods provided in an embodiment of the present invention;
Fig. 2 is the position view of first window provided in an embodiment of the present invention and the second window;
Fig. 3 is the schematic diagram of another display methods provided in an embodiment of the present invention;
Fig. 4 is a kind of structure chart of terminal provided in an embodiment of the present invention;
Fig. 5 is the structure chart of another terminal provided in an embodiment of the present invention;
A kind of hardware structural diagram of Fig. 6 terminal of each embodiment to realize the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of display methods provided in an embodiment of the present invention, as shown in Figure 1, including
Following steps:
Step 101, the terminal simultaneously show first window and the second window in the case where, detect user's sight coke
Point position, wherein the display area of second window is located in the display area of the first window, and the first window
Size be greater than second window size.
First window and the second window can be the display window of different software, can show multiple windows in same software
In the case where be also possible to the display window of same software.In addition, first window can be terminal full screen display picture (such as Fig. 2
It is shown, wherein white area indicates that first window, black region indicate the second window), it is also possible to the aobvious of terminal part screen
Show picture, the display area of the second window, which suspends, to be shown in the display area of first window.
First window and the second window can show the picture of same type, such as: first window and the second window are aobvious
Show that video shows picture;First window and the second window can also show different types of picture, such as: first window display view
Frequency display picture, the second window display chat display picture.
Terminal can use video camera and combine pupil-corneal reflection method positioning user's sight focal position, specifically
, face is irradiated by infrared auxiliary light source, forms hot spot on cornea eye surface, video camera obtains eyes infrared image, benefit
With the characteristic that pupil in eyes is most dark, processing can be carried out according to the eyes infrared image got and extracts pupil position letter
Breath.In Rotation of eyeball, relative displacement will occur for the hot spot in pupil center and outer corneal surface, if using hot spot as eyeball
With the static reference points of video camera, the mobile change in location for showing as pupil of the sight of eyes, the relative displacement of pupil hot spot
The as mobile quantitative information of eye sight line, so that it is determined that the focal position of user's sight out.Certainly, it is not excluded that can be used
Other modes determine the focal position of user's sight, are herein only merely the side for enumerating a kind of focal position for detecting user's sight
Formula, it will be understood that the mode of any focal position for being able to detect user's sight belongs to the protection scope of the embodiment of the present invention.
Step 102, according to the focal position, second window is moved and/or is scaled.
Behind the focal position for detecting user's sight based on step 101, terminal can be according to default rule and view
Second window is moved and/or scaled the focal position of line.Only the second window is moved specifically, can be,
Only the second window can be zoomed in or out, can also the second window be moved and be scaled simultaneously.
Be illustrated for being moved to second window according to the focal position: when focal position is
When in the display area of one window and mobile towards the direction where the second window, to the direction far from focal position mobile second
Window.
Be illustrated for being amplified to second window according to the focal position: when focal position is
When the duration that the display area of two windows stops is greater than preset duration, amplify the second window.
Be illustrated for being amplified to second window according to the focal position: when focal position is
When the duration that the display area of one window stops is greater than preset duration, the second window is reduced.
With according to the focal position, second window is moved and is illustrated for being amplified: when focus position
When setting the display area for being transferred to the second window from the display area of first window, the second window is moved to the central area of screen
Simultaneously amplify the second window in domain.
With according to the focal position, second window is moved and is illustrated for being reduced: when focus position
When setting the display area for being transferred to first window from the display area of the second window, the second window is moved to the marginal zone of screen
Domain simultaneously reduces the second window.
Above only it is merely that different situations are illustrated, does not constitute the limitation to step 102, it will be understood that any
The protection scope of the embodiment of the present invention is belonged to according to the mode that focal position is moved and/or scaled to the second window.
In the embodiment of the present invention, above-mentioned terminal can for mobile phone, tablet computer (Tablet Personal Computer),
Laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, abbreviation PDA),
Mobile Internet access device (Mobile Internet Device, MID) or wearable device (Wearable Device) etc..
In embodiments of the present invention, by examining in the case where the terminal shows first window and the second window simultaneously
Survey the focal position of user's sight, wherein the display area of second window is located in the display area of the first window,
And the size of the first window is greater than the size of second window;According to the focal position, to second window into
Row is mobile and/or scales.In this way, user can be by the focal position of control sight, so that the shifting that the second window is envisioned
Dynamic and/or scaling, the display picture for wanting to see is viewed convenient for user, improves user to the reading efficiency of picture.
Referring to Fig. 3, Fig. 3 is the flow chart of another display methods provided in an embodiment of the present invention, the present embodiment and Fig. 1
The main distinction of illustrated embodiment is that the present embodiment is only cut between first window and the second window in focal position
Just the second window is moved and/or scaled in the case where changing.Method is as shown in Figure 3, comprising the following steps:
Step 301, the terminal simultaneously show first window and the second window in the case where, detect user's sight coke
Point position, wherein the display area of second window is located in the display area of the first window, and the first window
Size be greater than second window size.
The realization process and beneficial effect of this step may refer to the description in step 101, and details are not described herein again.
In an optional embodiment, before step 302, can also include:
In the case where the focus of user's sight is moved to the second focal position by the first focal position, described in detection
Stay time of the focus of user's sight in second focal position;
In the case where the stay time is more than or equal to preset duration, determine the focal position described first
It switches between window and second window;
Wherein, first focal position is located in the display area of first window, and second focal position is located at the
In the display area of two windows;Alternatively, first focal position is located in the display area of the second window, second focus
Position is located in the display area of first window.
The focal position that user's sight can be positioned by pupil in step 101-corneal reflection method, is detecting user
After the focal position of sight is moved to the second focal position, timing is carried out, so as to obtain the focus of user's sight second
The stay time of focal position.
When stay time of the focus for detecting user's sight in second focal position is not up to preset duration, really
It is invalid to determine the operation that the focal position of user's sight switches between first window and the second window, does not execute step
302。
When stay time of the focus for detecting user's sight in second focal position reaches preset duration, determine
The operation that the focal position of user's sight switches between first window and the second window is set up, thereby executing step 302.
In the present embodiment, whether focal position is determined in the stay time of the second focal position according to focal position
It switches between the first window and second window, can be avoided user because of other reasons sight inswept second
Window and be not intended to mobile and/or mobile and/or the second window of scaling occur in the case where scaling the second window, reduction
The false triggering probability of operation.
It should be noted that the focus in user's sight is moved to by the first focal position the feelings of the second focal position
Under condition, stay time of the focus in second focal position of user's sight is detected;Be greater than in the stay time or
In the case that person is equal to preset duration, determine that the focal position is cut between the first window and second window
It changes, only optional embodiment.In addition, present embodiment may be equally applicable in embodiment illustrated in fig. 1, and have identical
Beneficial effect.
Step 302 switches detecting the focal position between the first window and second window
In the case where, second window is moved and/or scaled.
If detect that the focal position of user's sight switches between first window and the second window, it is mobile and/
Or the second window of scaling.In the case where first window is full screen display picture, the second window is moved in first window
And/or scaling;In the case where the second window is that part of screen shows picture, the second window can be to be moved in first window
And/or scaling, it is also possible to zoom in and out outside mobile second window to first window and outside first window.
Wherein, described to detect the focal position in the first window and institute in an optional embodiment
It states in the case where switching between the second window, second window is moved, comprising:
In the case where the focal position is from second windows exchange to the first window, mobile second window
Mouthful;Alternatively,
In the case where the focal position switches to second window from the first window, mobile second window
Mouthful.
That is, there are two types of the modes that focal position switches between first window and the second window: switching mode one, coke
Point position is from the second windows exchange to first window, and switching mode one is it is considered that user wants to highlight first window;Switching
Mode two, focal position switch to the second window from first window, and switching mode two is it is considered that user wants to check by the second window
The part that mouth blocks shows picture.
In above two switching mode, the mode of mobile second window can be it is identical, such as: cut above two
It changes under mode, mobile second window can be mobile second window to predeterminated position;In above two switching mode, mobile the
The mode of two windows be also possible to it is different, such as: in the case where switching mode one, mobile second window can be mobile the
Two windows are to predeterminated position;In the case where switching mode two, mobile second window can be mobile second window to any side
Edge position.
In the present embodiment, the mode that focal position switches between first window and the second window can be distinguished
Specifically focal position switches to the second window to first window or focal position from first window from the second windows exchange,
And identical or different movement can be carried out to the second window according to different switching modes.It is corresponding not in different switching modes
In the case where move mode, user can be acted by different Rotation of eyeball to move the second window in different ways extremely
It does not hinder user to read the position of picture, improves user to the reading efficiency of first window.
It should be noted that in the case where the focal position is from second windows exchange to the first window,
Mobile second window;Alternatively, in the case where the focal position switches to second window from the first window,
Second window is moved, only optional embodiment.In addition, present embodiment may be equally applicable for implementing shown in Fig. 1
In example, and beneficial effect having the same.
In another optional embodiment, movement second window, comprising:
Second window is moved to first position, the first position be in the first window with the coke after switching
The distance between point position is more than or equal to the position of preset threshold;Alternatively,
Second window is moved to the second position, the second position be in the first window with the coke after switching
The farthest marginal position of point positional distance.
That is, there are two types of the modes of mobile second window: move mode one, mobile second window to the focus position after switching
The distance between set the position for being more than or equal to preset threshold;Move mode two, mobile second window to the coke after switching
The farthest marginal position of point positional distance.
In present embodiment, key message in first window by the second window present in being blocked and the second window of distance
When mouth is blocked in place's preset threshold range, by the way that the second window is carried out any movement in above two move mode, second
Window can at least move the distance of preset threshold, so that the parts of images and the second window of distance that are blocked before block
Image in place's preset threshold range can be shown jointly, to be seen by the user key message, improve user to first window
Reading efficiency.
It should be noted that described will be described to first position, the first position be in the first window with switching
The distance between focal position afterwards is more than or equal to the position of preset threshold;Alternatively, second window is moved to
Two positions, the second position are with the focal position after switching in the first window apart from farthest marginal position, only
It is optional embodiment.In addition, present embodiment may be equally applicable in embodiment illustrated in fig. 1, and having the same beneficial
Effect.
In another optional embodiment, step 302 further include:
It is right in the case where detecting that the focal position of user's sight switches to second window from the first window
Second window is moved;
In the preset duration after moving to second window, the focal position of user's sight is detected
In the case where second window is switched to from the first window, mobile second window to the center of the first window
Region, and amplify second window.
That is, the focal position of user's sight switches to the second window from first window, it is believed that user wants to check by
The picture for the first window that two windows block, so being moved to the second window.And twice the focal position of user's sight from
First window switches to the interval time between the second window less than preset duration, then it is assumed that user is intended to highlight the second window
Mouthful, the second window is moved to the middle section of first window, and the second window is amplified at this time, allowed users to more
Clearly check the display picture in the second window.
In present embodiment, switched between the second window by the focal position of user's sight twice from first window
Interval time is less than preset duration, and user is wanted that highlighting the second window and user thinks that mobile second window is checked by second
The part that window blocks shows that picture distinguishes, to meet the requirement of multiplicity of subscriber, highlights to the second window,
User is improved to the reading efficiency of the second window.
It should be noted that described switch to described from the first window in the focal position for detecting user's sight
In the case where two windows, second window is moved;Preset duration after being moved to second window
It is interior, it is mobile in the case where detecting that the focal position of user's sight switches to second window from the first window
Second window and amplifies second window, only optional embodiment to the middle section of the first window.Separately
Outside, present embodiment may be equally applicable in embodiment illustrated in fig. 1, and beneficial effect having the same.
In the present embodiment, by sending out detecting the focal position between the first window and second window
In the case where raw switching, second window is moved and/or scaled.In this way, in the focal position of user's sight
When switching between one window and the second window, blocked before being allowed to by mobile and/or the second window of scaling by the second window
Part picture shown, be able to use family and more easily view first window, improve user to the reading efficiency of picture.
Referring to Fig. 4, Fig. 4 is a kind of structure chart of terminal provided in an embodiment of the present invention, as shown in figure 4, terminal 400 is wrapped
Include first detection module 401 and execution module 402, in which:
First detection module 401, for detecting in the case where the terminal shows first window and the second window simultaneously
The focal position of user's sight, wherein the display area of second window is located in the display area of the first window, and
The size of the first window is greater than the size of second window;
Execution module 402, for according to the focal position, second window being moved and/or being scaled.
Optionally, the execution module 402 is also used to detecting the focal position in the first window and described
In the case where switching between second window, second window is moved and/or scaled.
Optionally, the execution module 402 is also used in the focal position from second windows exchange to described
In the case where one window, mobile second window;Alternatively, switching to described from the first window in the focal position
In the case where two windows, mobile second window.
Optionally, the execution module 402 is also used in the focal position from second windows exchange to described
In the case where one window, second window is moved to first position;Alternatively, in the focal position from second window
In the case where switching to the first window, second window is moved to the second position;Alternatively, the focal position from
In the case that the first window switches to second window, second window is moved to first position;Alternatively, institute
It states in the case that focal position switches to second window from the first window, second window is moved to second
It sets;Wherein, the first position is to be more than or equal in the first window with the distance between the focal position after switching
The position of preset threshold, two position are with the focal position after switching in the first window apart from farthest margin location
It sets.
Optionally, as shown in figure 5, terminal 400 further includes the second detection module 403 and determining module 404, wherein
Second detection module 403, for being moved to second by the first focal position in the focus of user's sight
In the case where focal position, stay time of the focus in second focal position of user's sight is detected;
The determining module 404, for determining institute in the case where the stay time is more than or equal to preset duration
It states focal position and switches between the first window and second window;
Wherein, first focal position is located in the display area of first window, and second focal position is located at the
In the display area of two windows;Alternatively, first focal position is located in the display area of the second window, second focus
Position is located in the display area of first window.
Optionally, the execution module 402, for being cut in the focal position for detecting user's sight from the first window
In the case where shifting to second window, second window is moved;After being moved to second window
Preset duration in, detect that the focal position of user's sight switches to the feelings of second window from the first window
Under condition, the middle section of mobile second window to the first window, and amplify second window.
The terminal 400 of inventive embodiments can be realized each process that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3,
To avoid repeating, which is not described herein again.
The terminal 400 of the embodiment of the present invention, user can be by the focal positions of control sight, so that the second window carries out
The movement of anticipation and/or scaling view the display picture for wanting to see convenient for user, improve user to the reading efficiency of picture.
A kind of hardware structural diagram of Fig. 6 terminal of each embodiment to realize the present invention,
The terminal 600 includes but is not limited to: radio frequency unit 601, network module 602, audio output unit 603, input are single
Member 604, sensor 605, display unit 606, user input unit 606, interface unit 608, memory 609, processor 610,
And the equal components of power supply 611.It will be understood by those skilled in the art that terminal structure shown in Fig. 6 not structure paired terminal
It limits, terminal may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
In embodiments of the present invention, terminal include but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal,
Wearable device and pedometer etc..
Wherein, processor 610, for detecting in the case where the terminal shows first window and the second window simultaneously
The focal position of user's sight, wherein the display area of second window is located in the display area of the first window, and
The size of the first window is greater than the size of second window;According to the focal position, second window is carried out
Mobile and/or scaling.
Optionally, the processor 610 is also used to: in the focal position from second windows exchange to described first
In the case where window, mobile second window;Alternatively, switching to described second from the first window in the focal position
In the case where window, mobile second window.
Optionally, the processor 610 is also used to: detecting the focal position in the first window and described
In the case where switching between two windows, second window is moved and/or scaled.
Optionally, the processor 610 is also used to: in the focal position from second windows exchange to described first
In the case where window, mobile second window;Alternatively, switching to described second from the first window in the focal position
In the case where window, mobile second window.
Optionally, the processor 610 is also used to: second window is moved to first position, the first position
For the position for being more than or equal to preset threshold in the first window with the distance between the focal position after switching;Alternatively,
Second window is moved to the second position, the second position be in the first window with the focal position after switching away from
From farthest marginal position.
Optionally, the processor 610 is also used to: being moved to by the first focal position in the focus of user's sight
In the case where two focal positions, stay time of the focus in second focal position of user's sight is detected;Described
In the case that stay time is more than or equal to preset duration, determine the focal position in the first window and described second
It switches between window;Wherein, first focal position is located in the display area of first window, second focus position
Setting in the display area of the second window;Alternatively, first focal position is located in the display area of the second window, it is described
Second focal position is located in the display area of first window.
Optionally, the processor 610 is also used to: being cut in the focal position for detecting user's sight from the first window
In the case where shifting to second window, second window is moved;
In the preset duration after moving to second window, the focal position of user's sight is detected
In the case where second window is switched to from the first window, mobile second window to the center of the first window
Region, and amplify second window.
Terminal 600 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating
It states.
The terminal 600 of the embodiment of the present invention, user can be by the focal positions of control sight, so that the second window carries out
The movement of anticipation and/or scaling view the display picture for wanting to see convenient for user, improve user to the reading efficiency of picture.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set
Standby communication.
Terminal provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive and dispatch electricity
Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609
The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also provide and end
The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 600 executes.Sound
Frequency output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor
(Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited
Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike
Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be
The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Terminal 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other sensors.
Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light
Light and shade adjusts the brightness of display panel 6061, and proximity sensor can close display panel when terminal 600 is moved in one's ear
6061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching,
Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 605 can be with
Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer,
Infrared sensor etc., details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap
Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generates and set with the user of terminal
It sets and the related key signals of function control inputs.Specifically, user input unit 607 include touch panel 6071 and other
Input equipment 6072.Touch panel 6071, also referred to as touch screen, collect user on it or nearby touch operation (such as
User is using any suitable objects or attachment such as finger, stylus on touch panel 6071 or near touch panel 6071
Operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receives processor 610
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments 6072.
Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it
On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching
The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display
Panel 6061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of terminal is realized so that touch panel 6071 and display panel 6061 is integrated, is not limited herein specifically
It is fixed.
Interface unit 608 is the interface that external device (ED) is connect with terminal 600.For example, external device (ED) may include it is wired or
Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port,
For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module
Etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will
One or more elements that the input received is transferred in terminal 600 or can be used for terminal 600 and external device (ED) it
Between transmit data.
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to
It crosses operation or executes the software program and/or module being stored in memory 609, and call and be stored in memory 609
Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 610 may include one
Or multiple processing units;Preferably, processor 610 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 610.
Terminal 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 can be with
It is logically contiguous by power-supply management system and processor 610, thus by power-supply management system realize management charging, electric discharge, with
And the functions such as power managed.
In addition, terminal 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor 610, and memory 609 is stored in storage
It is real when which is executed by processor 610 on device 609 and the computer program that can be run on the processor 610
Each process of existing above-mentioned display method embodiment, and identical technical effect can be reached, it is no longer superfluous here to avoid repeating
It states.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, realizes each process of above-mentioned display method embodiment when which is executed by processor, and can reach
Identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium is deposited Ru read-only
Reservoir (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM),
Magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Claims (14)
1. a kind of display methods is applied to terminal, which is characterized in that the described method includes:
In the case where the terminal shows first window and the second window simultaneously, the focal position of user's sight is detected, wherein
The display area of second window is located in the display area of the first window, and the size of the first window is greater than institute
State the size of the second window;
According to the focal position, second window is moved and/or scaled.
2. the method according to claim 1, wherein described according to the focal position, to second window
It is moved and/or is scaled, comprising:
In the case where detecting the focal position and switching between the first window and second window, to institute
The second window is stated to be moved and/or scaled.
3. according to the method described in claim 2, it is characterized in that, described detecting the focal position in first window
In the case where switching between mouth and second window, second window is moved, comprising:
In the case where the focal position is from second windows exchange to the first window, mobile second window;
Alternatively,
In the case where the focal position switches to second window from the first window, mobile second window.
4. according to the method described in claim 3, it is characterized in that, the movement second window, comprising:
Second window is moved to first position, the first position be in the first window with the focus position after switching
The distance between set the position for being more than or equal to preset threshold;Alternatively,
Second window is moved to the second position, the second position be in the first window with the focus position after switching
It sets apart from farthest marginal position.
5. according to the method described in claim 2, it is characterized in that, described detecting the focal position in first window
It is described before second window is moved and/or scaled in the case where switching between mouth and second window
Method further include:
In the case where the focus of user's sight is moved to the second focal position by the first focal position, the user is detected
Stay time of the focus of sight in second focal position;
In the case where the stay time is more than or equal to preset duration, determine the focal position in the first window
It switches between second window;
Wherein, first focal position is located in the display area of first window, and second focal position is located at the second window
In the display area of mouth;Alternatively, first focal position is located in the display area of the second window, second focal position
In the display area of first window.
6. according to the method described in claim 2, it is characterized in that, described detecting the focal position in first window
In the case where switching between mouth and second window, second window is moved and/or is scaled, comprising:
In the case where detecting that the focal position of user's sight switches to second window from the first window, to described
Second window is moved;
In the preset duration after moving to second window, detect the focal position of user's sight from institute
It states in the case that first window switches to second window, the central area of mobile second window to the first window
Domain, and amplify second window.
7. a kind of terminal characterized by comprising
First detection module, in the case where the terminal shows first window and the second window simultaneously, detection user to be regarded
The focal position of line, wherein the display area of second window is located in the display area of the first window, and described
The size of one window is greater than the size of second window;
Execution module, for according to the focal position, second window being moved and/or being scaled.
8. terminal according to claim 7, which is characterized in that the execution module is also used to detecting the focus
In the case that position switches between the first window and second window, second window is moved
And/or scaling.
9. terminal according to claim 8, which is characterized in that the execution module, be also used to the focal position from
In the case where second windows exchange to the first window, mobile second window;Alternatively, the focal position from
In the case that the first window switches to second window, mobile second window.
10. terminal according to claim 9, which is characterized in that the execution module, be also used to the focal position from
In the case where second windows exchange to the first window, second window is moved to first position;Alternatively, institute
Focal position is stated from the case where second windows exchange to the first window, second window is moved to second
It sets;Alternatively, in the case where the focal position switches to second window from the first window, by second window
It is moved to first position;Alternatively, in the case where the focal position switches to second window from the first window, it will
Second window is moved to the second position;Wherein, the first position be the first window in the focus position after switching
The distance between set the position for being more than or equal to preset threshold, two position be in the first window with the coke after switching
The farthest marginal position of point positional distance.
11. terminal according to claim 8, which is characterized in that the terminal further includes the second detection module and determining mould
Block,
Second detection module, for being moved to the second focal position by the first focal position in the focus of user's sight
In the case where, detect stay time of the focus in second focal position of user's sight;
The determining module, for determining the focus in the case where the stay time is more than or equal to preset duration
Position switches between the first window and second window;
Wherein, first focal position is located in the display area of first window, and second focal position is located at the second window
In the display area of mouth;Alternatively, first focal position is located in the display area of the second window, second focal position
In the display area of first window.
12. terminal according to claim 8, which is characterized in that the execution module is also used to detecting user's sight
Focal position switch to second window from the first window in the case where, second window is moved;?
In preset duration after moving to second window, detect the focal position of user's sight from described first
In the case where windows exchange to second window, the middle section of mobile second window to the first window, and put
Big second window.
13. a kind of terminal, which is characterized in that including processor, memory and be stored on the memory and can be at the place
The computer program run on reason device is realized when the computer program is executed by the processor as appointed in claim 1 to 6
The step of display methods described in one.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program realizes the step such as display methods described in any one of claims 1 to 6 when the computer program is executed by processor
Suddenly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910099821.8A CN109871253A (en) | 2019-01-31 | 2019-01-31 | A kind of display methods and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910099821.8A CN109871253A (en) | 2019-01-31 | 2019-01-31 | A kind of display methods and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109871253A true CN109871253A (en) | 2019-06-11 |
Family
ID=66918484
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910099821.8A Pending CN109871253A (en) | 2019-01-31 | 2019-01-31 | A kind of display methods and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109871253A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112584251A (en) * | 2019-09-30 | 2021-03-30 | 华为技术有限公司 | Display method and electronic equipment |
CN112711982A (en) * | 2020-12-04 | 2021-04-27 | 科大讯飞股份有限公司 | Visual detection method, equipment, system and storage device |
WO2021129326A1 (en) * | 2019-12-25 | 2021-07-01 | 华为技术有限公司 | Screen display method and electronic device |
CN114416005A (en) * | 2022-01-07 | 2022-04-29 | 深圳Tcl新技术有限公司 | Interface display method and device and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299176A (en) * | 2008-06-27 | 2008-11-05 | 广东威创视讯科技股份有限公司 | Method and system for displaying additional information in main viewfinder |
US20110239156A1 (en) * | 2010-03-26 | 2011-09-29 | Acer Incorporated | Touch-sensitive electric apparatus and window operation method thereof |
CN102830797A (en) * | 2012-07-26 | 2012-12-19 | 深圳先进技术研究院 | Man-machine interaction method and system based on sight judgment |
CN103631364A (en) * | 2012-08-20 | 2014-03-12 | 联想(北京)有限公司 | Control method and electronic device |
CN103718134A (en) * | 2011-05-25 | 2014-04-09 | 索尼电脑娱乐公司 | Eye gaze to alter device behavior |
CN103902157A (en) * | 2014-03-14 | 2014-07-02 | 联想(北京)有限公司 | Information processing method and electronic device |
-
2019
- 2019-01-31 CN CN201910099821.8A patent/CN109871253A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299176A (en) * | 2008-06-27 | 2008-11-05 | 广东威创视讯科技股份有限公司 | Method and system for displaying additional information in main viewfinder |
US20110239156A1 (en) * | 2010-03-26 | 2011-09-29 | Acer Incorporated | Touch-sensitive electric apparatus and window operation method thereof |
CN103718134A (en) * | 2011-05-25 | 2014-04-09 | 索尼电脑娱乐公司 | Eye gaze to alter device behavior |
CN102830797A (en) * | 2012-07-26 | 2012-12-19 | 深圳先进技术研究院 | Man-machine interaction method and system based on sight judgment |
CN103631364A (en) * | 2012-08-20 | 2014-03-12 | 联想(北京)有限公司 | Control method and electronic device |
CN103902157A (en) * | 2014-03-14 | 2014-07-02 | 联想(北京)有限公司 | Information processing method and electronic device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112584251A (en) * | 2019-09-30 | 2021-03-30 | 华为技术有限公司 | Display method and electronic equipment |
CN112584251B (en) * | 2019-09-30 | 2022-09-02 | 华为技术有限公司 | Display method and electronic equipment |
WO2021129326A1 (en) * | 2019-12-25 | 2021-07-01 | 华为技术有限公司 | Screen display method and electronic device |
CN112711982A (en) * | 2020-12-04 | 2021-04-27 | 科大讯飞股份有限公司 | Visual detection method, equipment, system and storage device |
CN114416005A (en) * | 2022-01-07 | 2022-04-29 | 深圳Tcl新技术有限公司 | Interface display method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109871253A (en) | A kind of display methods and terminal | |
CN109697494A (en) | A kind of graphic code display methods and terminal device | |
CN109461117A (en) | A kind of image processing method and mobile terminal | |
CN109814968A (en) | A kind of data inputting method, terminal device and computer readable storage medium | |
CN109005262A (en) | A kind of camera control method and terminal | |
CN108227996A (en) | A kind of display control method and mobile terminal | |
CN108628565A (en) | A kind of mobile terminal operating method and mobile terminal | |
CN108366220A (en) | A kind of video calling processing method and mobile terminal | |
CN110209313A (en) | Icon moving method and terminal device | |
CN109491738A (en) | A kind of control method and terminal device of terminal device | |
CN110300267A (en) | Photographic method and terminal device | |
CN109658886A (en) | A kind of control method and terminal of display screen | |
CN108984082A (en) | A kind of image display method and mobile terminal | |
CN108881617A (en) | A kind of display changeover method and mobile terminal | |
CN109710349A (en) | A kind of screenshotss method and mobile terminal | |
CN109067949A (en) | A kind of electronic equipment and its control method | |
CN110018805A (en) | A kind of display control method and mobile terminal | |
CN109412932A (en) | A kind of screenshotss method and terminal | |
CN109145731A (en) | A kind of fingerprint identification method, device and mobile terminal | |
CN109522524A (en) | A kind of text browsing methods and terminal device | |
CN109448069A (en) | A kind of template generation method and mobile terminal | |
CN108881782A (en) | A kind of video call method and terminal device | |
CN109451144A (en) | A kind of message treatment method and terminal device | |
CN109033912A (en) | A kind of recognition methods of identification code and mobile terminal | |
CN110300286A (en) | A kind of image display method and 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190611 |