CN113609958A - Light adjusting method and related device - Google Patents

Light adjusting method and related device Download PDF

Info

Publication number
CN113609958A
CN113609958A CN202110882172.6A CN202110882172A CN113609958A CN 113609958 A CN113609958 A CN 113609958A CN 202110882172 A CN202110882172 A CN 202110882172A CN 113609958 A CN113609958 A CN 113609958A
Authority
CN
China
Prior art keywords
target
user
control parameter
determining
light control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110882172.6A
Other languages
Chinese (zh)
Inventor
杨鹏
叶炜杰
吴义魁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinmao Smart Technology Guangzhou Co ltd
Original Assignee
Jinmao Smart Technology Guangzhou Co ltd
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 Jinmao Smart Technology Guangzhou Co ltd filed Critical Jinmao Smart Technology Guangzhou Co ltd
Priority to CN202110882172.6A priority Critical patent/CN113609958A/en
Publication of CN113609958A publication Critical patent/CN113609958A/en
Pending legal-status Critical Current

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/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • H05B47/125Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by using cameras
    • 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/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • 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

Abstract

The embodiment of the application discloses a light adjusting method and a related device, which are applied to electronic equipment, wherein the method comprises the following steps: acquiring a user image of a user through a camera; determining the user behavior of the user according to the user image to obtain a target behavior; determining a target light control parameter corresponding to the target behavior; and controlling the corresponding lighting equipment to work according to the target lighting control parameter. Adopt this application embodiment can realize automatic light regulation to and promote the intelligent of intelligent house.

Description

