Energy flow mode configuration method, electronic device, storage medium and product

By allowing users to customize energy flow modes through a configuration interface, the problems of long configuration cycles and low efficiency in existing energy systems are solved, enabling flexible energy flow management, meeting personalized needs, and improving user experience.

CN122198382APending Publication Date: 2026-06-12SOLAR POWER NETWORK TECHNOLOGY (ZHEJIANG) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SOLAR POWER NETWORK TECHNOLOGY (ZHEJIANG) CO LTD
Filing Date
2025-11-26
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

Existing energy systems lack flexibility, and users cannot configure energy flow patterns themselves, resulting in long configuration cycles, low efficiency, and an inability to meet personalized needs.

Method used

A method for configuring energy flow modes is provided, which receives user configuration information through a user configuration interface, allowing users to customize the energy flow mode in the energy system, including device type and priority, and supports device role switching and adaptive adjustment.

Benefits of technology

It enables users to configure energy flow modes independently, shortens the configuration cycle, improves configuration efficiency, meets personalized needs, and enhances the flexibility of the energy system and the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122198382A_ABST
    Figure CN122198382A_ABST
Patent Text Reader

Abstract

The application discloses an energy flow mode configuration method, electronic equipment, a storage medium and a product, and belongs to the technical field of energy management. The energy flow mode configuration method comprises the following steps: receiving configuration information of an energy flow mode of an energy system by a user configuration interface; and configuring at least one energy flow mode of the energy system according to the configuration information. The configuration information comprises at least one first type of device configured for a first energy processing role, and a priority of first energy processing between the first type of devices; at least one second type of device belonging to a second energy processing role and configured for the first type of device, and a priority of second energy processing between the second type of devices. The user can configure the energy flow mode according to the own demand, the configuration period is shortened, and the configuration efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of energy management technology, specifically to an energy flow pattern configuration method, electronic device, storage medium, and product. Background Technology

[0002] With the development of energy management technology, the management of energy systems (such as energy storage systems, thermal systems, and fluid systems) has been widely applied in industrial production and residential life, aiming to provide users with refined and intelligent energy supply and dispatch solutions. However, in existing energy systems, solution providers typically only offer a fixed and limited set of preset energy consumption modes, restricting users to choose within the range set by the manufacturer, making it difficult to meet diverse and personalized needs.

[0003] In practical applications, different users have different energy usage scenarios and needs. Some users have special energy flow pattern requirements. For example, in energy storage systems, users may want to prioritize the use of photovoltaic power to minimize the purchase of electricity from the grid; in heating systems, users may want to prioritize the use of solar water heating and use gas boilers as backup heat sources; in fluid systems, users may want to prioritize the extraction of liquid from storage tanks during periods of low fluid (e.g., water) prices to reduce costs. Existing solutions lack flexibility in addressing these special needs. Users cannot configure energy flow patterns themselves and can only rely on vendors for customized development, resulting in long configuration cycles, low configuration efficiency, and severely impacting user experience. Summary of the Invention

[0004] To address the aforementioned technical issues, embodiments of this application provide an energy flow mode configuration method, apparatus, electronic device, storage medium, and product, enabling users to configure energy flow modes according to their own needs, shortening the configuration cycle, and improving configuration efficiency.

[0005] Firstly, a method for configuring energy flow patterns is provided, applied to an energy system comprising multiple types of equipment, wherein at least one type of equipment belongs to a first energy processing role, and at least one type of equipment belongs to a second energy processing role. The method includes: The system receives configuration information from the user regarding the energy flow mode of the energy system through a user configuration interface. Configure at least one energy flow mode of the energy system according to the configuration information; The configuration information includes at least one first type of device configured for the first energy processing role, and the priority of the first type of devices in performing the first energy processing. The available second type of device configured for the first type of device and belonging to the second energy processing role, and the priority of second energy processing among the second type of devices; When the first energy processing role is an energy harvesting device, the second energy processing role is an energy supply device, the first energy processing is for energy harvesting, and the second energy processing is for energy supply; when the first energy processing role is an energy supply device, the second energy processing role is an energy harvesting device, the first energy processing is for energy supply, and the second energy processing is for energy harvesting.

[0006] In some of these design approaches, the first type of device includes at least one first device, the second type of device includes at least one second device, and the configuration information also includes at least one first device configured for the first energy processing role and the priority of the first energy processing among the first devices; At least one second device configured and available for the first device, and the priority of second energy processing between the second devices.

[0007] In some of these design approaches, receiving configuration information from the user regarding the energy flow mode of the energy system via a user configuration interface includes: The display mode configuration interface shows various devices in the energy system, a first energy processing role sorting area, and a second energy processing role sorting area. In response to dragging at least one first target type device from the devices to the first energy processing role sorting area, the first target type device is determined to be a first type device in the energy flow mode to be configured, and the priority of performing first energy processing among the first type devices is determined. In response to dragging at least one second target type device from the devices to the second energy processing role sorting area corresponding to the first type device, the second target type device is determined to be a second type device available to the first type device, and the priority of performing second energy processing among the second type devices is determined.

[0008] In some design embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: Based on the energy flow relationships between different types of devices in the energy flow pattern, an energy flow diagram of the energy flow pattern is generated and displayed. The energy flow diagram includes device nodes and connecting edges between device nodes. Each device node corresponds to a type of device, and the connecting edges between device nodes are used to indicate the direction of energy flow between device nodes.

[0009] In some design embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: In response to the operating parameter values ​​configured for each type of device in the energy flow mode, an energy flow result is generated, which indicates whether the energy flow of the energy flow mode is normal or abnormal.

[0010] In some of these designs, at least one type of device in the energy system is capable of switching between a first energy processing role and a second energy processing role.

[0011] In some design embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: The energy flow pattern, the pattern category of the energy flow pattern, and / or the user's geographic information are uploaded to the server so that the server can recommend the energy flow pattern to other users. The server recommends the energy flow pattern to other users, including: The server determines a first target user group associated with the pattern category and recommends the energy flow pattern to the first target user group; and / or The server recommends the energy flow pattern to the second target user group within the region corresponding to the geographical information.

[0012] Secondly, an energy flow pattern configuration device is also provided, the device comprising: The receiving module is used to receive configuration information of the energy flow mode of the energy system from the user through the user configuration interface; A configuration module is used to configure at least one energy flow mode of the energy system according to the configuration information; The configuration information includes at least one first type of device configured for the first energy processing role, and the priority of the first type of devices in performing the first energy processing. The available second type of device configured for the first type of device and belonging to the second energy processing role, and the priority of second energy processing among the second type of devices; When the first energy processing role is an energy harvesting device, the second energy processing role is an energy supply device, the first energy processing is for energy harvesting, and the second energy processing is for energy supply; when the first energy processing role is an energy supply device, the second energy processing role is an energy harvesting device, the first energy processing is for energy supply, and the second energy processing is for energy harvesting.

[0013] Thirdly, embodiments of this application also provide an electronic device, including a memory storing multiple instructions; a processor loads instructions from the memory to execute the steps of an energy flow mode configuration method provided in embodiments of this application.

[0014] Fourthly, a computer-readable storage medium is also provided, on which a computer program is stored, the computer program being loaded by a processor to execute the steps of an energy flow pattern configuration method provided in the embodiments of this application.

[0015] Fifthly, embodiments of this application also provide a computer program product, including a computer program or instructions, wherein the computer program or instructions are executed by a processor to perform the steps of an energy flow pattern configuration method provided in embodiments of this application.

[0016] Beneficial effects: In this embodiment, a user configuration interface allows users to flexibly configure the first type of equipment (e.g., conventional loads, batteries, charging piles) and their respective first energy processing priorities (e.g., energy extraction priorities) for the first energy processing role (e.g., energy extraction device) in the energy system, thereby ensuring the priority of energy supply to critical loads. Furthermore, it also allows configuration of the second type of equipment (e.g., photovoltaic, grid, batteries) available to each first type of equipment as a second energy processing role (e.g., energy supply device) and their respective second energy processing priorities (e.g., energy supply priorities), achieving precise selection and prioritization of energy. Based on this user configuration interface, it enables the self-construction of energy flow patterns that meet personalized scenario requirements without vendor intervention in customized development, significantly shortening the energy flow pattern configuration cycle and improving configuration efficiency. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 This is a flowchart illustrating the energy flow pattern configuration method provided in an exemplary embodiment of this disclosure; Figure 2 This is a schematic diagram of a mode configuration interface provided in an exemplary embodiment of this disclosure; Figure 3 This is a schematic diagram of the device resource library area in the mode configuration interface provided in the exemplary embodiments of this disclosure; Figure 4This is another schematic diagram of the mode configuration interface provided in the exemplary embodiments of this disclosure; Figure 5 This is a schematic diagram of an energy flow diagram provided by an exemplary embodiment of this disclosure; Figure 6 This is a schematic diagram illustrating the import / export of energy flow patterns provided by an exemplary embodiment of this disclosure; Figure 7 This is a schematic diagram of an energy flow mode configuration device provided in some embodiments of this application; Figure 8 These are schematic diagrams of the structure of electronic devices provided in some embodiments of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0020] In the description of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0021] "A and / or B" includes the following three combinations: A only, B only, and a combination of A and B.

[0022] The use of "applies to" or "configured to" in this application implies open and inclusive language, which does not exclude the applicability to or configuration to devices performing additional tasks or steps. Additionally, the use of "based on" implies openness and inclusivity, because processes, steps, calculations, or other actions "based on" one or more of the stated conditions or values ​​may in practice be based on additional conditions or values ​​beyond those stated.

[0023] In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use this application. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that this application can be made without using these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of this application with unnecessary detail. Therefore, this application is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0024] On one hand, this embodiment provides an energy flow pattern configuration method applied to an energy system, which includes multiple types of devices, wherein at least one type of device belongs to a first energy processing role, and at least one type of device belongs to a second energy processing role, such as... Figure 1 The diagram shown is a flowchart illustrating an exemplary embodiment of the energy flow pattern configuration method provided in this disclosure. The energy flow pattern configuration method includes steps S11-S12: S11. Receive configuration information from the user regarding the energy flow mode of the energy system through the user configuration interface.

[0025] Specifically, an energy system refers to a physical system that includes various energy processing devices and is capable of realizing the inflow, outflow, storage, or conversion of energy, including but not limited to electrochemical energy storage systems, thermal systems, and fluid systems. For example, in an energy storage system, devices may include photovoltaics, wind turbines, power grids, batteries, charging piles, and household loads; in a thermal system, devices may include solar collectors, gas boilers, heat pumps, hot water storage tanks, and heating terminals. These devices work together in the system to jointly complete the transmission and distribution of energy.

[0026] The primary energy processing role can be an energy harvesting device in the energy system (i.e., a device that consumes or absorbs energy from the energy system; for example, in an electric energy storage system, the energy harvesting device can be a load or a charging pile) or an energy supply device (i.e., a device that provides or outputs energy to the energy system; for example, in an electric energy storage system, the energy supply device can be a photovoltaic system or a generator).

[0027] The second energy processing role and the first energy processing role appear in pairs and are logically mutually exclusive: when the first energy processing role is an energy harvesting device, the second energy processing role is an energy supply device; conversely, when the first energy processing role is an energy supply device, the second energy processing role is an energy harvesting device. The equipment of the second energy processing role constitutes the energy source or energy destination of the equipment of the first energy processing role.

[0028] Users interact with the energy system's control unit through a user configuration interface, which can be in the form of a graphical user interface (GUI), web page, mobile application, or command line interface. Through this user configuration interface, the energy system receives configuration information input by the user.

[0029] In other embodiments, the user configuration interface may receive configuration information in the form of a predefined configuration file. For example, users can generate a configuration file by editing structured data (e.g., tabular data) or filling in a standard configuration template. The energy system provides a configuration file import interface to receive configuration files submitted by users. The data format of the configuration file can be JSON, XML, YAML, or CSV, etc. The energy system can extract the configuration information by parsing the configuration file.

[0030] S12. Configure at least one energy flow mode of the energy system according to the configuration information; The configuration information includes at least one first type of device configured for the first energy processing role, and the priority of the first type of devices in performing the first energy processing. The available second type of device configured for the first type of device and belonging to the second energy processing role, and the priority of second energy processing among the second type of devices; When the first energy processing role is an energy harvesting device, the second energy processing role is an energy supply device, the first energy processing is for energy harvesting, and the second energy processing is for energy supply; when the first energy processing role is an energy supply device, the second energy processing role is an energy harvesting device, the first energy processing is for energy supply, and the second energy processing is for energy harvesting.

[0031] Specifically, the configuration information includes the following content A11-A12: A11, at least one first type of device configured for a first energy processing role, and the priority of first energy processing among the first type of devices.

[0032] Among them, the first type of equipment refers to one or more types of equipment selected by the user from all types of equipment in the energy system to play the role of the first energy processing. For example, taking the energy system as an electric energy storage system, the user can choose "conventional load" and "charging pile" as the two types of equipment as the first energy processing role, and the first energy processing role is "energy harvesting equipment".

[0033] The priority of first-type energy processing defines the execution order that the energy system should follow when multiple devices of type 1 simultaneously request to perform their role actions (e.g., draw power or supply power). For example, a user can set a power draw priority for the two types of devices mentioned above: regular loads have the highest priority, and charging stations have the second highest priority. This means that the energy system must always prioritize the power needs of regular loads and only allow charging stations to draw power when there is surplus energy.

[0034] A12, at least one second type of device configured for the first type of device and belonging to the second energy processing role, and the priority of second energy processing among the second type of devices.

[0035] Specifically, A12 can configure a uniform energy source (when the first energy processing role is an energy harvesting device) or a uniform energy destination (when the first energy processing role is an energy supply device) for all Type I devices, or it can configure a separate energy source or a separate energy destination for each Type I device.

[0036] The second type of equipment refers to the set of equipment that the user designates to interact with the first type of equipment. For example, for the first type of equipment "conventional load" (energy extraction role), the user can designate the available second type of equipment (energy supply role) as "photovoltaic", "battery", and "grid".

[0037] The priority of the second energy processing defines the order in which the energy system should select from the multiple second-type devices configured for it when the first-type device needs to perform its role. Continuing the example above, the user can set the power supply priority for regular loads as follows: prioritize photovoltaic power supply, activate battery discharge if photovoltaic power supply is insufficient, and finally use grid power purchase.

[0038] Table 1 below shows an example of configuration information provided in one embodiment of this application: Table 1

[0039] In Table 1 above, the rows show various energy flow modes. The "Power Extraction Equipment Priority" column shows the first type of equipment belonging to the power extraction equipment role and the power extraction priority of the first type of equipment. For example, in the energy flow mode of energy storage discharge mode, the first type of equipment belonging to the power extraction equipment role includes conventional loads, the power grid, and batteries. Their power extraction priority from high to low is conventional loads, the power grid, and batteries. The "Conventional Load Power Supply Equipment Priority" column shows the second type of equipment that is available to conventional loads and belongs to the power supply equipment role, and the power supply priority of the second type of equipment. For example, in the energy storage discharge mode, the power supply equipment for conventional loads includes photovoltaics, batteries, and the power grid. The power supply priority of each power supply equipment from high to low is photovoltaics, batteries, and the power grid.

[0040] Furthermore, upon receiving the configuration information, the energy system's control unit will parse and verify the configuration information and convert it into control logic that the energy system can execute, thereby completing the configuration of the energy flow mode.

[0041] This configured energy flow pattern is essentially a set of control logic that defines the path and sequence of energy flow between devices within the energy system. During operation, the energy system monitors the status of each device in real time (such as power, charge, and switch status) and makes decisions based on this energy flow pattern. For example, when a regular load (a high-priority energy-harvesting device) has a power demand, the energy system will immediately attempt to obtain power from photovoltaics, batteries, and the grid in sequence, according to the pre-defined priority order of the power-supplying devices, until the demand of the regular load is met.

[0042] In this embodiment of the application, the energy flow mode configuration method described above gives the user the right to configure the energy flow mode, so that the user can freely combine energy management strategies that meet the needs of personalized scenarios by defining devices with different energy processing roles and their priorities, just like building blocks, which greatly improves the flexibility of the energy system and the user experience.

[0043] In some embodiments, at least one type of device in the energy system is capable of switching between the first energy processing role and the second energy processing role.

[0044] Specifically, some devices in an energy system have a dual role: they can be either primary or secondary energy processing devices. For example, batteries and charging piles in an electric energy storage system can both serve as energy supply devices and energy extraction devices.

[0045] Such devices can switch their energy processing roles based on changes in their internal state or control commands issued by the energy system. For example, a battery in an energy storage system can act as a power supplier to supply power to conventional loads when its charge is sufficient, playing a secondary energy processing role; while when its charge falls below a set threshold, it switches to an energy harvester, drawing power from photovoltaics or the grid for charging, at which point it plays the primary energy processing role. Similarly, charging piles can also switch between acting as an energy harvester and as a power supplier, depending on grid demand or user settings.

[0046] This role-switching scheme transforms energy flow patterns from static to adaptively adjusting based on the real-time status of the energy system. When configuring energy flow patterns, users or the energy system can pre-set the behavioral logic for devices with dual roles under different operating conditions, including the trigger conditions for role switching and their priority within each role. During system operation, the control unit continuously monitors the device status. Once the pre-set switching conditions are met, it automatically triggers the role switch and reschedules the energy flow path according to the priority of the new role. This role-switching scheme enhances the energy system's adaptability and operational efficiency, enabling it to more intelligently balance energy supply and demand and optimize energy utilization.

[0047] In some embodiments, the first type of device includes at least one first device, the second type of device includes at least one second device, and the configuration information also includes at least one first device configured for the first energy processing role and the priority of the first energy processing among the first devices; At least one second device configured and available for the first device, and the priority of second energy processing between the second devices.

[0048] Specifically, this step further refines the granularity of energy flow mode configuration, allowing configuration not only by device type but also by individual device. For example, in an energy storage system containing multiple battery banks, the user can configure battery 1 as the highest priority device in the power supply role, responsible for powering the load; while configuring battery 2 as a lower priority device, only activated when other energy sources are exhausted, serving as a final backup power supply device.

[0049] By configuring specific devices, the embodiments of this application enhance the precision and flexibility of energy flow pattern customization. Users are no longer limited to the unified scheduling of entire categories of devices, but can tailor the role and behavior of each device in the energy system according to its specific performance, location, or purpose, thereby meeting more complex and demanding personalized energy management scenarios.

[0050] In some embodiments, receiving configuration information of the energy flow mode of the energy system from the user through the user configuration interface includes steps S111-S113: S111. Display mode configuration interface, which displays various devices in the energy system, a first energy processing role sorting area, and a second energy processing role sorting area.

[0051] like Figure 2 The diagram shown is a schematic of a mode configuration interface provided in an exemplary embodiment of this disclosure. This mode configuration interface includes three visual areas: a device resource library area, a first energy processing role sorting area, and a second energy processing role sorting area. The device resource library area displays all configurable devices in the energy system in the form of icons or lists (i.e., displaying all current devices), such as photovoltaics, batteries, power grids, generators, charging piles, and conventional loads. The first energy processing role sorting area receives and presents various devices designated by the user as first energy processing roles and their priority order (e.g., receiving and displaying the priority of energy harvesting devices). The second energy processing role sorting area typically appears in conjunction with the first energy processing role area and is used to specify the available energy interaction objects for each first energy processing role device (e.g., receiving and displaying the priority of the energy supply device for the selected energy harvesting device). Alternatively, a uniform energy interaction object can be specified for each first energy processing role device.

[0052] S112. In response to dragging at least one first target type device in the devices to the first energy processing role sorting area, the first target type device is determined to be a first type device in the energy flow mode to be configured, and the priority of performing first energy processing among the first type devices is determined.

[0053] When a user drags one or more icons of a first target type device (e.g., a regular load, a charging station, and a battery) from the device library to the first energy processing role sorting area, the energy system identifies these devices as the first type of device in the current energy flow mode to be configured. Simultaneously, the energy system determines the priority of first energy processing among these devices based on the order in which they are placed in the area, or their vertical / horizontal position within the area. For example, a regular load placed on the far left of the list is given the highest power extraction priority, a charging station next to it is given the second highest power extraction priority, and a battery at the end is given the lowest power extraction priority.

[0054] S113. In response to dragging at least one second target type device from the devices to the second energy processing role sorting area corresponding to the first type device, determine that the second target type device is a second type device available to the first type device, and determine the priority of second energy processing among the second type devices.

[0055] When a user selects a configured first-type device (e.g., a conventional load) in the first energy handling role sorting area, they drag at least one required second-target-type device (e.g., photovoltaic, battery, and grid) from the device library to the second energy handling role sorting area corresponding to that first-type device. The energy system then determines that these second-target-type devices are available from the aforementioned first-type devices and, similarly, determines their priority for second energy handling based on the order or position in which they are dragged into this area. For example, for a conventional load, the user sets its power supply priority by dragging the devices in the correct order: photovoltaic over charging piles, and charging piles over batteries.

[0056] By using the drag-and-drop and sorting operations in the mode configuration interface, the complex process of defining energy flow rules is transformed into an intuitive and easy-to-use visual configuration, which greatly reduces the user's operating threshold and ensures the accuracy and completeness of the configuration information, thereby efficiently generating user-customized energy flow modes.

[0057] The mode configuration interface allows configuration not only for various devices in the energy system, but also for individual devices, such as... Figure 3 The diagram shown is a schematic representation of a device resource library area in a mode configuration interface provided in an exemplary embodiment of this disclosure. This device resource library area in the mode configuration interface can display not only various types of equipment in the energy system, but also individual devices within those various types of equipment, for example... The mode configuration interface offers an advanced configuration option (not shown in the figure). When the user activates this advanced configuration option, the devices originally displayed in the mode configuration interface by type name (e.g., battery) will be further expanded or presented in a list format to show all specific devices of that type in the energy system (e.g., Battery 1, Battery 2). The user can select one or more of these specific devices to act as a first-type device or a second-type device.

[0058] This device-specific configuration enhances the precision and targeting of energy management. For example, users can assign different roles and tasks to different individual batteries based on their health status, installation location, or age. For instance, a user can configure a newer battery (Battery 1) as the primary power source for daily use, while setting an older battery (Battery 2) as a backup power source to be activated only in emergencies.

[0059] like Figure 4 The diagram shown is another schematic of a mode configuration interface provided in an exemplary embodiment of this disclosure. This schematic illustrates the selection of specific devices as a first energy processing role and / or a second energy processing role. Specifically, after the user places specific devices (e.g., a regular load, charging pile 1, charging pile 2, battery 1, and battery 2) into the first energy processing role sorting area, these devices are determined as the first devices in the current energy flow mode to be configured. Based on the order in which these first devices are placed in the area, or their positional relationship within the area, the priority of performing first energy processing among them is determined. For example, according to the order of these first devices from left to right in the first energy processing role sorting area, the order of energy extraction priority from high to low is determined as: regular load, charging pile 1, battery 1, charging pile 2, and battery 2.

[0060] When a user selects a configured first device (e.g., a regular load) in the first energy processing role sorting area, they drag at least one required second device (e.g., PV device 1, battery device 1, and charging pile device 2) from the device resource library to the second energy processing role sorting area corresponding to the first device. This determines that these devices are available as second devices (power supply devices) for the aforementioned first device. Similarly, based on the order or position in which they are dragged into the second energy processing role sorting area, their priority for second energy processing is determined. For example, for a regular load, based on the order of its corresponding second devices from left to right in the second energy processing role sorting area, the power supply priority from high to low is determined as: PV device 1, charging pile device 2, battery device 1.

[0061] In some embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: generating and displaying an energy flow diagram of the energy flow mode based on the energy flow relationship between different types of devices in the energy flow mode. The energy flow diagram includes device nodes and connecting edges between device nodes. Each device node corresponds to a type of device, and the connecting edges between device nodes are used to indicate the direction of energy flow between device nodes.

[0062] Specifically, based on the configured priorities, the energy system analyzes the energy flow relationships between different types of devices and constructs a topology graph containing device nodes and directional connection edges. Each device node represents a type of device participating in energy processing, and the connection edges between nodes indicate the energy flow path and direction, forming a complete schematic diagram of energy scheduling logic.

[0063] like Figure 5The diagram shown is a schematic diagram of an energy flow diagram provided in an exemplary embodiment of this disclosure. The diagram shows the path of energy flowing from energy supply devices (such as photovoltaics or batteries) to energy harvesting devices (such as conventional loads or charging piles) in the form of arrow connecting lines. Users can preview the energy flow of the energy system through this energy flow diagram.

[0064] In some embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: generating an energy flow result in response to the operating parameter values ​​configured for each type of device in the energy flow mode, the energy flow result indicating whether the energy flow of the energy flow mode is normal or abnormal.

[0065] Specifically, to further verify the feasibility of energy flow models before they are put into actual operation, the energy system provides an energy flow pre-verification function based on operating parameter simulation. The energy system receives operating parameter values ​​configured by the user for one or more types of equipment in the energy flow model. These operating parameters are key operating variables of the equipment under real operating conditions, such as the maximum output power of photovoltaic equipment, the rated capacity and current state of charge (SOC) of battery equipment, the rated power or predicted power curve of load equipment, and the power limit of the grid.

[0066] The energy system responds to the input of these operating parameter values, performs dynamic simulation calculations based on the priority rules and energy balance principles defined in the energy flow mode, and generates energy flow results accordingly. These results are not actual energy scheduling, but rather a predictive feedback mechanism, intended to indicate whether the logic of the energy flow mode can execute smoothly under the current operating parameter settings. Normal energy flow means that the energy system simulation calculations show that the energy demands of all devices can be met according to the user-configured priority order, without violating any device or energy system operating constraints. Conversely, abnormal energy flow indicates that infeasible situations were discovered during the simulation, such as: the power demand of a high-priority load exceeding the sum of the maximum power of all its available power-supplying devices; or a conflict between the charging power set for the battery and its current state; or the total power demand of multiple devices consistently exceeding the total energy supply capacity of the energy system.

[0067] Users can adjust equipment operating parameters or modify the priority configuration of energy flow mode based on abnormal results fed back by the energy system, thereby iteratively optimizing a solution that is both logical and meets actual working conditions, which can improve the success rate and stability of the final deployed energy flow mode.

[0068] In some embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: uploading the energy flow mode, the mode category of the energy flow mode and / or the user's geographic information to the server so that the server can recommend the energy flow mode to other users; The server recommends the energy flow pattern to other users, including: the server determines a first target user group associated with the pattern category and recommends the energy flow pattern to the first target user group; and / or the server recommends the energy flow pattern to a second target user group within the region corresponding to the regional information.

[0069] Specifically, after a user successfully configures at least one energy flow mode based on the configuration information, the energy system supports the user to upload the energy flow mode to the server. The uploaded data may include the energy flow mode, the mode category tag corresponding to the energy flow mode (e.g., home energy saving, emergency backup, etc.), and the user's geographical information (e.g., East China, Central China, etc.).

[0070] After receiving the uploaded data, the server can distribute and recommend it in two ways: First, the server can make targeted recommendations based on pattern categories. By analyzing the patterns' tags and functional attributes, it can accurately push them to the primary target user group who may have similar needs or equipment types. For example, an energy flow pattern under a pattern category labeled "home energy saving" will be recommended to household users who are labeled as "residential users" in the user profile and whose energy systems protect photovoltaic power generation equipment or energy storage batteries. Second, the server can make regional recommendations based on geographic information. Considering that users in the same region often face similar energy policies, climate conditions, and electricity prices, the server will prioritize recommending uploaded energy flow patterns to the secondary target user group located in the same region or in areas with similar climate characteristics, thereby improving the practicality and accuracy of the recommendations.

[0071] In some embodiments, this application provides import and export functions for energy flow patterns, such as... Figure 6 The diagram shown is a schematic of energy flow pattern import / export provided by an exemplary embodiment of this disclosure. The energy system provides users with pattern import and pattern export functions.

[0072] Pattern Export: Users can export their locally configured energy flow patterns. During export, the energy system generates a structured configuration file (e.g., JSON, XML) that encapsulates the energy flow pattern's configuration information. This pattern export operation offers two paths: one is exporting to the cloud, uploading the configuration file to the server and integrating it into the community pattern library for sharing and recommendation; the other is exporting to a local file, generating a separate file on the user's local device (such as a personal computer or system controller) for easy backup and offline transfer.

[0073] Pattern Import: Users can import energy flow pattern configuration files from external sources into their local energy system using the pattern import function. The energy system parses and verifies the imported configuration files, restoring them to configuration information recognizable by the energy system, and ultimately generating a locally usable energy flow pattern.

[0074] It's worth noting that during the export process, especially when specifying modes for particular devices, the energy system performs data security and privacy protection operations: replacing unique identifiers such as the device serial number (SN) in the configuration file with generic placeholders. This protects the user's device privacy information when sharing energy flow modes. Correspondingly, when importing such configuration files containing placeholders, the energy system requires the user to re-enter or re-bind the SN of the actual device existing in the current energy system to complete the local deployment of the energy flow mode.

[0075] Through the aforementioned import and export functions, this application embodiment not only realizes the migration and sharing of energy flow patterns, but also protects user privacy and configuration security, thereby enhancing the practical value and promotion efficiency of the energy flow pattern configuration method.

[0076] In some embodiments, the method further includes: counting the number of times each energy flow mode is imported, and if the number of times is greater than a preset threshold, integrating the corresponding energy flow mode into the energy flow mode recommendation library.

[0077] Specifically, the energy flow pattern recommendation library can be the pattern library of the energy system control software. That is, the energy flow patterns that are imported more often will be integrated into the energy system control software by the vendor, so that users can directly select the energy flow pattern from the control software.

[0078] The energy flow pattern configuration method provided in this application provides a user configuration interface that allows users to flexibly configure the first type of equipment (e.g., conventional loads, batteries, charging piles) and their respective first energy processing priorities (e.g., energy extraction priorities) for the first energy processing role (e.g., energy extraction device) in an energy system, thereby ensuring the priority of energy supply to critical loads. Furthermore, it also allows configuration of the second type of equipment (e.g., photovoltaic, grid, batteries) available to each first type of equipment as a second energy processing role (e.g., energy supply device) and their respective second energy processing priorities (e.g., energy supply priorities), achieving precise selection and prioritization of energy. Based on this user configuration interface, it enables the self-construction of energy flow patterns that meet personalized scenario requirements without vendor intervention in customized development, significantly shortening the energy flow pattern configuration cycle and improving configuration efficiency.

[0079] like Figure 7 The diagram shown is a schematic diagram of an energy flow mode configuration device 7 provided in some embodiments of this application. The energy flow mode configuration device 7 includes: The receiving module 71 is used to receive configuration information of the energy flow mode of the energy system from the user through the user configuration interface; Configuration module 72 is used to configure at least one energy flow mode of the energy system according to the configuration information; The configuration information includes at least one first type of device configured for the first energy processing role, and the priority of the first type of devices in performing the first energy processing. The available second type of device configured for the first type of device and belonging to the second energy processing role, and the priority of second energy processing among the second type of devices; When the first energy processing role is an energy harvesting device, the second energy processing role is an energy supply device, the first energy processing is for energy harvesting, and the second energy processing is for energy supply; when the first energy processing role is an energy supply device, the second energy processing role is an energy harvesting device, the first energy processing is for energy supply, and the second energy processing is for energy harvesting.

[0080] In some embodiments, the first type of device includes at least one first device, the second type of device includes at least one second device, and the configuration information also includes at least one first device configured for the first energy processing role and the priority of the first energy processing among the first devices; At least one second device configured and available for the first device, and the priority of second energy processing between the second devices.

[0081] In some embodiments, the receiving module 71 is further configured to: The display mode configuration interface shows various devices in the energy system, a first energy processing role sorting area, and a second energy processing role sorting area. In response to dragging at least one first target type device from the devices to the first energy processing role sorting area, the first target type device is determined to be a first type device in the energy flow mode to be configured, and the priority of performing first energy processing among the first type devices is determined. In response to dragging at least one second target type device from the devices to the second energy processing role sorting area corresponding to the first type device, the second target type device is determined to be a second type device available to the first type device, and the priority of performing second energy processing among the second type devices is determined.

[0082] In some embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the configuration module 72 is further configured to: Based on the energy flow relationships between different types of devices in the energy flow pattern, an energy flow diagram of the energy flow pattern is generated and displayed. The energy flow diagram includes device nodes and connecting edges between device nodes. Each device node corresponds to a type of device, and the connecting edges between device nodes are used to indicate the direction of energy flow between device nodes.

[0083] In some embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the configuration module 72 is further configured to: In response to the operating parameter values ​​configured for each type of device in the energy flow mode, an energy flow result is generated, which indicates whether the energy flow of the energy flow mode is normal or abnormal.

[0084] In some embodiments, at least one type of device in the energy system is capable of switching between the first energy processing role and the second energy processing role.

[0085] In some embodiments, after configuring at least one energy flow mode of the energy system according to the configuration information, the configuration module 72 is further configured to: The energy flow pattern, the pattern category of the energy flow pattern, and / or the user's geographic information are uploaded to the server so that the server can recommend the energy flow pattern to other users. The server recommends the energy flow pattern to other users, including: The server determines a first target user group associated with the pattern category and recommends the energy flow pattern to the first target user group; and / or The server recommends the energy flow pattern to the second target user group within the region corresponding to the geographical information.

[0086] The energy flow pattern configuration device provided in this application embodiment allows users to flexibly configure the first type of equipment (e.g., conventional loads, batteries, charging piles) and their respective first energy processing priorities (e.g., energy extraction priorities) for the first energy processing role (e.g., energy extraction equipment) in the energy system, thereby ensuring the priority of energy supply to critical loads. Furthermore, it also allows configuration of the second type of equipment (e.g., photovoltaic, grid, batteries) available to each first type of equipment as a second energy processing role (e.g., energy supply equipment) and their respective second energy processing priorities (e.g., energy supply priorities), achieving precise selection and prioritization of energy. Based on this user configuration interface, it enables the self-construction of energy flow patterns that meet personalized scenario requirements without vendor intervention in customized development, significantly shortening the energy flow pattern configuration cycle and improving configuration efficiency.

[0087] On the other hand, embodiments of this application also provide an electronic device, such as... Figure 8 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically: The electronic device may include components such as a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will understand that... Figure 8 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein: The processor 801 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines, and performs various functions and processes data by running or executing computer programs and / or modules stored in the memory 802, and by calling data stored in the memory 802. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 801.

[0088] The memory 802 can be used to store computer programs and modules. The processor 801 executes various functional applications and data processing by running the computer programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.

[0089] The electronic device also includes a power supply 803 that supplies power to the various components. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 803 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0090] The electronic device may also include an input unit 804, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0091] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 801 in the electronic device loads the executable files corresponding to the processes of one or more computer programs into the memory 802 according to the following instructions, and the processor 801 runs the computer programs stored in the memory 802 to realize various functions.

[0092] Based on the same inventive concept, embodiments of this application also provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0093] Since the computer program stored in the computer-readable storage medium can execute any of the energy flow mode configuration methods provided in the embodiments of this application, the beneficial effects that any of the energy flow mode configuration methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.

[0094] Based on the same inventive concept, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations of the above embodiments.

[0095] It should be noted that the object data (including but not limited to user device information, user personal information, etc.) and dialogue data involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of relevant countries and regions. Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods.

[0096] Any reference to memory, database, or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0097] The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0098] In the above embodiments of the energy flow mode configuration method, energy flow mode configuration device, computer-readable storage medium, electronic device, and computer program product, the descriptions of each embodiment have different focuses. Parts not described in detail in a particular embodiment can be referred to in the relevant descriptions of other embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes and beneficial effects of the energy flow mode configuration device, computer-readable storage medium, computer program product, electronic device, and their corresponding units described above can be referred to the description of the energy flow mode configuration method in the above embodiments, and will not be repeated here.

[0099] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0100] The foregoing has provided a detailed description of an energy flow pattern configuration method, energy flow pattern configuration device, electronic device, computer-readable storage medium, and computer program product provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims

1. A method for configuring energy flow patterns, characterized in that, Applied to an energy system comprising multiple types of equipment, wherein at least one type of equipment belongs to a first energy processing role and at least one type of equipment belongs to a second energy processing role, the method includes: The system receives configuration information from the user regarding the energy flow mode of the energy system through a user configuration interface. Configure at least one energy flow mode of the energy system according to the configuration information; The configuration information includes at least one first type of device configured for the first energy processing role, and the priority of the first type of devices in performing the first energy processing. The available second type of device configured for the first type of device and belonging to the second energy processing role, and the priority of second energy processing among the second type of devices; When the first energy processing role is an energy harvesting device, the second energy processing role is an energy supply device, the first energy processing is for energy harvesting, and the second energy processing is for energy supply; when the first energy processing role is an energy supply device, the second energy processing role is an energy harvesting device, the first energy processing is for energy supply, and the second energy processing is for energy harvesting.

2. The energy flow pattern configuration method according to claim 1, characterized in that, The first type of device includes at least one first device, the second type of device includes at least one second device, and the configuration information also includes at least one first device configured for the first energy processing role and the priority of the first energy processing among the first devices; At least one second device configured and available for the first device, and the priority of second energy processing between the second devices.

3. The energy flow pattern configuration method according to claim 1, characterized in that, The step of receiving configuration information from the user regarding the energy flow mode of the energy system through the user configuration interface includes: The display mode configuration interface shows various devices in the energy system, a first energy processing role sorting area, and a second energy processing role sorting area. In response to dragging at least one first target type device from the devices to the first energy processing role sorting area, the first target type device is determined to be a first type device in the energy flow mode to be configured, and the priority of performing first energy processing among the first type devices is determined. In response to dragging at least one second target type device from the devices to the second energy processing role sorting area corresponding to the first type device, the second target type device is determined to be a second type device available to the first type device, and the priority of performing second energy processing among the second type devices is determined.

4. The energy flow pattern configuration method according to claim 1, characterized in that, After configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: Based on the energy flow relationships between different types of devices in the energy flow pattern, an energy flow diagram of the energy flow pattern is generated and displayed. The energy flow diagram includes device nodes and connecting edges between device nodes. Each device node corresponds to a type of device, and the connecting edges between device nodes are used to indicate the direction of energy flow between device nodes.

5. The energy flow pattern configuration method according to claim 1, characterized in that, After configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: In response to the operating parameter values ​​configured for each type of device in the energy flow mode, an energy flow result is generated, which indicates whether the energy flow of the energy flow mode is normal or abnormal.

6. The energy flow pattern configuration method according to any one of claims 1-5, characterized in that, At least one type of device in the energy system is capable of switching between the first energy processing role and the second energy processing role.

7. The energy flow pattern configuration method according to any one of claims 1-5, characterized in that, After configuring at least one energy flow mode of the energy system according to the configuration information, the method further includes: The energy flow pattern, the pattern category of the energy flow pattern, and / or the user's geographic information are uploaded to the server so that the server can recommend the energy flow pattern to other users. The server recommends the energy flow pattern to other users, including: The server determines a first target user group associated with the pattern category and recommends the energy flow pattern to the first target user group; and / or The server recommends the energy flow pattern to the second target user group within the region corresponding to the geographical information.

8. An electronic device, characterized in that, include: A memory on which computer programs are stored; A processor for executing the computer program in the memory to implement the energy flow pattern configuration method as described in any one of claims 1-7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the energy flow pattern configuration method as described in any one of claims 1-7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the energy flow pattern configuration method as described in any one of claims 1-7.