A method, system, device and medium for collaborative management and control of vehicle-to-everything (V2X) interactive resources.

By collecting and analyzing power grid and vehicle data to generate battery health scores and charge/discharge capacity constraints, and dynamically dividing functional clusters, the problem of low reliability of vehicle-grid interactive dispatch instructions is solved, thus achieving reliable support for power grid regulation needs and protection of vehicle batteries.

CN123121986APending Publication Date: 2026-11-17GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611313650.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

In existing technologies, the reliability of vehicle-to-grid (V2G) interactive dispatch commands is low. Some vehicles fail to respond to commands or withdraw midway through the response, making it difficult to reliably support the grid regulation needs. At the same time, the unified high-intensity dispatch can easily cause excessive wear and tear on vehicle batteries, posing a safety hazard.

Method used

Collect grid operation data, vehicle battery operation data, and physical connection monitoring data to generate battery health scores and vehicle charging and discharging capacity constraints. Dynamically divide functional clusters and allocate charging and discharging instructions based on grid demand priorities and battery health scores. Integrate aging characteristics through a time-series attention mechanism to improve instruction execution rate and safety.

Benefits of technology

It improves the execution rate of vehicle-to-grid (V2G) interactive dispatch instructions, avoids excessive vehicle battery wear and erroneous calls to vehicles that are not connected, and enhances the reliability and security of dispatch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123121986A_ABST
    Figure CN123121986A_ABST
Patent Text Reader

Abstract

This application discloses a method, system, device, and medium for collaborative management and control of vehicle-to-grid (V2G) interactive resources, belonging to the field of V2G technology. The method includes: collecting grid operation data, vehicle battery operation data, charging facility connection monitoring data, and vehicle availability data; extracting battery aging time-series characteristics from the vehicle battery operation data, fusing them with battery status data to generate a battery health score, and generating vehicle charging and discharging capacity constraints based on this score and vehicle availability data; determining the demand priority of ancillary service types based on grid operation data, and screening target vehicles that meet safety conditions based on connection monitoring data; dynamically dividing target vehicles into functional clusters of different ancillary service types based on demand priority, health score, and vehicle charging and discharging capacity constraints; determining the control weight of each functional cluster, and allocating charging and discharging power and duration to vehicles accordingly for charging and discharging control. This application can improve the reliability of V2G interactive scheduling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle-to-everything (V2X) interaction technology, and in particular to a method, system, device and medium for collaborative management and control of V2X interactive resources. Background Technology

[0002] With the rapid growth of electric vehicle ownership, large-scale disorderly charging of electric vehicles will exacerbate the peak-valley difference in grid load, posing challenges to the safe and stable operation of the grid. On the other hand, electric vehicle power batteries have bidirectional adjustable energy storage characteristics and can serve as a flexible resource to participate in grid peak shaving, frequency regulation, backup and other ancillary services. Due to the large number and dispersed distribution of electric vehicles, there is an urgent need for coordinated management and control to achieve vehicle-grid interaction and simultaneously support grid operation and normal vehicle use.

[0003] Currently, vehicle-to-grid (V2G) interactive dispatch typically employs a centralized dispatching approach: the dispatching terminal aggregates electric vehicles within a certain area into a dispatchable cluster, formulates a unified charging and discharging schedule based on the grid's load regulation needs, and issues charging and discharging commands to each vehicle within the cluster for execution. However, this type of dispatching, which uniformly assigns charging and discharging tasks to each vehicle based on grid-side needs, often results in some vehicles failing to respond to commands or withdrawing midway through the response process. This leads to a low dispatch command execution rate and unreliable support for grid regulation needs. Furthermore, the uniform, high-intensity dispatching can easily cause excessive battery depletion in some vehicles, affecting normal vehicle use for owners. There are even instances where dispatched vehicles are issued charging and discharging commands without reliable grid connection, posing safety hazards. Therefore, how to meet grid ancillary service needs while avoiding excessive battery depletion and the mis-dispatch of vehicles lacking the necessary response capabilities, and improving the reliability of V2G interactive dispatch commands, has become an urgent technical problem to be solved. Summary of the Invention

[0004] This application provides a method, system, device, and medium for collaborative management and control of vehicle-to-grid interactive resources, which can solve the problem of low reliability of vehicle-to-grid interactive scheduling instructions in the prior art.

[0005] Some embodiments of this application provide a method for collaborative management and control of vehicle-to-everything (V2X) interactive resources, including: Collect power grid operation data, vehicle battery operation data, physical connection monitoring data of charging facilities, and vehicle availability data; wherein, the vehicle battery operation data includes battery status data and historical charge and discharge data; Battery aging time sequence features are extracted from the historical charge and discharge data. The battery status data is fused with the battery aging time sequence features to generate a battery health score. Based on the battery health score and the vehicle availability data, vehicle charge and discharge capacity constraints are generated. Based on the power grid operation data, the demand priorities of several preset ancillary service types are determined, and target vehicles that meet preset safety conditions are screened based on the physical connection monitoring data. Based on the demand priority, the health score, and the vehicle charging and discharging capacity constraints, the target vehicle is dynamically divided into functional clusters corresponding to different auxiliary service types; The control weights of each functional cluster are determined based on the power grid operation data and the vehicle availability data. Based on the control weights, the battery health score and the vehicle charging and discharging capacity constraints, charging and discharging power and duration are allocated to the target vehicles in each functional cluster, charging and discharging instructions are generated, and charging and discharging control is performed on the corresponding target vehicles through the charging and discharging instructions.

[0006] Compared with existing technologies, the above embodiments have the following beneficial effects: Since the collected vehicle battery operation data includes both battery status data and historical charge / discharge data, the battery aging time-series characteristics extracted from the historical charge / discharge data reflect the aging trend of the battery accumulated over time. The battery health score generated by fusing this data with the battery status data representing the current state can simultaneously characterize the battery's current state and historical aging degree. Based on this battery health score and vehicle availability data, the vehicle charge / discharge capacity constraints limit the actual output power and sustainable duration of each vehicle before the charge / discharge command generation stage, ensuring that the subsequently allocated charge / discharge power and duration do not exceed the vehicle's actual executable capability, thereby avoiding uniformity. The system addresses the issue of some vehicles failing to respond to instructions or exiting midway through the dispatch process, improving the execution rate of dispatch instructions. Simultaneously, battery health scoring is incorporated into power allocation, assigning lighter charging and discharging tasks to vehicles with poor health, avoiding excessive battery depletion caused by high-intensity dispatch. Target vehicles are screened based on physical connection monitoring data, excluding vehicles not reliably connected to the grid before instructions are generated, preventing the erroneous issuance of charging and discharging instructions to unconnected vehicles and eliminating safety hazards. Furthermore, target vehicles are dynamically grouped into functional clusters according to the priority of ancillary service needs, and power allocation to each cluster is constrained by regulatory weights. This ensures that limited vehicle resources prioritize the most urgent regulatory needs of the grid, guaranteeing reliable support for grid regulation requirements. Therefore, while meeting grid ancillary service needs, the system avoids excessive battery depletion and the erroneous dispatch of vehicles lacking response capabilities, improving the reliability of vehicle-grid interactive dispatch.

