Photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system
By breaking down street light nodes and vehicles into supply, transfer, and receiving segments, a cross-entity mapping relationship is established, generating an executable resource transfer scheme. This solves the problem of fixed resource allocation paths in emergency power supply scheduling of photovoltaic street light clusters and realizes dynamic association and optimized allocation of resources from multiple entities.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FUJIAN YONGFU GREEN ENERGY TECH CO LTD
- Filing Date
- 2026-05-22
- Publication Date
- 2026-06-19
AI Technical Summary
The existing photovoltaic street light cluster emergency power supply dispatch system lacks a dynamic correlation processing mechanism when handling the allocation of resources from multiple entities, which results in some high-priority nodes being unable to obtain resource support in a timely manner, and the resource allocation path exhibiting localized fixed characteristics during the dispatch process.
The street light nodes and vehicles are decomposed into supply segments, transfer segments, and receiving segments. A cross-entity mapping relationship is established. A candidate path set is generated through the path module, the reordering module identifies and segments repeatedly called paths, the deduction module identifies sustainable supply capacity, the receiving module identifies demand priority, the link module reorganizes link segments, and the allocation module determines the resource allocation order.
It achieves standardized processing of multi-entity resource scheduling problems, generates multiple executable resource transfer schemes, identifies and decomposes overlapping paths to form independent chain segments, identifies the sustainable supply and demand priorities of paths, and outputs structured resource allocation results.
Smart Images

Figure CN122243147A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing technology, and in particular to an emergency power supply operation scheduling and resource allocation system for photovoltaic street light clusters. Background Technology
[0002] With the development of smart cities and photovoltaic energy storage infrastructure, photovoltaic streetlights are gradually evolving from simple lighting devices into comprehensive nodes with data acquisition and scheduling capabilities. They not only provide lighting but also undertake functions such as environmental perception, information exchange, and emergency response. Current technologies typically use a centralized management platform to manage streetlight nodes uniformly, aggregating the energy storage status, load requirements, and priority information of each node, and generating power supply strategies based on preset scheduling rules to complete power path selection and resource allocation in emergency scenarios. Simultaneously, some systems introduce electric vehicles as accessible mobile resource units, enabling energy exchange and scheduling between vehicles and streetlight nodes through information interaction.
[0003] However, the aforementioned technologies rely heavily on pre-defined allocation rules in their scheduling logic, potentially lacking a dynamic correlation processing mechanism for multi-entity resources. For example, in a scenario of partial power outages on urban main roads, the system needs to simultaneously handle the energy storage status of multiple street light nodes and the supply capacity of connected electric vehicles. However, existing methods typically make decisions on a single node or fixed group basis, which may not involve overall modeling and dynamic reconstruction of the multi-level relationships between nodes and vehicles. This results in resource allocation paths exhibiting localized fixed characteristics during scheduling, making it difficult for some high-priority nodes to obtain supplementary resources from other nodes or vehicles in a timely manner, hindering the achievement of collaborative allocation across nodes and vehicles. Summary of the Invention
[0004] The purpose of this invention is to provide an emergency power supply operation scheduling and resource allocation system for photovoltaic street light clusters, which aims to solve the problems mentioned in the background art.
[0005] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:
[0006] A photovoltaic street light cluster emergency power supply operation scheduling and resource allocation system, the system comprising:
[0007] The data module is used to acquire street light node status data, node association data, load priority data, and vehicle status data to obtain the basic dataset;
[0008] The split mapping module is used to decompose street light nodes and vehicles into supply segments, transfer segments and receiving segments based on the basic dataset, establish cross-subject mapping relationships, and obtain segment-based association sets;
[0009] The path module is used to establish a transmission path for the transfer segments that meet the connection order according to the load priority based on the segment association set, with the supply segment as the starting point and the receiving segment as the ending point, and obtain a candidate path set.
[0010] The rearrangement module is used to identify the repeatedly called supply segments and transfer segments in different transmission paths based on the candidate path set, and to divide the transmission path according to its start and end positions to obtain an independent chain segment set.
[0011] The deduction module is used to extract the participation value of the supply segment segment by segment along the starting direction of each independent chain segment based on the set of independent chain segments, identify the sustainable supply capacity of the transmission path, and obtain the path's continued supply value.
[0012] The receiving module is used to fill in the receiving demand value segment by segment along the destination direction on the independent chain segments according to the set of independent chain segments, identify the demand priority of the path, and obtain the path receiving value.
[0013] The link module is used to divide the link segments from the same source into main link segments and auxiliary link segments according to the path continuation value and the path acceptance value, and then reassemble them in sequence to obtain the reassembled link set.
[0014] The allocation module is used to record the start position, relay position and end position of each reassembled link according to the reassembled link set, determine the resource allocation order of objects with different priorities, and obtain the resource allocation result.
[0015] Furthermore, the split mapping module includes:
[0016] The segment decomposition unit is used to divide the resource status of each street light node and vehicle into supply segment, transfer segment and receiving segment according to the street light node status data and vehicle status data, so as to obtain the segment dataset.
[0017] The identity tagging unit is used to assign output identifier, transmission identifier and receiving identifier to each supply segment, forwarding segment and receiving segment according to the segment dataset, so as to obtain the segment identity set;
[0018] The sequence mapping unit is used to establish the sequential order of each segment according to the connection relationship between street light nodes and the vehicle access relationship based on the segment identity set and node association data, so as to obtain the initial mapping sequence;
[0019] The cross-body association unit is used to combine different street light nodes and vehicle segments according to the connection order based on the initial mapping sequence to obtain a segmented association set.
[0020] Furthermore, the path module includes:
[0021] The start and end screening unit is used to extract the start segment and end segment of the path according to the segment association set, and establish a correspondence relationship according to the sequential position of each supply segment and the receiving segment to obtain the start and end correspondence set;
[0022] The priority orchestration unit is used to form a sequence of each receiving segment according to the load priority based on the start and end correspondence set and load priority data, and to map the sequence of each receiving segment to the path direction of each supply segment to obtain the receiving orchestration set.
[0023] The transfer insertion unit is used to extract the transfer segment located between the supply segment and the receiving segment and satisfy the preset connection order according to the receiving arrangement set, and insert it between the supply segment and the receiving segment in the order of front and back to obtain the path segment set.
[0024] The path generation unit is used to sequentially splice the supply segment as the starting point, the transfer segment as the intermediate segment, and the receiving segment as the ending point according to the path segment set to obtain a candidate path set.
[0025] Furthermore, the rearrangement module includes:
[0026] The duplicate identification unit is used to mark segments that are called by multiple transmission paths as duplicate segments based on the candidate path set, and to record the occurrence position of duplicate segments in each transmission path to obtain a set of duplicate segments;
[0027] The boundary positioning unit is used to determine the start and end positions of each repeated segment in the transmission path based on the set of repeated segments, and to register the start and end positions in sequence to obtain the path boundary set.
[0028] The path segmentation unit is used to divide the transmission path into multiple non-overlapping path segments according to the start and end positions based on the path boundary set, thus obtaining a set of segmented path segments.
[0029] The chain segment generation unit is used to reassign the source identifier, destination identifier, and intra-segment order identifier to each segmented path segment according to the segmented path segment set, ensuring that each segmented path segment is an independent unit and thus obtaining an independent chain segment set.
[0030] Furthermore, the inference module includes:
[0031] The forward extraction unit is used to read the participation value of the supply segment segment by segment along the starting direction of each independent chain segment according to the set of independent chain segments, and register the participation value of each supply segment in the independent chain segment to obtain the initial supply sequence.
[0032] The change recording unit is used to record and update the participation value after passing through the transfer section according to the initial supply sequence, so as to obtain a continuous change sequence;
[0033] The segment division unit is used to mark the intervals with unchanged, gradually decreasing, and interrupted participation values as retention intervals, reduction intervals, and discontinuity intervals according to the continuous change sequence, so as to obtain the supply interval set;
[0034] The path sustainability value unit is used to identify the overall sustainable supply capacity of an independent chain segment during the transmission process based on the supply segment set, and to obtain the path sustainability value.
[0035] Furthermore, the path continuation value unit includes:
[0036] The path continuation value calculation unit is used to calculate the proportion of the participation value of each supply segment in the total participation value of all supply segments based on the participation value of each supply segment in the independent chain segment, and to obtain the supply proportion item; and to calculate the proportion of the remaining participation value that can continue to participate in the transmission from the current supply segment to the end of the chain segment in the total participation value of all supply segments, and to obtain the subsequent retention item.
[0037] Based on the sequential position of each supply segment in the independent chain segment and the total length of the independent chain segment, calculate the position ratio of each supply segment in its subsequent coverable path to obtain the position coverage term; calculate the consistency of the position interval change between adjacent supply segments to obtain the distribution balance term.
[0038] By integrating the supply ratio, subsequent retention, location coverage, and distribution balance, the overall sustainable supply capacity of independent chain segments during the transmission process is identified, thus obtaining the path supply value.
[0039] Furthermore, the receiving module includes:
[0040] The reverse backfill unit is used to read the acceptance demand value of the receiving segment segment by segment along the end point direction of each independent chain segment according to the set of independent chain segments, so as to obtain the initial acceptance sequence.
[0041] The coverage recording unit is used to segment, mark, and register the covered and uncovered parts of each segment during the backfilling process according to the initial acceptance sequence, so as to obtain the acceptance change sequence.
[0042] The sequence identification unit is used to determine the entry order, occupation order and relocation order of different receiving segments in the backfilling process according to the receiving change sequence, so as to obtain the receiving sequence set;
[0043] The path acceptance value unit is used to identify the overall acceptance capacity of an independent chain segment for objects of different priorities based on the acceptance priority set, and to obtain the path acceptance value.
[0044] Furthermore, the path acceptance value unit includes:
[0045] The path acceptance value calculation unit is used to calculate the coverage ratio of the covered part of each acceptance segment relative to its acceptance demand value based on the acceptance priority set, and obtain the coverage response item; and to calculate the comprehensive priority degree of each acceptance segment in the entry order, occupation order and relocation order, and obtain the priority priority item.
[0046] Based on the positional distribution of the covered and uncovered portions of each receiving segment within the independent chain segment, the degree of connection of the coverage state between adjacent receiving segments is calculated to obtain the continuous receiving item; the degree of concentration of the covered portion of the receiving segment near the endpoint direction within the overall covered portion is calculated to obtain the end-focusing item.
[0047] By integrating the coverage response item, the priority preceding item, the continuous acceptance item, and the end focus item, the overall acceptance capacity of an independent chain segment for objects of different priorities is identified, and the path acceptance value is obtained.
[0048] Furthermore, the link module includes:
[0049] The source merging unit is used to classify independent links from the same source according to the set of independent links, and associate the path continuation value and path acceptance value of each independent link to obtain the set of links from the same source.
[0050] A dual-value configuration unit is used to construct a two-dimensional distribution structure based on the set of homologous chain segments, according to the continuous supply capacity of the path continuation value and the acceptance capacity of the path acceptance value, to obtain the chain segment configuration set.
[0051] The chain segment division unit is used to determine the independent chain segments whose path continuation value and path acceptance value both meet the preset two-dimensional threshold as the main chain segments, and to determine the remaining independent chain segments as auxiliary chain segments, so as to obtain the chain segment hierarchy set.
[0052] The link reassembly unit is used to insert auxiliary links into the preceding and following positions of the main link segment based on the link segment hierarchy set and with the main link segment as the core path structure, thereby obtaining a reassembled link set.
[0053] Furthermore, the allocation module includes:
[0054] The location extraction unit is used to extract the start, relay, and end positions of the supply segment, relay segment, and receiving segment in each reassembled link based on the reassembled link set, so as to obtain the link location set.
[0055] The sequence generation unit is used to construct a take-up sequence according to the forward-to-back transmission relationship in the reassembled link based on the link location set and load priority data, and sort the entry order of different priority objects in the reassembled link to obtain the allocation sequence set;
[0056] The allocation mapping unit is used to map the allocable resources of each supply segment to the receiving segment in sequence according to the transmission direction of the reassembled link, based on the allocation order set, to obtain the allocation mapping set;
[0057] The result generation unit is used to uniformly organize the priority and link position of each segment according to the allocation mapping set, determine the resource allocation of objects with different priorities, and obtain the resource allocation result.
[0058] The above-described solution of the present invention has at least the following beneficial effects:
[0059] This invention decomposes street light nodes and vehicles into supply segments, transfer segments, and receiving segments, and establishes cross-entity mapping relationships. It transforms business objects, initially based on complete equipment or vehicles, into data objects based on functional roles, allowing the different responsibilities of the same entity in different business stages to be expressed separately. For example, a single node may undertake both resource output and relay transmission tasks. If modeled as a single entity, role confusion easily arises during sorting, matching, and path calculation. After decomposition, each business role exists as an independent fragment, which can participate in subsequent calculations separately. Simultaneously, vehicles, as external access entities, are also incorporated into a fragment structure consistent with nodes, enabling the combined processing of fixed and mobile resources, transforming the multi-entity resource scheduling problem into a standardized fragment combination problem.
[0060] This invention organizes scattered supply, transfer, and receiving segments into multiple complete business paths by establishing transmission paths based on load priority and using the supply segment as the starting point and the receiving segment as the ending point. This allows the system to obtain a set of resource flow schemes for filtering. In traditional scheduling, resource allocation is often performed using single matching or proximity matching, which may lack a pool of multiple scheme paths that can be compared in parallel. The candidate path set allows the same supply source to correspond to multiple receiving objects, and the same receiving object to correspond to multiple potential resource sources. This is equivalent to pre-generating multiple executable schemes for the system to call in the subsequent rule processing stage. By using a data-structured path set to carry resource flow direction, priority relationship, and object correspondence, the operation system has the ability to automatically manage the scheme pool.
[0061] This invention identifies repeatedly invoked supply segments and forwarding segments in different transmission paths and segments the transmission paths according to their start and end positions. It then splits shared segments in multi-path parallel scenarios, transforming originally overlapping path sets into clearly defined chain segment sets. Directly calculating resources based on the original path set can easily lead to problems such as duplicate registration of the same supply resource, duplicate occupation of the same relay segment, and multiple schemes simultaneously referencing the same location segment. By identifying repeated call relationships and segmenting by position, the system can extract shared parts from the original paths, forming independent recording units. Subsequent modules then perform continuation analysis, succession analysis, and sequence reorganization on each chain segment. The resource calculation object changes from intersecting paths to independent chain segments, each with clear source and location boundaries, allowing for independent measurement, sorting, and allocation.
[0062] This invention extracts the participation value of each supply segment along the starting direction of each independent chain segment to identify the sustainable supply capacity of the transmission path and obtain the path continuation value. It transforms static resource quantity records into process data results unfolding along the path. Traditional resource scheduling often uses the current balance, inventory, or remaining capacity of the entity as the sole basis, ignoring the phased participation of resources during the transmission process. By extracting the participation value segment by segment along the chain, the system can form a record of resource participation at each position after entering the business process from the starting point. This allows the resource contribution relationship in the path to be expressed in a sequential data form. The path continuation value is not a static value but a business continuity indicator formed by merging the process participation of chain segments. It can be used for subsequent link reorganization and allocation order determination, expanding resource capacity from entity attributes to process attributes, i.e., whether resources can continuously support the operation of a certain business process chain segment.
[0063] This invention identifies the priority of requests along a path by backfilling request values segment by segment along the endpoint direction on independent chain segments, thus obtaining path acceptance values. It embeds demand-side business information into the chain segment process, making the request objects no longer merely endpoint records but process data that can participate in sequential operations. By backfilling request values segment by segment along the endpoint direction, the request volume, priority, and chain segment position of each accepting object are incorporated into a unified sequence system, allowing the system to identify the acceptance relationship of different chain segments for request objects. The path acceptance value is essentially the carrying result data of a chain segment for a set of business requests. It can be used to determine the task receiving order, request coverage relationship, and request landing point distribution corresponding to different chain segments. Requests are first mapped to process channels, and then acceptance order results are formed based on the channel structure, achieving the fusion processing of demand data and path data. This ensures that the system output is not simply a priority list but a business acceptance record with chain segment context. Attached Figure Description
[0064] Figure 1 This is a flowchart of an emergency power supply operation scheduling and resource allocation system for photovoltaic street light clusters provided by an embodiment of the present invention. Detailed Implementation
[0065] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0066] like Figure 1 As shown, an embodiment of the present invention proposes an emergency power supply operation scheduling and resource allocation system for photovoltaic street light clusters, the system comprising:
[0067] The data module is used to acquire street light node status data, node association data, load priority data, and vehicle status data to obtain the basic dataset;
[0068] The split mapping module is used to decompose street light nodes and vehicles into supply segments, transfer segments and receiving segments based on the basic dataset, establish cross-subject mapping relationships, and obtain segment-based association sets;
[0069] The path module is used to establish a transmission path for the transfer segments that meet the connection order according to the load priority based on the segment association set, with the supply segment as the starting point and the receiving segment as the ending point, and obtain a candidate path set.
[0070] The rearrangement module is used to identify the repeatedly called supply segments and transfer segments in different transmission paths based on the candidate path set, and to divide the transmission path according to its start and end positions to obtain an independent chain segment set.
[0071] The deduction module is used to extract the participation value of the supply segment segment by segment along the starting direction of each independent chain segment based on the set of independent chain segments, identify the sustainable supply capacity of the transmission path, and obtain the path's continued supply value.
[0072] The receiving module is used to fill in the receiving demand value segment by segment along the destination direction on the independent chain segments according to the set of independent chain segments, identify the demand priority of the path, and obtain the path receiving value.
[0073] The link module is used to divide the link segments from the same source into main link segments and auxiliary link segments according to the path continuation value and the path acceptance value, and then reassemble them in sequence to obtain the reassembled link set.
[0074] The allocation module is used to record the start position, relay position and end position of each reassembled link according to the reassembled link set, determine the resource allocation order of objects with different priorities, and obtain the resource allocation result.
[0075] In this embodiment of the invention, the data module is used to acquire street light node status data, node association data, load priority data, and vehicle status data to obtain a basic dataset. This consolidates the business data originally scattered across multiple terminals and management systems into a data draft, ensuring consistency in the subsequent calculation data. The splitting and mapping module is used to decompose street light nodes and vehicles into supply segments, transfer segments, and receiving segments based on the basic dataset. This establishes cross-subject mapping relationships to obtain a segmented association set. This allows the supply, transmission, and receiving responsibilities that the same subject may simultaneously undertake to be expressed in segments, transforming complex subject relationships into standardized fragment relationships. This facilitates subsequent modules to directly perform combined calculations and scheduling processing based on fragments. The path module is used to establish a transmission path based on the segment association set, starting from the supply segment and ending at the receiving segment, and according to the load priority of the transfer segments that meet the connection order, thus obtaining a candidate path set. It automatically organizes scattered fragments into multiple complete business paths, providing a standardized path foundation for subsequent conflict identification, supply and demand analysis, and link reorganization. The rearrangement module is used to identify the supply segments and transfer segments that are repeatedly called in different transmission paths based on the candidate path set, and to divide the transmission path according to its start and end positions, thus obtaining an independent chain segment set. It decomposes the fragments that are shared between multiple paths into independent accounting units, avoiding duplicate occupation or duplicate metering problems in subsequent supply calculation, demand calculation, and resource allocation.
[0076] The deduction module is used to extract the participation value of the supply segment segment segment by segment along the starting direction of each independent chain segment based on the set of independent chain segments, identify the sustainable supply capacity of the transmission path, obtain the path continuation supply value, transform static resource balance information into continuous participation results in the chain segment process, and identify whether a chain segment has the continuous support capacity in the business process; the receiving module is used to backfill the receiving demand value segment by segment along the endpoint direction of the independent chain segments based on the set of independent chain segments, identify the demand priority of the path, obtain the path receiving value, embed the demand object into the chain segment process for sequential processing, so that the demand priority no longer stays in an independent list, but becomes a calculable business parameter within the chain segment; the link module uses... Based on the path continuation value and path acceptance value, links from the same source are divided into main links and auxiliary links and reassembled sequentially to obtain a reassembled link set. This reorganizes scattered links into a business channel structure with main and auxiliary levels, so that the system no longer outputs isolated link sets but an executable and schedulable link system. The allocation module records the start position, relay position and end position of each reassembled link based on the reassembled link set, determines the resource allocation order of objects with different priorities, obtains the resource allocation result, and converts the analysis result into a structured execution result with object, sequence, path and source information, which can be used to directly implement resource allocation, task assignment or policy distribution.
[0077] The data module is used to acquire street light node status data, node association data, load priority data, and vehicle status data to obtain a basic dataset, which specifically includes:
[0078] The data module sends data call commands to the connected street light control terminals, energy storage monitoring terminals, road sensing terminals, vehicle access terminals, and the back-end operation management platform. The data module polls and reads various data sources according to a preset collection cycle or event triggering mechanism. The event triggering mechanism includes regional power outage alarm triggering, node offline triggering, vehicle access triggering, load surge triggering, and manual dispatch triggering. The data module reads each street light node's unique ID, area ID, installation location coordinates, network status, lighting start / stop status, current load power, remaining energy storage unit capacity, charging / discharging status, fault identifier, external power supply status, and the time of the most recent status update. For street light nodes equipped with photovoltaic modules, it also simultaneously acquires photovoltaic input power, current power generation status, weather impact markers, and expected energy replenishment capacity; for nodes equipped with battery energy storage units, it also reads battery health, cycle count, temperature status, and adjustable capacity information. If a node has multiple sub-modules, the data module aggregates the data from each sub-module into the node's main record and establishes an internal node hierarchy for subsequent unified access.
[0079] The data module reads the connectability information between nodes based on the city's street light deployment topology, existing line connections, road adjacency relationships, and wireless communication network relationships. This connectability information includes whether node A can transfer resources to node B, the connection direction between nodes, connection distance, line capacity limits, relay availability, historical connection success rate, and current link online status. For node pairs with multiple connection methods, such as data objects that have both cable connectivity and wireless collaborative control capabilities, the data module registers different connection types and corresponding constraint parameters. Subsequently, the data module establishes an association matrix or association table structure using node numbers as indexes, allowing any node to quickly query its preceding and succeeding adjacent nodes, as well as the set of schedulable nodes across regions. The data module reads pre-configured business rules from the operation management platform and generates load priority records for each node based on real-time scene information. These business rules include priorities for main road lighting, roads surrounding hospitals, transportation hub areas, safety lighting in densely populated residential areas, temporary emergency tasks, and general landscape lighting. The data module further reads current traffic flow data, road closure information, accident warning information, weather warning information, and nighttime information to dynamically adjust static priority rules. For example, it increases the lighting level of low-lying road sections during heavy rain, increases the protection level of nodes around the accident site when a traffic accident occurs, and reduces the landscape lighting level during low traffic hours at night.
[0080] The data module reads real-time information from electric vehicles, inspection vehicles, emergency support vehicles, or social collaborative vehicles already connected to the system. This real-time information includes vehicle number, vehicle type, current location coordinates, driving status, parking status, estimated dwell time, remaining battery power, available external power supply, charging / discharging interface status, access permission status, and owner authorization status. If a vehicle is moving, the data module estimates its future dwell area based on its historical trajectory and navigation destination. If a vehicle is parked near a streetlight node, it further reads the distance between the vehicle and the node, the available port number, and the estimated access duration. For unauthorized external power supply vehicles, only their status information is recorded, and they are not included in the available resource set. For authorized vehicles, they are marked as candidate mobile resource entities. The data module performs standardized preprocessing on data from different sources. Specifically, it unifies the time format uploaded by different devices to the system's standard timestamp, converts location coordinates to the same geographic coordinate system, converts energy storage capacity, power, and other values to preset units of measurement, maps online, offline, fault, and standby text statuses to status codes, and performs deduplication processing on duplicate uploaded records. For data items missing for a short period, the data module temporarily fills in the missing data by calling the most recent valid record. For data items with continuous abnormal fluctuations, a threshold filtering method is used to mark them as pending confirmation, and they are not directly involved in scheduling calculations. The data module establishes a unified primary key based on the subject type, and links street light nodes, vehicle subjects, load objects, and related relationships to a unified index system. Each subject record contains at least subject number, subject category, location identifier, status identifier, update time, and a list of related objects; each relationship record contains at least start number, end number, relationship type, available status, and constraint parameters, generating a basic dataset.
[0081] In a preferred embodiment of the present invention, the split mapping module includes:
[0082] The segment decomposition unit is used to divide the resource status of each street light node and vehicle into supply segment, transfer segment and receiving segment according to the street light node status data and vehicle status data, so as to obtain the segment dataset.
[0083] The identity tagging unit is used to assign output identifier, transmission identifier and receiving identifier to each supply segment, forwarding segment and receiving segment according to the segment dataset, so as to obtain the segment identity set;
[0084] The sequence mapping unit is used to establish the sequential order of each segment according to the connection relationship between street light nodes and the vehicle access relationship based on the segment identity set and node association data, so as to obtain the initial mapping sequence;
[0085] The cross-body association unit is used to combine different street light nodes and vehicle segments according to the connection order based on the initial mapping sequence to obtain a segmented association set.
[0086] In this embodiment of the invention, the segment decomposition unit is used to divide the resource status of each street light node and vehicle into supply segments, transfer segments, and receiving segments based on street light node status data and vehicle status data, thereby obtaining a segment dataset. This breaks down the business entity, originally based on complete nodes or complete vehicles, into independently computable functional segments, facilitating subsequent path construction and resource matching. The identity labeling unit is used to assign output identifiers, transmission identifiers, and receiving identifiers to each supply segment, transfer segment, and receiving segment based on the segment dataset, thereby obtaining a segment identity set. The segment is then directly filtered, sorted, and connected via the identity identifiers. Extended labels are used to achieve segment region identification and time period identification. The system includes identification and priority identification; a sequence mapping unit, which establishes a sequential order for each segment based on the segment identity set and node association data, according to the connection relationship between street light nodes and the vehicle access relationship, to obtain an initial mapping sequence. This transforms the potential connection relationship between scattered segments into a clear sequential relationship, enabling subsequent automatic searching and combination based on the sequence chain; and a cross-entity association unit, which combines segments from different street light nodes and vehicles according to the connection order based on the initial mapping sequence, to obtain a segmented association set. This breaks down the data boundary between fixed node resources and mobile vehicle resources, enabling segments from different entities to form a continuous business chain under unified rules.
[0087] The segment decomposition unit is used to divide the resource status of each street light node and vehicle into supply segment, transfer segment, and receiving segment based on the street light node status data and vehicle status data, thereby obtaining a segment dataset, which specifically includes:
[0088] For each street light node entering the queue of entities to be dismantled, the system first reads the node's remaining energy storage capacity, real-time output power, lighting load status, external power supply status, incoming and outgoing line connectivity status, node online status, fault status, whether it has relay transmission capability, whether there is any unmet load, and the node's charging and discharging change records in the most recent scheduling cycle. The system then determines the role of each street light node according to preset dismantling rules: when a node has available remaining power that can be scheduled, and this remaining available power is higher than a preset minimum threshold, and the node is online and can supply externally, the node's schedulable resources are identified as a supply candidate; when a node itself is not a primary resource output terminal, but its connected lines, control interfaces, or relay channels are available, and resources can be transferred from upstream entities to downstream entities via this node, the node is identified as a transfer candidate; when a node itself carries lighting load, warning load, or emergency backup load, and there is still an unmet load requirement, the node is identified as a receiving candidate.
[0089] For nodes identified as supply candidates, the system reads their current total energy storage, minimum reserved operating capacity, expected short-term self-consumption demand, and safety reserve capacity set by the strategy. The remaining portion after deducting the unretrievable portion is registered as the available resource value for the supply segment. For nodes identified as transfer candidates, the system reads their upstream access capacity, downstream output capacity, current occupancy, and maximum allowed transfer load. The transfer capacity of this node within the current scheduling cycle is registered as the transferable value for the transfer segment. For nodes identified as receiving candidates, the system reads their current load gap, demand start time, demand duration, and priority level. The unmet portion is registered as the demand value for the receiving segment. The system reads the vehicle number, current location, speed status, parking status, expected dwell time, remaining battery power, external interface status, owner authorization status, discharge permission status, and the vehicle's own minimum reserve demand for each vehicle. When a vehicle is stationary or in a low-speed, accessible state, has discharge permission, and its remaining battery power, after deducting the minimum charge for driving, still has a portion available for external supply, the system identifies this available portion as a candidate vehicle supply state and generates a corresponding supply segment. If the vehicle is not directly used as the final supply entity in the current scheduling scenario, but is configured as a mobile energy replenishment carrier, temporary storage and transportation carrier, or transitional connection carrier, and its current location, expected movement path, and dwell strategy meet the resource transfer conditions, the system identifies the vehicle as a transfer candidate state and generates a vehicle transfer segment. All segments that meet the current scheduling conditions are merged to generate a segment dataset.
[0090] The sequence mapping unit is used to establish the sequential order of each segment according to the connection relationship between street light nodes and the vehicle access relationship based on the segment identity set and node association data, to obtain the initial mapping sequence, specifically including:
[0091] The sequence mapping unit iterates through the output segments assigned output identifiers in the segment identity set, reads their respective entity numbers and current positions, and searches for the set of downstream nodes connected to that entity in the node association data. If a downstream node corresponds to a forwarding segment assigned a transmission identifier, and the connection direction between the two is consistent with the resource transmission direction, the connection status is valid, the link capacity allows the amount of resources corresponding to the current output segment to pass through, and the valid time periods of the segments overlap, then the system registers the output segment and the forwarding segment as a sequential relationship, marking the output segment as the preceding segment and the forwarding segment as the following segment. If an output segment can directly reach a receiving segment assigned a receiving identifier, then the system directly establishes a sequential relationship between the output segment and the receiving segment. For each forwarding segment, the sequence mapping unit searches for its receivable upstream segments and output downstream segments respectively. When searching for an upstream segment, the system queries the set of predecessor nodes in the association table based on the entity number to which the forwarding segment belongs, and then searches for the corresponding supply segment or other forwarding segment in the segment identity set. If the predecessor entity and the current forwarding segment meet the connection direction, state, and time conditions, the predecessor segment is registered as the preceding segment of the current forwarding segment. When searching for a downstream segment, the system queries the set of successor nodes based on the entity number to which the forwarding segment belongs, and then searches for the corresponding forwarding segment or receiving segment in the segment identity set. If the connection relationship is valid, the current forwarding segment is registered as the preceding segment of the successor segment.
[0092] The system reads vehicle segments assigned output, transmission, or reception identifiers one by one, and searches for the set of nodes adjacent to the vehicle in the node association data based on the vehicle's current location, road location grid, and the range of accessible nodes. If the distance between the vehicle and a street light node is less than a preset access threshold, the vehicle's external interface is available, the target node's access port is idle, and their effective time windows overlap, the system establishes a sequential relationship between the vehicle segment and the node segment. For a vehicle supply segment, if it can supply resources to a neighboring node transfer segment or receiving segment, the vehicle supply segment is set as the preceding segment, and the target node segment is set as the following segment. For a vehicle transfer segment, the system establishes the connection sequence between it and the upstream and downstream node segments respectively. For a vehicle receiving segment, the neighboring node supply segment or transfer segment is mapped to its preceding segment. The system checks for invalid sequential relationships where the time windows of consecutive segments do not overlap completely, checks for erroneous mappings with opposite connection directions, and checks for abnormal records where segments marked as unusable are still established with sequential relationships. The system deletes or invalidates the above abnormal relationships and forms an initial mapping sequence for the sequential relationships that pass the checks.
[0093] In a preferred embodiment of the present invention, the path module includes:
[0094] The start and end screening unit is used to extract the start segment and end segment of the path according to the segment association set, and establish a correspondence relationship according to the sequential position of each supply segment and the receiving segment to obtain the start and end correspondence set;
[0095] The priority orchestration unit is used to form a sequence of each receiving segment according to the load priority based on the start and end correspondence set and load priority data, and to map the sequence of each receiving segment to the path direction of each supply segment to obtain the receiving orchestration set.
[0096] The transfer insertion unit is used to extract the transfer segment located between the supply segment and the receiving segment and satisfy the preset connection order according to the receiving arrangement set, and insert it between the supply segment and the receiving segment in the order of front and back to obtain the path segment set.
[0097] The path generation unit is used to sequentially splice the supply segment as the starting point, the transfer segment as the intermediate segment, and the receiving segment as the ending point according to the path segment set to obtain a candidate path set.
[0098] In this embodiment of the invention, the start-end screening unit is used to extract the path start segment and path end segment according to the segment association set, and establish a correspondence relationship according to the sequential position of each supply segment and the receiving segment to obtain the start-end correspondence set, so that the subsequent path search range is concentrated among the valid objects, avoiding repeated calculation of invalid or unreachable segments; the priority arrangement unit is used to form a sequence of each receiving segment according to the load priority based on the start-end correspondence set and the load priority data, and map the sequence to the path direction of each supply segment to obtain the receiving arrangement set, so that the subsequent path search process naturally has the target order constraint; The transfer and insertion unit is used to extract transfer segments located between the supply segment and the receiving segment and satisfying the preset connection order according to the receiving arrangement set, and insert them between the supply segment and the receiving segment in the order of their positions to obtain a path segment set. This transforms the discrete connection relationship in the sequential network into a continuous relay structure, providing a data carrier for subsequent path generation and resource simulation. The path generation unit is used to sequentially splice the supply segment as the starting point, the transfer segment as the intermediate segment, and the receiving segment as the ending point according to the path segment set to obtain a candidate path set. This formally converts the intermediate segment chain into a candidate path object, providing path input for subsequent operations.
[0099] The priority orchestration unit is used to form a sequence of each receiving segment according to its load priority based on the start-end correspondence set and load priority data, and then map the sequence to the path direction of each supply segment to obtain the receiving orchestration set, which specifically includes:
[0100] The priority scheduling unit performs priority normalization processing on all receiving segments. Since priority data from different sources may have different level formats, such as some receiving objects using a classification of level one to five, some using a percentage score, and some using a Boolean emergency identifier, the system maps the priority expressions of different formats to a standard priority weight value according to a preset conversion rule. The system dynamically corrects the standard priority weight value based on the current scheduling scenario. For example, when the impact range of a regional power outage expands, the weight of the main road lighting receiving segment is increased; when a traffic accident occurs, the weight of the accident area receiving segment is increased; when there is low traffic at night, the weight of the landscape lighting receiving segment is decreased; and when a vehicle rescue mission is triggered, the weight of the emergency lane receiving segment is increased. The system prioritizes sorting by overall priority value from highest to lowest. When multiple transfer segments have the same overall priority value, they are then sorted by allowable waiting time from shortest to longest, i.e., the shorter the allowable waiting time, the higher the priority. If the allowable waiting time is still the same, they are sorted by current gap value from largest to smallest, i.e., the larger the resource demand, the higher the priority. If the current gap value is still the same, they are sorted by the guarantee level of the region. If the same situation still exists, they are sorted by transfer segment number or generation time.
[0101] The priority orchestration unit reads the set of all reachable segments for each supply segment within its corresponding start and end sets, and rearranges the target list corresponding to that supply segment according to the aforementioned global priority number. For example, if a supply segment can reach segments A, B, and C, where A has a global priority of 2, B has a global priority of 5, and C has a global priority of 1, the system automatically arranges the target direction of the supply segment as CAB. For supply segments with directional branches, the system simultaneously records the first path direction, relay area direction, and expected destination direction for each reachable segment. If the same reachable segment is reachable by multiple supply segments, the priority orchestration unit does not directly exclude duplicate correspondences, but retains the reachable segment record in the target lists of multiple supply segments, and writes the shared target identifier, the number of competing sources, and the source priority parameters. If a supply segment can only reach a low-priority reachable segment in the current period, while another supply segment can reach a high-priority reachable segment, the system only sorts within their respective reachable sets and does not force target swapping across supply segments to maintain path reachability constraints. The priority orchestration unit generates a dedicated acceptance sequence chain for each supply segment. The acceptance sequence chain includes at least the supply segment number, the target acceptance segment number, the target order, the priority value, the path direction identifier, the expected shortest level, the shared target identifier, and the current effective time window. All the acceptance sequence chains corresponding to the supply segments are summarized to form an acceptance orchestration set.
[0102] The transfer insertion unit is used to extract transfer segments located between the supply segment and the receiving segment and satisfying a preset connection order according to the receiving arrangement set, and insert them between the supply segment and the receiving segment in sequence to obtain a path segment set, specifically including:
[0103] For each task to be searched, the forwarding and insertion unit searches layer by layer, starting with the supply segment. If a forwarding segment exists in a subsequent segment, it is added to the first-level candidate relay set. If a target receiving segment directly exists in a subsequent segment, the task is determined to have a direct path, and the direct connection structure from the supply segment to the receiving segment is registered. For forwarding segments added to the first-level candidate set, the system continues to read their subsequent segments and search for second-level forwarding segments or target receiving segments; this process continues until a target receiving segment is found or the preset maximum number of levels is reached. The system performs validity checks on each segment, determining whether it has a transmission identifier; whether the segment's current state is available; whether the segment's valid time window intersects with the current task's time window; whether the segment's capacity constraint meets the minimum throughput requirement of the task; whether the segment has been marked as faulty, full, or disabled; and whether the segment appears repeatedly in the current path, forming a loop. The system will only recognize a segment as a valid transfer segment and allow it to enter the current path insertion process if all of the above conditions are met. For candidate segments that do not meet the conditions, the system will immediately terminate the continued search of the branch in which they are located in order to reduce the expansion of invalid paths.
[0104] The relay insertion unit performs sequential insertion based on predecessor and successor relationships. If a task's search result is supply segment A, relay segment B, relay segment C, and receiving segment D, the system inserts B between A and C, and C between B and D, forming a complete segment chain ABCD, according to the segment arrival order. If another branch result is AED, the system simultaneously retains AED as another candidate structure. For tasks where the same supply segment faces multiple receiving segments, the system establishes independent insertion results for each and retains their target priority information. If two relay routes can reach the same receiving segment, the path structure with the shorter level is retained first; when the levels are the same, the path structure with the lower relay segment occupancy status is retained first; if they are still the same, the path structure corresponding to the task with the higher target priority is retained first. The system performs integrity checks on all path segments, checking for broken links, reversed order segments, duplicate loop segments, and invalid segments mixed in, and summarizes all verified segment chains to generate a path segment set.
[0105] In a preferred embodiment of the present invention, the rearrangement module includes:
[0106] The duplicate identification unit is used to mark segments that are called by multiple transmission paths as duplicate segments based on the candidate path set, and to record the occurrence position of duplicate segments in each transmission path to obtain a set of duplicate segments;
[0107] The boundary positioning unit is used to determine the start and end positions of each repeated segment in the transmission path based on the set of repeated segments, and to register the start and end positions in sequence to obtain the path boundary set.
[0108] The path segmentation unit is used to divide the transmission path into multiple non-overlapping path segments according to the start and end positions based on the path boundary set, thus obtaining a set of segmented path segments.
[0109] The chain segment generation unit is used to reassign the source identifier, destination identifier, and intra-segment order identifier to each segmented path segment according to the segmented path segment set, ensuring that each segmented path segment is an independent unit and thus obtaining an independent chain segment set.
[0110] In this embodiment of the invention, the duplicate identification unit is used to mark segments jointly called by multiple transmission paths as duplicate segments based on the candidate path set, and record the occurrence positions of duplicate segments in each transmission path to obtain a duplicate segment set. This identifies shared resource segments and shared sections that are repeatedly referenced in the multi-path parallel structure, preventing shared resources from being repeatedly measured in subsequent processing. The boundary positioning unit is used to determine the start and end positions of each duplicate segment in the transmission path based on the duplicate segment set, and sequentially register the start and end positions to obtain a path boundary set, preventing the path structure from being arbitrarily truncated during the segmentation process. This ensures consistent boundary representation of shared segments across different paths. The path segmentation unit divides the transmission path into multiple non-overlapping path segments based on the path boundary set, according to the start and end positions, resulting in a set of segmented path segments. This allows the shared and non-shared parts to be structurally separated, facilitating subsequent segment-based calculations. The link segment generation unit reassigns source, destination, and intra-segment sequence identifiers to each segmented path segment based on the segmented path segment set, ensuring that each segmented path segment is an independent unit, resulting in an independent link segment set. This enables continuous supply analysis, continuity analysis, and link reassembly to be performed using the link segment as the smallest unit.
[0111] The boundary positioning unit is used to determine the start and end positions of each repeated segment in the transmission path based on the set of repeated segments, and to sequentially register the start and end positions to obtain the path boundary set, specifically including:
[0112] The system categorizes and organizes duplicate records according to path numbers, concentrating all duplicate segments within the same transmission path into a single processing queue. For records identified as single-segment duplicates, the system uses the sequence position of that duplicate segment as the core location point. For records identified as consecutive duplicate segments, the system further reads the position of the first segment, the position of the last segment, and the segment length. Boundary positioning is performed for a single transmission path, retrieving the complete segment sequence within that path and establishing a path position index table. This index table records at least the path number, the total number of segments in the path, the segment number corresponding to each sequence position, the segment type, and the preceding and following adjacency relationships. The boundary positioning unit maps each duplicate segment to the path position index table to determine its actual sequence position within the path. For example, if a duplicate segment is in the 3rd position in path P1, the system registers that 3rd position as the placeholder for the duplicate segment. If a duplicate segment appears multiple times in the same path, the system registers each occurrence position separately and arranges them in ascending order of sequence to avoid missing multiple duplicate cases. For a single repeating object, the system determines the start and end positions based on the location of the repeating segment. When the repeating segment is in the middle of the path, the system registers the connection point between the previous and current segments as the start position and the connection point between the current and next segments as the end position. When the repeating segment is at the beginning or end of the path, the system uses the path start point as the start position and the connection point between the current and next segments as the end position. When the repeating segment is at the end of the path, the system uses the connection point between the previous and current segments as the start position and the path end point as the end position.
[0113] For consecutive repeating segments, the system determines the boundaries of the entire segment. If a consecutive repeating segment consists of segments from the 2nd to the 5th position, the system registers the connection point between the 1st and 2nd positions as the starting position and the connection point between the 5th and 6th positions as the ending position. If the consecutive repeating segment is at the beginning of a path, the starting point of the path is used as the starting position; if the consecutive repeating segment is at the end of a path, the ending point of the path is used as the ending position. For segments with local non-repeating segments but where the whole is determined to be a combined repeating structure, the system treats it as a single segment based on the combination identifier output by the repeating identification unit. If the boundary segments of multiple repeating objects are independent, the system retains their respective boundary records. If two boundary segments overlap, for example, the ending position of the first boundary is later than the starting position of the second boundary, the system determines whether they belong to a consecutive shared structure. If they belong to a consecutive shared structure, the system performs segment merging, using the earliest starting position as the new starting position and the latest ending position as the new ending position to form a composite boundary segment. If they do not belong to a consecutive shared structure, the system retains the original segment and adjusts the boundary order according to priority rules. If two boundary intervals are only connected end-to-end without any gap, the system determines whether to merge them into a single interval or retain them as adjacent independent intervals based on preset rules. The system arranges all boundary records in the same path from front to back according to their starting positions, writes a boundary sequence number for each boundary, and summarizes the boundary records of all paths to form a path boundary set.
[0114] The path segmentation unit is used to divide the transmission path into multiple non-overlapping path segments according to the path boundary set and the start and end positions, resulting in a set of segmented path segments, specifically including:
[0115] For paths containing only a single boundary interval, the path segmentation unit first determines whether the boundary interval covers the entire path. If it does not cover the entire path, the sequence of segments before the boundary start position forms the preceding path segment, the sequence of segments inside the boundary interval forms the shared path segment, and the sequence of segments after the boundary end position forms the following path segment. If the boundary interval covers the entire path, the entire path is retained as a single segment and marked as a fully shared segment. For preceding or following path segments with a length of zero, the system does not generate empty path segment records. For paths containing multiple boundary intervals, the system performs segmentation sequentially from front to back according to the boundary sequence number. The first boundary start position is used as the initial cut point, separating the path into a first segment and a first boundary segment. Then, the sequence of segments between the first boundary end position and the second boundary start position forms an intermediate independent path segment; the second boundary interval forms a second shared path segment; and so on, until the last boundary interval ends, at which point the remaining tail segment sequence forms the final path segment. During the segmentation process, the system maintains the original path's internal segment order; that is, any segmented path segment retains its original sequential order without rearranging or moving segments across segments. If there are no intervening segments between a boundary interval and the next boundary interval, the system does not generate an independent intermediate path segment but keeps the two shared segments registered adjacently. If an intermediate interval contains only a single segment and that segment has been marked as invalid, the system deletes the segment according to preset rules and directly connects it to adjacent path segments, or retains it as an abnormal path segment for later processing. After all paths are segmented, the system performs an integrity check on the segmentation results, specifically checking for overlapping positions between path segments, broken path segment order, missing segments, duplicate segment registrations, and segment number conflicts. If the total number of segments in a segmented path is less than the original number of segments, the system re-checks the boundary positions and fills in any missing segments; if the total number of segments is greater than the original number of segments, duplicate registration records are deleted. The system then aggregates all path segments that pass the check to form a segmented path segment set.
[0116] In a preferred embodiment of the present invention, the deduction module includes:
[0117] The forward extraction unit is used to read the participation value of the supply segment segment by segment along the starting direction of each independent chain segment according to the set of independent chain segments, and register the participation value of each supply segment in the independent chain segment to obtain the initial supply sequence.
[0118] The change recording unit is used to record and update the participation value after passing through the transfer section according to the initial supply sequence, so as to obtain a continuous change sequence;
[0119] The segment division unit is used to mark the intervals with unchanged, gradually decreasing, and interrupted participation values as retention intervals, reduction intervals, and discontinuity intervals according to the continuous change sequence, so as to obtain the supply interval set;
[0120] The path sustainability value unit is used to identify the overall sustainable supply capacity of an independent chain segment during the transmission process based on the supply segment set, and to obtain the path sustainability value.
[0121] In this embodiment of the invention, the forward extraction unit is used to read the participation values of the supply segments segment by segment along the starting direction of each independent chain segment according to the set of independent chain segments, and register the participation values of each supply segment within the independent chain segment to obtain an initial supply sequence. This extracts the resource states of the supply segments, originally scattered within the chain segments, into a supply sequence according to the chain segment direction, enabling subsequent modules to perform supply deduction based on the chain segment process rather than isolated entities. The change recording unit is used to record and update the participation values after passing through the transfer segment according to the initial supply sequence to obtain a continuous change sequence, identifying the continuity, attenuation, interruption, and replenishment of resources during the transfer process. The system provides a data foundation for subsequent segment analysis. The segment division unit, based on a continuous change sequence, marks intervals where the participation value remains constant, gradually decreases, or experiences interruption as retention segments, decreasing segments, and discontinuous segments, thus obtaining a supply segment set and clearly distinguishing stable supply areas, decreasing supply areas, and interrupted areas within a chain segment. The path continuity value unit, based on the supply segment set, identifies the overall sustainable supply capacity of independent chain segments during the transmission process, obtaining the path continuity value. This allows for direct comparison of the performance of different chain segments in terms of continuous supply, providing supply capacity parameters for subsequent link reorganization and resource allocation.
[0122] The segment division unit is used to mark intervals with unchanged, gradually decreasing, and interrupted participation values as retention intervals, reduction intervals, and discontinuity intervals based on the continuous change sequence, thereby obtaining a supply interval set, specifically including:
[0123] The system reads the first record of a segment, sets its output participation value as the initial reference value, and generates a pending segment buffer. If the output participation value of the first record is greater than zero and is in a continuously valid state, the system presets the current buffer as a valid supply segment; if the output participation value of the first record is zero, null, or in an aborted state, the system presets the current buffer as an intermittent segment. The system continues to read the next sequence record and compares the output participation value of the current record with the previous sequence reference value to determine whether it maintains the same change characteristics as the current buffer. If the same characteristics are met, the position is merged into the current buffer; if not, the current buffer is closed and a formal segment record is generated, while a new pending segment buffer is opened at the current position. When the output participation values of multiple adjacent positions remain consistent, and all position records are continuously valid, the continuous interval is identified as a retention segment. If the output participation value of the current position is the same as the output participation value of the previous position, the change is zero or within the allowable error threshold, and the segment state does not show any abnormal changes, the system determines that the resource has not experienced actual loss or changes affecting supply within this interval, and continues to expand the termination position of the current retention segment. For example, if the output participation values of positions 2 to 6 of a certain chain segment are all kept at 80, the system will register positions 2 to 6 as a single retention segment, rather than splitting them into multiple single-point records. For minor fluctuations caused by measurement accuracy, such as 80 changing to 79.9 and then to 80.1, the system will treat the fluctuation as unchanged if the fluctuation amplitude is less than the preset tolerance, in order to avoid generating excessively fragmented segments.
[0124] When the output participation values of multiple adjacent positions show a decreasing trend but remain positive and continuously valid, the system identifies this continuous interval as a decreasing segment. If the output participation value of the current position is lower than that of the previous position, and the reason for the decrease is recorded as valid reasons such as line loss, relay current limiting, phase consumption, resource diversion, or timeliness decay, the system determines that the current link segment is in a decreasing supply process and merges this position into the current decreasing segment. If subsequent positions continue to decrease, such as 80, 75, 72, 68, the system continues to extend the termination position of the decreasing segment; if subsequent positions remain stable after decreasing, the current decreasing segment is closed, and a new retention segment is opened. For cases with extremely small and discontinuous decreases, the system can determine whether it is considered a normal fluctuation based on a preset threshold. If it is a normal fluctuation, it is still included in the retention segment to maintain the stability of segment division. When the output participation value at a certain position becomes zero, invalid, untransferable, or terminated, or when the continuous change sequence records abnormal causes such as link failure, node disconnection, time window failure, or capacity blockage, the system identifies the continuous interval starting from that position as a discontinuity segment. If the previous position still has a valid participation value, and the output participation value at the current position suddenly becomes zero, the system uses the current position as the starting position of the discontinuity segment. If multiple subsequent positions continue to have zero or invalid values, the system continues to extend the termination position of the discontinuity segment until a valid participation value reappears at a subsequent position. If the latter half of the entire chain segment is in an interrupted state, the system extends the discontinuity segment to the end of the chain segment. For single-point failure records caused by short-term jitter, the system can perform smoothing judgment by combining the records before and after. If both before and after are stable valid values and the current failure duration is less than the minimum interruption threshold, it can be corrected and merged into the adjacent valid segment. The system assigns a unique number to each supply segment and establishes an association table between the chain segment number and the segment number, summarizing the segment records of all chain segments to form a supply segment set.
[0125] In a preferred embodiment of the present invention, the path continuation value unit includes:
[0126] The path continuation value calculation unit is used to calculate the proportion of the participation value of each supply segment in the total participation value of all supply segments based on the participation value of each supply segment in the independent chain segment, and to obtain the supply proportion item; and to calculate the proportion of the remaining participation value that can continue to participate in the transmission from the current supply segment to the end of the chain segment in the total participation value of all supply segments, and to obtain the subsequent retention item.
[0127] Based on the sequential position of each supply segment in the independent chain segment and the total length of the independent chain segment, calculate the position ratio of each supply segment in its subsequent coverable path to obtain the position coverage term; calculate the consistency of the position interval change between adjacent supply segments to obtain the distribution balance term.
[0128] By integrating the supply ratio, subsequent retention, location coverage, and distribution balance, the overall sustainable supply capacity of independent chain segments during the transmission process is identified, thus obtaining the path supply value.
[0129] In this embodiment of the invention, the path continuation supply value calculation unit is used to calculate the proportion of the participation value of each supply segment in the total participation value of all supply segments based on the participation value of each supply segment in the independent chain segment, thereby obtaining a supply proportion item and clearly identifying the main contribution source and secondary contribution source in the chain segment supply structure; calculate the proportion of the remaining participation value that can continue to participate in the transmission from the current supply segment to the end of the chain segment in the total participation value of all supply segments, thereby obtaining a subsequent retention item and identifying the degree of continuous retention of supply resources in the subsequent path of the chain segment; and calculate the proportion of the remaining participation value that can continue to participate in the transmission from the current supply segment to the end of the chain segment in the total participation value of all supply segments based on the order position of each supply segment in the independent chain segment and the total participation value of the independent chain segment. The segment length is calculated, and the positional proportion of each supply segment in its subsequent coverable path is obtained to obtain the positional coverage item, which distinguishes the difference between the upstream supply resources and the downstream supply resources in the overall support range of the chain segment; the consistency of the positional interval change between adjacent supply segments is calculated to obtain the distribution balance item, which identifies the spatial distribution characteristics of supply resources in the chain segment; the supply proportion item, subsequent retention item, positional coverage item and distribution balance item are integrated to identify the overall sustainable supply capacity of independent chain segments in the transmission process, and obtain the path continuation value, so that different chain segments have a directly comparable expression of continuation capacity.
[0130] The formula for calculating the path continuation value is as follows: ,
[0131] in, Continue to provide values for the path. Indicates the first The supply percentage of each supply segment is used to characterize the proportion of the participating value of that supply segment in the total participating value of all supply segments. Indicates the first The subsequent retention term of each supply segment is used to characterize the proportion of the remaining participation value that can continue to participate in the transmission from the current supply segment to the end of the chain segment in the total participation value of all supply segments. Indicates the first The location coverage term of each feed segment is used to characterize the proportion of the feed segment's location in its subsequent coverable paths. Indicates the first The distribution equilibrium term corresponding to each supply segment is used to characterize the consistency of positional interval changes between the current supply segment and its adjacent supply segments. Suppose that a certain independent chain segment has a total of... The first supply segment, the first The participation value of each supply segment is Its sequential position in the independent chain segment is The total length of the independent chain segments is The remaining participation value that can continue to participate in the transmission from the current supply segment to the end of the chain segment is... , For the index of the supply segment, For the first The participation value of each supply segment, Indicates the first The positional interval between each supply segment and its adjacent supply segment, for intermediate supply segments, For the first and last feed segments, the positional interval between them and their only adjacent feed segment is taken as the value. .
[0132] In a preferred embodiment of the present invention, the receiving module includes:
[0133] The reverse backfill unit is used to read the acceptance demand value of the receiving segment segment by segment along the end point direction of each independent chain segment according to the set of independent chain segments, so as to obtain the initial acceptance sequence.
[0134] The coverage recording unit is used to segment, mark, and register the covered and uncovered parts of each segment during the backfilling process according to the initial acceptance sequence, so as to obtain the acceptance change sequence.
[0135] The sequence identification unit is used to determine the entry order, occupation order and relocation order of different receiving segments in the backfilling process according to the receiving change sequence, so as to obtain the receiving sequence set;
[0136] The path acceptance value unit is used to identify the overall acceptance capacity of an independent chain segment for objects of different priorities based on the acceptance priority set, and to obtain the path acceptance value.
[0137] In this embodiment of the invention, the reverse backfilling unit is used to read the acceptance demand value of the receiving segment segment by segment along the endpoint direction of each independent chain segment according to the independent chain segment set, to obtain the initial acceptance sequence, and convert the acceptance demand into a process demand sequence to provide basic data for calculation; the coverage recording unit is used to segment, mark and register the covered and uncovered parts of each receiving segment in the backfilling process according to the initial acceptance sequence, to obtain the acceptance change sequence, and record which positions the demand of the receiving segment covers in the current chain segment, which parts are not covered, and when the coverage is interrupted or completed, to provide a basis for subsequent calculations; the order identification unit is used to determine the entry order, occupation order and backward movement order of different receiving segments in the backfilling process according to the acceptance change sequence, to obtain the acceptance order set, to clearly express the actual acceptance status of different receiving objects in the chain segment, and to provide a sequential basis for subsequent calculations; the path acceptance value unit is used to identify the overall acceptance capacity of the independent chain segment for different priority objects according to the acceptance order set, to obtain the path acceptance value, and to uniformly express the overall acceptance capacity of the chain segment for different priority objects.
[0138] In a preferred embodiment of the present invention, the path acceptance value unit includes:
[0139] The path acceptance value calculation unit is used to calculate the coverage ratio of the covered part of each acceptance segment relative to its acceptance demand value based on the acceptance priority set, and obtain the coverage response item; and to calculate the comprehensive priority degree of each acceptance segment in the entry order, occupation order and relocation order, and obtain the priority priority item.
[0140] Based on the positional distribution of the covered and uncovered portions of each receiving segment within the independent chain segment, the degree of connection of the coverage state between adjacent receiving segments is calculated to obtain the continuous receiving item; the degree of concentration of the covered portion of the receiving segment near the endpoint direction within the overall covered portion is calculated to obtain the end-focusing item.
[0141] By integrating the coverage response item, the priority preceding item, the continuous acceptance item, and the end focus item, the overall acceptance capacity of an independent chain segment for objects of different priorities is identified, and the path acceptance value is obtained.
[0142] In this embodiment of the invention, the path acceptance value calculation unit is used to calculate the coverage ratio of the covered portion of each acceptance segment relative to its acceptance demand value based on the acceptance priority set, thereby obtaining a coverage response item. This ensures that chain segments with different demand scales and acceptance quantities have a unified demand response expression method. It also calculates the comprehensive priority degree of each acceptance segment in the entry order, occupancy order, and relocation order, obtaining a priority priority item to quantify the priority guarantee capability of the chain segment during the acceptance process. Furthermore, it calculates the adjacent acceptance segments based on the positional distribution of the covered and uncovered portions of each acceptance segment within the independent chain segments. The degree of connection between coverage states is used to obtain continuous acceptance items, which quantitatively identify whether the acceptance is continuous, concentrated, or whether there are large-area breaks; the concentration of the covered part of the acceptance segment near the end direction in the overall covered part is calculated to obtain the end focus item, which identifies whether the chain segment's acceptance capacity is effectively concentrated in the demand area of the end direction; the coverage response item, priority item, continuous acceptance item, and end focus item are integrated to identify the overall acceptance capacity of independent chain segments for objects of different priorities, and the path acceptance value is obtained, so that different chain segments have a directly comparable expression of acceptance capacity.
[0143] The formula for calculating the path carrying value is as follows: ,
[0144] in, This is the path carrying value. For the first The coverage response item for each receiving segment indicates the coverage ratio of that segment relative to its receiving demand value. For the first The preceding item of each receiving segment indicates the overall degree of precedence of that receiving segment in terms of entry order, occupancy order, and relocation order. This refers to the continuous successor item of this independent chain segment, used to characterize the degree of connection between the coverage states of different successor segments. This is the end-focusing term of the independent chain segment, used to characterize the concentration of the covered portion of the connecting segment near the end point within the overall covered portion. Let there be a total of [number missing] in a given independent chain segment. The first transition section, the first The acceptance demand value of each receiving segment is The covered part is Its entry order, occupation order, and shift order are respectively Let the total length of this independent chain segment be... , No. The start and end positions of the covered intervals of each receiving segment are respectively and Then its covered length Let the covered length of the region located at the end of the chain segment in the direction of the end point be . .
[0145] In a preferred embodiment of the present invention, the link module includes:
[0146] The source merging unit is used to classify independent links from the same source according to the set of independent links, and associate the path continuation value and path acceptance value of each independent link to obtain the set of links from the same source.
[0147] A dual-value configuration unit is used to construct a two-dimensional distribution structure based on the set of homologous chain segments, according to the continuous supply capacity of the path continuation value and the acceptance capacity of the path acceptance value, to obtain the chain segment configuration set.
[0148] The chain segment division unit is used to determine the independent chain segments whose path continuation value and path acceptance value both meet the preset two-dimensional threshold as the main chain segments, and to determine the remaining independent chain segments as auxiliary chain segments, so as to obtain the chain segment hierarchy set.
[0149] The link reassembly unit is used to insert auxiliary links into the preceding and following positions of the main link segment based on the link segment hierarchy set and with the main link segment as the core path structure, thereby obtaining a reassembled link set.
[0150] In this embodiment of the invention, the source merging unit is used to classify independent chain segments from the same supply source according to the independent chain segment set, and associate the path continuation supply value and path acceptance value of each independent chain segment to obtain a common-source chain segment set. This allows for overall comparison and structural reorganization of multiple chain segments under the same resource source, providing a data foundation for chain segment hierarchical division and overall link organization. The dual-value configuration unit is used to construct a two-dimensional distribution structure based on the common-source chain segment set according to the continuous supply capacity of the path continuation supply value and the acceptance capacity of the path acceptance value, to obtain a chain segment configuration set, providing a basis for subsequent primary and secondary division based on dual-value collaborative relationships. The chain segment division unit is used to divide the chain segments according to the chain segments. The configuration set identifies independent chain segments whose path continuation and path acceptance values both meet preset two-dimensional thresholds as main chain segments, and the remaining independent chain segments as auxiliary chain segments, thus obtaining a chain segment hierarchy set. This identifies which chain segments from the same source can serve as the core transmission structure and which are suitable for auxiliary and supplementary functions, establishing the foundation for the main and auxiliary structure of subsequent link organization. The link reorganization unit, based on the chain segment hierarchy set, uses the main chain segment as the core path structure and inserts auxiliary chain segments into the pre-order and post-order positions of the main chain segment, thus obtaining a reorganized link set. This reorganizes the originally independent main chain segments and auxiliary chain segments from the same source into a link system with a core structure and a supplementary structure according to their sequential relationship.
[0151] The chain segment partitioning unit is used to determine independent chain segments whose path continuation values and path acceptance values both meet a preset two-dimensional threshold as main chain segments, and to determine the remaining independent chain segments as auxiliary chain segments, thereby obtaining a chain segment hierarchy set, specifically including:
[0152] For each independent link segment, the system calls a preset two-dimensional threshold parameter table to read the path continuity threshold and path capacity threshold for the current scheduling cycle. The two-dimensional threshold parameter table can be preset by the system during deployment or dynamically loaded based on the current power outage impact range, available resource scale, demand intensity level, and historical scheduling samples; however, it is written into the current computing context as fixed thresholds when entering this round of judgment. The system performs two-dimensional compliance judgment on each independent link segment, comparing the current independent link segment's path continuity value with the preset continuity threshold to determine if it meets the continuity capability requirements; then, it compares the current independent link segment's path capacity threshold with the preset capacity threshold to determine if it meets the capacity requirements. When the path continuity value of an independent link segment is not lower than the preset continuity threshold and its path capacity threshold is not lower than the preset capacity threshold, the system determines that the independent link segment simultaneously meets the two-dimensional threshold conditions and marks it as a candidate for a main link segment. If the independent link segment only meets one threshold, or neither threshold is met, the system retains it as a non-main link segment object, to be uniformly classified into the auxiliary link segment range later. The chain segmentation unit performs intra-group correction processing on the judgment results under the same supply source. If multiple chain segments in the set of chain segments to be judged corresponding to the same supply source simultaneously meet the two-dimensional threshold conditions, the system further compares the path continuation value, path acceptance value, and the comprehensive matching degree between these chain segments. The system compares them in the order of path continuation value priority and path acceptance value second priority. Alternatively, it can be comprehensively sorted according to the product value, weighted sum value, or the degree of deviation from the ideal high value point. After sorting, the system marks the chain segment with the best comprehensive performance as the priority main chain segment and retains the remaining chain segments that still meet the two-dimensional threshold conditions as parallel main chain segments or secondary main chain segments.
[0153] If no independent chain segment from the same supply source simultaneously satisfies both the path continuation value threshold and the path acceptance value threshold, the system performs a compensatory judgment, selecting the chain segment from the source set whose overall performance of path continuation value and path acceptance value is closest to the two-dimensional threshold region as a temporary main chain segment candidate for that source. The closest overall performance can be determined by comparing the difference between each chain segment and the intersection point of the two-dimensional threshold, calculating the degree of dual-value weakness, or comprehensively judging based on the deviation between the path continuation value and the path acceptance value. For the remaining unselected independent chain segments, the system uniformly registers them as auxiliary chain segments. For independent chain segments determined to be main chain segments, the system registers their structural attributes, such as whether they serve as the first chain segment of the main skeleton, whether they are allowed to be connected in parallel with other main chain segments, and whether they have priority in accepting the end target. For independent chain segments determined to be auxiliary chain segments, the system registers their functional attributes, such as suitability as a preceding supplementary chain segment, a subsequent extension chain segment, or an intermediate connecting chain segment. These functional attributes can be automatically generated based on their strong path continuation value, strong path acceptance value, or distribution characteristics at the chain segment position. The system performs consistency checks on the hierarchical results, checking whether the same independent chain segment is repeatedly marked as a main chain segment and an auxiliary chain segment; whether there are missing main chain segment numbers within the same source set; whether a clear sequence number has been written in the case of multiple main chain segments; whether the temporary main chain segment conflicts with the original threshold judgment; and whether the functional attributes of the auxiliary chain segment are complete. The system then summarizes the hierarchical attribute results of all independent chain segments to form a chain segment hierarchy set.
[0154] The link reassembly unit is used to insert auxiliary links into the pre-order and post-order positions of the main link segment based on the link segment hierarchy set, with the main link segment as the core path structure, to obtain the reassembled link set, specifically including:
[0155] For each set of reorganization tasks, the system first filters out the independent segments marked as main segments and extracts their segment number, start position, end position, intra-segment sequence structure, path continuation value, path inheritance value, main segment sequence number, and related inheritance object distribution information. If there is only one main segment under a certain supply source, the system directly registers that main segment as the core path structure of the current source; if there are multiple main segments, the system arranges them in order of their sequence number and selects the one with the highest sequence number as the first segment of the main skeleton, while the remaining main segments participate in subsequent splicing as parallel core segments or secondary core segments. The system compares the start and end positions of each auxiliary segment with the start and end positions of the current main segment to determine whether the auxiliary segment is more suitable to be inserted before or after the main segment. If the termination position of an auxiliary link segment is directly connected to the start position of the main link segment, or if its recipients are mainly distributed in the area before the start position of the main link segment, and its functional attribute is identified as a pre-order supplement type, then the system determines the auxiliary link segment as a pre-order auxiliary link segment candidate. If the start position of an auxiliary link segment is forward connected to the termination position of the main link segment, or if its recipients are mainly distributed in the area after the termination position of the main link segment, and its functional attribute is identified as a subsequent order extension type, then the system determines the auxiliary link segment as a subsequent order auxiliary link segment candidate. For auxiliary link segments whose positional relationship is in the middle interval of the main link segment, but which can fill the gap in the middle of the main link segment or continue the weak segment, the system can temporarily register them as relay reinforcement candidates.
[0156] The system compares the insertion priority of multiple preceding auxiliary links, determining the insertion order based on parameters such as the distance between the auxiliary link and the starting position of the main link, the extent to which its path continuation value complements the beginning of the main link, the carrying capacity of its path continuity value for the preceding objects of the main link, and its link length. The system typically prioritizes placing the auxiliary link whose termination position is closest to the starting position of the main link and whose connection is smoothest in the position closest to the main link. The remaining preceding auxiliary links are then arranged sequentially from closest to furthest. When an auxiliary link is identified as a candidate for a subsequent auxiliary link, the system also performs a subsequent insertion sort. For multiple subsequent auxiliary links, the system compares the degree of connection between their starting position and the ending position of the main link, the coverage capacity of their path continuity value for the objects in the endpoint direction, the strength of their path continuation value for the end-of-main-link continuation capacity, and their effective time window. The system prioritizes inserting auxiliary links whose starting position is closest to the ending position of the main link segment and whose carrying capacity best matches the end requirements of the main link segment after the main link segment. Subsequent auxiliary links are then arranged sequentially according to their connection tightness and functional complementarity. For auxiliary links that can be inserted both before and after the main link segment, the system prioritizes the main direction pre-marked in its functional attributes. If there is no explicit marking, the system compares the improvement effects of the two insertion methods on the overall path continuation value and path carrying capacity, selecting the side with the more significant improvement as the final insertion direction. The system maintains the original fragment order within each link segment, establishing a new sequence of connections only at the link segment level, and sequentially connecting the preceding auxiliary links, main link segment, and subsequent auxiliary links according to the determined order. If multiple main link segments exist from the same source, the system can either form several sub-recombination links around each main link segment, or first connect the main link segments in priority order and then insert the corresponding auxiliary links before and after the entire main link segment sequence. The system checks for anomalies such as the same auxiliary link segment being inserted repeatedly in multiple positions, reversed link segment order, overlapping or conflicting positions of preceding and following links, and missing or incorrectly placed main links after auxiliary links. For detected position conflicts, the system prioritizes preserving the main link structure and readjusts the insertion position of the conflicting auxiliary link segment or downgrades it to a record of no inserted auxiliary link segment. For links that have been reassembled and passed verification, the system registers them as valid reassembled links and separately retains auxiliary links that failed to be inserted in a candidate link table. The system aggregates all verified reassembled results from all sources to form a reassembled link set.
[0157] In a preferred embodiment of the present invention, the allocation module includes:
[0158] The location extraction unit is used to extract the start, relay, and end positions of the supply segment, relay segment, and receiving segment in each reassembled link based on the reassembled link set, so as to obtain the link location set.
[0159] The sequence generation unit is used to construct a take-up sequence according to the forward-to-back transmission relationship in the reassembled link based on the link location set and load priority data, and sort the entry order of different priority objects in the reassembled link to obtain the allocation sequence set;
[0160] The allocation mapping unit is used to map the allocable resources of each supply segment to the receiving segment in sequence according to the transmission direction of the reassembled link, based on the allocation order set, to obtain the allocation mapping set;
[0161] The result generation unit is used to uniformly organize the priority and link position of each segment according to the allocation mapping set, determine the resource allocation of objects with different priorities, and obtain the resource allocation result.
[0162] In this embodiment of the invention, the location extraction unit is used to extract the start, relay, and end positions of the supply segment, transfer segment, and receiving segment in each reassembled link based on the reassembled link set, to obtain a link location set, providing a spatial order basis for subsequent allocation sequence generation and resource mapping; the sequence generation unit is used to construct a receiving sequence according to the forward-to-back transmission relationship in the reassembled link based on the link location set and load priority data, sort the entry order of different priority objects in the reassembled link, to obtain an allocation sequence set, and unify the natural reach relationship and load priority rules in the link structure into a resource allocation sequence; the allocation mapping unit is used to map the allocatable resources of each supply segment to the receiving segment in sequence according to the transmission direction of the reassembled link based on the allocation sequence set, to obtain an allocation mapping set, and save the transmission path, allocation quantity, and occupancy process of resources from the supply end to the demand end, realizing link-based resource configuration; the result generation unit is used to uniformly organize the priority and link position of each receiving segment based on the allocation mapping set, determine the resource allocation of different priority objects, and obtain the resource allocation result, so that the amount of resources ultimately obtained by different priority objects, which link provides them, and whether the demand is met are clearly presented.
[0163] The sequence generation unit is used to construct a take-up sequence according to the forward-to-back transmission relationship in the reassembled link based on the link location set and load priority data, and to sort the entry order of objects with different priorities in the reassembled link to obtain the allocation sequence set, specifically including:
[0164] For each reorganized link, the system calls the load priority data table, matches the load object number corresponding to each receiving segment with the priority database, reads the basic priority, urgency level, allowed waiting time, last resource acquisition time, and current demand gap value of the load object, and writes the priority information into the receiving object list of the current link, forming a receiving dataset to be sorted. The system uses the location of the supply segment as the starting point for link resource entry and scans position by position along the link sequence. When a receiving segment is scanned, it is registered into the natural receiving order table. Therefore, receiving segments that are earlier in the link and reached by the resource path earlier are given priority in the initial order sequence. If there are multiple supply starting points in the link, the system takes the supply segment in the main link segment as the first starting point and identifies the resource arrival path in the order of preceding auxiliary link segments, main link segment, and subsequent auxiliary link segments, so that supply resources from different sources still form a consistent front-to-back transmission order under a unified link structure. For links with branch forwarding segments, the system generates sub-sequence sequences based on the connection relationships of the branch paths, and then merges them into a general sequence table according to the rule of primary path priority and secondary path sub-priority. The system compares adjacent segments in the natural acceptance sequence pair by pair. If the priority of a later acceptance segment is higher than that of an earlier acceptance segment, and the resource can reach the later acceptance segment without obstruction after passing through the earlier acceptance segment, the system allows the later acceptance segment to move forward in the order without disrupting the link connectivity. If moving forward would cause a reversal of the link direction, resource unreachability, or cause a conflict in the order of already determined high-priority objects, the original natural order remains unchanged. For multiple acceptance segments with the same priority, the system further compares their current demand gap value, allowed waiting time, and historical allocation ratio. Segments with larger demand gaps are prioritized, those with shorter allowed waiting times are prioritized, and those with lower historical allocation ratios are prioritized. If they still cannot be distinguished, the link with the earlier position is prioritized.
[0165] The system writes a priority attribute record for each receiving segment. This priority attribute record includes at least the link number, receiving segment number, load object number, natural priority number, adjusted priority number, priority level, demand gap value, expected reach level, and reason for priority adjustment. If a receiving segment is temporarily deferred due to resource unavailability, the system marks the pending path status in the record; if a receiving segment has already met its demand in a previous scheduling cycle, the system can remove it from the current valid sequence, retaining only its historical record. After generating the priority for all links, the system aggregates the sorting results of all links to form an allocation order set.
[0166] The allocation mapping unit is used to map the allocable resources of each supply segment to the receiving segment sequentially according to the transmission direction of the reassembly link, based on the allocation order set, to obtain the allocation mapping set, specifically including:
[0167] For each reassembled link, the system synchronously reads the current allocable resource value, resource type, output window, source entity, and occupied status of all supply segments in the link location set. Simultaneously, it reads the current transmission status, allowed throughput capacity, congestion flag, and connection direction information of all forwarding segments. The system processes the demand of the receiving segments in the current link one by one, according to their adjusted priority numbers in ascending order, ensuring that segments with higher priority enter the resource mapping process first. When a receiving segment enters the allocation process, the system first reads its remaining demand value and traces back along the link to the set of upstream supply segments connected to it, identifying which supply segments can transfer resources to that receiving segment through the current link direction. If there is only one reachable supply segment, the system directly reads the current resource balance of that supply segment and compares it with the remaining demand value of the receiving segment. When the resource balance of the supply segment is greater than or equal to the demand value of the receiving segment, the system performs full mapping, deducts the amount of resources required to meet the demand from the supply segment's balance, and marks the receiving segment as satisfied. When the resource balance of the supply segment is less than the demand value of the receiving segment, the system performs partial mapping, allocates all the remaining resources of the supply segment to the receiving segment, and keeps the remaining unmet demand value of the receiving segment in the supplementary list.
[0168] When a receiving segment corresponds to multiple reachable supply segments, the system performs multi-source collaborative mapping. The system prioritizes calling the supply segment resources located in the main chain segment, and then replenishes them in the order of the preceding auxiliary chain segment supply segments and the following auxiliary chain segment supply segments; or, the calling order is determined by the path continuity value of the chain segment where the supply segment is located, so that the supply segment with stronger continuous supply capacity takes the lead in undertaking output tasks. The system checks the capacity constraints and direction limits of each forwarding segment in real time. If the resource flow exceeds the allowable value of a certain forwarding segment, the excess part is transferred to other reachable paths. If there is no alternative path, the excess part is recorded as unallocated amount. For the case where the same supply segment needs to serve multiple receiving segments simultaneously, the system always deducts the resource balance in the order determined by the allocation order. After each resource mapping is completed, the system immediately updates three types of status data: the first is the resource status of the supply segment, recording the initial resource value, allocated value, and remaining value; the second is the demand status of the receiving segment, recording the original demand value, satisfied value, and remaining demand value; and the third is the occupancy status of the transfer segment, recording the current amount of resources passed, the remaining passing capacity, and whether the congestion threshold has been reached. If a receiving segment is satisfied in this round, the system automatically skips it in subsequent priority processing; if a supply segment's resources are exhausted, the system removes it from the list of callable supply segments. After all receiving segments of the current link have been processed, the system continues to process the next reassembly link until all allocation sequence records have been executed, summarizing all single mapping logs and status change results to form an allocation mapping set.
[0169] The result generation unit is used to uniformly organize the priority and link position of each segment according to the allocation mapping set, determine the resource allocation of objects with different priorities, and obtain the resource allocation result, specifically including:
[0170] For each receiving segment, the system accumulates all resources acquired in this round of scheduling and calculates its satisfaction status based on the original demand value. When the accumulated resource acquisition is greater than or equal to the original demand value, the system marks the receiving segment as fully satisfied; when the accumulated resource acquisition is less than the original demand value but greater than zero, it is marked as partially satisfied; when the accumulated resource acquisition is zero, it is marked as unsatisfied. Simultaneously, the system reads the segment's position and role information in the link, identifying whether it belongs to a preceding receiving point, a middle receiving point, or a terminal receiving point, and writes this position attribute and satisfaction status together into the receiving result table. The system counts the number of fully satisfied, partially satisfied, and unsatisfied high-priority objects and calculates their total demand satisfaction ratio; the same statistics are performed on medium-priority and low-priority objects to form a tiered guarantee result table. The system can further count the average resource acquisition time, average number of link levels traversed, and average remaining gap value for objects of different priorities to reflect the resource guarantee status of objects of different levels in this round of scheduling. For objects that have been unsatisfied for multiple consecutive rounds, the system marks them as continuously undersupplied in the results, providing a basis for compensation in the next round of scheduling.
[0171] For each reorganized link, the system calculates its total output resources, the number of participating supply segments, the number of participating receiving segments, link resource utilization, end-object satisfaction rate, and the contribution ratio of the main link segment and the auxiliary link segment. If a link experiences congestion in the transfer segment, premature exhaustion of the supply segment, or a large number of unsatisfied receiving segments during this round of execution, the system writes an anomaly tag into the link results. The system encapsulates the receiving result table, priority statistics table, link execution result table, and source-level analysis results into a unified resource allocation result data packet. The resource allocation result data packet includes at least the receiving object number, priority, obtained resource amount, satisfaction status, supply source number, traversed link number, link location attribute, remaining demand value, expected supply suggestion for the next round, and the scheduling timestamp for this round. If the system enters the next scheduling cycle, it writes back the remaining resource values of each supply segment, the remaining demand values of each receiving segment, and the link congestion status to the basic dataset as input for the next round of scheduling. The system checks for anomalies such as duplicate statistics of the receiving segment, total resource allocation exceeding total supply, missing link number or incorrect priority identification. For any issues found, the system automatically corrects them based on the mapping log or marks them for manual review. Once the verification is successful, the system generates the resource allocation result.
[0172] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system, characterized in that, The system includes: The data module is used to acquire street light node status data, node association data, load priority data, and vehicle status data to obtain the basic dataset; The split mapping module is used to decompose street light nodes and vehicles into supply segments, transfer segments and receiving segments based on the basic dataset, establish cross-subject mapping relationships, and obtain segment-based association sets; The path module is used to establish a transmission path for the transfer segments that meet the connection order according to the load priority based on the segment association set, with the supply segment as the starting point and the receiving segment as the ending point, and obtain a candidate path set. The rearrangement module is used to identify the repeatedly called supply segments and transfer segments in different transmission paths based on the candidate path set, and to divide the transmission path according to its start and end positions to obtain an independent chain segment set. The deduction module is used to extract the participation value of the supply segment segment by segment along the starting direction of each independent chain segment based on the set of independent chain segments, identify the sustainable supply capacity of the transmission path, and obtain the path's continued supply value. The receiving module is used to fill in the receiving demand value segment by segment along the destination direction on the independent chain segments according to the set of independent chain segments, identify the demand priority of the path, and obtain the path receiving value. The link module is used to divide the link segments from the same source into main link segments and auxiliary link segments according to the path continuation value and the path acceptance value, and then reassemble them in sequence to obtain the reassembled link set. The allocation module is used to record the start position, relay position and end position of each reassembled link according to the reassembled link set, determine the resource allocation order of objects with different priorities, and obtain the resource allocation result. 2.The photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system according to claim 1, characterized in that, The split mapping module includes: The segment decomposition unit is used to divide the resource status of each street light node and vehicle into supply segment, transfer segment and receiving segment according to the street light node status data and vehicle status data, so as to obtain the segment dataset. The identity tagging unit is used to assign output identifier, transmission identifier and receiving identifier to each supply segment, forwarding segment and receiving segment according to the segment dataset, so as to obtain the segment identity set; The sequence mapping unit is used to establish the sequential order of each segment according to the connection relationship between street light nodes and the vehicle access relationship based on the segment identity set and node association data, so as to obtain the initial mapping sequence; The cross-body association unit is used to combine different street light nodes and vehicle segments according to the connection order based on the initial mapping sequence to obtain a segmented association set. 3.The photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system according to claim 2, characterized in that, The path module includes: The start and end screening unit is used to extract the start segment and end segment of the path according to the segment association set, and establish a correspondence relationship according to the sequential position of each supply segment and the receiving segment to obtain the start and end correspondence set; The priority orchestration unit is used to form a sequence of each receiving segment according to the load priority based on the start and end correspondence set and load priority data, and to map the sequence of each receiving segment to the path direction of each supply segment to obtain the receiving orchestration set. The transfer insertion unit is used to extract the transfer segment located between the supply segment and the receiving segment and satisfy the preset connection order according to the receiving arrangement set, and insert it between the supply segment and the receiving segment in the order of front and back to obtain the path segment set. The path generation unit is used to sequentially splice the supply segment as the starting point, the transfer segment as the intermediate segment, and the receiving segment as the ending point according to the path segment set to obtain a candidate path set.
4. The photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system according to claim 3, characterized in that, The rearrangement module includes: The duplicate identification unit is used to mark segments that are called by multiple transmission paths as duplicate segments based on the candidate path set, and to record the occurrence position of duplicate segments in each transmission path to obtain a set of duplicate segments; The boundary positioning unit is used to determine the start and end positions of each repeated segment in the transmission path based on the set of repeated segments, and to register the start and end positions in sequence to obtain the path boundary set. The path segmentation unit is used to divide the transmission path into multiple non-overlapping path segments according to the start and end positions based on the path boundary set, thus obtaining a set of segmented path segments. The chain segment generation unit is used to reassign the source identifier, destination identifier, and intra-segment order identifier to each segmented path segment according to the segmented path segment set, ensuring that each segmented path segment is an independent unit and thus obtaining an independent chain segment set.
5. The photovoltaic street light cluster emergency power supply operation scheduling and resource allocation system according to claim 4, characterized in that, The deduction module includes: The forward extraction unit is used to read the participation value of the supply segment segment by segment along the starting direction of each independent chain segment according to the set of independent chain segments, and register the participation value of each supply segment in the independent chain segment to obtain the initial supply sequence. The change recording unit is used to record and update the participation value after passing through the transfer section according to the initial supply sequence, so as to obtain a continuous change sequence; The segment division unit is used to mark the intervals with unchanged, gradually decreasing, and interrupted participation values as retention intervals, reduction intervals, and discontinuity intervals according to the continuous change sequence, so as to obtain the supply interval set; The path sustainability value unit is used to identify the overall sustainable supply capacity of an independent chain segment during the transmission process based on the supply segment set, and to obtain the path sustainability value. 6.The photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system according to claim 5, characterized in that, The path continuation value unit includes: The path continuation value calculation unit is used to calculate the proportion of the participation value of each supply segment in the total participation value of all supply segments based on the participation value of each supply segment in the independent chain segment, and to obtain the supply proportion item; and to calculate the proportion of the remaining participation value that can continue to participate in the transmission from the current supply segment to the end of the chain segment in the total participation value of all supply segments, and to obtain the subsequent retention item. Based on the sequential position of each supply segment in the independent chain segment and the total length of the independent chain segment, calculate the position ratio of each supply segment in its subsequent coverable path to obtain the position coverage term; calculate the consistency of the position interval change between adjacent supply segments to obtain the distribution balance term. By integrating the supply ratio, subsequent retention, location coverage, and distribution balance, the overall sustainable supply capacity of independent chain segments during the transmission process is identified, thus obtaining the path supply value.
7. The photovoltaic street light cluster emergency power supply operation scheduling and resource allocation system according to claim 6, characterized in that, The supporting modules include: The reverse backfill unit is used to read the acceptance demand value of the receiving segment segment by segment along the end point direction of each independent chain segment according to the set of independent chain segments, so as to obtain the initial acceptance sequence. The coverage recording unit is used to segment, mark, and register the covered and uncovered parts of each segment during the backfilling process according to the initial acceptance sequence, so as to obtain the acceptance change sequence. The sequence identification unit is used to determine the entry order, occupation order and relocation order of different receiving segments in the backfilling process according to the receiving change sequence, so as to obtain the receiving sequence set; The path acceptance value unit is used to identify the overall acceptance capacity of an independent chain segment for objects of different priorities based on the acceptance priority set, and to obtain the path acceptance value. 8.The photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system according to claim 7, characterized in that, The path acceptor value unit includes: The path acceptance value calculation unit is used to calculate the coverage ratio of the covered part of each acceptance segment relative to its acceptance demand value based on the acceptance priority set, and obtain the coverage response item; and to calculate the comprehensive priority degree of each acceptance segment in the entry order, occupation order and relocation order, and obtain the priority priority item. Based on the positional distribution of the covered and uncovered portions of each receiving segment within the independent chain segment, the degree of connection of the coverage state between adjacent receiving segments is calculated to obtain the continuous receiving item; the degree of concentration of the covered portion of the receiving segment near the endpoint direction within the overall covered portion is calculated to obtain the end-focusing item. By integrating the coverage response item, the priority preceding item, the continuous acceptance item, and the end focus item, the overall acceptance capacity of an independent chain segment for objects of different priorities is identified, and the path acceptance value is obtained. 9.The photovoltaic street lamp cluster emergency power supply operation scheduling and resource allocation system according to claim 8, characterized in that, The link module includes: The source merging unit is used to classify independent links from the same source according to the set of independent links, and associate the path continuation value and path acceptance value of each independent link to obtain the set of links from the same source. A dual-value configuration unit is used to construct a two-dimensional distribution structure based on the set of homologous chain segments, according to the continuous supply capacity of the path continuation value and the acceptance capacity of the path acceptance value, to obtain the chain segment configuration set. The chain segment division unit is used to determine the independent chain segments whose path continuation value and path acceptance value both meet the preset two-dimensional threshold as the main chain segments, and to determine the remaining independent chain segments as auxiliary chain segments, so as to obtain the chain segment hierarchy set. The link reassembly unit is used to insert auxiliary links into the preceding and following positions of the main link segment based on the link segment hierarchy set and with the main link segment as the core path structure, thereby obtaining a reassembled link set.
10. The photovoltaic street light cluster emergency power supply operation scheduling and resource allocation system according to claim 9, characterized in that, The allocation module includes: The location extraction unit is used to extract the start, relay, and end positions of the supply segment, relay segment, and receiving segment in each reassembled link based on the reassembled link set, so as to obtain the link location set. The sequence generation unit is used to construct a take-up sequence according to the forward-to-back transmission relationship in the reassembled link based on the link location set and load priority data, and sort the entry order of different priority objects in the reassembled link to obtain the allocation sequence set; The allocation mapping unit is used to map the allocable resources of each supply segment to the receiving segment in sequence according to the transmission direction of the reassembled link, based on the allocation order set, to obtain the allocation mapping set; The result generation unit is used to uniformly organize the priority and link position of each segment according to the allocation mapping set, determine the resource allocation of objects with different priorities, and obtain the resource allocation result.