Controlled equipment control method and device, computer equipment and storage medium
By identifying the status change signals of electronic equipment in the manufacturing workshop and setting target monitoring rules and execution strategies, the problem of a single control method for equipment in the manufacturing workshop is solved, flexible control strategy adjustments are achieved, and energy consumption management efficiency and adaptability of production activities are improved.
Patent Information
- Application Number
- CN202510605647.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-12
- Publication Date
- 2025-09-26
AI Technical Summary
The existing control methods for manufacturing workshop equipment are relatively simple and cannot adapt to the needs of complex production activities, resulting in the inability to effectively manage energy consumption.
By identifying the status change signals of electronic equipment in the manufacturing workshop, setting target monitoring rules and execution strategies, and flexibly adjusting the control strategies of the controlled equipment, the system can meet the needs of production activities and energy conservation and emission reduction goals.
It achieves flexible adjustment of control strategies according to changes in equipment status, improves control accuracy and energy management efficiency, and meets the normal production activity needs and energy conservation and emission reduction goals of the manufacturing workshop.
Smart Images

Figure CN120704255A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy consumption control, and in particular to a control method, device, computer equipment and storage medium for controlled equipment in a manufacturing workshop. Background Art
[0002] As global environmental issues become increasingly serious, green and sustainable development has become a social consensus. Enterprises are supporting and promoting green and sustainable development in their production activities through energy conservation and emission reduction and the creation of green workshops. For example, in a company's manufacturing workshop, intelligent control can be used to start and stop various equipment to reduce energy consumption.
[0003] However, the control methods for equipment in manufacturing workshops in the existing technology are relatively simple and cannot adapt to the complex situations in actual production activities. Summary of the Invention
[0004] In view of this, multiple embodiments of the present application are dedicated to providing a control method for controlled equipment in a manufacturing workshop, which can flexibly adjust the control strategy according to changes in the status of each equipment in the manufacturing workshop.
[0005] In a first aspect, an embodiment of the present application provides a method for controlling a controlled device in a manufacturing workshop, comprising:
[0006] Upon receiving a state change signal of an electronic device in the manufacturing workshop, a target monitoring rule corresponding to the state change signal is identified; wherein, the target monitoring rule corresponds to a target control state for the controlled device; according to the target control state, a corresponding execution strategy is determined; wherein, the execution strategy constrains the conditions that need to be met to control the controlled device to be in the target control state; when the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the target control state, the controlled device is controlled to be in the target control state.
[0007] Optionally, among the state change signals of the electronic equipment in the manufacturing workshop, at least some of the state change signals correspond to different target control states of the controlled devices, and different state change signals of the same electronic device correspond to different target control states of the controlled devices.
[0008] Optionally, the execution strategy includes a first execution strategy, which is: executing control of the controlled device to be in the target control state without additional conditions; when the state of the electronic equipment in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: when the execution strategy corresponding to the target control state is the first execution strategy, directly controlling the controlled device to be in the target control state.
[0009] Optionally, the controlled device is a lighting device, and the electronic device is a safety door; the state change signal emitted when the safety door is opened corresponds to a target monitoring rule, and the target control state of the safety door corresponding to the target monitoring rule is to turn on the lighting device, and belongs to the first execution strategy; when the execution strategy corresponding to the target control state is the first execution strategy, the step of directly controlling the controlled device to be in the target control state includes: directly controlling the lighting device to be turned on.
[0010] Optionally, the execution strategy includes a second execution strategy, which is: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently changed its state, there is no reverse control state opposite to the target control state; when the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: generating a reverse control state of the target control state; obtaining the state of the electronic device that has not currently changed its state; and when the reverse control state does not exist in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently changed its state, controlling the controlled device to be in the target control state.
[0011] Optionally, the method further includes: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, if the reverse control state exists, giving up controlling the controlled device to be in the target control state.
[0012] Optionally, the controlled device is a lighting device, and the electronic device is a safety door; the state change signal emitted when the safety door is closed corresponds to a target monitoring rule, and the target control state of the safety door corresponding to the target monitoring rule is to turn off the lighting device, and belongs to the second execution strategy; when the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: generating a reverse control state of the target control state; wherein the reverse control state is to turn on the lighting device; obtaining the state of the safety door in which no state change has occurred; and when there is no control state for turning on the lighting device in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the safety door in which no state change has occurred, controlling the lighting device to be turned off.
[0013] Optionally, the execution strategy includes a third execution strategy, and the third execution strategy is: if there is no state change signal, the first execution strategy is triggered.
[0014] In the second aspect, an embodiment of the present application also provides a control device for a controlled device in a manufacturing workshop, comprising: an identification module for identifying a target monitoring rule corresponding to a state change signal of an electronic device in the manufacturing workshop when the state change signal is received; wherein the target monitoring rule corresponds to a target control state for the controlled device; a determination module for determining a corresponding execution strategy based on the target control state; wherein the execution strategy constrains the conditions that need to be met to control the controlled device to be in the target control state; a control module for controlling the controlled device to be in the target control state when the state of the electronic device in the manufacturing workshop meets the execution strategy corresponding to the target control state.
[0015] In a third aspect, an embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the control method of the controlled equipment in the manufacturing workshop as described above.
[0016] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores at least one computer program, and when the at least one computer program is executed by a processor, it can implement the control method of the controlled equipment in the manufacturing workshop as described above.
[0017] In multiple embodiments provided in the present application, by controlling the state changes of electronic equipment in a manufacturing workshop and setting corresponding target monitoring rules, target control states of controlled equipment and execution strategies for the state change signals of the electronic equipment, it is determined whether the state of the electronic equipment in the manufacturing workshop meets the constraints corresponding to the execution strategy. When the constraints corresponding to the execution strategy are met, the controlled equipment is controlled to be in the target control state. The control strategy can be flexibly adjusted according to the changes in the states of various devices in the manufacturing workshop to meet the needs of normal production activities in the manufacturing workshop and the goals of energy conservation and emission reduction. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flowchart of a method for controlling a controlled device in a manufacturing workshop provided as an embodiment of the present application.
[0019] Figure 2 A schematic diagram of equipment and signal relationships in a manufacturing workshop provided for one embodiment of the present application.
[0020] Figure 3 A schematic diagram of a module of a control device for controlled equipment in a manufacturing workshop provided in accordance with one embodiment of the present application.
[0021] Figure 4 A schematic diagram of an electronic device provided in accordance with one embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.
[0023] See also Figure 1 . An embodiment of the present application provides a method for controlling a controlled device in a manufacturing workshop. The method for controlling a controlled device in a manufacturing workshop can be applied to a control device of the controlled device. The control device of the controlled device can be an electronic device with certain computing capabilities. The electronic device can have a controller and a memory, etc. Of course, in some embodiments, the control device of the controlled device can also refer to a program module running in the electronic device. The method for controlling a controlled device in a manufacturing workshop can include the following steps.
[0024] Step S110: upon receiving a state change signal of an electronic device in the manufacturing workshop, identifying a target monitoring rule corresponding to the state change signal; wherein the target monitoring rule corresponds to a target control state for the controlled device.
[0025] Step S120: determining a corresponding execution strategy according to the target control state; wherein the execution strategy constrains conditions that need to be met in order to control the controlled device to be in the target control state.
[0026] Step S130: When the state of the electronic equipment in the manufacturing workshop satisfies the execution strategy corresponding to the target control state, the controlled device is controlled to be in the target control state.
[0027] See also Figure 2. In this embodiment, the manufacturing workshop may include a controlled device and multiple electronic devices, and the state of the controlled device is affected by the states of the multiple electronic devices. The control device of the controlled device can monitor the state changes of the multiple electronic devices and collect corresponding state change signals. At the same time, the control device of the controlled device stores pre-set target monitoring rules that correspond one to one with the state change signals of the multiple electronic devices. The target monitoring rules correspond to the target control state for the controlled device, and the target control state of the controlled device can be used to describe the target state in which the controlled device responds to the state change signal of the electronic device. At the same time, the control device of the controlled device stores an execution strategy for controlling the controlled device in response to the state change signal of the electronic device, and one target control state of the controlled device corresponds to one execution strategy. The execution strategy can be used to constrain the conditions that need to be met for the controlled device to be in the target control state, and the control device of the controlled device can determine whether the condition is met based on the states of the multiple electronic devices. Specifically, for example, the number of electronic devices in the manufacturing workshop can be 3, and each electronic device can include two states, then 6 corresponding target monitoring rules are stored in the control device of the controlled device, and the target control state of the controlled device can include an on state and an off state. The on state and the off state can respectively correspond to two different execution strategies, for example, the on state corresponds to the first execution strategy, and the off state corresponds to the second execution strategy. Some of the 6 target monitoring rules can correspond to the on state, and the remaining monitoring rules of the 6 target monitoring rules can correspond to the off state.
[0028] When the control device of the controlled device receives a state change signal from one of the multiple electronic devices, the control device of the controlled device can identify the target monitoring rule corresponding to the received state change signal of the electronic device, and determine the execution strategy corresponding to the target control state according to the target control state of the controlled device corresponding to the target monitoring rule, and at the same time judge whether the conditions of the execution strategy are met according to the states of the multiple electronic devices. When the state of the electronic device in the manufacturing workshop meets the execution strategy corresponding to the target control state, the control device of the controlled device will control the controlled device to be in the target control state. The time required for the control device of the controlled device to receive the state change signal from one of the multiple electronic devices and to send a control signal to control the controlled device to be in the target control state is an extremely small value, such as 20 nanoseconds, so this application does not consider the situation where the control device of the controlled device receives two state change signals at the same time.
[0029] In multiple implementations provided herein, by monitoring the state changes of electronic equipment in a manufacturing workshop and setting corresponding target monitoring rules, target control states of controlled devices, and execution strategies for the state change signals of the electronic equipment, it is determined whether the state of the electronic equipment in the manufacturing workshop meets the constraints corresponding to the execution strategy. If the constraints corresponding to the execution strategy are met, the controlled devices are controlled to be in the target control state. This method can flexibly adjust the control strategy based on the changes in the state of each device in the manufacturing workshop to meet the needs of normal production activities in the manufacturing workshop and the goals of energy conservation and emission reduction.
[0030] In some embodiments, among the state change signals of electronic devices in the manufacturing workshop, at least some of the state change signals correspond to different target control states of the controlled devices, and different state change signals of the same electronic device correspond to different target control states of the controlled devices.
[0031] In this embodiment, among the state change signals of the electronic devices in the manufacturing workshop, at least some of the state change signals correspond to different target control states of the controlled devices, and different state change signals from the same electronic device correspond to different target control states of the controlled device. In some embodiments, for example, the manufacturing workshop may include three electronic devices, each of which may include two different state change signals, thus generating a total of six different state change signals. Specifically, for example, the manufacturing workshop may include three electronic devices, A, B, and C, each of which corresponds to two states, such as start and stop. The control device of the controlled device may monitor two corresponding state change signals: from the start state to the stop state, and from the stop state to the start state, for a total of six different state change signals corresponding to the three electronic devices. The target control state of the controlled device may include an on state and an off state. Among the six different state change signals, at least some of the state change signals correspond to different target control states of the controlled device. For example, three state change signals may correspond to the on state of the controlled device, while the remaining three state change signals may correspond to the off state of the controlled device. Furthermore, different state change signals from the same electronic device may correspond to different target control states of the controlled device. For example, among the two state change signals of electronic device A, the change of electronic device A from the start state to the stop state may correspond to the off state of the controlled device, and the change of electronic device A from the stop state to the start state may correspond to the on state of the controlled device.
[0032] This embodiment can avoid control logic confusion in the control device of the controlled device and improve the accuracy of controlling the controlled device by setting correspondence rules between the state change signals of the electronic equipment in the manufacturing workshop and the target control state of the controlled device.
[0033] In some embodiments, the execution strategy includes a first execution strategy, which is: executing control of the controlled device to be in the target control state without additional conditions; when the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: when the execution strategy corresponding to the target control state is the first execution strategy, directly controlling the controlled device to be in the target control state.
[0034] In this embodiment, the first execution strategy is to control the controlled device to the target control state without any additional conditions. Specifically, when the control device of the controlled device receives a state change signal from one of multiple electronic devices in a manufacturing workshop, and the execution strategy corresponding to the target control state of the controlled device corresponding to the state change signal is the first execution strategy, the controlled device is directly controlled to the target control state corresponding to the received state change signal without any additional conditions.
[0035] In view of the situation where the execution strategy corresponding to the target control state of the controlled device corresponding to the received state change signal is the first execution strategy, this embodiment proposes a control method for controlling the controlled device to be in the target control state without additional conditions.
[0036] In some embodiments, the controlled device is a lighting device, and the electronic device is a safety door; the state change signal emitted when the safety door is opened corresponds to a monitoring rule, and the control state corresponding to the monitoring rule is to turn on the lighting device, and belongs to the first execution strategy; when the execution strategy corresponding to the target control state is the first execution strategy, the step of directly controlling the controlled device to be in the target control state includes: directly controlling the lighting device to turn on.
[0037] In this embodiment, the controlled device is a lighting device, and the electronic device is a security door. When a worker opens any of the security doors and enters the work area of the manufacturing workshop, the lighting device control device receives a state change signal indicating that the security door has changed from closed to open. This state change signal corresponds to a target monitoring rule. For example, when the state of security door A changes from closed to open, the lighting device is controlled to be turned on. Furthermore, the execution strategy corresponding to the lighting device's target control state (on) is the first execution strategy. Therefore, when the lighting device control device receives the state change signal indicating that the security door has changed from closed to open, it directly controls the lighting device to turn on.
[0038] In the case where the controlled device is a lighting device and the electronic device is a safety door, when the control device of the lighting device receives a state change signal that the state of any one of the safety doors changes from closed to open, this embodiment directly controls the lighting device to open, thereby meeting the lighting needs of the staff in the manufacturing workshop to carry out normal work activities.
[0039] In some embodiments, the execution strategy includes a second execution strategy, which is: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, there is no reverse control state opposite to the target control state; when the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: generating a reverse control state of the target control state; obtaining the state of the electronic device that has not currently undergone a state change; and when the reverse control state does not exist in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, controlling the controlled device to be in the target control state.
[0040] In this embodiment, the second execution strategy is: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, there is no reverse control state opposite to the target control state. Specifically, for example, when the control device of the controlled device receives a state change signal of an electronic device in a manufacturing workshop, and the execution strategy corresponding to the target control state of the controlled device corresponding to the state change signal of the electronic device is the second execution strategy, the control device of the controlled device will obtain the state of the electronic device that has not currently undergone a state change. The reverse control state is a control state opposite to the target control state of the controlled device corresponding to the state change signal of the electronic device. If the reverse control state does not exist in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, the control device of the controlled device will control the controlled device to be in the target control state.
[0041] For the case where the execution strategy corresponding to the target control state of the controlled device corresponding to the received state change signal is the second execution strategy, this embodiment proposes a control method for controlling the controlled device to be in the target control state when the reverse control state does not exist in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone state change.
[0042] In some embodiments, the execution strategy includes a second execution strategy, which is: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, there is no reverse control state opposite to the target control state; the method also includes: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, if the reverse control state exists, giving up controlling the controlled device to be in the target control state.
[0043] In this embodiment, the second execution strategy is: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, there is no reverse control state opposite to the target control state. Specifically, for example, when the control device of the controlled device receives a state change signal of an electronic device in a manufacturing workshop, if the execution strategy corresponding to the target control state of the controlled device corresponding to the state change signal of the electronic device is the second execution strategy, the control device of the controlled device will obtain the state of the electronic device that has not currently undergone a state change. The reverse control state is a control state opposite to the target control state of the controlled device corresponding to the state change signal of the electronic device. If the reverse control state exists in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, the control device of the controlled device will give up controlling the controlled device to be in the target control state, so that the state of the controlled device remains unchanged.
[0044] For the case where the execution strategy corresponding to the target control state of the controlled device corresponding to the received state change signal is the second execution strategy, this embodiment proposes a control method for abandoning controlling the controlled device to be in the target control state when the reverse control state exists in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone state change.
[0045] In some embodiments, the controlled device is a lighting device, and the electronic device is a safety door; the state change signal emitted when the safety door is closed corresponds to a target monitoring rule, and the target control state of the lighting device corresponding to the target monitoring rule is to turn off the lighting device, and belongs to the second execution strategy; when the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: generating a reverse control state of the target control state; wherein the reverse control state is to turn on the lighting device; obtaining the state of the electronic device that has not currently undergone a state change; and when the reverse control state does not exist in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, controlling the lighting device to be turned off.
[0046] In this embodiment, the controlled device is a lighting device, and the electronic device is a safety door. When any of the safety doors is closed by a worker, the worker leaves the work area of the manufacturing workshop, and the control device of the lighting device receives a state change signal indicating that the state of the safety door changes from open to closed. The state change signal corresponds to a target monitoring rule. For example, when the state of safety door B changes from open to closed, the lighting device is controlled to be in the off state, and the reverse control state of the off state of the lighting device is the open state. At the same time, the execution strategy corresponding to the target control state of the lighting device, the off state, is the second execution strategy. When the control device of the lighting device receives a state change signal indicating that the state of the safety door changes from open to closed, it obtains the state of the safety door that has not changed its state. For example, in addition to safety door B, the manufacturing workshop also includes safety door A and safety door C. If the state of safety door A is closed, the state of safety door C is also closed. If the target control state of the lighting device corresponding to the target monitoring rule corresponding to the closed state of safety door A is the closed state, and the target control state of the lighting device corresponding to the target monitoring rule corresponding to the closed state of safety door C is also the closed state, then the target control state of the lighting device corresponding to the target monitoring rule corresponding to the state of the safety door that has not currently changed does not exist in the open state. At this time, the control device of the lighting device will control the lighting device to be turned off. If the state of safety door A is open and the state of safety door C is closed. If the target control state of the lighting device corresponding to the target monitoring rule corresponding to the closed state of safety door A is the open state, and the target control state of the lighting device corresponding to the target monitoring rule corresponding to the closed state of safety door C is also the closed state, then the target control state of the lighting device corresponding to the target monitoring rule corresponding to the state of the safety door that has not currently changed does exist in the open state. At this time, the control device of the lighting device will give up the control to turn off the lighting device, so that the state of the lighting device remains unchanged.
[0047] In the case where the controlled device is a lighting device and the electronic device is a security door, when the lighting device control device receives a state change signal indicating that any of the security doors has changed from open to closed, this embodiment flexibly selects the appropriate control method by determining whether the lighting device's target control state, corresponding to the target monitoring rule corresponding to the state of the security door that has not changed, contains an open state. When no staff are present in the manufacturing workshop, the lighting device is controlled to be turned off to reduce energy consumption. When staff are present, the lighting device remains on to meet the needs of normal work activities.
[0048] In some implementations, the execution strategy includes a third execution strategy, and the third execution strategy is: if there is no state change signal, the first execution strategy is triggered.
[0049] In this embodiment, the execution strategy further includes a third execution strategy. The third execution strategy is: when the control device of the controlled device does not receive the state change signal, the first execution strategy is triggered.
[0050] See also Figure 3 . One embodiment of the present application also provides a control device for a controlled device in a manufacturing workshop, comprising: an identification module for identifying a target monitoring rule corresponding to a state change signal of an electronic device in the manufacturing workshop when the state change signal is received; wherein the target monitoring rule corresponds to a target control state for the controlled device; a determination module for determining a corresponding execution strategy based on the target control state; wherein the execution strategy constrains conditions that need to be met in order to control the controlled device to be in the target control state; a control module for controlling the controlled device to be in the target control state when the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the target control state.
[0051] In this embodiment, the specific functions and effects achieved by the control device of the controlled equipment in the manufacturing workshop can be explained by referring to other embodiments of the present application and will not be repeated here.
[0052] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor implements the control method for a controlled device in a manufacturing workshop as described above.
[0053] The embodiments of the present application further provide a computer program product comprising instructions, which, when executed by a processor, implements the aforementioned method for controlling a controlled device in a manufacturing workshop.
[0054] See also Figure 4 . An embodiment of the present application may provide an electronic device, comprising: a memory, and one or more processors communicatively connected to the memory; the memory stores instructions executable by the one or more processors, and the instructions are executed by the one or more processors to enable the one or more processors to implement the control method for the controlled device in the manufacturing workshop as described above.
[0055] In some embodiments, the electronic device may include a processor, a storage medium, and a communication interface connected by a system bus. The storage medium may store a related computer program.
[0056] It should be understood that the specific examples herein are only intended to help those skilled in the art better understand the embodiments of the present application, rather than to limit the scope of the present invention.
[0057] It can be understood that in the various implementation methods of this application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation method of this application.
[0058] It can be understood that the various embodiments described in this application can be implemented individually or in combination, and the embodiments of this application are not limited to this.
[0059] Unless otherwise indicated, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art in the technical field of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application. The term "and / or" used in this application includes any and all combinations of one or more related listed items. The singular forms "a", "above", and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates otherwise.
[0060] It is understood that the processor in the embodiments of the present application can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above-mentioned method embodiment can be completed by hardware integrated logic circuits in the processor or software instructions. The above-mentioned processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and, in conjunction with its hardware, completes the steps of the above-mentioned method.
[0061] It will be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM), an electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory may be a random access memory (RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0062] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0063] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, devices and units can refer to the corresponding processes in the aforementioned method implementation methods and will not be repeated here.
[0064] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0065] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of this embodiment.
[0066] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0067] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0068] The above description is merely a specific embodiment of the present application, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for controlling a controlled device in a manufacturing workshop, characterized in that: The method comprises: Upon receiving a state change signal of an electronic device in the manufacturing workshop, identifying a target monitoring rule corresponding to the state change signal; wherein the target monitoring rule corresponds to a target control state for the controlled device; Determining a corresponding execution strategy according to the target control state; wherein the execution strategy constrains the conditions that need to be met to control the controlled device to be in the target control state; When the state of the electronic equipment in the manufacturing workshop satisfies the execution strategy corresponding to the target control state, the controlled device is controlled to be in the target control state.
2. The method according to claim 1, characterized in that Among the state change signals of the electronic equipment in the manufacturing workshop, at least some of the state change signals correspond to different target control states of the controlled devices, and different state change signals of the same electronic equipment correspond to different target control states of the controlled devices.
3. The method according to claim 1, characterized in that The execution strategy includes a first execution strategy, wherein the first execution strategy is: executing control of the controlled device to be in the target control state without additional conditions; When the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: When the execution strategy corresponding to the target control state is the first execution strategy, the controlled device is directly controlled to be in the target control state.
4. The method according to claim 3, characterized in that The controlled device is a lighting device, and the electronic device is a safety door; the state change signal emitted when the safety door is opened corresponds to a target monitoring rule, and the target control state of the lighting device corresponding to the target monitoring rule is to turn on the lighting device, and belongs to the first execution strategy; When the execution strategy corresponding to the target control state is the first execution strategy, the step of directly controlling the controlled device to be in the target control state includes: Directly control to turn on the lighting device.
5. The method according to claim 1, wherein The execution strategy includes a second execution strategy, wherein the second execution strategy is: in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that has not currently undergone a state change, there does not exist a reverse control state opposite to the target control state; When the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: generating a reverse control state of the target control state; Obtain the status of electronic devices that have not currently changed their status; In the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device whose state has not currently changed, if the reverse control state does not exist, the controlled device is controlled to be in the target control state.
6. The method according to claim 5, characterized in that The method further comprises: If the reverse control state exists in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the electronic device that currently has no state change, control of the controlled device in the target control state is abandoned.
7. The method according to claim 5, characterized in that The controlled device is a lighting device, and the electronic device is a safety door; the state change signal emitted when the safety door is closed corresponds to a target monitoring rule, and the target control state of the lighting device corresponding to the target monitoring rule is to turn off the lighting device, and it belongs to the second execution strategy; When the state of the electronic device in the manufacturing workshop satisfies the execution strategy corresponding to the control state, the step of controlling the controlled device to be in the target control state includes: generating a reverse control state of the target control state; wherein the reverse control state is turning on the lighting device; Get the status of the security door that has not changed; If there is no control state for turning on the lighting device in the target control state of the controlled device corresponding to the target monitoring rule corresponding to the state of the safety door in which no state change currently occurs, the lighting device is controlled to be turned off.
8. The method according to claim 3, characterized in that The execution strategy includes a third execution strategy, and the third execution strategy is: if there is no state change signal, the first execution strategy is triggered.
9. A control device for controlled equipment in a manufacturing workshop, characterized in that: include: an identification module configured to, upon receiving a state change signal of an electronic device in the manufacturing workshop, identify a target monitoring rule corresponding to the state change signal; wherein the target monitoring rule corresponds to a target control state for the controlled device; A determination module, configured to determine a corresponding execution strategy according to the target control state; wherein the execution strategy constrains conditions that need to be met in order to control the controlled device to be in the target control state; The control module is used to control the controlled device to be in the target control state when the state of the electronic device in the manufacturing workshop meets the execution strategy corresponding to the target control state.
10. An electronic device, characterized in that: The electronic device includes a memory and a processor, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the control method of the controlled device in the manufacturing workshop according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one computer program, and when the at least one computer program is executed by a processor, it can implement the method for controlling a controlled device in a manufacturing workshop according to any one of claims 1 to 8.
Citation Information
Patent Citations
Safety door and control system
CN111577078A
Equipment control method and device, equipment and computer readable medium
CN117348431A
Gate-controlled lighting system
CN202101040U
Automatic door opening lighting device for shore power box
CN216217662U
Lighting control device and lighting control system for a production area
CN216795341U