Vehicle dispatching method, device, electronic device and storage medium
By calculating the vehicle scheduling score and optimizing the vehicle scheduling process, the problem of low vehicle resource utilization is solved, and more efficient resource utilization and vehicle demand satisfaction are achieved.
Patent Information
- Application Number
- CN201910722692.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-08-06
AI Technical Summary
In the existing technology, the vehicle resource utilization rate of parking stations is low or cannot meet the demand for vehicles, resulting in the problem of insufficient supply or oversupply.
By obtaining the attribute information and supply and demand service information of the charging station and candidate parking lot station where the target vehicle is located, the service dispatch score is calculated, a reasonable dispatch station is determined, and the utilization rate of vehicle resources is improved.
It is possible to improve vehicle resource utilization and optimize the vehicle dispatching process on the premise of meeting vehicle demand.
Smart Images

Figure CN111832869B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle dispatching, and in particular to a vehicle dispatching method, device, electronic device and storage medium. Background Art
[0002] With the rapid development of vehicle manufacturing technology and Internet technology, shared electric vehicles have attracted more and more attention as a new low-carbon travel mode, and more and more users choose to use shared electric vehicles as a means of transportation. Among them, charging stations are essential infrastructure to ensure the endurance of electric vehicles, and parking stations can provide convenient conditions for users to pick up and return vehicles. In this way, after charging at the charging station, the electric vehicle can be dispatched to the parking station for users to use.
[0003] However, since the number of cars required by users in different regions varies, the electric vehicles that can be provided by currently deployed parking lots are either in short supply and cannot meet users' car needs, or in oversupply, wasting a lot of parking resources.
[0004] It can be seen that the current solution has the problem of low vehicle resource utilization or inability to meet vehicle demand. Summary of the invention
[0005] In view of this, the purpose of the present application is to provide a vehicle scheduling method, device, electronic device and storage medium, which can realize the reasonable scheduling of vehicle resources.
[0006] It mainly includes the following aspects:
[0007] In a first aspect, the present application provides a vehicle dispatching method, the method comprising:
[0008] Obtaining first attribute information of the charging station where the target vehicle is located, and second attribute information and supply and demand service information of each candidate parking station;
[0009] Determine a service dispatch score from the charging station where the target vehicle is located to each candidate parking station according to the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station;
[0010] The candidate parking lot station with the highest service scheduling score is determined as the target parking lot station;
[0011] An instruction is issued to dispatch the target vehicle to the target parking lot.
[0012] In one embodiment, the first attribute information of the charging station includes the location information of the charging station, and the second attribute information of the candidate parking lot includes the location information of the parking lot; the supply and demand service information includes the vehicle supply service information and the charging demand service information; and the service scheduling score from the charging station where the target vehicle is located to each candidate parking lot is determined according to the first attribute information of the charging station where the target vehicle is located, and the second attribute information and the supply and demand service information of each candidate parking lot, including:
[0013] For each candidate parking lot, determine the distance from the charging station where the target vehicle is located to the candidate parking lot according to the charging station location information and the station location information;
[0014] A service scheduling score from the charging station where the target vehicle is located to each candidate parking station is determined based on the determined distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and preset service scheduling parameter values.
[0015] In some embodiments, the determining of the service scheduling score from the charging station where the target vehicle is located to each candidate parking station based on the determined distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and the preset service scheduling parameter values includes:
[0016] When it is determined that the current scheduling time information of the target vehicle falls within the first time interval, a weighted sum operation is performed on the determined distance value and the service scheduling parameter value preset for the distance value, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the charging demand service information to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station;
[0017] When it is determined that the current scheduling time information of the target vehicle falls within the second time interval, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, as well as the determined distance value and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the product of the distance value and the charging demand service information are weightedly summed to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0018] In some embodiments, the service scheduling parameter value may be determined according to the following steps:
[0019] Determine the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and charging demand service information of each candidate parking station, and the actual service scheduling score from the charging station where the reference vehicle is located to each candidate parking station;
[0020] The distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and the charging demand service information of each candidate parking station are used as independent variables of the service scheduling relationship function to be constructed, and the service scheduling score from the charging station where the reference vehicle is located to each candidate parking station is used as the dependent variable of the service scheduling relationship function to be constructed, and the service scheduling relationship function is constructed;
[0021] The constructed service scheduling relationship function is iterated based on the initial value of the service scheduling parameter until the difference between the service scheduling score obtained by the iterative operation and the actual service scheduling score is less than the preset difference, the iteration is stopped, and the service scheduling parameter is obtained.
[0022] In some embodiments, the second attribute information of the candidate parking station also includes the number of currently idle vehicles in the parking spaces set by the candidate parking station; the vehicle supply service information includes the number of vehicles supplied; the vehicle supply service information is determined according to the following steps:
[0023] For each candidate parking lot, based on the location information of the candidate parking lot and the location information of the vehicles carried in each historical vehicle order, determine the historical vehicle orders whose distance between the vehicle location and the location of the candidate parking lot is less than a preset distance;
[0024] Determine the number of vehicle demands corresponding to the candidate parking lot station based on the determined historical vehicle orders, the historical travel status information corresponding to the historical vehicle orders, and the current travel status information;
[0025] The vehicle supply quantity of the candidate parking lot is determined based on the vehicle demand quantity and the current idle vehicle quantity.
[0026] In some embodiments, the charging demand service information includes the charging demand quantity; the charging demand service information is determined according to the following steps:
[0027] For each candidate parking lot, obtain charging work order information generated for the vehicles to be charged parked in the candidate parking lot;
[0028] The charging demand quantity of the candidate parking lot station is determined based on the number of charging work orders.
[0029] In another embodiment, determining the service scheduling score from the charging station where the target vehicle is located to each candidate parking station according to the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station includes:
[0030] The first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station are input into a pre-trained service scheduling model to determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0031] In some embodiments, the service scheduling model may be trained according to the following steps:
[0032] Build the service scheduling model to be trained based on the initial parameters of the model;
[0033] For each vehicle sample, the first attribute information of the charging station where the vehicle sample is located, as well as the second attribute information and supply and demand service information of each candidate parking station are input into the service scheduling model to be trained, and the service scheduling score from the vehicle sample to each candidate parking station output by the model is determined based on the initial parameters of the model;
[0034] The dispatch result corresponding to the service dispatch score from the vehicle sample to each candidate parking lot station output by the model is compared with the dispatch result annotation information of the vehicle sample. If the comparison result is inconsistent, the initial parameters of the model are adjusted until the comparison result is consistent, and the model parameters of the service dispatch model are obtained by training.
[0035] In yet another embodiment, the method further comprises:
[0036] Obtain dispatch result verification information fed back by vehicle dispatchers;
[0037] When it is determined that the scheduling result verification information is inconsistent with the scheduling result annotation information, the scheduling result annotation information is updated based on the scheduling result verification information to obtain updated scheduling result annotation information.
[0038] In some embodiments, the first attribute information of the charging station includes one or more of the charging station identification information, the charging station location information, the idle number of fast charging heads set in the charging station, and the idle number of slow charging heads; the second attribute information of the candidate parking lot station includes one or more of the station identification information, the station location information, the number of occupied parking spaces and the number of idle vehicles in the parking spaces set by the candidate parking lot station; the supply and demand service information of the candidate parking lot station includes one or more of vehicle supply service information and charging demand service information.
[0039] In a second aspect, the present application further provides a vehicle dispatching device, the device comprising:
[0040] An information acquisition module, used to acquire first attribute information of the charging station where the target vehicle is located, as well as second attribute information and supply and demand service information of each candidate parking station;
[0041] A score determination module, for determining a service dispatch score from the charging station where the target vehicle is located to each candidate parking station according to the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station;
[0042] A station determination module, used for determining the candidate parking station with the highest service scheduling score as the target parking station;
[0043] The vehicle dispatching module is used to issue an instruction to dispatch the target vehicle to the target parking lot.
[0044] In one embodiment, the first attribute information of the charging station includes the location information of the charging station, and the second attribute information of the candidate parking lot includes the location information of the parking lot; the supply and demand service information includes vehicle supply service information and charging demand service information; the score determination module is used to determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking lot according to the following steps:
[0045] For each candidate parking lot, determine the distance from the charging station where the target vehicle is located to the candidate parking lot according to the charging station location information and the station location information;
[0046] A service scheduling score from the charging station where the target vehicle is located to each candidate parking station is determined based on the determined distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and preset service scheduling parameter values.
[0047] In some embodiments, the score determination module is used to determine the service dispatch score from the charging station where the target vehicle is located to each candidate parking station according to the following steps:
[0048] When it is determined that the current scheduling time information of the target vehicle falls within the first time interval, a weighted sum operation is performed on the determined distance value and the service scheduling parameter value preset for the distance value, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the charging demand service information to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station;
[0049] When it is determined that the current scheduling time information of the target vehicle falls within the second time interval, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, as well as the determined distance value and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the product of the distance value and the charging demand service information are weightedly summed to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0050] In some embodiments, the score determination module is used to determine the service scheduling parameter value according to the following steps:
[0051] Determine the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and charging demand service information of each candidate parking station, and the actual service scheduling score from the charging station where the reference vehicle is located to each candidate parking station;
[0052] The distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and the charging demand service information of each candidate parking station are used as independent variables of the service scheduling relationship function to be constructed, and the service scheduling score from the charging station where the reference vehicle is located to each candidate parking station is used as the dependent variable of the service scheduling relationship function to be constructed, and the service scheduling relationship function is constructed;
[0053] The constructed service scheduling relationship function is iterated based on the initial value of the service scheduling parameter until the difference between the service scheduling score obtained by the iterative operation and the actual service scheduling score is less than the preset difference, the iteration is stopped, and the service scheduling parameter is obtained.
[0054] In some embodiments, the second attribute information of the candidate parking station also includes the number of currently idle vehicles in the parking spaces set by the candidate parking station; the vehicle supply service information includes the number of vehicles supplied; and the information acquisition module is used to determine the vehicle supply service information according to the following steps:
[0055] For each candidate parking lot, based on the location information of the candidate parking lot and the location information of the vehicles carried in each historical vehicle order, determine the historical vehicle orders whose distance between the vehicle location and the location of the candidate parking lot is less than a preset distance;
[0056] Determine the number of vehicle demands corresponding to the candidate parking lot station based on the determined historical vehicle orders, the historical travel status information corresponding to the historical vehicle orders, and the current travel status information;
[0057] The vehicle supply quantity of the candidate parking lot is determined based on the vehicle demand quantity and the current idle vehicle quantity.
[0058] In some embodiments, the charging demand service information includes the charging demand quantity; the information acquisition module is used to determine the charging demand service information according to the following steps:
[0059] For each candidate parking lot, obtain charging work order information generated for the vehicles to be charged parked in the candidate parking lot;
[0060] The charging demand quantity of the candidate parking lot station is determined based on the number of charging work orders.
[0061] In another embodiment, the score determination module is used to determine the service dispatch score from the charging station where the target vehicle is located to each candidate parking station according to the following steps:
[0062] The first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station are input into a pre-trained service scheduling model to determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0063] In some embodiments, the score determination module is used to train the service scheduling model according to the following steps:
[0064] Build the service scheduling model to be trained based on the initial parameters of the model;
[0065] For each vehicle sample, the first attribute information of the charging station where the vehicle sample is located, as well as the second attribute information and supply and demand service information of each candidate parking station are input into the service scheduling model to be trained, and the service scheduling score from the vehicle sample to each candidate parking station output by the model is determined based on the initial parameters of the model;
[0066] The dispatch result corresponding to the service dispatch score from the vehicle sample to each candidate parking lot station output by the model is compared with the dispatch result annotation information of the vehicle sample. If the comparison result is inconsistent, the initial parameters of the model are adjusted until the comparison result is consistent, and the model parameters of the service dispatch model are obtained by training.
[0067] In yet another embodiment, the device further comprises:
[0068] The annotation update module is used to obtain the dispatch result verification information fed back by the vehicle dispatcher;
[0069] When it is determined that the scheduling result verification information is inconsistent with the scheduling result annotation information, the scheduling result annotation information is updated based on the scheduling result verification information to obtain updated scheduling result annotation information.
[0070] In some embodiments, the first attribute information of the charging station includes one or more of the charging station identification information, the charging station location information, the idle number of fast charging heads set in the charging station, and the idle number of slow charging heads; the second attribute information of the candidate parking lot station includes one or more of the station identification information, the station location information, the number of occupied parking spaces and the number of idle vehicles in the parking spaces set by the candidate parking lot station; the supply and demand service information of the candidate parking lot station includes one or more of vehicle supply service information and charging demand service information.
[0071] In the third aspect, the present application also provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle scheduling method as described in the first aspect or any one of the embodiments of the first aspect.
[0072] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the vehicle dispatching method as described in any one of the first aspect and the various embodiments of the first aspect are executed.
[0073] By adopting the above scheme, the service dispatch score from the charging station where the target vehicle is located to each candidate parking station is first determined based on the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station, and then the candidate parking station with the highest service dispatch score is determined as the target parking station, and finally the target vehicle is dispatched to the target parking station. That is, by adopting the above scheme, the attribute information of the charging station and the candidate parking station and the supply and demand service information of the candidate parking station can be comprehensively considered to determine the service dispatch score from the charging station where the target vehicle is located to each candidate parking station. Since the service dispatch score comprehensively considers the supply service information (such as the number of vehicle supply, etc.) and the demand service information (such as the number of charging demands, etc.) of the parking station, therefore, based on each service dispatch score, a reasonable dispatch station can be determined for the target vehicle, and the vehicle resource utilization rate is improved on the premise of meeting the vehicle use demand.
[0074] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0076] Figure 1 A flow chart of a vehicle dispatching method provided in Embodiment 1 of the present application is shown;
[0077] Figure 2 A flow chart of a vehicle dispatching method provided in Embodiment 2 of the present application is shown;
[0078] Figure 3 A flow chart of another vehicle dispatching method provided in the second embodiment of the present application is shown;
[0079] Figure 4 A flow chart of another vehicle dispatching method provided in the second embodiment of the present application is shown;
[0080] Figure 5 A flow chart of another vehicle dispatching method provided in the second embodiment of the present application is shown;
[0081] Figure 6 A flow chart of a vehicle dispatching method provided in Embodiment 3 of the present application is shown;
[0082] Figure 7 A schematic diagram of the structure of a vehicle dispatching device provided in Embodiment 4 of the present application is shown;
[0083] Figure 8 A schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present application is shown. DETAILED DESCRIPTION
[0084] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0085] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0086] In order to enable those skilled in the art to use the contents of this application, the following implementation is provided in conjunction with a specific application scenario, "dispatching of shared vehicles". For those skilled in the art, the general principles defined herein may be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application is mainly described around the dispatching of shared vehicles, it should be understood that this is only an exemplary embodiment.
[0087] It should be noted that the vehicle in the embodiments of the present application mainly refers to an electric vehicle with electric drive, which may be a bicycle, a tricycle, a car, or other electric vehicles. Considering the wide application of electric vehicles in the field of shared vehicle technology, electric vehicles will be used as examples below.
[0088] In addition, the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features claimed thereafter, but does not exclude the addition of other features.
[0089] It is worth noting that before the present application was filed, considering that in the related technology, the number of cars required by users in different regions is also different, which leads to the electric vehicles that can be provided by the currently deployed parking stations being either in short supply and unable to meet the user's car needs, or in oversupply and wasting a lot of parking resources. However, the vehicle scheduling method, device, electronic device and storage medium provided by the present application can determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking station by acquiring the attribute information of the charging station where the target vehicle is located and the attribute information and supply and demand service information of each candidate parking station, so as to schedule the target vehicle to a reasonable parking station according to the service scheduling score, and on the premise of meeting the car demand, it also improves the utilization rate of vehicle resources. Next, it will be described in detail through the following embodiments.
[0090] Embodiment 1
[0091] like Figure 1 As shown, it is a flow chart of the vehicle dispatching method provided in an embodiment of the present application. The execution subject of the method may be a server. The above-mentioned vehicle dispatching method includes the following steps:
[0092] S101, obtaining first attribute information of the charging station where the target vehicle is located, and second attribute information and supply and demand service information of each candidate parking station.
[0093] Here, in order to facilitate understanding of the vehicle dispatching method provided by the embodiment of the present application, the application scenario provided by the embodiment of the present application is first briefly described. Users can pick up cars at parking stations and use them, or they can return the cars to parking stations after using them. For electric vehicles parked at parking stations, they need to be charged in time to meet the user's car needs. In this way, when the remaining power of the electric vehicle is less than the preset power value, charging work order information can be generated for the electric vehicle, and the vehicle dispatcher can drive the electric vehicle to the charging station for charging after receiving the charging work order. After the vehicle is fully charged, the vehicle dispatcher can return the fully charged vehicle to the parking station. Considering that the currently deployed parking stations either have a lower utilization rate of vehicle resources due to oversupply, or a lower supply than demand, resulting in an inability to meet vehicle demand, in order to better integrate and dispatch all the current parking station resources, the embodiment of the present application can dispatch vehicles for fully charged target vehicles at the charging station.
[0094] In order to realize the above-mentioned vehicle dispatch, the embodiment of the present application needs to obtain the first attribute information of the charging station where the target vehicle is located, as well as the second attribute information and supply and demand service information of each candidate parking station. Here, the first attribute information of the charging station can mainly include the location information of the charging station, and can also include other information owned by the charging station, such as the charging station identification information, the number of charging piles set in the charging station, etc. Similarly, the second attribute information of the candidate parking station can also mainly include the station location information, and can also include other information owned by the parking station, such as the station identification information, the number of parking spaces set in the parking station, etc. The supply and demand service information of the candidate parking station mainly covers two parts of information, one part comes from the vehicle supply service information that meets the user's car use needs, and the other part comes from the charging demand service information that meets its own charging needs.
[0095] Since the charging station and parking lot where the target vehicle is located can be pre-set, its actual geographical location (such as charging station location information and parking lot location information) can be predetermined, and the relevant supply and demand service information can be determined by comprehensively considering the current vehicle environment and the historical vehicle environment. In addition, the target vehicle can be any one of a batch of electric vehicles currently to be dispatched.
[0096] S102: Determine a service dispatch score from the charging station where the target vehicle is located to each candidate parking station based on the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station.
[0097] Here, for the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking lot station, in an embodiment of the present application, on the one hand, the service scheduling score from the charging station where the target vehicle is located to each candidate parking lot station can be determined based on a weighted method (that is, weighting the above-mentioned information based on a weight strategy); on the other hand, the above-mentioned service scheduling score can be determined based on a model training method (that is, inputting the above-mentioned information into a pre-trained service scheduling model) to meet the needs of different application scenarios.
[0098] S103: Determine the candidate parking lot station with the highest service scheduling score as the target parking lot station.
[0099] Here, after determining the service dispatch score of the target vehicle to each candidate parking station, the candidate parking station with the highest service dispatch score may be selected as the target parking station.
[0100] S104: issuing an instruction to dispatch the target vehicle to the target parking lot.
[0101] Here, based on the selected target parking station, the target vehicle can be dispatched to the target parking station. Since the above dispatching process comprehensively considers the attribute information and supply and demand service information of each candidate parking station, as well as the attribute information of the target vehicle and other information to select the target parking station, the reasonable dispatch of vehicle resources is achieved, and the utilization rate of vehicle resources can be improved while meeting the demand for vehicles.
[0102] In practical applications, a batch of electric vehicles to be dispatched can be dispatched, and the batch of electric vehicles can be a collection of electric vehicles that have completed charging within a preset dispatch range at the current time point or a smaller time period. In this way, each target vehicle can be dispatched according to the above vehicle dispatching method. It is worth noting that when performing vehicle dispatching, for a candidate parking station, the number of target vehicles dispatched to the candidate parking station should be less than the maximum return quantity of the candidate parking station. The maximum return quantity here can be determined based on the number of remaining parking spaces at the candidate parking station and the predicted number of vehicle orders and other related information.
[0103] Determining the service scheduling score is a key step in the vehicle scheduling method provided in the embodiment of the present application. Considering that the embodiment of the present application can determine the above-mentioned service scheduling score by a weighted manner, and can also determine the above-mentioned service scheduling score based on a model training method, the following two determination methods are specifically described in the following Examples 2 and 3, respectively.
[0104] Embodiment 2
[0105] like Figure 2 FIG. 1 is a flowchart of a method for determining a service scheduling score based on a weighted manner provided in an embodiment of the present application. The method for determining a service scheduling score includes the following steps:
[0106] S201. For each candidate parking lot, determine the distance from the charging station where the target vehicle is located to the candidate parking lot according to the charging station location information and the station location information;
[0107] S202: Determine a service scheduling score from the charging station where the target vehicle is located to each candidate parking station based on the determined distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and the preset service scheduling parameter values.
[0108] Here, the vehicle dispatching method provided in the embodiment of the present application can determine the distance value from the charging station where the target vehicle is located to each candidate parking station according to the charging station location information and the station location information for each candidate parking station. Here, the charging station location information and the station location information can be represented by the corresponding longitude and latitude information, respectively. In this way, the distance value between two actual geographical locations can be determined based on the distance calculation formula. Based on the distance value corresponding to each candidate parking station, the corresponding vehicle supply service information and charging demand service information, and the preset service dispatch parameter values, the service dispatch score from the charging station where the target vehicle is located to each candidate parking station can be determined.
[0109] In the present application embodiment, Figure 3 As shown, the above vehicle supply service information can be determined according to the following steps:
[0110] S301, for each candidate parking lot, based on the station location information of the candidate parking lot and the vehicle location information carried in each historical vehicle use order, determine the historical vehicle use orders in which the distance between the vehicle use location and the station location of the candidate parking lot is less than a preset distance;
[0111] S302, determining the number of vehicle demands corresponding to the candidate parking lot station based on the determined historical vehicle orders, the historical travel status information corresponding to the historical vehicle orders, and the current travel status information;
[0112] S303: Determine the vehicle supply quantity of the candidate parking lot based on the vehicle demand quantity and the current idle vehicle quantity.
[0113] Here, in the embodiment of the present application, for each candidate parking station, the historical car order corresponding to the candidate parking station can be first determined, and then based on the determined historical car order and its corresponding historical travel status information, as well as the current travel status information, the number of car demand corresponding to the candidate parking station can be determined. That is, on the premise of determining the number of historical car orders corresponding to the historical travel status, the number of vehicles required by users under the current travel status can be determined, that is, the number of car demand corresponding to the candidate parking station. In this way, after determining the number of vehicles currently required, the number of currently idle vehicles in the parking spaces set by the candidate parking station, which is included in the second attribute information of the candidate parking station, can be used. Here, the number of car demand can be subtracted from the number of currently idle vehicles, so that the vehicles currently required to be provided by the candidate parking station, that is, the number of vehicles supplied, can be determined.
[0114] It is worth noting that the above-mentioned current number of idle vehicles refers to the number of vehicles that have not been ordered by users and have sufficient power to provide vehicle services to users.
[0115] In the present application embodiment, Figure 4 As shown, the above charging demand service information can be determined according to the following steps:
[0116] S401. For each candidate parking lot, obtain charging work order information generated for the vehicles to be charged parked in the candidate parking lot;
[0117] S402: Determine the charging demand quantity of the candidate parking lot station based on the number of charging work orders.
[0118] Here, in an embodiment of the present application, for each candidate parking station, the charging work order information generated for the vehicles to be charged parked in the candidate parking station can be first obtained, and then the number of charging requirements of the candidate parking station can be determined based on the number of charging work orders. Considering that the charging work order information generated at the candidate parking station will record the information of the vehicle during the entire charging process, the charging work order here mainly considers the charging work order currently generated for the vehicle to be charged in the candidate parking station, that is, the charging work order that has not been collected by the vehicle dispatcher. In addition, the above-mentioned charging work order can also include the ongoing charging work order generated for the vehicle to be charged in the candidate parking station, that is, the charging work order that has been collected by the vehicle dispatcher but has not arrived at the charging station. In this way, the impact of all charging work orders on vehicle scheduling can be comprehensively considered.
[0119] In the embodiment of the present application, the above service dispatch parameter values may be obtained through verification of multiple test results, or may be obtained in advance based on analysis of relevant information of multiple reference vehicles, that is, the service dispatch parameter values obtained based on the reference vehicles may be saved in advance, and when it is determined that the attribute information of the target vehicle is relatively relevant to that of each reference vehicle, the service dispatch parameter values related to the target vehicle may be extracted from the pre-saved service dispatch parameter values. Next, the specific process of obtaining the parameter values based on analysis of relevant information of multiple reference vehicles is described.
[0120] Among them, Figure 5 As shown, the above service scheduling parameter values can be determined according to the following steps:
[0121] S501, determining the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and charging demand service information of each candidate parking station, and the actual service scheduling score from the charging station where the reference vehicle is located to each candidate parking station;
[0122] S502, taking the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and the charging demand service information of each candidate parking station as independent variables of the service scheduling relationship function to be constructed, taking the service scheduling score from the charging station where the reference vehicle is located to each candidate parking station as the dependent variable of the service scheduling relationship function to be constructed, and constructing the service scheduling relationship function;
[0123] S503, iteratively calculate the constructed service scheduling relationship function based on the initial value of the service scheduling parameter until the difference between the service scheduling score obtained by the iterative calculation and the actual service scheduling score is less than a preset difference, stop the iteration, and obtain the service scheduling parameter.
[0124] Here, the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and charging demand service information of each candidate parking station can be used as the independent variables of the service scheduling relationship function to be constructed, and the service scheduling score from the charging station where the reference vehicle is located to each candidate parking station can be used as the dependent variable of the service scheduling relationship function to be constructed, so as to construct the service scheduling relationship function. That is, the embodiment of the present application pre-acquires the corresponding data of multiple sets of independent variables and dependent variables related to the reference vehicle. The actual service scheduling score here can be determined based on the situation of the reference vehicle stopping at the parking station at a historical moment, such as the service scheduling score corresponding to the actual parking station can be 10 points. In this way, based on the corresponding data of the above multiple sets of independent variables and dependent variables, the service scheduling relationship function constructed above can be iteratively calculated until the difference between the service scheduling score obtained by the iterative calculation and the actual service scheduling score is less than the preset difference, and the iteration is stopped to obtain the service scheduling parameters.
[0125] It is worth noting that, whether in the process of determining the service scheduling parameters based on the established service scheduling relationship function or in the process of determining the service scheduling score based on the service scheduling parameters, each data amount can be pulled to the same reference level, that is, the distance value, vehicle supply service information and charging demand service information can be normalized first.
[0126] Considering that for different time periods, the above three factors, namely, the distance value, the vehicle supply service information and the charging demand service information, have different effects on the determination of the service scheduling score. In the embodiment of the present application, when it is determined that the current scheduling time information of the target vehicle falls within the first time interval, the determined distance value and the service scheduling parameter value preset for the distance value, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the charging demand service information can be weighted summed to obtain the service scheduling score from the charging station where the target vehicle is located to each candidate parking station; when it is determined that the current scheduling time information of the target vehicle falls within the second time interval, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, and the determined distance value and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the product of the distance value and the charging demand service information can be weighted summed to obtain the service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0127] Among them, the above-mentioned first time interval range can refer to the time interval range with relatively large demand for cars during the day, and the above-mentioned second time interval range can refer to the time interval range with relatively small demand for cars at night. In this way, the above-mentioned first time interval range can refer to a continuous time interval range, such as 7:00 am to 9:30 pm, and the above-mentioned second time interval range can also refer to a continuous time interval range, such as 9:30 pm to 7:00 am. In the embodiment of the present application, the above-mentioned first time interval range can be composed of multiple sub-time interval ranges, such as the sub-time interval range corresponding to the peak period of car use, 7:30 am to 10:00 am and 5:30 pm to 9:00 pm. Similarly, the above-mentioned second time interval range can also be composed of multiple sub-time interval ranges, such as the sub-time interval range corresponding to the flat period of car use, 10:30 am to 2:30 pm and 9:30 pm to 7:00 am. Regardless of the time interval division method, the embodiment of the present application can perform a weighted sum operation based on the service scheduling parameter value corresponding to the time interval range to determine the service scheduling score.
[0128] It is worth noting that since the current scheduling time of the target vehicle falls into different time intervals, the corresponding weighting method is also different. In this way, different service scheduling relationship functions can be constructed for different time intervals. That is, when constructing the service scheduling relationship function, the embodiment of the present application can also consider referring to the historical scheduling time of the vehicle to establish the service scheduling relationship function, so as to adapt to the determination of service scheduling scores in different time periods.
[0129] In order to further understand the above-mentioned method of determining the service dispatch score based on the weighted method, the dispatch plan of a batch of electric vehicles is taken as an example and explained in combination with a specific formula. That is, for any electric vehicle in a batch of electric vehicles, the scores of the vehicle dispatched to each candidate parking station can be used to select the station with the highest comprehensive score as the target parking station, that is, the target parking station that maximizes the optimization function corresponding to the following formula is recommended for a batch of vehicles.
[0130]
[0131] in, Among them, S wd It is used to represent the score of the w-th vehicle recommended to the d-th candidate parking station (i.e., the above service scheduling score), R wd It is used to indicate whether to recommend the wth vehicle to the dth candidate parking lot station, T dIt is used to indicate the maximum number of vehicles returned at the d-th candidate parking lot. w indicates the w-th vehicle (one vehicle can correspond to one charging work order), and its value range is {1,2,…,W}, with a total of W vehicles. d indicates the d-th candidate parking lot, and its value range is {1,2,…,D}, with a total of D candidate parking lots.
[0132] For optimization functions As for calculating the service dispatch score matrix (determined by the service dispatch score of each vehicle in a batch of vehicles), since the method of determining the service dispatch score of each vehicle is similar, the following is a description of the calculation method of a service dispatch score. Here, considering that the method of determining the service dispatch score in different time periods is also different, here we take the daytime time period as the first time interval range as an example, and the night time period as the second time interval range as an example, which can be determined based on the following formula.
[0133]
[0134] Among them, S DAY It is used to indicate the service scheduling score corresponding to the daytime period, S NIGHT It is used to represent the service scheduling score corresponding to the night time period, where w DEM 、w ETA 、w LNK To calculate S DAY The three service scheduling parameter values used, w DEM 、w ETA&LNK To calculate S NIGHT The two service scheduling parameter values used, S DEM , S ETA and S LNK They respectively correspond to the sub-item score corresponding to the vehicle supply service information, the sub-item score corresponding to the distance value, and the sub-item score corresponding to the charging demand service information. The above three sub-item scores may be the results of normalization by the Sigmoid normalization function and can be determined by the following formula.
[0135]
[0136] Among them, x DEM Used to indicate vehicle supply service information, x ETA It is used to represent the distance from the charging station to the candidate parking station, x LNK is used to represent the charging demand service information, and the above K and B are used to represent the normalized parameters. Substituting formula (3) into the above formula (2), the service scheduling score in the daytime period and the service scheduling score in the nighttime period can be determined. It can be seen that the embodiment of the present application selects different weighting methods for different time periods, so that vehicle scheduling can be performed more reasonably.
[0137] Embodiment 3
[0138] Embodiment 3 of the present application provides a method for determining a service scheduling score based on a model training method. After pre-training a service scheduling model, the method can determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking station by inputting the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station into the pre-trained service scheduling model.
[0139] Among them, the first attribute information of the above-mentioned charging station may include one or more of the charging station identification information, the charging station location information, the idle number of fast charging heads set in the charging station, and the idle number of slow charging heads; the second attribute information of the above-mentioned candidate parking station includes one or more of the station identification information, the station location information, the number of occupied parking spaces and the number of idle vehicles in the parking spaces set in the candidate parking station; the above-mentioned supply and demand service information may include vehicle supply service information and charging demand service information.
[0140] Considering that the training process of the service scheduling model is the key step in the above service scheduling score determination method, Figure 6 The above model training process is described.
[0141] S601, constructing a service scheduling model to be trained based on the initial parameters of the model;
[0142] S602: for each vehicle sample, input the first attribute information of the charging station where the vehicle sample is located, as well as the second attribute information and supply and demand service information of each candidate parking lot into the service scheduling model to be trained, and determine the service scheduling score from the vehicle sample to each candidate parking lot output by the model based on the initial parameters of the model;
[0143] S603. Compare the dispatch result corresponding to the service dispatch score from the vehicle sample to each candidate parking lot station output by the model with the dispatch result annotation information of the vehicle sample. If the comparison result is inconsistent, adjust the initial parameters of the model until the comparison result is consistent, and train the model parameters of the service dispatch model.
[0144] Here, the service scheduling model to be trained can be first constructed based on the initial parameters of the model, and then the first attribute information of the charging station where the vehicle sample is located, as well as the second attribute information and supply and demand service information of each candidate parking lot station are input into the service scheduling model to be trained. The service scheduling score from the vehicle sample to each candidate parking lot station output by the model is determined based on the initial parameters of the model. When it is determined that the scheduling result corresponding to the service scheduling score from the vehicle sample to each candidate parking lot station output by the model is inconsistent with the scheduling result annotation information of the vehicle sample, the initial parameters of the model need to be adjusted until the comparison results are consistent, and the model parameters of the service scheduling model can be trained.
[0145] In the embodiment of the present application, the process of training the service scheduling model is the process of training the relevant model parameters. After the relevant model parameters are determined, the first attribute information, the second attribute information and the supply and demand service information corresponding to the target vehicle are input into the trained service scheduling model, and the service scheduling score of the target vehicle to each candidate parking station can be determined. Here, the above-mentioned service scheduling model can use a multi-classification model or a plurality of binary classification models. If the matching relationship between the vehicle sample and the corresponding actual scheduled parking station is recorded as 1, it is determined to have the highest score, and other matching relationships can be recorded as 0.
[0146] Considering that vehicle dispatchers are key personnel in vehicle dispatching, in order to improve the accuracy of model training, in the actual process of model training, relevant information of vehicle dispatchers (such as identity information, common location information, etc.) can also be used as input data for model training.
[0147] In addition, in practical applications, it is also possible to obtain the dispatch result verification information fed back by the vehicle dispatcher, and when it is determined that the dispatch result verification information is inconsistent with the dispatch result annotation information, the dispatch annotation result can be updated to further increase the accuracy of the service dispatch model by adjusting the model parameters.
[0148] Based on the above embodiments, the embodiments of the present application also provide a vehicle dispatching device. The implementation of the following various devices can refer to the implementation of the method, and the repeated parts will not be repeated.
[0149] Embodiment 4
[0150] like Figure 7 As shown, a vehicle dispatching device provided in Embodiment 4 of the present application is provided, and the device comprises:
[0151] The information acquisition module 701 is used to acquire the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station;
[0152] A score determination module 702 is used to determine a service dispatch score from the charging station where the target vehicle is located to each candidate parking station based on the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station;
[0153] The station determination module 703 is used to determine the candidate parking station with the highest service scheduling score as the target parking station;
[0154] The vehicle dispatching module 704 is used to issue an instruction to dispatch the target vehicle to the target parking lot.
[0155] In one embodiment, the first attribute information of the charging station includes the location information of the charging station, and the second attribute information of the candidate parking lot includes the location information of the parking lot; the supply and demand service information includes vehicle supply service information and charging demand service information; the score determination module 702 is used to determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking lot according to the following steps:
[0156] For each candidate parking lot, determine the distance from the charging station where the target vehicle is located to the candidate parking lot according to the charging station location information and the station location information;
[0157] A service scheduling score from the charging station where the target vehicle is located to each candidate parking station is determined based on the determined distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and preset service scheduling parameter values.
[0158] In some embodiments, the score determination module 702 is used to determine the service dispatch score from the charging station where the target vehicle is located to each candidate parking station according to the following steps:
[0159] When it is determined that the current scheduling time information of the target vehicle falls within the first time interval, a weighted sum operation is performed on the determined distance value and the service scheduling parameter value preset for the distance value, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the charging demand service information to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station;
[0160] When it is determined that the current scheduling time information of the target vehicle falls within the second time interval, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, as well as the determined distance value and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the product of the distance value and the charging demand service information are weightedly summed to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0161] In some embodiments, the score determination module 702 is used to determine the service scheduling parameter value according to the following steps:
[0162] Determine the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and charging demand service information of each candidate parking station, and the actual service scheduling score from the charging station where the reference vehicle is located to each candidate parking station;
[0163] The distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and the charging demand service information of each candidate parking station are used as independent variables of the service scheduling relationship function to be constructed, and the service scheduling score from the charging station where the reference vehicle is located to each candidate parking station is used as the dependent variable of the service scheduling relationship function to be constructed, and the service scheduling relationship function is constructed;
[0164] The constructed service scheduling relationship function is iterated based on the initial value of the service scheduling parameter until the difference between the service scheduling score obtained by the iterative operation and the actual service scheduling score is less than the preset difference, the iteration is stopped, and the service scheduling parameter is obtained.
[0165] In some embodiments, the second attribute information of the candidate parking station also includes the number of currently idle vehicles in the parking spaces set by the candidate parking station; the vehicle supply service information includes the number of vehicles supplied; the information acquisition module 701 is used to determine the vehicle supply service information according to the following steps:
[0166] For each candidate parking lot, based on the location information of the candidate parking lot and the location information of the vehicles carried in each historical vehicle order, determine the historical vehicle orders whose distance between the vehicle location and the location of the candidate parking lot is less than a preset distance;
[0167] Determine the number of vehicle demands corresponding to the candidate parking lot station based on the determined historical vehicle orders, the historical travel status information corresponding to the historical vehicle orders, and the current travel status information;
[0168] The vehicle supply quantity of the candidate parking lot is determined based on the vehicle demand quantity and the current idle vehicle quantity.
[0169] In some embodiments, the charging demand service information includes the charging demand quantity; the information acquisition module 701 is used to determine the charging demand service information according to the following steps:
[0170] For each candidate parking lot, obtain charging work order information generated for the vehicles to be charged parked in the candidate parking lot;
[0171] The charging demand quantity of the candidate parking lot station is determined based on the number of charging work orders.
[0172] In another embodiment, the score determination module 702 is used to determine the service dispatch score from the charging station where the target vehicle is located to each candidate parking station according to the following steps:
[0173] The first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station are input into a pre-trained service scheduling model to determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0174] In some embodiments, the score determination module 702 is used to train the service scheduling model according to the following steps:
[0175] Build the service scheduling model to be trained based on the initial parameters of the model;
[0176] For each vehicle sample, the first attribute information of the charging station where the vehicle sample is located, as well as the second attribute information and supply and demand service information of each candidate parking station are input into the service scheduling model to be trained, and the service scheduling score from the vehicle sample to each candidate parking station output by the model is determined based on the initial parameters of the model;
[0177] The dispatch result corresponding to the service dispatch score from the vehicle sample to each candidate parking lot station output by the model is compared with the dispatch result annotation information of the vehicle sample. If the comparison result is inconsistent, the initial parameters of the model are adjusted until the comparison result is consistent, and the model parameters of the service dispatch model are obtained by training.
[0178] In yet another embodiment, the device further comprises:
[0179] The annotation update module 705 is used to obtain the dispatch result verification information fed back by the vehicle dispatcher;
[0180] When it is determined that the scheduling result verification information is inconsistent with the scheduling result annotation information, the scheduling result annotation information is updated based on the scheduling result verification information to obtain updated scheduling result annotation information.
[0181] In some embodiments, the first attribute information of the charging station includes one or more of the charging station identification information, the charging station location information, the idle number of fast charging heads set in the charging station, and the idle number of slow charging heads; the second attribute information of the candidate parking lot station includes one or more of the station identification information, the station location information, the number of occupied parking spaces and the number of idle vehicles in the parking spaces set by the candidate parking lot station; the supply and demand service information of the candidate parking lot station includes one or more of vehicle supply service information and charging demand service information.
[0182] Embodiment 5
[0183] like Figure 8 As shown, it is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of the present application, including: a processor 801, a storage medium 802 and a bus 803, wherein the storage medium 802 stores machine-readable instructions executable by the processor 801 (e.g. Figure 7 The information acquisition module 701, the score determination module 702, the station determination module 703 and the execution instructions corresponding to the vehicle dispatching module 704 in the vehicle control device are shown in the figure. When the electronic device is running, the processor 801 communicates with the storage medium 802 through the bus 803. When the machine-readable instructions are executed by the processor 801, the following processing is performed:
[0184] Obtaining first attribute information of the charging station where the target vehicle is located, and second attribute information and supply and demand service information of each candidate parking station;
[0185] Determine a service dispatch score from the charging station where the target vehicle is located to each candidate parking station according to the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station;
[0186] The candidate parking lot station with the highest service scheduling score is determined as the target parking lot station;
[0187] The target vehicle is dispatched to the target parking lot station.
[0188] In one embodiment, the first attribute information of the charging station includes the location information of the charging station, and the second attribute information of the candidate parking lot includes the location information of the station; the supply and demand service information includes the vehicle supply service information and the charging demand service information; in the processing performed by the processor 801, the service scheduling score from the charging station where the target vehicle is located to each candidate parking lot is determined according to the first attribute information of the charging station where the target vehicle is located, and the second attribute information and the supply and demand service information of each candidate parking lot, including:
[0189] For each candidate parking lot, determine the distance from the charging station where the target vehicle is located to the candidate parking lot according to the charging station location information and the station location information;
[0190] A service scheduling score from the charging station where the target vehicle is located to each candidate parking station is determined based on the determined distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and preset service scheduling parameter values.
[0191] In some embodiments, in the processing performed by the processor 801, the determining of the service scheduling score from the charging station where the target vehicle is located to each candidate parking station based on the determined distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and the preset service scheduling parameter values includes:
[0192] When it is determined that the current scheduling time information of the target vehicle falls within the first time interval, a weighted sum operation is performed on the determined distance value and the service scheduling parameter value preset for the distance value, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the charging demand service information to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station;
[0193] When it is determined that the current scheduling time information of the target vehicle falls within the second time interval, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, as well as the determined distance value and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the product of the distance value and the charging demand service information are weightedly summed to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0194] In some embodiments, in the process performed by the processor 801, the service scheduling parameter value may be determined according to the following steps:
[0195] Determine the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and charging demand service information of each candidate parking station, and the actual service scheduling score from the charging station where the reference vehicle is located to each candidate parking station;
[0196] The distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and the charging demand service information of each candidate parking station are used as independent variables of the service scheduling relationship function to be constructed, and the service scheduling score from the charging station where the reference vehicle is located to each candidate parking station is used as the dependent variable of the service scheduling relationship function to be constructed, and the service scheduling relationship function is constructed;
[0197] The constructed service scheduling relationship function is iterated based on the initial value of the service scheduling parameter until the difference between the service scheduling score obtained by the iterative operation and the actual service scheduling score is less than the preset difference, the iteration is stopped, and the service scheduling parameter is obtained.
[0198] In some embodiments, the second attribute information of the candidate parking station also includes the number of currently idle vehicles in the parking spaces set by the candidate parking station; the vehicle supply service information includes the number of vehicles supplied; in the processing performed by the processor 801, the vehicle supply service information is determined according to the following steps:
[0199] For each candidate parking lot, based on the location information of the candidate parking lot and the location information of the vehicles carried in each historical vehicle order, determine the historical vehicle orders whose distance between the vehicle location and the location of the candidate parking lot is less than a preset distance;
[0200] Determine the number of vehicle demands corresponding to the candidate parking lot station based on the determined historical vehicle orders, the historical travel status information corresponding to the historical vehicle orders, and the current travel status information;
[0201] The vehicle supply quantity of the candidate parking lot is determined based on the vehicle demand quantity and the current idle vehicle quantity.
[0202] In some embodiments, the charging demand service information includes the charging demand quantity; in the process performed by the processor 801, the charging demand service information is determined according to the following steps:
[0203] For each candidate parking lot, obtain charging work order information generated for the vehicles to be charged parked in the candidate parking lot;
[0204] The charging demand quantity of the candidate parking lot station is determined based on the number of charging work orders.
[0205] In another embodiment, in the processing performed by the processor 801, determining the service scheduling score from the charging station where the target vehicle is located to each candidate parking station according to the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station includes:
[0206] The first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station are input into a pre-trained service scheduling model to determine the service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
[0207] In some embodiments, in the process performed by the processor 801, the service scheduling model may be trained according to the following steps:
[0208] Build the service scheduling model to be trained based on the initial parameters of the model;
[0209] For each vehicle sample, the first attribute information of the charging station where the vehicle sample is located, as well as the second attribute information and supply and demand service information of each candidate parking station are input into the service scheduling model to be trained, and the service scheduling score from the vehicle sample to each candidate parking station output by the model is determined based on the initial parameters of the model;
[0210] The dispatch result corresponding to the service dispatch score from the vehicle sample to each candidate parking lot station output by the model is compared with the dispatch result annotation information of the vehicle sample. If the comparison result is inconsistent, the initial parameters of the model are adjusted until the comparison result is consistent, and the model parameters of the service dispatch model are obtained by training.
[0211] In yet another implementation manner, the processing performed by the processor 801 further includes:
[0212] Obtain dispatch result verification information fed back by vehicle dispatchers;
[0213] When it is determined that the scheduling result verification information is inconsistent with the scheduling result annotation information, the scheduling result annotation information is updated based on the scheduling result verification information to obtain updated scheduling result annotation information.
[0214] In some embodiments, the first attribute information of the charging station includes one or more of the charging station identification information, the charging station location information, the idle number of fast charging heads set in the charging station, and the idle number of slow charging heads; the second attribute information of the candidate parking lot station includes one or more of the station identification information, the station location information, the number of occupied parking spaces and the number of idle vehicles in the parking spaces set by the candidate parking lot station; the supply and demand service information of the candidate parking lot station includes one or more of vehicle supply service information and charging demand service information.
[0215] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by the processor 801, the steps of the above-mentioned vehicle scheduling method are executed.
[0216] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned vehicle scheduling method can be executed, thereby solving the problem in the related technology that the vehicle resource utilization rate is low or cannot meet the vehicle demand due to the lack of a reasonable vehicle scheduling plan, and then achieving the effect of being able to reasonably schedule vehicle resources and improve the vehicle resource utilization rate while meeting the vehicle demand.
[0217] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0218] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0219] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0220] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0221] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A vehicle dispatching method, characterized in that: The method comprises: Acquire first attribute information of the charging station where the target vehicle is located, and second attribute information and supply and demand service information of each candidate parking station, wherein the first attribute information of the charging station includes at least the location information of the charging station, the second attribute information of the candidate parking station includes at least the location information of the station, and the supply and demand service information includes one or more of vehicle supply service information and charging demand service information; Determine a service scheduling score from the charging station where the target vehicle is located to each candidate parking station by weighting the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station, or by inputting the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station into a pre-trained service scheduling model; The candidate parking lot station with the highest service scheduling score is determined as the target parking lot station; issuing an instruction to dispatch the target vehicle to the target parking lot, The method of determining the service scheduling score from the charging station where the target vehicle is located to each candidate parking station by weighting the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station includes: for each candidate parking station, determining the distance value from the charging station where the target vehicle is located to the candidate parking station according to the charging station location information and the station location information; determining the service scheduling score from the charging station where the target vehicle is located to each candidate parking station by weighting the distance value, the vehicle supply service information and charging demand service information of the candidate parking station, and each preset service scheduling parameter value, wherein the service scheduling parameter value is determined based on at least the distance value from the charging station where each reference vehicle is located to each candidate parking station.
2. The vehicle dispatching method according to claim 1, characterized in that: The service scheduling score from the charging station where the target vehicle is located to each candidate parking station is determined by weighting the distance value, the vehicle supply service information and the charging demand service information of the candidate parking station, and the preset service scheduling parameter values, including: When it is determined that the current scheduling time information of the target vehicle falls within the first time interval, a weighted sum operation is performed on the determined distance value and the service scheduling parameter value preset for the distance value, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the charging demand service information to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station; When it is determined that the current scheduling time information of the target vehicle falls within the second time interval, the vehicle supply service information of the candidate parking station and the service scheduling parameter value preset for the vehicle supply service information, as well as the determined distance value and the charging demand service information of the candidate parking station and the service scheduling parameter value preset for the product of the distance value and the charging demand service information are weightedly summed to obtain a service scheduling score from the charging station where the target vehicle is located to each candidate parking station.
3. The vehicle dispatching method according to claim 1, characterized in that: Follow these steps to determine the service scheduling parameter values: Determine the distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and charging demand service information of each candidate parking station, and the actual service scheduling score from the charging station where the reference vehicle is located to each candidate parking station; The distance value from the charging station where each reference vehicle is located to each candidate parking station, the vehicle supply service information and the charging demand service information of each candidate parking station are used as independent variables of the service scheduling relationship function to be constructed, and the service scheduling score from the charging station where the reference vehicle is located to each candidate parking station is used as the dependent variable of the service scheduling relationship function to be constructed, and the service scheduling relationship function is constructed; The constructed service scheduling relationship function is iterated based on the initial value of the service scheduling parameter until the difference between the service scheduling score obtained by the iterative operation and the actual service scheduling score is less than the preset difference, the iteration is stopped, and the service scheduling parameter is obtained.
4. The vehicle dispatching method according to claim 1, characterized in that: The second attribute information of the candidate parking station also includes the number of currently idle vehicles in the parking spaces set by the candidate parking station; the vehicle supply service information includes the number of vehicles supplied; the vehicle supply service information is determined according to the following steps: For each candidate parking lot, based on the location information of the candidate parking lot and the location information of the vehicles carried in each historical vehicle order, determine the historical vehicle orders whose distance between the vehicle location and the location of the candidate parking lot is less than a preset distance; Determine the number of vehicle demands corresponding to the candidate parking lot station based on the determined historical vehicle orders, the historical travel status information corresponding to the historical vehicle orders, and the current travel status information; The vehicle supply quantity of the candidate parking lot is determined based on the vehicle demand quantity and the current idle vehicle quantity.
5. The vehicle dispatching method according to claim 1, characterized in that: The charging demand service information includes the charging demand quantity; the charging demand service information is determined according to the following steps: For each candidate parking lot, obtain charging work order information generated for the vehicles to be charged parked in the candidate parking lot; The charging demand quantity of the candidate parking lot station is determined based on the number of charging work orders.
6. The vehicle dispatching method according to claim 1, characterized in that: Follow the steps below to train the service scheduling model: Build the service scheduling model to be trained based on the initial parameters of the model; For each vehicle sample, the first attribute information of the charging station where the vehicle sample is located, as well as the second attribute information and supply and demand service information of each candidate parking station are input into the service scheduling model to be trained, and the service scheduling score from the vehicle sample to each candidate parking station output by the model is determined based on the initial parameters of the model; The dispatch result corresponding to the service dispatch score from the vehicle sample to each candidate parking lot station output by the model is compared with the dispatch result annotation information of the vehicle sample. If the comparison result is inconsistent, the initial parameters of the model are adjusted until the comparison result is consistent, and the model parameters of the service dispatch model are obtained by training.
7. The vehicle dispatching method according to claim 6, characterized in that: The method further comprises: Obtain dispatch result verification information fed back by vehicle dispatchers; When it is determined that the scheduling result verification information is inconsistent with the scheduling result annotation information, the scheduling result annotation information is updated based on the scheduling result verification information to obtain updated scheduling result annotation information.
8. The vehicle dispatching method according to any one of claims 6 to 7, characterized in that: The first attribute information of the charging station includes one or more of the charging station identification information, the charging station location information, the number of idle fast charging heads set in the charging station, and the number of idle slow charging heads; the second attribute information of the candidate parking station includes one or more of the station identification information, the station location information, the number of occupied parking spaces and the number of idle vehicles among the parking spaces set in the candidate parking station.
9. A vehicle dispatching device, characterized in that: The device comprises: An information acquisition module, used to acquire first attribute information of the charging station where the target vehicle is located, and second attribute information and supply and demand service information of each candidate parking station, wherein the first attribute information of the charging station includes at least the location information of the charging station, the second attribute information of the candidate parking station includes at least the location information of the station, and the supply and demand service information includes one or more of vehicle supply service information and charging demand service information; A score determination module, for determining a service scheduling score from the charging station where the target vehicle is located to each candidate parking station by weighting the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station, or by inputting the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station into a pre-trained service scheduling model; A station determination module, used for determining the candidate parking station with the highest service scheduling score as the target parking station; The vehicle dispatching module is used to issue an instruction to dispatch the target vehicle to the target parking lot. The method of determining the service scheduling score from the charging station where the target vehicle is located to each candidate parking station by weighting the first attribute information of the charging station where the target vehicle is located, and the second attribute information and supply and demand service information of each candidate parking station includes: for each candidate parking station, determining the distance value from the charging station where the target vehicle is located to the candidate parking station according to the charging station location information and the station location information; determining the service scheduling score from the charging station where the target vehicle is located to each candidate parking station by weighting the distance value, the vehicle supply service information and charging demand service information of the candidate parking station, and each preset service scheduling parameter value, wherein the service scheduling parameter value is determined based on at least the distance value from the charging station where each reference vehicle is located to each candidate parking station.
10. An electronic device, characterized in that: include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to perform the steps of the vehicle dispatching method as described in any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle dispatching method according to any one of claims 1 to 8 are executed.
