Public vehicle dispatching method and system, device, and storage medium
By grouping and matching public vehicle application information, and combining it with location and status information, the rational scheduling of public vehicles has been achieved, solving the problems of untimely and unreasonable scheduling, and improving resource utilization and scheduling efficiency.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Filing Date
- 2025-04-28
- Publication Date
- 2026-07-09
AI Technical Summary
The existing public vehicle dispatch system suffers from problems of untimely and unreasonable dispatching, and cannot effectively utilize resources.
By periodically acquiring car-hailing application information, grouping them according to starting address, usage time, and carpooling rules, and combining the number of passengers and vehicle purpose, the location and status information of public vehicles are obtained, it is determined whether there are related applications, the departure time and the number of remaining seats are determined, and target public vehicles are matched for dispatch.
This improved the timeliness and rationality of public vehicle dispatching, reduced resource waste, and enhanced resource utilization and dispatching efficiency.
Smart Images

Figure CN2025091655_09072026_PF_FP_ABST
Abstract
Description
A public vehicle dispatching method, system, device and storage medium
[0001] This application claims priority to Chinese Patent Application No. 202510012086.8, filed on January 6, 2025, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of management and supervision technology, and in particular to a public vehicle dispatching method, system, device and storage medium. Background Technology
[0003] With the rapid development of modern transportation, automobiles, as a primary mode of travel, have greatly enriched people's travel options and significantly improved travel efficiency. Public vehicles, as one type of public transport, require reasonable management and supervision to ensure the rationality of public vehicle dispatch. Public vehicle management can include managing carpooling to ensure reasonable carpooling allocation based on each vehicle's travel time, destination, and number of passengers, thereby improving the resource utilization rate of public vehicles.
[0004] In related technologies, the number of passengers with similar departure times and routes is usually determined based on the vehicle application information. Public vehicles that meet the demand are dispatched according to the number of passengers. However, this method of dispatching and managing public vehicles can only be used for unassigned public vehicles, which leads to problems such as untimely and unreasonable dispatching of public vehicles. Summary of the Invention
[0005] This application provides a public vehicle dispatching method, system, device, and storage medium, which solves the problems of untimely and unreasonable public vehicle dispatching. It can perform real-time dispatching of public vehicles based on the real-time location information and current status information of the target public vehicle type, ensuring the timeliness and rationality of public vehicle dispatching.
[0006] In a first aspect, embodiments of this application provide a public vehicle dispatching method, including:
[0007] The system periodically retrieves multiple vehicle-use application information, including the starting address, usage time, number of passengers, and vehicle purpose.
[0008] The multiple carpooling applications are grouped according to the starting address, the car usage time, and the preset carpooling rules. The target starting address and the target car usage time of each group are determined. The target number of passengers in each group is determined according to the number of passengers. The target vehicle purpose of each group is determined according to the vehicle purpose.
[0009] Based on the target number of passengers and the target vehicle purpose, multiple first target public vehicles are determined, the location information and current status information of the first target public vehicles are obtained, and it is determined whether the first target public vehicles have associated application information based on the current status information. Based on the determination result and the corresponding boarding rules, the departure time and the number of remaining seats are determined.
[0010] The target vehicle usage time, the target starting address, and the target number of passengers are matched with the departure time, the location information, and the number of remaining seats, respectively, and a second target public vehicle is determined based on the matching results.
[0011] The second target public vehicle is dispatched based on the target usage time and the target starting address.
[0012] Optionally, grouping the multiple car-sharing applications based on the starting address, the car-hailing time, and preset carpooling rules includes:
[0013] Based on the starting address, determine the driving route and driving direction corresponding to the vehicle application information, and identify the vehicle application information with overlapping driving routes and the same driving direction as the first target application information;
[0014] The vehicle usage time in each first target application information is matched, and the first target application information is grouped according to the matching results.
[0015] Optionally, the target vehicle purpose includes multiple sub-purposes, and determining multiple first target public vehicles based on the target number of passengers and the target vehicle purpose includes:
[0016] Determine whether the sub-purposes are the same; if the sub-purposes are different, determine the usage duration based on the target usage time associated with each sub-purpose.
[0017] The associated target vehicle type is determined based on the vehicle usage duration, and multiple first target public vehicles are determined based on the target vehicle type and the target number of passengers.
[0018] Optionally, the target vehicle purpose includes multiple sub-purposes, and the step of determining multiple first target public vehicles based on the target number of passengers and the target vehicle purpose further includes:
[0019] Determine whether the sub-purposes are the same. If the sub-purposes are different, determine the target sub-purpose and the target vehicle type associated with the target sub-purpose based on the preset vehicle purpose priority.
[0020] The first target public vehicle is determined based on the target vehicle type and the target number of passengers.
[0021] Optionally, determining the departure time and the number of remaining seats based on the judgment result and the corresponding boarding rules includes:
[0022] If there is no associated application information for the first target public vehicle, the departure time is determined to be any time, and the remaining number of seats is determined to be the approved passenger capacity that matches the first target public vehicle.
[0023] If there is associated application information for the first target public vehicle, the departure time is determined based on the associated vehicle usage time in the associated application information, and the number of remaining seats is determined based on the associated number of passengers in the associated application information and the approved passenger capacity.
[0024] Optionally, the step of matching the target vehicle usage time, the target starting address, and the target number of passengers with the departure time, the location information, and the number of remaining seats, respectively, and determining the second target public vehicle based on the matching results, includes:
[0025] Based on the location information, determine the current distance between the target starting point in the target starting address and the first target public vehicle, and based on the target vehicle usage time, determine the time difference between the target departure time and the departure time;
[0026] The first target public vehicle, whose current distance is less than or equal to a preset distance threshold, whose time difference is less than or equal to a preset time threshold, and whose remaining number of seats is greater than or equal to the target number of passengers, is determined as the second target public vehicle.
[0027] Optionally, after scheduling the second target public vehicle according to the target usage time and the target starting address, the method further includes:
[0028] If there is no associated application information for the second target public vehicle, identify the qualified driver associated with the vehicle type of the second target public vehicle, determine the allocation priority based on the number of historical orders of the qualified driver, and identify the qualified driver with the highest allocation priority as the target driver.
[0029] In a second aspect, embodiments of this application provide a public vehicle dispatching system, including:
[0030] The first information acquisition module is used to periodically acquire multiple vehicle use application information, which includes the starting address and the time of use.
[0031] The information grouping module is used to group the multiple car-sharing application information according to the starting address, the car-hailing time, and the preset car-sharing rules, and to determine the target starting address and the target car-hailing time of each group, the target number of passengers in each group according to the number of passengers, and the target vehicle purpose in each group according to the vehicle purpose.
[0032] The first target public vehicle determination module is used to determine multiple first target public vehicles based on the target number of passengers and the purpose of the target vehicles;
[0033] The second information acquisition module is used to acquire the location information and current status information of the first target public vehicle;
[0034] The parameter determination module is used to determine whether the first target public vehicle has associated application information based on the current status information, and to determine the departure time and the number of remaining seats based on the determination result and the corresponding boarding rules.
[0035] The second target public vehicle determination module is used to match the target usage time, the target starting address, and the target number of passengers with the departure time, the location information, and the number of remaining seats, respectively, and determine the second target public vehicle based on the matching results;
[0036] The vehicle dispatching module is used to dispatch the second target public vehicle according to the target usage time and the target starting address.
[0037] In a third aspect, embodiments of this application provide an electronic device, the device comprising: one or more processors; and a storage device configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the public vehicle dispatching method described in the first aspect.
[0038] In a fourth aspect, embodiments of this application provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the public vehicle dispatching method as described in the first aspect. Attached Figure Description
[0039] Figure 1 is a flowchart of a public vehicle dispatching method provided in an embodiment of this application;
[0040] Figure 2 is a flowchart of a method for determining multiple first target public vehicles provided in an embodiment of this application;
[0041] Figure 3 is a flowchart of another method for determining multiple first target public vehicles provided in an embodiment of this application;
[0042] Figure 4 is a flowchart of a method for determining departure time and the number of remaining seats provided in an embodiment of this application;
[0043] Figure 5 is a schematic diagram of the structure of a public vehicle dispatching system provided in an embodiment of this application;
[0044] Figure 6 is a schematic diagram of the structure of a public vehicle dispatching device provided in an embodiment of this application. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but may also have additional steps not included in the drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0046] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0047] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0048] The following description, in conjunction with the accompanying drawings, details the public vehicle dispatching method, apparatus, equipment, and medium provided in this application through specific embodiments and application scenarios.
[0049] The public vehicle dispatching method provided in this application embodiment manages and dispatches public vehicles, such as carpooling passengers with similar vehicle request information and making reasonable dispatches based on vehicle location information and current status, thereby improving the resource utilization rate of public vehicles. Based on the above application scenarios, it can be understood that the executing entity of this application embodiment can be a server.
[0050] Figure 1 is a flowchart of a public vehicle dispatching method provided in an embodiment of this application. As shown in Figure 1, it includes:
[0051] Step S101: Periodically obtain multiple vehicle use application information, including the starting address, usage time, number of passengers, and vehicle purpose.
[0052] The vehicle use application information is a request submitted by a passenger before using a public vehicle. This information may include the type of vehicle, the passenger's department, and their contact information, as well as the starting address, usage time, number of passengers, and vehicle purpose. The usage time can be the vehicle's departure time and estimated arrival time, or it can include the passenger's total usage time. In one embodiment, multiple vehicle use applications can be retrieved periodically, such as one application every 30 minutes. This allows for the rational allocation of passengers needing transportation within that 30-minute period, enabling passengers with similar usage times and starting addresses to carpool. This reduces the number of public vehicle trips and improves resource utilization while ensuring that passenger travel is not significantly impacted.
[0053] Step S102: Group the multiple car-sharing applications according to the starting address, the car-hailing time, and the preset car-sharing rules, and determine the target starting address and the target car-hailing time for each group, determine the target number of passengers for each group according to the number of passengers, and determine the target vehicle purpose for each group according to the vehicle purpose.
[0054] The preset carpooling rules are used to represent the conditions for carpooling for public transportation. For example, carpooling requests with similar destinations are grouped together. The target start address, target usage time, target number of passengers, and target vehicle purpose for each group are determined based on the target start address, target usage time, target number of passengers, and target vehicle purpose in the target request information corresponding to the passengers who may be carpooling.
[0055] In one embodiment, the target starting address and target usage time for each group can be determined based on the starting address and usage time in each group's application information. For example, applications with a departure time difference of less than 10 minutes and a distance difference between starting addresses within 10 kilometers are grouped together. Route planning is then performed based on the starting addresses in each group's application information, determining the starting and ending points of the routes as the target starting addresses for each group's application information. The estimated arrival times of the vehicles at the starting and ending points are determined as the target usage times for each group's application information. In another possible embodiment, the target usage time can also be determined based on the individual usage times within each group. For example, if one group's application time is 9:00-11:00 and another's is 9:10-11:30, the target usage time for that group can be determined as 9:00-11:30. The sum of the number of passengers in each group is determined as the target number of passengers for that group, and the multiple vehicle uses in each group are determined as the target vehicle uses.
[0056] In one embodiment, grouping the multiple ride-hailing requests based on the starting address, the ride-hailing time, and preset carpooling rules includes:
[0057] Based on the starting address, determine the driving route and driving direction corresponding to the vehicle application information, and identify the vehicle application information with overlapping driving routes and the same driving direction as the first target application information;
[0058] The vehicle usage time in each first target application information is matched, and the first target application information is grouped according to the matching results.
[0059] In this context, overlapping routes refer to routes where multiple routes partially overlap. For example, if one vehicle request corresponds to route ABCD and another to route BCFG, then the two requests share an overlapping route BC, and both travel from B to C. Therefore, since the two vehicle requests include overlapping routes and travel in the same direction, they can be identified as the first target requests. The first target requests are a group of vehicle requests to be combined, each containing at least two requests with overlapping routes and consistent travel directions. In one embodiment, multiple usage times contained in each first target request are matched to determine if they are the same. If they are the same, the multiple requests to be combined are identified as a group.
[0060] This embodiment of the application determines the driving route and direction corresponding to the ride request information based on the starting address, and identifies ride request information with overlapping driving routes and the same driving direction as the first target request information; the ride time in each first target request information is matched, and the first target request information is grouped according to the matching results. In the above scheme, grouping multiple ride request information by starting address and ride time enables passengers with similar routes and ride times to carpool, fully ensuring the rationality of vehicle scheduling and avoiding the waste of public vehicle resources.
[0061] Step S103: Determine multiple first target public vehicles based on the target number of passengers and the target vehicle's purpose, obtain the location information and current status information of the first target public vehicles, and determine whether the first target public vehicles have associated application information based on the current status information. Determine the departure time and the number of remaining seats based on the determination result and the corresponding boarding rules.
[0062] The multiple target public vehicles can be of the same type, such as buses, cars, and multi-purpose vehicles. Location information can be the current location information of each target public vehicle obtained based on GPS. Current status information can indicate the allocation status of the public vehicle, including "carpooling in progress," "carpooled," "assigned," or "not assigned." Associated application information indicates the carpooling information corresponding to the currently assigned task of a public vehicle. Boarding rules can be used to determine the estimated boarding time and the estimated number of passengers for available vehicles. Departure time indicates the boarding time of passengers, i.e., the time of picking up passengers. Due to differences in the status information and current location of each target public vehicle, the pick-up time varies. For example, if the current location of a target public vehicle is far from the target origin, the waiting time for passengers will be longer, and the departure time will also be longer. The number of remaining seats indicates the number of available seats remaining in the current vehicle.
[0063] In one embodiment, the vehicle type is determined based on the target number of passengers and the target vehicle purpose. For example, if the target number of passengers is 10 and the vehicle purpose is for meetings, inspections, or training, the vehicle type can be determined to be a bus. If the target number of passengers is 3, a sedan or a multi-purpose vehicle can be selected. If the vehicle purpose is for meeting transportation, the vehicle type can be determined to be a multi-purpose vehicle. The target vehicle purpose can be a single target vehicle purpose determined from the vehicle purposes included in each group, or it can be each vehicle purpose in each group. If it is each vehicle purpose in each group, a first target public vehicle is determined based on each vehicle purpose and the target number of passengers. The number of first target public vehicles is usually multiple. These multiple first target public vehicles can be public vehicles of the same type or public vehicles of different types. If there are multiple target vehicle purposes, the first target public vehicles may be multiple public vehicles of different types. After identifying the primary target vehicles, the location information of each vehicle is determined by querying its GPS location. The current status information of each primary target vehicle is then queried by its license plate number to determine whether it has been allocated. If the status information of a primary target vehicle is "allocated," it is determined that there is associated application information for that vehicle. If the status information of a primary target vehicle is "unallocated," it is determined that there is no associated application information for that vehicle. When it is determined that there is associated application information for a primary target vehicle, the departure time and the number of remaining seats are determined according to the associated application information and the corresponding boarding rules. When it is determined that there is no associated application information for a primary target vehicle, the departure time and the number of remaining seats are determined directly according to the default boarding rules.
[0064] Step S104: Match the target vehicle usage time, the target starting address, and the target number of passengers with the departure time, the location information, and the number of remaining seats, respectively, and determine the second target public vehicle based on the matching results.
[0065] The target vehicle usage time may include the target departure time and the estimated arrival time, and the target starting address may include the target origin and the target destination. The second target public vehicle is the target public vehicle that is ultimately dispatched to each group of passengers. In one embodiment, if the target departure time in the target usage time is the same as the departure time of the first target public vehicle, then the target usage time is determined to match the departure time; if the target location in the target starting address is the same as the location information of the first target public vehicle, then the target starting address is determined to match the location information; if the target number of passengers is the same as the number of remaining seats, then the target number of passengers is determined to match the number of remaining seats, and the first target public vehicle, whose target usage time matches the departure time, the target starting address matches the location information, and the target number of passengers matches the number of remaining seats, is determined to be the second target public vehicle.
[0066] In one embodiment, the step of matching the target vehicle usage time, the target starting address, and the target number of passengers with the departure time, the location information, and the number of remaining seats, respectively, and determining the second target public vehicle based on the matching results, includes:
[0067] Based on the location information, determine the current distance between the target starting point in the target starting address and the first target public vehicle, and based on the target vehicle usage time, determine the time difference between the target departure time and the departure time;
[0068] The first target public vehicle, whose current distance is less than or equal to a preset distance threshold, whose time difference is less than or equal to a preset time threshold, and whose remaining number of seats is greater than or equal to the target number of passengers, is determined as the second target public vehicle.
[0069] The current location of the first target public vehicle is determined based on the positioning information. In one embodiment, the distance between the target starting points of each first target public vehicle and the target starting address can be determined by the system's ranging module or by calling a third-party navigation platform. The time difference between the target departure time and the actual departure time of each first target public vehicle in the target usage time is calculated. The first target public vehicle whose current distance is less than or equal to a preset distance threshold, whose time difference is less than or equal to a preset time threshold, and whose remaining number of seats is greater than or equal to the target number of passengers is determined as the second target public vehicle.
[0070] In this embodiment, the current distance between the target starting point and the first target public vehicle is determined based on the location information, and the time difference between the target departure time and the departure time is determined based on the target usage time. The first target public vehicle, whose current distance is less than or equal to a preset distance threshold, whose time difference is less than or equal to a preset time threshold, and whose remaining seats are greater than or equal to the target number of passengers, is determined as the second target public vehicle. In the above scheme, by calculating the current distance and time difference of each first target public vehicle, and comparing the current distance with the preset distance threshold, comparing the time difference with the preset time threshold, and comparing the current distance with the preset distance threshold to determine the second target public vehicle, the problem of low matching rate between the usage application information and the first target public vehicle can be avoided. While ensuring a high matching rate, the rationality and timeliness of the second target public vehicle can be improved.
[0071] Step S105: Dispatch the second target public vehicle according to the target usage time and the target starting address.
[0072] In one embodiment, public vehicle dispatch information is generated based on the target usage time and target starting address, and the public vehicle dispatch information is sent to the vehicle terminal of the second target public vehicle or to the driver associated with the second target public vehicle, so as to realize the dispatch of the second target public vehicle and update the status information of the second target public vehicle in real time.
[0073] The application embodiment periodically acquires multiple ride-hailing application information, including starting address, ride time, number of passengers, and vehicle purpose. Based on the starting address, ride time, and preset carpooling rules, the multiple ride-hailing applications are grouped, and the target starting address and target ride time for each group are determined. The target number of passengers for each group is determined based on the number of passengers, and the target vehicle purpose for each group is determined based on the vehicle purpose. Multiple first target public vehicles are identified based on the target number of passengers and the target vehicle purpose. The location information and current status information of the first target public vehicles are acquired, and the current status information is used to determine whether there is any associated application information for the first target public vehicles. Based on the determination result and the corresponding ride-hailing rules, the departure time and the number of remaining seats are determined. The target ride time, target starting address, and target number of passengers are matched with the departure time, location information, and number of remaining seats, respectively, and a second target public vehicle is determined based on the matching result. The second target public vehicles are then dispatched based on the target ride time and target starting address. In the above scheme, the first target public vehicle of the corresponding type is determined according to the number of passengers and the purpose of the vehicle. This allows for the allocation of the appropriate type of vehicle based on actual passenger demand, avoiding waste of public vehicle resources. The remaining seats and departure time of each first target public vehicle are determined based on location information and current status information. Both allocated and unallocated public vehicles are managed through carpooling, which greatly improves the utilization rate of allocated vehicles and enhances the rationality of public vehicle scheduling. By matching the target usage time, target starting address, and target number of passengers with the departure time, location information, and number of remaining seats, the second target public vehicle is determined based on the matching results. This ensures the rationality of the scheduling of the second target public vehicle while improving its scheduling efficiency.
[0074] In one embodiment, after scheduling the second target public vehicle according to the target usage time and the target starting address, the method further includes:
[0075] If there is no associated application information for the second target public vehicle, identify the qualified driver associated with the vehicle type of the second target public vehicle, determine the allocation priority based on the number of historical orders of the qualified driver, and identify the qualified driver with the highest allocation priority as the target driver.
[0076] Since different types of public vehicles have corresponding licensed drivers, in one embodiment, the association between public vehicle type and licensed driver is pre-set. After the public vehicle type is determined, the corresponding licensed driver can be determined according to the pre-set association. In another possible embodiment, if there is no associated application information for the second target public vehicle, it is understood that the second target public vehicle is an unassigned public vehicle. Therefore, no corresponding driver has been assigned to the second target public vehicle. In this case, all qualified drivers can be determined based on the vehicle type and preset association of the second target public vehicle. The number of qualified drivers can be one or more. If there are multiple qualified drivers, the target driver cannot be directly determined. In this case, the number of historical orders for each qualified driver can be queried in the system database. The historical order information can be the number of orders within the past month. The allocation priority of each qualified driver is determined based on the size of the historical order number. The more historical orders, the lower the allocation priority, and vice versa. The qualified driver with the highest allocation priority is determined as the target driver, and vehicle dispatch information is sent to the target driver. The vehicle dispatch information may include the target starting address, the target usage time, and the license plate number of the second target public vehicle.
[0077] In this embodiment of the application, when there is no associated application information for the second target public vehicle, the applicant identifies the qualified driver associated with the vehicle type of the second target public vehicle, determines the allocation priority based on the number of historical orders for each qualified driver, and identifies the qualified driver with the highest allocation priority as the target driver. In the above scheme, determining the allocation priority based on the number of historical orders and then identifying the target driver based on the allocation priority improves the rationality of driver scheduling.
[0078] Figure 2 is a flowchart of a method for determining multiple first target public vehicles provided in an embodiment of this application. As shown in Figure 2, it includes:
[0079] Step S201: Determine whether the sub-purposes are the same. If the sub-purposes are different, determine the usage duration based on the target usage time associated with each sub-purpose.
[0080] In one embodiment, the target vehicle use includes multiple sub-uses. It is determined whether the sub-uses in each group are the same. If they are the same, the usage duration can be directly determined based on the corresponding sub-uses in that group. If they are different, the target usage time associated with each sub-use is determined, and the total usage duration is determined based on each target usage time. The associated target usage time refers to the usage time corresponding to that sub-use in the vehicle application information. The usage duration for each sub-use is determined based on the target usage time. For example, each sub-use includes use A and use B. If the target usage time associated with use A is 9:00-12:00, the usage duration is 3 hours; if the target usage time associated with use B is 9:00-16:00, the usage duration is 7 hours.
[0081] Step S202: Determine the associated target vehicle type based on the vehicle usage duration, and determine multiple first target public vehicles based on the target vehicle type and the target number of passengers.
[0082] In one embodiment, the presence of a long-distance trip is determined based on the duration of the trip. If a long-distance trip is involved, the associated target vehicle type is identified as a more comfortable vehicle; otherwise, it is identified as a standard vehicle. For example, if a long-distance trip is involved, the associated target vehicle type might be a minivan or luxury bus; otherwise, it might be a sedan or regular bus. After determining the target vehicle type, it is determined whether the number of passengers that the vehicle of that type can carry is greater than or equal to the target number of passengers. Vehicles with a passenger capacity greater than or equal to the target number of passengers are identified as the first target public vehicle.
[0083] In this embodiment, it is determined whether the sub-purposes are the same. If the sub-purposes are different, the usage duration is determined based on the target usage time associated with each sub-purpose. The associated target vehicle type is determined based on the usage duration. Multiple first target public vehicles are determined based on the target vehicle type and the target number of passengers. In the above scheme, determining the first target public vehicles through usage duration can ensure the rationality of public vehicle scheduling while improving the passenger experience.
[0084] Figure 3 is a flowchart of another method for determining multiple first target public vehicles provided in an embodiment of this application. As shown in Figure 3, it includes:
[0085] Step S301: Determine whether the sub-purposes are the same. If the sub-purposes are different, determine the target sub-purpose and the target vehicle type associated with the target sub-purpose according to the preset vehicle purpose priority.
[0086] In one embodiment, an urgency analysis can be performed on all vehicle usage options beforehand. Vehicle usage priorities are set based on the urgency of each usage, and associations between each usage and vehicle type are established. For example, if the vehicle usage is a meeting, the associated vehicle type can be a luxury bus, a multi-purpose vehicle, etc. If the vehicle usage is an inspection or training, the associated vehicle type can be a regular bus. The target vehicle usage includes multiple sub-uses. It is determined whether the multiple sub-uses within the same target vehicle usage are the same. If the sub-uses are different, their priorities are ranked according to a preset vehicle usage priority, and the sub-use with the highest priority is determined as the target sub-use. The target sub-use serves as a standard reference condition for determining the target vehicle type for each group of application information, and the target vehicle type associated with the target sub-use is determined according to the preset association. For example, if the target sub-use is a meeting, the target vehicle types associated with the target sub-use are determined to be luxury buses and multi-purpose vehicles.
[0087] Step S302: Determine the first target public vehicle based on the target vehicle type and the target number of passengers.
[0088] In one embodiment, the passenger capacity corresponding to the target vehicle type is determined. This passenger capacity can be the vehicle's approved passenger capacity. Vehicles with an approved passenger capacity greater than the target passenger capacity are identified as the first target public vehicle. For example, if the target vehicle types are a luxury bus and a multi-purpose vehicle, where the approved passenger capacity of the luxury bus is 17 people and the approved passenger capacity of the multi-purpose vehicle is 6 people, and the target passenger capacity is 10 people, then the luxury bus can be identified as the first target public vehicle.
[0089] In this embodiment, by determining whether the sub-purposes are the same, and in the case where the sub-purposes are different, the target sub-purpose and the target vehicle type associated with the target sub-purpose are determined according to a preset vehicle purpose priority; the first target public vehicle is determined according to the target vehicle type and the target number of passengers. In the above scheme, determining the first target public vehicle according to the vehicle purpose priority can improve the rationality of public vehicle scheduling while avoiding the waste of public vehicle resources.
[0090] Figure 4 is a flowchart of a method for determining departure time and remaining seat quantity provided in an embodiment of this application. As shown in Figure 4, it includes:
[0091] Step S401: If there is no associated application information for the first target public vehicle, determine the departure time as any time and determine the remaining number of seats as the approved passenger capacity matching the first target public vehicle.
[0092] The approved passenger capacity refers to the maximum number of passengers a public vehicle can carry. In one embodiment, if there is no associated application information for the first target public vehicle, it can be determined that the first target public vehicle is an unassigned public vehicle. This first target public vehicle can be ready to depart at any time according to the needs of passengers. Therefore, the departure time can be any time, such as the target departure time in the target usage time. Since the first target public vehicle is an unassigned public vehicle, it can be understood that there are currently no passengers on the first target public vehicle, and it is in an empty state. Therefore, the approved passenger capacity of the first target public vehicle is the number of remaining seats of the first target public vehicle. For example, if the approved passenger capacity of the first target public vehicle is 10 people, then the number of remaining seats of the first target public vehicle is also 10.
[0093] Step S402: If there is associated application information for the first target public vehicle, determine the departure time based on the associated vehicle usage time in the associated application information, and determine the remaining number of seats based on the associated number of passengers in the associated application information and the approved passenger capacity.
[0094] The associated usage time refers to the usage time corresponding to the task currently being performed by the first target public vehicle. In one embodiment, if there is associated application information for the first target public vehicle, it can be determined that the first target public vehicle is in an allocated state. Currently, the first target public vehicle may be carrying other passengers. Therefore, the number of remaining seats of the first target public vehicle needs to be determined based on the number of passengers currently on board, and the departure time of the first target public vehicle also needs to be determined based on the associated usage time. For example, if the associated usage time in the associated application information is 9:00-12:00, then the departure time is determined to be any time within this associated usage time range, such as 10:00. The associated number of passengers in the associated application information is also determined. This associated number of passengers is the number of passengers currently on board the first target public vehicle. The difference between the approved passenger capacity of the first target public vehicle and the associated number of passengers is calculated to obtain the number of remaining seats of the first target public vehicle.
[0095] In another possible embodiment, after determining the associated car rental time, the location information of the first target public vehicle can be determined. Based on the location information and the current distance of the target starting point in the target application information, the departure time of the first target public vehicle can be predicted based on the current distance and average speed, that is, the time when the first target public vehicle arrives at the target starting point can be predicted.
[0096] In this embodiment, when there is associated application information for the first target public vehicle, the departure time is determined to be arbitrary, and the remaining number of seats is determined to be the approved passenger capacity matching the first target public vehicle. When there is no associated application information for the first target public vehicle, the departure time is determined based on the associated usage time in the associated application information, and the remaining number of seats is determined based on the associated number of passengers and the approved passenger capacity in the associated application information. This solution allows for different methods to determine the departure time and remaining number of seats based on the different states of the first target public vehicle, narrowing the matching range of the first target public vehicle, improving subsequent matching efficiency, and correspondingly improving the matching accuracy of public vehicles, thus ensuring the rationality of public vehicle scheduling.
[0097] Figure 5 is a schematic diagram of a public vehicle dispatching system provided in an embodiment of this application. As shown in Figure 5, it includes:
[0098] The first information acquisition module 51 is configured to periodically acquire multiple vehicle use application information, the vehicle use application information including the starting address and the vehicle use time;
[0099] The information grouping module 52 is configured to group the multiple car-sharing application information according to the starting address, the car-hailing time, and preset car-sharing rules, and determine the target starting address and target car-hailing time of each group, determine the target number of passengers in each group according to the number of passengers, and determine the target vehicle purpose of each group according to the vehicle purpose.
[0100] The first target public vehicle determination module 53 is configured to determine multiple first target public vehicles based on the target number of passengers and the target vehicle's purpose;
[0101] The second information acquisition module 54 is configured to acquire the location information and current status information of the first target public vehicle;
[0102] The parameter determination module 55 is configured to determine whether the first target public vehicle has associated application information based on the current status information, and determine the departure time and the number of remaining seats based on the determination result and the corresponding boarding rules.
[0103] The second target public vehicle determination module 56 is configured to match the target vehicle usage time, the target starting address, and the target number of passengers with the departure time, the location information, and the number of remaining seats, respectively, and determine the second target public vehicle based on the matching results;
[0104] The vehicle dispatching module 57 is configured to dispatch the second target public vehicle according to the target usage time and the target starting address.
[0105] The application embodiment periodically acquires multiple ride-hailing application information, including starting address, ride time, number of passengers, and vehicle purpose. Based on the starting address, ride time, and preset carpooling rules, the multiple ride-hailing applications are grouped, and the target starting address and target ride time for each group are determined. The target number of passengers for each group is determined based on the number of passengers, and the target vehicle purpose for each group is determined based on the vehicle purpose. Multiple first target public vehicles are identified based on the target number of passengers and the target vehicle purpose. The location information and current status information of the first target public vehicles are acquired, and the current status information is used to determine whether there is any associated application information for the first target public vehicles. Based on the determination result and the corresponding ride-hailing rules, the departure time and the number of remaining seats are determined. The target ride time, target starting address, and target number of passengers are matched with the departure time, location information, and number of remaining seats, respectively, and a second target public vehicle is determined based on the matching result. The second target public vehicles are then dispatched based on the target ride time and target starting address. In the above scheme, the first target public vehicle of the corresponding type is determined according to the number of passengers and the purpose of the vehicle. This allows for the allocation of the appropriate type of vehicle based on actual passenger demand, avoiding waste of public vehicle resources. The remaining seats and departure time of each first target public vehicle are determined based on location information and current status information. Both allocated and unallocated public vehicles are managed through carpooling, which greatly improves the utilization rate of allocated vehicles and enhances the rationality of public vehicle scheduling. By matching the target usage time, target starting address, and target number of passengers with the departure time, location information, and number of remaining seats, the second target public vehicle is determined based on the matching results. This ensures the rationality of the scheduling of the second target public vehicle while improving its scheduling efficiency.
[0106] In one possible embodiment, the information grouping module 52 is configured as follows:
[0107] Based on the starting address, determine the driving route and driving direction corresponding to the vehicle application information, and identify the vehicle application information with overlapping driving routes and the same driving direction as the first target application information;
[0108] The vehicle usage time in each first target application information is matched, and the first target application information is grouped according to the matching results.
[0109] In one possible embodiment, the target vehicle purpose includes multiple sub-purposes, and the first target public vehicle determination module 53 is configured as follows:
[0110] Determine whether the sub-purposes are the same; if the sub-purposes are different, determine the usage duration based on the target usage time associated with each sub-purpose.
[0111] The associated target vehicle type is determined based on the vehicle usage duration, and multiple first target public vehicles are determined based on the target vehicle type and the target number of passengers.
[0112] In one possible embodiment, the target vehicle purpose includes multiple sub-purposes, and the first target public vehicle determination module 53 is configured as follows:
[0113] Determine whether the sub-purposes are the same. If the sub-purposes are different, determine the target sub-purpose and the target vehicle type associated with the target sub-purpose based on the preset vehicle purpose priority.
[0114] The first target public vehicle is determined based on the target vehicle type and the target number of passengers.
[0115] In one possible embodiment, the parameter determination module 55 is configured as follows:
[0116] If there is associated application information for the first target public vehicle, the departure time is determined to be any time, and the remaining number of seats is determined to be the approved passenger capacity that matches the first target public vehicle.
[0117] If there is no associated application information for the first target public vehicle, the departure time is determined based on the associated vehicle usage time in the associated application information, and the number of remaining seats is determined based on the associated number of passengers in the associated application information and the approved passenger capacity.
[0118] In one possible embodiment, the second target public vehicle determination module 56 is configured as follows:
[0119] Based on the location information, determine the current distance between the target starting point in the target starting address and the first target public vehicle, and based on the target vehicle usage time, determine the time difference between the target departure time and the departure time;
[0120] The first target public vehicle, whose current distance is less than or equal to a preset distance threshold, whose time difference is less than or equal to a preset time threshold, and whose remaining number of seats is greater than or equal to the target number of passengers, is determined as the second target public vehicle.
[0121] In one possible embodiment, the target test driver determination module is configured as follows:
[0122] If there is no associated application information for the second target public vehicle, identify the qualified driver associated with the vehicle type of the second target public vehicle, determine the allocation priority based on the number of historical orders of the qualified driver, and identify the qualified driver with the highest allocation priority as the target driver.
[0123] This application also provides a public vehicle dispatching device, which can integrate a public vehicle dispatching system provided in this application. Figure 6 is a schematic diagram of the structure of a public vehicle dispatching device provided in this application. Referring to Figure 6, the public vehicle dispatching device includes: an input device 63, an output device 64, a memory 62, and one or more processors 61; the memory 62 is used to store one or more programs; when one or more programs are executed by one or more processors 61, the one or more processors 61 implement the public vehicle dispatching method provided in the above embodiments. The input device 63, output device 64, memory 62, and processors 61 can be connected by a bus or other means. Figure 6 shows an example of connection via a bus.
[0124] The memory 62, as a computing device readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the public transport dispatching method provided in any embodiment of this application. The memory 62 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function; the data storage area may store data created based on the use of the device. Furthermore, the memory 62 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 62 may further include memory remotely located relative to the processor 61, and these remote memories can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0125] Input device 63 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 64 may include display devices such as a display screen.
[0126] The processor 61 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 62, thereby realizing the above-mentioned public vehicle dispatching method.
[0127] The public vehicle dispatching system, equipment, and computer provided above can be used to execute the public vehicle dispatching method provided in any of the above embodiments, and have corresponding functions and beneficial effects.
[0128] This application embodiment also provides a storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform the public vehicle dispatching method provided in the above embodiment. The public vehicle dispatching method includes:
[0129] The system periodically retrieves multiple vehicle-use application information, including the starting address, usage time, number of passengers, and vehicle purpose.
[0130] The multiple carpooling applications are grouped according to the starting address, the car usage time, and the preset carpooling rules. The target starting address and the target car usage time of each group are determined. The target number of passengers in each group is determined according to the number of passengers. The target vehicle purpose of each group is determined according to the vehicle purpose.
[0131] Based on the target number of passengers and the target vehicle purpose, multiple first target public vehicles are determined, the location information and current status information of the first target public vehicles are obtained, and it is determined whether the first target public vehicles have associated application information based on the current status information. Based on the determination result and the corresponding boarding rules, the departure time and the number of remaining seats are determined.
[0132] The target vehicle usage time, the target starting address, and the target number of passengers are matched with the departure time, the location information, and the number of remaining seats, respectively, and a second target public vehicle is determined based on the matching results.
[0133] The second target public vehicle is dispatched based on the target usage time and the target starting address.
[0134] Storage medium – any type of memory device or storage device. The term “storage medium” is intended to include: mounting media, such as CD-ROMs, floppy disks, or magnetic tape devices; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (e.g., hard disks or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. Furthermore, storage media may reside in a first computer system in which a program is executed, or may reside in a different second computer system connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term “storage medium” can include two or more storage media that may reside in different locations (e.g., in different computer systems connected via a network). Storage media may store program instructions (e.g., specifically implemented as a computer program) executable by one or more processors.
[0135] Of course, the computer-executable instructions provided in the embodiments of this application are not limited to the public vehicle dispatching method described above, but can also execute related operations in the public vehicle dispatching method provided in any embodiment of this application.
[0136] The public vehicle dispatching system, equipment, and storage medium provided in the above embodiments can execute the public vehicle dispatching method provided in any embodiment of this application. For technical details not described in detail in the above embodiments, please refer to the public vehicle dispatching method provided in any embodiment of this application.
[0137] The above description is merely a preferred embodiment and the technical principles employed in this application. This application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the claims.
Claims
1. A public vehicle dispatching method, wherein, include: The system periodically retrieves multiple vehicle-use application information, including the starting address, usage time, number of passengers, and vehicle purpose. The multiple carpooling applications are grouped according to the starting address, the car usage time, and the preset carpooling rules. The target starting address and the target car usage time of each group are determined. The target number of passengers in each group is determined according to the number of passengers. The target vehicle purpose of each group is determined according to the vehicle purpose. Based on the target number of passengers and the target vehicle purpose, multiple first target public vehicles are determined, the location information and current status information of the first target public vehicles are obtained, and it is determined whether the first target public vehicles have associated application information based on the current status information. Based on the determination result and the corresponding boarding rules, the departure time and the number of remaining seats are determined. The target vehicle usage time, the target starting address, and the target number of passengers are matched with the departure time, the location information, and the number of remaining seats, respectively, and a second target public vehicle is determined based on the matching results. The second target public vehicle is dispatched based on the target usage time and the target starting address.
2. The public vehicle dispatching method according to claim 1, wherein, The grouping of the multiple car-sharing applications based on the starting address, the usage time, and preset carpooling rules includes: Based on the starting address, determine the driving route and driving direction corresponding to the vehicle application information, and identify the vehicle application information with overlapping driving routes and the same driving direction as the first target application information; The vehicle usage time in each first target application information is matched, and the first target application information is grouped according to the matching results.
3. The public vehicle dispatching method according to claim 1 or 2, wherein, The target vehicle purpose includes multiple sub-purposes, and the determination of multiple first target public vehicles based on the target number of passengers and the target vehicle purpose includes: Determine whether the sub-purposes are the same; if the sub-purposes are different, determine the usage duration based on the target usage time associated with each sub-purpose. The associated target vehicle type is determined based on the vehicle usage duration, and multiple first target public vehicles are determined based on the target vehicle type and the target number of passengers.
4. The public vehicle dispatching method according to claim 1 or 2, wherein, The target vehicle purpose includes multiple sub-purposes, and the step of determining multiple first target public vehicles based on the target number of passengers and the target vehicle purpose further includes: Determine whether the sub-purposes are the same. If the sub-purposes are different, determine the target sub-purpose and the target vehicle type associated with the target sub-purpose based on the preset vehicle purpose priority. The first target public vehicle is determined based on the target vehicle type and the target number of passengers.
5. The public vehicle dispatching method according to any one of claims 1-4, wherein, The process of determining the departure time and the number of remaining seats based on the judgment result and the corresponding boarding rules includes: If there is no associated application information for the first target public vehicle, the departure time is determined to be any time, and the remaining number of seats is determined to be the approved passenger capacity that matches the first target public vehicle. If there is associated application information for the first target public vehicle, the departure time is determined based on the associated vehicle usage time in the associated application information, and the number of remaining seats is determined based on the associated number of passengers in the associated application information and the approved passenger capacity.
6. The public vehicle dispatching method according to any one of claims 1-5, wherein, The step of matching the target vehicle usage time, the target starting address, and the target number of passengers with the departure time, the location information, and the number of remaining seats, respectively, and determining the second target public vehicle based on the matching results, includes: Based on the location information, determine the current distance between the target starting point in the target starting address and the first target public vehicle, and based on the target vehicle usage time, determine the time difference between the target departure time and the departure time; The first target public vehicle, whose current distance is less than or equal to a preset distance threshold, whose time difference is less than or equal to a preset time threshold, and whose remaining number of seats is greater than or equal to the target number of passengers, is determined as the second target public vehicle.
7. The public vehicle dispatching method according to any one of claims 1-6, wherein, After scheduling the second target public vehicle according to the target usage time and the target starting address, the process further includes: If there is no associated application information for the second target public vehicle, identify the qualified driver associated with the vehicle type of the second target public vehicle, determine the allocation priority based on the number of historical orders of the qualified driver, and identify the qualified driver with the highest allocation priority as the target driver.
8. A public vehicle dispatching system, wherein, include: The first information acquisition module is configured to periodically acquire multiple vehicle use application information, wherein the vehicle use application information includes the starting address and the vehicle use time; The information grouping module is configured to group the multiple car-sharing application information according to the starting address, the car-hailing time, and preset carpooling rules, and determine the target starting address and target car-hailing time for each group, determine the target number of passengers for each group according to the number of passengers, and determine the target vehicle purpose for each group according to the vehicle purpose. The first target public vehicle determination module is configured to determine multiple first target public vehicles based on the target number of passengers and the target vehicle's purpose; The second information acquisition module is configured to acquire the location information and current status information of the first target public vehicle; The parameter determination module is configured to determine whether the first target public vehicle has associated application information based on the current status information, and determine the departure time and the number of remaining seats based on the determination result and the corresponding boarding rules. The second target public vehicle determination module is configured to match the target usage time, the target starting address, and the target number of passengers with the departure time, the location information, and the number of remaining seats, respectively, and determine the second target public vehicle based on the matching results; The vehicle dispatching module is configured to dispatch the second target public vehicle according to the target usage time and the target starting address.
9. An electronic device, the device comprising: One or more processors; A storage device for storing one or more programs, which, when executed by one or more processors, cause the one or more processors to implement the public vehicle dispatching method as described in any one of claims 1-7.
10. A storage medium storing computer-executable instructions, which, when executed by a computer processor, are used to perform the public vehicle dispatching method as described in any one of claims 1-7.