Light adjusting method and related device
Technical Field
The application relates to the technical field of Internet of things, in particular to a light adjusting method and a related device.
Background
Along with the development of science and technology, smart homes (smart homes) are more and more approaching to the lives of people, the smart homes are based on a home as a platform, facilities related to home life are integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology, an efficient management system of residential facilities and family schedule affairs is constructed, the home safety, convenience, comfortableness and artistry are improved, and environment-friendly and energy-saving living environments are realized.
Disclosure of Invention
The embodiment of the application provides a light adjusting method and a related device, which can realize automatic light adjustment and improve the intelligence of intelligent home.
In a first aspect, an embodiment of the present application provides a light adjusting method, where the method includes:
acquiring a user image of a user through a camera;
determining the user behavior of the user according to the user image to obtain a target behavior;
determining a target light control parameter corresponding to the target behavior;
and controlling the corresponding lighting equipment to work according to the target lighting control parameter.
Optionally, the determining a target light control parameter corresponding to the target behavior includes:
determining a reference light control parameter corresponding to the target behavior according to a mapping relation between a preset behavior and the light control parameter;
determining a current position corresponding to the user;
acquiring at least one lighting device corresponding to the current position and the target behavior;
and configuring the light control parameter of each lighting device in the at least one lighting device according to the reference light control parameter to obtain the target light control parameter.
Optionally, the acquiring the user image of the user through the camera includes:
identifying a gaze direction of the user through the camera;
and acquiring an image corresponding to the sight line direction as the user image.
Optionally, the acquiring the user image of the user through the camera includes:
determining a target position corresponding to the user;
determining a camera with a field angle including the target position to obtain at least one camera;
and shooting the user through the at least one camera to obtain the user image.
Optionally, after the controlling the corresponding lighting device to operate according to the target lighting control parameter, the method further includes:
acquiring a target physiological state parameter of the user;
acquiring a reference physiological state parameter;
determining a target degree of deviation between the target physiological state parameter and the reference physiological state parameter;
determining a target fine tuning coefficient corresponding to the target deviation degree;
adjusting the target light control parameter according to the target fine adjustment coefficient to obtain a first light control parameter;
and controlling the corresponding lighting equipment to work according to the first lighting control parameter.
In a second aspect, an embodiment of the present application provides a light adjusting device, where the light adjusting device includes: an acquisition unit, a first determination unit, a second determination unit, and a control unit, wherein,
the acquisition unit is used for acquiring a user image of a user through a camera;
the first determining unit is used for determining the user behavior of the user according to the user image to obtain a target behavior;
the second determination unit is used for determining a target light control parameter corresponding to the target behavior;
and the control unit is used for controlling corresponding lighting equipment to work according to the target lighting control parameter.
Optionally, in the aspect of determining the target light control parameter corresponding to the target behavior, the second determining unit is specifically configured to:
determining a reference light control parameter corresponding to the target behavior according to a mapping relation between a preset behavior and the light control parameter;
determining a current position corresponding to the user;
acquiring at least one lighting device corresponding to the current position and the target behavior;
and configuring the light control parameter of each lighting device in the at least one lighting device according to the reference light control parameter to obtain the target light control parameter.
Optionally, in the aspect of acquiring the user image of the user through the camera, the acquiring unit is specifically configured to:
identifying a gaze direction of the user through the camera;
and acquiring an image corresponding to the sight line direction as the user image.
Optionally, the acquiring the user image of the user through the camera includes:
identifying a gaze direction of the user through the camera;
and acquiring an image corresponding to the sight line direction as the user image.
Optionally, in the aspect of acquiring the user image of the user through the camera, the acquiring unit is specifically configured to:
determining a target position corresponding to the user;
determining a camera with a field angle including the target position to obtain at least one camera;
and shooting the user through the at least one camera to obtain the user image.
Optionally, after the corresponding lighting device is controlled to operate according to the target lighting control parameter, the apparatus is further specifically configured to:
acquiring a target physiological state parameter of the user;
acquiring a reference physiological state parameter;
determining a target degree of deviation between the target physiological state parameter and the reference physiological state parameter;
determining a target fine tuning coefficient corresponding to the target deviation degree;
adjusting the target light control parameter according to the target fine adjustment coefficient to obtain a first light control parameter;
and controlling the corresponding lighting equipment to work according to the first lighting control parameter.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
The embodiment of the application has the following beneficial effects:
it can be seen that, in the light adjusting method and the related device described in the embodiments of the present application, the user image of the user is acquired through the camera, the user behavior of the user is determined according to the user image, the target behavior is obtained, the target light control parameter corresponding to the target behavior is determined, and the corresponding lighting device is controlled to operate according to the target light control parameter.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a light adjusting method according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart of another light adjustment method provided in the embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 4 is a block diagram of functional units of a light adjusting device according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In the embodiment of the present application, the lighting device may be understood as a device capable of realizing a light emitting function, and may include at least one of the following: the intelligent lighting equipment, the intelligent desk lamp, the intelligent ceiling lamp, the intelligent street lamp and the like are not limited, and the internet of things equipment can also be any one of the electronic equipment. In addition, the electronic device may be an indoor server or an intelligent gateway. An intelligent home network or an internet of things can be formed between the electronic equipment and the lighting equipment. The indoor environment may also include a plurality of cameras, which are also part of the smart home network or the internet of things.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic flow chart of a light adjusting method provided in an embodiment of the present application, applied to an electronic device, where as shown in the figure, the light adjusting method includes:
101. and acquiring a user image of the user through the camera.
The embodiment of the application can be applied to an intelligent home environment, the intelligent home environment can comprise a plurality of cameras, all-weather monitoring can be carried out on an indoor environment through the plurality of cameras, for example, at home, each room at home can be provided with at least one camera, and monitoring at home can be achieved through the cameras. The user image may include one or more images, and the user image may be understood as a whole body image or a partial image of the user, or the user image may be understood as an image of a finger direction or a gaze direction of the user. In the concrete implementation, target environment brightness can be obtained, when the target environment brightness is within a preset range, step 101 can be executed, the preset range can be preset or the system is default, the target environment brightness can be detected through an environment light sensor, otherwise, the target environment brightness is not within the preset range, it is indicated that light adjustment is not needed, and then subsequent steps can not be executed, so that light adjustment is only carried out under certain environment, for example, the environment is brighter, and light adjustment is not needed.
Wherein, in this application embodiment, the camera can be infrared camera or visible light camera. The user can be positioned by an indoor positioning technology, and then the camera corresponding to the positioned position is called to shoot, so that the user image of the user can be obtained.
Optionally, in step 101, acquiring a user image of a user through a camera may include the following steps:
a11, identifying the sight line direction of the user through the camera;
and A12, acquiring an image corresponding to the sight line direction as the user image.
In the specific implementation, the eyes of the user can be acquired through the camera, the relative angle between the eyes of the user and the camera is determined, the sight direction of the user is determined through the relative angle, then, the image corresponding to the sight direction can be acquired as the user image, namely, the image seen by the eyes of the user can be used as the user image, for example, the lighting equipment seen by the user can be controlled in the mode, the interest of the user is improved, and the user experience is facilitated to be improved.
Optionally, in step 101, acquiring a user image of a user through a camera may include the following steps:
b11, determining the target position corresponding to the user;
b12, determining a camera with a field angle including the target position to obtain at least one camera;
and B13, shooting the user through the at least one camera to obtain the user image.
In a specific implementation, the location of the user may be located, for example, the location of the user may be located through a camera, the location of the user may be determined through an Ultra-Wideband (UWB) location technology or a Wireless Fidelity (WIFI) location technology, further, a camera with a field of view including the target position can be determined, at least one camera is obtained, the user is shot by the at least one camera to obtain the user image, the distances between different cameras and the user are different, the corresponding shooting parameters are different, and of course, the cameras in at least one camera can be matched with each other, for example, each camera can focus on one position, or, part of the cameras realize global shooting, and part of the cameras realize local shooting, so that the user behaviors can be accurately analyzed through the images.
102. And determining the user behavior of the user according to the user image to obtain a target behavior.
In this embodiment, the user behavior may include at least one of the following: watching television, reading books, listening to music, playing games, playing mobile phones, chatting, eating, sleeping, going to the toilet, making a call, etc., without limitation, user behavior may also be understood as behavior of looking at the lighting device. In specific implementation, feature extraction may be performed on a user image to obtain a feature set, and then the feature set is input to a preset neural network model to obtain a target behavior, where the feature set may include at least one of the following: feature points, feature lines, feature vectors, and the like, which are not limited herein, the preset neural network model may include at least one of the following: the method includes inputting a sample image into a neural network model for training without limitation, wherein the sample image can be a user image, each sample image corresponds to a behavior label, and after the neural network model converges, a preset neural network model can be obtained, and the behavior labels can be used for expressing user behaviors.
103. Determining a target light control parameter corresponding to the target behavior.
In the embodiment of the present application, the target light control parameter may include at least one of the following: the operating current, operating voltage, operating power, lamp brightness, lamp color, operating duration, operating timing, illumination direction, operating frequency, number of lighting devices, and the like, without limitation.
Optionally, in step 103, determining a target light control parameter corresponding to the target behavior may include the following steps:
a31, determining a reference light control parameter corresponding to the target behavior according to a mapping relation between a preset behavior and the light control parameter;
a32, determining the current position corresponding to the user;
a33, acquiring at least one lighting device corresponding to the current position and the target behavior;
and A34, configuring the light control parameter of each light device in the at least one light device according to the reference light control parameter to obtain the target light control parameter.
The method comprises the steps of storing a mapping relation between a preset behavior and a light control parameter in advance, determining a reference light control parameter corresponding to a target behavior according to the mapping relation between the preset behavior and the light control parameter, wherein the reference light control parameter can be understood as the preset light control parameter, determining a current position corresponding to a user, obtaining at least one piece of light equipment corresponding to the current position and the target behavior, different pieces of light equipment possibly correspond to different user behaviors, marking the light equipment in an indoor environment, and each piece of light equipment can correspond to at least one user behavior.
In practical application, some lighting devices near the location of the user often need to be adjusted, and since the working parameters of the lighting devices often are rated, the reference lighting control parameters are not necessarily perfectly matched, and further, the lighting control parameters of each lighting device in at least one lighting device need to be configured according to the reference lighting control parameters to obtain target lighting control parameters, so that the target lighting control parameters are as close as possible to or equal to the reference lighting control parameters. For example, when a user reads a book, the brightness of lighting equipment around the user can be adjusted; when the user sleeps, the brightness of the lighting equipment around the user can be dimmed.
Optionally, the determining, in step 103, a target lighting control parameter corresponding to the target behavior may include the following steps:
and determining the target lighting control parameters corresponding to the target lighting equipment according to a preset mapping relation between the gazing parameters and the lighting control parameters.
In a specific implementation, the target behavior may be a gazing behavior of gazing the target lighting device, the target behavior corresponds to a target gazing parameter, and the target gazing parameter may include at least one of: the length of gaze, the number of blinks, the position of gaze, the extent to which the eyes are open, etc., and is not limited thereto.
The target lighting control parameters corresponding to the target lighting equipment are determined according to the mapping relation between the preset watching parameters and the preset lighting control parameters, so that the action of watching the lighting equipment through the eyes of a user can be used for correspondingly adjusting the lighting equipment, and the intelligence of the intelligent home can be improved.
For example, when a user gazes at a certain lamp, the lamp may be turned on, turned off, adjusted in brightness, and the like. Different gaze durations may correspond to different intensities.
104. And controlling the corresponding lighting equipment to work according to the target lighting control parameter.
In specific implementation, the target light control parameter may correspond to a certain control range, that is, the lighting device within the control range may be adjusted, so that the lighting device operates according to the target light control parameter.
Optionally, in step 104, after controlling the corresponding lighting device to operate according to the target lighting control parameter, the method may further include the following steps:
a1, acquiring target physiological state parameters of the user;
a2, acquiring a reference physiological state parameter;
a3, determining a target deviation degree between the target physiological state parameter and the reference physiological state parameter;
a4, determining a target fine adjustment coefficient corresponding to the target deviation degree;
a5, adjusting the target light control parameter according to the target fine adjustment coefficient to obtain a first light control parameter;
and A6, controlling the corresponding light equipment to work according to the first light control parameter.
In an embodiment of the present application, the target physiological state parameter may include at least one of: blood pressure, blood lipid, heart rate, respiratory rate, etc., without limitation. The reference physiological state parameter may include at least one of: blood pressure, blood lipid, heart rate, respiratory rate, etc., without limitation.
In specific implementation, a user can wear a wearable device or an implanted chip, a target physiological state parameter of the user can be acquired through the wearable device or the implanted chip, a reference physiological state parameter can be preset or default, different behaviors can correspond to different physiological state parameters, further, a mapping relation between the user behavior and the physiological state parameters can be stored in advance, and then, the reference physiological state parameter corresponding to the target behavior can be determined based on the mapping relation.
Further, a target deviation degree between the target physiological state parameter and the reference physiological state parameter can be determined, specifically as follows:
target deviation (target physiological state parameter-reference physiological state parameter)/reference physiological state parameter
The method includes the steps of storing a mapping relation between deviation and a fine tuning coefficient in advance, determining a target fine tuning coefficient corresponding to the target deviation according to the mapping relation, wherein the value range of the fine tuning coefficient can be-0.2, and adjusting a target light control parameter according to the target fine tuning coefficient to obtain a first light control parameter, wherein the first light control parameter is (1+ target fine tuning coefficient) × the target light control parameter
Then, can carry out work according to the corresponding lighting apparatus of first light control parameter control, so, can also finely tune the effect of light based on user's physiological state for it is more fit for the user, feels uncomfortable promptly at the user, then can realize the fine setting to the effect of light, helps promoting user experience.
According to the light adjusting method described in the embodiment of the application, the user image of the user is acquired through the camera, the user behavior of the user is determined according to the user image, the target behavior is obtained, the target light control parameter corresponding to the target behavior is determined, and the corresponding lighting equipment is controlled to work according to the target light control parameter.
Referring to fig. 2, fig. 2 is a schematic flow chart of a light adjusting method provided in an embodiment of the present application, and the light adjusting method is applied to an electronic device, as shown in the figure, the light adjusting method includes:
201. and acquiring a user image of the user through the camera.
202. And determining the user behavior of the user according to the user image to obtain a target behavior.
203. Determining a target light control parameter corresponding to the target behavior.
204. And controlling the corresponding lighting equipment to work according to the target lighting control parameter.
205. And acquiring the target physiological state parameters of the user.
206. A reference physiological state parameter is obtained.
207. Determining a target degree of deviation between the target physiological state parameter and the reference physiological state parameter.
208. And determining a target fine tuning coefficient corresponding to the target deviation degree.
209. And adjusting the target light control parameter according to the target fine adjustment coefficient to obtain a first light control parameter.
210. And controlling the corresponding lighting equipment to work according to the first lighting control parameter.
The detailed description of the steps 201 to 210 may refer to the corresponding steps of the light adjustment method described in the above fig. 1, and will not be described herein again.
It can be seen that, in the light adjusting method described in the embodiment of the present application, the user image of the user is obtained through the camera, the user behavior of the user is determined according to the user image, the target behavior is obtained, the target light control parameter corresponding to the target behavior is determined, the corresponding lighting device is controlled to operate according to the target light control parameter, the target physiological state parameter of the user is obtained, the reference physiological state parameter is obtained, the target deviation between the target physiological state parameter and the reference physiological state parameter is determined, the target fine tuning coefficient corresponding to the target deviation is determined, the target light control parameter is adjusted according to the target fine tuning coefficient, the first light control parameter is obtained, the corresponding lighting device is controlled to operate according to the first light control parameter, on one hand, the user behavior can be identified, and the lighting control parameter corresponding to the behavior is determined, in order to control corresponding lighting equipment, can realize automatic light regulation to and promote the intelligence of intelligent house, on the other hand can also finely tune the effect of light based on user's physiological state, makes it be more fit for the user, helps promoting user experience.
In accordance with the foregoing embodiments, please refer to fig. 3, where fig. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, which are applied to the electronic device, the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
acquiring a user image of a user through a camera;
determining the user behavior of the user according to the user image to obtain a target behavior;
determining a target light control parameter corresponding to the target behavior;
and controlling the corresponding lighting equipment to work according to the target lighting control parameter.
Optionally, in the aspect of determining the target light control parameter corresponding to the target behavior, the program includes instructions for performing the following steps:
determining a reference light control parameter corresponding to the target behavior according to a mapping relation between a preset behavior and the light control parameter;
determining a current position corresponding to the user;
acquiring at least one lighting device corresponding to the current position and the target behavior;
and configuring the light control parameter of each lighting device in the at least one lighting device according to the reference light control parameter to obtain the target light control parameter.
Optionally, in the aspect of acquiring the user image of the user through the camera, the program includes instructions for executing the following steps:
identifying a gaze direction of the user through the camera;
and acquiring an image corresponding to the sight line direction as the user image.
Optionally, in the aspect of acquiring the user image of the user through the camera, the program includes instructions for executing the following steps:
determining a target position corresponding to the user;
determining a camera with a field angle including the target position to obtain at least one camera;
and shooting the user through the at least one camera to obtain the user image.
Optionally, after the corresponding lighting device is controlled to operate according to the target lighting control parameter, the program further includes instructions for executing the following steps:
acquiring a target physiological state parameter of the user;
acquiring a reference physiological state parameter;
determining a target degree of deviation between the target physiological state parameter and the reference physiological state parameter;
determining a target fine tuning coefficient corresponding to the target deviation degree;
adjusting the target light control parameter according to the target fine adjustment coefficient to obtain a first light control parameter;
and controlling the corresponding lighting equipment to work according to the first lighting control parameter.
It can be seen that, in the electronic device described in the embodiment of the present application, the user image of the user is acquired through the camera, the user behavior of the user is determined according to the user image, the target behavior is obtained, the target lighting control parameter corresponding to the target behavior is determined, and the corresponding lighting device is controlled to work according to the target lighting control parameter.
Fig. 4 is a block diagram of functional units of a light adjustment device 400 according to an embodiment of the present application. This light adjusting device 400 is applied to electronic equipment, device 400 includes: an acquisition unit 401, a first determination unit 402, a second determination unit 403, and a control unit 404, wherein,
the acquiring unit 401 is configured to acquire a user image of a user through a camera;
the first determining unit 402 is configured to determine a user behavior of the user according to the user image, so as to obtain a target behavior;
the second determining unit 403 is configured to determine a target light control parameter corresponding to the target behavior;
and the control unit 404 is configured to control the corresponding lighting device to work according to the target lighting control parameter.
Optionally, in the aspect of determining the target light control parameter corresponding to the target behavior, the second determining unit 403 is specifically configured to:
determining a reference light control parameter corresponding to the target behavior according to a mapping relation between a preset behavior and the light control parameter;
determining a current position corresponding to the user;
acquiring at least one lighting device corresponding to the current position and the target behavior;
and configuring the light control parameter of each lighting device in the at least one lighting device according to the reference light control parameter to obtain the target light control parameter.
Optionally, in the aspect of acquiring the user image of the user through the camera, the acquiring unit 401 is specifically configured to:
identifying a gaze direction of the user through the camera;
and acquiring an image corresponding to the sight line direction as the user image.
Optionally, in the aspect of acquiring the user image of the user through the camera, the acquiring unit 401 is specifically configured to:
determining a target position corresponding to the user;
determining a camera with a field angle including the target position to obtain at least one camera;
and shooting the user through the at least one camera to obtain the user image.
Optionally, after the corresponding lighting device is controlled to operate according to the target lighting control parameter, the apparatus 400 is further specifically configured to:
acquiring a target physiological state parameter of the user;
acquiring a reference physiological state parameter;
determining a target degree of deviation between the target physiological state parameter and the reference physiological state parameter;
determining a target fine tuning coefficient corresponding to the target deviation degree;
adjusting the target light control parameter according to the target fine adjustment coefficient to obtain a first light control parameter;
and controlling the corresponding lighting equipment to work according to the first lighting control parameter.
It can be seen that the light adjusting device described in the embodiment of the present application obtains the user image of the user through the camera, determines the user behavior of the user according to the user image, obtains the target behavior, determines the target light control parameter corresponding to the target behavior, and controls the corresponding lighting equipment to work according to the target light control parameter, so that the user behavior can be identified, and the corresponding lighting control parameter of the behavior can be determined, so as to control the corresponding lighting equipment, thereby realizing automatic light adjustment and improving the intelligence of the intelligent home.
It can be understood that the functions of each program module of the light adjusting device of this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A light conditioning method, the method comprising:
acquiring a user image of a user through a camera;
determining the user behavior of the user according to the user image to obtain a target behavior;
determining a target light control parameter corresponding to the target behavior;
and controlling the corresponding lighting equipment to work according to the target lighting control parameter.
2. The method of claim 1, wherein the determining a target light control parameter corresponding to the target behavior comprises:
determining a reference light control parameter corresponding to the target behavior according to a mapping relation between a preset behavior and the light control parameter;
determining a current position corresponding to the user;
acquiring at least one lighting device corresponding to the current position and the target behavior;
and configuring the light control parameter of each lighting device in the at least one lighting device according to the reference light control parameter to obtain the target light control parameter.
3. The method of claim 1 or 2, wherein the acquiring the user image of the user through the camera comprises:
identifying a gaze direction of the user through the camera;
and acquiring an image corresponding to the sight line direction as the user image.
4. The method of claim 1 or 2, wherein the acquiring the user image of the user through the camera comprises:
determining a target position corresponding to the user;
determining a camera with a field angle including the target position to obtain at least one camera;
and shooting the user through the at least one camera to obtain the user image.
5. The method according to claim 1 or 2, wherein after controlling the respective lighting device to operate according to the target lighting control parameter, the method further comprises:
acquiring a target physiological state parameter of the user;
acquiring a reference physiological state parameter;
determining a target degree of deviation between the target physiological state parameter and the reference physiological state parameter;
determining a target fine tuning coefficient corresponding to the target deviation degree;
adjusting the target light control parameter according to the target fine adjustment coefficient to obtain a first light control parameter;
and controlling the corresponding lighting equipment to work according to the first lighting control parameter.
6. A light conditioning device, the device comprising: an acquisition unit, a first determination unit, a second determination unit, and a control unit, wherein,
the acquisition unit is used for acquiring a user image of a user through a camera;
the first determining unit is used for determining the user behavior of the user according to the user image to obtain a target behavior;
the second determination unit is used for determining a target light control parameter corresponding to the target behavior;
and the control unit is used for controlling corresponding lighting equipment to work according to the target lighting control parameter.
7. The apparatus according to claim 6, wherein, in said determining a target light control parameter corresponding to the target behavior, the second determination unit is specifically configured to:
determining a reference light control parameter corresponding to the target behavior according to a mapping relation between a preset behavior and the light control parameter;
determining a current position corresponding to the user;
acquiring at least one lighting device corresponding to the current position and the target behavior;
and configuring the light control parameter of each lighting device in the at least one lighting device according to the reference light control parameter to obtain the target light control parameter.
8. The apparatus according to claim 6 or 7, wherein, in said acquiring a user image of a user by a camera, said acquiring unit is specifically configured to:
identifying a gaze direction of the user through the camera;
and acquiring an image corresponding to the sight line direction as the user image.
9. An electronic device comprising a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN202110882172.6A 2021-08-02 2021-08-02 Light adjusting method and related device Pending CN113609958A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110882172.6A CN113609958A (en) 2021-08-02 2021-08-02 Light adjusting method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110882172.6A CN113609958A (en) 2021-08-02 2021-08-02 Light adjusting method and related device

