CN108156732B - Method and device for adjusting light - Google Patents

Method and device for adjusting light Download PDF

Info

Publication number
CN108156732B
CN108156732B CN201711340701.XA CN201711340701A CN108156732B CN 108156732 B CN108156732 B CN 108156732B CN 201711340701 A CN201711340701 A CN 201711340701A CN 108156732 B CN108156732 B CN 108156732B
Authority
CN
China
Prior art keywords
human body
user
light
intelligent lamp
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.)
Active
Application number
CN201711340701.XA
Other languages
Chinese (zh)
Other versions
CN108156732A (en
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711340701.XA priority Critical patent/CN108156732B/en
Publication of CN108156732A publication Critical patent/CN108156732A/en
Application granted granted Critical
Publication of CN108156732B publication Critical patent/CN108156732B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The present disclosure relates to a method and a device for adjusting light, which are used for adjusting the appetite of a user and further adjusting the health of the user. The method comprises the following steps: determining a human index identifying a degree of human health; determining light control parameters according to the human body index; and sending the light control parameters to the intelligent lamp so that the intelligent lamp works according to the light control parameters. The intelligent lamp can be controlled to emit light according to the human body index, the ambient light of the environment where the user is located when the user has a meal can be adjusted, the appetite of the user is adjusted, the purpose of adjusting the health of the user is finally achieved, physical and mental health of the user is facilitated, and the use value and user experience of the intelligent lamp are improved.

Description

Method and device for adjusting light
Technical Field
The disclosure relates to the technical field of internet, in particular to a method and a device for adjusting lamplight.
Background
Generally, the fat or thinness of the human body affects the health of the human body to a certain extent. For example, excessive weight can have a range of adverse health effects. And the over-light weight is a symptom and a disease, and has various harms to the health of human bodies. It is clear that being too light in weight, like being obese, is not a healthy standard. It is a common way to control the health of a human body within a reasonable range by controlling the diet. Relying on human subjective awareness to control diet requires a strong willpower, which is semi-exhausted if not strong enough. How to influence the appetite of people by adjusting the objective environment of people and further control diet is a technical problem to be solved at present.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a method and an apparatus for adjusting light, so as to adjust the appetite of a user, and thus adjust the health of the user.
According to a first aspect of the embodiments of the present disclosure, there is provided a method of adjusting light, including:
determining a human index identifying a degree of human health;
determining light control parameters according to the human body index;
and sending the light control parameters to an intelligent lamp so that the intelligent lamp works according to the light control parameters.
In one embodiment, the determining the light control parameter according to the human body index includes:
inquiring a first preset list according to the human body index to obtain the color temperature belonging to the control parameter; the first preset list comprises a corresponding relation between the human body index and the color temperature.
In one embodiment, the determining a human index identifying a degree of human health comprises:
receiving a first light adjustment request sent by an intelligent lamp, wherein the first light adjustment request comprises: equipment identification of the intelligent lamp;
inquiring a second preset list according to the equipment identification of the intelligent lamp to obtain a user identification, wherein the second preset list comprises the corresponding relation between the equipment identification of the intelligent lamp and the user identification;
and inquiring a third preset list according to the user identification to obtain the human body index, wherein the third preset list comprises the corresponding relation between the user identification and the human body index.
In one embodiment, the sending the light control parameter to the smart lamp includes:
inquiring a fourth preset list based on the equipment identification of the intelligent lamp to obtain the position information of the intelligent lamp, wherein the fourth preset list comprises the corresponding relation between the equipment identification of the intelligent lamp and the position information;
and when the position information of the intelligent lamp is a preset dining position, the light control parameters are sent to the intelligent lamp corresponding to the equipment identifier.
In one embodiment, the method further comprises:
receiving human body information uploaded by different users; the human body information comprises a user identifier;
calculating a corresponding human body index according to the human body information corresponding to the user identification;
and updating the third preset list according to the user identification and the corresponding human body index.
In one embodiment, before sending the light control parameter to the smart lamp corresponding to the device identifier, the method further includes:
determining a current time at which the first light adjustment request is received;
and determining that the current time is within a preset dining time range.
In one embodiment, the determining a human index identifying a degree of human health comprises:
receiving a second light adjustment request sent by the user terminal, wherein the second light adjustment request comprises: the user identification and the equipment identification of the intelligent lamp;
inquiring a fifth preset list according to the user identification to obtain the human body index, wherein the fifth preset list comprises the corresponding relation between the user identification and the human body index;
with light control parameter sends intelligent lamp, include:
and sending the light control parameters to the corresponding intelligent lamp according to the equipment identification of the intelligent lamp.
In one embodiment, before sending the light control parameter to the corresponding intelligent lamp according to the device identifier of the intelligent lamp, the method further includes:
determining a current time at which the second light adjustment request is received;
and determining that the current time is within a preset dining time range.
In one embodiment, before sending the light control parameter to the smart lamp, the method further includes:
receiving user motion quantity uploaded by a wearable device;
adjusting the color temperature belonging to the light control parameter according to the user motion amount to obtain the adjusted color temperature;
with light control parameter sends intelligent lamp, include:
and sending the adjusted color temperature to the intelligent lamp.
In one embodiment, the adjusting the color temperature belonging to the light control parameter according to the user motion amount to obtain an adjusted color temperature includes:
inquiring a sixth preset list according to the user motion amount to obtain a color temperature regulating quantity, wherein the sixth preset list comprises the corresponding relation between the user motion amount and the color temperature regulating quantity;
and obtaining the adjusted color temperature according to the color temperature and the color temperature adjustment quantity.
According to a second aspect of embodiments of the present disclosure, there is provided a method of adjusting light, the method comprising:
receiving light control parameters; the light control parameters are determined by the server according to the human body index for marking the human body health degree;
and controlling the intelligent lamp to work according to the light control parameters.
According to a third aspect of the embodiments of the present disclosure, there is provided a device for adjusting light, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a device for adjusting light, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of the second aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the first aspect described above.
According to a sixth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of the second aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the server can determine the light control parameters for controlling the intelligent lamp according to the human body index for identifying the human body health degree, and sends the light control parameters to the intelligent lamp to control the intelligent lamp to emit light. Like this, control the intelligent lamp according to human body index and give out light, the ambient light of environment that the user was located when having a meal can be adjusted, and then adjusts user's appetite, finally reaches the healthy purpose of adjustment user, does benefit to user's physical and mental health, has promoted the use value and the user experience of intelligent lamp.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is an application scene diagram illustrating a method of adjusting light according to an exemplary embodiment.
Fig. 2 is a flowchart illustrating a method of adjusting light performed by the server 11 according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method of adjusting light performed by the smart lamp 12 according to an exemplary embodiment.
Fig. 4 to 5 are flowcharts illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment.
Fig. 6 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment.
Fig. 7A is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment.
Fig. 7B is an application scene diagram illustrating a method of adjusting light according to another exemplary embodiment.
Fig. 8 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment.
Fig. 9 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment.
Fig. 10 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment.
Fig. 11 is a block diagram illustrating an apparatus for adjusting light according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is an application scene diagram illustrating a method of adjusting light according to an exemplary embodiment. In the application scenario shown in fig. 1, the above-mentioned method for adjusting the light is implemented by the server 11, the smart lamp 12, and the detection device 13. The detection device 13 includes a communication module, and a user may set the communication module of the detection device 13 through the user terminal 14, so that the detection device 13 may communicate with the server 11 through a preset network. The detection means 13 may upload the detected body indices that may be used to determine the identity of the body health level to the server 11. Similarly, the intelligent lamp 12 also includes a communication module, and the user can set the intelligent lamp 12 through the user terminal 14, so that the intelligent lamp 12 can communicate with the server 11 through the preset network. However, if the detection device 13 can only detect part of the human body information for determining the human body index, the user terminal 14 is further required to upload the rest of the human body information, so that the server 11 can determine the human body index of the user after integrating the received information. In the embodiment of the present disclosure, the user terminal 14 may be a smart phone, a personal digital assistant, a wearable device such as a smart watch, a smart bracelet, or the like, and the communication module may be a wireless communication module such as a bluetooth module, a WIFI module, a Zigbee module, or the like.
Fig. 2 is a flowchart illustrating a method of adjusting light performed by the server 11 according to an exemplary embodiment, and fig. 3 is a flowchart illustrating a method of adjusting light performed by the smart lamp 12 according to an exemplary embodiment, where the method of adjusting light includes the following steps S201 to S203 and S301 to S302, as illustrated in fig. 2 and 3:
in step S201, a human body index identifying a degree of human health is determined.
In step S202, a light control parameter is determined according to the human body index.
In step S203, the light control parameter is sent to an intelligent lamp, so that the intelligent lamp operates according to the light control parameter.
In step S301, a light control parameter is received; the light control parameters are determined by the server according to a human body index identifying the human body health degree.
In step S302, the intelligent lamp is controlled to operate according to the light control parameter.
In an exemplary embodiment, the human Body Index for indicating the health degree of the human Body may be a BMI Index (i.e., Body Mass Index, abbreviated as Body Mass Index, and abbreviated as Body Mass Index, abbreviated as BMI) for indicating the fatness and thinness degree of the human Body. The BMI index is calculated according to the calculation formula of the BMI index by the weight of the user and the height of the user. Wherein the body index is equal to weight/(height)2. For an adult, the BMI index is related to the body's obesity, as shown in Table 1. If the above-mentioned detecting device 13 is a weighing scale, after the weighing scale sends the obtained user body to the server 11 again, the server 11 needs to calculate the body index of the user according to the height of the user uploaded through the user terminal 14.
In one exemplary embodiment, the body index identifying the degree of body health may be a body fat rate. The human body fat rate is the ratio of the human body fat content to the body weight. If the detecting device 13 is a human body fat scale, the human body index can be directly obtained by the human body fat scale and uploaded to the server 11. Of course, the body index is not limited to the BMI and the body fat percentage provided in the embodiment of the present disclosure, and may be other data that can identify the health degree of the human body in practical applications.
TABLE 1
Body fat and thin degree BMI index
Too light Less than 18.5
Is normal 18.5~23.9
Is too heavy 24~27
Obesity 28~32
Very obese Higher than 32
In an exemplary embodiment, the server 11 may determine the color temperature in the light control parameter according to the body index. In an exemplary embodiment, the server 11 stores a first preset list in advance, where the first preset list includes a corresponding relationship between the body index and the color temperature, and the server 11 may query the first preset list according to the body index to obtain the color temperature corresponding to the body index. In the first preset list, the color temperature may be positively correlated with a body index value, wherein a larger body index value indicates a fatter body. The unit of color temperature is kelvin (K). The larger the color temperature value, the colder the color tone, the lower the appetite of the person, and the smaller the color temperature value, the warmer the color tone, the better the appetite of the person. In an exemplary embodiment, the human body index is a BMI index, and the first preset list may be shown in table 2. Wherein a is the warmest color temperature, for example less than 3000K, b is greater than a, c is greater than b, d is greater than c, e is greater than d, e is the coldest color temperature, greater than 5000K. Wherein, the color temperature between a and e can be in a positive correlation with the BMI index, or in a linear relationship. If the BMI index of the user is lower than 18.5, the server 11 may determine that the corresponding color temperature is the warmest color temperature a according to table 2, and if the user is in an environment with the color temperature of the ambient light being a, the appetite of the user may be increased, and in the past, the weight of the user may be increased until the BMI index of the user indicates that the user is fat and thin to a normal extent.
In an embodiment, the server 11 may further receive human body information uploaded by different users, where the human body information includes a user identifier, and the human body information may be information of the above-mentioned weight, height, or the like, or information of the weight and the fat content of the human body. The server 11 may calculate a corresponding human body index according to the human body information corresponding to the user identifier. For example, the server 11 may calculate the body index of the user based on the body information of the same user according to the user identification. The server 11 may update the third preset list according to the user identifications of all the users and the corresponding body indexes. Therefore, the light can be adjusted according to the updated human body index of the user, and then the light can be adjusted according to the changed health degree of the user.
In one embodiment, the server 11 sends the light control parameter to the smart lamp 12, so that the smart lamp 12 operates according to the light control parameter, for example, the smart lamp 12 emits light with a color temperature corresponding to the human body index. After receiving the light control parameters sent by the server 11, the intelligent lamp 12 controls the intelligent lamp to emit light with a color temperature corresponding to the human body index according to the light control parameters. Therefore, the user is in the environment with the color temperature, the appetite of the user can be adjusted, the weight of the user is adjusted, the body index of the user is developed towards the normal direction, the physical and mental health of the user is facilitated, and the use value and the user experience of the intelligent lamp are improved.
TABLE 2
Color temperature BMI index
a Less than 18.5
b 18.5~23.9
c 24~27
d 28~32
e Higher than 32
In one exemplary embodiment, the smart light 12 described above may be an LED light. The LED lamp comprises a plurality of LED lamp beads, and the lamp beads can be divided into R lamp beads for emitting red light, G lamp beads for emitting green light and B lamp beads for emitting blue light. The LED lamp can control the light emitting proportion and the light emitting light intensity of three different lamp beads according to the light control parameters, so that the synthesized color temperature is the light of the color temperature in the light control parameters. The lighting control parameters can include the luminous proportions of three different lamp beads and the luminous intensity of the three different lamp beads.
In this embodiment, the server can confirm the light control parameter of controlling the intelligent lamp according to the human index of sign human health degree to send foretell light control parameter to the intelligent lamp, control the intelligent lamp and give out light. Like this, control the intelligent lamp according to human body index and give out light, the ambient light of environment that the user was located when having a meal can be adjusted, and then adjusts user's appetite, finally reaches the healthy purpose of adjustment user, does benefit to user's physical and mental health, has promoted the use value and the user experience of intelligent lamp.
Fig. 4 to 5 are flowcharts illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment. In addition to the embodiment shown in fig. 1, the step S201 includes the following steps S401 to S403, and the step S203 includes the following steps S501 to S502:
in step S401, a first light adjustment request sent by a smart lamp is received, where the first light adjustment request includes: equipment identification of the intelligent lamp.
In step S402, a second preset list is queried according to the device identifier of the intelligent lamp to obtain a user identifier, where the second preset list includes a correspondence between the device identifier of the intelligent lamp and the user identifier.
In step S403, a third preset list is queried according to the user identifier to obtain the human body index, where the third preset list includes a corresponding relationship between the user identifier and the human body index.
In step S501, a fourth preset list is queried based on the device identifier of the intelligent lamp to obtain the location information of the intelligent lamp, where the fourth preset list includes a corresponding relationship between the device identifier and the location information of the intelligent lamp;
in step S502, when the position information of the intelligent lamp is a preset dining position, the light control parameter is sent to the intelligent lamp corresponding to the device identifier.
In this embodiment, the user may send a first light adjustment request to the server 11 through the smart lamp 12. For example, after the user turns on the smart lamp 12, the smart lamp 12 sends a first light adjustment request to the server 11. Alternatively, the smart lamp 12 is provided with a trigger device for sending the first light adjustment request. And sending a first light adjustment request after the triggering device is triggered. Wherein the first light adjustment request includes the device identifier of the smart lamp 12. The device identification may uniquely identify the smart lamp. For example, the device identification may be a string of characters.
In this embodiment, after receiving the first light adjustment request sent by the intelligent lamp, the server 11 may query the second preset list according to the device identifier of the intelligent lamp, so as to obtain the user identifier. The second preset list includes a correspondence between the device identifier of the intelligent lamp and the user identifier, and the server 11 stores the second preset list in advance, and can specifically obtain the second preset list according to binding information sent by all users, where the binding information includes the device identifier of the intelligent lamp and the user identifier. Specifically, the server 11 may store the user identifiers in all the received binding information and the device identifiers of the smart lamps in a one-to-one correspondence manner, so as to obtain a second preset list. For example, the second preset list may be as shown in table 3. When the device identifier of the smart lamp in the first light adjustment request received by the server 11 is D0001, the corresponding user identifier may be obtained as U0001 by looking up table 3.
TABLE 3
Equipment identification of intelligent lamp User identification
D0001 U0001
D0002 U0002
D0003 U0003
In this embodiment, the server 11 may query a third preset list according to the user identifier to obtain the human body index. A third preset list is pre-stored in the server 11, and the third preset list includes a corresponding relationship between the user identifier and the human body index. The server 11 may obtain a third preset list according to the human body information uploaded by the user-side device (including the detection device 13 and the end user 14) for determining the human body index. The human body information carries a user identifier. For example, the third preset list may be as shown in table 4. When the user identifier received by the server 11 is U0001, the body index of 30 can be obtained by looking up table 4.
TABLE 4
User identification Index of human body
U0001 30
U0002 20
U0003 18
In this embodiment, the server 11 may query the fourth preset list based on the device identifier of the smart lamp, so as to obtain the location information of the smart lamp. A fourth preset list is prestored in the server 11, and the fourth preset list includes a correspondence between the device identifier of the intelligent lamp and the position information. The location information may be the location of the user's home, e.g. may be a kitchen, a living room, a bedroom, etc. The server 11 may determine the fourth preset list according to the binding information between the device identifier of the smart lamp and the location information sent by the user. For example, the fourth preset list may be as shown in table 5 below. When the device identifier of the smart lamp is D0001, the location information of the smart lamp D0001 can be obtained as the kitchen by referring to the table 5.
TABLE 5
Equipment identification of intelligent lamp Position information of intelligent lamp
D0001 Kitchen cabinet
D0002 Bedroom
D0003 Parlor
In this embodiment, the server 11 may send the light control parameter to the intelligent lamp corresponding to the device identifier when the position information of the intelligent lamp is the preset dining position. Wherein, the user can set the above-mentioned preset dining position through the terminal 14, for example, the kitchen can be set as the preset dining position. After the server 11 determines that the position information of the intelligent lamp 11 is the kitchen, the position information can be compared with a preset dining position, and after the kitchen is determined to be the preset dining position, the light control parameters can be sent to the intelligent lamp corresponding to the equipment identifier.
In this embodiment, can be at the position that the user used a meal according to the colour temperature of user's human body index control intelligence lamp transmission light, and then adjust the appetite of user in the dining environment, finally reach the healthy purpose of adjustment user, moreover, make the regulation light more have a pertinence and intellectuality.
Fig. 6 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment. In addition to the embodiments shown in fig. 1 and 4 to 5, the above step S502 further includes the following steps S601 to S602:
in step S601, a current time when the first light adjustment request is received is determined.
In step S602, it is determined that the current time is within a preset dining time range.
In this embodiment, the server 11 may further determine the time when the first light adjustment request is received as the current time. The server 11 determines whether the current time is within a dining time range preset by the user, and if the current time is within the dining time range preset by the user, the step S502 is performed, and when the position information of the intelligent lamp is determined to be the preset dining position, the light control parameter is sent to the intelligent lamp corresponding to the device identifier.
In this embodiment, can be in the time frame of having a dinner that the user set up, and at the position of having a dinner that the user set up, according to the colour temperature of user's human body index control intelligence lamp transmission light, and then the appetite of adjustment user in the environment of having a dinner finally reaches the purpose of adjusting the user health, simultaneously, further improves the pertinence and the intellectuality of adjusting light.
Fig. 7A is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment. Fig. 7B is an application scene diagram illustrating a method of adjusting light according to another exemplary embodiment. On the basis of the embodiment shown in fig. 1, the step S201 described above includes the following steps S701 to S702:
in step S701, a second light adjustment request sent by the user terminal is received, where the second light adjustment request includes: user identification and the equipment identification of intelligent lamp.
In step S702, a fifth preset list is queried according to the user identifier to obtain the human body index, where the fifth preset list includes a corresponding relationship between the user identifier and the human body index.
In the present embodiment, the user may upload the human body index or human body information required for determining the human body index through the user terminal 14. Also, the user may transmit the above-described second light adjustment request to the server 11 through an application installed on the user terminal 14. And the second light adjusting request comprises a user identifier and an equipment identifier of the intelligent lamp. The server 11 may query the fifth preset list according to the user identifier to obtain a corresponding body index. The manner of obtaining the human body index in this embodiment is similar to that in step S403, and is not described herein again.
In this embodiment, in step S203, the server 11 may send the light control parameter to the corresponding intelligent lamp according to the device identifier of the intelligent lamp.
In the embodiment, the user can directly send the light adjusting request for the selected intelligent lamp through the user terminal, and the server responds to the light adjusting request to adjust the light of the intelligent lamp selected by the user, so that the pertinence of light adjustment is improved.
Fig. 8 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment. In addition to the embodiments shown in fig. 1 and 7A, the above step S203 further includes the following steps S801 to S802:
in step S801, a current time at which the second light adjustment request is received is determined.
In step S802, it is determined that the current time is within a preset dining time range.
Steps S801 to S802 in this embodiment are similar to steps S601 to S602 shown in fig. 6, and are not repeated here.
In this embodiment, even if the user directly sends the light adjustment request for the selected intelligent lamp through the user terminal, the server may adjust the light of the intelligent lamp selected by the user after determining that the current time for receiving the light adjustment request is within the preset dining time range, thereby further improving the pertinence and the intellectualization of the light adjustment.
Fig. 9 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment. On the basis of the embodiment shown in fig. 1, the step S203 described above further includes the following steps S901 to S902:
in step S901, the user motion amount uploaded by the wearable device is received.
In step S902, the color temperature belonging to the light control parameter is adjusted according to the user movement amount, so as to obtain an adjusted color temperature.
In this embodiment, the user may also set the wearable device to connect the wearable device to the server 11. The wearable device may upload the user's quantity of motion to the server 11. The server 11 may adjust the color temperature in the light control parameter according to the user movement amount after receiving the user movement amount uploaded by the wearable device, so as to obtain an adjusted color temperature. For example, the larger the user's motion amount is, the larger the energy consumed by the user is, and the server 11 may appropriately reduce the color temperature based on the color temperature obtained from the body index to obtain the adjusted light control parameter. For another example, when the user's quantity of exercise is greater than the preset quantity of exercise, even if the color temperature obtained by the server 11 according to the body index is a cold color temperature, the server 11 may adjust the color temperature to a warm color temperature to promote appetite and ensure nutrition supply.
In this embodiment, the server 11 may send the adjusted color temperature to the smart lamp 12 to control the smart lamp 12 to emit light. Therefore, after the color temperature is determined according to the human body index, the color temperature is adjusted according to the user exercise amount, the color temperature of the light can be adjusted more reasonably, the appetite of the user can be adjusted reasonably, and the purpose of reasonably controlling the weight is finally achieved.
Fig. 10 is a flowchart illustrating a method of adjusting light performed by the server 11 according to another exemplary embodiment. On the basis of the embodiments shown in fig. 1 and 9, the step S902 may include the following steps S1001 to S1002:
in step S1001, a sixth preset list is queried according to the user motion amount to obtain a color temperature adjustment amount, where the sixth preset list includes a corresponding relationship between the user motion amount and the color temperature adjustment amount.
In step S1002, the adjusted color temperature is obtained according to the color temperature and the color temperature adjustment amount.
In this embodiment, the server 11 stores a sixth preset list in advance, where the sixth preset list includes a corresponding relationship between the user motion amount and the color temperature adjustment amount. In one exemplary embodiment, the sixth preset list may correspond to a color temperature adjustment amount of-500K when the user's quantity of motion is 1000 steps, as shown in Table 6.
In this embodiment, the server may query the sixth preset list according to the user motion amount to obtain the color temperature adjustment amount. For example, when the user's quantity of motion is 1000 steps, the server 11 may look up the table 6 to obtain a corresponding color temperature adjustment quantity of-500K.
In this embodiment, the server 11 may obtain the adjusted color temperature according to the color temperature determined based on the body index and the color temperature adjustment amount. For example, when the color temperature determined based on the human body index is 4500K, the user movement amount is 1000 steps, the server 11 looks up the table 6 to obtain the corresponding color temperature adjustment amount of-500K, and the server 11 adjusts the color temperature to 4500K by 500K, to obtain the adjusted color temperature of 4000K.
Of course, when the user's quantity of motion is greater than the preset quantity of motion, for example, the user's quantity of motion is 10000 steps, even if the color temperature obtained by the server 11 according to the human body index is a cold color temperature, for example, 5000K, the server 11 can also be adjusted to a warm color temperature of 3000K to promote appetite and ensure nutrition supply.
Therefore, according to the method for adjusting the light, provided by the embodiment of the disclosure, the server can determine the light control parameters for controlling the intelligent lamp according to the human body index for identifying the human body health degree, and send the light control parameters to the intelligent lamp to control the intelligent lamp to emit light. Like this, control the intelligent lamp according to human body index and give out light, the ambient light of environment that the user was located when having a meal can be adjusted, and then adjusts user's appetite, finally reaches the healthy purpose of adjustment user, does benefit to user's physical and mental health, has promoted the use value and the user experience of intelligent lamp.
TABLE 6
User exercise (step number) Amount of color temperature adjustment
1000 -500K
5000 -1000K
8000 -2000K
The embodiment of the present disclosure further provides a device for adjusting light, the device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method performed by the server 11 described above.
The embodiment of the present disclosure further provides a device for adjusting light, the device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method described above as being performed by the smart lamp 12.
The specific manner in which the processor performs the operations with respect to the apparatus in the above-described embodiment has been described in detail in relation to the embodiment of the method, and will not be elaborated upon here.
Fig. 11 is a block diagram illustrating an apparatus for adjusting light according to an exemplary embodiment. For example, the apparatus 1100 may be provided as a server. Referring to fig. 11, the apparatus 1100 includes a processing component 1122 that further includes one or more processors and memory resources, represented by memory 1132, for storing instructions, such as application programs, executable by the processing component 1122. The application programs stored in memory 1132 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1122 is configured to execute instructions to perform the above-described method for controlling the modulated light.
The apparatus 1100 may also include a power component 1126 configured to perform power management of the apparatus 1100, a wired or wireless network interface 1150 configured to connect the apparatus 1100 to a network, and an input/output (I/O) interface 1158. The apparatus 1100 may operate based on an operating system stored in the memory 1132, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as memory 1132 that includes instructions executable by processing component 1122 of apparatus 1100 to perform the methods described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method of adjusting light, the method comprising:
determining a human index identifying a degree of human health; the human body index is a human body fat rate or a BMI index indicating the degree of human body fat-lean;
determining light control parameters according to the human body index;
sending the light control parameters to an intelligent lamp so that the intelligent lamp works according to the light control parameters;
before will light control parameter sends intelligent lamp, still include:
receiving user motion quantity uploaded by a wearable device;
adjusting the color temperature belonging to the light control parameter according to the user motion amount to obtain the adjusted color temperature;
with light control parameter sends intelligent lamp, include:
and sending the adjusted color temperature to the intelligent lamp.
2. The method of claim 1, wherein determining a light control parameter based on the body index comprises:
inquiring a first preset list according to the human body index to obtain the color temperature belonging to the control parameter; the first preset list comprises a corresponding relation between the human body index and the color temperature.
3. The method of claim 1, wherein determining a human body index that identifies a degree of human health comprises:
receiving a first light adjustment request sent by an intelligent lamp, wherein the first light adjustment request comprises: equipment identification of the intelligent lamp;
inquiring a second preset list according to the equipment identification of the intelligent lamp to obtain a user identification, wherein the second preset list comprises the corresponding relation between the equipment identification of the intelligent lamp and the user identification;
and inquiring a third preset list according to the user identification to obtain the human body index, wherein the third preset list comprises the corresponding relation between the user identification and the human body index.
4. The method of claim 3, wherein sending the light control parameter to a smart light comprises:
inquiring a fourth preset list based on the equipment identification of the intelligent lamp to obtain the position information of the intelligent lamp, wherein the fourth preset list comprises the corresponding relation between the equipment identification of the intelligent lamp and the position information;
and when the position information of the intelligent lamp is a preset dining position, the light control parameters are sent to the intelligent lamp corresponding to the equipment identifier.
5. The method of claim 3, further comprising:
receiving human body information uploaded by different users; the human body information comprises a user identifier;
calculating a corresponding human body index according to the human body information corresponding to the user identification;
and updating the third preset list according to the user identification and the corresponding human body index.
6. The method of claim 4, wherein before sending the light control parameter to the smart light corresponding to the device identifier, further comprising:
determining a current time at which the first light adjustment request is received;
and determining that the current time is within a preset dining time range.
7. The method of claim 1, wherein determining a human body index that identifies a degree of human health comprises:
receiving a second light adjustment request sent by the user terminal, wherein the second light adjustment request comprises: the user identification and the equipment identification of the intelligent lamp;
inquiring a fifth preset list according to the user identification to obtain the human body index, wherein the fifth preset list comprises the corresponding relation between the user identification and the human body index;
with light control parameter sends intelligent lamp, include:
and sending the light control parameters to the corresponding intelligent lamp according to the equipment identification of the intelligent lamp.
8. The method of claim 7, wherein before sending the light control parameter to the corresponding smart lamp according to the device identifier of the smart lamp, further comprising:
determining a current time at which the second light adjustment request is received;
and determining that the current time is within a preset dining time range.
9. The method of claim 1, wherein said adjusting a color temperature belonging to said light control parameter according to said user motion amount, resulting in an adjusted color temperature, comprises:
inquiring a sixth preset list according to the user motion amount to obtain a color temperature regulating quantity, wherein the sixth preset list comprises the corresponding relation between the user motion amount and the color temperature regulating quantity;
and obtaining the adjusted color temperature according to the color temperature and the color temperature adjustment quantity.
10. A method of adjusting light, the method comprising:
receiving light control parameters; the light control parameters comprise adjusted color temperatures, the light control parameters are determined by a server according to a human body index for marking the health degree of a human body, and the adjusted color temperatures are obtained by adjusting the color temperatures belonging to the light control parameters by the server according to the amount of exercise of a user; the human body index is a human body fat rate or a BMI index indicating the degree of human body fat-lean;
and controlling the intelligent lamp to work according to the light control parameters.
11. An apparatus for adjusting light, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 9.
12. An apparatus for adjusting light, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of claim 10.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 9.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of claim 10.
CN201711340701.XA 2017-12-14 2017-12-14 Method and device for adjusting light Active CN108156732B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711340701.XA CN108156732B (en) 2017-12-14 2017-12-14 Method and device for adjusting light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711340701.XA CN108156732B (en) 2017-12-14 2017-12-14 Method and device for adjusting light

Publications (2)

Publication Number Publication Date
CN108156732A CN108156732A (en) 2018-06-12
CN108156732B true CN108156732B (en) 2020-03-17

Family

ID=62466116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711340701.XA Active CN108156732B (en) 2017-12-14 2017-12-14 Method and device for adjusting light

Country Status (1)

Country Link
CN (1) CN108156732B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711282A (en) * 2018-12-10 2019-05-03 北京小米移动软件有限公司 Light adjusting method and device
CN111240218B (en) * 2020-01-10 2023-01-24 Oppo广东移动通信有限公司 Equipment control method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540270A (en) * 2014-12-15 2015-04-22 欧普照明股份有限公司 Intelligent lighting system and intelligent lighting lamp with same
CN105631788A (en) * 2015-05-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Information processing methods, information processing apparatuses and information processing system
CN105792419A (en) * 2016-03-30 2016-07-20 北京小米移动软件有限公司 Method and device used for intelligently adjusting light
CN106462913A (en) * 2014-02-28 2017-02-22 戴尔斯生活有限责任公司 Systems, methods and articles for enhancing wellness associated with habitable environments
CN205992109U (en) * 2016-08-24 2017-03-01 广州视源电子科技股份有限公司 Changeable colour equipment, intelligent wearable device and intelligent jewelry
CN107340718A (en) * 2017-06-30 2017-11-10 北京小米移动软件有限公司 The method of adjustment and device of intelligent lamp parameter

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120077154A1 (en) * 2007-08-03 2012-03-29 Highet Danuta L Incrementally-sized standard-sized eating-ware system for weight management
US20110232577A1 (en) * 2010-03-23 2011-09-29 Michael Ryan Animal treatment pad utilizing narrow spectrum light
CN102213957A (en) * 2010-04-08 2011-10-12 上海薄荷信息科技有限公司 Control method, and device and system for providing virtual private sport coach
AU2014200829A1 (en) * 2013-02-15 2014-09-04 Papilio Solutions Pty Ltd A Method of Reducing Fatty Tissue on Selected Parts of the Body
TW201521832A (en) * 2013-12-13 2015-06-16 先進醫照股份有限公司 A guiding intermittent aerobic exercise system and method
EP3136826B1 (en) * 2014-04-21 2019-05-08 Sony Corporation Information processing device, information processing method and program
CA2977584C (en) * 2015-02-24 2024-03-05 Elira Therapeutics, Inc. Systems and methods for enabling appetite modulation and/or improving dietary compliance using an electro-dermal patch
CN104853496B (en) * 2015-05-21 2018-08-31 浙江农林大学 A kind of dining rooms the LED lamps and lanterns and method of regulation and control appetite
KR20160139960A (en) * 2015-05-29 2016-12-07 김영선 Obesity Management System based on World Wide Web

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106462913A (en) * 2014-02-28 2017-02-22 戴尔斯生活有限责任公司 Systems, methods and articles for enhancing wellness associated with habitable environments
CN104540270A (en) * 2014-12-15 2015-04-22 欧普照明股份有限公司 Intelligent lighting system and intelligent lighting lamp with same
CN105631788A (en) * 2015-05-27 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Information processing methods, information processing apparatuses and information processing system
CN105792419A (en) * 2016-03-30 2016-07-20 北京小米移动软件有限公司 Method and device used for intelligently adjusting light
CN205992109U (en) * 2016-08-24 2017-03-01 广州视源电子科技股份有限公司 Changeable colour equipment, intelligent wearable device and intelligent jewelry
CN107340718A (en) * 2017-06-30 2017-11-10 北京小米移动软件有限公司 The method of adjustment and device of intelligent lamp parameter

Also Published As

Publication number Publication date
CN108156732A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
US10584892B2 (en) Air-conditioning control method, air-conditioning control apparatus, and storage medium
US10563878B2 (en) Controlling temperature regulating device based on user's internal body temperature and skin temperature received from wearable devices
US11236918B2 (en) Air conditioner, and operation parameter recommendation method, system, and big data server for same
CN105792419B (en) Intelligence adjusts the method and device of light
CN108156732B (en) Method and device for adjusting light
CN109716869B (en) Method and controller for lighting control
JP2019528556A (en) Lighting control
CN110207334B (en) Control method and device of multi-split air conditioner, wire controller and storage medium
CN107439056A (en) Illumination control apparatus
CN109417843B (en) Apparatus and method for lighting control
JP7382947B2 (en) Equivalent melanopic lux (EML) quota
CN106716305A (en) Control of lighting
CN113375312A (en) Method, device and equipment for air conditioner control
CN109313459A (en) Light intensity control method, device, system, user terminal and computer-readable medium
CN110578961A (en) wall-mounted boiler control method, control equipment, wall-mounted boiler and computer storage medium
WO2016194320A1 (en) Illumination presentation system and program
US10243756B2 (en) Lighting control
US10735685B2 (en) Control method of presented information, control device of presented information, and speaker
CN112135400B (en) Illumination parameter adjustment method, illumination parameter adjustment device, illumination apparatus, and medium
CN107277994B (en) Intelligent lamp system based on temperature detection
KR20190048286A (en) Device and method for controlling lighting
WO2017119025A1 (en) Information terminal, control device, control method, and recording medium
CN108306798B (en) Intelligent equipment management method and device
CN206118146U (en) Sight device of adjusting luminance
CN113647200A (en) Dimming unit arranged to dim a light emitting diode, LED, based lighting device and corresponding method

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
GR01 Patent grant
GR01 Patent grant