A method and device for adaptively controlling power consumption of track lights based on optical sensing

Through the adaptive control method of track lamp power consumption based on optical sensing, the lighting of track lamps is automatically adjusted, which solves the problem that existing track lamps cannot intelligently adjust power consumption, and achieves efficient power consumption control in different light environments.

CN116887484BActive Publication Date: 2025-04-08FOSHAN CRAFTSMAN LIGHT HEALTH LIGHTING TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310843357.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-10
Publication Date
2025-04-08
Estimated Expiration
2043-07-10

AI Technical Summary

Technical Problem

Existing track lights cannot automatically adjust lighting intelligently according to ambient lighting conditions, resulting in power consumption being unable to be effectively controlled.

Method used

Adaptive control method for power consumption of track lamps based on optical sensing is adopted. By detecting light intensity data, the lamp group is automatically turned on or off, and switched to other lamp groups when the working time of the lamp group exceeds the set time to reduce power consumption.

Benefits of technology

It realizes the intelligent control of the lamp group under different light environments, reduces the overall power consumption of the lighting system, and extends the service life of the lamp.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116887484B_ABST
    Figure CN116887484B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method and device for adaptively controlling the power consumption of track lights based on optical sensing, including collecting current light intensity data when the initial time is reached, controlling one of the light groups in the track light to turn on when the light intensity data is lower than a first threshold, and controlling any two light groups in the track light to turn on when the light intensity data is lower than a second threshold; when the working time of any light group exceeds a set time, turning off the light group and switching to another light group to turn on. In the embodiment, the surrounding lighting environment is detected, and when the light intensity is low, the light group lighting is turned on according to a preset control instruction, and different numbers of light groups are turned on according to light intensities of different thresholds, and when any light group works for too long, it switches to another light group to take over the work. It can intelligently control different numbers of light groups to work in an orderly manner under the premise of combining different external light environments, thereby reducing the overall power consumption of lighting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of lighting technology, and in particular to a method and device for adaptively controlling power consumption of a track light based on optical sensing. Background Art

[0002] At present, the action logic of most smart home devices in the industry is triggered by the induction signal of the relevant sensor. For example, the door and window sensor is set on the bathroom door to monitor the opening and closing of the bathroom door. The user can trigger the corresponding smart home device to perform the preset action when the door is closed or opened according to his own needs. Based on the action logic of existing smart home devices, it can be seen that the intelligence of smart home devices depends on the scale of sensors and the rationality of action logic design. Many families use voice control and app control to control smart lamps. The intelligence of these control methods requires certain manual cooperation to complete, which is not intelligent enough. At present, there are many track lights on the market, which are similar to installing a track and installing different light strips or spotlights on the track for lighting. Because the overall appearance of the track light is simple and generous, it attracts many families to choose track lights. However, the track of the track light often has a certain length. If the light strips on the entire track work at the same time, it will consume more electricity. The track lights on the market cannot automatically adjust the lighting according to the actual situation, and cannot intelligently adjust the power consumption. Summary of the invention

[0003] In view of the above-mentioned defects, an embodiment of the present invention discloses a method and device for adaptively controlling power consumption of a track light based on optical sensing, which can automatically detect ambient light, intelligently adjust the illumination of the track light, and thus control power consumption.

[0004] A first aspect of an embodiment of the present invention discloses a method for adaptively controlling power consumption of a track light based on optical sensing, comprising:

[0005] Based on the preset control instruction, when the initial time is reached, the current light intensity data is collected, and when the light intensity data is lower than a first threshold, one of the light groups in the track light is controlled to turn on, and when the light intensity data is lower than a second threshold, any two light groups in the track light are controlled to turn on;

[0006] When the working time of any light group exceeds the set time, turn off the light group and switch to another light group to turn on.

[0007] As an optional implementation manner, in the first aspect of the embodiment of the present invention, it also includes:

[0008] The user's historical lighting data is obtained to generate preset control instructions, wherein the historical lighting data includes the earliest lighting-on time of the house, the latest lighting-off time of the house, and lighting-usage time information of any area of ​​the house, and the preset control instructions include lighting-on instructions and lighting-off instructions.

[0009] As an optional implementation manner, in the first aspect of the embodiment of the present invention, generating a preset control instruction according to the historical lamp usage data includes:

[0010] Generate the initial lighting time of the house according to the earliest lighting time of the house based on the historical lighting data;

[0011] Get the lighting time information of any area in the house, including the lighting time, lighting time and lighting parameters corresponding to different times;

[0012] Generate a lighting time and a lighting off time for each area based on the lighting time information, and generate lighting adjustment parameters for each area in different time periods according to the lighting parameters;

[0013] Generate a house lights-off time based on the latest lights-off time of the house.

[0014] As an optional implementation manner, in the first aspect of the embodiment of the present invention, it also includes:

[0015] The user's location information is collected, and the light group at the corresponding location is controlled to turn on according to the location information.

[0016] As an optional implementation, in the first aspect of the embodiment of the present invention, controlling the light group at the corresponding position to turn on according to the position information includes:

[0017] According to the location information, obtain the light group code corresponding to the location information;

[0018] It is determined whether the light group corresponding to the light group code is currently in working state, and when it is not in working state, the light group corresponding to the light group code is controlled to turn on.

[0019] As an optional implementation manner, in the first aspect of the embodiment of the present invention, it also includes:

[0020] When the user is located in a first area among the set multi-functional areas, lighting parameters of other areas adjacent to the first area in the multi-functional areas are detected, and lighting parameters of the first area are adjusted according to the lighting parameters of the other areas.

[0021] As an optional implementation, in the first aspect of the embodiment of the present invention, turning off the light group and switching to another light group to turn on includes:

[0022] Get the working status of other light groups, and select several light groups whose current working status is off;

[0023] Obtaining the time from the last time any one of the plurality of light groups was turned on, and selecting the light groups whose time is longer than a preset value as target light groups;

[0024] Turn off the light groups whose working time exceeds the set time, and randomly select one light group from the target light groups to turn on.

[0025] A second aspect of an embodiment of the present invention discloses a track light power consumption adaptive control device based on optical sensing, comprising:

[0026] Light group control module: used for collecting current light intensity data when the initial time is reached based on the preset control instruction, and controlling one of the light groups in the track light to turn on when the light intensity data is lower than the first threshold value, and controlling any two light groups in the track light to turn on when the light intensity data is lower than the second threshold value;

[0027] Light group switching module: used to turn off any light group and switch to another light group when the working time of any light group exceeds the set time.

[0028] As an optional implementation manner, in the second aspect of the embodiment of the present invention, it also includes:

[0029] The user's historical lighting data is obtained to generate preset control instructions, wherein the historical lighting data includes the earliest lighting-on time of the house, the latest lighting-off time of the house, and lighting-usage time information of any area of ​​the house, and the preset control instructions include lighting-on instructions and lighting-off instructions.

[0030] As an optional implementation, in a second aspect of the embodiment of the present invention, generating a preset control instruction according to the historical lamp usage data includes:

[0031] Generate the initial lighting time of the house according to the earliest lighting time of the house based on the historical lighting data;

[0032] Get the lighting time information of any area in the house, including the lighting time, lighting time and lighting parameters corresponding to different times;

[0033] Generate a lighting time and a lighting off time for each area based on the lighting time information, and generate lighting adjustment parameters for each area in different time periods according to the lighting parameters;

[0034] Generate a house lights-off time based on the latest lights-off time of the house.

[0035] As an optional implementation manner, in the second aspect of the embodiment of the present invention, it also includes:

[0036] The user's location information is collected, and the light group at the corresponding location is controlled to turn on according to the location information.

[0037] As an optional implementation, in a second aspect of the embodiment of the present invention, controlling the light group at the corresponding position to turn on according to the position information includes:

[0038] According to the location information, obtain the light group code corresponding to the location information;

[0039] It is determined whether the light group corresponding to the light group code is currently in working state, and when it is not in working state, the light group corresponding to the light group code is controlled to turn on.

[0040] As an optional implementation manner, in the second aspect of the embodiment of the present invention, it also includes:

[0041] When the user is located in a first area among the set multi-functional areas, lighting parameters of other areas adjacent to the first area in the multi-functional areas are detected, and lighting parameters of the first area are adjusted according to the lighting parameters of the other areas.

[0042] As an optional implementation, in the second aspect of the embodiment of the present invention, turning off the light group and switching to another light group to turn on includes:

[0043] Get the working status of other light groups, and select several light groups whose current working status is off;

[0044] Obtaining the time from the last time any one of the plurality of light groups was turned on, and selecting the light groups whose time is longer than a preset value as target light groups;

[0045] Turn off the light groups whose working time exceeds the set time, and randomly select one light group from the target light groups to turn on.

[0046] The third aspect of an embodiment of the present invention discloses an electronic device, comprising: a memory storing executable program code; a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the optical sensing-based track light power consumption adaptive control method disclosed in the first aspect of the embodiment of the present invention.

[0047] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute the optical sensing-based track light power consumption adaptive control method disclosed in the first aspect of an embodiment of the present invention.

[0048] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0049] In the embodiment of the present invention, the surrounding lighting environment is detected according to the preset control instructions when the initial time is reached. When the light intensity is low, the lamp group lighting is turned on according to the preset control instructions, and different numbers of lamp groups are turned on according to the light intensity of different thresholds. When any lamp group works for too long, in order to reduce the working temperature of the lamp and delay the working life of the lamp group, it switches to another lamp group to take over the work. Under the premise of combining different external light environments, different numbers of lamp groups can be intelligently controlled to work in an orderly manner, thereby reducing the overall power consumption of the lighting. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 It is a flow chart of a method for adaptively controlling power consumption of a track light based on optical sensing disclosed in an embodiment of the present invention;

[0052] Figure 2 It is a flow chart of another method for adaptively controlling power consumption of track lights based on optical sensing disclosed in an embodiment of the present invention;

[0053] Figure 3 It is a flow chart of another method for adaptively controlling power consumption of track lights based on optical sensing disclosed in an embodiment of the present invention;

[0054] Figure 4 It is a structural schematic diagram of a track light power consumption adaptive control device based on optical sensing provided by an embodiment of the present invention;

[0055] Figure 5 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] It should be noted that the terms "first", "second", "third", "fourth", etc. in the specification and claims of the present invention are used to distinguish different objects rather than to describe a specific order. The terms "including" and "having" in the embodiments of the present invention and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0058] The embodiments of the present invention disclose a method, device, electronic device and storage medium for adaptive control of track light power consumption based on optical sensing. In the embodiments, the surrounding lighting environment is detected when the initial time is reached according to a preset control instruction. When the light intensity is low, the light group lighting is turned on according to the preset control instruction, and different numbers of light groups are turned on according to light intensities with different thresholds. When any light group works for too long, in order to reduce the working temperature of the lamp and delay the working life of the lamp group, it switches to another light group to take over the work. Under the premise of combining different external light environments, different numbers of light groups can be intelligently controlled to work in an orderly manner, thereby reducing the overall power consumption of the lighting.

[0059] Embodiment 1

[0060] See also Figure 1 , Figure 1 It is a flow chart of a method for adaptively controlling power consumption of track lights based on optical sensing disclosed in an embodiment of the present invention. Among them, the execution subject of the method described in the embodiment of the present invention is an execution subject composed of software and / or hardware, and the execution subject can receive relevant information by wired or / and wireless means, and can send certain instructions. Of course, it can also have certain processing functions and storage functions. The execution subject can control multiple devices, such as a remote physical server or cloud server and related software, or it can be a local host or server and related software that performs related operations on a device placed somewhere. In some scenarios, multiple storage devices can also be controlled, and the storage devices can be placed in the same place or different places as the devices. For example Figure 1 As shown, the optical sensing-based track light power consumption adaptive control method includes the following steps:

[0061] 101. Based on the preset control instruction, the current light intensity data is collected when the initial time is reached. When the light intensity data is lower than a first threshold, one of the light groups in the track light is controlled to turn on. When the light intensity data is lower than a second threshold, any two light groups in the track light are controlled to turn on.

[0062] The preset control instruction of the embodiment is a control instruction for the lamp generated in advance according to the user's lighting habits, which usually includes controlling the lamp to turn on or off, including the time to control the lamp and which lamp is controlled, etc. The second threshold of the embodiment is lower than the first threshold. For example, the initial time is 6 pm. This preset control instruction is set in winter. When it turns to summer, it is not completely dark at 6 pm. At this time, combined with the detection of light intensity, if it is detected that the light intensity is not very low, the lights can be controlled not to turn on all. When the light is lower than the first threshold, one group can be turned on. When it is darker, two groups can be turned on. The surrounding light conditions are well combined to reduce the power consumption of the lights.

[0063] 102. When the working time of any light group exceeds the set time, turn off the light group and switch to another light group to turn on.

[0064] In this step, the working status of other light groups is obtained, and several light groups whose current working status is off are selected; the time since the last time any one of the light groups was turned on is obtained, and the light groups whose working time is longer than the preset value are selected as the target light groups; the light groups whose working time exceeds the set time are turned off, and one light group is randomly selected from the target light groups to be turned on. In this way, it is avoided that a certain light group is always working while other light groups are always idle. In actual applications, the light group to be turned on can also be selected in combination with the user's location. For example, when the working time of light group A is too long, and light group B is adjacent to light group A and closer to the user's location, if light group B is not turned on at this time, it is possible to switch from light group A to light group B.

[0065] Embodiment 2

[0066] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a method for adaptively controlling power consumption of a track light based on optical sensing disclosed in an embodiment of the present invention. Figure 2 As shown, the optical sensing-based track light power consumption adaptive control method may include:

[0067] 201. Obtain the user's historical lighting data to generate preset control instructions, wherein the historical lighting data includes the earliest lighting-on time of the house, the latest lighting-off time of the house, and lighting-usage time information of any area of ​​the house, and the preset control instructions include a lighting-on instruction and a lighting-off instruction.

[0068] The embodiment uses a family house as an application scenario. A family house usually includes different areas such as a living room, a dining room, a balcony, a room, a bathroom, and a kitchen. In the embodiment, the historical light usage data is the previous light usage habits of a user or multiple users living in the family house, including when the lights are usually turned on, which area of ​​the lights are turned on, to what brightness, what color of lights are turned on, etc. The embodiment obtains multiple groups of users' historical light usage data to obtain enough data samples. In each group of historical light usage data, there may be different times for different instructions. For example, the initial light-on time in one group of data is 6 pm, and the initial light-on time in another group of data is 6:15 pm. Based on enough data samples, the time period for initial light-on can be obtained, and then a time can be selected as the initial light-on time. For example, if there are more data indicating that the lights are initially turned on between 6:00 and 6:05, then 6:00 can be selected as the initial time. By analyzing and counting the historical light usage data and processing the data, a preset control instruction is generated.

[0069] Specifically, the initial lighting time of the house is generated according to the earliest lighting-on time of the house based on the historical lighting usage data; the lighting time information of any area of ​​the house is obtained, including the lighting time, lighting off time and lighting parameters corresponding to different times of the area; the lighting time and lighting off time of each area are generated based on the lighting time information, and the lighting adjustment parameters of each area in different time periods are generated according to the lighting parameters; the lighting off time of the house is generated based on the latest lighting off time of the house.

[0070] Among them, the initial time of the house lights is generated according to the earliest time of the house lights on based on the historical lighting data. For example, the longest time of the lights on can be used as the initial time, or it can be obtained by other means. The same is true for generating the house lights off time based on the latest time of the lights off. It should be noted that the initial time and the house lights off time here do not necessarily refer to the turning on and off of the lights of the whole house, but can be the control of a certain area separately.

[0071] 202. Based on the preset control instruction, the current light intensity data is collected when the initial time is reached. When the light intensity data is lower than a first threshold, one of the light groups in the track light is controlled to turn on. When the light intensity data is lower than a second threshold, any two light groups in the track light are controlled to turn on.

[0072] 203. When the working time of any light group exceeds the set time, turn off the light group and switch to another light group to turn on.

[0073] Embodiment 3

[0074] See also Figure 3 , Figure 3FIG. 1 is a flow chart of a method for adaptively controlling power consumption of a track light based on optical sensing disclosed in an embodiment of the present invention. Figure 3 As shown, the optical sensing-based track light power consumption adaptive control method may include:

[0075] 301. Based on the preset control instruction, the current light intensity data is collected when the initial time is reached. When the light intensity data is lower than a first threshold, one of the light groups in the track light is controlled to turn on. When the light intensity data is lower than a second threshold, any two light groups in the track light are controlled to turn on.

[0076] 302. When the working time of any light group exceeds the set time, turn off the light group and switch to another light group to turn on.

[0077] 303. Collect the user's location information, and control the light group at the corresponding location to turn on according to the location information.

[0078] The embodiment can collect the user's location information through a locator, which can be worn by the user, or through a lamp with an infrared detector that can detect the human body and the movement of the human body, or through a lamp with a camera, etc. By collecting the user's location information, the lighting of the area where the user is located can be automatically controlled.

[0079] Specifically, according to the position information, a light group code corresponding to the position information is obtained; it is determined whether the light group corresponding to the light group code is currently in a working state, and when it is not in a working state, the light group corresponding to the light group code is controlled to turn on.

[0080] When the lamps leave the factory or are installed, each light group on the track light is coded in advance, so each light group has a corresponding unique string of codes, which are usually digital strings. For example, five light strips are installed on a track and arranged in sequence, and a spotlight is installed at both ends of the track. The five light strips and spotlights are coded as 001, 002, 003, 004, 005, 006, and 007 respectively. For example, the currently working light groups are 001 and 002. When the user's position changes and the light groups corresponding to the current position are 006 and 007, it is detected whether 006 and 007 are currently in the on state. If so, 001 and 002 are turned off, otherwise 006 and 007 need to be turned on before turning off 001 and 002. In this way, the light group closer to the user is selected to be in working state according to the user's position, so that fewer light groups can be turned on to ensure the lighting brightness required by the user.

[0081] 304. When the user is located in a first area among the set multi-functional areas, the lighting parameters of other areas adjacent to the first area in the multi-functional areas are detected, and the lighting parameters of the first area are adjusted according to the lighting parameters of the other areas.

[0082] In this embodiment, when the user is in an adjacent and connected area or in an area of ​​a larger space, since the entire large area is usually installed with lamps in different positions, for example, the living room and dining room of a house are usually connected, and the living room and dining room form a relatively large space. When the user is in the living room, the brightness of the lamps in the living room and dining room can be adjusted appropriately, and the brightness of the living room can be higher, while the brightness of the dining room can be lower. Take the user watching TV in the living room as an example. At this time, the living room is the first area, and the dining room is another area adjacent to the living room. At this time, the brightness of the living room lamp is X, and the brightness of the dining room can be set lower, from the original brightness X to W, W is less than X. When the user moves to the dining room, the dining room is the first area. At this time, the brightness of the dining room is adjusted from W to X, and the brightness of the living room is adjusted from X to W, which can ensure that the user saves energy when using the brightness and increase the service life of the lamp.

