Energy and carbon management and control method and system, electronic equipment and computer readable storage medium

By adopting a multi-layer control subsystem structure in the energy carbon control system and dynamically issuing control instructions according to the status of the lower-level equipment, the operating efficiency and safety problems in the event of system failure are solved, and the system's high reliability and degraded operation capabilities are achieved.

CN119310896APending Publication Date: 2025-01-14SUNGROW ICARBON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411353953.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing carbon control system can easily affect the operating efficiency and safety of the system when it fails. Due to the high architectural complexity and the increase in failure rate, it makes it difficult for common methods to ensure the safety and reliability of the system.

Method used

Using a multi-layer sequentially connected control subsystem structure, by obtaining data from the lower layer control subsystem and equipment, generating control instructions based on the status data, and issuing instructions to adjacent lower layer, backup subsystem or equipment according to the status to form hierarchical supervision Structure to improve system reliability and fault tolerance.

Benefits of technology

When abnormalities occur in carbon control systems, the layered supervision structure ensures that the system continues to be downgraded and operates, which improves operational safety and efficiency, enhances the reliability of the multi-layer control architecture, and avoids the security risks brought about by downtime.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119310896A_ABST
    Figure CN119310896A_ABST
Patent Text Reader

Abstract

The invention discloses an energy-carbon management and control method and system, electronic equipment and a computer readable storage medium, belongs to the field of carbon reduction and consumption reduction, and is applied to a control subsystem of an energy-carbon management and control system.The energy-carbon management and control system comprises energy-carbon equipment and multiple layers of control subsystems connected in sequence. At least part of the control subsystems are further connected with the standby subsystem and / or the energy-carbon equipment to form a layered supervision structure. The method comprises the steps that energy-carbon data of the connected lower-layer control subsystem and / or energy-carbon equipment are obtained; determining the state of the lower-layer control subsystem based on the state data of the connected lower-layer control subsystem; generating a first control instruction based on the energy carbon data and a first control strategy; and the instruction is issued to one of the adjacent lower-layer control subsystem, the standby subsystem and the energy carbon equipment based on the state of each lower-layer control subsystem. The reliability of the multi-layer architecture can be improved, the whole system can still run in a degraded manner when the abnormity occurs, and the running safety and the running efficiency of the system can be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of carbon reduction and energy consumption reduction, and specifically to an energy carbon management method, system, electronic device and computer-readable storage medium. Background Art

[0002] Carbon reduction and consumption reduction is a complex and long-term task. In order to meet the challenges of carbon reduction and consumption reduction, each carbon reduction and consumption reduction entity can control energy consumption and manage carbon emissions through the energy carbon management system. The energy carbon management system mainly includes energy carbon equipment and control systems. The energy carbon equipment and the control system interact with each other to summarize the energy carbon data collected by the energy carbon equipment, or send control instructions to the energy carbon equipment to control the energy carbon equipment to operate in different working conditions or perform corresponding actions.

[0003] In actual operation, control systems will inevitably fail. When a failure occurs, the energy carbon management system will usually shut down the failed control system. However, as the architecture of energy carbon management systems becomes larger and more complex, the failure rate is also increasing accordingly. Therefore, the commonly used energy carbon management methods are likely to affect the operating efficiency and safety of the system. Summary of the invention

[0004] The embodiments of the present application provide an energy carbon management method, system, electronic device and computer-readable storage medium to continue to operate in a downgraded manner when an energy carbon management system has an abnormality, thereby ensuring the safety of system operation and improving operation efficiency.

[0005] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:

[0006] In a first aspect, a method for energy carbon management and control is provided, which is applied to a control subsystem of an energy carbon management and control system, wherein the energy carbon management and control system comprises energy carbon equipment and multiple layers of the control subsystems connected in sequence, at least part of the control subsystems are also connected to a backup subsystem and / or the energy carbon equipment, and the backup subsystem is at least one of the control subsystems located in a lower layer corresponding to the control subsystem and not adjacent to the corresponding control subsystem; the method comprises:

[0007] Acquire energy and carbon data of each connected lower-level control subsystem and / or the energy and carbon equipment;

[0008] Determining the status of each lower-level control subsystem based on the status data of each connected lower-level control subsystem;

[0009] Based on the energy carbon data and a first control strategy, a first control instruction is generated, wherein the first control strategy is used to characterize the issuance of instructions to the lower-level control subsystem and / or the energy carbon device;

[0010] Based on the state of each lower-level control subsystem, the first control instruction is issued to one of the adjacent lower-level control subsystem, the backup subsystem and the energy carbon device.

[0011] In some embodiments, the step of issuing the first control instruction includes:

[0012] If the state of the adjacent lower control subsystem is abnormal, skip the adjacent lower control subsystem and issue the first control instruction to each of the backup subsystems and one of the energy carbon devices, or take over the adjacent lower control subsystem and issue the first control instruction to the adjacent lower control subsystem;

[0013] If the state of the adjacent lower-layer control subsystem is normal, the first control instruction is sent to the adjacent lower-layer control subsystem.

[0014] In some embodiments, the abnormal state includes a total abnormal state and a partial abnormal state; if the state of the adjacent lower-level control subsystem is the abnormal state, the step of issuing the first control instruction includes:

[0015] If the state of the adjacent lower-level control subsystem is the all abnormal state, all of the adjacent lower-level control subsystems are taken over and the first control instruction is issued to the adjacent lower-level control subsystems, or the adjacent lower-level control subsystems are skipped and the first control instruction is issued to each of the backup subsystems and one of the energy carbon devices;

[0016] If the state of the adjacent lower-level control subsystem is the partial abnormal state, taking over the abnormal part of the adjacent lower-level control subsystem and issuing the first control instruction to the adjacent lower-level control subsystem.

[0017] In some embodiments, if the state of the adjacent lower-level control subsystem is the all abnormal state, the method further includes:

[0018] Based on the abnormal feedback strategy, an alarm is issued for the state of the adjacent lower-level control subsystem, and / or based on the fault recovery strategy, the adjacent lower-level control subsystem is controlled to perform fault recovery.

[0019] In some embodiments, determining the state of each lower-level control subsystem based on the state data of each connected lower-level control subsystem includes:

[0020] Performing status analysis on the status data of each lower-level control subsystem to determine the status of each lower-level control subsystem, wherein the status analysis method includes at least one of being based on a preset status threshold, based on historical status data, and based on a machine learning model.

[0021] In some embodiments, the method further comprises:

[0022] Obtaining feedback information from a lower-level control subsystem that executes the first control instruction;

[0023] The state of the lower-level control subsystem that executes the first control instruction is updated based on the feedback information.

[0024] In some embodiments, after obtaining the energy carbon data, the method further includes:

[0025] generating a second control instruction based on the energy-carbon data and the second control strategy, wherein the second control strategy is used to characterize the execution of a corresponding calculation process;

[0026] Execute the second control instruction to obtain a processing result.

[0027] In some embodiments, if the control subsystem is located in the middle layer or the bottom layer of multiple layers of the control subsystem, the step of obtaining the first control strategy and the second control strategy includes:

[0028] Obtaining a third control instruction of the connected upper-level control subsystem;

[0029] Performing status detection on the third control instruction to determine the status of the connected upper-level control subsystem;

[0030] Based on the state of the connected upper-level control subsystem and the third control instruction, a current control strategy is determined, and the current control strategy is the first control strategy or the second control strategy.

[0031] In some embodiments, determining the current control strategy based on the state of the connected upper-level control subsystem and the third control instruction includes:

[0032] If the state of the connected upper control subsystem is normal, executing the third control instruction to obtain the current control strategy;

[0033] If the state of the connected upper-level control subsystem is an abnormal state, the third control instruction is processed based on the abnormality processing strategy to obtain the current control strategy.

[0034] In some embodiments, the processing of the third control instruction based on the exception handling strategy to obtain the current control strategy includes:

[0035] Feedback the abnormal state to the upper control subsystem, and request the upper control subsystem to adjust the third control instruction;

