Vehicle charging and discharging management method and device, storage medium and electronic device

By acquiring vehicle battery parameter information, determining the charging and discharging roles and establishing a power supply connection, and monitoring status data in real time, the safety management problem of mutual charging between electric vehicles while in motion is solved, and the safety of charging operations is improved.

CN117885588BActive Publication Date: 2026-06-09SHANGHAI RUIPU ENERGY CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI RUIPU ENERGY CO LTD
Filing Date
2023-12-26
Publication Date
2026-06-09

Smart Images

  • Figure CN117885588B_ABST
    Figure CN117885588B_ABST
Patent Text Reader

Abstract

The application discloses a kind of vehicle charging and discharging management method, device, storage medium and electronic device, it is related to electric vehicle field, the vehicle charging and discharging management method includes: obtaining the first battery parameter information of first vehicle and the second battery parameter information corresponding to second vehicle, and according to first battery parameter information and second battery parameter information determine whether first vehicle and second vehicle satisfy the starting condition corresponding to driving charging mode;In the case where it is determined that the starting condition is satisfied between first vehicle and second vehicle, the power supply connection of first vehicle and second vehicle is established;In the case where it is determined that the power supply connection has been established, start driving charging mode, and monitor the real-time state data of vehicle state of first vehicle and second vehicle under driving charging mode;According to real-time state data, driving charging mode is managed.Therefore, the technical problem that electric vehicle cannot be safely managed in the related art in the driving state interactive charging is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electric vehicles, and more specifically, to a method, apparatus, storage medium, and electronic device for managing vehicle charging and discharging. Background Technology

[0002] In related technologies, with the development of new energy technologies, the number of electric vehicles is gradually increasing. Electric vehicles generally replenish their energy through AC or DC charging stations. However, due to the limited number and uneven distribution of charging stations, as well as their presence in fixed areas, charging electric vehicles is not very convenient. When the remaining battery power of an electric vehicle is insufficient to reach another charging station, mutual charging between vehicles is a better option. However, how to achieve charging of electric vehicles while driving and maintain the safety of the entire charging process presents certain technical challenges and a lack of relevant standards.

[0003] There is a technical problem in the relevant technologies that makes it impossible to safely manage the interactive charging of electric vehicles while they are in motion, and no effective solution has yet been proposed. Summary of the Invention

[0004] This application provides a method, apparatus, storage medium, and electronic device for managing vehicle charging and discharging, thereby at least solving the technical problem in the related art that it is impossible to safely manage the interactive charging of electric vehicles while they are in motion.

[0005] According to one embodiment of this application, a vehicle charging and discharging management method is provided, comprising: acquiring first battery parameter information of a first vehicle and second battery parameter information corresponding to a second vehicle, and determining whether the first vehicle and the second vehicle meet the start-up conditions corresponding to a driving charging mode based on the first battery parameter information and the second battery parameter information; if it is determined that the start-up conditions are met between the first vehicle and the second vehicle, establishing a power supply connection between the first vehicle and the second vehicle; if it is determined that a power supply connection has been established, starting the driving charging mode, and monitoring the real-time status data of the vehicle status of the first vehicle and the second vehicle in the driving charging mode; and managing the driving charging mode based on the real-time status data.

[0006] In an exemplary embodiment, determining whether the first vehicle and the second vehicle meet the start-up conditions corresponding to the driving charging mode based on the first battery parameter information and the second battery parameter information includes: determining the charging / discharging roles corresponding to the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, wherein the charging / discharging role includes at least one of the following: a discharging vehicle and a charging vehicle; when the charging / discharging role is determined, obtaining the total battery capacity corresponding to the vehicle whose charging / discharging role is a discharging vehicle and the maximum discharge capacity of the discharging vehicle; determining the target charging capacity required by the vehicle whose charging / discharging role is a charging vehicle; determining whether the first vehicle and the second vehicle meet the start-up conditions corresponding to the driving charging mode based on the total battery capacity, the maximum discharge capacity, and the target charging capacity, wherein the start-up conditions include the maximum discharge capacity being greater than or equal to the target charging capacity, and the remaining battery capacity after subtracting the maximum discharge capacity from the total battery capacity being sufficient for the normal operation of the discharging vehicle.

[0007] In an exemplary embodiment, after determining the charging / discharging roles of the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, the method further includes: when the first vehicle and the second vehicle have the same charging / discharging role, determining that the first vehicle and the second vehicle are prohibited from starting the driving charging mode; when the first vehicle and the second vehicle have different charging / discharging roles, instructing the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data, wherein the electrical data includes at least: the total power corresponding to the discharging vehicle, the target charging power corresponding to the charging vehicle, and the maximum discharge capacity corresponding to the discharging vehicle.

[0008] In an exemplary embodiment, when the first vehicle and the second vehicle are in different charging / discharging roles, after determining that the first vehicle and the second vehicle are allowed to start a driving charging mode and instructing the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data, the method further includes: acquiring a first type of real-time status data of the communication channel and the power supply connection of the first vehicle and the second vehicle after starting the driving charging mode, wherein the first type of real-time status data is used to determine whether the communication channel and the power supply connection are in a normal state; when the first type of real-time status data indicates that the communication channel and / or the power supply connection are in an abnormal state, recording the duration of the abnormal state; and when the duration is greater than a preset allowable loss time, controlling the first vehicle and the second vehicle to end the driving charging mode.

[0009] In an exemplary embodiment, managing the vehicle charging mode based on the real-time status data includes: when the discharge power carried in the real-time status data is lower than the preset power of the vehicle charging mode, sending a first management instruction to the discharging vehicle among the first vehicle and the second vehicle to terminate the vehicle charging mode; when the real-time status data carries system fault data of the first battery system of the first vehicle or the second battery system of the second vehicle, sending a second management instruction to the vehicle among the first vehicle and the second vehicle that has the system fault to actively exit the vehicle charging mode; when the real-time status data carries abnormal operation data of the first vehicle or the second vehicle, simultaneously sending a third management instruction to the first vehicle and the second vehicle to terminate the vehicle charging mode and disconnect the power supply connection.

[0010] In an exemplary embodiment, before activating the vehicle charging mode and monitoring the real-time status data of the first vehicle and the second vehicle in the vehicle charging mode after determining that the power supply connection has been established, the method further includes: acquiring vehicle speed data corresponding to the first vehicle and the second vehicle; detecting the vehicle distance between the first vehicle and the second vehicle when it is determined that the first vehicle and the second vehicle are in a high-speed state based on the vehicle speed data; and sending a prompt message to the first vehicle and the second vehicle when the vehicle distance is less than a preset safety distance, wherein the prompt message is used to instruct the vehicle direction adjustment size to increase the vehicle distance to be equal to or greater than the preset safety distance.

[0011] In an exemplary embodiment, before activating the vehicle charging mode and monitoring the real-time status data of the first vehicle and the second vehicle in the vehicle charging mode after determining that the power supply connection has been established, the method further includes: acquiring environmental information of the target area where the first vehicle and the second vehicle are located; matching the environmental information with a preset usage database to obtain the usage time corresponding to the vehicle charging mode under the environmental information, wherein the preset usage database contains multiple target environmental information, and each target environmental information corresponds to a target usage time.

[0012] According to another embodiment of this application, a vehicle charging and discharging management device is also provided, comprising: a determining module, configured to acquire first battery parameter information of the first vehicle and second battery parameter information of the second vehicle, and determine whether the first vehicle and the second vehicle meet the starting conditions corresponding to a driving charging mode based on the first battery parameter information and the second battery parameter information; an establishing module, configured to establish a power supply connection between the first vehicle and the second vehicle when it is determined that the starting conditions are met; a monitoring module, configured to start the driving charging mode when it is determined that the power supply connection has been established, and monitor the real-time status data of the vehicle status of the first vehicle and the second vehicle in the driving charging mode; and a management module, configured to manage the driving charging mode based on the real-time status data.

[0013] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, wherein a computer program is stored in the computer program, and the computer program is configured to execute the above-described vehicle charging and discharging management method when running.

[0014] According to another aspect of the embodiments of this application, an electronic device is also provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the above-described vehicle charging and discharging management method through the computer program.

[0015] In this embodiment, by acquiring the battery parameter information of the vehicles, it is determined whether the first vehicle and the second vehicle meet the specific setting requirements of the driving charging mode. A power supply connection is established between the first vehicle and the second vehicle when they are in motion, and then the driving charging mode is activated between the first vehicle and the second vehicle. This allows the vehicle with a higher total battery level to provide temporary charging for the vehicle with a lower total battery level. Furthermore, after entering the driving charging mode, the vehicle status data of the first vehicle and the second vehicle in the driving charging mode is monitored in real time to determine whether the execution of the driving charging mode is in a safe condition. When the real-time status data does not meet the preset conditions, the driving charging mode is deactivated, thereby ensuring the charging and discharging safety of the vehicles in motion. By adopting the above-mentioned vehicle charging and discharging management method, the technical problem in related technologies that it is impossible to safely manage the interactive charging of electric vehicles in motion is solved, thereby improving the safety of driving charging operations in complex situations. Attached Figure Description

[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

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

[0018] Figure 1 This is a hardware structure block diagram of an intelligent vehicle terminal for a vehicle charging and discharging management method according to an embodiment of this application.

[0019] Figure 2 This is a flowchart of a vehicle charging and discharging management method according to an embodiment of this application;

[0020] Figure 3 This is a schematic diagram of a process for managing vehicle charging and discharging using real-time status data according to an embodiment of this application;

[0021] Figure 4 This is a structural block diagram of a vehicle charging and discharging management device according to an embodiment of this application;

[0022] Figure 5 This is a computer system architecture block diagram of an electronic device according to an embodiment of this application;

[0023] Figure 6 This is an electronic device according to an embodiment of the present application for implementing the above-described vehicle charging and discharging management method. Detailed Implementation

[0024] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0026] The methods and embodiments provided in this application can be executed in intelligent vehicle terminals, mobile terminals, or similar computing devices. Taking the operation on an intelligent vehicle terminal as an example, Figure 1 This is a hardware structure block diagram of an intelligent vehicle terminal according to an embodiment of the present application for a vehicle charging and discharging management method. Figure 1 As shown, an intelligent vehicle terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. In one exemplary embodiment, the aforementioned intelligent vehicle terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned intelligent vehicle terminal. For example, the intelligent vehicle terminal may also include components that are more advanced than those described above. Figure 1 The more or fewer components shown, or having the same Figure 1 Equivalent functions or ratios shown Figure 1 The functions shown have more different configurations.

[0027] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the vehicle charging and discharging management method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the intelligent vehicle terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0028] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of the intelligent vehicle terminal. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0029] This embodiment provides a vehicle charging and discharging management method, which is applied to the above-mentioned intelligent vehicle terminal. It should be noted that the above-mentioned intelligent vehicle terminal can also be replaced by other mobile terminals or cloud servers that can perform the same functions as the intelligent vehicle terminal. This application does not impose any restrictions on this.

[0030] Figure 2 This is a flowchart of a vehicle charging and discharging management method according to an embodiment of this application, which includes the following steps:

[0031] Step S202: Obtain the first battery parameter information of the first vehicle and the second battery parameter information of the second vehicle, and determine whether the first vehicle and the second vehicle meet the start-up conditions corresponding to the driving charging mode based on the first battery parameter information and the second battery parameter information.

[0032] Optionally, different vehicles can connect via a wireless network and transmit their respective battery parameter information using V2V communication. Specifically, the battery parameter information may include: the charging and discharging types supported by the battery pack of the first vehicle (fast charging, slow charging, and super-fast charging), and the charging and discharging types supported by the battery pack of the second vehicle (fast charging and slow charging), as well as information on the power range that the battery packs of different vehicles can accept, the remaining battery capacity of the first vehicle, and the remaining battery capacity of the second vehicle. Therefore, when the first vehicle obtains the battery parameter information corresponding to the second vehicle, or when the second vehicle obtains the battery parameter information corresponding to the first vehicle, it can quickly determine whether the first vehicle and the second vehicle meet the startup conditions corresponding to the preset driving charging mode based on the battery parameter information corresponding to the first vehicle and the second vehicle.

[0033] As an optional implementation, the aforementioned battery parameter information may further include: the output power of the vehicle in its current driving state, the vehicle's current total battery capacity (i.e., the current remaining battery capacity), the maximum discharge capacity that the vehicle can release to maintain normal driving, and the charging capacity required by the vehicle. Based on this, whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode is determined according to the first battery parameter information and the second battery parameter information through the following steps:

[0034] Step S31: Determine the charging / discharging roles corresponding to the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, wherein the charging / discharging roles include at least one of the following: discharging vehicle and charging vehicle;

[0035] For example, when the vehicle's current remaining battery power exceeds a first preset battery power, it is a discharge vehicle; when the vehicle's current remaining battery power is lower than a second preset battery power, it is a charge vehicle. The first preset battery power is greater than the second preset battery power.

[0036] Step S32: If the charging / discharging role is determined, obtain the total battery capacity of the vehicle whose charging / discharging role is a discharging vehicle and the maximum discharge capacity of the discharging vehicle.

[0037] The total battery capacity of the vehicle being discharged is its current remaining battery capacity. The maximum discharge capacity of the vehicle can be determined based on factors such as the vehicle's destination, the location of nearby charging stations, etc. The required battery capacity is then subtracted from the total battery capacity of the vehicle to obtain the maximum discharge capacity. The maximum discharge capacity of the vehicle can also be determined in other ways, which are not limited in this embodiment.

[0038] Step S33: Determine the target charging amount required by the vehicle whose charging / discharging role is a charging vehicle.

[0039] The target charging capacity of the charging vehicle can be the target charging capacity required to charge from the current remaining power to the target power. The specific amount can be set according to actual needs, and this application embodiment does not limit this.

[0040] Step S34: Determine whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode based on the total power, the maximum dischargeable amount, and the target charging amount. The starting conditions include that the maximum dischargeable amount is greater than or equal to the target charging amount, and the remaining power after subtracting the maximum dischargeable amount from the total power is sufficient for the normal operation of the discharging vehicle.

[0041] Battery parameter information may also include the maximum distance the vehicle can travel to support charging operations based on its current remaining total battery capacity. For example, suppose a first vehicle and a second vehicle are traveling simultaneously on the same highway segment, and the next available charging service area is 200km away. The first vehicle currently has a total available battery capacity of 144.4kWh, which can power it for 1008km. The second vehicle currently has a total available battery capacity of 18.32kWh, which can power it for 101km. Based on the corresponding total battery capacity, the charging / discharging roles can be determined: the first vehicle is discharging, and the second vehicle is charging. The second vehicle needs at least 18.32kWh of target charging capacity to ensure it can reach the charging server. If the first vehicle can provide the second vehicle with a maximum discharge capacity of 36kWh, then the first and second vehicles meet the startup conditions corresponding to the preset driving-charging mode.

[0042] In addition, to ensure charging safety between vehicles as much as possible, the above-mentioned starting conditions may also include: normal physical connection between vehicles; normal communication; normal insulation value; vehicles can reach the target voltage for charging and discharging; the maximum discharge power of the discharging vehicle meets the power requested by the charging vehicle; the relative speed between vehicles meets the set speed range of the driving charging mode; the overall operating status of different vehicles is normal; and the battery packs of different vehicles are determined to be normal based on battery parameter information.

[0043] Optionally, the above-mentioned speed range can be set such that, in the vehicle charging mode, the relative speed of the vehicle cannot exceed 5 km / h, and the above-mentioned overall vehicle operating status is normal, meaning that the vehicle has not experienced any other serious malfunctions, such as engine malfunctions, insufficient vehicle power, collision signals, etc.

[0044] Optionally, the battery parameter information mentioned above can be used to further estimate the normal time for the vehicle to reach the charging target while driving. Once the normal time is determined, by adjusting parameters such as charging power and charging voltage between vehicles, the total time to reach the charging target can be shortened based on the normal time, thus reducing the charging time of the vehicle being charged while driving. In addition, based on the normal time, the charging process of the vehicle can be broken down into multiple charging nodes, and charging can only be carried out when the vehicle is safe to drive, ensuring the safety of vehicle driving.

[0045] Step S204: If it is determined that the starting conditions are met between the first vehicle and the second vehicle, a power supply connection is established between the first vehicle and the second vehicle.

[0046] Understandably, after determining the vehicle's current driving output power, remaining total battery capacity, maximum discharge capacity that the vehicle can release to maintain normal operation, maximum distance that the vehicle can support for charging operation based on battery parameter information, and minimum voltage and minimum charging power required for charging, a power supply connection is established by determining whether the charging and discharging needs of the first and second vehicles match. This connection can be either a physical connection established between the vehicles through a connection structure or a wireless connection established through a wireless charging module present on the vehicle.

[0047] It should be noted that the first vehicle and the second vehicle mentioned above are intelligent electric vehicles with charging functions. The power supply connection is established by the connection device between the first vehicle and the second vehicle when the two vehicles are relatively stationary, and the power supply connection is realized by the circuit on the physical connection. Alternatively, the first vehicle and the second vehicle can also achieve wireless power supply between the vehicles by setting a wireless charging module on the vehicles, so that the first vehicle and the second vehicle can achieve wireless charging within the effective charging distance.

[0048] After the first vehicle and the second vehicle establish a power supply connection, to ensure the reliability of the power supply connection, the speed difference between the first vehicle and the second vehicle in the driving state is within a preset error range, for example, the speed difference between the first vehicle and the second vehicle is less than 5 km / h; or, the distance between the first vehicle and the second vehicle is within a preset distance, for example, the distance between the first vehicle and the second vehicle is less than 10m. The preset error and preset distance in this application embodiment are illustrative examples. In other possible implementations, the preset error can also be set to 1 km / h, 3 km / h, 6 km / h, 8 km / h, 10 km / h, etc., and the preset distance can also be set to 5m, 15m, 20m, etc., and can be set according to actual needs. In a preferred embodiment, the first vehicle and the second vehicle are in a relatively stationary driving state.

[0049] Step S206: If it is determined that the power supply connection has been established, start the vehicle charging mode and monitor the real-time status data of the first vehicle and the second vehicle in the vehicle charging mode.

[0050] It should be noted that the above real-time status data is used to determine the charging progress of the vehicle while it is currently in driving charging mode, thereby determining when the vehicle should exit driving charging mode.

[0051] Optionally, the aforementioned real-time status data may include the communication maintenance status between the first vehicle and the second vehicle during driving, the charging progress, battery pack status, vehicle speed, battery parameter information, etc., of the first vehicle and the second vehicle during driving, as well as the fault status of the first vehicle and the second vehicle during driving. This embodiment is merely an example and is not limited thereto.

[0052] In summary, by acquiring real-time vehicle status data, the charging process can be monitored, enabling effective and safe management of the vehicle's charging status even when there are differences between the vehicle's driving process and that of a fixed charging station.

[0053] Step S208: Manage the vehicle charging mode based on the real-time status data.

[0054] By using real-time status data such as charging progress, vehicle speed, and battery pack status, the system determines when normal charging has ended, stops the driving charging mode, and disconnects the power supply.

[0055] In addition to the above, in order to prevent unexpected situations and ensure the safety of the charging process, it is also necessary to consider all possible faults that may occur during the driving process during the communication maintenance phase after the two vehicles enter the driving charging mode. When a fault is triggered and affects charging, discharging and driving safety, charging should be stopped immediately.

[0056] In an exemplary embodiment, managing the vehicle charging mode based on the real-time status data includes: when the discharge power carried in the real-time status data is lower than the preset power of the vehicle charging mode, sending a first management command to terminate the vehicle charging mode to the discharging vehicle in the first vehicle and the second vehicle.

[0057] For example, in practical applications, when a vehicle is in motion, it may face an increase in power in the cabin, resulting in insufficient discharge power. In this case, the discharging vehicle should actively inform the charging vehicle of the maximum power and output it. When the discharge power is severely insufficient, it should request to disconnect the driving charging mode.

[0058] In another exemplary embodiment, if the real-time status data carries system fault data of the first battery system of the first vehicle or the second battery system of the second vehicle, a second management command is proactively sent to the vehicle in the first vehicle or the vehicle in the second vehicle that has the system fault to exit the driving charging mode.

[0059] For example, in practical applications, insulation testing and battery pack fault detection should be performed on the battery system during charging and discharging. When serious faults occur, such as low insulation, overcharging or over-discharging of the battery, or excessively low or high temperatures, the vehicle should be actively deactivated from the driving charging mode.

[0060] In yet another exemplary embodiment, if the real-time status data carries abnormal operating data of the first vehicle or the second vehicle, a third management command is simultaneously sent to the first vehicle and the second vehicle to end the driving charging mode and disconnect the power supply connection.

[0061] For example, in practical applications, when a serious malfunction occurs in the internal environment of the vehicle during charging or discharging, such as loss of power or tire blowout, the charging / discharging process should be immediately disconnected. Alternatively, when the charging mode is set to high-speed mode, the vehicle speed should be maintained between 100-120 km / h. If the vehicle speed falls below or exceeds this range, an alarm should be issued, and the charging connection should be disconnected if the alarm times out. Optionally, the relative speed between the two vehicles should be controlled within 5 km / h.

[0062] In other possible implementations, real-time status data includes the target charge amount for charging and discharging the vehicle, such as setting the allowable discharge cutoff battery charge state (SOC) via an in-vehicle display screen, for example, 50%, and the charge cutoff SOC, for example, 80%. When either condition is met, the vehicle should also actively exit the charging mode.

[0063] Through the above steps, by acquiring the battery parameter information of the vehicles, it is determined whether the first and second vehicles meet the specific setting requirements of the driving charging mode. A power supply connection is established between the first and second vehicles in a driving state, and then the driving charging mode is activated between the first and second vehicles. This allows the vehicle with higher total battery power to provide temporary charging for the vehicle with lower total battery power. In addition, after entering the driving charging mode, the vehicle status data of the first and second vehicles in the driving charging mode is monitored in real time to determine whether the execution of the driving charging mode is in a safe condition. When the real-time status data does not meet the preset conditions (such as: the preset power of the driving charging mode, the existence of battery system fault data, and abnormal vehicle operation data), the driving charging mode is deactivated, thereby ensuring the charging and discharging safety of the vehicles in the driving state. By adopting the above-mentioned vehicle charging and discharging management method, the technical problem of not being able to safely manage the interactive charging of electric vehicles in the driving state is solved in related technologies, thereby improving the safety of driving charging operations in complex situations.

[0064] In an exemplary embodiment, after determining the charging / discharging roles of the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, the method further includes: when the first vehicle and the second vehicle have the same charging / discharging role, determining that the first vehicle and the second vehicle are prohibited from starting the driving charging mode; when the first vehicle and the second vehicle have different charging / discharging roles, instructing the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data, wherein the electrical data includes at least: the total power corresponding to the discharging vehicle, the target charging power corresponding to the charging vehicle, and the maximum discharge capacity corresponding to the discharging vehicle.

[0065] Understandably, to prevent vehicles with the same needs from abnormally entering driving charging mode after establishing a power connection, it is determined that at least one of the different vehicles can provide power as a discharge vehicle. Then, electrical data is transmitted through a communication channel to determine parameters before entering driving charging mode. It should be noted that the aforementioned communication channel can be any wireless communication method between the two vehicles. Furthermore, the aforementioned communication channel can be established before the first vehicle and the second vehicle establish a power connection. Thus, before establishing a physical connection, the electrical data exchange between the vehicles calculates the charging conditions that the first and second vehicles can meet under driving conditions, determining whether the first and second vehicles meet the conditions for starting driving charging mode. That is, the aforementioned electrical data is the value corresponding to the battery parameter information of the vehicle, reflecting the amount of power. The two vehicles can determine whether the conditions for starting driving charging mode are met through preliminary electrical data exchange, thereby preventing vehicles that do not meet the conditions from establishing a power connection.

[0066] In an exemplary embodiment, when the first vehicle and the second vehicle are in different charging / discharging roles, after determining that the first vehicle and the second vehicle are allowed to start a driving charging mode and instructing the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data, the method further includes: acquiring a first type of real-time status data of the communication channel and the power supply connection of the first vehicle and the second vehicle after starting the driving charging mode, wherein the first type of real-time status data is used to determine whether the communication channel and the power supply connection are in a normal state; when the first type of real-time status data indicates that the communication channel and / or the power supply connection are in an abnormal state, recording the duration of the abnormal state; and when the duration is greater than a preset allowable loss time, controlling the first vehicle and the second vehicle to end the driving charging mode.

[0067] Understandably, the first type of real-time status data mentioned above is mainly to ensure the effectiveness of communication and power supply connections between vehicles, to avoid abnormal vehicle charging where communication between vehicles is not timely or the power supply connection continues to maintain the driving charging mode, and to improve the safety of vehicle charging. The real-time status data corresponding to the vehicle is mainly to determine the vehicle's driving status, changes in vehicle battery parameters, and vehicle driving environment after the vehicle is in a driving state and enters the driving charging mode. Then, when it is determined from the real-time status data that any vehicle has changed from a normal state to an abnormal state, the power supply connection between the two vehicles is quickly disconnected, thereby ensuring the safety of the entire driving charging mode execution while the vehicle is in motion.

[0068] In short, after starting the driving charging mode, in order to better ensure the safety of starting the driving charging mode, the communication status and power connection status between the two vehicles are monitored and recorded in real time, and the driving charging mode is terminated when an abnormality is detected.

[0069] As an optional implementation method, the process of acquiring real-time status data during vehicle charging is briefly described below. Figure 3 This is a schematic diagram illustrating the process of managing vehicle charging and discharging using real-time status data according to an embodiment of this application. Assume there are two vehicles, A and B, where vehicle A is the charging vehicle and vehicle B is the discharging vehicle.

[0070] When the vehicle is already in charging mode, vehicle information and status monitoring (equivalent to real-time status data in the above embodiment) are periodically sent to achieve status synchronization between vehicle A and vehicle B.

[0071] Optionally, for vehicle A, the following shall be continuously determined:

[0072] The first step is to determine whether vehicle A and vehicle B maintain communication.

[0073] The second step is to determine whether vehicle A has reached the target SOC.

[0074] The third step is to determine whether the input current allowed by vehicle B to vehicle A is lower than the maximum input current if vehicle A has not reached the target SOC.

[0075] Step 4: If the current is below the maximum input current, determine whether vehicle B is allowed to reach the system cutoff charging voltage for vehicle A.

[0076] Step 5: Determine the current maximum charging power of vehicle A after confirming that the system's cutoff charging voltage has been reached;

[0077] Step 6: Determine the relative speeds of vehicle A and vehicle B;

[0078] Step 7: Determine if the physical connection between vehicle A and vehicle B is normal;

[0079] Step 8: Monitor the temperature of the battery pack in vehicle A;

[0080] Step 9: Determine whether vehicle A is in a state where no vehicle malfunction has occurred;

[0081] Step 10: Determine if vehicle A has received the exit instruction.

[0082] Step 11: When vehicle A receives an exit command or when the above steps 1 to 9 are in a state that does not meet the preset requirements, and the situation does not change after waiting for a preset time, actively request to perform a charging exit operation on vehicle A.

[0083] It should be noted that vehicle B differs from vehicle A only in its state; all other continuously determined information is the same, meaning vehicle B is the discharge vehicle. Therefore, steps three through six above apply to vehicle B as follows:

[0084] The third step for vehicle B is to determine whether the output current of vehicle B is lower than the maximum output current if vehicle A has not reached the target SOC.

[0085] The fourth step for vehicle B is to determine the system cutoff discharge voltage of vehicle B when the current is below the maximum output current.

[0086] The fifth step for vehicle B is to determine the current maximum discharge power of vehicle B after confirming that the system cutoff discharge voltage has been reached.

[0087] The sixth step for vehicle B is to determine the relative speed with vehicle A, and at the same time determine the maximum charging power of vehicle B to vehicle A under the current maximum discharge power.

[0088] In summary, by using the aforementioned safety strategies during the charging process to manage vehicle A and vehicle B, that is, by interacting and judging the internal information of the vehicles, the system can actively control whether the vehicles exit or maintain the charging / discharging state while in motion.

[0089] In an exemplary embodiment, before acquiring real-time status data of the first vehicle and the second vehicle during the driving charging mode when the first vehicle and the second vehicle have started the driving charging mode, the method further includes: acquiring vehicle speed data corresponding to the first vehicle and the second vehicle; detecting the vehicle distance between the first vehicle and the second vehicle when it is determined from the vehicle speed data that the first vehicle and the second vehicle are in a high-speed state; and sending a prompt message to the first vehicle and the second vehicle when the vehicle distance is less than a preset safety distance, wherein the prompt message is used to instruct the vehicle direction adjustment size to increase the vehicle distance to be equal to or greater than the preset safety distance.

[0090] Understandably, due to the high speed of vehicles at high speeds, the two vehicles charging need to maintain a large distance between them to ensure driving safety. Therefore, in actual use, it is necessary to increase the distance between vehicles based on the vehicle speed and abnormal situations such as sudden decrease in vehicle speed. It should be noted that in the above scenarios, the connection device used to establish the physical connection between the two vehicles must have an active retraction function to maintain a tight connection of the connector and avoid the possibility of ground friction.

[0091] In an exemplary embodiment, before acquiring real-time status data of the first vehicle and the second vehicle during the driving charging mode when the first vehicle and the second vehicle have started the driving charging mode, the method further includes: acquiring environmental information of the target area where the first vehicle and the second vehicle are located; matching the environmental information with a preset usage database to obtain the usage time corresponding to the driving charging mode under the environmental information, wherein the preset usage database contains multiple target environmental information, and each target environmental information corresponds to a target usage time.

[0092] It is understandable that the charging time required for a vehicle's charging pack varies under different temperatures, and the overall temperature of a vehicle is greatly affected by the external environment. Therefore, by determining the vehicle's environmental information, a simple assessment of the charging efficiency between vehicles can be made, and the charging and discharging time corresponding to the environmental information can be estimated. This allows for flexible adjustment of the time when vehicles enter the driving charging mode under different environments, avoiding the complexity of driving charging mode operation caused by a single time setting.

[0093] To facilitate understanding, examples are provided to illustrate the safety management of vehicles in more complex usage environments and charging / discharging scenarios during driving, but these are not intended to limit the process of vehicle charging / discharging management in this application.

[0094] For example, if the environmental information of the target area where the vehicle is traveling indicates icy, snowy, or rainy weather, then the charging and discharging speed and time in the driving charging mode will be controlled to ensure the safety of the vehicle. Specifically:

[0095] When vehicles are driven in icy, snowy, or rainy conditions, the friction between the vehicle and the ground decreases drastically due to the rain, increasing braking distance. Additionally, visibility is obstructed by the rain. Therefore, when a vehicle needs temporary emergency charging in rainy weather, specifically, the battery pack's State of Charge (SOC) should not exceed 10%. The maximum charging / discharging speed should be less than 40 km / h, and the relative speed less than 5 km / h. Simultaneously, the insulation testing cycle should be shortened. Charging should be prohibited when the SOC reaches 30%, shortening the usage time under emergency charging conditions in rainy weather. Furthermore, to ensure driving safety in rainy weather, if any of the above conditions are not met, two vehicles should be actively prohibited from entering or exiting the driving charging mode.

[0096] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0097] Figure 4 This is a structural block diagram of a vehicle charging and discharging management device according to an embodiment of this application; as shown... Figure 4 As shown, it includes:

[0098] The determination module 42 is used to obtain the first battery parameter information of the first vehicle and the second battery parameter information of the second vehicle, and determine whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode based on the first battery parameter information and the second battery parameter information.

[0099] Establishment module 44 is used to establish a power supply connection between the first vehicle and the second vehicle when it is determined that the starting conditions are met.

[0100] The monitoring module 46 is used to start the vehicle charging mode when it is determined that the power supply connection has been established, and to monitor the real-time status data of the first vehicle and the second vehicle in the vehicle charging mode.

[0101] The management module 48 is used to manage the vehicle charging mode based on the real-time status data.

[0102] By acquiring the battery parameter information of the vehicles, the system determines whether the first and second vehicles meet the specific requirements of the driving charging mode. It then establishes a power connection between the first and second vehicles while they are in motion, and initiates the driving charging mode between them. This allows the vehicle with higher total battery capacity to provide temporary charging for the vehicle with lower total battery capacity. Furthermore, after entering the driving charging mode, the system monitors the vehicle status data of the first and second vehicles in real time to determine if the driving charging mode is operating safely. If the real-time status data does not meet preset conditions (such as the preset power of the driving charging mode, system fault data in the battery system, or abnormal vehicle operation data), the driving charging mode is deactivated, thus ensuring the charging and discharging safety of the vehicles while in motion. This vehicle charging and discharging management method solves the technical problem in related technologies where it is impossible to safely manage interactive charging of electric vehicles while they are in motion, thereby improving the safety of driving charging operations under complex conditions.

[0103] In an exemplary embodiment, the determining module is further configured to determine the charging / discharging roles corresponding to the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, wherein the charging / discharging role includes at least one of the following: a discharging vehicle and a charging vehicle; when the charging / discharging role is determined, obtaining the total battery capacity corresponding to the vehicle whose charging / discharging role is a discharging vehicle and the maximum discharge capacity of the discharging vehicle; determining the target charging capacity required by the vehicle whose charging / discharging role is a charging vehicle; and determining whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode based on the total battery capacity, the maximum discharge capacity, and the target charging capacity, wherein the starting conditions include that the maximum discharge capacity is greater than or equal to the target charging capacity, and the remaining battery capacity after deducting the maximum discharge capacity from the total battery capacity is sufficient for the normal operation of the discharging vehicle.

[0104] In one exemplary embodiment, the determining module further includes:

[0105] The determining unit is configured to determine, after determining the charging and discharging roles corresponding to the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, that the first vehicle and the second vehicle are in the same charging and discharging role, the driving charging mode is prohibited between the first vehicle and the second vehicle.

[0106] The establishment unit is used to instruct the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data when the first vehicle and the second vehicle are in different charging and discharging roles. The electrical data includes at least: the total power of the discharging vehicle, the target charging power of the charging vehicle, and the maximum discharge capacity of the discharging vehicle.

[0107] In an exemplary embodiment, the determining module further includes a control unit, configured to, when the first vehicle and the second vehicle are in different charging / discharging roles, determine that a driving charging mode can be initiated between the first vehicle and the second vehicle, and instruct the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data, and then acquire first type of real-time status data of the communication channel and the power supply connection after the driving charging mode is initiated, wherein the first type of real-time status data is used to determine whether the communication channel and the power supply connection are in a normal state; when the first type of real-time status data indicates that the communication channel and / or the power supply connection are in an abnormal state, record the duration of the abnormal state; and when the duration is greater than a preset allowable loss time, control the first vehicle and the second vehicle to end the driving charging mode.

[0108] In an exemplary embodiment, the management module is further configured to: send a first management instruction to the discharging vehicle among the first vehicle and the second vehicle to terminate the driving charging mode when the discharge power carried in the real-time status data is lower than the preset power of the driving charging mode; send a second management instruction to the vehicle among the first vehicle and the second vehicle that has experienced the system fault when the real-time status data carries system fault data of the first battery system of the first vehicle or the second battery system of the second vehicle; and send a third management instruction to both the first vehicle and the second vehicle to terminate the driving charging mode and disconnect the power supply connection when the real-time status data carries abnormal operation data of the first vehicle or the second vehicle.

[0109] In one exemplary embodiment, the above-described apparatus further includes: a detection module, configured to: upon determining that the power supply connection has been established, initiate the vehicle charging mode, and before monitoring the real-time status data of the first vehicle and the second vehicle in the vehicle charging mode, acquire vehicle speed data corresponding to the first vehicle and the second vehicle; if the vehicle speed data indicates that the first vehicle and the second vehicle are in a high-speed state, detect the vehicle distance between the first vehicle and the second vehicle; if the vehicle distance is less than a preset safety distance, send a prompt message to the first vehicle and the second vehicle, wherein the prompt message is used to instruct the vehicle direction adjustment size to increase the vehicle distance to be equal to or greater than the preset safety distance.

[0110] In an exemplary embodiment, the above-described apparatus further includes: a matching module, configured to, upon determining that the power supply connection has been established, initiate the vehicle charging mode and, before monitoring the real-time status data of the vehicle status of the first vehicle and the second vehicle in the vehicle charging mode, acquire environmental information of the target area where the first vehicle and the second vehicle are located; match the environmental information with a preset usage database to obtain the usage time corresponding to the vehicle charging mode under the environmental information, wherein the preset usage database contains multiple target environmental information, and each target environmental information corresponds to a target usage time.

[0111] In this application embodiment, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0112] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0113] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0114] In one exemplary embodiment, a flash memory is also provided for performing the steps in any of the above method embodiments.

[0115] Embodiments of this application also provide a computer-readable storage medium storing a computer program / instructions configured to perform the steps in any of the above method embodiments when executed.

[0116] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0117] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0118] Figure 5 A schematic block diagram of a computer system architecture for implementing an electronic device according to an embodiment of this application is shown.

[0119] It should be noted that, Figure 5 The computer system 700 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0120] like Figure 5 As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 702 or programs loaded from storage section 708 into random access memory (RAM) 703. The RAM 703 also stores various programs and data required for system operation. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output interface 705 (I / O interface) is also connected to the bus 704.

[0121] The following components are connected to the input / output interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a local area network card, modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 710 as needed so that computer programs read from it can be installed into the storage section 708 as needed.

[0122] Specifically, according to embodiments of this application, the processes described in the various method flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit 701, it performs various functions defined in the system of this application.

[0123] According to another aspect of the embodiments of this application, an electronic device for implementing the above-described vehicle charging and discharging management method is also provided. The electronic device of this embodiment is as follows: Figure 6 As shown, the electronic device includes a memory 802 and a processor 804. The memory 802 stores a computer program, and the processor 804 is configured to execute the steps in any of the above method embodiments via the computer program.

[0124] Optionally, in this embodiment, the electronic device may be located in at least one of a plurality of network devices in a computer network.

[0125] Alternatively, as those skilled in the art will understand, Figure 6 The structure shown is for illustrative purposes only; the electronic device may also be a device that includes the aforementioned flash memory. Figure 6 This does not limit the structure of the aforementioned electronic device. For example, the electronic device may also include components that are more... Figure 6 The more or fewer components shown (such as network interfaces, etc.), or having the same Figure 6 The different configurations shown.

[0126] The memory 802 can be used to store software programs and modules, such as the program instructions / modules corresponding to the vehicle charging and discharging management method and device in this embodiment. The processor 804 executes various functional applications and data processing by running the software programs and modules stored in the memory 802, thereby realizing the aforementioned vehicle charging and discharging management method. The memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 802 may further include memory remotely located relative to the processor 804, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Specifically, the memory 802 may be used, but is not limited to, for containing information such as logs containing modeling data. As an example, such as... Figure 6 As shown, the memory 802 may include, but is not limited to, the modules in the vehicle charging and discharging management device. Furthermore, it may include, but is not limited to, other module units in the vehicle charging and discharging management device, which will not be elaborated further in this example.

[0127] Optionally, the transmission device 806 described above is used to receive or send data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 806 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 806 is a Radio Frequency (RF) module, used for wireless communication with the Internet.

[0128] In addition, the above-mentioned electronic device also includes: a display 808; and a connection bus 810 for connecting the various module components in the above-mentioned electronic device.

[0129] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0130] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular combination of hardware and software.

[0131] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A method for managing vehicle charging and discharging, characterized in that, include: Obtain the first battery parameter information of the first vehicle and the second battery parameter information of the second vehicle, and determine whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode based on the first battery parameter information and the second battery parameter information. If the starting conditions are met between the first vehicle and the second vehicle, a power supply connection is established between the first vehicle and the second vehicle. Once the power supply connection is established, the vehicle charging mode is activated, and real-time status data of the first vehicle and the second vehicle in the vehicle charging mode are monitored. The vehicle charging mode is managed based on the real-time status data. The determination of whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode based on the first battery parameter information and the second battery parameter information includes: The charging / discharging roles of the first vehicle and the second vehicle are determined based on the first battery parameter information and the second battery parameter information, wherein the charging / discharging roles include at least one of the following: discharging vehicle and charging vehicle; Given the charging / discharging role, obtain the total battery capacity of the vehicle whose charging / discharging role is a discharging vehicle and the maximum discharge capacity of the discharging vehicle; determine the target charging capacity required for the vehicle whose charging / discharging role is a charging vehicle. Based on the total power, the maximum dischargeable amount, and the target charging amount, it is determined whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode. The starting conditions include that the maximum dischargeable amount is greater than or equal to the target charging amount, and the remaining power after subtracting the maximum dischargeable amount from the total power is sufficient for the normal operation of the discharging vehicle. When the first vehicle and the second vehicle are in the same charging / discharging role, it is determined that the driving charging mode is prohibited between the first vehicle and the second vehicle. When the first vehicle and the second vehicle are in different charging and discharging roles, the first vehicle and the second vehicle are instructed to establish a communication channel for mutual transmission of electrical data. The electrical data includes at least: the total power of the discharging vehicle, the target charging power of the charging vehicle, and the maximum discharge capacity of the discharging vehicle. The first type of real-time status data of the communication channel and the power supply connection of the first vehicle and the second vehicle after the driving charging mode is started is obtained, wherein the first type of real-time status data is used to determine whether the communication channel and the power supply connection are in a normal state. When the first type of real-time status data indicates that the communication channel and / or the power supply connection is in an abnormal state, the duration of the abnormal state is recorded; If the duration exceeds a preset allowable loss time, the first vehicle and the second vehicle are controlled to end the driving charging mode.

2. The vehicle charging and discharging management method according to claim 1, characterized in that, Managing the vehicle charging mode based on the real-time status data includes: If the discharge power carried in the real-time status data is lower than the preset power of the driving charging mode, a first management command to end the driving charging mode is sent to the first vehicle and the discharging vehicle in the second vehicle. If the real-time status data carries system fault data of the first battery system of the first vehicle or the second battery system of the second vehicle, a second management instruction is sent to the first vehicle and the second vehicle in which the system fault occurs to actively exit the driving charging mode. If the real-time status data carries abnormal operating data of the first vehicle or the second vehicle, a third management command is sent simultaneously to the first vehicle and the second vehicle to end the driving charging mode and disconnect the power supply connection.

3. The vehicle charging and discharging management method according to claim 1, characterized in that, Before activating the vehicle charging mode and monitoring the real-time status data of the first and second vehicles in the vehicle charging mode, after confirming that the power supply connection has been established, the method further includes: Obtain the vehicle speed data corresponding to the first vehicle and the second vehicle; If the speed data indicates that the first vehicle and the second vehicle are at high speed, then the distance between the first vehicle and the second vehicle is detected. If the distance between the vehicles is less than a preset safety distance, a prompt message is sent to the first vehicle and the second vehicle, wherein the prompt message is used to instruct the vehicle direction adjustment size to increase the distance between the vehicles to be equal to or greater than the preset safety distance.

4. The vehicle charging and discharging management method according to claim 1, characterized in that, Before activating the vehicle charging mode and monitoring the real-time status data of the first and second vehicles in the vehicle charging mode, after confirming that the power supply connection has been established, the method further includes: Obtain environmental information about the target area where the first vehicle and the second vehicle are located; The environmental information is matched with a preset usage database to obtain the usage time corresponding to the vehicle charging mode under the environmental information. The preset usage database contains multiple target environmental information and a target usage time corresponding to each target environmental information.

5. A vehicle charging and discharging management device, characterized in that, include: The determination module is used to obtain the first battery parameter information of the first vehicle and the second battery parameter information corresponding to the second vehicle, and determine whether the first vehicle and the second vehicle meet the start-up conditions corresponding to the driving charging mode based on the first battery parameter information and the second battery parameter information. A module is established to establish a power supply connection between the first vehicle and the second vehicle when it is determined that the starting conditions are met. The monitoring module is used to activate the vehicle charging mode when it is determined that the power supply connection has been established, and to monitor the real-time status data of the first vehicle and the second vehicle in the vehicle charging mode. The management module is used to manage the vehicle charging mode based on the real-time status data; The determining module is further configured to determine the charging / discharging roles corresponding to the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, wherein the charging / discharging role includes at least one of the following: a discharging vehicle and a charging vehicle; when the charging / discharging role is determined, the module obtains the total battery capacity corresponding to the vehicle whose charging / discharging role is a discharging vehicle and the maximum discharge capacity of the discharging vehicle; determines the target charging capacity required by the vehicle whose charging / discharging role is a charging vehicle; and determines whether the first vehicle and the second vehicle meet the starting conditions corresponding to the driving charging mode based on the total battery capacity, the maximum discharge capacity, and the target charging capacity, wherein the starting conditions include that the maximum discharge capacity is greater than or equal to the target charging capacity, and the remaining battery capacity after deducting the maximum discharge capacity from the total battery capacity is sufficient for the normal operation of the discharging vehicle; The determining module further includes: The determining unit is configured to determine, after determining the charging and discharging roles corresponding to the first vehicle and the second vehicle respectively based on the first battery parameter information and the second battery parameter information, that the first vehicle and the second vehicle are in the same charging and discharging role, the driving charging mode is prohibited between the first vehicle and the second vehicle. The establishment unit is used to instruct the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data when the first vehicle and the second vehicle are in different charging and discharging roles. The electrical data includes at least: the total power of the discharging vehicle, the target charging power of the charging vehicle, and the maximum discharge capacity of the discharging vehicle. The control unit is configured to, when the first vehicle and the second vehicle are in different charging / discharging roles, determine that a driving charging mode can be initiated between the first vehicle and the second vehicle, and instruct the first vehicle and the second vehicle to establish a communication channel for mutual transmission of electrical data, and then acquire first type of real-time status data of the communication channel and the power supply connection of the first vehicle and the second vehicle after initiating the driving charging mode, wherein the first type of real-time status data is used to determine whether the communication channel and the power supply connection are in a normal state; when the first type of real-time status data indicates that the communication channel and / or the power supply connection are in an abnormal state, record the duration of the abnormal state; and when the duration is greater than a preset allowable loss time, control the first vehicle and the second vehicle to terminate the driving charging mode.

6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method described in any one of claims 1 to 4.

7. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 4 through the computer program.