[0007] Furthermore, the step of extracting battery aging time-series features from the historical charge-discharge data, fusing the battery state data with the battery aging time-series features, and generating a battery health score includes: According to the continuous time window, the battery aging time sequence characteristics are extracted from the historical charge and discharge data; wherein, the battery aging time sequence characteristics include: thermal stress change rate sequence and charge and discharge cycle frequency time sequence change amount; By using a temporal attention mechanism, the thermal stress change rate sequence and the temporal change of the charge-discharge cycle frequency are fused to generate a temporal feature vector; The battery status data is fused with the key time-series feature vector, and the battery health score is generated based on the fusion result.

[0008] Compared with existing technologies, the above embodiments have the following beneficial effects: Since the thermal stress change rate sequence and the charge / discharge cycle frequency time-series change are extracted as battery aging time-series features according to continuous time windows, the evolution law of aging information in the time dimension is preserved; furthermore, the two sequences are fused through a time-series attention mechanism, and the attention weights focus the fusion process on the time periods that significantly contribute to battery aging, suppressing interference from irrelevant or noisy time periods. The generated time-series feature vector more accurately represents the true aging degree of the battery than simple statistics; fusion of this time-series feature vector with battery state data to generate a battery health score improves the accuracy of the score, thereby improving the accuracy of the vehicle charge / discharge capacity constraints generated based on the score, making the matching between charge / discharge commands and the actual executable capabilities of the vehicle more precise.

[0009] Further, the step of allocating charging and discharging power and duration to the target vehicles within each functional cluster based on the control weight, the battery health score, and the vehicle charging and discharging capacity constraints includes: Based on the power grid operation data, a power grid deviation term is generated to characterize the deviation between the total charging and discharging power of the functional cluster and the power grid demand. Based on the control weights, a power allocation fitting term is generated that characterizes the deviation between the charging and discharging power allocation of each target vehicle and the control weights. Based on the battery health score, a battery health loss item is generated that characterizes the battery health loss of each of the target vehicles when performing charging and discharging. The optimization objective is to minimize the weighted sum of the power grid deviation term, the power distribution fit term, and the battery health loss term. Under the condition of satisfying the vehicle charging and discharging capacity constraints, the optimization solution is performed to obtain the charging and discharging power and charging and discharging time of each target vehicle.

[0010] Compared with existing technologies, the above embodiments have the following beneficial effects: Since the optimization objective is to minimize the weighted sum of the grid power deviation term, the power allocation fit term, and the battery health loss term, the three optimization terms impose penalties on the allocation results from different dimensions: the grid power deviation term directly constrains the deviation between the total output of the functional cluster and the grid demand, ensuring the power accuracy of the cluster response; the power allocation fit term constrains the deviation between the allocation results of each vehicle and the control weight, ensuring that the allocation ratio between clusters conforms to the scheduling intention; the battery health loss term introduces the battery health score into the objective function, so that vehicles with poor health are automatically assigned smaller charging and discharging tasks due to the high loss cost in the solution; the weighted sum of the three terms is optimized once to obtain the charging and discharging power and duration that simultaneously takes into account the grid demand, the allocation ratio, and battery protection, and the solution process is carried out within the feasible region of the vehicle charging and discharging capacity constraint, mathematically ensuring that the obtained instructions do not exceed the actual execution boundary of each vehicle, thus taking into account the response accuracy, the implementation of the scheduling intention, and battery protection.

[0011] Furthermore, the vehicle availability data includes: minimum reserved battery capacity and available time; the vehicle battery operation data includes: remaining battery capacity, rated capacity, and rated charge / discharge power; the generation of vehicle charge / discharge capacity constraints based on the battery health score and the vehicle availability data includes: The battery health score is input into a preset health capability mapping function to obtain the charge / discharge capability coefficient of the target vehicle; wherein, the health capability mapping function represents the monotonically increasing mapping relationship between the battery health score and the charge / discharge capability coefficient. The dischargeable energy margin is determined based on the portion of the remaining power that exceeds the minimum reserve power, and the rechargeable energy margin is determined based on the portion of the rated capacity that exceeds the remaining power. The allowable charge and discharge power is determined based on the charge and discharge capacity coefficient and the rated charge and discharge power, and the allowable charge and discharge power is limited based on the dischargeable energy margin, the rechargeable energy margin and the available time to obtain the maximum charge and discharge power. The upper limit of the charging and discharging time is determined based on the dischargeable energy margin, the rechargeable energy margin, the maximum charging and discharging power, and the available time. The vehicle's charging and discharging capability constraints are generated based on the maximum charging and discharging power and the upper limit of charging and discharging duration.

[0012] Compared with existing technologies, the above embodiments have the following beneficial effects: Since the health capability mapping function characterizes the monotonically increasing mapping relationship between battery health score and charge / discharge capability coefficient, the lower the score of the aging battery, the smaller the charge / discharge capability coefficient obtained after mapping, and its allowable charge / discharge power is proportionally reduced, ensuring the derating of aging batteries from the mapping relationship level; at the same time, the dischargeable energy margin is determined according to the difference between the remaining power and the minimum reserved power, and the rechargeable energy margin is determined according to the difference between the rated capacity and the remaining power. The allowable charge / discharge power is limited by the dischargeable energy margin, the rechargeable energy margin, and the available time, so that the maximum charge / discharge power is simultaneously constrained by the boundary of three physical quantities: battery health level, power margin, and vehicle owner's vehicle usage arrangement. Moreover, the minimum reserved power is reserved in the calculation, ensuring the normal vehicle usage needs of the vehicle owner; on this basis, the upper limit of the charge / discharge time further limits the sustainability of the task from the time dimension, so that the generated vehicle charge / discharge capability constraint has clear and calculable numerical boundaries in both the power and time dimensions. The constraint result is definite and unambiguous, further reducing the risk of the instruction exceeding the actual capability of the vehicle.

[0013] Furthermore, the step of dynamically dividing the target vehicle into functional clusters corresponding to different auxiliary service types includes: Based on the power grid operation data and the demand priority, service demand characteristics corresponding to each of the ancillary service types are generated; Based on the battery health score, maximum charge / discharge power, and upper limit of charge / discharge duration of each target vehicle, the response capability characteristics of each target vehicle are generated. The response capability characteristics of each target vehicle are matched with the service demand characteristics of each auxiliary service type to obtain the corresponding matching degree; According to the order of priority from high to low, the target vehicles that meet the requirements of the corresponding auxiliary service type are assigned to the corresponding functional clusters.

[0014] Compared with the prior art, the above embodiments have the following beneficial effects: By performing bidirectional matching between the response capability characteristics of each target vehicle and the service demand characteristics of each auxiliary service type and calculating the matching degree, the vehicle grouping basis is changed from experience setting to quantitative comparison between demand-side and supply-side characteristics, so that the grouping results objectively reflect the actual adaptability of vehicles to service types; and the allocation is performed in order of demand priority from high to low, with high-priority auxiliary service types selecting vehicles that meet the matching degree requirements from all target vehicles first, ensuring that the most urgent adjustment needs of the power grid side are given priority to the vehicle resources with the strongest response capability, avoiding vehicles with insufficient response capability being mistakenly assigned to high-requirement service types, and improving the service response quality of each functional cluster.

[0015] Furthermore, the power grid operation data includes: power deviation information and frequency deviation information; the step of determining the control weight of each functional cluster based on the power grid operation data and the vehicle availability data includes: Based on the power deviation information and the frequency deviation information, a power grid demand urgency index is generated; Based on the battery status data, the available time, and the minimum reserved charge, a vehicle dispatchability margin index is generated. The initial control weights of each functional cluster are obtained by querying the preset weight allocation rules based on the power grid demand urgency index and the vehicle dispatchability margin index. Based on the battery health score and vehicle charging / discharging capacity constraints of the target vehicles within each functional cluster, the initial control weights are corrected to obtain the control weights of each functional cluster.

[0016] Compared with existing technologies, the above embodiments have the following beneficial effects: Since the grid demand urgency index is generated from power deviation information and frequency deviation information, the weight determination process simultaneously reflects the urgency of grid adjustment in both power deficit and frequency stability dimensions; the vehicle dispatchability margin index is generated from battery status data, available time, and minimum reserved capacity, reflecting the actual supply capacity on the vehicle side; by querying the preset weight allocation rules, the above two indices are converted into initial control weights, so that the weights are adjusted according to the dynamic changes in grid demand and vehicle supply; further, the initial control weights are corrected according to the battery health score of vehicles in each functional cluster and the vehicle charging and discharging capacity constraints, so that the weights of clusters containing more aging vehicles or with tighter constraints are reduced, avoiding the excessive concentration of control tasks on clusters with weak actual execution capabilities, improving the consistency between weight allocation and the actual execution capability of the clusters, and thus improving the overall scheduling execution rate.

[0017] Furthermore, the vehicle-to-everything (V2X) interactive resource collaborative management and control method further includes: Generate the corresponding expected power response curve based on the charging and discharging commands of each target vehicle; During the execution of the charging and discharging command by the target vehicle, the actual charging and discharging power, battery temperature change, and physical connection status of the target vehicle are collected according to the command cycle. The actual charge / discharge power is compared with the expected power response curve to obtain the power response deviation. When the physical connection status is abnormal, the charging and discharging command corresponding to the target vehicle is interrupted, and the target vehicle is removed from the corresponding functional cluster; When the battery temperature change exceeds a preset safety threshold or the power response deviation exceeds a preset range, the vehicle charging and discharging capacity constraint corresponding to the target vehicle is adjusted, and a charging and discharging command is regenerated based on the adjusted vehicle charging and discharging capacity constraint.

[0018] Compared with existing technologies, the above embodiments have the following beneficial effects: Since the expected power response curve is generated based on the charging and discharging command, and the actual charging and discharging power, battery temperature change, and physical connection status are collected according to the command cycle during execution, the power response deviation is obtained by comparing the actual charging and discharging power with the expected power response curve, thus forming a closed-loop feedback at the command execution level: when the physical connection status is abnormal, the command is immediately interrupted and the vehicle is removed from the functional cluster; the risk source is immediately cut off in the current cycle where the abnormality occurs, preventing the abnormally connected vehicle from continuing to perform charging and discharging and causing a safety accident; when the battery temperature change exceeds a preset safety threshold or the power response deviation exceeds a preset range, the vehicle charging and discharging capacity constraint of the corresponding vehicle is adjusted and a charging and discharging command is regenerated accordingly, so that subsequent commands converge to the actual execution capacity of the vehicle, avoiding the continuous accumulation of deviation in subsequent cycles; the above-mentioned monitoring-comparison-adjustment feedback link enables the scheduling control to dynamically correct itself according to the actual response of the vehicle after the command is issued, further improving the execution rate and safety of the entire scheduling process.

[0019] Another embodiment of this application provides a vehicle-to-network (V2N) interactive resource collaborative management and control system, which is used to implement the steps of the V2N interactive resource collaborative management and control method of this application.

[0020] Another embodiment of this application provides a terminal device, including: a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the steps of the vehicle-to-everything (V2X) interactive resource collaborative management and control method of this application.

[0021] Another embodiment of this application also provides a computer-readable storage medium item, including: a stored computer program, which, when the computer program is running, controls the device where the computer-readable storage medium is located to perform the steps of the vehicle-to-everything (V2X) interactive resource collaborative management and control method of this application. Attached Figure Description

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

[0023] Figure 1This is a flowchart illustrating a vehicle-to-everything (V2X) interactive resource collaborative management and control method provided in some embodiments of this application. Detailed Implementation

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

[0025] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0026] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0027] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0028] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0029] In the description of the embodiments of this application, the term "multiple" refers to two or more (including two), similarly, "multiple sets" refers to two or more (including two sets), and "multiple pieces" refers to two or more (including two pieces).

[0030] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0031] Please refer to Figure 1 To address the low reliability of vehicle-to-grid (V2G) interactive scheduling commands in existing technologies, this application provides a method for collaborative management and control of V2G interactive resources, comprising the following steps S101 to S105: S101: Collect power grid operation data, vehicle battery operation data, physical connection monitoring data of charging facilities, and vehicle availability data; wherein, the vehicle battery operation data includes battery status data and historical charge and discharge data.

[0032] Preferably, in some embodiments of this application, the power grid operation data is collected through power grid-side sensors and a power grid dispatching system, including power deviation information and frequency deviation information; the power deviation information includes the power deficit between the real-time total active load and the real-time total generating active power within the control area, and the frequency deviation information includes the frequency deviation between the measured frequency of the power grid and the rated frequency.

[0033] Preferably, in some embodiments of this application, the battery status data is collected by a vehicle battery management system (BMS), including remaining power, rated capacity, rated charge / discharge power, and battery temperature; the historical charge / discharge data is recorded by the vehicle battery management system and stored in a cloud-based historical database, including records of voltage, current, temperature, and charge / discharge amount during each charge / discharge process.

[0034] Preferably, in some embodiments of this application, the physical connection monitoring data of the charging facility is collected by the charging pile monitoring module of the charging facility, including the tightness of the charging interface, the contact resistance value, and the voltage and current fluctuation of the connection circuit.

[0035] Preferably, in some embodiments of this application, the vehicle availability data is registered by the charging facility or the vehicle terminal when the vehicle connects to the charging facility, including the minimum reserved power and the available time; the available time is determined based on the vehicle's connection time and the registered expected departure time, and the minimum reserved power is the minimum power that the vehicle is registered to retain at the end of charging and discharging.

[0036] S102: Extract battery aging time sequence features from the historical charge and discharge data, fuse the battery state data with the battery aging time sequence features to generate a battery health score, and generate vehicle charge and discharge capability constraints based on the battery health score and the vehicle availability data.

[0037] Furthermore, in some embodiments of this application, the step of extracting battery aging time-series features from the historical charge-discharge data, fusing the battery state data with the battery aging time-series features, and generating a battery health score includes the following steps S1021 to S1024: S1021: Extract battery aging time sequence features from the historical charge and discharge data according to a continuous time window; wherein, the battery aging time sequence features include the thermal stress change rate sequence and the time sequence change of charge and discharge cycle frequency.

[0038] Preferably, in some embodiments of this application, the number of consecutive time windows is set to L, and the feature vector of the i-th electric vehicle in the t-th historical time window is represented as: ; in, Let be the feature vector of the i-th electric vehicle in the t-th historical time window. The rate of change of thermal stress within this time window is determined by the ratio of the change in battery temperature to the amount of charge / discharge within this time window. The change in charge / discharge cycle frequency over time is determined by the difference in the number of charge / discharge cycles between two adjacent time windows, t=1,2,…,L.

[0039] S1022: By using a temporal attention mechanism, the thermal stress change rate sequence and the temporal change of the charge-discharge cycle frequency are fused to generate a temporal feature vector.

[0040] Preferably, in some embodiments of this application, a learnable parameter matrix is ​​introduced. , and mapping vector ,in, The input feature mapping matrix is ​​used to linearly map the feature vectors of each time window to the d-dimensional hidden state space. This is a query vector mapping matrix used to map query vectors. Project onto the d-dimensional hidden state space. Let be the attention score mapping vector; the processing procedure of the temporal attention mechanism is represented as follows: ; ; ; ; in, Let be the hidden state space representing the battery aging characteristics of the i-th electric vehicle in the t-th historical time window. For the corresponding attention score, This is the transpose of the attention score mapping vector. The attention weights are normalized. To iterate through the summation indices of the 1st to Lth time windows, Let be the temporal feature vector of the i-th electric vehicle, which is the key temporal feature vector.

[0041] S1023: The battery status data is fused with the time-series feature vector, and the battery health score is generated based on the fusion result.

[0042] Preferably, in some embodiments of this application, the remaining charge and initial health status values ​​in the battery state data are concatenated and fused with the time-series feature vector, and the fusion result is input into a preset health assessment function, expressed as: ; ; in, Let be the multi-dimensional state fusion feature vector of the i-th electric vehicle. This represents the remaining battery percentage. The initial health status value is provided by the battery management system. Give the battery health score to the i-th electric vehicle. It is the Sigmoid activation function. The weight matrix for the output layer of health assessment. This is a bias term for the health assessment output layer; the battery health score ranges from [0,1], and a higher value indicates a lower overall battery aging level and a stronger ability to withstand charging and discharging stress.

[0043] S1024: Generate vehicle charging and discharging capacity constraints based on the battery health score and the vehicle availability data.

[0044] Preferably, in some embodiments of this application, the battery health score is input into a preset health capability mapping function to obtain the charge / discharge capability coefficient of the target vehicle; wherein, the health capability mapping function characterizes the monotonically increasing mapping relationship between the battery health score and the charge / discharge capability coefficient, expressed as: ; in, Let be the charging and discharging capability coefficient of the i-th target vehicle during the current decision-making period. and For example, the preset lower and upper limits of the coefficients. , .

[0045] Preferably, in some embodiments of this application, the dischargeable energy margin is determined based on the portion of the remaining power that exceeds the minimum reserved power, and the rechargeable energy margin is determined based on the portion of the rated capacity that exceeds the remaining power, as expressed respectively: ; ; in, This is the discharge energy margin. This is a reserve of rechargeable energy. For rated capacity, Minimum power reserve.

[0046] Preferably, in some embodiments of this application, the allowable charge / discharge power is determined based on the charge / discharge capability coefficient and the rated charge / discharge power, and the allowable charge / discharge power is limited based on the dischargeable energy margin, the rechargeable energy margin, and the available duration to obtain the maximum charge / discharge power, expressed as: ; ; in, To allow charging and discharging power, Rated charge and discharge power, For maximum discharge power, Maximum rechargeable power, The minimum scheduling interval is, for example, 15 minutes. When the available time is less than the minimum scheduling interval, the available time is used to replace the minimum scheduling interval for calculation, so that the available time participates in the limiting of the allowable charging and discharging power.

[0047] Preferably, in some embodiments of this application, the upper limit of the charging / discharging time is determined based on the dischargeable energy margin, the rechargeable energy margin, the maximum charging / discharging power, and the available duration, and is expressed as follows: ; ; in, For the maximum discharge duration, For the maximum charging time, This is the available time.

[0048] Preferably, in some embodiments of this application, the vehicle charging and discharging capability constraint is generated based on the maximum charging and discharging power and the upper limit of the charging and discharging duration; the vehicle charging and discharging capability constraint includes the maximum discharge power, the maximum rechargeable power, the maximum discharge duration, and the maximum rechargeable duration.

[0049] Because the battery health score is converted into a charge / discharge capacity coefficient through a health capability mapping function with a monotonically increasing mapping relationship, and the allowable charge / discharge power is limited by the discharge energy margin, the recharge energy margin, and the available time, the maximum charge / discharge power is simultaneously constrained by the boundary of battery health, energy margin, and vehicle usage arrangement, and the minimum reserved energy is reserved in the calculation; thus, the generated vehicle charge / discharge capacity constraint has definite and calculable numerical boundaries in both the power and time dimensions, and the subsequently allocated charge / discharge power and time will not exceed the actual executable capability of the vehicle, thereby improving the executability of scheduling instructions.

[0050] S103: Determine the demand priority of several preset auxiliary service types based on the power grid operation data, and screen target vehicles that meet preset safety conditions based on the physical connection monitoring data.

[0051] In this embodiment, the ancillary service types include peak shaving, frequency regulation, and backup.

[0052] Preferably, in some embodiments of this application, when the power deficit in the power deviation information exceeds a preset power threshold, the demand for peak shaving is determined to have the highest priority; when the frequency deviation in the frequency deviation information exceeds the allowable range, the demand for frequency regulation is determined to have the highest priority; when both the power deficit and the frequency deviation are in a stable range, the demand for reserve is determined to have the highest priority, thereby forming a demand priority ranking result.

[0053] Preferably, in some embodiments of this application, the tightness of the charging interface, the contact resistance value, and the voltage and current fluctuation of the connection circuit of each vehicle are compared with the corresponding safety thresholds. Vehicles whose three items are all within the preset safety range are identified as target vehicles that meet the preset safety conditions. For vehicles whose monitoring items exceed the safety range, they are excluded from the current round of collaborative control so as to exclude vehicles that have not been reliably connected to the power grid before the charging and discharging command is generated.

[0054] By prioritizing demand and screening participating vehicles based on physical connection monitoring data, subsequent functional cluster partitioning and charging / discharging command allocation are only performed on target vehicles with reliable access. This eliminates the possibility of issuing charging / discharging commands to vehicles with connection vulnerabilities, thus improving scheduling security.

[0055] S104: Based on the demand priority, the battery health score, and the vehicle charging and discharging capacity constraints, the target vehicle is dynamically divided into functional clusters corresponding to different auxiliary service types.

[0056] Furthermore, in some embodiments of this application, the step of dynamically dividing the target vehicle into functional clusters corresponding to different auxiliary service types includes the following steps S1041 to S1044: S1041: Based on the power grid operation data and the demand priority, generate service demand features corresponding to each of the ancillary service types.

[0057] Preferably, in some embodiments of this application, the service demand characteristics include demand power amplitude, demand response speed, and demand duration; for peak shaving type, the demand power amplitude is determined based on the power deficit, the demand response speed is on the order of minutes, and the demand duration is determined based on the expected duration of the power deficit; for frequency modulation type, the demand power amplitude is determined based on the frequency deviation, the demand response speed is on the order of seconds, and the demand duration is determined based on the duration of the frequency fluctuation; for standby type, the demand power amplitude and demand duration are determined based on the preset standby capacity.

[0058] S1042: Generate response capability characteristics for each of the target vehicles based on their battery health score, maximum charge / discharge power, and upper limit of charge / discharge duration.

[0059] Preferably, in some embodiments of this application, the response capability feature is represented as: ; in, Let be the response capability feature vector of the i-th target vehicle. The larger of the target vehicle's maximum discharge power and maximum charge power is used. The larger of the maximum discharge duration and the maximum charge duration. and This is the preset normalized baseline value.

[0060] S1043: Match the response capability characteristics of each target vehicle with the service demand characteristics of each auxiliary service type to obtain the corresponding matching degree.

[0061] Preferably, in some embodiments of this application, the matching degree is expressed as: ; in, Let be the matching degree between the i-th target vehicle and the k-th type of auxiliary service. Let j be the j-th component of the service demand feature vector for the k-th type of auxiliary service. For the j-th component of the response capability feature vector, Let be the weight of the j-th component, and .

[0062] S1044: According to the order of priority from high to low, the target vehicles that meet the matching degree of the corresponding auxiliary service type requirements are assigned to the corresponding functional clusters.

[0063] Preferably, in some embodiments of this application, for each auxiliary service type, target vehicles with a matching degree not lower than the corresponding matching degree threshold are identified as vehicles that meet the requirements of that auxiliary service type; according to the order of demand priority from high to low, vehicles that meet the requirements are sequentially assigned to the corresponding functional clusters, so that auxiliary service types with higher priority will first obtain target vehicles with stronger response capabilities; when the change in grid operation data, vehicle battery operation data, or vehicle availability data exceeds a preset threshold, the service demand characteristics of each auxiliary service type and the response capability characteristics of each target vehicle are updated, and matching and allocation are re-executed to migrate target vehicles between different functional clusters, thereby realizing the dynamic adjustment of functional clusters.

[0064] Because the grouping is based on the quantitative matching degree between the service demand characteristics on the demand side and the response capability characteristics on the supply side, rather than empirical settings, and the allocation process is executed according to the demand priority from high to low, the grouping results objectively reflect the degree of vehicle adaptability to the service type and ensure that the most urgent regulation needs on the power grid side are given priority to vehicle resources with strong response capabilities; thereby, the service response quality of each functional cluster and the execution rate of dispatch instructions are improved.

[0065] S105: Determine the control weight of each functional cluster based on the power grid operation data and the vehicle availability data, and allocate charging and discharging power and duration to the target vehicles in each functional cluster based on the control weight, the battery health score and the vehicle charging and discharging capacity constraints, generate charging and discharging instructions, and control the charging and discharging of the corresponding target vehicles through the charging and discharging instructions.

[0066] Furthermore, in some embodiments of this application, determining the control weight of each functional cluster based on the power grid operation data and the vehicle availability data includes the following steps S1051 to S1054: S1051: Generate a power grid demand urgency index based on the power deviation information and the frequency deviation information.

[0067] Preferably, in some embodiments of this application, the power deficit and frequency deviation are respectively expressed as: ; ; When the reserve demand has the highest priority in the demand priority ranking results, the power grid demand urgency index is set to zero; otherwise, it is calculated according to the following weighted formula: ; in, This indicates a power deficit; a positive value indicates a power supply deficit. To regulate the real-time total active power of all current conventional loads within the region, To regulate the real-time total active power generation of all distributed power sources in the region (excluding the charging and discharging power of electric vehicles). For frequency deviation, This is the measured frequency of the power grid. The rated frequency of the power grid is 50Hz. and These are the maximum allowable power deviation amplitude and the maximum frequency deviation amplitude of the power grid, respectively. and The weight is determined by the priority of the demand, and When the demand for peak shaving has the highest priority, take , When the demand for frequency modulation has the highest priority, take , .

[0068] S1052: Generate a vehicle dispatchability margin index based on the battery status data, the available time, and the minimum reserved charge.

[0069] Preferably, in some embodiments of this application, the vehicle dispatchability margin index is expressed as: ; ; ; in, Let be the battery margin coefficient for the i-th target vehicle, and take the value 0 when the denominator is zero. This is the duration margin coefficient. The preset reference duration is defined as follows: N is the number of target vehicles, and D is the vehicle dispatch margin index. The higher the value of D, the more abundant the current battery capacity and participation time of the vehicle group.

[0070] S1053: Based on the power grid demand urgency index and the vehicle dispatchability margin index, query the preset weight allocation rules to obtain the initial control weights of each functional cluster.

[0071] Preferably, in some embodiments of this application, the preset weight allocation rules are pre-stored in the form of a rule base. Each rule in the rule base adopts an IF-THEN explicit expression form, where the antecedent is the linguistic value (high, medium, low) of the grid demand urgency index and the vehicle dispatchability margin index, and the consequent is the weight linguistic value of each control objective. The control objectives include grid power balance, battery health protection, and vehicle availability satisfaction. During querying, the grid demand urgency index and vehicle dispatchability margin index at the current moment are fuzzified into membership degrees to each linguistic value. The incentive intensity of the antecedent of each rule is calculated, fuzzy inference is performed based on the consequent of the rule, and fuzzification is performed using the centroid method to defuzzify the rules, outputting the initial control weights corresponding to each control objective. , and .

[0072] S1054: Based on the battery health score of the target vehicle in each functional cluster and the vehicle charging and discharging capacity constraint, correct the initial control weights of each functional cluster to obtain the control weights of each functional cluster.

[0073] Preferably, in some embodiments of this application, for the k-th functional cluster, a battery protection enhancement factor, a power balance adjustment factor, and an availability satisfaction adjustment factor are generated, which are respectively expressed as: ; ; ; The initial control weight is obtained by multiplying the corresponding adjustment factor element by element and normalizing the result, and is expressed as follows: ; ; in, For the battery protection enhancement factor of the k-th functional cluster, This represents the average battery health score of the target vehicles within the cluster. To adjust the gain coefficient, the lower the average battery health score, the greater the weight of the battery health protection target. This is the power balance adjustment factor. To determine the expected charge / discharge power of the k-th functional cluster based on the power deficit, This is the sum of the maximum discharge power and the maximum charge power of all target vehicles within the cluster. This is the gain coefficient; To ensure availability meets the adjustment factor, This represents the average battery margin coefficient of the target vehicles within the cluster. This is the gain coefficient; To adjust the control weight of the j-th control target in the k-th functional cluster after correction. This is the normalization factor.

[0074] Furthermore, in some embodiments of this application, the step of allocating charging and discharging power and duration to the target vehicles within each functional cluster based on the control weight, the battery health score, and the vehicle charging and discharging capacity constraints includes the following steps S1055 to S1058: S1055: Based on the grid operation data, generate a grid power deviation term characterizing the deviation between the total charging and discharging power of the functional cluster and the grid demand power, expressed as: ; in, Let represent the charging / discharging power to be decided for the i-th target vehicle within the cluster, where discharging is positive and charging is negative. Let K be the number of target vehicles within the k-th functional cluster. The power demand of the grid is decomposed into the power deficit of the kth functional cluster.

[0075] S1056: Based on the control weight, generate a power allocation fitting term that characterizes the deviation between the charging and discharging power allocation of each target vehicle and the control weight.

[0076] Preferably, in some embodiments of this application, a comprehensive priority index is first generated based on the control weight and the vehicle status of each target vehicle, and then the reference power of each target vehicle is obtained. The fit is then converted into the sum of squares of the deviations between the actual charging / discharging power and the reference power, expressed as: ; ; ; in, Let be the comprehensive priority index for the i-th target vehicle. , , These are the weight coefficients obtained by mapping the control weights of the corresponding functional clusters. The energy transfer efficiency coefficient of the charging circuit for the target vehicle. This is the reference power.

[0077] S1057: Based on the battery health score, generate a battery health loss item characterizing the battery health loss of each of the target vehicles during charging and discharging, expressed as: ; ; in, Let be the battery health degradation coefficient of the i-th target vehicle. As the reference loss coefficient, To prevent small positive numbers from being divided by zero, The charging and discharging duration to be decided for the i-th target vehicle; the lower the battery health score and the greater the battery health loss coefficient, the lighter the charging and discharging task assigned to the target vehicle in the optimization solution.

[0078] S1058: Taking the minimum weighted sum of the power grid deviation term, the power distribution fit term, and the battery health loss term as the optimization objective, and under the condition of satisfying the vehicle charging and discharging capacity constraints, the optimization solution is performed to obtain the charging and discharging power and charging and discharging time of each target vehicle.

[0079] Preferably, in some embodiments of this application, the normalized weighted summation method is used to transform the three optimization terms into a single-objective optimization problem, expressed as: ; Among them, the weighting coefficient , , The control weights are assigned according to the corresponding functional clusters.

