CN109683703A - A kind of display control method, terminal and computer readable storage medium - Google Patents
A kind of display control method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109683703A CN109683703A CN201811280034.5A CN201811280034A CN109683703A CN 109683703 A CN109683703 A CN 109683703A CN 201811280034 A CN201811280034 A CN 201811280034A CN 109683703 A CN109683703 A CN 109683703A
- Authority
- CN
- China
- Prior art keywords
- display
- terminal
- viewing
- distance
- display screen
- 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
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000003860 storage Methods 0.000 title claims abstract description 26
- 230000004438 eyesight Effects 0.000 claims abstract description 54
- 238000001514 detection method Methods 0.000 claims abstract description 40
- 238000013507 mapping Methods 0.000 claims abstract description 24
- 230000002950 deficient Effects 0.000 claims description 23
- 230000006854 communication Effects 0.000 claims description 19
- 238000004891 communication Methods 0.000 claims description 18
- 238000005516 engineering process Methods 0.000 claims description 10
- 230000002045 lasting effect Effects 0.000 claims description 7
- 241000406668 Loxodonta cyclotis Species 0.000 claims description 6
- 230000001815 facial effect Effects 0.000 claims description 3
- 238000002604 ultrasonography Methods 0.000 claims description 3
- 210000001508 eye Anatomy 0.000 abstract description 19
- 206010047571 Visual impairment Diseases 0.000 abstract description 5
- 208000029257 vision disease Diseases 0.000 abstract description 5
- 230000004393 visual impairment Effects 0.000 abstract description 5
- 208000003464 asthenopia Diseases 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 13
- 238000012544 monitoring process Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 10
- 230000001105 regulatory effect Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 4
- 230000004308 accommodation Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 210000005252 bulbus oculi Anatomy 0.000 description 3
- 230000007774 longterm Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 230000036544 posture Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000012512 characterization method Methods 0.000 description 2
- 230000001886 ciliary effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 230000005764 inhibitory process Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 210000003205 muscle Anatomy 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000000149 penetrating effect Effects 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
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)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of display control methods, terminal and computer readable storage medium, for existing terminal display screen when exporting display information to user, it be easy to cause user's eye strain, the problem of visual impairment, display control scheme provided in an embodiment of the present invention, by when determination needs to enter eyeshield display pattern, detection viewing object is the same as the view object distance between terminal display screen, then it is determined according to view object distance with the mapping relations between the scaling of display object and works as scaling of the forward sight object under, and the display size according to the scaling adjustment display object determined in display background, so that the display size of display object depending on object distance the same as matching between viewing object and display screen, it avoids because viewing object view object habit is bad, it cannot correctly keep preferably regarding object distance, to aggravate eyes The problem of burden, effective protection user's eyesight in the case where user's viewing screen for a long time, the user experience is improved.
Description
Technical field
The present invention relates to field of terminal technology, can more specifically to a kind of display control method, terminal and computer
Read storage medium.
Background technique
Nowadays, as computer technology is widely used in people's daily life, work, life, the joy of people
It is happy etc. all to be unable to do without terminal.Currently, most terminals all can by display screen to user's output information, so, the view of user
Line has to concentrate for a long time on a terminal screen.Even user is accustomed to good view object, and eyes are shown for a long time
Light stimulation on screen is likely to will lead to eyes of user fatigue even visual impairment, and still more most users are not
What is had is accustomed to depending on object or cannot be always ensured that during for a long time with eye good view object habit, so, this meeting
The eyes of grievous injury user irreversibly decline so as to cause user's eyesight, reduce user experience.
Summary of the invention
The technical problem to be solved in the present invention is that: the long-term viewing terminal display screen of user leads to eye fatigue, causes to regard
The problem of power declines provides a kind of display control method, terminal and computer readable storage medium for the technical problem.
In order to solve the above technical problems, the present invention provides a kind of display control method, display control method includes:
Determining that detection viewing object is the same as the view object distance between terminal display screen when needing to enter eyeshield display pattern;
It is determined according to view object distance with the mapping relations between the scaling of display object and works as scaling of the forward sight object under
Ratio, display object is the object being shown in display screen in display background;
According to display size of the scaling adjustment display object determined in display background.
Optionally, detection viewing object between terminal display screen view object distance include it is following it is several in it is any one
Kind:
Viewing object is detected between display screen based on infrared detection principle by the infrared sensor of setting at the terminal
Depending on object distance;
Object is watched with the view object distance between display screen by the camera detection of setting at the terminal;
Viewing object is detected between display screen based on ultrasound detection principle by the ultrasonic sensor of setting at the terminal
Depending on object distance.
Optionally, before the display size according to the scaling adjustment display object determined in display background, also
Include:
Determine the view object distance between viewing object and display screen maintain within the scope of first distance when be up to preset duration, the
One distance range is determined according to view object distance and allowable error value.
Optionally, before detection viewing object is with the view object distance between terminal display screen, further includes:
It obtains the eyesight state of currently viewing object and determines whether the eyesight state obtained belongs to defective mode, in determination
When the eyesight state of viewing object belongs to defective mode, determines and need to enter eyeshield display pattern;
Or,
Monitoring display screen persistently light it is accumulative light duration, determined in accumulative light when duration is more than to light duration threshold value
It needs to enter eyeshield display pattern;
Or,
It monitors the lasting of viewing object using terminal and uses duration, lasting true more than when using duration threshold value using duration
Surely it needs to enter eyeshield display pattern.
Optionally, it obtains the eyesight state of currently viewing object and determines whether the eyesight state obtained belongs to defective mode
Include:
The face-image of viewing object is obtained by camera;
Based on image recognition principle determine the viewing object in face-image whether wearing spectacles, if so, determine viewing
The eyesight state of object belongs to defective mode, otherwise, it is determined that the eyesight state of viewing object is not belonging to defective mode.
Optionally, it obtains the eyesight state of currently viewing object and determines whether the eyesight state obtained belongs to defective mode
Include:
It is currently viewing right based on the determination of at least one of facial recognition techniques, fingerprint identification technology, iris recognition technology
The identity information of elephant;
Eyesight state table, which is inquired, according to identity information determines whether the eyesight state of viewing object belongs to defective mode.
Optionally, after determination needs to enter eyeshield display pattern, display control method further include:
Determine that the interface currently shown on display screen is text importing interface, the display object in text importing interface includes
Text importing object;
According to the display size for showing object in the duration adjustment text importing interface of viewing object viewing screen.
Optionally, determine that the interface currently shown on display screen is that text importing interface includes:
Determine that text importing object in the interface currently shown on display screen shows the total of occupied area S1 and interface
Ratio between area S0 is more than preset percentage;
Or,
Determine that the interface currently shown on display screen belongs to word read application program.
Further, the present invention also provides a kind of terminal, terminal includes including processor, memory and communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing one or more program stored in memory, to realize the display control of as above any one
The step of method processed.
Further, the present invention also provides a kind of computer readable storage medium, computer-readable recording medium storages
There is one or more program, one or more program can be executed by one or more processor, as above any to realize
The step of display control method of item.
Beneficial effect
The present invention provides a kind of display control method, terminal and computer readable storage medium, shows for existing terminal
The problem of screen be easy to cause user's eye strain when exporting display information to user, visual impairment, the embodiment of the present invention provides
Display control scheme, by determine need enter eyeshield display pattern when, detection viewing object between terminal display screen
View object distance, then according to view object distance with display object scaling between mapping relations determine when forward sight object distance under
Scaling, and according to display size of the scaling adjustment display object in display background determined so that
Show that the display size of object with matching between viewing object and display screen depending on object distance, avoids because viewing object view object is practised
It is used to bad, cannot correctly keeps preferably regarding object distance, thus the problem of aggravating eyes burden, in user's viewing screen for a long time
In the case where effective protection user's eyesight, the user experience is improved.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is a kind of display interface schematic diagram of the terminal provided in first embodiment of the invention;
Fig. 4 is a kind of flow chart of the display control method provided in first embodiment of the invention;
Fig. 5 is another display interface schematic diagram of the terminal provided in first embodiment of the invention;
Fig. 6 is that one kind that the terminal provided in first embodiment of the invention is under ideal view object distance in viewing object is aobvious
Show schematic diagram;
One kind after what is detected according to Fig. 7 be adjusted the display size for showing object in Fig. 6 depending on object distance is aobvious
Show schematic diagram;
Fig. 8 is a kind of flow chart of the display control method provided in second embodiment of the invention;
Fig. 9 is a kind of flow chart of the determining viewing object eyesight state provided in second embodiment of the invention;
Figure 10 is a kind of hardware structural diagram of the terminal provided in third embodiment of the invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 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 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 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 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 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 109 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 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Mobile terminal 100 provided in this embodiment can pass through sensor when determination needs to enter eyeshield display pattern
Camera detection viewing object in infrared sensor, ultrasonic sensor or A/V input unit 104 in 105 is the same as mobile whole
Then view object distance between the display panel 1061 at end 100 is stored in advance in the view object distance in memory 109 with display pair
Mapping relations between the scaling of elephant, which determine, works as scaling of the forward sight object under, and according to the scaling tune determined
Display size of the whole display object in display background.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
When terminal carries out display information output by display screen, usually the information obtained is needed to show user
In display background in display screen, in the present embodiment, the object being displayed in display background is known as " display object ".It is logical
Often, display object includes but is not limited to that text, symbol, figure, icon, image etc. are at least one of several.Fig. 3 is referred to,
Fig. 3 shows the schematic diagram of a display interface of terminal, on the display interface 30, including text 31, symbol 32 and
Icon 33.These objects understand that content shown by display interface 30 is all important to user, so, user shows in viewing
When interface 30, what is watched emphatically is typically not the display background in display interface 30, but the display object in display background.
Although user can adjust the display size of text in terminal according to their own needs in the related art, this
User actively selection and the matched display size of own eyesight state are needed, and terminal can only be responsible for the ruler selected according to user
The corresponding display of little progress row cannot provide a user the display service of adaptability automatically.
Moreover, the candidate display size that terminal is previously provided to user all assumes that user can see in preferably view object distance
Display screen is seen, so these candidate display sizes actually matching depending on object distance in the ideal case with user.But it is practical
On, user is when watching screen, it is difficult to ensure that can do by myself normally watches display screen under the ideal distance depending on object always, very much
In the case of, user may change the view object distance of oneself because of factors such as the postures of oneself so that view object distance with
Display size no longer matches, thus the problem of damaging user's eyesight when user watches display screen for a long time, influencing user experience, this
Embodiment provides a kind of display control method, and Fig. 4 is a kind of feasible flow chart of the display control method:
S402: determining that detection viewing object is the same as the view object between terminal display screen when needing to enter eyeshield display pattern
Distance.
So-called viewing object can refer to the long-time users of terminal, be also possible to that any of terminal display screen is currently viewed
The long-time users of object namely the viewing object not necessarily terminal.For example, under a kind of situation, the user of terminal and from
Oneself friend checks job documentation by laptop together, and in this case, the friend of user can also be used as viewing
Object.In this way, terminal is in the case where determination needs to enter eyeshield display pattern, it is not necessary to screen currently viewing object
Identity, be conducive to expand sight protectio be benefited object range.Certainly in the other example of the present embodiment, terminal
Legitimate user can specify the benefited object of eyeshield display pattern, such as the legitimate user of only terminal could be as sight
See object, in this way, when terminal adjusts the display of display screen according to view object distance, it can be more targeted, be conducive to absorbed promoted eventually
Hold the usage experience of legitimate user.
In the present embodiment, terminal can detecte the viewing same terminal of object when determination needs to enter eyeshield display pattern
View object distance between display screen.For from the strict sense, " depending on object distance " should refer to that terminal display screen is same and watch object
The distance of eye, so in some examples of the present embodiment, detection view object apart from when, detection is viewing object eye
The distance between eyeball and display screen.But in some other example of the present embodiment, viewing pair may also mean that depending on object distance
As face is the same as the distance between display screen.
There are many modes for being able to detect view object distance, below to several detections view object distance provided in the present embodiment
Mode is introduced:
Mode one: infrared detection principle detection viewing object is based on display by the infrared sensor of setting at the terminal
View object distance between screen.
In a kind of example of the present embodiment, infrared sensor is provided in terminal, terminal can pass through the infrared sensing
Device detect display screen with viewing object between depending on object distance: infrared sensor can emit infrared ray, utilize infrared refraction
The low advantage of rate, so that viewing object back reflection of the infrared ray before meeting with display screen is returned, such infrared sensor can root
Time difference between at the time of emitting infrared ray according to oneself and at the time of receiving reflection infrared ray determines viewing object with certainly
The distance between oneself.Meanwhile and because what infrared sensor was usually fixed with the distance between terminal display screen, it is infrared
Sensor can detecte out the view object distance between viewing object and terminal display screen.
Mode two: object is watched with the view object distance between display screen by the camera detection of setting at the terminal.
In second of example of the present embodiment, due to being both provided with camera in most terminals, so terminal can
Directly to carry out the measurement of view object distance using camera.Such as terminal acquires the image of display screen side by camera, this
The substantially available image to viewing object of sample, subsequent terminal can be based on feature object a certain in the realtime graphic got
Size rough estimate determine viewing the distance between object and display screen.Such as based on viewing subjects face region in image
Size come determine viewing the distance between object and display screen.In these examples, terminal can combine " gauged distance figure
Picture " watches the distance of object distance display screen to determine in current collected realtime graphic.The gauged distance image is distance
The image of the object of display screen specific range, which may not be the current viewing object of terminal, but terminal test people
Member, or the object gone out by Terminal Design personnel according to the data virtual of a large number of users.
In some instances, if the eyeshield display pattern of terminal is only for preassigned certain user, this
In the case of, terminal can acquire these images of the user between display screen under different distance of being benefited in advance.Fig. 5 shows terminal
Display interface schematic diagram when acquiring a certain user a certain gauged distance image.In the present embodiment, terminal is being collected for certain
After the gauged distance image of one user, these gauged distance images are stored, such as storage regards object distance as 10cm's
Gauged distance image regards object distance as the gauged distance image of 20cm and regards object distance as image of 30cm etc., in this way, when eventually
End by camera detection regard object apart from when, so that it may real-time acquired image and these gauged distance images are compared
To matching, so that it is determined that realtime graphic in gauged distance image which more closely, to roughly estimate user in turn current
Apart from the distance between display screen, namely view object distance.
It is understood that the granularity between the gauged distance image that terminal is acquired and stored in advance is smaller, then terminal is logical
After crossing camera real-time image acquisition, the view object distance estimated is more accurate.For example, in a kind of example of this implementation, terminal
Gauged distance image gathered in advance only has 10cm, 20cm and 30cm, then the gauged distance image that the terminal is stored
Granularity is 10cm.But in another example, terminal gauged distance image gathered in advance have 10cm, 15cm, 20cm,
25cm and 3ocm, then in this case, the granularity for the gauged distance image that terminal is stored is 5cm, can allow end in this way
End estimation determine view object apart from when, obtain more accurate estimated result.
In addition, in the present embodiment, terminal need to detect viewing object with the view object between display screen apart from when, can be with
Camera is controlled in background work, so that realtime graphic is collected in the case where not influencing and watching the processing of object Current transaction,
Promote user experience.
Mode three: ultrasound detection principle is based on by the ultrasonic sensor of setting at the terminal and detects the same viewer of display screen
Between view object distance.
In some examples of the present embodiment, if being provided with ultrasonic sensor in terminal, terminal also can use super
Sonic transducer carries out the detection of view object distance, and optionally, ultrasonic sensor can emit ultrasonic wave, while detect the anti-of ultrasonic wave
Situation is penetrated, according to the emission time of ultrasonic wave and the detection moment reflected ultrasonic wave, in conjunction with the propagation speed of sound wave in the controller
Degree determines viewing object with the distance between display screen.
It is understood that there are some terminals to be provided with more than one display screen, therefore, in this case, work as needs
When carrying out view object distance detection using the camera, infrared sensor, ultrasonic sensor etc. that are arranged in terminal, it shall be guaranteed that detection
Device is directed towards to be currently operating in terminal, the display screen being currently being used towards matched detection device.Such as it is right
In infrared sensor, need to guarantee the direction and terminal of the infrared ray emission element and infra-red detection component in infrared sensor
The direction of upper current in running order display screen is consistent.It with camera is also similar for ultrasonic sensor, namely
Terminal start-up detector part detect view object apart from when, need to guarantee that started detection device is directed towards and is currently at
The display of working condition towards matched detection device.
S404: it is determined with the mapping relations between the scaling of display object when forward sight object is under according to view object distance
Scaling.
In the present embodiment, mainly according to the view object distance adjustment display screen display pair between viewing object and display screen
The display size of elephant, so that the same view object distance for watching object currently between display screen of the display size of display object
Match, guarantees that the view object even watched between object and display screen, but can also be by adjusting the aobvious of display object apart from bad
Show size to protect the eyesight of viewing object.
So terminal can be determined according to depending on object distance when forward sight object is apart from lower aobvious after determining view object distance
Show the scaling of object.In a kind of example of the present embodiment, terminal storage has distance-ratio mapping relations, the distance-ratio
Example mapping relations characterization is the various mapping relations regarded between objects distance and corresponding display scaling, in some cases
Under, the distance-ratio mapping relations can be embodied by way of mapping table, refer to table 1:
Table 1
Depending on object distance (cm) | Scaling |
10 | 0.4 |
12 | 0.45 |
… | … |
30 | 1 |
… | … |
40 | 1.5 |
By inquiring the distance-ratio mapping table, terminal can be determined for the viewing currently viewing distance of object
The strategy that the display of display object is adjusted out.
S406: according to display size of the scaling adjustment display object determined in display background.
It, can be according to the contracting determined after terminal determines scaling for the display object in current display interface
Ratio is put to adjust the display size of display object.Terminal can be ideal view object distance to the basis of display object scaling adjustment
The display size of the lower display object, that is, using display size of the display object under ideal view object distance multiplied by determination
Scaling out, so that it is determined that display size adjusted out.In general, the ideal object distance that regards is 30cm, institute
Display size of the display object in the case where regarding object distance as 30cm can be used as basic display size using terminal, in conjunction with pantograph ratio
Example determines display size adjusted.
It is understood that in some other example of the present embodiment, basis of the terminal to display object scaling adjustment
It can also determine by other means.
It is understood that usually showing that object more than one, terminal can be these displays on a display interface
Object determines unified scaling, and terminal is then made to carry out unified scaling to the various display objects on display interface
Processing.But in some examples of the present embodiment, distance-ratio mapping relations more than one of terminal storage, for not
The display object of same type, terminal storage have different distances-ratio mapping relations.So under same view object distance, terminal
It can be that different types of display object determines different scalings according to these different mapping relations, so that eventually
End can carry out differentiated amplification to the different display objects on same display interface.For example, one kind in the present embodiment is shown
In example, display object is divided into A, B and C three types, and display state of these three display objects under ideal view object distance is such as
Shown in Fig. 6, but under a certain non-ideal view object distance, the respective scaling of display object of these three types is 1.5 respectively,
1.1 and 1.4, according to corresponding scaling to respectively showing that object is adjusted in Fig. 6 after, obtained display interface such as Fig. 7
It is shown.
In addition, terminal is according to the scaling adjustment display object determined in a kind of example of the present embodiment
Before display in display background, it can also first determine that viewing object keeps this to have reached the regular hour depending on object distance,
Guarantee that between viewing object and display screen depending on object distance changed at any time.But in view of viewing object is being watched
When display screen, do not change the posture of oneself even, it is also difficult to guarantee that the distance between display screen one is constant, so,
In a kind of example of the present embodiment, terminal can be by determining that viewing object will maintain within the scope of first distance depending on object distance
Whether duration reaches preset duration to determine whether through a long time maintains the view object distance to viewing object.Wherein first distance model
Enclose is regard object distance and the determination of allowable error value based on what is detected before terminal: for example it is assumed that allowable error value is ± x0,
And terminal detected before determining scaling viewing object between display screen regard object distance as x1, then, and first distance
Range is (x1-x0, x1+x0).If the terminal determine that viewing object depending on object distance maintain within the scope of the first distance when
Up to preset duration, then terminal can according to corresponding scaling come to display size of the display object in display background into
Row adjustment.
In order to promote the protection to viewing object eyesight, in some examples of the present embodiment, terminal, which determines, to be needed
Into after eyeshield display pattern, if the interface currently shown is text importing interface, terminal can also be according to viewing object
The duration of viewing screen adjusts the size that object is shown in the text display interface.In the present embodiment, terminal can by with
Any one in lower two ways determines whether the interface currently shown on display screen is text importing interface:
The first, terminal, which passes through, determines that text importing object shows occupied face in the interface currently shown on display screen
The ratio between product S1 and the gross area S0 at the interface are more than preset percentage.Optionally, terminal can determine current display interface Chinese
Word shows that the number of the occupied pixel of object and the display interface show occupied total pixel number, then
The occupied area S1 of text importing object and the display interface gross area are determined according to ratio between the two pixel numbers
Ratio between S0, and determine whether the ratio is more than preset percentage, if it is determined that result is yes, it is determined that display screen is current
The interface of display is text importing interface, and otherwise determining current display interface not is text importing interface.
Second, terminal determines that the interface currently shown on display screen belongs to word read application program.In this scheme
In the middle, it is for word read which application program is terminal, which can predefine out, this can be terminal oneself and is based on respectively answering
The ratio-dependent shared by text importing object in program display interface come out, be also possible to from user to terminal specify.
If the terminal determine that display interface current on display screen belongs to a certain word read application program, then terminal can determine
Current display interface is text importing interface.
Terminal adjusts the size that object is shown in the text display interface, this master according to the duration of viewing object viewing screen
If one may be in the error range of permission depending on object distance due to when viewing object is when watching text importing interface
It is inside maintained for a long time, ciliary muscle in eyes of user etc. cannot be adjusted in this case, be easy to cause its regulating power
Decline, and then lead to user's visual impairment.So terminal can be worked as according to viewing object in some examples of the present embodiment
It is preceding viewing text importing interface duration come adjust display object display size.For example, a kind of example in the present embodiment is worked as
In, duration-ratio mapping relations have been stored in advance in terminal, and mapping relations characterization is that different literals read the same pantograph ratio of duration
Corresponding relationship between example.Terminal zooms in and out adjustment to the display of text in display interface according to the scaling determined,
To actively promote the eyes for watching object to be actively adjusted according to current display situation, avoid ciliary muscle etc. is rigid from asking
Topic reduces the risk of user's visual impairment.
Display control method provided in this embodiment, it is aobvious with terminal by detection viewing object under eyeshield display pattern
Then view object distance of the distance between the display screen as viewing object is determined according to the view object distance of viewing object to display interface
The adjustable strategies of middle display object display size, to adjust out the display ruler being more suitable for when forward sight object distance for viewing object
It is very little, so that even viewing object uses display pair of the undesirable view object on viewing terminal display screen, terminal display screen
Eyes as also can actively adapt to viewing object, so that the eyesight of effective protection viewing object, promotes the user's body of viewing object
It tests.
It further, can also be according to viewing pair since terminal is when watching object viewing text importing interface
The display size of text importing object in the reading duration active accommodation text importing interface of elephant, to transfer the eye of viewing object
Eyeball is passively adjusted, so that the feeling of fatigue that the eyes for alleviating viewing object are generated because long-time is in a kind of state, avoids
Watch the problem of object eye regulating power is degenerated.
Second embodiment
The advantages of in order to enable those skilled in the art to become apparent from display control method provided in first embodiment
With details, the present embodiment will continue to be further elaborated the display control method in conjunction with specific example, it is first assumed that terminal is aobvious
The interface that display screen is currently shown is the interface for belonging to a certain word read class application program, that is, current display interface is text
Display interface.Refer to a kind of flow chart of display control method shown in Fig. 8:
S802: judge whether to need to enter eyeshield display pattern.
If the determination result is YES, then enter S804, otherwise terminal can be shown in usual way, namely be entered
S818。
In the present embodiment, provide it is following it is several can mode for reference it is aobvious into Hu County to be made whether to need for terminal
Show the judgement of mode:
Mode one: it is bad whether the eyesight state that terminal obtains the eyesight state of currently viewing object and determination obtains belongs to
State determines when determining that the eyesight state of viewing object belongs to defective mode and needs to enter eyeshield display pattern.
In this manner, the eyeshield display pattern of the terminal viewing object bad mainly for those eyesight status, keeps away
The eyesight for exempting from these viewing objects, which further deteriorates, to be damaged.In a kind of example, incorporated by reference to Fig. 9:
S902: the face-image of currently viewing object is obtained by camera collection image.
Terminal can obtain the face-image of currently viewing object by camera collection image, it is to be understood that
Terminal can automatically turn on camera, such as the front camera of terminal from the background to obtain the face-image of viewing object.
S904: determine whether the viewing object in the face-image got there are wearing spectacles based on image recognition principle.
If the determination result is YES, then enter S906, otherwise, into S908.Terminal can by camera collection image come
The face-image for obtaining currently viewing object, the viewing pair being then based in the determining face-image got of image recognition principle
As if no there are wearing spectacles.Otherwise, terminal determines that the eyesight state of the viewing object is not belonging to defective mode.
S906: determine that the eyesight state of the viewing object belongs to defective mode.
If it is judged that being yes namely the viewing object wears eyes really, then terminal can be determined that the viewing pair
The eyesight state of elephant belongs to defective mode.
S908: determine that the eyesight state of the viewing object is not belonging to defective mode.
If it is judged that being no namely the viewing object wears eyes really, then the eyesight of the viewing object is determined
State is not belonging to defective mode.
In another example of the present embodiment, the example states of one or more viewing objects have been stored in advance in terminal
Information, such as each identity information for watching object and corresponding eyesight state are stored in the form of eyesight state table, in this way,
Terminal determines after the identity information of currently viewing object, so that it may be inquired according to the eyesight state table of storage and determine the viewing
The corresponding eyesight state of object, and then determine whether the eyesight state of the viewing object belongs to defective mode.
In above-mentioned example, terminal can be several based on facial recognition techniques, fingerprint identification technology, iris recognition technology etc.
Kind at least one of determine the identity information of currently viewing object.It is understood that in some cases, watching object
Identity information itself can be specified by viewing object, terminal need not identify it.It is in determination in view of terminal but
It is no to be carried out on backstage when need to open eyeshield display pattern, it in this way can be to avoid interrupting viewing object currently
The affairs that terminal carries out, therefore, in this case, terminal is not influencing preferably when obtaining the eyesight state of viewing object
It is carried out in the state of user, namely user is not required actively to provide identity information, but backstage is used to open camera, fingerprint knowledge
The detection device such as other mould group detects the identity information of viewing object automatically, is regarded in the case where watching object and not being actively engaged in
It tries hard to keep shield.
Mode two: monitoring display screen persistently light it is accumulative light duration, be more than to light duration threshold in accumulative duration of lighting
It is determined when value and needs to enter eyeshield display pattern.
Mode three: monitoring viewing object using terminal it is lasting use duration, it is lasting using duration be more than use duration
It is determined when threshold value and needs to enter eyeshield display pattern.
Mode two and mode three are more similar, be all based on viewing object viewing screen duration come decide whether into
Enter eyeshield display pattern, if viewing object watches display screen for a long time, then illustrates to need to enter eyeshield display pattern, because thus
When viewing object eyes may be more tired, needing terminal, actively the eyesight of viewing object is protected in intervention.
Unlike but, what is monitored in mode two is the time that screen size is lighted, namely it is accumulative light duration, and three kinds of mode
Monitoring is the duration for watching object size using terminal, i.e., persistently uses duration.In contrast, the monitoring mode in mode two
It is more simple direct.
S804: detection viewing object is the same as the view object distance between terminal display screen.
In view of being already provided with infrared sensor in the terminals such as existing mobile phone, so terminal is using red in the present embodiment
Outer sensor carries out the detection of view object distance, end can be effectively reduced on the basis of guaranteeing testing result levels of precision in this way
Hold cost.
S806: monitoring maintains whether the duration within the scope of first distance reaches preset duration depending on object distance.
If the determination result is YES, then enter S808, otherwise continue to execute S806.
First distance range can allow to miss according to what is detected in S804 depending on pre-stored in object distance and terminal
Difference determines that the allowable error value is stored in terminal after being determined based on experience value by program staff.
S808: it is determined according to view object distance with the mapping relations between the scaling of text importing object and works as forward sight object distance
Under the first scaling.
In the present embodiment, one or more distance-ratio mapping tables can store in terminal, such as in one kind
In example, terminal storage has a distance-ratio mapping table, and by inquiring the distance-ratio mapping table, terminal can
Think that all types of display objects determines the first unified scaling under a certain distance depending on object.In the another of the present embodiment
In a little examples, multiple distances-ratio mapping table can be directed in terminal, these distance-ratio mapping tables are answered respectively
The determination of object scaling is shown for inhomogeneity.In this case, under same view object distance, terminal may be can determine whether
Multiple not exactly the same scalings out.
S810: the display size of text importing object is adjusted according to the first scaling.
It, can be each aobvious in display background to being shown in current display interface after terminal determines the first scaling
Show that object carries out the adjustment of display size according to corresponding first scaling, so that the display size after adjustment is more suitable
Viewing object is closed with being watched depending on object distance instantly.
S812: the reading duration at monitoring viewing object viewing text importing interface.
Since the interface that terminal is currently shown is text importing interface, viewing object is probably because indulge in
Word read and for a long time with the same view object distance viewing display screen being basically unchanged, in order to which viewing object can actively be carried out
Eyeball is adjusted, so terminal can show the display size of screen display object in the present embodiment with active accommodation.
S814: the second scaling is determined according to duration is read.
It is understood that terminal active accommodation shows that the display size of object should not too frequently, in the present embodiment
In some examples, terminal can be carried out periodically, once be adjusted in a regulating cycle, so terminal monitoring viewing pair
Reading duration as watching text importing interface is mainly used for determining which the regulating cycle being presently in is.Optionally,
In different regulating cycles, the second scaling for showing the adjustment of object display size is different.According to readding for viewing object
Duration is read, terminal can determine whether to reach a new regulating cycle, and after entering the new regulating cycle, terminal can be with
Determine the corresponding scaling of the regulating cycle as the second current scaling.
S816: the display size of text importing object is adjusted according to the second scaling.
After determining the second scaling, terminal can be according to second scaling to the text in text importing interface
Word shows that the display size of object is adjusted.
S818: it is shown according to general display mode.
It is understood that terminal may not necessarily be actively according to viewing object when being shown according to general display mode
The distance between display screen shows the scaling of object to adjust.But terminal still can be using other measures to viewing
The eyesight of object is protected, such as the display background of display interface is adjusted to more soft tone, according to external environment
Adjust the brightness etc. of display screen.
Display control method provided in this embodiment can watch the duration of screen based on viewing object, watch object
The factors such as eyesight state determine whether to need to enter eyeshield display pattern, and need to enter eyeshield display pattern determining
When, it determines and works as scaling of the forward sight object under, then carried on the back according to the scaling adjustment display object determined in display
Display size on scape, so that the display size of display object is the same as the view object distance between viewing object and display screen
Match, avoids correctly keeping preferably regarding object distance, to aggravate eyes burden because viewing object view object habit is bad
Problem.
3rd embodiment
The present embodiment will provide a kind of computer readable storage medium and a kind of terminal, first to the computer-readable storage
Medium is introduced:
One or more computers for reading, compiling or executing for memory are stored in the computer readable storage medium
Program, wherein just including display control program, which executes to realize first or second reality for processor
The display control method provided in example is provided.
Referring to Figure 10 provide terminal hardware structural diagram: terminal 10 include processor 11, memory 12 and
For connecting the communication bus 13 of processor 11 Yu memory 12, wherein memory 12 can be stored with display control journey to be aforementioned
The computer readable storage medium of sequence.The processor 11 of terminal 10, which can execute, stores display control program with reality in memory 12
Display control method in existing previous embodiment:
Processor 11 is determining that detection viewing object is the same as the view between terminal display screen when needing to enter eyeshield display pattern
Object distance;It is determined according to view object distance with the mapping relations between the scaling of display object and works as pantograph ratio of the forward sight object under
Example, according to display size of the scaling adjustment display object determined in display background.
Optionally, processor 11 can be by obtaining the eyesight state of currently viewing object and determining the eyesight state obtained
Whether belong to defective mode, when determining that the eyesight state of viewing object belongs to defective mode, determines that needing to enter eyeshield shows
Mode;Or, monitoring display screen persistently light it is accumulative light duration, determined in accumulative light when duration is more than to light duration threshold value
It needs to enter eyeshield display pattern;Or, the lasting of monitoring viewing object using terminal uses duration, it is more than using duration lasting
It needs to enter eyeshield display pattern using determining when duration threshold value.
The detailed process that the processor 11 of terminal 10 executes display control method may refer to the introduction of foregoing embodiments,
Which is not described herein again.
Terminal provided in this embodiment, under eyeshield display pattern, by detection viewing object between terminal display screen
View object distance of the distance as viewing object, then determined according to the view object distance of viewing object to display pair in display interface
As the adjustable strategies of display size, so that the display size being more suitable for when forward sight object distance is adjusted out for viewing object, so that i.e.
It is that viewing object also can be actively using display object of the undesirable view object on viewing terminal display screen, terminal display screen
The eyes of viewing object are adapted to, the eyesight of effective protection viewing object improves the user experience of viewing object.
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.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
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, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of display control method, which is characterized in that the display control method includes:
Determining that detection viewing object is the same as the view object distance between terminal display screen when needing to enter eyeshield display pattern;
It is determined according to view object distance with the mapping relations between the scaling of display object and works as scaling of the forward sight object under,
The display object is the object being shown in the display screen in display background;
Display size of the display object in the display background is adjusted according to the scaling determined.
2. display control method as described in claim 1, which is characterized in that detection viewing object with terminal display screen it
Between view object distance include it is following it is several in any one:
Infrared detection principle, which is based on, by the infrared sensor of setting on the terminal detects the viewing object with described aobvious
View object distance between display screen;
By the way that viewing object described in camera detection on the terminal is arranged with the view object distance between the display screen;
Ultrasound detection principle, which is based on, by the ultrasonic sensor of setting on the terminal detects the viewing object with described aobvious
View object distance between display screen.
3. display control method as described in claim 1, which is characterized in that the scaling tune that the basis is determined
The whole display object is before the display size in the display background, further includes:
Determine the view object distance between the viewing object and the display screen maintain within the scope of first distance when default
Long, the first distance range is determined according to the view object distance and allowable error value.
4. display control method as described in any one of claims 1-3, which is characterized in that the same terminal of object is watched in the detection
Before view object distance between display screen, further includes:
It obtains the eyesight state of currently viewing object and determines whether the eyesight state obtained belongs to defective mode, in determination
When the eyesight state of the viewing object belongs to defective mode, determines and need to enter the eyeshield display pattern;
Or,
Monitor that the display screen persistently lights it is accumulative light duration, it is described it is accumulative to light duration be more than to light duration threshold value when
It determines and needs to enter the eyeshield display pattern;
Or,
The viewing object is monitored using the lasting using duration of the terminal, it is described the use of duration is more than persistently to use duration
It is determined when threshold value and needs to enter the eyeshield display pattern.
5. display control method as claimed in claim 4, which is characterized in that the eyesight state for obtaining currently viewing object
And determine whether the eyesight state obtained belongs to defective mode and include:
The face-image of the viewing object is obtained by camera;
Based on image recognition principle determine the viewing object in the face-image whether wearing spectacles, if so, determine described in
The eyesight state of viewing object belongs to defective mode, otherwise, it is determined that the eyesight state of the viewing object is not belonging to defective mode.
6. display control method as claimed in claim 4, which is characterized in that the eyesight state for obtaining currently viewing object
And determine whether the eyesight state obtained belongs to defective mode and include:
Presently described viewing pair is determined based at least one of facial recognition techniques, fingerprint identification technology, iris recognition technology
The identity information of elephant;
Eyesight state table, which is inquired, according to the identity information determines whether the eyesight state of the viewing object belongs to defective mode.
7. display control method as described in any one of claims 1-3, which is characterized in that determining that needing to enter eyeshield shows
After mode, the display control method further include:
Determine that the interface currently shown on the display screen is text importing interface, the display object in the text importing interface
Including text importing object;
The display size that object is shown in the text importing interface is adjusted according to the duration of the viewing object viewing screen.
8. display control method as claimed in claim 7, which is characterized in that currently shown on the determination display screen
Interface is that text importing interface includes:
Determine that text importing object shows occupied area S1 and the interface in the interface currently shown on the display screen
Gross area S0 between ratio be more than preset percentage;
Or,
Determine that the interface currently shown on the display screen belongs to word read application program.
9. a kind of terminal, which is characterized in that the terminal includes processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of display control method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in display control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811280034.5A CN109683703A (en) | 2018-10-30 | 2018-10-30 | A kind of display control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811280034.5A CN109683703A (en) | 2018-10-30 | 2018-10-30 | A kind of display control method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109683703A true CN109683703A (en) | 2019-04-26 |
Family
ID=66185697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811280034.5A Pending CN109683703A (en) | 2018-10-30 | 2018-10-30 | A kind of display control method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109683703A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110572917A (en) * | 2019-09-17 | 2019-12-13 | 哈尔滨理工大学 | A micro-environment light brightness adjustment method and system |
CN110673737A (en) * | 2019-09-30 | 2020-01-10 | 青岛海尔科技有限公司 | Method and device for adjusting display content based on smart home operating system |
CN112000304A (en) * | 2019-05-27 | 2020-11-27 | 广东小天才科技有限公司 | Projection display method and device |
CN112286411A (en) * | 2020-09-30 | 2021-01-29 | 北京大米科技有限公司 | Display mode control method and device, storage medium and electronic equipment |
CN113029018A (en) * | 2021-02-03 | 2021-06-25 | 深圳市优必选科技股份有限公司 | Eye protection prompting method and device, terminal equipment and computer readable storage medium |
CN113556608A (en) * | 2021-07-14 | 2021-10-26 | 深圳创维-Rgb电子有限公司 | Display device play control method, display device and readable storage medium |
CN113641416A (en) * | 2020-04-24 | 2021-11-12 | 北京小米移动软件有限公司 | Eye protection mode processing method and device in fingerprint identification mode, terminal and medium |
CN114020383A (en) * | 2021-10-29 | 2022-02-08 | 努比亚技术有限公司 | Interface display method, terminal and storage medium |
WO2023019402A1 (en) * | 2021-08-16 | 2023-02-23 | 京东方科技集团股份有限公司 | Control method for display apparatus, display apparatus, device and computer storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101523482A (en) * | 2006-10-13 | 2009-09-02 | 科乐美数码娱乐株式会社 | Display device, displa method, information recording medium and program |
CN105472174A (en) * | 2016-01-29 | 2016-04-06 | 四川工业科技学院 | Intelligent eye protecting method achieved by controlling distance between mobile terminal and eyes |
CN106200925A (en) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | The control method of mobile terminal, device and mobile terminal |
CN106201415A (en) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106529539A (en) * | 2016-10-28 | 2017-03-22 | 维沃移动通信有限公司 | A picture processing method, server and mobile terminal |
CN106598519A (en) * | 2016-12-12 | 2017-04-26 | 合肥联宝信息技术有限公司 | Screen display method and apparatus, and computer |
US20170323425A1 (en) * | 2014-11-21 | 2017-11-09 | Rakuten, Inc. | Information processing device, information processing method, and information processing program |
CN107547749A (en) * | 2017-09-08 | 2018-01-05 | 深圳天珑无线科技有限公司 | Word size adjusting method and device, terminal and computer-readable recording medium |
-
2018
- 2018-10-30 CN CN201811280034.5A patent/CN109683703A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101523482A (en) * | 2006-10-13 | 2009-09-02 | 科乐美数码娱乐株式会社 | Display device, displa method, information recording medium and program |
US20170323425A1 (en) * | 2014-11-21 | 2017-11-09 | Rakuten, Inc. | Information processing device, information processing method, and information processing program |
CN105472174A (en) * | 2016-01-29 | 2016-04-06 | 四川工业科技学院 | Intelligent eye protecting method achieved by controlling distance between mobile terminal and eyes |
CN106200925A (en) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | The control method of mobile terminal, device and mobile terminal |
CN106201415A (en) * | 2016-06-28 | 2016-12-07 | 广东欧珀移动通信有限公司 | Control method, control device and electronic device |
CN106529539A (en) * | 2016-10-28 | 2017-03-22 | 维沃移动通信有限公司 | A picture processing method, server and mobile terminal |
CN106598519A (en) * | 2016-12-12 | 2017-04-26 | 合肥联宝信息技术有限公司 | Screen display method and apparatus, and computer |
CN107547749A (en) * | 2017-09-08 | 2018-01-05 | 深圳天珑无线科技有限公司 | Word size adjusting method and device, terminal and computer-readable recording medium |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112000304A (en) * | 2019-05-27 | 2020-11-27 | 广东小天才科技有限公司 | Projection display method and device |
CN110572917A (en) * | 2019-09-17 | 2019-12-13 | 哈尔滨理工大学 | A micro-environment light brightness adjustment method and system |
CN110673737A (en) * | 2019-09-30 | 2020-01-10 | 青岛海尔科技有限公司 | Method and device for adjusting display content based on smart home operating system |
CN110673737B (en) * | 2019-09-30 | 2023-09-15 | 青岛海尔科技有限公司 | Adjustment method and device for display content based on smart home operating system |
CN113641416A (en) * | 2020-04-24 | 2021-11-12 | 北京小米移动软件有限公司 | Eye protection mode processing method and device in fingerprint identification mode, terminal and medium |
CN113641416B (en) * | 2020-04-24 | 2024-10-22 | 北京小米移动软件有限公司 | Eye protection mode processing method, device, terminal and medium under fingerprint identification mode |
CN112286411A (en) * | 2020-09-30 | 2021-01-29 | 北京大米科技有限公司 | Display mode control method and device, storage medium and electronic equipment |
CN113029018A (en) * | 2021-02-03 | 2021-06-25 | 深圳市优必选科技股份有限公司 | Eye protection prompting method and device, terminal equipment and computer readable storage medium |
CN113556608A (en) * | 2021-07-14 | 2021-10-26 | 深圳创维-Rgb电子有限公司 | Display device play control method, display device and readable storage medium |
WO2023019402A1 (en) * | 2021-08-16 | 2023-02-23 | 京东方科技集团股份有限公司 | Control method for display apparatus, display apparatus, device and computer storage medium |
CN115989476A (en) * | 2021-08-16 | 2023-04-18 | 京东方科技集团股份有限公司 | Control method of display device, apparatus, and computer storage medium |
US12020655B2 (en) | 2021-08-16 | 2024-06-25 | Beijing Boe Optoelectronics Technology Co., Ltd. | Method for controlling display apparatus, display apparatus, device, and computer storage medium |
CN114020383A (en) * | 2021-10-29 | 2022-02-08 | 努比亚技术有限公司 | Interface display method, terminal and storage medium |
CN114020383B (en) * | 2021-10-29 | 2024-06-04 | 努比亚技术有限公司 | Interface display method, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109683703A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN109381165B (en) | Skin detection method and mobile terminal | |
CN107728770A (en) | Screen luminance of terminal method of adjustment, mobile terminal and computer-readable recording medium | |
CN109639879A (en) | Control method for screen display, collapsible terminal and computer readable storage medium | |
CN109558053A (en) | A kind of method, mobile terminal and computer readable storage medium for adjusting screen and showing | |
CN109150220A (en) | Wearable device and its adjusting method of elasticity, computer storage medium | |
CN109656371A (en) | Mobile terminal eye care method, device, mobile terminal and storage medium | |
CN110007758A (en) | A terminal control method and terminal | |
CN109358831A (en) | A kind of display control method, mobile terminal and computer readable storage medium | |
CN108600555A (en) | A kind of screen color method of adjustment, mobile terminal and computer readable storage medium | |
CN109672780A (en) | A kind of display control method, terminal and computer readable storage medium | |
CN107707751A (en) | Video playback electricity saving method and corresponding mobile terminal | |
CN108848268A (en) | Intelligent adjusting method, mobile terminal and the readable storage medium storing program for executing of screen intensity | |
CN108012026B (en) | Eyesight protection method and mobile terminal | |
CN107679067A (en) | Information recommendation method and mobile terminal | |
KR20170076500A (en) | Method, storage medium and electronic device for performing function based on biometric signal | |
CN109567773A (en) | Blood pressure measuring method, terminal and computer readable storage medium based on fingerprint | |
CN109616081A (en) | Display lightness regulating method, flexible screen terminal and computer readable storage medium | |
CN109218527A (en) | screen brightness control method, mobile terminal and computer readable storage medium | |
CN108804170A (en) | The wearing of intelligent wearable device determines method, intelligent wearable device and storage medium | |
CN109660654A (en) | A kind of eyeshield based reminding method, flexible screen terminal and computer readable storage medium | |
CN110380950A (en) | A kind of information display control method, terminal and computer readable storage medium | |
CN110347306A (en) | A kind of multi-screen display method, terminal and computer readable storage medium | |
CN109445731A (en) | A kind of display pattern control method, terminal and computer readable storage medium | |
CN113835804B (en) | Information display method and electronic device |
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: 20190426 |