CN112416435A - Lighting control device based on system management - Google Patents

Lighting control device based on system management Download PDF

Info

Publication number
CN112416435A
CN112416435A CN202011420138.9A CN202011420138A CN112416435A CN 112416435 A CN112416435 A CN 112416435A CN 202011420138 A CN202011420138 A CN 202011420138A CN 112416435 A CN112416435 A CN 112416435A
Authority
CN
China
Prior art keywords
instruction
plan
control
user
information
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.)
Pending
Application number
CN202011420138.9A
Other languages
Chinese (zh)
Inventor
周明杰
黄广杰
张国邦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oceans King Lighting Science and Technology Co Ltd
Oceans King Dongguan Lighting Technology Co Ltd
Shenzhen Oceans King Lighting Engineering Co Ltd
Original Assignee
Oceans King Lighting Science and Technology Co Ltd
Oceans King Dongguan Lighting Technology Co Ltd
Shenzhen Oceans King Lighting Engineering Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Oceans King Lighting Science and Technology Co Ltd, Oceans King Dongguan Lighting Technology Co Ltd, Shenzhen Oceans King Lighting Engineering Co Ltd filed Critical Oceans King Lighting Science and Technology Co Ltd
Priority to CN202011420138.9A priority Critical patent/CN112416435A/en
Publication of CN112416435A publication Critical patent/CN112416435A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30094Condition code generation, e.g. Carry, Zero flag

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application is suitable for lighting control technical field, provides a lighting control device based on system management, and the device includes: the data acquisition module is used for acquiring target data of associated equipment, wherein the target data comprises one or more of alarm management data and energy consumption management data; the instruction receiving module is used for receiving a data acquisition instruction; and the display module is used for displaying the target data corresponding to the data acquisition instruction. The problem of the inconvenient management to lamps and lanterns can be solved to a certain extent to this application.

Description

