CN110519457B - Eye protection display method based on intelligent terminal and intelligent terminal - Google Patents
Eye protection display method based on intelligent terminal and intelligent terminal Download PDFInfo
- Publication number
- CN110519457B CN110519457B CN201910793323.3A CN201910793323A CN110519457B CN 110519457 B CN110519457 B CN 110519457B CN 201910793323 A CN201910793323 A CN 201910793323A CN 110519457 B CN110519457 B CN 110519457B
- Authority
- CN
- China
- Prior art keywords
- eye
- mode
- scene
- protection
- intelligent terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 239000003086 colorant Substances 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 230000000977 initiatory effect Effects 0.000 claims description 2
- 208000003464 asthenopia Diseases 0.000 abstract description 9
- 238000012544 monitoring process Methods 0.000 abstract description 8
- 235000019646 color tone Nutrition 0.000 abstract description 7
- 231100000040 eye damage Toxicity 0.000 abstract description 4
- 230000000694 effects Effects 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 238000012015 optical character recognition Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000000007 visual effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013527 convolutional neural network Methods 0.000 description 2
- 230000033764 rhythmic process Effects 0.000 description 2
- 206010013774 Dry eye Diseases 0.000 description 1
- 208000020564 Eye injury Diseases 0.000 description 1
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 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/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/02—Constructional features of telephone sets
- H04M1/22—Illumination; Arrangements for improving the visibility of characters on dials
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72439—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72451—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Theoretical Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Environmental & Geological Engineering (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides an eye protection display method based on an intelligent terminal and the intelligent terminal. According to the eye protection display method, different eye protection modes can be configured according to different scene modes of different application programs, and the eye protection modes are started independently when the running time of the scene modes meets the set duration by monitoring the running time of the scene modes, so that the problems of eye fatigue and eye damage caused by long-time facing of unsuitable display color tones of users are avoided.
Description
Technical Field
The invention relates to the technical field of screen display of intelligent terminals, in particular to an eye-protection display method based on an intelligent terminal and the intelligent terminal.
Background
Along with development of science and technology, the iterative updating speed of the intelligent terminal is continuously improved, the functionality of the intelligent terminal is stronger, besides the communication functions of high convenience and high definition, various life and learning tools such as payment, traffic guidance and the like are highly integrated, so that the dependence of a user on the intelligent terminal is higher and higher, and the time for using the intelligent terminal is longer and longer. However, when the intelligent terminal is used for a long time, eye fatigue reactions such as eye dryness and the like can be caused, a certain injury can be caused to eyes, and especially when the screen of the intelligent terminal with high brightness is faced for a long time, the eye fatigue or eye injury is more easily caused.
Currently, the intelligent terminals applied to the market are included, and most of the intelligent terminals are required to adjust the display brightness of the screen of the intelligent terminal according to the use requirement to realize the functions of power saving and eye protection, and part of the intelligent terminals are also provided with eye protection modes, but the existing eye protection modes applied to the intelligent terminals are single, and when the eye protection modes are started, no matter what application program is operated by the intelligent terminals, the intelligent terminals always present the same display tone, so that when part of application programs are operated, the interface of the part of application programs is not clear due to the special display tone of the eye protection modes, and the user experience is influenced. And, some application programs applied to the intelligent terminal can request the intelligent terminal to match with the display modes of the requirements, such as the current reading software, when the intelligent terminal runs according to the characteristics of the application programs, the current reading software can match with the daytime and night modes, and a user can select different display modes according to the reading environment, such as the night mode under the dark condition and the day mode under the bright condition. However, these eye protection modes or methods either require the user to select themselves or are single in color tone and cannot be applied to various situations requiring no display of the application program. The user experience is poor.
Disclosure of Invention
In order to solve the problems, the invention provides an eye-protection display method based on an intelligent terminal, the intelligent terminal and a computer readable storage medium. According to the eye protection display method, different eye protection modes can be configured according to different scene modes of different application programs, and the eye protection modes are started independently when the running time of the scene modes meets the set duration by monitoring the running time of the scene modes, so that the problems of eye fatigue and eye damage caused by long-time facing of unsuitable display color tones of users are avoided.
In an aspect of the present invention, an eye-protection display method based on an intelligent terminal is provided, wherein the intelligent terminal has an eye-protection mode, and the eye-protection display method includes the following steps: identifying a scene mode of intelligent terminal operation; and calculating the running time of the scene mode, and starting the eye protection mode when the running time reaches a threshold value.
Preferably, in the above eye-protection display method, each of the eye-protection modes includes at least two eye-protection colors, and each eye-protection color corresponds to one piece of chromaticity data.
Preferably, in the above eye-protection display method, the method further includes identifying and acquiring chromaticity data of the operation scene, calculating optimal chromaticity data in the eye-protection mode according to the chromaticity data of the operation scene, and applying the optimal chromaticity data in the eye-protection mode.
Preferably, in the above eye-protection display method, the step of calculating the optimal chromaticity data in the eye-protection mode according to the chromaticity data of the operation scene includes reading the eye-protection intensity of the chromaticity data in the eye-protection mode, calculating the collision intensity of the chromaticity data in the eye-protection mode and the chromaticity data of the operation scene, and calculating the optimal chromaticity data by combining the collision intensity and the eye-protection intensity.
Preferably, in the above eye-protection display method, the step of identifying and acquiring the tone data of the operation scene includes acquiring an interface screenshot of an operation scene mode; tone data in the interface screenshot is identified.
Preferably, in the above eye-protection display method, the step of identifying and acquiring the tone data of the running scene further includes acquiring a package name of an application program corresponding to the scene mode, acquiring version information of the application program according to the package name, and requesting to acquire the tone data of the running scene mode from an operation end of the application program according to the version information.
Preferably, the above eye-protection display method further includes selecting a scene mode in the intelligent terminal, and configuring an eye-protection mode associated with the scene mode and a mode parameter of the eye-protection mode.
Preferably, in the above eye-protecting display method, the mode parameter includes one or more of brightness, chromaticity, saturation, contrast, sharpness, and gray scale.
In another aspect of the present invention, another method for displaying an eye-protection display based on an intelligent terminal is provided, wherein the intelligent terminal has an eye-protection mode, and the method for displaying an eye-protection display includes the following steps: identifying a scene mode of intelligent terminal operation; and starting the eye protection mode.
Preferably, in the eye-protection display method, after a scene mode of operation of the intelligent terminal is identified, the eye-protection mode is started according to a preset condition.
Preferably, in the eye-protection display method, after the eye-protection mode is started, whether to continue to operate the eye-protection mode is adjusted according to the change of the preset condition.
Preferably, in the eye-protection display method, the intelligent terminal includes a plurality of application programs, and at least one application program opens the eye-protection mode according to the preset condition.
Preferably, in the eye-protection display method, the intelligent terminal includes at least one application program, the application program includes a plurality of scene modes, and at least one scene mode opens the eye-protection mode according to the preset condition.
Preferably, in the eye-protection display method, the preset condition includes a running time of a scene mode or a type of the scene mode.
In another aspect, the present invention further provides a smart terminal, a display, a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor to implement the steps of the smart terminal-based eye-protection display method according to any one of the above.
In another aspect, the present invention further provides an intelligent terminal having an eye protection mode, wherein an eye protection mode starting condition is preset in the intelligent terminal, and when the eye protection mode starting condition is executed, the eye protection mode in the intelligent terminal is started.
Compared with the prior art, the invention has the advantages that:
1) By monitoring the operation time of the scene mode, when the operation time reaches the set time, automatically starting the eye protection mode, and avoiding eye fatigue or eye damage caused by long-time exposure of a user to high light or bright light;
2) Different eye protection modes can be configured according to different scene modes, so that the situation that a single eye protection mode is unclear in display and influences user experience can be avoided in the scene modes of part of application programs;
3) The optimal display tone can be matched in real time according to the main tone of the running scene, so that the situation that the preset eye-protection mode conflicts with the main tone of the running scene is avoided, the eye-protection mode which is matched with the main tone of the current running scene can be obtained, the display effect is greatly improved, and the use experience of a user is greatly improved.
Drawings
Fig. 1 is a flow chart of an eye-protection display method based on an intelligent terminal according to a preferred embodiment of the invention;
FIG. 2 is a flow chart of obtaining an optimal eye-protection mode according to a preferred embodiment of the present invention;
FIG. 3 is a flow chart of obtaining an optimal eye-protection mode according to another preferred embodiment of the present invention;
FIG. 4 is a flow chart of identifying and acquiring tonal data for the current operating scene in accordance with a preferred embodiment of the present invention;
fig. 5 is a flowchart for identifying and acquiring hue data of the current operation scene according to another preferred embodiment of the present invention.
Detailed Description
Advantages of the invention will be described in detail below with reference to the drawings and the detailed description.
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" depending on the context.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and are not of specific significance per se. Thus, "module" and "component" may be used in combination.
Fig. 1 is a flow chart of an eye-protection display method based on an intelligent terminal according to a preferred embodiment of the invention. As can be seen from the figure, the eye-protection display method provided in the embodiment includes the following steps:
s001: identifying a scene mode of the intelligent terminal;
The method includes, but is not limited to, obtaining salient features in a current operation scene through image recognition of a convolutional neural network or character recognition of optical character recognition (ORC), judging a scene mode of the current operation scene of the intelligent terminal according to the salient features, for example, comparing the salient features with characteristic parameters of various scene modes through recognizing salient features in a current display picture of the current operation scene of the intelligent terminal, and judging the current operation scene of the intelligent terminal as the scene mode when the salient features have the highest matching degree with the characteristic parameters of a certain scene mode; or acquiring the package name of the application program corresponding to the currently running scene, and acquiring scene mode information of the application program in the package name, wherein WeChat belongs to a social mode, payment treasury belongs to the social mode, rhythm university, sanzhui and the like belong to a game mode, and QQ reading, QQ browser, VOC English and the like belong to a reading mode.
S002: calculating the running time of the scene mode;
The method includes, but is not limited to, recording the starting time of the scene mode, monitoring whether an event exiting the scene mode occurs, and monitoring the current time in real time or calculating the difference between the current time and the starting time in real time as the running time; or recording the starting time of the scene mode, monitoring whether the scene mode is in an operating state in real time, monitoring the current time in real time or calculating the difference between the current time and the starting time in real time as the operating time; or after the scene mode is sensed to start running, the running time is recorded, and the running time is read in real time.
S003: and when the running time reaches a threshold value, starting the eye protection mode.
According to the method in S003, then including but not limited to, comparing the run time to a threshold, and when the run application reaches the threshold, initiating an eye-protection mode; or calculating the start time plus the time of the set duration, and starting the eye protection mode associated with the scene mode when the current time of the scene mode operation reaches the time of the set duration and the occurrence of an event of exiting the scene mode is not monitored yet; or calculating the starting time plus the time of the set duration, and when the time of the set duration is reached, monitoring that the scene mode is still in operation, starting an eye protection mode associated with the scene mode; or when the recorded running time is monitored to reach the set duration, starting an eye protection mode associated with the scene mode.
Based on the above embodiments, in another preferred embodiment according to the present invention, at least two eye-protection colors may be set in each of the eye-protection modes, each eye-protection color corresponding to one chromaticity data. Then, the optimum eyeshade can be selected according to the influence of the surrounding environment, the running time, and the like.
Based on the foregoing embodiments, in another preferred embodiment consistent with the present invention, there is also provided a method for configuring policies corresponding to scene modes and eye protection modes, including: different eye protection modes are configured in advance for scene modes in different application programs or different scene modes in different application programs, the scene modes and the corresponding eye protection modes are stored in an associated mode, and meanwhile, starting conditions of the associated eye protection modes are set for the different scene modes, wherein the starting conditions are that the running time of the scene modes reaches a set duration. Different trigger condition time of the eye protection modes is configured according to different scene modes, different requirements of the different scene modes on brightness and the like of screen display are considered, and the eye protection scheme is provided without affecting the use experience of a user on the application program or the scene mode of the application program.
Based on the above steps, it is preferable that the scene mode of the application program can be divided into a game mode, a video mode, a social mode, a reading mode, and the like according to the functions. The set time period for starting the eye-protection mode may be set according to the demands of various scene modes for the screen display brightness and the like.
Preferably, the setting duration of the game mode in the corresponding strategy is 0.5-1 hour, so that the user can concentrate on the mode and eye fatigue is easy to generate, but the user directly enters the eye protection mode to influence the game visual experience, so that the eye protection mode can be started after the default time is 0.5-1 hour, and the effects of relieving the eye fatigue and protecting the vision are achieved; the set duration of the video mode is 1-2 hours, in the mode, a user can select to fix the mobile phone to a certain position, so that a certain distance exists from the mobile phone, and the brightness of the mobile phone can be adjusted according to the video, so that the eye protection mode can be started within 1-2 hours in a default time; the set duration of the social mode is 0.5 hour, and in the mode, the user can get closer to the mobile phone and is easy to fatigue, so that the eye protection mode can be started after the default time is set to 0.5 hour; the set duration of the reading mode is 0 hour, in the mode, the requirement on the screen brightness is low, and the eye protection effect can be realized by adding a certain eye protection color in the eye protection mode, so that the user can directly enter the eye protection mode.
Referring to fig. 2, in accordance with another preferred embodiment of the present invention, when the eye-protection mode includes at least two eye-protection colors, a method for selecting the best chromaticity data among the plurality of eye-protection colors is further provided, which includes the following steps:
S011: identifying and acquiring chromaticity data of the operation scene;
Preferably, the operation scene is acquired by means of a request from an operator of the operation scene; or may be obtained by reading chromaticity data in at least one of the constituent pictures in the running scene. The details are described in the following examples.
S012: calculating optimal chromaticity data in the eye-protection mode according to the chromaticity data of the operation scene;
And comparing the acquired chromaticity data of the operation scene with the chromaticity data in the eye protection mode one by one, and obtaining optimal chromaticity data according to the characteristics of collision intensity, eye protection intensity and the like.
S013: the optimal chromaticity data is applied in the eye-protection mode.
The obtained optimal chromaticity data is used as chromaticity data of an eye-protection mode to be used, and display condition parameters of brightness, contrast, color, sharpness, and the like of display of the eye-protection mode are configured by using the chromaticity data. So that the best eye protection effect is achieved under the condition of not interfering the operation scene.
Referring to fig. 4, in accordance with another preferred embodiment of the present invention, based on the above embodiment, there is provided a method of acquiring a package name of an application program described in a current running scene and requesting tone data of the scene from an operator thereof according to the package name. The method specifically comprises the following steps:
s111: acquiring the package name of the application program corresponding to the scene mode;
S112: acquiring version information of the application program according to the package name;
S113: and requesting the operation end of the application program to acquire the tone data of the running scene mode according to the version information.
For example, when the currently running scene mode is the chat mode of the WeChat, firstly, the scene is acquired as the WeChat, then the version number of the WeChat installed in the intelligent terminal is acquired, and the operator of the WeChat is requested by the version number, such as the tone data of the WeChat requesting the version number, more specifically, the chromaticity data of the chat mode requesting the WeChat.
Referring to fig. 5, in accordance with another preferred embodiment of the present invention, based on the above embodiment, there is provided a method of directly acquiring tone data of a currently operated scene from a picture by intercepting the picture of the scene. The specific method comprises the following steps:
s111': acquiring an interface screenshot of the currently running scene;
s112': tone data in the interface screenshot is identified.
Preferably, the hue data may be the dominant hue in the interface screenshot. In order to achieve the uniformity of unified application programs, various scene progress in the same application program adopts unified main color tone, such as that WeChat is green, paobao is blue, paobao is orange, etc., and the pictures of various games also have unified main color tone, so that the main color tone is obtained by intercepting any picture in the currently running scene, namely the main color tone of the currently running scene. The method includes, but is not limited to, 1) calculating an average value (avg_hue) of the tone of the whole picture; 2) Traversing each pixel, calculating the color difference between the hue value of the pixel and avg_hue (i.e. subtracting the absolute value of the hue value and avg_hue), and adding the pixel to a list of 'eye-catching pixels' if the color difference is greater than a threshold (30 herein); 3) And calculating the color mean value of the whole 'conspicuous pixel list', wherein the obtained result is the main tone of the picture. Or 1) inputting an image array, and graying the color image; 2) Calculating an image gradient of the image after graying, wherein a sobol operator is used; 3) Scanning the obtained non-zero pixel points within a range with the radius R, and finding out the closest original pixel value which is zero; 4) And (3) simply scanning the obtained array to obtain the main color. Etc. All methods that can be applied to the intelligent terminal and that can acquire the dominant hue of the picture can be used in this embodiment.
Referring to fig. 3, in another preferred embodiment consistent with the present invention, when at least two eyecolors are set in each of the eyeshield modes, an optimal eyeshield application may be selected in combination of the slight conflict between the eyeshield color and the dominant color and the eyeshield intensity of the eyeshield color. The specific steps thereof can include:
S121: reading the eye protection intensity of the chromaticity data in the eye protection mode;
preferably, the eye protection mode set in the embodiment includes one piece of chrominance data corresponding to one piece of eye protection intensity data, so that the eye protection intensity data corresponding to each piece of chrominance data of each eye protection mode can be directly read; or, a judgment standard of the eye protection intensity is set, so that each piece of chromaticity data in each eye protection mode can be directly read, and compared with the judgment standard, and the eye protection intensity of each piece of chromaticity data can be obtained.
S122: calculating the conflict strength of the chromaticity data in the eye-protection mode and the chromaticity data of the operation scene;
The chroma data in the running scene can be all chroma data contained in the running scene, and can also be a main tone in running; and comparing all the chromaticity data with the chromaticity data of the eye protection mode one by one, or comparing the main tone with the chromaticity data of the eye protection mode one by one, and judging the conflict intensity of the chromaticity data in the eye protection mode and the chromaticity data in the operation scene.
S123: and calculating the comprehensive conflict strength and the eye protection strength to obtain the optimal chromaticity data.
The method can be that the chroma data in the eye protection mode are ordered according to the conflict intensity, and then the optimal chroma data which can meet the eye protection requirement and does not interfere with the operation scene is obtained by combining the arrangement sequence of the eye protection intensity of the chroma data and the like. This is because, if the collision intensity is low, the display of the current operation scene is not affected, and if the eye protection intensity is high, it is required that the protection performance for human eyes is stronger in terms of both color and brightness, and the chromaticity data satisfying the above requirements is the optimal chromaticity data.
S054: and applying the optimal chromaticity data to the currently operated eye protection mode.
The obtained optimal chromaticity data is applied to the eye protection mode of the current operation, so that the effect of protecting eyes of people can be achieved, and meanwhile, the display effect of the current operation scene can be effectively ensured. The eye protection mode is prevented from affecting the user experience.
Preferably, based on the above embodiment, in another preferred embodiment consistent with the present invention, the user self-defining configuration of the eye protection mode may also be implemented. Specifically, opening the modification permission of the strategy corresponding to the scene mode and the eye protection mode to the user; the user can enter the eye-protection mode configuration state through visual prompt information in the intelligent terminal, such as an eye-protection mode configuration menu of a menu bar, or an eye-protection mode configuration shortcut key in a shortcut menu, and the like; configuring an eye protection mode for the scene mode, wherein various mode parameters of the matched scene mode can be filled in for a user according to a visual eye protection mode template provided by the intelligent terminal, or the user can select a proper eye protection mode from eye protection modes preset in a system according to the requirement of the scene mode, or after the user selects a corresponding eye protection mode, various mode parameters in the eye protection mode can be finely adjusted according to the requirement; the system stores a scene mode and an eye protection mode associated with the scene mode in the system according to the configuration of a user; meanwhile, the user can also configure the strategies corresponding to the scene mode and the eye protection mode in a customized way, for example, how long the scene mode operates and then the eye protection mode is started.
Preferably, the mode parameters include one or more of brightness, chromaticity, saturation, contrast, sharpness, and gray-scale.
Therefore, in summary, according to the eye-protection display method based on the intelligent terminal, the operation time length of the scene mode is monitored, and when the operation time length reaches the set time length, the eye-protection mode is automatically started, so that eye fatigue or eye damage caused by high light or bright light of a user is avoided; different eye protection modes can be configured according to different scene modes, so that the situation that a single eye protection mode is unclear in display and influences user experience can be avoided in the scene modes of part of application programs; the optimal display tone can be matched in real time according to the main tone of the running scene, so that the situation that the preset eye-protection mode conflicts with the main tone of the running scene is avoided, the eye-protection mode which is matched with the main tone of the current running scene can be obtained, the display effect is greatly improved, and the use experience of a user is greatly improved.
In another aspect of the present invention, another method for displaying an eye-protection display based on an intelligent terminal is provided, wherein an eye-protection mode is preset in the intelligent terminal, and the method includes the following steps:
S100: identifying a scene mode of intelligent terminal operation;
The method includes, but is not limited to, obtaining salient features in a current operation scene through image recognition of a convolutional neural network or character recognition of optical character recognition (ORC), judging a scene mode of the current operation scene of the intelligent terminal according to the salient features, for example, comparing the salient features with characteristic parameters of various scene modes through recognizing salient features in a current display picture of the current operation scene of the intelligent terminal, and judging the current operation scene of the intelligent terminal as the scene mode when the salient features have the highest matching degree with the characteristic parameters of a certain scene mode; or acquiring the package name of the application program corresponding to the currently running scene, and acquiring scene mode information of the application program in the package name, wherein WeChat belongs to a social mode, payment treasury belongs to the social mode, rhythm university, sanzhui and the like belong to a game mode, and QQ reading, QQ browser, VOC English and the like belong to a reading mode.
S200: and starting the eye protection mode.
And starting an eye protection mode of the intelligent terminal by taking the search result as a trigger condition after the identified scene mode of the current operation.
Based on the above embodiment, in another preferred embodiment according to the present invention, after identifying a scene mode of operation of the intelligent terminal, the eye protection mode is started according to a preset condition. The preset conditions here include the run time of the scene mode, the type of the scene mode, and the like. Preferably, the types of scene modes include games, reading, communication, etc., and the functions of the scene modes are perceived to be divided. Therefore, in this embodiment, after the scene mode of the operation of the intelligent terminal is obtained, the operation time of the scene mode or the type of the scene mode may be obtained according to the scene mode, the obtained operation time of the scene mode or the type of the scene mode is compared with the preset condition one by one, and when the operation time of the scene mode or the type of the scene mode reaches the preset condition, the eye protection mode is started according to the trigger.
Based on the above embodiment, in another preferred embodiment according to the present invention, after the eye protection mode is started, whether to continue to operate the eye protection mode may be further adjusted according to a change of a preset condition. In this embodiment, after the eye protection mode is started, when the user considers that the current eye protection mode conflicts with the current scene mode to affect the display effect of the current scene mode, the preset condition may be changed, so that the intelligent terminal may match various conditions and preset conditions of the current scene mode in real time, when the various conditions matched with the current scene mode meet the preset condition, the eye protection mode is maintained for display, and when the various conditions matched with the current scene mode no longer meet the preset condition, the eye protection mode is exited, or the eye protection mode associated with the preset condition matched with the various conditions of the current scene mode is changed.
Based on the foregoing embodiment, in another preferred embodiment according to the present invention, the intelligent terminal in this embodiment includes a plurality of application programs, and at least one of the application programs opens the eye protection mode according to the preset condition. That is, in the application programs transferred by the intelligent terminal, at least one scene mode in the application programs is associated with a preset condition for starting the eye protection mode, and when various conditions generated by the scene mode operation of the application programs meet the preset condition, the eye protection mode associated with the preset condition is started.
Based on the above embodiment, in another preferred embodiment according to the present invention, the intelligent terminal in this embodiment includes at least one application program, where the application program includes a plurality of scene modes, and at least one of the scene modes opens the eye protection mode according to the preset condition. That is, in this embodiment, preset conditions for starting the eye-protection mode are set for a plurality of scene modes in the application program transferred in the intelligent terminal, which are different or the same, respectively, and the preset conditions are associated with the eye-protection mode. The preset condition is matched with various conditions generated by at least one scene mode operation in the application program, so that the eye protection mode is started when the scene mode operation reaches the preset condition at least in one scene mode in the operation process of the application program in the intelligent terminal.
In another aspect of the present invention, there is also provided an intelligent terminal, including: the steps of the intelligent terminal-based eye protection display method in any embodiment described above are implemented when the computer program is executed by the processor, and are not repeated herein.
The invention further provides an intelligent terminal with the eye protection mode, wherein an eye protection mode starting condition is preset in the intelligent terminal, and the eye protection mode in the intelligent terminal is started when the eye protection mode starting condition is executed. Preferably, the opening condition includes, but is not limited to, a time condition, such as opening an eye protection mode after an application scene in the intelligent terminal is operated for a preset time, so as to avoid visual fatigue of a user; triggering conditions, such as triggering a key on the intelligent terminal, an icon on a screen, a text or graphic prompt in a shortcut, a text or graphic prompt in a setting mode, and the like, and opening an eye protection mode when the intelligent terminal corresponds to the triggering conditions.
The above description of the specific embodiments of the present invention has been given by way of example only, and the present invention is not limited to the above described specific embodiments. Any equivalent modifications and substitutions for the present invention will occur to those skilled in the art, and are also within the scope of the present invention. Accordingly, equivalent changes and modifications are intended to be included within the scope of the present invention without departing from the spirit and scope thereof.
Claims (6)
1. An eye-protection display method based on an intelligent terminal is characterized in that the intelligent terminal is provided with an eye-protection mode, and the method comprises the following steps:
Identifying a scene mode of intelligent terminal operation;
the run-time of the scene mode is calculated,
When the run time reaches a threshold, initiating an eye-protection mode associated with the scene mode;
Each eye protection mode comprises at least two eye protection colors, and each eye protection color corresponds to one piece of chromaticity data;
The chrominance data of the running scene is identified and acquired,
Calculating optimal chromaticity data in the eye-protection mode according to the chromaticity data of the operation scene,
Applying the optimal chromaticity data in the eye-protection mode;
The step of calculating optimal chromaticity data in the eye-protection mode from chromaticity data of the operation scene includes,
Reading eye-protecting intensity of the chromaticity data in the eye-protecting mode,
Calculating the collision intensity of the chromaticity data in the eye-protection mode and the chromaticity data of the running scene,
And calculating the comprehensive conflict strength and the eye protection strength to obtain the optimal chromaticity data.
2. The eye-shielding display method of claim 1, wherein,
The step of identifying and acquiring chrominance data of the operating scene includes,
Acquiring an interface screenshot of an operating scene;
and identifying chromaticity data in the interface screenshot.
3. The eye-shielding display method of claim 1, wherein,
The step of identifying and acquiring chrominance data of the operating scene includes,
Acquiring the package name of the application program corresponding to the scene mode,
The version information of the application program is obtained according to the package name,
And requesting the operation end of the application program to acquire the chromaticity data of the running scene mode according to the version information.
4. The eye-shielding display method of claim 1, further comprising,
And selecting a scene mode in the intelligent terminal, configuring an eye protection mode associated with the scene mode and mode parameters of the eye protection mode, wherein the mode parameters comprise chromaticity.
5. The eye-shielding display method of claim 4, wherein,
The mode parameters also include one or more of brightness, saturation, contrast, sharpness, and gray scale.
6. An intelligent terminal, characterized by comprising: a display, a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the intelligent terminal based eye-protection display method according to any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910793323.3A CN110519457B (en) | 2019-08-27 | 2019-08-27 | Eye protection display method based on intelligent terminal and intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910793323.3A CN110519457B (en) | 2019-08-27 | 2019-08-27 | Eye protection display method based on intelligent terminal and intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110519457A CN110519457A (en) | 2019-11-29 |
CN110519457B true CN110519457B (en) | 2024-05-28 |
Family
ID=68627169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910793323.3A Active CN110519457B (en) | 2019-08-27 | 2019-08-27 | Eye protection display method based on intelligent terminal and intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110519457B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113535283A (en) * | 2020-04-14 | 2021-10-22 | 北京搜狗科技发展有限公司 | Data processing method and device and electronic equipment |
CN112188282B (en) * | 2020-09-15 | 2022-08-05 | 重庆京像微电子有限公司 | Image data display method and device and image data display system |
CN113760429A (en) * | 2021-08-23 | 2021-12-07 | 联想(北京)有限公司 | Control method and control device |
CN113821274A (en) * | 2021-09-23 | 2021-12-21 | 北京安云世纪科技有限公司 | Eye protection mode starting method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502605A (en) * | 2016-09-30 | 2017-03-15 | 维沃移动通信有限公司 | A kind of brightness of mobile terminal and color temperature adjusting method and device |
CN109272970A (en) * | 2018-10-30 | 2019-01-25 | 维沃移动通信有限公司 | A kind of screen luminance adjustment method and mobile terminal |
-
2019
- 2019-08-27 CN CN201910793323.3A patent/CN110519457B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106502605A (en) * | 2016-09-30 | 2017-03-15 | 维沃移动通信有限公司 | A kind of brightness of mobile terminal and color temperature adjusting method and device |
CN109272970A (en) * | 2018-10-30 | 2019-01-25 | 维沃移动通信有限公司 | A kind of screen luminance adjustment method and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110519457A (en) | 2019-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110519457B (en) | Eye protection display method based on intelligent terminal and intelligent terminal | |
CN108989571B (en) | Adaptive font adjustment method and device for mobile phone character reading | |
CN104754239B (en) | Photographic method and device | |
US20170017842A1 (en) | Mobile terminal iris recognition method and device having human-computer interaction mechanism | |
CN102289658B (en) | Device function modification method and system | |
CN109685746A (en) | Brightness of image method of adjustment, device, storage medium and terminal | |
CN107734796B (en) | Method, device and equipment for adjusting brightness of lamp strip of mirror display product and storage medium | |
CN104899489A (en) | Information processing apparatus, information processing method, eyewear terminal, and authentication system | |
CN104834908A (en) | Image exposure method for mobile terminal based on eye pattern recognition and exposure system | |
CN105550554A (en) | Anti-peep method and mobile terminal | |
CN110349526A (en) | Augmented reality adjusting method, device, storage medium and augmented reality equipment | |
CN109741281A (en) | Image processing method, device, storage medium and terminal | |
EP3312717A1 (en) | User device and computer program stored in computer-readable medium for controlling display | |
CN106843782B (en) | Method for adjusting color of image of electronic equipment and electronic equipment | |
CN109729281A (en) | Image processing method, device, storage medium and terminal | |
US11448554B2 (en) | Method and device for estimating ambient light | |
CN104751419A (en) | Picture display regulation method and terminal | |
CN104767984A (en) | Color temperature adjusting method for flash lamp and terminal | |
CN109903210A (en) | Minimizing technology, device and the server of watermark | |
CN107479694A (en) | A kind of sight protectio method, apparatus, storage medium and mobile terminal | |
CN109725419A (en) | Head-mounted display apparatus and color difference intensifying method | |
CN112532891A (en) | Photographing method and device | |
US20080094478A1 (en) | Image capture and display devices, methods, and computer readable media | |
CN107239250A (en) | Screen display adjusting method and device and mobile terminal thereof | |
US20190246895A1 (en) | System and method for device assisted viewing for colorblindness |
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 |