[0083] Embodiment 4

[0084] See also Figure 4 , Figure 4 Schematic diagram of a track light power consumption adaptive control device based on optical sensing disclosed in an embodiment of the present invention. Figure 4 As shown, the optical sensing-based track light power consumption adaptive control device may include: a light group control module 401 and a light group switching module 402, the light group control module 401: used for collecting current light intensity data based on a preset control instruction when the initial time is reached, when the light intensity data is lower than a first threshold, controlling one of the light groups in the track light to turn on, and when the light intensity data is lower than a second threshold, controlling any two light groups in the track light to turn on; the light group switching module 402: used for turning off any light group and switching to another light group to turn on when the working time of any light group exceeds a set time.

[0085] In the above-mentioned light group switching module 402, specifically, the working status of other light groups is obtained, and several light groups whose current working status is off are selected; the length of time since any one of the several light groups was last turned on is obtained, and the light groups whose working time is greater than the preset value are selected as target light groups; the light groups whose working time exceeds the set time are turned off, and any one light group is selected from the target light groups to be turned on.

[0086] The embodiment also includes an instruction generation module, which is used to obtain the user's historical light usage data to generate preset control instructions, the historical light usage data includes the earliest light-on time of the house, the latest light-off time of the house, and the light usage time information of any area of ​​the house, and the preset control instructions include light-on instructions and light-off instructions. Among them, generating preset control instructions based on the historical light usage data includes: generating the initial time of lighting the house according to the earliest light-on time of the house based on the historical light usage data; obtaining the light usage time information of any area of ​​the house, including the light-on time, light-off time and light parameters corresponding to different times of the area; generating the light-on time and light-off time of each area based on the light usage time information, and generating the light adjustment parameters of each area in different time periods according to the light parameters; generating the light-off time of the house based on the latest light-off time of the house.

[0087] The embodiment also includes a position acquisition module, which is used to acquire the user's position information and control the light group at the corresponding position to turn on according to the position information. Specifically, according to the position information, the light group code corresponding to the position information is obtained; it is determined whether the light group corresponding to the light group code is currently in a working state, and when it is not in a working state, the light group corresponding to the light group code is controlled to turn on.

[0088] The embodiment also includes a zone adjustment module for detecting lighting parameters of other zones adjacent to the first zone in the multi-functional zone when the user is located in the first zone in the set multi-functional zone, and adjusting lighting parameters of the first zone according to lighting parameters of the other zones.

[0089] Embodiment 5

[0090] See also Figure 5 , Figure 5 Schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. The electronic device may be a computer, a server, etc. Of course, in certain circumstances, it may also be a smart device such as a mobile phone, a tablet computer, a monitoring terminal, and an image acquisition device with processing functions. Figure 5 As shown, the electronic device may include:

[0091] A memory 501 storing executable program codes;

[0092] a processor 502 coupled to the memory 501;

[0093] The processor 502 calls the executable program code stored in the memory 501 to execute part or all of the steps in the method for adaptively controlling power consumption of track lights based on optical sensing in the first embodiment.

[0094] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program, wherein the computer program enables a computer to execute part or all of the steps in the method for adaptively controlling power consumption of a track light based on optical sensing in the first embodiment.

[0095] The embodiment of the present invention further discloses a computer program product, wherein when the computer program product is run on a computer, the computer is enabled to execute part or all of the steps in the method for adaptively controlling power consumption of track lights based on optical sensing in the first embodiment.

[0096] An embodiment of the present invention further discloses an application publishing platform, wherein the application publishing platform is used to publish a computer program product, wherein when the computer program product runs on a computer, the computer executes part or all of the steps in the optical sensing-based track light power consumption adaptive control method in Embodiment 1.

[0097] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the processes does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0098] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0099] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0100] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for a computer device (which can be a personal computer, a server or a network device, etc., specifically a processor in a computer device) to perform some or all of the steps of the method described in each embodiment of the present invention.