Lighting control device based on system management
Technical Field
The application belongs to the field of lighting control, and particularly relates to a lighting control device based on system management.
Background
For some open indoor sites, such as railway tunnels, fire-fighting sites, oil field sites, petrochemical sites, and office sites of large enterprises, the general light is poor. Therefore, a lamp is required to be used for illumination during construction or maintenance.
The existing lighting control system can only control the on and off of the lamp generally, and has no other functions, so that the condition of the lamp in the specific application process cannot be known in time, and the lamp is inconvenient to manage.
Disclosure of Invention
The embodiment of the application provides a lighting control device based on system management, a control method and terminal equipment, and can solve the problem that management of lamps is inconvenient to a certain extent.
In a first aspect, an embodiment of the present application provides a lighting control device based on system management, including:
the data acquisition module is used for acquiring target data of the associated equipment, wherein the target data comprises one or more of alarm management data and energy consumption management data;
the instruction receiving module is used for receiving a data acquisition instruction;
and the display module is used for displaying the target data corresponding to the data acquisition instruction.
In a second aspect, an embodiment of the present application provides a lighting control method, including
Acquiring target data of associated equipment, wherein the target data comprises one or more of alarm management data and energy consumption management data;
receiving a data acquisition instruction;
and displaying the target data corresponding to the data acquisition instruction.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the method according to the second aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the method according to the second aspect.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to execute the lighting control method according to any one of the second aspects.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Compared with the prior art, the embodiment of the application has the advantages that:
the application provides a lighting control device based on system management, the device includes: the data acquisition module is used for acquiring target data of the associated equipment, wherein the target data comprises one or more of alarm management data and energy consumption management data; the instruction receiving module is used for receiving a data acquisition instruction; and the display module is used for displaying the target data corresponding to the data acquisition instruction. Namely, the lighting control device based on system management comprises a data acquisition module, and the data acquisition module can acquire target data of associated equipment (the associated equipment comprises a lamp and a control device of the lamp). When a user needs to acquire target data of the associated equipment, a data acquisition instruction is sent to the instruction receiving module, and after the instruction receiving module receives the data acquisition instruction, the display module can display the target data corresponding to the data acquisition instruction, so that the user can acquire the target data. Therefore, the lighting control device based on system management can enable a user to acquire target data of the associated equipment, so that the user can timely know the conditions of the lamp and the control equipment of the lamp in the specific application process, and the user can conveniently manage the lamp.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a lighting control apparatus based on system management according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a lighting control method according to an embodiment of the present application;
fig. 3 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 particular system structures, 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.
It will 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 this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" 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 present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
Example one
Fig. 1 shows an example of a lighting control apparatus based on system management, and for convenience of explanation, only the portions related to the embodiments of the present application are shown. The apparatus 100 comprises:
the data acquisition module 101 is configured to acquire target data of the associated device, where the target data includes one or more of alarm management data and energy consumption management data.
The instruction receiving module 102 is configured to receive a data obtaining instruction.
And the display module 103 is configured to display the target data corresponding to the data acquisition instruction.
In this application, the associated devices include a lamp and a control device of the lamp, and the control device of the lamp includes a single lamp controller, a loop controller, a lighting detector, and the like. The data acquisition module 101 may acquire target data according to an instruction of a user, and may also automatically acquire the target data, which is not limited herein. The data acquisition module 101 of the apparatus 100 first acquires alarm management data or energy consumption management data of the associated device. Then, when the instruction receiving module 102 receives a data obtaining instruction, the display module 103 displays target data corresponding to the data obtaining instruction, so that a user obtains alarm management data or energy consumption management data of the associated device.
Optionally, the data obtaining instruction includes an identifier of the associated device and a time interval; accordingly, the display module 103 is specifically configured to perform: and determining the associated equipment corresponding to the identifier, and displaying the target data of the associated equipment in the time interval.
In this application, the data obtaining instruction includes an identifier of the associated device and a time interval, and at this time, when the instruction receiving module 102 receives the data obtaining instruction, the display module 103 first determines the associated device corresponding to the identifier and displays target data of the associated device in the time interval.
Optionally, when the display module 103 displays the target data corresponding to the data acquisition instruction, the filtering options may be displayed at the same time, and then the display module 103 filters the displayed target data according to the filtering information input by the user, and then displays the filtered target data. The screening options include identification of the associated device, time interval, and the like.
Optionally, the apparatus 100 further comprises: and the data export module is used for exporting the target data when an export triggering instruction is received. In this application, the apparatus 100 further includes a data export module, that is, a data export function is provided, and when the data export module receives an export trigger instruction, the target data can be exported, so that the user can process the target data.
Optionally, the data acquisition module 101 includes: the plan acquisition unit is used for acquiring a data acquisition plan corresponding to the associated equipment; and the data acquisition unit is used for acquiring the energy consumption management data of the associated equipment according to the data acquisition plan.
In this application, the data collection plan may include the number of times of plan execution, the time of plan execution, the priority level of plan execution, the number of times of re-execution after plan execution failure and the time of re-execution, and the identifier of the associated device. The content of the data collection plan may be set by the user according to actual needs, and the present application is not limited herein. It should be understood that a plan may include multiple associated devices, and that an associated device may correspond to multiple plans. The user can set according to actual needs, and the application is not limited herein.
After the plan acquisition unit acquires the data acquisition plan corresponding to the associated equipment, the data acquisition unit acquires the energy consumption management data of the associated equipment according to the data acquisition plan.
Optionally, the data acquisition module 101 includes: the detection unit is used for detecting the working parameters of the associated equipment and determining the numerical values of the working parameters; and the generating unit is used for generating alarm management data if the numerical value of the working parameter is not in a preset numerical value range.
In this application, the data acquisition module 101 includes a detection unit and a generation unit. The detection unit is used for detecting the working parameters of the associated equipment and determining the numerical values of the working parameters, and the generation unit is used for generating alarm management data if the numerical values of the working parameters are not in a preset data range. The operating parameters of the associated device may include voltage, current, power, and other parameters indicative of a fault, etc. of the associated device.
It should be noted that, after generating the alarm management data, the generating unit may store the alarm management data, and then, when the instruction receiving module 102 receives the data obtaining instruction, the display module 103 directly displays the alarm management data corresponding to the data obtaining instruction. Alternatively, after generating the alarm management data, the generating unit may also directly send the alarm management data to the terminal device associated with the apparatus 100, so that the user can know the alarm management data in time and then take countermeasures.
Optionally, the target data further comprises information of the user account. Accordingly, the data acquisition module comprises: the newly added user unit is used for receiving newly added user information and creating a user account corresponding to the newly added user information; the modified user unit is used for receiving the modified user information and the account identification, determining a user account corresponding to the account identification, and replacing the user information of the user account with the modified user information; and the deleting user unit is used for receiving the deleting instruction and deleting the user account corresponding to the deleting instruction.
Since the device 100 may be used by multiple users. Thus, the users can be handled separately. When the user needs to acquire the information of the user account, the data acquisition instruction is sent to the instruction receiving module 102. At this time, the data collection module 101 includes an add subscriber unit, a modify subscriber unit, and a delete subscriber unit. And the newly added user unit is used for receiving the newly added user information and creating a user account corresponding to the newly added user information. The user information may include information such as the user's identification, password, contact, rights, and company to which the user belongs.
And the modification user unit is used for receiving the modified user information and the account identification, then determining a user account corresponding to the account identification, and replacing the user information of the user account with the modified user information so as to modify the user information. And the deleting user unit is used for receiving the deleting instruction and deleting the user account corresponding to the deleting instruction.
A specific application scenario of the present apparatus 100 is described below.
The user triggers the system management button after entering the web page corresponding to the device 100, and the device 100 prompts the user to select the type of the target data after receiving the system management triggering instruction. The user inputs a data acquisition instruction, namely an instruction for inputting a target data type to be acquired. The instruction receiving module 102 of the apparatus 100 thus receives the data acquisition instruction. Then, the display module 103 displays the target data corresponding to the data obtaining instruction, the identifier of the associated device, the time and other screening options at the same time. And then screening the displayed target data according to the identification of the associated equipment input by the user and the time, and finally displaying only the target data of the associated equipment corresponding to the identification at the time.
In summary, the present application provides a lighting control device 100 based on system management, the device 100 comprising: the data acquisition module 101 is configured to acquire target data of associated equipment, where the target data includes one or more of alarm management data and energy consumption management data; an instruction receiving module 102, configured to receive a data obtaining instruction; and the display module 103 is configured to display the target data corresponding to the data acquisition instruction. That is, the lighting control apparatus 100 based on system management of the present application includes a data acquisition module 101, and the data acquisition module 101 can acquire target data of associated devices (the associated devices include luminaires and control devices of the luminaires). When a user needs to acquire target data of the associated device, a data acquisition instruction is sent to the instruction receiving module 102, and after the instruction receiving module 102 receives the data acquisition instruction, the display module 103 can display the target data corresponding to the data acquisition instruction, so that the user can acquire the target data. Therefore, the lighting control device 100 based on system management according to the present application can enable a user to obtain target data of associated devices, so that the user can timely know about the situation of the lamp and the control device of the lamp in the specific application process, thereby facilitating the management of the lamp by the user.
Optionally, the instruction receiving module 102 is further configured to receive a lamp control instruction. The apparatus 100 comprises:
and the action execution module is used for executing the lamp control operation corresponding to the lamp control instruction.
In the application, a user can input a lamp control instruction through a preset webpage, or the user can input the lamp control instruction through an application program of a terminal. The user can select the input mode of the lamp control instruction according to the actual situation, and the application is not limited herein. After the command receiving module 102 receives the lamp control command, the action executing module executes the lamp control operation corresponding to the lamp control command.
In some possible implementation manners, the luminaire control instruction includes identification information of the control device, and the action execution module is specifically configured to execute: and searching a target gateway corresponding to the identification information in the lamp control instruction, and sending the lamp control instruction to the control equipment corresponding to the identification information through the target gateway, wherein the lamp control instruction is used for indicating the control equipment to control the lamp.
In this implementation manner, the lighting control instruction includes identification information of a control device, and the control device refers to a device that controls a lighting, for example, a single lamp controller, a loop controller, and the like. After the instruction receiving module 102 receives the lamp control instruction, the action executing module searches for a target gateway corresponding to the identification information in the lamp control instruction. And then the action execution module sends a lamp control instruction to the control equipment corresponding to the identification information through the target gateway, so that the control equipment is instructed to control the lamp according to the lamp control instruction.
Optionally, the lamp control instruction further includes brightness adjustment information and on-off control mode information. In the application, when a user has a requirement on the brightness of the lamp or the on-off control mode of the lamp, the user can add brightness adjustment information or lamp on-off mode information to the lamp instruction. The brightness adjustment information can be any value between 0 and 100 candela per square meter, the switch control mode information comprises three-phase switch control or main switch control, and the main switch control mode is a one-key switch mode.
Optionally, the lamp control instruction is a lamp adding instruction, the lamp adding instruction includes information of a control device of the lamp and information of a target gateway, and the action execution module is specifically configured to create an association relationship between the control device and the target gateway.
In this application, the lamp control instruction is a lamp adding instruction, the lamp adding instruction includes information of a control device of the lamp and information of a target gateway, and at this time, the action execution module is specifically configured to create an association relationship between the control device and the target gateway. The information of the control device of the luminaire may comprise an identification of the control device of the luminaire and a type of the control device of the luminaire. The information of the target gateway may be a Media Access Control Address (MAC).
Optionally, the device 100 further includes an authority module, configured to determine a control authority of a current user when a lamp adding instruction is received, and accordingly, the action executing module is specifically configured to execute: and when the current user has the authority of controlling the control equipment, establishing the association relationship between the control equipment and the target gateway.
In the present application, the association relationship between the control device and the target gateway can be created only when the user has the right to control the control device. Therefore, the device 100 is further provided with an authority module for determining the control authority of the current user when the lamp adding instruction is received. And when the current user has the authority of controlling the control equipment, the action execution module creates the association relationship between the control equipment and the target gateway.
Optionally, the lamp control instruction is a lamp deleting instruction; and the action execution module is specifically used for deleting the association relationship between the control equipment and the target gateway.
In this application, for the already created association relationship between the control device and the target gateway, if the association relationship does not need to be reused, the apparatus 100 may delete the already created association relationship between the control device and the target gateway, that is, at this time, the action execution module is configured to delete the association relationship between the control device and the target gateway.
Optionally, the lamp control instruction is a lamp modification instruction, and the lamp modification instruction includes information of control equipment of the lamp or information of the target gateway; and the action execution module is specifically used for modifying the association relationship between the control equipment and the target gateway.
In the present application, the association relationship of the control device and the target gateway that have been created can be modified. At this time, the lamp control instruction is a lamp modification instruction, and the lamp modification instruction includes information of control equipment of the lamp or information of the target gateway. When the command receiving module 102 receives a lamp modification command, the action executing module modifies information of the control device and the target gateway. It should be noted that, when the information of the control device of the light fixture is included in the light fixture modification instruction, the authority module of the apparatus 100 needs to determine the control authority of the user. When the user has the control right of the control equipment in the lamp modification instruction, the action execution module modifies the information of the control equipment and the target gateway.
The instruction receiving module 102 is further configured to receive a lamp control instruction, and the apparatus 100 is further configured to execute an execution module, configured to execute a lamp control operation corresponding to the lamp control instruction. That is, in the present application, the lamp control instruction is sent to the instruction receiving module 102, and then the action executing module executes the lamp control operation corresponding to the lamp control instruction, so as to control the lamp. Therefore, in the application, the lamps can be remotely controlled by sending the lamp control command, the lamps do not need to be controlled by wires, the problem of complicated lines does not exist, the lines do not need to be detached even when project transformation is carried out, resource waste is avoided, and the expansibility is strong.
Optionally, the instruction receiving module 102 is further configured to receive a plan trigger instruction; correspondingly, the action execution module is further configured to acquire a target plan corresponding to the plan trigger instruction, and execute the lighting control operation corresponding to the target plan when the execution condition of the target plan is met.
In the application, a user can input a plan trigger instruction through a preset webpage. Alternatively, the user may input the scheduled trigger instruction through an application program of the terminal. The user may select the input mode of the planned trigger instruction according to the actual situation, which is not limited herein. After the instruction receiving module 102 receives the plan trigger instruction, the action executing module acquires the target plan corresponding to the plan trigger instruction, and executes the lighting control operation corresponding to the target plan when the execution condition of the target plan is met.
The target plan is a plan previously made by the user. The target plan may be a plant control plan. The target plan may set the number of times of plan execution, the time of plan execution, the priority level of plan execution, the number of times of re-execution after the failure of plan execution, the time of re-execution, the identification of the controlled device, and the like. It should be understood that a target plan may include multiple controlled devices, and that a controlled device may correspond to multiple plans. The content user of the target plan may be set according to actual needs, and the application is not limited herein.
Optionally, the instruction receiving module 102 is further configured to receive a plan adding instruction, where the plan adding instruction includes a plan identifier, information of a plan type, a plan execution condition, and information of a controlled device; accordingly, the lighting control apparatus 100 based on system management further includes: and the plan adding module is used for creating a new plan according to the identification of the plan, the information of the plan type, the plan execution condition and the information of the controlled equipment.
In this application, the planned identifier may be a chinese identifier, a number, a character, a special symbol, or a combination thereof. The user can set according to actual conditions, and the application is not limited herein. The plan type information includes a device control plan and a data acquisition plan. The scheduled execution condition includes at least one of a time of scheduled execution, a number of scheduled execution, a priority level of scheduled execution, a number of re-executions after a scheduled execution failure, and a time of re-execution. The information of the controlled device may include an identification of the controlled device. The controlled equipment refers to control equipment of a lamp and comprises a single lamp controller, a loop controller, a bright motion detector and the like.
After the instruction receiving module 102 receives the plan adding instruction, the plan adding module creates a new plan according to the identification of the plan, the information of the plan type, the plan execution condition and the information of the controlled device.
Optionally, the lighting control apparatus 100 based on system management further includes: the authority module is used for determining the control authority of the current user when receiving a plan adding instruction; accordingly, the plan adding module is specifically configured to perform: and when the current user has the right to control the controlled equipment, creating a new plan according to the plan identification, the information of the plan type, the plan execution condition and the information of the controlled equipment.
In the present application, the authority of the controlled device is controlled, thereby preventing the controlled device from being abused. When the instruction receiving module 102 receives a plan adding instruction, the authority module determines the control authority of the current user. And if the current user has the authority of the controlled equipment, creating a new plan according to the plan identifier, the plan type information, the plan execution condition and the controlled equipment information.
Optionally, the instruction receiving module 102 is further configured to receive a plan modification instruction, where the plan modification instruction includes a plan identifier and modified information, and the modified information includes at least one of information of a plan type, information of a plan execution condition, and information of a controlled device; accordingly, the lighting control apparatus 100 based on system management further includes: and the plan modification module is used for acquiring the plan to be modified corresponding to the plan identifier and modifying the plan to be modified according to the modified information.
In the present application, when the user's needs change, the user can modify the already created plan. At this time, the user may send a plan modification instruction to the instruction receiving module 102, and after the instruction receiving module 102 receives the plan modification instruction, the plan modification module obtains the plan to be modified corresponding to the plan identifier in the plan modification instruction, and then modifies the plan to be modified according to the modified information. It should be noted that, when the modified information includes the information of the controlled device, the permission module may first determine the control permission of the current user for the controlled device, and when the current user has the control permission for the controlled device, the plan modification module modifies the plan to be modified according to the modified information.
Optionally, the instruction receiving module 102 is further configured to receive a plan deletion instruction, where the plan deletion instruction includes a plan identifier; accordingly, the lighting control apparatus 100 based on system management further includes: and the plan deleting module is used for acquiring the plan to be deleted corresponding to the plan identifier and deleting the plan to be deleted.
In the present application, when the user's needs change, the user can delete the already created plan and then create a new plan. At this time, the user sends the plan deletion instruction to the instruction receiving module 102, and after the instruction receiving module 102 receives the plan deletion instruction, the plan deletion module acquires the plan to be deleted corresponding to the plan identifier in the plan deletion instruction, and deletes the plan to be deleted.
Optionally, the instruction receiving module 102 is further configured to receive a plan pause instruction; accordingly, the lighting control apparatus 100 based on system management further includes: and the plan suspending module is used for suspending the execution of the target plan corresponding to the plan triggering instruction.
In this application, the instruction receiving module 102 is further configured to schedule a suspension instruction, and in this case, the lighting control apparatus 100 based on system management further includes a schedule suspension module configured to suspend execution of a target schedule corresponding to the schedule trigger instruction.
In this application, the instruction receiving module 102 is further configured to receive a planned trigger instruction, and the system management based lighting control apparatus 100 of this application further includes: and the action execution module is used for acquiring a target plan corresponding to the plan trigger instruction and executing the lighting control operation corresponding to the target plan when the execution condition of the target plan is met. That is, in the present application, the user may first make a target plan and an execution time of the target plan. Then, when the user wants to go to a place needing illumination, the user can send a plan triggering instruction to the instruction receiving module 102, after the instruction receiving module 102 receives the plan triggering instruction, the action executing module executes the illumination control operation corresponding to the target plan when the execution condition of the target plan is met, so that the lamp is already started when the user arrives at the site, the lamp is not required to be started after the user arrives at the site, and the user can conveniently control the lamp.
Optionally, the instruction receiving module 102 is further configured to receive a scene mode trigger instruction; accordingly, the apparatus 100 comprises: the detection module is used for detecting the online state of the control equipment corresponding to the scene mode trigger instruction; correspondingly, the action execution module is further configured to, if the control device is online, acquire an operation plan of a scene corresponding to the scene mode trigger instruction, and execute a lamp control operation corresponding to the operation plan.
In the application, a user may input a scene mode trigger instruction through a preset web page, or the user may also input the scene mode trigger instruction through an application program of the terminal. The user may select the input mode of the scene mode trigger instruction according to the actual situation, which is not limited herein. After the instruction receiving module 102 receives the scene mode trigger instruction, the detecting module detects an online state of the control device corresponding to the scene mode trigger instruction. And then if the control equipment is on line, the action execution module acquires an operation plan of a scene corresponding to the scene mode trigger instruction, and executes lamp control operation corresponding to the operation plan, so that the control of the lamp is realized.
The control equipment refers to equipment for controlling the lamp, and comprises a single lamp controller, a loop controller, a bright motion detector and the like. The operation plan includes a plan identifier, a plan type, a plan state, and the like. The content included in the operation plan may be set by the user according to actual situations, and the application is not limited herein.
Optionally, the action execution module is specifically configured to execute: and if the control equipment is on line, sending an operation plan in the scene mode trigger instruction to the control equipment, wherein the operation target plan is used for indicating the control equipment to control the lamp.
In the application, if the control device is online, the action execution module sends an operation plan in the scene mode trigger instruction to the control device through a gateway of the control device, so as to instruct the control device to control the lamp according to the operation plan.
Optionally, the instruction receiving module 102 is further configured to receive a scene mode adding instruction, where the scene mode adding instruction includes a scene identifier, device information of a control device, and information of an operation plan; accordingly, the apparatus 100 further comprises: the judging module is used for judging whether control equipment corresponding to the equipment information exists or not when a scene mode adding instruction is received; and the scene mode adding module is used for creating the incidence relation between the scene identification and the control equipment and the operation plan when the control equipment corresponding to the equipment information exists.
In this application, the apparatus 100 further includes a determination module and a scene mode adding module. After the instruction receiving module 102 receives the scene mode adding instruction, the determining module is configured to determine whether a control device corresponding to the device information exists when the scene mode adding instruction is received, and if the control device corresponding to the device information exists, the scene mode adding module creates an association relationship between the scene identifier and the control device and the operation plan.
It should be understood that if there is no control device corresponding to the device information, the apparatus 100 may first prompt the user to add the control device corresponding to the device information, and then the scene mode adding module creates an association relationship between the scene identifier and the control device and the operation plan.
It should be understood that when the control device has authority control, when the control device corresponding to the device information exists, the authority module of the apparatus 100 determines the control authority of the user first, and when the user has the control authority of the control device, the scene mode adding module creates an association relationship between the scene identifier and the control device and the operation plan.
The scene identifier may be a chinese identifier, a number, a character, a special symbol, or a combination thereof. The user may select the information according to actual conditions, and the application is not limited herein. The device information of the control device includes information such as an identification of the control device and an execution type of the control device. The execution type of the control device indicates whether the control device is in a three-phase control mode or a master switch control mode.
Optionally, the instruction receiving module 102 is further configured to receive a scene mode modification instruction, where the scene mode modification instruction includes a scene identifier, device information of a control device, or information of an operation plan; correspondingly, the device further comprises: and the scene mode modifying module is used for modifying the incidence relation between the scene identification and the control equipment and the operation plan.
In the present application, the user can also make modifications to the already created scene mode. After the instruction receiving module 102 receives the scene mode modification instruction, the scene mode modification module modifies the association relationship between the scene identifier and the control device and the operation plan.
Optionally, the instruction receiving module 102 is further configured to receive a scene mode deleting instruction, where the scene mode deleting instruction includes a scene identifier; accordingly, the apparatus 100 further comprises: and the scene mode deleting module is used for acquiring the scene mode corresponding to the scene identifier and deleting the scene mode corresponding to the scene identifier.
In the present application, the user can also delete scene patterns that have already been created. After the instruction receiving module 102 receives a scene mode deleting instruction including a scene identifier, the scene mode deleting module acquires a scene mode corresponding to the scene identifier and deletes the scene mode corresponding to the scene identifier.
The instruction receiving module 102 is further configured to receive a scene mode trigger instruction, and the illumination control apparatus 100 based on system management further includes a detecting module configured to detect an online state of a control device corresponding to the scene mode trigger instruction; correspondingly, the action execution module is further configured to, if the control device is online, acquire an operation plan of a scene corresponding to the scene mode trigger instruction, and execute a lamp control operation corresponding to the operation plan. In other words, in the present application, the control of the plurality of light fixtures can be realized as long as the scene mode is triggered, so that even if the number of the light fixtures is large, much time does not need to be consumed, and the efficiency is high.
Optionally, the instruction receiving module 102 is further configured to receive a policy control instruction; correspondingly, the action execution module is further used for executing: and starting a strategy corresponding to the strategy control instruction, and controlling the lamp according to the strategy when the environment value of the lamp corresponding to the strategy control instruction meets the execution condition of the strategy.
In the application, a user can input a policy control instruction through a preset webpage. Alternatively, the user may input the policy control instruction through an application program of the terminal. The user may select the input mode of the policy control instruction according to the actual situation, which is not limited herein. After the instruction receiving module 102 receives the policy control instruction, the action executing module restarts the policy corresponding to the policy control instruction, and at this time, instructs the detector corresponding to the policy control instruction to start detecting the environment value of the lamp corresponding to the policy control instruction, and instructs the detector to feed back the environment value to the action executing module. And when the environment value meets the execution condition of the strategy, the action execution module sends the strategy to a controller corresponding to the strategy control instruction, so that the controller is instructed to control the lamp according to the strategy. The environment value of the luminaire comprises at least one of a luminance value and a motion-induced value.
It should be noted that the execution condition of the policy may also include the execution time of the policy. At this time, when the environment value of the lamp and the current time meet the execution condition, the lamp is controlled according to the strategy.
Optionally, the instruction receiving module 102 is further configured to receive a policy adding instruction, where the policy adding instruction includes a policy identifier, an execution condition, information of a probe, and information of a controller; accordingly, the lighting control apparatus 100 based on system management further includes: and the strategy adding module is used for creating a new strategy according to the strategy identification, the execution condition, the information of the detector and the information of the controller.
In this application, the apparatus 100 may also be used to create new policies. When the instruction receiving module 102 receives a policy adding instruction, the policy adding module creates a new policy according to the policy identifier, the execution condition, the information of the probe and the controller in the policy adding instruction.
The strategy identification can be a Chinese identification, a number, a character, a special symbol and the like, or a combination of the above identifications. The user can set according to actual conditions, and the application is not limited herein. The execution condition comprises that the brightness value and/or the motion induction value of the environment where the lamp is located meet a preset value or a value range. It should be noted that the execution condition may also include the execution time of the policy.
The detector refers to a bright motion detector for detecting the brightness value and the motion induction value of the environment where the lamp is located. The controller refers to a device for controlling the lamp, and comprises a single lamp controller and a loop controller. The information of the controller includes information such as a controller identification and a control method of the controller. The control modes of the controller comprise a three-phase control mode and a master switch control mode. It should be understood that one strategy may correspond to multiple detectors and multiple controllers. The user can set according to actual conditions, and the application is not limited herein.
Optionally, when receiving the policy adding instruction, the permission module of the apparatus 100 is further configured to determine the control permission of the current user; correspondingly, the policy adding module is specifically configured to perform: and when the current user has the right to control the controller, creating a new strategy according to the strategy identification, the execution condition, the information of the detector and the information of the controller.
In this application, the authority of the controller is controlled, thereby preventing the controller from being abused. When the instruction receiving module 102 receives a policy adding instruction, the authority module determines the control authority of the current user. And if the current user has the authority of the controller, the strategy adding module creates a new strategy according to the strategy identification, the execution condition, the information of the detector and the information of the controller.
Optionally, the instruction receiving module 102 is further configured to receive a policy modification instruction, where the policy modification instruction includes a policy identifier and modified information, and the modified information includes an execution condition, information of a probe, and information of a controller; accordingly, the lighting control apparatus 100 based on system management further includes: and the strategy modification module is used for acquiring the strategy to be modified corresponding to the strategy identification and modifying the strategy to be modified according to the modified information.
In the application, when the requirement of the user changes, the user can modify the created strategy. The instruction receiving module 102 is configured to receive a policy modification instruction. After the instruction receiving module 102 receives the policy modification instruction, the policy modification module obtains the to-be-modified policy corresponding to the policy identifier, and modifies the to-be-modified policy according to the modified information.
It should be noted that, when the modified information includes the information of the controller, the authority module of the lighting control device 100 based on system management may also determine the authority of the user first. And when the user has the controller corresponding to the information for controlling the controller, the strategy modification instruction acquires the strategy to be modified corresponding to the strategy identification, and modifies the strategy to be modified according to the modified information.
Optionally, the instruction receiving module 102 is further configured to receive a policy deletion instruction, where the policy deletion instruction includes a policy identifier; accordingly, the lighting control apparatus 100 based on system management further includes: and the strategy deleting module is used for acquiring the strategy corresponding to the strategy identifier and deleting the strategy corresponding to the strategy identifier.
In the application, when the requirement of the user changes, the user can delete the created strategy. At this time, the instruction receiving module 102 is configured to receive a policy deletion instruction. When the instruction receiving module 102 receives the policy deleting instruction, the policy deleting module obtains the policy corresponding to the policy identifier in the policy deleting instruction, and deletes the policy corresponding to the policy identifier.
Optionally, the instruction receiving module 102 is further configured to receive a policy suspension instruction; accordingly, the lighting control apparatus 100 based on system management further includes: and the strategy suspending module is used for suspending the strategy corresponding to the strategy suspending instruction.
In the present application, the lighting device control apparatus 100 based on system management further includes a policy suspension module configured to suspend a policy corresponding to the policy suspension instruction.
The command receiving module is further used for receiving a strategy control command, and the action executing module is further used for starting the strategy corresponding to the strategy control command and controlling the lamp according to the strategy when the environment value of the lamp corresponding to the strategy control command meets the executing condition of the strategy. In other words, in the application, the strategy is started, and then when the environment value of the lamp meets the execution condition of the strategy, the strategy is executed, so that the control of the lamp can be realized, and the method is simple and convenient.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the method embodiment of the present application, and specific reference may be made to a part of the method embodiment, which is not described herein again.
Example two
In the following, a lighting control method provided in the second embodiment of the present application is described, referring to fig. 2, where the method includes:
step S201, collecting target data of associated equipment, wherein the target data comprises one or more of alarm management data and energy consumption management data.
In step S201, the associated devices include a luminaire and a control device of the luminaire, and the control device of the luminaire includes a single lamp controller, a loop controller, a lighting detector, and the like. The terminal device may acquire the target data according to an instruction of a user, and may also automatically acquire the target data, which is not limited herein.
Step S202, receiving a data acquisition instruction.
In step S202, the terminal device may receive a data acquisition instruction through a preset web page. Alternatively, the terminal device may receive the data acquisition instruction through an application program of the terminal. The receiving mode of the data acquisition instruction can be set by a user according to actual conditions, and the application is not limited herein.
And step S203, displaying the target data corresponding to the data acquisition instruction.
In step S203, after receiving the data acquisition instruction, the terminal device displays the target data corresponding to the data acquisition instruction.
In some embodiments, the data acquisition instruction includes an identification of the associated device and a time interval; correspondingly, the displaying the target data corresponding to the data acquisition instruction includes: and determining the associated equipment corresponding to the identifier, and displaying the target data of the associated equipment in the time interval.
In this embodiment, the data obtaining instruction includes an identifier of the associated device and a time interval, and at this time, when the terminal device receives the data obtaining instruction, the terminal device first determines the associated device corresponding to the identifier and displays target data of the associated device in the time interval.
In other embodiments, the terminal device may also display the screening option while displaying the target data corresponding to the data acquisition instruction, and then the terminal device screens the displayed target data according to the screening information input by the user, and then displays the screened target data. The screening options include identification of the associated device, time interval, and the like.
In other embodiments, the method further comprises: when an export trigger instruction is received, exporting the target data. In this embodiment, the terminal device further has a data export function, and when the terminal device receives the export instruction, the terminal device can export the target data so that the user can process the target data.
In other embodiments, collecting target data associated with a device includes: acquiring a data acquisition plan corresponding to the associated equipment; and acquiring energy consumption management data of the associated equipment according to the data acquisition plan.
In this embodiment, the data collection plan may include the number of times of plan execution, the time of plan execution, the priority level of plan execution, the number of times of re-execution after the plan execution fails, the time of re-execution, the identifier of the associated device, and the like. The content of the data collection plan may be set by the user according to actual needs, and the present application is not limited herein. It should be understood that a plan may include multiple associated devices, and that an associated device may correspond to multiple plans. The user can set according to actual needs, and the application is not limited herein.
After the terminal device acquires the data acquisition plan corresponding to the associated device, the terminal device acquires the energy consumption management data of the associated device according to the data acquisition plan.
In other embodiments, collecting target data associated with a device includes: detecting working parameters of the associated equipment and determining numerical values of the working parameters; and if the numerical value of the working parameter is not in the preset numerical value range, generating alarm management data.
In this embodiment, the terminal device detects the working parameters of the associated device and determines the values of the working parameters, and if the values of the working parameters are not within the preset data range, generates alarm management data. The operating parameters of the associated device may include voltage, current, power, and other parameters indicative of a fault, etc. of the associated device.
It should be noted that, after the alarm management data is generated, the terminal device may store the alarm management data, and then when the terminal device receives the data acquisition instruction, the terminal device directly displays the alarm management data corresponding to the data acquisition instruction. Or, after the alarm management data is generated, the terminal device may also directly send the alarm management data to other associated terminal devices, so that the user may know the alarm management data in time and then take countermeasures.
Optionally, the target data further comprises information of the user account. Accordingly, collecting target data associated with a device includes: receiving newly added user information, and creating a user account corresponding to the newly added user information; receiving the modified user information and the account identification, determining a user account corresponding to the account identification, and replacing the user information of the user account with the modified user information; and receiving a deleting instruction, and deleting the user account corresponding to the deleting instruction.
Since the terminal device may be used by multiple users. Thus, the users can be handled separately. When the user needs to acquire the information of the user account, the data acquisition instruction is sent to the terminal equipment. At this time, the terminal device receives the newly added user information and creates a user account corresponding to the newly added user information. The user information may include information such as the user's identification, password, contact, rights, and company to which the user belongs.
And the terminal equipment receives the modified user information and the account identification, then determines a user account corresponding to the account identification, and replaces the user information of the user account with the modified user information so as to modify the user information. And the terminal equipment receives the deleting instruction and deletes the user account corresponding to the deleting instruction.
In summary, the present application provides a lighting control method, which first acquires target data of associated devices, where the target data includes one or more of alarm management data and energy consumption management data; then receiving a data acquisition instruction; and finally, displaying the target data corresponding to the data acquisition instruction. That is, the present application may collect target data of associated devices (the associated devices include luminaires and control devices of the luminaires). When a user needs to acquire target data of the associated device, a data acquisition instruction is sent to the terminal device, and after the terminal device receives the data acquisition instruction, the terminal device can display the target data corresponding to the data acquisition instruction, so that the user can acquire the target data. Therefore, the lighting control method can enable a user to obtain the target data of the associated equipment, so that the user can timely know the conditions of the lamp and the control equipment of the lamp in the specific application process, and the user can conveniently manage the lamp.
In other embodiments, the method further comprises: and receiving a lamp control command, and executing lamp control operation corresponding to the lamp control command.
In this embodiment, the terminal device may receive the lamp control instruction through a preset web page, or the terminal device may also receive the lamp control instruction through an application program of the terminal. The user can select the receiving mode of the lamp control instruction according to the actual situation, and the application is not limited herein.
And after receiving the lamp control instruction, the terminal equipment executes the lamp control operation corresponding to the lamp control instruction.
In some possible implementation manners, the luminaire control instruction includes identification information of the control device, and the performing of the luminaire control operation corresponding to the luminaire control instruction includes: and searching a target gateway corresponding to the identification information in the lamp control instruction, and sending the lamp control instruction to the control equipment corresponding to the identification information through the target gateway, wherein the lamp control instruction is used for indicating the control equipment to control the lamp.
In this implementation manner, the lighting control instruction includes identification information of a control device, and the control device refers to a device that controls a lighting, for example, a single lamp controller, a loop controller, and the like. After receiving the lamp control instruction, the terminal device searches for a target gateway corresponding to the identification information in the lamp control instruction. And then the terminal equipment sends a lamp control instruction to the control equipment corresponding to the identification information through the target gateway, so that the control equipment is instructed to control the lamp according to the lamp control instruction.
In some embodiments, the light fixture control instructions further include brightness adjustment information and on-off control mode information. In this embodiment, when a user has a requirement on the brightness of the lamp or the on-off control mode of the lamp, the user may add brightness adjustment information or lamp on-off mode information to the lamp instruction. The brightness adjustment information can be any value between 0 and 100 candela per square meter, the switch control mode information comprises three-phase switch control or main switch control, and the main switch control mode is a one-key switch mode.
In other embodiments, the luminaire control instruction is a luminaire add instruction, the luminaire add instruction includes information of a control device of the luminaire and information of the target gateway, and accordingly, the method further includes: and creating an association relation between the control device and the target gateway.
In this embodiment, the lamp control instruction is a lamp adding instruction, the lamp adding instruction includes information of a control device of the lamp and information of a target gateway, and the terminal device creates an association relationship between the control device and the target gateway when receiving the lamp adding instruction. The information of the control device of the luminaire may comprise an identification of the control device of the luminaire and a type of the control device of the luminaire. The information of the target gateway may be a Media Access Control Address (MAC).
In other embodiments, the method further comprises: when a lamp adding instruction is received, determining the control authority of a current user, and accordingly creating an association relationship between the control equipment and the target gateway, wherein the association relationship comprises the following steps: and when the current user has the authority of controlling the control equipment, establishing the association relationship between the control equipment and the target gateway.
In this embodiment, only when the user has the right to control the control device, the terminal device can create the association relationship between the control device and the target gateway. Therefore, when a lamp adding instruction is received, the control authority of the current user is determined. And when the current user has the authority of controlling the control equipment, the terminal equipment creates the association relationship between the control equipment and the target gateway.
In other embodiments, the lamp control instruction is a lamp delete instruction; correspondingly, the method further comprises: and deleting the association relation between the control equipment and the target gateway.
In this embodiment, for the already created association relationship between the control device and the target gateway, if the association relationship is not required to be reused, the terminal device may delete the already created association relationship between the control device and the target gateway.
In other embodiments, the luminaire control instruction is a luminaire modification instruction, and the luminaire modification instruction includes information of a control device of the luminaire or information of the target gateway; correspondingly, the method further comprises: and modifying the association relationship between the control equipment and the target gateway.
In the present embodiment, the association relationship of the control device and the target gateway that have been created may be modified. At this time, the lamp control instruction is a lamp modification instruction, and the lamp modification instruction includes information of control equipment of the lamp or information of the target gateway. And when the terminal equipment receives the lamp modification instruction, modifying the information of the control equipment and the target gateway. It should be noted that, when the light fixture modification instruction includes information of the control device of the light fixture, the control authority of the user may also be determined first. And when the user has the control right of the control equipment in the lamp modification instruction, the terminal equipment modifies the information of the control equipment and the target gateway.
The lighting control method provided by the application further comprises the following steps: and receiving a lamp control command, and executing lamp control operation corresponding to the lamp control command. In the application, the lamps can be remotely controlled through the lamp control command, the lamps do not need to be controlled through wires, the problem of complicated lines does not exist, the lines do not need to be detached even when project transformation is carried out, resource waste is avoided, and the expansibility is strong.
In other embodiments, the method comprises: and receiving a plan trigger instruction, acquiring a target plan corresponding to the plan trigger instruction, and executing lighting control operation corresponding to the target plan when an execution condition of the target plan is met.
The terminal equipment can receive a plan triggering instruction through a preset webpage. Alternatively, the terminal device may receive the plan trigger instruction through an application program of the terminal device. The receiving mode of the scheduled trigger instruction can be set by the user according to the actual situation, and the application is not limited herein.
And after receiving the plan trigger instruction, the terminal equipment acquires a target plan corresponding to the plan trigger instruction, and executes the lighting control operation corresponding to the target plan when the execution condition of the target plan is met.
The target plan is a plan previously made by the user. The target plan may be a plant control plan. The target plan may set the number of times of plan execution, the time of plan execution, the priority level of plan execution, the number of times of re-execution after the failure of plan execution, the time of re-execution, the identification of the controlled device, and the like. It should be understood that a target plan may include multiple controlled devices, and that a controlled device may correspond to multiple plans. The content user of the target plan may be set according to actual needs, and the application is not limited herein.
It should be understood that the target plan may also be a data acquisition plan, in which case, the action execution module is configured to acquire the target plan corresponding to the plan trigger instruction, and execute the data acquisition operation corresponding to the target plan when the execution condition of the target plan is met. The data collection plan may collect one or more of alarm management data and energy consumption management data for the controlled devices and the light fixtures. Therefore, the user can know the specific conditions of the controlled equipment and the lamp in the practical application process in time, and the user can conveniently manage the controlled equipment and the lamp.
In some embodiments, the method further comprises: receiving a plan adding instruction, wherein the plan adding instruction comprises a plan identifier, information of a plan type, a plan execution condition and information of controlled equipment; creating a new plan based on the identification of the plan, information of the plan type, plan execution conditions, and information of the controlled device
In this embodiment, the plan identifier may be a chinese identifier, a number, a character, a special symbol, or a combination of the above identifiers. The user can set according to actual conditions, and the application is not limited herein. The plan type information includes a device control plan and a data acquisition plan. The scheduled execution condition includes at least one of a time of scheduled execution, a number of scheduled execution, a priority level of scheduled execution, a number of re-executions after a scheduled execution failure, and a time of re-execution. The information of the controlled device may include an identification of the controlled device. The controlled equipment refers to control equipment of a lamp and comprises a single lamp controller, a loop controller, a bright motion detector and the like.
And after the terminal equipment receives the plan adding instruction, the terminal equipment creates a new plan according to the identification of the plan, the information of the plan type, the plan execution condition and the information of the controlled equipment.
In other embodiments, when a plan add instruction is received, the control authority of the current user is determined; accordingly, the creating of the new plan according to the identification of the plan, the information of the plan type, the plan execution condition, and the information of the controlled device includes: and when the current user has the right to control the controlled equipment, creating a new plan according to the plan identification, the information of the plan type, the plan execution condition and the information of the controlled equipment.
In the present embodiment, the authority of the controlled device is controlled, thereby preventing the controlled device from being abused. When the terminal equipment receives the planned adding instruction, the terminal equipment firstly determines the control authority of the current user. And if the current user has the authority of the controlled equipment, the terminal equipment creates a new plan according to the plan identifier, the plan type information, the plan execution condition and the controlled equipment information.
In other embodiments, the method further comprises: receiving a plan modification instruction, wherein the plan modification instruction comprises a plan identifier and modified information, and the modified information comprises at least one of plan type information, plan execution conditions and controlled equipment information; and acquiring the plan to be modified corresponding to the plan identifier, and modifying the plan to be modified according to the modified information.
In this embodiment, when the user's needs change, the user can modify the already created plan. At this time, the user may send a plan modification instruction to the terminal device, and after the terminal device receives the plan modification instruction, the terminal device obtains the plan to be modified corresponding to the plan identifier in the plan modification instruction, and then modifies the plan to be modified according to the modified information. It should be noted that, when the modified information includes the information of the controlled device, the terminal device may first determine the control right of the current user to the controlled device, and when the current user has the control right to the controlled device, the terminal device modifies the plan to be modified according to the modified information.
In other embodiments, the method further comprises: receiving a plan deletion instruction, wherein the plan deletion instruction comprises a plan identifier; and acquiring a plan to be deleted corresponding to the plan identifier, and deleting the plan to be deleted.
In this embodiment, when the user's needs change, the user may delete the created plan and then create a new plan. At this time, the user sends the plan deletion instruction to the terminal device, and after the terminal device receives the plan deletion instruction, the terminal device obtains the plan to be deleted corresponding to the plan identifier in the plan deletion instruction and deletes the plan to be deleted.
In other embodiments, the method further comprises: receiving a planned pause instruction; and the suspension plan triggers the execution of the target plan corresponding to the instruction.
In this embodiment, the terminal device may receive the plan suspension instruction, and then suspend the execution of the target plan corresponding to the plan trigger instruction.
The lighting control method provided by the application further comprises the following steps: receiving a plan trigger instruction, acquiring a target plan corresponding to the plan trigger instruction, and executing lighting control operation corresponding to the target plan when an execution condition of the target plan is met. That is, in the present application, the user may first make a target plan and an execution time of the target plan. Then, when the user wants to go to a place needing illumination, the user can firstly send a plan trigger instruction to the terminal device, after the terminal device receives the plan trigger instruction, the terminal device executes the illumination control operation corresponding to the target plan when the terminal device meets the execution condition of the target plan, so that the lamp is already started when the user arrives at the site, the lamp is not required to be started after the user arrives at the site, and the user can conveniently control the lamp.
In other embodiments, the method comprises:
receiving a scene mode trigger instruction, detecting the online state of control equipment corresponding to the scene mode trigger instruction, if the control equipment is online, acquiring an operation plan of a scene corresponding to the scene mode trigger instruction, and executing lamp control operation corresponding to the operation plan.
In this embodiment, the terminal device may receive the scene mode trigger instruction through a preset web page. Alternatively, the terminal device may also receive the scene mode trigger instruction through an application program of the terminal. The receiving mode of the scene mode trigger instruction may be set by the user according to the actual situation, and the application is not limited herein.
After the terminal device receives the scene mode trigger instruction, the terminal device detects the online state of the control device corresponding to the scene mode trigger instruction.
And after the terminal equipment detects that the control equipment is on line, acquiring an operation plan of a scene corresponding to the scene mode trigger instruction, and executing lamp control operation corresponding to the operation plan, so that the lamp is controlled.
The control equipment refers to equipment for controlling the lamp, and comprises a single lamp controller, a loop controller, a bright motion detector and the like. The operation plan includes a plan identifier, a plan type, a plan state, and the like. The content included in the operation plan may be set by the user according to actual situations, and the application is not limited herein.
In some possible implementation manners, if the control device is online, acquiring an operation plan of a scene corresponding to the scene mode trigger instruction, and executing a lamp control operation corresponding to the operation plan, where the operation plan includes: and if the control equipment is on line, sending an operation plan in the scene mode trigger instruction to the control equipment, wherein the operation target plan is used for indicating the control equipment to control the lamp.
In this implementation manner, if the control device is online, the terminal device sends the operation plan in the scene mode trigger instruction to the control device through the gateway of the control device, and the control device controls the lamp according to the operation plan.
In some embodiments, the method further comprises: receiving a scene mode adding instruction, wherein the scene mode adding instruction comprises a scene identifier, equipment information of control equipment and information of an operation plan; when a scene mode adding instruction is received, judging whether control equipment corresponding to equipment information exists or not; when there is a control device corresponding to the device information, an association of the scene identification with the control device and the operation plan is created.
In this embodiment, after the terminal device receives the scene mode adding instruction, the terminal device determines whether there is a control device corresponding to the device information, and if there is a control device corresponding to the device information, the terminal device creates an association relationship between the scene identifier and the control device and the operation plan.
It should be understood that if there is no control device corresponding to the device information, the terminal device may first prompt the user to add the control device corresponding to the device information, and then the terminal device creates an association relationship between the scene identifier and the control device and the operation plan.
The scene identifier may be a chinese identifier, a number, a character, a special symbol, or a combination thereof. The user may select the information according to actual conditions, and the application is not limited herein. The device information of the control device includes information such as an identification of the control device and an execution type of the control device. The execution type of the control device indicates whether the control device is in a three-phase control mode or a master switch control mode.
In other embodiments, the method further comprises: receiving a scene mode modification instruction, wherein the scene mode modification instruction comprises a scene identifier, equipment information of control equipment or information of an operation plan; and modifying the association relationship between the scene identification and the control equipment and the operation plan.
In this embodiment, the user may also modify the already created scene mode. And after receiving the scene mode modification instruction, the terminal equipment modifies the incidence relation between the scene identifier and the control equipment and the operation plan.
In other embodiments, the method further comprises: receiving a scene mode deleting instruction, wherein the scene mode deleting instruction comprises a scene identifier; and acquiring a scene mode corresponding to the scene identification, and deleting the scene mode corresponding to the scene identification.
In this embodiment, the user may also delete a scene mode that has already been created. After the terminal device receives a scene mode deleting instruction including the scene identifier, the terminal device acquires the scene mode corresponding to the scene identifier and deletes the scene mode corresponding to the scene identifier.
The lighting control method provided by the application further comprises the following steps: and receiving a scene mode triggering instruction. And then detecting the online state of the control equipment corresponding to the scene mode trigger instruction. And finally, if the control equipment is on line, acquiring an operation plan of a scene corresponding to the scene mode trigger instruction, and executing lamp control operation corresponding to the operation plan. In other words, in the present application, the control of the plurality of light fixtures can be realized as long as the scene mode is triggered, so that even if the number of the light fixtures is large, much time does not need to be consumed, and the efficiency is high.
In other embodiments, the method comprises:
and receiving a strategy control instruction, starting a strategy corresponding to the strategy control instruction, and controlling the lamp according to the strategy when the environment value of the lamp corresponding to the strategy control instruction meets the execution condition of the strategy.
In this embodiment, the terminal device may receive the policy control instruction through a preset web page. Alternatively, the terminal device may also input the policy control instruction through an application program of the terminal device. The receiving mode of the policy control instruction can be selected by the user according to the actual situation, and the application is not limited herein.
After the terminal equipment receives the strategy control instruction, the terminal equipment restarts the strategy corresponding to the strategy control instruction, and at the moment, the detector corresponding to the strategy control instruction is instructed to start detecting the environment value of the lamp corresponding to the strategy control instruction, and the detector is instructed to feed back the environment value to the terminal equipment. When the environment value meets the execution condition of the strategy, the terminal equipment sends the strategy to a controller corresponding to the strategy control instruction, so that the controller is instructed to control the lamp according to the strategy. The environment value of the luminaire comprises at least one of a luminance value and a motion-induced value.
In some embodiments, the method further comprises: receiving a strategy adding instruction, wherein the strategy adding instruction comprises a strategy identifier, an execution condition, information of a detector and information of a controller; and creating a new strategy according to the strategy identification, the execution condition, the information of the detector and the information of the controller.
In this embodiment, when the terminal device receives the policy adding instruction, the policy adding module creates a new policy according to the policy identifier, the execution condition, the detector, and the information of the controller in the policy adding instruction.
The strategy identification can be a Chinese identification, a number, a character, a special symbol and the like, or a combination of the above identifications. The user can set according to actual conditions, and the application is not limited herein. The execution condition comprises that the brightness value and/or the motion induction value of the environment where the lamp is located meet a preset value or a value range. It should be noted that the execution condition may also include the execution time of the policy.
The detector refers to a bright motion detector for detecting the brightness value and the motion induction value of the environment where the lamp is located. The controller refers to a device for controlling the lamp, and comprises a single lamp controller and a loop controller. The information of the controller includes information such as a controller identification and a control method of the controller. The control modes of the controller comprise a three-phase control mode and a master switch control mode. It should be understood that one strategy may correspond to multiple detectors and multiple controllers. The user can set according to actual conditions, and the application is not limited herein.
In other embodiments, the method further comprises: when a strategy adding instruction is received, determining the control authority of the current user; and when the current user has the right to control the controller, creating a new strategy according to the strategy identification, the execution condition, the information of the detector and the information of the controller.
In this embodiment, the authority of the controller is controlled, thereby preventing the controller from being abused. When the terminal equipment receives the strategy adding instruction, the terminal equipment firstly determines the control authority of the current user. And if the current user has the right of the controller, the terminal equipment creates a new strategy according to the strategy identifier, the execution condition, the information of the detector and the information of the controller.
In other embodiments, the method further comprises: receiving a strategy modification instruction, wherein the strategy modification instruction comprises a strategy identifier and modified information, and the modified information comprises an execution condition, information of a detector and information of a controller; and acquiring the strategy to be modified corresponding to the strategy identification, and modifying the strategy to be modified according to the modified information.
In this embodiment, when the user's needs change, the user may modify the already created policy. At this time, after the terminal device receives the policy modification instruction, the terminal device obtains the to-be-modified policy corresponding to the policy identifier, and modifies the to-be-modified policy according to the modified information.
It should be noted that, when the modified information includes the information of the controller, the terminal device may also determine the authority of the user first. And when the user has the controller corresponding to the information for controlling the controller, the terminal equipment acquires the strategy to be modified corresponding to the strategy identification again, and modifies the strategy to be modified according to the modified information.
In other embodiments, the method further comprises: receiving a strategy deleting instruction, wherein the strategy deleting instruction comprises a strategy identifier; and acquiring the strategy corresponding to the strategy identifier, and deleting the strategy corresponding to the strategy identifier.
In this embodiment, when the user's needs change, the user may delete the policy that has been created. At this time, in the case that the terminal device receives the policy deletion instruction, the terminal device obtains the policy corresponding to the policy identifier in the policy deletion instruction, and deletes the policy corresponding to the policy identifier.
In other embodiments, the method further comprises: and receiving a strategy pause instruction, and pausing the strategy corresponding to the strategy pause instruction.
In this embodiment, after receiving the policy suspension instruction, the terminal device suspends the policy corresponding to the policy suspension instruction.
The lighting control method provided by the application further comprises the following steps: receiving a strategy control instruction, starting a strategy corresponding to the strategy control instruction, and controlling the lamp according to the strategy when the environment value of the lamp corresponding to the strategy control instruction meets the execution condition of the strategy. In other words, in the application, the strategy is started, and then when the environment value of the lamp meets the execution condition of the strategy, the strategy is executed, so that the control of the lamp can be realized, and the method is simple and convenient.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
EXAMPLE III
Fig. 3 is a schematic diagram of a terminal device provided in the third embodiment of the present application. As shown in fig. 3, the terminal device 300 of this embodiment includes: a processor 301, a memory 302, and a computer program 303 stored in the memory 302 and operable on the processor 301. The processor 301 implements the steps of the above-described method embodiments when executing the computer program 303. Alternatively, the processor 301 implements the functions of the modules/units in the device embodiments when executing the computer program 303.
Illustratively, the computer program 303 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 303 and executed by the processor 301 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 303 in the terminal device 300. For example, the computer program 303 may be divided into a data acquisition module, an instruction receiving module, and a display module, and the specific functions of each module are as follows:
acquiring target data of associated equipment, wherein the target data comprises one or more of alarm management data and energy consumption management data;
receiving a data acquisition instruction;
displaying target data corresponding to the data acquisition instruction;
the terminal device may include, but is not limited to, a processor 301 and a memory 302. Those skilled in the art will appreciate that fig. 3 is merely an example of the terminal device 300 and does not constitute a limitation of the terminal device 300 and may include more or less components than those shown, or combine certain components, or different components, for example, the terminal device may further include input and output devices, network access devices, buses, etc.
The Processor 301 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware card, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 302 may be an internal storage unit of the terminal device 300, such as a hard disk or a memory of the terminal device 300. The memory 303 may be an external storage device of the terminal device 300, 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, provided in the terminal device 300. Further, the memory 302 may include both an internal storage unit and an external storage device of the terminal device 300. The memory 303 is used to store the computer program and other programs and data required by the terminal device. The memory 302 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. 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.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the above modules or units is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of units or plug-ins may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units described above, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above method embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium and executed by a processor, so as to implement the steps of the above method embodiments. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer readable medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium described above may include content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media that does not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (6)

1. A lighting control device based on system management, comprising:
the data acquisition module is used for acquiring target data of associated equipment, wherein the target data comprises one or more of alarm management data and energy consumption management data;
the instruction receiving module is used for receiving a data acquisition instruction;
and the display module is used for displaying the target data corresponding to the data acquisition instruction.
2. The system management based lighting control apparatus of claim 1 wherein the data acquisition instruction comprises an identification of the associated device and a time interval;
correspondingly, the display module is specifically configured to perform:
and determining the associated equipment corresponding to the identifier, and displaying the target data of the associated equipment in the time interval.
3. The system management based lighting control apparatus of claim 1, wherein said apparatus further comprises:
and the data export module is used for exporting the target data when an export triggering instruction is received.
4. The system management based lighting control apparatus of claim 1 wherein the data acquisition module comprises:
the plan acquisition unit is used for acquiring a data acquisition plan corresponding to the association device;
and the data acquisition unit is used for acquiring the energy consumption management data of the associated equipment according to the data acquisition plan.
5. The system management based lighting control apparatus of claim 1 wherein the data acquisition module comprises:
the detection unit is used for detecting working parameters of the associated equipment and determining numerical values of the working parameters;
and the generating unit is used for generating the alarm management data if the numerical value of the working parameter is not in a preset numerical value range.
6. The system management based lighting control apparatus of claim 1 wherein said target data further comprises information of a user account;
accordingly, the data acquisition module comprises:
the new user unit is used for receiving new user information and creating a user account corresponding to the new user information;
the modification user unit is used for receiving modified user information and account identification, determining a user account corresponding to the account identification, and replacing the user information of the user account with the modified user information;
and the user deleting unit is used for receiving a deleting instruction and deleting the user account corresponding to the deleting instruction.
CN202011420138.9A 2020-12-07 2020-12-07 Lighting control device based on system management Pending CN112416435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011420138.9A CN112416435A (en) 2020-12-07 2020-12-07 Lighting control device based on system management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011420138.9A CN112416435A (en) 2020-12-07 2020-12-07 Lighting control device based on system management