[0036] Alternatively, performing error correction processing on the third control instruction, and obtaining the current control strategy based on the error-corrected instruction;

[0037] Alternatively, executing a preset standby instruction to replace the third control instruction to obtain the current control strategy;

[0038] Alternatively, the upper-level control subsystem is at least partially taken over to redefine the third control instruction.

[0039] In some embodiments, the status detection includes at least one of data integrity detection, instruction format detection, signature verification, instruction contradiction detection, and instruction excess detection.

[0040] In some embodiments, before performing status detection on the third control instruction, the method further includes:

[0041] Perform system security checks;

[0042] If the control subsystem is safe, performing a status detection on the third control instruction;

[0043] If the control subsystem is unsafe, a safe shutdown is performed or a safe mode is entered.

[0044] In some embodiments, each layer of the control subsystem includes at least one controller, and each of the controllers is connected to at least part of the controllers arranged at the same layer to execute hot standby instructions when the controllers connected to the same layer are abnormal.

[0045] In a second aspect, an energy carbon management system is provided, comprising:

[0046] Energy carbon equipment;

[0047] Multiple layers of sequentially connected control subsystems, at least some of which are also connected to a backup subsystem and / or the energy carbon device, and the backup subsystem is at least one of the control subsystems located in a lower layer of the corresponding control subsystem and not adjacent to the corresponding control subsystem;

[0048] Wherein, the control subsystem includes at least one controller, and the controller includes:

[0049] A first acquisition module is used to obtain energy carbon data of each connected lower control subsystem and / or the energy carbon equipment;

[0050] A state evaluation module, for determining the state of each lower-level control subsystem based on the state data of each connected lower-level control subsystem;

[0051] An instruction generation module, used for generating a first control instruction based on the energy carbon data and a first control strategy, wherein the first control strategy is used for characterizing the issuance of an instruction to the lower-level control subsystem and / or the energy carbon device;

[0052] The instruction processing module is used to issue the first control instruction to one of the adjacent lower-level control subsystems, the backup subsystem and / or the energy-carbon device based on the status of each lower-level control subsystem.

[0053] In some embodiments, the controller located in the middle layer or the bottom layer of the control subsystem of the multiple layers of the control subsystem further includes:

[0054] A second acquisition module, used for acquiring a third control instruction of the connected upper control subsystem;

[0055] The state evaluation module is further used to perform state detection on the third control instruction to determine the state of the connected upper control subsystem;

[0056] A strategy determination module, wherein the strategy determination module is connected between the state evaluation module and the instruction generation module, and the strategy determination module is used to determine a current control strategy based on the state of the connected upper-level control subsystem and the third control instruction, wherein the current control strategy is the first control strategy or the second control strategy.

[0057] In some embodiments, the strategy determination module is further connected to a plan library, and the plan library stores a variety of exception handling strategies corresponding to when the state of the control subsystem at each layer is an abnormal state.

[0058] In some embodiments, the strategy determination module is further connected to a physical model database, and the physical model database stores control information of the energy and carbon management system, wherein the control information includes an instruction transmission path and a control object.

[0059] In some embodiments, the total number of layers of the control subsystems connected in sequence is M, and n consecutive layers of the control subsystems are connected in sequence from close to the energy-carbon device to far away from the energy-carbon device. After n layers of the control subsystems, each layer of the control subsystems in the m consecutive layers of the control subsystems is also connected to the backup subsystem and / or the energy-carbon device, satisfying: m+n=M.

[0060] According to a third aspect, an electronic device is provided, the electronic device comprising:

[0061] at least one processor; and a memory communicatively coupled to the at least one processor;

[0062] In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the energy carbon management method as described in any one of the first aspects, or so that the processor can be configured in a control subsystem in an energy carbon management system as described in any one of the second aspects.

[0063] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a processor to implement the energy carbon management method as described in any one of the first aspect when executed, or the computer instructions are used to enable a processor to be configured in a control subsystem in an energy carbon management system as described in any one of the second aspect.

[0064] One of the above technical solutions has the following advantages or beneficial effects:

[0065] An energy carbon management method of the present application is applied to a control subsystem of an energy carbon management system, wherein the energy carbon management system includes energy carbon equipment and multiple layers of control subsystems connected in sequence, at least some of the control subsystems are also connected to a backup subsystem and / or energy carbon equipment, and the backup subsystem is at least one of the control subsystems located at the lower layer of the corresponding control subsystem and not adjacent to the corresponding control subsystem; the method includes: obtaining energy carbon data of each connected lower control subsystem and / or energy carbon equipment; determining the state of each lower control subsystem based on the state data of each connected lower control subsystem; generating a first control instruction based on the energy carbon data and a first control strategy, the first control strategy being used to characterize the issuance of instructions to the lower control subsystem and / or energy carbon equipment; and issuing a first control instruction to one of the adjacent lower control subsystem, the backup subsystem and the energy carbon equipment based on the state of each lower control subsystem. The energy carbon management and control system of the present application forms a hierarchical supervision structure through multiple layers of sequentially connected control subsystems. During energy carbon management, each control subsystem can collect data from the connected lower-level subsystems, and when it is necessary to issue control instructions, it can be issued to the adjacent lower-level subsystems, backup subsystems and one of the energy carbon devices according to the status of the lower-level subsystem. This not only improves the reliability of the multi-layer control architecture, but also the entire energy carbon management and control system can continue to operate in a downgraded manner when an abnormality occurs in the control subsystem, thereby greatly improving the operating safety and efficiency of the system.

[0066] An energy carbon management and control system of the present application forms a hierarchical supervision structure through multiple layers of sequentially connected control subsystems. Each control subsystem can collect data from the connected lower-level subsystems, and when it is necessary to issue control instructions, it can issue them to the adjacent lower-level subsystems, backup subsystems and energy carbon devices according to the status of the lower-level subsystems. This not only improves the reliability of the multi-layer control architecture, but also allows the entire energy carbon management and control system to continue to operate in a downgraded manner when an abnormality occurs in the control subsystem, thereby greatly improving the system's operating safety and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0068] Figure 1 This is a schematic diagram of the overall structure of the energy carbon management system of the embodiment of the present application;

[0069] Figure 2 A schematic diagram of a specific structure of the energy carbon management and control system of an embodiment of the present application;

[0070] Figure 3 This is another specific structural schematic diagram of the energy carbon management system of an embodiment of the present application;

[0071] Figure 4 This is a schematic diagram of the overall process of the energy carbon management method of an embodiment of the present application;

[0072] Figure 5 This is a schematic diagram of one specific process example of the energy carbon management method of an embodiment of the present application;

[0073] Figure 6 This is a second schematic diagram of a specific process example of the energy carbon management method according to an embodiment of the present application;

[0074] Figure 7 This is a third schematic diagram of a specific process example of the energy carbon management method of an embodiment of the present application;

[0075] Figure 8 for Figure 3 The overall structure diagram of the controller;

[0076] Fig. 9 for Figure 3 Specific structural diagram of the controller;

[0077] Fig.10 A schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0078] Reference numerals:

[0079] 10-energy carbon equipment; 20-control subsystem; 21-controller; 211-first acquisition module; 212-state evaluation module; 213-instruction generation module; 214-instruction processing module; 215-second acquisition module; 216-strategy determination module; 217-plan library; 218-physical model database; 219-safety assessment module; 30-data network; 40-electronic equipment; 41-processor; 42-read-only memory; 43-random access memory; 44-bus; 45-input / output interface; 46-input unit; 47-output unit; 48-storage unit; 49-communication unit. DETAILED DESCRIPTION

[0080] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0081] In the description of the present application, it should be understood that the terms "upper", "lower", "front", "back", "left", "right", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the present application, "multiple" means two or more, and at least one means one, two or more, unless otherwise clearly and specifically defined.

[0082] The embodiments of the present application can be applied to carbon reduction and consumption reduction scenarios, including but not limited to energy carbon management and control in factories, parks, hospitals, schools, transportation, buildings and other scenarios, as well as supply chain carbon management, organizational carbon management, product carbon management, SBTi management and other scenarios. The carbon reduction and consumption reduction subjects may include all governments at all levels, various organizations, enterprises, families and individuals who need to carry out carbon reduction and consumption reduction work (such as dual carbon work). It should be noted that, for the sake of ease of description, in some embodiments, the carbon reduction and consumption reduction work subject is specifically described by taking enterprises as an example.

[0083] In order to meet the challenges of carbon reduction and consumption reduction, various carbon reduction and consumption reduction entities can control energy consumption and manage carbon emissions through the energy carbon management and control system. The energy carbon management and control system mainly includes energy carbon equipment and control systems. The energy carbon equipment and the control system interact with each other to summarize the energy carbon data collected by the energy carbon equipment, or issue control instructions to the energy carbon equipment to control the energy carbon equipment to operate in different working conditions or perform corresponding actions.

[0084] The control system may include at least one controller. Generally, if the controller is connected to the energy carbon equipment and there is no upper controller for the controller, then the energy carbon control system is a single-layer control. This simple control method is relatively reliable, but it cannot run complex optimization algorithms, which makes the optimization ability of the energy carbon control system low. In order to improve the system optimization ability, the energy carbon control system can also adopt a common hierarchical control architecture, that is, each controller is connected in sequence, and the controller accepts the control of the upper controller. This control method has a long hierarchical control link, so the reliability is relatively low. In the actual operation process, the control system will inevitably have faults, such as communication interruption, hardware failure, instruction abnormality, instruction overrun, etc. When a fault occurs, the energy carbon control system usually performs shutdown processing on the fault control system. However, as the architecture of the energy carbon control system becomes larger and more complex, the failure rate is also correspondingly higher. Therefore, this control method is likely to affect the operating efficiency of the system, and executing shutdown processing is not a safe mode, which is also likely to affect the safety of system operation and is not conducive to safe production.

[0085] In view of this, the embodiments of the present application provide an energy carbon management method, system, electronic device and computer-readable storage medium. By setting up a control architecture with a hierarchical supervisory structure, the control subsystem can be connected to the adjacent lower-level control subsystem and the backup subsystem and / or the energy carbon device. When it is necessary to issue a control instruction, it is issued to the adjacent lower-level subsystem, the backup subsystem and the energy carbon device according to the status of the lower-level subsystem, thereby improving the reliability of the multi-layer control architecture, and when an abnormality occurs in the control subsystem, the entire energy carbon management system can continue to operate in a downgraded manner, which can improve the operating safety and efficiency of the system, thereby solving at least part of the above-mentioned technical problems.

[0086] See also Figure 1 , Figure 1It is a schematic diagram of the overall structure of the energy carbon management and control system of the embodiment of the present application. The energy carbon management and control system of the embodiment of the present application includes an energy carbon device 10 and multiple layers of control subsystems 20 connected in sequence, and at least part of the control subsystems 20 are also connected to the backup subsystem and / or the energy carbon device 10. The backup subsystem is at least one of the control subsystems 20 located in the lower layer of the corresponding control subsystem 20 and not adjacent to the corresponding control subsystem 20. It can be understood that in the multi-layer control subsystem 20, only part of the control subsystems 20 of the layers can be connected to one or more backup subsystems and / or energy carbon devices 10, or each layer of the control subsystem 20 can be connected to one or more backup subsystems and / or energy carbon devices 10, which can be set according to actual needs. The energy carbon device 10 can be one or more, and illustratively, the energy carbon device 10 can be various sensors and monitoring devices. The control subsystem 20 is used to execute the energy carbon management and control method of the embodiment of the present application.

[0087] In some examples, the multi-layer control subsystem 20 and the energy carbon device 10 can be connected through at least one data network 30. Among them, each layer of the control subsystem 20 and the energy carbon device 10 has a communication interface for receiving data and instructions sent from the upper system, and a communication interface for sending data and instructions to the lower system, and the communication interface includes but is not limited to Ethernet, Wi-Fi, RS485, CAN, etc. Communication protocols can be defined between each layer, and the communication protocols include but are not limited to MQTT, OPC, AMQP, Modbus, CAN bus, etc., to ensure reliable data transmission, realize data synchronization mechanism, and ensure the real-time and accuracy of data.

[0088] See also Figure 2 , Figure 2 A specific structural diagram of the energy carbon management system of the embodiment of the present application. In some embodiments, the total number of layers of control subsystems 20 connected in sequence is M. In the direction from close to the energy carbon device 10 to far away from the energy carbon device 10, the continuous n layers of control subsystems 20 are connected in sequence. After the n layers of control subsystems 20, each layer of control subsystems 20 in the continuous m layers of control subsystems 20 is also connected to the backup subsystem and / or the energy carbon device 10, satisfying: m+n=M. That is to say, in the energy carbon management system, the first n layers can be connected in sequence to achieve simple control, and the last m layers from the n+1th layer to the Mth layer are also connected to the backup subsystem and / or N energy carbon devices 10 on the basis of sequential connection to achieve complex control, so that on the basis of ensuring the reliability of the low-level control subsystem 20, the reliability of the high-level control subsystem 20 can be further improved, so that the entire energy carbon management system can not only run complex optimization algorithms, but also take into account system reliability.

[0089] In other embodiments, n layers of control subsystems 20 may be connected in sequence from close to the energy carbon device 10 to far away from the energy carbon device 10, and only system safety control is performed. After the n layers of control subsystems 20, m layers of control subsystems 20 are equipped with complex optimization algorithms to perform system optimization control, so that different layers of control subsystems 20 are responsible for different functions, making the entire energy carbon management and control process more flexible.

[0090] See also Figure 3 , Figure 3 Another specific structural diagram of the energy carbon management system of the embodiment of the present application. Specifically, each layer of the control subsystem 20 includes at least one controller 21. In order to ensure that the hardware and software of each layer of the control subsystem 20 can work together, each layer of the control subsystem 20 can also integrate suitable sensors and communication equipment.

[0091] It should be noted that the connection between different layers of control subsystems 20 in the embodiment of the present application means the connection between controllers 21 in different layers of control subsystems 20. There are many ways to connect multiple controllers 21, which are not specifically limited. That is to say, as long as there is a controller connected in different layers of control subsystems 20, it can be considered that the different layers of control subsystems 20 are connected.

[0092] Exemplarily, the total number of control subsystems 20 connected in sequence is M. According to the direction X from close to the energy-carbon device 10 to far away from the energy-carbon device 10, the first-layer control subsystem 20 includes M1 controllers 21 from 1 to M1, the second-layer control subsystem 20 includes M2 controllers 21 from 1 to M2, ..., the Mth-layer control subsystem 20 includes Mk controllers 21 from 1 to Mk, and the number of energy-carbon devices 10 is N. M1, M2, ..., Mk, and N may be the same or at least partially different.

[0093] The first-layer control subsystem 20 can directly interact with the energy carbon device 10 and collect raw data, which includes real-time data of energy use and carbon emissions. Specifically, for example, the first controller 21 in the first-layer control subsystem 20 is connected to the first energy carbon device 10 and the second energy carbon device 10, the second controller 21 in the first-layer control subsystem 20 is connected to the third energy carbon device 10, ..., the M1-th controller 21 in the first-layer control subsystem 20 is connected to the N-th energy carbon device 10.

[0094] The second-layer and above control subsystems 20 are responsible for collecting the summary data of the adjacent next-layer control subsystems 20, and can also cross levels with the lower-layer control subsystems 20 until interacting with the energy carbon equipment 10, wherein the lower-layer control subsystems 20 connected across levels are the backup subsystems of the embodiment of the present application, and the second-layer and above control subsystems 20 can not only collect the directly connected lower-layer energy carbon data, but also summarize and preprocess these data, and then report them to the upper layer. Exemplarily, preprocessing can include data cleaning and verification to ensure the accuracy and completeness of the data; preprocessing can also include data storage, by designing appropriate data storage solutions, including time series databases, etc., to facilitate data query, analysis and long-term storage; preprocessing can also include real-time and batch processing, to achieve real-time processing and batch processing of data as needed, to support rapid decision-making and in-depth analysis. Specifically, for example, the first controller 21 in the second-layer control subsystem 20 is connected to the first controller 21 in the first-layer control subsystem 20, the second controller 21 in the second-layer control subsystem 20 is connected to the second controller 21 in the first-layer control subsystem 20, ..., the M2-th controller 21 in the second-layer control subsystem 20 is connected to the M1-th controller 21 in the first-layer control subsystem 20. The first controller 21 in the M-th layer control subsystem 20 is connected to the first controller 21 in the M-1-th layer control subsystem 20, and the other controllers 21 in the M-th layer control subsystem 20 are all connected to the first controller 21 in the M-th layer control subsystem 20, so as to serve as a backup device of the first controller 21 in the M-th layer control subsystem 20, wherein the backup device can execute hot standby instructions when the first controller 21 in the M-th layer control subsystem 20 fails. In addition, the first controller 21 in the M-th layer control subsystem 20 is also connected to the first controller 21 in the first layer control subsystem 20 and the first carbon energy device 10, so the first layer control subsystem 20 is the backup subsystem of the M-th layer control subsystem 20. It can be understood that there can be many other connection methods, which will not be described one by one here.

[0095] It should be noted that each layer of the control subsystem 20 can be distinguished by the layer-by-layer connection relationship rather than the actual physical location, that is, the physical location distribution of each layer of the control subsystem 20 can be arbitrarily set according to needs.

[0096] In some examples, the software design of the energy carbon management system of the embodiment of the present application can handle various abnormal situations and has a high degree of fault tolerance and self-recovery ability. The hardware equipment has the necessary sensors and actuators to support automatic control and abnormal state processing. In addition, the energy carbon management system can also provide a user interface to allow operators to monitor the system status, manually intervene or modify instructions. User access control can also be set up, and a permission management system can be designed to ensure that only authorized users can access the data and system functions of the corresponding level. Different interfaces can also be set up to provide suitable operation interfaces and data display methods for different users to improve the ease of use of the system and the visualization efficiency of data. In addition, system health monitoring function, system monitoring function and data security and backup function can also be set up. The system health monitoring function can monitor the operating status of each layer of the system in real time, including hardware status, software operation, network communication, etc. The system monitoring function can track the system operation and status in real time to facilitate rapid response to potential problems. The data security and backup function can implement necessary data security measures, including encrypted transmission and data backup, to ensure the security of the system and the integrity of the data.

[0097] Through the above scheme, the energy carbon management and control system can form a clear hierarchical supervision structure, and the functions of each layer are clear. The data gradually flows from the energy carbon equipment 10 to the top-level control subsystem 20 for aggregation, so that the data can be effectively transmitted and aggregated between layers, thereby improving the reliability and data optimization capabilities of the complex multi-layer architecture.

[0098] The energy-carbon management method performed by the control subsystem 20 in the embodiment of the present application is described below with reference to the accompanying drawings.

[0099] See also Figure 4 , Figure 4 This is a schematic diagram of the overall process of the energy carbon management method of the embodiment of the present application. The energy carbon management method includes the following steps:

[0100] Step 401: Acquire the energy and carbon data of each connected lower-level control subsystem and / or energy and carbon equipment.

[0101] Specifically, the control subsystem directly collects the energy carbon data of the connected adjacent lower-level control subsystem. If the control subsystem is connected to a backup subsystem and / or energy carbon equipment, the control subsystem also directly collects the energy carbon data of the connected backup subsystem and / or the energy carbon data of the energy carbon equipment. Based on the description of the foregoing embodiment, the energy carbon data of each layer of control subsystem refers to the data obtained after summarizing and preprocessing the energy carbon data of each lower-level control subsystem and / or energy carbon equipment connected to the control subsystem, that is, the energy carbon data of each layer of control subsystem includes the energy carbon data of the energy carbon equipment, and the energy carbon data of each layer of control subsystem may also include processed data obtained after processing the energy carbon data of the energy carbon equipment and other generated data. The energy carbon data of the energy carbon equipment refers to the original data collected by the energy carbon equipment.

[0102] It can be understood that the energy carbon data of the energy carbon equipment is the necessary data for the control subsystem. The control subsystem can collect the energy carbon data of the energy carbon equipment in a direct or indirect way. For example, if the control subsystem is directly connected to the energy carbon equipment, then the control subsystem can directly collect the energy carbon data of the energy carbon equipment; if the control subsystem is not directly connected to the energy carbon equipment, but only connected to the lower-level control subsystem, then the control subsystem can indirectly collect the energy carbon data of the energy carbon equipment through the lower-level control subsystem. In addition, if the lower-level control subsystem generates other data based on the energy carbon data of the energy carbon equipment, then the control subsystem will also collect other data.

[0103] Step 402: Determine the status of each lower-level control subsystem based on the status data of each connected lower-level control subsystem.

[0104] Specifically, the state of each lower-level control subsystem may include an abnormal state and a normal state, and the abnormal state may include a complete abnormal state and a partial abnormal state. The control subsystem may collect the state data of each connected lower-level control subsystem. The state data includes at least one of an operating state, a communication state, and a fault state. Among them, the operating state may include an operating mode and whether to accept superior instructions, etc., the communication state includes whether the communication between the corresponding lower-level control system and its lower-level control subsystem and / or the energy carbon equipment is normal, and the fault state includes whether the calculation processing, storage, system software, etc. are normal.

[0105] In some embodiments, step 402 may be specifically performed by the following steps:

[0106] Performing state analysis on the state data of each lower-level control subsystem to determine the state of each lower-level control subsystem. The state analysis method includes at least one of being based on a preset state threshold, based on historical state data, and based on a machine learning model.

[0107] Among them, the method based on the preset state threshold refers to comparing the state data with the preset state threshold. If the preset state threshold is met, the state of the corresponding lower-level control subsystem is determined to be normal. The method based on historical state data refers to comparing the state data with the historical state data. If the characteristics of the historical state data are met, the state of the corresponding lower-level control subsystem is determined to be normal. The method based on the machine learning model refers to using the machine learning model to predict whether the state of the corresponding lower-level control subsystem is normal based on the state data.

[0108] Through the above scheme, real-time status monitoring of the lower-level control subsystem can be achieved, thereby facilitating the execution of different strategies according to different states of the lower-level control subsystem.

[0109] Step 403: Generate a first control instruction based on the energy-carbon data and the first control strategy.

[0110] The first control strategy is used to characterize the strategy of issuing instructions to the lower-level control subsystem and / or energy-carbon equipment. In other words, the first control strategy characterizes the strategy of issuing instructions to the lower-level control subsystem and / or energy-carbon equipment. The first control strategy may include strategies such as adjusting equipment operating parameters, starting / stopping equipment, adjusting energy use, and adjusting production processes.

[0111] Specifically, if the acquired control strategy is the first control strategy, a first control instruction to be further issued is generated based on the energy carbon data and the first control strategy in combination with an internal preset algorithm. It is understandable that the first control instruction may include data to be processed and a specific processing method.

[0112] It should be noted that if the control subsystem is located at the top layer of a multi-layer control subsystem, the first control strategy can be determined based on energy carbon data, internal analysis control programs and preset algorithms, or it can be obtained through interaction with users; if the control subsystem is located at the middle layer or bottom layer of a multi-layer control subsystem, the first control strategy is determined based on the control instructions sent by the connected upper-layer control subsystem, which will be described in detail in subsequent embodiments.

[0113] Step 404: Based on the state of each lower-level control subsystem, a first control instruction is issued to one of an adjacent lower-level control subsystem, a backup subsystem and an energy-carbon device.

[0114] Specifically, the adjacent lower-level control subsystem refers to a control subsystem located at the lower level of the control subsystem that is connected to the control subsystem in sequence. For example, the first-level control subsystem is the adjacent lower-level control subsystem of the second-level control subsystem, the second-level control subsystem is the adjacent lower-level control subsystem of the third-level control subsystem, and so on.

[0115] In some embodiments, issuing the first control instruction may be performed by the following steps:

[0116] Step 1: If the state of the adjacent lower control subsystem is abnormal, skip the adjacent lower control subsystem and send the first control instruction to each backup subsystem and one of the energy carbon devices, or take over the adjacent lower control subsystem and send the first control instruction to the adjacent lower control subsystem.

[0117] Step 2: If the state of the adjacent lower-layer control subsystem is normal, a first control instruction is sent to the adjacent lower-layer control subsystem.

[0118] Specifically, the object to which the control instruction is sent can be determined according to the state of the adjacent lower-level control subsystem. When the state of the adjacent lower-level control subsystem is normal, high-level optimization is mainly used; when the state of the adjacent lower-level control subsystem is abnormal, there are two processing strategies, one is to skip the adjacent lower-level control subsystem and send instructions to other lower-level control subsystems or energy-carbon equipment, and the other is to take over the adjacent lower-level control subsystem and send the first control instruction to the adjacent lower-level control subsystem. Taking over means receiving and executing the first control instruction instead of the adjacent lower-level control subsystem.

[0119] It should be noted that when skipping the adjacent lower-level control subsystem and issuing the first control instruction to each backup subsystem and one of the energy carbon devices, it is also necessary to consider the status of each backup subsystem, and give priority to the backup subsystems with higher levels. If the status of the backup subsystem is abnormal, it is necessary to issue the first control instruction to another lower-level backup subsystem or energy carbon device. The specific status judgment logic will not be repeated here.

[0120] In some examples, the controller is in parallel working mode, and the abnormal state may include a complete abnormal state and a partial abnormal state. Step 1 may be implemented in the following manner:

[0121] In the first step, if the status of the adjacent lower-level control subsystem is all abnormal, all the adjacent lower-level control subsystems are taken over and the first control instruction is issued to the adjacent lower-level control subsystems, or the adjacent lower-level control subsystems are skipped and the first control instruction is issued to each backup subsystem and one of the energy carbon devices.

[0122] In the second step, if the state of the adjacent lower-level control subsystem is a partially abnormal state, taking over the abnormal part of the adjacent lower-level control subsystem and issuing a first control instruction to the adjacent lower-level control subsystem.

[0123] That is to say, when the state of the adjacent lower control subsystem is completely abnormal, it can be completely taken over or skipped, and when the state of the adjacent lower control subsystem is partially abnormal, it can be partially taken over. The specific processing strategy can be determined according to the internal preset decision logic.

[0124] In some examples, network security may be considered and data encryption may be performed when instructions are issued, so as to ensure the secure transmission of instructions.

[0125] Through the above scheme, the upper-level system can decide whether to directly send control instructions to the lower-level system or skip a certain layer and directly send instructions to the lower-level system or device according to the status of the lower-level system (normal or abnormal). In this way, when an abnormality occurs in the lower-level system, there is no need to shut down or enter a safe mode, and the transmission instructions can still be downgraded, thereby better ensuring the safe production of the equipment.

[0126] In some embodiments, if the states of the adjacent lower-level control subsystems are all abnormal, the energy and carbon management method of the embodiment of the present application may further include the following steps:

[0127] Based on the abnormal feedback strategy, an alarm is issued for the status of the adjacent lower-level control subsystem, and / or based on the fault recovery strategy, the adjacent lower-level control subsystem is controlled to perform fault recovery.

[0128] Exemplarily, the abnormal feedback strategy may include recording abnormal data of adjacent lower-level control subsystems, and feeding back the abnormal data to the operation and maintenance end for alarm. The fault recovery strategy may include controlling the adjacent lower-level control subsystems to automatically restart or switch to the backup system. If the status of the backup subsystem is also in all abnormal states, this step may also be referred to for alarm and / or fault recovery. In this way, error handling and recovery can be performed for the abnormal status of each lower-level control subsystem, so that simple fault handling and alarm can be performed, which facilitates the timely maintenance of the carbon management system and improves the operation and maintenance efficiency.

[0129] In some embodiments, the energy carbon management method of the embodiment of the present application may also include the following steps:

[0130] Acquire feedback information of the lower-level control subsystem that executes the first control instruction.

[0131] The state of the lower-level control subsystem executing the first control instruction is updated based on the feedback information.

[0132] Specifically, the feedback information may include execution status, execution result, etc. If the state of the lower-level control subsystem is determined to be normal according to the state data of the lower-level control subsystem, and then an instruction is issued to the lower-level control subsystem, after the lower-level control subsystem executes the first control instruction, it can be further confirmed whether the state of the lower-level control subsystem is normal according to the execution status and result. If the execution is abnormal, the state of the lower-level control subsystem can be updated to an abnormal state, thereby affecting the subsequent determination of the issuance strategy.

[0133] Through the above scheme, the status of the lower-level control subsystem can be updated in real time according to the instruction execution status and results, so as to adapt to the real-time changes and upgrades of the lower-level control subsystem, improve the accuracy of status monitoring, and facilitate the correct formulation of instruction issuance strategies.

[0134] See also Figure 5 , Figure 5 This is a schematic diagram of a specific process example of the energy carbon management method of the embodiment of the present application. In some embodiments, after executing step 401, the energy carbon management method of the embodiment of the present application may also include the following steps:

[0135] Step 405: Generate a second control instruction based on the energy-carbon data and the second control strategy.

[0136] The second control strategy is used to characterize the execution of corresponding calculation processing. That is to say, the second control strategy characterizes the strategy that needs to execute corresponding calculation processing and does not need to be forwarded. The second control strategy may include secondary processing strategies, such as instruction detection and filtering, execution of corresponding calculations, execution of operation processes, etc.

[0137] Specifically, if the acquired control strategy is the second control strategy, a second control instruction to be processed and calculated is generated based on the energy carbon data and the second control strategy in combination with an internal preset algorithm. It is understandable that the second control instruction may include the data to be processed and a specific calculation method.

[0138] It should be noted that if the control subsystem is located at the top layer of a multi-layer control subsystem, the second control strategy can be determined based on energy carbon data, internal analysis control programs and preset algorithms, or it can be obtained through interaction with users; if the control subsystem is located at the middle layer or bottom layer of a multi-layer control subsystem, the second control strategy is determined based on the control instructions sent by the connected upper-layer control subsystem.

[0139] In some examples, if the control subsystem is located in the middle layer or the lowest layer of the multi-layer control subsystem, the steps of obtaining the first control strategy and the second control strategy include:

[0140] Step 1: Obtain the third control instruction of the connected upper-level control subsystem.

[0141] Specifically, the upper control subsystem may be an adjacent upper control subsystem of the current control subsystem, or may be a non-adjacent upper control subsystem. When it is a non-adjacent upper control subsystem, the current control subsystem is actually a backup subsystem of the upper control subsystem. An adjacent upper control subsystem refers to a control subsystem located at the upper layer of the control subsystem that is sequentially connected to the control subsystem, for example, the second-layer control subsystem is an adjacent upper control subsystem of the first-layer control subsystem, the third-layer control subsystem is an adjacent upper control subsystem of the second-layer control subsystem, and so on.

[0142] It should be noted that there is no limitation on the order between obtaining the third control instruction of the connected upper control subsystem and step 301 .

[0143] Step 2: Perform status detection on the third control instruction to determine the status of the connected upper-level control subsystem.

[0144] Specifically, the control subsystem parses the third control instruction and performs validity verification and status monitoring.

[0145] In some examples, the state detection includes at least one of data integrity detection, instruction format detection, signature verification, instruction contradiction detection, and instruction overlimit detection. Instruction contradiction detection is to detect whether there is contradictory content in the instruction, such as charging and discharging the energy storage device at the same time; instruction overlimit detection is to detect whether the instruction exceeds the maximum value that the device or system can bear.

[0146] Through the above status detection, it is possible to evaluate whether the received data and instructions are in the expected normal state, and then determine the state of the upper-level control subsystem.

[0147] In some embodiments, before executing step 2 to detect the state of the third control instruction, the method of the embodiment of the present application may further include:

[0148] Perform system safety detection; if the control subsystem is safe, perform status detection on the third control instruction; if the control subsystem is unsafe, perform a safe shutdown or enter a safe mode.

[0149] In this way, the safety of the system can be further ensured. In the case of an unsafe system, a safe shutdown or entering a safe mode can be adopted, thereby avoiding the execution of related controls in the case of an unsafe system, which is beneficial to safe production.

[0150] Step three: determine the current control strategy based on the state of the connected upper-level control subsystem and the third control instruction, and the current control strategy is the first control strategy or the second control strategy.

[0151] In some examples, the current control strategy can be determined by the following steps:

[0152] If the state of the connected upper-level control subsystem is normal, the third control instruction is executed to obtain the current control strategy.

[0153] If the state of the connected upper-level control subsystem is an abnormal state, the third control instruction is processed based on the abnormality processing strategy to obtain the current control strategy.

[0154] That is to say, if the state of the connected upper control subsystem is normal, the third control instruction is executed to parse out the current control strategy issued by the upper control subsystem and determine whether to execute the current calculation or continue to issue instructions. If the state of the connected upper control subsystem is abnormal, the third control instruction is processed by the abnormality handling strategy to obtain the current control strategy that can replace the strategy issued by the upper control subsystem.

[0155] Exemplarily, the third control instruction is processed based on the exception handling strategy to obtain the current control strategy, which can be specifically implemented in the following manner:

[0156] Feedback the abnormal status to the upper-level control subsystem and request the upper-level control subsystem to adjust the third control instruction; or, perform error correction processing on the third control instruction and obtain the current control strategy based on the error-corrected instruction; or, execute a preset backup instruction to replace the third control instruction to obtain the current control strategy; or, at least partially take over the upper-level control subsystem and redefine the third control instruction.

[0157] Specifically, the exception handling strategy may include error reporting, autonomous error correction, execution of backup instructions, partial takeover of the upper control subsystem, and full takeover of the upper control subsystem. Autonomous error correction may adopt a preset error correction program, such as retry, rollback to a safe state, etc. Preset backup instructions may include preset backup algorithms, preset backup control logic, etc., which may replace the third control instruction.

[0158] Through the above solution, when the status of the upper-level control subsystem is abnormal, there are still backup strategies that can continue to be executed, thereby ensuring the continuous operation of the system's degraded functions, further improving the reliability of the multi-layer control architecture and the system's operational safety and efficiency.

[0159] Step 406: Execute the second control instruction to obtain the processing result.

[0160] It is understandable that each control subsystem in a multi-layer control subsystem will detect the state of the upper control subsystem and / or the state of the lower control subsystem. For example: the control subsystem at the top layer only detects the state of the lower control subsystem, the control subsystem at the bottom layer only detects the state of the upper control subsystem, and the control subsystem at the middle layer detects the state of the upper control subsystem and the state of the lower control subsystem. Taking the control subsystem at the middle layer as an example, if it is detected that the state of the upper control subsystem and the state of the lower control subsystem are both normal, the instructions are executed and / or issued normally. If it is detected that the state of the upper control subsystem and / or the state of the lower control subsystem are abnormal, it is processed according to the preset logic or algorithm.

[0161] Through the above scheme, different instructions are generated based on different control strategies, and further calculated or forwarded. The flexible approach can reduce manual intervention and improve optimization efficiency and accuracy.

[0162] In some embodiments, each layer of the control subsystem includes at least one controller, and each controller is connected to at least part of the controllers set at the same layer to execute hot standby instructions when the controllers connected to the same layer are abnormal. In this way, when some controllers at the same layer fail, there are still controllers that can be replaced, thereby further improving the fault handling capability of the system and ensuring safe operation.

[0163] In conjunction with the above embodiments, please refer to Figure 6 , Figure 6 The second schematic diagram is a specific process example of the energy carbon control method of the embodiment of the present application. The energy carbon control method of the embodiment of the present application first initializes the parameters and establishes a system physical model, that is, establishes a topological structure model of the energy carbon control system. Then, each layer of the control subsystem receives the third control instruction of the upper layer control subsystem, and detects the state of the upper layer control subsystem according to the third control instruction. If the state of the upper layer control subsystem is normal, the control subsystem executes the third control instruction to obtain the first control strategy, and collects the energy carbon data of the lower layer control subsystem, and then detects the state of the lower layer control subsystem according to the state data of the lower layer control subsystem. If the state of the lower layer control subsystem is normal, the first control instruction is generated according to the energy carbon data and the first control strategy (it can also be generated according to the energy carbon data and the second control strategy. In order to reflect the layer-by-layer transmission of data, the embodiment of the present application takes the issuance of the first control instruction as an example for display); if the state of the lower layer control subsystem is abnormal, the lower layer control subsystem is taken over, and the takeover includes partial takeover and full takeover, and then the first control instruction and / or alarm are generated according to the energy carbon data and the first control strategy. If the state of the upper control subsystem is abnormal, the upper control subsystem is taken over, and the takeover includes partial takeover and full takeover. Then the control subsystem executes the third control instruction to obtain the first control strategy and collects the energy and carbon data of the lower control subsystem.

[0164] In other examples, the step of taking over the upper control subsystem can be replaced by feeding back the abnormal state to the upper control subsystem and requesting the upper control subsystem to adjust the third control instruction; or, performing error correction processing on the third control instruction and obtaining the current control strategy based on the error-corrected instruction; or, executing a preset backup instruction to replace the third control instruction and obtaining the current control strategy. And / or, the step of taking over the lower control subsystem can be replaced by skipping the adjacent lower control subsystem and issuing the first control instruction to each backup subsystem and one of the energy carbon devices. This embodiment of the present application is not limited to this.

[0165] See also Figure 7 , Figure 7 The third schematic diagram is a specific process example of the energy carbon control method of the embodiment of the present application. The energy carbon control method of the embodiment of the present application first initializes the parameters and establishes the system physical model, that is, establishes the topological structure model of the energy carbon control system. Then, each layer of control subsystem receives the third control instruction of the upper control subsystem, collects the energy carbon data of the lower control subsystem, and then detects the system safety, the state of the upper control subsystem, and the state of the lower control subsystem. If the system is safe, the state of the upper control subsystem is normal, and the state of the lower control subsystem is normal, then the first control instruction is generated according to the energy carbon data and the first control strategy and sent to the adjacent lower control subsystem; if the system is not safe, a safe shutdown is performed or a safe mode is entered; if the system is safe and the state of the upper control subsystem is abnormal, autonomous error correction and / or backup logic is executed, and then the state of the lower control subsystem is confirmed to be normal; if the system is safe, the state of the upper control subsystem is normal and the state of the lower control subsystem is abnormal, then the first control instruction is generated according to the energy carbon data and the first control strategy, and the first control instruction is sent to the adjacent lower control subsystem or the adjacent lower control subsystem is skipped.

[0166] In other examples, the steps of performing autonomous error correction and / or executing backup logic, and / or skipping the adjacent lower-level control subsystem may be replaced with corresponding takeover steps, which will not be described in detail here.

[0167] It can be understood that the energy carbon control method of the embodiment of the present application relies on a hierarchical supervised energy carbon control system. During energy carbon control, each control subsystem can collect data from the connected lower-level subsystems, and when it is necessary to issue a control instruction, it is issued to one of the adjacent lower-level subsystems, the backup subsystem, and the energy carbon equipment according to the status of the lower-level subsystem. It can not only improve the reliability of the multi-layer control architecture, but also the entire energy carbon control system can continue to operate in a downgraded manner when the control subsystem is abnormal, thereby greatly improving the system's operational safety and efficiency. Moreover, the state evaluation, control decision, and instruction generation algorithms in the energy carbon control process are dynamic and can be carried out continuously. When the energy carbon data, control targets, and data network system parameter data of the carbon reduction and consumption reduction work subject change, they can be updated in real time. The state evaluation, control decision, and instruction generation algorithms can also be continuously upgraded based on historical, real-time data, and evaluation feedback data learning, so that they have excellent optimization capabilities and reliability.

[0168] Accordingly, see Figure 8 , Figure 8 for Figure 3 The controller 21 of the embodiment of the present application includes a first acquisition module 211 , a state evaluation module 212 , an instruction generation module 213 and an instruction processing module 214 .

[0169] The first acquisition module 211 is used to obtain the energy and carbon data of each connected lower-level control subsystem and / or energy and carbon equipment;

[0170] A state evaluation module 212, for determining the state of each lower-level control subsystem based on the state data of each connected lower-level control subsystem;

[0171] The instruction generation module 213 is used to generate a first control instruction based on the energy carbon data and the first control strategy, where the first control strategy is used to characterize the issuance of instructions to the lower-level control subsystem and / or energy carbon equipment;

[0172] The instruction processing module 214 is used to issue a first control instruction to one of the adjacent lower-level control subsystems, the backup subsystem and / or the energy-carbon device based on the state of each lower-level control subsystem.

[0173] See also Fig. 9 , Fig. 9 for Figure 3Schematic diagram of the specific structure of the controller in the middle layer. In some embodiments, the controller 21 located in the middle layer or the bottom layer of the multi-layer control subsystem also includes a second acquisition module 215 and a strategy determination module 216, and the strategy determination module 216 is connected between the state evaluation module 212 and the instruction generation module 213. The second acquisition module 215 is used to obtain the third control instruction of the connected upper-layer control subsystem; the state evaluation module 212 is also used to perform state detection on the third control instruction to determine the state of the connected upper-layer control subsystem; the strategy determination module 216 is used to determine the current control strategy based on the state of the connected upper-layer control subsystem and the third control instruction, and the current control strategy is the first control strategy or the second control strategy.

[0174] In some embodiments, the policy determination module 216 is specifically configured to:

[0175] If the state of the connected upper control subsystem is normal, the third control instruction is executed to obtain the current control strategy;

[0176] If the state of the connected upper-level control subsystem is an abnormal state, the third control instruction is processed based on the abnormality processing strategy to obtain the current control strategy.

[0177] In some embodiments, the policy determination module 216 is specifically configured to:

[0178] Feedback the abnormal state to the upper control subsystem, and request the upper control subsystem to adjust the third control instruction;

[0179] Alternatively, performing error correction processing on the third control instruction, and obtaining the current control strategy based on the error-corrected instruction;

[0180] Alternatively, a preset standby instruction is executed to replace the third control instruction to obtain a current control strategy;

[0181] Alternatively, at least partially take over the upper-level control subsystem and redefine the third control instruction.

[0182] In some embodiments, the status detection includes at least one of data integrity detection, instruction format detection, signature verification, instruction contradiction detection, and instruction excess detection.

[0183] In some embodiments, before the status assessment module 212, the controller 21 may also include a safety assessment module 219, which is used to perform system safety detection; if the control subsystem is safe, the status assessment module 212 performs a status detection on the third control instruction; if the control subsystem is unsafe, the safety assessment module 219 executes a safe shutdown or enters a safe mode.

[0184] In some embodiments, the strategy determination module 216 is further connected to a plan library 217 , which stores a variety of exception handling strategies corresponding to when the status of each layer of control subsystem is an abnormal state.

[0185] In some embodiments, the strategy determination module 216 is further connected to a physical model database 218 , in which the control information of the energy carbon management and control system is stored, and the control information includes an instruction transmission path and a control object.

[0186] In some embodiments, the instruction processing module 214 is specifically used to:

[0187] If the state of the adjacent lower control subsystem is abnormal, the adjacent lower control subsystem is skipped and the first control instruction is issued to each standby subsystem and one of the energy carbon devices, or the adjacent lower control subsystem is taken over and the first control instruction is issued to the adjacent lower control subsystem;

[0188] If the state of the adjacent lower-layer control subsystem is normal, a first control instruction is sent to the adjacent lower-layer control subsystem.

[0189] In some embodiments, the abnormal state includes a total abnormal state and a partial abnormal state; if the state of the adjacent lower-level control subsystem is an abnormal state, the instruction processing module 214 is specifically used to:

[0190] If the status of the adjacent lower-level control subsystem is all abnormal, then all adjacent lower-level control subsystems are taken over and the first control instruction is issued to the adjacent lower-level control subsystems, or the adjacent lower-level control subsystems are skipped and the first control instruction is issued to each standby subsystem and one of the energy carbon equipment;

[0191] If the state of the adjacent lower-layer control subsystem is a partially abnormal state, the abnormal part of the adjacent lower-layer control subsystem is taken over and a first control instruction is issued to the adjacent lower-layer control subsystem.

[0192] In some embodiments, if the states of the adjacent lower-level control subsystems are all abnormal states, the controller 21 further includes:

[0193] Based on the abnormal feedback strategy, an alarm is issued for the status of the adjacent lower-level control subsystem, and / or based on the fault recovery strategy, the adjacent lower-level control subsystem is controlled to perform fault recovery.

[0194] In some embodiments, the state assessment module 212 is specifically configured to:

[0195] Perform status analysis on the status data of each lower-level control subsystem to determine the status of each lower-level control subsystem. The status analysis method includes at least one of being based on a preset status threshold, based on historical status data, and based on a machine learning model.

[0196] In some embodiments, the state assessment module 212 is further configured to:

[0197] Obtaining feedback information of a lower-level control subsystem that executes the first control instruction;

[0198] The state of the lower-level control subsystem executing the first control instruction is updated based on the feedback information.

[0199] In some embodiments, the instruction generation module 213 is also used to generate a second control instruction based on the energy-carbon data and the second control strategy, and the second control strategy is used to characterize the execution of corresponding calculation processing; the instruction processing module 214 is also used to execute the second control instruction and obtain the processing result.

[0200] It can be understood that the energy carbon management system of the embodiment of the present application forms a hierarchical supervision structure through multiple layers of control subsystems connected in sequence. Each control subsystem can collect data from the connected lower-level subsystems, and when it is necessary to issue control instructions, it can issue them to the adjacent lower-level subsystems, backup subsystems and energy carbon devices according to the status of the lower-level subsystems. This not only improves the reliability of the multi-layer control architecture, but also the entire energy carbon management system can continue to operate in a downgraded manner when an abnormality occurs in the control subsystem, thereby greatly improving the operating safety and efficiency of the system.

[0201] Accordingly, the present application embodiment also provides an electronic device. Fig.10 , Fig.10 Schematic diagram of the structure of an electronic device of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0202] The electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41 in communication, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by the at least one processor 41, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44. Multiple components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0203] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods described in the aforementioned embodiments, such as the energy carbon management method, or the processor 41 can be configured in the control subsystem of the energy carbon management system described in the aforementioned embodiments.

[0204] In some embodiments, the energy carbon management method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the energy carbon management method described in the aforementioned embodiment may be performed, or the processor 41 may be configured in the control subsystem of the energy carbon management system of the aforementioned embodiment. Alternatively, in other embodiments, the processor 41 may be configured to execute the energy carbon management method in any other appropriate manner (e.g., by means of firmware).

[0205] In the context of the present application embodiment, computer readable storage medium can be a tangible medium, which can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer readable storage medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above. Alternatively, computer readable storage medium can be a machine readable signal medium. A more specific example of a machine readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0206] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0207] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0208] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in the embodiments of the present application can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present application can be achieved, and this document is not limited here.

[0209] The above is a detailed introduction to a carbon management method, system, electronic device and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for carbon management, characterized in that: A control subsystem applied to an energy carbon management and control system, the energy carbon management and control system comprises an energy carbon device and multiple layers of the control subsystems connected in sequence, at least part of the control subsystems are also connected to a backup subsystem and / or the energy carbon device, the backup subsystem is at least one of the control subsystems located in a lower layer corresponding to the control subsystem and not adjacent to the corresponding control subsystem; the method comprises: Acquire energy and carbon data of each connected lower-level control subsystem and / or the energy and carbon equipment; Determining the status of each lower-level control subsystem based on the status data of each connected lower-level control subsystem; Based on the energy carbon data and a first control strategy, a first control instruction is generated, wherein the first control strategy is used to characterize the issuance of instructions to the lower-level control subsystem and / or the energy carbon device; Based on the state of each lower-level control subsystem, the first control instruction is issued to one of the adjacent lower-level control subsystem, the backup subsystem and the energy carbon device.

2. The energy carbon management method according to claim 1, characterized in that: The step of issuing the first control instruction includes: If the state of the adjacent lower control subsystem is abnormal, skip the adjacent lower control subsystem and issue the first control instruction to each of the backup subsystems and one of the energy carbon devices, or take over the adjacent lower control subsystem and issue the first control instruction to the adjacent lower control subsystem; If the state of the adjacent lower-layer control subsystem is normal, the first control instruction is sent to the adjacent lower-layer control subsystem.

3. The energy carbon management method according to claim 2, characterized in that: The abnormal state includes a total abnormal state and a partial abnormal state; if the state of the adjacent lower-layer control subsystem is the abnormal state, the step of issuing the first control instruction includes: If the state of the adjacent lower-level control subsystem is the all abnormal state, all of the adjacent lower-level control subsystems are taken over and the first control instruction is issued to the adjacent lower-level control subsystems, or the adjacent lower-level control subsystems are skipped and the first control instruction is issued to each of the backup subsystems and one of the energy carbon devices; If the state of the adjacent lower-level control subsystem is the partial abnormal state, taking over the abnormal part of the adjacent lower-level control subsystem and issuing the first control instruction to the adjacent lower-level control subsystem.

4. The energy carbon management method according to claim 3, characterized in that: If the state of the adjacent lower-layer control subsystem is the all abnormal state, the method further includes: Based on the abnormal feedback strategy, an alarm is issued for the state of the adjacent lower-level control subsystem, and / or based on the fault recovery strategy, the adjacent lower-level control subsystem is controlled to perform fault recovery.

5. The energy carbon management method according to claim 1, characterized in that: The determining the state of each lower-level control subsystem based on the state data of each connected lower-level control subsystem comprises: Performing status analysis on the status data of each lower-level control subsystem to determine the status of each lower-level control subsystem, wherein the status analysis method includes at least one of being based on a preset status threshold, based on historical status data, and based on a machine learning model.

6. The energy carbon management method according to claim 1, characterized in that: The method further comprises: Obtaining feedback information from a lower-level control subsystem that executes the first control instruction; The state of the lower-level control subsystem that executes the first control instruction is updated based on the feedback information.

7. The energy carbon management method according to claim 1, characterized in that: After obtaining the energy carbon data, the method further includes: generating a second control instruction based on the energy-carbon data and the second control strategy, wherein the second control strategy is used to characterize the execution of a corresponding calculation process; Execute the second control instruction to obtain a processing result.

8. The energy carbon management method according to claim 7, characterized in that: If the control subsystem is located in the middle layer or the bottom layer of the multi-layer control subsystem, the step of obtaining the first control strategy and the second control strategy includes: Obtaining a third control instruction of the connected upper-level control subsystem; Performing status detection on the third control instruction to determine the status of the connected upper-level control subsystem; Based on the state of the connected upper-level control subsystem and the third control instruction, a current control strategy is determined, and the current control strategy is the first control strategy or the second control strategy.

9. The energy carbon management method according to claim 8, characterized in that: Determining a current control strategy based on the state of the connected upper-level control subsystem and the third control instruction includes: If the state of the connected upper control subsystem is normal, executing the third control instruction to obtain the current control strategy; If the state of the connected upper-level control subsystem is an abnormal state, the third control instruction is processed based on the abnormality processing strategy to obtain the current control strategy.

10. The energy carbon management method according to claim 9, characterized in that: The processing of the third control instruction based on the exception handling strategy to obtain the current control strategy includes: Feedback the abnormal state to the upper control subsystem, and request the upper control subsystem to adjust the third control instruction; Alternatively, performing error correction processing on the third control instruction, and obtaining the current control strategy based on the error-corrected instruction; Alternatively, executing a preset standby instruction to replace the third control instruction to obtain the current control strategy; Alternatively, the upper-level control subsystem is at least partially taken over to redefine the third control instruction.

11. The energy carbon management method according to claim 8, characterized in that: The status detection includes at least one of data integrity detection, instruction format detection, signature verification, instruction contradiction detection and instruction overlimit detection.

12. The energy carbon management method according to claim 8, characterized in that: Before performing state detection on the third control instruction, the method further includes: Perform system security checks; If the control subsystem is safe, performing a status detection on the third control instruction; If the control subsystem is unsafe, a safe shutdown is performed or a safe mode is entered.

13. The energy carbon management method according to claim 1, characterized in that: The control subsystem of each layer includes at least one controller, and each of the controllers is connected to at least part of the controllers arranged at the same layer so as to execute hot standby instructions when the controller connected to the same layer is abnormal.

14. An energy carbon management system, characterized in that: include: Energy carbon equipment; Multiple layers of sequentially connected control subsystems, at least some of which are also connected to a backup subsystem and / or the energy carbon device, and the backup subsystem is at least one of the control subsystems located in a lower layer of the corresponding control subsystem and not adjacent to the corresponding control subsystem; Wherein, the control subsystem includes at least one controller, and the controller includes: A first acquisition module is used to obtain energy carbon data of each connected lower control subsystem and / or the energy carbon equipment; A state evaluation module, for determining the state of each lower-level control subsystem based on the state data of each connected lower-level control subsystem; An instruction generation module, used for generating a first control instruction based on the energy carbon data and a first control strategy, wherein the first control strategy is used for characterizing the issuance of an instruction to the lower-level control subsystem and / or the energy carbon device; The instruction processing module is used to issue the first control instruction to one of the adjacent lower-level control subsystems, the backup subsystem and / or the energy-carbon device based on the status of each lower-level control subsystem.

15. The energy carbon management system according to claim 14, characterized in that: The controller located in the middle layer or the bottom layer of the control subsystem of the multiple layers of the control subsystem further includes: A second acquisition module, used for acquiring a third control instruction of the connected upper control subsystem; The state evaluation module is further used to perform state detection on the third control instruction to determine the state of the connected upper control subsystem; A strategy determination module, wherein the strategy determination module is connected between the state evaluation module and the instruction generation module, and the strategy determination module is used to determine a current control strategy based on the state of the connected upper-level control subsystem and the third control instruction, wherein the current control strategy is the first control strategy or the second control strategy.

16. The energy carbon management system according to claim 15, characterized in that: The strategy determination module is also connected to a plan library, and the plan library stores a variety of exception handling strategies corresponding to when the state of the control subsystem at each layer is an abnormal state.

17. The energy carbon management system according to claim 15, characterized in that: The strategy determination module is also connected to a physical model database, and the physical model database stores control information of the energy and carbon management system, wherein the control information includes an instruction transmission path and a control object.

18. The energy carbon management system according to claim 14, characterized in that: The total number of layers of the control subsystems connected in sequence is M. From the direction close to the energy-carbon device to the direction far away from the energy-carbon device, n consecutive layers of the control subsystems are connected in sequence. After the n layers of the control subsystems, each layer of the control subsystems in the m consecutive layers of the control subsystems is also connected to the backup subsystem and / or the energy-carbon device, satisfying: m+n=M.

19. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the energy carbon management method as described in any one of claims 1-13, or so that the processor can be configured in a control subsystem in the energy carbon management system as described in any one of claims 14-18.

20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which are used to enable a processor to implement the energy carbon management method as described in any one of claims 1 to 13 when executed, or the computer instructions are used to enable a processor to be configured in a control subsystem in an energy carbon management system as described in any one of claims 14 to 18.