Vehicle discharge management method and device, electronic equipment and readable storage medium
By obtaining and analyzing the operating information of charging and discharging piles around the vehicle, determining the target charging and discharging piles and conducting profit analysis, the problem of poor user experience in the existing technology is solved, and the management efficiency and user experience of electric vehicles discharge to the power grid are improved.
Patent Information
- Application Number
- CN202411068620.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-12-13
AI Technical Summary
The existing electric vehicle discharge technology to the grid cannot achieve accurate scheduling and management of user charging behavior, resulting in poor user experience and limiting the promotion and use of vehicle-to-grid technology.
By obtaining the operation information of the charging and discharging piles around the vehicle, determining the target charging and discharging piles, and analyzing the revenue based on the operation information of the target charging and discharging piles and the current power of the vehicle, outputting the analysis results to help users conduct discharge management.
It improves the user experience, helps users to conduct discharge management more effectively, and promotes the popularization and efficient management of vehicle-to-grid technology.
Smart Images

Figure CN119134437A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart grid technology, and in particular to a discharge management method, device, electronic device and readable storage medium for a vehicle. Background Art
[0002] With the popularization of electric vehicles, Vehicle-to-Grid (V2G) technology, as a new type of power interaction technology, allows electric vehicles to discharge into the grid during peak hours of grid load, thereby realizing two-way flow of electricity, effectively balancing the grid load and improving energy utilization efficiency.
[0003] The existing method of discharging electric vehicles into the power grid mainly relies on the active behavior of users, but cannot achieve accurate scheduling and management of user charging behavior. The user experience is poor, which to some extent limits the promotion and use of V2G technology. Summary of the invention
[0004] The purpose of this application is to provide a vehicle discharge management method, device, electronic device and computer-readable storage medium, which can help users manage discharge and improve user experience.
[0005] To achieve the above objectives:
[0006] In a first aspect, an embodiment of the present application provides a vehicle discharge management method, including:
[0007] When the vehicle meets the discharge condition, obtaining the operation information of at least one charging and discharging pile within a preset range from the vehicle;
[0008] Determine a target charging and discharging pile from the at least one charging and discharging pile according to the operation information;
[0009] According to the operation information of the target charging and discharging pile and the current power of the vehicle, a profit analysis is performed on the vehicle, and the analysis result is output.
[0010] In one embodiment, before obtaining the operation information of at least one charging and discharging pile within a preset range from the vehicle when the vehicle meets the discharge condition, the method further includes:
[0011] determining an estimated parking duration for the vehicle;
[0012] Obtaining the current power of the vehicle;
[0013] When the estimated parking time is greater than or equal to the preset time, and the current power is greater than or equal to a first preset power threshold, it is determined that the vehicle meets the discharge condition.
[0014] In one embodiment, determining the estimated parking time of the vehicle includes:
[0015] Obtaining the current status information of the vehicle; the status information includes at least one of time, power, location, and weather;
[0016] The state information is used as feature data and input into a prediction model to output an estimated parking time of the vehicle based on the prediction model; the prediction model is trained based on historical state information of the vehicle.
[0017] In one embodiment, the charging and discharging pile includes one of a first charging and discharging pile and a second charging and discharging pile; the operation information includes whether a fast charging mode is supported, location information, and whether the charging and discharging pile is in an idle state; and determining a target charging and discharging pile from the at least one charging and discharging pile according to the operation information includes:
[0018] According to the location information of the first charging and discharging pile, the distance between the first charging and discharging pile and the vehicle is determined, and the first charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the first charging and discharging pile supports the fast charging mode; and / or,
[0019] According to the location information of the second charging and discharging pile, the distance between the second charging and discharging pile and the vehicle is determined, and the second charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the second charging and discharging pile does not support the fast charging mode.
[0020] In one embodiment, the operation information includes electricity price information; and the profit analysis of the vehicle according to the operation information of the target charging and discharging pile and the current power of the vehicle includes:
[0021] Calculating the dischargeable power of the vehicle according to the current power of the vehicle and a second preset power threshold;
[0022] An estimated profit of the vehicle is calculated based on the electricity price data and the dischargeable amount of electricity.
[0023] In one embodiment, the operation information includes discharge power; and the method further includes:
[0024] An estimated discharge duration of the vehicle is calculated according to the discharge power and the dischargeable amount of electricity.
[0025] In one embodiment, the method further comprises:
[0026] When the vehicle is discharging, the battery status of the vehicle is detected in real time, and when the battery level of the vehicle is lower than a second battery level threshold, a battery level prompt is output.
[0027] In a second aspect, an embodiment of the present application provides a vehicle discharge management device, the device comprising:
[0028] An acquisition module, used for acquiring operation information of at least one charging and discharging pile within a preset range from the vehicle when the vehicle meets the discharge condition;
[0029] A processing module, configured to determine a target charging and discharging pile from the at least one charging and discharging pile according to the operation information;
[0030] The analysis module is used to perform a benefit analysis on the vehicle according to the operation information of the target charging and discharging pile and the current power of the vehicle, and output the analysis result.
[0031] In one embodiment, the device further includes a determination module, configured to:
[0032] determining an estimated parking duration for the vehicle;
[0033] Obtaining the current power of the vehicle;
[0034] When the estimated parking time is greater than or equal to the preset time, and the current power is greater than or equal to a first preset power threshold, it is determined that the vehicle meets the discharge condition.
[0035] In one implementation, the determination module is further configured to:
[0036] Obtaining the current status information of the vehicle; the status information includes at least one of time, power, location, and weather;
[0037] The state information is used as feature data and input into a prediction model to output an estimated parking time of the vehicle based on the prediction model; the prediction model is trained based on historical state information of the vehicle.
[0038] In one embodiment, the charging and discharging pile includes one of a first charging and discharging pile and a second charging and discharging pile; the operation information includes whether the fast charging mode is supported, the location information and whether it is in an idle state; the processing module is used to:
[0039] According to the location information of the first charging and discharging pile, the distance between the first charging and discharging pile and the vehicle is determined, and the first charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the first charging and discharging pile supports the fast charging mode; and / or,
[0040] According to the location information of the second charging and discharging pile, the distance between the second charging and discharging pile and the vehicle is determined, and the second charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the second charging and discharging pile does not support the fast charging mode.
[0041] In one embodiment, the analysis module is used to:
[0042] Calculating the dischargeable power of the vehicle according to the current power of the vehicle and a second preset power threshold;
[0043] An estimated profit of the vehicle is calculated based on the electricity price data and the dischargeable amount of electricity.
[0044] In one embodiment, the analysis module is used to:
[0045] An estimated discharge duration of the vehicle is calculated according to the discharge power and the dischargeable amount of electricity.
[0046] In one embodiment, the device further comprises a prompt module, which is used to:
[0047] When the vehicle is discharging, the battery status of the vehicle is detected in real time, and when the battery level of the vehicle is lower than a second battery level threshold, a battery level prompt is output.
[0048] In a third aspect, an embodiment of the present application provides an electronic device, specifically comprising:
[0049] processor;
[0050] a memory for storing instructions executable by the processor;
[0051] Wherein, the processor is configured to execute the instructions to execute the discharge management method of the vehicle as described in the first aspect.
[0052] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to implement the vehicle discharge management method as described in the first aspect.
[0053] The vehicle discharge management method, device, electronic device and computer-readable storage medium provided in the embodiments of the present application include: when the vehicle meets the discharge condition, obtaining the operation information of at least one charging and discharging pile within a preset range of the vehicle; determining the target charging and discharging pile from the at least one charging and discharging pile according to the operation information; performing a benefit analysis on the vehicle according to the operation information of the target charging and discharging pile and the current power of the vehicle, and outputting the analysis result. In this way, the target charging and discharging pile is determined according to the operation information of the charging and discharging piles within a preset range around the vehicle, and the benefit analysis is performed based on the current vehicle discharge, which helps users to manage discharge and improve user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1A schematic flow chart of a vehicle discharge management method provided by an embodiment of the present invention;
[0055] Figure 2 A schematic diagram of a specific flow chart of a vehicle discharge management method provided by an embodiment of the present invention;
[0056] Figure 3 A schematic diagram of the structure of a discharge management device for a vehicle provided by an embodiment of the present invention;
[0057] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0058] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0059] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.
[0060] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.
[0061] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0062] It should be noted that, in this article, step codes such as S101, S102, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of this application.
[0063] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0064] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0065] See also Figure 1 The embodiment of the present application provides a vehicle discharge management method, which can be implemented in software and / or hardware. In this embodiment, the vehicle discharge management method is applied to an electronic device as an example. The vehicle discharge management method provided by this embodiment includes:
[0066] Step S101: when a vehicle meets a discharge condition, obtaining operation information of at least one charging and discharging pile within a preset range from the vehicle.
[0067] Optionally, when it is determined that the vehicle meets the discharge conditions, the operation information of at least one charging and discharging pile within a preset range from the vehicle is obtained with the vehicle as the center. Specifically, this preset range can be set according to actual needs, for example, it can be set to a straight-line distance of 5 kilometers, 10 kilometers or more. This operation information may include the type of charging and discharging pile (such as fast charging or slow charging), power, interface type, usage status (idle or occupied), cost, etc.
[0068] In one embodiment, before obtaining the operation information of at least one charging and discharging pile within a preset range from the vehicle when the vehicle meets the discharge condition, the method further includes:
[0069] determining an estimated parking duration for the vehicle;
[0070] Obtaining the current power of the vehicle;
[0071] When the estimated parking time is greater than or equal to the preset time, and the current power is greater than or equal to a first preset power threshold, it is determined that the vehicle meets the discharge condition.
[0072] First, the estimated parking duration of the vehicle can be predicted based on the vehicle's schedule, user input, or through applications associated with the vehicle (such as navigation applications, calendar applications, etc.). Secondly, the current power status of the vehicle is read through the vehicle's battery management system (BMS) or other power monitoring equipment. Then, the estimated parking duration and the current power are compared with the preset standards respectively. That is, only when the estimated parking duration of the vehicle is greater than or equal to the preset duration, and the current power is greater than or equal to the first preset power threshold, is the vehicle judged to meet the discharge conditions. If only one of them is met, or none of them is met, it is judged that the current vehicle does not meet the discharge conditions. Among them, the first preset power threshold can be a percentage of power or a specific value, and the first preset power threshold can be set based on the minimum discharge standard for the vehicle and the user's next itinerary.
[0073] For example, the preset duration is set to 2 hours, and the first preset power threshold is set to 60%. In this way, only when the vehicle is expected to be parked for more than 2 hours and the current vehicle power is higher than 60%, it is determined that the vehicle meets the discharge condition.
[0074] In one embodiment, determining the estimated parking time of the vehicle includes:
[0075] Obtaining the current status information of the vehicle; the status information includes at least one of time, power, location, and weather;
[0076] The state information is used as feature data and input into a prediction model to output an estimated parking time of the vehicle based on the prediction model; the prediction model is trained based on historical state information of the vehicle.
[0077] Among them, time is the current specific time or time period (such as morning rush hour, night, or weekdays, weekends, etc.). Power is the current remaining battery power or power percentage of the vehicle. Location is the current geographical location of the vehicle, which may include longitude and latitude, the city where it is located, or a specific address. Here, based on the specific location of the current vehicle, it is also possible to further determine the location attribute information of the vehicle, such as home, company, school, etc. Weather refers to the current weather conditions at the location of the vehicle, such as sunny, rainy, snowy, temperature and other environmental conditions. Here, the real-time status information of the vehicle can be collected separately by at least one sensor.
[0078] Optionally, before predicting the expected parking time of the vehicle through the prediction model, the prediction model must be trained and learned, specifically including: first, obtaining the historical status information of the vehicle within a preset time period, and removing and cleaning the acquired historical status information through an automated algorithm to improve data processing efficiency. At the same time, the cleaned historical status information is segmented and fused. Among them, data segmentation includes: segmenting the user's parking without charging behavior by vehicle status and charging status, and recording the start time, end time, start power, end power, parking longitude and latitude, whether it is a weekday, whether it is a weekend, parking time, outdoor temperature and other data of each parking without charging segment. Data fusion includes: other data of the associated vehicle, including: vehicle model, battery capacity, car purchase time, etc. Secondly, mark the parking time of the vehicle in the historical status information, that is, the interval information of the parking time of the vehicle can be set, and mark it accordingly based on the interval information corresponding to the parking time. For example, a parking time of more than 2 hours can be regarded as a long-term parking, marked as 1, and a parking time of less than 2 hours can be regarded as a short-term parking, marked as 0. Then, a data set is created based on the extracted feature data and the parking duration mark, and the data set is divided into 70% training set and 30% test set. Finally, a random forest or gradient boosting tree model is selected as the prediction model, and the selected prediction model is classified and trained based on the training set. Here, after the prediction model is trained, the performance of the prediction model is evaluated based on the test set, and the evaluation results are determined by evaluation indicators such as accuracy, recall, and F1 value.
[0079] In this way, the real-time status information of the user when parking is obtained, including at least one of time, power, location, and weather, and feature data is extracted from the obtained status information and input into the trained prediction model to predict the user's expected parking time, that is, the identification data of the parking time output by the prediction model is used to determine the expected parking time. For example, if the output is 0, it can be determined that the expected parking time of the vehicle is less than two hours. In this way, the prediction model can intelligently predict the parking time of the vehicle, improve the accuracy of predicting the parking time of the vehicle, and provide data support for the discharge management of the vehicle.
[0080] Step S102: determining a target charging and discharging pile from the at least one charging and discharging pile according to the operation information.
[0081] Optionally, if there is only one charging and discharging pile within the preset range of the current vehicle, it is determined whether the charging and discharging pile supports the discharge of the vehicle based on the operating information of the charging and discharging pile. If so, the charging and discharging pile can be determined as the target charging and discharging pile. If there are more than two charging and discharging piles within the preset range of the current vehicle, the operating information of the two or more charging and discharging piles can be compared and judged respectively to select the most suitable charging and discharging pile as the target charging and discharging pile. Here, when selecting the target charging and discharging pile, it can be selected based on the personalized needs of different users. Therefore, the target charging and discharging piles selected for different users may be different.
[0082] In one embodiment, the charging and discharging pile includes one of a first charging and discharging pile and a second charging and discharging pile; the operation information includes whether a fast charging mode is supported, location information, and whether the charging and discharging pile is in an idle state; and determining a target charging and discharging pile from the at least one charging and discharging pile according to the operation information includes:
[0083] According to the location information of the first charging and discharging pile, the distance between the first charging and discharging pile and the vehicle is determined, and the first charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the first charging and discharging pile supports the fast charging mode; and / or,
[0084] According to the location information of the second charging and discharging pile, the distance between the second charging and discharging pile and the vehicle is determined, and the second charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the second charging and discharging pile does not support the fast charging mode.
[0085] Optionally, among the at least one charging and discharging pile detected, at least one charging and discharging pile that supports the fast charging mode is determined, and the charging and discharging pile that supports the fast charging mode is determined as the first charging and discharging pile. Here, the accurate location information of the at least one first charging and discharging pile is obtained, and the actual distance between the vehicle and the at least one first charging and discharging pile is calculated by using the GPS positioning data of the vehicle and the location information of the at least one first charging and discharging pile. Based on the actual distance between the vehicle and each first charging and discharging pile, the at least one first charging and discharging pile is sorted from near to far, and the charging and discharging pile with the closest distance and in an idle state is selected as the target charging and discharging pile.
[0086] Optionally, if at least one detected charging and discharging pile does not support the fast charging module, the charging and discharging pile that does not support the fast charging mode is determined as the second charging and discharging pile. Here, the accurate location information of at least one second charging and discharging pile is obtained, and the GPS positioning data of the vehicle is used, combined with the location of at least one second charging and discharging pile, to calculate the actual distance between the vehicle and at least one second charging and discharging pile. Based on the actual distance between the vehicle and each second charging and discharging pile, at least one second charging and discharging pile is sorted from near to far, and the charging and discharging pile with the closest distance and in an idle state is selected as the target charging and discharging pile. It can be understood that if a charging and discharging pile that supports the fast charging mode is detected, the first charging and discharging pile that supports the fast charging mode is generally given priority as the target charging and discharging pile to save the discharge time of the vehicle. In this way, by analyzing and processing the operating information of the charging and discharging pile, the optimal target charging and discharging pile is provided to help users quickly find a suitable charging and discharging pile and discharge it, reducing the time and cost of the driver looking for the charging and discharging pile.
[0087] Step S103: performing a benefit analysis on the vehicle according to the operation information of the target charging and discharging pile and the current power level of the vehicle, and outputting the analysis result.
[0088] Optionally, after the benefit analysis of the vehicle's discharge behavior, a comprehensive summary is made based on the vehicle's discharge behavior to generate a detailed benefit analysis report. This report may include discharge cost, estimated mileage, discharge time, etc. At the same time, the benefit analysis report is presented to the user in the form of an intelligent terminal and a vehicle system to help the user make a decision on whether to discharge. Here, when outputting the benefit analysis report, it can be presented in the form of numbers, charts or graphics so that the owner can manage discharge more intuitively.
[0089] In one embodiment, the operation information includes electricity price information; and the profit analysis of the vehicle according to the operation information of the target charging and discharging pile and the current power of the vehicle includes:
[0090] Calculating the dischargeable power of the vehicle according to the current power of the vehicle and a second preset power threshold;
[0091] An estimated profit of the vehicle is calculated based on the electricity price data and the dischargeable amount of electricity.
[0092] First, the current power of the vehicle is obtained through the vehicle's battery management system (BMS), and the difference between the current power and the second preset power threshold is used as the dischargeable power of the vehicle. Among them, when setting the second preset power threshold, a safe power value can be set based on the user's next itinerary, or it can be set by the user himself. Secondly, the electricity price data when the vehicle is charging is obtained. Here, since the electricity price data may be in a real-time changing state, the corresponding discharge data can be determined based on the actual discharge time of the vehicle. Generally, the current actual electricity price can be used as the electricity price data when the vehicle is charging. Then, based on the product of the electricity price data and the dischargeable power of the vehicle, the expected benefit value of the vehicle's discharge behavior is determined.
[0093] In one embodiment, the operation information includes discharge power; and the method further includes:
[0094] The estimated discharge time of the vehicle is calculated based on the discharge power and the dischargeable amount of electricity. Optionally, the discharge power of the target charging and discharging pile is determined, and the estimated discharge time of the vehicle is determined based on the difference between the dischargeable amount of electricity and the discharge power of the vehicle, which can be expressed by the formula: estimated discharge time = dischargeable amount of electricity / discharge power. Among them, the dischargeable amount of electricity is in kilowatt-hours (kWh), the discharge power is in kilowatts (kW), and the estimated discharge time is in hours (h).
[0095] For example, assuming that the discharge power of the target charging and discharging pile is 15kW, and the current dischargeable power of the vehicle is 15kWh, the estimated discharge time of the vehicle is calculated as 15kWh / 15kW=1h. This means that at a discharge power of 15kW, the vehicle can continue to discharge to the grid for about 1 hour until the power drops to a second preset power threshold.
[0096] In summary, in the vehicle discharge management method provided in the above embodiment, the target charging and discharging pile is determined according to the operation information of the charging and discharging piles within a preset range around the vehicle, and the benefit analysis is performed based on the current vehicle discharge, which helps users to manage discharge and improve user experience.
[0097] Based on the same inventive concept as the aforementioned embodiments, the discharge management method for a vehicle provided by the present application is described in detail below through a specific example.
[0098] like Figure 2 As shown, in order to overcome the inability of existing technologies to effectively mobilize users' enthusiasm for participation, the present invention uses machine learning technology to learn user behavior patterns, find out high-potential users participating in V2G, and combines personalized user interfaces to improve user experience and promote the popularization and efficient management of V2G technology. Specifically, the following steps are included:
[0099] Step S201: Data collection and integration.
[0100] Optionally, the signal data uploaded by TBOX (Telematics BOX, vehicle-mounted intelligent terminal) is collected in real time at a frame rate of one second. The signal data includes: vehicle ID, collection time, vehicle status, charging status, cumulative mileage, battery power, longitude, latitude, outdoor temperature and other fields.
[0101] Optionally, real-time collection of operation information of charging and discharging piles within a preset range of the vehicle's location, including the latitude and longitude of the charging and discharging piles, time-of-use electricity prices, whether they are idle, whether they support fast or slow charging, system power, etc. At the same time, access to time-of-use electricity price data of various provinces and cities is used for subsequent calculation of revenue.
[0102] Step S202: data preprocessing.
[0103] First, we use automated algorithms to remove duplicate data and clean it to improve data processing efficiency. Then, we segment the user's parking behavior based on the vehicle status and charging status, and record the start time, end time, start power, end power, parking latitude and longitude, whether it is a weekday, whether it is a weekend, parking duration, outdoor temperature and other data of each parking segment. Finally, we associate other vehicle data, including: vehicle model, battery capacity, and vehicle purchase time.
[0104] Step S203: perform feature identification.
[0105] Optionally, the parking time of the vehicle can be characterized based on preset identification rules. For example, a parking time of more than 2 hours is regarded as long-term parking and marked as 1, and a parking time of less than 2 hours is regarded as short-term parking and marked as 0.
[0106] Step S204: training and evaluation of the prediction model.
[0107] Optionally, create a dataset with the extracted features and labels. Here, the dataset can be divided into 70% training set and 30% test set. Select a random forest or gradient boosted tree model as the prediction model, and perform classification training on the selected prediction model based on the training set. After training the model, use an independent test set to evaluate the performance of the model, and evaluate the results through evaluation indicators such as accuracy, recall, and F1 value.
[0108] Step S205: Determine the discharge condition.
[0109] Optionally, if it is predicted that the user will park for a long time, the remaining battery power is checked; if the remaining power is higher than 50%, it is judged that there is potential for discharge, and it is determined that the current vehicle meets the discharge conditions.
[0110] Step S206: Determine a discharge plan.
[0111] Optionally, personalized V2G participation suggestions can be pushed to users who meet the prerequisites through the relevant APP of the smart terminal or the vehicle system, that is, the optimal discharge plan is calculated based on the vehicle's current charging status, geographic location information and real-time electricity price, combined with the location, idle status, whether fast charging is supported, and system power of the surrounding charging and discharging piles, including at least one of the following: if the vehicle is near the charging and discharging pile, and the charging and discharging pile supports the fast charging mode, the charging and discharging pile in the fast charging mode is given priority for discharge; in the absence of fast charging mode, the nearest charging and discharging pile that supports discharge is selected for discharge.
[0112] Here, after determining the location and method of discharge, the optimal time of discharge can also be calculated, combined with the current electricity price, to maximize the discharge benefits.
[0113] Step S207: Discharge benefit analysis.
[0114] Optionally, based on the current state of the vehicle, the remaining power and the real-time electricity price, a discharge benefit analysis is performed to calculate the expected benefits of the user after participating in V2G. Here, a discharge benefit report can also be generated based on the vehicle's dischargeable capacity, discharge duration, and benefit amount, and the accumulated benefits of long-term participation in V2G can be displayed in a visualized form of charts to help users understand and recognize the economic value of V2G.
[0115] Step S208: Push and remind.
[0116] Optionally, personalized V2G participation suggestions can be pushed to users who meet the preconditions through smart terminal APP or vehicle-mounted system. At the same time, data of the nearest discharge piles, expected benefits, and battery power after discharge can also be pushed to users.
[0117] Step S209: Real-time feedback and optimization.
[0118] Optionally, a real-time feedback mechanism is introduced to continuously optimize the model based on actual user usage. The discharge plan and reminder strategy are dynamically adjusted to improve the intelligence and adaptability of discharge management. Here, the battery status can also be monitored in real time, and scientific charging and discharging suggestions can be provided in combination with battery performance data and user usage habits, as well as battery health status reports to extend battery life.
[0119] In summary, in the vehicle discharge management method provided in the above embodiment, the target charging and discharging pile is determined according to the operation information of the charging and discharging piles within a preset range around the vehicle, and the benefit analysis is performed based on the current vehicle discharge, which helps users to manage discharge and improve user experience.
[0120] Based on the same inventive concept as the aforementioned embodiments, the discharge management method for a vehicle provided by the present application is described in detail below through a specific example.
[0121] 1. Data collection and integration:
[0122] 1. Assume that user A's vehicle uploads the following data every day through TBOX, including:
[0123] Vehicle ID: A123456; acquisition time: 1 frame per second; vehicle status: driving, parked, etc.; charging status: not charged, charging, charging completed, etc.; accumulated mileage; battery power; longitude, latitude; outdoor temperature.
[0124] 2. Collect data from V2G charging and discharging piles, including:
[0125] Charging and discharging pile ID, longitude and latitude, whether fast charging is supported, and system power.
[0126] 3. Access local time-of-use electricity price data, including:
[0127] Peak period: 8:00-11:00, 18:00-21:00, 1 Yuan / kWh; low period: 23:00-6:00, 0.5 Yuan / kWh.
[0128] 2. Data preprocessing:
[0129] The data is deduplicated and cleaned, and the user's parking but not charging behavior is segmented by vehicle status and charging status. The start time, end time, start power, end power, parking longitude and latitude, whether it is a weekday, whether it is a weekend, parking duration, outdoor temperature and other data of each parking but not charging segment are recorded.
[0130] 3. Perform feature identification:
[0131] The parking time of more than 2 hours is marked as 1, and the parking time of less than 2 hours is marked as 0, and the following features are extracted for the parking but not charging segment:
[0132] Start time, start power, parking latitude and longitude, whether it is a weekday, whether it is a weekend, and outdoor temperature.
[0133] 4. Training and evaluation of prediction models:
[0134] Use historical data for model training and evaluation, select the random forest model, and obtain the following evaluation indicators through training and testing: accuracy: 90%, recall rate: 85%, F1 value: 87%.
[0135] 5. Determination of discharge conditions:
[0136] 1. Real-time prediction of whether user A parks for a long time. The input features are:
[0137] Start time: 18:00; Start power: 75%; Parking latitude and longitude: user's home; Is it a weekday: Yes; Is it a weekend: No; Outdoor temperature: 25℃.
[0138] The prediction result of the prediction model is determined to be: the user will park for a long time (>0.5).
[0139] 2. Conditional judgment:
[0140] It is predicted that the user will park for a long time, and the remaining battery power is 75%, which is higher than 50%, meeting the discharge conditions and has the potential to participate in discharge.
[0141] 6. Determine the discharge plan:
[0142] 1. Collect data from the nearest charging and discharging piles, including:
[0143] Charging and discharging pile ID: P789; longitude and latitude: near the user's home; whether it is idle: idle; whether it supports fast charging: supported.
[0144] 2. Combine the charging and discharging pile data and electricity price information to calculate the optimal discharge plan, including:
[0145] Discharge location: charging and discharging station P789 near the user's home; discharge method: fast charging mode; discharge time: peak period (18:00-21:00) to maximize discharge benefits.
[0146] 7. Discharge benefit analysis:
[0147] Calculate discharge time and revenue:
[0148] Dischargeable capacity: 75%-50%=25%*battery capacity (60 degrees)=15 degrees; V2G charging and discharging pile discharge power: 15kW; discharge time: 15kWh / 15kW=1 hour; income amount: 15 degrees*1 yuan / degree=15 yuan.
[0149] 8. Push notifications and reminders:
[0150] Push personalized V2G participation suggestions to user A via mobile APP or smart cockpit:
[0151] Reminder: You can discharge the battery for 1 hour at the P789 charging and discharging station near your home between 18:00 and 21:00. The estimated profit is 15 yuan, and the remaining power after discharge is 50%.
[0152] 9. Real-time feedback and optimization:
[0153] 1. According to the actual discharge situation of user A, the model is continuously optimized to improve the intelligence and adaptability of the model.
[0154] 2. Monitor the battery status of user A in real time and provide charging and discharging suggestions based on the user's usage habits, for example: Suggestion content: To extend battery life, please avoid long-term discharge at high temperature.
[0155] Based on the same inventive concept as the above embodiments, refer to Figure 3 The present application provides a vehicle discharge management device, the device comprising:
[0156] An acquisition module, used for acquiring operation information of at least one charging and discharging pile within a preset range from the vehicle when the vehicle meets the discharge condition;
[0157] A processing module, configured to determine a target charging and discharging pile from the at least one charging and discharging pile according to the operation information;
[0158] The analysis module is used to perform a benefit analysis on the vehicle according to the operation information of the target charging and discharging pile and the current power of the vehicle, and output the analysis result.
[0159] In one embodiment, the device further includes a determination module, configured to:
[0160] determining an estimated parking duration for the vehicle;
[0161] Obtaining the current power of the vehicle;
[0162] When the estimated parking time is greater than or equal to the preset time, and the current power is greater than or equal to a first preset power threshold, it is determined that the vehicle meets the discharge condition.
[0163] In one implementation, the determination module is further configured to:
[0164] Obtaining the current status information of the vehicle; the status information includes at least one of time, power, location, and weather;
[0165] The state information is used as feature data and input into a prediction model to output an estimated parking time of the vehicle based on the prediction model; the prediction model is trained based on historical state information of the vehicle.
[0166] In one embodiment, the charging and discharging pile includes one of a first charging and discharging pile and a second charging and discharging pile; the operation information includes whether the fast charging mode is supported, the location information and whether it is in an idle state; the processing module is used to:
[0167] According to the location information of the first charging and discharging pile, the distance between the first charging and discharging pile and the vehicle is determined, and the first charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the first charging and discharging pile supports the fast charging mode; and / or,
[0168] According to the location information of the second charging and discharging pile, the distance between the second charging and discharging pile and the vehicle is determined, and the second charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the second charging and discharging pile does not support the fast charging mode.
[0169] In one embodiment, the analysis module is used to:
[0170] Calculating the dischargeable power of the vehicle according to the current power of the vehicle and a second preset power threshold;
[0171] An estimated profit of the vehicle is calculated based on the electricity price data and the dischargeable amount of electricity.
[0172] In one embodiment, the analysis module is used to:
[0173] An estimated discharge duration of the vehicle is calculated according to the discharge power and the dischargeable amount of electricity.
[0174] In one embodiment, the device further comprises a prompt module, which is used to:
[0175] When the vehicle is discharging, the battery status of the vehicle is detected in real time, and when the battery level of the vehicle is lower than a second battery level threshold, a battery level prompt is output.
[0176] The specific definition of the discharge management device of the vehicle can be found in the definition of the discharge management method of the vehicle above, which will not be repeated here. Each module in the above-mentioned discharge management device of the vehicle can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the electronic device in the form of hardware, or can be stored in the memory of the electronic device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0177] Based on the same inventive concept as the above embodiments, an embodiment of the present invention provides an electronic device, such as Figure 4 As shown, the electronic device includes: a processor 310 and a memory 311 storing a computer program; wherein, Figure 4 The processor 310 shown in the figure is not used to indicate that the number of the processor 310 is one, but is only used to indicate the positional relationship of the processor 310 relative to other devices. In actual applications, the number of the processor 310 may be one or more; similarly, Figure 4 The memory 311 shown in the figure has the same meaning, that is, it is only used to refer to the position relationship of the memory 311 relative to other devices. In practical applications, the number of memories 311 can be one or more. When the processor 310 runs the computer program, the above-mentioned vehicle discharge management method is implemented.
[0178] The electronic device may also include: at least one network interface 312. The various components in the electronic device are coupled together via a bus system 313. It is understood that the bus system 313 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, the bus system 313 is not used in the following examples. Figure 4 Various buses are labeled as bus system 313.
[0179] The memory 311 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 311 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.
[0180] The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the electronic device. Examples of these data include: any computer program used to operate on the electronic device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player, a browser, etc., for implementing various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.
[0181] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer-readable storage medium, in which a computer program is stored. The computer-readable storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); it may also be various devices including one or any combination of the above memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer-readable storage medium is executed by the processor, the discharge management method of the vehicle applied to the above-mentioned electronic device is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 1 The description of the illustrated embodiment will not be repeated here.
[0182] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described 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.
[0183] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.
[0184] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A discharge management method for a vehicle, characterized in that: include: When the vehicle meets the discharge condition, obtaining the operation information of at least one charging and discharging pile within a preset range from the vehicle; Determine a target charging and discharging pile from the at least one charging and discharging pile according to the operation information; According to the operation information of the target charging and discharging pile and the current power of the vehicle, a profit analysis is performed on the vehicle, and the analysis result is output.
2. The method according to claim 1, characterized in that Before obtaining the operation information of at least one charging and discharging pile within a preset range from the vehicle when the vehicle meets the discharge condition, the method further includes: determining an estimated parking duration for the vehicle; Obtaining the current power of the vehicle; When the estimated parking time is greater than or equal to the preset time, and the current power is greater than or equal to a first preset power threshold, it is determined that the vehicle meets the discharge condition.
3. The method according to claim 2, characterized in that The determining the estimated parking time of the vehicle includes: Obtaining the current status information of the vehicle; the status information includes at least one of time, power, location, and weather; The state information is used as feature data and input into a prediction model to output an estimated parking time of the vehicle based on the prediction model; the prediction model is trained based on historical state information of the vehicle.
4. The method according to claim 1, characterized in that The charging and discharging pile includes one of a first charging and discharging pile and a second charging and discharging pile; the operation information includes whether a fast charging mode is supported, location information, and whether the charging and discharging pile is in an idle state; and determining a target charging and discharging pile from the at least one charging and discharging pile according to the operation information includes: According to the location information of the first charging and discharging pile, the distance between the first charging and discharging pile and the vehicle is determined, and the first charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the first charging and discharging pile supports the fast charging mode; and / or, According to the location information of the second charging and discharging pile, the distance between the second charging and discharging pile and the vehicle is determined, and the second charging and discharging pile that is closest and idle is used as the target charging and discharging pile; the second charging and discharging pile does not support the fast charging mode.
5. The method according to claim 1, characterized in that The operation information includes electricity price information; the profit analysis of the vehicle is performed according to the operation information of the target charging and discharging pile and the current power of the vehicle, including: Calculating the dischargeable power of the vehicle according to the current power of the vehicle and a second preset power threshold; An estimated profit of the vehicle is calculated based on the electricity price data and the dischargeable amount of electricity.
6. The method according to claim 5, characterized in that The operation information includes discharge power; the method further includes: An estimated discharge duration of the vehicle is calculated according to the discharge power and the dischargeable amount of electricity.
7. The method according to claim 1, characterized in that The method further comprises: When the vehicle is discharging, the battery status of the vehicle is detected in real time, and when the battery level of the vehicle is lower than a second battery level threshold, a battery level prompt is output.
8. A vehicle discharge management device, characterized in that: The device comprises: An acquisition module, used to acquire operation information of at least one charging and discharging pile within a preset range from the vehicle when the vehicle meets the discharge condition; A processing module, configured to determine a target charging and discharging pile from the at least one charging and discharging pile according to the operation information; The analysis module is used to perform a benefit analysis on the vehicle according to the operation information of the target charging and discharging pile and the current power of the vehicle, and output the analysis result.
9. An electronic device, characterized in that: include: A processor and a memory for storing executable instructions; wherein the processor is configured to execute the instructions to implement the discharge management method for a vehicle as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor, the discharge management method for a vehicle as claimed in any one of claims 1 to 7 is implemented.