Publications (1)

Publication Number Publication Date
CN112416435A true CN112416435A (en) 2021-02-26

Family

ID=74776252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011420138.9A Pending CN112416435A (en) 2020-12-07 2020-12-07 Lighting control device based on system management

Country Status (1)

Country Link
CN (1) CN112416435A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720152A (en) * 2009-11-27 2010-06-02 海洋王照明科技股份有限公司 Intelligent illumination control method and control system
CN105204388A (en) * 2015-10-14 2015-12-30 张胜国 Intelligent power controller
CN106231754A (en) * 2016-08-16 2016-12-14 腾讯科技(深圳)有限公司 Lighting Control Assembly, illumination control method and device
CN207505192U (en) * 2017-11-24 2018-06-15 国网北京市电力公司 The control system of lighting system
CN108257348A (en) * 2018-01-18 2018-07-06 南京友源智能科技有限公司 A kind of Internet of Things lamp box safety monitoring system
CN108958095A (en) * 2017-05-27 2018-12-07 深圳市海洋王照明工程有限公司 A kind of intelligent socket, integrated sensor terminal and control system
CN110412524A (en) * 2019-07-04 2019-11-05 中国气象局气象探测中心 A kind of wind profile radar standard output controller system
CN111198504A (en) * 2018-11-19 2020-05-26 北京京东尚科信息技术有限公司 Management method, device, system and medium for intelligent household system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101720152A (en) * 2009-11-27 2010-06-02 海洋王照明科技股份有限公司 Intelligent illumination control method and control system
CN105204388A (en) * 2015-10-14 2015-12-30 张胜国 Intelligent power controller
CN106231754A (en) * 2016-08-16 2016-12-14 腾讯科技(深圳)有限公司 Lighting Control Assembly, illumination control method and device
CN108958095A (en) * 2017-05-27 2018-12-07 深圳市海洋王照明工程有限公司 A kind of intelligent socket, integrated sensor terminal and control system
CN207505192U (en) * 2017-11-24 2018-06-15 国网北京市电力公司 The control system of lighting system
CN108257348A (en) * 2018-01-18 2018-07-06 南京友源智能科技有限公司 A kind of Internet of Things lamp box safety monitoring system
CN111198504A (en) * 2018-11-19 2020-05-26 北京京东尚科信息技术有限公司 Management method, device, system and medium for intelligent household system
CN110412524A (en) * 2019-07-04 2019-11-05 中国气象局气象探测中心 A kind of wind profile radar standard output controller system

