Lighting equipment control method and system, electronic equipment and medium
By identifying and adjusting the lighting equipment that produces light pollution, the problem that traditional lighting equipment control methods cannot automatically adjust lighting data is solved, and intelligent and automated lighting control is realized, reducing the occurrence of light pollution.
Patent Information
- Application Number
- CN202510166375.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-04-08
AI Technical Summary
Traditional lighting equipment control methods cannot automatically adjust lighting data according to dynamic changes in the environment, making it difficult to effectively solve the light pollution problem.
By acquiring the lighting data of multiple lighting devices, a pre-trained equipment identification model is used to identify the equipment that generates light pollution data, and the lighting equipment is adjusted according to the recognition results so that the lighting data is within a preset range.
It realizes intelligent and automated lighting equipment control, which can dynamically adapt to environmental changes, reduce the occurrence of light pollution, and create a more comfortable and environmentally friendly lighting environment.
Smart Images

Figure CN119789277A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things and intelligent control technology, and in particular to a lighting device control method, an electronic device for executing the control method, a lighting system including the control method and the electronic device, and a computer-readable medium. Background Art
[0002] Urban landscape lighting has become an important form of expression in the city at night. However, the popularity of lighting has also brought about light pollution problems such as destruction of aesthetic effects, reduced sense of security, disappearance of beautiful night sky, and energy waste. Light pollution factors mainly include brightness, strobe, glare, blue light, spill light, angle, etc.
[0003] At present, traditional measures to solve light pollution mainly focus on changing the front-end light source display terminal, including using sunshades, adjusting the angle of lamps or using low-pollution lighting equipment. These measures cannot automatically adjust the lighting data of lighting equipment according to dynamic changes in the environment and do not have intelligent control functions. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art to a certain extent. To this end, the present invention provides a lighting device control method, an electronic device for executing the control method, a lighting system including the control method and the electronic device, and a computer-readable medium, which has the advantages of intelligent and automatic control of lighting data of lighting devices.
[0005] In order to achieve the above-mentioned object, as a first aspect of the present invention, a control method for a lighting device is provided, which is used in a main control module of a lighting system, wherein the lighting system includes a plurality of different types of lighting devices, wherein the method includes:
[0006] Acquire lighting data of a plurality of lighting devices;
[0007] In the case where there is light pollution data in the multiple sets of lighting data obtained, the light pollution data is input into a pre-trained device recognition model to obtain identification information of the lighting device that generates the light pollution data; wherein the light pollution data is lighting data that is not within a preset range, and the device recognition model carries a mapping relationship between the lighting data and the identification information of the lighting device;
[0008] The lighting device that generates the light pollution data is adjusted according to the identification information so that the lighting data is within a preset range.
[0009] Optionally, the identification information includes location information and device type information, the lighting system further includes a plurality of sensor devices, the plurality of sensor devices correspond one-to-one to a plurality of lighting devices, the device identification model includes a cascaded location identification sub-model and a type identification sub-model, and the sensor device is used to obtain lighting data and image data of the corresponding lighting device,
[0010] The step of inputting the light pollution data into a pre-trained device recognition model to obtain identification information of the lighting device generating the light pollution data includes:
[0011] Input the light pollution data into the position recognition sub-model, determine the position information of the sensor device that collects the light pollution data, and determine the position information of the lighting device that generates the light pollution data according to the position information of the sensor device that collects the light pollution data; wherein the position recognition sub-model carries a mapping relationship between the lighting data of the lighting device and the position information of the lighting device;
[0012] The image data of the lighting device located at the position information of the lighting device collected by the sensor device is input into the type recognition sub-model to obtain the device type information of the lighting device; wherein the type recognition sub-model carries the mapping relationship between the image data of the lighting device and the device type information.
[0013] Optionally, the position identification sub-model also carries a position correspondence between the sensor device and the lighting device; and determining the position information of the lighting device generating the light pollution data according to the position information of the sensor device that collects the light pollution data includes:
[0014] Obtaining the position correspondence between the sensor device and the lighting device;
[0015] The position information of the lighting device generating the light pollution data is determined according to the position information of the sensor device collecting the light pollution data and the position correspondence.
[0016] Optionally, the type recognition sub-model includes feature information of multiple known device types, and the image data of the lighting device located at the position information of the lighting device collected by the sensor device is input into the type recognition sub-model to obtain the device type information of the lighting device, including:
[0017] Inputting the image data into the type recognition sub-model to extract feature information of the image data of the lighting device;
[0018] Performing similarity matching on feature information of the image data of the lighting device and feature information of a plurality of known device types;
[0019] The known device type corresponding to the maximum value of the similarity matching results is determined as the device type information of the lighting device.
[0020] Optionally, the identification information includes device type information, and adjusting the lighting device that generates the light pollution data according to the identification information so that the lighting data is within a preset range includes:
[0021] Determining, according to the device type information, a communication method of a control signal corresponding to the device type information;
[0022] A control signal is sent through a determined communication method to adjust the lighting data of the lighting device to within a preset lighting data range.
[0023] Optionally, determining a communication mode of a control signal corresponding to the device type information according to the device type information includes:
[0024] When the device type is a landscape lamp, the control signal is transmitted using the User Datagram Protocol;
[0025] When the device type is an outdoor imaging electronic screen, the user datagram protocol is used to transmit the control signal;
[0026] In the case where the device type is a street lamp, a serial communication standard is used to transmit control signals.
[0027] Optionally, sending a control signal by a determined communication method to adjust the lighting data of the lighting device to within a preset lighting data range includes:
[0028] Sending the control signal to an execution subject that executes the control signal;
[0029] The execution subject receives the control signal and adjusts the lighting data of the lighting device according to the control signal;
[0030] When the lighting data of the lighting device is within the preset lighting data range, the adjustment is terminated.
[0031] Optionally, the execution subject receives the control signal and adjusts the lighting data of the lighting device according to the control signal, including:
[0032] The sub-control device receives the control signal from the core master control and adjusts the lighting data of landscape lighting equipment;
[0033] The receiving card receives the control signal from the control card and adjusts the lighting data of the outdoor imaging electronic screen;
[0034] The lighting controller receives control signals from the centralized controller and adjusts the lighting data of street lighting equipment.
[0035] Optionally, when the lighting data of the lighting device is within a preset lighting data range, terminating the adjustment includes:
[0036] When the brightness is within a preset brightness range, terminating the adjustment of the brightness of the lighting device;
[0037] Adjust the strobe frequency to a preset strobe frequency range and stop adjusting the dimming frequency of the lighting equipment;
[0038] When the color temperature is within a preset color temperature range, terminating the adjustment of the color temperature of the lighting device;
[0039] When the blue light is within the preset blue light range, the adjustment of the blue light channel value of the lighting device is terminated.
[0040] Optionally, the light pollution data is lighting data that is not within a preset range, including:
[0041] Determine a data type of the light pollution data and a preset range of the corresponding data type;
[0042] The light pollution data is compared with a preset range of a corresponding data type, and a comparison result is output.
[0043] Optionally, comparing the light pollution data with a preset range of a corresponding data type and outputting a comparison result includes:
[0044] The brightness is compared with the preset brightness range. If the brightness exceeds the preset brightness range, there is brightness light pollution.
[0045] Compare the stroboscopic frequency with the preset stroboscopic frequency range. If the stroboscopic frequency exceeds the preset stroboscopic frequency range, there is stroboscopic frequency pollution.
[0046] The color temperature is compared with a preset color temperature range. If the color temperature exceeds the preset color temperature range, color temperature light pollution exists.
[0047] The blue light is compared with a preset blue light range. When the blue light exceeds the preset blue light range, blue light pollution exists.
[0048] As a second aspect of the present invention, there is provided an electronic device, comprising:
[0049] one or more processors;
[0050] A memory having one or more computer programs stored thereon, when the one or more computer programs are executed by the one or more processors, the one or more processors implement the control method provided according to the first aspect of the present invention.
[0051] As a third aspect of the present invention, a lighting system is provided, wherein the system comprises a plurality of lighting devices and the electronic device provided by the second aspect of the present invention.
[0052] Optionally, the system further includes a plurality of sensor devices, and the plurality of sensor devices correspond one-to-one to the plurality of lighting devices.
[0053] In addition, as a fourth aspect of the present invention, a computer-readable medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the control method provided by the first aspect of the present invention is implemented.
[0054] The present invention first determines whether there is light pollution among multiple types of lighting data in the environment. If light pollution exists, the light pollution data is input into a pre-trained device recognition model. The device recognition model first determines the position information of the sensor device that collects the light pollution data according to the light pollution data, and then determines the position information of the lighting device that generates the light pollution according to the corresponding relationship between the positions of the sensor device and the lighting device. The lighting device and the type of lighting device are finally determined through the position information of the lighting device. Finally, the communication method of the corresponding control signal is determined according to the type of lighting device, and the control signal is sent through the determined communication method to adjust the lighting data of the lighting device to within the lighting data range preset in the current environment.
[0055] The present invention can intelligently detect light pollution in the environment through the above method, and timely adjust the lighting equipment that produces light pollution. In a complex environment where there are multiple lighting equipment, the corresponding control signal is sent by the lighting equipment type to coordinately adjust multiple different types of lighting equipment, ensuring that the lighting of the entire environment not only meets functional requirements and aesthetic effects but also does not produce light pollution. The present invention can not only dynamically adapt to environmental changes and orderly adjust lighting equipment through intelligent detection, precise adjustment, and coordinated control of multiple lighting equipment, but also effectively reduce the occurrence of light pollution, providing strong technical support for creating a more comfortable and environmentally friendly lighting environment, and fully reflecting its intelligent and automated characteristics and advantages.
[0056] These features and advantages of the present invention will be disclosed in detail in the following specific embodiments and drawings. The best embodiments or means of the present invention will be described in detail in conjunction with the drawings, but they are not intended to limit the technical solutions of the present invention. In addition, there are multiple features, elements, and components that appear in each of the following texts and drawings, and different symbols or numbers are marked for convenience, but they all represent components with the same or similar structures or functions. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The present invention will be further described below in conjunction with the accompanying drawings:
[0058] Figure 1 A flowchart of an implementation method of a lighting device control method provided by the present invention;
[0059] Figure 2 A flow chart of an implementation of step S120 of the control method provided by the present invention;
[0060] Figure 3 A flow chart of an implementation of step S121 of the control method provided by the present invention;
[0061] Figure 4 A flow chart of an implementation of step S122 of the control method provided by the present invention;
[0062] Figure 5 A flow chart of an implementation of step S130 of the control method provided by the present invention;
[0063] Figure 6 A flow chart of an implementation of step S131 of the control method provided by the present invention;
[0064] Figure 7 A flow chart of an implementation of step S132 of the control method provided by the present invention;
[0065] Figure 8 A flow chart of an implementation of step S132b of the control method provided by the present invention;
[0066] Fig. 9 A flow chart of an implementation of step S132c of the control method provided by the present invention;
[0067] Fig.10 This is another implementation flow chart of step S120 of the control method provided by the present invention;
[0068] Fig.11 This is another implementation flow chart of step S122 of the control method provided by the present invention;
[0069] Fig.12 A schematic diagram of a specific embodiment of a lighting device control method provided by the present invention;
[0070] Fig.13 A schematic diagram of control signal communication methods corresponding to different types of equipment provided by the present invention;
[0071] Fig.14 A module diagram of an electronic device provided by the present invention;
[0072] Fig.15 A module diagram of a lighting system provided by the present invention;
[0073] Fig.16 A schematic diagram of a computer readable medium provided for the present invention.
[0074] Description of Reference Numerals
[0075] Among them, 101 is a processor; 102 is a memory; 103 is an I / O interface; 104 is a bus. DETAILED DESCRIPTION
[0076] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments in the implementation manner are intended to be used to explain the present invention and should not be construed as limiting the present invention.
[0077] References to "one embodiment" or "example" or "example" in this specification mean that a particular feature, structure, or characteristic described in conjunction with the embodiment itself may be included in at least one embodiment disclosed herein. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily refer to the same embodiment.
[0078] While satisfying basic lighting needs, urban lighting is also increasingly pursuing lighting aesthetics. With the rapid development and continuous improvement of urban lighting in recent years, while producing many positive significance, it has also brought about light pollution problems such as excessive lighting, disappearance of the night sky, and energy waste. Light pollution may cause human health problems such as vision problems and circadian rhythm disorders; in terms of traffic safety, inappropriate lighting will interfere with the driver's vision and increase the risk of traffic accidents; in addition, light pollution problems reduce the aesthetic experience of the urban environment. Traditional means of solving light pollution problems not only lack light pollution assessment technology, but also adopt relatively limited measures, mainly focusing on changing the light source display terminal, including choosing environmentally friendly and energy-saving lighting equipment; using sunshades; adjusting the angle of lamps; at the same time, there is a lack of intelligent methods for detecting light pollution and controlling light pollution.
[0079] In view of this, as a first aspect of the present invention, a method for controlling a lighting device is provided, such as Figure 1 As shown, the method includes:
[0080] In step S110, lighting data of a plurality of lighting devices are obtained;
[0081] In step S120, when light pollution data exists in the acquired multiple sets of lighting data, the light pollution data is input into a pre-trained device recognition model to obtain identification information of the lighting device that generates the light pollution data; wherein the light pollution data is lighting data that is not within a preset range, and the device recognition model carries a mapping relationship between the lighting data and the identification information of the lighting device;
[0082] In step S130, the lighting device that generates the light pollution data is adjusted according to the identification information so that the lighting data is within a preset range.
[0083] It should be pointed out that the method is used for the main control module of the lighting system, and the lighting system includes a plurality of different types of lighting devices. In the above method, light pollution is first evaluated for a plurality of lighting devices. When the evaluation result indicates that light pollution exists in at least one device, the lighting device is adjusted. After the lighting data of the lighting device is adjusted to within a preset range, the adjustment is terminated.
[0084] In the present invention, in addition to including a plurality of lighting devices, as an optional implementation, the identification information includes location information and device type information, the lighting system also includes a plurality of sensor devices, the plurality of sensor devices correspond to a plurality of lighting devices one by one, the device identification model includes a cascaded location identification sub-model and a type identification sub-model, and the sensor device is used to obtain lighting data and image data of the corresponding lighting device, such as Figure 2 As shown, the light pollution data is input into a pre-trained device recognition model to obtain identification information of the lighting device that generates the light pollution data, including:
[0085] In step S121, the light pollution data is input into the position recognition sub-model, the position information of the sensor device that collects the light pollution data is determined, and the position information of the lighting device that generates the light pollution data is determined according to the position information of the sensor device that collects the light pollution data; wherein the position recognition sub-model carries a mapping relationship between the lighting data of the lighting device and the position information of the lighting device;
[0086] In step S122, the image data of the lighting device located at the position information of the lighting device collected by the sensor device is input into the type recognition sub-model to obtain the device type information of the lighting device; wherein the type recognition sub-model carries the mapping relationship between the image data of the lighting device and the device type information.
[0087] The position recognition sub-model is further described as follows. As an optional implementation, the position recognition sub-model also carries the position correspondence between the sensor device and the lighting device; Figure 3 As shown, the determining the location information of the lighting device that generates the light pollution data according to the location information of the sensor device that collects the light pollution data includes:
[0088] In step S121a, the position correspondence between the sensor device and the lighting device is obtained;
[0089] In step S121b, the position information of the lighting device that generates the light pollution data is determined according to the position information of the sensor device that collects the light pollution data and the position correspondence.
[0090] The role of the location recognition sub-model is to quickly and accurately locate the lighting equipment that generates light pollution data when light pollution is detected. This positioning method relies on a pre-set correspondence. In practical applications, there is no need to search and analyze all lighting equipment one by one. After locating the lighting equipment to be controlled according to the correspondence, its lighting parameters are adjusted. This series of operations makes the entire control method more intelligent and greatly improves the efficiency and accuracy of light pollution data management.
[0091] The type identification sub-model is further described as follows. The type identification sub-model includes characteristic information of multiple known device types. As an optional implementation, Figure 4 As shown, the image data of the lighting device located at the position information of the lighting device collected by the sensor device is input into the type recognition sub-model to obtain the device type information of the lighting device, including:
[0092] In step S122a, the image data is input into the type recognition sub-model to extract feature information of the image data of the lighting device;
[0093] In step S122b, the characteristic information of the lighting device is matched with characteristic information of multiple known device types for similarity;
[0094] In step S122c, the characteristic information of the lighting device is matched with characteristic information of multiple known device types for similarity.
[0095] The role of the type identification sub-model is to determine the type of device when locating the device that produces light pollution. This step is mainly to help the subsequent control process to be implemented quickly and orderly.
[0096] In order to enable the control process to be implemented in an orderly manner, as an optional implementation method, the identification information includes device type information, such as Figure 5 As shown, adjusting the lighting device generating the light pollution data according to the identification information so that the lighting data is within a preset range includes:
[0097] In step S131, the communication mode of the control signal corresponding to the device type is determined according to the device type identification result;
[0098] In step S132, a control signal is sent through a determined communication method to adjust the lighting data of the lighting device to within a preset lighting data range for the current environment.
[0099] The method can also be used to orderly control the lighting equipment, as an optional implementation, such as Figure 6 As shown, the communication method of the control signal corresponding to the device type is determined according to the device type identification result, including:
[0100] In step S131a, when the device type is a landscape lamp, the control signal is transmitted using the User Datagram Protocol;
[0101] In step S131b, when the device type is an outdoor imaging electronic screen, the control signal is transmitted using the User Datagram Protocol;
[0102] In step S131c, when the device type is a street lamp, the control signal is transmitted using a serial communication standard.
[0103] It is worth mentioning that in the embodiment of the present invention, the above steps S131a, S131b, and S131c do not mean executing steps S131a, S131b, and S131c in sequence. These three steps are three branches for determining the communication method, and the appropriate device type and steps are selected according to the determination result of step S131.
[0104] As an optional implementation, adjust the lighting equipment after clarifying the equipment type and communication method, such as Figure 7 As shown, the control signal is sent through a determined communication method to adjust the lighting data of the lighting device to a lighting data range preset in the current environment, including:
[0105] In step S132a, the control signal is sent to an execution subject that executes the control signal;
[0106] In step S132b, the execution subject receives the control signal and adjusts the lighting device according to the control signal;
[0107] In step S132c, when the lighting data of the lighting device is within the lighting data range preset for the current environment, the adjustment is terminated.
[0108] In the above embodiment, since it involves sending and receiving control signals, it is necessary to execute steps S132a, S132b, and S132c in sequence to ensure that the control signals can reach the execution subject of the control signals in an orderly and accurate manner and adjust the lighting equipment according to the control signals.
[0109] Since the device type includes many different categories, the execution subject corresponds to the device type one by one. As an optional implementation method, Figure 8 As shown, the execution subject receives the control signal and adjusts the lighting device according to the control signal, including:
[0110] In step S132b1, the sub-control device receives the control signal from the core master control and adjusts the landscape lighting equipment;
[0111] In step S132b2, the receiving card receives the control signal from the control card and adjusts the outdoor imaging electronic screen;
[0112] In step S132b3, the lighting controller receives a control signal from the centralized controller and adjusts the street lamp lighting equipment.
[0113] In the above embodiment, the above steps S132b1, S132b2, and S132b3 do not mean to execute steps S132b1, S132b2, and S132b3 sequentially. After determining the corresponding execution subject of the control signal according to the device type as mentioned above, the appropriate steps are selected according to the execution subject result determined by S132b to control the corresponding lighting device.
[0114] The execution subject controls the lighting device according to the control signal to complete the operation under certain conditions. As an optional implementation method, Fig. 9 As shown, when the lighting data of the lighting device is within the lighting data range preset in the current environment, the adjustment is terminated, including:
[0115] In step S132c1, when the brightness is within the brightness range allowed by the environment, the brightness adjustment of the lighting device is terminated;
[0116] In step S132c2, the strobe frequency is adjusted to within the strobe frequency range allowed by the environment, and the adjustment of the dimming frequency of the lighting device is terminated;
[0117] In step S132c3, when the color temperature is within the color temperature range allowed by the environment, the color temperature adjustment of the lighting device is terminated;
[0118] In step S132c4, when the blue light is within the blue light range allowed by the environment, the adjustment of the blue light channel value of the lighting device is terminated.
[0119] In the control method, it is first necessary to evaluate whether there is light pollution data. As an optional implementation method, Fig.10 As shown, the light pollution data is lighting data that is not within a preset range, including:
[0120] In step S121, the data type of the light pollution data and the preset range of the corresponding data type are determined;
[0121] In step S122, the light pollution data is compared with a preset range of a corresponding data type, and a comparison result is output.
[0122] In further determining the light pollution data, multiple light pollution data types are evaluated, as an optional implementation, such as Fig.11 As shown, the lighting data is compared with the corresponding data range, and the comparison result is output, including:
[0123] In step S122a, the brightness is compared with the brightness range allowed by the environment. If the brightness exceeds the brightness range allowed by the environment, there is brightness light pollution;
[0124] In step S122b, the stroboscopic light is compared with the stroboscopic light range allowed by the environment. If the stroboscopic light exceeds the stroboscopic light range allowed by the environment, there is stroboscopic light pollution.
[0125] In step S122c, the color temperature is compared with the color temperature range allowed by the environment. If the color temperature exceeds the color temperature range allowed by the environment, color temperature light pollution exists;
[0126] In step S122d, the blue light is compared with the blue light range allowed by the environment. If the blue light exceeds the blue light range allowed by the environment, there is blue light pollution.
[0127] In the above embodiment, steps S122a, S122b, S122c, and S122d do not need to be performed in sequence. The lighting data of the device includes four types: brightness, strobe, color temperature, and blue light. By comparing each data type with the corresponding preset range, it is possible to determine which specific data type has light pollution and the number of data types with light pollution.
[0128] A specific implementation of the lighting device control method is as follows Fig.12 As shown, first load the policy engine library, the policy engine library contains a standard database of various lighting data types in the current environment, such as the brightness library contains the brightness data range allowed by the current environment, the stroboscopic library contains the stroboscopic data range allowed by the current environment, the color temperature library contains the color temperature data range allowed by the current environment, and the blue light library contains the blue light data range allowed by the current environment; the policy library is mainly used to evaluate whether there is light pollution data in the environment; when at least one of brightness, stroboscopic, color temperature, and blue light has light pollution, find the associated devices around the sensor according to the location recognition submodel in the method, mainly find the devices that generate light pollution; and determine the type of device that generates light pollution according to the type recognition submodel in the method. Different light pollution data corresponds to different control signals, and different device types receive different control signals.
[0129] In the case of light pollution, for landscape equipment, a dimming instruction is sent to the main control device or a brightness channel output instruction for adjusting the program is sent according to the brightness standard of the brightness library; for outdoor LED (Light Emitting Diode) screens, a dimming instruction is sent to the control card according to the brightness standard of the brightness library; for street lamps, a dimming instruction is sent to the centralized controller or single lamp controller according to the brightness standard of the brightness library; when the brightness is adjusted to the brightness data range allowed by the environment, stop adjusting.
[0130] In the case of light pollution caused by stroboscopic flash, for landscape equipment, the brightness and output frequency of the main control equipment are controlled according to the stroboscopic standard of the stroboscopic library; for outdoor LED screens, dimming instructions are sent to the control card according to the stroboscopic standard of the stroboscopic library to control the brightness output and frequency output of the LED screen; for street lights, dimming instructions are sent to the controller according to the stroboscopic standard of the stroboscopic library to control the output and frequency output of the power supply; when the stroboscopic adjustment is within the stroboscopic data range allowed by the environment, the adjustment is stopped.
[0131] In the case of light pollution due to color temperature, for landscape equipment, the brightness and color temperature of the main control equipment are controlled according to the color temperature standard of the color temperature library; for outdoor LED screens, dimming instructions are sent to the control card according to the color temperature standard of the color temperature library to control the brightness output of the LED screen and adjust the color temperature of the LED screen; for street lights, dimming instructions are sent to the controller according to the color temperature standard of the color temperature library to control the output of the power supply and the color temperature of the lamps; when the color temperature is adjusted to the color temperature data range allowed by the environment, the adjustment is stopped.
[0132] In the case of light pollution caused by blue light, for landscape equipment, the control signal is sent from the main control to the sub-control according to the wavelength standard of the blue light wavelength library to control the blue light channel output of the LED lamp; for outdoor LED screens, the control signal is sent from the control card to the receiving card according to the wavelength standard of the blue light wavelength library to control the blue light channel output of the LED screen; for street lights, the control signal is sent from the controller to the dimming power supply according to the wavelength standard of the blue light wavelength library to control the blue light channel output of the lamp; the adjustment is stopped when the blue light is adjusted to the blue light data range allowed by the environment.
[0133] In the above-mentioned process of adjusting lighting equipment, different types of equipment correspond to different control signal communication methods, the main purpose of which is to enable the control method to be implemented in an orderly and efficient manner in a system composed of multiple types of equipment. For example, in the city nighttime light pollution joint intelligent control system, the control signal communication methods corresponding to different types of equipment are as follows: Fig.13 As shown, the illumination acquisition sensor or camera sends lighting data to the city night light pollution intelligent control system. The device type is identified and the communication mode is determined according to the method of the present invention as follows:
[0134] When the device type is identified as a landscape lamp, such as a wall washer, linear lamp, floodlight, underground lamp, or point light source, the system sends a control signal to the core master control, and the core master control sends the control signal to the connected sub-control device via the UDP (User Datagram Protocol) protocol.
[0135] When the device type is identified as an outdoor imaging electronic screen, such as an outdoor LED screen, the system sends a control signal to the control card, and the control card sends the control signal to the receiving card through the UDP protocol.
[0136] When the device type is identified as a street lamp, the system can send a control signal to the centralized controller, and the centralized controller communicates with each sub-device through different communication protocols. Its commonly used communication methods may be PLC (Programmable Logic Controller), HPLC (High-Speed Power Line Communication), LoRa (Long Range), ZigBee (ZigBee, low-power LAN communication), RS485 (Recommended Standard 485, serial communication protocol). The centralized controller sends the control signal to the single lamp controller or directly sends the control signal to the single lamp controller.
[0137] The lighting equipment control method provided by the present invention first determines whether there is light pollution among the various lighting data types in the environment. If light pollution exists, the light pollution data is input into a pre-trained equipment recognition model to determine the lighting equipment and the type of lighting equipment. Finally, the communication method of the corresponding control signal is determined according to the type of lighting equipment. The control signal is sent through the determined communication method to adjust the lighting data of the lighting equipment to within the preset lighting data range of the current environment.
[0138] The control method provided by the present invention can intelligently detect light pollution in the environment and timely adjust the lighting equipment that produces light pollution. In a complex environment where multiple lighting equipment exist, the corresponding control signal is sent by the lighting equipment type to coordinately adjust multiple different types of lighting equipment, ensuring that the lighting of the entire environment not only meets functional requirements and aesthetic effects but also does not produce light pollution. The present invention can not only dynamically adapt to environmental changes, orderly adjust lighting equipment, and reduce the occurrence of light pollution through intelligent detection, precise adjustment, and coordinated control of multiple lighting equipment, but also provide strong technical support for creating a more comfortable and environmentally friendly lighting environment, fully reflecting its intelligent and automated characteristics and advantages.
[0139] As a second aspect of the present invention, there is provided an electronic device, such as Fig.14 As shown, including:
[0140] One or more processors 101;
[0141] The memory 102 stores one or more computer programs. When the one or more computer programs are executed by the one or more processors 101, the one or more processors 101 implement the control method provided according to the first aspect of the present invention.
[0142] The electronic device may further include one or more I / O interfaces 103 connected between the processor 101 and the memory 102 and configured to implement information interaction between the processor 101 and the memory 102 .
[0143] Among them, the processor 101 is a device with data processing capabilities, including but not limited to the central processing unit 101 (CPU), etc.; the first memory 102 is a device with data storage capabilities, including but not limited to random access memory 102 (RAM, more specifically such as SDRAM, DDR, etc.), read-only memory 102 (ROM), electrically erasable programmable read-only memory 102 (EEPROM), flash memory (FLASH); the I / O interface 103 (read-write interface) is connected between the processor 101 and the memory 102, and can realize information interaction between the processor 101 and the memory 102, including but not limited to the data bus 104 (Bus), etc.
[0144] In some embodiments, the processor 101 , the memory 102 , and the I / O interface 103 are connected to each other via a bus 104 , and further connected to other components of the computing device.
[0145] As a third aspect of the present invention, a lighting system is provided, wherein the system comprises a plurality of lighting devices and the electronic device provided by the second aspect of the present invention.
[0146] As an optional implementation, Fig.15 As shown, the system also includes multiple sensor devices, and the multiple sensor devices correspond one-to-one to the multiple lighting devices.
[0147] In addition, as a fourth aspect of the present invention, there is also provided a computer readable medium having a computer program stored thereon, such as Fig.16 As shown, when the computer program is executed by a processor, the control method provided by the first aspect of the present invention is implemented.
[0148] It can be understood by a person of ordinary skill in the art that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. Accordingly, the computer program can be stored in a non-volatile computer-readable storage medium, and the computer program can implement the method of any of the above-mentioned embodiments when executed. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0149] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Those skilled in the art should understand that the present invention includes but is not limited to the contents described in the drawings and the above specific embodiments. Any modification that does not deviate from the functional and structural principles of the present invention will be included in the scope of the claims.
Claims
1. A method for controlling lighting equipment, used in a main control module of a lighting system, wherein the lighting system includes a plurality of different types of lighting equipment, characterized in that: The method comprises: Acquire lighting data of a plurality of lighting devices; In the case where there is light pollution data in the multiple sets of lighting data obtained, the light pollution data is input into a pre-trained device recognition model to obtain identification information of the lighting device that generates the light pollution data; wherein the light pollution data is lighting data that is not within a preset range, and the device recognition model carries a mapping relationship between the lighting data and the identification information of the lighting device; The lighting device that generates the light pollution data is adjusted according to the identification information so that the lighting data is within a preset range.
2. The control method according to claim 1, characterized in that: The identification information includes location information and device type information, the lighting system further includes a plurality of sensor devices, the plurality of sensor devices correspond one-to-one to a plurality of lighting devices, the device identification model includes a cascaded location identification sub-model and a type identification sub-model, the sensor device is used to obtain lighting data and image data of the corresponding lighting device, The step of inputting the light pollution data into a pre-trained device recognition model to obtain identification information of the lighting device generating the light pollution data includes: Input the light pollution data into the position recognition sub-model, determine the position information of the sensor device that collects the light pollution data, and determine the position information of the lighting device that generates the light pollution data according to the position information of the sensor device that collects the light pollution data; wherein the position recognition sub-model carries a mapping relationship between the lighting data of the lighting device and the position information of the lighting device; The image data of the lighting device located at the position information of the lighting device collected by the sensor device is input into the type recognition sub-model to obtain the device type information of the lighting device; wherein the type recognition sub-model carries the mapping relationship between the image data of the lighting device and the device type information.
3. The method according to claim 2, characterized in that The position identification sub-model also carries the position correspondence between the sensor device and the lighting device; the step of determining the position information of the lighting device generating the light pollution data according to the position information of the sensor device that collects the light pollution data includes: Obtaining the position correspondence between the sensor device and the lighting device; The position information of the lighting device generating the light pollution data is determined according to the position information of the sensor device collecting the light pollution data and the position correspondence.
4. The method according to claim 2, characterized in that: The type recognition sub-model includes feature information of multiple known device types. The image data of the lighting device located at the position information of the lighting device collected by the sensor device is input into the type recognition sub-model to obtain the device type information of the lighting device, including: Inputting the image data into the type recognition sub-model to extract feature information of the image data of the lighting device; Performing similarity matching on feature information of the image data of the lighting device and feature information of a plurality of known device types; The known device type corresponding to the maximum value of the similarity matching results is determined as the device type information of the lighting device.
5. The method according to claim 1, characterized in that The identification information includes device type information, and adjusting the lighting device that generates the light pollution data according to the identification information so that the lighting data is within a preset range includes: Determining, according to the device type information, a communication method of a control signal corresponding to the device type information; A control signal is sent through a determined communication method to adjust the lighting data of the lighting device to within a preset lighting data range.
6. The method according to claim 5, characterized in that The determining, according to the device type information, a communication method of a control signal corresponding to the device type information comprises: When the device type is a landscape lamp, the control signal is transmitted using the User Datagram Protocol; When the device type is an outdoor imaging electronic screen, the user datagram protocol is used to transmit the control signal; In the case where the device type is a street lamp, a serial communication standard is used to transmit control signals.
7. The method according to claim 5, characterized in that The step of sending a control signal through a determined communication method to adjust the lighting data of the lighting device to within a preset lighting data range includes: Sending the control signal to an execution subject that executes the control signal; The execution subject receives the control signal and adjusts the lighting data of the lighting device according to the control signal; When the lighting data of the lighting device is within the preset lighting data range, the adjustment is terminated.
8. The method according to claim 7, characterized in that The execution subject receives the control signal and adjusts the lighting data of the lighting device according to the control signal, including: The sub-control device receives the control signal from the core master control and adjusts the lighting data of landscape lighting equipment; The receiving card receives the control signal from the control card and adjusts the lighting data of the outdoor imaging electronic screen; The lighting controller receives control signals from the centralized controller and adjusts the lighting data of street lighting equipment.
9. The method according to claim 7, characterized in that: When the lighting data of the lighting device is within a preset lighting data range, terminating the adjustment includes: When the brightness is within a preset brightness range, terminating the adjustment of the brightness of the lighting device; Adjust the strobe frequency to a preset strobe frequency range and stop adjusting the dimming frequency of the lighting equipment; When the color temperature is within a preset color temperature range, terminating the adjustment of the color temperature of the lighting device; When the blue light is within the preset blue light range, the adjustment of the blue light channel value of the lighting device is terminated.
10. The method according to claim 1, characterized in that The light pollution data is lighting data that is not within a preset range, including: Determine a data type of the light pollution data and a preset range of the corresponding data type; The light pollution data is compared with a preset range of a corresponding data type, and a comparison result is output.
11. The method according to claim 10, characterized in that The step of comparing the light pollution data with a preset range of a corresponding data type and outputting a comparison result includes: The brightness is compared with the preset brightness range. If the brightness exceeds the preset brightness range, there is brightness light pollution. Compare the stroboscopic frequency with the preset stroboscopic frequency range. If the stroboscopic frequency exceeds the preset stroboscopic frequency range, there is stroboscopic frequency pollution. The color temperature is compared with a preset color temperature range. If the color temperature exceeds the preset color temperature range, color temperature light pollution exists. The blue light is compared with a preset blue light range. When the blue light exceeds the preset blue light range, blue light pollution exists.
12. An electronic device, characterized in that: include: one or more processors; A memory having one or more computer programs stored thereon, wherein when the one or more computer programs are executed by the one or more processors, the one or more processors implement the control method according to any one of claims 1 to 11.
13. A lighting system, characterized in that: The system comprises a plurality of lighting devices and the electronic device according to claim 12.
14. The system according to claim 13, characterized in that The system also includes a plurality of sensor devices, and the plurality of sensor devices correspond one-to-one to the plurality of lighting devices.
15. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the control method according to any one of claims 1 to 11 is implemented.