Intelligent lamp control method and device

CN116709616BActive Publication Date: 2025-08-08SHENZHEN ANLINO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

另一种情况,目前很多家庭对智能灯具的控制采用语音控制、app控制,这些控制方式的智能化均需要结合一定的人工配合才能完成,均不是完全的智能化

Benefits of technology

[0050]本发明实施例根据用户历史用灯数据来获取用户的用灯习惯,从而生成符合该用户用灯习惯的灯具控制指令,当满足启动灯具控制指令的流程时,则对房屋各个区域的灯光实现自动化的控制,并采集用户在房屋内的位置信息,当检测到用户在房屋中某一个区域时,对该区域的灯光进行控制,基于用户的位置信息预测用户的行动轨迹,提前对用户将要到达的下一个区域进行亮灯,提高用户的用灯体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116709616B_ABST
    Figure CN116709616B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses an intelligent lamp control method and device, including: generating a first lamp control instruction based on historical lamp usage data, and executing the first control instruction when an execution standard is met; collecting the user's location information in the house, and controlling the area corresponding to the location information to light up when the area is not lit; generating the user's movement trajectory, predicting the user's next target area, and controlling the target area to light up. The embodiment obtains the user's lighting habits based on the user's historical lamp usage data, generates lamp control instructions that conform to the user's lighting habits, and automatically controls the lights in various areas of the house when the process of starting the lamp control instruction is met. The embodiment also collects the user's location information in the house, and when it is detected that the user is in a certain area of the house, controls the lights in that area, predicts the user's movement trajectory based on the user's location information, and lights up the next area the user will reach in advance, thereby improving the user's lighting experience.
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 an intelligent lamp control method and device. Background Art

[0002] Currently, the action logic of most smart home devices in the industry is triggered by the sensing signals of related sensors. For example, door and window sensors are installed on the bathroom door to monitor the opening and closing of the bathroom door. Users can trigger the corresponding smart home device to perform preset actions when the door is closed or opened according to their own needs. Based on the action logic of existing smart home devices, it can be seen that the intelligence level of current smart home devices depends on the scale of sensors and the rationality of action logic design.

[0003] In practical applications, the same combination of sensor trigger signals often corresponds to different user intentions. Another example is that many households currently use voice control or app-based control for smart lighting. These control methods require some manual interaction to achieve full intelligence, and are not fully intelligent. Summary of the Invention

[0004] To address the above-mentioned drawbacks, an embodiment of the present invention discloses an intelligent lamp control method and device, which automatically controls the lights by generating intelligent control instructions based on the user's previous lighting usage.

[0005] A first aspect of an embodiment of the present invention discloses a smart lamp control method, comprising:

[0006] Obtain the user's historical lighting usage data, which includes the earliest time the lights are turned on in the house, the latest time the lights are turned off in the house, and the lighting usage time information of any area in the house;

[0007] generating a first control instruction for the lamp according to the historical lamp usage data, and executing the first control instruction when an execution criterion of the first control instruction is met, wherein the first control instruction includes a light-on instruction and a light-off instruction;

[0008] Collect the user's location information in the house, detect whether the area corresponding to the location information is currently lit, and control the lighting of the area if it is not lit;

[0009] A user's movement trajectory is generated based on the user's location information, a next target area of the user is predicted based on the movement trajectory, and a target area is controlled to light up when the target area is not lit.

[0010] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the present invention further includes:

[0011] Before the initial time for executing the first control instruction arrives, determining whether a delay instruction is received, and if so, delaying the initial time for executing the first control instruction according to the delay instruction;

[0012] Collect the current timestamp and determine whether the current timestamp meets the initial time for executing the first control instruction.

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

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

[0015] Generate lighting data for each area based on the lighting usage time information of any area of the house;

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

[0017] As an optional implementation, in the first aspect of the embodiment of the present invention, generating lighting data for each area based on lighting usage time information of any area of the house includes:

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

[0019] The lighting time and the lighting 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.

[0020] As an optional implementation manner, in the first aspect of the embodiment of the present invention, after executing the first control instruction, the method further includes:

