Method and device for adjusting brightness of lighting device, electronic equipment and storage medium

文档序号:1942222 发布日期:2021-12-07 浏览:13次 中文

阅读说明:本技术 一种照明装置亮度调节方法、装置、电子设备和存储介质 (Method and device for adjusting brightness of lighting device, electronic equipment and storage medium ) 是由 丛东升 于 2021-04-30 设计创作,主要内容包括:本公开实施例公开了一种照明装置亮度调节方法、装置、电子设备和存储介质,该方法包括:获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节。本公开实施例的技术方案,根据用户视觉测试结果进行照明装置亮度调节,以解决由于不同的用户的视觉参数不同,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求的问题,实现针对不同的用户进行相应的照明装置亮度调整,提升用户使用体验。(The embodiment of the disclosure discloses a method and a device for adjusting the brightness of a lighting device, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user; and adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information. According to the technical scheme, the brightness of the lighting device is adjusted according to the vision test result of the user, so that the problem that the brightness of the adjusted lighting device is still difficult to meet the requirements of different users due to different visual parameters of different users is solved, the brightness of the adjusted lighting device is adjusted correspondingly for different users, and the user experience is improved.)

1. A method for adjusting brightness of an illumination device, comprising:

acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user;

and adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

2. The method of claim 1, wherein obtaining lighting device information comprises:

at least one of a current ambient light parameter of the lighting device, a lighting time of the lighting device, a working time corresponding to a current mode of the lighting device, and a first distance from eyes of a user to a preset position of the lighting device is obtained.

3. The method of claim 1, wherein the method is performed by a lighting device comprising: a display screen, the method further comprising:

acquiring the current screen brightness and display screen information of the display screen;

and adjusting the current screen brightness according to the user vision test result and the display screen information.

4. The method of claim 3, wherein obtaining display screen information comprises:

and acquiring at least one of the current ambient light parameter of the display screen, the service life of the display screen and a second distance between the eyes of the user and the display screen.

5. The method of any of claims 1-4, wherein obtaining user-provided user visual test results comprises:

performing at least one test of the user's vision using at least one test image displayed on the display screen;

and acquiring a test result corresponding to the at least one test.

6. The method of claim 5, wherein performing at least one test of the user's vision using at least one test image displayed on a display screen comprises:

displaying at least two test images on a display screen, wherein the gray scale intervals corresponding to the at least two test images are different.

7. The method of claim 6, wherein obtaining the test result corresponding to the at least one test comprises:

acquiring at least two pieces of feedback information input by a user aiming at the at least two test images;

and determining a target gray scale interval and a target sighting mark grade according to the at least two pieces of feedback information.

8. The method of claim 7, wherein adjusting the current lighting fixture brightness based on the user visual test results and target lighting fixture information comprises:

establishing a first database about gray scale intervals, sighting mark grades and illumination device brightness in advance;

inquiring the first database according to the target gray scale interval and the target sighting mark grade to obtain the brightness of the target lighting device corresponding to the target gray scale interval and the target sighting mark grade;

and adjusting the current illumination device brightness according to the target illumination device brightness and the illumination device information.

9. The method of claim 7, wherein adjusting the current lighting fixture brightness based on the user visual test results and target lighting fixture information comprises:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to the brightness of a first lighting device;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining the brightness of a second lighting device corresponding to the target gray scale interval and the target visual target level, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.

10. The method of claim 7, wherein adjusting the current lighting fixture brightness based on the user visual test results and target lighting fixture information comprises:

establishing a first list of corresponding relations between gray scale intervals, visual target grades, working time corresponding to each mode of the lighting device and the brightness of the lighting device;

inquiring the first list according to the target gray scale interval, the target sighting mark grade and the working time length corresponding to the current mode of the lighting device to obtain the brightness of a third lighting device;

and adjusting the current illumination device brightness according to the third illumination device brightness.

11. The method of claim 7, wherein adjusting the current screen brightness based on the user visual test results and display screen information comprises:

pre-establishing a second database about the gray scale interval, the sighting mark grade and the screen brightness;

inquiring the second database according to the target gray interval and the target visual target grade to obtain target screen brightness corresponding to the target gray interval and the target visual target grade;

and adjusting the current screen brightness according to the target screen brightness and the display screen information.

12. The method of claim 7, wherein adjusting the current screen brightness based on the user visual test results and display screen information comprises:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to first screen brightness;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining that the target gray scale interval and the target visual target level correspond to second screen brightness, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the first screen brightness is greater than the second screen brightness.

13. The method of claim 7, wherein adjusting the current screen brightness based on the user visual test results and display screen information comprises:

establishing a second list of corresponding relations among gray scale intervals, visual target grades, the service time of the display screen and the screen brightness;

inquiring the second list according to the target gray scale interval, the target visual target grade and the service time of the display screen to obtain third screen brightness;

and adjusting the brightness of the current lighting device according to the third screen brightness.

14. The method of claim 6, wherein the at least one test image is at least one eye chart image, and the maximum gray scale value of the gray scale interval corresponding to the at least one eye chart image is in an increasing or decreasing trend.

15. An illumination device brightness adjustment device, comprising:

the first acquisition module is used for acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user;

and the first adjusting module is used for adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

16. An electronic device comprising a memory, a processing means and a computer program stored on the memory and executable on the processing means, wherein the processing means when executing the program implements the method of adjusting the brightness of a lighting device according to any one of claims 1 to 14.

17. A storage medium containing computer executable instructions for performing the lighting device brightness adjustment method of any one of claims 1-14 when executed by a computer processor.

Technical Field

The embodiment of the disclosure relates to the field of lighting devices, and in particular, to a method and a device for adjusting brightness of a lighting device, an electronic device, and a storage medium.

Background

With the advent of the information age, information drawing becomes an essential factor for people's life, study and work, and the drawing of information mainly comes from vision. Therefore, visual health becomes one of the most interesting health problems in modern society.

The lighting device is a necessity in the life of people. The eye fatigue brings great threat to the visual health of people for a long time, and the problems of eye myopia, high myopia and the like are generally increased. Eye fatigue is directly related to eye environment, and the influence of the luminous environment is also a cause for improving the myopia rate.

