CN-114494672-B - Data processing method, device and equipment
Abstract
The embodiment of the application provides a data processing method, a device and equipment, which are applied to terminal equipment, wherein the method comprises the steps of acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset period of a user; adjusting 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, the illumination device being for providing ambient illumination to the terminal device. And the harm of the terminal equipment to the eye health of the user is reduced.
Inventors
- CUI GANG
Assignees
- 崔刚
- 崔刚
Dates
- Publication Date
- 20260421
- Application Date
- 20211213
- Priority Date
- 20211213
Claims (9)
- 1. A data processing method, applied to a terminal device, the method comprising: Acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset period of a user; Normalizing the upper eyelid positions according to the upper eyelid positions, and determining a first waveform diagram of the upper eyelid in the preset period, wherein the horizontal axis of the first waveform diagram is time, and the vertical axis of the first waveform diagram is the normalized upper eyelid position and is used for indicating the change information of the upper eyelid position with time in the preset period; Normalizing the plurality of eye opening areas according to the plurality of eye opening areas, and determining a second waveform diagram of the eye opening areas in the preset period, wherein the horizontal axis of the second waveform diagram is time, and the vertical axis of the second waveform diagram is normalized eye opening area, and is used for indicating change information of the eye opening area along with time in the preset period; according to the first waveform diagram and the second waveform diagram, respectively determining a first average value of the upper eyelid position in the preset period and a second average value of the eye opening area in the preset period; Inputting the first average value and the second average value into a preset model to obtain visual stimulus intensity of eyes of the user, wherein the visual stimulus intensity is used for indicating the stimulus degree received by the eyes of the user; If the visual stimulus intensity is greater than or equal to a preset first threshold value, determining a target lighting parameter and a target screen parameter according to the visual stimulus intensity, and adjusting the lighting of a lighting device and/or the display of the terminal equipment, wherein the target lighting parameter and the target screen parameter enable the visual stimulus intensity to be smaller than the first threshold value; and if the minimum visual stimulus intensity corresponding to the terminal equipment is greater than the first threshold, adjusting the illumination of the illumination device and/or the display of the terminal equipment, wherein the method comprises the following steps: According to the illumination parameters and screen parameters corresponding to the minimum visual stimulus intensity, adjusting illumination of an illumination device and display of terminal equipment; acquiring a second visual stimulus intensity after the illumination of the illumination means by the terminal device and/or the display adjustment of the terminal device; If the second visual stimulus intensity is larger than or equal to a first threshold value, a first preset relation is obtained, wherein the first preset relation comprises at least one visual stimulus intensity and time length recommended information corresponding to each visual stimulus intensity, prompt information is generated according to the second visual stimulus intensity and the first preset relation, and the prompt information comprises the time length recommended information of the terminal equipment.
- 2. The method of claim 1, wherein obtaining a plurality of upper eyelid positions and a plurality of eye opening areas within a user preset period of time comprises: Acquiring a plurality of eye images of a user acquired within the preset period; The plurality of upper eyelid positions and the plurality of eye opening areas are determined from the plurality of eye images.
- 3. The method as recited in claim 1, further comprising: if the visual stimulus intensity is smaller than the first threshold value, the illumination of the illumination device and/or the display of the terminal equipment are not adjusted.
- 4. The method of claim 1, wherein the target lighting parameters include a lighting brightness and a color temperature of the lighting device, and the target screen parameters include a backlight intensity, a back color, text information, and screen reflection of the terminal device screen; adjusting the illumination of the illumination device and/or the display of the terminal device, comprising: And adjusting at least one of illumination brightness, color temperature, backlight intensity, back color, text information and screen reflection of the illumination device according to the target illumination parameter and the target screen parameter.
- 5. A method according to claim 3, characterized in that adjusting the illumination brightness, the color temperature of the illumination means and/or the backlight intensity, the back color, the text information and the screen reflection of the terminal device 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 stimulus intensity to be smaller than or equal to a preset value; And according to the standard parameters, adjusting at least one of illumination brightness, color temperature, backlight intensity of the terminal equipment, background color, text information and screen reflection of light of the illumination device.
- 6. A data processing device, characterized in that it is applied to a terminal device, and the data processing device includes a first acquisition module and an adjustment 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 period of time of a user; the adjusting module is used for carrying out normalization processing on the upper eyelid positions according to the upper eyelid positions, determining a first waveform diagram of the upper eyelid in the preset period, wherein the horizontal axis of the first waveform diagram is time, and the vertical axis of the first waveform diagram is the position of the upper eyelid after normalization and is used for indicating the change information of the upper eyelid position with time in the preset period; Normalizing the plurality of eye opening areas according to the plurality of eye opening areas, and determining a second waveform diagram of the eye opening areas in the preset period, wherein the horizontal axis of the second waveform diagram is time, and the vertical axis of the second waveform diagram is normalized eye opening area, and is used for indicating change information of the eye opening area along with time in the preset period; according to the first waveform diagram and the second waveform diagram, respectively determining a first average value of the upper eyelid position in the preset period and a second average value of the eye opening area in the preset period; Inputting the first average value and the second average value into a preset model to obtain visual stimulus intensity of eyes of the user, wherein the visual stimulus intensity is used for indicating the stimulus degree received by the eyes of the user; If the visual stimulus intensity is greater than or equal to a preset first threshold value, determining a target lighting parameter and a target screen parameter according to the visual stimulus intensity, and adjusting the lighting of a lighting device and/or the display of the terminal equipment, wherein the target lighting parameter and the target screen parameter enable the visual stimulus intensity to be smaller than the first threshold value; If the minimum visual stimulus intensity corresponding to the terminal equipment is larger than the first threshold value, the method is particularly used for adjusting the illumination of the illumination device and the display of the terminal equipment according to the illumination parameter and the screen parameter corresponding to the minimum visual stimulus intensity when adjusting the illumination of the illumination device and/or the display of the terminal equipment; The method comprises the steps of obtaining second visual stimulus intensity after illumination of an illumination device and/or display adjustment of the terminal equipment by the terminal equipment, obtaining a first preset relation if the second visual stimulus intensity is larger than or equal to a first threshold value, wherein the first preset relation comprises at least one visual stimulus intensity and time length recommendation information corresponding to each visual stimulus intensity, generating prompt information according to the second visual stimulus intensity and the first preset relation, and the prompt information comprises the time length recommendation information of the terminal equipment.
- 7. A data processing apparatus includes a processor and a memory; the memory stores computer-executable instructions; the processor executing computer-executable instructions stored in the memory, causing the processor to perform the data processing method of any one of claims 1 to 5.
- 8. A computer-readable storage medium, in which computer-executable instructions are stored which, when executed by a processor, implement the data processing method according to any one of claims 1 to 5.
- 9. A computer program product comprising a computer program which, when executed by a processor, implements a method of data processing according to any one of claims 1 to 5.
Description
Data processing method, device and equipment Technical Field The present application relates to the field of vision technologies, and in particular, to a data processing method, apparatus, and device. Background With the development of screen technology, most of the terminal devices commonly used by users are provided with display screens (such as mobile phones, computers, etc.), and the popularization of the display screens threatens the eyes of the users. Currently, screen parameters of a display screen can be adjusted according to manual experience so as to reduce damage of the display screen to eyes of a user. For example, the brightness of the display screen may be maximized when the illumination intensity is strong (e.g., the user is outdoors), and minimized when the illumination intensity is weak (e.g., the user is indoors at night). But the user's eyes are different in the stimulus intensity that receives in different scenes, adjust screen brightness through manual experience to can not effectually reduce the damage of display screen to user's eyes, and then lead to the display screen of terminal equipment to the harm of eyes health great. Disclosure of Invention The application provides a data processing method, a device and equipment, which are used for solving the technical problem that the display screen of terminal equipment has great harm to eye health in the prior art. In a first aspect, the present application provides a data processing method, applied to a terminal device, the method comprising: Acquiring a plurality of upper eyelid positions and a plurality of eye opening areas within a preset period of a user; adjusting 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, the illumination device being for providing ambient illumination to the terminal device. In a 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 of the eyes of the user according to the positions of the plurality of upper eyelids and the opening areas of the plurality of eyes, wherein the visual stimulus intensity is used for indicating the stimulus degree of the eyes of the user; 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 stimulus intensity of the user's eyes from the plurality of upper eyelid positions and the plurality of eye-open areas comprises: determining first variation information of the upper eyelid within the preset period according to the plurality of upper eyelid positions; determining second variation information of the eye opening area within the preset period according to the plurality of eye opening areas; and determining the visual stimulus intensity of the eyes of the user according to the first change information and the second change information. In one possible implementation, the first variation information is a first waveform diagram, the second variation information is a second waveform diagram, and the determining the visual stimulus intensity of the eyes of the user according to the first variation information and the second variation information includes: determining a first average value of the upper eyelid positions within the preset period according to the first oscillogram; Determining a second average value of the opening area of the eyes in the preset period according to the second waveform chart; And determining the visual stimulus intensity of the eyes of the user according to the first average value and the second average value. In one possible embodiment, determining the visual stimulus 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 visual stimulus intensity of 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 average value of the samples, a second average value of the samples and visual stimulus intensity of the samples. 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 a user acquired within the preset period; The plurality of upper eyelid positions and the plurality of eye opening areas are determined from the plurality of eye images. In a possible embodiment, adjusting the illumination of the illumination means and/or the display of the terminal device according to the visual stimulus intensity comprises: If the visual stimulus intensity