[0021] The user's location information is collected within a preset time period from the initial time to determine whether the user appears in a preset area. When the user does not appear in the preset area, the first control instruction is terminated.

[0022] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the present invention further includes:

[0023] The number of successful executions of the first control instruction within a set number of days is collected, and when the number of successful executions is lower than a threshold, the first control instruction is modified according to the lighting data of the house when the first control instruction is not executed.

[0024] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the present invention further includes:

[0025] 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 area are detected, and the lighting parameters of the first area are adjusted according to the lighting parameters of the other areas.

[0026] A second aspect of an embodiment of the present invention discloses an intelligent lighting control device, comprising:

[0027] Data acquisition module: used to obtain the user's historical lighting data, which includes the earliest time the lights are turned on in the house, the latest time the lights are turned off in the house, and the lighting time information of any area in the house;

[0028] An instruction generation module is configured to generate a first control instruction for the lamp according to the historical lamp usage data, and execute the first control instruction when the execution criteria of the first control instruction are met, wherein the first control instruction includes a light-on instruction and a light-off instruction;

[0029] Location acquisition module: used to collect the user's location information in the house, detect whether the area corresponding to the location information is currently lit, and control the lighting of the area if it is not lit;

[0030] Trajectory prediction module: used to generate the user's movement trajectory based on the user's location information, predict the user's next target area based on the movement trajectory, and control the target area to light up when the target area is not lit.

[0031] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the present invention further includes:

[0032] Before the initial time for executing the first control instruction arrives, determining whether a delay instruction is received, and if so, delaying the initial time for executing the first control instruction according to the delay instruction;

[0033] Collect the current timestamp and determine whether the current timestamp meets the initial time for executing the first control instruction.

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

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

[0036] Generate lighting data for each area based on the lighting usage time information of any area of the house;

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

[0038] As an optional implementation, in the second aspect of the embodiment of the present invention, generating lighting data for each area based on the lighting usage time information of any area of the house includes:

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

[0040] The lighting time and the lighting 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.

[0041] As an optional implementation manner, in the second aspect of the embodiment of the present invention, after executing the first control instruction, the method further includes:

[0042] The user's location information is collected within a preset time period from the initial time to determine whether the user appears in a preset area. When the user does not appear in the preset area, the first control instruction is terminated.

[0043] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the present invention further includes:

[0044] The number of successful executions of the first control instruction within a set number of days is collected, and when the number of successful executions is lower than a threshold, the first control instruction is modified according to the lighting data of the house when the first control instruction is not executed.

[0045] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the present invention further includes:

[0046] 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 area are detected, and the lighting parameters of the first area are adjusted according to the lighting parameters of the other areas.

[0047] A 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 calling the executable program code stored in the memory to execute the smart lamp control method disclosed in the first aspect of the embodiment of the present invention.

[0048] 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 intelligent lighting control method disclosed in the first aspect of the embodiment of the present invention.

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

[0050] The embodiment of the present invention obtains the user's lighting usage habits based on the user's historical lighting usage data, thereby generating lighting control instructions that conform to the user's lighting usage habits. When the process of starting the lighting control instructions is met, the lights in various areas of the house are automatically controlled, and the user's location information in the house is collected. When the user is detected in a certain area of the house, the lights in that area are controlled, and the user's movement trajectory is predicted based on the user's location information, and the lights in the next area that the user will arrive at are turned on in advance, thereby improving the user's lighting experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. 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 any creative work.

[0052] Figure 1 This is a flow chart of an intelligent lighting control method disclosed in an embodiment of the present invention;

[0053] Figure 2 This is a flow chart of another intelligent lighting control method disclosed in an embodiment of the present invention;

[0054] Figure 3 This is a flow chart of another intelligent lighting control method disclosed in an embodiment of the present invention;

[0055] Figure 4 This is a schematic structural diagram of an intelligent lighting control device provided by an embodiment of the present invention;

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

[0057] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

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