[0080] Preferably, in some embodiments of this application, the constraint condition for the optimization solution includes: the charging and discharging power of the target vehicle does not exceed the maximum charging and discharging power in the corresponding direction, expressed as: ; The duration of a single continuous charge / discharge cycle for the target vehicle does not exceed the upper limit of the charge / discharge duration, as expressed as: ; The remaining battery power of the target vehicle at the end of charging / discharging is not lower than the minimum reserved battery power, expressed as: ; The rate of change of the charging and discharging power of the target vehicle does not exceed the stress limit rate of change mapped by the battery health score, expressed as: ; The physical connection monitoring data of the charging facility connected to the target vehicle is within the preset safety range, as indicated by: ; in, The charging and discharging power of the previous instruction cycle. The preset stress change rate reference coefficient, This is a physical connection safety indicator variable, and it is set to 1 if and only if the tightness of the charging interface, the contact resistance value, and the voltage and current fluctuation of the connection circuit are all within the preset safety range; otherwise, it is set to 0. It is a sufficiently large constant that is greater than the maximum discharge power of all target vehicles; for the charging case, the left-hand side of the inequality of the remaining power constraint is always greater than the current remaining power, so this constraint can be uniformly applied to both the discharging and charging cases.

[0081] Preferably, in some embodiments of this application, the above-mentioned single-objective optimization problem is solved iteratively by a quadratic programming solver, and under the premise of satisfying the above-mentioned constraints, the charging and discharging power and charging and discharging time of each target vehicle in the functional cluster are output.

[0082] Furthermore, in some embodiments of this application, a charging / discharging command is generated based on the charging / discharging power and charging / discharging duration of each target vehicle, and the charging / discharging command is sent to the corresponding charging facility to control the charging / discharging of the corresponding target vehicle through the charging / discharging command; the charging / discharging command includes a target vehicle identifier, a charging facility identifier, a charging / discharging power, a charging / discharging duration, and a start time; after receiving the charging / discharging command, the charging facility controls the corresponding target vehicle to perform charging or discharging operations according to the charging / discharging command.

[0083] By incorporating the grid power deviation, power allocation fit, and battery health loss into the optimization objective through a weighted sum minimum approach, and performing the optimization solution within the feasible region constrained by the vehicle's charging and discharging capacity, a single solution yields an allocation result that balances grid demand response accuracy, control weight implementation, and battery protection. Consequently, the resulting charging and discharging commands will not mathematically exceed the actual execution boundaries of each target vehicle, thus improving the execution rate of scheduling commands and the reliability of the scheduling process.

[0084] Furthermore, in some embodiments of this application, the vehicle-to-grid interactive resource collaborative management and control method further includes the following closed-loop monitoring and adjustment process: The expected power response curve is generated according to the charging and discharging commands of each target vehicle; preferably, in some embodiments of this application, the charging and discharging power and charging and discharging duration in the charging and discharging command are expanded into a power-time series within the command period to obtain the expected power response curve of the corresponding target vehicle.

[0085] During the execution of the charging and discharging command by the target vehicle, the actual charging and discharging power, battery temperature change, and physical connection status of the target vehicle are collected according to the command cycle.

[0086] The actual charge / discharge power is compared with the expected power response curve to obtain the power response deviation; preferably, in some embodiments of this application, the absolute value of the power difference between the actual charge / discharge power and the expected power response curve at the corresponding time is used as the power response deviation.

[0087] When the physical connection status is abnormal, the charging and discharging command corresponding to the target vehicle is interrupted, and the target vehicle is removed from the corresponding functional cluster.

[0088] When the battery temperature change exceeds a preset safety threshold or the power response deviation exceeds a preset range, the vehicle charging and discharging capacity constraint corresponding to the target vehicle is adjusted, and a charging and discharging command is regenerated based on the adjusted vehicle charging and discharging capacity constraint.

[0089] When no anomalies are detected, the charging and discharging commands for the next command cycle are generated based on the updated power grid operation data, vehicle battery operation data, and vehicle availability data.

[0090] Because the expected power response curve is generated based on the charging and discharging commands, and the actual execution data is collected and compared according to the command cycle during the execution process, a closed-loop feedback at the command execution level is formed: when the physical connection status is abnormal, the command is interrupted in the current command cycle and the target vehicle is removed from the functional cluster; when the battery temperature change or power response deviation is abnormal, the vehicle's charging and discharging capacity constraints are adjusted and charging and discharging commands are regenerated; thus, subsequent charging and discharging commands converge to the actual execution capacity of the vehicle, avoiding the continuous accumulation of deviations in subsequent command cycles, and further improving the execution rate and safety of the entire scheduling process.

[0091] In summary, the vehicle-to-grid (V2G) interactive resource collaborative management and control method provided in this application integrates battery aging time-series characteristics with battery status data to generate a battery health score, and combines vehicle availability data to generate vehicle charging and discharging capacity constraints, so that scheduling instructions match the actual executability of vehicles; at the same time, it dynamically divides functional clusters and allocates differentiated control weights according to demand priority, which not only meets the needs of grid auxiliary services, but also avoids excessive battery wear and the mis-calling of vehicles that do not meet the response conditions, thereby improving the reliability of V2G interactive scheduling.

[0092] It is understood that, in some embodiments of this application, the above-described method process can be centrally executed by the same scheduling and control platform, or it can be jointly executed by a cloud server and a charging station control terminal, with each step interacting with data through a standardized data interface.

[0093] Based on the above-described method embodiments, one embodiment of this application provides a vehicle-to-network interactive resource collaborative management and control system, which can implement the vehicle-to-network interactive resource collaborative management and control method provided in any of the above-described method embodiments of this application.

[0094] It should be noted that the system embodiments described above are merely illustrative, and some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0095] Based on the above embodiments of the vehicle-to-network interactive resource collaborative management and control method, another embodiment of this application provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the vehicle-to-network interactive resource collaborative management and control method of any embodiment of this application.

[0096] For example, in this embodiment, the computer program can be divided into one or more modules, which are stored in the memory and executed by the processor to complete this application. The one or more modules can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the terminal device.

[0097] The terminal device may be a desktop computer, laptop, handheld computer, cloud server, edge computing device, or charging station control terminal, etc. The terminal device may include, but is not limited to, a processor, memory, and communication interface.

[0098] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the terminal device, connecting all parts of the terminal device via various interfaces and lines.

[0099] Based on the above-described method embodiments, another embodiment of this application provides a computer-readable storage medium including a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to execute the vehicle-to-everything (V2X) interactive resource collaborative management and control method described in any of the above-described method embodiments of this application.

[0100] The modules / units integrated in the device / terminal equipment, if implemented as software functional units and sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the above-described embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, an electrical signal, and a software distribution medium, etc.

Claims

1. A method for collaborative management and control of vehicle-to-everything (V2X) interactive resources, characterized in that, include: Collect power grid operation data, vehicle battery operation data, physical connection monitoring data of charging facilities, and vehicle availability data; wherein, the vehicle battery operation data includes battery status data and historical charge and discharge data; Battery aging time sequence features are extracted from the historical charge and discharge data. The battery status data is fused with the battery aging time sequence features to generate a battery health score. Based on the battery health score and the vehicle availability data, vehicle charge and discharge capacity constraints are generated. Based on the power grid operation data, the demand priorities of several preset ancillary service types are determined, and target vehicles that meet preset safety conditions are screened based on the physical connection monitoring data. Based on the demand priority, the health score, and the vehicle charging and discharging capacity constraints, the target vehicle is dynamically divided into functional clusters corresponding to different auxiliary service types; The control weights of each functional cluster are determined based on the power grid operation data and the vehicle availability data. Based on the control weights, the battery health score and the vehicle charging and discharging capacity constraints, charging and discharging power and duration are allocated to the target vehicles in each functional cluster, charging and discharging instructions are generated, and charging and discharging control is performed on the corresponding target vehicles through the charging and discharging instructions.

2. The vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in claim 1, characterized in that, The step of extracting battery aging time-series features from the historical charge-discharge data, fusing the battery state data with the battery aging time-series features, and generating a battery health score includes: According to the continuous time window, the battery aging time sequence characteristics are extracted from the historical charge and discharge data; wherein, the battery aging time sequence characteristics include: thermal stress change rate sequence and charge and discharge cycle frequency time sequence change amount; By using a temporal attention mechanism, the thermal stress change rate sequence and the temporal change of the charge-discharge cycle frequency are fused to generate a temporal feature vector; The battery status data is fused with the key time-series feature vector, and the battery health score is generated based on the fusion result.

3. The vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in claim 1, characterized in that, The step of allocating charging and discharging power and duration to the target vehicles within each functional cluster based on the control weight, the battery health score, and the vehicle charging and discharging capacity constraints includes: Based on the power grid operation data, a power grid deviation term is generated to characterize the deviation between the total charging and discharging power of the functional cluster and the power grid demand. Based on the control weights, a power allocation fitting term is generated that characterizes the deviation between the charging and discharging power allocation of each target vehicle and the control weights. Based on the battery health score, a battery health loss item is generated that characterizes the battery health loss of each of the target vehicles when performing charging and discharging. The optimization objective is to minimize the weighted sum of the power grid deviation term, the power distribution fit term, and the battery health loss term. Under the condition of satisfying the vehicle charging and discharging capacity constraints, the optimization solution is performed to obtain the charging and discharging power and charging and discharging time of each target vehicle.

4. The vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in claim 1, characterized in that, The vehicle availability data includes: minimum reserved battery capacity and available time; the vehicle battery operation data includes: remaining battery capacity, rated capacity, and rated charge / discharge power; the generation of vehicle charge / discharge capacity constraints based on the battery health score and the vehicle availability data includes: The battery health score is input into a preset health capability mapping function to obtain the charge / discharge capability coefficient of the target vehicle; wherein, the health capability mapping function represents the monotonically increasing mapping relationship between the battery health score and the charge / discharge capability coefficient. The dischargeable energy margin is determined based on the portion of the remaining power that exceeds the minimum reserve power, and the rechargeable energy margin is determined based on the portion of the rated capacity that exceeds the remaining power. The allowable charge and discharge power is determined based on the charge and discharge capacity coefficient and the rated charge and discharge power, and the allowable charge and discharge power is limited based on the dischargeable energy margin, the rechargeable energy margin and the available time to obtain the maximum charge and discharge power. The upper limit of the charging and discharging time is determined based on the dischargeable energy margin, the rechargeable energy margin, the maximum charging and discharging power, and the available time. The vehicle's charging and discharging capability constraints are generated based on the maximum charging and discharging power and the upper limit of charging and discharging duration.

5. The vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in claim 4, characterized in that, The step of dynamically dividing the target vehicle into functional clusters corresponding to different auxiliary service types includes: Based on the power grid operation data and the demand priority, service demand characteristics corresponding to each of the ancillary service types are generated; Based on the battery health score, maximum charge / discharge power, and upper limit of charge / discharge duration of each target vehicle, the response capability characteristics of each target vehicle are generated. The response capability characteristics of each target vehicle are matched with the service demand characteristics of each auxiliary service type to obtain the corresponding matching degree; According to the order of priority from high to low, the target vehicles that meet the requirements of the corresponding auxiliary service type are assigned to the corresponding functional clusters.

6. The vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in claim 4, characterized in that, The power grid operation data includes: power deviation information and frequency deviation information; determining the control weights of each functional cluster based on the power grid operation data and the vehicle availability data includes: Based on the power deviation information and the frequency deviation information, a power grid demand urgency index is generated; Based on the battery status data, the available time, and the minimum reserved charge, a vehicle dispatchability margin index is generated. The initial control weights of each functional cluster are obtained by querying the preset weight allocation rules based on the power grid demand urgency index and the vehicle dispatchability margin index. Based on the battery health score and vehicle charging / discharging capacity constraints of the target vehicles within each functional cluster, the initial control weights are corrected to obtain the control weights of each functional cluster.

7. The vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in claim 1, characterized in that, Also includes: Generate the corresponding expected power response curve based on the charging and discharging commands of each target vehicle; During the execution of the charging and discharging command by the target vehicle, the actual charging and discharging power, battery temperature change, and physical connection status of the target vehicle are collected according to the command cycle. The actual charge / discharge power is compared with the expected power response curve to obtain the power response deviation. When the physical connection status is abnormal, the charging and discharging command corresponding to the target vehicle is interrupted, and the target vehicle is removed from the corresponding functional cluster; When the battery temperature change exceeds a preset safety threshold or the power response deviation exceeds a preset range, the vehicle charging and discharging capacity constraint corresponding to the target vehicle is adjusted, and a charging and discharging command is regenerated based on the adjusted vehicle charging and discharging capacity constraint.

8. A vehicle-to-everything (V2X) interactive resource collaborative management and control system, characterized in that, The vehicle-to-grid interactive resource collaborative management and control system is used to implement the vehicle-to-grid interactive resource collaborative management and control method as described in any one of claims 1 to 7.

9. A terminal device, characterized in that, The method includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement a vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the computer-readable storage medium is located to perform a vehicle-to-everything (V2X) interactive resource collaborative management and control method as described in any one of claims 1 to 7.