Lighting system control method, device and storage medium
By generating lighting control requests through sensors and broadcasting them to the control core, the problem of gateway jamming caused by large amounts of data is solved, and the lighting system can respond quickly and present accurate scenes.
Patent Information
- Application Number
- CN202510749732.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-06
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-06-06
AI Technical Summary
The gateway in the lighting system is prone to lag when processing large amounts of data, resulting in untimely lighting response and affecting the scene creation effect.
Lighting control requests are generated through sensors and broadcast to multiple control cores. The control cores autonomously parse the scene number and execute the lighting control logic based on the locally stored scene configuration rules, avoiding the gateway from performing complex logic calculations and parameter matching, and realizing distributed processing.
Significantly reduce the real-time data traffic processed by the gateway, improve the real-time response of the system, ensure fast and smooth switching of large-scale lighting scenes, and achieve accurate lighting atmosphere presentation in complex spaces.
Smart Images

Figure CN120264542B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of distributed systems, and particularly relates to a control method and device of a lighting system and a storage medium. BACKGROUND
[0002] The lighting system constructs the atmosphere expression of corresponding light through the light effect combination by regulating the color temperature and brightness parameters of each lamp, and forms a light scene.
[0003] In the related art, the lighting system uploads the trigger signal to the central gateway based on the sensor through the Zigbee communication protocol, the gateway analyzes the scene instruction, and then sends the control signal to the target lamp group through the wired or wireless network.
[0004] However, as a single control node, the gateway has a large number of signals to process when facing a large and complex space, which is prone to delay and lag, thereby causing the light response to be not timely and affecting the scene creation effect.
[0005] The above content is only used to assist in understanding the technical solutions of the present application and does not represent the acknowledgement of the above content as prior art. SUMMARY
[0006] The main purpose of the present application is to provide a control method and device of a lighting system and a storage medium, which aims to solve the technical problem that the gateway in the lighting system is prone to lag when the amount of data to be processed is large, thereby affecting the scene creation effect.
[0007] To achieve the above purpose, the present application provides a control method of a lighting system, which comprises the following steps:
[0008] Receiving a lighting control request sent by a sensor, and extracting a scene number in the lighting control request according to a preset communication protocol;
[0009] Querying the lighting scene information corresponding to the scene number;
[0010] Matching the lamp information corresponding to the control core with the lighting scene information, and determining the lighting control parameters of the lamps according to the matching result;
[0011] Adjusting the light-emitting state of the lamps based on the control execution parameters, so that at least one control core controls the lamps to emit light based on the scene number, thereby forming the lighting scene corresponding to the scene number.
[0012] In an embodiment, the step of receiving a lighting control request sent by a sensor and extracting a scene number in the lighting control request according to a preset communication protocol comprises:
[0013] receiving the light control request broadcasted by the sensor through Bluetooth;
[0014] segmenting the light control request into request fields according to the preset communication protocol, and determining field information of the request fields;
[0015] obtaining a key field and a scene number field from the field information;
[0016] comparing the key field with a preset key, and taking the scene number field as the scene number when the comparison result is matching.
[0017] In an embodiment, before the step of querying the scene light parameter corresponding to the scene number, the method further comprises:
[0018] receiving a Bluetooth signal sent by a user terminal, and identifying scene setting information from the Bluetooth signal;
[0019] associating the scene setting information with corresponding lamp information to generate the light scene information;
[0020] allocating the scene number to the light scene information, and associating and saving the light scene information and the scene number.
[0021] In an embodiment, the step of adjusting the light emitting state of the lamp based on the control execution parameter comprises:
[0022] determining a parameter digest of the control execution parameter and a current timestamp of the system;
[0023] generating a check code containing the timestamp and the parameter digest, and encapsulating the light control parameter and the check code into a control instruction package;
[0024] sending the control instruction package to an executor corresponding to the lamp through an encrypted communication link, so that the executor executes the parameter adjustment of the lamp after verifying the check code.
[0025] In an embodiment, after the step of adjusting the light emitting state of the lamp based on the control execution parameter, the method further comprises:
[0026] collecting real-time environment parameters of the lamp, the environment parameters including a voltage fluctuation value of power supply and a temperature value of the lamp;
[0027] adjusting a brightness value in the light control parameter when it is detected that the voltage fluctuation exceeds a first threshold value and / or the temperature value exceeds a second threshold value.
[0028] In an embodiment, after the step of adjusting the light emitting state of the lamp based on the control execution parameter, the method further comprises:
[0029] determine an actual light emitting parameter of the luminaire, and perform a difference calculation between the actual light emitting parameter and the light control parameter;
[0030] when the difference exceeds a preset tolerance range, generate a parameter compensation instruction based on the difference, and issue the parameter compensation instruction to the corresponding luminaire.
[0031] In an embodiment, the step of determining the actual light emitting parameter of the luminaire feedback and performing a difference calculation between the actual light emitting parameter and the light control parameter comprises:
[0032] receiving the running parameter of the luminaire feedback, and determining the target luminous flux of the luminaire according to the running parameter and the target luminaire information of the luminaire;
[0033] in the luminaire light decay model in the database, obtaining the light decay coefficient corresponding to the target luminaire information;
[0034] calculating the actual luminous flux according to the target luminous flux and the light decay coefficient, and determining the actual light emitting parameter according to the actual luminous flux.
[0035] In an embodiment, after the step of adjusting the light emitting state of the luminaire based on the control execution parameter, so that at least one of the control cores forms the light scene corresponding to the scene number after controlling the luminaire to emit light based on the scene number, the method further comprises:
[0036] obtaining the scene adjustment information sent by the target control core, and obtaining the light emitting parameter and the running parameter in the scene adjustment information;
[0037] determining the light decay coefficient of the target luminaire corresponding to the target control core according to the running parameter and the light emitting parameter;
[0038] adjusting the light emitting state of the luminaire based on the light decay coefficient and the light scene information.
[0039] In addition, to achieve the above-mentioned purpose, the present application also provides a control device of a light system, which comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the control method of the light system as described above.
[0040] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, which is a computer readable storage medium, and the storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the control method of the light system as described above.
[0041] The one or more technical solutions proposed in the present application have at least the following technical effects:
[0042] The present application generates a light control request based on a scene number through a sensor, and further sends the request to multiple control cores simultaneously through a broadcast mode, so that each control core can autonomously analyze the scene number and independently execute the corresponding light control logic based on the locally stored scene configuration rules, without relying on the gateway for complex logic calculation and parameter matching, thereby significantly reducing the real-time data traffic that the gateway needs to process. Among them, based on the distributed processing architecture, the bandwidth bottleneck caused by traditional centralized processing is avoided, so that the light state adjustment instruction can be generated and executed locally quickly, and the scene analysis and parameter matching process are downgraded to each control core for completion, without going through the gateway. While ensuring multi-region collaborative control, the system response real-time performance is significantly improved, so that the switching of large-scale light scenes can realize fast and smooth transition without lag, thereby ensuring the accurate presentation of the light atmosphere in complex space scenes. BRIEF DESCRIPTION OF DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application and serve to explain the principles of the present application together with the specification.
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained based on these drawings without creative labor.
[0045] Figure 1 The flowchart of the first embodiment of the control method of the light system of the present application;
[0046] Figure 2 The flowchart of the second embodiment of the control method of the light system of the present application;
[0047] Figure 3 The flowchart of the third embodiment of the control method of the light system of the present application;
[0048] Figure 4 The flowchart of the fourth embodiment of the control method of the light system of the present application;
[0049] Figure 5 The flowchart of the fifth embodiment of the control method of the light system of the present application;
[0050] Figure 6 The structural schematic diagram of the control device of the light system of the hardware running environment related to the embodiment scheme of the present application.
[0051] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION
[0052] It should be understood that the specific embodiments described herein are merely intended to explain the present application and are not intended to limit the present application.
[0053] In order to better understand the above technical solutions, the above technical solutions will be described in detail below in combination with the drawings and specific embodiments of the specification.
[0054] The main solution of the embodiment of the present application is: receiving a light control request sent by a sensor, and extracting a scene number from the light control request according to a preset communication protocol; querying light scene information corresponding to the scene number; matching light fixture information corresponding to the control core with the light scene information, and determining light control parameters of the light fixture according to the matching result; adjusting the light emitting state of the light fixture based on the control execution parameters, so that at least one control core controls the light fixture to emit light based on the scene number, forming a light scene corresponding to the scene number.
[0055] In the prior art, the light system based on the sensor uploads the trigger signal to the central gateway through the Zigbee communication protocol, and the gateway analyzes the scene instruction and sends the control signal to the target light fixture group through the wired or wireless network. However, as a single control node, the gateway has a large number of signals to process when facing large and complex spaces, which can easily cause delay and lag, resulting in delayed light response and affecting the scene creation effect.
[0056] The present application generates a light control request based on a scene number through a sensor, and further sends the request to multiple control cores simultaneously through a broadcast mode, so that each control core can independently analyze the scene number and execute the corresponding light fixture control logic based on the locally stored scene configuration rules, without relying on the gateway for complex logic calculation and parameter matching, thereby significantly reducing the real-time data traffic that the gateway needs to process. Based on the distributed processing architecture, the bandwidth bottleneck caused by traditional centralized processing is avoided, so that the light fixture state adjustment instruction can be quickly generated and executed locally, and the scene analysis and parameter matching process are downgraded to each control core for completion, without the need for a gateway. While ensuring multi-region collaborative control, the system response real-time performance is significantly improved, so that large-scale light scene switching can achieve smooth transition without lag, thereby ensuring the accurate presentation of the light atmosphere in complex space scenes.
[0057] For a better understanding of the above technical solutions, the exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0058] It should be noted that the execution subject of the present embodiment can be a control core of the lighting system, or a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a control device of the lighting system, etc., which is not specifically limited in the present embodiment. The present embodiment and the following embodiments will be described below with the control core of the lighting system as an example.
[0059] Based on this, the present embodiment provides a control method of a lighting system, which will be described below with reference to Figure 1 , Figure 1 The flowchart of the first embodiment of the control method of the lighting system of the present application is shown in FIG. 1.
[0060] In the present embodiment, the control method of the lighting system is applied to at least one control core in the lighting system, and the control method of the lighting system further comprises steps S10-S40:
[0061] Step S10: receiving a lighting control request sent by a sensor, and extracting a scene number in the lighting control request according to a preset communication protocol;
[0062] In the present embodiment, the lighting system comprises lamps, at least one sensor, and at least one control core. The sensor is used to detect whether the lighting control condition is met, and to trigger the lighting control process when the condition is met. The control core is used to adjust the light emitting state of the lamps and control the lamps to emit light after triggering the lighting control process. The scene number corresponding to the sensor is a unique identifier pre-assigned to the sensor, which is used to determine the specific lighting scene to which the lamps are switched, and each scene number corresponds to a lighting configuration.
[0063] Specifically, after triggering the lighting control process, the control logic program inside the sensor starts running. The program accesses the configuration information stored inside the sensor, which contains the scene number pre-assigned to the sensor. For example, there is a storage unit inside the sensor dedicated to storing the scene number, which is assigned by the system according to the installation position or functional requirements of the sensor during initialization, such as the scene number assigned to the sensor at the entrance of the living room corresponding to the "home mode" lighting scene.
[0064] Optionally, the sensor can be a human body sensor, in which human body feature information is pre-stored. The surrounding environment information can be obtained by a laser radar or an infrared sensing element, and compared with the human body feature information. When the comparison result is a match, the light control process is triggered. Alternatively, the sensor can also be a trigger sensor deployed in the scene, such as a key sensor, a touch sensor, or other terminal devices. The user can interact with the sensor to actively trigger the light control process. Optionally, the sensor can include multiple keys, in which different keys can correspond to different scene numbers, so that the user can select different light scenes by clicking different keys. Alternatively, the sensor can also be a mobile terminal. The user can establish a communication connection with the control core through the mobile terminal, such as a Bluetooth connection. The mobile terminal triggers the light control process when the user clicks the corresponding key through the application program.
[0065] In an example, the sensor internally stores pre-set human body feature information, such as an infrared radiation feature template or a microwave reflection feature template of a human body. The obtained environment information is compared with the human body feature information, which can use a pattern recognition algorithm or a simple threshold comparison method. For example, for infrared sensing, when the detected infrared radiation intensity exceeds the set threshold, it is considered to match the human body feature information. For microwave sensing, the frequency variation characteristics of the received microwave signal are analyzed and compared with the microwave reflection feature template of human activity. When the similarity reaches a certain standard, it is determined to be a match. When the comparison result is a match, the sensor triggers the light control process, starts the internal control logic, and prepares to generate a light control request to realize automatic control of the light scene.
[0066] In another example, a smart terminal device arranged on a wall and configured with a touch screen is taken as an example. The user can click the corresponding key in the control interface displayed by the smart terminal to trigger the light control process.
[0067] Further, after the sensor obtains the scene number, it starts the data packet generation program. First, according to the data packet format defined by the pre-set communication protocol, a blank data packet framework is created. For example, the data packet can include a start flag, a device type, a scene number, a data check code, and other fields. Then, the obtained scene number is written into the corresponding field position of the data packet. For example, if the scene number is a 16-bit binary number, the sensor will correctly place it in the 16-bit space reserved for the scene number in the data packet.
[0068] It should be noted that the preset communication protocol refers to the data transmission rules and formats agreed between the sensor and the control core, which is used to ensure that both parties can correctly understand and process the transmitted data. The light control request is a data packet generated by the sensor according to the preset communication protocol, which contains key information such as scene number, used to inform the control core to perform corresponding light control operations. Among them, the preset communication protocol stipulates the format, field meaning, and verification method of the data packet, to ensure accurate transmission and analysis of data.
[0069] Optionally, the sensor can calculate the data check code, i.e. the key field, according to the communication protocol. The calculation method of the check code may be a certain mathematical operation based on the entire data packet content, such as cyclic redundancy check (CRC) or hash algorithm, to ensure the integrity and accuracy of the data during transmission. The sensor adds the check code to the specified position of the data packet, completing the packaging of the data packet.
[0070] In this embodiment, the sensor sends the generated light control request data packet to the control core according to the preset communication protocol through the wireless communication module (such as Bluetooth, Wi-Fi, etc.). The control core receives the light control request from the sensor through the network interface or Bluetooth interface and other communication interfaces. The request is sent in the form of a data packet, containing multiple fields such as request header, request body and check bit. The receiving module of the control core captures the data packet and temporarily stores it in the buffer area. The analysis module of the control core analyzes the data packet according to the preset communication protocol. The protocol stipulates the order and format of the fields, for example, the request header may contain request type and length information, and the request body contains actual control instructions and scene number. The analysis module extracts the scene number field according to the protocol rules.
[0071] Optionally, the extracted scene number field is further verified to ensure that it is correctly formatted and conforms to the preset encoding rules. If the scene number is invalid, the control core will return an error message. If it is valid, it will be stored in the memory for subsequent use.
[0072] In an embodiment, the control core and the sensor transmit signals based on a preset communication protocol and through Bluetooth broadcasting. The control core receives a light control request broadcast by the sensor through Bluetooth, splits the light control request into a request field according to the preset communication protocol, and determines field information of the request field. The request field includes a key field, an identification information field, and a scene number field. The key field is used to verify the correctness and integrity of the data transmission process, the identification information field is used to support the control core to verify whether the control core is the execution subject of the control action corresponding to the light control request, and the scene number field is used for the control core to determine light scene information. The control core obtains the scene number field and the key field and / or the identification information field from the field information. The control core compares the key field with a preset key and / or compares the identification information field with preset identification information, and when the comparison result is matched, the scene number field is taken as the corresponding scene number.
[0073] For example, the preset communication protocol is a custom communication protocol, which specifies that the scene number is located at a specific byte position of a data packet and occupies a certain number of bytes, and the control core locates and reads the scene number based on the specification. Assuming that the first 4 bytes of the data packet are identification information, and the next 2 bytes are the scene number, the control core will read the information of the 5th and 6th bytes as the scene number.
[0074] Step S20: querying light scene information corresponding to the scene number;
[0075] In this embodiment, the light scene information refers to lamp configuration information associated with the scene number, which includes a mapping relationship between light information and parameters such as brightness, color, and flicker frequency. The database module of the control core queries the corresponding light scene information in the local database according to the extracted scene number (such as “scene_001”).
[0076] Specifically, after receiving the scene number, the control core starts a query operation to access the light scene information database stored in its internal storage or an external storage device connected thereto. When querying, the control core compares the extracted scene number with the scene number records in the database as a query condition, finds the matching record, and then reads the light scene information corresponding to the record.
[0077] For example, the database stores a plurality of scene numbers and corresponding light parameters. For example, “scene_001” may correspond to a living room scene, and the light parameters are brightness 50% and color warm white.
[0078] Step S30: matching the light fixture information corresponding to the control core with the light scene information, and determining the light control parameters of the light fixture according to the matching result;
[0079] In the embodiment, the luminaire information refers to the relevant information of the luminaire managed by the control core, such as the number of the luminaire, or the hardware information such as the model, position and function. The control execution parameter refers to the final determined luminaire parameter, which is used to adjust the light emitting state of the luminaire.
[0080] Specifically, the matching module of the control core matches the queried light scene information with the luminaire information managed by the control core. The matching refers to comparing the luminaire information with the preset luminaire information in the light scene information, determining the parameters such as the brightness, color and flicker frequency of the luminaire information based on the mapping relationship, so as to determine the specific control parameter of each luminaire. For example, the control core manages 5 luminaires in the living room, and the matching module will determine the specific parameters of each luminaire in the current scene according to the position and function of each luminaire. After the matching is completed, the control core generates the control parameter of each luminaire. For another example, the main light in the living room can be set to 50% brightness, warm white light, and the wall light can be set to 30% brightness, warm yellow light.
[0081] Step S40: based on the control execution parameter, adjusting the light emitting state of the luminaire, so that at least one control core controls the luminaire to emit light based on the scene number, forming the light scene corresponding to the scene number.
[0082] In the embodiment, the control core can control the driving circuit and other hardware devices of the luminaire, so that the luminaire emits light according to the state specified by the control execution parameter, thereby realizing the process of adjusting the light emitting state of the luminaire. The control core can send the determined control execution parameter to the actuator of each luminaire, control the light emitting state of the luminaire through the actuator, or directly control the driving circuit of the luminaire.
[0083] Further, the sensor sends the light control request in the form of broadcast to one or more control cores. Different control cores are responsible for the control of different luminaires, and a combination of multiple control cores is constructed as a distributed light system, so that different control cores control the luminaires to emit light and form the light scene corresponding to the scene number in a cooperative manner. Based on the distributed arrangement between the sensor and the control core in the light system, the sensor can send the light control request to all control cores at the same time without passing through the gateway. The control core can verify whether it needs to perform the response action of the light control request based on the data check code in the light control request, or the control core can judge whether it needs to perform the corresponding response action based on the light scene information corresponding to the scene number.
[0084] Optionally, the sensor will modulate, encode, and so on the data according to the requirements of the communication protocol to adapt to the transmission requirements of the wireless channel. For example, a specific modulation method (such as frequency modulation or phase modulation) is used to convert the digital signal into an analog signal suitable for wireless transmission. After the control core receives the data packet, it will parse it according to the preset communication protocol, extract the scene number, and find the corresponding light scene control logic according to the scene number, and then control the lamps to emit light according to the preset light scene to form the required lighting effect.
[0085] Optionally, the sensor activates its wireless communication module and scans the available control core devices around it. For example, the built-in Bluetooth module of the sensor will search for control core devices in pairing mode nearby and establish a connection through the Bluetooth protocol. After the connection is established, the sensor sends the encapsulated light control request data packet through the wireless communication link.
[0086] As an optional implementation, the control core extracts the parameter summary of the control execution parameters and the current timestamp of the system, generates a check code containing the timestamp and the parameter summary, and encapsulates the light control parameters and the check code into a control instruction packet. The generation of the parameter summary can use a specific hash algorithm, such as MD5 or SHA-1, etc. The hash algorithm can convert input data of any length into a fixed-length summary value, which has uniqueness and irreversibility. At the same time, the control core obtains the current timestamp of the system, combines the generated parameter summary and timestamp, and generates a check code according to the preset rules such as splicing or padding. The control core writes the parameters and the check code into the corresponding fields of the data packet according to the format specified by the preset communication protocol, so as to encapsulate the light control parameters and the check code into a control instruction packet. The control instruction packet is sent to the actuator of the corresponding lamp through an encrypted communication link, so that the actuator verifies the check code and executes the parameter adjustment of the lamp.
[0087] Optionally, the control core converts the determined control execution parameters into control signals that can be recognized by the lamp. Different lamps may require different types of control signals, such as analog signals, digital signals, etc. For example, for some lamps that use pulse width modulation (PWM) dimming, the control core needs to convert the brightness parameter into the corresponding PWM signal duty cycle; for lamps that support digital control protocols, the control core needs to convert the control execution parameters into corresponding digital instructions according to the protocol.
[0088] For example, the control core queries the living room scene corresponding to "scene_001" and finds that the brightness is 50% and the light is warm white. The main living room lamp managed by the control core is model "Lamp_A," located in the center of the living room. The matching module determines that the parameters for "Lamp_A" in this scene are 50% brightness and warm white light. The control core sends these parameters to the main lamp's actuator, which adjusts the main lamp's lighting state to meet the requirements of the living room scene.
[0089] As an alternative implementation, the control core can be directly connected to the luminaire, acting as an actuator to modify the luminaire's parameters. The control core transmits the converted control signal to the luminaire's driver circuit via the luminaire's control interface, directing the luminaire's lighting. Upon receiving the control signal, the driver circuit adjusts the luminaire's operating state accordingly, thereby changing the luminaire's lighting state and switching between lighting scenes.
[0090] Specifically, the control core sends control signals to the lamps through pulse width modulation (PWM). The control core digitally encodes the analog signal level by adjusting the pulse width, or the duration of the high level. The duty cycle of the digital signal (such as a square wave) is then varied to create an analog output, effectively directing the lamp's lighting.
[0091] The embodiments of this application directly receive and parse the scene number in the lighting control request on the control core side, and perform autonomous matching operations based on the locally stored scene information and the information of the controlled lamps, eliminating the need to rely on the gateway for complex logical calculations and parameter matching, thereby significantly reducing the real-time data traffic that the gateway needs to process. By delegating the scene parsing and parameter matching process to each control core instead of going through the gateway, while ensuring multi-region coordinated control, the real-time response of the system is significantly improved, enabling fast and smooth transitions in large-scale lighting scenes, thereby ensuring the accurate presentation of lighting atmospheres in complex spatial scenes.
[0092] Since the system described in Example 2 of this application is the system used to implement the method of Example 1 of this application, those skilled in the art will be able to understand the specific structure and variations of the system based on the method described in Example 1 of this application, and therefore, no further description is given here. All systems used in the method of Example 1 of this application fall within the scope of protection to be provided by this application.
[0093] Based on the same inventive concept, this application also provides a second embodiment, referring to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the lighting system control method of the present application.
[0094] In the embodiment, the control method of the light system further comprises steps S11-S13:
[0095] Step S11: receiving a Bluetooth signal sent by a user terminal, and identifying scene setting information in the Bluetooth signal;
[0096] Step S12: associating the scene setting information with corresponding lamp information to generate the light scene information;
[0097] Step S13: assigning the light scene information with the scene number, and associating and saving the light scene information and the scene number.
[0098] In the embodiment, the Bluetooth module of the control core is in an open state, and continuously scans available Bluetooth signals around. When a user terminal (such as a smart phone, a tablet computer, etc.) sends a Bluetooth signal, the Bluetooth module of the control core captures the Bluetooth signal. The Bluetooth signal contains scene setting information set by a user through a specific application on the terminal device, and the control core identifies the scene setting information by analyzing a data packet of the Bluetooth signal.
[0099] Optionally, the control core can associate the extracted scene setting information with lamp identification information in lamp information stored in the lamp system. The control core determines light control parameters of each control core in the corresponding scene in the scene setting information, and obtains an identification number of a lamp preset based on a position in the scene, to complete the association of the light control parameters and the identification number. Alternatively, the control core can directly obtain the association information of the light control parameters and the identification number in the scene setting information, in which the user terminal directly completes the association based on a lamp position set by the user when the user sets. The light scene information is generated based on the association relationship.
[0100] For example, the scene setting information sets the brightness of a certain lamp to 80% and the color to warm yellow. The control core finds corresponding lamp information according to the identification number of the lamp, and matches the brightness and color parameters in the scene setting information with the brightness adjustment function and the color conversion function of the lamp. Meanwhile, the association relationship is recorded to generate complete light scene information, including a specific light emitting state of each lamp in the scene.
[0101] Optionally, the control core assigns a unique scene number to the generated light scene information. The assignment of the scene number can be performed according to certain rules, such as sequential numbering, random generation of a unique number, etc. The control core stores the light scene information and the corresponding scene number in a database or a storage unit of the system to establish the association relationship therebetween. When a subsequent light control request containing the scene number is received, the control core can quickly query the corresponding light scene information to accurately control the lamp.
[0102] The embodiment of the present application realizes the function of customizing the light scene by the user through the terminal device, and enhances the flexibility and personalization of the light system. The user can set different light scenes according to his own preferences and needs, and sends the scene setting information to the control core through the Bluetooth signal, and the control core saves and allocates the scene number, which is convenient for subsequent quick calling.
[0103] Since the system introduced in the second embodiment of the present application is the system used for implementing the method of the first embodiment of the present application, the specific structure and deformation of the system can be understood by those skilled in the art based on the method introduced in the first embodiment of the present application, and therefore will not be described here. Any system used by the method of the first embodiment of the present application belongs to the scope of the present application.
[0104] Based on the same inventive concept, the present application also provides a third embodiment, which refers to Figure 3 , Figure 3 The flowchart of the third embodiment of the control method of the light system of the present application.
[0105] In the present embodiment, after adjusting the light emitting state of the lamp based on the control execution parameter as described in step S40, so that at least one control core controls the lamp to emit light to form the light scene corresponding to the scene number, the method further includes steps S41-S42:
[0106] Step S41: Collecting real-time environmental parameters of the lamp in operation, the environmental parameters including voltage fluctuation value of power supply and temperature value of the lamp;
[0107] Step S42: When it is detected that the voltage fluctuation exceeds a first threshold value and / or the temperature value exceeds a second threshold value, adjusting the brightness value in the light control parameter.
[0108] In the present embodiment, the control core collects real-time environmental parameters of the lamp in operation through the environmental monitoring sensor (such as voltage sensor and temperature sensor) connected with the lamp. The voltage sensor detects the voltage change of the power supply line in real time, converts the voltage signal into digital signal, for example, using high-precision analog-digital converter (ADC), samples the voltage signal every preset time interval, and converts it into digital voltage value. The temperature sensor detects the ambient temperature around the lamp, such as using thermistor type temperature sensor, converts the resistance change into voltage change, and then converts it into digital temperature value through ADC. These digital signals are sent to the control core as real-time environmental parameters of the lamp in operation, including voltage fluctuation value of power supply and temperature value of the lamp.
[0109] Further, the control core monitors and judges the received voltage fluctuation value and temperature value in real time. When the control core detects that the voltage fluctuation exceeds a first threshold value, for example, the voltage fluctuation exceeds ±5%, or the temperature value exceeds a second threshold value, for example, the temperature exceeds 60℃, the control core triggers the corresponding protection mechanism. At this time, the control core reduces the brightness value in the light control parameter, reduces the power output of the lamp, and reduces the working current and heat generation of the lamp, thereby protecting the lamp from high voltage or temperature, and ensuring the safe and stable operation of the system.
[0110] The embodiments of the present application monitor the environmental parameters of the lamp in real time, such as voltage fluctuation and temperature, automatically adjust the light control parameter in abnormal conditions, effectively protect the lamp from high voltage or temperature, and improve the reliability and service life of the lamp.
[0111] The system described in Embodiment Three of the present application is the system used to implement the method of Embodiment One of the present application. Therefore, based on the method described in Embodiment One of the present application, those skilled in the art can understand the specific structure and modifications of the system, and therefore it will not be described here. Any system used by the method of Embodiment One of the present application belongs to the scope of protection of the present application.
[0112] Based on the same inventive concept, the present application also provides a fourth embodiment. For the flowchart of the control method of the fourth embodiment of the light system of the present application, please refer to Figure 4 , Figure 4 For the flowchart of the control method of the fourth embodiment of the light system of the present application, please refer to
[0113] In this embodiment, after the control core controls the lamp to form the light scene corresponding to the scene number based on the control execution parameter, as described in step S40, the method further includes steps S43-S44:
[0114] Step S43: Determine the actual light emission parameter of the lamp, and calculate the difference between the actual light emission parameter and the light control parameter;
[0115] In this embodiment, the control core receives the actual light emission parameter fed back by the lamp through the feedback communication module of the lamp, such as the built-in reverse communication chip. The actual light emission parameter includes the current actual brightness value, color value, and flicker frequency of the lamp, and is the real light emission state of the lamp after adjustment according to the control instruction received by the actuator.
[0116] As an optional implementation, the control core receives the voltage fluctuation, current value, temperature, and other information of the lamp through the feedback communication module, and calculates the actual light emission parameter of the light based on the feedback information based on the photoelectric characteristic equation, thermal-optical coupling model, and other methods of the lamp.
[0117] Optionally, the control core can also determine the actual light emitting parameters of the luminaire based on the luminance sensor equipped in the scene or the luminaire.
[0118] As another optional implementation, considering that the performance of the luminaire gradually decreases with the reduction of service life, resulting in a decrease in brightness under the same operating parameters, the control core compensates for the light decay based on the luminaire information. The control core determines the target luminous flux of the luminaire by receiving the operating parameters fed back by the luminaire and according to the operating parameters and the target luminaire information of the luminaire. In the luminaire light decay model in the database, the light decay coefficient corresponding to the target luminaire information is obtained, the actual luminous flux is calculated according to the target luminous flux and the light decay coefficient, and the actual light emitting parameters are determined according to the actual luminous flux.
[0119] Specifically, when the luminaire is running, the sensors inside it monitor the operating parameters in real time, and send the data to the control core in a package according to the preset communication protocol and data transmission period. After receiving the operating parameters, the control core combines the target luminaire information of the luminaire and uses the pre-established luminaire performance model (such as based on the photoelectric characteristic equation of the luminaire, the thermal-optical coupling model, etc.) for calculation and analysis. By comparing the operating parameters with the rated parameters in the target luminaire information, considering the influence of real-time environmental parameters collected by the environmental sensor on the light emitting performance of the luminaire (such as the influence of temperature on light emitting efficiency, the adjusting effect of voltage fluctuation on light output, etc.), the target luminous flux of the luminaire under the current operating state is calculated by using the luminaire performance model, that is, the light flux level that the luminaire should theoretically reach.
[0120] Further, the control core stores light decay models of multiple luminaires in the database, which are established based on long-term laboratory testing and on-site operation data collection and analysis of luminaires of different brands, different types, and different powers. When the light decay coefficient corresponding to the target luminaire information is needed, the control core retrieves the matching light decay model in the database according to the model number, manufacturer, and other key identification information of the luminaire, and extracts the corresponding light decay coefficient from the light decay model according to the operating parameters of the current luminaire (such as cumulative working time, average working environment temperature, driving current level, etc.).
[0121] After the target light flux and the light attenuation coefficient are acquired, the control core calculates by using a light attenuation formula (such as actual light flux = target light flux * (1 - light attenuation coefficient * working time proportion). The working time proportion refers to the proportion of the actual cumulative working time of the lamp to an attenuation period in the light decay model. According to the optical principle and the optical characteristics (such as the light intensity distribution curve, the light distribution angle, etc.) of the lamp, the actual light flux is converted into actual light emission parameters such as brightness (according to the relationship formula between brightness and light flux, brightness = light flux / (effective light emission area of the lamp * light intensity distribution coefficient)) or illuminance (illuminance = light flux / (illuminated area * cosine correction coefficient)) so as to more intuitively evaluate the actual light emission effect of the lamp.
[0122] Step S44: When the difference degree exceeds the preset tolerance range, a parameter compensation instruction is generated based on the difference degree, and the parameter compensation instruction is issued to the corresponding lamp.
[0123] In this embodiment, the control core compares the received actual light emission parameters with the previously sent light control parameters to calculate the difference degree. Optionally, the calculation of the difference degree can adopt the Euclidean distance, the absolute error or the relative error, etc. For example, for the brightness parameter, the control core calculates the difference between the actual brightness value and the control brightness value, and then takes the absolute value to obtain the absolute error, or calculates the ratio of the actual brightness value to the control brightness value to obtain the relative error, so as to measure the difference degree between the two.
[0124] Further, the control core compares the calculated difference degree with the preset tolerance range. The preset tolerance range is set according to the error range allowed by the light system, such as the tolerance range of brightness is ±5%, the tolerance range of color is color temperature ±100K, etc. When the difference degree exceeds the preset tolerance range, it indicates that there is a large deviation between the actual light emission state of the lamp and the expected control state. At this time, the control core generates a parameter compensation instruction, adjusts the original control parameter according to the direction and size of the deviation, such as increasing or decreasing the brightness value, adjusting the color value, etc. Then, the parameter compensation instruction is reissued to the actuator of the corresponding lamp through the communication interface, and the actuator adjusts the lamp again according to the new compensation instruction, so that the actual light emission state of the lamp is as close as possible to the expected light control parameter, thereby improving the precision and accuracy of the control.
[0125] The embodiments of the present application can receive the actual light emission parameters fed back by the lamp and calculate the difference degree, timely find the deviation between the light emission state of the lamp and the control parameter, and correct it by generating a parameter compensation instruction, so as to effectively improve the precision and stability of the light control in a closed-loop control mechanism, and ensure that the lamp can accurately emit light according to the expected light scene.
[0126] Since the system introduced in the fourth embodiment of the present application is the system used for implementing the method of the first embodiment of the present application, the specific structure and variations of the system can be understood by those skilled in the art based on the method introduced in the first embodiment of the present application, and thus will not be described here again. Any system used for the method of the first embodiment of the present application belongs to the scope intended to be protected by the present application.
[0127] Based on the same inventive concept, the present application also provides a fifth embodiment, which refers to Figure 5 , Figure 5 The flowchart of the control method of the fifth embodiment of the light system of the present application is shown in FIG. 5.
[0128] In the present embodiment, the control method of the light system further includes steps S51-S53:
[0129] Step S51: Obtain the scene adjustment information sent by the target control core, and obtain the light emission parameter and the running parameter in the scene adjustment information;
[0130] Step S52: Determine the light attenuation coefficient of the target lamp corresponding to the target control core according to the running parameter and the light emission parameter;
[0131] Step S53: Adjust the light emission state of the lamp based on the light attenuation coefficient and the light scene information.
[0132] In the present embodiment, the light system based on distribution among control cores realizes communication interconnection. The control core dynamically detects the running parameter of the managed lamp in real time, determines the light emission parameter matched with the actual brightness of the lamp, and synchronously sends the scene adjustment information to other control cores in the same light scene when the brightness of the lamp is low due to aging, environment, etc., so that other control cores cooperate with the lamp with low brightness to control other lamps to adjust the light emission state, so as to ensure the coordination and unity of the light scene.
[0133] Specifically, each control core monitors the light emission parameter and the running parameter of the managed lamp in real time. When a control core, i.e., a target control core, detects that the brightness of the lamp it manages is lower than a preset threshold, it will generate scene adjustment information. The information contains the current light emission parameter and running parameter, and according to a preset communication protocol, the scene adjustment information is sent to other control cores of the same light scene based on the scene number through the internal communication network of the system.
[0134] After receiving the scene adjustment information sent by the target control core, the other control core extracts the light emission parameters and operation parameters in the scene adjustment information. According to the expected luminous flux corresponding to the operation parameters and the actual luminous flux corresponding to the light emission parameters, the other control core can determine a light attenuation coefficient based on a ratio of the expected luminous flux to the actual luminous flux, and adjust the light emission state of the luminaire based on the light attenuation coefficient and the control parameters of the luminaire in the light scene information.
[0135] Further, after the control core calculates the light attenuation coefficient, the control core determines the brightness compensation value that needs to be adjusted. According to the overall lighting demand of the scene and the current actual brightness, the control core calculates the percentage of brightness reduction of the other luminaires by using a control algorithm (such as a linear compensation algorithm). Meanwhile, the built-in feedback mechanism of the system monitors the adjusted brightness in real time to ensure that the overall brightness achieves the expected effect.
[0136] The embodiment of the present application realizes accurate identification and quantitative analysis of the local brightness deficiency problem in the light system by obtaining the scene adjustment information of the target control core and determining the light attenuation coefficient of the target luminaire, and adjusts the light emission state of the luminaire by reducing the overall brightness based on the light attenuation coefficient, thereby solving the problem of uneven scene brightness caused by aging or abnormality of individual luminaires and maintaining the coordination and consistency of the light scene.
[0137] The present application provides a control device of a light system, which comprises at least one processor and a memory in communication connection with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the control method of the light system in Embodiment I.
[0138] Reference will now be made to the drawings, in which Figure 6 which shows a structural schematic diagram of a control device of a light system suitable for implementing the embodiment of the present application. The control device of the light system in the embodiment of the present application can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description), PMPs (Portable Media Player), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 6 The control device of the light system shown is merely an example and should not impose any limitation on the functions and use range of the embodiment of the present application.
[0139] As Figure 6As shown, the control device of the lighting system can include a processing device 1001 (e.g., a core processor, a graphics processor, etc.) that can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 1002 or programs loaded from a storage device 1003 into a random access memory (RAM) 1004. Various programs and data required for the operation of the control device of the lighting system are also stored in the random access memory 1004. The processing device 1001, the read-only memory 1002, and the random access memory 1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; the storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the control device of the lighting system to communicate with other devices wirelessly or by wire to exchange data. Although the control device of the lighting system with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.
[0140] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network by a communication device, or installed from the storage device 1003, or installed from the read-only memory 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are performed.
[0141] The control device of the lighting system provided by the present disclosure adopts the control method of the lighting system in the above-mentioned embodiments, and can solve the technical problem that the gateway in the lighting system is prone to freezing when the amount of data to be processed is large, thereby affecting the scene creation effect. Compared with the prior art, the control device of the lighting system provided by the present disclosure has the same beneficial effects as the control method of the lighting system provided by the above-mentioned embodiments, and other technical features in the control device of the lighting system are the same as the features disclosed in the previous embodiment method, which will not be repeated here.
[0142] It should be understood that various parts of the present application can be realized with hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0143] The above description is merely that of a specific implementation of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, and all such changes or replacements should be encompassed within the scope of protection of the present application. Therefore, the scope of protection of the present application should be subject to the scope of protection of the claims.
[0144] The present application provides a computer readable storage medium having stored thereon computer readable program instructions (i.e., a computer program) for performing the control method of the light system in the above embodiments.
[0145] The computer readable storage medium provided by the present application may, for example, be a U disk, but is not limited to an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, system, or device, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more conductive wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present embodiment, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer readable storage medium can be transmitted in any suitable medium, including but not limited to electrical wire, optical cable, radio frequency (RF), and the like, or any suitable combination of the above.
[0146] The above computer readable storage medium can be included in the control device of the light system; or can exist separately and not be assembled into the control device of the light system.
[0147] The computer readable storage medium described above carries one or more programs, when the one or more programs are executed by the control device of the light system, the control device of the light system receives a light control request sent by a sensor, and extracts a scene number in the light control request according to a preset communication protocol; queries light scene information corresponding to the scene number; matches the light information corresponding to the control core with the light scene information, and determines the light control parameter of the light according to the matching result; adjusts the light-emitting state of the light based on the control execution parameter, so that at least one control core controls the light to emit light based on the scene number, and forms a light scene corresponding to the scene number.
[0148] Computer program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0149] The flow diagrams and the block diagrams in the drawings are illustrations of architectures, functionalities, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may
[0150] The modules described in the embodiments of the present application can be implemented in the form of software or in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself.
[0151] The readable storage medium provided by the present application is a computer readable storage medium, which stores computer readable program instructions (i.e. computer programs) for executing the control method of the light system, and can solve the technical problem that the gateway in the light system is prone to freezing when the amount of data to be processed is large, thereby affecting the scene creation effect. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the present application are the same as those of the control method of the light system provided by the above-mentioned embodiments, and will not be repeated here.
[0152] The above only describes some embodiments of the present application, and does not limit the patent scope of the present application. Any equivalent structural transformation, direct / indirect application in other related technical fields based on the technical concept of the present application, and the contents of the present application are included in the patent protection scope of the present application.
Claims
1. A method for controlling a lighting system, characterized in that: Applied to at least one control core, the method comprises the following steps: Receive a light control request sent by a sensor, and extract a scene number from the light control request according to a preset communication protocol; Query the lighting scene information corresponding to the scene number; Matching the lamp information corresponding to the control core with the lighting scene information, and determining the lighting control parameters of the lamp according to the matching result; Based on the control execution parameters, the lighting state of the lamp is adjusted so that after the multiple control cores control the lighting of the lamp based on the scene number, a lighting scene corresponding to the scene number is formed. Different control cores are responsible for controlling different lamps. The combination of multiple control cores constitutes a distributed lighting system, so that different control cores control the lighting of the lamps and form the lighting scene corresponding to the scene number in a coordinated manner. The control cores communicate and interconnect with each other based on the distributed lighting system. The control execution parameters refer to the finalized lamp parameters used to adjust the lighting state of the lamp. Receive scene adjustment information sent by the target control core, and obtain the lighting parameters and operating parameters in the scene adjustment information, wherein the scene adjustment information is generated by the target control core when it detects that the brightness of the managed target lamp is lower than a preset threshold, and is sent to other control cores other than the target control core based on the scene number through a preset communication protocol; Determining a light attenuation coefficient of the target lamp corresponding to the target control core according to the expected luminous flux corresponding to the operating parameter and the actual luminous flux corresponding to the luminous parameter; Based on the light attenuation coefficient and the light scene information, a control algorithm is used to calculate a brightness compensation value, and the lighting state of the lamp is adjusted according to the brightness compensation value to maintain the coordination of the light scene, wherein the lamp is other than the target lamp.
2. The method according to claim 1, wherein The step of receiving a light control request sent by a sensor and extracting a scene number from the light control request according to a preset communication protocol includes: receiving the light control request sent by the sensor via Bluetooth broadcast; According to the preset communication protocol, the lighting control request is divided into request fields, and field information of the request fields is determined; Obtaining a key field and a scene number field from the field information; The key field is compared with a preset key, and when the comparison result is a match, the scene number field is used as the scene number.
3. The method according to claim 1, wherein Before the step of querying the lighting scene information corresponding to the scene number, the method further includes: receiving a Bluetooth signal sent by a user terminal and identifying scene setting information in the Bluetooth signal; Associating the scene setting information with corresponding lamp information to generate the lighting scene information; The scene number is assigned to the lighting scene information, and the lighting scene information and the scene number are associated and saved.
4. The method according to claim 1, wherein The step of adjusting the lighting state of the lamp based on the control execution parameter includes: Determine a parameter summary of the control execution parameters and a current system timestamp; generating a check code including the timestamp and the parameter summary, and encapsulating the lighting control parameters and the check code into a control instruction packet; The control instruction packet is sent to the actuator corresponding to the lamp through an encrypted communication link, so that the actuator verifies the verification code and then performs parameter adjustment of the lamp.
5. The method according to claim 1, wherein After the step of adjusting the lighting state of the lamp based on the control execution parameter, the method further includes: Collecting real-time environmental parameters of the lamp, wherein the environmental parameters include a voltage fluctuation value of the power supply and a temperature value of the lamp; When it is detected that the voltage fluctuation value exceeds a first threshold value and / or the temperature value exceeds a second threshold value, the brightness value in the lighting control parameter is adjusted.
6. The method according to claim 1, wherein After the step of adjusting the lighting state of the lamp based on the control execution parameter, the method further includes: Determining actual luminous parameters of the lamp, and calculating the difference between the actual luminous parameters and the lighting control parameters; When the difference exceeds a preset tolerance range, a parameter compensation instruction is generated based on the difference, and the parameter compensation instruction is sent to the corresponding lamp.
7. The method according to claim 6, wherein The step of determining the actual luminous parameters of the lamp and calculating the difference between the actual luminous parameters and the lighting control parameters comprises: receiving operating parameters fed back by the lamp, and determining a target luminous flux of the lamp according to the operating parameters and target lamp information of the lamp; Obtaining the light attenuation coefficient corresponding to the target lamp information from the lamp light attenuation model in the database; The actual luminous flux is calculated according to the target luminous flux and the light attenuation coefficient, and the actual luminous parameter is determined according to the actual luminous flux.
8. A lighting system control device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for controlling a lighting system according to any one of claims 1 to 7.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the method for controlling a lighting system according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Household equipment control method, Bluetooth control node, household equipment and terminal
CN117706947A
Method and device for controlling intelligent lamp and storage medium
CN117858315A