CN113873726B - Lighting lamp control method and device, terminal equipment and readable storage medium - Google Patents
Lighting lamp control method and device, terminal equipment and readable storage medium Download PDFInfo
- Publication number
- CN113873726B CN113873726B CN202111074770.7A CN202111074770A CN113873726B CN 113873726 B CN113873726 B CN 113873726B CN 202111074770 A CN202111074770 A CN 202111074770A CN 113873726 B CN113873726 B CN 113873726B
- Authority
- CN
- China
- Prior art keywords
- lamp
- controllers
- group
- lamp controllers
- brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/155—Coordinated control of two or more light sources
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The application belongs to the field of illumination, and particularly relates to a control method and system of an illumination lamp, terminal equipment and a readable storage medium. The control method comprises the following steps: broadcasting scheme information for controlling the lamp controllers to the lamp controllers, wherein the scheme information comprises grouping information of the lamp controllers and first brightness information corresponding to each group of lamp controllers; and according to the grouping information of the lamp controllers, the lamp controllers are controlled in a centralized manner, so that the lamp controllers control the lighting lamps to output different brightness according to the first brightness information corresponding to each group of lamp controllers. The application can intensively control the lamp controller and control the lighting lamp to output different brightness by broadcasting the scheme information for controlling the lamp controller to the lamp controller, thereby saving electric power.
Description
Technical Field
The present application belongs to the field of illumination, and in particular, relates to a method and apparatus for controlling an illumination lamp, a terminal device, and a readable storage medium.
Background
In the existing street lamp control method, the street lamps are controlled by a master station singly or synchronously by clocks, the street lamps cannot be controlled in a centralized way, the brightness of the street lamps cannot be changed along with the change of the environment, and the street lamps are illuminated by uniform brightness in the environment with lower brightness or the environment with higher brightness, so that the waste of electric power is caused.
Disclosure of Invention
The embodiment of the application provides a control method and device of a lighting lamp, terminal equipment and a readable storage medium, and aims to solve the problem of power waste when a street lamp is controlled by the existing street lamp control method.
In a first aspect, an embodiment of the present application provides a control method of a lighting fixture, where the control method includes:
broadcasting scheme information for controlling the lamp controllers to the lamp controllers, wherein the scheme information comprises grouping information of the lamp controllers and first brightness information corresponding to each group of lamp controllers;
and according to the grouping information of the lamp controllers, the lamp controllers are controlled in a centralized mode, so that the lamp controllers control the lighting lamps to output different brightness according to the first brightness information corresponding to each group of lamp controllers.
In a possible implementation manner of the first aspect, the centralized controlling the light controller according to the grouping information of the light controller includes:
and if the group number of the grouping information broadcasted to the lamp controllers is 0, the lamp controllers of all groups are controlled in a centralized way according to the grouping information of the group number.
Wherein, according to the grouping information of the lamp controller, centralized control the lamp controller includes:
and if the group number of the grouping information broadcasted to the lamp controller is not 0, the lamp controller of a first target group is intensively controlled according to the grouping information of the target group number, wherein the target group number is any one of all the group numbers, and the first target group corresponds to the target group number.
Wherein after the centralized control of the lamp controllers according to the grouping information of the lamp controllers, the method further comprises:
acquiring second brightness information corresponding to each group of lamp controllers according to a multichannel rapid parallel reading mechanism;
if the second brightness information corresponding to the second target group is inconsistent with the first brightness information corresponding to the second target group, the corresponding first brightness information is sent to the lamp controllers of the second target group in a point-to-point mode again, so that the second brightness information corresponding to the lamp controllers of the second target group is consistent with the first brightness information corresponding to the lamp controllers of the second target group; wherein the second target group is any one of the groups.
Wherein before broadcasting scheme information for controlling the lamp controller to the lamp controller, the method comprises the following steps:
augmenting broadcast commands for standard 645 protocol;
correspondingly, the broadcasting to the lamp controller the scheme information for controlling the lamp controller includes:
and broadcasting scheme information for controlling the lamp controller to the lamp controller according to a standard 645 protocol after the broadcast command is extended.
Wherein after expanding the broadcast command to the standard 645 protocol, it comprises:
the packet information in the broadcast command is modified in a point-to-point manner.
The control method comprises the following steps:
and determining first brightness information corresponding to each group of the lamp controllers according to different environments of the lamp controllers.
In a second aspect, an embodiment of the present application provides a control device for a lighting fixture, the control device including:
the broadcasting module is used for broadcasting scheme information for controlling the lamp controllers to the lamp controllers, wherein the scheme information comprises grouping information of the lamp controllers and first brightness information corresponding to each group of the lamp controllers;
and the control module is used for intensively controlling the lamp controllers according to the grouping information of the lamp controllers so that the lamp controllers control the lighting lamps to output different brightness according to the first brightness information corresponding to each group of the lamp controllers.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for controlling a lighting fixture according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the method for controlling a lighting fixture according to the first aspect.
Compared with the prior art, the embodiment of the application has the beneficial effects that: the application broadcasts scheme information for controlling the lamp controllers to the lamp controllers, wherein the scheme information comprises grouping information of the lamp controllers and first brightness information corresponding to each group of lamp controllers; and according to the grouping information of the lamp controllers, the lamp controllers are controlled in a centralized manner, so that the lamp controllers control the lighting lamps to output different brightness according to the first brightness information corresponding to each group of lamp controllers. The application can intensively control the lamp controller and control the lighting lamp to output different brightness by broadcasting the scheme information for controlling the lamp controller to the lamp controller, thereby saving electric power.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application scenario of a control method of a lighting fixture according to an embodiment of the present application;
fig. 2 is a flow chart of a control method of a lighting fixture according to an embodiment of the present application;
FIG. 3 is an exemplary diagram of a frame format for standard 645 protocol extended broadcast commands provided in accordance with one embodiment of the present application;
FIG. 4 is an exemplary diagram of a multi-channel fast parallel read mechanism provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of a control device of a lighting fixture according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail, and in other instances, specific details of the technology in the various embodiments may be referenced to each other and specific systems not described in one embodiment may be referenced to other embodiments.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
Reference in the specification to "an embodiment of the application" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in other embodiments," "in an embodiment of the application," "other embodiments of the application," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more, but not all, embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Furthermore, in the description of the present specification and the appended claims, the terms "first," "second," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
In the existing street lamp control method, the street lamps are controlled by a master station singly or synchronously by clocks, the street lamps cannot be controlled in a centralized way, the brightness of the street lamps cannot be changed along with the change of the environment, and the street lamps are illuminated by uniform brightness in the environment with lower brightness or the environment with higher brightness, so that the waste of electric power is caused.
In order to solve the above-mentioned defect, the inventive concept of the present application is:
the application can intensively control the lamp controller and control the lighting lamp to output different brightness by broadcasting the scheme information for controlling the lamp controller to the lamp controller, thereby saving electric power.
In order to illustrate the technical scheme of the application, the following description is made by specific examples.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a control method of a lighting fixture according to an embodiment of the application, and for convenience of explanation, only a portion relevant to the application is shown. The application scene comprises: a central controller 100, a light controller 200, a lighting fixture 300 and a master station 400.
In this application scenario, the centralized controller 100 is a controller that controls the lighting fixtures 300. The number of the centralized controllers 100 may be 1 or plural, and they are respectively connected to the lamp controller 200 and the master station 400, where the centralized controllers 100 may be communicatively connected to the master station 400 through public wireless communication network technologies such as general packet radio service technology (General Packet Radio Service, GPRS), global system for mobile communication (Global System for Mobile Communication, GSM), and code division multiple access technology (Code Division Multiple Access, CDMA), and may also be communicatively connected to the master station 400 through mobile communication technology (2G/3G/4G/5G) or ethernet, and the communication manner between the centralized controllers 100 and the master station 400 is not limited in the embodiment of the present application.
The centralized controller 100 can be in communication connection with the lamp controller 200 through a multi-channel rapid parallel reading mechanism HPLC, a wireless communication technology, a serial port communication protocol (485 communication protocol), a centralized controller local communication interface protocol (1376.2 communication protocol) and the like, and the communication mode between the centralized controller 100 and the lamp controller 200 is not limited in the embodiment of the application.
The centralized controller 100 is configured to obtain a control instruction issued by the master station 400, and perform centralized control on the lamp controller 200 according to the control instruction, so that centralized control on the lamp controller 200 can be implemented, and further, electric power can be saved. The centralized controller 100 is further configured to obtain an upload instruction issued by the master station 400, issue the upload instruction to the lamp controller 200, quickly read the state of the relay of the lamp controller 200 and the brightness data of the lighting fixture 300, and monitor the control state of the lamp controller 200 in real time by using the read data, so as to adjust the control state that does not meet the requirement. The central controller 100 is also configured to transmit read data to the master station 400.
In this application scenario, the light controller 200 is a controller that controls the lighting fixture 300 to be turned on or turned off. The light controller 200 is respectively connected with the centralized controller 100 and the lighting fixtures 300, 1 centralized controller 100 can be connected with 1 or more light controllers 200,1 light controller 200 can be connected with 1 or more lighting fixtures 300, and the light controllers 200 can be in communication connection with the lighting fixtures 300 through an electric energy meter communication protocol (645 communication protocol) or an object-oriented data exchange protocol (DLT 698.45 communication protocol), so that the communication mode between the light controllers 200 and the lighting fixtures 300 is not limited in the embodiment of the application.
The lamp controller 200 is configured to control the lighting fixture 300 to be turned on or off according to a control instruction issued by the centralized controller 100, and upload the state of the relay and the brightness data of the lighting fixture 300 to the centralized controller 100 according to an upload instruction issued by the lamp controller 100.
In this application scenario, the lighting fixture 300 is a fixture that provides a lighting function, and may be classified into a tunnel lamp, a street lamp, a community street lamp, a bridge lamp, and the like according to the installation environment.
In this application scenario, the master station 400 is a website that gathers a large amount of data of the centralized controller 100 and data of the light controllers 200, and the master station 400 has a special database for storing the data of all the centralized controllers 100 and the data of the light controllers 200 in the area in which the master station 400 is responsible.
Referring to fig. 2, fig. 2 is a flowchart illustrating a control method of a lighting fixture according to an embodiment of the application. The main body of execution of the method in fig. 2 may be the central controller 100 in fig. 1. As shown in fig. 2, the method includes: s201 to S204.
S201, broadcasting scheme information for controlling the lamp controller to the lamp controller.
Specifically, the scheme information includes grouping information of the light controllers and first brightness information corresponding to each group of the light controllers.
Before broadcasting scheme information for controlling the lamp controllers to the lamp controllers, the lamp controllers need to be grouped. The embodiment of the application does not limit the grouping method of the lamp controllers and the number of the lamp controllers in each group.
Illustratively, in some embodiments, 1 centralized controller controls 10 lighting controllers, each controlling 5 lighting fixtures, each grouped into 1 group, i.e., into 10 groups, with group numbers 1-10. The 2 light controllers can also be grouped into 1 group, namely into 5 groups, and the group numbers are 1 to 5. In other embodiments, the number of light controllers in each group may be different, for example, 2 light controllers in the first group, 3 light controllers in the second group, etc.
In the embodiment of the application, when the lamp controllers are grouped, a 0 group number is set, and when the group number is 0, the lamp controllers of all groups are controlled.
The grouping information in the embodiment of the application is the group number data of the lamp controller.
In the embodiment of the application, after the lamp controllers are grouped, the first brightness information corresponding to each group of lamp controllers can be set. The first brightness information is brightness data for controlling the lighting lamp to be lighted by the lamp controller.
Since the brightness of the lighting fixture is determined by its own actual power, which in turn may be determined by current or voltage, the larger the current, the larger the actual power, the brighter the lighting fixture, or the larger the voltage, the larger the actual power, the brighter the lighting fixture. Therefore, in the embodiment of the application, the brightness data can be represented by a current value or a voltage value. In the embodiment of the application, the current value or the voltage value of the lighting lamp can be obtained through the electric energy meter.
In the embodiment of the application, when the first brightness information corresponding to each group of light controllers is set, the first brightness information corresponding to each group of light controllers can be determined according to different environments where each group of light controllers are located.
The environment where the light controller is located in the embodiment of the application refers to the physical environment of the light controller when the light controller is installed, the environment where the light controller is located is different, and the current environment has different requirements for brightness.
For example: when the control method of the lighting lamp provided by the embodiment of the application is used for controlling the tunnel lamps in the tunnel, the lamp controllers can be divided into 5 groups in advance, the group numbers are 1 to 5, and each group of lamp controllers controls 2 tunnel lamps. The lamp controllers of the group number 1 and the group number 5 are arranged at the tunnel openings at the two ends, the lamp controllers of the group numbers 2 to 4 are arranged in the middle of the tunnel, and as the environment where the tunnel openings are positioned is brighter, the output brightness of the tunnel lamp is lower when the lamp controllers of the group number 1 and the group number 5 are lighted up to the tunnel lamp in each group, and the output brightness of the tunnel lamp is higher when the lamp controllers of the group numbers 2 to 4 are lighted up to the tunnel lamp in each group, so that the requirements of different environments on brightness are met.
In the embodiment of the application, the ambient brightness can be monitored through the illuminance sensor.
Also for example: when the control method of the lighting lamp provided by the embodiment of the application is used for controlling the street lamps on the road, the lamp controllers can be divided into 5 groups in advance, the group numbers are 1 to 5, and each group of lamp controllers controls 2 street lamps. The lamp controllers of the group number 1 and the group number 2 are arranged on the road sections with less flow (traffic flow/traffic flow), the lamp controllers of the group numbers 3 to 5 are arranged on the road sections with more flow, and because the flow of the road sections is less, the demand on brightness is lower, when the lamp controllers of the group number 1 and the group number 2 are set to light the street lamps in the respective groups, the brightness of the street lamp output is lower, and when the lamp controllers of the group numbers 3 to 5 are set to light the street lamps in the respective groups, the brightness of the street lamp output is higher, so that the demand of different environments on brightness is further satisfied.
In the embodiment of the application, the road segment flow can be monitored through the flow sensor.
In other embodiments, when the first brightness information corresponding to each group of light controllers is set, the first brightness information corresponding to each group of light controllers may be determined according to different time periods.
The time period in the embodiment of the application comprises the following steps: different time periods within a day, holiday time periods, different days within a week, etc.
For example: the different time periods within a day comprise A, B, C time periods, wherein the traffic volume of the A, B time period is smaller, the required brightness is lower when the lighting lamp is required to provide brightness, the traffic volume of the C time period is larger, the required brightness is higher when the lighting lamp is required to provide brightness, the brightness of the street lamp output is lower when the lamp controllers of the groups are arranged to light the street lamps in the respective groups in the A and B time periods, and the brightness of the street lamp output is higher when the lamp controllers of the groups are arranged to light the street lamps in the respective groups in the C time period.
Also for example: when meeting holidays, the traffic flow on the road is more than ordinary traffic flow, and when the illumination lamp is required to provide brightness, the required brightness is higher, and then in the holiday time period, the lamp controllers of each group are arranged to light the street lamps in the respective groups, and the brightness of the street lamps is higher.
Also for example: the traffic flow sensor monitors, and the traffic flow and the people flow are more in the weekend than in the week, when the illumination lamp is required to provide brightness, the brightness required in the weekend is higher than that required in the week, and when the lamp controllers of all groups are arranged on the weekend, the brightness output by the street lamps is higher.
In the embodiment of the application, the grouping information of the lamp controllers and the first brightness information corresponding to each group of lamp controllers can be broadcast to the lamp controllers through standard 645 protocol, namely, the standard 645 protocol can be extended to broadcast commands before the scheme information for controlling the lamp controllers is broadcast to the lamp controllers.
Referring to fig. 3, fig. 3 is a diagram illustrating a frame format of an extended broadcast command according to standard 645 protocol according to an embodiment of the present application. In fig. 3, 99H … H indicates a broadcast address, and a group number is newly added between CS and a frame number, and the range of the group number is 0 to 255 bytes, which indicates the group address of the lamp controller. And filling the data in the frame format with first brightness information corresponding to each group of lamp controllers.
Correspondingly, broadcasting to the lamp controller the scheme information for controlling the lamp controller, including:
and broadcasting scheme information for controlling the lamp controller to the lamp controller according to the standard 645 protocol after the broadcast command is extended.
In the embodiment of the application, when the scheme information for controlling the lamp controllers is broadcast to the lamp controllers according to the standard 645 protocol after the broadcast command is expanded, the lamp controllers of each group are not required to respond.
In the embodiment of the present application, after expanding the broadcast command to the standard 645 protocol, the method includes:
the packet information in the broadcast command is modified in a point-to-point manner.
The grouping information includes, for example, a lamp controller with a group number a, and because the illuminance sensor monitors the ambient brightness or the road traffic monitored by the traffic sensor has errors, when the lamp controller with the group number a lights up a street lamp in the group, the brightness output by the street lamp has a larger difference from the ambient brightness requirement, that is, the group number a in the broadcast command can be modified in a point-to-point manner, so that the group number a is combined into the group number matched with the ambient brightness requirement.
In the embodiment of the application, the group number A in the broadcast command is modified in a point-to-point mode, and the broadcast address of 99H … H can be modified into the address of the lamp controller with the group number A in the frame format of the standard 645 protocol extended broadcast command, thereby realizing point-to-point modification.
S202, the lamp controllers are controlled in a centralized mode according to grouping information of the lamp controllers, so that the lamp controllers control the lighting fixtures to output different brightnesses according to first brightness information corresponding to each group of lamp controllers.
Specifically, if the group number of the group information broadcast to the lamp controllers is 0, the lamp controllers of all groups are centrally controlled according to the group information of the group number.
In the embodiment of the application, if the group number of the grouping information broadcast to the lamp controllers is 0, the lamp controllers of all groups are subjected to centralized control when the lamp controllers receive the scheme information broadcast by the centralized controller, the scheme information is analyzed, and the analyzed group number is 0.
Specifically, if the group number of the group information broadcast to the lamp controllers is not 0, the lamp controllers of the first target group are centrally controlled according to the group information of the target group number.
In the embodiment of the application, the target group number is any one of all group numbers, and the first target group corresponds to the target group number. For example, the group number of the light controllers is 1 to 5, and the group number of the light controller is any one of the group numbers 1 to 5, for example, the group number of the light controller is 3, corresponding to the first to fifth group of the light controllers, and the third group of the light controllers is called the first target group.
In the embodiment of the application, if the group number of the grouping information broadcast to the lamp controllers is not 0, the lamp controllers analyze the scheme information when receiving the scheme information broadcast by the centralized controller, judge the analyzed group number, and if the group number is the group number of the own group, intensively control the lamp controllers of the first target group according to the scheme information corresponding to the group number of the own group. If not, the broadcast command is discarded regardless of the group number of the own group.
For example, if the group number of the group information broadcast to all the light controllers is a, when the light controller with the group number a receives the scheme information broadcast by the centralized controller, the scheme information is analyzed, the analyzed group number is judged, and if the group number is judged to be a, the light controllers of the group a are centralized controlled according to the scheme information corresponding to the group a. When the lamp controller with the group number B judges that the group number is A, the broadcasting command is discarded.
In the embodiment of the application, after each group of lamp controllers analyze the broadcasted scheme information, the brightness information in the obtained scheme information is not identical or is not identical, and the lamp controllers control the lighting lamps to output different brightness according to the non-identical or not identical brightness information.
For example, if the luminance information of the lamp controllers with the group numbers of 1 to 5 set in advance are completely different, the luminance information in the scheme information obtained by parsing is different.
The luminance information of the lamp controllers of group numbers 1 to 5 set in advance is not exactly the same. For example, the group numbers 1 to 2 are the same, the group numbers 3 to 4 are the same, and the group numbers 1, 3 and 5 are different, so that the luminance information in the scheme information obtained by analysis is not completely the same.
S203, obtaining second brightness information corresponding to each group of lamp controllers according to a multichannel rapid parallel reading mechanism.
Specifically, each group of lamp controllers controls a plurality of lighting lamps, each lighting lamp is provided with an electric energy meter for displaying brightness data (current and voltage) of the lighting lamp, each group of lamp controllers is provided with a relay, the relay is equivalent to an automatic switch, when the centralized controller controls the lamp controllers to light the lighting lamps, the relay is in an on state, and when the centralized controller controls the lamp controllers to turn off the lighting lamps, the relay is in an off state, so that the relay state and the brightness data of the lighting lamps can represent the control state of the centralized controller on the lamp controllers.
In the embodiment of the present application, since the relay state and the brightness data of the lighting fixture may represent the control state of the centralized controller to the lamp controller, the scheme information in S201 may further include the first state of each group of lamp controller relays. In the embodiment of the application, the first state of the relay is preset, and the centralized controller controls the lamp controllers of each group according to the first state of the relay of each group.
In the embodiment of the application, the data of the reading electric energy meter not only comprises the brightness data of the lighting lamp, but also comprises the state of the relay.
In the embodiment of the application, the multichannel rapid parallel reading mechanism plays a role of reading the data of each electric energy meter in all groups of lamp controllers at the same time, namely reading the control state of the lamp controllers.
Referring to fig. 4, fig. 4 is an exemplary diagram of a multi-channel fast parallel reading mechanism according to an embodiment of the present application. In fig. 4, CCO represents a carrier communication module master node installed on the central controller 100, STA represents a carrier communication module sub-node installed on the lamp controller 200, and one master node corresponds to a plurality of sub-nodes.
In the embodiment of the application, after the lamp controllers control the lighting lamps to output different brightness according to the first brightness information corresponding to each group of lamp controllers, the centralized controller transmits the reading command to the CCO through the 1376.2 communication protocol, the CCO transmits the reading command to the STA through the multi-channel rapid parallel reading mechanism HPLC, the STA transmits the reading command to each electric energy meter 600, each electric energy meter 600 uploads data to the STA, the STA uploads the data to the CCO, and the CCO uploads the data to the centralized controller, so that the second brightness information corresponding to each group of lamp controllers and the second state of each group of relays can be obtained.
In the embodiment of the application, the second brightness information corresponding to each group of lamp controllers and the second state of each group of relays are acquired to detect the accuracy of the centralized controller on the control of each group of lamp controllers, if the second brightness information and the second state are consistent with the first brightness information and the first state, the centralized controller can accurately control each group of lamp controllers, and if the second brightness information and the second state are inconsistent with the first brightness information and the first state, the centralized controller can not accurately control each group of lamp controllers, and if the second brightness information and the first state are inconsistent, the centralized controller can not accurately control each group of lamp controllers.
S204, if the second brightness information corresponding to the second target group is inconsistent with the first brightness information corresponding to the second target group, the corresponding first brightness information is sent to the lamp controllers of the second target group in a point-to-point mode again, so that the second brightness information corresponding to the lamp controllers of the second target group is consistent with the first brightness information corresponding to the lamp controllers of the second target group.
Specifically, the second target group is any one of the groups.
The centralized controller acquires the second brightness information corresponding to each group of light controllers and the second state of each group of relays according to a multichannel rapid parallel reading mechanism, and then needs to judge whether the second brightness information and the second state of each group are consistent with the preset first brightness information and second state or not, wherein the group number in each group of light controllers comprises group B. If the second brightness information and the second state of the B group are inconsistent with the first brightness information and the second state of the B group (the B group is called a second target group at the moment), the corresponding first brightness information and the first state of the relay of the B group are sent to the lamp controllers of the B group in a point-to-point mode again, so that the second brightness information corresponding to the lamp controllers of the B group is consistent with the first brightness information corresponding to the lamp controllers of the B group, and the second state of the relay of the lamp controllers of the B group is consistent with the first state of the relay of the lamp controllers of the B group.
In the embodiment of the application, if the second brightness information and the second state of the relay cannot be kept consistent with the first brightness information and the first state of the relay by one reading, the reading can be repeated until the second brightness information and the second state of the relay are kept consistent with the first state of the relay.
In summary, the scheme information for controlling the light controllers is broadcast to the light controllers, and the scheme information comprises grouping information of the light controllers and first brightness information corresponding to each group of light controllers; and according to the grouping information of the lamp controllers, the lamp controllers are controlled in a centralized manner, so that the lamp controllers control the lighting lamps to output different brightness according to the first brightness information corresponding to each group of lamp controllers. The application can intensively control the lamp controller and control the lighting lamp to output different brightness by broadcasting the scheme information for controlling the lamp controller to the lamp controller, thereby saving electric power.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a control device for a lighting fixture according to an embodiment of the present application, where the device includes:
the broadcasting module 51 is configured to broadcast, to the light controllers, scheme information for controlling the light controllers, where the scheme information includes grouping information of the light controllers and first luminance information corresponding to each group of the light controllers.
The control module 52 is configured to centrally control the light controllers according to the grouping information of the light controllers, so that the light controllers control the lighting fixtures to output different brightnesses according to the first brightness information corresponding to each group of light controllers.
The control module 52 includes:
and the first control unit is used for intensively controlling all groups of lamp controllers according to the group information of the group number if the group number of the group information broadcast to the lamp controllers is 0.
The control module 52 further includes:
and the second control unit is used for intensively controlling the lamp controllers of the first target group according to the grouping information of the target group number if the group number of the grouping information broadcasted to the lamp controllers is not 0, wherein the target group number is any one of all the group numbers, and the first target group corresponds to the target group number.
The device further comprises:
the acquisition module is used for acquiring second brightness information corresponding to each group of lamp controllers according to a multichannel rapid parallel reading mechanism;
the sending module is used for sending the corresponding first brightness information to the lamp controllers of the second target group in a point-to-point mode again if the second brightness information corresponding to the second target group is inconsistent with the first brightness information corresponding to the second target group, so that the second brightness information corresponding to the lamp controllers of the second target group is consistent with the first brightness information corresponding to the lamp controllers of the second target group; wherein the second target group is any one of the groups.
The device further comprises:
and the expansion module is used for expanding the broadcast command to the standard 645 protocol.
Correspondingly, the broadcasting module is also used for broadcasting scheme information for controlling the lamp controller to the lamp controller according to the standard 645 protocol after the broadcasting command is expanded.
The device further comprises:
and the modifying module is used for modifying the grouping information in the broadcast command in a point-to-point mode.
The device further comprises:
and the determining module is used for determining the first brightness information corresponding to each group of light controllers according to the difference of the environments of the groups of light controllers.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
As shown in fig. 6, the embodiment of the present application further provides a terminal device 500, including a memory 21, a processor 22, and a computer program 23 stored in the memory 21 and capable of running on the processor 22, where the processor 22 executes the computer program 23 to implement the control method of the lighting fixture of each embodiment.
The processor 22 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 21 may be an internal storage unit of the terminal device 500. The memory 21 may also be an external storage device of the terminal device 500, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the terminal device 500. Further, the memory 21 may also include both an internal storage unit and an external storage device of the terminal device 500. The memory 21 is used to store computer programs and other programs and data required for the terminal device 500. The memory 21 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the control method of the lighting lamp of each embodiment when being executed by a processor.
The embodiment of the application provides a computer program product, which when run on a mobile terminal, enables the mobile terminal to execute the control method of the lighting fixture of each embodiment.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above-described embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of the method embodiments described above when executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable storage medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer memory, read-only memory (ROM), random access memory (random access memory, RAM), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer-readable storage media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present application.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.
Claims (9)
1. A method of controlling a lighting fixture, the method comprising:
broadcasting scheme information for controlling the lamp controllers to the lamp controllers, wherein the scheme information comprises grouping information of the lamp controllers and first brightness information corresponding to each group of lamp controllers;
according to the grouping information of the lamp controllers, the lamp controllers are controlled in a centralized mode, so that the lamp controllers control the lighting fixtures to output different brightness according to the first brightness information corresponding to each group of lamp controllers;
acquiring second brightness information corresponding to each group of lamp controllers according to a multichannel rapid parallel reading mechanism;
if the second brightness information corresponding to the second target group is inconsistent with the first brightness information corresponding to the second target group, the corresponding first brightness information is sent to the lamp controllers of the second target group in a point-to-point mode again, so that the second brightness information corresponding to the lamp controllers of the second target group is consistent with the first brightness information corresponding to the lamp controllers of the second target group; wherein the second target group is any one of the groups.
2. The control method according to claim 1, wherein the centralized control of the lamp controllers based on the grouping information of the lamp controllers includes:
and if the group number of the grouping information broadcasted to the lamp controllers is 0, the lamp controllers of all groups are controlled in a centralized way according to the grouping information of the group number.
3. The control method according to claim 1, wherein the centralized control of the lamp controllers based on the grouping information of the lamp controllers includes:
and if the group number of the grouping information broadcasted to the lamp controller is not 0, the lamp controller of a first target group is intensively controlled according to the grouping information of the target group number, wherein the target group number is any one of all the group numbers, and the first target group corresponds to the target group number.
4. The control method according to claim 1, characterized by comprising, before broadcasting to a lamp controller scheme information for controlling the lamp controller:
augmenting broadcast commands for standard 645 protocol;
correspondingly, the broadcasting to the lamp controller the scheme information for controlling the lamp controller includes:
and broadcasting scheme information for controlling the lamp controller to the lamp controller according to a standard 645 protocol after the broadcast command is extended.
5. The control method of claim 4, after expanding the broadcast command to the standard 645 protocol, comprising:
the packet information in the broadcast command is modified in a point-to-point manner.
6. The control method according to any one of claims 1 to 5, characterized in that the control method includes:
and determining first brightness information corresponding to each group of the lamp controllers according to different environments of the lamp controllers.
7. A control device for a lighting fixture, the control device comprising:
the broadcasting module is used for broadcasting scheme information for controlling the lamp controllers to the lamp controllers, wherein the scheme information comprises grouping information of the lamp controllers and first brightness information corresponding to each group of the lamp controllers;
the control module is used for intensively controlling the lamp controllers according to the grouping information of the lamp controllers so that the lamp controllers control the lighting lamps to output different brightness according to the first brightness information corresponding to each group of the lamp controllers;
the acquisition module is used for acquiring second brightness information corresponding to each group of lamp controllers according to a multichannel rapid parallel reading mechanism;
the sending module is configured to send, if the second luminance information corresponding to the second target group is inconsistent with the first luminance information corresponding to the second target group, the corresponding first luminance information to the light controllers of the second target group in a point-to-point manner, so that the second luminance information corresponding to the light controllers of the second target group is consistent with the first luminance information corresponding to the light controllers of the second target group; wherein the second target group is any one of the groups.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method of controlling a lighting fixture as claimed in any one of claims 1 to 6 when executing the computer program.
9. A computer readable storage medium storing a computer program, characterized in that the computer program, when executed by a processor, implements the method of controlling a lighting fixture as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111074770.7A CN113873726B (en) | 2021-09-14 | 2021-09-14 | Lighting lamp control method and device, terminal equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111074770.7A CN113873726B (en) | 2021-09-14 | 2021-09-14 | Lighting lamp control method and device, terminal equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113873726A CN113873726A (en) | 2021-12-31 |
CN113873726B true CN113873726B (en) | 2023-08-11 |
Family
ID=78995863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111074770.7A Active CN113873726B (en) | 2021-09-14 | 2021-09-14 | Lighting lamp control method and device, terminal equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113873726B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202551443U (en) * | 2012-04-01 | 2012-11-21 | 上海视莹电子科技有限公司 | Multi-function light emitting diode (LED) lamp |
CN105869606A (en) * | 2015-12-14 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Screen brightness regulating method and device |
CN109287039A (en) * | 2018-11-20 | 2019-01-29 | 重庆秉为科技有限公司 | A kind of LED street lamp intelligent control and method |
WO2019041129A1 (en) * | 2017-08-29 | 2019-03-07 | 深圳传音通讯有限公司 | Method for controlling lamp on terminal, terminal and computer-readable medium |
CN109803472A (en) * | 2017-11-17 | 2019-05-24 | 深圳市天工测控技术有限公司 | A kind of lighting system, lighting system control method and storage medium |
CN111556608A (en) * | 2020-04-10 | 2020-08-18 | 洪阳伟业光电科技(苏州)有限公司 | Illumination control method, control system and terminal based on LoRa wireless communication |
CN112996169A (en) * | 2019-11-29 | 2021-06-18 | 威达高科股份有限公司 | LED module with resume information, screen display and correction system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2258148A1 (en) * | 2008-02-22 | 2010-12-08 | Tri-concept Technology Limited | Apparatus and system for led street lamp monitoring and control |
US8907572B2 (en) * | 2012-11-19 | 2014-12-09 | Ting Pat Albert So | Centralized LED based highway lighting supply and controls and related methods |
KR20140140867A (en) * | 2013-05-30 | 2014-12-10 | 주식회사 케이엠더블유 | Brightness control device for lighting apparatus |
CN104582167B (en) * | 2014-12-30 | 2017-08-25 | 生迪光电科技股份有限公司 | Lighting apparatus, intelligent terminal, lighting apparatus group network system and method |
-
2021
- 2021-09-14 CN CN202111074770.7A patent/CN113873726B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202551443U (en) * | 2012-04-01 | 2012-11-21 | 上海视莹电子科技有限公司 | Multi-function light emitting diode (LED) lamp |
CN105869606A (en) * | 2015-12-14 | 2016-08-17 | 乐视移动智能信息技术(北京)有限公司 | Screen brightness regulating method and device |
WO2019041129A1 (en) * | 2017-08-29 | 2019-03-07 | 深圳传音通讯有限公司 | Method for controlling lamp on terminal, terminal and computer-readable medium |
CN109803472A (en) * | 2017-11-17 | 2019-05-24 | 深圳市天工测控技术有限公司 | A kind of lighting system, lighting system control method and storage medium |
CN109287039A (en) * | 2018-11-20 | 2019-01-29 | 重庆秉为科技有限公司 | A kind of LED street lamp intelligent control and method |
CN112996169A (en) * | 2019-11-29 | 2021-06-18 | 威达高科股份有限公司 | LED module with resume information, screen display and correction system |
CN111556608A (en) * | 2020-04-10 | 2020-08-18 | 洪阳伟业光电科技(苏州)有限公司 | Illumination control method, control system and terminal based on LoRa wireless communication |
Also Published As
Publication number | Publication date |
---|---|
CN113873726A (en) | 2021-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN202721876U (en) | Single lamp monitoring system for LED streetlamp | |
CN103825655A (en) | Positioning system and method of lighting device | |
CN107072008B (en) | Intelligent lighting system based on wireless control technology | |
CN114928924A (en) | Intelligent street lamp control system based on urban road management | |
US20150002305A1 (en) | Methods and Devices Relating to Solid State Lighting | |
WO2019033266A1 (en) | Smart equipment, method used by smart equipment, and smart lamp | |
CN103249232A (en) | Intelligent streetlamp illumination control system | |
CN204244526U (en) | The system of Street lamps control and street lamp | |
CN113873726B (en) | Lighting lamp control method and device, terminal equipment and readable storage medium | |
CN106020149A (en) | Intelligent wireless sensing monitoring system and method for street lamp network | |
CN110751842A (en) | Traffic signal control method and device for intelligent lamp pole, system and storage medium thereof | |
CN205305199U (en) | Long -range monitor control ware in city | |
CN112153795B (en) | Control method and system for execution equipment | |
CN111918439A (en) | Intelligent street lamp management system and method | |
CN111405729A (en) | Garden intelligent street lamp management system based on GIS and management method thereof | |
CN108898201B (en) | Information association system and method for solar assembly | |
CN103763826B (en) | The installation method of wireless lamp controller and Lighting Control Assembly | |
CN111951570A (en) | Control method, device and system of traffic signal lamp | |
WO2021192487A1 (en) | Rapid commissioning of lighting devices | |
CN213818297U (en) | Lighting control system based on NB-IOT narrowband thing allies oneself with technique | |
CN210120688U (en) | Artificial intelligence lighting system | |
CN106879144A (en) | A kind of intelligent controller for road lamp | |
CN211152287U (en) | Projection system based on wisdom street lamp | |
CN114902306A (en) | Roadside relay device, central device, and method for providing signal information | |
CN219322620U (en) | Large scene public area lighting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |