CN110322858B - Screen display method, electronic device, and computer storage medium - Google Patents

Screen display method, electronic device, and computer storage medium Download PDF

Info

Publication number
CN110322858B
CN110322858B CN201810269718.9A CN201810269718A CN110322858B CN 110322858 B CN110322858 B CN 110322858B CN 201810269718 A CN201810269718 A CN 201810269718A CN 110322858 B CN110322858 B CN 110322858B
Authority
CN
China
Prior art keywords
electronic device
display screen
display
preset value
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.)
Active
Application number
CN201810269718.9A
Other languages
Chinese (zh)
Other versions
CN110322858A (en
Inventor
陈冠玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanning Fulian Fugui Precision Industrial Co Ltd
Original Assignee
Nanning Fugui Precision Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanning Fugui Precision Industrial Co Ltd filed Critical Nanning Fugui Precision Industrial Co Ltd
Priority to CN201810269718.9A priority Critical patent/CN110322858B/en
Publication of CN110322858A publication Critical patent/CN110322858A/en
Application granted granted Critical
Publication of CN110322858B publication Critical patent/CN110322858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/18Eye characteristics, e.g. of the iris
    • G06V40/19Sensors therefor
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/012Walk-in-place systems for allowing a user to walk in a virtual environment while constraining him to a given position in the physical environment
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0626Adjustment of display parameters for control of overall brightness
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/066Adjustment of display parameters for control of contrast

Abstract

A screen display method, comprising: judging whether human eyes watch the display screen or not through the camera and recording the continuous watching time and the blinking times of the human eyes; judging whether the continuous fixation time of the human eyes is greater than or equal to a first preset value or not; when the continuous fixation time of the human eyes is larger than or equal to a first preset value, judging whether the blinking frequency of the user is larger than or equal to a second preset value; when the blinking frequency of the user is less than a second preset value, the electronic device is set to be in a first eye protection mode; and when the blinking frequency of the user is greater than or equal to a second preset value, setting the electronic device to be in a second eye protection mode. The invention also provides an electronic device and a computer storage medium, which are used for solving the problem that the electronic device can not automatically adjust the screen display parameter value according to the current use characteristics of a user.

Description

Screen display method, electronic device, and computer storage medium
Technical Field
The present invention relates to screen display technologies, and in particular, to a screen display method, an electronic device, and a computer storage medium.
Background
The use of electronic devices with display screens has become an integral part of modern everyday life. Due to the popularity and portability of such electronic devices, the time for people to use such electronic devices is increasing.
However, on the one hand, since the light emitted from the display screen contains blue light, the blue light has a harmful effect on the retina of the human eye; on the other hand, in the prior art, the contrast value and/or the brightness value of the display screen of the electronic device are/is set fixedly. Therefore, if the user watches the display screen of the electronic device for a long time under the setting of inappropriate screen contrast value and/or screen brightness value, the user may feel uncomfortable with eyes, and serious people may have eye diseases such as dry eye, macular degeneration, pseudomyopia and the like. For this reason, many electronic devices or applications installed on the electronic devices in the prior art have a function of filtering blue light and a function of adjusting a contrast value and/or a brightness value of a screen for a user to adjust.
However, such a setting is completely adjusted manually by a user, and automatic adjustment of the blue light intensity, the contrast value and/or the brightness value of the screen cannot be performed according to the current use characteristics of the user, which is not convenient for the user.
Disclosure of Invention
In view of the foregoing, there is a need for a screen display method, an electronic device and a computer storage medium for solving the problem that the electronic device cannot automatically adjust the screen display parameters of the electronic device according to the current usage characteristics of the user.
An embodiment of the present invention provides an electronic device, which includes a display screen, a camera, a memory, a processor, and a computer program segment stored in the memory and executable on the processor. The electronic device has a plurality of eye-protection modes, and the computer program segments when executed by the processor implement the steps of: judging whether human eyes watch the display screen or not through the camera and recording the continuous watching time and the blinking times of the human eyes; judging whether the continuous watching time of the human eyes is greater than or equal to a first preset value or not, wherein the first preset value corresponds to a first eye protection mode; when the continuous watching time of the human eyes is larger than or equal to the first preset value, judging whether the blinking frequency of the user is larger than or equal to a second preset value, wherein the second preset value corresponds to a second eye protection mode; when the blinking frequency of the user is smaller than the second preset value, the electronic device is set to be in the first eye protection mode; and when the blinking frequency of the user is greater than or equal to the second preset value, setting the electronic device to be in the second eye protection mode.
The embodiment of the invention provides a screen display method which is applied to an electronic device, wherein the electronic device is provided with a plurality of eye protection modes. The screen display method includes the steps of: judging whether human eyes watch the display screen or not through the camera and recording the continuous watching time and the blinking times of the human eyes; judging whether the continuous watching time of the human eyes is greater than or equal to a first preset value or not, wherein the first preset value corresponds to a first eye protection mode; when the continuous watching time of the human eyes is larger than or equal to the first preset value, judging whether the blinking frequency of the user is larger than or equal to a second preset value, wherein the second preset value corresponds to a second eye protection mode; when the blinking frequency of the user is smaller than the second preset value, the electronic device is set to be in the first eye protection mode; and when the blinking frequency of the user is greater than or equal to the second preset value, setting the electronic device to be in the second eye protection mode.
The embodiment of the invention also provides a computer storage medium, wherein a computer program segment is stored on the computer storage medium, and the computer program segment realizes the steps of the screen display method when being executed by a processor.
The electronic device, the screen display method and the computer storage medium provided by the embodiment of the invention can detect the use characteristics of a user when the user uses the electronic device, and automatically set the electronic device to different eye protection modes according to the use characteristics of the user so as to adjust the screen display parameter value of the electronic device to a proper value and reduce the damage of the bright light of the display screen to the eyes of the user. Compared with the prior art, the embodiment of the invention solves the technical problem that the screen display parameter value cannot be adjusted to be a proper value in due time according to the time length of watching the display screen when a user uses the electronic device.
Drawings
FIG. 1 is a block diagram of an electronic device according to an embodiment of the invention.
Fig. 2 is a schematic diagram illustrating effects before and after a display screen on a display screen of an electronic device is reduced by a predetermined scale according to an embodiment of the invention.
Fig. 3 is a schematic diagram illustrating an effect of moving the display frame on the display screen according to the embodiment of the invention.
Fig. 4 is a schematic diagram illustrating a change in shape of the display screen before and after the electronic device has angular acceleration according to the embodiment of the invention.
FIG. 5 is a flowchart illustrating a screen display method according to an embodiment of the present invention.
FIG. 6 is a flowchart illustrating a screen display method according to another embodiment of the present invention.
FIG. 7 is a flowchart illustrating a screen display method according to another embodiment of the present invention.
FIG. 8 is a flowchart illustrating a screen display method according to another embodiment of the present invention.
Description of the main elements
Figure BDA0001612264150000031
Figure BDA0001612264150000041
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
Fig. 1 is a block diagram of a program according to an embodiment of the present invention. The electronic device 1 includes a display screen 10, a camera 20, a memory 30, a processor 40, an eye detecting module 100, a recording module 200, a determining module 300, and an adjusting module 400. The electronic apparatus 1 may be a smartphone, tablet or notebook computer or other device.
The display screen 10 may be a liquid crystal display or other display device. The camera 20 may be a built-in front lens and is located on the same plane as the display screen 10, or the camera 20 may also be an external camera hung on the display screen 10.
The memory 30 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc.
The processor 40 may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip for executing software codes to calculate data, for example, for executing operations of the electronic device 1.
The modules 100-400 are configured to be executed by one or more processors (processor 40 in this embodiment) to accomplish the present invention. The modules referred to in the present invention are computer program segments that perform some specific functions. The memory 30 is also used for storing program code data of the electronic device 1 and the processor 40 is also used for executing the program code stored in the memory 30.
The modules 100-400 of embodiments of the present invention are described below with specific embodiments. In this embodiment, the modules 100 to 400 will be described in detail by taking an example that the electronic device 1 is preset with two eye protection modes according to a predetermined parameter gradient, and each eye protection mode corresponds to a set of screen display parameters.
The two eye protection modes comprise a first eye protection mode and a second eye protection mode. Each eyeshield mode all corresponds a set of screen display parameter, screen display parameter includes at least: blue light intensity, contrast, and/or brightness.
The human eye detecting module 100 is configured to detect whether a human eye gazes at the display screen 10 through the camera 20, and send a signal to the recording module 200 when the human eye gazes at the display screen 10 is detected.
The recording module 200 is configured to start to record the duration of the fixation and the blinking times of the human eyes when receiving the signal sent by the human eye detecting module 100.
The determining module 300 is configured to determine whether the duration of the eye is greater than or equal to a first preset value, and when the duration of the eye is greater than or equal to the first preset value, the determining module 300 continues to determine whether the blinking frequency of the user is greater than or equal to a second preset value. The first preset value corresponds to a first eye protection mode, and the second preset value corresponds to a second eye protection mode.
In this embodiment, in the first eye protection mode, when the duration of the gaze of the human eye on the display screen exceeds a first preset value, the value of the screen display parameter is adjusted by a preset adjustment value. In this embodiment, the initial blue light intensity value of the display screen 10 is X, and the initial contrast value is Y, in the first eye protection mode, when the duration that the human eye gazes at the display screen 10 is greater than or equal to 20 minutes, the blue light intensity value of the display screen 10 is decreased by X10%, and the contrast value of the display screen is increased by Y10%. In the second eye protection mode, the blue light intensity value of the display screen 10 is decreased by X × 10%, and the contrast value of the display screen 10 is increased by Y × 5%. In this embodiment, the first preset value is 20 minutes, and the second preset value is 15 times/minute.
The ratio of the variation of each display parameter in the first eye protection mode and the second eye protection mode, and the specific values of the first preset value and the second preset value can be set according to the personal habits of the user, and the invention is only described by taking the specific values as an example.
The adjusting module 400 is configured to set the electronic device 1 to the first eye protection mode when the determining module 300 determines that the continuous gazing time of the human eye is greater than or equal to the first preset value and the blinking frequency of the human eye is less than the second preset value within the continuous gazing time. When the determining module 300 determines that the continuous gazing time of the human eye is greater than or equal to the first preset value, and the blinking frequency of the human eye is greater than or equal to the second preset value within the continuous gazing time, the electronic device 1 is set to the second eye protection mode.
Specifically, when the eye detection module 100 detects that the eyes of the user start to watch the display screen 10, it sends a signal to the recording module 200, and the recording module 200 starts to record the duration of the watching time and the blinking number of the eyes. When the determining module 300 determines that the continuous gazing time of the human eye is greater than or equal to 20 minutes, the determining module 300 continues to determine whether the blinking frequency of the human eye is greater than or equal to 15 times/minute within the continuous gazing time of the human eye.
When the duration of the fixation time of the human eye is greater than or equal to 20 minutes and the blinking frequency of the human eye is greater than or equal to 15 times/minute within the duration of the fixation time, the adjusting module 400 decreases the blue light intensity value of the display screen 10 by X10%, and increases the contrast value of the display screen by Y10%, so that the electronic device 1 enters the first eye protection mode.
When the determining module 300 determines that the continuous gazing time of the human eye is greater than or equal to 20 minutes and the blinking frequency of the human eye is greater than or equal to 15 times/minute within the continuous gazing time, the adjusting module 300 decreases the blue light intensity value of the display screen 10 by X10%, increases the contrast value of the display screen 10 by Y5%, and sets the electronic device 1 in the second eye protection mode.
In another embodiment, the human eye detecting module 100 is further configured to detect whether the line of sight of the human eye leaves the display screen 10 through the camera 20, and the recording module 200 is further configured to record a duration of the line of sight of the human eye leaving the display screen 10. The adjusting module 400 is further configured to adjust back the value of the display parameter of the display screen 10 by a predetermined gradient value according to the duration of the time when the human eye leaves the display screen 10, until it is detected that the human eye gazes at the display screen 10 again or the display parameter of the display screen 10 has been adjusted to the initial parameter value. For example, assuming that the contrast value of the display screen 10 of the electronic device 1 is Y1, when the duration of the human eye sight line leaving the display screen 10 exceeds 40 minutes, the contrast value of the display screen is decreased by Y1 × 10%, and then recording of the duration of the human eye sight line leaving the display screen is resumed. And when said re-recording time exceeds 40 minutes, reducing the contrast value of the display screen 10 by Y1 x (1-10%) by 10%, adjusting the contrast value of the display screen 10 in this way until it is detected that the human eye is again looking at the display screen 10 or that the display parameter of the display screen 10 has been adjusted to the initial parameter value Y.
In an embodiment, the electronic device 1 further includes a screen control module 500, a speed detection module 600, a calculation module 700, and a movement module 800.
The image control module 500 is configured to reduce the display image on the display screen by a preset scale when the determining module 300 determines that the duration of the human eye gazing at the display screen 10 is greater than or equal to a first preset value. In this embodiment, the screen control module reduces the size of the display screen to 90% of the original size by a ratio of 90%. As shown in fig. 2, fig. 2A is a schematic view showing the display screen 11 displayed on the display screen 10 in the original display size, and fig. 2B is a schematic view showing the effect of displaying the display screen 11' generated by reducing the size of the display screen 11 to 90% of the original size at a scale value of 90% on the display screen 10.
The speed detection module 600 is used for detecting the linear acceleration of the electronic device 1 in the horizontal/vertical direction in the plane of the display screen 10 by the motion state detector 50, and recording the motion time of the electronic device 1.
The calculating module 700 is configured to calculate a moving speed of the electronic device 1 along a horizontal/vertical direction in a plane where the display screen 10 is located according to the linear acceleration and the moving time of the electronic device 1 detected by the speed detecting module 600. The moving module 800 is configured to move the display frame in the display screen 10 at a speed in a reverse direction to the movement speed calculated by the calculating module 700.
Specifically, when the speed detection module 600 detects that the electronic device 1 has a horizontal leftward linear acceleration a in the plane of the display screen 10, and the movement time is t, the calculation module 700 calculates and obtains a horizontal leftward speed v in the plane of the display screen 10 of the electronic device 1 according to the linear acceleration a and the movement time t. The moving module 800 moves the display screen 11 'in the display screen 10 with a speed v', wherein the speed v 'is the same as the speed v, but the direction of the speed v' is horizontally to the right in the plane of the display screen 10. So as to achieve the effect of making the display screen 11' and the eyes of the user relatively still when the electronic device 1 has displacement. As shown in fig. 3, the effect diagram after moving the display screen 11 'in the display screen 10 at the speed v' when the electronic device 1 has the horizontal leftward speed v in the plane of the display screen 10 is shown.
In one embodiment, the speed detection module 600 is further configured to detect an angular acceleration of the electronic device 1 through the motion state detector 50, and record a motion time of the electronic device 1. The calculating module 700 is further configured to calculate a rotation angle of the electronic apparatus 1 according to the angular acceleration and the motion time, and the picture control module 500 is further configured to change a display shape of the display picture 11' on the display screen 10 according to the rotation angle.
As shown in fig. 4 (4A) to (4C), when the electronic apparatus 1 has the rotation angle θ in the three-dimensional plane, the display shape of the display screen 11' on the display screen 10 changes. As shown in fig. 4 (4A), when the display content a at which the eyes of the user are gazing is rotated away from the eyes of the user by an angle θ (the first display portion 11 ' a of the display screen 11 ' is rotated backward by an angle θ with respect to the initial position) as the electronic apparatus 1 rotates, and the display position of the display content a is lower than the gazing position of the line of sight of the user, the display size of the first display portion 11 ' a is increased. Meanwhile, as the second display section 11 'b of the display screen 11' is rotated forward by an angle θ with respect to the initial position to approach the user's eyes, the display size of the second display section 11' b is reduced. Finally, the display shape of the display screen 11 'is changed from (4B) in fig. 4 to (4C) so that the display content a remains at the same position at which the eyes of the user look when the position of the first display portion 11' a changes with the electronic apparatus 1.
FIG. 5 is a flowchart illustrating a screen display method according to an embodiment of the present invention. The screen display method is applied to an electronic device with a camera and a display screen, a plurality of eye protection modes are preset in the electronic device according to a preset parameter gradient, and each eye protection mode corresponds to one group of screen display parameters.
And S100, detecting a user picture of the electronic device through the camera.
And S102, judging whether human eyes watch the display screen, if so, executing S104, otherwise, continuing to execute S102.
And step S104, recording the continuous fixation time and the blinking times of the human eyes.
Step S106, judging whether the continuous watching time of the human eyes is larger than or equal to a first preset value or not, wherein the first preset value corresponds to a first eye protection mode; if so, go to step S108, otherwise, go to step S104.
Step S108, judging whether the blinking frequency of the user is greater than or equal to a second preset value, wherein the second preset value corresponds to a second eye protection mode; if not, go to step S110, otherwise, go to step S112.
Step S110, setting the electronic device to the first eye protection mode.
And step S112, setting the electronic device to be in the second eye protection mode.
FIG. 6 is a flowchart illustrating a screen display method according to another embodiment of the present invention. The screen display method is applied to an electronic device with a camera and a display screen, a plurality of eye protection modes are preset in the electronic device according to a preset parameter gradient, and each eye protection mode corresponds to one group of screen display parameters.
And step S200, detecting a user picture of the electronic device through the camera.
Step S202, judging whether human eyes watch the display screen, if so, executing step S204, otherwise, continuing to execute step S202.
And step S204, recording the continuous fixation time and the blinking times of the human eyes.
Step S206, judging whether the continuous watching time of the human eyes is greater than or equal to a first preset value or not, wherein the first preset value corresponds to a first eye protection mode; if so, go to step S208, otherwise, go to step S202.
Step S208, judging whether the blinking frequency of the user is greater than or equal to a second preset value, wherein the second preset value corresponds to a second eye protection mode; if so, go to step S210, otherwise, go to step S214.
Step S210, setting the electronic device to the first eye protection mode.
Step S212, the electronic device is set to the second eye protection mode.
Step S214, determining whether the line of sight of the human eye leaves the display screen through the camera, if so, executing step S216, otherwise, continuing to execute step S214.
Step S216, recording the duration of the sight line leaving the display screen.
And S218, recalling the display parameter value of the display screen by a preset gradient according to the time length of the continuous leaving time until the human eye is detected to watch the display screen again or the display screen is adjusted to an initial parameter value.
FIG. 7 is a flowchart illustrating a screen display method according to another embodiment of the present invention. The screen display method is applied to an electronic device with a camera and a display screen.
And step S300, detecting a user picture of the electronic device through the camera.
Step S302, judging whether human eyes watch the display screen, if so, executing step S304, otherwise, continuing to execute step S302.
And step S304, recording the continuous fixation time and the blinking times of the human eyes.
Step S306, judging whether the continuous fixation time of the human eyes is larger than or equal to a first preset value; if so, go to step S308, otherwise, go to step S302.
Step S308, reducing the display frame on the display screen by a preset scale.
Step S310, detecting whether the electronic device has a linear acceleration in the plane where the display screen is located by the motion state detector, if so, executing step S312, otherwise, continuing to execute step S310.
In step S312, the movement time of the electronic device is recorded.
Step S314, calculating a movement speed of the electronic device along a horizontal/vertical direction in a plane where the display screen is located according to the linear acceleration and the movement time.
Step S316, moving the display frame in the display screen at the same speed and the opposite speed as the electronic device.
FIG. 8 is a flowchart illustrating a screen display method according to another embodiment of the present invention. The screen display method is applied to an electronic device with a camera and a display screen.
And step S400, detecting a user picture of the electronic device through the camera.
Step S402, judging whether human eyes watch the display screen, if so, executing step S404, otherwise, continuing to execute step S402.
And step S404, recording the continuous fixation time and the blinking times of the human eyes.
Step S406, judging whether the continuous gazing time of the human eyes is larger than or equal to a first preset value; if so, go to step S408, otherwise, go to step S402.
Step S408, reducing the display frame on the display screen by a preset scale.
Step S410, detecting whether the electronic device has an angular acceleration in the plane where the display screen is located by the motion state detector, if yes, performing step S412, otherwise, continuing to perform step S410.
Step S412, recording the movement time of the electronic device.
Step S414, calculating a rotation angle of the electronic device according to the angular acceleration and the motion time.
Step S416, changing a display shape of the display screen on the display screen according to the rotation angle.
The above embodiments are only intended to illustrate the technical solution of the present invention and not to limit the present invention, and although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solution of the present invention without departing from the spirit and scope of the technical solution of the present invention.

Claims (11)

1. An electronic device comprising a display screen, a camera, a memory, a processor, and computer program segments stored on the memory and executable on the processor, wherein the electronic device has a plurality of eye-protection modes, the computer program segments when executed by the processor performing the steps of:
judging whether human eyes watch the display screen or not through the camera and recording the continuous watching time and the blinking times of the human eyes;
judging whether the continuous watching time of the human eyes is greater than or equal to a first preset value or not, wherein the first preset value corresponds to a first eye protection mode;
when the continuous watching time of the human eyes is larger than or equal to the first preset value, judging whether the blinking frequency of the user is larger than or equal to a second preset value, wherein the second preset value corresponds to a second eye protection mode;
when the blinking frequency of the user is smaller than the second preset value, the electronic device is set to be in the first eye protection mode;
when the blinking frequency of the user is greater than or equal to the second preset value, setting the electronic device to be in the second eye protection mode;
the plurality of eye protection modes are preset in a preset parameter gradient mode, and each eye protection mode corresponds to one group of screen display parameters;
when the fact that the sight of the human eyes leaves the display screen is judged through the camera, recording the duration time of the sight leaving the display screen; and
and according to the time length of the duration, the display parameter value of the display screen is recalled by a preset gradient until the human eye is detected to watch the display screen again or the display screen is adjusted to the initial parameter value.
2. The electronic device of claim 1, wherein the computer program segment, when executed by the processor, further performs the steps of:
and when the continuous watching time of the human eyes is greater than or equal to the first preset value, reducing the display picture on the display screen in a preset proportion.
3. The electronic device of claim 2, wherein the electronic device further comprises a motion state detector, and wherein the computer program segments when executed by the processor further implement the steps of:
detecting the linear acceleration of the electronic device along the horizontal/vertical direction in the plane of the display screen by the motion state detector, and recording the motion time of the electronic device;
calculating the movement speed of the electronic device in the horizontal/vertical direction in the plane where the display screen is located according to the linear acceleration and the movement time; and
and moving the display picture in the display screen at the same speed and the reverse speed of the electronic device.
4. The electronic device of claim 3, wherein the computer program segment, when executed by the processor, further performs the steps of:
detecting the angular acceleration of the electronic device through the motion state detector, and recording the motion time of the electronic device;
calculating the rotation angle of the electronic device according to the angular acceleration and the movement time; and
and changing the display shape of the display picture on the display screen according to the rotation angle.
5. The electronic device of claim 4, wherein the display parameters of the display screen include at least: blue light intensity, brightness, and/or contrast.
6. A screen display method is applied to an electronic device, and is characterized in that the electronic device has a plurality of eye protection modes, and the method comprises the following steps:
judging whether human eyes watch a display screen of the electronic device through a camera and recording the continuous watching time and the blinking times of the human eyes;
judging whether the continuous watching time of the human eyes is greater than or equal to a first preset value or not, wherein the first preset value corresponds to a first eye protection mode;
when the continuous watching time of the human eyes is larger than or equal to the first preset value, judging whether the blinking frequency of the user is larger than or equal to a second preset value, wherein the second preset value corresponds to a second eye protection mode;
when the blinking frequency of the user is smaller than the second preset value, the electronic device is set to be in the first eye protection mode;
when the blinking frequency of the user is greater than or equal to the second preset value, setting the electronic device to be in the second eye protection mode;
the plurality of eye protection modes are preset in a preset parameter gradient mode, and each eye protection mode corresponds to one group of screen display parameters;
when the fact that the sight of the human eyes leaves the display screen is judged through the camera, recording the duration time of the sight leaving the display screen; and
and according to the time length of the duration, the display parameter value of the display screen is recalled by a preset gradient until the human eye is detected to watch the display screen again or the display screen is adjusted to the initial parameter value.
7. The screen display method of claim 6, wherein the method further comprises the steps of:
and when the continuous watching time of the human eyes is greater than or equal to the first preset value, reducing the display picture on the display screen in a preset proportion.
8. The screen display method of claim 7, wherein the method further comprises the steps of:
detecting the linear acceleration of the electronic device along the horizontal/vertical direction in the plane of the display screen by a motion state detector, and recording the motion time of the electronic device;
calculating the movement speed of the electronic device along the horizontal/vertical direction in the plane of the display screen according to the linear acceleration and the movement time; and
and moving the display picture in the display screen at the same speed and the reverse speed of the electronic device.
9. The screen display method of claim 8, wherein the method further comprises the steps of:
detecting the angular acceleration of the electronic device through the motion state detector, and recording the motion time of the electronic device;
calculating the rotation angle of the electronic device according to the angular acceleration and the movement time; and
and changing the display shape of the display picture on the display screen according to the rotation angle.
10. The screen display method of claim 9, wherein the displaying of the screen at least parameters comprises: blue light intensity, brightness, and/or contrast.
11. A computer-readable storage medium, having stored thereon computer program segments for, when executed, implementing the steps of the screen display method of any one of claims 6 to 10.
CN201810269718.9A 2018-03-29 2018-03-29 Screen display method, electronic device, and computer storage medium Active CN110322858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810269718.9A CN110322858B (en) 2018-03-29 2018-03-29 Screen display method, electronic device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810269718.9A CN110322858B (en) 2018-03-29 2018-03-29 Screen display method, electronic device, and computer storage medium

Publications (2)

Publication Number Publication Date
CN110322858A CN110322858A (en) 2019-10-11
CN110322858B true CN110322858B (en) 2021-01-29

Family

ID=68110729

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810269718.9A Active CN110322858B (en) 2018-03-29 2018-03-29 Screen display method, electronic device, and computer storage medium

Country Status (1)

Country Link
CN (1) CN110322858B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109903A (en) * 2010-12-28 2011-06-29 中兴通讯股份有限公司 Method and device for protecting eyesight
CN104461289A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Terminal and screen display method and device for terminal
CN104503683A (en) * 2014-12-01 2015-04-08 小米科技有限责任公司 Eyesight protecting method and device
US20150116207A1 (en) * 2013-10-31 2015-04-30 Pegatron Corporation Electronic device and control method for screen thereof
KR101580918B1 (en) * 2015-02-05 2015-12-30 주식회사 플랜티넷 Method for controlling a displayed screen of application program for the protection of the user of application execution device with a display unit
CN107340849A (en) * 2016-04-29 2017-11-10 和鑫光电股份有限公司 Mobile device and its eyeshield control method
US20170345393A1 (en) * 2016-05-24 2017-11-30 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device and eye protecting method therefor
CN107451529A (en) * 2017-07-07 2017-12-08 广东小天才科技有限公司 Eye care method, device, mobile terminal and the storage medium of mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102109903A (en) * 2010-12-28 2011-06-29 中兴通讯股份有限公司 Method and device for protecting eyesight
US20150116207A1 (en) * 2013-10-31 2015-04-30 Pegatron Corporation Electronic device and control method for screen thereof
CN104461289A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Terminal and screen display method and device for terminal
CN104503683A (en) * 2014-12-01 2015-04-08 小米科技有限责任公司 Eyesight protecting method and device
KR101580918B1 (en) * 2015-02-05 2015-12-30 주식회사 플랜티넷 Method for controlling a displayed screen of application program for the protection of the user of application execution device with a display unit
CN107340849A (en) * 2016-04-29 2017-11-10 和鑫光电股份有限公司 Mobile device and its eyeshield control method
US20170345393A1 (en) * 2016-05-24 2017-11-30 Fu Tai Hua Industry (Shenzhen) Co., Ltd. Electronic device and eye protecting method therefor
CN107451529A (en) * 2017-07-07 2017-12-08 广东小天才科技有限公司 Eye care method, device, mobile terminal and the storage medium of mobile terminal

Also Published As

Publication number Publication date
CN110322858A (en) 2019-10-11

Similar Documents

Publication Publication Date Title
RU2616567C2 (en) Device and method for displayed image rotation control
US9626741B2 (en) Systems and methods for configuring the display magnification of an electronic device based on distance and user presbyopia
CN109803574B (en) Wearable device with display, lens, illuminator, and image sensor
KR20180057693A (en) Eye wearable wearable devices
US10783835B2 (en) Automatic control of display brightness
US20190004600A1 (en) Method and electronic device for image display
US11322113B2 (en) Techniques for eye fatigue mitigation
CN109243383B (en) Backlight brightness adjusting method of display screen and display screen device
US10842430B1 (en) Eye fatigue detection using visual imaging
CN109658904B (en) Screen brightness adjusting method and device
CN117032612B (en) Interactive teaching method, device, terminal and medium based on high beam imaging learning machine
CN107436681A (en) Automatically adjust the mobile terminal and its method of the display size of word
CN108986770B (en) Information terminal
CN110322858B (en) Screen display method, electronic device, and computer storage medium
CN111580665B (en) Method and device for predicting fixation point, mobile terminal and storage medium
CN108398845A (en) Projection device control method and projection device control device
CN107908285B (en) Data processing method, device and system
CN103677544A (en) State switching method and electronic equipment
US20220273171A1 (en) Influencing pupil diameter to improve vision
CN111176601B (en) Processing method and device
WO2023167048A1 (en) Display device, display method, and display program
CN117275420A (en) Method and device for controlling backlight brightness
JP2023127871A (en) Display unit and display method
CN113031773A (en) Prompting method, electronic device and computer readable storage medium
JP2023127872A (en) Display unit and display method

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
GR01 Patent grant
GR01 Patent grant