[0059] The embodiments of the present invention disclose an intelligent lamp control method, device, electronic device and storage medium. The embodiments obtain a user's lighting usage habits based on the user's historical lighting usage data, thereby generating lamp control instructions that conform to the user's lighting usage habits. When the process of starting the lamp control instruction is met, the lights in various areas of the house are automatically controlled, and the user's location information in the house is collected. When the user is detected in a certain area of the house, the lights in the area are controlled, and the user's movement trajectory is predicted based on the user's location information, and the lights in the next area that the user will arrive at are turned on in advance, thereby improving the user's lighting experience.

[0060] Example 1

[0061] See also Figure 1 , Figure 1 It is a flow chart of a smart lamp control method 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 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 intelligent lighting control method includes the following steps:

[0062] 101. Obtain historical lighting usage data of the user, wherein the historical lighting usage data includes the earliest time lights are turned on in the house, the latest time lights are turned off in the house, and lighting usage time information of any area in the house.

[0063] 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 lighting usage data is the previous lighting usage habits of a user or multiple users living in the family house, including what time the lights are usually turned on, which area of the lights are turned on, to what brightness, what color lights are turned on, etc. The embodiment obtains the historical lighting usage data of multiple groups of users to obtain enough data samples. In each group of historical lighting usage data, there may be different times for different instructions. For example, the initial lighting time in one group of data is 6 pm, and the initial lighting time in another group of data is 6:15 pm. Based on enough data samples, the time period for initial lighting can be obtained, and then a time can be selected as the initial lighting time. For example, if there is 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 lighting time.

[0064] 102. Generate a first control instruction for the lamp based on the historical lamp usage data, and execute the first control instruction when an execution standard of the first control instruction is met, wherein the first control instruction includes a light-on instruction and a light-off instruction.

[0065] In this embodiment, historical lamp usage data is analyzed and statistically analyzed, and the data is processed before generating a first instruction for the lamp. This embodiment executes the first control instruction only when execution criteria are met. Specifically, before executing the first control instruction, a determination is made as to whether a delay instruction has been received before the initial time for executing the first control instruction arrives. If so, the initial time for executing the first control instruction is delayed according to the delay instruction. A current timestamp is collected to determine whether the current timestamp meets the initial time for executing the first control instruction.

[0066] In an embodiment, generating the first control instruction for the lamp based on the historical lighting usage data specifically includes generating the initial time for lighting the house according to the earliest lighting-on time of the house based on the historical lighting usage data; generating the lighting data of each area based on the lighting usage time information of any area of the house, and generating the lighting-off time of the house based on the latest lighting-off time of the house.

[0067] The initial time for the house lights to be on is generated based on the earliest time the house lights were on, based on historical lighting usage data. For example, the initial time can be obtained by taking the longest-used time the lights were on, or by other means. The same applies to generating the house lights-off time based on the latest time the lights were off. It should be noted that the initial time and house lights-off time here do not necessarily refer to turning all lights on and off in the house; they can also control specific areas.

[0068] Based on the lighting time information of any area of the house, the lighting data of each area is generated separately, including: obtaining the lighting time information of any area of the house, including the lighting time, lighting off time and lighting parameters corresponding to different times of the area; generating the lighting time and lighting off time of each area based on the lighting time information, and generating the lighting adjustment parameters of each area in different time periods according to the lighting parameters.

[0069] 103. Collect the user's location information in the house, detect whether the area corresponding to the location information is currently lit, and control the area to light up when the area is not lit.

[0070] In this embodiment, user location information can be collected through a locator, which can be worn by the user, or a lamp equipped with an infrared detector that can detect human bodies and human movement, or a camera installed on the lamp. By collecting the user's location information, lighting in the area where the user is located can be automatically controlled.

[0071] 104. Generate a user's movement trajectory based on the user's location information, predict the user's next target area based on the movement trajectory, and control the target area to light up when the target area is not lit.

[0072] By acquiring the user's location information and the timestamp corresponding to each different location information, it is possible to determine whether the user is moving. If the user is moving, the user's direction of movement, that is, the approximate trajectory of movement, can be calculated based on the previous multiple location information and the currently detected location information. Since the house has been divided into different lighting control areas in advance, the movement trajectory can be used to infer the area where the user will next arrive. The lights in that area can be controlled to turn on in advance before the user arrives. When the user arrives at the area, there is no need to manually turn on the lights, nor is there a need to enter a dark environment when arriving at the destination, which can improve the user's living experience.

[0073] Example 2

[0074] See also Figure 2 , Figure 2 This is a flow chart of another intelligent lighting control method disclosed in an embodiment of the present invention. Figure 2 As shown, the intelligent lighting control method includes:

[0075] 201. Obtain historical lighting usage data of a user, wherein the historical lighting usage data includes the earliest time lights are turned on in a house, the latest time lights are turned off in a house, and lighting usage time information of any area in the house.

[0076] 202. Generate a first control instruction for the lamp based on the historical lamp usage data, and execute the first control instruction when an execution standard of the first control instruction is met, wherein the first control instruction includes a light-on instruction and a light-off instruction.

[0077] After executing the first control instruction, this embodiment collects the user's location information within a preset time period from the initial time to determine whether the user is in a preset area. If the user is not in the preset area, the first control instruction is terminated. For example, if the first control instruction is set to turn on the lights in the entrance area and the living and dining room, and the initial time is 7:00 p.m., if no user is detected in the entrance area, the living and dining room at 7:15 p.m., the lights in the entrance area and the living and dining room will be turned off, and the first control instruction will be terminated, thereby saving energy.

[0078] 203. Collect the user's location information in the house, detect whether the area corresponding to the location information is currently lit, and control the area to light up when the area is not lit.

[0079] 204. Generate a user's movement trajectory based on the user's location information, predict the user's next target area based on the movement trajectory, and control the target area to light up when the target area is not lit.

[0080] 205. Collect the number of successful executions of the first control instruction within a set number of days. When the number of successful executions is lower than a threshold, modify the first control instruction according to the lighting data of the house when the first control instruction is not executed.

[0081] The embodiment counts the number of successful executions of the first control instruction. The number of successful executions in the embodiment refers to the completion of all control programs of the first control instruction, or the initial control program. For example, a successful execution is recorded only when all control programs are completed, which means that before the initial time is reached, no relevant delay instructions are received, so that when the initial time is reached, the lights in the corresponding area are turned on according to the setting of the first control instruction, and at another time, the lights in another corresponding area are turned on, and the lights are automatically turned off at the time node when the lights are turned off. When the initial control program is completed, the number of successful executions is counted once, indicating that the lights are turned on at the initial time of the first control instruction without delay or cancellation. By counting the number of successful executions, it can help understand the rationality of the first control instruction and whether it sufficiently matches the user's current living habits. If the number of successful executions is low, it indicates that it is inconsistent with the user's current living habits and needs to be adjusted. The specific adjustment method can be, for example, that the most recently collected user initial time is 7 o'clock in the evening, and the initial time corresponding to the first control instruction is 6 o'clock in the evening. If the user's instructions to delay the initial time are received multiple times, the initial time of the first control instruction will be adjusted to 7 o'clock. The lighting usage parameters of other time periods or different areas are also counted and corrected according to the current usage situation. This can match the user's usage habits more personally and improve the experience.

[0082] Example 3

[0083] See also Figure 3 , Figure 3 This is a flow chart of another intelligent lighting control method disclosed in an embodiment of the present invention. Figure 3 As shown, the intelligent lighting control method includes:

[0084] 301. Obtain historical lighting usage data of the user, where the historical lighting usage data includes the earliest time lights are turned on in the house, the latest time lights are turned off in the house, and lighting usage time information of any area in the house.

[0085] 302. Generate a first control instruction for the lamp based on the historical lamp usage data, and execute the first control instruction when an execution standard of the first control instruction is met, wherein the first control instruction includes a light-on instruction and a light-off instruction.

[0086] 303. Collect the user's location information in the house, detect whether the area corresponding to the location information is currently lit, and control the area to light up when the area is not lit.

[0087] 304. Generate a user's movement trajectory based on the user's location information, predict the user's next target area based on the movement trajectory, and control the target area to light up when the target area is not lit.

[0088] 305. When the user is located in a first area among the set multi-functional areas, detect lighting parameters of other areas adjacent to the first area in the multi-functional area, and adjust the lighting parameters of the first area according to the lighting parameters of the other areas.

[0089] In this embodiment, when a user is in an adjacent, connected area or within a larger space, since lamps are typically installed in different locations throughout the entire large area, for example, the living room and dining room of a house are typically connected and form a relatively large space. When a user is in the living room, the brightness of the lamps in both can be adjusted appropriately, with the living room having a higher brightness and the dining room having a lower brightness. For example, if a user is watching TV in the living room, the living room is the first area, and the dining room is another adjacent area. In this case, the brightness of the living room lamp is X, and the brightness of the dining room lamp can be set lower, from the original brightness X to W, where W is less than X. When the user moves to the dining room, which is the first area, the brightness of the dining room is adjusted from W to X, while the brightness of the living room lamp is adjusted from X to W. This ensures that the user uses the appropriate brightness while saving energy and extending the lifespan of the lamps.

[0090] Example 4

[0091] See also Figure 4 , Figure 4 This is a schematic diagram of the structure of an intelligent lighting control device disclosed in an embodiment of the present invention. Figure 4 As shown, the intelligent lamp control device may include: a data acquisition module 401, an instruction generation module 402, a position acquisition module 403 and a trajectory prediction module 404, wherein the data acquisition module 401 is used to obtain the user's historical light usage data, and 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; the instruction generation module 402 is used to generate a first lamp control instruction according to the historical light usage data, and execute the first control instruction when the execution standard of the first control instruction is met, and the first control instruction includes a light-on instruction and a light-off instruction; the position acquisition module 403 is used to collect the user's position information in the house, detect whether the area corresponding to the position information is currently lit, and control the area to light up when the area is not lit; the trajectory prediction module 404 is used to generate the user's movement trajectory based on the user's position information, predict the user's next target area based on the movement trajectory, and control the target area to light up when the target area is not lit.

[0092] In the instruction generation module 402, it is determined whether to execute the first control instruction. Before the initial time for executing the first control instruction arrives, it is determined whether a delay instruction is received. If so, the initial time for executing the first control instruction is delayed according to the delay instruction. The current timestamp is collected to determine whether the current timestamp meets the initial time for executing the first control instruction.

[0093] Generating the first control instruction for the lamp based on the historical lighting data includes: generating an initial lighting time for the house according to the earliest lighting-on time of the house based on the historical lighting data; generating lighting data for each area of the house based on the lighting time information of any area of the house; and generating a lighting-off time for the house based on the latest lighting-off time of the house. Generating the lighting data for each area based on the lighting time information of any area of the house includes: obtaining lighting time information for any area of the house, including the lighting-on time, lighting-off time, and lighting parameters corresponding to different times of the area; generating the lighting-on time and lighting-off time for each area based on the lighting time information, and generating lighting adjustment parameters for each area in different time periods based on the lighting parameters.

[0094] After executing the first control instruction, the embodiment also collects the user's location information within a preset time from the initial time to determine whether the user appears in the preset area. When the user does not appear in the preset area, the first control instruction is terminated.

[0095] In addition, embodiments further include a command modification module for collecting the number of successful executions of a first control command within a set number of days. When the number of successful executions falls below a threshold, the first control command is modified based on the lighting data of the house when the first control command was not executed. Furthermore, the system may also include a parameter adjustment module for detecting the lighting parameters of other adjacent areas within the set multi-functional area when a user is within the first area, and adjusting the lighting parameters of the first area based on the lighting parameters of the other areas.

[0096] Example 5

[0097] See also Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention. The electronic device can be a computer, a server, etc. Of course, in certain circumstances, it can 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:

[0098] A memory 501 storing executable program code;

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

[0100] The processor 502 calls the executable program code stored in the memory 501 to execute part or all of the steps in the smart lighting control method in the first embodiment.

[0101] 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 some or all of the steps in the intelligent lighting control method in the first embodiment.

[0102] 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 caused to execute part or all of the steps in the intelligent lighting control method in the first embodiment.

[0103] 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. When the computer program product runs on a computer, the computer executes some or all of the steps in the smart lighting control method in embodiment one.

[0104] 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 order of execution 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.

[0105] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one place or distributed across multiple network units. Some or all of these units may be selected based on actual needs to achieve the objectives of this embodiment.

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

[0107] 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, 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. The computer software product is stored in a memory and includes several requests for causing a computer device (which can be a personal computer, server, or network device, specifically a processor in the computer device) to execute some or all of the steps of the method described in each embodiment of the present invention.

[0108] In the embodiments provided herein, it should be understood that "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should also be understood that determining B based on A does not mean determining B based solely on A; B can also be determined based on A and / or other information.

[0109] Those skilled in the art will appreciate that some or all of the steps in the various methods of the embodiments may be performed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, including 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 programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium capable of carrying or storing data.

[0110] The above is a detailed introduction to the smart lighting control method, device, electronic device and storage medium 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 scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A smart lamp control method, characterized in that: include: Obtain the user's historical lighting usage data, which includes the earliest time the lights are turned on in the house, the latest time the lights are turned off in the house, and the lighting usage time information of any area in the house; generating a first control instruction for the lamp according to the historical lamp usage data, and executing the first control instruction when an execution criterion of the first control instruction is met, wherein the first control instruction includes a light-on instruction and a light-off instruction; Collect the user's location information in the house, detect whether the area corresponding to the location information is currently lit, and control the lighting of the area if it is not lit; generating a user's movement trajectory based on the user's location information, predicting the user's next target area based on the movement trajectory, and controlling the target area to light up when the target area is not lit; Collecting the number of successful executions of the first control instruction within a set number of days, and when the number of successful executions is lower than a threshold, modifying the first control instruction based on the lighting data of the house when the first control instruction was not executed; 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 area are detected, and the lighting parameters of the first area are adjusted according to the lighting parameters of the other areas.

2. The intelligent lighting control method according to claim 1, characterized in that: Also includes: Before the initial time for executing the first control instruction arrives, determining whether a delay instruction is received, and if so, delaying the initial time for executing the first control instruction according to the delay instruction; Collect the current timestamp and determine whether the current timestamp meets the initial time for executing the first control instruction.

3. The intelligent lighting control method according to claim 2, characterized in that: Generating a first control instruction for the lamp 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; Generate lighting data for each area based on the lighting usage time information of any area of the house; Generate the house lights-off time based on the latest lights-off time of the house.

4. The intelligent lighting control method according to claim 3, characterized in that: Based on the lighting time information of any area of the house, the lighting data of each area is generated separately, including: Get the lighting time information of any area in the house, including the lighting time, lighting time and lighting parameters corresponding to different times; The lighting time and the lighting 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.

5. The intelligent lighting control method according to claim 3, characterized in that: After executing the first control instruction, the method further includes: The user's location information is collected within a preset time period from the initial time to determine whether the user appears in a preset area. When the user does not appear in the preset area, the first control instruction is terminated.

6. An intelligent lighting control device, characterized in that: include: Data acquisition module: used to obtain the user's historical lighting data, which includes the earliest time the lights are turned on in the house, the latest time the lights are turned off in the house, and the lighting time information of any area in the house; An instruction generation module is configured to generate a first control instruction for the lamp according to the historical lamp usage data, and execute the first control instruction when an execution criterion for the first control instruction is met, wherein the first control instruction includes a light-on instruction and a light-off instruction; Location acquisition module: used to collect the user's location information in the house, detect whether the area corresponding to the location information is currently lit, and control the lighting of the area if it is not lit; Trajectory prediction module: used to generate the user's movement trajectory based on the user's location information, predict the user's next target area based on the movement trajectory, and control the target area to light up when the target area is not lit; An instruction modification module is configured to collect the number of successful executions of a first control instruction within a set number of days, and when the number of successful executions is lower than a threshold, modify the first control instruction based on the lighting data of the house when the first control instruction is not executed; Parameter adjustment module: used to detect the lighting parameters of other areas adjacent to the first area in the multi-functional area when the user is located in the first area, and adjust the lighting parameters of the first area according to the lighting parameters of the other areas.

7. 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 smart lamp control method according to any one of claims 1 to 5.

8. 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 intelligent lighting control method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and system for controlling indoor electrical appliance

    CN107065591A

  • Intelligent panel control method, device and system, electronic equipment and storage medium

    CN111385945A