Publications (1)

Publication Number Publication Date
CN113609958A true CN113609958A (en) 2021-11-05

Family

ID=78306492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110882172.6A Pending CN113609958A (en) 2021-08-02 2021-08-02 Light adjusting method and related device

Country Status (1)

Country Link
CN (1) CN113609958A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401566A (en) * 2022-01-19 2022-04-26 深圳市佳乐鑫科技有限公司 Little night-light of intelligence house LED based on thing networking
CN116582981A (en) * 2023-07-14 2023-08-11 中建照明有限公司 Smart home illumination control method and device and related equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969718A (en) * 2010-09-08 2011-02-09 无锡中星微电子有限公司 Intelligent lighting control system and control method
CN106051643A (en) * 2016-06-28 2016-10-26 蔡璟 Lamp control system adjusting lamplight brightness based on user behavior state
CN107943402A (en) * 2017-11-30 2018-04-20 努比亚技术有限公司 Regional luminance control method, intelligent terminal and computer-readable recording medium
WO2019052329A1 (en) * 2017-09-12 2019-03-21 Oppo广东移动通信有限公司 Facial recognition method and related product
CN111194122A (en) * 2018-11-13 2020-05-22 杭州勇电照明有限公司 Somatosensory interactive light control system
CN111295022A (en) * 2020-01-23 2020-06-16 珠海荣邦电子科技有限公司 Light control method and system
CN111669882A (en) * 2020-07-10 2020-09-15 龚蕾 Response-adjusted intelligent household lighting system and working method thereof
CN112455327A (en) * 2020-12-03 2021-03-09 上海汽车集团股份有限公司 Vehicle lamp control method and device and computer readable storage medium
CN112996194A (en) * 2019-12-15 2021-06-18 北京地平线机器人技术研发有限公司 Light control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969718A (en) * 2010-09-08 2011-02-09 无锡中星微电子有限公司 Intelligent lighting control system and control method
CN106051643A (en) * 2016-06-28 2016-10-26 蔡璟 Lamp control system adjusting lamplight brightness based on user behavior state
WO2019052329A1 (en) * 2017-09-12 2019-03-21 Oppo广东移动通信有限公司 Facial recognition method and related product
CN107943402A (en) * 2017-11-30 2018-04-20 努比亚技术有限公司 Regional luminance control method, intelligent terminal and computer-readable recording medium
CN111194122A (en) * 2018-11-13 2020-05-22 杭州勇电照明有限公司 Somatosensory interactive light control system
CN112996194A (en) * 2019-12-15 2021-06-18 北京地平线机器人技术研发有限公司 Light control method and device
CN111295022A (en) * 2020-01-23 2020-06-16 珠海荣邦电子科技有限公司 Light control method and system
CN111669882A (en) * 2020-07-10 2020-09-15 龚蕾 Response-adjusted intelligent household lighting system and working method thereof
CN112455327A (en) * 2020-12-03 2021-03-09 上海汽车集团股份有限公司 Vehicle lamp control method and device and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401566A (en) * 2022-01-19 2022-04-26 深圳市佳乐鑫科技有限公司 Little night-light of intelligence house LED based on thing networking
CN114401566B (en) * 2022-01-19 2024-04-12 深圳市佳乐鑫科技有限公司 Intelligent household LED small night lamp based on Internet of things
CN116582981A (en) * 2023-07-14 2023-08-11 中建照明有限公司 Smart home illumination control method and device and related equipment
CN116582981B (en) * 2023-07-14 2023-09-29 中建照明有限公司 Smart home illumination control method and device and related equipment

Similar Documents

Publication Publication Date Title
CN109780699B (en) Rotating speed control method and device
CN107606512B (en) Intelligent desk lamp, and method and device for reminding user of sitting posture based on intelligent desk lamp
US11475646B1 (en) Computer implemented display system responsive to a detected mood of a person
CN113329545B (en) Intelligent lighting method and device, intelligent control device and storage medium
US20170185276A1 (en) Method for electronic device to control object and electronic device
CN113609958A (en) Light adjusting method and related device
WO2015198716A1 (en) Information processing apparatus, information processing method, and program
CN112053683A (en) Voice instruction processing method, device and control system
CN103957354A (en) Mobile terminal, and photographing guide method and device
EP3760008B1 (en) Rendering a dynamic light scene based on one or more light settings
CN106778623A (en) A kind of terminal screen control method, device and electronic equipment
CN103940037A (en) Control method and device of air conditioner display screen
CN109005627A (en) A kind of lamp light control method, device, terminal and storage medium
CN105892965A (en) Screen display method and device
CN109429415A (en) Illumination control method, apparatus and system
CN113076007A (en) Display screen visual angle adjusting method and device and storage medium
CN113867163A (en) Intelligent household scene switching method and device, intelligent terminal and storage medium
CN113359503B (en) Equipment control method and related device
CN109976169B (en) Internet television intelligent control method and system based on self-learning technology
CN105575361A (en) Screen brightness adjusting method and apparatus thereof
CN113568591B (en) Control method and control device of intelligent equipment, intelligent equipment and intelligent dining table
JP2021125876A (en) System and method for smart-image capturing
KR20170106793A (en) Apparatus and method for controlling devices
CN113055748A (en) Method, device and system for adjusting light based on television program and storage medium
CN110489028B (en) Control method, electronic device and computer storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination