Vehicle-network interaction method and device, computer device, and storage medium

CN122908252APending Publication Date: 2026-10-13SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

[0004]然而,现有调度架构普遍缺乏独立的电网状态识别与调度目标判别环节,经济性、低碳性、安全性与应急支撑等差异化目标在策略生成层面相互混杂,难以根据电网实际运行状态主动调整优化重心,从而导致充放电功率调整不准确

Benefits of technology

[0045]上述车网互动方法、装置、计算机设备和存储介质,通过获取充电设备在历史时段的状态数据,并基于该状态数据与不同压力指标对应标准压力阈值的趋近情况,精准判定充电设备的压力等级,进而针对应急等级与非应急等级分别匹配对应的状态调整模型,实现了充放电功率的分级、差异化调控;应急等级下即时响应调整,能够有效保障电网安全与设备稳定,非应急等级下则通过预设维持时长延迟调整,避免了频繁调节带来的系统抖动与设备损耗,同时两种场景下均基于历史状态数据进行模型驱动调整,确保了充放电功率变化具有明确的状态依据和逻辑支撑,从而显著提升了车网互动过程中功率调控的准确性和场景适应性,兼顾了电网安全、设备寿命与运行经济性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122908252A_ABST
    Figure CN122908252A_ABST
Patent Text Reader

Abstract

The application relates to a vehicle-network interaction method and device, computer equipment and a storage medium. The method comprises the following steps: acquiring state data of a charging device in a historical period; the charging device is used for charging a vehicle; determining a pressure level of the charging device according to the approaching condition between the state data and a standard pressure threshold corresponding to different pressure indicators; in the case that the pressure level represents an emergency level, adjusting the charging and discharging power of the charging device in a current period according to the state data based on a state adjustment model matched with the emergency level; in the case that the pressure level represents a non-emergency level, adjusting the charging and discharging power of the charging device according to the state data based on a state adjustment model matched with the non-emergency level after the charging and discharging power of the charging device in the historical period is operated for a preset maintenance duration. The method can improve the charging and discharging power adjustment accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer equipment technology, and in particular to a vehicle-to-everything (V2X) interaction method, apparatus, computer equipment, and storage medium. Background Technology

[0002] With the large-scale integration of electric vehicles, distributed new energy sources, and bidirectional charging and discharging facilities, the operation of power distribution networks exhibits complex characteristics of high volatility, high coupling, and multiple constraints. Vehicle-to-Grid (V2G) technology, as a crucial link connecting transportation energy consumption and power grid dispatch, can provide a variety of flexible adjustment services under different power grid conditions, such as peak shaving and valley filling, voltage support, new energy consumption, and emergency backup.

[0003] Traditional technologies typically employ scheduling methods based on fixed rules or thresholds, directly determining charging, discharging, or standby modes based on single or combined thresholds such as load level, electricity price signal, voltage amplitude, or battery state of charge (SOC).

[0004] However, existing dispatch architectures generally lack independent grid status identification and dispatch target discrimination links. Differentiated objectives such as economy, low carbon emissions, security and emergency support are mixed together at the strategy generation level, making it difficult to proactively adjust the optimization focus according to the actual operating status of the grid, thus resulting in inaccurate charging and discharging power adjustment. Summary of the Invention

[0005] Therefore, it is necessary to provide a vehicle-to-grid interaction method, device, computer equipment, and storage medium that can improve the accuracy of charge and discharge adjustment in response to the above-mentioned technical problems.

[0006] Firstly, this application provides a vehicle-to-everything (V2X) interaction method, including:

[0007] Acquire status data of charging equipment over historical periods; the charging equipment is used to charge vehicles.

[0008] The pressure level of the charging equipment is determined based on the convergence between the status data and the standard pressure thresholds corresponding to different pressure indicators.

[0009] When the pressure level represents the emergency level, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the emergency level.

[0010] When the pressure level represents a non-emergency level, after the charging equipment has maintained its charging and discharging power for a preset duration based on the historical charging and discharging power operation, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the non-emergency level.

[0011] In one embodiment, the pressure level of the charging device is determined based on the convergence of the state data with the standard pressure thresholds corresponding to different pressure indicators, including:

[0012] When the status data shows a convergent trend with the standard pressure threshold corresponding to any pressure indicator, it is determined that there is an anomaly in the pressure indicator.

[0013] If there are at least one of the abnormal pressure indicators, including undervoltage, overvoltage, and line over-limit indicators, the pressure level of the charging equipment shall be determined as the emergency level.

[0014] Among them, the undervoltage index is when the bus voltage of the charging equipment approaches a preset first voltage threshold; the overvoltage index is when the bus voltage of the charging equipment approaches a preset second voltage threshold; the second voltage threshold is greater than the first voltage threshold; and the line over-limit index is when the load rate of any line of the charging equipment approaches a preset load rate threshold.

[0015] In one embodiment, based on a state adjustment model matching the emergency level, the charging and discharging power of the charging device is adjusted according to state data during the current period, including:

[0016] Based on the state adjustment model that matches the emergency level, the charging and discharging power of the charging equipment in the current period is determined according to the state data.

[0017] The charging and discharging power of historical periods is smoothly integrated with the charging and discharging power of the current period to determine the charging and discharging power adjustment strategy of the charging equipment in the current period.

[0018] The charging and discharging power is adjusted by a charging and discharging power adjustment strategy to adjust the charging and discharging power of the charging device during the current period.

[0019] In one embodiment, the method further includes:

[0020] If the charging and discharging power adjustment strategy in the current period is the opposite of the charging and discharging power adjustment strategy in the historical period, the adjustment range corresponding to the charging and discharging power adjustment strategy should be reduced.

[0021] In one embodiment, the pressure indicators include underpressure and overpressure indicators, and the method further includes:

[0022] If the pressure value corresponding to the undervoltage indicator in the current period is greater than the pressure value corresponding to the undervoltage indicator in the historical period, reduce the charging power in the charging and discharging power adjustment strategy and increase the discharging power in the charging and discharging power adjustment strategy.

[0023] If the overpressure value corresponding to the overpressure index in the current period is greater than the overpressure value corresponding to the overpressure index in the historical period, increase the charging power in the charging and discharging power adjustment strategy and decrease the discharging power in the charging and discharging power adjustment strategy.

[0024] In one embodiment, the pressure indicators include line over-limit indicators, and the method further includes:

[0025] If the pressure value corresponding to the line over-limit indicator in the current period is greater than the pressure value corresponding to the line over-limit indicator in the historical period, the proportion of the charging and discharging component used to ensure line safety in the charging and discharging power adjustment strategy should be increased.

[0026] Secondly, this application also provides a vehicle-to-everything (V2X) interactive device, comprising:

[0027] The acquisition module is used to acquire the status data of the charging equipment during historical periods; the charging equipment is used to charge vehicles.

[0028] The rating module is used to determine the pressure rating of the charging device based on the proximity between the status data and the standard pressure thresholds corresponding to different pressure indicators.

[0029] The adjustment module is used to adjust the charging and discharging power of the charging equipment in the current period based on the state adjustment model that matches the emergency level when the pressure level represents the emergency level, and according to the state data. When the pressure level represents the non-emergency level, after the charging equipment has been running at the charging and discharging power of the charging equipment in the historical period for a preset maintenance time, the module adjusts the charging and discharging power of the charging equipment based on the state adjustment model that matches the non-emergency level, and according to the state data.

[0030] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0031] Acquire status data of charging equipment over historical periods; the charging equipment is used to charge vehicles.

[0032] The pressure level of the charging equipment is determined based on the convergence between the status data and the standard pressure thresholds corresponding to different pressure indicators.

[0033] When the pressure level represents the emergency level, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the emergency level.

[0034] When the pressure level represents a non-emergency level, after the charging equipment has maintained its charging and discharging power for a preset duration based on the historical charging and discharging power operation, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the non-emergency level.

[0035] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0036] Acquire status data of charging equipment over historical periods; the charging equipment is used to charge vehicles.

[0037] The pressure level of the charging equipment is determined based on the convergence between the status data and the standard pressure thresholds corresponding to different pressure indicators.

[0038] When the pressure level represents the emergency level, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the emergency level.

[0039] When the pressure level represents a non-emergency level, after the charging equipment has maintained its charging and discharging power for a preset duration based on the historical charging and discharging power operation, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the non-emergency level.

[0040] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:

[0041] Acquire status data of charging equipment over historical periods; the charging equipment is used to charge vehicles.

[0042] The pressure level of the charging equipment is determined based on the convergence between the status data and the standard pressure thresholds corresponding to different pressure indicators.

[0043] When the pressure level represents the emergency level, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the emergency level.

[0044] When the pressure level represents a non-emergency level, after the charging equipment has maintained its charging and discharging power for a preset duration based on the historical charging and discharging power operation, the charging and discharging power of the charging equipment is adjusted according to the state data based on the state adjustment model that matches the non-emergency level.

[0045] The aforementioned vehicle-to-grid interaction method, device, computer equipment, and storage medium acquire historical state data of charging equipment and accurately determine the pressure level of the charging equipment based on the convergence of this state data with the standard pressure thresholds corresponding to different pressure indicators. Then, corresponding state adjustment models are matched for emergency and non-emergency levels respectively, achieving graded and differentiated control of charging and discharging power. In the emergency level, immediate response adjustment effectively ensures grid safety and equipment stability. In the non-emergency level, a preset maintenance duration delay adjustment avoids system jitter and equipment damage caused by frequent adjustments. Furthermore, model-driven adjustments based on historical state data are used in both scenarios, ensuring that changes in charging and discharging power have clear state basis and logical support. This significantly improves the accuracy and scenario adaptability of power control during vehicle-to-grid interaction, balancing grid safety, equipment lifespan, and operational economy. Attached Figure Description

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

[0047] Figure 1 This is an application environment diagram of a vehicle-to-grid interaction method provided in this embodiment;

[0048] Figure 2 This is a flowchart illustrating the first vehicle-to-grid interaction method provided in this embodiment;

[0049] Figure 3 This is a flowchart illustrating a charging / discharging power adjustment step provided in this embodiment;

[0050] Figure 4 This is a peak shaving and valley filling effect diagram provided in this embodiment;

[0051] Figure 5 This embodiment provides a voltage safety effect diagram;

[0052] Figure 6 An economic benefit comparison chart is provided for this embodiment;

[0053] Figure 7 This embodiment provides a carbon emission comparison chart;

[0054] Figure 8 This embodiment provides a comparison chart of average SOC of a vehicle.

[0055] Figure 9This embodiment provides a schematic diagram of the switching trajectory between power grid state pressure and target.

[0056] Figure 10 This embodiment provides a comparison diagram of V2G station-level actions and power execution.

[0057] Figure 11 This is a structural block diagram of a vehicle-to-grid (V2G) interactive device provided in this embodiment;

[0058] Figure 12 This is an internal structural diagram of a computer device provided in this embodiment. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] The vehicle-to-grid interaction method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. The computer device acquires the status data of the charging device during historical periods; the charging device is used to charge the vehicle; based on the convergence between the status data and the standard pressure thresholds corresponding to different pressure indicators, the pressure level of the charging device is determined; when the pressure level represents an emergency level, based on a status adjustment model matching the emergency level, the charging and discharging power of the charging device is adjusted according to the status data during the current period; when the pressure level represents a non-emergency level, after the charging device operates at its historical charging and discharging power for a preset maintenance duration, the charging and discharging power of the charging device is adjusted according to the status data based on a status adjustment model matching the non-emergency level. The computer device can be either a terminal or a server; this embodiment does not limit its use. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. Server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0061] In one exemplary embodiment, such as Figure 2 As shown, a vehicle-to-everything (V2X) interaction method is provided, which can be applied to... Figure 1Taking a computer device as an example, the explanation includes the following steps S201 to S203. Wherein:

[0062] S201 acquires the status data of the charging device during historical periods.

[0063] Among them, charging equipment is used to charge vehicles; status data refers to a multi-dimensional set of information that comprehensively reflects the operating conditions of the charging equipment itself, the status of the connected vehicle's battery, and the real-time environment on the power grid side. Status data includes: charging equipment side operating parameters, vehicle battery status information, and power grid side operating environment.

[0064] The operating parameters of the charging equipment include key electrical and physical parameters such as the input / output voltage, current, power, equipment temperature, and the connection status of the charging gun. These data directly reflect the current workload and health level of the equipment.

[0065] The vehicle battery status information mainly includes the state of charge (SOC) of the connected vehicle battery and information such as the voltage and temperature of individual cells. Among them, SOC is a key indicator for determining the remaining usable capacity of the battery and its ability to participate in charge and discharge regulation.

[0066] The grid-side operating environment includes bus voltage, line load factor, real-time electricity price, and the grid's active / reactive power demand. This data reflects the capacity of the distribution network node where the charging equipment is located and the external control requirements.

[0067] For example, the status data includes at least time, electricity price, main grid inlet power, baseline load, available renewable energy power, renewable energy absorption power, carbon factor, voltage of each bus, load rate of each line, SOC of each charging station, station-level charging power, station-level discharging power, available V2G capacity, previous cycle operation, islanding status flag, and future peak prediction signal. The status pressure calculation module converts operating states of different dimensions into status pressure values ​​in the range of 0 to 1. When indicators such as load, main grid inlet power, carbon factor, line load rate, or high voltage approach or exceed the trigger threshold, the corresponding status pressure increases; when indicators such as low voltage, low SOC, or insufficient reserve capacity approach or fall below the trigger threshold, the corresponding status pressure increases. Through this processing, the system can convert grid status, vehicle status, and external environment status into a unified target discrimination input. The meanings of grid status pressure indicators are shown in Table 1.

[0068] Table 1 Power Grid State Pressure Indicators

[0069]

[0070] In some embodiments, the operating parameters and environmental information of the charging equipment within a certain time window are continuously collected and recorded according to a preset sampling period. These include, but are not limited to, the input / output voltage, current, power, equipment temperature, bus voltage, load rate of each feeder, and vehicle-side information such as the battery state of charge (SOC), cell voltage, and temperature of the connected vehicles. At the same time, grid-side environmental data such as real-time electricity price, main grid import power, and new energy consumption power during this period are also recorded. After time alignment, outlier removal, and normalization, the collected raw data forms a structured historical state sequence, which serves as the input basis for subsequent pressure level discrimination and charging / discharging power adjustment strategy generation.

[0071] S202 determines the pressure level of the charging equipment based on the convergence between the status data and the standard pressure thresholds corresponding to different pressure indicators.

[0072] The pressure level refers to the quantitative classification of the operational risk or urgency of regulation of the charging equipment based on the degree of proximity between the current status data of the charging equipment and the standard thresholds corresponding to various preset pressure indicators (such as undervoltage, overvoltage, and line over-limit). When multiple objectives simultaneously meet the triggering conditions, the system prioritizes safety-related objectives such as islanding emergency response, voltage safety, and line safety. If the safety boundaries are met, candidate objectives are then determined based on the pressure intensity of objectives such as peak shaving, low carbon emissions, renewable energy absorption, valley filling, and normal economic operation. Candidate objectives must undergo verification through entry thresholds, exit thresholds, candidate confirmation time, and minimum hold time before being confirmed as the current scheduling objective. The mapping between scheduling objectives and intelligent agents is shown in Table 2.

[0073] Table 2. Mapping Table between Scheduling Targets and Intelligent Agents

[0074]

[0075] In some optional embodiments, the key parameters (including bus voltage, load rate of each feeder, line current, etc.) in the acquired historical status data of the charging equipment are compared one by one with the standard pressure thresholds corresponding to various preset pressure indicators, and the degree of convergence is calculated. For the undervoltage indicator, the difference and trend between the bus voltage and the preset first voltage threshold are calculated to determine whether the voltage continues to decrease and approaches the threshold. For the overvoltage indicator, the difference and trend between the bus voltage and the preset second voltage threshold are calculated to determine whether the voltage continues to rise and approaches the threshold. For the line over-limit indicator, the load rate of each line is calculated and compared with the preset load rate threshold. The system assesses the proximity of pressure indicators to determine if any line load rate is continuously increasing and approaching a threshold. When the proximity of any pressure indicator exceeds a preset anomaly judgment threshold and continues for a preset anomaly confirmation time, the system marks the pressure indicator as an anomaly. The system summarizes all anomaly pressure indicator types. If any of the anomaly indicators are undervoltage, overvoltage, or line exceeding limits, the pressure level of the charging equipment is determined to be an emergency level. If none of the pressure indicators reach the anomaly judgment threshold or the anomaly duration does not exceed the confirmation time, the pressure level is determined to be a non-emergency level. Finally, the determination result is output to the scheduling decision-making stage.

[0076] In some optional embodiments, if the status data shows a trend of convergence with the standard pressure threshold corresponding to any pressure indicator, it is determined that there is an abnormality in the pressure indicator; if the pressure indicator with an abnormality includes at least one of undervoltage, overvoltage, and line over-limit indicators, the pressure level of the charging equipment is determined to be an emergency level; wherein, the undervoltage indicator is that the bus voltage of the charging equipment approaches a preset first voltage threshold; the overvoltage indicator is that the bus voltage of the charging equipment approaches a preset second voltage threshold; the second voltage threshold is greater than the first voltage threshold; and the line over-limit indicator is that the load rate of any line of the charging equipment approaches a preset load rate threshold.

[0077] For example, according to a preset sampling period, the real-time value of the bus voltage collected in the current or historical period is calculated with the preset first voltage threshold (undervoltage threshold) and second voltage threshold (overvoltage threshold), and the direction of their rate of change is monitored—when the bus voltage shows a continuous downward trend and gradually approaches the first voltage threshold, it is determined that the undervoltage indicator is approaching an abnormality; when the bus voltage shows a continuous upward trend and gradually approaches the second voltage threshold, it is determined that the overvoltage indicator is approaching an abnormality; at the same time, the system calculates the difference between the current load rate of each feeder line of the charging equipment and the preset load rate threshold. The system calculates that when the load rate of any line shows a continuous upward trend and gradually approaches the load rate threshold, it is determined that the line over-limit indicator is approaching an abnormality. For the determination of the above-mentioned approach trends, the system must simultaneously meet the conditions that the approach degree exceeds the preset abnormality judgment threshold and the approach state continues for a preset abnormality confirmation time before the pressure indicator can be officially marked as having an abnormality. If the pressure indicators with abnormal conditions include at least one of undervoltage indicators, overvoltage indicators, and line over-limit indicators after being summarized, the system will clearly determine the pressure level of the charging equipment as an emergency level; otherwise, it will be determined as a non-emergency level.

[0078] When the pressure level represents an emergency level, S203 adjusts the charging and discharging power of the charging equipment in the current period based on the state adjustment model that matches the emergency level and the state data. When the pressure level represents a non-emergency level, after the charging equipment has been operating at the charging and discharging power of the charging equipment in the historical period for a preset maintenance time, it adjusts the charging and discharging power of the charging equipment based on the state adjustment model that matches the non-emergency level and the state data.

[0079] In some embodiments, when the pressure level represents an emergency level, the system immediately invokes a state adjustment model pre-matched to the emergency level, inputs the currently collected state data into the model, and the model calculates and outputs the charging and discharging power adjustment amount for the current time period. The system then adjusts the charging and discharging power command of the charging device in real time according to this adjustment amount. When the pressure level represents a non-emergency level, the system does not immediately perform power adjustment. Instead, it maintains the charging device at the existing charging and discharging power of the historical time period and starts a timer. After this sustained operation reaches a preset duration, the system invokes a state adjustment model pre-matched to the non-emergency level, inputs the currently collected state data into the model, and the model calculates and outputs the charging and discharging power adjustment amount for the current time period. Based on this, a corresponding charging and discharging power adjustment strategy is generated and executed to adjust the charging and discharging power of the charging device in the current time period.

[0080] In the above embodiments, by acquiring the status data of the charging equipment during historical periods and based on the convergence of this status data with the standard pressure thresholds corresponding to different pressure indicators, the pressure level of the charging equipment is accurately determined. Then, corresponding status adjustment models are matched for emergency and non-emergency levels, respectively, realizing graded and differentiated control of charging and discharging power. In the emergency level, the immediate response adjustment can effectively ensure the safety of the power grid and the stability of the equipment. In the non-emergency level, the adjustment is delayed by setting a preset maintenance time, avoiding system jitter and equipment damage caused by frequent adjustments. At the same time, the model-driven adjustment is based on historical status data in both scenarios, ensuring that the changes in charging and discharging power have clear status basis and logical support, thereby significantly improving the accuracy and scenario adaptability of power control in the process of vehicle-grid interaction, and taking into account power grid safety, equipment life and operating economy.

[0081] Figure 3 This is a flowchart illustrating the charging and discharging power adjustment steps in one embodiment. This embodiment refines the steps described in the previous embodiment, which are based on a state adjustment model matching the emergency level and adjust the charging and discharging power of the charging device according to state data. This embodiment provides an optional method for the charging and discharging power adjustment steps, including the following steps:

[0082] Based on a state adjustment model that matches the emergency level, S301 determines the charging and discharging power of the charging equipment in the current time period according to the state data.

[0083] The emergency level is a classification result of the charging equipment pressure level, referring to the pressure level corresponding to the situation when the system determines that at least one emergency safety risk exists in the operating state of the charging equipment. Specific triggering conditions are: pressure indicators indicating abnormal conditions include at least one of the following: undervoltage indicator (bus voltage approaches a preset first voltage threshold), overvoltage indicator (bus voltage approaches a preset second voltage threshold), and line over-limit indicator (load rate of any line approaches a preset load rate threshold). The emergency level indicates that the current power grid or equipment is at or about to be at the edge of the safety boundary, requiring immediate intervention and control, with no time window for delayed processing.

[0084] The state adjustment model refers to a mathematical model or algorithm entity pre-configured for different pressure levels (emergency or non-emergency levels) to calculate and output charging and discharging power adjustment strategies based on input state data. This model can be implemented based on a policy network trained using reinforcement learning algorithms, or alternatively using model predictive control, mixed-integer programming, or rule-based control. Different state adjustment models are matched to different pressure levels; the model corresponding to the emergency level focuses on rapidly suppressing voltage overruns and line overloads, while the model corresponding to the non-emergency level focuses on smooth regulation and operational economy. The core function of the model is to map the input state data into charging and discharging power adjustment commands.

[0085] Charging and discharging power refers to the rate at which electrical energy is input or output per unit time during energy exchange between the charging equipment and the vehicle. This power has both directional and amplitude attributes: when the power flows from the power grid through the charging equipment to the vehicle, it is defined as charging power (positive value), indicating that the vehicle absorbs electrical energy from the power grid; when the power flows from the vehicle back to the power grid through the charging equipment, it is defined as discharging power (negative value), indicating that the vehicle releases electrical energy to the power grid. The amplitude of charging and discharging power is constrained by multiple physical boundaries, including the rated capacity of the charging equipment, the maximum allowable charging and discharging rate of the vehicle battery, the voltage on the power grid side, and the line carrying capacity. Its specific value is calculated and output by the state adjustment model and corrected by the physical safety adaptation layer to form the final execution command.

[0086] In some embodiments, after confirming that the pressure level is an emergency level, a pre-configured state adjustment model bound to the emergency level is immediately invoked. The state data collected in the current period (including real-time bus voltage, load rate of each line, vehicle battery SOC, current charging and discharging power, and voltage change rate, etc.) is standardized according to the input format preset by the model and then input into the model. Based on its internal strategy network or optimization logic, the model calculates and outputs suggested charging and discharging power values ​​or normalized action values ​​for one or more charging devices in the current period, combined with the convergence and urgency weights of each pressure indicator in the current state data. The output value has a clear directionality (positive value for charging, negative value for discharging) and magnitude, serving as the original input for subsequent smooth fusion and strategy generation.

[0087] S302 smoothly integrates the charging and discharging power of historical periods with the charging and discharging power of the current period to determine the charging and discharging power adjustment strategy of the charging device in the current period.

[0088] In some embodiments, after obtaining the current period's suggested charging and discharging power value output by the state adjustment model, the system simultaneously extracts the actual charging and discharging power values ​​executed by the charging device in historical periods, and incorporates both into the same time series for weighted fusion calculation. The system uses a preset smoothing coefficient or sliding window weight to compromise between the actual power value of historical periods and the model's suggested value for the current period, calculating a fused power curve or single-step adjustment amount transitioning from historical power to the current suggested power. During the fusion process, the system determines the step size and rate of this adjustment based on the direction and magnitude of the difference between historical power and the current suggested power; that is, a conventional ramp rate is used when the directions are consistent, and a smaller reverse ramp rate is used to suppress abrupt changes when the directions are opposite. Simultaneously, the system compares and verifies the fused power value with preset power change rate limits, device rated capacity boundaries, and voltage safety constraints to ensure that the fusion result does not exceed the physically permissible range. Finally, the system outputs the power change trajectory or target power value determined after fusion and verification as the charging and discharging power adjustment strategy for the current period to the execution stage.

[0089] The S303 adjusts the charging and discharging power of the charging device during the current period through a charging and discharging power adjustment strategy.

[0090] In some optional embodiments, the charging and discharging power of the charging device is adjusted in the current time period through a charging and discharging power adjustment strategy. Specifically, the system converts the charging and discharging power adjustment strategy (including key parameters such as target power value, adjustment step size, and ramp rate) determined after smoothing and fusion into a power command that can be executed by the charging device. The command is encapsulated in the format according to the communication protocol and interface specification of the charging device and then sent to the power control execution unit (including bidirectional inverter, power conversion module, etc.) of the charging device. The execution unit adjusts the pulse width modulation duty cycle or firing angle of the internal power electronic devices according to the received command, controls the magnitude and direction of the output current and output voltage, and gradually transitions the actual charging and discharging power from the current value to the target value. During the entire adjustment process, the system continuously monitors the real-time feedback power, bus voltage, and line current of the charging device to ensure that the actual power tracking deviation is controlled within the preset allowable range. If the deviation exceeds the limit, the internal closed-loop fine adjustment is triggered until the actual charging and discharging power stabilizes near the target value specified by the adjustment strategy, thus completing the power adjustment operation in the current time period.

[0091] In some optional embodiments, when the charging and discharging power adjustment strategy in the current period is opposite to the charging and discharging power adjustment strategy in historical periods, the adjustment range corresponding to the charging and discharging power adjustment strategy is reduced.

[0092] For example, before performing power adjustment, the direction (charging direction or discharging direction) of the actual charge and discharge power adjustment strategy executed in the historical period is extracted and recorded. At the same time, the direction of the charge and discharge power adjustment strategy determined after smoothing and fusion in the current period is obtained. The system compares the two directions. If the strategy direction in the historical period is charging (power is positive) and the strategy direction in the current period is discharging (power is negative), or the strategy direction in the historical period is discharging and the strategy direction in the current period is charging, then the adjustment strategy directions in the two consecutive periods are determined to be opposite. After the direction is determined to be opposite, the system automatically reduces the adjustment range corresponding to the charge and discharge power adjustment strategy in the current period. That is, the system multiplies the originally calculated target power change by the preset reverse adjustment range reduction coefficient (such as setting it to 50% or 70%) to obtain the reduced actual power change. The system uses the actual power at the end of the historical period as the starting point, calculates the new target power value according to the reduced change, and adjusts the ramp rate parameter accordingly to make the power change process smoother.

[0093] In some optional embodiments, the pressure indicators include undervoltage indicators and overvoltage indicators. The method further includes: when the pressure value corresponding to the undervoltage indicator in the current time period is greater than the pressure value corresponding to the undervoltage indicator in a historical time period, reducing the charging power in the charging and discharging power adjustment strategy and increasing the discharging power in the charging and discharging power adjustment strategy; when the pressure value corresponding to the overvoltage indicator in the current time period is greater than the pressure value corresponding to the overvoltage indicator in a historical time period, increasing the charging power in the charging and discharging power adjustment strategy and decreasing the discharging power in the charging and discharging power adjustment strategy.

[0094] For example, if the pressure value corresponding to the undervoltage indicator in the current time period is greater than the pressure value corresponding to the undervoltage indicator in historical time periods, the system first extracts the pressure values ​​corresponding to the undervoltage indicator in the current time period and historical time periods (i.e., the approximate quantitative values ​​between the bus voltage and the preset first voltage threshold) from the status data, compares the two values, and if the undervoltage pressure value in the current time period is greater than the value in the historical time period, it indicates that the bus voltage is further approaching or more severely below the undervoltage threshold, and the risk of voltage drop is aggravated. In this case, the system modifies the charging and discharging power adjustment strategy determined after smoothing and fusion, specifically by reducing the target amplitude of charging power in the adjustment strategy and simultaneously increasing the target amplitude of discharging power, thereby raising the bus voltage by suppressing charging demand and enhancing the ability to inject electrical energy into the grid or load side; at the same time, The system also performs the same comparison operation on the pressure value corresponding to the overvoltage index in the current time period, extracting the pressure values ​​corresponding to the overvoltage index in the current time period and the historical time period (i.e., the approximate quantitative value between the bus voltage and the preset second voltage threshold). If the overvoltage pressure value in the current time period is greater than the value in the historical time period, it indicates that the bus voltage is further approaching or more severely exceeding the overvoltage threshold, and the risk of voltage rise is aggravated. In this case, the system performs reverse correction on the adjustment strategy, specifically by increasing the target amplitude of the charging power in the adjustment strategy and simultaneously decreasing the target amplitude of the discharging power, thereby suppressing the rise of the bus voltage by enhancing the charging absorption capacity and reducing the discharge injection into the grid. The above two types of correction operations are judged independently. When both types of pressure values ​​show a deteriorating trend, they can be executed simultaneously, and finally, a corrected charging and discharging power adjustment strategy is generated.

[0095] In some optional embodiments, the pressure index includes a line over-limit index, and the method further includes: when the pressure value corresponding to the line over-limit index in the current time period is greater than the pressure value corresponding to the line over-limit index in the historical time period, increasing the proportion of the charging and discharging component used to ensure line safety in the charging and discharging power adjustment strategy.

[0096] For example, if the pressure value corresponding to the line over-limit indicator in the current time period is greater than the pressure value corresponding to the line over-limit indicator in the historical time period, the system first extracts the pressure values ​​corresponding to the line over-limit indicator in the current time period and the historical time period from the status data (i.e., the approximate quantitative values ​​between the load rate of each feeder line and the preset load rate threshold, taking the maximum value among all lines as the line over-limit pressure value), compares the two values, and if the line over-limit pressure value in the current time period is greater than the value in the historical time period, it indicates that the load rate of at least one feeder line is further approaching or more seriously exceeding the load rate safety threshold, and the risk of line thermal overload is aggravated; in this case, the system determines the charging and discharging power after smoothing and fusion. The adjustment strategy is modified by increasing the proportion of the charging and discharging component used to ensure line safety. Specifically, the system identifies the pre-configured line safety-related action components in the adjustment strategy (including components that reduce the line transmission power by lowering the total charging and discharging power amplitude, and components that balance the load distribution of each line by adjusting the power direction). Based on the preset proportional gain coefficient, the weight coefficient of this safety component in the final adjustment strategy output is increased, so that the action instructions in the adjustment strategy used to reduce the line load rate receive a higher priority for execution, while the weight of components corresponding to other objectives such as economy and low carbon emissions is relatively reduced, ultimately generating a modified charging and discharging power adjustment strategy.

[0097] In the above embodiments, by using a state adjustment model that matches the emergency level, the charging and discharging power of the charging equipment in the current period is accurately determined based on real-time state data. Furthermore, the charging and discharging power of historical periods and the current period is smoothly integrated to generate a smooth transition charging and discharging power adjustment strategy. Finally, the actual power adjustment is executed according to this strategy. This allows changes in charging and discharging power to not only quickly respond to the control requirements under the emergency level, but also effectively suppress power mutations and frequent fluctuations. This significantly improves the smoothness and continuity of the power regulation process, reduces the impact and losses caused by drastic power changes on the charging equipment, vehicle battery, and power grid, and ensures that the control strategy has both real-time performance and stability. This enhances the reliability and engineering feasibility of the vehicle-to-grid interaction system in emergency scenarios.

[0098] It should be noted that, to suppress frequent target jumps near the threshold, the system sets candidate targets, candidate reasons, candidate start times, current target entry times, and last switch times. If a candidate target is the same as the current target, the system updates the target reason and emergency flag; if a candidate target changes, the system records the candidate target and waits for confirmation time; after the current target's holding time reaches the minimum holding time and the candidate target continues to hold for confirmation time, the system completes the target switch.

[0099] Islanding, severe undervoltage, severe overvoltage, emergency line over-limit, and power flow solution failure trigger the emergency target immediate entry mechanism. For faulty target exits, the system sets a longer exit confirmation time, requiring voltage and line to recover to within the safety zone before switching back to a normal target. Scenario switching parameters are shown in Table 3.

[0100] Table 3 Scene Switching Parameter Table

[0101]

[0102] In one specific embodiment, this technical solution is verified based on the V2Sim simulation platform, which includes the coupling of micro-traffic flow and power distribution network flow, to construct a 37-node distribution network vehicle-to-grid interaction test scenario. On the power side, an IEEE 37-node distribution network is adopted, with the balancing node being b1, and distributed support power sources, energy storage units, fast-charging loads, and V2G slow-charging station-level control objects covering multiple distribution nodes are configured. On the vehicle side, a natural travel charging behavior mode is adopted, and the V2G control objects participate in scheduling based on vehicle arrival / departure, SOC, available capacity, and station-level power boundaries.

[0103] This embodiment uses PPO as the reinforcement learning algorithm and disordered charging as the baseline strategy result. Both sets of experiments were run under the same 37-node power grid, the same traffic behavior, the same electricity price, and the same carbon emission factor. To reflect the effect of continuous operation over multiple days, a three-day continuous window from the 48th to the 120th hour of the simulation time was selected for comparative analysis. Within this window, the total battery capacity of the fleet was 84766.2 kWh, the target energy was approximately 50859.72 kWh, and the available V2G power capacity varied between 272.0 kW and 3604.0 kW, with an average of approximately 1496.04 kW. The system target load was approximately 8.13 MW to 8.21 MW, and the off-peak reference load was approximately 3.24 MW to 3.25 MW.

[0104] This technical solution reads grid operating status, vehicle SOC, station-level available capacity, electricity price, carbon emission factor, and renewable energy information within each scheduling cycle to form an operating status vector. Subsequently, the scheduling target discrimination module determines whether the current system is under a scheduling target such as normal fluctuation, renewable energy consumption, low-carbon scheduling, grid stability, or islanding support, and generates target weights and constraint limits corresponding to the current scheduling target. The target agent invokes the corresponding target-specific strategy model based on the current scheduling target. The physical security adaptation module further converts the agent's output actions into executable charging, discharging, or support commands based on SOC, station-level power, voltage, line load rate, action slope, and security mode constraints. The node voltage, line load rate, net load, SOC, economic benefits, and carbon emission results after execution are entered into the reward and constraint evaluation module to form the strategy update feedback for the next cycle.

[0105] In terms of overall peak shaving and valley filling, such as Figure 4 The peak shaving and valley filling effect diagram shows that the baseline strategy has a net load peak of 10.2939 MW and a peak-valley difference of 7.8927 MW within the 48h to 120h window; the proposed technical solution has a net load peak of 9.3027 MW and a peak-valley difference of 6.5088 MW. Compared to the baseline strategy, the proposed technical solution reduces the peak-valley difference by 1.3839 MW, a reduction of 17.53%. This result indicates that the scheduling target discrimination and target weight adjustment mechanism can enhance peak shaving and discharge support during high-load periods and guide vehicle energy replenishment during low-load periods, thereby improving the overall load curve.

[0106] Regarding node voltage safety, such as Figure 5 The voltage safety effect diagram shown takes the distribution network end node b33 as the observation object. Under the baseline strategy, the lowest voltage of node b33 is 0.9538 pu and the highest voltage is 1.0133 pu. Under this technical solution, the lowest voltage of node b33 is increased to 0.9605 pu, and the highest voltage is controlled at 1.0114 pu. This result shows that physical safety adaptation and target-related safety mode can enhance discharge support when the node voltage is close to the lower limit and suppress further rise when the voltage is high, keeping the critical node voltage around the operating range of 0.95-1.05 pu.

[0107] In terms of economy, such as Figure 6 The economic benefit comparison chart shows that the baseline strategy's cumulative equivalent benefit within the three-day window is -5934.48 yuan, while the proposed solution's cumulative equivalent benefit is 1711.78 yuan, an improvement of 7646.26 yuan. The baseline strategy's cumulative cash flow is -38309.52 yuan, while the proposed solution's cumulative cash flow is -30914.62 yuan, a reduction of 7394.90 yuan in cash flow loss. These results demonstrate that dynamic scheduling based on time-of-use pricing, State of Charge (SOC), and grid operating pressure can improve the equivalent benefit on the user side and enhance the economic settlement results during charging and discharging.

[0108] In terms of low-carbon operation, such as Figure 7 The carbon emission comparison chart shows that the baseline strategy resulted in a cumulative carbon emission of 186.86 tCO2 from grid-purchased electricity within the 48-120 hour window, while the proposed solution resulted in a cumulative carbon emission of 183.35 tCO2 from grid-purchased electricity, a reduction of 3.51 tCO2, or 1.88%. This result demonstrates that the weighting of low-carbon targets and the discrimination of low-carbon scheduling targets can guide vehicles to increase charging absorption during low-carbon factor periods and reduce grid-purchased electricity demand during high-carbon factor or high-load periods, thereby reducing cumulative carbon emissions during the window period.

[0109] Regarding user energy boundaries, such as Figure 8The comparison chart of average vehicle SOC shown indicates that the baseline strategy has an average fleet SOC of 0.6266, a minimum SOC of 0.6021, and a window-end SOC of 0.6131. ​​The proposed technical solution has an average fleet SOC of 0.5800, a minimum SOC of 0.5254, and a window-end SOC of 0.5379. This result demonstrates that the proposed technical solution, when participating in peak shaving, voltage support, and low-carbon dispatching, controls the fleet SOC within the preset available energy boundary and ensures users' basic travel needs through SOC lower limits, off-site energy demand, and reserve capacity constraints.

[0110] like Figure 9 The diagram illustrates the switching trajectory between grid state pressure and targets, demonstrating the target discrimination process of this technical solution within a continuous scheduling cycle. The system normalizes indicators such as load pressure, main grid inlet pressure, renewable energy pressure, carbon emission pressure, voltage pressure, line pressure, and islanding pressure to a unified dimension, and generates the current scheduling target based on target priority, entry threshold, exit threshold, candidate confirmation time, and minimum hold time. The target switching trajectory in the diagram reflects the switching process between targets such as routine economic operation, renewable energy absorption, low-carbon emission reduction, peak shaving and valley filling, voltage support, and emergency support. This result demonstrates that the target hysteresis confirmation mechanism can suppress frequent switching caused by short-term disturbances, enabling the target agent to output continuous scheduling actions under stable targets.

[0111] like Figure 10 The diagram showing the comparison of V2G station-level actions and power execution demonstrates the effectiveness of the target agent's output actions after physical safety adaptation. The target agent first outputs normalized action values ​​for each charging station or vehicle aggregation unit. The physical safety adaptation module then combines SOC boundaries, station-level power limits, voltage constraints, line load constraints, action dead zones, and ramp constraints to convert the original actions into actual charging power, V2G discharging power, or supporting commands. As shown in the diagram, the adapted station-level power commands maintain the target agent's scheduling intent and meet the operational boundary requirements of the underlying equipment and the power grid. This result demonstrates that the physical safety adaptation layer can improve the engineering executability of agent actions and reduce the risks of sudden action changes and constraint violations.

[0112] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0113] Based on the same inventive concept, this application also provides a vehicle-to-grid interaction device for implementing the vehicle-to-grid interaction method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more vehicle-to-grid interaction device embodiments provided below can be found in the limitations of the vehicle-to-grid interaction method described above, and will not be repeated here.

[0114] In one exemplary embodiment, such as Figure 11 As shown, a vehicle-to-everything (V2X) interactive device is provided, including: an acquisition module 1101, a leveling module 1102, and an adjustment module 1103, wherein:

[0115] The acquisition module 1101 is used to acquire the status data of the charging device during a historical period; the charging device is used to charge the vehicle.

[0116] The rating module 1102 is used to determine the pressure rating of the charging device based on the proximity between the status data and the standard pressure thresholds corresponding to different pressure indicators.

[0117] The adjustment module 1103 is used to adjust the charging and discharging power of the charging equipment in the current period based on the state adjustment model that matches the emergency level when the pressure level represents the emergency level; and to adjust the charging and discharging power of the charging equipment based on the state adjustment model that matches the non-emergency level after the charging equipment has been running at the charging and discharging power of the historical period for a preset maintenance time when the pressure level represents the non-emergency level.

[0118] In some embodiments, the rating module 1102 is further configured to determine that there is an abnormality in the pressure index when the status data and the standard pressure threshold corresponding to any pressure index show a convergence trend; if the pressure index with an abnormality includes at least one of undervoltage index, overvoltage index, and line over-limit index, the pressure level of the charging device is determined to be an emergency level; wherein, the undervoltage index is that the bus voltage of the charging device approaches a preset first voltage threshold; the overvoltage index is that the bus voltage of the charging device approaches a preset second voltage threshold; the second voltage threshold is greater than the first voltage threshold; and the line over-limit index is that the load rate of any line of the charging device approaches a preset load rate threshold.

[0119] In some embodiments, the adjustment module 1103 is further configured to determine the charging and discharging power of the charging device in the current period based on the state adjustment model that matches the emergency level and the state data; smoothly integrate the charging and discharging power in the historical period with the charging and discharging power in the current period to determine the charging and discharging power adjustment strategy of the charging device in the current period; and adjust the charging and discharging power of the charging device in the current period through the charging and discharging power adjustment strategy.

[0120] In some embodiments, the adjustment module 1103 is further configured to reduce the adjustment magnitude corresponding to the charging and discharging power adjustment strategy when the charging and discharging power adjustment strategy in the current period is opposite to the charging and discharging power adjustment strategy in the historical period.

[0121] In some embodiments, the adjustment module 1103 is further configured to reduce the charging power and increase the discharging power in the charging and discharging power adjustment strategy when the pressure value corresponding to the undervoltage index in the current period is greater than the pressure value corresponding to the undervoltage index in the historical period; and to increase the charging power and decrease the discharging power in the charging and discharging power adjustment strategy when the pressure value corresponding to the overvoltage index in the current period is greater than the pressure value corresponding to the overvoltage index in the historical period.

[0122] In some embodiments, the adjustment module 1103 is further configured to increase the proportion of the charging and discharging component used to ensure line safety in the charging and discharging power adjustment strategy when the pressure value corresponding to the line over-limit index in the current time period is greater than the pressure value corresponding to the line over-limit index in the historical time period.

[0123] Each module in the aforementioned vehicle-to-everything (V2X) interactive device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0124] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 12 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a vehicle-to-everything (V2X) interaction method.

[0125] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0126] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0127] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0128] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0129] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0130] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

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

[0132] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A vehicle-to-everything (V2X) interaction method, characterized in that, The method includes: Acquire status data of the charging device during historical time periods; the charging device is used to charge vehicles; The pressure level of the charging device is determined based on the approximation between the state data and the standard pressure thresholds corresponding to different pressure indicators. When the pressure level represents the emergency level, the charging and discharging power of the charging device is adjusted according to the state data based on the state adjustment model that matches the emergency level. When the pressure level represents a non-emergency level, after the charging equipment operates at its charging and discharging power for a preset duration during historical periods, the charging and discharging power of the charging equipment is adjusted based on the state adjustment model that matches the non-emergency level and the state data.

2. The method according to claim 1, characterized in that, The step of determining the pressure level of the charging device based on the convergence between the state data and the standard pressure thresholds corresponding to different pressure indicators includes: If the status data shows a convergent trend with the standard pressure threshold corresponding to any pressure index, it is determined that the pressure index is abnormal. If any of the abnormal pressure indicators include undervoltage, overvoltage, and line over-limit indicators, the pressure level of the charging equipment shall be determined as an emergency level. Wherein, the undervoltage index is when the bus voltage of the charging device approaches a preset first voltage threshold; the overvoltage index is when the bus voltage of the charging device approaches a preset second voltage threshold; the second voltage threshold is greater than the first voltage threshold; and the line over-limit index is when the load rate of any line of the charging device approaches a preset load rate threshold.

3. The method according to claim 1, characterized in that, The state adjustment model, based on the emergency level, adjusts the charging and discharging power of the charging equipment in the current time period according to the state data, including: Based on the state adjustment model that matches the emergency level, the charging and discharging power of the charging device in the current time period is determined according to the state data; The charging and discharging power of the historical period is smoothly integrated with the charging and discharging power of the current period to determine the charging and discharging power adjustment strategy of the charging device in the current period. The charging and discharging power adjustment strategy is used to adjust the charging and discharging power of the charging device during the current time period.

4. The method according to claim 3, characterized in that, The method further includes: If the charging and discharging power adjustment strategy in the current period is the opposite of the charging and discharging power adjustment strategy in the historical period, the adjustment range corresponding to the charging and discharging power adjustment strategy shall be reduced.

5. The method according to claim 4, characterized in that, The pressure indicators include underpressure indicators and overpressure indicators, and the method further includes: If the pressure value corresponding to the undervoltage indicator in the current period is greater than the pressure value corresponding to the undervoltage indicator in the historical period, reduce the charging power in the charging and discharging power adjustment strategy and increase the discharging power in the charging and discharging power adjustment strategy. If the overpressure value corresponding to the overpressure index in the current period is greater than the overpressure value corresponding to the overpressure index in the historical period, increase the charging power in the charging and discharging power adjustment strategy and decrease the discharging power in the charging and discharging power adjustment strategy.

6. The method according to claim 5, characterized in that, The pressure indicators include line over-limit indicators, and the method further includes: If the pressure value corresponding to the line over-limit indicator in the current period is greater than the pressure value corresponding to the line over-limit indicator in the historical period, the proportion of the charging and discharging component used to ensure line safety in the charging and discharging power adjustment strategy should be increased.

7. A vehicle-to-everything (V2X) interactive device, characterized in that, The device includes: The acquisition module is used to acquire the status data of the charging device during a historical period; the charging device is used to charge the vehicle. The rating module is used to determine the pressure rating of the charging device based on the proximity between the status data and the standard pressure thresholds corresponding to different pressure indicators. An adjustment module is used to adjust the charging and discharging power of the charging device in the current time period based on the state data, according to a state adjustment model that matches the emergency level when the pressure level represents an emergency level; and to adjust the charging and discharging power of the charging device based on the state data, according to a state adjustment model that matches the non-emergency level, after the charging and discharging power of the charging device has been operated at a preset maintenance time according to the historical time period when the pressure level represents a non-emergency level.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.