WO2022227901A1 - Luminance adjustment method and apparatus for lighting device, electronic equipment, and storage medium - Google Patents

Luminance adjustment method and apparatus for lighting device, electronic equipment, and storage medium Download PDF

Info

Publication number
WO2022227901A1
WO2022227901A1 PCT/CN2022/081112 CN2022081112W WO2022227901A1 WO 2022227901 A1 WO2022227901 A1 WO 2022227901A1 CN 2022081112 W CN2022081112 W CN 2022081112W WO 2022227901 A1 WO2022227901 A1 WO 2022227901A1
Authority
WO
WIPO (PCT)
Prior art keywords
lighting device
brightness
target
user
current
Prior art date
Application number
PCT/CN2022/081112
Other languages
French (fr)
Chinese (zh)
Inventor
丛东升
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2022227901A1 publication Critical patent/WO2022227901A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Definitions

  • the present disclosure relates to the field of lighting devices, for example, to a method, device, electronic device, and storage medium for adjusting the brightness of a lighting device.
  • Lighting installations are a necessity in people's lives. Long-term eye fatigue brings a huge threat to people's visual health, resulting in a general increase in myopia and high myopia. Eye fatigue has a direct relationship with the eye environment, and the influence of the light environment is also a kind of incentive for the increase of myopia rate.
  • the lighting devices on the market can usually only be adjusted by the user between several fixed levels of brightness.
  • the user adjusts the light through subjective judgment, which is very likely to cause the adjustment of the light to not match the environment, resulting in eye fatigue, eye discomfort and other symptoms.
  • different users have different visual parameters, if they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users.
  • the present disclosure provides a method, device, electronic device and storage medium for adjusting the brightness of a lighting device.
  • the brightness of the lighting device is adjusted according to the user's visual test results, so as to solve the problem that due to the different visual parameters of different users, if they are adjusted uniformly, the adjustment will be caused. After the brightness is still difficult to meet the needs of different users, it is possible to adjust the brightness of the lighting device corresponding to different users to improve the user experience.
  • the present disclosure provides a method for adjusting the brightness of a lighting device, including:
  • the brightness of the current lighting device is adjusted according to the user's visual test result and the lighting device information.
  • the present disclosure provides a brightness adjustment device for a lighting device, including:
  • an acquisition module configured to acquire current lighting device brightness, lighting device information and user visual test results provided by the user
  • An adjustment module configured to adjust the brightness of the current lighting device according to the user's visual test result and the lighting device information.
  • the present disclosure provides an electronic device, including a memory, a processing device, and a computer program stored in the memory and running on the processing device, and the above-mentioned method for adjusting the brightness of a lighting device is implemented when the processing device executes the program.
  • the present disclosure provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the above-mentioned method for adjusting the brightness of a lighting device.
  • FIG. 1 is a flowchart of a method for adjusting the brightness of a lighting device according to Embodiment 1 of the present disclosure
  • FIG. 2 is a flowchart of a method for adjusting the brightness of a lighting device according to Embodiment 2 of the present disclosure
  • FIG. 3 is a flowchart of a method for adjusting the brightness of a lighting device provided by Embodiment 3 of the present disclosure
  • FIG. 4 is a structural block diagram of a device for adjusting the brightness of a lighting device according to Embodiment 4 of the present disclosure
  • FIG. 5 is a structural block diagram of an electronic device according to Embodiment 5 of the present disclosure.
  • method embodiments of the present disclosure may be performed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this regard.
  • the term “including” and variations thereof are open-ended inclusions, ie, "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 of other terms will be given in the description below.
  • FIG. 1 is a flowchart of a method for adjusting the brightness of a lighting device provided in the first embodiment of the present disclosure. This embodiment is applicable to the case where the brightness of the current lighting device is adjusted according to the user's visual test result.
  • the lighting device brightness adjustment device is implemented, the device can be implemented by software and/or hardware, and integrated in the terminal equipment, the method includes:
  • S110 Acquire the current brightness of the lighting device, information of the lighting device, and a user visual test result provided by the user.
  • the user's visual test result can be the visual test result obtained after the user is at a preset position of the display screen on the lighting device; A test image is displayed on the display screen of the lighting device, the user inputs feedback information for the test image, and the user's visual test result is determined according to the feedback information.
  • the test image may be an eye chart image or other test images.
  • the obtaining of the user's visual test result may be that a display screen is provided on the lighting device, and at least one test of the user's vision is performed by using at least one test image displayed on the display screen; and the test corresponding to the at least one test is obtained. result.
  • an eye chart image may be displayed on the display screen.
  • the obtaining of the user's visual test results may be that a display screen is provided on the lighting device, and at least two tests on the user's vision are performed using at least two test images displayed on the display screen; obtaining the at least two tests corresponding test results.
  • the current lighting device may be a desk lamp, a lighting lamp in an office area, or a lighting lamp in a classroom, which is not limited in this embodiment of the present disclosure.
  • the current lighting device brightness can be obtained by reading the current lighting device brightness from the controller of the lighting device, or querying a database according to the current mode to obtain the current lighting device brightness, which is not limited in this embodiment of the present disclosure.
  • the lighting device information includes at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
  • the method of adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information may be adjusting the brightness of the current lighting device according to the user visual test result and the current ambient light parameter of the lighting device; or
  • the brightness of the current lighting device can be adjusted according to the user's visual test results and the lighting duration of the lighting device; the brightness of the current lighting device can also be adjusted according to the user's visual test results and the working duration corresponding to the current mode of the lighting device; or Adjust the brightness of the current lighting device according to the user's visual test result and the first distance between the user's eyes and the preset position of the lighting device; or determine the brightness of the target lighting device according to the user's visual test result and the lighting device information
  • the method of adjusting the brightness of the current lighting device by the brightness of the 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;
  • the adjustment rule adjusts the brightness of the current lighting device.
  • the brightness difference value is greater than a brightness threshold, adjust the brightness of the current lighting device to the brightness of the target lighting device; or it may be based on the brightness difference
  • the value determines the brightness adjustment level; determines the brightness of the first lighting device according to the brightness adjustment level; and adjusts the current brightness of the lighting device to the brightness of the first lighting device. This embodiment of the present disclosure does not limit this.
  • acquiring the lighting device information includes:
  • the lighting duration of the lighting device Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
  • the current ambient light includes: natural light and non-natural light (artificial light), the natural light includes sunlight, and the non-natural light includes: light corresponding to lighting equipment other than desk lamps or other artificial light sources.
  • the current ambient light parameters include: current ambient light brightness and/or current ambient light color temperature.
  • the method of obtaining the current ambient light parameter may be to sense the current ambient light intensity of the desk lamp through an ambient light sensor on the lighting device; the method of obtaining the brightness of the current lighting device may be obtaining the brightness of the current lighting device through the central controller of the lighting device. , which is not limited in the embodiments of the present disclosure.
  • the way to obtain the lighting duration of the lighting device may be to obtain the lighting duration of the lighting device through a central controller of the lighting device, or obtain the lighting duration of the lighting device through a timer built in the lighting device. This is not restricted.
  • the reason why the lighting of the lighting device causes fatigue or discomfort to the human eye also includes the lighting time of the lighting device.
  • the optimal brightness and optimal color temperature of have a strong correlation with the lighting duration. Therefore, the brightness of the target lighting device is determined according to the lighting duration of the lighting device and the user's visual test result, so that the brightness of the lighting device perceived by the user's eyes is always maintained at the optimal value, reducing the visual health and comfort of the human eye for a long time. Impact.
  • the preset position of the lighting device may be the position where the sensor is installed on the lighting device, or the position of the light source of the lighting device, or may be other preset designated positions, which are not limited in the embodiments of the present disclosure.
  • the method of obtaining the first distance between the user's eyes and the preset position of the lighting device may be to obtain the first distance between the user's eyes and the preset position of the lighting device through a distance sensor, or obtain the user's eyes through a monocular or binocular camera. The first distance from the preset position of the lighting device.
  • the current mode of the lighting device can be a drawing mode, a long-term exam mode, a short-term homework mode, or an online class mode, etc., and the current mode of the lighting device can be performed according to the user's use requirements. It is assumed that this embodiment of the present disclosure does not limit this.
  • the current mode of the lighting device can be obtained by setting controls corresponding to different modes on the display screen of the lighting device or the body of the lighting device, and determining the current mode according to the mode control clicked by the user; the current mode of the lighting device
  • the acquisition method can also be: install at least one camera on the lighting device in advance, determine the user's status information according to the image data collected by the camera, and determine the current mode of the lighting device according to the user's status information, which is not limited in this embodiment of the present disclosure. .
  • the lighting device includes: a camera, and acquiring the current mode of the lighting device includes:
  • Image data is acquired through the camera; state information of a user is determined according to the image data; and a current mode of the lighting device is determined according to the state information of the user.
  • the number of the cameras may be one or more, and the location of the cameras may be arranged at the top of the lighting device, or may be arranged on the light pole of the lighting device, which is not limited in this embodiment of the present disclosure .
  • the status information of the user may be that the user is doing a test question, or that the user is drawing, or that the user is writing a homework, etc., which is not limited in this embodiment of the present disclosure.
  • the manner of determining the current mode of the lighting device according to the user's state information may be: if the user's state information indicates that the user is taking a test question, determine that the current mode of the lighting device is the test mode according to the user's taking the test question. If the user's state information is that the user is painting, according to the user's painting, it is determined that the current mode of the lighting device is the painting mode. If the status information of the user is that the user is writing a homework, it is determined that the current mode of the lighting device is the work mode according to the fact that the user is writing a homework. If the user is sleeping, it is determined that the current mode of the lighting device is the sleep mode.
  • the method of determining the user's state information according to the image data may be: acquiring image data collected by at least two cameras, splicing the image data collected by the at least two cameras to obtain panoramic image data, and determining the user's state according to the panoramic image data information; or may be, acquiring image data collected by at least one camera, identifying the image data, and obtaining user status information corresponding to the image data.
  • the image data is acquired by the camera, the user's status information is determined according to the image data, and the current mode of the lighting device is determined according to the user's status information.
  • At least one camera is provided, the camera collects image data, obtains the image data collected by the camera, determines the user's state information according to the image data collected by the camera, and determines the current mode of the lighting device according to the user's state information.
  • the working duration corresponding to the current mode of the lighting device may be as follows: pre-establishing a database of correspondence between different working modes and working durations, and querying the database according to the current mode of the lighting device to obtain the working duration corresponding to the current mode.
  • the working duration corresponding to the current mode of the lighting device may also be as follows: acquiring attribute information of the current mode, and determining the working duration according to the attribute information of the current mode, wherein the attribute information may include the working duration. This embodiment of the present disclosure does not limit this.
  • the technical solutions of the embodiments of the present disclosure can obtain user visual test results, current lighting device brightness, and lighting device information; adjust the current lighting device brightness according to the user visual test results and lighting device information to solve the problem of Users have different visual parameters. If they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users. The brightness of the lighting device can be adjusted accordingly for different users, and the user experience can be improved.
  • FIG. 2 is a flowchart of a method for adjusting the brightness of a lighting device according to Embodiment 2 of the present disclosure. This embodiment is described based on the above-mentioned embodiment.
  • the device includes: a display screen, and the method further includes: acquiring current screen brightness and display screen information of the display screen; adjusting the current screen brightness according to the user visual test result and the display screen information, the method of this embodiment Methods include:
  • S230 Acquire current screen brightness and display screen information of the display screen.
  • the desk lamp includes a display screen, and the position of the display screen is generally set directly below the desk lamp, so as to conveniently display content to the user.
  • the way to obtain the current screen brightness may be to obtain the current screen brightness through the central controller of the lighting device.
  • the display screen information includes at least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen.
  • the method of adjusting the current screen brightness according to the user visual test result and the display screen information may be adjusting the current screen brightness according to the user visual test result and the current ambient light parameter of the display screen; it may also be: The current screen brightness is adjusted according to the user's visual test result and the usage time of the display screen; the current screen brightness can also be adjusted according to the user's visual test result and the second distance between the user's eyes and the display screen;
  • the visual test result and the display screen information determine the brightness of the target screen, and the method of adjusting the brightness of the current screen according to the brightness of the target screen may be to obtain the brightness difference between the brightness of the target screen and the brightness of the current screen; according to the brightness of the target screen
  • the brightness difference value determines a brightness adjustment rule, and the current screen brightness is adjusted according to the brightness adjustment rule.
  • the current screen brightness is adjusted to the target screen brightness. ; or the brightness adjustment level may be determined according to the brightness difference value; the first screen brightness may be determined according to the brightness adjustment level; and the current screen brightness may be adjusted to the first screen brightness.
  • This embodiment of the present disclosure does not limit this.
  • acquiring display screen information includes:
  • At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
  • the current ambient light parameter of the display screen may be obtained by sensing the current ambient light intensity of the display screen through an ambient light sensor around the display screen; this is not limited in the embodiment of the present disclosure.
  • the way to obtain the usage time of the display screen may be to obtain the usage duration of the display screen through the central controller of the lighting device, or to obtain the usage duration of the display screen through the timer built in the lighting device. This is not restricted.
  • the method of obtaining the second distance between the user's eyes and the display screen may be obtaining the second distance between the user's eyes and the display screen through a distance sensor, or obtaining the second distance between the user's eyes and the display screen through a monocular or binocular camera. distance.
  • the technical solution of the embodiments of the present disclosure is to obtain the current brightness of the 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 visual test result provided by the user, according to the user visual test result and the lighting device information.
  • the brightness of the current lighting device is adjusted, the current screen brightness is adjusted according to the user's visual test result and the display screen information, and the brightness of the lighting device is adjusted according to the user's visual test result, so as to solve the problem that different users have different visual parameters.
  • the brightness of the lighting device can be adjusted according to different users, and the screen brightness can be adjusted according to the user's visual test results.
  • the visual parameters of the screen are different, and if they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users.
  • obtaining a user visual test result provided by a user includes: using Perform at least one test on the user's vision on the at least one test image displayed on the display screen; and obtain a test result corresponding to the at least one test, the method of this embodiment includes:
  • S310 Perform at least one test on the user's vision by using the 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 used for performing a visual test, which is not limited in this embodiment of the present disclosure.
  • the manner of performing at least one test on the user's vision by using the at least one test image displayed on the display screen may be: displaying an eye chart image on the display screen, and the user inputs feedback information for the eye chart image, for example, it may be: If the smallest line E that the user can see corresponds to 0.8, the user inputs 0.8 for the eye chart image.
  • the manner of performing at least one test on the user's vision by using the at least one test image displayed on the display screen may also be: displaying at least two test images on the display screen, wherein the grayscale intervals corresponding to the at least two test images Different, for example, the first vision chart image is displayed on the display screen, and if the user inputs vision data of 0.8, the gray value of the line of icons corresponding to the vision data 0.8 is adjusted to the first grayscale interval to obtain the second vision chart.
  • the manner of performing at least one test on the user's vision by using the at least one test image displayed on the display screen may be: pre-generating a vision chart image A, vision chart image B, vision chart image C, vision chart image D, Vision chart image E, wherein the gray values of the pixels in the vision chart image A are all greater than the gray values of the pixels in the vision chart image B, and the gray values of the pixels in the vision chart image B are all greater than those of the vision chart
  • the gray value of the pixel point in the image C, the gray value of the pixel point in the vision chart image C are all greater than the gray value of the pixel point in the vision chart image D, and the gray value of the pixel point in the vision chart image D.
  • the vision chart image A on the display screen obtain the feedback information input by the user for the vision chart image A, record the feedback information and the corresponding number of the vision chart image A, display the vision chart image B on the display screen, and obtain the user's vision chart image B
  • the test result may be the feedback information input by the user and the corresponding number of the vision chart image; or may be the grayscale gradient and/or optotype level corresponding to the user, which is not limited in this embodiment of the present disclosure.
  • the manner of obtaining the test result corresponding to the at least one test may be: determining the test result according to the feedback information input by the user; or determining the test result according to the feedback information input by the user and the number corresponding to the test image; or In order to determine the test result according to the feedback information input by the user and the grayscale interval corresponding to the test image, this embodiment of the present disclosure does not limit this.
  • At least one test on the user's vision is performed using at least one test image displayed on the display screen, including:
  • At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
  • the grayscale interval corresponding to the test image is the grayscale interval to which the grayscale values of the pixel points in the test image belong.
  • At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different, for example, a first test image is displayed on the display screen, the first test image is The image corresponds to the first grayscale interval, and after the feedback information input by the user for the first test image is obtained, a second test image is displayed on the display screen, and the second test image corresponds to the second grayscale interval. After the feedback information is input for the second test image, the third test image is displayed on the display screen, and so on.
  • acquiring a test result corresponding to the at least one test includes:
  • the feedback information may be "clearly seen” and “unclearly seen”, may also be “0” or "1”, or may be other identification information, which is not limited in this embodiment of the present disclosure.
  • the manner of acquiring the at least two feedback information input by the user for the at least two test images may be: displaying the first test image on the display screen, acquiring the feedback information input by the user for the first test image, and displaying the first test image on the display screen.
  • the second test image is displayed on the screen, the feedback information input by the user for the second test image is obtained, and so on.
  • the manner of determining the target grayscale interval according to the at least two feedback information may be: determining the target grayscale interval according to the number that can be seen clearly carried by the at least two feedback information, for example, if the at least two feedback information
  • the information is: No. 1 can be seen clearly, No. 2 can be seen clearly, No. 3 can be clearly seen, and No. 4 can be seen clearly, then the first grayscale interval corresponding to No.1 and the second grayscale interval corresponding to No.2 are obtained.
  • the first grayscale interval and the second grayscale interval determine the target grayscale interval.
  • the manner of determining the target optotype level according to the at least two pieces of feedback information may be: determining the target optotype level according to the number of lines that can be seen clearly carried by the at least two pieces of feedback information. For example, if at least two pieces of feedback information include: 0.8 can be seen clearly, and 1.0 can be seen clearly, then the target optotype level is determined to be 0.8.
  • adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information includes:
  • the first database stores the grayscale interval A and the optotype level A corresponding to the brightness A of the lighting device; the grayscale interval B and the optotype level B correspond to the brightness B of the lighting device; the grayscale interval C and the optotype level C correspond to The lighting device brightness C, if the target grayscale interval is the grayscale interval A, and the target optotype level is the optotype level A, query the first database to obtain the grayscale interval A and the optotype level A corresponding to the brightness A of the lighting device. The current brightness of the lighting device is adjusted according to the brightness A of the lighting device and the lighting device information.
  • adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information includes:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
  • the brightness of the lighting device is determined according to the target optotype level.
  • the first threshold may be 0.8
  • the second threshold may be 0.6.
  • the target grayscale interval is the first grayscale interval, and the target optotype level is greater than or equal to 0.8
  • the brightness of the lighting device is brightness A
  • the target grayscale interval is the second grayscale interval
  • the target optotype level is greater than or equal to 0.8. or equal to 0.8
  • the brightness of the lighting device is brightness B
  • the target grayscale interval is the third grayscale interval, and the target optotype level is greater than or equal to 0.8
  • the brightness of the lighting device is brightness C
  • the target grayscale interval is the fourth grayscale. If the target optotype level is greater than or equal to 0.8, the brightness of the lighting device is brightness D; if the target optotype level is less than or equal to 0.6, the brightness of the lighting device is brightness E.
  • adjusting the brightness of the current lighting device according to the user visual test result and target lighting device information includes:
  • the first list is queried for the corresponding working time to obtain the brightness of the third lighting device; the brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
  • the target grayscale interval is the first grayscale interval, and the target optotype level is greater than or equal to 0.8
  • the working duration corresponding to the current mode of the lighting device is 0 min
  • the brightness of the lighting device is brightness A1
  • the current When the working time corresponding to the mode is 5min
  • the brightness of the lighting device is brightness A2
  • the working time corresponding to the current mode of the lighting device is 10min
  • the brightness of the lighting device is brightness A3
  • the working time corresponding to the current mode of the lighting device is 15min, the lighting
  • the brightness of the device is brightness A4
  • the working time corresponding to the current mode of the lighting device is 25 minutes
  • the brightness of the lighting device is brightness A5
  • the working time corresponding to the current mode of the lighting device is 40 minutes
  • the brightness of the lighting device is brightness A6, and the current mode of the lighting device is brightness A6.
  • the brightness of the lighting device is brightness A7; if the target grayscale interval is the second grayscale interval, and the target optotype level is greater than or equal to 0.8, then the working duration 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, and when the working duration corresponding to the current mode of the lighting device is 10min, the brightness of the lighting device is brightness B3, the lighting device When the working duration corresponding to the current mode of the lighting device is 15min, the brightness of the lighting device is brightness B4, when the working duration corresponding to the current mode of the lighting device is 25min, the brightness of the lighting device is brightness B5, and the working duration corresponding to the current mode of the lighting device is 40min , the brightness of the lighting device is brightness B6, and when the working duration corresponding to the current mode of the lighting device is 60 minutes, the brightness of the lighting device is
  • the brightness of the current lighting device may be adjusted according to the user visual test result and lighting device information, and the current screen brightness may also be adjusted according to the user vision test result and display screen information.
  • adjusting the current screen brightness according to the user visual test result and display screen information includes:
  • adjusting the current screen brightness according to the user visual test result and display screen information includes:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the first screen brightness; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the first Any grayscale value in the grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first screen is greater than the brightness of the second screen.
  • adjusting the current screen brightness according to the user's visual test result and display screen information includes: establishing information about the grayscale interval, the optotype level, the display screen use duration and the screen brightness.
  • the second list of the corresponding relationship query the second list according to the target grayscale interval, the target optotype level and the use time of the display screen, and obtain the third screen brightness; according to the third screen brightness, the current lighting Device brightness can be adjusted.
  • the at least one test image is at least one vision chart image
  • the maximum gray value of the grayscale interval corresponding to the at least one vision chart image presents an increasing or decreasing trend
  • the technical solution of the embodiment of the present disclosure is to use at least one test image displayed on the display screen to perform at least one test on the user's vision, obtain a test result corresponding to the at least one test, and obtain the current lighting device brightness and lighting device information, according to
  • the user's visual test result and the lighting device information adjust the brightness of the current lighting device, so as to solve the problem that the brightness after adjustment is still difficult to meet the needs of different users if the visual parameters of different users are different.
  • the brightness of the lighting device can be adjusted according to different users, and the user experience can be improved.
  • FIG. 4 is a structural block diagram of an apparatus for adjusting the brightness of a lighting device according to Embodiment 4 of the present disclosure, including: a first acquisition module 410 and a first adjustment module 420; The device information and the user visual test result provided by the user; the first adjustment module 420 is configured to adjust the brightness of the current lighting device according to the user visual test result and the lighting device information.
  • the technical solutions of the embodiments of the present disclosure can obtain the brightness of the current lighting device, the information of the lighting device, and the user visual test result provided by the user; Since the visual parameters of different users are different, if they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users, so that the brightness of the lighting device can be adjusted accordingly for different users, and the user experience can be improved.
  • the first obtaining module 410 is set to:
  • the lighting duration of the lighting device Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
  • the lighting device brightness adjustment device is provided in the lighting device, the lighting device includes: a display screen, and the lighting device brightness adjustment device further includes:
  • the second acquisition module is configured to acquire the current screen brightness and display screen information of the display screen; the second adjustment module is configured to adjust the current screen brightness according to the user visual test result and the display screen information.
  • the second acquisition module is set to:
  • At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
  • the first obtaining module 410 is set to:
  • the first obtaining module 410 is set to:
  • At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
  • the first obtaining module 410 is set to:
  • the first adjustment module 420 is set to:
  • the first adjustment module 420 is set to:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
  • the first adjustment module 420 is set to:
  • the first list is queried for the corresponding working time to obtain the brightness of the third lighting device; the brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
  • the second adjustment module is set to:
  • the second adjustment module is set to:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the first screen brightness; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the first Any grayscale value in the grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first screen is greater than the brightness of the second screen.
  • the second adjustment module is set to:
  • the at least one test image is at least one vision chart image
  • the maximum grayscale value of the grayscale interval corresponding to the at least one vision chart image shows an increasing or decreasing trend.
  • the above device can execute the method for adjusting the brightness of a lighting device provided by any embodiment of the present disclosure, and has functional modules and effects corresponding to the execution method.
  • the method for adjusting the brightness of a lighting device provided by any embodiment of the present disclosure.
  • FIG. 5 shows a schematic structural diagram of an electronic device 500 suitable for implementing an embodiment of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistants, PDAs), tablet computers (PADs), and portable multimedia players (Portable Media Players). , PMP), mobile terminals such as in-vehicle terminals (eg, in-vehicle navigation terminals), etc., as well as fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • PMP Personal Digital Assistants
  • PMP Personal Digital Assistants
  • PMP mobile terminals
  • in-vehicle terminals eg, in-vehicle navigation terminals
  • fixed terminals such as digital televisions (Television, TV), desktop computers, and the like.
  • the electronic device shown in FIG. 5 is only an example, and should not impose any limitation on the function and scope of use of the embodiment
  • the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501, which may be based on a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a storage device 508 programs loaded into Random Access Memory (RAM) 503 to perform various appropriate actions and processes.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • various programs and data required for the operation of the electronic device 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 the bus 504 .
  • I/O interface 505 the following devices can 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.; including, for example, a Liquid Crystal Display (LCD) Output device 507 , speaker, vibrator, etc.; storage device 508 including, for example, magnetic tape, hard disk, etc.; and communication device 509 .
  • Communication means 509 may allow electronic device 500 to communicate wirelessly or by wire with other devices to exchange data.
  • FIG. 5 shows an electronic device 500 having various means, it is not required to implement or have all of the illustrated means. More or fewer devices may alternatively be implemented or provided.
  • 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 in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 509, or from the storage device 508, or from the ROM 502.
  • the processing apparatus 501 When the computer program is executed by the processing apparatus 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium described above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above.
  • Examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • the program code embodied on the computer-readable medium may be transmitted by any suitable medium, including but not limited to: electric wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the above.
  • clients and servers can communicate using any currently known or future developed network protocols such as Hyper Text Transfer Protocol (HTTP), and can communicate with digital data in any form or medium.
  • HTTP Hyper Text Transfer Protocol
  • Data communications eg, communication networks
  • Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently Known or future developed networks.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic equipment, the electronic equipment: obtains the current lighting device brightness, lighting device information and user visual test results provided by the user; The brightness of the current lighting device is adjusted according to the user's visual test result and lighting device information.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" 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.
  • the remote computer may be connected to the user computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (eg, using an Internet service provider to connect through the Internet).
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks 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.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments of the present disclosure may be implemented in software or hardware.
  • the name of the module does not constitute a limitation of the module itself in one case, for example, the first acquisition module can be described as "used to acquire the current lighting device brightness, lighting device information and user visual test provided by the user. result".
  • the functions described herein above may be performed, at least in part, by one or more hardware logic components.
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (Application Specific Standard Products) Standard Parts, ASSP), system on chip (System on Chip, SOC), complex programmable logic device (Complex Programmable Logic Device, CPLD) and so on.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSP Application Specific Standard Products
  • ASSP Application Specific Standard Products
  • SOC System on Chip
  • complex programmable logic device Complex Programmable Logic Device, CPLD
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. Examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, RAM, ROM, EPROM or flash memory, optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or Any suitable combination of the above.
  • Example 1 provides a method for adjusting the brightness of a lighting device, including:
  • the brightness of the current lighting device is adjusted according to the user's visual test result and lighting device information.
  • Example 2 provides the method of Example 1, obtaining lighting device information, including:
  • the lighting duration of the lighting device Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
  • Example 3 provides the method of Example 1, the method is performed by a lighting device, the lighting device includes: a display screen, and the method further includes:
  • the current screen brightness is adjusted according to the user's visual test result and display screen information.
  • Example 4 provides the method of Example 3 to obtain display screen information, including:
  • At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
  • Example 5 provides the method of any one of Examples 1-4 to obtain a user visual test result, including:
  • Example 6 provides the method of Example 5, performing at least one test of the user's vision using at least one test image displayed on the display screen, including:
  • At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
  • Example 7 provides the method of Example 6, obtaining a test result corresponding to the at least one test, including:
  • the target grayscale interval and the target optotype level are determined according to the at least two pieces of feedback information.
  • Example 8 provides the method of Example 7, adjusting the brightness of the current lighting device according to the user visual test result and target lighting device information, including:
  • the brightness of the current lighting device is adjusted according to the brightness of the target lighting device and the lighting device information.
  • Example 9 provides the method of Example 7, adjusting the brightness of the current lighting device according to the user visual test result and target lighting device information, including:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device;
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein, Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
  • Example 10 provides the method of Example 7, adjusting the brightness of the current lighting device according to the user visual test result and target lighting device information, including:
  • the brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
  • Example 11 provides the method of Example 7, adjusting the current screen brightness according to the user visual test result and display screen information, including:
  • the current screen brightness is adjusted according to the target screen brightness and display screen information.
  • Example 12 provides the method of Example 7, adjusting the current screen brightness according to the user visual test result and display screen information, including:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the first screen brightness;
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the first screen brightness is greater than the second screen brightness.
  • Example 13 provides the method of Example 7, adjusting the current screen brightness according to the user visual test result and display screen information, including:
  • the brightness of the current lighting device is adjusted according to the third screen brightness.
  • Example 14 provides the method of Example 6, the at least one test image is at least one vision chart image, and the maximum gray value of the grayscale interval corresponding to the at least one vision chart image increasing or decreasing trend.
  • Example 15 provides a lighting device brightness adjustment device, including:
  • a first acquisition module configured to acquire current lighting device brightness, lighting device information, and user visual test results provided by the user
  • the first adjustment module is configured to adjust the brightness of the current lighting device according to the user's visual test result and lighting device information.
  • Example 16 provides the apparatus of Example 15, wherein the first obtaining module is set to:
  • the lighting duration of the lighting device Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
  • Example 17 provides the device of Example 15, the lighting device brightness adjustment device is provided in the lighting device, the lighting device comprises: a display screen, the lighting device brightness adjustment The device also includes:
  • a second acquisition module configured to acquire the current screen brightness and display screen information of the display screen
  • the second adjustment module is configured to adjust the current screen brightness according to the user's visual test result and display screen information.
  • Example 18 provides the apparatus of Example 17, and the second obtaining module is set to:
  • At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
  • Example 19 provides the apparatus of any one of Examples 15-18, wherein the first acquisition module is set to:
  • Example 20 provides the apparatus of Example 19, and the first acquisition module is set to:
  • At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
  • Example 21 provides the apparatus of Example 20, wherein the first acquisition module is set to:
  • the target grayscale interval and the target optotype level are determined according to the at least two pieces of feedback information.
  • Example 22 provides the apparatus of Example 21, wherein the first adjustment module is configured to:
  • the brightness of the current lighting device is adjusted according to the brightness of the target lighting device and the lighting device information.
  • Example 23 provides the apparatus of Example 21, wherein the first adjustment module is configured to:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device;
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein, Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
  • Example 24 provides the apparatus of Example 21, wherein the first adjustment module is configured to:
  • the brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
  • Example 25 provides the apparatus of Example 21, wherein the second adjustment module is configured to:
  • the current screen brightness is adjusted according to the target screen brightness and display screen information.
  • Example 26 provides the apparatus of Example 21, wherein the second adjustment module is configured to:
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the first screen brightness;
  • the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the first screen brightness is greater than the second screen brightness.
  • Example 27 provides the apparatus of Example 21, wherein the second adjustment module is configured to:
  • the brightness of the current lighting device is adjusted according to the third screen brightness.
  • Example 28 provides the apparatus of Example 20, the at least one test image is at least one vision chart image, and the maximum gray value of the grayscale interval corresponding to the at least one vision chart image increasing or decreasing trend.
  • Example 29 provides an electronic device, including a memory, a processing device, and a computer program stored on the memory and executable on the processing device, and the processing device executes the program to achieve the following The method for adjusting the brightness of a lighting device according to any one of Examples 1-14.
  • Example 30 provides a storage medium containing computer-executable instructions, which when executed by a computer processor are used to perform any of Examples 1-14 The method for adjusting the brightness of the lighting device.

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Eye Examination Apparatus (AREA)

Abstract

Provided are a luminance adjustment method and apparatus for a lighting device, electronic equipment (500), and a storage medium. The luminance adjustment method for a lighting device comprises: obtaining current lighting device luminance, lighting device information, and a user visual test result which is provided by a user (S110); and adjusting the current lighting device luminance according to the user visual test result and the lighting device information (S120).

Description

照明装置亮度调节方法、装置、电子设备和存储介质Lighting device brightness adjustment method, device, electronic device and storage medium
本申请要求在2021年04月30日提交中国专利局、申请号为202110485809.8的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with application number 202110485809.8 filed with the China Patent Office on April 30, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开涉及照明装置领域,例如涉及一种照明装置亮度调节方法、装置、电子设备和存储介质。The present disclosure relates to the field of lighting devices, for example, to a method, device, electronic device, and storage medium for adjusting the brightness of a lighting device.
背景技术Background technique
随着信息时代的到来,信息汲取成为人们生活、学习、工作必不可少的因素,而信息的汲取主要来自视觉。因此,视觉健康成为现代社会最关注的健康问题之一。With the advent of the information age, the acquisition of information has become an indispensable factor in people's life, study and work, and the acquisition of information mainly comes from vision. Therefore, visual health has become one of the most concerned health issues in modern society.
照明装置是人们生活中的必需品。长时间用眼疲劳给人的视觉健康带来巨大威胁,造成眼睛近视和高度近视普遍增多等问题。用眼疲劳与用眼环境有着直接的关系,而光环境的影响也是近视率提升的一类诱因。Lighting installations are a necessity in people's lives. Long-term eye fatigue brings a huge threat to people's visual health, resulting in a general increase in myopia and high myopia. Eye fatigue has a direct relationship with the eye environment, and the influence of the light environment is also a kind of incentive for the increase of myopia rate.
市面上的照明装置通常只能由用户在几个固定档位的亮度之间调节。而用户通过主观判断调节灯光,极有可能会导致调节灯光与环境不匹配,从而造成眼睛疲劳、眼部不适等症状产生。且由于不同的用户的视觉参数不同,因此,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求。The lighting devices on the market can usually only be adjusted by the user between several fixed levels of brightness. The user adjusts the light through subjective judgment, which is very likely to cause the adjustment of the light to not match the environment, resulting in eye fatigue, eye discomfort and other symptoms. And because different users have different visual parameters, if they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users.
发明内容SUMMARY OF THE INVENTION
本公开提供了一种照明装置亮度调节方法、装置、电子设备和存储介质,根据用户视觉测试结果进行照明装置亮度调节,以解决由于不同的用户的视觉参数不同,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求的问题,实现针对不同的用户进行相应的照明装置亮度调整,提升用户使用体验。The present disclosure provides a method, device, electronic device and storage medium for adjusting the brightness of a lighting device. The brightness of the lighting device is adjusted according to the user's visual test results, so as to solve the problem that due to the different visual parameters of different users, if they are adjusted uniformly, the adjustment will be caused. After the brightness is still difficult to meet the needs of different users, it is possible to adjust the brightness of the lighting device corresponding to different users to improve the user experience.
本公开提供了一种照明装置亮度调节方法,包括:The present disclosure provides a method for adjusting the brightness of a lighting device, including:
获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;Obtain the current lighting device brightness, lighting device information, and user visual test results provided by the user;
根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the user's visual test result and the lighting device information.
本公开提供了一种照明装置亮度调节装置,包括:The present disclosure provides a brightness adjustment device for a lighting device, including:
获取模块,设置为获取当前照明装置亮度、照明装置信息以及用户提供的 用户视觉测试结果;an acquisition module, configured to acquire current lighting device brightness, lighting device information and user visual test results provided by the user;
调节模块,设置为根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节。An adjustment module configured to adjust the brightness of the current lighting device according to the user's visual test result and the lighting device information.
本公开提供了一种电子设备,包括存储器、处理装置及存储在存储器上并可在处理装置上运行的计算机程序,处理装置执行程序时实现上述的照明装置亮度调节方法。The present disclosure provides an electronic device, including a memory, a processing device, and a computer program stored in the memory and running on the processing device, and the above-mentioned method for adjusting the brightness of a lighting device is implemented when the processing device executes the program.
本公开提供了一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行上述的照明装置亮度调节方法。The present disclosure provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute the above-mentioned method for adjusting the brightness of a lighting device.
附图说明Description of drawings
图1是本公开实施例一提供的一种照明装置亮度调节方法的流程图;1 is a flowchart of a method for adjusting the brightness of a lighting device according to Embodiment 1 of the present disclosure;
图2是本公开实施例二提供的一种照明装置亮度调节方法的流程图;2 is a flowchart of a method for adjusting the brightness of a lighting device according to Embodiment 2 of the present disclosure;
图3是本公开的实施例三提供一种照明装置亮度调节方法的流程图;FIG. 3 is a flowchart of a method for adjusting the brightness of a lighting device provided by Embodiment 3 of the present disclosure;
图4是本公开实施例四提供的一种照明装置亮度调节装置的结构框图;4 is a structural block diagram of a device for adjusting the brightness of a lighting device according to Embodiment 4 of the present disclosure;
图5是本公开实施例五提供的一种电子设备的结构框图。FIG. 5 is a structural block diagram of an electronic device according to Embodiment 5 of the present disclosure.
具体实施方式Detailed ways
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的一些实施例,然而,本公开可以通过多种形式来实现,提供这些实施例是为了理解本公开。本公开的附图及实施例仅用于示例性作用。Embodiments of the present disclosure will be described below with reference to the accompanying drawings. While some embodiments of the disclosure are shown in the drawings, the disclosure may be embodied in various forms and are provided for an understanding of the disclosure. The figures and examples of the present disclosure are for illustrative purposes only.
本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。The multiple steps described in the method embodiments of the present disclosure may be performed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "including" and variations thereof are open-ended inclusions, ie, "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 of other terms will be given in the description below.
本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。Concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of functions performed by these devices, modules or units relation.
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有指出,否则应该理解为“一个或多个”。Modifications of "a" and "a plurality" mentioned in the present disclosure are illustrative rather than limiting, and those skilled in the art should understand that unless the context indicates otherwise, they should be construed as "one or more".
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of these messages or information.
实施例一Example 1
图1是本公开实施例一提供的一种照明装置亮度调节方法的流程图,本实施例可适用于根据用户视觉测试结果对当前照明装置亮度进行调节的情况,该方法可以由本公开实施例中的照明装置亮度调节装置来执行,该装置可以通过软件和/或硬件实现,并集成在终端设备中,该方法包括:FIG. 1 is a flowchart of a method for adjusting the brightness of a lighting device provided in the first embodiment of the present disclosure. This embodiment is applicable to the case where the brightness of the current lighting device is adjusted according to the user's visual test result. The lighting device brightness adjustment device is implemented, the device can be implemented by software and/or hardware, and integrated in the terminal equipment, the method includes:
S110、获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果。S110: Acquire the current brightness of the lighting device, information of the lighting device, and a user visual test result provided by the user.
所述用户视觉测试结果可以为在用户处于距离照明装置上的显示屏预设位置进行测试后,得到的视觉测试结果;例如可以是,桌子上放置照明装置,用户坐在桌子旁边的椅子上,在照明装置的显示屏上显示测试图像,用户针对测试图像输入反馈信息,根据反馈信息确定用户视觉测试结果。其中,测试图像可以为视力表图像,也可以为其他测试图像。The user's visual test result can be the visual test result obtained after the user is at a preset position of the display screen on the lighting device; A test image is displayed on the display screen of the lighting device, the user inputs feedback information for the test image, and the user's visual test result is determined according to the feedback information. The test image may be an eye chart image or other test images.
示例性的,所述获取用户视觉测试结果可以为照明装置上设置有显示屏,使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试;获取所述至少一个测试对应的测试结果。例如可以是,显示屏上显示视力表图像,用户在根据显示的视力表图像确定视力数据后,输入视力数据,根据用户输入的视力数据确定用户视觉测试结果。Exemplarily, the obtaining of the user's visual test result may be that a display screen is provided on the lighting device, and at least one test of the user's vision is performed by using at least one test image displayed on the display screen; and the test corresponding to the at least one test is obtained. result. For example, an eye chart image may be displayed on the display screen. After the user determines the vision data according to the displayed eye chart image, the user inputs the vision data, and the user's vision test result is determined according to the vision data input by the user.
示例性的,所述获取用户视觉测试结果可以为照明装置上设置有显示屏,使用在显示屏上显示的至少两个测试图像执行对用户视觉的至少两个测试;获取所述至少两个测试对应的测试结果。Exemplarily, the obtaining of the user's visual test results may be that a display screen is provided on the lighting device, and at least two tests on the user's vision are performed using at least two test images displayed on the display screen; obtaining the at least two tests corresponding test results.
当前照明装置可以为台灯,也可以为办公区域内的照明灯,或者可以为教室内的照明灯,本公开实施例对此不进行限制。The current lighting device may be a desk lamp, a lighting lamp in an office area, or a lighting lamp in a classroom, which is not limited in this embodiment of the present disclosure.
所述当前照明装置亮度的获取方式可以为从照明装置的控制器中读取当前照明装置亮度,也可以根据当前模式查询数据库,得到当前照明装置亮度,本公开实施例对此不进行限制。The current lighting device brightness can be obtained by reading the current lighting device brightness from the controller of the lighting device, or querying a database according to the current mode to obtain the current lighting device brightness, which is not limited in this embodiment of the present disclosure.
照明装置信息包括:照明装置的当前环境光参数、照明装置的照明时长、照明装置的当前模式对应的工作时长以及用户眼睛距离照明装置预设位置的第一距离中的至少一种。The lighting device information includes at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
S120、根据用户视觉测试结果和照明装置信息对当前照明装置亮度进行调 节。S120. Adjust the brightness of the current lighting device according to the user's visual test result and the lighting device information.
示例性的,根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节的方式可以为根据用户视觉测试结果和照明装置的当前环境光参数对当前照明装置亮度进行调节;也可以为根据用户视觉测试结果和照明装置的照明时长对当前照明装置亮度进行调节;也可以为根据用户视觉测试结果和照明装置的当前模式对应的工作时长对当前照明装置亮度进行调节;还可以为根据用户视觉测试结果和用户眼睛距离照明装置预设位置的第一距离对所述当前照明装置亮度进行调节;或者可以为根据用户视觉测试结果和照明装置信息确定目标照明装置亮度,根据所述目标照明装置亮度对所述当前照明装置亮度进行调节的方式可以为获取所述目标照明装置亮度和所述当前照明装置亮度的亮度差值;根据所述亮度差值确定亮度调整规则,根据所述亮度调整规则对所述当前照明装置亮度进行调整,例如可以是,若所述亮度差值大于亮度阈值,则调节所述当前照明装置亮度至所述目标照明装置亮度;或者可以为根据所述亮度差值确定亮度调整等级;根据所述亮度调整等级确定第一照明装置亮度;将所述当前照明装置亮度调整至所述第一照明装置亮度。本公开实施例对此不进行限制。Exemplarily, the method of adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information may be adjusting the brightness of the current lighting device according to the user visual test result and the current ambient light parameter of the lighting device; or The brightness of the current lighting device can be adjusted according to the user's visual test results and the lighting duration of the lighting device; the brightness of the current lighting device can also be adjusted according to the user's visual test results and the working duration corresponding to the current mode of the lighting device; or Adjust the brightness of the current lighting device according to the user's visual test result and the first distance between the user's eyes and the preset position of the lighting device; or determine the brightness of the target lighting device according to the user's visual test result and the lighting device information, The method of adjusting the brightness of the current lighting device by the brightness of the 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; The adjustment rule adjusts the brightness of the current lighting device. For example, if the brightness difference value is greater than a brightness threshold, adjust the brightness of the current lighting device to the brightness of the target lighting device; or it may be based on the brightness difference The value determines the brightness adjustment level; determines the brightness of the first lighting device according to the brightness adjustment level; and adjusts the current brightness of the lighting device to the brightness of the first lighting device. This embodiment of the present disclosure does not limit this.
可选的,在本公开实施例中,获取照明装置信息包括:Optionally, in this embodiment of the present disclosure, acquiring the lighting device information includes:
获取照明装置的当前环境光参数、照明装置的照明时长、照明装置的当前模式对应的工作时长以及用户眼睛距离照明装置预设位置的第一距离中的至少一种。Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
当前环境光包括:自然光和非自然光(人工光),所述自然光包括太阳光,所述非自然光包括:除台灯以外的照明设备对应的光或其他人工光源。The current ambient light includes: natural light and non-natural light (artificial light), the natural light includes sunlight, and the non-natural light includes: light corresponding to lighting equipment other than desk lamps or other artificial light sources.
所述当前环境光参数包括:当前环境光亮度和/或当前环境光色温。The current ambient light parameters include: current ambient light brightness and/or current ambient light color temperature.
示例性的,获取当前环境光参数的方式可以为通过照明装置上的环境光传感器感知台灯当前周围环境光强度;获取当前照明装置亮度的方式可以为通过照明装置的中央控制器获取当前照明装置亮度,本公开实施例对此不进行限制。Exemplarily, the method of obtaining the current ambient light parameter may be to sense the current ambient light intensity of the desk lamp through an ambient light sensor on the lighting device; the method of obtaining the brightness of the current lighting device may be obtaining the brightness of the current lighting device through the central controller of the lighting device. , which is not limited in the embodiments of the present disclosure.
示例性的,获取照明装置的照明时长的方式可以为通过照明装置的中央控制器获取照明装置的照明时长,也可以为通过照明装置内置的计时器获取照明装置的照明时长,本公开实施例对此不进行限制。Exemplarily, the way to obtain the lighting duration of the lighting device may be to obtain the lighting duration of the lighting device through a central controller of the lighting device, or obtain the lighting duration of the lighting device through a timer built in the lighting device. This is not restricted.
照明装置照明使人眼产生疲劳感或不适症状的原因还包括照明装置的照明时长,随着照明时长的增加,人眼对照明装置的亮度和色温的感知能力也会发生变化,即用户眼睛感知的最佳亮度和最佳色温与照明时长具有强相关性。因此,依据所述照明装置的照明时长和所述用户视觉测试结果确定目标照明装置 亮度,使用户眼睛感知的照明装置亮度始终保持在最佳数值,减少长时间用眼对人眼视觉健康舒适度的影响。The reason why the lighting of the lighting device causes fatigue or discomfort to the human eye also includes the lighting time of the lighting device. The optimal brightness and optimal color temperature of , have a strong correlation with the lighting duration. Therefore, the brightness of the target lighting device is determined according to the lighting duration of the lighting device and the user's visual test result, so that the brightness of the lighting device perceived by the user's eyes is always maintained at the optimal value, reducing the visual health and comfort of the human eye for a long time. Impact.
照明装置预设位置可以为照明装置上安装传感器的位置,也可以为照明装置的发光光源的位置,或者可以为其他预设的指定位置,本公开实施例对此不进行限制。The preset position of the lighting device may be the position where the sensor is installed on the lighting device, or the position of the light source of the lighting device, or may be other preset designated positions, which are not limited in the embodiments of the present disclosure.
示例性的,获取用户眼睛距离照明装置预设位置的第一距离的方式可以为通过距离传感器获取用户眼睛距离照明装置预设位置的第一距离,可以为通过单目或双目摄像头获取用户眼睛距离照明装置预设位置的第一距离。Exemplarily, the method of obtaining the first distance between the user's eyes and the preset position of the lighting device may be to obtain the first distance between the user's eyes and the preset position of the lighting device through a distance sensor, or obtain the user's eyes through a monocular or binocular camera. The first distance from the preset position of the lighting device.
所述照明装置的当前模式可以为绘画模式、也可以为长时间考试模式、还可以为短时间作业模式、或者可以为网课模式等,所述照明装置的当前模式可以根据用户的使用需求进行设定,本公开实施例对此不进行限制。The current mode of the lighting device can be a drawing mode, a long-term exam mode, a short-term homework mode, or an online class mode, etc., and the current mode of the lighting device can be performed according to the user's use requirements. It is assumed that this embodiment of the present disclosure does not limit this.
所述照明装置的当前模式的获取方式可以为,在照明装置的显示屏或者照明装置的本体上设置有不同模式对应的控件,根据用户点击的模式控件确定当前模式;所述照明装置的当前模式的获取方式还可以为:预先在照明装置上安装至少一个摄像头,根据摄像头采集的图像数据确定用户的状态信息,根据用户的状态信息确定照明装置的当前模式,本公开实施例对此不进行限制。The current mode of the lighting device can be obtained by setting controls corresponding to different modes on the display screen of the lighting device or the body of the lighting device, and determining the current mode according to the mode control clicked by the user; the current mode of the lighting device The acquisition method can also be: install at least one camera on the lighting device in advance, determine the user's status information according to the image data collected by the camera, and determine the current mode of the lighting device according to the user's status information, which is not limited in this embodiment of the present disclosure. .
可选的,在本公开实施例中,所述照明装置包括:摄像头,获取照明装置的当前模式包括:Optionally, in this embodiment of the present disclosure, the lighting device includes: a camera, and acquiring the current mode of the lighting device includes:
通过所述摄像头获取图像数据;根据所述图像数据确定用户的状态信息;根据所述用户的状态信息确定照明装置的当前模式。Image data is acquired through the camera; state information of a user is determined according to the image data; and a current mode of the lighting device is determined according to the state information of the user.
所述摄像头的个数可以为一个,也可以为多个,所述摄像头的设置位置可以为设置在照明装置顶端,也可以设置在照明装置的灯杆上,本公开实施例对此不进行限制。The number of the cameras may be one or more, and the location of the cameras may be arranged at the top of the lighting device, or may be arranged on the light pole of the lighting device, which is not limited in this embodiment of the present disclosure .
所述用户的状态信息可以为用户正在做测试题,也可以为用户正在绘画,或者可以为用户正在写作业等,本公开实施例对此不进行限制。The status information of the user may be that the user is doing a test question, or that the user is drawing, or that the user is writing a homework, etc., which is not limited in this embodiment of the present disclosure.
根据所述用户的状态信息确定照明装置的当前模式的方式可以为:若用户的状态信息为用户正在做测试题,根据用户正在做测试题,确定照明装置的当前模式为测试模式。若用户的状态信息为用户正在绘画,根据用户正在绘画,确定照明装置的当前模式为绘画模式。若用户的状态信息为用户正在写作业,根据用户正在写作业,确定照明装置的当前模式为作业模式。若用户正在睡觉,则确定照明装置的当前模式为睡眠模式。The manner of determining the current mode of the lighting device according to the user's state information may be: if the user's state information indicates that the user is taking a test question, determine that the current mode of the lighting device is the test mode according to the user's taking the test question. If the user's state information is that the user is painting, according to the user's painting, it is determined that the current mode of the lighting device is the painting mode. If the status information of the user is that the user is writing a homework, it is determined that the current mode of the lighting device is the work mode according to the fact that the user is writing a homework. If the user is sleeping, it is determined that the current mode of the lighting device is the sleep mode.
根据图像数据确定用户的状态信息的方式可以为:获取至少两个摄像头采集的图像数据,并对至少两个摄像头采集的图像数据进行数据拼接,得到全景 图像数据,根据全景图像数据确定用户的状态信息;或者可以为,获取至少一个摄像头采集的图像数据,对所述图像数据进行识别,得到所述图像数据对应的用户的状态信息。The method of determining the user's state information according to the image data may be: acquiring image data collected by at least two cameras, splicing the image data collected by the at least two cameras to obtain panoramic image data, and determining the user's state according to the panoramic image data information; or may be, acquiring image data collected by at least one camera, identifying the image data, and obtaining user status information corresponding to the image data.
示例性的,通过所述摄像头获取图像数据,根据所述图像数据确定用户的状态信息,根据所述用户的状态信息确定照明装置的当前模式,例如可以是,在照明装置灯杆靠向用户侧设置至少一个摄像头,摄像头采集图像数据,获取摄像头采集的图像数据,根据摄像头采集的图像数据确定用户的状态信息,根据用户的状态信息确定照明装置的当前模式。Exemplarily, the image data is acquired by the camera, the user's status information is determined according to the image data, and the current mode of the lighting device is determined according to the user's status information. At least one camera is provided, the camera collects image data, obtains the image data collected by the camera, determines the user's state information according to the image data collected by the camera, and determines the current mode of the lighting device according to the user's state information.
照明装置的当前模式对应的工作时长的方式可以为:预先建立不同的工作模式和工作时长的对应关系的数据库,根据照明装置的当前模式查询数据库,得到当前模式对应的工作时长。照明装置的当前模式对应的工作时长的方式还可以为:获取当前模式的属性信息,根据所述当前模式的属性信息确定工作时长,其中,所述属性信息可以包括工作时长。本公开实施例对此不进行限制。The working duration corresponding to the current mode of the lighting device may be as follows: pre-establishing a database of correspondence between different working modes and working durations, and querying the database according to the current mode of the lighting device to obtain the working duration corresponding to the current mode. The working duration corresponding to the current mode of the lighting device may also be as follows: acquiring attribute information of the current mode, and determining the working duration according to the attribute information of the current mode, wherein the attribute information may include the working duration. This embodiment of the present disclosure does not limit this.
本公开实施例的技术方案,能够通过获取用户视觉测试结果、当前照明装置亮度和照明装置信息;根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节,解决由于不同的用户的视觉参数不同,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求的问题,实现针对不同的用户进行相应的照明装置亮度调整,提升用户使用体验。The technical solutions of the embodiments of the present disclosure can obtain user visual test results, current lighting device brightness, and lighting device information; adjust the current lighting device brightness according to the user visual test results and lighting device information to solve the problem of Users have different visual parameters. If they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users. The brightness of the lighting device can be adjusted accordingly for different users, and the user experience can be improved.
实施例二Embodiment 2
图2是本公开实施例二提供的一种照明装置亮度调节方法的流程图,本实施例以上述实施例为基础进行说明,在本实施例中,所述方法由照明装置执行,所述照明装置包括:显示屏,所述方法还包括:获取所述显示屏的当前屏幕亮度和显示屏信息;根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,本实施例的方法包括:2 is a flowchart of a method for adjusting the brightness of a lighting device according to Embodiment 2 of the present disclosure. This embodiment is described based on the above-mentioned embodiment. The device includes: a display screen, and the method further includes: acquiring current screen brightness and display screen information of the display screen; adjusting the current screen brightness according to the user visual test result and the display screen information, the method of this embodiment Methods include:
S210、获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果。S210. Obtain the current brightness of the lighting device, information of the lighting device, and a user visual test result provided by the user.
S220、根据用户视觉测试结果和照明装置信息对当前照明装置亮度进行调节。S220. Adjust the brightness of the current lighting device according to the user's visual test result and the lighting device information.
S230、获取显示屏的当前屏幕亮度和显示屏信息。S230: Acquire current screen brightness and display screen information of the display screen.
台灯包括显示屏,显示屏的位置一般设于台灯正下方,以实现方便地向用户显示内容。The desk lamp includes a display screen, and the position of the display screen is generally set directly below the desk lamp, so as to conveniently display content to the user.
获取当前屏幕亮度的方式可以为通过照明装置的中央控制器获取当前屏幕亮度。The way to obtain the current screen brightness may be to obtain the current screen brightness through the central controller of the lighting device.
所述显示屏信息包括:显示屏的当前环境光参数、显示屏的使用时长以及用户眼睛距离显示屏的第二距离中的至少一种。The display screen information includes at least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen.
S240、根据用户视觉测试结果和显示屏信息对当前屏幕亮度进行调节。S240. Adjust the current screen brightness according to the user's visual test result and display screen information.
示例性的,根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节的方式可以为根据用户视觉测试结果和显示屏的当前环境光参数对当前屏幕亮度进行调节;也可以为根据用户视觉测试结果和显示屏的使用时长对当前屏幕亮度进行调节;还可以为根据用户视觉测试结果和用户眼睛距离显示屏的第二距离对所述当前屏幕亮度进行调节;或者可以为根据用户视觉测试结果和显示屏信息确定目标屏幕亮度,根据所述目标屏幕亮度对所述当前屏幕亮度进行调节的方式可以为获取所述目标屏幕亮度和所述当前屏幕亮度的亮度差值;根据所述亮度差值确定亮度调整规则,根据所述亮度调整规则对所述当前屏幕亮度进行调整,例如可以是,若所述亮度差值大于亮度阈值,则调节所述当前屏幕亮度至所述目标屏幕亮度;或者可以为根据所述亮度差值确定亮度调整等级;根据所述亮度调整等级确定第一屏幕亮度;将所述当前屏幕亮度调整至所述第一屏幕亮度。本公开实施例对此不进行限制。Exemplarily, the method of adjusting the current screen brightness according to the user visual test result and the display screen information may be adjusting the current screen brightness according to the user visual test result and the current ambient light parameter of the display screen; it may also be: The current screen brightness is adjusted according to the user's visual test result and the usage time of the display screen; the current screen brightness can also be adjusted according to the user's visual test result and the second distance between the user's eyes and the display screen; The visual test result and the display screen information determine the brightness of the target screen, and the method of adjusting the brightness of the current screen according to the brightness of the target screen may be to obtain the brightness difference between the brightness of the target screen and the brightness of the current screen; according to the brightness of the target screen The brightness difference value determines a brightness adjustment rule, and the current screen brightness is adjusted according to the brightness adjustment rule. For example, if the brightness difference value is greater than a brightness threshold, the current screen brightness is adjusted to the target screen brightness. ; or the brightness adjustment level may be determined according to the brightness difference value; the first screen brightness may be determined according to the brightness adjustment level; and the current screen brightness may be adjusted to the first screen brightness. This embodiment of the present disclosure does not limit this.
可选的,在本公开实施例中,获取显示屏信息包括:Optionally, in this embodiment of the present disclosure, acquiring display screen information includes:
获取所述显示屏的当前环境光参数、所述显示屏的使用时长以及用户眼睛距离所述显示屏的第二距离中的至少一种。At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
所述显示屏的当前环境光参数的获取方式可以为通过显示屏周围的环境光传感器感知显示屏的当前环境光强度;本公开实施例对此不进行限制。The current ambient light parameter of the display screen may be obtained by sensing the current ambient light intensity of the display screen through an ambient light sensor around the display screen; this is not limited in the embodiment of the present disclosure.
示例性的,获取显示屏的使用时长的方式可以为通过照明装置的中央控制器获取显示屏的使用时长,也可以为通过照明装置内置的计时器获取显示屏的使用时长,本公开实施例对此不进行限制。Exemplarily, the way to obtain the usage time of the display screen may be to obtain the usage duration of the display screen through the central controller of the lighting device, or to obtain the usage duration of the display screen through the timer built in the lighting device. This is not restricted.
示例性的,获取用户眼睛距离显示屏的第二距离的方式可以为通过距离传感器获取用户眼睛距离显示屏的第二距离,可以为通过单目或双目摄像头获取用户眼睛距离显示屏的第二距离。Exemplarily, the method of obtaining the second distance between the user's eyes and the display screen may be obtaining the second distance between the user's eyes and the display screen through a distance sensor, or obtaining the second distance between the user's eyes and the display screen through a monocular or binocular camera. distance.
用户在通过显示屏上网课时,会长时间注视显示屏,对显示屏的屏幕亮度进行调整能够提升用户眼部舒适度。When users take online lessons through the display screen, they will stare at the display screen for a long time. Adjusting the screen brightness of the display screen can improve the user's eye comfort.
本公开实施例的技术方案,通过获取当前照明装置亮度、照明装置信息、显示屏的当前屏幕亮度、显示屏信息以及用户提供的用户视觉测试结果,根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节,根 据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,根据用户视觉测试结果进行照明装置亮度调节,以解决由于不同的用户的视觉参数不同,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求的问题,实现针对不同的用户进行相应的照明装置亮度调整,根据用户视觉测试结果进行屏幕亮度调节,以解决由于不同的用户的视觉参数不同,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求的问题,实现针对不同的用户进行相应的屏幕亮度调整,提升用户使用体验。The technical solution of the embodiments of the present disclosure is to obtain the current brightness of the 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 visual test result provided by the user, according to the user visual test result and the lighting device information. The brightness of the current lighting device is adjusted, the current screen brightness is adjusted according to the user's visual test result and the display screen information, and the brightness of the lighting device is adjusted according to the user's visual test result, so as to solve the problem that different users have different visual parameters. , If it is adjusted uniformly, it will lead to the problem that the adjusted brightness is still difficult to meet the needs of different users, so that the brightness of the lighting device can be adjusted according to different users, and the screen brightness can be adjusted according to the user's visual test results. The visual parameters of the screen are different, and if they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users.
实施例三Embodiment 3
图3是本公开实施例三提供的一种照明装置亮度调节方法的流程图,本实施例以上述实施例为基础进行说明,在本实施例中,获取用户提供的用户视觉测试结果包括:使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试;获取所述至少一个测试对应的测试结果,本实施例的方法包括:3 is a flowchart of a method for adjusting the brightness of a lighting device provided in Embodiment 3 of the present disclosure. This embodiment is described based on the above-mentioned embodiment. In this embodiment, obtaining a user visual test result provided by a user includes: using Perform at least one test on the user's vision on the at least one test image displayed on the display screen; and obtain a test result corresponding to the at least one test, the method of this embodiment includes:
S310、使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试。S310. Perform at least one test on the user's vision by using the 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 used for performing a visual test, which is not limited in this embodiment of the present disclosure.
示例性的,使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试的方式可以为:在显示屏上显示视力表图像,用户针对视力表图像输入反馈信息,例如可以是,若用户能看到的最小的一行E对应0.8,则用户针对视力表图像输入0.8。使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试的方式还可以为:在显示屏上显示至少两个测试图像,其中,所述至少两个测试图像对应的灰度区间不同,例如可以是,显示屏上先显示第一视力表图像,若用户输入视力数据0.8,则将视力数据0.8对应的一行图标的灰度值调整至第一灰度区间,得到第二视力表图像,并编号1,在显示屏上显示第二视力表图像,若用户输入“看不清”则记录编号1看不清,若用户输入“能看清”则记录编号1能看清,将视力数据0.8对应的一行图标的灰度值调整至第二灰度区间,得到第三视力表图像,并编号2,在显示屏上显示第三视力表图像,若用户输入“看不清”则记录编号2看不清,若用户输入“能看清”,则记录编号2能看清,生成第四视力表图像,以此类推。Exemplarily, the manner of performing at least one test on the user's vision by using the at least one test image displayed on the display screen may be: displaying an eye chart image on the display screen, and the user inputs feedback information for the eye chart image, for example, it may be: If the smallest line E that the user can see corresponds to 0.8, the user inputs 0.8 for the eye chart image. The manner of performing at least one test on the user's vision by using the at least one test image displayed on the display screen may also be: displaying at least two test images on the display screen, wherein the grayscale intervals corresponding to the at least two test images Different, for example, the first vision chart image is displayed on the display screen, and if the user inputs vision data of 0.8, the gray value of the line of icons corresponding to the vision data 0.8 is adjusted to the first grayscale interval to obtain the second vision chart. image, and number 1, and display the second vision chart image on the display screen, if the user inputs "can't see clearly", the record number 1 can't see clearly, if the user inputs "can see clearly", the record number 1 can be seen clearly, put The gray value of the line of icons corresponding to the visual acuity data 0.8 is adjusted to the second gray range to obtain the third visual chart image, numbered 2, and the third visual chart image is displayed on the display screen. The record number 2 cannot be seen clearly, and if the user inputs "can see clearly", the record number 2 can be seen clearly, and the fourth vision chart image is generated, and so on.
示例性的,使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试的方式可以为:预先生成视力表图像A、视力表图像B、视力表图像C、视力表图像D、视力表图像E,其中,视力表图像A中的像素点的灰度值均 大于视力表图像B中的像素点的灰度值,视力表图像B中的像素点的灰度值均大于视力表图像C中的像素点的灰度值,视力表图像C中的像素点的灰度值均大于视力表图像D中的像素点的灰度值,视力表图像D中的像素点的灰度值均大于视力表图像E中的像素点的灰度值。在显示屏上显示视力表图像A,获取用户针对视力表图像A输入的反馈信息,记录反馈信息和视力表图像A对应编号,在显示屏上显示视力表图像B,获取用户针对视力表图像B输入的反馈信息,记录反馈信息和视力表图像B对应编号,在显示屏上显示视力表图像C,获取用户针对视力表图像C输入的反馈信息,记录反馈信息和视力表图像C对应编号,在显示屏上显示视力表图像D,获取用户针对视力表图像D输入的反馈信息,记录反馈信息和视力表图像D对应编号,在显示屏上显示视力表图像E,获取用户针对视力表图像E输入的反馈信息,记录反馈信息和视力表图像E对应编号。Exemplarily, the manner of performing at least one test on the user's vision by using the at least one test image displayed on the display screen may be: pre-generating a vision chart image A, vision chart image B, vision chart image C, vision chart image D, Vision chart image E, wherein the gray values of the pixels in the vision chart image A are all greater than the gray values of the pixels in the vision chart image B, and the gray values of the pixels in the vision chart image B are all greater than those of the vision chart The gray value of the pixel point in the image C, the gray value of the pixel point in the vision chart image C are all greater than the gray value of the pixel point in the vision chart image D, and the gray value of the pixel point in the vision chart image D. are larger than the gray value of the pixel in the eye chart image E. Display the vision chart image A on the display screen, obtain the feedback information input by the user for the vision chart image A, record the feedback information and the corresponding number of the vision chart image A, display the vision chart image B on the display screen, and obtain the user's vision chart image B Input the feedback information, record the corresponding number of the feedback information and the vision chart image B, display the vision chart image C on the display screen, obtain the feedback information input by the user for the vision chart image C, record the feedback information and the corresponding number of the vision chart image C, in the Display the vision chart image D on the display screen, obtain the feedback information input by the user for the vision chart image D, record the feedback information and the corresponding number of the vision chart image D, display the vision chart image E on the display screen, and obtain the user input for the vision chart image E. The feedback information, record the feedback information and the corresponding number of the vision chart image E.
S320、获取至少一个测试对应的测试结果。S320. Acquire a test result corresponding to at least one test.
所述测试结果可以为用户输入的反馈信息和视力表图像对应编号;也可以为用户对应的灰阶梯度和/或视标等级,本公开实施例对此不进行限制。The test result may be the feedback information input by the user and the corresponding number of the vision chart image; or may be the grayscale gradient and/or optotype level corresponding to the user, which is not limited in this embodiment of the present disclosure.
示例性的,获取所述至少一个测试对应的测试结果的方式可以为,根据用户输入的反馈信息确定测试结果;也可以为根据用户输入的反馈信息和测试图像对应的编号确定测试结果;还可以为根据用户输入的反馈信息和测试图像对应的灰度区间确定测试结果,本公开实施例对此不进行限制。Exemplarily, the manner of obtaining the test result corresponding to the at least one test may be: determining the test result according to the feedback information input by the user; or determining the test result according to the feedback information input by the user and the number corresponding to the test image; or In order to determine the test result according to the feedback information input by the user and the grayscale interval corresponding to the test image, this embodiment of the present disclosure does not limit this.
S330、获取当前照明装置亮度和照明装置信息。S330. Acquire current lighting device brightness and lighting device information.
S340、根据用户视觉测试结果和照明装置信息对当前照明装置亮度进行调节。S340. Adjust the brightness of the current lighting device according to the user's visual test result and the lighting device information.
可选的,在本公开实施例中,使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试,包括:Optionally, in this embodiment of the present disclosure, at least one test on the user's vision is performed using at least one test image displayed on the display screen, including:
在显示屏上显示至少两个测试图像,其中,所述至少两个测试图像对应的灰度区间不同。At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
测试图像对应的灰度区间为测试图像中的像素点的灰度值所属的灰度区间。The grayscale interval corresponding to the test image is the grayscale interval to which the grayscale values of the pixel points in the test image belong.
示例性的,在显示屏上显示至少两个测试图像,其中,所述至少两个测试图像对应的灰度区间不同,例如可以是,在显示屏上显示第一测试图像,所述第一测试图像对应第一灰度区间,在获取到用户针对第一测试图像输入的反馈信息后,在显示屏上显示第二测试图像,所述第二测试图像对应第二灰度区间,在获取到用户针对第二测试图像输入的反馈信息后,在显示屏上显示第三测试图像,以此类推。Exemplarily, at least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different, for example, a first test image is displayed on the display screen, the first test image is The image corresponds to the first grayscale interval, and after the feedback information input by the user for the first test image is obtained, a second test image is displayed on the display screen, and the second test image corresponds to the second grayscale interval. After the feedback information is input for the second test image, the third test image is displayed on the display screen, and so on.
可选的,在本公开实施例中,获取所述至少一个测试对应的测试结果,包括:Optionally, in this embodiment of the present disclosure, acquiring a test result corresponding to the at least one test includes:
获取用户针对所述至少两个测试图像输入的至少两个反馈信息;根据所述至少两个反馈信息确定目标灰度区间和目标视标等级。Acquire at least two pieces of feedback information input by the user for the at least two test images; and determine a target grayscale interval and a target optotype level according to the at least two pieces of feedback information.
所述反馈信息可以为“看清”和“看不清”,也可以为“0”或者“1”,还可以为其他标识信息,本公开实施例对此不进行限制。The feedback information may be "clearly seen" and "unclearly seen", may also be "0" or "1", or may be other identification information, which is not limited in this embodiment of the present disclosure.
示例性的,获取用户针对所述至少两个测试图像输入的至少两个反馈信息的方式可以为:在显示屏上显示第一测试图像,获取用户针对第一测试图像输入的反馈信息,在显示屏上显示第二测试图像,获取用户针对第二测试图像输入的反馈信息,以此类推。Exemplarily, the manner of acquiring the at least two feedback information input by the user for the at least two test images may be: displaying the first test image on the display screen, acquiring the feedback information input by the user for the first test image, and displaying the first test image on the display screen. The second test image is displayed on the screen, the feedback information input by the user for the second test image is obtained, and so on.
示例性的,根据所述至少两个反馈信息确定目标灰度区间的方式可以为:根据至少两个反馈信息携带的能看清的编号确定目标灰度区间,例如可以是,若至少两个反馈信息为:编号1能看清,编号2能看清,编号3看不清,编号4看不清,则获取编号1对应的第一灰度区间和编号2对应的第二灰度区间,根据第一灰度区间和第二灰度区间确定目标灰度区间。Exemplarily, the manner of determining the target grayscale interval according to the at least two feedback information may be: determining the target grayscale interval according to the number that can be seen clearly carried by the at least two feedback information, for example, if the at least two feedback information The information is: No. 1 can be seen clearly, No. 2 can be seen clearly, No. 3 can be clearly seen, and No. 4 can be seen clearly, then the first grayscale interval corresponding to No.1 and the second grayscale interval corresponding to No.2 are obtained. The first grayscale interval and the second grayscale interval determine the target grayscale interval.
示例性的,根据所述至少两个反馈信息确定目标视标等级的方式可以为:根据至少两个反馈信息携带的能看清的行数编号确定目标视标等级。例如可以是,若至少两个反馈信息包括:0.8能看清,1.0看不清,则确定目标视标等级为0.8。Exemplarily, the manner of determining the target optotype level according to the at least two pieces of feedback information may be: determining the target optotype level according to the number of lines that can be seen clearly carried by the at least two pieces of feedback information. For example, if at least two pieces of feedback information include: 0.8 can be seen clearly, and 1.0 can be seen clearly, then the target optotype level is determined to be 0.8.
可选的,在本公开实施例中,根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节,包括:Optionally, in this embodiment of the present disclosure, adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information includes:
预先建立关于灰度区间、视标等级和照明装置亮度的第一数据库;根据所述目标灰度区间和目标视标等级查询所述第一数据库,得到所述目标灰度区间和目标视标等级对应的目标照明装置亮度;根据所述目标照明装置亮度和照明装置信息对所述当前照明装置亮度进行调节。Pre-establish a first database about the grayscale interval, the optotype level and the brightness of the lighting device; query the first database according to the target grayscale interval and the target optotype level to obtain the target grayscale interval and the target optotype level The corresponding target lighting device brightness; the current lighting device brightness is adjusted according to the target lighting device brightness and lighting device information.
示例性的,第一数据库中存储有灰度区间A、视标等级A对应照明装置亮度A;灰度区间B、视标等级B对应照明装置亮度B;灰度区间C、视标等级C对应照明装置亮度C,若目标灰度区间为灰度区间A,目标视标等级为视标等级A,查询第一数据库,得到灰度区间A、视标等级A对应照明装置亮度A。根据照明装置亮度A和照明装置信息对所述当前照明装置亮度进行调节。Exemplarily, the first database stores the grayscale interval A and the optotype level A corresponding to the brightness A of the lighting device; the grayscale interval B and the optotype level B correspond to the brightness B of the lighting device; the grayscale interval C and the optotype level C correspond to The lighting device brightness C, if the target grayscale interval is the grayscale interval A, and the target optotype level is the optotype level A, query the first database to obtain the grayscale interval A and the optotype level A corresponding to the brightness A of the lighting device. The current brightness of the lighting device is adjusted according to the brightness A of the lighting device and the lighting device information.
可选的,在本公开实施例中,根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节,包括:Optionally, in this embodiment of the present disclosure, adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information includes:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一 灰度区间,则确定所述目标灰度区间和目标视标等级对应第一照明装置亮度;若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二照明装置亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一照明装置亮度大于所述第二照明装置亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
可选的,若目标视标等级小于或者等于第二阈值,其中,所述第二阈值小于所述第一阈值,则根据目标视标等级确定照明装置亮度。其中,所述第一阈值可以为0.8,所述第二阈值可以为0.6。Optionally, if the target optotype level is less than or equal to a second threshold, wherein the second threshold is smaller 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.
示例性的,若目标灰度区间为第一灰度区间,目标视标等级大于或等于0.8,则照明装置亮度为亮度A;若目标灰度区间为第二灰度区间,目标视标等级大于或等于0.8,则照明装置亮度为亮度B;若目标灰度区间为第三灰度区间,目标视标等级大于或等于0.8,则照明装置亮度为亮度C,若目标灰度区间为第四灰度区间,目标视标等级大于或等于0.8,则照明装置亮度为亮度D,若目标视标等级小于或等于0.6,则照明装置亮度为亮度E。Exemplarily, if the target grayscale interval is the first grayscale interval, and the target optotype level is greater than or equal to 0.8, the brightness of the lighting device is brightness A; if the target grayscale interval is the second grayscale interval, the target optotype level is greater than or equal to 0.8. or equal to 0.8, the brightness of the lighting device is brightness B; if the target grayscale interval is the third grayscale interval, and the target optotype level is greater than or equal to 0.8, then the brightness of the lighting device is brightness C, if the target grayscale interval is the fourth grayscale. If the target optotype level is greater than or equal to 0.8, the brightness of the lighting device is brightness D; if the target optotype 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 device according to the user visual test result and target lighting device information includes:
建立关于灰度区间、视标等级、照明装置的每个模式对应的工作时长与照明装置亮度的对应关系的第一列表;根据所述目标灰度区间、目标视标等级和照明装置的当前模式对应的工作时长查询所述第一列表,得到第三照明装置亮度;根据所述第三照明装置亮度对所述当前照明装置亮度进行调节。Establish a first list of the corresponding relationship between the grayscale interval, the optotype level, the working duration corresponding to each mode of the lighting device and the brightness of the lighting device; according to the target grayscale interval, the target optotype level and the current mode of the lighting device The first list is queried for the corresponding working time to obtain the brightness of the third lighting device; the brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
示例性的,若目标灰度区间为第一灰度区间,目标视标等级大于或等于0.8,则照明装置的当前模式对应的工作时长为0min时,照明装置亮度为亮度A1,照明装置的当前模式对应的工作时长为5min时,照明装置亮度为亮度A2,照明装置的当前模式对应的工作时长为10min时,照明装置亮度为亮度A3,照明装置的当前模式对应的工作时长为15min时,照明装置亮度为亮度A4,照明装置的当前模式对应的工作时长为25min时,照明装置亮度为亮度A5,照明装置的当前模式对应的工作时长为40min时,照明装置亮度为亮度A6,照明装置的当前模式对应的工作时长为60min时,照明装置亮度为亮度A7;若目标灰度区间为第二灰度区间,目标视标等级大于或等于0.8,则照明装置的当前模式对应的工作时长为0min时,照明装置亮度为亮度B1,照明装置的当前模式对应的工作时长为5min时,照明装置亮度为亮度B2,照明装置的当前模式对应的工作时长为10min时,照明装置亮度为亮度B3,照明装置的当前模式对应的工作时长为15min时,照明装置亮度为亮度B4,照明装置的当前模式对应的工作时长为25min时,照明装置亮度为亮度B5,照明装置的当前模式对应的工作时长 为40min时,照明装置亮度为亮度B6,照明装置的当前模式对应的工作时长为60min时,照明装置亮度为亮度B7;以此类推,还可以根据需要设置不同的工作时长对应的亮度,本公开实施例对此不进行限制。Exemplarily, if the target grayscale interval is the first grayscale interval, and the target optotype level is greater than or equal to 0.8, then when the working duration corresponding to the current mode of the lighting device is 0 min, the brightness of the lighting device is brightness A1, and the current When the working time corresponding to the mode is 5min, the brightness of the lighting device is brightness A2; when the working time corresponding to the current mode of the lighting device is 10min, the brightness of the lighting device is brightness A3; when the working time corresponding to the current mode of the lighting device is 15min, the lighting When the brightness of the device is brightness A4, when the working time corresponding to the current mode of the lighting device is 25 minutes, the brightness of the lighting device is brightness A5, and when the working time corresponding to the current mode of the lighting device is 40 minutes, the brightness of the lighting device is brightness A6, and the current mode of the lighting device is brightness A6. When the working time corresponding to the mode is 60min, the brightness of the lighting device is brightness A7; if the target grayscale interval is the second grayscale interval, and the target optotype level is greater than or equal to 0.8, then the working duration 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, and when the working duration corresponding to the current mode of the lighting device is 10min, the brightness of the lighting device is brightness B3, the lighting device When the working duration corresponding to the current mode of the lighting device is 15min, the brightness of the lighting device is brightness B4, when the working duration corresponding to the current mode of the lighting device is 25min, the brightness of the lighting device is brightness B5, and the working duration corresponding to the current mode of the lighting device is 40min , the brightness of the lighting device is brightness B6, and when the working duration corresponding to the current mode of the lighting device is 60 minutes, the brightness of the lighting device is brightness B7; and so on, the brightness corresponding to different working durations can also be set as needed. This is not restricted.
可以根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节,也可以根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节。The brightness of the current lighting device may be adjusted according to the user visual test result and lighting device information, and the current screen brightness may also be adjusted according to the user vision test result and display screen information.
可选的,在本公开实施例中,根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,包括:Optionally, in this embodiment of the present disclosure, adjusting the current screen brightness according to the user visual test result and display screen information includes:
预先建立关于灰度区间、视标等级和屏幕亮度的第二数据库;根据所述目标灰度区间和目标视标等级查询所述第二数据库,得到所述目标灰度区间和目标视标等级对应的目标屏幕亮度;根据所述目标屏幕亮度和显示屏信息对所述当前屏幕亮度进行调节。Pre-establish a second database about grayscale interval, optotype level and screen brightness; query the second database according to the target grayscale interval and target optotype level, and obtain the corresponding target grayscale interval and target optotype level the target screen brightness; adjust the current screen brightness according to the target screen brightness and display screen information.
可选的,在本公开实施例中,根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,包括:Optionally, in this embodiment of the present disclosure, adjusting the current screen brightness according to the user visual test result and display screen information includes:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间,则确定所述目标灰度区间和目标视标等级对应第一屏幕亮度;若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二屏幕亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一屏幕亮度大于所述第二屏幕亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the first screen brightness; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the first Any grayscale value in the grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first screen is greater than the brightness of the second screen.
可选的,在本公开实施例中,根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,包括:建立关于灰度区间、视标等级、显示屏使用时长与屏幕亮度的对应关系的第二列表;根据所述目标灰度区间、目标视标等级和显示屏使用时长查询所述第二列表,得到第三屏幕亮度;根据所述第三屏幕亮度对所述当前照明装置亮度进行调节。Optionally, in this embodiment of the present disclosure, adjusting the current screen brightness according to the user's visual test result and display screen information includes: establishing information about the grayscale interval, the optotype level, the display screen use duration and the screen brightness. The second list of the corresponding relationship; query the second list according to the target grayscale interval, the target optotype level and the use time of the display screen, and obtain the third screen brightness; according to the third screen brightness, the current lighting Device brightness can be adjusted.
可选的,在本公开实施例中,所述至少一个测试图像为至少一个视力表图像,至少一个视力表图像对应的灰度区间的最大灰度值呈递增或递减趋势。Optionally, in the embodiment of the present disclosure, the at least one test image is at least one vision chart image, and the maximum gray value of the grayscale interval corresponding to the at least one vision chart image presents an increasing or decreasing trend.
本公开实施例的技术方案,使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试,获取所述至少一个测试对应的测试结果,获取当前照明装置亮度和照明装置信息,根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节,解决由于不同的用户的视觉参数不同,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求的问题,实现针对不同的用户进行相应的照明装置亮度调整,提升用户使用体验。The technical solution of the embodiment of the present disclosure is to use at least one test image displayed on the display screen to perform at least one test on the user's vision, obtain a test result corresponding to the at least one test, and obtain the current lighting device brightness and lighting device information, according to The user's visual test result and the lighting device information adjust the brightness of the current lighting device, so as to solve the problem that the brightness after adjustment is still difficult to meet the needs of different users if the visual parameters of different users are different. The brightness of the lighting device can be adjusted according to different users, and the user experience can be improved.
实施例四Embodiment 4
图4是本公开实施例四提供的一种照明装置亮度调节装置的结构框图,包括:第一获取模块410和第一调节模块420;第一获取模块410,设置为获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;第一调节模块420,设置为根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节。4 is a structural block diagram of an apparatus for adjusting the brightness of a lighting device according to Embodiment 4 of the present disclosure, including: a first acquisition module 410 and a first adjustment module 420; The device information and the user visual test result provided by the user; the first adjustment module 420 is configured to adjust the brightness of the current lighting device according to the user visual test result and the lighting device information.
本公开实施例的技术方案,能够通过获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节,解决由于不同的用户的视觉参数不同,若统一调整,则会导致调整后亮度依旧难以满足不同用户的需求的问题,实现针对不同的用户进行相应的照明装置亮度调整,提升用户使用体验。The technical solutions of the embodiments of the present disclosure can obtain the brightness of the current lighting device, the information of the lighting device, and the user visual test result provided by the user; Since the visual parameters of different users are different, if they are adjusted uniformly, the adjusted brightness will still be difficult to meet the needs of different users, so that the brightness of the lighting device can be adjusted accordingly for different users, and the user experience can be improved.
可选的,在上述技术方案的基础上,所述第一获取模块410设置为:Optionally, on the basis of the above technical solution, the first obtaining module 410 is set to:
获取照明装置的当前环境光参数、照明装置的照明时长、照明装置的当前模式对应的工作时长以及用户眼睛距离照明装置预设位置的第一距离中的至少一种。Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
可选的,在上述技术方案的基础上,所述照明装置亮度调节装置设置在照明装置中,所述照明装置包括:显示屏,所述照明装置亮度调节装置还包括:Optionally, based on the above technical solution, the lighting device brightness adjustment device is provided in the lighting device, the lighting device includes: a display screen, and the lighting device brightness adjustment device further includes:
第二获取模块,设置为获取所述显示屏的当前屏幕亮度和显示屏信息;第二调节模块,设置为根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节。The second acquisition module is configured to acquire the current screen brightness and display screen information of the display screen; the second adjustment module is configured to adjust 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 acquisition module is set to:
获取所述显示屏的当前环境光参数、所述显示屏的使用时长以及用户眼睛距离所述显示屏的第二距离中的至少一种。At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
可选的,在上述技术方案的基础上,所述第一获取模块410设置为:Optionally, on the basis of the above technical solution, the first obtaining module 410 is set to:
使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试;获取所述至少一个测试对应的测试结果。Perform at least one test on the user's vision using the at least one test image displayed on the display screen; and acquire a test result corresponding to the at least one test.
可选的,在上述技术方案的基础上,所述第一获取模块410设置为:Optionally, on the basis of the above technical solution, the first obtaining module 410 is set to:
在显示屏上显示至少两个测试图像,其中,所述至少两个测试图像对应的灰度区间不同。At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
可选的,在上述技术方案的基础上,所述第一获取模块410设置为:Optionally, on the basis of the above technical solution, the first obtaining module 410 is set to:
获取用户针对所述至少两个测试图像输入的至少两个反馈信息;根据所述至少两个反馈信息确定目标灰度区间和目标视标等级。Acquire at least two pieces of feedback information input by the user for the at least two test images; and determine a target grayscale interval and a target optotype level according to the at least two pieces of feedback information.
可选的,在上述技术方案的基础上,所述第一调节模块420设置为:Optionally, on the basis of the above technical solution, the first adjustment module 420 is set to:
预先建立关于灰度区间、视标等级和照明装置亮度的第一数据库;根据所述目标灰度区间和目标视标等级查询所述第一数据库,得到所述目标灰度区间和目标视标等级对应的目标照明装置亮度;根据所述目标照明装置亮度和照明装置信息对所述当前照明装置亮度进行调节。Pre-establish a first database about the grayscale interval, the optotype level and the brightness of the lighting device; query the first database according to the target grayscale interval and the target optotype level to obtain the target grayscale interval and the target optotype level The corresponding target lighting device brightness; the current lighting device brightness is adjusted according to the target lighting device brightness and lighting device information.
可选的,在上述技术方案的基础上,所述第一调节模块420设置为:Optionally, on the basis of the above technical solution, the first adjustment module 420 is set to:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间,则确定所述目标灰度区间和目标视标等级对应第一照明装置亮度;若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二照明装置亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一照明装置亮度大于所述第二照明装置亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
可选的,在上述技术方案的基础上,所述第一调节模块420设置为:Optionally, on the basis of the above technical solution, the first adjustment module 420 is set to:
建立关于灰度区间、视标等级、照明装置的每个模式对应的工作时长与照明装置亮度的对应关系的第一列表;根据所述目标灰度区间、目标视标等级和照明装置的当前模式对应的工作时长查询所述第一列表,得到第三照明装置亮度;根据所述第三照明装置亮度对所述当前照明装置亮度进行调节。Establish a first list of the corresponding relationship between the grayscale interval, the optotype level, the working duration corresponding to each mode of the lighting device and the brightness of the lighting device; according to the target grayscale interval, the target optotype level and the current mode of the lighting device The first list is queried for the corresponding working time to obtain the brightness of the third lighting device; the brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
可选的,在上述技术方案的基础上,所述第二调节模块设置为:Optionally, on the basis of the above technical solution, the second adjustment module is set to:
预先建立关于灰度区间、视标等级和屏幕亮度的第二数据库;根据所述目标灰度区间和目标视标等级查询所述第二数据库,得到所述目标灰度区间和目标视标等级对应的目标屏幕亮度;根据所述目标屏幕亮度和显示屏信息对所述当前屏幕亮度进行调节。Pre-establish a second database about grayscale interval, optotype level and screen brightness; query the second database according to the target grayscale interval and target optotype level, and obtain the corresponding target grayscale interval and target optotype level the target screen brightness; adjust the current screen brightness according to the target screen brightness and display screen information.
可选的,在上述技术方案的基础上,所述第二调节模块设置为:Optionally, on the basis of the above technical solution, the second adjustment module is set to:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间,则确定所述目标灰度区间和目标视标等级对应第一屏幕亮度;若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二屏幕亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一屏幕亮度大于所述第二屏幕亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the first screen brightness; If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the first Any grayscale value in the grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first screen is greater than the brightness of the second screen.
可选的,在上述技术方案的基础上,所述第二调节模块设置为:Optionally, on the basis of the above technical solution, the second adjustment module is set to:
建立关于灰度区间、视标等级、显示屏使用时长与屏幕亮度的对应关系的第二列表;根据所述目标灰度区间、目标视标等级和显示屏使用时长查询所述第二列表,得到第三屏幕亮度;根据所述第三屏幕亮度对所述当前照明装置亮度进行调节。Establish a second list about the corresponding relationship between grayscale interval, optotype level, display screen usage time and screen brightness; query the second list according to the target grayscale interval, target optotype level and display screen usage duration, and obtain The third screen brightness; the brightness of the current lighting device is adjusted according to the third screen brightness.
可选的,在上述技术方案的基础上,所述至少一个测试图像为至少一个视力表图像,至少一个视力表图像对应的灰度区间的最大灰度值呈递增或递减趋势。Optionally, based on the above technical solution, the at least one test image is at least one vision chart image, and the maximum grayscale value of the grayscale interval corresponding to the at least one vision chart image shows an increasing or decreasing trend.
上述装置可执行本公开任意实施例所提供的照明装置亮度调节方法,具备执行方法相应的功能模块和效果。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例提供的照明装置亮度调节方法。The above device can execute the method for adjusting the brightness of a lighting device provided by any embodiment of the present disclosure, and has functional modules and effects corresponding to the execution method. For technical details not described in detail in this embodiment, reference may be made to the method for adjusting the brightness of a lighting device provided by any embodiment of the present disclosure.
实施例五Embodiment 5
图5示出了适于用来实现本公开实施例的电子设备500的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图5示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 5 shows a schematic structural diagram of an electronic device 500 suitable for implementing an embodiment of the present disclosure. Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (Personal Digital Assistants, PDAs), tablet computers (PADs), and portable multimedia players (Portable Media Players). , PMP), mobile terminals such as in-vehicle terminals (eg, in-vehicle navigation terminals), etc., as well as fixed terminals such as digital televisions (Television, TV), desktop computers, and the like. The electronic device shown in FIG. 5 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
如图5所示,电子设备500可以包括处理装置(例如中央处理器、图形处理器等)501,其可以根据存储在只读存储器(Read-Only Memory,ROM)502中的程序或者从存储装置508加载到随机访问存储器(Random Access Memory,RAM)503中的程序而执行多种适当的动作和处理。在RAM 503中,还存储有电子设备500操作所需的多种程序和数据。处理装置501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(Input/Output,I/O)接口505也连接至总线504。As shown in FIG. 5 , the electronic device 500 may include a processing device (such as a central processing unit, a graphics processor, etc.) 501, which may be based on a program stored in a read-only memory (Read-Only Memory, ROM) 502 or from a storage device 508 programs loaded into Random Access Memory (RAM) 503 to perform various appropriate actions and processes. In the RAM 503, various programs and data required for the operation of the electronic device 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 the bus 504 .
通常,以下装置可以连接至I/O接口505:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置506;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置507;包括例如磁带、硬盘等的存储装置508;以及通信装置509。通信装置509可以允许电子设备500与其他设备进行无线或有线通信以交换数据。虽然图5示出了具有多种装置的电子设备500,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can 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.; including, for example, a Liquid Crystal Display (LCD) Output device 507 , speaker, vibrator, etc.; storage device 508 including, for example, magnetic tape, hard disk, etc.; and communication device 509 . Communication means 509 may allow electronic device 500 to communicate wirelessly or by wire with other devices to exchange data. Although FIG. 5 shows an electronic device 500 having various means, it is not required to implement or have all of the illustrated means. More or fewer devices may alternatively be implemented or provided.
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置509从网络上被下载和安装,或者从存储装置508被安装,或者从ROM 502被安装。在该计算机程序被处理装置501执行时,执行本公开实施例的方法中限定的上述功能。According to embodiments 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 in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication device 509, or from the storage device 508, or from the ROM 502. When the computer program is executed by the processing apparatus 501, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是,但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The computer-readable medium described above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. The computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. Examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) or flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . The program code embodied on the computer-readable medium may be transmitted by any suitable medium, including but not limited to: electric wire, optical fiber cable, radio frequency (RF), etc., or any suitable combination of the above.
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(Hyper Text Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, clients and servers can communicate using any currently known or future developed network protocols such as Hyper Text Transfer Protocol (HTTP), and can communicate with digital data in any form or medium. Data communications (eg, communication networks) are interconnected. Examples of communication networks include Local Area Networks (LANs), Wide Area Networks (WANs), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently Known or future developed networks.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取当前照明装置亮度、照明装置信 息以及用户提供的用户视觉测试结果;根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节。The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic equipment, the electronic equipment: obtains the current lighting device brightness, lighting device information and user visual test results provided by the user; The brightness of the current lighting device is adjusted according to the user's visual test result and lighting device information.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" 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. Where a remote computer is involved, the remote computer may be connected to the user computer through any kind of network, including a LAN or WAN, or may be connected to an external computer (eg, using an Internet service provider to connect through the Internet).
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。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 that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks 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 is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在一种情况下并不构成对该模块本身的限定,例如,第一获取模块,可以被描述为“用于获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果”。本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上系统(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programmable Logic Device,CPLD)等等。The modules involved in the embodiments of the present disclosure may be implemented in software or hardware. Among them, the name of the module does not constitute a limitation of the module itself in one case, for example, the first acquisition module can be described as "used to acquire the current lighting device brightness, lighting device information and user visual test provided by the user. result". 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 (Application Specific Standard Products) Standard Parts, ASSP), system on chip (System on Chip, SOC), complex programmable logic device (Complex Programmable Logic Device, CPLD) and so on.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机 器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、EPROM或快闪存储器、光纤、CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. Examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, RAM, ROM, EPROM or flash memory, optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or Any suitable combination of the above.
根据本公开的一个或多个实施例,【示例1】提供了一种照明装置亮度调节方法,包括:According to one or more embodiments of the present disclosure, [Example 1] provides a method for adjusting the brightness of a lighting device, including:
获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;Obtain the current lighting device brightness, lighting device information, and user visual test results provided by the user;
根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the user's visual test result and lighting device information.
根据本公开的一个或多个实施例,【示例2】提供了示例1的方法,获取照明装置信息,包括:According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, obtaining lighting device information, including:
获取照明装置的当前环境光参数、照明装置的照明时长、照明装置的当前模式对应的工作时长以及用户眼睛距离照明装置预设位置的第一距离中的至少一种。Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
根据本公开的一个或多个实施例,【示例3】提供了示例1的方法,所述方法由照明装置执行,所述照明装置包括:显示屏,所述方法还包括:According to one or more embodiments of the present disclosure, [Example 3] provides the method of Example 1, the method is performed by a lighting device, the lighting device includes: a display screen, and the method further includes:
获取所述显示屏的当前屏幕亮度和显示屏信息;Obtain the current screen brightness and display screen information of the display screen;
根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节。The current screen brightness is adjusted according to the user's visual test result and display screen information.
根据本公开的一个或多个实施例,【示例4】提供了示例3的方法,获取显示屏信息,包括:According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 3 to obtain display screen information, including:
获取所述显示屏的当前环境光参数、所述显示屏的使用时长以及用户眼睛距离所述显示屏的第二距离中的至少一种。At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
根据本公开的一个或多个实施例,【示例5】提供了示例1-4任一示例的方法,获取用户视觉测试结果,包括:According to one or more embodiments of the present disclosure, [Example 5] provides the method of any one of Examples 1-4 to obtain a user visual test result, including:
使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试;performing at least one test of the user's vision using the at least one test image displayed on the display screen;
获取所述至少一个测试对应的测试结果。Acquire a test result corresponding to the at least one test.
根据本公开的一个或多个实施例,【示例6】提供了示例5的方法,使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试,包括:According to one or more embodiments of the present disclosure, [Example 6] provides the method of Example 5, performing at least one test of the user's vision using at least one test image displayed on the display screen, including:
在显示屏上显示至少两个测试图像,其中,所述至少两个测试图像对应的灰度区间不同。At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
根据本公开的一个或多个实施例,【示例7】提供了示例6的方法,获取所述至少一个测试对应的测试结果,包括:According to one or more embodiments of the present disclosure, [Example 7] provides the method of Example 6, obtaining a test result corresponding to the at least one test, including:
获取用户针对所述至少两个测试图像输入的至少两个反馈信息;acquiring at least two feedback information input by the user for the at least two test images;
根据所述至少两个反馈信息确定目标灰度区间和目标视标等级。The target grayscale interval and the target optotype level are determined according to the at least two pieces of feedback information.
根据本公开的一个或多个实施例,【示例8】提供了示例7的方法,根据所述用户视觉测试结果和目标照明装置信息对所述当前照明装置亮度进行调节,包括:According to one or more embodiments of the present disclosure, [Example 8] provides the method of Example 7, adjusting the brightness of the current lighting device according to the user visual test result and target lighting device information, including:
预先建立关于灰度区间、视标等级和照明装置亮度的第一数据库;Pre-establishing a first database about the grayscale interval, the optotype level and the brightness of the lighting device;
根据所述目标灰度区间和目标视标等级查询所述第一数据库,得到所述目标灰度区间和目标视标等级对应的目标照明装置亮度;Query the first database according to the target grayscale interval and the target optotype level, and obtain the brightness of the target lighting device corresponding to the target grayscale interval and the target optotype level;
根据所述目标照明装置亮度和照明装置信息对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the brightness of the target lighting device and the lighting device information.
根据本公开的一个或多个实施例,【示例9】提供了示例7的方法,根据所述用户视觉测试结果和目标照明装置信息对所述当前照明装置亮度进行调节,包括:According to one or more embodiments of the present disclosure, [Example 9] provides the method of Example 7, adjusting the brightness of the current lighting device according to the user visual test result and target lighting device information, including:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间,则确定所述目标灰度区间和目标视标等级对应第一照明装置亮度;If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device;
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二照明装置亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一照明装置亮度大于所述第二照明装置亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein, Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
根据本公开的一个或多个实施例,【示例10】提供了示例7的方法,根据所述用户视觉测试结果和目标照明装置信息对所述当前照明装置亮度进行调节,包括:According to one or more embodiments of the present disclosure, [Example 10] provides the method of Example 7, adjusting the brightness of the current lighting device according to the user visual test result and target lighting device information, including:
建立关于灰度区间、视标等级、照明装置的每个模式对应的工作时长与照明装置亮度的对应关系的第一列表;establishing a first list of the correspondence between the grayscale interval, the optotype level, the working duration corresponding to each mode of the lighting device and the brightness of the lighting device;
根据所述目标灰度区间、目标视标等级和照明装置的当前模式对应的工作时长查询所述第一列表,得到第三照明装置亮度;Query the first list according to the target grayscale interval, the target optotype level, and the working duration corresponding to the current mode of the lighting device, to obtain the brightness of the third lighting device;
根据所述第三照明装置亮度对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
根据本公开的一个或多个实施例,【示例11】提供了示例7的方法,根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,包括:According to one or more embodiments of the present disclosure, [Example 11] provides the method of Example 7, adjusting the current screen brightness according to the user visual test result and display screen information, including:
预先建立关于灰度区间、视标等级和屏幕亮度的第二数据库;Pre-establishing a second database about grayscale intervals, optotype levels and screen brightness;
根据所述目标灰度区间和目标视标等级查询所述第二数据库,得到所述目标灰度区间和目标视标等级对应的目标屏幕亮度;Query the second database according to the target grayscale interval and the target optotype level, and obtain the target screen brightness corresponding to the target grayscale interval and the target optotype level;
根据所述目标屏幕亮度和显示屏信息对所述当前屏幕亮度进行调节。The current screen brightness is adjusted according to the target screen brightness and display screen information.
根据本公开的一个或多个实施例,【示例12】提供了示例7的方法,根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,包括:According to one or more embodiments of the present disclosure, [Example 12] provides the method of Example 7, adjusting the current screen brightness according to the user visual test result and display screen information, including:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间,则确定所述目标灰度区间和目标视标等级对应第一屏幕亮度;If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the first screen brightness;
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二屏幕亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一屏幕亮度大于所述第二屏幕亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the first screen brightness is greater than the second screen brightness.
根据本公开的一个或多个实施例,【示例13】提供了示例7的方法,根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节,包括:According to one or more embodiments of the present disclosure, [Example 13] provides the method of Example 7, adjusting the current screen brightness according to the user visual test result and display screen information, including:
建立关于灰度区间、视标等级、显示屏使用时长与屏幕亮度的对应关系的第二列表;establishing a second list of the correspondence between the grayscale interval, the optotype level, the duration of use of the display screen and the brightness of the screen;
根据所述目标灰度区间、目标视标等级和显示屏使用时长查询所述第二列表,得到第三屏幕亮度;Query the second list according to the target grayscale interval, the target optotype level and the display screen usage time to obtain a third screen brightness;
根据所述第三屏幕亮度对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the third screen brightness.
根据本公开的一个或多个实施例,【示例14】提供了示例6的方法,所述至少一个测试图像为至少一个视力表图像,至少一个视力表图像对应的灰度区间的最大灰度值呈递增或递减趋势。According to one or more embodiments of the present disclosure, [Example 14] provides the method of Example 6, the at least one test image is at least one vision chart image, and the maximum gray value of the grayscale interval corresponding to the at least one vision chart image increasing or decreasing trend.
根据本公开的一个或多个实施例,【示例15】提供了一种照明装置亮度调节装置,包括:According to one or more embodiments of the present disclosure, [Example 15] provides a lighting device brightness adjustment device, including:
第一获取模块,设置为获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;a first acquisition module, configured to acquire current lighting device brightness, lighting device information, and user visual test results provided by the user;
第一调节模块,设置为根据所述用户视觉测试结果和照明装置信息对所述当前照明装置亮度进行调节。The first adjustment module is configured to adjust the brightness of the current lighting device according to the user's visual test result and lighting device information.
根据本公开的一个或多个实施例,【示例16】提供了示例15的装置,所述第一获取模块设置为:According to one or more embodiments of the present disclosure, [Example 16] provides the apparatus of Example 15, wherein the first obtaining module is set to:
获取照明装置的当前环境光参数、照明装置的照明时长、照明装置的当前 模式对应的工作时长以及用户眼睛距离照明装置预设位置的第一距离中的至少一种。Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
根据本公开的一个或多个实施例,【示例17】提供了示例15的装置,所述照明装置亮度调节装置设置在照明装置中,所述照明装置包括:显示屏,所述照明装置亮度调节装置还包括:According to one or more embodiments of the present disclosure, [Example 17] provides the device of Example 15, the lighting device brightness adjustment device is provided in the lighting device, the lighting device comprises: a display screen, the lighting device brightness adjustment The device also includes:
第二获取模块,设置为获取所述显示屏的当前屏幕亮度和显示屏信息;A second acquisition module, configured to acquire the current screen brightness and display screen information of the display screen;
第二调节模块,设置为根据所述用户视觉测试结果和显示屏信息对所述当前屏幕亮度进行调节。The second adjustment module is configured to adjust the current screen brightness according to the user's visual test result and display screen information.
根据本公开的一个或多个实施例,【示例18】提供了示例17的装置,所述第二获取模块设置为:According to one or more embodiments of the present disclosure, [Example 18] provides the apparatus of Example 17, and the second obtaining module is set to:
获取所述显示屏的当前环境光参数、所述显示屏的使用时长以及用户眼睛距离所述显示屏的第二距离中的至少一种。At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
根据本公开的一个或多个实施例,【示例19】提供了示例15-18任一示例的装置,所述第一获取模块设置为:According to one or more embodiments of the present disclosure, [Example 19] provides the apparatus of any one of Examples 15-18, wherein the first acquisition module is set to:
使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试;performing at least one test of the user's vision using the at least one test image displayed on the display screen;
获取所述至少一个测试对应的测试结果。Acquire a test result corresponding to the at least one test.
根据本公开的一个或多个实施例,【示例20】提供了示例19的装置,所述第一获取模块设置为:According to one or more embodiments of the present disclosure, [Example 20] provides the apparatus of Example 19, and the first acquisition module is set to:
在显示屏上显示至少两个测试图像,其中,所述至少两个测试图像对应的灰度区间不同。At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
根据本公开的一个或多个实施例,【示例21】提供了示例20的装置,所述第一获取模块设置为:According to one or more embodiments of the present disclosure, [Example 21] provides the apparatus of Example 20, wherein the first acquisition module is set to:
获取用户针对所述至少两个测试图像输入的至少两个反馈信息;acquiring at least two feedback information input by the user for the at least two test images;
根据所述至少两个反馈信息确定目标灰度区间和目标视标等级。The target grayscale interval and the target optotype level are determined according to the at least two pieces of feedback information.
根据本公开的一个或多个实施例,【示例22】提供了示例21的装置,所述第一调节模块设置为:According to one or more embodiments of the present disclosure, [Example 22] provides the apparatus of Example 21, wherein the first adjustment module is configured to:
预先建立关于灰度区间、视标等级和照明装置亮度的第一数据库;Pre-establishing a first database about the grayscale interval, the optotype level and the brightness of the lighting device;
根据所述目标灰度区间和目标视标等级查询所述第一数据库,得到所述目标灰度区间和目标视标等级对应的目标照明装置亮度;Query the first database according to the target grayscale interval and the target optotype level, and obtain the brightness of the target lighting device corresponding to the target grayscale interval and the target optotype level;
根据所述目标照明装置亮度和照明装置信息对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the brightness of the target lighting device and the lighting device information.
根据本公开的一个或多个实施例,【示例23】提供了示例21的装置,所述第一调节模块设置为:According to one or more embodiments of the present disclosure, [Example 23] provides the apparatus of Example 21, wherein the first adjustment module is configured to:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间,则确定所述目标灰度区间和目标视标等级对应第一照明装置亮度;If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the brightness of the first lighting device;
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二照明装置亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一照明装置亮度大于所述第二照明装置亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, it is determined that the target grayscale interval and the target optotype level correspond to the brightness of the second lighting device, wherein, Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
根据本公开的一个或多个实施例,【示例24】提供了示例21的装置,所述第一调节模块设置为:According to one or more embodiments of the present disclosure, [Example 24] provides the apparatus of Example 21, wherein the first adjustment module is configured to:
建立关于灰度区间、视标等级、照明装置的每个模式对应的工作时长与照明装置亮度的对应关系的第一列表;establishing a first list of the correspondence between the grayscale interval, the optotype level, the working duration corresponding to each mode of the lighting device and the brightness of the lighting device;
根据所述目标灰度区间、目标视标等级和照明装置的当前模式对应的工作时长查询所述第一列表,得到第三照明装置亮度;Query the first list according to the target grayscale interval, the target optotype level, and the working duration corresponding to the current mode of the lighting device, to obtain the brightness of the third lighting device;
根据所述第三照明装置亮度对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
根据本公开的一个或多个实施例,【示例25】提供了示例21的装置,所述第二调节模块设置为:According to one or more embodiments of the present disclosure, [Example 25] provides the apparatus of Example 21, wherein the second adjustment module is configured to:
预先建立关于灰度区间、视标等级和屏幕亮度的第二数据库;Pre-establishing a second database about grayscale intervals, optotype levels and screen brightness;
根据所述目标灰度区间和目标视标等级查询所述第二数据库,得到所述目标灰度区间和目标视标等级对应的目标屏幕亮度;Query the second database according to the target grayscale interval and the target optotype level, and obtain the target screen brightness corresponding to the target grayscale interval and the target optotype level;
根据所述目标屏幕亮度和显示屏信息对所述当前屏幕亮度进行调节。The current screen brightness is adjusted according to the target screen brightness and display screen information.
根据本公开的一个或多个实施例,【示例26】提供了示例21的装置,所述第二调节模块设置为:According to one or more embodiments of the present disclosure, [Example 26] provides the apparatus of Example 21, wherein the second adjustment module is configured to:
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间,则确定所述目标灰度区间和目标视标等级对应第一屏幕亮度;If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, then determine that the target grayscale interval and the target optotype level correspond to the first screen brightness;
若所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间,则确定所述目标灰度区间和目标视标等级对应第二屏幕亮度,其中,所述第一灰度区间中的任一灰度值小于所述第二灰度区间中的任一灰度值,所述第一屏幕亮度大于所述第二屏幕亮度。If the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, then it is determined that the target grayscale interval and the target optotype level correspond to the second screen brightness, wherein the Any grayscale value in the first grayscale interval is smaller than any grayscale value in the second grayscale interval, and the first screen brightness is greater than the second screen brightness.
根据本公开的一个或多个实施例,【示例27】提供了示例21的装置,所述第二调节模块设置为:According to one or more embodiments of the present disclosure, [Example 27] provides the apparatus of Example 21, wherein the second adjustment module is configured to:
建立关于灰度区间、视标等级、显示屏使用时长与屏幕亮度的对应关系的第二列表;establishing a second list of the correspondence between the grayscale interval, the optotype level, the duration of use of the display screen and the brightness of the screen;
根据所述目标灰度区间、目标视标等级和显示屏使用时长查询所述第二列表,得到第三屏幕亮度;Query the second list according to the target grayscale interval, the target optotype level and the display screen usage time to obtain a third screen brightness;
根据所述第三屏幕亮度对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the third screen brightness.
根据本公开的一个或多个实施例,【示例28】提供了示例20的装置,所述至少一个测试图像为至少一个视力表图像,至少一个视力表图像对应的灰度区间的最大灰度值呈递增或递减趋势。According to one or more embodiments of the present disclosure, [Example 28] provides the apparatus of Example 20, the at least one test image is at least one vision chart image, and the maximum gray value of the grayscale interval corresponding to the at least one vision chart image increasing or decreasing trend.
根据本公开的一个或多个实施例,【示例29】提供了一种电子设备,包括存储器、处理装置及存储在存储器上并可在处理装置上运行的计算机程序,处理装置执行程序时实现如示例1-14中任一所述的照明装置亮度调节方法。According to one or more embodiments of the present disclosure, [Example 29] provides an electronic device, including a memory, a processing device, and a computer program stored on the memory and executable on the processing device, and the processing device executes the program to achieve the following The method for adjusting the brightness of a lighting device according to any one of Examples 1-14.
根据本公开的一个或多个实施例,【示例30】提供了一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行如示例1-14中任一所述的照明装置亮度调节方法。According to one or more embodiments of the present disclosure, [Example 30] provides a storage medium containing computer-executable instructions, which when executed by a computer processor are used to perform any of Examples 1-14 The method for adjusting the brightness of the lighting device.
此外,虽然采用特定次序描绘了多个操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了多个实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的一些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Additionally, although operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while the above discussion contains several implementation details, these should not be construed as limitations on the scope of the present disclosure. Some 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.

Claims (17)

  1. 一种照明装置亮度调节方法,包括:A method for adjusting the brightness of a lighting device, comprising:
    获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;Obtain the current lighting device brightness, lighting device information, and user visual test results provided by the user;
    根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the user's visual test result and the lighting device information.
  2. 根据权利要求1所述的方法,其中,获取照明装置信息,包括:The method according to claim 1, wherein obtaining lighting device information comprises:
    获取照明装置的当前环境光参数、照明装置的照明时长、照明装置的当前模式对应的工作时长以及用户眼睛距离照明装置预设位置的第一距离中的至少一种。Obtain at least one of the current ambient light parameters of the lighting device, the lighting duration of the lighting device, the working duration corresponding to the current mode of the lighting device, and the first distance between the user's eyes and the preset position of the lighting device.
  3. 根据权利要求1所述的方法,其中,所述方法由照明装置执行,所述照明装置包括:显示屏,所述方法还包括:The method of claim 1, wherein the method is performed by a lighting device, the lighting device comprising: a display screen, the method further comprising:
    获取所述显示屏的当前屏幕亮度和显示屏信息;Obtain the current screen brightness and display screen information of the display screen;
    根据所述用户视觉测试结果和所述显示屏信息对所述当前屏幕亮度进行调节。The current screen brightness is adjusted according to the user's visual test result and the display screen information.
  4. 根据权利要求3所述的方法,其中,获取显示屏信息,包括:The method according to claim 3, wherein acquiring display screen information comprises:
    获取所述显示屏的当前环境光参数、所述显示屏的使用时长以及用户眼睛距离所述显示屏的第二距离中的至少一种。At least one of the current ambient light parameters of the display screen, the usage time of the display screen, and the second distance between the user's eyes and the display screen are acquired.
  5. 根据权利要求1-4中任一项所述的方法,其中,获取用户提供的用户视觉测试结果,包括:The method according to any one of claims 1-4, wherein obtaining a user visual test result provided by a user comprises:
    使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试;performing at least one test of the user's vision using the at least one test image displayed on the display screen;
    获取所述至少一个测试对应的测试结果。Acquire a test result corresponding to the at least one test.
  6. 根据权利要求5所述的方法,其中,所述使用在显示屏上显示的至少一个测试图像执行对用户视觉的至少一个测试,包括:The method of claim 5, wherein the performing at least one test of the user's vision using the at least one test image displayed on the display screen comprises:
    在所述显示屏上显示至少两个测试图像,其中,所述至少两个测试图像对应的灰度区间不同。At least two test images are displayed on the display screen, wherein the grayscale intervals corresponding to the at least two test images are different.
  7. 根据权利要求6所述的方法,其中,所述获取所述至少一个测试对应的测试结果,包括:The method according to claim 6, wherein the acquiring a test result corresponding to the at least one test comprises:
    获取用户针对所述至少两个测试图像输入的至少两个反馈信息;acquiring at least two feedback information input by the user for the at least two test images;
    根据所述至少两个反馈信息确定目标灰度区间和目标视标等级。The target grayscale interval and the target optotype level are determined according to the at least two pieces of feedback information.
  8. 根据权利要求7所述的方法,其中,所述根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节,包括:The method according to claim 7, wherein the adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information comprises:
    预先建立关于灰度区间、视标等级和照明装置亮度的第一数据库;Pre-establishing a first database about the grayscale interval, the optotype level and the brightness of the lighting device;
    根据所述目标灰度区间和所述目标视标等级查询所述第一数据库,得到所述目标灰度区间和所述目标视标等级对应的目标照明装置亮度;Query the first database according to the target grayscale interval and the target optotype level, and obtain the target lighting device brightness corresponding to the target grayscale interval and the target optotype level;
    根据所述目标照明装置亮度和所述照明装置信息对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the brightness of the target lighting device and the lighting device information.
  9. 根据权利要求7所述的方法,其中,所述根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节,包括:The method according to claim 7, wherein the adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information comprises:
    在所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间的情况下,确定所述目标灰度区间和所述目标视标等级对应第一照明装置亮度;When the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, determine that the target grayscale interval and the target optotype level correspond to the first lighting device brightness;
    在所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间的情况下,确定所述目标灰度区间和所述目标视标等级对应第二照明装置亮度,其中,所述第一灰度区间中的每个灰度值小于所述第二灰度区间中的每个灰度值,所述第一照明装置亮度大于所述第二照明装置亮度。When the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, determine that the target grayscale interval and the target optotype level correspond to the second lighting device Brightness, wherein each grayscale value in the first grayscale interval is smaller than each grayscale value in the second grayscale interval, and the brightness of the first lighting device is greater than the brightness of the second lighting device.
  10. 根据权利要求7所述的方法,其中,所述根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节,包括:The method according to claim 7, wherein the adjusting the brightness of the current lighting device according to the user visual test result and the lighting device information comprises:
    建立关于灰度区间、视标等级、照明装置的每个模式对应的工作时长与照明装置亮度的对应关系的第一列表;establishing a first list of the correspondence between the grayscale interval, the optotype level, the working duration corresponding to each mode of the lighting device and the brightness of the lighting device;
    根据所述目标灰度区间、所述目标视标等级和照明装置的当前模式对应的工作时长查询所述第一列表,得到第三照明装置亮度;Query the first list according to the target grayscale interval, the target optotype level and the working duration corresponding to the current mode of the lighting device, to obtain the brightness of the third lighting device;
    根据所述第三照明装置亮度对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the brightness of the third lighting device.
  11. 根据权利要求7所述的方法,其中,根据所述用户视觉测试结果和所述显示屏信息对所述当前屏幕亮度进行调节,包括:The method according to claim 7, wherein adjusting the current screen brightness according to the user visual test result and the display screen information comprises:
    预先建立关于灰度区间、视标等级和屏幕亮度的第二数据库;Pre-establishing a second database about grayscale intervals, optotype levels and screen brightness;
    根据所述目标灰度区间和所述目标视标等级查询所述第二数据库,得到所述目标灰度区间和所述目标视标等级对应的目标屏幕亮度;Query the second database according to the target grayscale interval and the target optotype level, and obtain the target screen brightness corresponding to the target grayscale interval and the target optotype level;
    根据所述目标屏幕亮度和显示屏信息对所述当前屏幕亮度进行调节。The current screen brightness is adjusted according to the target screen brightness and display screen information.
  12. 根据权利要求7所述的方法,其中,所述根据所述用户视觉测试结果和所述显示屏信息对所述当前屏幕亮度进行调节,包括:The method according to claim 7, wherein the adjusting the current screen brightness according to the user visual test result and the display screen information comprises:
    在所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第一灰度区间的情况下,确定所述目标灰度区间和所述目标视标等级对应第一屏幕 亮度;When the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the first grayscale interval, determine that the target grayscale interval and the target optotype level correspond to the first screen brightness ;
    在所述目标视标等级大于或者等于第一阈值,且所述目标灰度区间为第二灰度区间的情况下,确定所述目标灰度区间和所述目标视标等级对应第二屏幕亮度,其中,所述第一灰度区间中的每个灰度值小于所述第二灰度区间中的每个灰度值,所述第一屏幕亮度大于所述第二屏幕亮度。In the case that the target optotype level is greater than or equal to the first threshold, and the target grayscale interval is the second grayscale interval, determine that the target grayscale interval and the target optotype level correspond to the second screen brightness , wherein each grayscale value in the first grayscale interval is smaller than each grayscale value in the second grayscale interval, and the first screen brightness is greater than the second screen brightness.
  13. 根据权利要求7所述的方法,其中,所述根据所述用户视觉测试结果和所述显示屏信息对所述当前屏幕亮度进行调节,包括:The method according to claim 7, wherein the adjusting the current screen brightness according to the user visual test result and the display screen information comprises:
    建立关于灰度区间、视标等级、显示屏使用时长与屏幕亮度的对应关系的第二列表;establishing a second list of the correspondence between the grayscale interval, the optotype level, the duration of use of the display screen and the brightness of the screen;
    根据所述目标灰度区间、所述目标视标等级和显示屏使用时长查询所述第二列表,得到第三屏幕亮度;Query the second list according to the target grayscale interval, the target optotype level and the display screen usage time to obtain a third screen brightness;
    根据所述第三屏幕亮度对所述当前照明装置亮度进行调节。The brightness of the current lighting device is adjusted according to the third screen brightness.
  14. 根据权利要求6所述的方法,其中,所述至少一个测试图像为至少一个视力表图像,所述至少一个视力表图像对应的灰度区间的最大灰度值呈递增或递减趋势。The method according to claim 6, wherein the at least one test image is at least one vision chart image, and the maximum gray value of the grayscale interval corresponding to the at least one vision chart image presents an increasing or decreasing trend.
  15. 一种照明装置亮度调节装置,包括:A device for adjusting the brightness of a lighting device, comprising:
    第一获取模块,设置为获取当前照明装置亮度、照明装置信息以及用户提供的用户视觉测试结果;a first acquisition module, configured to acquire current lighting device brightness, lighting device information, and user visual test results provided by the user;
    第一调节模块,设置为根据所述用户视觉测试结果和所述照明装置信息对所述当前照明装置亮度进行调节。The first adjustment module is configured to adjust the brightness of the current lighting device according to the user's visual test result and the lighting device information.
  16. 一种电子设备,包括存储器、处理装置及存储在所述存储器上并可在所述处理装置上运行的计算机程序,其中,所述处理装置执行所述程序时实现如权利要求1-14中任一项所述的照明装置亮度调节方法。An electronic device, comprising a memory, a processing device, and a computer program stored on the memory and executable on the processing device, wherein, when the processing device executes the program, any one of claims 1-14 is implemented. A method for adjusting the brightness of a lighting device.
  17. 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-14中任一项所述的照明装置亮度调节方法。A storage medium containing computer-executable instructions, the computer-executable instructions, when executed by a computer processor, are used to perform the method for adjusting the brightness of a lighting device according to any one of claims 1-14.
PCT/CN2022/081112 2021-04-30 2022-03-16 Luminance adjustment method and apparatus for lighting device, electronic equipment, and storage medium WO2022227901A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110485809.8 2021-04-30
CN202110485809.8A CN113766708B (en) 2021-04-30 2021-04-30 Lighting device brightness adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2022227901A1 true WO2022227901A1 (en) 2022-11-03

Family

ID=78786958

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/081112 WO2022227901A1 (en) 2021-04-30 2022-03-16 Luminance adjustment method and apparatus for lighting device, electronic equipment, and storage medium

Country Status (2)

Country Link
CN (1) CN113766708B (en)
WO (1) WO2022227901A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113766708B (en) * 2021-04-30 2023-05-26 北京字节跳动网络技术有限公司 Lighting device brightness adjusting method and device, electronic equipment and storage medium
CN114567955B (en) * 2022-02-25 2023-12-01 北京字跳网络技术有限公司 Indoor light ray rendering method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238529A (en) * 2008-03-26 2009-10-15 Panasonic Electric Works Co Ltd Illumination control system
CN101567171A (en) * 2008-04-25 2009-10-28 深圳Tcl新技术有限公司 Method and system for regulating backlight of liquid crystal display television
CN104938033A (en) * 2013-01-25 2015-09-23 皇家飞利浦有限公司 Lighting device and lighting system
WO2019179931A1 (en) * 2018-03-22 2019-09-26 Tilak Healthcare Visual testing using mobile devices
CN110324934A (en) * 2019-05-16 2019-10-11 彭洲龙 A kind of control system and desk of Intelligent learning desk lamp
CN110377385A (en) * 2019-07-05 2019-10-25 深圳壹账通智能科技有限公司 A kind of screen display method, device and terminal device
CN110507280A (en) * 2019-08-06 2019-11-29 桂林理工大学 A kind of maculopathy assessment of vision method
CN113766708A (en) * 2021-04-30 2021-12-07 北京字节跳动网络技术有限公司 Method and device for adjusting brightness of lighting device, electronic equipment and storage medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105528151A (en) * 2015-12-01 2016-04-27 小米科技有限责任公司 Brightness adjusting method and apparatus
US20170171940A1 (en) * 2015-12-14 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and electronic device for adjusting brightness on screen
US10687403B2 (en) * 2016-03-21 2020-06-16 Koninklijke Philips N.V. Adaptive lighting system for a mirror component and a method of controlling an adaptive lighting system
CN106598519A (en) * 2016-12-12 2017-04-26 合肥联宝信息技术有限公司 Screen display method and apparatus, and computer
CN109257484B (en) * 2017-07-14 2021-05-25 西安中兴新软件有限责任公司 Display screen brightness processing method, terminal device and readable storage medium
CN108154866B (en) * 2017-08-16 2023-06-30 昆山人因健康工程研发中心有限公司 Display screen system capable of adjusting brightness in real time and brightness real-time adjusting method thereof
CN109951596A (en) * 2017-12-20 2019-06-28 广东欧珀移动通信有限公司 Adjusting method, device, storage medium and the mobile terminal of screen intensity
CN109640442B (en) * 2018-12-14 2021-06-11 东南大学 Classroom light environment control system based on NB-IOT
CN109714861B (en) * 2019-01-28 2021-01-01 重庆蓝岸通讯技术有限公司 Intelligent household illuminating lamp circuit, illuminating lamp and control method thereof
CN110167243B (en) * 2019-06-17 2022-02-22 青岛亿联客信息技术有限公司 Intelligent lamp control method, device and system and computer readable storage equipment
CN112118659B (en) * 2019-06-19 2023-06-16 广东小天才科技有限公司 Light adjusting method and intelligent device
CN111522440B (en) * 2020-04-03 2024-05-17 广东小天才科技有限公司 Screen display control method, device, equipment and storage medium
CN111667798A (en) * 2020-06-18 2020-09-15 广东小天才科技有限公司 Screen adjusting method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009238529A (en) * 2008-03-26 2009-10-15 Panasonic Electric Works Co Ltd Illumination control system
CN101567171A (en) * 2008-04-25 2009-10-28 深圳Tcl新技术有限公司 Method and system for regulating backlight of liquid crystal display television
CN104938033A (en) * 2013-01-25 2015-09-23 皇家飞利浦有限公司 Lighting device and lighting system
WO2019179931A1 (en) * 2018-03-22 2019-09-26 Tilak Healthcare Visual testing using mobile devices
CN110324934A (en) * 2019-05-16 2019-10-11 彭洲龙 A kind of control system and desk of Intelligent learning desk lamp
CN110377385A (en) * 2019-07-05 2019-10-25 深圳壹账通智能科技有限公司 A kind of screen display method, device and terminal device
CN110507280A (en) * 2019-08-06 2019-11-29 桂林理工大学 A kind of maculopathy assessment of vision method
CN113766708A (en) * 2021-04-30 2021-12-07 北京字节跳动网络技术有限公司 Method and device for adjusting brightness of lighting device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113766708A (en) 2021-12-07
CN113766708B (en) 2023-05-26

Similar Documents

Publication Publication Date Title
WO2022227901A1 (en) Luminance adjustment method and apparatus for lighting device, electronic equipment, and storage medium
KR102003371B1 (en) Apparatas and method for adjusting of screen brightness in an electronic device
CN112289280B (en) Screen brightness adjusting method and device, computer readable medium and electronic equipment
US9000927B2 (en) System and method for monitoring biometric data
US10019220B2 (en) Control method and apparatus thereof
WO2023001001A1 (en) Light brightness adjustment method and apparatus, and electronic device
CN113963659A (en) Adjusting method of display equipment and display equipment
US9319468B2 (en) Information processing apparatus and information processing method
US8115777B2 (en) Enhancing contact center interactions for people having impaired senses
CN111369461A (en) Beauty parameter adjusting method and device and electronic equipment
WO2018120127A1 (en) Virtual reality device and incoming call management method therefor
CN107018230A (en) A kind of back light brightness regulating method and terminal
CN108986770B (en) Information terminal
WO2023279923A1 (en) Wearable display apparatus, light transmittance regulation method and apparatus, and device and medium
CN114527925B (en) Conversation method, conversation device, electronic equipment and storage medium
CN111464698A (en) Method, device, terminal and storage medium for controlling electronic equipment
CN108038232B (en) Webpage editing method, device and system and storage medium
CN110991909A (en) Teaching progress reminding method and device
CN111415393B (en) Method and device for adjusting display of multimedia blackboard, medium and electronic equipment
CN106982389B (en) Video type identification method and device
KR20190101631A (en) The electronic device for sharing a real-time content data
CN112801997A (en) Image enhancement quality evaluation method and device, electronic equipment and storage medium
CN112256220B (en) Screen control method, device, terminal and storage medium
CN115460460B (en) Information interaction method, device, equipment and storage medium based on face detection
US20240064188A1 (en) Alternative screenshare provision

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794379

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 14.02.2024)