A method, device, electronic device and storage medium for charging pile allocation
By receiving the user's vehicle reservation request and analyzing the charging pile reservation situation, determining whether the vehicle can reach the next service area and generating appropriate reservation information, solving the problem of unbalanced reservation of the charging pile, and improving the charging experience and resource utilization rate.
Patent Information
- Application Number
- CN202411058658.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-02
- Publication Date
- 2025-07-08
- Estimated Expiration
- 2044-08-02
AI Technical Summary
Uneven reservations for charging piles lead to low utilization efficiency of charging piles. Some charging piles have too many reservations and wait for a long time, while others have few reservations and resources are not fully utilized.
By receiving the user's vehicle reservation request, obtaining vehicle information and itinerary information, analyzing the charging pile reservation situation, determining whether the vehicle can reach the next service area, generating information on success or failure of the reservation, and recommending appropriate charging pile reservations to optimize resource allocation.
It improves the user's charging experience and the resource utilization rate of charging piles, reduces waiting time, and optimizes the efficiency of the charging network.
Smart Images

Figure CN118941042B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of charging piles, and in particular, to a method, device, electronic device, and storage medium for allocating charging piles. Background Art
[0002] With the development of new energy vehicles, more and more people begin to purchase new energy vehicles. And with the widespread establishment of charging piles, it has become increasingly common to drive a new energy vehicle on a long-distance trip. Generally, users will plan the charging route and charging points to ensure that the vehicle has sufficient power. During high-speed driving, users will choose a nearby service area to charge the vehicle based on the remaining power of the new energy vehicle they are driving. Generally, before driving to the service area, users will make a reservation for a charging pile in an online reservation method so that when they arrive at the service area, they can use the reserved charging pile for charging.
[0003] However, during peak travel periods, the charging demand for new energy vehicles surges. The mode of independent reservation of charging piles by vehicle owners may lead to uneven distribution of the number of reservations. Some charging piles have too many reservation people and long waiting times in line, while some charging piles have few reservation people and the resources are not fully utilized. Summary of the Invention
[0004] In order to solve the problem of low utilization efficiency of charging piles caused by uneven reservation of charging piles, the present application provides a method, device, electronic device, and storage medium for allocating charging piles.
[0005] In a first aspect, the present application provides a method for allocating charging piles, adopting the following technical solution:
[0006] A method for allocating charging piles includes:
[0007] Receiving a reservation request for a charging pile in a first target service area sent by a user vehicle;
[0008] Obtaining vehicle information and travel information of the user vehicle, where the vehicle information includes the vehicle position and remaining power of the user vehicle, and the travel information includes the driving distance and power change curve of the user vehicle;
[0009] Obtaining reservation information of charging piles in the first target service area, where the reservation information includes the reserved quantity of each charging pile, and determining the total reserved quantity;
[0010] If the total reserved quantity is greater than a first threshold, then based on the vehicle information and the travel information, determining whether the user vehicle can reach a second target service area, where the second target service area is the next service area of the first target service area in the driving direction of the user vehicle;
[0011] If it is determined that the user vehicle cannot reach the second target service area, a successful reservation instruction for the charging piles in the first target service area is generated and the successful reservation instruction is fed back to the user vehicle;
[0012] If it is determined that the user vehicle can reach the second target service area, a reservation failure message and a recommended reservation message for the charging piles in the second target service area are generated, and the reservation failure message and the recommended reservation message are fed back to the user vehicle.
[0013] By adopting the above technical solution, a reservation request for the first target service area sent by the user vehicle is received, the vehicle position and the remaining power of the user vehicle are obtained, the reservation situation of the charging piles in the first target service area is analyzed. When the total reserved amount of the charging piles reaches a certain value, based on the vehicle position and the remaining power of the user vehicle, it is judged whether the vehicle can reach the next service area after the first target service area, that is, the second target service area. If the user vehicle cannot reach the second target service area, a reservation information for the first target service area is generated; if the user vehicle can reach the second target service area, a reservation failure and a recommended reservation information for the second target service area are generated, so that the user can go to the second target service area for charging instead of waiting in the first target service area, improving the user's charging experience and the resource utilization rate of the charging piles.
[0014] In a possible implementation manner, the determining whether the user vehicle can reach the second target service area based on the vehicle information and the itinerary information includes:
[0015] Based on the driving distance and power change curve, determine the initial predicted driving distance of the user vehicle;
[0016] Obtain the traffic flow information and environmental information of the vehicle position;
[0017] Based on the initial predicted driving distance, the traffic flow information and the environmental information, determine the predicted driving distance of the user vehicle;
[0018] Based on the vehicle position and the position of the second target service area, determine the target distance between the user vehicle and the second target service area;
[0019] Based on the predicted driving distance and the target distance, judge whether the user vehicle can reach the second target service area.
[0020] By adopting the above technical solution, by comprehensively considering the remaining power of the vehicle, the driving distance, the traffic flow information, and the environmental information, not only the power status of the vehicle itself is considered, but also the influence of external factors such as traffic flow information and environmental information on the driving distance is taken into account, so that the drivable distance of the vehicle can be predicted more accurately, the prediction accuracy is improved, and it is judged whether the user's vehicle can reach the second target service area. If the judgment result shows that the vehicle cannot reach, the user can adjust the itinerary in time to avoid the itinerary being interrupted due to the power running out halfway, thereby improving the user's charging experience on the highway.
[0021] In a possible implementation manner, the vehicle information further includes license plate number information, and the method further includes:
[0022] Based on the traffic flow information, the environmental information, and the remaining power, predict the time range when the user's vehicle arrives at the reserved service area, where the reserved service area is the service area corresponding to the successful reservation of the user's vehicle;
[0023] Perform license plate number recognition on the vehicles arriving at the reserved service area. If the license plate number information is not recognized within the time range, cancel the reservation of the user's vehicle.
[0024] By adopting the above technical solution, based on the traffic flow information, the environmental information, and the remaining power at the vehicle location, predict the arrival time range when the user's vehicle arrives at the reserved service area. Within this time range, determine whether the license plate number information corresponding to the user's vehicle is recognized. If the license plate number information corresponding to the user's vehicle is not recognized, cancel the reservation of the user's vehicle to avoid the reservation occupation of the charging pile by the user's vehicle, which may cause inconvenience to the subsequent vehicle reservations.
[0025] In a possible implementation manner, generating recommended reservation information for the charging piles in the second target service area includes:
[0026] Obtain the reservation information of the charging piles in the second target service area, and determine the total reserved quantity of the second target service area;
[0027] Judge whether the total reserved quantity of the charging piles in the second target service area is greater than a second threshold;
[0028] If the total reserved quantity of the charging piles in the second target service area is not greater than the second threshold, generate recommended reservation information for the charging piles in the second target service area based on the charging pile information of the second target service area.
[0029] By adopting the above technical solution, when the total reserved quantity of charging piles in the second target service area is not greater than the second threshold, recommended reservation information for the charging piles in the second target service area is generated, so that the user vehicle can wait for a shorter charging time in the second target service area.
[0030] In a possible implementation manner, the charging pile information includes the current battery level of each vehicle reserving a charging pile. The generating of the recommended reservation information for the charging piles in the second target service area includes:
[0031] Determine the remaining charging duration of each charging pile in the second target service area, where the remaining charging duration is the duration required for the current charging vehicle to be fully charged;
[0032] Based on the remaining charging duration and the reserved quantity of a target charging pile in the second target service area, determine the waiting duration corresponding to the target charging pile, and construct a duration matrix including the waiting durations of each charging pile in the second target service area, where the target charging pile is any charging pile in the second target service area;
[0033] Input the duration matrix into a trained target model for vector feature extraction, obtain the recommended charging piles in the second target service area as the output, and generate recommended reservation information for the recommended charging piles in the second target service area.
[0034] By adopting the above technical solution, by determining the remaining charging duration of each charging pile, this solution can effectively evaluate the current usage situation of each charging pile. For those charging piles with a shorter remaining charging duration, it may mean that the vehicles connected to them are about to complete charging, so they can be used by other vehicles more quickly, which helps to guide vehicles to choose charging piles with high charging efficiency, reduce waiting time, and thus improve the efficiency of the entire charging process. The duration matrix constructed based on the remaining charging duration and the reserved quantity of charging piles can comprehensively reflect the current status and future usage situation of each charging pile. By inputting such a matrix into the target model, the system can intelligently select those charging piles that can not only meet the current needs but also take into account future reservations. This helps to avoid the situation where some charging piles are too busy while others are idle, thereby optimizing the resource allocation of the entire charging network.
[0035] In a possible implementation manner, the charging pile information further includes the output power. The determining of the remaining charging duration of each charging pile in the second target service area includes:
[0036] Obtain the output power of the target charging pile, as well as the battery rated capacity, the number of charge and discharge cycles of the battery, and the current battery level of the current charging vehicle corresponding to the target charging pile;
[0037] Based on Formula 1: , calculate the waiting charging duration of the target charging pile;
[0038] Among them, T is the waiting charging duration, S1 is the rated battery capacity, S2 is the current battery level, C1 is the current battery capacity, K1 is a constant, and P is the output power of the target charging pile;
[0039] Based on Formula 2: , calculate the current battery capacity of the current charging vehicle;
[0040] Among them, C1 is the current battery capacity, C2 is the rated battery capacity, e is the base of the natural logarithm, N is the number of charge and discharge cycles of the battery, and K2 is a constant.
[0041] By adopting the above technical solution, combining the rated battery capacity, target battery level, output power of the charging pile, and current battery level of the vehicle, calculate the waiting charging duration of each vehicle, and by introducing the rated battery capacity of the vehicle and the number of charge and discharge cycles of the battery, more accurately evaluate the current state of the vehicle battery, so as to more accurately calculate the waiting charging duration of the charging pile, which helps to reduce the problem of too long or too short charging time caused by estimation errors and improves the reliability of the charging service.
[0042] In a possible implementation manner, the constructing a duration matrix including the waiting durations of each charging pile in the second target service area includes:
[0043] Obtain the historical charging information of each reserved vehicle of the target charging pile, where the historical charging information is the required duration for full charge corresponding to different current battery levels and the output power of the charging pile connected during charging;
[0044] Based on the output power of the target charging pile, select the historical charging information with the same output power as the target charging pile from the historical charging information of each reserved vehicle to obtain the target historical charging information of each reserved vehicle;
[0045] Based on the reserved number of each charging pile in the second target service area, analyze the target historical charging information of each reserved vehicle to determine the historical charging duration sequence of each reserved vehicle, so as to obtain the historical charging duration sequence of each reserved vehicle of each charging pile;
[0046] Based on the remaining battery levels of each reserved vehicle of each charging pile, determine the remaining battery level sequence corresponding to each charging pile;
[0047] Based on the historical charging duration sequence of each reserved vehicle of each charging pile and the remaining battery level sequence corresponding to each charging pile, construct the historical charging duration matrix of each charging pile;
[0048] Perform data processing on the historical charging duration matrix of each charging pile to obtain the predicted duration sequence of each charging pile;
[0049] Based on the predicted duration sequence of each charging pile and the duration to be charged, determine the waiting duration sequence of each charging pile, and construct a duration matrix including the waiting duration of each charging pile in the second target service area.
[0050] By adopting the above technical solution, by obtaining the historical charging information of each reserved vehicle for each charging pile, including the charging duration and output power corresponding to different remaining battery levels, this solution can more accurately predict the charging efficiency and usage of each charging pile. This prediction method based on historical data is more reliable than simply relying on the current state or theoretical model, can effectively reduce prediction errors, and by constructing the historical charging duration matrix of each charging pile and performing data processing on this matrix, the waiting duration sequence of each charging pile can be predicted, which helps to improve the utilization rate of charging piles, avoid overuse or idleness of charging piles, and thus improve the efficiency of the entire charging network.
[0051] In a second aspect, the present application provides a charging pile allocation device, adopting the following technical solution:
[0052] A charging pile allocation device includes:
[0053] A receiving module, configured to receive a reservation request for a charging pile in the first target service area sent by a user vehicle;
[0054] A first acquisition module, configured to acquire the vehicle information and travel information of the user vehicle, where the vehicle information includes the vehicle position and remaining battery level of the user vehicle, and the travel information includes the driving distance and power change curve of the user vehicle;
[0055] A second acquisition module, configured to acquire the reservation information of the charging piles in the first target service area, where the reservation information includes the reserved quantity of each charging pile, and determine the total reserved quantity;
[0056] A determination module, configured to, if the total reserved quantity is greater than a first threshold, based on the vehicle information and the travel information, determine whether the user vehicle can reach a second target service area, where the second target service area is the next service area of the first target service area in the driving direction of the user vehicle;
[0057] A first generation module, configured to, if it is determined that the user vehicle cannot reach the second target service area, generate a reservation success instruction for the charging piles in the first target service area, and feedback the reservation success instruction to the user vehicle;
[0058] A second generation module, configured to generate a reservation failure message and a recommended reservation message for charging piles in the second target service area if it is determined that the user vehicle can reach the second target service area, and feedback the reservation failure message and the recommended reservation message to the user vehicle.
[0059] In a third aspect, the present application provides an electronic device, adopting the following technical solution:
[0060] An electronic device, comprising:
[0061] At least one processor;
[0062] A memory;
[0063] At least one application program, wherein at least one application program is stored in the memory and configured to be executed by at least one processor, and the at least one application program is configured to: execute the charging pile allocation method described in the first aspect above.
[0064] In a fourth aspect, the present application provides a computer-readable storage medium, adopting the following technical solution:
[0065] A computer-readable storage medium, comprising: a computer program stored with the ability to be loaded and executed by a processor to execute the charging pile allocation method described in the first aspect above.
[0066] In summary, the present application includes the following beneficial technical effects: receiving a reservation request for the first target service area sent by the user vehicle, obtaining the vehicle position and remaining power of the user vehicle, analyzing the reservation situation of the charging piles in the first target service area, when the total reserved amount of the charging piles reaches a certain value, based on the vehicle position and remaining power of the user vehicle, determining whether the vehicle can reach the next service area after the first target service area, that is, the second target service area, if the user vehicle cannot reach the second target service area, generating a reservation message for the first target service area; if the user vehicle can reach the second target service area, generating a reservation failure and a recommended reservation message for the second target service area, so that the user can go to the second target service area for charging instead of waiting in the first target service area, improving the user's charging experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 is a flowchart of a charging pile allocation method provided by an embodiment of the present application;
[0068] Figure 2 is a schematic diagram of the second target service area provided by an embodiment of the present application;
[0069] Figure 3 is a flowchart of a charging pile allocation method provided by another embodiment of the present application;
[0070] Figure 4 It is a block diagram of a charging pile allocation device provided by an embodiment of the present application;
[0071] Figure 5 It is a schematic diagram of an electronic device according to an embodiment of the present application. Detailed implementation manners
[0072] The following will further describe the present application in detail with reference to the appended Figure 1 - appended Figure 5 drawings.
[0073] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0074] References to "one embodiment" or "some embodiments" etc. described in the specification of the present application mean that specific features, structures, or characteristics described in connection with the embodiment are included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. appearing in different places in this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "comprising", "including", "having", and their variants all mean "including but not limited to", unless otherwise specifically emphasized in another way.
[0075] With the development of new energy vehicles, more and more people start to buy new energy vehicles. And with the widespread establishment of charging piles, it has become increasingly common to drive new energy vehicles on long-distance trips. Generally, users will plan their charging routes and charging points to ensure that the vehicle has sufficient power. During high-speed driving, users will choose a nearby service area to charge the vehicle based on the remaining power of the new energy vehicle they are driving. The distance between every two adjacent service areas equipped with charging piles is generally 20 km - 60 km. Before driving to the service area, users generally make an online reservation for the charging pile so that they can use the reserved charging pile to charge when they arrive at the service area. However, with the surging charging demand for new energy vehicles, the mode of owners independently reserving charging piles may lead to uneven distribution of the number of reservation people. Some charging piles have too many reservation people and long queuing waiting times, while some charging piles have few reservation people and the resources are not fully utilized.
[0076] In view of this, an embodiment of the present application provides a charging pile allocation method. By receiving a reservation request for a first target service area sent by a user vehicle, obtaining the vehicle position and remaining power of the user vehicle, analyzing the reservation situation of the charging piles in the first target service area, when the total reserved amount of the charging piles reaches a certain value, based on the vehicle position and remaining power of the user vehicle, it is determined whether the vehicle can reach the next service area after the first target service area, that is, the second target service area. If the user vehicle cannot reach the second target service area, reservation information for the first target service area is generated; if the user vehicle can reach the second target service area, reservation failure and recommended reservation information for the second target service area are generated, so that the user can go to the second target service area for charging instead of waiting in the first target service area, thereby improving the user's charging experience and the resource utilization rate of the charging piles.
[0077] See Figure 1 , an embodiment of the present application provides a charging pile allocation method, which is executed by an electronic device. The method includes:
[0078] Step S101: Receive a reservation request for a charging pile in the first target service area sent by the user vehicle.
[0079] Specifically, when the user is driving the vehicle on the highway, based on the remaining power of the current vehicle, it is determined whether charging is required. When the user feels that charging is required, generally, the service area closest to the current position of the user vehicle in the driving direction is selected on the mobile phone or in-vehicle device, that is, the reservation of the charging pile in the first target service area. At this time, the electronic device will receive the reservation request for the charging pile in the first target service area sent by the user vehicle.
[0080] Step S102: Obtain the vehicle information and itinerary information of the user vehicle.
[0081] Among them, the vehicle information includes the current vehicle position and the current remaining power at the current moment of the vehicle, and the itinerary information includes the driving distance and the power change curve of the user vehicle. In the driving distance and the power change curve, the abscissa represents the driving distance, and the ordinate represents the change of the remaining power with the driving distance, or the ordinate represents the driving distance, and the abscissa represents the change of the remaining power with the driving distance.
[0082] Step S103: Obtain the reservation information of the charging piles in the first target service area.
[0083] Specifically, after receiving a reservation request for a charging pile in the first target service area, the usage status and reservation information of each charging pile in the first target service area at the current moment can be obtained. The usage status of the charging pile indicates whether it is currently charging a vehicle. The reservation information includes the initial reserved quantity of each charging pile. For example, if the initial reserved quantity of a charging pile is 2, it means that there are 2 vehicles reserved for this charging pile but have not started charging yet. When the charging pile is idle, the initial reserved quantity of this charging pile is used as the reserved quantity. When the charging pile is charging a vehicle, the sum of the initial reserved quantity of this charging pile and 1 is used as the reserved quantity.
[0084] Furthermore, calculate the sum of the reserved quantities of all charging piles in the first target service area as the total reserved quantity corresponding to the first target service area.
[0085] Step S104: If the total reserved quantity is greater than the first threshold, determine whether the user's vehicle can reach the second target service area based on the vehicle information and travel information.
[0086] Among them, the first threshold is obtained based on the total number of charging piles in the first target service area. The first threshold is a value not greater than the total number of charging piles, which can be 80% of the total number of charging piles or 90% of the total number of charging piles. In this regard, the embodiments of the present application do not limit it. Refer to Figure 2 The second target service area is the next service area of the first target service area in the driving direction of the user's vehicle, and the second target service area is equipped with charging piles.
[0087] Since the number of charging piles in each service area is limited, when the total reserved quantity of the charging piles reaches the first threshold, it indicates that vehicles entering the first target service area for charging later may need to queue. Since most car owners have range anxiety, generally, when the remaining battery power of the vehicle is still relatively high, they will choose a nearby service area for charging. In this way, there will be more vehicles concentrated in the service areas closer to the front in the traffic direction. Generally, the distance between two adjacent service areas equipped with charging piles is generally 20 km - 60 km.
[0088] In a possible scenario, when the total number of reserved charging piles in the first target service area is not greater than the first threshold, a reservation success instruction for the charging piles in the first target service area can be generated and the reservation success instruction can be fed back to the user vehicle. In another possible scenario, when the total number of reserved charging piles in the first target service area is greater than the first threshold, it can be determined whether the user vehicle can reach the second target service area. If the user vehicle cannot reach the second target service area, a reservation success instruction for the charging piles in the first target service area is generated; if the user vehicle can reach the second target service area, a reservation failure message for the charging piles in the first target service area and a reservation success message for the charging piles in the second target service area are generated.
[0089] Further, multiple preset conditions can be set. When the user vehicle meets all the preset conditions, it is determined that the user vehicle can reach the second target service area. When the user vehicle does not meet any of the preset conditions, it is determined that the user vehicle cannot reach the second target service area.
[0090] Specifically, the first preset condition can be: Using the polynomial regression algorithm, the driving distance and the power consumption change curve of the user vehicle are fitted to predict the distance that the user vehicle can still travel when the remaining power is exhausted, that is, the predicted driving distance. The distance between the current vehicle position of the user vehicle and the second target service area is used as the target distance. The predicted driving distance and the target distance are compared. If the target distance does not exceed the predicted driving distance, it is determined that the user vehicle meets the first preset condition; if the target distance exceeds the predicted driving distance, it is determined that the user vehicle does not meet the first preset condition.
[0091] The second preset condition can be: Based on the driving distance and the power consumption change curve, the ratio of the total power consumption corresponding to the curve to the total driving distance is used as the power consumption speed. The power consumption speed represents the average power consumption per unit distance. Furthermore, the product of the target distance and the power consumption speed is calculated as the predicted power consumption. The predicted power consumption represents the predicted power consumption of the user vehicle from the current vehicle position to the second target service area. The predicted power consumption is compared with the current remaining power of the user vehicle. If the predicted power consumption does not exceed the current remaining power, it is determined that the user vehicle meets the second preset condition. If the predicted power consumption exceeds the current remaining power, it is determined that the user vehicle does not meet the second preset condition.
[0092] The third preset condition may be: obtaining the continuous driving duration and average driving speed of the user's vehicle, calculating the ratio of the target distance to the average driving speed as the predicted duration, where the predicted duration represents the duration predicted for the user's vehicle to travel from the current vehicle position to the second target service area. Calculate the sum of the continuous driving duration and the predicted duration, and compare the obtained sum of durations with the fatigue driving duration. If the sum of durations is not greater than the fatigue driving duration, it is determined that the user's vehicle meets the third preset condition; if the sum of durations is greater than the fatigue driving duration, it is determined that the user's vehicle does not meet the third preset condition. Among them, the continuous driving duration is the duration from the start driving moment of the user's vehicle to the moment of sending the reservation request and includes the intermediate pause duration, and the intermediate pause duration is less than the preset duration threshold. Among them, if the pause duration is greater than the preset duration threshold, the last moment of the pause duration is determined as the start driving moment, and the preset duration threshold can be set according to actual needs. For example, the start driving moment is 12:00:00 on January 1, 2023, the moment of sending the reservation request is 14:00:00 on January 1, 2023, the preset duration threshold is 20 minutes, and the intermediate pause duration is 15 minutes, then the continuous driving duration is 2 hours.
[0093] Step S105, if it is determined that the user's vehicle cannot reach the second target service area, generate a reservation success instruction for the charging pile in the first target service area and feedback the reservation success instruction to the user's vehicle.
[0094] Among them, the reservation success instruction is used to indicate that the vehicle has successfully reserved the charging pile in the first target service area.
[0095] Specifically, when the user's vehicle cannot reach the second target service area, it means that the user's vehicle needs and can only charge in the first target service area. Therefore, generate a reservation success instruction for the charging pile in the first target service area and feedback the reservation success instruction to the user's vehicle. Specifically, according to the charging pile situation in the first target service area, select a charging pile for the user's vehicle to make a reservation and generate a reservation success instruction. More specifically, when there is an idle charging pile in the current first target service area, the idle charging pile can be allocated to the user's vehicle and a reservation success instruction is generated; when there is no idle charging pile in the first target service area, a charging pile can be randomly selected from the charging piles and allocated to the user's vehicle, and a reservation success instruction is generated.
[0096] Furthermore, if the total number of reserved charging piles in the first target service area is not greater than the first threshold, generate a reservation success instruction for the charging pile in the first target service area and feedback the reservation success instruction to the user's vehicle.
[0097] Step S106: If it is determined that the user's vehicle can reach the second target service area, generate a reservation failure message and a recommended reservation message for the charging piles in the second target service area, and feedback the reservation failure message and the recommended reservation message to the user's vehicle.
[0098] Specifically, when the user's vehicle can reach the second target service area, it means that the user's vehicle can drive to the second target service area for charging at this time, and there is no need to wait for charging in the first target service area. At this time, a reservation failure message for the first target service area can be generated, and a recommended reservation message for the charging piles in the second target service area can be generated, and the reservation failure message and the recommended reservation message are fed back to the user's vehicle. More specifically, the reservation quantity of each charging pile in the second target service area can be obtained, and based on the reservation quantity of each charging pile in the second target service area, the reason for recommending the second target service area can be obtained, and a recommended reservation message for the second target service area can be generated. For example, there are 10 charging piles with a reservation quantity of 0 and 5 charging piles with a reservation quantity of 1 in the second target service area, that is, there are 10 idle charging piles and 5 busy charging piles in the second target service area, and this information is used as the reason for recommending the user's vehicle to reserve the charging piles in the second target service area.
[0099] In a possible implementation manner of the embodiment of the present application, in the above step S104, based on the vehicle information and the itinerary information, to determine whether the user's vehicle can reach the second target service area, it may specifically include: determining the initial predicted driving distance of the user's vehicle based on the driving distance and the power change curve; obtaining the traffic flow information and the environmental information of the vehicle location; adjusting the initial predicted driving distance based on the traffic flow information and the environmental information to obtain the predicted driving distance of the user's vehicle; determining the target distance between the user's vehicle and the second target service area based on the vehicle location and the location of the second target service area; and determining whether the user's vehicle can reach the second target service area based on the predicted driving distance and the target distance.
[0100] Specifically, based on the driving distance and the power change curve of the user's vehicle, the initial predicted driving distance that the remaining power of the user's vehicle can travel can be predicted. Further, since the driving path of a new energy vehicle is related to the battery state, and the battery state is related to the traffic flow, the remaining power, and the operating environment, therefore, based on the traffic flow information, the environmental information, and the initial predicted driving distance, the driving distance of the user's vehicle can be predicted, so as to obtain the predicted driving distance. Specifically, according to the vehicle position, the traffic flow information and the environmental information of the vehicle position are obtained, and the historical driving conditions of the user's vehicle are obtained. Based on the historical driving conditions, the influence degree of the traffic flow information and the environmental information on the driving distance is determined, and based on this influence degree and the initial driving distance, the drivable distance of the user's vehicle is determined. Among them, the historical driving conditions include the historical traffic flow, the historical environmental information, and the historical driving trajectory corresponding to each historical moment.
[0101] More specifically, the historical driving conditions are divided into sub-historical driving conditions corresponding to multiple different historical time periods, and the multiple sub-historical driving conditions are analyzed to establish a model for the influence degree of historical traffic flow on the driving distance and a model for the influence degree of historical environmental information on the driving distance. The traffic flow information and the environmental information of the vehicle position are brought into the models to obtain the influence degree of the traffic flow information and the environmental information on the driving distance, and based on this influence degree and the initial predicted driving distance, the predicted driving distance of the user's vehicle is determined.
[0102] Further, after determining the predicted driving distance of the user's vehicle, according to the vehicle position and the position of the second target service area, the distance between the user's vehicle and the second target service area is determined, that is, the target distance. Even further, after obtaining the predicted driving distance and the target distance of the user's vehicle, the predicted driving distance and the target distance are compared. If the predicted driving distance is not less than the target distance, it is determined that the user's vehicle can reach the second target service area. If the predicted driving distance is less than the target distance, it is determined that the user's vehicle cannot reach the second target service area.
[0103] In a possible implementation manner of the embodiment of the present application, the vehicle information further includes license plate number information. After the user's vehicle successfully reserves a charging pile in the service area, it may specifically further include: predicting the time range for the user's vehicle to reach the reserved service area based on the traffic flow information, the environmental information, and the remaining power. The reserved service area is the service area corresponding to the successful reservation of the user's vehicle; the license plate number of the vehicle arriving at the reserved service area is recognized. If the license plate number information is not recognized within the time range, the reservation of the user's vehicle is cancelled.
[0104] Among them, the vehicle information may further include license plate number information. The reserved service area is the service area corresponding to the successful reservation of the vehicle. The reserved service area may be the first target service area or the second target service area.
[0105] Specifically, by identifying the license plate number information of the vehicles arriving at the reservation service area, the charging pile reservation information corresponding to each vehicle can be determined. For the vehicles that have successfully reserved the charging piles but have not used the charging piles for charging after a certain period of time, the operation of canceling the charging pile reservation can be carried out, so that the charging piles will not be occupied for no reason, and the charging waiting time of the vehicles can be reduced. Specifically, based on the position of the user's vehicle and the position of the reservation service area, the moment when the user's vehicle arrives at the reservation service area can be predicted. Since this moment is predicted, it may change when affected by other factors. Therefore, the arrival time range of the user's vehicle arriving at the reservation service area can be predicted, and it can be determined whether the license plate number information of the user's vehicle is recognized within this arrival time range. More specifically, since the driving speed of new energy vehicles is related to the traffic flow and the battery state, and the battery state is related to the remaining power and the operating environment, therefore, based on the traffic flow information, environmental information and remaining power, the arrival time range of the user's vehicle arriving at the reservation service area can be predicted.
[0106] More specifically, the historical driving conditions are divided into sub-historical driving conditions corresponding to multiple different historical time periods, and the multiple sub-historical driving conditions are analyzed to establish a model for the influence degree of historical traffic flow on the driving speed and a model for the influence speed of historical environmental information on the driving distance. Then, the traffic flow information and environmental information at the vehicle position are brought into the models to obtain the influence degree of the traffic flow information and environmental information on the driving speed, and based on this influence degree, the arrival time range of the user's vehicle arriving at the reservation service area is predicted. Among them, the predicted arrival time range can be a little larger to provide more driving time for the user's vehicle.
[0107] Furthermore, after predicting the arrival time range of the user's vehicle arriving at the reservation service area, it can be determined whether the license plate number information of the user's vehicle is recognized within the arrival time range. If the license plate number information of the user's vehicle is not recognized within the arrival time range, the reservation of the user's vehicle is cancelled; if the license plate number information of the user's vehicle is recognized within the arrival time range, the user's vehicle is charged according to the reserved charging pile.
[0108] In a possible implementation manner of the present application, in the above step S104, generating recommended reservation information for the charging piles in the second target service area may specifically include: obtaining the reservation information of the charging piles in the second target service area and determining the total reserved quantity of the second target service area; judging whether the total reserved quantity of the charging piles in the second target service area is greater than the second threshold; if the total reserved quantity of the charging piles in the second target service area is not greater than the second threshold, generating recommended reservation information for the charging piles in the second target service area based on the charging pile information of the second target service area.
[0109] Among them, the second threshold is obtained based on the number of charging piles in the second target service area.
[0110] Specifically, when the user's vehicle can reach the second target service area, the charging pile information of the second target service area can be obtained to get the total reserved amount of the charging piles in the second target service area, and it is determined whether the total reserved amount of the charging piles in the second target service area is greater than the second threshold to determine whether the user's vehicle can charge in the second target service area. Further, if the total reserved amount of the charging piles in the second target service area is not greater than the second threshold, it means that the charging waiting time of the user's vehicle in the second target service area is short. Therefore, based on the charging pile information of the second target service area, a recommended reservation information for the charging piles in the second target service area is generated.
[0111] Furthermore, if the total reserved amount of the charging piles in the second target service area is greater than the second threshold, it means that the charging waiting time of the user's vehicle in the second target service area is also relatively long. At this time, it can be determined whether the user's vehicle can reach the third target service area with idle charging piles; or based on the charging pile information of the second target service area, the estimated waiting time of each charging pile is obtained, and the multiple estimated waiting times are sorted in ascending order to obtain the second target sequence. Similarly, the estimated waiting times of each charging pile in the first target service area are sorted in ascending order to obtain the first target sequence. According to the sorting, the first estimated waiting time is selected from the first target sequence as the first estimated waiting time, and the first estimated waiting time is selected from the second target sequence as the second estimated waiting time, and the magnitudes of the first estimated waiting time and the second estimated waiting time are compared. The service area where the charging pile corresponding to the smaller estimated waiting time is located is used as the recommended reservation service area. If it is the first target service area, a reservation success instruction is generated; if it is the second target service area, a reservation failure message and a recommended reservation information for the charging piles in the second target service area are generated.
[0112] In a possible implementation manner of the present application, in the above embodiment, the charging pile information further includes the current power of each vehicle reserving the charging pile. Generating the recommended reservation information for the charging piles in the second target service area may specifically include: determining the remaining charging time of each charging pile in the second target service area, where the remaining charging time is the time required for the current charging vehicle to be fully charged; based on the remaining charging time and the reserved quantity of the target charging pile in the second target service area, determining the waiting time corresponding to the target charging pile, and constructing a time matrix including the waiting times of each charging pile in the second target service area, where the target charging pile is any charging pile in the second target service area; inputting the time matrix into the trained target model for vector feature extraction to obtain the recommended charging piles in the second target service area, and generating the recommended reservation information for the recommended charging piles in the second target service area.
[0113] Specifically, when the user's vehicle can reach the second target service area, the charging piles in the second target service area can be recommended for the user's vehicle. In order to reduce the user's waiting time and improve the user's charging experience, the remaining charging time of each charging pile in the second target service area for vehicle charging and the number of vehicles waiting to be charged at each charging pile can be predicted, and the possible waiting time of each charging pile can be predicted, so as to recommend the charging piles with shorter waiting time for the user's vehicle. Specifically, through the communication interface of the charging pile or the charging pile management system, the information of the vehicles currently connected to each charging pile is obtained, including the current power of the vehicle and the rated battery capacity, and based on the current power and the rated battery capacity of the vehicle, the target power that the vehicle still needs to charge is calculated, where the target power = rated battery capacity - current power. Further, the output power of the charging pile is obtained, and the waiting charging time of each charging pile is calculated based on Formula 1.
[0114] Further, after obtaining the waiting charging time of each charging pile, the reserved number of each charging pile can be obtained, and a two-dimensional matrix is created, where the rows of the two-dimensional matrix represent the charging piles, and the columns represent different metrics, namely the waiting charging time and the reserved number, and the waiting charging time and the reserved number of each charging pile are filled into the corresponding matrix positions. Exemplarily, there are three charging piles in the second target service area. The waiting charging time of the first charging pile is 1.5 h and the reserved number is 3. The waiting charging time of the second charging pile is 0.5 h and the reserved number is 4. The waiting charging time of the third charging pile is 0.2 h and the reserved number is 2. Then the time matrix of the waiting time of each charging pile in the second target service area is constructed as 。
[0115] Furthermore, after obtaining the time matrix containing the waiting time of each charging pile in the second target service area, the target model can be used to extract vector features and make recommendations for the time matrix to obtain the recommended charging piles in the second target service area. Specifically, the time matrix is used as input data and input into the trained target model, and the recommended result output by the target model is obtained. The recommended result can be a list or ranking of the recommended charging piles. Among them, the target model is obtained by training in advance with a large number of time matrix samples and recommended result samples.
[0116] Another possible implementation of the embodiment of the present application: The current power of the reserved vehicle corresponding to each charging pile in the second target service area and the rated battery capacity can be obtained, and the power that still needs to be charged into the vehicle can be calculated according to the current power and the rated battery capacity of each vehicle, where the target power = rated battery capacity - current power. Further, the output power of the charging pile is obtained, and the predicted charging duration of each reserved vehicle in each charging pile is calculated according to the charging duration to be waited = (target power / output power of the charging pile). Thus, the charging duration to be waited of the currently charging vehicle and the predicted charging duration of each reserved vehicle in each charging pile in the second target service area can be obtained, and the charging duration to be waited and the predicted charging duration of each charging pile are summed to obtain the total waiting charging duration of each charging pile, and charging pile recommendation is performed according to the total waiting charging duration of each charging pile.
[0117] In a possible implementation of the present application, in the above embodiment, the charging pile information further includes the output power and the remaining power of each reserved vehicle. The charging duration to be waited of each charging pile in the second target service area is determined. The determination process of the charging duration to be waited of each charging pile in the second target service area may specifically include: obtaining the rated battery capacity, the charge and discharge times of the battery, and the current power of the vehicle corresponding to the charging duration to be waited; based on Formula 1: , the charging duration to be waited of the charging pile is calculated; where T is the charging duration to be waited, S1 is the rated battery capacity, S2 is the current power, C1 is the current battery capacity, K1 is a constant, and P is the output power of the target charging pile; based on Formula 2: , the current battery capacity of the currently charging vehicle is calculated; where C1 is the current battery capacity, C2 is the rated battery capacity, e is the base of the natural logarithm, N is the charge and discharge times of the battery, and K2 is a constant.
[0118] Since the charging duration of the vehicle battery is affected by various factors, such as battery capacity, charging power, battery type, and remaining battery power, etc., when predicting the charging duration to be waited of the vehicle battery, the influence of various factors needs to be considered. Specifically, taking the prediction of the charging duration to be waited of a charging pile as an example, the rated battery capacity and the current power of the vehicle corresponding to the charging duration to be waited can be obtained, and the charging duration to be waited of the charging pile is calculated according to Formula 1. Among them, different types of batteries correspond to different K1s.
[0119] Since the current battery capacity of the vehicle battery may be related to the charge and discharge times and the safety level of the battery, the charge and discharge times of the battery and the safety level of the battery of the vehicle corresponding to the charging duration to be waited are obtained. And the current battery capacity of the vehicle is calculated based on Formula 2. Among them, different safety levels of batteries correspond to different K2s.
[0120] A possible implementation of this application is to construct a duration matrix containing the waiting duration of each charging pile in the second target service area, including: obtaining the historical charging information of each reserved vehicle for the target charging pile; based on the output power of the target charging pile, selecting the historical charging information with the same output power as the target charging pile from the historical charging information of each reserved vehicle to obtain the target historical charging information of each reserved vehicle; analyzing the target historical charging information of each reserved vehicle based on the reserved quantity of each charging pile in the second target service area to determine the historical charging duration sequence of each reserved vehicle, so as to obtain the historical charging duration sequence of each reserved vehicle for each charging pile; determining the remaining power sequence corresponding to each charging pile based on the remaining power of each reserved vehicle for each charging pile; constructing a historical charging duration matrix for each charging pile based on the historical charging duration sequence of each reserved vehicle for each charging pile and the remaining power sequence corresponding to each charging pile; performing data processing on the historical charging duration matrix of each charging pile to obtain the predicted duration sequence of each charging pile; determining the waiting duration sequence of each charging pile based on the predicted duration sequence of each charging pile and the duration to be charged, and constructing a duration matrix containing the waiting duration of each charging pile in the second target service area.
[0121] Among them, the historical charging information is the duration required to be fully charged corresponding to different current powers and the output power of the charging pile connected during charging.
[0122] Specifically, obtain the historical charging information of each reserved vehicle for each charging pile, and based on the output power of the charging pile corresponding to each reserved vehicle, select the historical charging information with the same corresponding output power from the historical charging information of each reserved vehicle as the target historical charging information, and analyze the target historical charging information of each reserved vehicle based on the reserved quantity of each charging pile in the second target service area. For each reserved vehicle, sort according to the charging duration in its target historical charging information in the order of charging time or remaining power to construct a historical charging duration sequence, which includes the charging duration of the vehicle at different historical times or different remaining powers. Further, for each charging pile, construct a remaining power sequence according to the remaining power data of each reserved vehicle. Furthermore, combine the historical charging duration sequence of each reserved vehicle for each charging pile with the corresponding remaining power sequence to construct a historical charging duration matrix. Each row of this historical charging duration matrix represents a reserved vehicle, and each column represents the charging duration corresponding to a specific remaining power value.
[0123] After obtaining the historical charging duration matrix corresponding to each charging pile, for each charging pile, the historical charging duration matrix can be processed, and machine learning methods (such as regression models) or statistical analysis methods (such as mean, median, etc.) can be used to predict the charging duration of each charging pile at different remaining battery levels, so as to obtain the predicted duration sequence of each charging pile.
[0124] Furthermore, based on the predicted duration sequence of each charging pile and the charging duration to be charged (i.e., the charging time required for the newly arrived vehicle), the waiting duration sequence of each charging pile can be calculated. The waiting duration can be obtained by adding the predicted duration and the charging duration to be charged, and then combining the waiting duration sequences of all charging piles into a duration matrix to obtain a duration matrix containing the waiting duration of each charging pile in the second target service area.
[0125] See Figure 3 , the figure is a schematic flowchart of a charging pile allocation method provided by an embodiment of the present application. When receiving a reservation request for a charging pile in the first target service area sent by a user vehicle, it is determined whether the total reserved quantity in the first target service area is greater than a first threshold. If the total reserved quantity is greater than the first threshold, a reservation success instruction for the charging pile in the first target service area is generated; if the total reserved quantity is not greater than the first threshold, it is determined whether the sum of the continuous driving duration and the required duration is less than the fatigue driving duration. If the sum of the continuous driving duration and the required duration is not less than the fatigue driving duration, a reservation success instruction for the charging pile in the first target service area is generated; if the sum of the continuous driving duration and the required duration is less than the fatigue driving duration, it is determined whether the total reserved quantity of the charging piles in the second target service area is greater than a second threshold. If the total reserved quantity of the charging piles in the second target service area is greater than the second threshold, a reservation failure message and a recommended reservation message for the charging piles in the second target service area are generated; if the total reserved quantity of the charging piles in the second target service area is not greater than the second threshold, it is determined whether the first estimated waiting duration is greater than the second estimated waiting duration. If the first estimated waiting duration is greater than the second estimated waiting duration, a reservation failure message and a recommended reservation message for the charging piles in the second target service area are generated; if the first estimated waiting duration is not greater than the second estimated waiting duration, a reservation success instruction for the charging pile in the first target service area is generated.
[0126] The above embodiment introduces a charging pile allocation method from the perspective of the method flow. The following embodiment introduces a charging pile allocation device from the perspective of virtual modules or virtual units. For details, see the following embodiment.
[0127] See Figure 4 , an embodiment of the present invention provides a charging pile allocation device 40, including: a receiving module 410, a first obtaining module 420, a second obtaining module 430, a determining module 440, a first generating module 450, and a second generating module 460.
[0128] A charging pile allocation device 40 includes:
[0129] A receiving module 410, configured to receive a reservation request for a charging pile in a first target service area sent by a user vehicle;
[0130] A first obtaining module 420, configured to obtain vehicle information and trip information of the user vehicle, where the vehicle information includes the vehicle position and remaining power of the user vehicle, and the trip information includes the driving distance and power change curve of the user vehicle;
[0131] A second obtaining module 430, configured to obtain reservation information of charging piles in the first target service area, where the reservation information includes the reserved quantity of each charging pile, and determine the total reserved quantity;
[0132] A determination module 440, configured to, if the total reserved quantity is greater than a first threshold, determine whether the user vehicle can reach a second target service area based on the vehicle information and trip information, where the second target service area is the next service area of the first target service area in the driving direction of the user vehicle;
[0133] A first generation module 450, configured to, if it is determined that the user vehicle cannot reach the second target service area, generate a reservation success instruction for the charging pile in the first target service area, and feedback the reservation success instruction to the user vehicle;
[0134] A second generation module 460, configured to, if it is determined that the user vehicle can reach the second target service area, generate a reservation failure message and a recommended reservation message for the charging pile in the second target service area, and feedback the reservation failure message and the recommended reservation message to the user vehicle.
[0135] In a possible implementation manner of the embodiment of the present application, when the determination module 440 determines whether the user vehicle can reach the second target service area based on the vehicle information and trip information, it may specifically be configured to:
[0136] Determine an initial predicted driving distance of the user vehicle based on the driving distance and power change curve;
[0137] Obtain traffic flow information and environmental information of the vehicle position;
[0138] Determine a predicted driving distance of the user vehicle based on the initial predicted driving distance, traffic flow information, and environmental information;
[0139] Determine a target distance between the user vehicle and the second target service area based on the vehicle position and the position of the second target service area;
[0140] Determine whether the user vehicle can reach the second target service area based on the predicted driving distance and the target distance.
[0141] In a possible implementation manner of the embodiment of the present application, the charging pile allocation device 40 may further include:
[0142] A first prediction module, configured to predict the time range when the user's vehicle arrives at the reserved service area based on the traffic flow information, environmental information, and remaining power, where the reserved service area is the service area corresponding to the successful reservation of the user's vehicle;
[0143] A cancellation module, configured to identify the license plate number of the vehicle arriving at the reserved service area. If the license plate number information is not identified within the time range, the reservation of the user's vehicle is cancelled.
[0144] In a possible implementation manner of the embodiment of the present application, when the second generation module 460 generates the recommended reservation information for the charging piles in the second target service area, it may specifically be used for:
[0145] Obtain the reservation information of the charging piles in the second target service area and determine the total reserved quantity of the second target service area;
[0146] Judge whether the total reserved quantity of the charging piles in the second target service area is greater than the second threshold;
[0147] If the total reserved quantity of the charging piles in the second target service area is not greater than the second threshold, generate the recommended reservation information for the charging piles in the second target service area based on the charging pile information in the second target service area.
[0148] In a possible implementation manner of the embodiment of the present application, the charging pile information includes the current power of each vehicle reserving the charging pile. When the second generation module 460 generates the recommended reservation information for the charging piles in the second target service area, it includes:
[0149] Determine the remaining charging duration of each charging pile in the second target service area, where the remaining charging duration is the duration required for the current charging vehicle to be fully charged;
[0150] Based on the remaining charging duration and the reserved quantity of the target charging pile in the second target service area, determine the waiting duration corresponding to the target charging pile, and construct a duration matrix including the waiting durations of each charging pile in the second target service area, where the target charging pile is any charging pile in the second target service area;
[0151] Input the duration matrix into the trained target model for vector feature extraction, obtain the recommended charging piles in the second target service area as output, and generate the recommended reservation information for the recommended charging piles in the second target service area.
[0152] In a possible implementation manner of the embodiment of the present application, the charging pile information further includes the output power. When the second generation module 460 determines the remaining charging duration of each charging pile in the second target service area, it may specifically be used for:
[0153] Obtain the output power of the target charging pile, as well as the rated battery capacity, the number of charge and discharge cycles of the battery, and the current battery level of the current charging vehicle corresponding to the target charging pile;
[0154] Based on Formula 1: calculate the remaining charging duration of the target charging pile;
[0155] where, T is the remaining charging duration, S1 is the rated battery capacity, S2 is the current battery level, C1 is the current battery capacity, K1 is a constant, and P is the output power of the target charging pile;
[0156] Based on Formula 2: calculate the current battery capacity of the current charging vehicle;
[0157] where, C1 is the current battery capacity, C2 is the rated battery capacity, e is the base of the natural logarithm, N is the number of charge and discharge cycles of the battery, and K2 is a constant.
[0158] In a possible implementation manner of the embodiment of the present application, when constructing the duration matrix including the waiting durations of each charging pile in the second target service area, the second generation module 460 may specifically be used for:
[0159] Obtain the historical charging information of each reserved vehicle of the target charging pile, where the historical charging information is the duration required to be fully charged corresponding to different current battery levels and the output power of the charging pile connected during charging;
[0160] Based on the output power of the target charging pile, select the historical charging information with the same output power as the output power of the target charging pile from the historical charging information of each reserved vehicle, so as to obtain the target historical charging information of each reserved vehicle;
[0161] Based on the reserved number of each charging pile in the second target service area, analyze the target historical charging information of each reserved vehicle, determine the historical charging duration sequence of each reserved vehicle, so as to obtain the historical charging duration sequence of each reserved vehicle of each charging pile;
[0162] Based on the remaining battery levels of each reserved vehicle of each charging pile, determine the remaining battery level sequence corresponding to each charging pile;
[0163] Based on the historical charging duration sequence of each reserved vehicle of each charging pile and the remaining battery level sequence corresponding to each charging pile, construct the historical charging duration matrix of each charging pile;
[0164] Perform data processing on the historical charging duration matrix of each charging pile to obtain the predicted duration sequence of each charging pile;
[0165] Based on the predicted duration sequence of each charging pile and the duration to be charged, determine the waiting duration sequence of each charging pile, and construct a duration matrix including the waiting durations of each charging pile in the second target service area.
[0166] Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0167] This embodiment of the application also introduces an electronic device from the perspective of an entity device, such as Figure 5 shown Figure 5 The electronic device 500 shown includes: a processor 501 and a memory 503. Among them, the processor 501 and the memory 503 are connected, such as connected through a bus 502. Optionally, the electronic device 500 may further include a transceiver 504. It should be noted that in practical applications, the transceiver 504 is not limited to one, and the structure of the electronic device 500 does not constitute a limitation to this embodiment of the application.
[0168] The processor 501 may be a CPU (Central Processing Unit, central processor), a general-purpose processor, a DSP (Digital Signal Processor, data signal processor), an ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), an FPGA (Field Programmable Gate Array, field programmable gate array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in combination with the disclosure of this application. The processor 501 may also be a combination that implements a computing function, such as a combination including one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0169] The bus 502 may include a path for transmitting information between the above components. The bus 502 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture, extended industry standard architecture) bus, etc. The bus 502 may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 5 only a thick line is used to represent it in
[0170] The memory 503 can be a ROM (Read Only Memory), or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory), or other types of dynamic storage devices that can store information and instructions. It can also be an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0171] The memory 503 is used to store the application program code for implementing the solution of this application and is controlled by the processor 501 for execution. The processor 501 is used to execute the application program code stored in the memory 503 to implement the content shown in the foregoing method embodiments.
[0172] Among them, the electronic device includes but is not limited to: mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc., and can also be a server, etc. Figure 5 The illustrated electronic device is only an example and should not impose any limitations on the functions and usage scope of the embodiments of this application.
[0173] The embodiments of this application provide a computer-readable storage medium on which a computer program is stored. When it runs on a computer, it enables the computer to execute the corresponding content in the foregoing method embodiments.
[0174] It should be understood that although the steps in the flowchart of the accompanying drawings are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limitation and can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or sub-steps or stages of other steps.
[0175] The above are only some embodiments of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A charging pile allocation method, characterized in that, Including: Receiving a reservation request for a charging pile in a first target service area sent by a user vehicle; Obtaining vehicle information and trip information of the user vehicle, where the vehicle information includes the vehicle position and remaining power of the user vehicle, and the trip information includes the driving distance and power change curve of the user vehicle; Obtaining reservation information of charging piles in the first target service area, where the reservation information includes the reserved quantity of each charging pile, and determining the total reserved quantity; If the total reserved quantity is greater than a first threshold, then based on the vehicle information and the trip information, determining whether the user vehicle can reach a second target service area, where the second target service area is the next service area of the first target service area in the driving direction of the user vehicle; If it is determined that the user vehicle cannot reach the second target service area, then generating a reservation success instruction for a charging pile in the first target service area and feeding back the reservation success instruction to the user vehicle; If it is determined that the user vehicle can reach the second target service area, then generating a reservation failure message and a recommended reservation message for a charging pile in the second target service area, and feeding back the reservation failure message and the recommended reservation message to the user vehicle; Wherein, generating the recommended reservation message for a charging pile in the second target service area includes: Obtaining reservation information of charging piles in the second target service area and determining the total reserved quantity of the second target service area; Judging whether the total reserved quantity of the charging piles in the second target service area is greater than a second threshold; If the total reserved quantity of the charging piles in the second target service area is not greater than the second threshold, then generating a recommended reservation message for a charging pile in the second target service area based on the charging pile information of the second target service area; Wherein, the charging pile information includes the current power of each vehicle reserving the charging pile, and generating the recommended reservation message for a charging pile in the second target service area includes: Determining the remaining charging duration of each charging pile in the second target service area, where the remaining charging duration is the duration required for the current charging vehicle to be fully charged; Based on the remaining charging duration and the reserved quantity of a target charging pile in the second target service area, determining the waiting duration corresponding to the target charging pile, and constructing a duration matrix including the waiting durations of each charging pile in the second target service area, where the target charging pile is any charging pile in the second target service area; Inputting the duration matrix into a trained target model for vector feature extraction, obtaining the recommended charging piles in the second target service area as output, and generating a recommended reservation message for the recommended charging piles in the second target service area.
2. The charging pile allocation method according to claim 1, wherein The determining whether the user vehicle can reach the second target service area based on the vehicle information and the trip information includes: Determining the initial predicted driving distance of the user vehicle based on the driving distance and power change curve; Obtaining the traffic flow information and environmental information of the vehicle position; Determining the predicted driving distance of the user vehicle based on the initial predicted driving distance, the traffic flow information, and the environmental information. Based on the vehicle position and the position of the second target service area, determine the target distance between the user vehicle and the second target service area; Based on the predicted driving distance and the target distance, determine whether the user vehicle can reach the second target service area.
3. The charging pile allocation method according to claim 2, wherein The vehicle information further includes license plate number information, and the method further includes: Based on the traffic flow information, the environmental information, and the remaining power, predict the time range when the user vehicle arrives at the reserved service area, where the reserved service area is the service area corresponding to the successful reservation of the user vehicle; Perform license plate number recognition on the vehicles arriving at the reserved service area. If the license plate number information is not recognized within the time range, cancel the reservation of the user vehicle.
4. The charging pile allocation method according to claim 1, wherein The charging pile information further includes the output power. Determining the waiting time for charging of each charging pile in the second target service area includes: Obtain the output power of the target charging pile, as well as the battery rated capacity, the number of charge and discharge cycles of the battery, and the current power of the current charging vehicle corresponding to the target charging pile; Based on Equation 1: , the duration to be charged for the target charging pile is calculated; where T is the duration to be charged, is the rated capacity of the battery, is the current battery level, is the current battery capacity, is a constant, and P is the output power of the target charging pile; Among them, based on Formula 2: , the current battery capacity of the current charging vehicle is calculated; Among them, is the current battery capacity, is the rated battery capacity, e is the base of the natural logarithm, N is the number of charge and discharge cycles of the battery, is a constant.
5. The charging pile allocation method according to claim 4, characterized in that Constructing a duration matrix including the waiting time of each charging pile in the second target service area includes: Obtain the historical charging information of each reserved vehicle of the target charging pile, where the historical charging information is the required time to be fully charged corresponding to different current powers and the output power of the charging pile connected during charging; Based on the output power of the target charging pile, select the historical charging information with the same output power as the target charging pile from the historical charging information of each reserved vehicle to obtain the target historical charging information of each reserved vehicle; Based on the reserved number of each charging pile in the second target service area, analyze the target historical charging information of each reserved vehicle to determine the historical charging duration sequence of each reserved vehicle, so as to obtain the historical charging duration sequence of each reserved vehicle for each charging pile; Based on the remaining power of each reserved vehicle for each charging pile, determine the remaining power sequence corresponding to each charging pile; Based on the historical charging duration sequence of each reserved vehicle for each charging pile and the remaining power sequence corresponding to each charging pile, construct the historical charging duration matrix of each charging pile; Perform data processing on the historical charging duration matrix of each charging pile to obtain the predicted duration sequence of each charging pile; Based on the predicted duration sequence and the waiting time for charging of each charging pile, determine the waiting time sequence of each charging pile, and construct a duration matrix including the waiting time of each charging pile in the second target service area.
6. A charging pile distribution device, characterized in that, Includes: A receiving module, configured to receive a reservation request for a charging pile in the first target service area sent by the user vehicle; A first obtaining module, configured to obtain the vehicle information and the travel information of the user vehicle, where the vehicle information includes the vehicle position and the remaining power of the user vehicle, and the travel information includes the driving distance and the power change curve of the user vehicle; A second obtaining module, configured to obtain the reservation information of the charging piles in the first target service area, where the reservation information includes the reserved number of each charging pile, and determine the total reserved amount; A determination module, configured to, if the total reserved amount is greater than a first threshold, determine whether the user vehicle can reach a second target service area based on the vehicle information and the trip information, where the second target service area is the next service area of the first target service area in the driving direction of the user vehicle; A first generation module, configured to, if it is determined that the user vehicle cannot reach the second target service area, generate a reservation success instruction for a charging pile in the first target service area and feedback the reservation success instruction to the user vehicle; A second generation module, configured to, if it is determined that the user vehicle can reach the second target service area, generate a reservation failure message and a recommended reservation message for a charging pile in the second target service area and feedback the reservation failure message and the recommended reservation message to the user vehicle; Wherein, when generating the recommended reservation message for the charging pile in the second target service area, the second generation module is specifically configured to: Obtain the reservation information of the charging piles in the second target service area and determine the total reserved amount of the second target service area; Determine whether the total reserved amount of the charging piles in the second target service area is greater than a second threshold; If the total reserved amount of the charging piles in the second target service area is not greater than the second threshold, generate a recommended reservation message for the charging piles in the second target service area based on the charging pile information of the second target service area; Wherein, the charging pile information includes the current power of each vehicle reserving the charging pile, and generating the recommended reservation message for the charging piles in the second target service area includes: Determine the charging duration required for each charging pile in the second target service area to be fully charged for the current charging vehicle; Based on the charging duration required for the target charging pile in the second target service area and the reserved number, determine the waiting duration corresponding to the target charging pile, and construct a duration matrix including the waiting durations of each charging pile in the second target service area, where the target charging pile is any charging pile in the second target service area; Input the duration matrix into a trained target model for vector feature extraction, obtain the recommended charging piles in the second target service area as the output, and generate a recommended reservation message for the recommended charging piles in the second target service area.
7. An electronic device, characterized in that, The electronic device includes: At least one processor; A memory; At least one application program, where at least one application program is stored in the memory and configured to be executed by at least one processor, and the at least one application program is configured to: execute the charging pile allocation method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed on a computer, cause the computer to execute the charging pile allocation method according to any one of claims 1 to 5.
Citation Information
Patent Citations
High-speed service area charging planning method and device
CN115293384A
Charging station energy management method and system, electronic equipment and storage medium
CN116993103A