The lighting devices of the table lamps on the market are usually adjustable by the user only between the brightness of several fixed gears. The user adjusts the light through subjective judgment, which is very likely to cause mismatching between the adjusted light and the environment, thereby causing symptoms such as eye fatigue and eye discomfort. Moreover, since the visual parameters of different users are different, if the brightness is uniformly adjusted, the adjusted brightness still cannot meet the requirements of different users.

Disclosure of Invention

The disclosure provides a method and a device for adjusting the brightness of a lighting device, electronic equipment and a storage medium, wherein the brightness of the lighting device is adjusted according to a visual test result of a user, so that the problem that the brightness after adjustment is still difficult to meet the requirements of different users due to different visual parameters of different users is solved, corresponding brightness adjustment of the lighting device for different users is realized, and the user experience is improved.

In a first aspect, an embodiment of the present disclosure provides a brightness adjustment method for an illumination device, including:

acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user;

and adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

In a second aspect, an embodiment of the present disclosure provides a brightness adjustment device for an illumination device, including:

the acquisition module is used for acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user;

and the adjusting module is used for adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

In a third aspect, an embodiment of the present disclosure provides an electronic device, which includes a memory, a processing device, and a computer program stored in the memory and executable on the processing device, where the processing device executes the computer program to implement the method for adjusting brightness of a lighting device according to any embodiment of the present disclosure.

In a fourth aspect, embodiments of the present disclosure provide a storage medium containing computer-executable instructions for performing the method of dimming a lighting device of any of the embodiments of the present disclosure when executed by a computer processor.

According to the technical scheme of the embodiment of the disclosure, the brightness of the current lighting device, the information of the lighting device and the user vision test result provided by the user can be obtained; the brightness of the current lighting device is adjusted according to the user vision test result and the lighting device information, the problem that the brightness after adjustment is still difficult to meet the requirements of different users due to different visual parameters of different users if the brightness is adjusted in a unified mode is solved, corresponding brightness adjustment of the lighting device is achieved for different users, and user experience is improved.

Drawings

The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.

Fig. 1 is a flow chart of an embodiment of a method of dimming a lighting device according to the present disclosure;

fig. 2 is a flowchart of another embodiment of a method of adjusting brightness of a lighting device according to the present disclosure;

FIG. 3 is a flow chart of another embodiment of a method of dimming an illumination device according to the present disclosure;

fig. 4 is a block diagram of an embodiment of a brightness adjustment apparatus of an illumination apparatus according to the present disclosure;

FIG. 5 is a block diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.

Detailed Description

Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.

It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.

The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.

It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.

It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.

The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.

Example one

Fig. 1 is a flowchart of a method for adjusting brightness of an illumination apparatus according to a first embodiment of the present disclosure, where the present embodiment is applicable to adjusting the current brightness of the illumination apparatus according to a result of a visual test of a user, and the method may be executed by an illumination apparatus brightness adjusting apparatus in the first embodiment of the present disclosure, and the illumination apparatus brightness adjusting apparatus may be implemented by software and/or hardware and integrated in a terminal device, and the method specifically includes the following steps:

and S110, acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user.

The user vision test result can be a vision test result obtained after a user is in a preset position away from a display screen on the lighting device for testing; for example, the lighting device may be placed on a table, the user sits on a chair beside the table, a test image is displayed on a display screen of the lighting device, the user inputs feedback information for the test image, and the user visual test result is determined according to the feedback information. The test image may be an eye chart image or other test images.

For example, the user vision test result may be that a display screen is provided on the lighting device, and at least one test for the user vision is performed using at least one test image displayed on the display screen; and acquiring a test result corresponding to the at least one test. For example, an eye chart image is displayed on the display screen, the user inputs the vision data after determining the vision data according to the displayed eye chart image, and the vision test result of the user is determined according to the vision data input by the user.

For example, the user vision test result may be that a display screen is provided on the lighting device, and at least two tests on the user vision are performed using at least two test images displayed on the display screen; and obtaining test results corresponding to the at least two tests.

Wherein, current lighting device can be the desk lamp, also can be for the light in the office area, perhaps can be the light in the classroom, and this disclosed embodiment does not restrict to this.

The current lighting device brightness may be obtained by reading the current lighting device brightness from a controller of the lighting device, or by querying a database according to the current mode to obtain the current lighting device brightness, which is not limited in the embodiment of the present disclosure.

Wherein the lighting device information includes: at least one of a current ambient light parameter of the lighting device, a lighting time of the lighting device, a working time corresponding to a current mode of the lighting device, and a first distance from eyes of a user to a preset position of the lighting device.

And S120, adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

For example, the current brightness of the lighting device may be adjusted according to the user vision test result and the lighting device information, where the current brightness of the lighting device may be adjusted according to the user vision test result and the current ambient light parameter of the lighting device; the brightness of the current lighting device can be adjusted according to the visual test result of the user and the lighting time of the lighting device; the brightness of the current lighting device can be adjusted according to the visual test result of the user and the working time corresponding to the current mode of the lighting device; the brightness of the current lighting device can be adjusted according to the user vision test result and a first distance between the eyes of the user and a preset position of the lighting device; or determining the brightness of a target lighting device according to a user visual test result and lighting device information, and adjusting the brightness of the current lighting device according to the brightness of the target lighting device may be to obtain a brightness difference value between the brightness of the target lighting device and the brightness of the current lighting device; determining a brightness adjustment rule according to the brightness difference value, and adjusting the brightness of the current lighting device according to the brightness adjustment rule, for example, if the brightness difference value is greater than a brightness threshold, adjusting the brightness of the current lighting device to the brightness of the target lighting device; or determining a brightness adjustment level according to the brightness difference value; determining the brightness of a first lighting device according to the brightness adjustment level; adjusting the current lighting device brightness to the first lighting device brightness. The disclosed embodiments are not so limited.

Optionally, in an embodiment of the present disclosure, acquiring lighting device information includes:

at least one of a current ambient light parameter of the lighting device, a lighting time of the lighting device, a working time corresponding to a current mode of the lighting device, and a first distance from eyes of a user to a preset position of the lighting device is obtained.

