CN114494672A - Data processing method, device and equipment - Google Patents

Data processing method, device and equipment Download PDF

Info

Publication number
CN114494672A
CN114494672A CN202111516710.6A CN202111516710A CN114494672A CN 114494672 A CN114494672 A CN 114494672A CN 202111516710 A CN202111516710 A CN 202111516710A CN 114494672 A CN114494672 A CN 114494672A
Authority
CN
China
Prior art keywords
illumination
user
intensity
upper eyelid
eyes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111516710.6A
Other languages
Chinese (zh)
Inventor
崔刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202111516710.6A priority Critical patent/CN114494672A/en
Publication of CN114494672A publication Critical patent/CN114494672A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/62Analysis of geometric attributes of area, perimeter, diameter or volume
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods

Abstract

The embodiment of the application provides a data processing method, a data processing device and data processing equipment, which are applied to terminal equipment, wherein the method comprises the following steps: acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user; adjusting illumination of an illumination device and/or display of the terminal device in accordance with the plurality of upper eyelid positions and the plurality of eye opening areas, the illumination device for providing ambient illumination to the terminal device. The harm of the terminal equipment to the eye health of the user is reduced.

Description

Data processing method, device and equipment
Technical Field
The present application relates to the field of vision technologies, and in particular, to a method, an apparatus, and a device based on data processing.
Background
With the development of screen technology, most of the terminal devices commonly used by users are equipped with display screens (such as mobile phones, computers, etc.), and the popularization of the display screens threatens the eye health of users.
At present, the screen parameters of the display screen can be adjusted according to manual experience so as to reduce the damage of the display screen to the eyes of the user. For example, the brightness of the display screen may be adjusted to be highest when the intensity of light is strong (e.g., the user is outdoors) and to be lowest when the intensity of light is weak (e.g., the user is indoors at night). However, the eyes of the user are stimulated by different intensities in different scenes, and the screen brightness is adjusted through manual experience, so that the damage of the display screen to the eyes of the user cannot be effectively reduced, and the harm of the display screen of the terminal device to the eye health is large.
Disclosure of Invention
The application provides a data processing method, a data processing device and data processing equipment, which are used for solving the technical problem that in the prior art, a display screen of terminal equipment has great harm to eye health.
In a first aspect, the present application provides a data processing method, applied to a terminal device, the method including:
acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user;
adjusting illumination of an illumination device and/or display of the terminal device in accordance with the plurality of upper eyelid positions and the plurality of eye opening areas, the illumination device for providing ambient illumination to the terminal device.
In one possible embodiment, adjusting the illumination of the illumination means and/or the display of the terminal device according to the plurality of upper eyelid positions and the plurality of eye opening areas comprises:
determining a visual stimulus intensity for the user's eyes based on the plurality of upper eyelid positions and the plurality of eye opening areas, the visual stimulus intensity being indicative of a degree of stimulus to which the user's eyes are exposed;
and adjusting the illumination of the illumination device and/or the display of the terminal equipment according to the visual stimulus intensity.
In one possible embodiment, determining the visual stimulation intensity of the user's eyes from the plurality of upper eyelid positions and the plurality of eye opening areas comprises:
determining first change information of the upper eyelid within the preset time period according to the positions of the upper eyelids;
determining second variation information of the eye opening area within the preset time period according to the plurality of eye opening areas;
and determining the visual stimulation intensity of the eyes of the user according to the first change information and the second change information.
In a possible implementation, the first variation information is a first waveform diagram, and the second variation information is a second waveform diagram; determining the visual stimulation intensity of the user's eyes according to the first variation information and the second variation information, including:
determining a first average value of the upper eyelid position within the preset time period according to the first oscillogram;
determining a second average value of the eye opening area in the preset time period according to the second oscillogram;
and determining the visual stimulation intensity of the eyes of the user according to the first average value and the second average value.
In a possible embodiment, determining the visual stimulation intensity of the user's eyes according to the first average value and the second average value includes:
inputting the first average value and the second average value into a preset model to obtain the visual stimulation intensity of the eyes of the user;
the preset model is obtained by learning a plurality of groups of samples, and each group of samples comprises a first sample average value, a second sample average value and a sample visual stimulation intensity.
In one possible embodiment, acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a user preset period includes:
acquiring a plurality of eye images of the user acquired in the preset time period;
determining the plurality of upper eyelid positions and the plurality of eye opening areas based on the plurality of eye images.
In a possible embodiment, adjusting the illumination of the illumination device and/or the display of the terminal device according to the intensity of the visual stimulus comprises:
if the visual stimulation intensity is smaller than a first threshold value, the illumination of the illumination device and/or the display of the terminal equipment are not adjusted;
if the visual stimulus intensity is greater than or equal to the first threshold value, adjusting the illumination brightness and the color temperature of the illumination device and/or the backlight intensity, the background color, the text information and the screen reflection of the terminal equipment according to the visual stimulus intensity.
In another possible embodiment, after adjusting the illumination of the illumination device and/or the display of the terminal device according to the visual stimulus intensity, the method further comprises:
acquiring a second visual stimulation intensity;
and generating prompt information according to the second visual stimulation intensity, wherein the prompt information comprises service duration recommendation information of the terminal equipment.
In a possible embodiment, generating the prompt message according to the second visual stimulus intensity comprises:
acquiring a first preset relationship, wherein the first preset relationship comprises at least one visual stimulation intensity and duration recommendation information corresponding to each visual stimulation intensity;
and generating the prompt message according to the second visual stimulation intensity and the first preset relation.
In a second aspect, an embodiment of the present application provides a data processing apparatus, which is applied to a terminal device, where the data processing apparatus includes a first obtaining module and an adjusting module, where:
the first acquisition module is used for acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user;
the adjusting module is used for adjusting the illumination of an illuminating device and/or the display of the terminal equipment according to the upper eyelid positions and the eye opening areas, wherein the illuminating device is used for providing ambient illumination for the terminal equipment.
In a possible implementation, the adjusting module is specifically configured to:
determining a visual stimulus intensity of the user's eyes based on the plurality of upper eyelid positions and the plurality of eye opening areas, the visual stimulus intensity being indicative of a degree of stimulus to which the user's eyes are exposed;
and adjusting the illumination of the illumination device and/or the display of the terminal equipment according to the visual stimulus intensity.
In a possible implementation, the adjusting module is specifically configured to:
determining first change information of the upper eyelid within the preset time period according to the positions of the upper eyelids;
determining second variation information of the eye opening area within the preset time period according to the plurality of eye opening areas;
and determining the visual stimulation intensity of the eyes of the user according to the first change information and the second change information.
In a possible implementation, the adjusting module is specifically configured to:
determining a first average value of the upper eyelid position within the preset time period according to the first oscillogram;
determining a second average value of the eye opening area in the preset time period according to the second oscillogram;
and determining the visual stimulation intensity of the eyes of the user according to the first average value and the second average value.
In a possible implementation, the adjusting module is specifically configured to:
inputting the first average value and the second average value into a preset model to obtain the visual stimulation intensity of the eyes of the user;
the preset model is obtained by learning a plurality of groups of samples, and each group of samples comprises a first sample average value, a second sample average value and a sample visual stimulation intensity.
In a possible implementation manner, the first obtaining module is specifically configured to:
acquiring a plurality of eye images of the user acquired in the preset time period;
determining the plurality of upper eyelid positions and the plurality of eye opening areas based on the plurality of eye images.
In a possible implementation, the adjusting module is specifically configured to:
if the visual stimulation intensity is smaller than a first threshold value, the illumination of the illumination device and/or the display of the terminal equipment are not adjusted;
if the visual stimulus intensity is greater than or equal to the first threshold value, adjusting the illumination brightness and the color temperature of the illumination device and/or the backlight intensity, the background color, the text information and the screen reflection of the terminal equipment according to the visual stimulus intensity.
In another possible implementation manner, the data processing apparatus further includes a second obtaining module, where the second obtaining module is configured to:
acquiring a second visual stimulation intensity;
and generating prompt information according to the second visual stimulation intensity, wherein the prompt information comprises service duration recommendation information of the terminal equipment.
In a possible implementation manner, the second obtaining module is specifically configured to:
acquiring a first preset relationship, wherein the first preset relationship comprises at least one visual stimulation intensity and duration recommendation information corresponding to each visual stimulation intensity;
and generating the prompt message according to the second visual stimulation intensity and the first preset relation.
In a third aspect, an embodiment of the present application provides an image processing apparatus, including: a processor and a memory;
the memory stores computer execution instructions;
the processor executes computer-executable instructions stored by the memory to cause the at least one processor to perform the data processing method as described above in the first aspect and various possible designs of the first aspect.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the data processing method according to the first aspect and various possible designs of the first aspect are implemented.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program that, when executed by a processor, implements a data processing method as described above in the first aspect and various possible designs of the first aspect.
The application provides a data processing method, a data processing device and terminal equipment, which are applied to terminal equipment, wherein the terminal equipment acquires a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user, and adjusts illumination of an illumination device and/or display of the terminal equipment according to the plurality of upper eyelid positions and the plurality of eye opening areas, wherein the illumination device is used for providing ambient illumination for the terminal equipment. In the method, because the upper eyelid position and the eye opening area can accurately reflect the influence of the eyes of the user on the display screen, the terminal equipment can accurately adjust the illumination of the illumination device and/or the display of the terminal equipment according to the upper eyelid position and the eye opening area of the user, and the damage of the display screen to the eyes of the user can be effectively reduced by jointly adjusting the display of the illumination device and the display of the terminal equipment, so that the harm of the terminal equipment to the eye health of the user is reduced.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a first waveform provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a second waveform provided in accordance with an embodiment of the present application;
fig. 5 is a schematic diagram of adjusting a display of an illumination device and a terminal device according to an embodiment of the present application;
fig. 6 is a schematic flowchart of a method for generating a prompt message by a terminal device according to an embodiment of the present application;
fig. 7 is a schematic diagram of generating a prompt message according to an embodiment of the present application;
fig. 8 is a schematic process diagram of a data processing method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application;
fig. 11 is a schematic diagram of a hardware structure of a data processing apparatus provided in the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the related art, a user can adjust screen parameters of a display screen according to manual experience so as to reduce damage of the display screen to eyes of the user. For example, when the illumination intensity is strong, the user may adjust the brightness of the display screen to be the highest so as to view the content of the display screen, and when the illumination intensity is weak, the user may adjust the brightness of the display screen to be the lowest so as to reduce the damage of the display screen to the eyes of the user, or the terminal device automatically adjusts the brightness of the display screen according to the detected ambient light brightness. However, in the above method, the eyes of the user are subjected to different stimulation intensities in different scenes, and the eye states of different users are different, and the damage of the display screen to the eyes of the user cannot be effectively reduced by adjusting the display screen through manual experience or automatically adjusting the display screen by the terminal device, so that the damage of the display screen of the terminal device to the eye health is large.
In order to solve the technical problem that a display screen of a terminal device is more harmful to eye health in the related art, an embodiment of the present application provides a data processing method, which is applied to the terminal device, the terminal device acquires a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user, determines a visual stimulation intensity of the terminal device for eyes of the user according to the plurality of upper eyelid positions and the plurality of eye opening areas, wherein the visual stimulation intensity is used for indicating a stimulation degree to eyes of the user, and adjusts illumination of an illumination device and/or display of the terminal device according to the visual stimulation intensity. The data processing method is applied to the terminal equipment, does not need to interact with a server, reduces the complexity of the system, can accurately reflect the influence of the eyes of the user on the display screen due to the position of the upper eyelid and the opening area of the eyes, and digitizes the degree of the influence of the eyes of the user on the screen through the visual stimulation intensity, so that the terminal equipment can accurately adjust the illumination of the illumination device and/or the display of the terminal equipment, can adjust the environmental scene where the user is located by jointly adjusting the display of the illumination device and the terminal equipment, avoids the damage of the environmental factors to the eyes of the user (for example, in a scene with dark ambient light, even if the brightness of the screen is adjusted to be minimum, the damage to the eyes of the user is large) and further effectively reduces the damage of the display screen to the eyes of the user, the harm of the terminal equipment to the eye health of the user is reduced.
Next, an application scenario to which the present application is applied will be described with reference to fig. 1.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. Please refer to fig. 1, which includes a terminal device and an illumination device. The terminal equipment is in communication connection with the lighting device. For example, the terminal device and the lighting device may be connected through bluetooth, Wifi, and the like, and then perform data transmission through bluetooth or Wifi. The terminal device includes a page 101 and a page 102. The text "hello" is included in page 101 and the lighting means is used to provide ambient lighting to the terminal device.
Referring to fig. 1, when the terminal device obtains a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period, the terminal device may increase the font size of the text "hello" in the screen, decrease the brightness of the display screen of the terminal device, and send a brightness decrease control instruction to the lighting device according to the plurality of upper eyelid positions and the plurality of eye opening areas.
Referring to page 102, page 102 is a page displayed after the terminal device adjusts the display of the terminal device. The text "hello" is included in the page 102, the font size of the text "hello" in the page 102 is larger than that of the text "hello" in the page 101, the brightness of the display screen of the page 102 is smaller than that of the display screen of the page 101, and after the terminal device adjusts the lighting device, the illumination intensity of the lighting device is reduced. Therefore, the terminal equipment can accurately adjust the illumination of the illumination device and/or the display of the terminal equipment according to the upper eyelid position and the eye opening area of the user, and the damage of the display screen to the eyes of the user can be effectively reduced by jointly adjusting the display of the illumination device and the display of the terminal equipment, so that the harm of the terminal equipment to the eye health of the user is reduced.
The technical means shown in the present application will be described in detail below with reference to specific examples. It should be noted that the following embodiments may be combined with each other, and the description of the same or similar contents in different embodiments is not repeated.
Fig. 2 is a schematic flowchart of a data processing method according to an embodiment of the present application. Referring to fig. 2, the method may include:
s201, acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user.
The execution main body of the embodiment of the application can be terminal equipment, and can also be a data processing device arranged in the terminal equipment. Alternatively, the data processing means may be implemented by software, or by a combination of software and/or hardware. Alternatively, the terminal device may be any device having an image display function. For example, the terminal device may include a mobile phone, a computer, a tablet computer, a projector, and the like.
The upper eyelid position may be a position of an upper eyelid of the user's eye in the eye. For example, the user's upper eyelid position may be the middle, upper side, lower side, etc. of the user's eye. Alternatively, the user's upper eyelid position may be the size between the user's upper and lower eyelids. For example, the user's upper eyelid position may be 0.5 centimeters from the lower eyelid, 1 centimeter from the lower eyelid, and so on.
Optionally, the upper eyelid position of the user may be normalized, and then the upper eyelid position may be digitized to facilitate data processing. For example, the maximum distance between the upper eyelid and the lower eyelid of the user may be normalized, and the position of the upper eyelid of the user may be less than or equal to 1. For example, if the maximum distance between the upper eyelid and the lower eyelid of the user's eye is 2 cm, normalization processing may be performed on 2 cm, and when the distance between the upper eyelid and the lower eyelid of the user is 1 cm, the position of the upper eyelid of the user is 0.5, and the position of the upper eyelid is digitized by the normalization processing.
The upper eyelid position is used to indicate the degree of opening and closing of the user's eyes. For example, the upper eyelid position of the user is proportional to the degree of opening and closing of the user's eyes, and the larger the upper eyelid position of the user, the larger the opening of the user's eyes, and the smaller the upper eyelid position of the user, the smaller the opening of the user's eyes. For example, the upper eyelid position of the user is 0.8, and when the upper eyelid position of the user is changed to 0.5, it indicates that the size of the eyes of the user is small, and when the upper eyelid position of the user is changed to 0.9, it indicates that the size of the eyes of the user is large.
The eye opening area is used to indicate the degree of squinting of the user. For example, when the user squints his eyes, the eyelids around the user's eyes are drawn toward the middle of the eyes, thereby changing the area of the user's eyes opened. Alternatively, the eye opening area of the user may be inversely proportional to the degree of squinting of the user. For example, the higher the squinting degree of the user, the smaller the area of the user's eyes opened, and the lower the squinting degree of the user, the larger the area of the user's eyes opened.
Optionally, the area of the eyes of the user may be normalized, so as to digitize the area of the eyes of the user. For example, the normalization processing may be performed on the maximum area where the user's eyes are open, and the digitization processing on the eye-open area may be implemented by expressing the eye-open area of the user by a number less than or equal to 1. For example, if the maximum value of the eye-open area of the user is 2 square centimeters, normalization processing may be performed on 2 square centimeters, and when the eye-open area of the user is 1 square, it may be determined that the eye-open area of the user is 0.5, and the eye-open area may be digitized by the normalization.
Since there is an individual difference between users (for example, the maximum value of the eye opening area of the user a is 4 square centimeters, and the maximum value of the eye opening area of the user B is 2 square centimeters), by performing normalization processing on the upper eyelid position and the eye opening area, digitization of the upper eyelid position and the eye opening area is achieved, and uniform expression of eye characteristics between users is possible, for example, the maximum eye opening area of the user a is larger than the maximum eye opening area of the user B, but when both the user a and the user B perform similar eye squinting, the squinting degree of the user a and the user B can be expressed by the digitized eye opening area (for example, the eye opening areas of the user a and the user B are both 0.5, so that the squinting degrees are the same although the areas of the user a and the user B actually open the eyes are different, i.e., the characteristic appearance of the user's eyes is the same).
The preset time period may be a period of time arbitrarily set. For example, if the preset period is 10 minutes, the terminal device may acquire a plurality of upper eyelid positions and a plurality of eye opening areas for the user in the past 10 minutes; if the preset time period is 1 hour, the terminal device may acquire a plurality of upper eyelid positions and a plurality of eye opening areas of the user within the past 1 hour; if the preset period is 1 day, the terminal device may acquire a plurality of upper eyelid positions and a plurality of eye open areas for the user over the past 1 day.
Alternatively, the plurality of upper eyelid positions and the plurality of eyelid opening areas within the user preset period may be acquired according to the following feasible implementation manners: the method comprises the steps of acquiring a plurality of eye images of a user acquired in a preset time period, and determining a plurality of upper eyelid positions and a plurality of eye opening areas according to the plurality of eye images.
Alternatively, the eye image may be an image including the eyes of the user. For example, the eye image may be a face image of the user, an eye image of the user, or the like. Optionally, the terminal device may obtain a plurality of eye images of the user through the camera. For example, a front camera is usually disposed at a screen end of a mobile phone, and when a user uses the mobile phone, the front camera can acquire an eye image of the user in real time. Optionally, when the user uses the terminal device, the camera of the terminal device may acquire a video stream including a face of the user, and further determine eye images of a plurality of users in the video stream. For example, a camera of a mobile phone may capture a 10-second video stream including a face of a user, and then cut out an image of a frame in the video stream as an eye image of the user. For example, the camera of the mobile phone can determine the image with the highest definition in a video stream including the eyes of the user, and determine the image with the highest definition as the eye image of the user.
Optionally, when the terminal device acquires a plurality of eye images of the user within a preset time period, each eye image includes a corresponding acquisition time. For example, if the terminal device collects an eye image of a user at 8 am, the collection time corresponding to the eye image is 8 am.
Alternatively, a plurality of upper eyelid positions and a plurality of eye opening areas may be determined according to the following possible implementations: and processing the plurality of eye images through the first model to obtain the upper eyelid position and the eye opening area corresponding to each eye image. The first model is obtained by learning a plurality of groups of samples, and each group of samples comprises a sample eye image, a sample upper eyelid position and a sample eye opening area. The plurality of sets of samples may be pre-labeled samples, for example, for the sample eye image 1, the sample upper eyelid position 1 and the sample eye opening area 1 corresponding to the sample eye image 1 are acquired, and a set of samples is obtained, the set of samples including the sample eye image 1, the sample upper eyelid position 1 and the sample eye opening area 1. In this way, multiple sets of samples can be obtained. For example, the sets of samples may be as shown in table 1:
TABLE 1
Multiple sets of samples Sample eye image Eyelid position on sample Sample eye opening area
First set of samples Sample eye image 1 Eyelid position 1 on the sample Sample eye opening area 1
Second set of samples Sample eye image 2 Eyelid position 2 on the sample Sample eye opening area 2
Third group of samples Sample eye image 3 Eyelid position 3 on the sample Sample eye opening area 3
…… …… …… ……
It should be noted that table 1 illustrates the sets of samples by way of example only, and does not limit the sets of samples.
For example, if the eye image to which the first model is input is the same as the sample eye image 1, the upper eyelid position corresponding to the eye image is the sample upper eyelid position 1, and the eye opening area corresponding to the eye image is the sample eye opening area 1; if the eye image input into the first model is the same as the sample eye image 2, the upper eyelid position corresponding to the eye image is the sample upper eyelid position 2, and the eye opening area corresponding to the eye image is the sample eye opening area 2; if the eye image input to the first model is the same as the sample eye image 3, the upper eyelid position corresponding to the eye image is the sample upper eyelid position 3, and the eye opening area corresponding to the eye image is the sample eye opening area 3.
And S202, adjusting the illumination of the illumination device and/or the display of the terminal equipment according to the plurality of upper eyelid positions and the plurality of eye opening areas.
Optionally, the lighting device is used for providing ambient lighting to the terminal device. For example, the lighting device may be any device having a function of intelligently adjusting brightness. For example, the lighting device may be an intelligent desk lamp, an intelligent pendant lamp, or the like. The terminal equipment can control the illumination of the illumination device, and the terminal equipment can be connected with the illumination device through a wireless technology. For example, the terminal device may be connected to the lighting apparatus by bluetooth or WIFI (Wireless Fidelity).
Optionally, the terminal device adjusts the illumination of the illumination device, and may adjust the brightness of the illumination device and/or the color temperature of the illumination device for the terminal device. For example, the terminal device may adjust a brightness parameter of the lighting apparatus to adjust the brightness of the lighting apparatus, and the terminal device may adjust a color parameter of the lighting apparatus to adjust the color temperature of the lighting apparatus. For example, the terminal device may turn the brightness of the lighting apparatus up or down, or the terminal device may turn the color temperature of the lighting apparatus down, or the like.
Optionally, the display of the terminal device may include at least one of: backlight intensity, background color, text information, and screen reflection. Wherein, the backlight intensity is the display brightness of the screen of the terminal equipment. For example, the backlight intensity of the terminal device may be 500 nits. The background color is the color of the background displayed on the screen of the terminal device. For example, the background color of the terminal device may be green, gray, white, etc. The text information may be text information displayed by the terminal device. For example, the text information of the terminal device may include information such as the font size, the color, and the layout of the displayed text. The screen reflection may be a bright spot on the surface of the display screen of the terminal device. For example, in practical applications, the bright light of the illumination device may form a strong light spot on the surface of the display screen of the terminal device.
Optionally, before the terminal device adjusts the illumination of the illumination device and/or the display of the terminal device, the terminal device may determine whether an adjustable illumination device is present, and if the terminal device determines that an adjustable illumination device is present, the terminal device may adjust the illumination of the illumination device and/or the display of the terminal device. For example, if the terminal device does not have a controllable lighting device, the terminal device can only adjust the display of the terminal device, and cannot adjust the lighting of the lighting device; if the terminal device has a controllable lighting device, the terminal device can adjust the display of the terminal device and/or the lighting of the lighting device.
The illumination of the illumination device and/or the display of the terminal device can be adjusted according to the following possible implementations: and determining the visual stimulation intensity of the eyes of the user according to the plurality of upper eyelid positions and the plurality of eye opening areas, and adjusting the illumination of the illumination device and/or the display of the terminal equipment according to the visual stimulation intensity. Wherein the visual stimulus intensity is used to indicate the degree of stimulus to which the user's eyes are exposed. For example, the greater the intensity of the visual stimulus to the user's eyes, the greater the degree of the stimulus to the display screen to which the user's eyes are exposed, and the lesser the intensity of the visual stimulus to the user's eyes, the lesser the degree of the stimulus to the display screen to which the user's eyes are exposed. For example, in the practical application process, the smaller the intensity of the visual stimulation, the less the injury to the eyes of the user is, and when the intensity of the visual stimulation is a preset value (0 or close to 0), the eyes of the user cannot be injured by the display screen.
Alternatively, the visual stimulus intensity of the user's eyes may be determined according to the following feasible implementation: determining first change information of the upper eyelids within a preset time period according to the positions of the plurality of upper eyelids, determining second change information of the eye opening areas within the preset time period according to the opening areas of the plurality of eyes, and determining the visual stimulation intensity of the eyes of the user according to the first change information and the second change information. Optionally, the first variation information is used to indicate variation information of the upper eyelid position within a preset period. For example, the first variation information may be a first waveform diagram, the horizontal axis of which is time, and the vertical axis of which is the position of the upper eyelid. The second variation information is variation information indicating a variation in the eye opening area for a preset period. For example, the second variation information may be a second waveform diagram, the horizontal axis of which is time, and the vertical axis of which is the eye opening area.
Optionally, the first waveform diagram may be obtained according to the acquisition time corresponding to the position of the upper eyelid, and the second waveform diagram may be obtained according to the acquisition time corresponding to the eye opening area. Alternatively, in determining the first waveform map and the second waveform map, the upper eyelid position and the eye opening area may be normalized so that the vertical axis of the first waveform map and the second waveform map ranges from 0 to 1.
Next, a first waveform diagram will be described with reference to fig. 3.
Fig. 3 is a schematic diagram of a first waveform provided in the embodiment of the present application. Referring to fig. 3, the horizontal axis of the first waveform is time, and the vertical axis of the first waveform is the upper eyelid position. The value range of the upper eyelid position is 0-1, the upper eyelid position changes along with time change in a preset time period, the higher the upper eyelid position is, the lower the curve in the waveform diagram is, and the lower the upper eyelid position is, the higher the curve in the waveform diagram is. First change information of the upper eyelid position in a preset time period can be accurately acquired through the oscillogram corresponding to the upper eyelid position.
Next, a second waveform diagram will be described with reference to fig. 4.
Fig. 4 is a schematic diagram of a second waveform provided in the embodiment of the present application. Referring to fig. 4, the horizontal axis of the second waveform chart is time, and the vertical axis of the second waveform chart is the eye opening area. The value range of the eye opening area is 0-1, the eye opening area changes along with time change in a preset time period, the larger the eye opening area is, the higher the curve in the waveform diagram is, the smaller the eye opening area is, and the lower the curve in the waveform diagram is. Second variation information of the eye opening area within a preset time period can be accurately acquired through the waveform diagram corresponding to the eye opening area.
Optionally, the first variation information is a first waveform diagram, the second variation information is a second waveform diagram, and the visual stimulation intensity of the user's eyes is determined according to the first variation information and the second variation information, specifically: determining a first average value of the upper eyelid position within a preset time period according to the first waveform diagram, determining a second average value of the eye opening area within the preset time period according to the second waveform diagram, and determining the visual stimulation intensity of the eyes of the user according to the first average value and the second average value. Wherein the first average value may be an average value of a plurality of upper eyelid positions within a preset period. For example, if the terminal device obtains 5 upper eyelid positions within a preset time period, the first average value is an average value of the 5 upper eyelid positions. For example, if the upper eyelid positions acquired by the terminal device within the preset time period are 0.5 and 0.7, the first average value is 0.6. The second average value may be an average value of a plurality of eye-opening areas over a preset period. For example, if the terminal device acquires 10 eye-open areas within a preset period, the second average value is an average value of the 10 eye-open areas. For example, if the open eye areas acquired by the terminal device within the preset period are 0.3 and 0.5, the second average value is 0.4.
Alternatively, the visual stimulus intensity of the user's eyes may be determined according to the following feasible implementation: and inputting the first average value and the second average value into a preset model to obtain the visual stimulation intensity of the eyes of the user. The preset model is obtained by learning a plurality of groups of samples, and each group of samples comprises a first sample average value, a second sample average value and a sample visual stimulation intensity. The plurality of sets of samples may be pre-labeled samples, for example, for the first sample average value 1 and the second sample average value 1, the sample visual stimulus intensity 1 corresponding to the first sample average value 1 and the second sample average value 1 is obtained, and a set of samples is obtained, the set of samples including the first sample average value 1, the second sample average value 1 and the sample visual stimulus intensity 1. In this way, multiple sets of samples can be obtained. For example, the sets of samples may be as shown in table 2:
TABLE 2
Multiple sets of samples First mean value of samples Second mean value of sample Intensity of visual stimulus of sample
First set of samples Sample first mean value 1 Second average value 1 of sample Sample visual stimulus intensity 1
Second set of samples Sample first mean 2 Second average value of sample 2 Sample visual stimulus intensity 2
Third group of samples Sample first mean value 3 Second average value of samples 3 Sample visual stimulus intensity 3
…… …… …… ……
It should be noted that table 2 illustrates the sets of samples by way of example only, and does not limit the sets of samples.
For example, if the first average value input into the preset model is the first average value 1 and the second average value is the second average value 1, the visual stimulation intensity of the eyes of the user is the sample visual stimulation intensity 1; if the first average value input into the preset model is the first average value 2 and the second average value is the second average value 2, the visual stimulation intensity of the eyes of the user is the sample visual stimulation intensity 2; if the first average value input into the preset model is the first average value 3 and the second average value is the second average value 3, the visual stimulation intensity of the eyes of the user is the sample visual stimulation intensity 3.
Optionally, in an actual application process, the preset model and the first model may be set in the target model. For example, the target model includes functions of a preset model and a first model, an eye image of the user is input into the target model, and the target model can output the visual stimulation intensity of the eyes of the user.
According to the visual stimulation intensity, the illumination of the illumination device and/or the display of the terminal equipment are adjusted, and the following two conditions are adopted:
case 1: the visual stimulus intensity is less than a first threshold.
If the intensity of the visual stimulus is less than the first threshold value, the illumination of the illumination device and/or the display of the terminal device is not adjusted. For example, if the visual stimulation intensity of the eyes of the user, which is acquired by the terminal device, is smaller than the first threshold, it indicates that the terminal device has a smaller stimulation degree to the eyes of the user under the current ambient light condition, and the terminal device does not need to adjust the illumination of the illumination device and the display of the terminal device.
Case 2; the visual stimulus intensity is greater than or equal to a first threshold.
If the visual stimulus intensity is larger than or equal to the first threshold value, the illumination brightness and the color temperature of the illumination device and/or the backlight intensity, the background color, the text information and the screen reflection of the terminal equipment are adjusted according to the visual stimulus intensity. For example, if the visual stimulation intensity of the eyes of the user acquired by the terminal device is greater than the first threshold, which indicates that the terminal device has a greater stimulation degree to the eyes of the user under the current ambient light condition, the terminal device may adjust the illumination of the illumination device and the display of the terminal device so that the visual stimulation intensity is less than or equal to the first threshold.
Optionally, the target lighting parameter and the target screen parameter are determined according to the visual stimulation intensity, and at least one of the lighting brightness, the color temperature, the backlight intensity of the terminal device, the background color, the text information and the screen reflection of the lighting device is adjusted according to the target lighting parameter and the target screen parameter. The target lighting parameters comprise the lighting brightness and the color temperature of the lighting device, and the target screen parameters comprise the backlight intensity, the background color, the text information and the screen reflection of the screen of the terminal equipment.
Optionally, the target lighting parameter and the target screen parameter are such that the visual stimulus intensity is less than the first threshold. For example, if the terminal device can adjust the lighting parameter of the lighting device to the target lighting parameter and adjust the screen parameter of the terminal device to the target screen parameter, the visual pressure of the screen of the terminal device on the eyes of the user is less than the first threshold.
Optionally, the terminal device may adjust the illumination of the illumination device and the display of the terminal device according to a correspondence between the visual stimulation intensity and the illumination parameter of the illumination device and the screen parameter of the terminal device, so as to reduce the visual stimulation intensity. For example, the correspondence between the visual stimulus intensity and the illumination parameters of the illumination device and the screen parameters of the terminal device may be as shown in table 3:
TABLE 3
Intensity of visual stimulus Parameters of illumination Screen parameters
Visual stimulus intensity 1 Illumination parameter 1 Screen parameter 1
Visual stimulus intensity 2 Illumination parameter 2 Screen parameter 2
Visual stimulus intensity 3 Illumination parameters 3 Screen parameter 3
…… …… ……
It should be noted that table 3 illustrates, by way of example only, correspondence between the intensity of the visual stimulus and the illumination parameters of the illumination device and the screen parameters of the terminal device, and does not limit the correspondence.
The lighting parameters may include the lighting brightness and color temperature of the lighting device, and the screen parameters may include the backlight intensity, background color, text information, and screen reflection of the display screen (the screen reflection may be adjusted by adjusting the lighting device).
And determining target illumination parameters and target screen parameters according to the visual stimulation intensity and the corresponding relation between the visual stimulation intensity and the illumination parameters of the illumination device and the screen parameters of the terminal equipment. For example, if the visual stimulus intensity is visual stimulus intensity 1, the target lighting parameter is lighting parameter 1, and the target screen parameter is screen parameter 1; if the visual stimulation intensity is the visual stimulation intensity 2, the target lighting parameter is the lighting parameter 2, and the target screen parameter is the screen parameter 2; if the visual stimulus intensity is the visual stimulus intensity 3, the target lighting parameter is the lighting parameter 3, and the target screen parameter is the screen parameter 3.
And adjusting at least one of the illumination brightness, the color temperature, the backlight intensity of the terminal equipment, the background color, the text information and the screen reflection of the illumination device according to the target illumination parameters and the target screen parameters. For example, if the color temperature of the illumination parameters is yellow, the brightness is 1000 nits, the screen parameters are backlight intensity 500 nits, the background color is green, the font size is 14, and the font color is black, the terminal device may adjust the illumination of the illumination device and the display of the terminal device according to the illumination parameters and the screen parameters.
Optionally, the screen parameters of the terminal device and the illumination of the illumination device may also be adjusted according to the following feasible implementation manners: a set of criteria parameters is determined. The standard parameters comprise standard illumination brightness of the illumination device, standard color temperature and/or standard backlight intensity of the terminal equipment, standard background color, standard text information and standard screen reflection. Optionally, the standard parameter is such that the visual stimulus intensity is less than or equal to a preset value. For example, the standard parameter may be such that the visual stimulus intensity of the screen of the terminal device to the user is 0.
And adjusting at least one of the illumination brightness, the color temperature, the backlight intensity of the terminal equipment, the background color, the text information and the screen reflection of the illumination device according to the standard parameters. For example, since the standard parameter may make the visual stimulation intensity 0, the screen parameter of the terminal device and the illumination parameter of the illumination device may be adjusted to the standard parameter according to the standard parameter to reduce the visual stimulation intensity of the screen of the terminal device to the eyes of the user. Optionally, the lighting parameter and the screen parameter corresponding to the visual stimulation intensity are used to reduce the visual stimulation intensity, so that the visual stimulation intensity is less than or equal to the first threshold. For example, if the first threshold is 10% and the visual stimulation intensity is 50%, the visual stimulation intensity of the eyes of the user may be less than 10% according to the lighting parameter and the screen parameter corresponding to the visual stimulation intensity.
Optionally, in the process of practical application, due to the limitation of the lighting device and the screen of the terminal device, after the terminal device adjusts the lighting of the lighting device and the display of the terminal device, the visual stimulus intensity is still greater than the first threshold, and then the terminal device displays the lighting of the lighting device and the terminal device, and adjusts the lighting parameter and the screen parameter corresponding to the minimum visual stimulus intensity. For example, if the terminal device can only adjust the visual stimulus intensity to 20% when the first threshold is 10%, the terminal device adjusts the illumination of the illumination device and the display of the terminal device according to the illumination parameter and the screen parameter corresponding to the visual stimulus intensity of 20%.
Next, with reference to fig. 5, the terminal device is adjusted according to the intensity of the visual stimulus, and the lighting of the lighting device and/or the display of the terminal device are/is adjusted.
Fig. 5 is a schematic diagram of adjusting a display of an illumination device and a terminal device according to an embodiment of the present application. Please refer to fig. 5, which includes a terminal device. The text "hello" is displayed in a display screen of the terminal equipment, and the background color of the terminal equipment is white. When the terminal equipment determines that the visual stimulation intensity of the eyes of the user is larger than a first threshold value according to a plurality of upper eyelid positions and a plurality of eye opening areas of the user, the terminal equipment determines screen parameters and lighting parameters, and adjusts the display and lighting of a lighting device of the terminal equipment according to the screen parameters and the lighting parameters. The terminal equipment enlarges the character size of the text 'hello', adjusts the background color to be gray, and sends a brightness reduction control instruction to the lighting device so as to reduce the brightness of the lighting device.
The embodiment of the application provides a data processing method, which is applied to terminal equipment, and is used for acquiring a plurality of upper eyelid positions and a plurality of eye opening areas in a preset time period of a user, determining first change information of the upper eyelids in the preset time period according to the plurality of upper eyelid positions, determining second change information of the eye opening areas in the preset time period according to the eye opening areas, determining the visual stimulation intensity of the eyes of the user according to the first change information and the second change information, and adjusting the illumination of an illumination device and/or the display of the terminal equipment according to the visual stimulation intensity. In the method, the data processing method is applied to the terminal device, interaction with a server is not needed, the complexity of the system is reduced, the influence of the eyes of the user on the display screen can be accurately reflected due to the position of the upper eyelid and the opening area of the eyes, and the degree of the influence of the eyes of the user on the screen is digitized through the visual stimulation intensity, so that the terminal device can accurately adjust the illumination of the illumination device and/or the display of the terminal device, and the environmental scene where the user is located can be adjusted through jointly adjusting the illumination device and the display of the terminal device, thereby avoiding the damage of the environmental factors to the eyes of the user (for example, in a scene with dark ambient light, even if the brightness of the screen is adjusted to be the lowest, the eyes of the user can be greatly damaged), and further effectively reducing the damage of the display screen to the eyes of the user, the harm of the terminal equipment to the eye health of the user is reduced.
On the basis of the embodiment shown in fig. 2, after the terminal device adjusts the illumination of the illumination device and/or the display of the terminal device, the embodiment of the present application may further include a process of generating the prompt message according to the intensity of the visual stimulus, and a method for generating the prompt message is described below with reference to fig. 6.
Fig. 6 is a flowchart illustrating a method for generating a prompt message by a terminal device according to an embodiment of the present application. Referring to fig. 6, the method includes:
and S601, acquiring second visual stimulation intensity.
The second visual stimulation intensity is the stimulation degree of the eyes of the user after the terminal equipment adjusts the illumination of the illumination device and/or the display of the terminal equipment. Optionally, after the terminal device adjusts the lighting of the lighting device and/or the display of the terminal device, the terminal device may further obtain an eye image of the user, so as to obtain a plurality of upper eyelid positions and a plurality of eye opening areas of the user, and further obtain, according to the method in step S201, a degree of stimulation to which the user' S eyes are subjected after the terminal device adjusts the lighting of the lighting device and/or the display of the terminal device.
And S602, generating prompt information according to the second visual stimulation intensity.
The prompt message comprises the service life recommendation message of the terminal device. For example, the duration recommendation information may be a duration for which the user is suggested to use the terminal device in the current environment. For example, the duration recommendation information may be 30 minutes, 1 hour, or the like. Optionally, in an actual application process, due to the limitation of the lighting device and the screen of the terminal device, the terminal device may not be able to reduce the visual stimulation intensity to a value smaller than the first threshold, and the terminal device may recommend the use duration of the terminal device to the user based on the second visual stimulation intensity, so as to reduce the damage of the display screen of the terminal device to the eyes of the user.
Optionally, the prompt information may be generated according to the following feasible implementation manners: and acquiring a first preset relation. The first preset relationship comprises at least one visual stimulation intensity and duration recommendation information corresponding to each visual stimulation intensity. Wherein the first preset relationship may be as shown in table 4:
TABLE 4
Intensity of visual stimulus Duration recommendation information
Visual stimulus intensity 1 20 minutes
Visual stimulus intensity 2 30 minutes
Visual stimulus intensity 3 50 minutes
…… ……
It should be noted that table 4 illustrates the first preset relationship by way of example only, and does not limit the first preset relationship.
And generating prompt information according to the second visual stimulation intensity and the first preset relation. For example, if the second visual stimulus intensity is visual stimulus intensity 1, the prompt message is to recommend to use the terminal device for 20 minutes; if the second visual stimulation intensity is the visual stimulation intensity 2, the prompt message is that the terminal equipment is recommended to be used for 30 minutes; and if the second visual stimulation intensity is the visual stimulation intensity 3, the prompt message is that the terminal equipment is recommended to be used for 50 minutes.
Next, a procedure of generating the presentation information by the terminal device will be described with reference to fig. 7.
Fig. 7 is a schematic diagram of generating a prompt message according to an embodiment of the present application. Please refer to fig. 7, which includes a terminal device. The second visual stimulation intensity displayed in the display screen of the terminal device is 30%, which indicates that after the terminal device illuminates the illumination device and adjusts the display of the terminal device, the display screen of the terminal device has a higher stimulation degree on the eyes of the user. The terminal device can determine that the recommended duration is 40 minutes according to the second visual stimulation intensity, and further generates prompt information. Wherein, the prompt message is that the terminal equipment is recommended to be used for 40 minutes.
The embodiment of the application provides a method for generating prompt information by terminal equipment, which is applied to the terminal equipment. Therefore, if the illumination of the illumination device adjusted by the terminal equipment and the display of the terminal equipment can also hurt the eyes of the user, the terminal equipment can generate prompt information to prompt the user that the optimal terminal equipment is used for a long time under the current visual stimulation intensity, so that the damage of the display screen of the terminal equipment to the eyes of the user is reduced, and the harm of the terminal equipment to the eye health of the user is reduced.
On the basis of any of the above embodiments, the following describes the procedure of the above data processing method with reference to fig. 8.
Fig. 8 is a process diagram of a data processing method according to an embodiment of the present application. Please refer to fig. 8, which includes a terminal device. Wherein the text "hello" is displayed in the display screen of the terminal device. The terminal equipment obtains a plurality of upper eyelid positions and a plurality of eye opening areas in a preset time period, the terminal equipment determines that the visual stimulation intensity is 50% according to the plurality of upper eyelid positions and the plurality of eye opening areas, the terminal equipment adjusts the word size of a text 'hello' in a screen to be large according to the lighting parameters and the screen parameters corresponding to the 50% visual stimulation intensity, the brightness of a display screen of the terminal equipment is adjusted to be low, and a brightness reduction control instruction is sent to the lighting device to reduce the brightness of the lighting device.
Referring to fig. 8, after the terminal device's illumination of the illumination means and display adjustment of the terminal device, the terminal device may acquire a plurality of upper eyelid positions and a plurality of eye opening areas again, and determine the second visual stimulus intensity to be 30% based on the plurality of upper eyelid areas and the plurality of eye opening areas. And the terminal equipment determines that the recommended use time is 40 minutes according to the second visual stimulation intensity of 30%, and generates prompt information, wherein the prompt information is that the terminal equipment is recommended to use for 40 minutes. Therefore, the lighting of the lighting device and/or the display of the terminal equipment can be accurately adjusted by the terminal equipment, the environment scene where the user is located can be adjusted by the mode of jointly adjusting the display of the lighting device and the display of the terminal equipment, the damage of environmental factors to the eyes of the user is avoided, and if the lighting of the lighting device and the display of the terminal equipment after the terminal equipment is adjusted can also cause damage to the eyes of the user, the terminal equipment can generate prompt information to prompt the user to be under the current visual stimulation intensity, the optimal service time of the terminal equipment is prolonged, the damage of a display screen of the terminal equipment to the eyes of the user is reduced, and the harm of the terminal equipment to the eye health of the user is reduced.
Fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. Referring to fig. 9, the data processing apparatus 10 includes a first obtaining module 11 and an adjusting module 12, wherein:
the first acquiring module 11 is configured to acquire a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user;
the adjusting module 12 is configured to adjust illumination of an illumination device and/or display of the terminal device according to the plurality of upper eyelid positions and the plurality of eye opening areas, wherein the illumination device is configured to provide ambient illumination to the terminal device.
In a possible implementation, the adjusting module 12 is specifically configured to:
determining a visual stimulus intensity of the user's eyes based on the plurality of upper eyelid positions and the plurality of eye opening areas, the visual stimulus intensity being indicative of a degree of stimulus to which the user's eyes are exposed;
and adjusting the illumination of the illumination device and/or the display of the terminal equipment according to the visual stimulus intensity.
In a possible implementation, the adjusting module 12 is specifically configured to:
determining first change information of the upper eyelid within the preset time period according to the positions of the upper eyelids;
determining second variation information of the eye opening area within the preset time period according to the plurality of eye opening areas;
and determining the visual stimulation intensity of the eyes of the user according to the first change information and the second change information.
In a possible implementation, the adjusting module 12 is specifically configured to:
determining a first average value of the upper eyelid position within the preset time period according to the first oscillogram;
determining a second average value of the eye opening area in the preset time period according to the second oscillogram;
and determining the visual stimulation intensity of the eyes of the user according to the first average value and the second average value.
In a possible implementation, the adjusting module 12 is specifically configured to:
inputting the first average value and the second average value into a preset model to obtain the visual stimulation intensity of the eyes of the user;
the preset model is obtained by learning a plurality of groups of samples, and each group of samples comprises a first sample average value, a second sample average value and a sample visual stimulation intensity.
In a possible implementation manner, the first obtaining module 11 is specifically configured to:
acquiring a plurality of eye images of the user acquired in the preset time period;
determining the plurality of upper eyelid positions and the plurality of eye opening areas based on the plurality of eye images.
In a possible implementation, the adjusting module 12 is specifically configured to:
if the visual stimulation intensity is smaller than a first threshold value, the illumination of the illumination device and/or the display of the terminal equipment are not adjusted;
if the visual stimulus intensity is greater than or equal to the first threshold value, adjusting the illumination brightness and the color temperature of the illumination device and/or the backlight intensity, the background color, the text information and the screen reflection of the terminal equipment according to the visual stimulus intensity.
The data processing apparatus provided in this embodiment may be configured to execute the technical solutions of the above method embodiments, and the implementation principles and technical effects thereof are similar, which are not described herein again.
Fig. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application. On the basis of the embodiment shown in fig. 9, please refer to fig. 10, the data processing apparatus 10 further includes a second obtaining module 13, where the second obtaining module 13 is configured to:
acquiring a second visual stimulation intensity;
and generating prompt information according to the second visual stimulation intensity, wherein the prompt information comprises service duration recommendation information of the terminal equipment.
In a possible implementation manner, the second obtaining module 13 is specifically configured to:
acquiring a first preset relationship, wherein the first preset relationship comprises at least one visual stimulation intensity and duration recommendation information corresponding to each visual stimulation intensity;
and generating the prompt message according to the second visual stimulation intensity and the first preset relation.
The data processing apparatus provided in this embodiment may be configured to execute the technical solutions of the above method embodiments, and the implementation principles and technical effects thereof are similar, which are not described herein again.
Fig. 11 is a schematic diagram of a hardware structure of a data processing apparatus provided in the present application. Referring to fig. 11, the data processing apparatus 20 may include: a processor 21 and a memory 22, wherein the processor 21 and the memory 22 may communicate; illustratively, the processor 21 and the memory 22 communicate via a communication bus 23, the memory 22 being configured to store program instructions, and the processor 21 being configured to call the program instructions in the memory to perform the data processing method shown in any of the above-described method embodiments.
Optionally, the data processing device 20 may further comprise a communication interface, which may comprise a transmitter and/or a receiver.
Alternatively, the Processor may be a Central Processing Unit (CPU), other general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
A readable storage medium having a computer program stored thereon; the computer program is for implementing a data processing method as described in any of the embodiments above.
The embodiment of the application provides a computer program product, which comprises instructions, and when the instructions are executed, the instructions cause a computer to execute the data processing method.
All or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be stored in a readable memory. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape (magnetic tape), floppy disk (flexible disk), optical disk (optical disk), and any combination thereof.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (15)

1. A data processing method is applied to a terminal device, and the method comprises the following steps:
acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user;
adjusting illumination of an illumination device and/or display of the terminal device in accordance with the plurality of upper eyelid positions and the plurality of eye opening areas, the illumination device for providing ambient illumination to the terminal device.
2. The method according to claim 1, wherein adjusting the illumination of the illumination device and/or the display of the terminal device based on the plurality of upper eyelid positions and the plurality of eye opening areas comprises:
determining a visual stimulus intensity of the user's eyes based on the plurality of upper eyelid positions and the plurality of eye opening areas, the visual stimulus intensity being indicative of a degree of stimulus to which the user's eyes are exposed;
and adjusting the illumination of the illumination device and/or the display of the terminal equipment according to the visual stimulus intensity.
3. The method of claim 2, wherein determining the visual stimulus intensity for the user's eyes from the plurality of upper eyelid positions and the plurality of eye opening areas comprises:
determining first change information of the upper eyelid within the preset time period according to the positions of the upper eyelids;
determining second variation information of the eye opening area within the preset time period according to the plurality of eye opening areas;
and determining the visual stimulation intensity of the eyes of the user according to the first change information and the second change information.
4. The method according to claim 3, wherein the first variation information is a first waveform map, and the second variation information is a second waveform map; determining the visual stimulation intensity of the user's eyes according to the first variation information and the second variation information, including:
determining a first average value of the upper eyelid position within the preset time period according to the first oscillogram;
determining a second average value of the eye opening area in the preset time period according to the second oscillogram;
and determining the visual stimulation intensity of the eyes of the user according to the first average value and the second average value.
5. The method of claim 4, wherein determining the visual stimulus intensity of the user's eyes from the first average value and the second average value comprises:
inputting the first average value and the second average value into a preset model to obtain the visual stimulation intensity of the eyes of the user;
the preset model is obtained by learning a plurality of groups of samples, and each group of samples comprises a first sample average value, a second sample average value and a sample visual stimulation intensity.
6. The method according to any one of claims 1 to 5, wherein acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a user preset period comprises:
acquiring a plurality of eye images of the user acquired in the preset time period;
determining the plurality of upper eyelid positions and the plurality of eye opening areas based on the plurality of eye images.
7. The method according to any one of claims 2-6, wherein adjusting the illumination of the illumination device and/or the display of the terminal device according to the visual stimulus intensity comprises:
if the visual stimulation intensity is smaller than a first threshold value, the illumination of the illumination device and/or the display of the terminal equipment are not adjusted;
if the visual stimulus intensity is greater than or equal to the first threshold value, adjusting the illumination brightness and the color temperature of the illumination device and/or the backlight intensity, the background color, the text information and the screen reflection of the terminal equipment according to the visual stimulus intensity.
8. The method of claim 7, wherein adjusting the illumination brightness, the color temperature of the illumination device and/or the backlight intensity, the background color, the text information and the screen reflection of the terminal device according to the visual stimulus intensity comprises:
determining target illumination parameters and target screen parameters according to the visual stimulus intensity, wherein the target illumination parameters comprise illumination brightness and color temperature of the illumination device, the target screen parameters comprise backlight intensity, background color, text information and screen reflection of a screen of the terminal equipment, and the target illumination parameters and the target screen parameters enable the visual stimulus intensity to be smaller than the first threshold value;
and adjusting at least one of the illumination brightness, the color temperature, the backlight intensity of the terminal equipment, the background color, the text information and the screen reflection of the illumination device according to the target illumination parameters and the target screen parameters.
9. The method of claim 7, wherein adjusting the illumination brightness, the color temperature of the illumination device and/or the backlight intensity, the background color, the text information and the screen reflection of the terminal equipment comprises:
determining a set of standard parameters, wherein the standard parameters comprise standard illumination brightness, standard color temperature and/or standard backlight intensity, standard background color, standard text information and standard screen reflection of the lighting device, and the standard parameters enable the visual stimulation intensity to be smaller than or equal to a preset value;
and adjusting at least one of the illumination brightness, the color temperature, the backlight intensity of the terminal equipment, the background color, the text information and the screen reflection of the illumination device according to the standard parameters.
10. The method according to any one of claims 1 to 9, wherein after adjusting the illumination of the illumination means and/or the display of the terminal device in accordance with the plurality of upper eyelid positions and the plurality of eye opening areas, the method further comprises:
acquiring a second visual stimulation intensity;
and generating prompt information according to the second visual stimulation intensity, wherein the prompt information comprises service duration recommendation information of the terminal equipment.
11. The method of claim 10, wherein generating a cue message based on the second visual stimulus intensity comprises:
acquiring a first preset relationship, wherein the first preset relationship comprises at least one visual stimulation intensity and duration recommendation information corresponding to each visual stimulation intensity;
and generating the prompt message according to the second visual stimulation intensity and the first preset relation.
12. The data processing device is applied to terminal equipment and comprises a first acquisition module and an adjustment module, wherein:
the first acquisition module is used for acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset time period of a user;
the adjusting module is used for adjusting the illumination of an illuminating device and/or the display of the terminal equipment according to the upper eyelid positions and the eye opening areas, wherein the illuminating device is used for providing ambient illumination for the terminal equipment.
13. A data processing apparatus, characterized by comprising: a processor and a memory;
the memory stores computer-executable instructions;
the processor executing the computer-executable instructions stored by the memory causes the processor to perform the data processing method of any of claims 1 to 11.
14. A computer-readable storage medium, having stored thereon computer-executable instructions which, when executed by a processor, implement a data processing method as claimed in any one of claims 1 to 11.
15. A computer program product comprising a computer program, characterized in that the computer program realizes the method of data processing according to any one of claims 1 to 11 when executed by a processor.
CN202111516710.6A 2021-12-13 2021-12-13 Data processing method, device and equipment Pending CN114494672A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111516710.6A CN114494672A (en) 2021-12-13 2021-12-13 Data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111516710.6A CN114494672A (en) 2021-12-13 2021-12-13 Data processing method, device and equipment

Publications (1)

Publication Number Publication Date
CN114494672A true CN114494672A (en) 2022-05-13

Family

ID=81492235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111516710.6A Pending CN114494672A (en) 2021-12-13 2021-12-13 Data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN114494672A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115981772A (en) * 2023-01-10 2023-04-18 呼和浩特市凡诚电子科技有限公司 Big data-based computer performance control system and method
CN116500795A (en) * 2023-06-26 2023-07-28 北京亮亮视野科技有限公司 Self-adaptive adjusting method and device of augmented reality equipment and electronic equipment
CN117440556A (en) * 2023-12-20 2024-01-23 常州海图信息科技股份有限公司 LED control system and switch protection circuit thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115981772A (en) * 2023-01-10 2023-04-18 呼和浩特市凡诚电子科技有限公司 Big data-based computer performance control system and method
CN116500795A (en) * 2023-06-26 2023-07-28 北京亮亮视野科技有限公司 Self-adaptive adjusting method and device of augmented reality equipment and electronic equipment
CN117440556A (en) * 2023-12-20 2024-01-23 常州海图信息科技股份有限公司 LED control system and switch protection circuit thereof
CN117440556B (en) * 2023-12-20 2024-02-23 常州海图信息科技股份有限公司 LED control system and switch protection circuit thereof

Similar Documents

Publication Publication Date Title
WO2021027649A1 (en) Dark-mode display interface processing method, electronic device, and storage medium
CN114494672A (en) Data processing method, device and equipment
CN108538265B (en) Display brightness adjusting method and device of liquid crystal display screen
CN107863089B (en) Blue light adjusting method, device and terminal
CN103839054B (en) Multi-functional mobile intelligent terminal sensor supporting iris recognition
US10607376B2 (en) Method and apparatus for adjusting color temperature based upon fuzzy control
CN104063846A (en) Method and apparatus for processing an image based on detected information
CN105472174A (en) Intelligent eye protecting method achieved by controlling distance between mobile terminal and eyes
US20170277258A1 (en) Method for adjusting screen luminance and electronic device
CN103929546A (en) Method and device for protecting eyes of user based on intelligent terminal
CN111240612A (en) Method and terminal for adjusting screen resolution
CN107734796A (en) Minute surface shows product lamp bar brightness adjusting method, device, equipment and storage medium
CN107731201B (en) Screen brightness adjusting method and device
CN108986770B (en) Information terminal
CN109151217B (en) Backlight mode adjusting method and device
WO2016078440A1 (en) Method and apparatus for controlling screen of mobile terminal
CN105513566A (en) Image adjusting method of executing optimal adjustment according to different environments and displayer
US20110170068A1 (en) Method and apparatus for self-examination of the eye
CN110556080B (en) Method, device, terminal and storage medium for adjusting backlight
CN105278907B (en) Display methods and mobile terminal
CN110390216B (en) Content display method and related equipment
JP2011133877A (en) Image display device, and image processing device
CN111179860A (en) Backlight mode adjusting method of electronic equipment, electronic equipment and device
US11410622B2 (en) Display method and device, and storage medium
CN112506338B (en) Full-vision-based equipment control method, device and equipment

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