Similar Documents

Publication Publication Date Title
CN104469305B (en) The fault detection method and device of power network video monitoring device
KR101970029B1 (en) Automated demand response system
CN112469179B (en) Lighting control device based on policy management
CN112269640B (en) Method for realizing life cycle management of container cloud component
CA2911354C (en) Load power device, system and method of load control and management employing load identification
CN106528097A (en) Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment
CN105573896A (en) Running reminding method and device for application program
CN113709810B (en) Method, equipment and medium for configuring network service quality
CN106161119A (en) A kind of WebLogic middleware cluster automatic deployment instrument and method
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
CN112469174B (en) Lighting control device based on scene management
CN112469185B (en) Lighting control device
US20220015209A1 (en) Illumination control systems and methods
CN112416435A (en) Lighting control device based on system management
CN112469180A (en) Illumination control device based on equipment management
CN108449318B (en) It is a kind of based on the zone permission control method of CIM model zone routing, apparatus and system
CN112469173B (en) Lighting control device based on plan management
CN111695173A (en) BIM-based wood structure safety electricity utilization management method and system
Joha et al. IoT-Based Smart Control and Protection System for Home Appliances
CN115665949A (en) Mountain night scene light unattended timing performance control method and system
CN110536186B (en) Remote sensing control method and device, electronic equipment and storage medium
CN113242631A (en) Illumination control method, device, system and storage medium
CN112035824A (en) Authority management method, device, equipment and computer readable storage medium
CN210488261U (en) Control system of construction site electric control equipment
CN110351936A (en) Wisdom lighting control 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