Shared vehicle scheduling method and device
By responding to strictly controlled time periods in the shared vehicle system, calculating parking point inventory saturation and scheduling shared vehicles, the problem of illegal parking of shared vehicles is solved and the efficiency and overall performance of urban traffic management are improved.
Patent Information
- Application Number
- CN202410684367.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-13
AI Technical Summary
Illegal parking of shared vehicles leads to traffic congestion, increases the risk of accidents, affects the cleanliness and beauty of the city, increases urban management costs, and affects the passage of emergency vehicles.
By responding to the preset strict management time period, the inventory saturation of parking points in the target area is calculated, and the parking points with saturation greater than the threshold are selected as candidate starting points, and shared vehicles are called out based on the inventory information and evacuation volume of the candidate starting points. Optimize parking behavior to avoid illegal parking.
It effectively reduces illegal parking of shared vehicles, improves urban management efficiency and transportation system performance, and provides support for the construction of a modern urban transportation system.
Smart Images

Figure CN118644017A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle dispatching, and in particular to a dispatching method and device for a shared vehicle. Background Art
[0003] The rapid growth of shared vehicles has brought new challenges, especially the problem of illegal parking of shared vehicles, which not only affects the cleanliness and beauty of the city, but also poses a potential threat to road safety.
[0004] Moreover, the existence of illegal parking of shared vehicles not only violates traffic regulations, but may also lead to traffic congestion, increase the risk of accidents, and even affect the passage of emergency vehicles. In addition, illegal parking also increases the cost of urban management and has a negative impact on the city's image and the quality of life of residents. Summary of the invention
[0005] In view of this, an object of the present invention is to provide a method and device for dispatching shared vehicles to alleviate the above technical problems.
[0006] In a first aspect, an embodiment of the present invention provides a method for scheduling shared vehicles, the method comprising: in response to the current moment satisfying a preset strict control time period, calculating the inventory saturation of parking points contained in a target area; selecting at least one of the parking points whose inventory saturation is greater than a preset saturation threshold as a candidate starting point, wherein the candidate starting point is a parking point from which a shared vehicle needs to be dispatched; calculating the evacuation volume of the candidate starting point based on the inventory information of the candidate starting point and the inventory saturation; and dispatching the shared vehicles parked at the candidate starting point based on the evacuation volume.
[0007] In combination with the first aspect, an embodiment of the present invention provides a first possible implementation method of the first aspect, wherein the above-mentioned step of responding to the current moment satisfying a preset strict control time period includes: judging whether the current moment satisfies a pre-configured strict control time judgment condition, and if so, determining that the current moment satisfies the preset strict control time period; wherein the strict control time judgment condition includes: the current moment is within the preset strict control time period, and the time interval between the current moment and the end moment corresponding to the strict control time period is greater than a first preset time interval, and the current moment and the start moment corresponding to the strict control time period are less than a second preset time interval.
[0008] In combination with the first aspect, an embodiment of the present invention provides a second possible implementation of the first aspect, wherein the step of calculating the inventory saturation of the parking spots contained in the target area includes: obtaining the capacity of the parking spot corresponding to the current moment, the real-time physical inventory of the parking spot, the competing capacity included in the real-time physical inventory, and the predicted net flow of the parking spot in a preset time period in the future with the current moment as the starting point; calculating the inventory saturation according to the capacity of the parking spot, the real-time physical inventory, the competing capacity, and the predicted net flow; wherein the calculation formula of the inventory saturation is expressed as: F=(F1+F2+F3) / F0; wherein F represents inventory saturation, F1 represents real-time physical inventory, F2 represents predicted net flow, F3 represents competing capacity, and F0 represents the capacity of the parking spot.
[0009] In combination with the second possible implementation of the first aspect, an embodiment of the present invention provides a third possible implementation of the first aspect, wherein the inventory information of the above-mentioned candidate starting point includes the real-time physical inventory of the candidate starting point; the step of calculating the evacuation amount of the candidate starting point based on the inventory information of the candidate starting point and the inventory saturation includes: calculating the dynamic inventory of the candidate starting point based on the inventory saturation; selecting the minimum value between the real-time physical inventory and the dynamic inventory as the evacuation amount of the candidate starting point.
[0010] In combination with the third possible implementation of the first aspect, an embodiment of the present invention provides a fourth possible implementation of the first aspect, wherein the step of calculating the dynamic inventory of the candidate starting point according to the inventory saturation includes: calculating the time interval between the current moment and the end moment corresponding to the strict control time period; determining multiple dynamic time periods according to the time interval and preset time parameters; predicting the cumulative net inflow quantity of the parking point in each of the dynamic time periods; selecting the largest cumulative net inflow quantity, and calculating the dynamic inventory according to the inventory saturation and the largest cumulative net inflow quantity; wherein the calculation formula of the dynamic inventory is expressed as: N1=(F-f0)×F0+Nmax; wherein f0 represents the saturation threshold, and Nmax represents the maximum cumulative net inflow quantity.
[0011] In combination with the first aspect, an embodiment of the present invention provides a fifth possible implementation of the first aspect, wherein the step of calling out the shared vehicles parked at the candidate starting point based on the evacuation volume includes: determining the priority of the candidate starting point based on the revenue information of the candidate starting point; sorting the candidate starting points based on the priority; and calling out the shared vehicles at the candidate starting point based on the evacuation volume in descending order of the priority.
[0012] In combination with the fifth possible implementation of the first aspect, an embodiment of the present invention provides a sixth possible implementation of the first aspect, wherein the above-mentioned step of determining the priority of the candidate starting point based on the revenue information of the candidate starting point includes: taking the current moment as the starting point, determining the revenue waiting time, the maximum revenue time, and the maximum revenue number; wherein the revenue waiting time is used to characterize the number of hours from the current moment to the time point corresponding to the time when the cumulative net outflow of the number of shared vehicles from the parking point in a future preset time period is greater than the capacity of the parking point; the maximum revenue time is used to characterize the number of hours from the current moment to the time point when the difference between the cumulative net outflow of the shared vehicles from the parking point in a future preset time period and the capacity of the parking point is the largest; the maximum revenue number is used to characterize the maximum value of the difference between the cumulative net outflow of the shared vehicles from the parking point in a future preset time period and the capacity of the parking point; calculating the expected rate of return based on the revenue waiting time, the maximum revenue time, and the maximum revenue number; and calculating the priority of the candidate starting point based on the expected rate of return and the evacuation volume of the candidate starting point.
[0013] In combination with the sixth possible implementation of the first aspect, the embodiment of the present invention provides a seventh possible implementation of the first aspect, wherein the step of calculating the expected rate of return based on the income waiting time, the maximum income time, and the maximum income number includes: calculating the expected rate of return according to the following formula: T = 2Np / (Tw+Twp)×Tc;
[0014] Among them, T represents the expected rate of return, Np represents the maximum return number, Tw represents the return waiting time, Twp represents the maximum return time, and Tc is the pre-configured long-term return.
[0015] In combination with the sixth possible implementation of the first aspect, an embodiment of the present invention provides an eighth possible implementation of the first aspect, wherein the step of calculating the priority of the candidate starting point based on the expected rate of return and the evacuation volume of the candidate starting point includes: calculating the priority of the candidate starting point according to the following formula: Y=Ne+a / (T+b); wherein Ne represents the evacuation volume of the candidate starting point, T represents the expected rate of return; a and b represent parameters for adjusting the weight between the expected rate of return and the evacuation volume of the candidate starting point.
[0016] In a second aspect, an embodiment of the present invention further provides a scheduling device for shared vehicles, the device comprising: a response module, for calculating the inventory saturation of parking points contained in a target area in response to the current moment satisfying a preset strict control time period; a selection module, for selecting at least one of the parking points whose inventory saturation is greater than a preset saturation threshold as a candidate starting point, wherein the candidate starting point is a parking point from which a shared vehicle needs to be dispatched; a calculation module, for calculating the evacuation volume of the candidate starting point based on the inventory information of the candidate starting point and the inventory saturation; and a scheduling module, for dispatching the shared vehicles parked at the candidate starting point based on the evacuation volume.
[0017] In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor and a memory, wherein the memory stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented.
[0018] In a fourth aspect, an embodiment of the present invention further provides a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the method described in the first aspect.
[0019] The embodiments of the present invention bring the following beneficial effects:
[0020] The shared vehicle scheduling method and device provided in the embodiment of the present invention can respond to the current moment meeting the preset strict control time period, calculate the inventory saturation of the parking points contained in the target area; select at least one parking point whose inventory saturation is greater than the preset saturation threshold as a candidate starting point, and then calculate the evacuation volume of the candidate starting point based on the inventory information and inventory saturation of the candidate starting point, and then call out the shared vehicles parked at the candidate starting point based on the evacuation volume, thereby optimizing the parking behavior of the shared vehicles at the candidate starting point, avoiding illegal parking due to excessive number of shared vehicles parked at the candidate starting point, which can not only improve urban management efficiency, but also enhance the overall performance of the urban transportation system, and contribute to the construction of a more civilized, orderly and efficient modern urban transportation system.
[0021] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0022] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 A flow chart of a method for scheduling a shared vehicle provided by an embodiment of the present invention;
[0025] Figure 2 A flowchart of another method for scheduling a shared vehicle provided by an embodiment of the present invention;
[0026] Figure 3 A schematic diagram of long-term benefits provided by an embodiment of the present invention;
[0027] Figure 4 A schematic diagram of the structure of a scheduling device for a shared vehicle provided in an embodiment of the present invention;
[0028] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0030] At present, with the increasing number of shared vehicles and the increasing number of users of shared vehicles, the phenomenon of illegal parking at parking spots has become more and more serious. Especially when the inventory of a parking spot is greater than the capacity of the parking spot, it not only leads to the aggravation of illegal parking, but also affects the cleanliness and beauty of the city, posing a potential threat to road safety.
[0031] Based on this, a shared vehicle scheduling method and device provided in an embodiment of the present invention can optimize the parking behavior of shared vehicles and reduce illegal parking through intelligent scheduling and dynamic management. This can not only improve urban management efficiency and enhance the overall performance of the urban transportation system, but also contribute to the construction of a more civilized, orderly and efficient modern urban transportation system.
[0032] To facilitate understanding of this embodiment, a method for dispatching a shared vehicle disclosed in an embodiment of the present invention is first introduced in detail.
[0033] In one possible implementation, an embodiment of the present invention provides a method for scheduling shared vehicles. Specifically, the method for scheduling shared vehicles in the embodiment of the present invention can be applied to a background server. The shared vehicle communicates with the background server and adopts the Internet of Things technology and pre-configured parking specification technology to enable the background server to monitor the parking spot in real time and collect parking status data, such as the real-time inventory of the parking spot, etc. At the same time, the shared vehicle can also send vehicle information to the background server at preset time intervals, such as the vehicle's location, power, and order status, etc. The background server can also predict the demand for the vehicle based on the vehicle information, as well as predict the peak parking demand period, illegal parking risk points, and real-time estimation of the inventory of the parking spot, etc. based on the vehicle's location and parking information, etc., thereby realizing the method for scheduling shared vehicles in the embodiment of the present invention.
[0034] Specifically, Figure 1 A flow chart of a method for scheduling a shared vehicle is shown, comprising the following steps:
[0035] Step S102, in response to the current moment meeting the preset strict control time period, calculating the inventory saturation of the parking spots included in the target area;
[0036] Step S104, selecting at least one parking point whose inventory saturation is greater than a preset saturation threshold as a candidate starting point;
[0037] Among them, the candidate starting point in the embodiment of the present invention is the parking point where the shared vehicle needs to be called out;
[0038] Specifically, the shared vehicles in the embodiments of the present invention may include shared electric motorcycles, shared bicycles, shared cars, etc. Furthermore, the above-mentioned strict control time period usually refers to the peak period of vehicle use, or special time dates such as holidays, or other times that require supervision, which can be configured through the background server. In addition, the above-mentioned target area usually refers to a strict control area, such as a tourist attraction, an area with a large flow of people, or other areas with strict control requirements, etc. Therefore, for the parking points in this target area, the scheduling method of the shared vehicle in the embodiments of the present invention can be executed.
[0039] Furthermore, the inventory saturation in the embodiment of the present invention is used to characterize the saturation of the real-time inventory of the parking spot. For example, if the real-time inventory of the parking spot is close to the capacity of the parking spot, it means that the inventory saturation is high. Therefore, in the embodiment of the present invention, for a parking spot whose inventory saturation is greater than a preset saturation threshold, it can be used as a candidate starting point to dispatch the parked vehicles.
[0040] Step S106, calculating the evacuation volume of the candidate starting point according to the inventory information and inventory saturation of the candidate starting point;
[0041] Step S108: Retrieving the shared vehicles parked at the candidate starting point based on the evacuation volume.
[0042] Among them, the above-mentioned evacuation volume refers to the corresponding number of shared vehicles that need to be dispatched, that is, the shared vehicles are dispatched from the current parking spot and placed in other parking spots with lower inventory saturation or parking spots with less inventory to avoid illegal parking after the current parking spot is saturated.
[0043] The scheduling method for shared vehicles provided in the embodiment of the present invention can respond to the current moment meeting the preset strict control time period, calculate the inventory saturation of parking points contained in the target area; select at least one parking point whose inventory saturation is greater than the preset saturation threshold as a candidate starting point, and then calculate the evacuation volume of the candidate starting point based on the inventory information and inventory saturation of the candidate starting point, and then call out the shared vehicles parked at the candidate starting point based on the evacuation volume, thereby optimizing the parking behavior of shared vehicles at the candidate starting point, avoiding illegal parking due to excessive number of shared vehicles parked at the candidate starting point, which can not only improve urban management efficiency, but also enhance the overall performance of the urban transportation system, and contribute to the construction of a more civilized, orderly and efficient modern urban transportation system.
[0044] In actual use, in order to better execute the scheduling method for shared vehicles in the embodiment of the present invention within the strict control time period to reduce illegal parking at parking spots, in the embodiment of the present invention, corresponding strict control time judgment conditions can be configured. Specifically, in response to the current moment satisfying the preset strict control time period, it can be judged whether the current moment satisfies the pre-configured strict control time judgment conditions. If so, it is determined that the current moment satisfies the preset strict control time period; for example, the background server can collect time information once every preset time period to obtain the current moment, and then execute the judgment process of the strict control time period conditions to determine whether it is necessary to execute the scheduling method for shared vehicles.
[0045] Specifically, in an embodiment of the present invention, the strict control time judgment conditions include: the current moment is within a preset strict control time period, and the time interval between the current moment and the end moment corresponding to the strict control time period is greater than a first preset time interval, and the current moment and the start moment corresponding to the strict control time period are less than a second preset time interval.
[0046] When it is determined that the current moment satisfies the above-mentioned strict control time judgment condition, the scheduling method for shared vehicles in the embodiment of the present invention can be executed.
[0047] For ease of understanding, Figure 1 On the basis of Figure 2A flow chart showing another method for scheduling a shared vehicle is provided, and a further description is given of the scheduling process of a shared vehicle within a strict control period. Figure 2 As shown, the following steps are included:
[0048] Step S202, determining whether the current time satisfies the pre-configured strict control time determination condition;
[0049] If yes, execute step S204, if no, return to step S202;
[0050] Among them, the strict control time judgment conditions include: the current moment is within the preset strict control time period, and the time interval between the current moment and the end moment corresponding to the strict control time period is greater than the first preset time interval, and the current moment and the start moment corresponding to the strict control time period are less than the second preset time interval.
[0051] Step S204, determining whether the current time meets the preset strict control time period;
[0052] Step S206, obtaining the capacity of the parking spot corresponding to the current moment, the real-time physical inventory of the parking spot, the competitive capacity included in the real-time physical inventory, and the predicted net flow of the parking spot in a preset time period in the future starting from the current moment;
[0053] Step S208, calculating inventory saturation according to the capacity of the parking spot, the real-time physical inventory, the competitive capacity, and the predicted net flow;
[0054] The calculation formula of inventory saturation is expressed as:
[0055] F = (F1 + F2 + F3) / F0;
[0056] Among them, F represents inventory saturation, F1 represents real-time physical inventory, F2 represents predicted net flow, F3 represents competitive capacity, and F0 represents the capacity of the parking spot.
[0057] In actual use, the capacity of the above-mentioned parking spot usually refers to the maximum number of vehicles allowed to be parked at the parking spot, and the real-time physical inventory refers to the number of vehicles actually parked at the parking spot in real time. When the real-time physical inventory is greater than the capacity of the parking spot, the inventory of the parking spot will be saturated, and illegal parking will occur, such as shared vehicles parked randomly around the parking spot, etc.
[0058] Furthermore, the above-mentioned competitive capacity refers to the number of shared vehicles of competitors included in the real-time physical inventory, that is, shared vehicles put into use by other manufacturers also occupy a certain inventory of parking spots. The predicted net flow refers to the number of shared vehicles flowing out and in within a preset time period in the future predicted by the relevant algorithm. Usually, machine learning algorithms or big data analysis algorithms can be used for prediction. The specific prediction algorithm shall be based on actual use, and the embodiments of the present invention do not limit this.
[0059] After the inventory saturation is obtained through the above calculation method, a candidate starting point can be further selected from the parking points in the target area based on the inventory saturation.
[0060] Step S210, selecting at least one parking point whose inventory saturation is greater than a preset saturation threshold as a candidate starting point;
[0061] Among them, in the embodiment of the present invention, the candidate starting point is the parking point where the shared vehicle needs to be called out;
[0062] Furthermore, the inventory information of the candidate starting point in the embodiment of the present invention includes the real-time physical inventory of the candidate starting point. Therefore, after obtaining the above-mentioned candidate starting point, the evacuation volume of the candidate starting point can be further calculated according to the inventory information and inventory saturation of the candidate starting point. Specifically, the following steps are included:
[0063] Step S212, calculating the dynamic inventory of the candidate starting point according to the inventory saturation;
[0064] Step S214, selecting the minimum value between the real-time physical inventory and the dynamic inventory as the evacuation volume of the candidate starting point;
[0065] The real-time physical inventory can usually be obtained by the backend server through statistics of the parking data of the shared vehicles. For example, the backend server can count the location information reported by the shared vehicles in real time, and then count the real-time physical inventory of the parking spot.
[0066] Furthermore, the above dynamic inventory can be calculated by the following methods, including:
[0067] (1) Calculate the time interval between the current time and the end time of the strict control time period, and determine multiple dynamic time periods based on the time interval and preset time parameters;
[0068] Usually, in this process, the time interval between the current moment and the end moment corresponding to the strict control time period is actually divided into multiple time periods. Usually, the ceil forensic function can be used for calculation, and then the time parameter t is set in advance. For example, if t=3 is selected, then at this time, multiple dynamic time periods can be expressed as: N=min{t,Ceil(strict control end time-current time)}, t=3, where N is the number of dynamic time periods.
[0069] (2) predict the cumulative net inflow of parking spots in each dynamic time period;
[0070] (3) Select the maximum cumulative net inflow in each dynamic time period and calculate the dynamic inventory based on the inventory saturation and the maximum cumulative net inflow;
[0071] The calculation formula of dynamic inventory is expressed as:
[0072] N1=(F-f0)×F0+Nmax;
[0073] Among them, F is the inventory saturation calculated above, f0 represents the saturation threshold, usually set to f0 = 100%, and Nmax represents the maximum cumulative net inflow.
[0074] After the dynamic inventory is obtained in the above manner, the evacuation volume of the candidate starting point can be determined through the process of step S214. After the evacuation volume is obtained, the following steps can be further performed to call out the shared vehicles parked at the candidate starting point.
[0075] Step S216, determining the priority of the candidate starting point according to the revenue information of the candidate starting point;
[0076] Step S218, sorting the candidate starting points based on priority;
[0077] Step S220 , in descending order of priority, based on the evacuation volume, the shared vehicles at the candidate starting points are dispatched.
[0078] Generally, in the case of multiple candidate starting points, the candidate starting points can be sorted based on the revenue information, so that parking spots with high priority are preferentially called out.
[0079] Specifically, when determining the priority of the candidate starting points, first take the current moment as the starting point, determine the profit waiting time, the maximum profit time, and the maximum profit number; then calculate the expected rate of return based on the profit waiting time, the maximum profit time, and the maximum profit number; and then calculate the priority of the candidate starting point based on the expected rate of return and the evacuation volume of the candidate starting point.
[0080] Among them, the revenue waiting time in the embodiment of the present invention is used to characterize the number of hours from the current moment to the corresponding time point when the number of shared vehicles with a cumulative net outflow from a parking spot within a preset time period in the future is greater than the capacity of the parking spot. It is usually represented by Tw. Taking the preset time period in the future as 24 hours as an example, Tw is represented by the number of hours from the current moment to the time point when the cumulative net outflow within the next 24 hours is greater than the capacity of the parking spot (rounded up).
[0081] For example, it is currently 11 o'clock, the capacity of parking point P is 10, the net outflow at 13 o'clock is 5, the net outflow at 14 o'clock is 4, and the net outflow at 15 o'clock is 2; then 5+4+2=11, 11 is greater than the capacity of parking point P, and the revenue waiting time is equal to 15 o'clock.
[0082] Furthermore, in an embodiment of the present invention, the maximum revenue time is used to represent the number of hours from the current moment to the time point when the difference between the number of shared vehicles with a cumulative net outflow from a parking spot and the capacity of the parking spot within a preset time period in the future is the largest; wherein, in an embodiment of the present invention, the net outflow from a parking spot = the number of outflowing vehicles - the number of inflowing vehicles.
[0083] Taking the future preset time period of 24 hours as an example, the maximum profit time is expressed as Twp, which is the time point when the difference between the cumulative net outflow and the capacity of the parking spot within the next 24 hours is the largest, and the number of hours from the current time (rounded up).
[0084] Furthermore, the maximum revenue number in the embodiment of the present invention is used to represent the maximum value of the difference between the number of shared vehicles with a cumulative net outflow from a parking spot within a future preset time period and the capacity of the parking spot; taking the future preset time period as 24 hours as an example, the maximum revenue number is expressed as Np, which is the maximum value of the cumulative net outflow - the capacity of the parking spot within the next 24 hours.
[0085] Specifically, based on the above parameters, the expected rate of return can be calculated according to the following formula:
[0086] T = 2Np / (Tw+Twp)×Tc;
[0087] Specifically, T represents the expected rate of return, Np represents the maximum number of benefits, Tw represents the waiting time for benefits, Twp represents the maximum benefit time, and Tc is the pre-configured long-term benefit.
[0088] Among them, long-term benefits can be obtained through the riding probability and riding benefits obtained through historical data statistics. For example, the riding probability can be calculated through the number of times the historical starting parking point is ridden to the end parking point; then the probability benefit can be obtained by multiplying the receivable amount of the parking point by the riding probability. Based on repeated N-order calculations between multiple parking points, the long-term benefit of the parking point can be finally obtained.
[0089] Specifically, Figure 3A schematic diagram of long-term benefits is shown. Assuming that the riding probabilities from parking point P1 to parking points P2-1 and P2-2 are 50% and 50% respectively, and the amount receivable to parking point P2-1 is 40, and the amount receivable to parking point P2-2 is 50. Further, assuming that the riding probabilities from parking point P2-1 to parking points P3-1 and P3-2 are 30% and 70% respectively, and the amount receivable to parking point P3-1 is 40, and the amount receivable to parking point P3-2 is 40, then for parking point P1, the first-order long-term benefit is expressed as Tc1=50%×40+50%×50, and the second-order long-term benefit is expressed as:
[0090] Tc2=Tc1+30%×40+70%×40=(50%×40+50%×50)+(30%×40+70%×40).
[0091] It should be understood that Figure 3 Only a schematic illustration of the number of parking spots is shown. The riding probability and the amount receivable can be obtained based on the statistics of historical vehicle usage records. The order of the above-mentioned long-term benefits can also be configured according to actual usage, and the embodiment of the present invention does not limit this.
[0092] Furthermore, after the expected rate of return is obtained based on the above method, the priority of the candidate starting point can be calculated according to the following formula:
[0093] Y = Ne + a / (T + b);
[0094] Wherein, Ne represents the evacuation volume of the candidate starting point, T represents the expected rate of return; a and b represent parameters for adjusting the weight between the expected rate of return and the evacuation volume of the candidate starting point. Generally, the values of a and b can be set according to actual usage, and can also be directly set to 0, which is subject to the actual usage, and the embodiment of the present invention is not limited to this.
[0095] Furthermore, after obtaining the above priorities, multiple candidate starting points can be sorted, and then candidate starting points with high priorities are selected for scheduling first, and then candidate starting points with low priorities are scheduled, so as to reduce illegal parking at parking spots.
[0096] Furthermore, when performing scheduling, since the shared vehicles are dispatched from parking spots in the embodiments of the present invention, the scheduling information for each dispatch can be generated based on real-time capacity information, such as the number of operation and maintenance personnel, the carrying capacity of the vehicles, and the operating efficiency of the operation and maintenance personnel, etc. In addition, the inventory of parking spots other than the candidate starting points can be obtained based on big data prediction or machine learning and other algorithm analysis, or the inventory of parking spots other than the candidate starting points can be directly obtained to select the scheduling end point, so as to dispatch the shared vehicles at the candidate starting points.
[0097] The specific call-out processing process can be configured according to actual usage conditions, and the embodiment of the present invention does not limit this.
[0098] In summary, the shared vehicle scheduling method provided in the embodiment of the present invention can provide data support for road supervision departments and reduce the cost of illegal parking management. At the same time, it can also significantly reduce the illegal parking phenomenon of shared vehicles in strictly controlled areas.
[0099] Further, based on the above embodiment, the embodiment of the present invention also provides a scheduling device for a shared vehicle, such as Figure 4 The structure diagram of a scheduling device for a shared vehicle is shown, and the scheduling device for a shared vehicle includes:
[0100] A response module 40 is used to calculate the inventory saturation of parking spots included in the target area in response to the current moment meeting the preset strict control time period;
[0101] A selection module 42 is used to select at least one of the parking points whose inventory saturation is greater than a preset saturation threshold as a candidate starting point, wherein the candidate starting point is a parking point where a shared vehicle needs to be called out;
[0102] A calculation module 44, configured to calculate the evacuation volume of the candidate starting point according to the inventory information of the candidate starting point and the inventory saturation;
[0103] The scheduling module 46 is used to dispatch the shared vehicles parked at the candidate starting point based on the evacuation volume.
[0104] The shared vehicle scheduling device provided in the embodiment of the present invention has the same technical features as the shared vehicle scheduling method provided in the above embodiment, so it can also solve the same technical problems and achieve the same technical effects.
[0105] Furthermore, an embodiment of the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0106] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are executed.
[0107] Furthermore, an embodiment of the present invention also provides a schematic diagram of the structure of an electronic device, such as Figure 5As shown, it is a schematic diagram of the structure of the electronic device, wherein the electronic device includes a processor 51 and a memory 50, the memory 50 stores computer executable instructions that can be executed by the processor 51, and the processor 51 executes the computer executable instructions to implement the above method.
[0108] exist Figure 5 In the illustrated embodiment, the electronic device further includes a bus 52 and a communication interface 53 , wherein the processor 51 , the communication interface 53 and the memory 50 are connected via the bus 52 .
[0109] Among them, the memory 50 may include a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 53 (which can be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 52 can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus 52 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0110] The processor 51 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 51 or the instruction in the form of software. The above processor 51 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor 51 reads the information in the memory and completes the above method in combination with its hardware.
[0111] The computer program product of the shared vehicle scheduling method and device provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be found in the method embodiments, which will not be repeated here.
[0112] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0113] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0114] 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 computer-readable storage medium. Based on this understanding, the technical solution of the present invention, 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. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0115] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0116] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for dispatching a shared vehicle, characterized in that: The method comprises: In response to the current moment meeting the preset strict control time period, the inventory saturation of the parking spots included in the target area is calculated; Selecting at least one of the parking spots whose inventory saturation is greater than a preset saturation threshold as a candidate starting point, wherein the candidate starting point is a parking spot where a shared vehicle needs to be called out; Calculate the evacuation volume of the candidate starting point according to the inventory information of the candidate starting point and the inventory saturation; The shared vehicles parked at the candidate starting point are called out based on the evacuation volume.
2. The method according to claim 1, characterized in that The steps of responding to the current moment meeting the preset strict control time period include: Determine whether the current moment meets the pre-configured strict control time judgment condition, and if so, determine that the current moment meets the preset strict control time period; The strict control time judgment conditions include: The current moment is within the preset strict control time period, and the time interval between the current moment and the end moment corresponding to the strict control time period is greater than the first preset time interval, and the current moment and the start moment corresponding to the strict control time period are less than the second preset time interval.
3. The method according to claim 1, characterized in that The steps of calculating the inventory saturation of parking spots contained in the target area include: Obtaining the capacity of the parking spot corresponding to the current moment, the real-time physical inventory of the parking spot, the competing capacity included in the real-time physical inventory, and the predicted net flow of the parking spot within a preset time period in the future starting from the current moment; Calculating the inventory saturation according to the capacity of the parking spot, the real-time physical inventory, the competitive capacity, and the predicted net flow; The calculation formula of the inventory saturation is expressed as: F = (F1 + F2 + F3) / F0; Among them, F represents inventory saturation, F1 represents real-time physical inventory, F2 represents predicted net flow, F3 represents competitive capacity, and F0 represents the capacity of the parking spot.
4. The method according to claim 3, characterized in that: The inventory information of the candidate starting point includes the real-time physical inventory of the candidate starting point; The step of calculating the evacuation volume of the candidate starting point according to the inventory information of the candidate starting point and the inventory saturation includes: Calculate the dynamic inventory of the candidate starting point according to the inventory saturation; The minimum value between the real-time physical inventory and the dynamic inventory is selected to determine the evacuation quantity of the candidate starting point.
5. The method according to claim 4, characterized in that The step of calculating the dynamic inventory of the candidate starting point according to the inventory saturation includes: Calculate the time interval between the current time and the end time corresponding to the strict control time period; Determine a plurality of dynamic time periods according to the time interval and preset time parameters; Predicting the cumulative net inflow quantity of the parking spot in each of the dynamic time periods; Selecting the largest cumulative net inflow amount, and calculating the dynamic inventory according to the inventory saturation and the largest cumulative net inflow amount; The calculation formula of the dynamic inventory is expressed as: N1=(F-f0)×F0+Nmax; Wherein, f0 represents the saturation threshold, and Nmax represents the maximum cumulative net inflow amount.
6. The method according to claim 1, characterized in that The step of performing a call-out process on the shared vehicles parked at the candidate starting point based on the evacuation volume includes: Determining the priority of the candidate starting point according to the revenue information of the candidate starting point; sorting the candidate starting points based on the priority; The shared vehicles at the candidate starting points are dispatched in descending order of priority based on the evacuation volume.
7. The method according to claim 6, characterized in that The step of determining the priority of the candidate starting point according to the revenue information of the candidate starting point includes: Taking the current moment as the starting point, determining the revenue waiting time, the maximum revenue time, and the maximum revenue amount; The revenue waiting time is used to represent the number of hours from the current moment to the time point when the number of shared vehicles with a cumulative net outflow from the parking spot is greater than the capacity of the parking spot within a preset time period in the future; The maximum revenue time is used to represent the number of hours from the current moment to the time point when the difference between the cumulative net outflow of shared vehicles from the parking spot and the capacity of the parking spot is the largest within a preset time period in the future; The maximum revenue number is used to represent the maximum value of the difference between the number of shared vehicles with a cumulative net outflow from the parking spot and the capacity of the parking spot within a preset time period in the future; Calculating the expected rate of return based on the income waiting time, the maximum income time, and the maximum income number; The priorities of the candidate starting points are calculated based on the expected rate of return and the evacuation volume of the candidate starting points.
8. The method according to claim 7, characterized in that The step of calculating the expected rate of return according to the income waiting time, the maximum income time, and the maximum income number includes: Calculate the expected rate of return using the following formula: T = 2Np / (Tw+Twp)×Tc; Among them, T represents the expected rate of return, Np represents the maximum return number, Tw represents the return waiting time, Twp represents the maximum return time, and Tc is the pre-configured long-term return.
9. The method according to claim 7, characterized in that: The step of calculating the priority of the candidate starting point based on the expected rate of return and the evacuation volume of the candidate starting point includes: The priority of the candidate starting point is calculated according to the following formula: Y = Ne + a / (T + b); Wherein, Ne represents the evacuation volume of the candidate starting point, T represents the expected rate of return; a and b represent parameters for adjusting the weight between the expected rate of return and the evacuation volume of the candidate starting point.
10. A dispatching device for a shared vehicle, characterized in that: The device comprises: A response module is used to respond to the current moment meeting the preset strict control time period and calculate the inventory saturation of the parking spots included in the target area; A selection module, configured to select at least one of the parking spots whose inventory saturation is greater than a preset saturation threshold as a candidate starting point, wherein the candidate starting point is a parking spot where a shared vehicle needs to be called out; A calculation module, used for calculating the evacuation volume of the candidate starting point according to the inventory information of the candidate starting point and the inventory saturation; The scheduling module is used to dispatch the shared vehicles parked at the candidate starting point based on the evacuation volume.