Wherein the current ambient light comprises: natural light including sunlight and unnatural light (artificial light) including: lights or other artificial light sources corresponding to lighting devices other than table lamps.

The current ambient light parameter includes: the current ambient light brightness and/or the current ambient light color temperature.

For example, the current ambient light parameter may be obtained by sensing the current ambient light intensity of the desk lamp through an ambient light sensor on the lighting device; the manner of obtaining the current lighting device brightness may be to obtain the current lighting device brightness through a central controller of the lighting device, which is not limited by the embodiments of the present disclosure.

For example, the manner of obtaining the illumination time length of the lighting apparatus may be obtaining the illumination time length of the lighting apparatus through a central controller of the lighting apparatus, or obtaining the illumination time length of the lighting apparatus through a timer built in the lighting apparatus, which is not limited in the embodiment of the disclosure.

Specifically, the reason why the lighting device causes fatigue or discomfort to human eyes during lighting also includes the lighting duration of the lighting device, and as the lighting duration increases, the perception capability of human eyes to the brightness and color temperature of the lighting device also changes, that is, the optimal brightness and color temperature perceived by the eyes of the user have strong correlation with the lighting duration. Therefore, the brightness of the target lighting device is determined according to the lighting time of the lighting device and the target hormone secretion parameter, so that the brightness of the lighting device perceived by eyes of a user is always kept at an optimal value, and the influence of long-time eye use on the visual health and comfort of the eyes of the user is reduced.

The preset position of the lighting device may be a position where a sensor is installed on the lighting device, a position of a light-emitting source of the lighting device, or other preset designated positions, which is not limited in the embodiment of the present disclosure.

For example, the manner of obtaining the first distance between the eyes of the user and the preset position of the illumination device may be to obtain the first distance between the eyes of the user and the preset position of the illumination device through a distance sensor, and may be to obtain the first distance between the eyes of the user and the preset position of the illumination device through a monocular or binocular camera.

The current mode of the lighting device may be a drawing mode, a long-time examination mode, a short-time work mode, or an online lesson mode, and the current mode of the lighting device may be set according to the use requirement of the user, which is not limited in the embodiments of the present disclosure.

The method for acquiring the current mode of the lighting device can be that controls corresponding to different modes are arranged on a display screen of the lighting device or a body of the lighting device, and the current mode is determined according to the mode controls clicked by a user; the current mode of the lighting device can be obtained by the following steps: the lighting device is provided with at least one camera in advance, the state information of the user is determined according to the image data collected by the camera, and the current mode of the lighting device is determined according to the state information of the user.

Optionally, in an embodiment of the present disclosure, the lighting device includes: the camera, it includes to acquire lighting device's current mode:

acquiring image data through the camera;

determining state information of a user according to the image data;

and determining the current mode of the lighting device according to the state information of the user.

The number of the cameras can be one or multiple, the cameras can be arranged at the top end of the lighting device or on a lamp post of the lighting device, and the embodiment of the disclosure does not limit the number of the cameras.

The state information of the user may be that the user is doing a test question, that the user is drawing, or that the user is doing a writing operation, and the like, which is not limited in the embodiment of the present disclosure.

The manner of determining the current mode of the lighting device according to the state information of the user may be: and if the state information of the user indicates that the user is doing the test questions, determining the current mode of the lighting device as the test mode according to the fact that the user is doing the test questions. And if the state information of the user indicates that the user is drawing, determining that the current mode of the lighting device is a drawing mode according to the fact that the user is drawing. And if the state information of the user is that the user is writing, determining that the current mode of the lighting device is the operation mode according to the writing of the user. If the user is sleeping, the current mode of the lighting device is determined to be the sleep mode.

The method for determining the state information of the user according to the image data may be as follows: acquiring image data acquired by at least two cameras, performing data splicing on the image data acquired by the at least two cameras to obtain panoramic image data, and determining state information of a user according to the panoramic image data; or, the image data acquired by at least another camera is acquired, and the image data is identified to obtain the state information of the user corresponding to the image data.

For example, at least one camera is arranged near a lamp post of the lighting device to a user side, the camera collects image data, the image data collected by the camera is acquired, the state information of the user is determined according to the image data collected by the camera, and the current mode of the lighting device is determined according to the state information of the user.

The mode of the working time corresponding to the current mode of the lighting device can be as follows: and pre-establishing a database of corresponding relations between different working modes and working durations, and inquiring the database according to the current mode of the lighting device to obtain the working duration corresponding to the current mode. The mode of the working time corresponding to the current mode of the lighting device can also be as follows: acquiring attribute information of a current mode, and determining a working duration according to the attribute information of the current mode, wherein the attribute information may include the working duration. The disclosed embodiments are not so limited.

According to the technical scheme of the embodiment of the disclosure, the user visual test result, the current illumination device brightness and the illumination device information can be obtained; the brightness of the current lighting device is adjusted according to the user vision test result and the lighting device information, the problem that the brightness after adjustment is still difficult to meet the requirements of different users due to different visual parameters of different users if the brightness is adjusted in a unified mode is solved, corresponding brightness adjustment of the lighting device is achieved for different users, and user experience is improved.

Example two

Fig. 2 is a flowchart of a brightness adjustment method for an illumination device according to a second embodiment of the present disclosure, which is embodied on the basis of the second embodiment, in which the method is executed by an illumination device, and the illumination device includes: a display screen, the method further comprising: acquiring the current screen brightness and display screen information of the display screen; adjusting the current screen brightness according to the user vision test result and the display screen information, wherein the method of the embodiment specifically comprises the following steps:

s210, obtaining the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user.

And S220, adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

And S230, acquiring the current screen brightness and the display screen information of the display screen.

Specifically, the desk lamp includes the display screen, and the position of display screen generally locates under the desk lamp to the realization conveniently shows content to the user.

The manner of obtaining the current screen brightness may be to obtain the current screen brightness through a central controller of the lighting device.

Wherein the display screen information includes: at least one of a current ambient light parameter of the display screen, a length of time of use of the display screen, and a second distance of the user's eyes from the display screen.

S240, adjusting the current screen brightness according to the user vision test result and the display screen information.

