CN110913538A - Desk lamp control method, system and device, desk lamp and desk lamp controller - Google Patents

Desk lamp control method, system and device, desk lamp and desk lamp controller Download PDF

Info

Publication number
CN110913538A
CN110913538A CN201911079763.9A CN201911079763A CN110913538A CN 110913538 A CN110913538 A CN 110913538A CN 201911079763 A CN201911079763 A CN 201911079763A CN 110913538 A CN110913538 A CN 110913538A
Authority
CN
China
Prior art keywords
desk lamp
data
target
state
adjustment
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
CN201911079763.9A
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.)
Guangzhou Berman Photoelectric Technology Co Ltd
Original Assignee
Guangzhou Berman Photoelectric Technology 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 Guangzhou Berman Photoelectric Technology Co Ltd filed Critical Guangzhou Berman Photoelectric Technology Co Ltd
Priority to CN201911079763.9A priority Critical patent/CN110913538A/en
Publication of CN110913538A publication Critical patent/CN110913538A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to a desk lamp control method, a system, a device, a desk lamp and a desk lamp controller, wherein the desk lamp control method analyzes a received data packet transmitted by a control device to obtain adjustment information, determines target adjustment data of the desk lamp according to the adjustment information, generates a control signal if the current working state of the desk lamp is not matched with the target adjustment data, and transmits the control signal to the desk lamp, so that the desk lamp can adjust the self operation model and the light-emitting parameters according to the control signal, functions which can be realized by the desk lamp are enriched, and the applicability of the desk lamp is improved.

Description

Desk lamp control method, system and device, desk lamp and desk lamp controller
Technical Field
The application relates to the technical field of desk lamps, in particular to a desk lamp control method, a desk lamp control system, a desk lamp control device, a desk lamp and a desk lamp controller.
Background
Along with the development of lighting technology, the function of desk lamp is abundant gradually, and the never single illumination function that can never regulate and control of desk lamp develops gradually except single illumination function, still can adjust the luminance or the colour temperature of desk lamp for the desk lamp can carry out corresponding illumination according to the demand of using the scene, has improved the suitability of desk lamp.
However, in the implementation process, the inventor finds that at least the following problems exist in the conventional technology: the current desk lamp has a single function and poor applicability.
Disclosure of Invention
In view of the above, it is desirable to provide a desk lamp control method, system, device, desk lamp and desk lamp controller capable of improving applicability of the desk lamp.
In order to achieve the above object, an embodiment of the present application provides a desk lamp control method, including the following steps:
receiving a data packet transmitted by the control equipment, and analyzing the data packet to obtain adjustment information;
determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state;
acquiring the current working state of the desk lamp, generating a control signal if the current working state is not matched with the target adjustment data, and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
In one embodiment, the step of determining target adjustment data based on the adjustment information comprises:
acquiring historical use data of the desk lamp, and performing statistical analysis on the historical use data to obtain work and rest time information for representing user behaviors;
and determining the on-off state of the target according to the work and rest time information.
In one embodiment, the step of determining target adjustment data based on the adjustment information comprises:
transmitting a first monitoring instruction to an electromagnetic wave sensor; the first monitoring instruction is used for indicating the electromagnetic wave sensor to monitor the electromagnetic waves of the environment where the desk lamp is located and feeding back a monitoring result;
and receiving a monitoring result, and determining the opening and closing state of the target according to the monitoring result.
In one embodiment, the adjustment information includes a preset on-off state and a corresponding state switching time;
the step of determining target adjustment data according to the adjustment information includes:
and determining a target opening and closing state based on the preset opening and closing state and the state switching time.
In one embodiment, the target lighting data includes target luminance data and target color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
transmitting a second sensing instruction to the light sensor; the second induction instruction is used for indicating the light inductor to induce and feed back the ambient brightness data and the ambient color temperature data of the environment where the desk lamp is located;
receiving ambient brightness data and ambient color temperature data; and determining target brightness data according to the environment brightness data, and determining target color temperature data according to the environment color temperature data.
In one embodiment, the target lighting data includes target luminance data and target color temperature data. The adjustment information includes initial brightness data and initial color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
the target luminance data is confirmed as the initial luminance data, and the target color temperature data is confirmed as the initial color temperature data.
The embodiment of the application provides a desk lamp control device, and the device includes:
the adjustment information acquisition module is used for receiving the data packet transmitted by the control equipment and analyzing the data packet to obtain adjustment information;
the target adjustment data determining module is used for determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state;
the control signal generation module is used for acquiring the current working state of the desk lamp, generating a control signal if the current working state is not matched with the target adjustment data, and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
The embodiment of the application provides a desk lamp controller, which comprises an optical inductor, an electromagnetic wave inductor and a control chip for connecting a desk lamp; the control chip is respectively connected with the light sensor and the electromagnetic wave sensor;
the control chip is used for executing the desk lamp control method in any one of the above embodiments.
The embodiment of the application provides a desk lamp, which comprises a light source and a desk lamp controller in any one of the embodiments; the light source is connected with the desk lamp controller.
The embodiment of the application provides a desk lamp control system, which comprises control equipment and a desk lamp in any one of the above embodiments;
the control equipment is connected with the desk lamp.
One of the above technical solutions has the following advantages and beneficial effects:
the received data packet transmitted by the control device is analyzed to obtain the adjustment information, the target adjustment data of the desk lamp is determined according to the adjustment information, if the current working state of the desk lamp is not matched with the target adjustment data, a control signal is generated and transmitted to the desk lamp, so that the desk lamp can be switched to the corresponding working state according to the control signal, the running model and the light-emitting parameters of the desk lamp are adjusted, functions which can be realized by the desk lamp are enriched, and the applicability of the desk lamp is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a schematic flow chart diagram of a method for controlling a desk lamp according to one embodiment;
FIG. 2 is a first flowchart of the target adjustment data determination step in one embodiment;
FIG. 3 is a second flowchart of the target adjustment data determination step in one embodiment;
FIG. 4 is a third flowchart of the target adjustment data determination step in one embodiment;
FIG. 5 is a block diagram of a schematic configuration of a desk lamp controller in one embodiment;
FIG. 6 is a block diagram of a schematic configuration of a desk lamp in one embodiment;
FIG. 7 is a block diagram showing a schematic configuration of a desk lamp control system according to an embodiment;
FIG. 8 is a block diagram of a desk lamp control device according to an embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are shown in the drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element and be integral therewith, or intervening elements may also be present.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a table lamp control method, including the steps of:
and step 110, receiving the data packet transmitted by the control equipment, and analyzing the data packet to obtain the adjustment information.
Specifically, the desk lamp control method provided by the application can be applied to a control chip. When a user needs to control the desk lamp, corresponding adjustment items can be adjusted on the control device, and the adjustment items can include, but are not limited to, brightness, color temperature and/or operation modes, where the operation modes can include, but are not limited to, an on-off mode and/or a light-emitting mode, and the like.
The control chip can be directly connected with the control device, the control chip can be electrically connected with the control device, or the control chip can be in short-distance communication connection with the control device, for example, the control chip can be connected through Bluetooth, connected through infrared rays or connected through ZigBee (Violet protocol) and the like, so that the control chip can be in direct communication with the control device and directly receive data packets transmitted by the control device. Meanwhile, the control chip can be indirectly connected with the control equipment, for example, the control chip can receive a data packet transmitted by the control equipment through a server, so that remote control can be realized.
And when receiving the data packet transmitted by the control equipment, analyzing the received data packet and obtaining the adjustment information. The adjustment information is the state corresponding to each adjustment item. For example, if the user switches the operation mode of the desk lamp to the operation mode 1 on the control device and adjusts the lighting parameter to a specific value, the adjustment information obtained by the control chip includes the state corresponding to the operation mode and the specific value of the lighting parameter.
Step 120, determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state.
The target adjustment data may include target lighting data and/or a target on-off state.
Specifically, the state of each adjustment item can be determined according to the adjustment information, and the target lighting data and/or the target on-off state of the desk lamp can be determined according to the state of each adjustment item. For example, when the model 1 is operated, the desk lamp needs to emit light according to the light emitting parameters input by the user on the control device; the control chip can determine the operation model selected by the user and the light-emitting parameters input by the user through the adjustment information. The control chip may set the target lighting data as the lighting data input by the user according to the operation rule corresponding to the operation mode 1, that is, the operation rule that lighting needs to be performed according to the lighting parameter input by the user. Furthermore, the target opening and closing state can be adjusted to be an opening state.
Step 130, acquiring the current working state of the desk lamp, generating a control signal if the current working state is not matched with the target adjustment data, and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
The current working state of the desk lamp can comprise the current light-emitting parameters of the desk lamp, the current on-off state of the desk lamp and/or the current working state of each auxiliary device in the desk lamp; the auxiliary device of the desk lamp may include, but is not limited to, an electromagnetic wave sensor and/or a light sensor. It should be noted that the table lamp may only include a light source without an auxiliary device, and the present application does not limit the controlled object, and the table lamp control method of the present application may control various types of table lamps.
Specifically, the target adjustment data and the current working state of the desk lamp are matched according to a preset matching rule, and further, each state in the target adjustment data can be matched with a corresponding state item in the current working state; the specific state in the target adjustment data can also be matched with the corresponding state item in the current working state. It should be noted that the number of specific states may be one or more.
For example, the target adjustment data may include target lighting data and a target on-off state, the current working state of the desk lamp may include a current lighting parameter and a current on-off state, and when matching is performed, only the target lighting data may be compared with the current lighting parameter, but the target on-off state and the current on-off state are not compared; or the target light-emitting data can be compared with the current light-emitting parameters, and the target on-off state can be compared with the current on-off state.
Specifically, when the target adjustment data is not equal to the current working state, it may be determined that the target adjustment data is not matched with the current working state; or when the difference value between the target adjustment data and the current working state is greater than a preset threshold value, determining that the target adjustment data is not matched with the current working state; or when the quotient of the target adjustment data and the current working state is greater than a preset threshold, the target adjustment data and the current working state can be determined not to be matched. It should be noted that the matching rule can be determined according to the actual situation and the design requirement.
If the target adjustment data are not matched with the current working state, generating a control signal and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to switch to a corresponding working state, for example, the desk lamp can adjust the brightness or color temperature of the light. Further, the control signal can also be used for indicating the auxiliary device of the desk lamp to switch the working state.
According to the method and the device, the target adjustment data are matched with the current working state, and when the target adjustment data are not matched with the current working state, the control signal transmitted to the desk lamp is generated, so that the control precision can be adjusted according to different application scenes, and the applicability of the desk lamp is improved; meanwhile, the generation and transmission times of the control signals can be reduced, so that the control chip can process more data packets, and the response timeliness is improved.
According to the table lamp control method, the received data packet transmitted by the control device is analyzed to obtain the adjustment information, the target adjustment data of the table lamp is determined according to the adjustment information, if the current working state of the table lamp is not matched with the target adjustment data, the control signal is generated and transmitted to the table lamp, so that the table lamp can be switched to the corresponding working state according to the control signal, the running model and the light-emitting parameters of the table lamp are adjusted, functions which can be realized by the table lamp are enriched, and the applicability of the table lamp is improved.
In one embodiment, as shown in fig. 2, the step of determining target adjustment data according to the adjustment information includes:
step 210, obtaining historical use data of the desk lamp, and performing statistical analysis on the historical use data to obtain work and rest time information for representing user behaviors;
and step 220, determining the starting and stopping state of the target according to the work and rest time information.
Specifically, the historical usage data of the desk lamp may include the working state of the desk lamp at each time, or the switching time when the desk lamp switches the working state and the working states respectively corresponding to the time before and after the switching. Through statistical analysis of historical use data of the desk lamp, work and rest time information of a user can be obtained, and behavior rules of the user can be known. Further, the work and rest time information may include an average getting up time, an average sleeping time, an average afternoon nap time, and/or a light-on time of the user, and the like.
Specifically, the statistical analysis of the historical usage data may be, but is not limited to, an averaging process of the historical usage data, a processing of the historical usage data using a neural network model, or the like. When the work and rest time information is obtained, the target on-off state of the table lamp at the current moment can be determined according to the work and rest time information. For example, the average time of getting up of the user is 7 o 'clock 04 minutes in the morning, and if the current time is 7 o' clock 04 minutes, the target on-off state can be confirmed as the on state. Furthermore, the control chip can also have a memory function, and after the user uses the desk lamp for a period of time, the control chip can remember the work and rest time information of the user and automatically adjust the switch of the desk lamp according to the work and rest time information.
According to the application, the historical use data of the desk lamp are obtained, the historical use data are subjected to statistical analysis, the work and rest time information used for representing user behaviors is obtained, the target opening and closing state of the current moment is determined according to the work and rest time information, the work and rest time information of a user can be obtained according to the historical use data, the target opening and closing state of the current moment is automatically adjusted according to the work and rest time information, functions which can be achieved by the desk lamp are enriched, and the applicability of the desk lamp is improved.
In one embodiment, as shown in fig. 3, the step of determining target adjustment data according to the adjustment information includes:
step 310, transmitting a first monitoring instruction to an electromagnetic wave sensor; the first monitoring instruction is used for indicating the electromagnetic wave sensor to monitor the electromagnetic waves of the environment where the desk lamp is located and feeding back a monitoring result;
and 320, receiving the monitoring result, and determining the opening and closing state of the target according to the monitoring result.
Specifically, the control chip can transmit a first monitoring instruction to the electromagnetic wave sensor so that the electromagnetic wave sensor is in an on state, the electromagnetic wave sensor monitors electromagnetic waves of the environment where the desk lamp is located to obtain a monitoring result, and the monitoring result is fed back to the control chip. The control chip receives a monitoring result transmitted by the electromagnetic wave sensor, judges whether a person exists in a preset distance according to the monitoring result, and confirms the opening and closing state of a target as an opening state if the person exists; and if no person exists, confirming the target opening and closing state as a closing state.
Further, the electromagnetic wave sensor may be an infrared sensor or a microwave sensor; the preset distance can be 2 meters, namely, the automatic induction light-on of a person within the range of 2 meters can be realized.
This application is through transmitting first monitoring instruction to the electromagnetic wave inductor to make the electromagnetic wave inductor monitor and feed back the monitoring result to the electromagnetic wave of desk lamp environment, and receive the monitoring result of electromagnetic wave inductor transmission, and confirm the target according to the monitoring result and open and close the state, thereby can realize that "the people is bright at the lamp", has richened the function that the desk lamp can realize, and has improved the suitability of desk lamp.
In one embodiment, the adjustment information includes a preset on-off state and a corresponding state switching time;
the step of determining target adjustment data according to the adjustment information includes:
and determining a target opening and closing state based on the preset opening and closing state and the state switching time.
Specifically, the control chip receives a preset on-off state transmitted by the control device and a corresponding state switching moment, and if the current moment is matched with the state switching moment, the target on-off state at the current moment is determined as the preset on-off state. Further, the control chip can also receive a preset opening and closing state and the corresponding state duration, and obtain the state switching time corresponding to the preset opening and closing state according to the state duration.
For example, the preset on-off state that the control chip can receive is the off state, the corresponding state switching time is 22 points and 36 points, when the 22 points and 36 points come, the target on-off state is determined as the off state, and if the current working state of the desk lamp is the off state at this time, no control signal is generated; and if the current working state of the desk lamp is the opening state, generating a control signal to close the desk lamp. Or the preset on-off state received by the control chip is an on state, the state duration is 10 minutes, and the target on-off state can be switched to an off state after the control chip lights the desk lamp for 10 minutes. Or the preset on-off state received by the control chip is an on state, the state switching time is 7 point 04 minutes, the state duration is 10 minutes, when the 7 point 04 minute comes, the target on-off state is determined to be the on state, and the desk lamp is lightened; when the point 7 and the point 14 come, the target on-off state is determined to be the off state, and the desk lamp is turned off.
For another example, the user may set the work and rest time information in the control device, and the control chip receives the data packet transmitted by the control chip and obtains the work and rest time information input by the user. The control chip determines the target on-off state at the current moment according to the work and rest time information input by the user, so that the on-off state of the desk lamp can be adjusted.
This application is through receiving the state of opening and close of presetting of controlgear transmission and the state switching moment of opening and close the state corresponding to presetting to according to the target state of opening and close of presetting opening and close state and state switching moment definite current moment, make the desk lamp can realize time switch, thereby richened the function that the desk lamp can realize, and improved the suitability of desk lamp.
In one embodiment, as shown in fig. 4, the target lighting data includes target luminance data and target color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
step 410, transmitting a second sensing instruction to the light sensor; the second induction instruction is used for indicating the light inductor to induce and feed back the ambient brightness data and the ambient color temperature data of the environment where the desk lamp is located;
step 420, receiving the ambient brightness data and the ambient color temperature data; and determining target brightness data according to the environment brightness data, and determining target color temperature data according to the environment color temperature data.
Specifically, a second monitoring instruction is transmitted to the light wave sensor, so that the light sensor is in a turned-on state, the light sensor senses the ambient brightness and the ambient color temperature of the environment where the desk lamp is located, changes of daily light can be captured, and ambient brightness data and ambient color temperature data obtained through sensing are fed back to the control chip. The control chip determines target brightness data according to the received environment brightness data and determines target color temperature data according to the received environment color temperature data.
It should be noted that, when the control chip receives the ambient brightness data and the ambient color temperature data, the target brightness data may be determined only according to the ambient brightness data, and the target color temperature data is not adjusted; or determining the target color temperature data only according to the environment color temperature data without adjusting the target brightness data. Further, the regulation range of the brightness is 500lm (lumens) to 2000 lm; the color temperature adjustment range is 1700k (kelvin) to 6500 k.
This application accessible light sensor catches the change of ambient light to transmit the ambient brightness data and the ambient color temperature data of ambient light for control chip, control chip confirms target brightness data and target color temperature data according to ambient brightness data and ambient color temperature data again, makes the desk lamp can realize required luminance and colour temperature.
In one embodiment, the target lighting data includes target luminance data and target color temperature data. The adjustment information includes initial brightness data and initial color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
the target luminance data is confirmed as the initial luminance data, and the target color temperature data is confirmed as the initial color temperature data.
Specifically, when the initial brightness data and the initial color temperature data transmitted by the control device are obtained, the initial brightness data can be confirmed as target brightness data, and the initial color temperature data can be confirmed as target color temperature data, so that a user can set corresponding brightness and color temperature through the control device, the brightness and the color temperature of the desk lamp can be customized according to the user requirements, and the applicability of the desk lamp is improved.
Further, the regulation range of the brightness is 500lm (lumens) to 2000 lm; the color temperature adjustment range is 1700k (kelvin) to 6500 k.
It should be understood that although the various steps in the flow charts of fig. 1-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a desk lamp controller based on the desk lamp control method in any one of the above embodiments, including an optical sensor, an electromagnetic wave sensor and a control chip for connecting a desk lamp; the control chip is respectively connected with the light sensor and the electromagnetic wave sensor;
the control chip is used for executing the desk lamp control method in any one of the embodiments.
Specifically, the control Chip may be an IC Chip (Integrated Circuit Chip). The control chip is respectively connected with the light sensor and the electromagnetic wave sensor, so that power can be supplied to the light sensor and the electromagnetic wave sensor respectively, the first monitoring instruction is transmitted to the electromagnetic wave sensor, and the second monitoring instruction is transmitted to the light sensor.
In one embodiment, as shown in fig. 6, there is provided a desk lamp, including a light source and a desk lamp controller in any one of the above embodiments; the light source is connected with the desk lamp controller.
Specifically, the desk lamp can be charged through wired or wireless connection, and when the desk lamp is charged wirelessly, the transmission frequency is 3Hz (Hertz) to 6Hz through the direct wave technology, so that wireless charging within a range of 60 meters in diameter can be realized.
Further, the desk lamp can also comprise a communication module; the communication module is connected with the desk lamp controller. The desk lamp controller is connected with the communication module, so that the desk lamp controller can be in communication connection with the control device. Further, the communication module may support a 5G (5th Generation Mobile Networks, fifth Generation Mobile communication technology) communication system.
In one embodiment, as shown in fig. 7, there is provided a desk lamp control system, including a control device, and a desk lamp in any one of the above embodiments;
the control equipment is connected with the desk lamp.
In particular, the control device may be, but is not limited to, various personal computers, laptops, smartphones, tablets, portable wearable devices, Augmented Reality (AR) devices, and Virtual Reality (VR) devices. The control device can be provided with a corresponding control APP (Application), and a user can control the desk lamp and set the functions of the desk lamp by operating on the APP, for example, the brightness and the color temperature of the desk lamp can be set and adjusted according to the color temperature in the daytime.
In one embodiment, the desk lamp control system may further include a cloud server and a background server; the cloud server is respectively connected with the background server and the desk lamp.
Specifically, the desk lamp is connected with the background server through the cloud server, so that the background server can monitor the working state of the desk lamp, and whether the desk lamp works normally or not is judged remotely. Furthermore, the cloud server can be connected with the control device, and the control device can transmit the data packet to the desk lamp through the cloud server.
In one embodiment, as shown in fig. 8, there is provided a table lamp control device including: the device comprises an adjustment information acquisition module, a target adjustment data determination module and a control signal generation module, wherein:
an adjustment information obtaining module 810, configured to receive a data packet transmitted by the control device, and analyze the data packet to obtain adjustment information;
a target adjustment data determination module 820 for determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state;
the control signal generation module 830 is configured to obtain a current working state of the desk lamp, generate a control signal if the current working state is not matched with the target adjustment data, and transmit the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
In one embodiment, the target adjustment data determination module includes:
the work and rest time information acquisition unit is used for acquiring historical use data of the desk lamp and performing statistical analysis on the historical use data to obtain work and rest time information used for representing user behaviors;
and the first target opening and closing state determining unit is used for determining the target opening and closing state according to the work and rest time information.
In one embodiment, the target adjustment data determination module includes:
the first monitoring instruction transmission unit is used for transmitting a first monitoring instruction to the electromagnetic wave sensor; the first monitoring instruction is used for indicating the electromagnetic wave sensor to monitor the electromagnetic waves of the environment where the desk lamp is located and feeding back a monitoring result;
and the second target opening and closing state determining unit is used for receiving the monitoring result and determining the target opening and closing state according to the monitoring result.
In one embodiment, the adjustment information includes a preset on-off state and a corresponding state switching time;
the target adjustment data determination module includes:
and the third target opening and closing state determining unit is used for determining a target opening and closing state based on the preset opening and closing state and the state switching time.
In one embodiment, the target lighting data includes target luminance data and target color temperature data; the target adjustment data determination module further includes:
the second monitoring instruction transmission unit is used for transmitting a second sensing instruction to the light sensor; the second induction instruction is used for indicating the light inductor to induce and feed back the ambient brightness data and the ambient color temperature data of the environment where the desk lamp is located;
a first light emission data determining unit for receiving the ambient brightness data and the ambient color temperature data; and determining target brightness data according to the environment brightness data, and determining target color temperature data according to the environment color temperature data.
In one embodiment, the target lighting data includes target luminance data and target color temperature data; the adjustment information includes initial brightness data and initial color temperature data; the target adjustment data determination module further includes:
and a second light emission data determining unit for confirming the target luminance data as the initial luminance data and confirming the target color temperature data as the initial color temperature data.
For specific limitations of the desk lamp control device, reference may be made to the above limitations of the desk lamp control method, and details are not repeated here. All or part of each module in the desk lamp control device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing adjustment information, target adjustment data and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a table lamp control method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
receiving a data packet transmitted by the control equipment, and analyzing the data packet to obtain adjustment information;
determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state;
acquiring the current working state of the desk lamp, generating a control signal if the current working state is not matched with the target adjustment data, and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the step of determining target adjustment data according to the adjustment information includes:
acquiring historical use data of the desk lamp, and performing statistical analysis on the historical use data to obtain work and rest time information for representing user behaviors;
and determining the on-off state of the target according to the work and rest time information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the step of determining target adjustment data according to the adjustment information includes:
transmitting a first monitoring instruction to an electromagnetic wave sensor; the first monitoring instruction is used for indicating the electromagnetic wave sensor to monitor the electromagnetic waves of the environment where the desk lamp is located and feeding back a monitoring result;
and receiving a monitoring result, and determining the opening and closing state of the target according to the monitoring result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the adjustment information comprises a preset on-off state and a corresponding state switching moment;
the step of determining target adjustment data according to the adjustment information includes:
and determining a target opening and closing state based on the preset opening and closing state and the state switching time.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the target lighting data includes target luminance data and target color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
transmitting a second sensing instruction to the light sensor; the second induction instruction is used for indicating the light inductor to induce and feed back the ambient brightness data and the ambient color temperature data of the environment where the desk lamp is located;
receiving ambient brightness data and ambient color temperature data; and determining target brightness data according to the environment brightness data, and determining target color temperature data according to the environment color temperature data.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the target lighting data includes target luminance data and target color temperature data; the adjustment information includes initial brightness data and initial color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
the target luminance data is confirmed as the initial luminance data, and the target color temperature data is confirmed as the initial color temperature data.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving a data packet transmitted by the control equipment, and analyzing the data packet to obtain adjustment information;
determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state;
acquiring the current working state of the desk lamp, generating a control signal if the current working state is not matched with the target adjustment data, and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of determining target adjustment data according to the adjustment information includes:
acquiring historical use data of the desk lamp, and performing statistical analysis on the historical use data to obtain work and rest time information for representing user behaviors;
and determining the on-off state of the target according to the work and rest time information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of determining target adjustment data according to the adjustment information includes:
transmitting a first monitoring instruction to an electromagnetic wave sensor; the first monitoring instruction is used for indicating the electromagnetic wave sensor to monitor the electromagnetic waves of the environment where the desk lamp is located and feeding back a monitoring result;
and receiving a monitoring result, and determining the opening and closing state of the target according to the monitoring result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the adjustment information comprises a preset on-off state and a corresponding state switching moment;
the step of determining target adjustment data according to the adjustment information includes:
and determining a target opening and closing state based on the preset opening and closing state and the state switching time.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the target lighting data includes target luminance data and target color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
transmitting a second sensing instruction to the light sensor; the second induction instruction is used for indicating the light inductor to induce and feed back the ambient brightness data and the ambient color temperature data of the environment where the desk lamp is located;
receiving ambient brightness data and ambient color temperature data; and determining target brightness data according to the environment brightness data, and determining target color temperature data according to the environment color temperature data.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the target lighting data includes target luminance data and target color temperature data; the adjustment information includes initial brightness data and initial color temperature data;
the step of determining target adjustment data according to the adjustment information further includes:
the target luminance data is confirmed as the initial luminance data, and the target color temperature data is confirmed as the initial color temperature data.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A desk lamp control method is characterized by comprising the following steps:
receiving a data packet transmitted by control equipment, and analyzing the data packet to obtain adjustment information;
determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state;
acquiring the current working state of the desk lamp, generating a control signal if the current working state is not matched with the target adjustment data, and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
2. The desk lamp control method of claim 1, wherein the step of determining target adjustment data based on the adjustment information comprises:
acquiring historical use data of the desk lamp, and performing statistical analysis on the historical use data to obtain work and rest time information for representing user behaviors;
and determining the opening and closing state of the target according to the work and rest time information.
3. The desk lamp control method of claim 1, wherein the step of determining target adjustment data based on the adjustment information comprises:
transmitting a first monitoring instruction to an electromagnetic wave sensor; the first monitoring instruction is used for indicating the electromagnetic wave sensor to monitor the electromagnetic waves of the environment where the desk lamp is located and feeding back a monitoring result;
and receiving the monitoring result, and determining the opening and closing state of the target according to the monitoring result.
4. The desk lamp control method according to claim 1, wherein the adjustment information includes a preset on-off state and a corresponding state switching time;
the step of determining target adjustment data according to the adjustment information includes:
and determining the target opening and closing state based on the preset opening and closing state and the state switching time.
5. The desk lamp control method according to any one of claims 1 to 4, wherein the target lighting data includes target luminance data and target color temperature data;
determining target adjustment data according to the adjustment information, further comprising:
transmitting a second sensing instruction to the light sensor; the second induction instruction is used for indicating the light inductor to induce and feed back the ambient brightness data and the ambient color temperature data of the environment where the desk lamp is located;
receiving the ambient brightness data and the ambient color temperature data; and determining the target brightness data according to the environment brightness data, and determining the target color temperature data according to the environment color temperature data.
6. The desk lamp control method according to any one of claims 1 to 4, wherein the target lighting data includes target luminance data and target color temperature data; the adjustment information includes initial brightness data and initial color temperature data;
determining target adjustment data according to the adjustment information, further comprising:
and confirming the target brightness data as the initial brightness data, and confirming the target color temperature data as the initial color temperature data.
7. A desk lamp control device, the device comprising:
the adjustment information acquisition module is used for receiving a data packet transmitted by the control equipment and analyzing the data packet to obtain adjustment information;
the target adjustment data determining module is used for determining target adjustment data according to the adjustment information; the target adjustment data at least comprises target luminous data or a target on-off state;
the control signal generation module is used for acquiring the current working state of the desk lamp, generating a control signal if the current working state is not matched with the target adjustment data, and transmitting the control signal to the desk lamp; the control signal is used for indicating the desk lamp to be switched to a corresponding working state.
8. A desk lamp controller is characterized by comprising an optical sensor, an electromagnetic wave sensor and a control chip for connecting a desk lamp; the control chip is respectively connected with the light sensor and the electromagnetic wave sensor;
the control chip is used for executing the table lamp control method of any one of claims 1 to 6.
9. A desk lamp comprising a light source, and a desk lamp controller as claimed in claim 8; the light source is connected with the desk lamp controller.
10. A desk lamp control system comprising a control device, and a desk lamp as claimed in claim 9;
the control equipment is connected with the desk lamp.
CN201911079763.9A 2019-11-07 2019-11-07 Desk lamp control method, system and device, desk lamp and desk lamp controller Pending CN110913538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911079763.9A CN110913538A (en) 2019-11-07 2019-11-07 Desk lamp control method, system and device, desk lamp and desk lamp controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911079763.9A CN110913538A (en) 2019-11-07 2019-11-07 Desk lamp control method, system and device, desk lamp and desk lamp controller

Publications (1)

Publication Number Publication Date
CN110913538A true CN110913538A (en) 2020-03-24

Family

ID=69816426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911079763.9A Pending CN110913538A (en) 2019-11-07 2019-11-07 Desk lamp control method, system and device, desk lamp and desk lamp controller

Country Status (1)

Country Link
CN (1) CN110913538A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126885A (en) * 2020-03-31 2020-05-08 深圳市朝阳辉电气设备有限公司 Intelligent power utilization scheduling method and system based on Internet of things
CN112188709A (en) * 2020-10-10 2021-01-05 深圳创维-Rgb电子有限公司 Illumination control method, illumination device and desk lamp
CN113766707A (en) * 2021-04-30 2021-12-07 北京字节跳动网络技术有限公司 Method and device for adjusting illumination parameters of table lamp, electronic equipment and storage medium
CN113766705A (en) * 2021-04-30 2021-12-07 北京字节跳动网络技术有限公司 Method and device for adjusting illumination parameters of table lamp, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6453987A (en) * 1987-08-25 1989-03-01 Konishiroku Photo Ind Recording sheet conveyor for image recorder
CN104735878A (en) * 2015-03-25 2015-06-24 欧普照明股份有限公司 Wearable illumination lamp control device and illumination lamp control system
CN109451881A (en) * 2018-05-31 2019-03-08 深圳市蚂蚁雄兵物联技术有限公司 Intelligent lighting unit and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6453987A (en) * 1987-08-25 1989-03-01 Konishiroku Photo Ind Recording sheet conveyor for image recorder
CN104735878A (en) * 2015-03-25 2015-06-24 欧普照明股份有限公司 Wearable illumination lamp control device and illumination lamp control system
CN109451881A (en) * 2018-05-31 2019-03-08 深圳市蚂蚁雄兵物联技术有限公司 Intelligent lighting unit and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126885A (en) * 2020-03-31 2020-05-08 深圳市朝阳辉电气设备有限公司 Intelligent power utilization scheduling method and system based on Internet of things
CN111126885B (en) * 2020-03-31 2020-07-07 深圳市朝阳辉电气设备有限公司 Intelligent power utilization scheduling method and system based on Internet of things
CN112188709A (en) * 2020-10-10 2021-01-05 深圳创维-Rgb电子有限公司 Illumination control method, illumination device and desk lamp
CN113766707A (en) * 2021-04-30 2021-12-07 北京字节跳动网络技术有限公司 Method and device for adjusting illumination parameters of table lamp, electronic equipment and storage medium
CN113766705A (en) * 2021-04-30 2021-12-07 北京字节跳动网络技术有限公司 Method and device for adjusting illumination parameters of table lamp, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110913538A (en) Desk lamp control method, system and device, desk lamp and desk lamp controller
EP3504937B1 (en) Illumination control
US9119240B2 (en) Lighting control system
US10143066B2 (en) Sensor with wireless device for controlling a light source
US9832848B2 (en) Lighting system and method for controlling lighting system
US9474131B2 (en) Lighting device, lighting system and wearable device having image processor
US9642224B2 (en) Illumination controller and luminaire control method
EP3485703B1 (en) Illumination control with undo option
US20160234906A1 (en) Lighting system and method for controlling lighting system
CN106647295B (en) Smart home system and cooperative operation method thereof
JP2022173297A (en) Device state notification control device, device state notification system, device state notification method, and program
JP7186369B2 (en) lighting equipment
CN112543539A (en) Switch, electronic device control system, switch control method, and storage medium
US20150138433A1 (en) Illumination Control System and Illumination Control Method
KR20180054106A (en) Method of operating smart lighting system
CN106163058A (en) Intelligent illumination control device and illumination control method
CN106061073A (en) Method, device and system for adjusting light in environment
KR101512551B1 (en) Controlling Device of LED light
CN104619082A (en) Brightness adjusting method, LED lighting device and lighting system
EP3876211A1 (en) Selecting a light source for activation based on a type and/or probability of human presence
EP2911481B1 (en) Method and device for calibrating a dimmer controller
CN106410529B (en) Intelligent socket control method and device
US20210014952A1 (en) System and method for automated light level and daylight harvesting calibration using mobile handheld devices
CN112767894B (en) Brightness sensing method and device and brightness sensing unit
CN111816128B (en) Remote controller, control method and device thereof, and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200324

RJ01 Rejection of invention patent application after publication