[0101] In the embodiments provided by the present invention, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0102] A person of ordinary skill in the art can understand that some or all of the steps in the various methods of the embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0103] The above is a detailed introduction to the method, device, electronic device and storage medium for adaptive control of power consumption of track lights based on optical sensing disclosed in the embodiments of the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for adaptively controlling power consumption of track lights based on optical sensing, characterized in that: include: Based on the preset control instruction, when the initial time is reached, the current light intensity data is collected, and when the light intensity data is lower than a first threshold, one of the light groups in the track light is controlled to turn on, and when the light intensity data is lower than a second threshold, any two light groups in the track light are controlled to turn on; When the working time of any light group exceeds the set time, the working status of other light groups is obtained, and several light groups whose current working status is off are selected; the time from the last time any light group among the several light groups is obtained, and the light group whose working time is greater than the preset value is selected as the target light group; the light group whose working time exceeds the set time is turned off, and one light group is randomly selected from the target light groups to be turned on; Collect the user's location information, and obtain the light group code corresponding to the location information according to the location information; Determine whether the light group corresponding to the light group code is currently in working state, and when it is not in working state, control the light group corresponding to the light group code to turn on; When the user is located in a first area among the set multi-functional areas, lighting parameters of other areas adjacent to the first area in the multi-functional areas are detected, and lighting parameters of the first area are adjusted according to the lighting parameters of the other areas.

2. The track light power consumption adaptive control method according to claim 1, characterized in that: Also includes: The user's historical lighting data is obtained to generate preset control instructions, wherein the historical lighting data includes the earliest lighting-on time of the house, the latest lighting-off time of the house, and lighting-usage time information of any area of ​​the house, and the preset control instructions include lighting-on instructions and lighting-off instructions.

3. The track light power consumption adaptive control method according to claim 2, characterized in that: Generating a preset control instruction according to the historical lamp usage data includes: Generate the initial lighting time of the house according to the earliest lighting time of the house based on the historical lighting data; Get the lighting time information of any area in the house, including the lighting time, lighting time and lighting parameters corresponding to different times; Generate a lighting time and a lighting off time for each area based on the lighting time information, and generate lighting adjustment parameters for each area in different time periods according to the lighting parameters; Generate a house lights-off time based on the latest lights-off time of the house.

4. A track light power consumption adaptive control device based on optical sensing, characterized in that: include: Light group control module: used for collecting current light intensity data when the initial time is reached based on the preset control instruction, and controlling one of the light groups in the track light to turn on when the light intensity data is lower than the first threshold value, and controlling any two light groups in the track light to turn on when the light intensity data is lower than the second threshold value; Light group switching module: when the working time of any light group exceeds the set time, obtain the working status of other light groups, select several light groups whose current working status is off; obtain the time from the last time any light group among the several light groups was turned on, and select the light group whose working time is longer than the preset value as the target light group; turn off the light group whose working time exceeds the set time, and select any light group from the target light groups to turn on; Position acquisition module: used to collect the user's position information, obtain the light group code corresponding to the position information according to the position information, determine whether the light group corresponding to the light group code is currently in working state, and when it is not in working state, control the light group corresponding to the light group code to turn on; Area adjustment module: used for detecting lighting parameters of other areas adjacent to the first area in the multi-functional area when the user is located in the first area of ​​the set multi-functional area, and adjusting the lighting parameters of the first area according to the lighting parameters of the other areas.

5. An electronic device, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the optical sensing-based track light power consumption adaptive control method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program enables a computer to execute the optical sensing-based track light power consumption adaptive control method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Lamp operation device and image display device

    CN101742773A

  • LED lamp control method, electronic equipment and storage medium

    CN108337766A

  • Automatic control method for ambient illumination based on feedforward prediction

    CN108430141A

  • Lighting control method and system based on LoRa wireless communication and terminal

    CN111556608A

  • Personalized illumination control system based on user habits

    CN114666948A