For example, the current screen brightness is adjusted according to the user vision test result and the display screen information, and the current screen brightness is adjusted according to the user vision test result and the current ambient light parameter of the display screen; the current screen brightness can also be adjusted according to the user visual test result and the service life of the display screen; the current screen brightness can be adjusted according to the user vision test result and a second distance between the eyes of the user and the display screen; or determining target screen brightness according to a user visual test result and display screen information, and adjusting the current screen brightness according to the target screen brightness to obtain a brightness difference value between the target screen brightness and the current screen brightness; determining a brightness adjustment rule according to the brightness difference value, and adjusting the current screen brightness according to the brightness adjustment rule, for example, if the brightness difference value is greater than a brightness threshold, adjusting the current screen brightness to the target screen brightness; or determining a brightness adjustment level according to the brightness difference value; determining first screen brightness according to the brightness adjustment level; and adjusting the current screen brightness to the first screen brightness. The disclosed embodiments are not so limited.

Optionally, in this embodiment of the present disclosure, acquiring display screen information includes:

and acquiring at least one of the current ambient light parameter of the display screen, the service life of the display screen and a second distance between the eyes of the user and the display screen.

The current ambient light parameter of the display screen can be obtained by sensing the current ambient light intensity of the display screen through an ambient light sensor around the display screen; the disclosed embodiments are not so limited.

For example, the manner of obtaining the use duration of the display screen may be to obtain the use duration of the display screen through a central controller of the lighting device, or may also be to obtain the use duration of the display screen through a timer built in the lighting device, which is not limited in this disclosure.

For example, the manner of obtaining the second distance between the eyes of the user and the display screen may be to obtain the second distance between the eyes of the user and the display screen through a distance sensor, and may be to obtain the second distance between the eyes of the user and the display screen through a monocular or binocular camera.

When a user surfs the internet through the display screen, the user can watch the display screen for a long time, and the eye comfort level of the user can be improved by adjusting the screen brightness of the display screen.

According to the technical scheme of the embodiment of the disclosure, the brightness of the current lighting device, the information of the lighting device, the current screen brightness of the display screen, the information of the display screen and the user vision test result provided by the user are obtained, the brightness of the current lighting device is adjusted according to the user vision test result and the information of the lighting device, the brightness of the current screen is adjusted according to the user vision test result and the information of the display screen, so that the problem that the brightness after adjustment still cannot meet the requirements of different users due to different visual parameters of different users if the brightness is adjusted uniformly is solved, the brightness of the lighting device is adjusted correspondingly for different users, the brightness of the screen is adjusted according to the user vision test result, and the problem that the visual parameters of different users are different is solved, if the brightness is uniformly adjusted, the problem that the adjusted brightness still cannot meet the requirements of different users is caused, corresponding screen brightness adjustment is performed for different users, and the user experience is improved.

EXAMPLE III

Fig. 3 is a flowchart of a brightness adjustment method for an illumination device according to a third embodiment of the present disclosure, which is embodied based on the third embodiment, and in the present embodiment, acquiring a user vision test result provided by a user includes: performing at least one test of the user's vision using at least one test image displayed on the display screen; obtaining a test result corresponding to the at least one test, wherein the method of the embodiment specifically includes the following steps:

s310, at least one test for the vision of the user is performed by using at least one test image displayed on the display screen.

The test image may be an eye chart image, or may be another test image for performing a vision test, which is not limited in this disclosure.

For example, the manner in which at least one test for the vision of the user is performed using at least one test image displayed on the display screen may be: the visual chart image is displayed on the display screen, and the user inputs feedback information for the visual chart image, for example, if the smallest line E that the user can see corresponds to 0.8, the user inputs 0.8 for the visual chart image. The way in which at least one test of the vision of the user is performed using at least one test image displayed on the display screen may also be: displaying at least two test images on a display screen, wherein the gray scale intervals corresponding to the at least two test images are different, for example, a first visual chart image is displayed on the display screen, if the user inputs visual data of 0.8, the gray scale value of a row of icons corresponding to the visual data of 0.8 is adjusted to a first gray scale interval to obtain a second visual chart image, the second visual chart image is numbered 1, the second visual chart image is displayed on the display screen, if the user inputs 'cannot see', the record number 1 cannot see clearly, if the user inputs 'can see clearly', the record number 1 can see clearly, the gray scale value of a row of icons corresponding to the visual data of 0.8 is adjusted to a second gray scale interval to obtain a third visual chart image, the third visual chart image is numbered 2, the third visual chart image is displayed on the display screen, if the user inputs 'cannot see clearly', the record number 2 cannot see clearly, if the user inputs 'can see clearly', the record number 2 can be seen clearly, a fourth chart image is generated, and so on.

For example, the manner in which at least one test for the vision of the user is performed using at least one test image displayed on the display screen may be: the method comprises the steps of generating an eye chart image A, an eye chart image B, an eye chart image C, an eye chart image D and an eye chart image E in advance, wherein the gray values of pixel points in the eye chart image A are all larger than the gray values of the pixel points in the eye chart image B, the gray values of the pixel points in the eye chart image B are all larger than the gray values of the pixel points in the eye chart image C, the gray values of the pixel points in the eye chart image C are all larger than the gray values of the pixel points in the eye chart image D, and the gray values of the pixel points in the eye chart image D are all larger than the gray values of the pixel points in the eye chart image E. Displaying the visual chart image A on a display screen, acquiring feedback information input by a user aiming at the visual chart image A, recording the feedback information and a corresponding number of the visual chart image A, displaying the visual chart image B on the display screen, acquiring feedback information input by a user aiming at the visual chart image B, recording the feedback information and the corresponding number of the visual chart image B, displaying the visual chart image C on the display screen, acquiring feedback information input by a user aiming at the visual chart image C, recording the feedback information and the corresponding number of the visual chart image C, displaying the visual chart image D on the display screen, acquiring feedback information input by a user aiming at the visual chart image D, recording the feedback information and the corresponding number of the visual chart image D, and displaying the visual chart image E on the display screen, acquiring feedback information input by a user aiming at the visual chart image E, and recording the feedback information and the corresponding number of the visual chart image E.

S320, obtaining a test result corresponding to the at least one test.

The test result can be feedback information input by a user and a corresponding number of the visual chart image; the gray scale gradient and/or the visual target level corresponding to the user may also be adopted, which is not limited by the embodiment of the present disclosure.

For example, the manner of obtaining the test result corresponding to the at least one test may be that the test result is determined according to feedback information input by a user; or determining a test result according to feedback information input by a user and a number corresponding to the test image; the test result may also be determined according to the feedback information input by the user and the gray scale interval corresponding to the test image, which is not limited in the embodiment of the present disclosure.

S330, obtaining the brightness and the information of the current lighting device.

S340, adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

Optionally, in an embodiment of the present disclosure, performing at least one test of a user's vision using at least one test image displayed on a display screen includes:

displaying at least two test images on a display screen, wherein the gray scale intervals corresponding to the at least two test images are different.

The gray scale interval corresponding to the test image is the gray scale interval to which the gray scale value of the pixel point in the test image belongs.

For example, a first test image is displayed on the display screen, the first test image corresponds to a first gray scale interval, after feedback information input by a user for the first test image is obtained, a second test image is displayed on the display screen, the second test image corresponds to a second gray scale interval, after feedback information input by the user for the second test image is obtained, a third test image is displayed on the display screen, and so on.

Optionally, in this embodiment of the present disclosure, obtaining a test result corresponding to the at least one test includes:

acquiring at least two pieces of feedback information input by a user aiming at the at least two test images;

and determining a target gray scale interval and a target sighting mark grade according to the at least two pieces of feedback information.

The feedback information may be "clearly seen" or "unclear", may also be "0" or "1", and may also be other identification information, which is not limited in this disclosure.

For example, the manner of acquiring the at least two pieces of feedback information input by the user for the at least two test images may be: the method comprises the steps of displaying a first test image on a display screen, obtaining feedback information input by a user aiming at the first test image, displaying a second test image on the display screen, obtaining feedback information input by the user aiming at the second test image, and the like.

For example, the manner of determining the target gray scale interval according to the at least two pieces of feedback information may be: determining the target gray scale interval according to the visible numbers carried by the at least two pieces of feedback information, for example, if the at least two pieces of feedback information are: number 1 can see clearly, and number 2 can see clearly, and number 3 sees unclear, and number 4 sees unclear, then obtains the first grey interval that number 1 corresponds and the second grey interval that number 2 corresponds, confirms the target grey interval according to first grey interval and second grey interval.

For example, the manner of determining the target optotype level according to the at least two pieces of feedback information may be: and determining the grade of the target sighting target according to the number of the line numbers which can be seen clearly and are carried by at least two pieces of feedback information. For example, if the at least two pieces of feedback information include: 0.8 can be seen clearly, and 1.0 cannot be seen clearly, the target sighting mark grade is determined to be 0.8.

Optionally, in this embodiment of the present disclosure, adjusting the brightness of the current lighting apparatus according to the user visual test result and the target lighting apparatus information includes:

establishing a first database about gray scale intervals, sighting mark grades and illumination device brightness in advance;

inquiring the first database according to the target gray scale interval and the target sighting mark grade to obtain the brightness of the target lighting device corresponding to the target gray scale interval and the target sighting mark grade;

and adjusting the current illumination device brightness according to the target illumination device brightness and the illumination device information.

Exemplarily, the first database stores a gray scale interval a, and a sighting mark grade a corresponding to the brightness a of the lighting device; the gray scale interval B and the sighting mark grade B correspond to the brightness B of the lighting device; the gray scale interval C and the visual target grade C correspond to the illumination device brightness C, if the target gray scale interval is the gray scale interval A, the target visual target grade is the visual target grade A, the first database is inquired, and the gray scale interval A and the visual target grade A correspond to the illumination device brightness A. And adjusting the current illumination device brightness according to the illumination device brightness A and the illumination device information.

Optionally, in this embodiment of the present disclosure, adjusting the brightness of the current lighting apparatus according to the user visual test result and the target lighting apparatus information includes:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to the brightness of a first lighting device;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining the brightness of a second lighting device corresponding to the target gray scale interval and the target visual target level, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.

Optionally, if the target optotype level is less than or equal to a second threshold, where the second threshold is less than the first threshold, the brightness of the lighting device is determined according to the target optotype level. Wherein the first threshold may be 0.8, and the second threshold may be 0.6.

For example, if the target gray scale interval is the first gray scale interval and the target sighting mark level is greater than or equal to 0.8, the brightness of the lighting device is brightness a; if the target gray scale interval is a second gray scale interval and the target sighting mark grade is more than or equal to 0.8, the brightness of the lighting device is brightness B; if the target gray scale interval is the third gray scale interval and the target visual target level is greater than or equal to 0.8, the brightness of the lighting device is brightness C, if the target gray scale interval is the fourth gray scale interval and the target visual target level is greater than or equal to 0.8, the brightness of the lighting device is brightness D, and if the target visual target level is less than or equal to 0.6, the brightness of the lighting device is brightness E. Optionally, in this embodiment of the present disclosure, adjusting the brightness of the current lighting apparatus according to the user visual test result and the target lighting apparatus information includes:

establishing a first list of corresponding relations between gray scale intervals, visual target grades, working time corresponding to each mode of the lighting device and the brightness of the lighting device;

inquiring the first list according to the target gray scale interval, the target sighting mark grade and the working time length corresponding to the current mode of the lighting device to obtain the brightness of a third lighting device;

and adjusting the current illumination device brightness according to the third illumination device brightness.

