Device control method, edge controller and controller system
The edge controller receives and fuses signals from controllers at all levels to generate target control signals, solving the problem of poor control effects caused by failure of a single controller and achieving stable and efficient equipment control.
Patent Information
- Application Number
- CN202211550959.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-05
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-12-05
AI Technical Summary
The existing control methods rely on a single controller to implement complex control logic, resulting in poor control results and overall control abnormalities in the event of a single controller failure.
The edge controller receives control information from controllers at each level, performs signal fusion and logical overlay, generates target control signals, and deploys control logic distributed to reduce the complexity of a single controller, and ensures that the control logic is executed by other controllers in the event of a failure.
It reduces the computing power requirements of the controller, improves the stability and effect of equipment control, and ensures that it can still be controlled normally when a single controller fails.
Smart Images

Figure CN115877759B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of automatic control technology, and specifically relates to a device control method, an edge controller, and a controller system. Background Art
[0002] Currently, in intelligent control applications, controllers are often needed to implement control logic and control on-site devices. For example, a controller might be used to turn corridor lights on or off.
[0003] In practice, it has been found that the current regional control method relies on implementing all control logic corresponding to the region in a single controller. Due to the high logical complexity of all control logic, the computing power required of the controller is also correspondingly high. Furthermore, this method of relying on a single controller to implement control logic for device control can lead to overall control anomalies if a single controller fails. Therefore, the current control method suffers from poor control effectiveness.
[0004] To address the above-mentioned problems, no effective solutions have been proposed so far. Summary of the Invention
[0005] To this end, the present application provides a device control method, an edge controller, and a controller system, which help solve the problem of poor control effect of device control.
[0006] To achieve the above objectives, this application adopts the following technical solutions:
[0007] In a first aspect, the present application provides a device control method, applied to an edge controller, the method comprising:
[0008] Obtaining control information issued by the controller of each layer; wherein the control information includes at least the layer number and control signal of the layer;
[0009] If the control signals of each level do not meet the preset conflict conditions, the control signals of each level are fused to obtain the target control signal;
[0010] If the control signals of each layer satisfy the preset conflict condition, determining the target control signal according to the layer number corresponding to the control signal of each layer;
[0011] The field device is controlled according to the target control signal.
[0012] Furthermore, the control signals at each level are fused to obtain the target control signal, including:
[0013] Determine the control logic corresponding to the control signal at each level;
[0014] Superimpose the control logic of each level to generate the target control logic;
[0015] The target control signal corresponding to the target control logic is determined.
[0016] Furthermore, determining the target control signal according to the level number corresponding to the control signal of each level includes:
[0017] Acquire control signals that meet the preset conflict condition to obtain at least one conflict signal set;
[0018] For each conflicting signal in each conflicting signal set, determining a level number corresponding to the conflicting signal;
[0019] Determining the conflict signal with the smallest level number in the conflict signal set as the target signal corresponding to the conflict signal set;
[0020] The target signals corresponding to each conflict signal set and each non-conflict signal are fused to obtain the target control signal; wherein, each non-conflict signal is a control signal obtained by removing the control signals that meet the preset conflict conditions from the control signals of each level.
[0021] Furthermore, obtaining the control information sent by the controller at each level includes:
[0022] According to the controller identifier of the edge controller, the control information corresponding to the controller identifier and sent by the controller of each layer is obtained.
[0023] Furthermore, each level of controller supports transparent transmission; and
[0024] According to the controller identifier of the edge controller, obtaining the control information corresponding to the controller identifier and issued by the controller of each layer includes:
[0025] If a target controller among the controllers at each level has a fault, the control information corresponding to the controller identifier and issued by the controller at each level is obtained by transparently transmitting the fault information through the controller at the same level of the target controller.
[0026] Furthermore, control signals at different levels correspond to different control granularities.
[0027] In a second aspect, the present application provides an edge controller, comprising:
[0028] An information acquisition unit, configured to acquire control information issued by the controller of each layer; wherein the control information includes at least the layer number and the control signal of the layer;
[0029] a signal determination unit configured to, if the control signals of each layer do not satisfy a preset conflict condition, perform signal fusion on the control signals of each layer to obtain a target control signal; and, if the control signals of each layer satisfy the preset conflict condition, determine the target control signal according to the layer number corresponding to the control signal of each layer;
[0030] The control unit is used to control the field device according to the target control signal.
[0031] Furthermore, the signal determination unit is specifically configured to:
[0032] Determine the control logic corresponding to the control signal at each level;
[0033] Superimpose the control logic of each level to generate the target control logic;
[0034] The target control signal corresponding to the target control logic is determined.
[0035] Furthermore, the signal determination unit is specifically configured to:
[0036] Acquire control signals that meet the preset conflict condition to obtain at least one conflict signal set;
[0037] For each conflicting signal in each conflicting signal set, determining a level number corresponding to the conflicting signal;
[0038] Determining the conflict signal with the smallest level number in the conflict signal set as the target signal corresponding to the conflict signal set;
[0039] The target signals corresponding to each conflict signal set and each non-conflict signal are fused to obtain the target control signal; wherein, each non-conflict signal is a control signal obtained by removing the control signals that meet the preset conflict conditions from the control signals of each level.
[0040] Furthermore, the information acquisition unit is specifically used to:
[0041] According to the controller identifier of the edge controller, the control information corresponding to the controller identifier and sent by the controller of each layer is obtained.
[0042] Furthermore, each level of controller supports transparent transmission; and
[0043] The information acquisition unit is specifically used for:
[0044] If a target controller among the controllers at each level has a fault, the control information corresponding to the controller identifier and issued by the controller at each level is obtained by transparently transmitting the fault information through the controller at the same level of the target controller.
[0045] Furthermore, control signals at different levels correspond to different control granularities.
[0046] In a third aspect, the present application provides a controller system, comprising an edge controller and controllers at various levels that send control information to the edge controller; wherein the edge controller is used to execute the device control method described in the first aspect.
[0047] This application adopts the above technical solution, which has at least the following beneficial effects:
[0048] Through the solution of the present application, when using a controller to implement the corresponding control logic and control the field equipment, the edge controller can receive the control information sent by the upper and various levels of controllers, determine the target control signal, and control the field equipment. In this way, the control logic can be distributed and deployed in controllers at different levels, reducing the complexity of the control logic in each controller, thereby reducing the computing power requirements for the controller. Moreover, through this hierarchical controller structure, even if a single controller fails, the logic execution of the device control can be guaranteed based on other controllers, thereby improving the stability of the device control and helping to solve the problem of poor control effect of the device control.
[0049] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0051] Figure 1 is a flow chart showing a device control method according to an exemplary embodiment;
[0052] Figure 2 is a schematic diagram showing a logical multi-granularity split according to an exemplary embodiment;
[0053] Figure 3 is a schematic structural diagram of an edge controller according to an exemplary embodiment;
[0054] Figure 4 is a block diagram of an edge controller according to an exemplary embodiment;
[0055] Figure 5 The figure is a schematic structural diagram of a controller system according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be described in detail below. Obviously, the embodiments described are only some of the embodiments of this application, rather than all of them. Based on the embodiments in this application, all other implementation methods obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.
[0057] See also Figure 1 , Figure 1 FIG. 1 is a flow chart showing a device control method according to an exemplary embodiment. The device control method includes the following steps:
[0058] Step S101: Acquire control information sent by the controller of each layer; wherein the control information at least includes the layer number and control signal of the layer;
[0059] Step S102: If the control signals of each level do not meet the preset conflict condition, the control signals of each level are fused to obtain a target control signal;
[0060] Step S103: If the control signals of each layer satisfy the preset conflict condition, the target control signal is determined according to the layer number corresponding to the control signal of each layer;
[0061] Step S104: Control the on-site equipment according to the target control signal.
[0062] In this embodiment, the execution entity can be an edge controller in the controller system. The edge controller can establish connections with controllers at multiple levels and receive control information issued by controllers at each level. In addition, the edge controller can also establish connections with field devices to control the field devices to perform corresponding operations. The physical entities of controllers at different levels are different, and controllers with different processing capabilities can be configured based on the content that the controller at that level needs to calculate. Regarding the processing capabilities of controllers at each level, the first-level controller can be preferred to have the strongest processing capabilities, and the processing capabilities of controllers with higher level numbers can be slightly weaker.
[0063] In the case of controlling the field equipment, the execution entity can first obtain the control information sent by the controllers of each level. Each level can include at least one controller, and each level can correspond to control logic of different granularity. Optionally, the first-level controller corresponding to the first level can correspond to the control logic with the highest precision and finest granularity, and the controller corresponding to the level with a larger level number can correspond to the control logic with lower precision and coarser granularity. In addition, the control information of each level can include the level number of the level and the corresponding control signal. The control signal here is a signal corresponding to the control logic. In addition, the controller of each level can send the control information to the controller of the next level until the control information is passed to the edge controller in sequence.
[0064] The execution entity can then analyze the control signals at each level to determine whether there are conflicts between them. If a conflict is determined, the control signals at each level are determined to meet the preset conflict conditions. If no conflict is determined, the control signals at each level are determined to not meet the preset conflict conditions. If there are no conflicts, the control signals at each level can be fused to obtain a target control signal. If there are conflicts, the target control signal can be determined based on the level number corresponding to the control signal. The field device can then be controlled according to the target control signal.
[0065] Specifically, the execution entity can determine whether the control signals of each level meet the preset conflict conditions based on the following steps: determine the control logic corresponding to the control signal of each level, and for each control logic, find out whether there is other control logic that contradicts the control logic. If so, determine whether there is a conflict between the control logic and the control logic that contradicts the control logic, and determine whether the preset conflict conditions are met. That is, the preset conflict condition at this time can be whether there are two or more contradictory control logics. Among them, as to whether the control logics are contradictory, a mapping relationship between the contradictory logics can be established in advance, or a logical analysis can be performed on the control logic, and a judgment can be made in combination with the preset logical rules. This embodiment does not limit this.
[0066] Optionally, the control logic corresponding to the controller at each level may include at least one operating parameter. Further optionally, the edge controller may be provided with basic control logic, and the control logic in the controllers at other levels may be additional control logic on top of the basic control logic. At this time, if there is a conflict between the control signals at each level and the basic control logic of the edge controller, it is determined that the preset conflict condition is also met, and the control signal of the controller with the smallest level number is taken as the target control signal. In this way, more refined logical control can be achieved through step-by-step logical control.
[0067] As an optional implementation, signal fusion is performed on the control signals at each level to obtain a target control signal, including:
[0068] Determine the control logic corresponding to the control signal at each level;
[0069] Superimpose the control logic of each level to generate the target control logic;
[0070] The target control signal corresponding to the target control logic is determined.
[0071] In this embodiment, if there is no conflict between the control signals of each level, or between the control signals of each level and the control signals inside the edge controller, the control logic corresponding to the control signals of each level can be determined, and these control logics and the control logic inside the edge controller can be superimposed to generate the target control logic, and then the target control signal corresponding to the target control logic is generated.
[0072] As an optional implementation manner, determining the target control signal according to the level number corresponding to the control signal of each level includes:
[0073] Acquire control signals that meet the preset conflict condition to obtain at least one conflict signal set;
[0074] For each conflicting signal in each conflicting signal set, determining a level number corresponding to the conflicting signal;
[0075] Determining the conflict signal with the smallest level number in the conflict signal set as the target signal corresponding to the conflict signal set;
[0076] The target signals corresponding to each conflict signal set and each non-conflict signal are fused to obtain the target control signal; wherein, each non-conflict signal is a control signal obtained by removing the control signals that meet the preset conflict conditions from the control signals of each level.
[0077] In this embodiment, if there is a conflict between control signals at various levels, or between control signals at various levels and control signals within the edge controller, multiple conflicting signals can be identified to obtain at least one conflict signal set. Each conflict signal set can include at least one conflict signal. Typically, if a conflict exists between two control logics, the two control signals corresponding to the two control logics are identified as conflict signals, and the two conflict signals constitute a conflict signal set.
[0078] Afterwards, the execution entity can select the conflicting signal with the smallest level number from each conflicting signal in the conflicting signal set as the target signal. Then, the target signal is merged with the control signal without conflict to generate the target control signal.
[0079] As an optional implementation manner, obtaining the control information sent by the controller at each level includes:
[0080] According to the controller identifier of the edge controller, the control information corresponding to the controller identifier and sent by the controller of each layer is obtained.
[0081] In this embodiment, the controller identifier is used to represent a unique identifier of the edge controller. For example, the controller identifier may be a MAC address (Media Access Control Address, local area network address) of the controller. This embodiment does not limit the specific form of the controller identifier.
[0082] The controllers at each level can send control information corresponding to the controller identifier to the corresponding edge controller according to the controller identifier of the edge controller. It is understood that the controllers at each level can send corresponding control information to multiple edge controllers at the same time.
[0083] As an optional implementation, each level of controller supports transparent transmission; and
[0084] According to the controller identifier of the edge controller, obtaining the control information corresponding to the controller identifier and issued by the controller of each layer includes:
[0085] If a target controller among the controllers at each level has a fault, the control information corresponding to the controller identifier and issued by the controller at each level is obtained by transparently transmitting the fault information through the controller at the same level of the target controller.
[0086] In this implementation, each controller level has transparent transmission capabilities. Therefore, upon receiving control information from a higher-level controller, each controller level forwards the control information to its lower-level controllers based on their controller identifiers. If a connection failure occurs at a controller level, the refined control logic of that controller cannot be transmitted downward. However, the control logic of its higher-level controller can be transparently transmitted downward through other controllers at the same level, thus ensuring the highest degree of refinement in logic execution.
[0087] As an optional implementation, control signals at different levels correspond to different control granularities.
[0088] For example, if the field device is an office corridor light, the control objective is to achieve energy-saving control for the corridor lights. The most basic control logic can be divided into weekdays and holidays. Specifically, the lights can be turned on on weekdays and off on holidays. This logic runs on the edge controller. Furthermore, if more granular control is required, such as by introducing light intensity parameters into the control logic, the newly introduced control logic can be to turn off the corridor lights if the light intensity exceeds a threshold. In this case, a light intensity sensor can be connected to the edge controller as a superior controller, and the light intensity control logic can be further integrated into the light intensity sensor. This ensures that the light intensity sensor sends control information to the edge controller when the light intensity exceeds the threshold. The light intensity sensor can be assigned to level 2. After receiving control information with level 2, the edge controller's logic preprocessor determines whether this control information conflicts with the edge controller's control logic. If so, the control signal corresponding to the control information with level 2 is executed. Otherwise, the field device is controlled according to the control signal after signal control fusion. Furthermore, if control precision requires further refinement—for example, by incorporating network weather data, local sunset and sunrise times, and national holidays—this logic will be implemented on the primary controller. The primary controller will also send control information to the aforementioned light intensity sensor, which in turn transmits this information to the edge controller. After all control information is aggregated by the edge controller, its logic preprocessor performs signal fusion. If conflicting control signals are encountered, the control signal with the lower number will be used as the final control signal.
[0089] See also Figure 2 , Figure 2 FIG. 1 is a schematic diagram showing a logic multi-granularity split according to an exemplary embodiment. Figure 2 As shown, the first-level controller executes logic with the highest precision, the n-level controller executes logic with lower precision than the first-level controller, and the edge controller executes logic with lower precision than the n-level controller. That is, for the entire logic that controls field devices, the most basic control logic can be extracted from the entire logic and used as the control logic of the edge controller. This logic ensures the most basic control within the edge controller. Subsequently, to achieve more detailed control, additional control operating parameters need to be set. By adding these operating parameters to the operating control logic and performing more refined calculations, even more precise control can be achieved. This logic runs in the edge controller's parent controller, such as the n-level controller. This analogy allows for progressively more refined control logic, allowing logic requiring different computing power to be run hierarchically in different controllers within the network.
[0090] Through the solution of the present application, when using a controller to implement the corresponding control logic and control the field equipment, the edge controller can receive the control information sent by the upper and various levels of controllers, determine the target control signal, and control the field equipment. In this way, the control logic can be distributed and deployed in controllers at different levels, reducing the complexity of the control logic in each controller, thereby reducing the computing power requirements for the controller. Moreover, through this hierarchical controller structure, even if a single controller fails, the logic execution of the device control can be guaranteed based on other controllers, thereby improving the stability of the device control and helping to solve the problem of poor control effect of the device control.
[0091] See also Figure 3 , Figure 3 FIG. 1 is a schematic diagram showing the structure of an edge controller according to an exemplary embodiment. Figure 3 As shown, the edge controller's main components are the logic preprocessor and the logic executor. The logic preprocessor receives control information from controllers at each level. If a control signal conflict occurs during logic processing, the controller with the lower level number takes precedence. Control signals at the same level are processed in a first-come, first-served order. The logic executor executes logic, such as executing the logic according to the target control signal.
[0092] See also Figure 4 , Figure 4 FIG1 is a block diagram of an edge controller according to an exemplary embodiment. The edge controller includes:
[0093] The information acquisition unit 401 is configured to acquire control information sent by the controller of each layer; wherein the control information includes at least the layer number and the control signal of the layer;
[0094] The signal determination unit 402 is configured to, if the control signals of each layer do not satisfy a preset conflict condition, perform signal fusion on the control signals of each layer to obtain a target control signal; if the control signals of each layer satisfy the preset conflict condition, determine the target control signal according to the layer number corresponding to the control signal of each layer;
[0095] The control unit 403 is configured to control the field device according to the target control signal.
[0096] Furthermore, the signal determination unit 402 is specifically configured to:
[0097] Determine the control logic corresponding to the control signal at each level;
[0098] Superimpose the control logic of each level to generate the target control logic;
[0099] The target control signal corresponding to the target control logic is determined.
[0100] Furthermore, the signal determination unit 402 is specifically configured to:
[0101] Acquire control signals that meet the preset conflict condition to obtain at least one conflict signal set;
[0102] For each conflicting signal in each conflicting signal set, determining a level number corresponding to the conflicting signal;
[0103] Determining the conflict signal with the smallest level number in the conflict signal set as the target signal corresponding to the conflict signal set;
[0104] The target signals corresponding to each conflict signal set and each non-conflict signal are fused to obtain the target control signal; wherein, each non-conflict signal is a control signal obtained by removing the control signals that meet the preset conflict conditions from the control signals of each level.
[0105] Furthermore, the information acquisition unit 401 is specifically configured to:
[0106] According to the controller identifier of the edge controller, the control information corresponding to the controller identifier and sent by the controller of each layer is obtained.
[0107] Furthermore, each level of controller supports transparent transmission; and
[0108] The information acquisition unit 401 is specifically used to:
[0109] If a target controller among the controllers at each level has a fault, the control information corresponding to the controller identifier and issued by the controller at each level is obtained by transparently transmitting the fault information through the controller at the same level of the target controller.
[0110] Furthermore, control signals at different levels correspond to different control granularities.
[0111] It should be noted that for the detailed description of the edge controller, please refer to the detailed description of the device control method, which will not be repeated here.
[0112] Through the solution of the present application, when using a controller to implement the corresponding control logic and control the field equipment, the edge controller can receive the control information sent by the upper and various levels of controllers, determine the target control signal, and control the field equipment. In this way, the control logic can be distributed and deployed in controllers at different levels, reducing the complexity of the control logic in each controller, thereby reducing the computing power requirements for the controller. Moreover, through this hierarchical controller structure, even if a single controller fails, the logic execution of the device control can be guaranteed based on other controllers, thereby improving the stability of the device control and helping to solve the problem of poor control effect of the device control.
[0113] See also Figure 5 , Figure 5 : is a schematic diagram of a controller system according to an exemplary embodiment, the controller system includes an edge controller and controllers at various levels that send control information to the edge controller; wherein the edge controller is used to execute the above-mentioned device control method. Figure 5 As shown, a first-level controller can connect to multiple second-level controllers, each second-level controller can connect to multiple third-level controllers, and so on, an n-level controller can connect to multiple edge controllers. Through this controller system, controllers at all levels, from the first to the nth level, can simultaneously handle fine-grained computing tasks for multiple edge controllers.
[0114] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0115] It should be noted that, in the description of this application, the terms "first," "second," etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" or "multiple" is at least two.
[0116] It should be understood that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or there may be an intermediate element at the same time; when an element is referred to as being "connected to" another element, it can be directly connected to the other element or there may be an intermediate element at the same time. In addition, the "connection" used here may include wireless connection; the wording "and / or" used includes any unit and all combinations of one or more associated listed items.
[0117] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application belong.
[0118] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0119] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0120] In addition, the functional units in the various embodiments of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into a module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0121] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0122] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0123] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A device control method, characterized in that: Applied to an edge controller, the method includes: Obtaining control information issued by the controller of each layer; wherein the control information includes at least the layer number and control signal of the layer; If the control signals of each level do not meet the preset conflict conditions, the control signals of each level are fused to obtain the target control signal; If the control signals of each layer satisfy the preset conflict condition, determining the target control signal according to the layer number corresponding to the control signal of each layer; The field device is controlled according to the target control signal.
2. The method according to claim 1, characterized in that The control signals at each level are fused to obtain the target control signal, including: Determine the control logic corresponding to the control signal at each level; Superimpose the control logic of each level to generate the target control logic; The target control signal corresponding to the target control logic is determined.
3. The method according to claim 1, characterized in that Determining the target control signal according to the level number corresponding to the control signal of each level includes: Acquire control signals that meet the preset conflict condition to obtain at least one conflict signal set; For each conflicting signal in each conflicting signal set, determining a level number corresponding to the conflicting signal; Determining the conflict signal with the smallest level number in the conflict signal set as the target signal corresponding to the conflict signal set; The target signals corresponding to each conflict signal set and each non-conflict signal are fused to obtain the target control signal; wherein, each non-conflict signal is a control signal obtained by removing the control signals that meet the preset conflict conditions from the control signals of each level.
4. The method according to claim 1, wherein The obtaining of control information sent by the controller at each level includes: According to the controller identifier of the edge controller, the control information corresponding to the controller identifier and sent by the controller of each layer is obtained.
5. The method according to claim 4, characterized in that Each level of controller supports transparent transmission; as well as According to the controller identifier of the edge controller, obtaining the control information corresponding to the controller identifier and issued by the controller of each layer includes: If a target controller among the controllers at each level has a fault, the control information corresponding to the controller identifier and issued by the controller at each level is obtained by transparently transmitting the fault information through the controller at the same level of the target controller.
6. The method according to any one of claims 1 to 5, characterized in that Control signals at different levels correspond to different control granularities.
7. An edge controller, characterized in that: include: An information acquisition unit, configured to acquire control information issued by the controller of each layer; wherein the control information includes at least the layer number and the control signal of the layer; a signal determination unit configured to, if the control signals of each layer do not satisfy a preset conflict condition, perform signal fusion on the control signals of each layer to obtain a target control signal; and, if the control signals of each layer satisfy the preset conflict condition, determine the target control signal according to the layer number corresponding to the control signal of each layer; The control unit is used to control the field device according to the target control signal.
8. The edge controller according to claim 7, wherein: The signal determination unit is specifically configured to: Determine the control logic corresponding to the control signal at each level; Superimpose the control logic of each level to generate the target control logic; The target control signal corresponding to the target control logic is determined.
9. The edge controller according to claim 7, wherein: The signal determination unit is specifically configured to: Acquire control signals that meet the preset conflict condition to obtain at least one conflict signal set; For each conflicting signal in each conflicting signal set, determining a level number corresponding to the conflicting signal; Determining the conflict signal with the smallest level number in the conflict signal set as the target signal corresponding to the conflict signal set; The target signals corresponding to each conflict signal set and each non-conflict signal are fused to obtain the target control signal; wherein, each non-conflict signal is a control signal obtained by removing the control signals that meet the preset conflict conditions from the control signals of each level.
10. A controller system, characterized in that: It includes an edge controller and controllers at various levels that send control information to the edge controller; wherein the edge controller is used to execute the device control method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Hierarchical control method for edge network and cloud
CN109495585A