Cloud-edge collaborative park multi-energy panoramic carbon metering and topology optimization method and device, equipment and medium
By building a local clock reference for edge nodes and binding energy channels in the park's energy management system, the problem of heterogeneous latency difference during cloud data capture was solved, enabling high-precision carbon flow relationship mapping and topology optimization control, and improving the low-carbon scheduling capability of the park's multi-energy system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING CHAOYANG ELECTRIC POWER IND DEV CO LTD
- Filing Date
- 2026-05-12
- Publication Date
- 2026-07-14
AI Technical Summary
In existing park energy management systems, the heterogeneous latency differences among underlying nodes when data is uniformly captured in the cloud cause misalignment of carbon flow relationships, making it difficult to accurately identify changes in local physical connections and thus unable to provide targeted and automatically executable structural adjustment strategies.
By acquiring multi-energy terminal metering data, edge device identity records, and cloud-side energy topology master records in the park, a local clock reference for edge nodes is constructed for clock calibration, energy channels are bound and time-segmented carbon content is calibrated, a panoramic carbon metering link map is generated, and carbon content transmission-restricted links are identified and topology optimization control records are generated.
It improves the accuracy of data timing alignment, eliminates timing misalignment mapping bottlenecks, clearly identifies carbon transfer-limited links, provides rational and well-founded topology optimization control, and enhances the pertinence and effectiveness of multi-energy topology optimization.
Smart Images

Figure CN122395239A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the fields of smart energy management and carbon footprint tracking technology. Specifically, it relates to a cloud-edge collaborative method for multi-energy panoramic carbon metering and topology optimization in a park, a cloud-edge collaborative device for multi-energy panoramic carbon metering and topology optimization in a park, an electronic device, and a computer-readable storage medium. Background Technology
[0002] As dual-carbon goals are advanced, the scale of multi-energy systems (covering electricity, heat, gas, etc.) in industrial parks continues to expand. Comprehensive tracking of carbon emissions from various energy devices and optimization of their underlying structure have become crucial for achieving low-carbon scheduling within the parks. Due to the dispersed nature of equipment, deep network layers, and the interaction of multiple energy sources, park-level energy networks typically need to consider the dynamic flow and timing of different energy types at the generation, transmission, and consumption stages to support subsequent energy network optimization and control.
[0003] Existing energy management and carbon footprint tracking solutions for industrial parks typically employ a centralized global data acquisition mechanism. This system first constructs a static global network diagram in the cloud, encompassing all energy-consuming devices. Then, using a unified cloud server, it extracts readings directly from each underlying energy-consuming terminal in batches according to a pre-set fixed period. Finally, in the cloud, these extracted readings are directly mapped to pre-defined node positions on the static global network diagram to calculate overall carbon emissions and determine whether the network structure is operating normally.
[0004] However, the above solution has obvious technical flaws. Due to the large number of devices in the park and the huge differences in their network physical layers, there is an unavoidable heterogeneous delay difference between the actual time when each underlying node generates data and the time when the cloud receives the data when it is uniformly captured. Directly aggregating these readings that have not been aligned with the time axis reference into the static network diagram in the cloud will cause a serious misalignment of the carbon flow relationship between upstream and downstream nodes in energy transmission within the same time window. Furthermore, when carbon footprint flow is obstructed, it is difficult to accurately identify the specific transmission obstacle nodes caused by the actual physical connection changes of local nodes when relying solely on direct comparison of the static cloud diagram. As a result, it is impossible to provide targeted and automatically executable structural connection adjustment strategies for the underlying devices. Summary of the Invention
[0005] This application provides a cloud-edge collaborative method for multi-energy panoramic carbon metering and topology optimization in a park, a cloud-edge collaborative device for multi-energy panoramic carbon metering and topology optimization in a park, an electronic device, and a computer-readable storage medium, to at least alleviate the above-mentioned technical problems.
[0006] A cloud-edge collaborative method for multi-energy panoramic carbon metering and topology optimization in industrial parks includes the following steps: Acquire multi-energy terminal metering data, edge device identity records, and cloud-side energy topology master records in the park; determine the local clock reference of the edge node based on the edge device identity records; perform edge clock calibration processing on the multi-energy terminal metering data in the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data in the park. Based on the cloud-side energy topology master record, the energy channel affiliation is bound to the calibrated multi-energy terminal metering data of the park to obtain the edge energy channel time series record, and the edge energy channel attribute record is determined based on the edge energy channel time series record; Based on the preset carbon conversion benchmark record, the edge energy channel time sequence record and the edge energy channel attribute record are processed to perform time-segmented carbon quantity calibration to obtain edge carbon metering segments. Based on the cloud-side energy topology master record, the edge carbon metering segments are processed to perform link splicing to obtain a panoramic carbon metering link map of the park. A topology deviation location record is generated based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record. A carbon transfer-restricted link is determined based on the panoramic carbon metering link map of the park and the topology deviation location record. A topology candidate adjustment sequence is generated based on the carbon transfer-restricted link. A multi-energy topology optimization control record of the park is generated based on the topology candidate adjustment sequence.
[0007] Optionally, the steps of obtaining multi-energy terminal metering data, edge device identity records, and cloud-side energy topology master records in the park include: obtaining metering sampling records reported by multiple types of energy metering terminals; performing field normalization on the metering sampling records to obtain the multi-energy terminal metering data in the park; reading the edge node identity field used to characterize edge nodes, acquisition ports, and channel directions to obtain the edge device identity records; reading the cloud-side topology field used to characterize the connection relationship between energy nodes, energy links, and metering branches to obtain the cloud-side energy topology master records; and reading the carbon conversion benchmark field corresponding to the energy carrier category and energy flow in / out direction to obtain the carbon conversion benchmark records.
[0008] Optionally, the step of determining the local clock reference of the edge node based on the edge device identity record, and performing edge clock calibration processing on the multi-energy terminal metering data of the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data of the park includes: determining the edge node to which the multi-energy terminal metering data of the park belongs based on the edge device identity record, and determining the local clock reference of the edge node corresponding to the edge node; merging the sampling timestamps in the multi-energy terminal metering data of the park under the local clock reference of the edge node to obtain the calibrated multi-energy terminal metering data of the park; verifying the metering access location in the calibrated multi-energy terminal metering data of the park based on the edge device identity record, so that the calibrated multi-energy terminal metering data of the park forms an identifiable access correspondence with the corresponding edge node.
[0009] Optionally, the step of binding energy channel affiliation to the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record to obtain edge energy channel time-series records, and determining edge energy channel attribute records based on the edge energy channel time-series records includes: determining the energy link record corresponding to the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record, and writing the energy link record into the calibrated multi-energy terminal metering data of the park to obtain the edge energy channel time-series records; determining the energy carrier category, energy flow direction, metering branch affiliation, and loss segment affiliation of the corresponding energy channel according to the edge energy channel time-series records, and writing the energy carrier category, energy flow direction, metering branch affiliation, and loss segment affiliation into the same record to obtain the edge energy channel attribute records.
[0010] Optionally, the step of performing time-segmented carbon content calibration processing on the edge energy channel timing record and the edge energy channel attribute record according to a preset carbon conversion benchmark record to obtain an edge carbon metering segment includes: reading the corresponding carrier carbon conversion mark and the accounting direction mark from the carbon conversion benchmark record according to the edge energy channel attribute record; dividing the edge energy channel timing record into time periods according to the edge node local clock benchmark to obtain a continuous metering period; generating a time-segmented carbon content record based on the edge energy channel timing record, the carrier carbon conversion mark, the accounting direction mark, and the edge energy channel attribute record within the continuous metering period; and writing the time-segmented carbon content record and the corresponding edge energy channel attribute record into the same segment data body to obtain the edge carbon metering segment.
[0011] Optionally, the step of performing link stitching processing on the edge carbon metering segments according to the cloud-side energy topology master record to obtain a panoramic carbon metering link map of the park includes: reading time-segmented carbon quantity records and edge energy channel attribute records from the edge carbon metering segments; determining the corresponding link stitching endpoints and link stitching order in the cloud-side energy topology master record according to the edge energy channel attribute records; writing the time-segmented carbon quantity records into the corresponding energy links according to the link stitching endpoints and the link stitching order to form carbon quantity transmission links; arranging multiple carbon quantity transmission links according to the connection relationship in the cloud-side energy topology master record to obtain the panoramic carbon metering link map of the park.
[0012] Optionally, the step of generating a topology deviation location record based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record includes: mapping the carbon transfer links in the panoramic carbon metering link map of the park to the energy link records in the cloud-side energy topology master record; identifying link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations between the carbon transfer links and the energy link records based on the mapping results; and merging the identified link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations according to the corresponding energy nodes to obtain the topology deviation location record.
[0013] Optionally, the step of determining carbon transfer-restricted links based on the panoramic carbon metering link map of the park and the topology deviation location record, and generating a topology candidate adjustment sequence based on the carbon transfer-restricted links, includes: locating carbon transfer links with topology deviations in the panoramic carbon metering link map of the park based on the topology deviation location record, and determining the located carbon transfer links as the carbon transfer-restricted links; determining candidate adjustment links and candidate adjustment nodes based on the upstream and downstream connection relationships of the carbon transfer-restricted links in the cloud-side energy topology master record; performing topology availability verification on the candidate adjustment links and candidate adjustment nodes based on the panoramic carbon metering link map of the park, and arranging the candidate adjustment links and candidate adjustment nodes according to the topology availability verification results to obtain the topology candidate adjustment sequence.
[0014] Optionally, the step of generating a multi-energy topology optimization control record for the park based on the topology candidate adjustment sequence includes: determining a corresponding edge node based on the topology candidate adjustment sequence and issuing a pre-execution verification instruction to the corresponding edge node; the corresponding edge node reading the edge energy channel timing record and the edge device identity record according to the pre-execution verification instruction, and performing a pre-execution verification on the topology candidate adjustment sequence based on the edge energy channel timing record and the edge device identity record to obtain a pre-execution verification pass record; determining the target topology adjustment content from the topology candidate adjustment sequence based on the pre-execution verification pass record, and generating the multi-energy topology optimization control record for the park based on the target topology adjustment content.
[0015] A cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization device for industrial parks, comprising: The edge clock calibration unit is configured to acquire multi-energy terminal metering data of the park, edge device identity records and cloud-side energy topology master records, determine the local clock reference of the edge node based on the edge device identity records, and perform edge clock calibration processing on the multi-energy terminal metering data of the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data of the park. The energy channel binding unit is configured to bind the energy channel affiliation of the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record, obtain the edge energy channel time series record, and determine the edge energy channel attribute record based on the edge energy channel time series record; The carbon metering link generation unit is configured to perform time-segmented carbon calibration processing on the edge energy channel time sequence record and the edge energy channel attribute record according to the preset carbon conversion benchmark record to obtain edge carbon metering segments, and perform link splicing processing on the edge carbon metering segments according to the cloud-side energy topology master record to obtain a panoramic carbon metering link map of the park. The topology optimization control unit is configured to generate a topology deviation positioning record based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record, determine carbon transfer-restricted links based on the panoramic carbon metering link map of the park and the topology deviation positioning record, generate a topology candidate adjustment sequence based on the carbon transfer-restricted links, and generate a multi-energy topology optimization control record of the park based on the topology candidate adjustment sequence.
[0016] An electronic device includes: a memory, a processor, and a campus multi-energy panoramic carbon metering and topology optimization program stored in the memory and executable on the processor, wherein the campus multi-energy panoramic carbon metering and topology optimization program is configured to implement the steps of the above-described cloud-edge collaborative campus multi-energy panoramic carbon metering and topology optimization method.
[0017] A computer-readable storage medium stores a multi-energy panoramic carbon metering and topology optimization program for a park. When executed by a processor, the multi-energy panoramic carbon metering and topology optimization program for a park implements the steps of the above-mentioned cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for a park.
[0018] The technical advantages of the technical solution provided in this application are: This application presents a cloud-edge collaborative method for panoramic carbon metering and topology optimization across multiple energy sources in industrial parks. This method addresses the shortcomings of existing centralized global data acquisition mechanisms, such as misaligned carbon flow relationships due to time-series misalignment and the inability to accurately isolate local physical connectivity changes through static graph comparisons, thus failing to provide automatically executable adjustment strategies. By acquiring multi-energy end-point metering data, edge device identity records, and cloud-side energy topology master records, this method determines the local clock reference for edge nodes based on the edge device identity records and performs edge clock calibration on the multi-energy end-point metering data based on this local clock reference. This solves the data distortion problem caused by heterogeneous latency differences in existing solutions. Compared to the traditional, coarse-grained approach of unified cloud-based data acquisition, this application constructs a local clock reference from the edge device side for calibration, significantly improving the time-series alignment accuracy of the underlying sampling data and avoiding temporal misalignment of multi-node readings.
[0019] Furthermore, this application uses the cloud-side energy topology master record to bind the energy channel affiliation of the calibrated multi-energy terminal metering data in the park to obtain the time sequence and attribute records of the edge energy channels. Then, based on the preset carbon conversion benchmark record, it performs time-segmented carbon quantity calibration processing to obtain edge carbon metering segments, and performs link splicing processing on the edge carbon metering segments to obtain a panoramic carbon metering link map of the park. This process changes the traditional approach of directly mapping readings to a global static map. Instead, it first constructs fine-grained carbon metering segments with time sequence and attributes at the edge and then performs upward link splicing, which makes the inflow and outflow relationship of carbon quantity in the transmission of each network layer highly accurate and effectively eliminates the misalignment mapping bottleneck caused by time sequence misalignment.
[0020] Finally, this application generates a topology deviation location record based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record. Based on the panoramic carbon metering link map and the topology deviation location record, it identifies carbon transfer-constrained links, and then generates a topology candidate adjustment sequence based on these links. This, in turn, generates a multi-energy topology optimization control record for the park. Compared to traditional methods that rely solely on static map comparisons in the cloud, this application uses a combination of the panoramic carbon metering link map and the topology master record to locate deviations. This more clearly identifies carbon transfer-constrained links caused by changes in the actual physical hierarchy. The resulting topology candidate adjustment sequence and control record provide a well-founded adjustment logic for the park's underlying equipment, significantly improving the targeting and effectiveness of multi-energy topology optimization control. Attached Figure Description
[0021] Figure 1A This is a schematic diagram illustrating the scenario of generating a panoramic carbon metering link map of the park according to an embodiment of this application. Figure 1B This is a schematic diagram illustrating the scenario of topology deviation location recording and topology candidate adjustment sequence generation in an embodiment of this application. Figure 1C This is a schematic diagram illustrating the scenario of generating multi-energy topology optimization control records for a park, as described in this application embodiment. Figure 2 This application provides an embodiment of a cloud-edge collaborative method for multi-energy panoramic carbon metering and topology optimization in a park. Figure 3 This application provides an embodiment of a cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization device for industrial parks. Figure 4 An electronic device is described in an embodiment of this application; Figure 5 This is a computer-readable storage medium according to an embodiment of the present application. Detailed Implementation
[0022] Figure 1 shows a scenario of multi-energy panoramic carbon metering and topology optimization in a park based on cloud-edge collaboration, according to an embodiment of this application. Figure 2 As shown in the figure, this application provides an embodiment of a cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks, which includes the following steps: Acquire multi-energy terminal metering data, edge device identity records, and cloud-side energy topology master records in the park; determine the local clock reference of the edge node based on the edge device identity records; perform edge clock calibration processing on the multi-energy terminal metering data in the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data in the park. Based on the cloud-side energy topology master record, the energy channel affiliation is bound to the calibrated multi-energy terminal metering data of the park to obtain the edge energy channel time series record, and the edge energy channel attribute record is determined based on the edge energy channel time series record; Based on the preset carbon conversion benchmark record, the edge energy channel time sequence record and the edge energy channel attribute record are processed to perform time-segmented carbon quantity calibration to obtain edge carbon metering segments. Based on the cloud-side energy topology master record, the edge carbon metering segments are processed to perform link splicing to obtain a panoramic carbon metering link map of the park. A topology deviation location record is generated based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record. A carbon transfer-restricted link is determined based on the panoramic carbon metering link map of the park and the topology deviation location record. A topology candidate adjustment sequence is generated based on the carbon transfer-restricted link. A multi-energy topology optimization control record of the park is generated based on the topology candidate adjustment sequence.
[0023] Optionally, the steps of obtaining multi-energy terminal metering data, edge device identity records, and cloud-side energy topology master records in the park include: obtaining metering sampling records reported by multiple types of energy metering terminals; performing field normalization on the metering sampling records to obtain the multi-energy terminal metering data in the park; reading the edge node identity field used to characterize edge nodes, acquisition ports, and channel directions to obtain the edge device identity records; reading the cloud-side topology field used to characterize the connection relationship between energy nodes, energy links, and metering branches to obtain the cloud-side energy topology master records; and reading the carbon conversion benchmark field corresponding to the energy carrier category and energy flow in / out direction to obtain the carbon conversion benchmark records.
[0024] Preferably, when acquiring the metering sampling records reported by multiple types of energy metering terminals, the multiple types of energy metering terminals report metering sampling records separately according to the terminal access locations of different energy carriers within the park. The metering sampling records include at least a sampling timestamp, terminal reporting address, physical access port, energy carrier type, original metering reading, and reading unit marker. The sampling timestamp indicates the time position at which the original metering reading was formed on the corresponding multiple types of energy metering terminal side; the terminal reporting address indicates the communication source from which the metering sampling record enters the edge node; and the physical access port indicates the terminal access location of the multiple types of energy metering terminals on the park's energy pipelines or energy lines. In the input position, the energy carrier category is used to express the energy type to which the original metering reading belongs, and the reading unit marker is used to express the metering unit of the original metering reading under the corresponding energy carrier category. After the metering sampling record is acquired, it is not directly written into the cloud-side energy topology master record, but is first used as input data for field normalization, so that the sampling timestamp, the terminal reporting address, the physical access port, the energy carrier category, the original metering reading, and the reading unit marker can participate in field normalization according to the same field structure, thereby reducing the input differences caused by different types of energy metering terminals using different reporting formats for subsequent edge clock calibration processing and energy channel attribution binding.
[0025] Preferably, when performing field normalization on the metering sampling records, a preset field normalization rule is first read. This rule is formed by the reporting protocol fields of different types of energy metering terminals, the naming rules for metering ports within the park, and the naming rules for energy carrier categories. The reporting protocol fields include time fields, address fields, port fields, energy type fields, and reading fields. The field normalization rule assigns the time fields to the sampling timestamp, the address fields to the terminal reporting address, the port fields to the physical access port, the energy type fields to the energy carrier category, and the reading fields to the original metering reading. After field normalization, the originally inconsistent metering sampling records are transformed into normalized metering sampling records whose field order and meaning can be recognized by edge nodes. The normalized metering sampling records are then grouped and arranged according to the sampling timestamp and the terminal reporting address, so that the grouped and arranged normalized metering sampling records can be written as multi-energy terminal metering data in the park into subsequent edge clock calibration processing.
[0026] Preferably, the multi-energy terminal metering data in the park is not simply obtained by stacking raw metering readings, but is generated from regularized metering sampling records according to a data structure identifiable by the edge nodes. In this edge node-identifiable data structure, the sampling timestamp is used to participate in time merging under the local clock reference of the edge node, the terminal reporting address is used to participate in source matching of edge device identity records, the physical access port is used to participate in energy channel attribution binding, the energy carrier category is used to participate in reading carbon conversion benchmark records, and the raw metering readings and reading unit markers are used to participate in time-of-use carbon calibration processing. Therefore, when the multi-energy terminal metering data in the park is formed, the field association relationships required for edge clock calibration processing, energy channel attribution binding, and time-of-use carbon calibration processing are retained. These field association relationships continue to be passed between edge clock calibration processing, energy channel attribution binding, and time-of-use carbon calibration processing, rather than being centrally spliced together from multiple raw metering readings lacking field association relationships on the cloud side.
[0027] Preferably, when reading the edge node identity fields used to characterize the edge node, acquisition port, and channel direction, the edge node identity fields are derived from an edge device identity table pre-configured on the edge node side. The edge device identity table includes the edge node device number, the edge node access network segment identifier, the edge node acquisition port identifier, and the edge node channel direction identifier. The edge node device number is used to characterize the edge node to which the multi-energy terminal metering data in the park belongs. The edge node access network segment identifier is used to characterize the network time source corresponding to the local clock reference of the edge node. The edge node acquisition port identifier is used to characterize the acquisition entry point between the edge node and the multi-type energy metering terminals. The edge node channel direction identifier is used to characterize the energy flow in and out direction of the corresponding energy channel. The read edge node identity fields are combined into an edge device identity record. The edge device identity record is used in subsequent processing to locate the multi-energy terminal metering data in the park to the corresponding edge node and to provide a data source for determining the local clock reference of the edge node.
[0028] Preferably, when generating the edge device identity record, the edge node identity field is not saved as an isolated configuration item. Instead, a correspondence is established between the edge node identity field and the terminal reporting address and physical access port in the multi-energy terminal metering data of the park. Specifically, the edge node device number is first found based on the terminal reporting address, then the edge node acquisition port identifier is found based on the physical access port, and then the edge node channel direction identifier is read based on the edge node acquisition port identifier to form the access direction correspondence in the edge device identity record. The access direction correspondence continues to participate in the energy channel attribution binding, so that the edge energy channel time sequence record can carry the energy flow in / out direction consistent with the terminal access position expressed by the physical access port, and the energy flow in / out direction continues to participate in the carbon transfer link construction in the park panoramic carbon metering link diagram, thereby reducing the probability of carbon transfer direction misalignment in the park panoramic carbon metering link diagram.
[0029] Preferably, when reading the cloud-side topology fields used to characterize the connection relationships between energy nodes, energy links, and metering branches, the cloud-side topology fields are derived from a pre-established cloud-side energy topology master record configuration table. This table includes energy node fields, energy link fields, metering branch fields, and upstream / downstream connection relationship fields. The energy node field characterizes the node identity of energy generation, transmission, conversion, and consumption locations within the park's topology. The energy link field characterizes the energy transfer relationship between two energy nodes. The metering branch field characterizes the metering affiliation of multiple types of energy metering terminals on the energy link. The upstream / downstream connection relationship field characterizes the upstream / downstream connection relationship of the energy link within the topology. After the cloud-side topology fields are read, a cloud-side energy topology master record is formed. This master record is used in subsequent processing to bind the energy channel affiliation of the calibrated multi-energy terminal metering data within the park and to perform link splicing processing on edge carbon metering segments.
[0030] Preferably, when the cloud-side energy topology master record is generated, the energy node field, energy link field, metering branch field, and upstream and downstream connection relationship field are organized according to the same connection relationship. Specifically, the starting point and ending point of the link corresponding to the energy link field are first determined according to the energy node field, and then the metering location corresponding to the energy link field is determined according to the metering branch field. Subsequently, the upstream and downstream arrangement relationship between the link starting point, the metering location, and the link ending point is determined according to the upstream and downstream connection relationship field to form a cloud-side energy topology master record that can be called by energy channel affiliation binding. In this way, the cloud-side energy topology master record not only expresses the static connection location, but also expresses which energy link the metering sampling record should be written into and which energy flow direction it should follow to participate in the construction of the park's panoramic carbon metering link map. The park's panoramic carbon metering link map continues to arrange the carbon transfer links according to the upstream and downstream arrangement relationship in the cloud-side energy topology master record.
[0031] Preferably, when reading the carbon conversion benchmark field corresponding to the energy carrier category and the energy flow direction, the carbon conversion benchmark field is derived from a pre-configured carbon conversion benchmark record configuration table. The carbon conversion benchmark record configuration table includes an energy carrier category field, a carrier carbon conversion mark field, and an input direction mark field. The energy carrier category field is used to correspond to the energy carrier category in the multi-energy terminal metering data of the park. The carrier carbon conversion mark field is used to express the conversion mark used when converting the original metering reading under the corresponding energy carrier category into carbon data. The input direction mark field is used to express the input method of the energy flow direction in the time-segmented carbon calibration process. The read carbon conversion benchmark field is organized into a carbon conversion benchmark record. The carbon conversion benchmark record is further called by the edge energy channel attribute record so that the carrier carbon conversion mark and the input direction mark can be used in accordance with the energy carrier category and the energy flow direction, and so that the carrier carbon conversion mark and the input direction mark can continue to participate in the time-segmented carbon calibration process.
[0032] Preferably, the reading process of the carbon conversion benchmark record has a direct data connection with the field normalization process of the multi-energy terminal metering data in the park. Specifically, after the field normalization rules classify the energy type field in the metering sampling record into the energy carrier category, the energy carrier category is written into the multi-energy terminal metering data in the park. After the multi-energy terminal metering data in the park is bound by energy channel affiliation, the energy carrier category enters the edge energy channel time sequence record. The edge energy channel time sequence record further forms the energy carrier category in the edge energy channel attribute record. Before the time-segmented carbon calibration process begins, the energy carrier category in the edge energy channel attribute record is used to read the carrier carbon conversion mark in the carbon conversion benchmark record, and the energy flow in / out direction in the edge energy channel attribute record is used to read the calculation direction mark in the carbon conversion benchmark record. Thus, the carbon conversion benchmark record is not an isolated parameter, but is triggered and called by the previous field normalization result and the energy channel affiliation binding result.
[0033] Preferably, in a multi-energy metering scenario within a park, the various energy metering terminals can correspond to electricity metering terminals, heat medium metering terminals, gas metering terminals, and energy storage charging and discharging metering terminals, respectively. Although the metering sampling records reported by each type of energy metering terminal differ in field names, reading unit markings, and terminal reporting address formats, they are all first converted into multi-energy terminal metering data for the park through field normalization rules. Subsequently, the edge device identity record determines the edge node to which the multi-energy terminal metering data belongs and the corresponding energy flow in / out direction based on the terminal reporting address and physical access port. The cloud-side energy topology master record determines the edge node to which the multi-energy terminal metering data belongs and the corresponding energy flow in / out direction based on the physical access port and metering branch field. The energy links to which the multi-energy terminal metering data of the park should be attributed, and the carbon conversion benchmark record provides carrier carbon conversion marks and inclusion direction marks according to the energy carrier category and energy flow direction. Thus, the multi-energy terminal metering data of the park, the edge device identity record, the cloud-side energy topology master record, and the carbon conversion benchmark record respectively play the technical roles of determining the time base, channel direction, link attribution, and carbon calibration basis in subsequent processing, so that the process of obtaining the multi-energy terminal metering data of the park, the edge device identity record, and the cloud-side energy topology master record can be distinguished from the centralized direct extraction of readings and mapping of static topology in the background technology.
[0034] Optionally, the step of determining the local clock reference of the edge node based on the edge device identity record, and performing edge clock calibration processing on the multi-energy terminal metering data of the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data of the park includes: determining the edge node to which the multi-energy terminal metering data of the park belongs based on the edge device identity record, and determining the local clock reference of the edge node corresponding to the edge node; merging the sampling timestamps in the multi-energy terminal metering data of the park under the local clock reference of the edge node to obtain the calibrated multi-energy terminal metering data of the park; verifying the metering access location in the calibrated multi-energy terminal metering data of the park based on the edge device identity record, so that the calibrated multi-energy terminal metering data of the park forms an identifiable access correspondence with the corresponding edge node.
[0035] Preferably, when determining the edge node to which the multi-energy terminal metering data of the park belongs based on the edge device identity record, the terminal reporting address, physical access port, and sampling timestamp in the multi-energy terminal metering data of the park are first read, and the edge node device number, edge node access network segment identifier, and edge node acquisition port identifier in the edge device identity record are read; wherein, the terminal reporting address is used to characterize the communication source of the multi-energy terminal metering data of the park entering the edge node, the physical access port is used to characterize the metering access location corresponding to the multi-energy terminal metering data of the park, the edge node access network segment identifier is used to characterize the network access source corresponding to the edge node, and the edge node acquisition port identifier is used to characterize the acquisition entry that the edge node can identify. The terminal's reported address is matched with the edge node's access network segment identifier to form a source matching result, and the physical access port is matched with the edge node's acquisition port identifier to form an entry matching result. The edge node's device number is determined based on the source matching result and the entry matching result, and the source matching result, the entry matching result, and the edge node's device number are written into the same record to form an edge node affiliation record. This edge node affiliation record is used to characterize which edge node each piece of multi-energy terminal metering data in the park belongs to, and continues to serve as input for determining the edge node's local clock reference. This ensures that subsequent edge clock calibration processing is not uniformly processed according to the cloud-side reception time, but rather grouped according to the edge node into which the multi-energy terminal metering data actually enters.
[0036] Preferably, after the edge node affiliation record is formed, the corresponding edge node access network segment identifier is read according to the edge node device number in the edge node affiliation record, and the edge node local clock reference corresponding to the edge node is determined according to the edge node access network segment identifier. The edge node local clock reference is not a single cloud-side reception time, but a time reference used to express that the sampling timestamps of various energy metering terminals within the same edge node can be merged into the same local time series. The local time series serves as the sorting reference for subsequent sampling timestamp merging processing. In specific implementation, the edge node device number, the edge node access network segment identifier, and the edge node local clock reference are written into the same edge clock source record. The edge clock source record continues to be associated with the edge node affiliation record, so that each multi-energy terminal metering data in the park can find the corresponding edge clock source record through the edge node affiliation record, and then enter the edge clock calibration process from the edge clock source record.
[0037] Preferably, when performing edge clock calibration processing on the multi-energy terminal metering data of the park based on the edge node local clock reference, the sampling timestamp is first read from the multi-energy terminal metering data of the park, and the edge node local clock reference corresponding to the edge node to which the multi-energy terminal metering data of the park belongs is read from the edge clock source record; then, the sampling timestamp is merged under the edge node local clock reference to form a sampling time merging record. The sampling time merging record includes at least the original sampling timestamp of the multi-energy terminal metering data of the park, the merged local time position, and the edge node device number; the sampling time merging record continues to be written back to the multi-energy terminal metering data of the park, so that while retaining the sampling timestamp, the multi-energy terminal metering data of the park adds the merged local time position that can be sorted under the edge node local clock reference, thereby obtaining the calibrated multi-energy terminal metering data of the park.
[0038] Preferably, when the sampling time merging record is written back to the multi-energy terminal metering data of the park, the energy carrier category, original metering reading, and reading unit marker in the multi-energy terminal metering data of the park are not changed. Instead, the sampling time merging record is kept in the same calibrated multi-energy terminal metering data of the park along with the energy carrier category, the original metering reading, and the reading unit marker. In this way, the calibrated multi-energy terminal metering data of the park can simultaneously express the sampling time merging record, the original metering reading, the reading unit marker, the energy carrier category, and the merged local time position. The merged local time position continues to participate in the division of subsequent continuous metering periods, the energy carrier category continues to participate in the reading of carbon conversion benchmark records, and the original metering reading and the reading unit marker continue to participate in the time-segmented carbon calibration processing. This allows the calibrated multi-energy terminal metering data of the park obtained from the edge clock calibration process to be directly connected to subsequent processing steps, rather than forming intermediate data that can only be used for time display.
[0039] Preferably, when verifying the metering access location in the calibrated multi-energy terminal metering data of the park according to the edge device identity record, the physical access port in the calibrated multi-energy terminal metering data of the park is first read, and the edge node acquisition port identifier in the edge device identity record is read; then, the edge node to which the physical access port belongs is determined according to the edge node affiliation record, and then it is determined whether the physical access port belongs to an acquisition entry that the edge node can recognize according to the edge node acquisition port identifier, so as to form a metering access location verification record. The metering access location verification record is used to express whether the metering access location in the calibrated multi-energy terminal metering data of the park can be recognized by the edge node, and continues to serve as the basis for generating access correspondence; when the metering access location verification record indicates that the physical access port and the edge node acquisition port identifier can correspond, the calibrated multi-energy terminal metering data of the park enters the process of generating access correspondence.
[0040] Preferably, the access correspondence is formed by the calibrated multi-energy terminal metering data of the park, the edge node affiliation record, and the metering access location verification record. Specifically, the physical access port in the calibrated multi-energy terminal metering data of the park is used as the metering access location, the edge node device number in the edge node affiliation record is used as the edge node to which the metering access location belongs, and the edge node acquisition port identifier in the metering access location verification record is used as the acquisition entry point corresponding to the metering access location. The metering access location, edge node device number, and edge node acquisition port identifier are written into the same access correspondence. This access correspondence continues to participate in energy channel affiliation binding, enabling the use of the access correspondence as a preliminary entry point for locating energy link records when searching based on the cloud-side energy topology master record. This avoids relying solely on the static node position in the cloud-side energy topology master record to determine the affiliation of the calibrated multi-energy terminal metering data of the park.
[0041] Preferably, the edge clock calibration process further merges and sorts the local time positions of multiple calibrated multi-energy terminal metering data within the same edge node to form an edge local time sequence arrangement record. This record arranges the calibrated multi-energy terminal metering data under the same edge node according to the merged local time position, while retaining the access correspondence for each calibrated multi-energy terminal metering data. This record continues to serve as input for energy channel attribution binding, enabling energy channel attribution binding to process calibrated multi-energy terminal metering data corresponding to multiple metering access locations under the same edge node local clock reference. Consequently, the calibrated multi-energy terminal metering data corresponding to upstream and downstream energy channels can participate in subsequent energy channel attribution binding under the same edge node local clock reference. The temporal sequence relationship between the upstream and downstream energy channels can be reflected through the edge local time sequence arrangement record, thereby reducing upstream and downstream time misalignment caused by differences in the unified cloud-side reception time.
[0042] Preferably, in a multi-energy metering scenario within a park, the same edge node can simultaneously access multi-energy terminal metering data reported by electricity metering terminals, heat medium metering terminals, and gas metering terminals. For this scenario, the multi-energy terminal metering data reported by each of the electricity metering terminal, heat medium metering terminal, and gas metering terminal first enters the edge node affiliation record generation process. The edge node affiliation record determines that the aforementioned multi-energy terminal metering data belongs to the same edge node based on the terminal's reported address. The edge clock source record then determines the edge node's local clock reference based on the edge node's access network segment identifier. The sampling time merging record subsequently merges the sampling timestamps from each multi-energy terminal metering data into the same edge node's local clock reference. The metering access location verification record further verifies the metering access location of each calibrated multi-energy terminal metering data based on the physical access port and the edge node's acquisition port identifier. After the above processing, the access correspondence can simultaneously express the edge node device number, metering access location, and edge node acquisition port identifier. The access correspondence is then bound together with the calibrated multi-energy terminal metering data of the park into the energy channel, so that the terminal data of different energy carrier categories have completed the time merging and metering access location verification on the edge side before entering the cloud-side link splicing.
[0043] Preferably, after the calibrated multi-energy terminal metering data of the park forms an access correspondence with the corresponding edge nodes, the calibrated multi-energy terminal metering data of the park continues to retain sampling time merging records, edge node affiliation records, and metering access location verification records. The sampling time merging records are used to provide the merged local time position of the edge nodes under the local clock reference before subsequent time-segmented carbon calibration processing. The edge node affiliation records are used to locate the corresponding edge nodes in subsequent pre-execution verification. The metering access location verification records are used to provide a basis for determining whether the metering access location can be identified in subsequent energy channel affiliation binding. The sampling time merging records, the edge node affiliation records, and the metering access location verification records are jointly written into the calibrated multi-energy terminal metering data of the park, enabling the calibrated multi-energy terminal metering data of the park to maintain a consistent expression of the sampling time merging records, edge node affiliation records, and metering access location verification records during subsequent processing, thus distinguishing it from the processing method that only summarizes readings at the cloud-side reception time.
[0044] Optionally, the step of binding energy channel affiliation to the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record to obtain edge energy channel time-series records, and determining edge energy channel attribute records based on the edge energy channel time-series records includes: determining the energy link record corresponding to the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record, and writing the energy link record into the calibrated multi-energy terminal metering data of the park to obtain the edge energy channel time-series records; determining the energy carrier category, energy flow direction, metering branch affiliation, and loss segment affiliation of the corresponding energy channel according to the edge energy channel time-series records, and writing the energy carrier category, energy flow direction, metering branch affiliation, and loss segment affiliation into the same record to obtain the edge energy channel attribute records.
[0045] Preferably, when determining the energy link record corresponding to the calibrated multi-energy terminal metering data of the park based on the cloud-side energy topology master record, the physical access port, energy carrier type, access correspondence, and merged local time position in the calibrated multi-energy terminal metering data of the park are first read, and the energy node record, energy link record, metering branch record, and upstream and downstream connection relationship in the cloud-side energy topology master record are also read; wherein, the physical access port is used to express the metering access location of the calibrated multi-energy terminal metering data of the park on the park energy pipeline or park energy line, and the access correspondence is used to express the connection between the metering access location and the corresponding edge node. The corresponding relationship is identified. The merged local time position is used to express the time position of the calibrated multi-energy terminal metering data in the park under the local clock reference of the edge node. The energy carrier category is used to express the energy type to which the calibrated multi-energy terminal metering data in the park belongs. The physical access port, the energy carrier category, the access correspondence, and the merged local time position are read and used as inputs for energy link record lookup. This makes the determination process of the energy link record subject to the constraints of the metering access position, the energy carrier category, the corresponding edge node, and the merged local time position, rather than relying solely on the energy node records in the cloud-side energy topology master record for matching.
[0046] Preferably, the energy link record in the cloud-side energy topology master record does not express the connection relationship between two energy node records in isolation, but rather describes the measurable transmission path in the multi-energy network of the park together with the metering branch record and the upstream and downstream connection relationship. In specific implementation, firstly, the metering branch belonging position corresponding to the physical access port is found according to the metering branch record, then the corresponding energy link record is found in the cloud-side energy topology master record according to the metering branch belonging position, and then the upstream energy node record and downstream energy node record associated with the energy link record are read according to the upstream and downstream connection relationship to form an energy link matching record. The energy link matching record includes the physical access port, the metering branch belonging position, the energy link record, the upstream energy node record, and the downstream energy node record. The energy link matching record continues to serve as the basis for writing the calibrated multi-energy terminal metering data of the park, so that the calibrated multi-energy terminal metering data of the park can carry the energy link matching record into the subsequent energy channel belonging binding.
[0047] Preferably, when forming the energy link matching record, the energy link record is further checked for energy carrier category consistency based on the energy carrier category in the calibrated multi-energy terminal metering data of the park, so as to form an energy carrier category consistency check result. When the energy carrier category corresponding to the energy link record is consistent with the energy carrier category in the calibrated multi-energy terminal metering data of the park, the energy link record is retained in the energy link matching record, and the energy carrier category consistency check result is written into the energy link matching record. When the energy carrier category corresponding to the energy link record is inconsistent with the energy carrier category in the calibrated multi-energy terminal metering data of the park, the energy link record is excluded from the current energy link matching record, and the search continues in the cloud-side energy topology master record for an energy link record that corresponds to both the physical access port and the energy carrier category. Through the above processing, the energy link matching record can simultaneously express the consistency check result of the metering branch affiliation location and the energy carrier category. After the energy link matching record is written into the calibrated multi-energy terminal metering data of the park, the situation where different energy carrier categories are mistakenly assigned to the same energy link record can be reduced.
[0048] Preferably, when writing the energy link record into the calibrated multi-energy terminal metering data of the park, the sampling time merging record, edge node affiliation record, and access correspondence already formed in the calibrated multi-energy terminal metering data of the park are not replaced. Instead, the energy link record in the energy link matching record is written into the same data record along with the sampling time merging record, the edge node affiliation record, and the access correspondence to form the edge energy channel time sequence record. The edge energy channel time sequence record can at least express the sampling time merging record, edge node affiliation record, access correspondence, and energy link matching record corresponding to the same calibrated multi-energy terminal metering data of the park. The edge energy channel time sequence record continues to serve as the input for determining the edge energy channel attribute record, so that when determining the energy carrier category, energy flow direction, metering branch affiliation, and loss segment affiliation, the merged local time position and energy link record of the calibrated multi-energy terminal metering data of the park can be read simultaneously.
[0049] Preferably, when determining the energy carrier category of the corresponding energy channel based on the edge energy channel time sequence record, the energy carrier category in the edge energy channel time sequence record is first read, and the energy carrier category corresponding to the energy link record in the energy link matching record is also read. Subsequently, the energy carrier category in the edge energy channel time sequence record and the energy carrier category corresponding to the energy link record are checked for consistency to form an energy carrier category confirmation record. The energy carrier category confirmation record is used to express the energy carrier category to which the edge energy channel time sequence record belongs under the current energy link record. The energy carrier category confirmation record is further written into the edge energy channel attribute record, so that the energy carrier category in the edge energy channel attribute record comes from the joint verification result of the edge energy channel time sequence record and the energy link matching record, rather than directly inheriting the energy carrier category reported by multiple energy metering terminals.
[0050] Preferably, when determining the energy flow direction of the corresponding energy channel based on the edge energy channel time-series record, the access correspondence in the edge energy channel time-series record is read first, and the upstream and downstream connection relationship in the cloud-side energy topology master record is read. The access correspondence is used to express the identifiable position of the physical access port in the corresponding edge node, and the upstream and downstream connection relationship is used to express the transmission direction between the upstream energy node record and the downstream energy node record in the energy link record. The physical access port in the access correspondence is mapped to the metering branch affiliation position in the energy link record, and then the energy flow direction is determined according to the arrangement relationship of the metering branch affiliation position relative to the upstream energy node record and the downstream energy node record to form an energy flow direction confirmation record. The energy flow direction confirmation record is further written into the edge energy channel attribute record and used to read the calculation direction mark in the carbon conversion benchmark record during subsequent time-segmented carbon calibration processing.
[0051] Preferably, the metering branch affiliation is determined jointly based on the energy link record in the edge energy channel time-series record and the metering branch record in the cloud-side energy topology master record. Specifically, the energy link record is first read from the edge energy channel time-series record, and then the metering branch record corresponding to the energy link record is read from the cloud-side energy topology master record. Subsequently, the physical access port in the edge energy channel time-series record is mapped to the corresponding metering branch affiliation location in the metering branch record to form the metering branch affiliation. The metering branch affiliation is then written into the edge energy channel attribute record together with the energy carrier category confirmation record and the energy flow in / out direction confirmation record, so that the edge energy channel attribute record can express the association between the energy link record to which the edge energy channel time-series record belongs, the energy carrier category, the energy flow in / out direction, and the metering branch affiliation.
[0052] Preferably, when determining the attribution relationship of the loss segment, the energy link record in the edge energy channel time-series record is first read, and the upstream energy node record, downstream energy node record, and metering branch record corresponding to the energy link record in the cloud-side energy topology master record are read. Subsequently, the metering branch attribution position corresponding to the edge energy channel time-series record is determined according to the metering branch attribution relationship, and the energy link segment where the edge energy channel time-series record is located is determined according to the upstream and downstream arrangement relationship between the upstream energy node record, the metering branch attribution position, and the downstream energy node record, so as to form the attribution relationship of the loss segment. The attribution relationship of the loss segment is not a result description of energy loss, but is used to express which measurable transmission segment the edge energy channel time-series record belongs to in the energy link record. The attribution relationship of the loss segment is further written into the edge energy channel attribute record and used to identify the energy link segment to which the time-segmented carbon content record belongs during subsequent time-segmented carbon content calibration processing.
[0053] Preferably, to ensure that the attribution relationship of the loss segment can be seamlessly integrated with the subsequent panoramic carbon metering link map of the park, the attribution relationship of the loss segment also retains the corresponding energy link record, metering branch attribution relationship, and energy flow in / out direction confirmation record. Specifically, the energy link record is used to determine the energy link to which the carbon transfer link belongs during subsequent link splicing processing; the metering branch attribution relationship is used to determine the location where the time-segmented carbon record is written into the carbon transfer link during subsequent link splicing processing; and the energy flow in / out direction confirmation record is used to determine the writing direction of the time-segmented carbon record along the energy link record during subsequent link splicing processing. By retaining the energy link record, the metering branch attribution relationship, and the energy flow in / out direction confirmation record, the attribution relationship of the loss segment enables the edge energy channel attribute record to continue expressing the energy link segment source of the time-segmented carbon record when entering the time-segmented carbon calibration processing and link splicing processing.
[0054] Preferably, when writing the energy carrier category, the energy flow direction, the metering branch affiliation, and the loss segment affiliation into the same record, the edge energy channel time sequence record is used as the writing object first, and the energy carrier category confirmation record, the energy flow direction confirmation record, the metering branch affiliation, and the loss segment affiliation are written sequentially to form an edge energy channel attribute record. The edge energy channel attribute record still retains the correspondence with the edge energy channel time sequence record, so that the energy carrier category confirmation record, energy flow direction confirmation record, metering branch affiliation, and loss segment affiliation in the edge energy channel attribute record can be traced back to the corresponding calibrated multi-energy terminal metering data, sampling time merging record, and energy link record in the park. The edge energy channel attribute record continues to participate in the time-segmented carbon calibration process, so that the carrier carbon conversion mark, the counting direction mark, and the time-segmented carbon record can be formed according to the same edge energy channel attribute record, instead of being uniformly calibrated on the cloud side based on the energy node record.
[0055] Preferably, in a multi-energy metering scenario within a park, if there are calibrated multi-energy terminal metering data generated by electricity metering terminals, heat medium metering terminals, and gas metering terminals under the same edge node, each calibrated multi-energy terminal metering data first forms a corresponding energy link matching record based on the cloud-side energy topology master record, and then the energy link matching record is written into the corresponding edge energy channel time sequence record. Subsequently, each edge energy channel time sequence record forms an energy carrier category confirmation record, an energy flow in / out direction confirmation record, a metering branch affiliation relationship, and a loss segment affiliation relationship, and writes the energy carrier category confirmation record, energy flow in / out direction confirmation record, metering branch affiliation relationship, and loss segment affiliation relationship into the corresponding edge energy channel attribute record. Thus, calibrated multi-energy terminal metering data under different energy carrier categories can complete link affiliation and attribute affiliation on the edge side before entering subsequent time-segmented carbon calibration processing, which is different from the processing method of directly mapping readings of different energy carrier categories to energy node records in the cloud-side energy topology master record.
[0056] Optionally, the step of performing time-segmented carbon content calibration processing on the edge energy channel timing record and the edge energy channel attribute record according to a preset carbon conversion benchmark record to obtain an edge carbon metering segment includes: reading the corresponding carrier carbon conversion mark and the accounting direction mark from the carbon conversion benchmark record according to the edge energy channel attribute record; dividing the edge energy channel timing record into time periods according to the edge node local clock benchmark to obtain a continuous metering period; generating a time-segmented carbon content record based on the edge energy channel timing record, the carrier carbon conversion mark, the accounting direction mark, and the edge energy channel attribute record within the continuous metering period; and writing the time-segmented carbon content record and the corresponding edge energy channel attribute record into the same segment data body to obtain the edge carbon metering segment.
[0057] Preferably, when reading the corresponding carrier carbon conversion mark and accounting direction mark from the carbon conversion benchmark record according to the edge energy channel attribute record, the energy carrier category, energy flow in / out direction, metering branch affiliation, and loss segment affiliation in the edge energy channel attribute record are read first, and the energy carrier category field, carrier carbon conversion mark field, and accounting direction mark field in the carbon conversion benchmark record are read; wherein, the energy carrier category is used to determine the energy type corresponding to the current edge energy channel time series record, the energy flow in / out direction is used to determine the accounting direction of the current edge energy channel time series record in the corresponding energy link record, the metering branch affiliation is used to determine the metering branch affiliation position corresponding to the current edge energy channel time series record, and the loss segment affiliation is used to determine the energy link segment corresponding to the current edge energy channel time series record. The energy carrier category in the edge energy channel attribute record is matched with the energy carrier category field in the carbon conversion benchmark record to determine the carrier carbon conversion mark corresponding to the energy carrier category. The energy flow in / out direction in the edge energy channel attribute record is matched with the input direction mark field in the carbon conversion benchmark record to determine the input direction mark corresponding to the energy flow in / out direction. The resulting carrier carbon conversion mark and input direction mark continue to serve as the calibration basis for time-of-use carbon calibration processing, enabling edge energy channel time-series records of different energy carrier categories to enter time-of-use carbon calibration processing according to their respective carrier carbon conversion marks and input direction marks.
[0058] Preferably, the carrier carbon conversion mark does not represent a single fixed value, but rather serves as the conversion basis required when converting the original metering readings under the energy carrier category into time-period carbon records. In the carbon conversion benchmark record, the carrier carbon conversion mark maintains a corresponding relationship with the energy carrier category field. In the time-period carbon calibration process, the carrier carbon conversion mark and the original metering readings in the edge energy channel time-series record jointly participate in generating the time-period carbon record. The counting direction mark is used to express the counting method for the same energy carrier category in both the energy flow inflow direction and the energy flow outflow direction. The counting direction mark and the carrier carbon conversion mark work together on the same edge energy channel time-series record, so that the time-period carbon record reflects both the carbon conversion relationship corresponding to the energy carrier category and the counting relationship corresponding to the energy flow inflow and outflow directions, thus distinguishing it from the processing method that uniformly converts the original metering readings only according to the energy carrier category.
[0059] Preferably, when dividing the edge energy channel timing records into time periods according to the edge node local clock reference, the sampling time merging record and the merged local time position in the edge energy channel timing records are first read, and the edge node local clock reference corresponding to the edge energy channel timing records is read; the sampling time merging record is used to express the processing result of the sampling timestamp being merged under the edge node local clock reference, and the merged local time position is used to express the arrangement position of the edge energy channel timing records under the edge node local clock reference. The edge energy channel timing records under the same edge node are divided into time boundaries according to the edge node local clock reference to form continuous measurement time periods; the continuous measurement time periods continue to serve as the time allocation basis for time-segmented carbon calibration processing, enabling edge energy channel timing records entering the same continuous measurement time period to participate in carbon calibration under the same edge node local clock reference, rather than being mixed and segmented according to the cloud-side reception time.
[0060] Preferably, after the continuous metering period is formed, the edge energy channel time sequence records are written into the corresponding continuous metering period according to the merged local time position, forming a channel record within the period. The channel record within the period includes the continuous metering period, the edge energy channel time sequence records, the edge energy channel attribute records, the carrier carbon conversion marker, and the input direction marker. The channel record within the period is used to express which edge energy channel time sequence record should use which carrier carbon conversion marker and which input direction marker to participate in the time-segmented carbon calibration process within the same continuous metering period. The channel record within the period continues to serve as input for generating time-segmented carbon records, so that the time-segmented carbon records can simultaneously maintain the correspondence between the continuous metering period, the edge energy channel time sequence records, the energy carrier category, and the input direction marker.
[0061] Preferably, when generating time-segmented carbon records within the continuous metering period, the edge energy channel timing record is first read from the channel record within the period, and the original metering reading, reading unit marker, energy link record, and merged local time position are read from the edge energy channel timing record. Subsequently, the original metering reading is processed for unit consistency according to the reading unit marker to form a standard metering reading within the period. The standard metering reading within the period is then further calibrated with the carrier carbon conversion marker to form an initial time-segmented carbon record. The initial time-segmented carbon record is then used to determine the calculation direction within the current continuous metering period according to the calculation direction marker to form a time-segmented carbon record. The time-segmented carbon record is jointly generated by the edge energy channel timing record, the edge energy channel attribute record, the carrier carbon conversion marker, and the calculation direction marker, avoiding the direct mixing and calibration of original metering readings under different reading unit markers or different energy flow in / out directions.
[0062] Preferably, the time-segmented carbon record not only includes the carbon calibration result, but also retains the continuous metering period, energy link record, metering branch affiliation, loss segment affiliation, and energy flow direction used to generate the time-segmented carbon record. Specifically, the continuous metering period is used to express the time position of the time-segmented carbon record in the subsequent panoramic carbon metering link map of the park; the energy link record is used to determine the carbon transmission link corresponding to the time-segmented carbon record during subsequent link splicing processing; the metering branch affiliation is used to determine the position where the time-segmented carbon record is written into the carbon transmission link during subsequent link splicing processing; the loss segment affiliation is used to determine the energy link segment to which the time-segmented carbon record belongs during subsequent link splicing processing; and the energy flow direction is used to determine the writing direction of the time-segmented carbon record along the energy link record during subsequent link splicing processing. By retaining the above-mentioned related content in the time-segmented carbon record, the time-segmented carbon record can be directly connected to subsequent link splicing processing from the edge side, rather than forming isolated carbon data detached from the energy link record and metering branch affiliation.
[0063] Preferably, when writing the time-segmented carbon data record and the corresponding edge energy channel attribute record into the same data segment, the data location of the data segment is first determined based on the energy link record, metering branch affiliation, and loss segment affiliation in the edge energy channel attribute record. Then, the time-segmented carbon data record is written into the data segment according to continuous metering periods, and the correspondence between the time-segmented carbon data record and the edge energy channel attribute record is written into the data segment. The data segment includes edge energy channel time-series records, edge energy channel attribute records, time-segmented carbon data records, carrier carbon conversion markers, input direction markers, and continuous metering periods. The edge energy channel time-series records are used to retain the data time source, the edge energy channel attribute records are used to retain the channel attribute source, the time-segmented carbon data records are used to express the result of the time-segmented carbon data calibration process, the carrier carbon conversion markers and the input direction markers are used to express the calibration basis of the time-segmented carbon data record, and the continuous metering periods are used to express the time affiliation of the time-segmented carbon data record. The fragmented data body continues to serve as the component of the edge carbon metering fragment, enabling the edge carbon metering fragment to be directly read by subsequent link splicing processing.
[0064] Preferably, the edge carbon metering segment is organized by one or more segmented data bodies according to the edge node device number and continuous metering time period; the segmented data bodies under the same edge node are arranged according to the continuous metering time period, and the segmented data bodies corresponding to different energy carrier categories are stored separately according to the energy link record and metering branch affiliation relationship. The edge carbon metering segment formed in this way can simultaneously express the continuous metering time period arrangement, energy channel affiliation, and carbon calibration result on the edge node side; after the edge carbon metering segment is uploaded to the cloud side, the cloud side can perform link splicing processing on the time-segmented carbon quantity records according to the energy link record, metering branch affiliation relationship, and loss segment affiliation relationship in the edge carbon metering segment, without having to re-infer the energy channel affiliation from the original metering reading.
[0065] Preferably, in a multi-energy metering scenario within a park, electricity metering terminals, heat medium metering terminals, and gas metering terminals can each form corresponding edge energy channel time-series records. These edge energy channel time-series records, after being bound to energy channel affiliation, form corresponding edge energy channel attribute records. During time-segmented carbon calibration, the edge energy channel attribute record corresponding to the electricity metering terminal reads the carrier carbon conversion flag and the accounting direction flag corresponding to electricity; the edge energy channel attribute record corresponding to the heat medium metering terminal reads the carrier carbon conversion flag and the accounting direction flag corresponding to heat medium; and the edge energy channel attribute record corresponding to the gas metering terminal reads the carrier carbon conversion flag and the accounting direction flag corresponding to gas. After each edge energy channel time-series record enters a continuous metering period according to the same edge node's local clock reference, it generates corresponding time-segmented carbon records, which are then written into the corresponding segmented data body to obtain edge carbon metering segments. Therefore, the time-segmented carbon records of different energy carrier categories have already completed time merging, direction accounting, and link segment attribution at the edge before entering the cloud, which is different from the processing method of directly transmitting the original metering readings of different energy carrier categories to the cloud and then uniformly converting them.
[0066] Preferably, after the edge carbon metering segment is formed, the edge carbon metering segment continues to retain the segment attribute correspondence between the time-segmented carbon quantity records and the edge energy channel attribute records. This segment attribute correspondence is used to determine the energy link records and metering branch affiliation relationships to which the time-segmented carbon quantity records should be written during subsequent link splicing processing. The edge carbon metering segment also retains the segment time-segmented correspondence between the time-segmented carbon quantity records and the continuous metering time period. This segment time-segmented correspondence is used to express the carbon quantity transfer status on each energy link record within the same continuous metering time period in the subsequent panoramic carbon metering link diagram of the park. Through this method, the edge carbon metering segment simultaneously retains the continuous metering time period, the edge energy channel attribute records, and the loss segment affiliation relationships in its data structure. This allows the subsequent panoramic carbon metering link diagram of the park to be constructed based on the data already calibrated on the edge side, thereby reducing data mismatch caused by the dispersed storage of sampling timestamps, energy carrier categories, and energy flow directions during centralized cloud processing.
[0067] Optionally, the step of performing link stitching processing on the edge carbon metering segments according to the cloud-side energy topology master record to obtain a panoramic carbon metering link map of the park includes: reading time-segmented carbon quantity records and edge energy channel attribute records from the edge carbon metering segments; determining the corresponding link stitching endpoints and link stitching order in the cloud-side energy topology master record according to the edge energy channel attribute records; writing the time-segmented carbon quantity records into the corresponding energy links according to the link stitching endpoints and the link stitching order to form carbon quantity transmission links; arranging multiple carbon quantity transmission links according to the connection relationship in the cloud-side energy topology master record to obtain the panoramic carbon metering link map of the park.
[0068] Preferably, when reading time-segmented carbon quantity records and edge energy channel attribute records from the edge carbon metering segments, the segmented data body in the edge carbon metering segments is first read according to the edge node device number and continuous metering period. Then, the time-segmented carbon quantity records, edge energy channel attribute records, continuous metering periods, segmented attribute correspondences, and segmented period correspondences are extracted from the segmented data body. Specifically, the time-segmented carbon quantity records express the carbon quantity calibration results that have been completed on the edge side; the edge energy channel attribute records express the energy link records, metering branch affiliation, loss segment affiliation, and energy flow direction corresponding to the time-segmented carbon quantity records; the continuous metering period expresses the time affiliation of the time-segmented carbon quantity records under the local clock reference of the edge node; the segmented attribute correspondences express the correspondence between the time-segmented carbon quantity records and the edge energy channel attribute records; and the segmented period correspondences express the correspondence between the time-segmented carbon quantity records and the continuous metering period. The read time-segmented carbon quantity records, edge energy channel attribute records, continuous metering periods, segmented attribute correspondences, and segmented time period correspondences together form segmented reading records. These segmented reading records continue to serve as the basis for determining link splicing endpoints and link splicing order, ensuring that subsequent link splicing processing no longer needs to re-infer energy link records and metering branch affiliations from the original metering readings.
[0069] Preferably, after the segmented read record is formed, the corresponding energy link record is searched in the cloud-side energy topology master record according to the edge energy channel attribute record in the segmented read record. The upstream energy node record, downstream energy node record, and upstream-downstream connection relationship corresponding to the energy link record are then read from the cloud-side energy topology master record. The upstream energy node record and the downstream energy node record together constitute the link splicing endpoint of the energy link record, and the upstream-downstream connection relationship is used to express the arrangement direction between the link splicing endpoints. The energy link record, the upstream energy node record, the downstream energy node record, and the upstream-downstream connection relationship are written into the same link splicing endpoint confirmation record. The link splicing endpoint confirmation record continues to be associated with the segmented read record, enabling the time-segmented carbon quantity record to locate the corresponding link splicing endpoint based on the edge energy channel attribute record.
[0070] Preferably, when determining the link splicing endpoint, the system further verifies whether the link splicing endpoint corresponds to the time-segmented carbon record based on the metering branch affiliation and loss segment affiliation in the edge energy channel attribute record. Specifically, the metering branch affiliation is first mapped to the metering branch record in the cloud-side energy topology master record. Then, the energy link segment of the metering branch record in the energy link record is determined based on the loss segment affiliation. Subsequently, the energy link segment is verified against the upstream and downstream energy node records in the link splicing endpoint confirmation record to form a link splicing endpoint verification record. The link splicing endpoint verification record is then written into the link splicing endpoint confirmation record, so that the link splicing endpoint confirmation record not only expresses the upstream and downstream energy node records of the energy link record but also expresses the correspondence between the energy link segment to which the time-segmented carbon record belongs and the link splicing endpoint.
[0071] Preferably, when determining the link splicing order based on the edge energy channel attribute record in the cloud-side energy topology master record, the energy flow in / out direction in the edge energy channel attribute record is read first, and the upstream / downstream connection relationship in the cloud-side energy topology master record is read. Subsequently, the energy flow in / out direction and the upstream / downstream connection relationship are checked for directional consistency to determine the writing direction of the time-segmented carbon quantity record between the link splicing endpoints, and a link splicing order confirmation record is formed. The link splicing order confirmation record includes an energy link record, link splicing endpoints, energy flow in / out direction, upstream / downstream connection relationship, and writing direction. This record continues to participate in the processing of writing the time-segmented carbon quantity record to the corresponding energy link record, enabling the time-segmented carbon quantity record to enter the subsequent carbon quantity transmission link along the upstream / downstream arrangement direction of the energy link record, rather than being arranged according to the order of cloud-side reception.
[0072] Preferably, when writing the time-segmented carbon data record into the corresponding energy link record according to the link splicing endpoint and the link splicing order, the corresponding energy link record is first determined based on the link splicing endpoint confirmation record, and then the writing direction of the time-segmented carbon data record in the corresponding energy link record is determined based on the link splicing order confirmation record. Subsequently, the time-segmented carbon data record is written into the corresponding energy link record according to the continuous metering period, at the position corresponding to the metering branch affiliation relationship and the loss segment affiliation relationship, to form a carbon data writing record. The carbon data writing record includes the corresponding energy link record, the time-segmented carbon data record, the continuous metering period, the metering branch affiliation relationship, the loss segment affiliation relationship, and the writing direction. The carbon data writing record continues to serve as the basis for forming the carbon data transmission link, enabling the carbon data transmission link to retain the time affiliation, channel affiliation, and energy link segment affiliation of the time-segmented carbon data record.
[0073] Preferably, when forming the carbon transfer link, multiple time-segmented carbon records are not simply superimposed onto the same energy link record. Instead, the time-segmented carbon records are segmented according to the continuous metering period, metering branch affiliation, and loss segment affiliation in the carbon write record. Time-segmented carbon records belonging to the same metering branch affiliation and the same loss segment affiliation within the same continuous metering period are written into the same energy link segment. Time-segmented carbon records corresponding to different continuous metering periods are arranged sequentially according to the arrangement order of the continuous metering periods. The above segmented writing process forms the carbon transfer link. The carbon transfer link continues to retain the link splicing endpoint confirmation record and the link splicing order confirmation record, so that the carbon transfer link can express from which link splicing endpoint the time-segmented carbon record enters, along which link splicing order it is transferred, and to which energy link segment it belongs.
[0074] Preferably, after multiple carbon transfer links are formed, they are arranged according to the upstream and downstream connection relationships in the cloud-side energy topology master record. Specifically, the upstream energy node record, downstream energy node record, and energy link record of each carbon transfer link are first read. Then, the sequential arrangement relationship of adjacent carbon transfer links is determined based on the upstream and downstream connection relationships in the cloud-side energy topology master record. Subsequently, the multiple carbon transfer links are arranged into a panoramic carbon metering link diagram for the park according to the sequential arrangement relationship. The panoramic carbon metering link diagram for the park retains the continuous metering period, energy link record, metering branch affiliation, loss segment affiliation, and energy flow direction corresponding to each carbon transfer link, enabling the panoramic carbon metering link diagram to express the carbon transfer status on different energy link records within the same continuous metering period.
[0075] Preferably, when arranging the multiple carbon metering links, the edge carbon metering segments uploaded by different edge nodes are time-aligned according to the segmented time period correspondence; the segmented time period correspondence is used to express the correspondence between the segmented carbon metering records and the continuous metering time periods, and the continuous metering time periods are used to express the time attribution of the segmented carbon metering records under the local clock reference of the edge nodes. According to the segmented time period correspondence, carbon metering links belonging to the same continuous metering time period are grouped into the same time arrangement unit, and carbon metering links of different continuous metering time periods are arranged according to the continuous metering time period arrangement order to form a panoramic carbon metering link map of the campus with time arrangement units; the panoramic carbon metering link map of the campus with time arrangement units is further used for the generation of subsequent topology deviation positioning records, so that subsequent topology deviation positioning records can be compared based on carbon metering links within the same continuous metering time period.
[0076] Preferably, in a multi-energy metering scenario within a park, after the edge carbon metering segments corresponding to the electricity metering terminal, heat medium metering terminal, and gas metering terminal enter the link splicing process, the corresponding time-segmented carbon quantity records and edge energy channel attribute records are first read from each edge carbon metering segment. Then, based on the energy link records, metering branch affiliation, loss segment affiliation, and energy flow in / out direction in each edge energy channel attribute record, the link splicing endpoints and link splicing order are determined respectively. The time-segmented carbon quantity records corresponding to the electricity metering terminal are written into the energy link record corresponding to electricity, the time-segmented carbon quantity records corresponding to the heat medium metering terminal are written into the energy link record corresponding to heat medium, and the time-segmented carbon quantity records corresponding to the gas metering terminal are written into the energy link record corresponding to gas. The energy link records corresponding to electricity, heat medium, and gas respectively form carbon quantity transmission links. Subsequently, each carbon quantity transmission link is arranged according to the upstream and downstream connection relationships and continuous metering periods in the cloud-side energy topology master record to obtain a panoramic carbon metering link map of the park. Therefore, when the time-segmented carbon records of different energy carrier categories are entered into the park's panoramic carbon metering link map, they still retain their respective energy link records, metering branch affiliation relationships, and loss segment affiliation relationships, which is different from the processing method of directly mapping the time-segmented carbon records of different energy carrier categories to the energy node records in the cloud-side energy topology master record.
[0077] Preferably, after the panoramic carbon metering link map of the park is formed, it continues to retain the source correspondence between the carbon transfer link and the edge carbon metering segments. This source correspondence is used to express which edge carbon metering segment the time-segmented carbon record in the carbon transfer link originates from. The panoramic carbon metering link map also retains the topological correspondence between the carbon transfer link and the cloud-side energy topology master record. This topological correspondence is used to express the energy node record, energy link record, and upstream and downstream connection relationships corresponding to the carbon transfer link. The source correspondence and the topological correspondence jointly participate in the generation of subsequent topological deviation location records, enabling these records to establish a traceable data relationship between the source of the time-segmented carbon record and the topological position in the cloud-side energy topology master record.
[0078] Optionally, the step of generating a topology deviation location record based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record includes: mapping the carbon transfer links in the panoramic carbon metering link map of the park to the energy link records in the cloud-side energy topology master record; identifying link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations between the carbon transfer links and the energy link records based on the mapping results; and merging the identified link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations according to the corresponding energy nodes to obtain the topology deviation location record.
[0079] Preferably, when mapping the carbon transfer links in the panoramic carbon metering link diagram of the park to the energy link records in the cloud-side energy topology master record, the carbon transfer links, continuous metering periods, energy link records, metering branch affiliation, loss segment affiliation, energy flow in / out direction, source correspondence, and topology correspondence in the panoramic carbon metering link diagram of the park are read first. Then, the energy node records, energy link records, metering branch records, and upstream / downstream connection relationships in the cloud-side energy topology master record are read. The source correspondence is used to express which edge carbon metering segment the time-segmented carbon record in the carbon transfer link originates from, and the topology correspondence is used to express the energy node records, energy link records, and upstream / downstream connection relationships corresponding to the carbon transfer link. The energy link records in the carbon transfer links are matched item by item with the energy link records in the cloud-side energy topology master record to form a link mapping record. This link mapping record continues to serve as input for identifying link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations, enabling subsequent topology deviation location records to be generated based on the link mapping record between the carbon transfer links and the cloud-side energy topology master record.
[0080] Preferably, when the link mapping record is formed, it not only records whether the carbon transfer link can correspond to the energy link record in the cloud-side energy topology master record, but also synchronously writes the upstream energy node record, downstream energy node record, continuous metering period, metering branch affiliation, loss segment affiliation, and energy flow in / out direction in the carbon transfer link into the link mapping record; the upstream energy node record and the downstream energy node record are used to express the link splicing endpoint of the carbon transfer link in the park panoramic carbon metering link map, the continuous metering period is used to express the time affiliation of the carbon transfer link, the metering branch affiliation is used to express the metering branch position of the carbon transfer link in the energy link record, and the loss segment affiliation is used to express the energy link segment of the carbon transfer link in the energy link record. The link mapping record retains the upstream energy node record, the downstream energy node record, the continuous metering period, the metering branch affiliation, the loss segment affiliation, and the energy flow in / out direction. This allows the identification of subsequent link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations to no longer rely solely on comparing the existence of energy node records. Instead, it enables corresponding judgments to be made by combining the continuous metering period, the metering branch affiliation, the loss segment affiliation, and the energy flow in / out direction.
[0081] Preferably, when identifying link missing deviations based on the link mapping record, the carbon transfer links in the link mapping record and the energy link records in the cloud-side energy topology master record are read first. Then, it is determined whether the carbon transfer link can be found in the cloud-side energy topology master record. When the carbon transfer link cannot be found in the cloud-side energy topology master record, the carbon transfer link, continuous metering period, source correspondence, and topology correspondence are written into the link missing deviation. The link missing deviation is used to express that a carbon transfer link has been formed in the park panoramic carbon metering link map, but the cloud-side energy topology master record lacks an energy link record corresponding to the carbon transfer link. The link missing deviation continues to participate in the generation of the topology deviation positioning record, so that the topology deviation positioning record can identify the missing correspondence between the carbon transfer link and the energy link record.
[0082] Preferably, when identifying directional deviations based on the link mapping record, the energy flow in / out direction, upstream energy node record, and downstream energy node record in the link mapping record are first read, and the upstream and downstream connection relationships of the corresponding energy link record in the cloud-side energy topology master record are read. Subsequently, the energy flow in / out direction and the upstream and downstream connection relationships are compared for directional correspondence to form a directional correspondence judgment record. When the directional correspondence judgment record indicates that the energy flow in / out direction of the carbon transfer link is inconsistent with the upstream and downstream connection relationships of the energy link record, the carbon transfer link, energy link record, energy flow in / out direction, upstream and downstream connection relationships, and continuous metering period are written into the directional deviation. The directional deviation is used to express that the carbon transfer link has been mapped to the energy link record, but the energy flow in / out direction in the carbon transfer link is inconsistent with the upstream and downstream connection relationships in the energy link record. The directional deviation continues to participate in the generation of the topology deviation positioning record, enabling the topology deviation positioning record to identify energy link records where the energy flow in / out direction is inconsistent with the upstream and downstream connection relationships.
[0083] Preferably, when identifying branch overlap deviations based on the link mapping record, the metering branch attribution relationship corresponding to multiple carbon transfer links within the same continuous metering period is first read, and the metering branch record in the cloud-side energy topology master record is read. Subsequently, the metering branch attribution relationship written by each carbon transfer link within the same continuous metering period is compared with the metering branch record to determine branch occupancy, thereby forming a branch occupancy determination record. When the branch occupancy determination record indicates that multiple carbon transfer links have written the same metering branch record within the same continuous metering period, the multiple carbon transfer links, the same metering branch record, the continuous metering period, and the corresponding energy link record are written into the branch overlap deviation. The branch overlap deviation is used to express that the same metering branch record is repeatedly occupied by multiple carbon transfer links within the same continuous metering period; the branch overlap deviation continues to participate in the generation of the topology deviation positioning record, enabling the topology deviation positioning record to identify the repeated writing position on the metering branch record.
[0084] Preferably, when identifying branch bypass deviations based on the link mapping record, the loss segment attribution relationship, metering branch attribution relationship, and link splicing endpoint confirmation record in the carbon transfer link are first read, and the metering branch record associated with the corresponding energy link record in the cloud-side energy topology master record is read. Subsequently, the upstream energy node record and downstream energy node record of the carbon transfer link in the energy link record are determined based on the link splicing endpoint confirmation record. Then, it is determined whether the carbon transfer link bypasses the metering branch record it should pass through, thus forming a branch path judgment record. When the branch path judgment record indicates that the loss segment attribution relationship of the carbon transfer link has not passed through the corresponding metering branch record, the carbon transfer link, loss segment attribution relationship, metering branch record, upstream energy node record, downstream energy node record, and continuous metering period are written into the branch bypass deviation. The branch bypass deviation is used to express that the carbon transfer link has been formed in the park's panoramic carbon metering link map, but the carbon transfer link has not entered the corresponding metering branch attribution relationship according to the metering branch record in the cloud-side energy topology master record.
[0085] Preferably, after the link missing deviation, the direction deviation, the branch overlap deviation, and the branch bypass deviation are formed, the continuous metering period, energy link record, metering branch affiliation relationship, loss segment affiliation relationship, and source correspondence relationship corresponding to the carbon transfer link are retained respectively; wherein, the continuous metering period is used to express the time attribution of the occurrence of the link missing deviation, the direction deviation, the branch overlap deviation, and the branch bypass deviation; the energy link record is used to express the energy link record corresponding to the link missing deviation, the direction deviation, the branch overlap deviation, and the branch bypass deviation; the metering branch affiliation relationship is used to express the metering branch position corresponding to the link missing deviation, the direction deviation, the branch overlap deviation, and the branch bypass deviation; the loss segment affiliation relationship is used to express the energy link segment corresponding to the link missing deviation, the direction deviation, the branch overlap deviation, and the branch bypass deviation; and the source correspondence relationship is used to express the edge carbon metering segment source corresponding to the link missing deviation, the direction deviation, the branch overlap deviation, and the branch bypass deviation. The above content continues to serve as the basis for the topology deviation location record, enabling the topology deviation location record to simultaneously express the deviation type, continuous metering period, energy link record, metering branch affiliation, loss segment affiliation, and source correspondence.
[0086] Preferably, when merging the identified link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations according to their corresponding energy node records, the upstream and downstream energy node records are first read from the link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations. Then, the upstream and downstream energy node records are respectively mapped to the energy node records in the cloud-side energy topology master record to form an energy node merging record. The energy node merging record is used to express which energy node record each link missing deviation, direction deviation, branch overlap deviation, and branch bypass deviation corresponds to, and the position of that energy node record in the upstream and downstream connection relationship. The energy node merging record continues to serve as the basis for generating topology deviation location records, enabling the topology deviation location records to be centrally expressed according to energy node records, rather than simply listing scattered link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations.
[0087] Preferably, when generating the topology deviation location record, the energy node merging record, link missing deviation, direction deviation, branch overlap deviation, and branch bypass deviation are written into the same record structure. The topology deviation location record retains continuous metering time periods, carbon transfer links, energy link records, energy node records, metering branch affiliation relationships, loss segment affiliation relationships, and source correspondence relationships. Specifically, the continuous metering time period is used to ensure that the topology deviation location record corresponds to a time arrangement unit in the park's panoramic carbon metering link diagram; the carbon transfer link is used to ensure that the topology deviation location record corresponds to a carbon transfer link in the park's panoramic carbon metering link diagram; and the energy node record and energy link record are used to ensure that the topology deviation location record corresponds to a topological position in the cloud-side energy topology master record. The topology deviation location record continues to serve as input for subsequent determination of carbon transfer-restricted links, enabling subsequent processing to locate carbon transfer-restricted links from the merged link missing deviation, direction deviation, branch overlap deviation, and branch bypass deviation.
[0088] Preferably, in a multi-energy metering scenario within a park, if the carbon transfer links corresponding to electricity, heat transfer media, and gas all enter topology deviation positioning processing, then the carbon transfer links corresponding to electricity, heat transfer media, and gas are mapped to the corresponding energy link records in the cloud-side energy topology master record, respectively. When the carbon transfer link corresponding to electricity lacks a corresponding energy link record, a link missing deviation is generated. When the energy flow direction of the carbon transfer link corresponding to heat transfer media is inconsistent with the upstream and downstream connection relationship of the corresponding energy link record, a direction deviation is generated. When multiple carbon transfer links corresponding to gas are written to the same metering branch record in the same continuous metering period, a branch overlap deviation is generated. When any carbon transfer link bypasses the corresponding metering branch record, a branch bypass deviation is generated. The aforementioned link missing deviation, direction deviation, branch overlap deviation, and branch bypass deviation are then merged according to the corresponding energy node records to obtain the topology deviation location record. Thus, the topology deviation location record can merge link missing deviation, direction deviation, branch overlap deviation, and branch bypass deviation under different energy carrier categories into the energy node records and energy link records in the cloud-side energy topology master record, which is different from the processing method of only judging whether the energy node records are abnormal in the cloud-side static network diagram.
[0089] Optionally, the step of determining carbon transfer-restricted links based on the panoramic carbon metering link map of the park and the topology deviation location record, and generating a topology candidate adjustment sequence based on the carbon transfer-restricted links, includes: locating carbon transfer links with topology deviations in the panoramic carbon metering link map of the park based on the topology deviation location record, and determining the located carbon transfer links as the carbon transfer-restricted links; determining candidate adjustment links and candidate adjustment nodes based on the upstream and downstream connection relationships of the carbon transfer-restricted links in the cloud-side energy topology master record; performing topology availability verification on the candidate adjustment links and candidate adjustment nodes based on the panoramic carbon metering link map of the park, and arranging the candidate adjustment links and candidate adjustment nodes according to the topology availability verification results to obtain the topology candidate adjustment sequence.
[0090] Preferably, when determining the carbon transfer restricted links based on the panoramic carbon metering link map of the park and the topology deviation positioning record, the following are first read from the topology deviation positioning record: link missing deviation, direction deviation, branch overlap deviation, branch bypass deviation, continuous metering period, energy link record, energy node record, upstream energy node record, downstream energy node record, metering branch affiliation, loss segment affiliation, energy carrier category, energy flow in / out direction, and source correspondence. Simultaneously, the carbon transfer links, time arrangement units, time-segmented carbon records, and topology correspondence are read from the panoramic carbon metering link map of the park. Specifically, the continuous metering period is used to express the time position of the deviation, the energy link record is used to express the link position of the deviation, the upstream and downstream energy node records are used to express the link splicing endpoints of the deviation, the metering branch affiliation and the loss segment affiliation are used to express the metering branch position and energy link segment of the deviation, the energy carrier category is used to express the energy type of the deviation, the energy flow in / out direction is used to express the carbon transfer direction of the deviation, and the source correspondence is used to express the edge carbon metering segment source corresponding to the deviation. The link missing deviation, the direction deviation, the branch overlap deviation, and the branch bypass deviation are mapped back to the carbon transfer links in the panoramic carbon metering link map of the park, to form a restricted link location record. The restricted link location record continues to serve as the input for determining the restricted carbon transfer links, so that the restricted carbon transfer links are derived from the correspondence between the topology deviation location record and the panoramic carbon metering link map of the park, rather than being inferred solely from the static connection positions in the cloud-side energy topology master record.
[0091] Preferably, after the restricted link location record is formed, the carbon transfer links in the restricted link location record are time-merged according to the continuous metering period, and the carbon transfer links after time merging are link-merged according to the energy link record; when the same carbon transfer link corresponds to at least one of the following deviations in the same continuous metering period: link missing deviation, direction deviation, branch overlap deviation, or branch bypass deviation, the carbon transfer link is determined to be a carbon transfer restricted link. The carbon-transfer-restricted link retains the corresponding link missing deviation, direction deviation, branch overlap deviation, branch bypass deviation, continuous metering period, energy link record, upstream energy node record, downstream energy node record, metering branch affiliation, loss segment affiliation, energy carrier category, energy flow in / out direction, and source correspondence. The link missing deviation, direction deviation, branch overlap deviation, and branch bypass deviation are also written into the same deviation type record. The deviation type record is used to express the deviation type corresponding to the carbon-transfer-restricted link. The deviation type record continues to enter the candidate adjustment link and candidate adjustment node generation process along with the carbon-transfer-restricted link, so that subsequent candidate adjustment links and candidate adjustment nodes can be developed around the carbon-transfer link that has already deviated, rather than making indiscriminate adjustments to all energy link records.
[0092] Preferably, when determining candidate adjustment links and candidate adjustment nodes based on the upstream and downstream connection relationships of the carbon-transfer-limited links in the cloud-side energy topology master record, the following steps are taken: first, energy link records, upstream energy node records, downstream energy node records, metering branch affiliation relationships, loss segment affiliation relationships, energy carrier categories, energy flow in / out directions, and deviation type records are read from the carbon-transfer-limited links; then, energy link records adjacent to the upstream energy node records, energy link records adjacent to the downstream energy node records, and energy node records corresponding to the adjacent energy link records are read from the cloud-side energy topology master record. The energy link record, the upstream energy node record, the downstream energy node record, the adjacent energy link record, the energy node record corresponding to the adjacent energy link record, the energy carrier category, the energy flow direction, and the deviation type record are written into the same restricted link topology adjacency record. The restricted link topology adjacency record is used to express the upstream and downstream connection range of the carbon transfer restricted link in the cloud-side energy topology master record. The restricted link topology adjacency record continues to serve as the screening basis for candidate adjustment links and candidate adjustment nodes, so that the candidate adjustment range is limited to the energy link records and energy node records that have upstream and downstream connection relationships with the carbon transfer restricted link.
[0093] Preferably, when determining the candidate adjustment link, firstly, energy link records adjacent to the carbon transfer restricted link are read according to the restricted link topology adjacency record. Then, the adjacent energy link record is determined according to the topology deviation positioning record to see if it already corresponds to a link missing deviation, direction deviation, branch overlap deviation, or branch bypass deviation. When the adjacent energy link record does not correspond to the link missing deviation, direction deviation, branch overlap deviation, or branch bypass deviation, and the adjacent energy link record has the same energy carrier category as the carbon transfer restricted link, the adjacent energy link record is written into the candidate adjustment link. The candidate adjustment link retains the corresponding upstream energy node record, downstream energy node record, energy carrier category, metering branch record, loss segment affiliation, energy flow in / out direction, upstream and downstream connection relationship, and adjacency relationship with the carbon transfer restricted link. The candidate adjustment link continues to participate in topology availability verification so that subsequent topology availability verification can determine whether the candidate adjustment link can accept the time-segmented carbon records corresponding to the carbon transfer restricted link.
[0094] Preferably, when determining the candidate adjustment node, the upstream and downstream energy node records corresponding to the candidate adjustment link are first read according to the candidate adjustment link. Then, the metering branch records in the cloud-side energy topology master record are used to determine whether the upstream and downstream energy node records can form a continuous metering branch connection with the metering branch affiliation relationship corresponding to the carbon transfer restricted link. When the upstream or downstream energy node record can form a continuous metering branch connection with the metering branch affiliation relationship, the upstream or downstream energy node record is written into the candidate adjustment node. The candidate adjustment node retains the corresponding energy node record, adjacent energy link records, metering branch records, loss segment affiliation relationship, energy flow in / out direction, and upstream / downstream connection relationship. The candidate adjustment node continues to participate in the topology availability verification together with the candidate adjustment link, so that a candidate adjustment correspondence relationship that can be identified by the park's panoramic carbon metering link map can be formed between the candidate adjustment link and the candidate adjustment node.
[0095] Preferably, when performing topology availability verification on the candidate adjustment links and candidate adjustment nodes according to the panoramic carbon metering link map of the park, the candidate adjustment links, candidate adjustment nodes, carbon transfer-restricted links, carbon transfer links in the panoramic carbon metering link map of the park, and deviation type records in the carbon transfer-restricted links are first read. Then, based on the continuous metering period, it is determined whether the candidate adjustment links and candidate adjustment nodes can form a time correspondence with the carbon transfer-restricted links within the same time arrangement unit, so as to form a time correspondence verification record. The time correspondence verification record continues to be associated with the candidate adjustment links and candidate adjustment nodes, so that the subsequent topology availability verification results can express whether the candidate adjustment links and candidate adjustment nodes are suitable for the continuous metering period corresponding to the carbon transfer-restricted links.
[0096] Preferably, after the time-correspondence verification record is formed, a connection continuity verification is performed based on the upstream and downstream connection relationships of the candidate adjustment links, the energy node records of the candidate adjustment nodes, and the upstream and downstream connection relationships of the carbon transfer-restricted links, to form a connection continuity verification record. This connection continuity verification record indicates whether the candidate adjustment links and the candidate adjustment nodes can form a continuous upstream and downstream connection path between the upstream and downstream energy node records of the carbon transfer-restricted links. Subsequently, a metering branch correspondence verification is performed based on the metering branch attribution relationship between the metering branch records of the candidate adjustment links and the metering branch attribution relationship of the carbon transfer-restricted links, to form a metering branch correspondence verification record. This metering branch correspondence verification record indicates whether the candidate adjustment links can accept the metering branch attribution relationship corresponding to the carbon transfer-restricted links. The connection continuity verification record and the metering branch correspondence verification record continue to serve as components of the topology availability verification result, enabling the topology availability verification result to reflect the availability status of the candidate adjustment links and candidate adjustment nodes in terms of upstream and downstream connection relationships and metering branch attribution relationships.
[0097] Preferably, during topology availability verification, a direction consistency verification is also performed based on the energy flow in / out direction of the candidate adjustment link, the upstream and downstream connection relationship of the candidate adjustment link, and the energy flow in / out direction of the carbon transfer-restricted link, to form a direction consistency verification record. This direction consistency verification record indicates whether the energy flow in / out direction of the candidate adjustment link is consistent with the upstream and downstream connection relationship in the cloud-side energy topology master record when it receives the time-segmented carbon record corresponding to the carbon transfer-restricted link. Subsequently, an energy link segment correspondence verification is performed based on the loss segment attribution relationship of the candidate adjustment link and the loss segment attribution relationship of the carbon transfer-restricted link, to form an energy link segment correspondence verification record. This energy link segment correspondence verification record indicates whether the candidate adjustment link can receive the carbon transfer status corresponding to the carbon transfer-restricted link within the energy link segment corresponding to the carbon transfer-restricted link or an adjacent energy link segment. The direction consistency verification record and the energy link segment correspondence verification record are then written into the topology availability verification result, so that the topology availability verification result can simultaneously reflect the direction availability status and the energy link segment availability status.
[0098] Preferably, the topology availability verification result is jointly formed by the time correspondence verification record, the connection continuity verification record, the metering branch correspondence verification record, the direction consistency verification record, and the energy link segment correspondence verification record. When the candidate adjustment link and the candidate adjustment node satisfy the correspondence relationship in all of these records, the candidate adjustment link and the candidate adjustment node are written into the available candidate adjustment record. When the candidate adjustment link or the candidate adjustment node does not satisfy the correspondence relationship in any of these records, the candidate adjustment link or the candidate adjustment node is written into the unavailable candidate adjustment record. The available candidate adjustment record continues to participate in the arrangement of the topology candidate adjustment sequence, and the unavailable candidate adjustment record continues to be retained in the topology availability verification result so that subsequent pre-execution verification can identify the exclusion basis of the excluded candidate adjustment link and candidate adjustment node.
[0099] Preferably, when arranging the candidate adjustment links and candidate adjustment nodes according to the topology availability verification results, the candidate adjustment links, candidate adjustment nodes, continuous metering periods, corresponding carbon transfer restricted links, and deviation type records are first read from the available candidate adjustment records. Then, deviation processing order records are generated according to the link missing deviation, direction deviation, branch overlap deviation, and branch bypass deviation in the deviation type records. These deviation processing order records express the arrangement basis of the candidate adjustment links and candidate adjustment nodes in the topology candidate adjustment sequence. For link missing deviations, the deviation processing order records prioritize candidate adjustment links that can supplement the corresponding relationships in the energy link records. For direction deviations, the deviation processing order records prioritize candidate adjustment links and candidate adjustment nodes that enable the energy flow in / out direction to be consistent with the upstream and downstream connection relationships. For branch overlap deviations, the deviation processing order records prioritize candidate adjustment links that can separate duplicate entries in the metering branch records. For branch bypass deviations, the deviation processing order records prioritize candidate adjustment nodes that allow the carbon transfer link to re-pass through the corresponding metering branch record. The above permutation process forms a candidate adjustment permutation record, which continues to serve as the basis for generating a topological candidate adjustment sequence.
[0100] Preferably, when generating the topology candidate adjustment sequence, the candidate adjustment arrangement record, topology availability verification result, carbon transfer restricted link, candidate adjustment link, candidate adjustment node, continuous metering period, and deviation type record are written into the same topology candidate adjustment sequence, and the candidate adjustment correspondence between the candidate adjustment link and the candidate adjustment node is retained in the topology candidate adjustment sequence. Each candidate adjustment item in the topology candidate adjustment sequence corresponds to a carbon transfer restricted link, and each candidate adjustment item retains the corresponding topology availability verification result, candidate adjustment link, candidate adjustment node, and deviation type record; the topology candidate adjustment sequence continues to serve as the basis for generating subsequent pre-execution verification instructions, enabling subsequent pre-execution verification instructions to determine the corresponding edge node, candidate adjustment link, and candidate adjustment node based on the topology candidate adjustment sequence.
[0101] Preferably, in a multi-energy metering scenario within a park, if the topology deviation location record shows that the carbon transfer link corresponding to electricity has a missing link deviation, the carbon transfer link corresponding to heat medium has a directional deviation, and the carbon transfer link corresponding to gas has a branch overlap deviation, then the restricted carbon transfer links corresponding to electricity, heat medium, and gas are first located in the park's panoramic carbon metering link map. Then, candidate adjustment links and candidate adjustment nodes are determined based on the upstream and downstream connection relationships of these links in the cloud-side energy topology master record. Subsequently, the topology availability of the candidate adjustment links and candidate adjustment nodes is verified according to the park's panoramic carbon metering link map, and a topology candidate adjustment sequence is formed based on the topology availability verification results. Thus, the topology candidate adjustment sequence can retain records of restricted carbon transfer links, candidate adjustment links, candidate adjustment nodes, and deviation types corresponding to different energy carrier categories, unlike the processing method that directly generates a unified adjustment result based solely on static node states.
[0102] Optionally, the step of generating a multi-energy topology optimization control record for the park based on the topology candidate adjustment sequence includes: determining a corresponding edge node based on the topology candidate adjustment sequence and issuing a pre-execution verification instruction to the corresponding edge node; the corresponding edge node reading the edge energy channel timing record and the edge device identity record according to the pre-execution verification instruction, and performing a pre-execution verification on the topology candidate adjustment sequence based on the edge energy channel timing record and the edge device identity record to obtain a pre-execution verification pass record; determining the target topology adjustment content from the topology candidate adjustment sequence based on the pre-execution verification pass record, and generating the multi-energy topology optimization control record for the park based on the target topology adjustment content.
[0103] Preferably, when determining the corresponding edge node based on the topology candidate adjustment sequence, the candidate adjustment content, carbon transfer restricted link, candidate adjustment link, candidate adjustment node, continuous metering period, deviation type record, and topology availability verification result in the topology candidate adjustment sequence are read first. Then, the source correspondence, energy link record, metering branch affiliation, loss segment affiliation, and energy carrier category retained in the carbon transfer restricted link are read. The source correspondence is used to express which edge carbon metering segment the time-segmented carbon record in the carbon transfer restricted link originates from. The edge carbon metering segment retains the corresponding edge node device number, which is used to characterize the corresponding edge node that generated the edge carbon metering segment. The edge node device number is read according to the source correspondence, and a candidate adjustment node execution correspondence is established between the edge node device number and the candidate adjustment content in the topology candidate adjustment sequence. The candidate adjustment node execution correspondence is used to express the execution affiliation relationship between each candidate adjustment content and the corresponding edge node. The candidate adjustment node execution correspondence continues to serve as the basis for determining the corresponding edge node, so that each candidate adjustment content can be mapped to the corresponding edge node that forms the deviation type record, instead of generating adjustment judgments solely based on the static topology position in the cloud-side energy topology master record.
[0104] Preferably, after the corresponding edge node is determined, the edge node device number, edge node acquisition port identifier, edge node channel direction identifier, and edge node access network segment identifier in the edge device identity record are read according to the corresponding relationship of the candidate adjustment node. The edge node acquisition port identifier is then matched with the metering branch record in the candidate adjustment link to form an edge execution entry record. The edge execution entry record is used to express whether the candidate adjustment content can be identified by the edge node acquisition port identifier and edge node channel direction identifier of the corresponding edge node. The edge execution entry record continues to be written with the candidate adjustment content into the same pre-execution verification instruction, so that the pre-execution verification instruction carries the correspondence between the candidate adjustment content, the corresponding edge node, the edge node acquisition port identifier, the edge node channel direction identifier, and the continuous metering period before it is issued, thereby reducing the possibility of sending the candidate adjustment content to an edge node that does not correspond to the metering access location.
[0105] Preferably, when generating the pre-execution verification instruction, firstly, available candidate adjustment records, candidate adjustment arrangement records, candidate adjustment links, candidate adjustment nodes, deviation type records, and topology availability verification results are read from the topology candidate adjustment sequence. Then, continuous metering periods, energy link records, metering branch affiliation relationships, loss segment affiliation relationships, energy carrier categories, and energy flow in / out directions are read from the carbon transfer restricted links. Subsequently, the available candidate adjustment records, candidate adjustment arrangement records, candidate adjustment links, candidate adjustment nodes, deviation type records, topology availability verification results, continuous metering periods, energy link records, metering branch affiliation relationships, loss segment affiliation relationships, energy carrier categories, and energy flow in / out directions are written into the pre-execution verification instruction according to the arrangement order in the candidate adjustment arrangement records. The pre-execution verification instruction does not directly execute the topology change control content, but is used to trigger the corresponding edge node to perform local data consistency verification on the candidate adjustment link and the candidate adjustment node; the pre-execution verification instruction is further sent to the corresponding edge node, enabling the corresponding edge node to verify the candidate adjustment content based on the edge energy channel timing record and edge device identity record stored by the corresponding edge node.
[0106] Preferably, after receiving the pre-execution verification instruction, the corresponding edge node first reads the corresponding edge energy channel timing record according to the continuous metering period, energy carrier category, energy link record, and metering branch affiliation in the pre-execution verification instruction. Then, it reads the sampling time merging record, the merged local time position, the access correspondence, the original metering reading, the reading unit marker, and the energy link record from the edge energy channel timing record. The sampling time merging record and the merged local time position are used to verify whether the candidate adjustment content corresponds to the time position under the same edge node's local clock reference. The access correspondence is used to verify whether the candidate adjustment content corresponds to an identifiable metering access position. The energy link record is used to verify whether the candidate adjustment content corresponds to an energy channel already bound on the edge side. The above reading results form the edge timing verification basic record. This basic record continues to participate in the pre-execution verification, allowing the pre-execution verification to make a judgment based on the time source, access source, and link affiliation source in the edge energy channel timing record, rather than solely based on the candidate adjustment content in the topology candidate adjustment sequence.
[0107] Preferably, the corresponding edge node further reads the edge device identity record according to the pre-execution verification instruction, and reads the edge node device number, edge node acquisition port identifier, edge node channel direction identifier, and edge node access network segment identifier from the edge device identity record; then, the edge node device number is checked for consistency with the corresponding edge node in the pre-execution verification instruction to form an edge node identity verification record; the edge node acquisition port identifier is checked for entry consistency with the access correspondence in the edge energy channel timing record to form an edge acquisition entry verification record; the edge node channel direction identifier is checked for direction consistency with the energy flow in / out direction in the pre-execution verification instruction to form an edge channel direction verification record. The edge node identity verification record, the edge acquisition entry verification record, and the edge channel direction verification record are then written into the pre-execution verification result, so that the pre-execution verification result can express whether the corresponding edge node, the edge node acquisition port identifier, and the edge node channel direction identifier correspond to the candidate adjustment content.
[0108] Preferably, when performing pre-execution verification on the topology candidate adjustment sequence based on the edge energy channel timing record and the edge device identity record, the edge timing verification base record is first read in correspondence with the topology availability verification result in the topology candidate adjustment sequence to verify whether the candidate adjustment link and the candidate adjustment node are still in the same continuous metering period under the edge node local clock reference; then, the edge acquisition entry verification record is read in correspondence with the metering branch record in the candidate adjustment link to verify whether the candidate adjustment link can accept the metering branch affiliation relationship corresponding to the carbon transfer restricted link; then, the edge channel direction verification record is read in correspondence with the upstream and downstream connection relationship in the candidate adjustment link to verify whether the energy flow in / out direction of the candidate adjustment link is consistent with the edge node channel direction identifier of the corresponding edge node. The above verification forms a pre-execution sub-item verification record, which continues to serve as the basis for generating pre-execution verification pass records and pre-execution verification fail records.
[0109] Preferably, after the pre-execution item verification record is formed, each candidate adjustment item in the topology candidate adjustment sequence is marked with a candidate adjustment pass status according to the pre-execution item verification record. When the edge node identity verification record, edge acquisition entry verification record, edge channel direction verification record, and edge timing verification base record corresponding to the candidate adjustment item all satisfy the corresponding relationship, the candidate adjustment item and the corresponding candidate adjustment pass status mark are written into the pre-execution verification pass record. When the candidate adjustment item does not satisfy the corresponding relationship in any of the above verification records, the candidate adjustment item and the corresponding candidate adjustment pass status mark are written into the pre-execution verification fail record. The pre-execution verification pass record continues to retain the candidate adjustment link, candidate adjustment node, continuous metering period, deviation type record, energy link record, metering branch affiliation, loss segment affiliation, energy carrier category, and corresponding edge node. The pre-execution verification fail record continues to retain the failed verification record so as to exclude candidate adjustment items that do not correspond to the actual access status of the edge node when generating the park multi-energy topology optimization control record later.
[0110] Preferably, when determining the target topology adjustment content from the candidate topology adjustment sequence based on the pre-execution verification pass record, the candidate adjustment arrangement record, deviation type record, candidate adjustment link, candidate adjustment node, topology availability verification result, and candidate adjustment pass status flag in the pre-execution verification pass record are first read. The candidate adjustment content that has passed the pre-execution verification is then sequentially filtered according to the candidate adjustment arrangement record. In the case where multiple candidate adjustment contents correspond to the same carbon transfer restricted link, the candidate adjustment contents that correspond to the deviation type record, the topology availability verification result, and the candidate adjustment pass status flag are retained, and the retained candidate adjustment contents are written into the target topology adjustment content. The target topology adjustment content continues to retain the corresponding carbon transfer restricted link, candidate adjustment link, candidate adjustment node, continuous metering period, deviation type record, corresponding edge node, and pre-execution verification pass record, enabling the target topology adjustment content to be traced from the cloud-side deviation location result to the edge-side pre-execution verification result.
[0111] Preferably, after the target topology adjustment content is determined, when generating a multi-energy topology optimization control record for the park based on the target topology adjustment content, the candidate adjustment links, candidate adjustment nodes, corresponding edge nodes, edge node acquisition port identifiers, edge node channel direction identifiers, continuous metering periods, and deviation type records in the target topology adjustment content are first read. The corresponding topology optimization control fields are then determined based on the deviation type records. For link missing deviations, the topology optimization control fields include the energy link record to be added and the corresponding metering branch record. For directional deviations, the topology optimization control fields include the energy flow in / out direction that needs correction and the corresponding upstream and downstream connection relationships. For branch overlap deviations, the topology optimization control fields include the metering branch record that needs to be separated and the candidate adjustment link. For branch bypass deviations, the topology optimization control fields include the metering branch record that needs to be retraced and the candidate adjustment node. These topology optimization control fields, together with the target topology adjustment content, form the multi-energy topology optimization control record for the park, enabling the record to express the adjustment object, adjustment location, adjustment direction, and corresponding edge node.
[0112] Preferably, the park multi-energy topology optimization control record does not directly use the static node number in the cloud-side energy topology master record as the sole adjustment basis. Instead, it simultaneously retains the edge energy channel timing record, edge device identity record, pre-execution verification pass record, and topology availability verification result corresponding to the target topology adjustment content. The edge energy channel timing record expresses the local time location and energy link record corresponding to the target topology adjustment content; the edge device identity record expresses the edge node acquisition port identifier and edge node channel direction identifier corresponding to the target topology adjustment content; the pre-execution verification pass record expresses that the target topology adjustment content has passed the local data consistency verification of the corresponding edge node; and the topology availability verification result expresses the link availability status of the target topology adjustment content in the park's panoramic carbon metering link map. These records are collectively written into the park multi-energy topology optimization control record, enabling the park multi-energy topology optimization control record to retain cloud-side topology and edge-side access basis before subsequent execution.
[0113] Preferably, in a multi-energy metering scenario within a park, if the topology candidate adjustment sequence simultaneously includes candidate adjustment content for electricity, candidate adjustment content for heat medium, and candidate adjustment content for gas, then the corresponding edge nodes are first determined based on the source correspondence in each candidate adjustment content, and then pre-execution verification instructions are issued to each corresponding edge node. Each corresponding edge node reads its own stored edge energy channel timing record and edge device identity record, and generates a pre-execution verification pass record or a pre-execution verification fail record. For the portions of the candidate adjustment content for electricity, the candidate adjustment content for heat medium, and the candidate adjustment content for gas that pass the pre-execution verification, the corresponding target topology adjustment content is determined, and the corresponding target topology adjustment content is written into the same park multi-energy topology optimization control record. Thus, the park multi-energy topology optimization control record can express the adjustment object, corresponding edge node, candidate adjustment link, candidate adjustment node, and deviation type record under different energy carrier categories, which is different from the processing method of generating a unified adjustment instruction only in the cloud-side static network diagram.
[0114] Preferably, after the multi-energy topology optimization control record of the park is formed, the correspondence between the target topology adjustment content and the carbon transfer-restricted links is retained, as well as the edge execution correspondence between the target topology adjustment content and the corresponding edge nodes. The restricted source correspondence is used to express which carbon transfer-restricted link the target topology adjustment content originates from and the corresponding deviation type record. The edge execution correspondence is used to express which corresponding edge node the target topology adjustment content should be sent to and the corresponding edge node acquisition port identifier. The restricted source correspondence and the edge execution correspondence are jointly stored in the multi-energy topology optimization control record of the park, so that the multi-energy topology optimization control record of the park can trace the topology deviation location record, the topology candidate adjustment sequence, and the pre-execution verification pass record during subsequent execution or review.
[0115] like Figure 3 As shown in the figure, this application provides an embodiment of a cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization device for industrial parks. The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization device includes: The edge clock calibration unit is configured to acquire multi-energy terminal metering data of the park, edge device identity records and cloud-side energy topology master records, determine the local clock reference of the edge node based on the edge device identity records, and perform edge clock calibration processing on the multi-energy terminal metering data of the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data of the park. The energy channel binding unit is configured to bind the energy channel affiliation of the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record, obtain the edge energy channel time series record, and determine the edge energy channel attribute record based on the edge energy channel time series record; The carbon metering link generation unit is configured to perform time-segmented carbon calibration processing on the edge energy channel time sequence record and the edge energy channel attribute record according to the preset carbon conversion benchmark record to obtain edge carbon metering segments, and perform link splicing processing on the edge carbon metering segments according to the cloud-side energy topology master record to obtain a panoramic carbon metering link map of the park. The topology optimization control unit is configured to generate a topology deviation positioning record based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record, determine carbon transfer-restricted links based on the panoramic carbon metering link map of the park and the topology deviation positioning record, generate a topology candidate adjustment sequence based on the carbon transfer-restricted links, and generate a multi-energy topology optimization control record of the park based on the topology candidate adjustment sequence.
[0116] like Figure 4 As shown, an electronic device according to an embodiment of this application is characterized in that the electronic device includes: a memory, a processor, and a campus multi-energy panoramic carbon metering and topology optimization program stored in the memory and executable on the processor. The campus multi-energy panoramic carbon metering and topology optimization program is configured to implement the steps of the campus multi-energy panoramic carbon metering and topology optimization method based on cloud-edge collaboration as described in any one of this application.
[0117] like Figure 5 As shown, a computer-readable storage medium is provided in an embodiment of this application. The computer-readable storage medium stores a multi-energy panoramic carbon metering and topology optimization program for a park. When the multi-energy panoramic carbon metering and topology optimization program for a park is executed by a processor, it implements the steps of the cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for a park as described in any one of this application.
[0118] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A cloud-edge collaborative method for multi-energy panoramic carbon metering and topology optimization in industrial parks, characterized in that, The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks includes the following steps: Acquire multi-energy terminal metering data, edge device identity records, and cloud-side energy topology master records in the park; determine the local clock reference of the edge node based on the edge device identity records; perform edge clock calibration processing on the multi-energy terminal metering data in the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data in the park. Based on the cloud-side energy topology master record, the energy channel affiliation is bound to the calibrated multi-energy terminal metering data of the park to obtain the edge energy channel time series record, and the edge energy channel attribute record is determined based on the edge energy channel time series record; Based on the preset carbon conversion benchmark record, the edge energy channel time sequence record and the edge energy channel attribute record are processed to perform time-segmented carbon quantity calibration to obtain edge carbon metering segments. Based on the cloud-side energy topology master record, the edge carbon metering segments are processed to perform link splicing to obtain a panoramic carbon metering link map of the park. A topology deviation location record is generated based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record. A carbon transfer-restricted link is determined based on the panoramic carbon metering link map of the park and the topology deviation location record. A topology candidate adjustment sequence is generated based on the carbon transfer-restricted link. A multi-energy topology optimization control record of the park is generated based on the topology candidate adjustment sequence.
2. The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks as described in claim 1, characterized in that, The steps for obtaining multi-energy terminal metering data, edge device identity records, and cloud-side energy topology master records in the park include: obtaining metering sampling records reported by multiple types of energy metering terminals; performing field normalization on the metering sampling records to obtain the multi-energy terminal metering data in the park; reading the edge node identity field used to characterize edge nodes, acquisition ports, and channel directions to obtain the edge device identity records; reading the cloud-side topology field used to characterize the connection relationship between energy nodes, energy links, and metering branches to obtain the cloud-side energy topology master records; and reading the carbon conversion benchmark field corresponding to the energy carrier category and energy flow in / out direction to obtain the carbon conversion benchmark records.
3. The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks as described in claim 1, characterized in that, The steps of determining the local clock reference of the edge node based on the edge device identity record, and performing edge clock calibration processing on the multi-energy terminal metering data of the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data of the park include: determining the edge node to which the multi-energy terminal metering data of the park belongs based on the edge device identity record, and determining the local clock reference of the edge node corresponding to the edge node; merging the sampling timestamps in the multi-energy terminal metering data of the park under the local clock reference of the edge node to obtain the calibrated multi-energy terminal metering data of the park; and verifying the metering access location in the calibrated multi-energy terminal metering data of the park based on the edge device identity record, so that the calibrated multi-energy terminal metering data of the park forms an identifiable access correspondence with the corresponding edge node.
4. The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks as described in claim 1, characterized in that, The steps of binding energy channels to the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record to obtain edge energy channel time-series records, and determining edge energy channel attribute records based on the edge energy channel time-series records include: determining the energy link record corresponding to the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record, and writing the energy link record into the calibrated multi-energy terminal metering data of the park to obtain the edge energy channel time-series records; determining the energy carrier type, energy flow direction, metering branch affiliation, and loss segment affiliation of the corresponding energy channel according to the edge energy channel time-series records, and writing the energy carrier type, energy flow direction, metering branch affiliation, and loss segment affiliation into the same record to obtain the edge energy channel attribute records.
5. The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks as described in claim 1, characterized in that, The step of performing time-segmented carbon content calibration processing on the edge energy channel timing record and the edge energy channel attribute record according to the preset carbon conversion benchmark record to obtain the edge carbon metering segment includes: reading the corresponding carrier carbon conversion mark and the input direction mark from the carbon conversion benchmark record according to the edge energy channel attribute record; dividing the edge energy channel timing record into time periods according to the edge node local clock benchmark to obtain continuous metering time periods; generating time-segmented carbon content records according to the edge energy channel timing record, the carrier carbon conversion mark, the input direction mark, and the edge energy channel attribute record within the continuous metering time period; and writing the time-segmented carbon content records and the corresponding edge energy channel attribute records into the same segment data body to obtain the edge carbon metering segment.
6. The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks as described in claim 1, characterized in that, The step of performing link splicing processing on the edge carbon metering segments based on the cloud-side energy topology master record to obtain a panoramic carbon metering link map of the park includes: reading time-segmented carbon quantity records and edge energy channel attribute records from the edge carbon metering segments; determining the corresponding link splicing endpoints and link splicing order in the cloud-side energy topology master record based on the edge energy channel attribute records; writing the time-segmented carbon quantity records into the corresponding energy links according to the link splicing endpoints and the link splicing order to form carbon quantity transmission links; and arranging multiple carbon quantity transmission links according to the connection relationship in the cloud-side energy topology master record to obtain the panoramic carbon metering link map of the park.
7. The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for industrial parks as described in claim 1, characterized in that, The step of generating a topology deviation location record based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record includes: mapping the carbon transfer links in the panoramic carbon metering link map of the park to the energy link records in the cloud-side energy topology master record; identifying link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations between the carbon transfer links and the energy link records based on the mapping results; and merging the identified link missing deviations, direction deviations, branch overlap deviations, and branch bypass deviations according to the corresponding energy nodes to obtain the topology deviation location record.
8. A cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization device for industrial parks, characterized in that, The cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization device for the park includes: The edge clock calibration unit is configured to acquire multi-energy terminal metering data of the park, edge device identity records and cloud-side energy topology master records, determine the local clock reference of the edge node based on the edge device identity records, and perform edge clock calibration processing on the multi-energy terminal metering data of the park based on the local clock reference of the edge node to obtain calibrated multi-energy terminal metering data of the park. The energy channel binding unit is configured to bind the energy channel affiliation of the calibrated multi-energy terminal metering data of the park according to the cloud-side energy topology master record, obtain the edge energy channel time series record, and determine the edge energy channel attribute record based on the edge energy channel time series record; The carbon metering link generation unit is configured to perform time-segmented carbon calibration processing on the edge energy channel time sequence record and the edge energy channel attribute record according to the preset carbon conversion benchmark record to obtain edge carbon metering segments, and perform link splicing processing on the edge carbon metering segments according to the cloud-side energy topology master record to obtain a panoramic carbon metering link map of the park. The topology optimization control unit is configured to generate a topology deviation positioning record based on the panoramic carbon metering link map of the park and the cloud-side energy topology master record, determine carbon transfer-restricted links based on the panoramic carbon metering link map of the park and the topology deviation positioning record, generate a topology candidate adjustment sequence based on the carbon transfer-restricted links, and generate a multi-energy topology optimization control record of the park based on the topology candidate adjustment sequence.
9. An electronic device, characterized in that, The electronic device includes: a memory, a processor, and a campus multi-energy panoramic carbon metering and topology optimization program stored in the memory and executable on the processor, wherein the campus multi-energy panoramic carbon metering and topology optimization program is configured to implement the steps of the campus multi-energy panoramic carbon metering and topology optimization method based on cloud-edge collaboration as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a multi-energy panoramic carbon metering and topology optimization program for the park. When the multi-energy panoramic carbon metering and topology optimization program for the park is executed by the processor, it implements the steps of the cloud-edge collaborative multi-energy panoramic carbon metering and topology optimization method for the park as described in any one of claims 1 to 7.