Illustratively, if the target gray scale interval is the first gray scale interval, the target level is greater than or equal to 0.8, when the working duration corresponding to the current mode of the lighting device is 0min, the brightness of the lighting device is brightness a1, when the working duration corresponding to the current mode of the lighting device is 5min, the brightness of the lighting device is brightness a2, when the working duration corresponding to the current mode of the lighting device is 10min, the brightness of the lighting device is brightness A3, when the working duration corresponding to the current mode of the lighting device is 15min, the brightness of the lighting device is brightness a4, when the working duration corresponding to the current mode of the lighting device is 25min, the brightness of the lighting device is brightness a5, when the working duration corresponding to the current mode of the lighting device is 40min, the brightness of the lighting device is brightness a6, and when the working duration corresponding to the current mode of the lighting device is 60min, the brightness of the lighting device is brightness a 7; if the target gray scale interval is the second gray scale interval, and the target visual target level is greater than or equal to 0.8, when the working time corresponding to the current mode of the lighting device is 0min, the brightness of the lighting device is brightness B1, when the working time corresponding to the current mode of the lighting device is 5min, the brightness of the lighting device is brightness B2, when the working time corresponding to the current mode of the lighting device is 10min, the brightness of the lighting device is brightness B3, when the working time corresponding to the current mode of the lighting device is 15min, the brightness of the lighting device is brightness B4, when the working time corresponding to the current mode of the lighting device is 25min, the brightness of the lighting device is brightness B5, when the working time corresponding to the current mode of the lighting device is 40min, the brightness of the lighting device is brightness B6, and when the working time corresponding to the current mode of the lighting device is 60min, the brightness of the lighting device is brightness B7; by analogy, it should be noted that the brightness corresponding to different working durations may also be set according to needs, which is not limited in the embodiment of the present disclosure.

It should be noted that the current brightness of the lighting device may be adjusted according to the user visual test result and the lighting device information, or the current screen brightness may be adjusted according to the user visual test result and the display screen information.

Optionally, in this embodiment of the present disclosure, adjusting the current screen brightness according to the user visual test result and the display screen information includes:

pre-establishing a second database about the gray scale interval, the sighting mark grade and the screen brightness;

inquiring the second database according to the target gray interval and the target visual target grade to obtain target screen brightness corresponding to the target gray interval and the target visual target grade;

and adjusting the current screen brightness according to the target screen brightness and the display screen information.

Optionally, in this embodiment of the present disclosure, adjusting the current screen brightness according to the user visual test result and the display screen information includes:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to first screen brightness;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining that the target gray scale interval and the target visual target level correspond to second screen brightness, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the first screen brightness is greater than the second screen brightness.

Optionally, in this embodiment of the present disclosure, adjusting the current screen brightness according to the user visual test result and the display screen information includes: establishing a second list of corresponding relations among gray scale intervals, visual target grades, the service time of the display screen and the screen brightness;

inquiring the second list according to the target gray scale interval, the target visual target grade and the service time of the display screen to obtain third screen brightness;

and adjusting the brightness of the current lighting device according to the third screen brightness.

Optionally, in an embodiment of the present disclosure, the at least one test image is at least one chart image, and a maximum gray value of a gray interval corresponding to the at least one chart image is in an increasing or decreasing trend.

According to the technical scheme, at least one test of user vision is executed by using at least one test image displayed on a display screen, the test result corresponding to the at least one test is obtained, the current illumination device brightness and illumination device information are obtained, the current illumination device brightness is adjusted according to the user vision test result and the illumination device information, the problem that the brightness after adjustment still cannot meet the requirements of different users due to different visual parameters of the different users if the brightness is adjusted in a unified mode is solved, corresponding illumination device brightness adjustment is achieved for the different users, and the user use experience is improved.

Example four

Fig. 4 is a block diagram of a structure of a brightness adjusting device of an illumination device according to a fourth embodiment of the present disclosure, which specifically includes: a first acquisition module 410 and a first adjustment module 420;

a first obtaining module 410, configured to obtain current lighting device brightness, lighting device information, and a user vision test result provided by a user;

a first adjusting module 420, configured to adjust the current lighting apparatus brightness according to the user visual test result and the lighting apparatus information.

According to the technical scheme of the embodiment of the disclosure, the brightness of the current lighting device, the information of the lighting device and the user vision test result provided by the user can be obtained; the brightness of the current lighting device is adjusted according to the user vision test result and the lighting device information, the problem that the brightness after adjustment is still difficult to meet the requirements of different users due to different visual parameters of different users if the brightness is adjusted in a unified mode is solved, corresponding brightness adjustment of the lighting device is achieved for different users, and user experience is improved.

Optionally, on the basis of the above technical solution, the first obtaining module is specifically configured to:

at least one of a current ambient light parameter of the lighting device, a lighting time of the lighting device, a working time corresponding to a current mode of the lighting device, and a first distance from eyes of a user to a preset position of the lighting device is obtained.

Optionally, on the basis of the above technical solution, the illumination device brightness adjustment device is disposed in an illumination device, and the illumination device includes: the display screen, lighting device brightness control device still includes:

the second acquisition module is used for acquiring the current screen brightness and the display screen information of the display screen;

and the second adjusting module is used for adjusting the current screen brightness according to the user visual test result and the display screen information.

Optionally, on the basis of the above technical solution, the second obtaining module is specifically configured to:

and acquiring at least one of the current ambient light parameter of the display screen, the service life of the display screen and a second distance between the eyes of the user and the display screen.

Optionally, on the basis of the above technical solution, the first obtaining module is specifically configured to:

performing at least one test of the user's vision using at least one test image displayed on the display screen;

and acquiring a test result corresponding to the at least one test.

Optionally, on the basis of the above technical solution, the first obtaining module is specifically configured to:

displaying at least two test images on a display screen, wherein the gray scale intervals corresponding to the at least two test images are different.

Optionally, on the basis of the above technical solution, the first obtaining module is specifically configured to:

acquiring at least two pieces of feedback information input by a user aiming at the at least two test images;

and determining a target gray scale interval and a target sighting mark grade according to the at least two pieces of feedback information.

Optionally, on the basis of the above technical solution, the first adjusting module is specifically configured to:

establishing a first database about gray scale intervals, sighting mark grades and illumination device brightness in advance;

inquiring the first database according to the target gray scale interval and the target sighting mark grade to obtain the brightness of the target lighting device corresponding to the target gray scale interval and the target sighting mark grade;

and adjusting the current illumination device brightness according to the target illumination device brightness and the illumination device information.

Optionally, on the basis of the above technical solution, the first adjusting module is specifically configured to:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to the brightness of a first lighting device;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining the brightness of a second lighting device corresponding to the target gray scale interval and the target visual target level, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.

Optionally, on the basis of the above technical solution, the first adjusting module is specifically configured to:

establishing a first list of corresponding relations between gray scale intervals, visual target grades, working time corresponding to each mode of the lighting device and the brightness of the lighting device;

inquiring the first list according to the target gray scale interval, the target sighting mark grade and the working time length corresponding to the current mode of the lighting device to obtain the brightness of a third lighting device;

and adjusting the current illumination device brightness according to the third illumination device brightness.

Optionally, on the basis of the above technical solution, the second adjusting module is specifically configured to:

pre-establishing a second database about the gray scale interval, the sighting mark grade and the screen brightness;

inquiring the second database according to the target gray interval and the target visual target grade to obtain target screen brightness corresponding to the target gray interval and the target visual target grade;

and adjusting the current screen brightness according to the target screen brightness and the display screen information.

Optionally, on the basis of the above technical solution, the second adjusting module is specifically configured to:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to first screen brightness;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining that the target gray scale interval and the target visual target level correspond to second screen brightness, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the first screen brightness is greater than the second screen brightness.

Optionally, on the basis of the above technical solution, the second adjusting module is specifically configured to:

establishing a second list of corresponding relations among gray scale intervals, visual target grades, the service time of the display screen and the screen brightness;

inquiring the second list according to the target gray scale interval, the target visual target grade and the service time of the display screen to obtain third screen brightness;

and adjusting the brightness of the current lighting device according to the third screen brightness.

Optionally, on the basis of the above technical solution, the at least one test image is at least one eye chart image, and a maximum gray value of a gray range corresponding to the at least one eye chart image is in an increasing or decreasing trend.

The device can execute the brightness adjusting method of the lighting device provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the executing method. Technical details that are not described in detail in this embodiment can be referred to a brightness adjustment method of an illumination device provided in any embodiment of the present disclosure.

EXAMPLE five

FIG. 5 illustrates a schematic diagram of an electronic device 500 suitable for use in implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.

As shown in fig. 5, electronic device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.

Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 507 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.

In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 501.

It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.

In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.

The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.

The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user; and adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not in some cases constitute a limitation on the module itself, for example, the first acquiring module may be described as "for acquiring the current lighting device brightness, the lighting device information, and the user visual test result provided by the user". The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.

In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

According to one or more embodiments of the present disclosure, [ example 1 ] there is provided an illumination apparatus luminance adjustment method including:

acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user;

and adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

According to one or more embodiments of the present disclosure, [ example 2 ] there is provided the method of example 1, the obtaining the lighting device information comprising:

at least one of a current ambient light parameter of the lighting device, a lighting time of the lighting device, a working time corresponding to a current mode of the lighting device, and a first distance from eyes of a user to a preset position of the lighting device is obtained.

According to one or more embodiments of the present disclosure, [ example 3 ] there is provided the method of example 1, performed by a lighting apparatus comprising: a display screen, the method further comprising:

acquiring the current screen brightness and display screen information of the display screen;

and adjusting the current screen brightness according to the user vision test result and the display screen information.

According to one or more embodiments of the present disclosure, [ example 4 ] there is provided the method of example 3, the obtaining the display screen information comprising:

and acquiring at least one of the current ambient light parameter of the display screen, the service life of the display screen and a second distance between the eyes of the user and the display screen.

According to one or more embodiments of the present disclosure, [ example 5 ] there is provided the method of any one of examples 1-4, the obtaining the user vision test result comprising:

performing at least one test of the user's vision using at least one test image displayed on the display screen;

and acquiring a test result corresponding to the at least one test.

According to one or more embodiments of the present disclosure, [ example 6 ] there is provided the method of example 5, performing at least one test of a user's vision using at least one test image displayed on a display screen, comprising:

displaying at least two test images on a display screen, wherein the gray scale intervals corresponding to the at least two test images are different.

According to one or more embodiments of the present disclosure, [ example 7 ] there is provided the method of example 6, obtaining a test result corresponding to the at least one test, comprising:

acquiring at least two pieces of feedback information input by a user aiming at the at least two test images;

and determining a target gray scale interval and a target sighting mark grade according to the at least two pieces of feedback information.

According to one or more embodiments of the present disclosure, [ example 8 ] there is provided the method of example 7, adjusting the current lighting device brightness according to the user vision test result and target lighting device information, comprising:

establishing a first database about gray scale intervals, sighting mark grades and illumination device brightness in advance;

inquiring the first database according to the target gray scale interval and the target sighting mark grade to obtain the brightness of the target lighting device corresponding to the target gray scale interval and the target sighting mark grade;

and adjusting the current illumination device brightness according to the target illumination device brightness and the illumination device information.

According to one or more embodiments of the present disclosure, [ example 9 ] there is provided the method of example 7, adjusting the current lighting device brightness according to the user vision test result and target lighting device information, comprising:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to the brightness of a first lighting device;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining the brightness of a second lighting device corresponding to the target gray scale interval and the target visual target level, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.

According to one or more embodiments of the present disclosure, [ example 10 ] there is provided the method of example 7, adjusting the current lighting device brightness according to the user vision test result and target lighting device information, comprising:

establishing a first list of corresponding relations between gray scale intervals, visual target grades, working time corresponding to each mode of the lighting device and the brightness of the lighting device;

inquiring the first list according to the target gray scale interval, the target sighting mark grade and the working time length corresponding to the current mode of the lighting device to obtain the brightness of a third lighting device;

and adjusting the current illumination device brightness according to the third illumination device brightness.

According to one or more embodiments of the present disclosure, [ example 11 ] there is provided the method of example 7, adjusting the current screen brightness according to the user visual test result and display screen information, comprising:

pre-establishing a second database about the gray scale interval, the sighting mark grade and the screen brightness;

inquiring the second database according to the target gray interval and the target visual target grade to obtain target screen brightness corresponding to the target gray interval and the target visual target grade;

and adjusting the current screen brightness according to the target screen brightness and the display screen information.

According to one or more embodiments of the present disclosure, [ example 12 ] there is provided the method of example 7, adjusting the current screen brightness according to the user visual test result and display screen information, comprising:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to first screen brightness;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining that the target gray scale interval and the target visual target level correspond to second screen brightness, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the first screen brightness is greater than the second screen brightness.

According to one or more embodiments of the present disclosure, [ example 13 ] there is provided the method of example 7, adjusting the current screen brightness according to the user visual test result and display screen information, comprising:

establishing a second list of corresponding relations among gray scale intervals, visual target grades, the service time of the display screen and the screen brightness;

inquiring the second list according to the target gray scale interval, the target visual target grade and the service time of the display screen to obtain third screen brightness;

and adjusting the brightness of the current lighting device according to the third screen brightness.

According to one or more embodiments of the present disclosure, [ example 14 ] there is provided the method of example 6, wherein the at least one test image is at least one eye chart image, and the maximum gray value of the gray scale interval corresponding to the at least one eye chart image is in an increasing or decreasing trend.

According to one or more embodiments of the present disclosure, [ example 15 ] there is provided an illumination apparatus luminance adjusting apparatus including:

the first acquisition module is used for acquiring the brightness of the current lighting device, the information of the lighting device and a user vision test result provided by a user;

and the first adjusting module is used for adjusting the brightness of the current lighting device according to the user vision test result and the lighting device information.

According to one or more embodiments of the present disclosure, [ example 16 ] there is provided the apparatus of example 15, the first obtaining module to:

at least one of a current ambient light parameter of the lighting device, a lighting time of the lighting device, a working time corresponding to a current mode of the lighting device, and a first distance from eyes of a user to a preset position of the lighting device is obtained.

According to one or more embodiments of the present disclosure, [ example 17 ] there is provided the apparatus of example 15, the illumination apparatus brightness adjustment apparatus provided in an illumination apparatus, the illumination apparatus including: the display screen, lighting device brightness control device still includes:

the second acquisition module is used for acquiring the current screen brightness and the display screen information of the display screen;

and the second adjusting module is used for adjusting the current screen brightness according to the user visual test result and the display screen information.

According to one or more embodiments of the present disclosure, [ example 18 ] there is provided the apparatus of example 17, the second obtaining module to:

and acquiring at least one of the current ambient light parameter of the display screen, the service life of the display screen and a second distance between the eyes of the user and the display screen.

According to one or more embodiments of the present disclosure, [ example 19 ] there is provided the apparatus of any one of examples 15-18, the first obtaining module to:

performing at least one test of the user's vision using at least one test image displayed on the display screen;

and acquiring a test result corresponding to the at least one test.

According to one or more embodiments of the present disclosure, [ example 20 ] there is provided the apparatus of example 19, the first obtaining module to:

displaying at least two test images on a display screen, wherein the gray scale intervals corresponding to the at least two test images are different.

According to one or more embodiments of the present disclosure, [ example 21 ] there is provided the apparatus of example 20, the first obtaining module to:

acquiring at least two pieces of feedback information input by a user aiming at the at least two test images;

and determining a target gray scale interval and a target sighting mark grade according to the at least two pieces of feedback information.

According to one or more embodiments of the present disclosure, [ example 22 ] there is provided the apparatus of example 21, the first adjustment module to:

establishing a first database about gray scale intervals, sighting mark grades and illumination device brightness in advance;

inquiring the first database according to the target gray scale interval and the target sighting mark grade to obtain the brightness of the target lighting device corresponding to the target gray scale interval and the target sighting mark grade;

and adjusting the current illumination device brightness according to the target illumination device brightness and the illumination device information.

According to one or more embodiments of the present disclosure, [ example 23 ] there is provided the apparatus of example 21, the first adjustment module to:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to the brightness of a first lighting device;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining the brightness of a second lighting device corresponding to the target gray scale interval and the target visual target level, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.

According to one or more embodiments of the present disclosure, [ example 24 ] there is provided the apparatus of example 21, the first adjustment module to:

establishing a first list of corresponding relations between gray scale intervals, visual target grades, working time corresponding to each mode of the lighting device and the brightness of the lighting device;

inquiring the first list according to the target gray scale interval, the target sighting mark grade and the working time length corresponding to the current mode of the lighting device to obtain the brightness of a third lighting device;

and adjusting the current illumination device brightness according to the third illumination device brightness.

According to one or more embodiments of the present disclosure, [ example 25 ] there is provided the apparatus of example 21, the second adjustment module to:

pre-establishing a second database about the gray scale interval, the sighting mark grade and the screen brightness;

inquiring the second database according to the target gray interval and the target visual target grade to obtain target screen brightness corresponding to the target gray interval and the target visual target grade;

and adjusting the current screen brightness according to the target screen brightness and the display screen information.

According to one or more embodiments of the present disclosure, [ example 26 ] there is provided the apparatus of example 21, the second adjustment module to:

if the target sighting mark grade is greater than or equal to a first threshold value and the target gray interval is a first gray interval, determining that the target gray interval and the target sighting mark grade correspond to first screen brightness;

and if the target visual target level is greater than or equal to a first threshold value and the target gray scale interval is a second gray scale interval, determining that the target gray scale interval and the target visual target level correspond to second screen brightness, wherein any gray value in the first gray scale interval is smaller than any gray value in the second gray scale interval, and the first screen brightness is greater than the second screen brightness.

According to one or more embodiments of the present disclosure, [ example 27 ] there is provided the apparatus of example 21, the second adjustment module to:

establishing a second list of corresponding relations among gray scale intervals, visual target grades, the service time of the display screen and the screen brightness;

inquiring the second list according to the target gray scale interval, the target visual target grade and the service time of the display screen to obtain third screen brightness;

and adjusting the brightness of the current lighting device according to the third screen brightness.

According to one or more embodiments of the present disclosure, [ example 28 ] there is provided the apparatus of example 20, the at least one test image is at least one eye chart image, and the maximum gray value of the gray scale section corresponding to the at least one eye chart image is in an increasing or decreasing trend.

According to one or more embodiments of the present disclosure, [ example 29 ] there is provided an electronic device comprising a memory, a processing means, and a computer program stored on the memory and executable on the processing means, the processing means when executing the program implementing the lighting device brightness adjustment method as in any of examples 1-14.

According to one or more embodiments of the present disclosure, [ example 30 ] there is provided a storage medium containing computer executable instructions for performing the lighting device brightness adjustment method as in any one of examples 1-14 when executed by a computer processor.

The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种自适应照度调节的儿童学习桌控制方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!