A scheduling method and apparatus
By analyzing the relationship between ride-hailing drivers' cruising trajectories and dispatch areas, and using cruising duration and trajectory matching degree to determine whether drivers accept dispatch, the problem of inaccurate data review of dispatch strategies is solved, and accurate dispatch task judgment is achieved.
Patent Information
- Application Number
- CN202611413456.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-24
AI Technical Summary
In ride-hailing dispatch systems, it is impossible to accurately determine whether a driver accepts a dispatch task while not in a navigation state, which affects the accuracy of dispatch strategy data review.
By analyzing the driving trajectories of drivers who reject the system's recommended navigation, the relationship between the driver's cruising trajectory and the dispatch area is determined. The cruising duration and trajectory matching degree are used to determine whether the driver accepts the dispatch task.
It enables accurate determination of whether a driver accepts a dispatch task in non-navigation mode, improving the accuracy of dispatch strategy data review.
Smart Images

Figure CN123159809A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of ride-hailing management technology, and in particular to a scheduling method and apparatus. Background Technology
[0002] The current ride-hailing dispatch system guides drivers from cold areas to hot areas based on supply and demand forecasts.
[0003] Currently, the method for determining whether a driver accepts system dispatch is based on the assumption that the driver follows the system's recommended navigation guidance to the hotspot. If the driver does not accept the system's recommended dispatch guidance and travels to the hotspot independently via offline methods, it is impossible to determine whether the driver accepted the system's dispatch guidance. This affects the accuracy of dispatch strategy data review and, consequently, the assessment of the dispatch strategy's effectiveness.
[0004] Therefore, accurately determining whether a driver accepts a system dispatch task in a non-navigation state is a problem that urgently needs to be solved. Summary of the Invention
[0005] This invention provides a scheduling method and apparatus for analyzing the driving trajectory of a driver who refuses the system's recommended navigation. By analyzing the relationship between the driver's cruising trajectory, the scheduling area, and the recommended navigation, the method determines whether the driver accepts the scheduling, thereby accurately determining whether the driver accepts the system's scheduling task in non-navigation states and improving the accuracy of driver scheduling strategy data review.
[0006] In a first aspect, embodiments of the present invention provide a scheduling method, which is applied to a server, the server being connected to multiple terminals, the terminals being located on a vehicle, including: Obtain first information, which is the information of the vehicle where the terminal that rejected the first navigation route is located, and the first navigation route is the navigation route from the location of the terminal to the dispatch area. The cruising trajectory of the vehicle during the dispatch period is obtained from the first information, and the cruising trajectory is the driving trajectory of the vehicle in the cruising state; When the patrol trajectory passes through the scheduling area, and the patrol duration within the scheduling area is greater than or equal to a first threshold, it is determined that the terminal accepts the scheduling task; or, When the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the degree of matching between the cruising trajectory and the first navigation route is greater than or equal to a second threshold, it is determined that the terminal accepts the scheduling task.
[0007] In the above technical solution, when scheduling is required, a scheduling request is initiated to terminals within the range. Drivers can choose to reject or accept the scheduling request on their terminals. Rejecting the scheduling request means rejecting the first navigation route, which triggers a rejection flag to be fed back to the server. For terminals with a rejection flag, the terminal's first information is obtained. Then, the driver's cruising trajectory during the scheduling period is obtained from the first information. There are two judgment processes for whether the cruising trajectory passes through the scheduling area. If the cruising trajectory passes through the scheduling area, it is determined whether the driver's cruising time within the scheduling area is greater than or equal to a first threshold to determine whether the driver corresponding to the terminal accepts the scheduling. When the cruising time is greater than or equal to the first threshold, it is determined that the driver corresponding to the terminal accepts the scheduling task. If the cruising trajectory does not pass through the scheduling area, and the first information contains dispatch information within the scheduling period, that is, the driver was dispatched during the scheduling period, it is determined whether the matching degree between the cruising trajectory and the first navigation route is greater than or equal to a second threshold. When the matching degree between the cruising trajectory and the first navigation route is greater than or equal to the second threshold, it is determined that the driver corresponding to the terminal accepts the scheduling task. To accurately determine whether a driver accepts a system dispatch task when not in a navigation state.
[0008] Optionally, the method further includes: If the patrol route does not pass through the dispatch area, and the first information does not contain dispatch information for the dispatch period, it is determined that the terminal will not accept the dispatch task; or... When the patrol trajectory passes through the scheduling area, and the patrol duration within the scheduling area is less than a first threshold, it is determined that the terminal will not accept the scheduling task; or, If the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the matching degree between the cruising trajectory and the first navigation route is less than a second threshold, then it is determined that the terminal will not accept the scheduling task.
[0009] In the above technical solution, when the above situation exists, it indicates that the driver has no intention of going to the dispatch area or is just passing through the dispatch area, and it is determined that the driver does not accept the dispatch task.
[0010] Optionally, before obtaining the first information, the method further includes: Based on the number of transport capacities missing in the dispatch area during the dispatch period, the number of drivers that need to be dispatched is determined. The system acquires terminals located within a preset range around the dispatch area, and based on the number of drivers, determines the drivers corresponding to the terminals that can reach the dispatch area during the dispatch period, thus obtaining a first dispatch list.
[0011] In the above technical solution, after identifying the dispatching areas and time periods lacking transportation capacity, the required number of drivers and the drivers capable of being dispatched are determined, resulting in a first dispatch list. Dispatch requests are then initiated to the terminals corresponding to the drivers on the first dispatch list.
[0012] Optionally, the degree of matching between the cruising trajectory and the first navigation route includes: Based on the completion rate and completion efficiency between the cruise trajectory and the first navigation route, the degree of matching between the cruise trajectory and the first navigation route is determined. The completion rate indicates the degree of consistency between the cruise trajectory and the first navigation route, and the completion efficiency is used to indicate the speed at which the driver is driving.
[0013] The above technical solution combines route and efficiency to determine the degree of matching, making the judgment logic more comprehensive.
[0014] Optionally, the degree of completion includes: Based on the cruising trajectory and the first navigation route, the overlap distance between the cruising trajectory and the first navigation route is determined, wherein the overlap distance indicates the distance by which the route of the cruising trajectory overlaps with the first navigation route; The first route complexity of the first navigation route is determined based on the number of decision points and the first route length of the first navigation route, wherein the number of decision points indicates the number of operation points in the first navigation route that require the driver to make decisions on their own. Based on the first route length and the first route complexity, an overlap length threshold is determined from the overlap threshold determination strategy. The overlap threshold determination strategy indicates the strategy for determining the corresponding overlap length threshold under different route lengths and route complexities. The overlap length threshold indicates the shortest overlap distance between the cruise trajectory and the first navigation route under the first route length and the first route complexity. The degree of completion is determined based on the ratio between the overlap distance and the overlap length threshold, whereby the degree of completion represents the extent to which the overlap distance is completed relative to the overlap length threshold.
[0015] Optionally, the overlap threshold determination strategy includes: If the route length of the navigation route is less than the third threshold, then the first overlap rate is determined based on the first ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the first overlap rate. If the route length of the navigation route is greater than or equal to the third threshold and less than or equal to the fourth threshold, then the second overlap rate is determined based on the second ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the second overlap rate. If the route length of the navigation route is greater than the fourth threshold, then the third overlap rate is determined based on the third ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the third overlap rate. The first ratio, the second ratio, and the third ratio are the overlap ratio between the cruise trajectory and the navigation route.
[0016] Optionally, the completion efficiency includes: Based on the cruising trajectory and the first navigation route, determine the overlap distance between the cruising trajectory and the first navigation route; Calculate the ratio between the overlap distance and the first route length of the first navigation route to obtain the route overlap rate; The ratio of the estimated travel time of the first navigation route to the travel time of the cruise trajectory is calculated to obtain the travel time efficiency. The product of the route overlap rate and the travel time efficiency is calculated to obtain an efficiency index, which is a comprehensive evaluation index of the degree of route matching and time completion of the cruise trajectory and the first navigation route. The completion efficiency is obtained by comparing the efficiency index with the efficiency threshold.
[0017] In a second aspect, embodiments of the present invention provide a scheduling device, comprising: The acquisition module is used to acquire first information, which is the information of the vehicle where the terminal that rejected the first navigation route is located, and the first navigation route is the navigation route from the location of the terminal to the dispatch area. The processing module is used to obtain the vehicle's cruising trajectory during the scheduling period from the first information, wherein the cruising trajectory is the vehicle's driving trajectory in the cruising state; When the patrol trajectory passes through the scheduling area, and the patrol duration within the scheduling area is greater than or equal to a first threshold, it is determined that the terminal accepts the scheduling task; or, When the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the degree of matching between the cruising trajectory and the first navigation route is greater than or equal to a second threshold, it is determined that the terminal accepts the scheduling task.
[0018] Optionally, the processing module is further configured to: If the patrol route does not pass through the dispatch area, and the first information does not contain dispatch information for the dispatch period, it is determined that the terminal will not accept the dispatch task; or... When the patrol trajectory passes through the scheduling area, and the patrol duration within the scheduling area is less than a first threshold, it is determined that the terminal will not accept the scheduling task; or, If the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the matching degree between the cruising trajectory and the first navigation route is less than a second threshold, then it is determined that the terminal will not accept the scheduling task.
[0019] Optionally, the acquisition module is specifically used for: Based on the number of transport capacities missing in the dispatch area during the dispatch period, the number of drivers that need to be dispatched is determined. The system acquires terminals located within a preset range around the dispatch area, and based on the number of drivers, determines the drivers corresponding to the terminals that can reach the dispatch area during the dispatch period, thus obtaining a first dispatch list.
[0020] Optionally, the processing module is specifically used for: Based on the completion rate and completion efficiency between the cruise trajectory and the first navigation route, the degree of matching between the cruise trajectory and the first navigation route is determined. The completion rate indicates the degree of consistency between the cruise trajectory and the first navigation route, and the completion efficiency is used to indicate the speed at which the driver is driving.
[0021] Optionally, the processing module is specifically used for: Based on the cruising trajectory and the first navigation route, the overlap distance between the cruising trajectory and the first navigation route is determined, wherein the overlap distance indicates the distance by which the route of the cruising trajectory overlaps with the first navigation route; The first route complexity of the first navigation route is determined based on the number of decision points and the first route length of the first navigation route, wherein the number of decision points indicates the number of operation points in the first navigation route that require the driver to make decisions on their own. Based on the first route length and the first route complexity, an overlap length threshold is determined from the overlap threshold determination strategy. The overlap threshold determination strategy indicates the strategy for determining the corresponding overlap length threshold under different route lengths and route complexities. The overlap length threshold indicates the shortest overlap distance between the cruise trajectory and the first navigation route under the first route length and the first route complexity. The degree of completion is determined based on the ratio between the overlap distance and the overlap length threshold, whereby the degree of completion represents the extent to which the overlap distance is completed relative to the overlap length threshold.
[0022] Optionally, the processing module is specifically used for: If the route length of the navigation route is less than the third threshold, then the first overlap rate is determined based on the first ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the first overlap rate. If the route length of the navigation route is greater than or equal to the third threshold and less than or equal to the fourth threshold, then the second overlap rate is determined based on the second ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the second overlap rate. If the route length of the navigation route is greater than the fourth threshold, then the third overlap rate is determined based on the third ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the third overlap rate. The first ratio, the second ratio, and the third ratio are the overlap ratio between the cruise trajectory and the navigation route.
[0023] Optionally, the processing module is specifically used for: Based on the cruising trajectory and the first navigation route, determine the overlap distance between the cruising trajectory and the first navigation route; Calculate the ratio between the overlap distance and the first route length of the first navigation route to obtain the route overlap rate; The ratio of the estimated travel time of the first navigation route to the travel time of the cruise trajectory is calculated to obtain the travel time efficiency. The product of the route overlap rate and the travel time efficiency is calculated to obtain an efficiency index, which is a comprehensive evaluation index of the degree of route matching and time completion of the cruise trajectory and the first navigation route. The completion efficiency is obtained by comparing the efficiency index with the efficiency threshold.
[0024] Thirdly, embodiments of the present invention also provide a computer device, comprising: Memory, used to store program instructions; The processor is used to call the program instructions stored in the memory and execute the scheduling method described above according to the obtained program.
[0025] Fourthly, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for causing a computer to perform the scheduling method described above.
[0026] Fifthly, embodiments of the present invention also provide a computer program product, the computer program product including an executable program, which is executed by a processor using the scheduling method described above. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present invention; Figure 2 A flowchart illustrating a scheduling method provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of a scheduling device provided in an embodiment of the present invention. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0030] The application scenarios described in this application are for the purpose of more clearly illustrating the technical solutions protected by the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems. The terms "first" and "second" in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. In the description of this application, unless otherwise stated, "multiple" means two or more.
[0031] Figure 1 An exemplary system architecture applicable to an embodiment of the present invention is illustrated. This system architecture includes a server 100, which may include a processor 110, a communication interface 120, and a memory 130, as well as multiple terminals 140.
[0032] The communication interface 120 is used to transmit data with the terminal 140.
[0033] The processor 110 is the control center of the server 100, connecting various parts of the server 100 through various interfaces and routes. It performs various functions and processes data by running or executing software programs and / or modules stored in the memory 130, and by calling data stored in the memory 130. Optionally, the processor 110 may include one or more processing units.
[0034] The memory 130 can be used to store software programs and modules. The processor 110 executes various functional applications and data processing by running the software programs and modules stored in the memory 130. The memory 130 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created according to business processing, etc. In addition, the memory 130 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 volatile solid-state storage device.
[0035] Terminal 140 can be used to receive scheduling requests from server 100 and to provide feedback on whether the scheduling request is accepted. It is also used to report initial information to server 100 after rejecting the scheduling request. It is understood that terminal 140 is located in the vehicle. For example, terminal 140 can be a mobile phone, tablet computer, vehicle terminal, or other device that can be placed in or installed in the vehicle; no specific limitation is made here.
[0036] It should be noted that the above Figure 1 The structure shown is merely an example, and the embodiments of the present invention are not limited thereto.
[0037] Based on the above description Figure 2 An exemplary flowchart of a scheduling method provided by an embodiment of the present invention is shown, which can be executed by a scheduling device.
[0038] like Figure 2 As shown, the process specifically includes: Step 210: Obtain first information, which is the information of the vehicle where the terminal that rejected the first navigation route is located, and the first navigation route is the navigation route from the location of the terminal to the dispatch area.
[0039] In one possible implementation of this invention, the scheduling system in the server sends a scheduling request to the driver's terminal. The scheduling request may include a scheduling area, a scheduling time period, and a first navigation route, as well as the end time of the scheduling time period; the content of the scheduling request is not limited here. The first navigation route is the navigation route from the terminal's location to the scheduling area, specifically the navigation route from the terminal's location at the time the scheduling request is initiated to the scheduling area.
[0040] After receiving a dispatch request, the terminal can display its contents to the driver. The driver can choose to accept or reject the dispatch request, i.e., accept or reject the first navigation route. Whether a driver accepting the first navigation route ultimately accepts the dispatch task is easily quantifiable and will not be elaborated here. However, whether a driver rejecting the first navigation route ultimately accepts the dispatch task is not easily quantifiable and requires separate determination. In one possible implementation, there can be a display duration when showing the dispatch request to the driver. Within the display duration, the driver can manually choose to accept or reject the dispatch request. If the driver does not make a manual selection by the end of the display duration, the dispatch request is assumed to have been rejected.
[0041] When a driver chooses to reject a dispatch request, the terminal sends a rejection flag to the server. The server then adds the rejection flag to the terminal. Subsequently, after the dispatch period ends, the server can obtain the first information of the terminal with the rejection flag. The rejection flag indicates that the driver corresponding to the terminal rejected the first navigation route. The first information is the vehicle information of the terminal that rejected the first navigation route. In some embodiments, after adding the rejection flag to the terminal, the server can periodically obtain and analyze the first information until the dispatch period ends, at which point it obtains the first information for the last time.
[0042] In another possible implementation, before obtaining the first information or sending a scheduling request to the terminal, the scheduling system in the server first determines the scheduling area and scheduling period that need to be scheduled. Specifically, the scheduling system determines the destination location lacking capacity, and then divides the scheduling area into regions centered on the destination location and with the dispatch distance as the radius. The scheduling system then defines a scheduling period, which indicates the time period during which the demand in the scheduling area always exceeds the supply, resulting in a lack of capacity. That is, the scheduling area is always in a state of insufficient capacity during the scheduling period. It is understood that the method for determining the scheduling area and scheduling period mentioned in this application is only an example, and the method used by the scheduling system to determine the scheduling area and scheduling period is not limited here.
[0043] Then, the dispatch system determines a first dispatch list based on the dispatch area and dispatch time period where there is a lack of capacity. This first dispatch list includes terminals corresponding to drivers who can reach the dispatch area within the dispatch time period. Specifically, the dispatch system first determines the number of drivers that need to be dispatched based on the amount of capacity lacking in the dispatch area during the dispatch time period. For example, the number of drivers that need to be dispatched is calculated based on the following formula:
[0044] Where N is the number of drivers that need to be dispatched, [ , [This refers to the scheduling period.] This is the start time of the scheduling period. This is the end time of the scheduling period. For scheduling duration, The number of transport capacities lacking at different points in time. The required transport capacity at different points in time. This represents the actual transport capacity at different points in time. To integrate over time, if the calculated N is not an integer, it is rounded up. For example, if the calculated N is 6.1, then 6.1 is rounded up to 7 to represent N, the number of drivers that need to be dispatched. The above formula represents the average number of drivers that need to be dispatched within the dispatching period of the dispatching area.
[0045] Then, the server acquires terminals within a preset range around the dispatch area. Based on the number of drivers, it determines the drivers corresponding to the terminals that can reach the dispatch area within the dispatch period, thus obtaining a first dispatch list. That is, from the drivers cruising around the dispatch area, a certain number of drivers who can reach the dispatch area within the dispatch time are identified. Specifically, the server first acquires the location information of each terminal and filters out the drivers corresponding to the terminals within a preset range around the dispatch area. Then, it identifies drivers who are idle and can reach the dispatch area within the dispatch period, and filters out the number of drivers equal to the number of available drivers, thus obtaining a first dispatch list. For example, the first dispatch list may include the number of drivers and the identifiers of the terminals corresponding to the drivers who can reach the dispatch area within the dispatch period; the specific content of the first dispatch list is not limited here. Then, the server determines a first navigation route based on the location of the terminals in the first dispatch list and sends dispatch requests to the terminals in the first dispatch list.
[0046] Step 220: Obtain the vehicle's cruising trajectory during the dispatch period from the first information. The cruising trajectory is the vehicle's driving trajectory in the cruising state.
[0047] In this embodiment of the invention, after obtaining the first information, for terminals with a rejection flag, it is analyzed whether the driver corresponding to that terminal ultimately accepted the dispatch task. First, the vehicle's cruising trajectory during the dispatch period is obtained from the first information. The cruising trajectory is the vehicle's driving trajectory in cruising mode, which can also be understood as the driver's driving trajectory while cruising. Cruising mode indicates that the driver has not accepted orders or dispatch on the terminal and is driving the vehicle without a destination. The driver's cruising trajectory is analyzed to determine whether the driver accepted the dispatch task. Specifically, the driving results are first analyzed to determine whether the cruising trajectory includes the dispatch area, that is, to determine whether the driver's driving trajectory in cruising mode passed through the dispatch area during the dispatch period.
[0048] Step 230: When the patrol trajectory passes through the scheduling area and the patrol duration within the scheduling area is greater than or equal to a first threshold, it is determined that the terminal accepts the scheduling task.
[0049] In this embodiment of the invention, when the cruising trajectory passes through the dispatch area, that is, when the driver's driving trajectory in the cruising state passes through the dispatch area, it is determined whether the cruising time of the vehicle in the dispatch area is greater than or equal to a first threshold. The cruising time in the dispatch area refers to the duration during which the driver drives the vehicle in the dispatch area and is in a cruising state. For example, the cruising time is calculated based on the following formula:
[0050] Where F represents the driver's patrol time within the dispatch area. This refers to the driver's patrol route within the dispatch area during the dispatch period.
[0051] The first threshold is a value set based on experience, such as 2 minutes, and no specific limit is specified here. It can be understood that setting a threshold for the cruise duration can prevent situations where the driver simply drops off passengers at the dispatch area or simply passes through the dispatch area.
[0052] Finally, when the vehicle's cruising trajectory passes through the dispatch area and the cruising time within the dispatch area is greater than or equal to the first threshold, it is determined that the terminal has accepted the dispatch task, i.e., the driver has accepted the dispatch task. At this point, it can be determined that the driver wanted to and has been cruising within the dispatch area for a period of time, thus confirming that the driver has accepted the dispatch task.
[0053] If the patrol route passes through the dispatch area and the patrol time within the dispatch area is less than a first threshold, it is determined that the terminal does not accept the dispatch task, i.e., the driver refuses the dispatch task. At this time, the driver should only be driving the vehicle through the dispatch area and has no intention of actively going to the dispatch area, so it can be determined that the driver does not accept the dispatch task.
[0054] Step 240: When the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the matching degree between the cruising trajectory and the first navigation route is greater than or equal to the second threshold, it is determined that the terminal accepts the scheduling task.
[0055] In this embodiment of the invention, when the cruising trajectory does not pass through the dispatch area, that is, when the driver's driving trajectory in the cruising state does not pass through the dispatch area, it is necessary to analyze the cruising trajectory to determine whether the driver accepts the dispatch task. Specifically, there are two situations: one is that the cruising trajectory does not pass through the dispatch area, and the first information contains dispatch information within the dispatch period, that is, the cruising trajectory does not pass through the dispatch area, and the driver is dispatched within the dispatch period; the other is that the cruising trajectory does not pass through the dispatch area, and the first information does not contain dispatch information within the dispatch period, that is, the cruising trajectory does not pass through the dispatch area, and the driver is not dispatched within the dispatch period.
[0056] Specifically, when the cruise route does not pass through the dispatch area and the first information contains dispatch information within the dispatch period, it means that the driver does not have enough time to reach the dispatch area. At this time, it is not possible to directly determine whether the driver has the intention to go to the dispatch area. Therefore, it is necessary to determine whether the driver accepts the dispatch task by judging whether the matching degree between the cruise route and the first navigation route is greater than or equal to the second threshold.
[0057] Specifically, the degree of matching between the cruising trajectory and the first navigation route is determined based on the completion rate and completion efficiency. The completion rate indicates the degree of agreement between the cruising trajectory and the first navigation route, while the completion efficiency indicates the driver's speed.
[0058] In one possible implementation, the process of determining the degree of completion includes: First, based on the cruising trajectory and the first navigation route, determine the overlap distance between the cruising trajectory and the first navigation route. The overlap distance indicates the distance by which the cruising trajectory and the first navigation route overlap.
[0059] Then, the first route complexity of the first navigation route is determined based on the number of decision points and the length of the first route. The number of decision points indicates the number of operational points in the first navigation route that require the driver to make decisions; for example, decision points could be turning, making a U-turn, changing lanes, entering a ramp, or exiting a roundabout. For example, the route complexity is calculated based on the following formula:
[0060] in, Here, C represents the route complexity, C represents the number of decision points, and L represents the length of the first navigation route in km. The number of decision points per kilometer. This refers to the percentage by which the overlap length threshold is reduced, that is, the percentage by which the overlap length threshold is adjusted based on the route complexity. This is understandable. It is recommended to use the range [0.3, 0.5] when... When the distance is too small, on complex routes, it may misjudge drivers with less overlapping routes as not accepting dispatch; when When the overlap is too large, drivers with fewer overlapping routes may be mistakenly identified as accepting dispatch in simple routes. Higher route complexity indicates a more complex route, providing stronger evidence that drivers are actively following the navigation route, thus allowing for a reduction in the rigid requirement for overlapping routes.
[0061] Based on the first route length and the first route complexity, an overlap length threshold is determined from the overlap threshold determination strategy. The overlap threshold determination strategy indicates the strategy for determining the corresponding overlap length threshold under different route lengths and route complexities. The overlap length threshold indicates the shortest overlap distance between the cruising trajectory and the first navigation route under the first route length and the first route complexity.
[0062] In one embodiment, the overlap threshold determination strategy specifically includes: If the route length of the navigation route is less than the third threshold, the first overlap rate is determined based on the first ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the first overlap rate.
[0063] If the route length of the navigation route is greater than or equal to the third threshold and less than or equal to the fourth threshold, then the second overlap rate is determined based on the second ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the second overlap rate.
[0064] If the route length of the navigation route exceeds the fourth threshold, a third overlap rate is determined based on the third ratio and the route complexity of the navigation route. Then, an overlap length threshold is determined based on the route length of the navigation route and the third overlap rate. The first, second, and third ratios represent the overlap ratio between the cruising trajectory and the navigation route. The third and fourth thresholds are values set empirically and are not specifically limited here.
[0065] For example, the overlap threshold determination strategy can be expressed by the following formula:
[0066] in, This represents the overlap length threshold, in km, with 0.5 being the first ratio. The first overlap rate is 0.4, and the second ratio is 0.4. The second overlap rate is 0.3, and the third ratio is 0.3. The third overlap rate is 3km, the first threshold is 3km, and the second threshold is 5km.
[0067] Specifically, express and The larger of the two values is taken as the overlap length threshold. That is, in the case of short-distance dispatch, i.e., when the route length L of the navigation route is within 3km, the overlap length threshold between the driver's cruise trajectory and the navigation route is... or It's understandable, if Greater than Then the overlap length threshold is ,like Less than Then the overlap length threshold is .in, This means that the smaller value between 0.3 and L is selected; that is, if L is greater than 0.3, then 0.3 is selected, and if L is less than 0.3, then L is selected.
[0068] Indicates in and The larger value is taken as the overlap length threshold. That is, under the condition of medium dispatch distance, i.e., when the route length L is in the range [3, 5 km], the overlap length threshold between the driver's cruise trajectory and the navigation route is: Or 0.8km. This is understandable; if... If the value is greater than 0.8, then the overlap length threshold is... ,like If it is less than 0.8, then the overlap length threshold is 0.8.
[0069] Indicates in The larger of the two values is taken as the overlap length threshold. Specifically, in the case of long-distance dispatch, i.e., when the route length L of the navigation route is greater than 5km, the overlap length threshold between the driver's cruise trajectory and the navigation route is: Or 1km. Understandable, if If the overlap length is greater than 1km, then the overlap length threshold is: ,like If the overlap length is less than 1km, the threshold for overlap length is 1km.
[0070] Finally, the completion rate is determined based on the ratio between the overlap distance and the overlap length threshold. The completion rate represents the degree to which the overlap distance is completed relative to the overlap length threshold. For example, the completion rate is calculated based on the following formula:
[0071] Where A represents the degree of completion. This represents the overlap distance between the cruise route and the navigation route. express Take the smaller one from 1, that is, if If the score is less than 1, the completion rate is... ,like If the value is greater than 1, the completion rate is 1.
[0072] Another possible implementation involves determining the efficiency process, specifically including: First, based on the cruising trajectory and the first navigation route, determine the overlap distance between the cruising trajectory and the first navigation route.
[0073] Then, the ratio between the overlap distance and the length of the first route of the first navigation route is calculated to obtain the route overlap rate.
[0074] The travel time efficiency is obtained by calculating the ratio of the estimated travel time of the first navigation route to the travel time of the cruising trajectory. The estimated travel time of the first navigation route can be calculated based on the navigation system or determined from historical data; no specific limitations are imposed on the method for determining the estimated travel time of the first navigation route.
[0075] The efficiency index is obtained by multiplying the route overlap rate by the travel time efficiency. The efficiency index is a comprehensive evaluation of the degree of route similarity and time completion between the cruising trajectory and the first navigation route. For example, the efficiency index is calculated based on the following formula:
[0076] in, This is an efficiency metric used to measure whether a driver is driving too slowly. Here, T represents the route overlap rate, and T represents the estimated travel time of the navigation route in seconds. The duration of the cruise route, in seconds. For travel time efficiency. It's understandable that if... This indicates that the driver completed the journey quickly, and the driver was focused on getting there; if This indicates that the driver's efficiency in completing the journey is normal, and the driver is traveling at a normal speed; if This indicates that the driver's efficiency in completing the journey is relatively slow, and the driver is subjectively driving slowly.
[0077] Finally, the completion efficiency is obtained based on the ratio between the efficiency index and the efficiency threshold. For example, the completion efficiency is calculated using the following formula:
[0078] Where B represents the completion efficiency. This refers to the efficiency threshold. The efficiency threshold is a threshold set based on experience, for example, it is usually set to 2.0. When the driver is driving normally, the efficiency is 1 / 2 = 0.5. The specific value of the efficiency threshold is not limited here. express Take the smaller one from 1, that is, if If the value is less than 1, then the efficiency is... ,like If the value is greater than 1, then the efficiency is 1.
[0079] Then, based on the completion rate and efficiency between the cruising trajectory and the first navigation route, the degree of matching between them can be determined. For example, the degree of matching is obtained by calculating a weighted sum of the completion rate and efficiency. For instance, the degree of matching can be calculated based on the following formula:
[0080] Where S represents the degree of matching. and These are weights for completion rate and completion efficiency. It's understandable; it's usually set... , That is, completion rate is the primary evidence, and completion efficiency is the secondary adjustment. The weights of completion rate and completion efficiency can also be set to other values, which are not specifically limited here.
[0081] Finally, after obtaining the degree of matching between the cruising trajectory and the first navigation route, it is determined whether the degree of matching is greater than or equal to a second threshold, thus determining whether the driver accepts the dispatch task. The second threshold is a value set based on experience, for example, 0.6; no specific limit is specified for the threshold here.
[0082] If the cruising trajectory does not pass through the dispatch area, the first information contains order dispatch information within the dispatch period, and the matching degree between the cruising trajectory and the first navigation route is greater than or equal to the second threshold, then it is determined that the terminal accepts the dispatch task, i.e., the driver accepts the dispatch task. It can be understood that a matching degree between the cruising trajectory and the first navigation route greater than or equal to the second threshold indicates that although the driver has not accepted the first navigation route, they are still on their way to the dispatch area according to the first navigation route. They are simply unable to proceed to the dispatch area due to the dispatched order, indicating that the driver has the intention to go to the dispatch area. Therefore, it can be determined that the driver has accepted the dispatch task.
[0083] Correspondingly, if the cruising trajectory does not pass through the dispatch area, the first information contains dispatch information within the dispatch period, and the matching degree between the cruising trajectory and the first navigation route is less than the second threshold, it is determined that the terminal does not accept the dispatch task, i.e., the driver refuses the dispatch task. It can be understood that a matching degree between the cruising trajectory and the first navigation route less than the second threshold indicates that the driver has neither received the first navigation route nor is on their way to the dispatch area, indicating that the driver has no intention of going to the dispatch area, and it can be determined that the driver does not accept the dispatch task.
[0084] Furthermore, if the cruising route does not pass through the dispatch area and there is no order dispatch information within the dispatch period in the first information, it is determined that the terminal does not accept the dispatch task, that is, the driver refuses the dispatch task. It can be understood that if the cruising route does not pass through the dispatch area and the driver is not dispatched within the dispatch period, it means that the driver is capable of reaching the dispatch area, but has not reached the dispatch area. It can be determined that the driver has no intention of going to the dispatch area, that is, the driver does not accept the dispatch task.
[0085] In this embodiment of the invention, the driving trajectories of drivers who refuse system-recommended navigation are analyzed. The relationship between the driver's cruising trajectory, the dispatch area, and the recommended navigation is analyzed to determine whether the driver accepts the dispatch. This improves the accuracy of driver dispatch strategy data review, helps companies more effectively evaluate the effectiveness of dispatch strategies, and thus improves the overall efficiency of transportation capacity. Furthermore, it improves the driver's order-accepting experience, helping the system more accurately identify drivers who accept dispatches and thus issue corresponding order-accepting benefits.
[0086] Based on the same technological concept Figure 3 An exemplary schematic diagram of a scheduling device provided in an embodiment of the present invention is shown, which can execute the process of a scheduling method.
[0087] like Figure 3 As shown, the device specifically includes: The acquisition module 310 is used to acquire first information, the first information being information about the vehicle where the terminal that rejects the first navigation route is located, and the first navigation route being a navigation route from the location of the terminal to the dispatch area. Processing module 320 is used to obtain the vehicle's cruising trajectory during the scheduling period from the first information, wherein the cruising trajectory is the vehicle's driving trajectory in the cruising state; When the patrol trajectory passes through the scheduling area, and the patrol duration within the scheduling area is greater than or equal to a first threshold, it is determined that the terminal accepts the scheduling task; or, When the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the degree of matching between the cruising trajectory and the first navigation route is greater than or equal to a second threshold, it is determined that the terminal accepts the scheduling task.
[0088] Optionally, the processing module 320 is further configured to: If the patrol route does not pass through the dispatch area, and the first information does not contain dispatch information for the dispatch period, it is determined that the terminal will not accept the dispatch task; or... When the patrol trajectory passes through the scheduling area and the patrol duration within the scheduling area is less than a first threshold, it is determined that the terminal will not accept the scheduling task; or, If the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the matching degree between the cruising trajectory and the first navigation route is less than a second threshold, then it is determined that the terminal will not accept the scheduling task.
[0089] Optionally, the acquisition module 310 is specifically used for: Based on the number of transport capacities missing in the dispatch area during the dispatch period, the number of drivers that need to be dispatched is determined. The system acquires terminals located within a preset range around the dispatch area, and based on the number of drivers, determines the drivers corresponding to the terminals that can reach the dispatch area during the dispatch period, thus obtaining a first dispatch list.
[0090] Optionally, the processing module 320 is specifically used for: Based on the completion rate and completion efficiency between the cruise trajectory and the first navigation route, the degree of matching between the cruise trajectory and the first navigation route is determined. The completion rate indicates the degree of consistency between the cruise trajectory and the first navigation route, and the completion efficiency is used to indicate the speed at which the driver is driving.
[0091] Optionally, the processing module 320 is specifically used for: Based on the cruising trajectory and the first navigation route, the overlap distance between the cruising trajectory and the first navigation route is determined, wherein the overlap distance indicates the distance by which the route of the cruising trajectory overlaps with the first navigation route; The first route complexity of the first navigation route is determined based on the number of decision points and the first route length of the first navigation route, wherein the number of decision points indicates the number of operation points in the first navigation route that require the driver to make decisions on their own. Based on the first route length and the first route complexity, an overlap length threshold is determined from the overlap threshold determination strategy. The overlap threshold determination strategy indicates the strategy for determining the corresponding overlap length threshold under different route lengths and route complexities. The overlap length threshold indicates the shortest overlap distance between the cruise trajectory and the first navigation route under the first route length and the first route complexity. The degree of completion is determined based on the ratio between the overlap distance and the overlap length threshold, whereby the degree of completion represents the extent to which the overlap distance is completed relative to the overlap length threshold.
[0092] Optionally, the processing module 320 is specifically used for: If the route length of the navigation route is less than the third threshold, then the first overlap rate is determined based on the first ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the first overlap rate. If the route length of the navigation route is greater than or equal to the third threshold and less than or equal to the fourth threshold, then the second overlap rate is determined based on the second ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the second overlap rate. If the route length of the navigation route is greater than the fourth threshold, then the third overlap rate is determined based on the third ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the third overlap rate. The first ratio, the second ratio, and the third ratio are the overlap ratio between the cruise trajectory and the navigation route.
[0093] Optionally, the processing module 320 is specifically used for: Based on the cruising trajectory and the first navigation route, determine the overlap distance between the cruising trajectory and the first navigation route; Calculate the ratio between the overlap distance and the first route length of the first navigation route to obtain the route overlap rate; The ratio of the estimated travel time of the first navigation route to the travel time of the cruise trajectory is calculated to obtain the travel time efficiency. The product of the route overlap rate and the travel time efficiency is calculated to obtain an efficiency index, which is a comprehensive evaluation index of the degree of route matching and time completion of the cruise trajectory and the first navigation route. The completion efficiency is obtained by comparing the efficiency index with the efficiency threshold.
[0094] Based on the same technical concept, embodiments of the present invention also provide a computer device, including: Memory, used to store program instructions; The processor is used to call the program instructions stored in the memory and execute the above scheduling method according to the obtained program.
[0095] Based on the same technical concept, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions for causing a computer to execute the above-described scheduling method.
[0096] Based on the same technical concept, embodiments of the present invention also provide a computer program product, the computer program product including an executable program, which is executed by a processor using the above-described scheduling method.
[0097] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0098] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0099] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0100] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0101] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A scheduling method, characterized in that, The method is applied to a server, which is connected to multiple terminals located in a vehicle, including: Obtain first information, which is the information of the vehicle where the terminal that rejected the first navigation route is located, and the first navigation route is the navigation route from the location of the terminal to the dispatch area. The cruising trajectory of the vehicle during the dispatch period is obtained from the first information, and the cruising trajectory is the driving trajectory of the vehicle in the cruising state; When the patrol trajectory passes through the scheduling area, and the patrol duration within the scheduling area is greater than or equal to a first threshold, it is determined that the terminal accepts the scheduling task; or, When the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the degree of matching between the cruising trajectory and the first navigation route is greater than or equal to a second threshold, it is determined that the terminal accepts the scheduling task.
2. The method as described in claim 1, characterized in that, The method further includes: If the patrol route does not pass through the dispatch area, and the first information does not contain dispatch information for the dispatch period, it is determined that the terminal will not accept the dispatch task; or... When the patrol trajectory passes through the scheduling area, and the patrol duration within the scheduling area is less than a first threshold, it is determined that the terminal will not accept the scheduling task; or, If the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the matching degree between the cruising trajectory and the first navigation route is less than a second threshold, then it is determined that the terminal will not accept the scheduling task.
3. The method as described in claim 1, characterized in that, Before obtaining the first information, the method further includes: Based on the number of transport capacities missing in the dispatch area during the dispatch period, the number of drivers that need to be dispatched is determined. The system acquires terminals located within a preset range around the dispatch area, and based on the number of drivers, determines the drivers corresponding to the terminals that can reach the dispatch area during the dispatch period, thus obtaining a first dispatch list.
4. The method as described in claim 1, characterized in that, The degree of matching between the cruise trajectory and the first navigation route includes: Based on the completion rate and completion efficiency between the cruise trajectory and the first navigation route, the degree of matching between the cruise trajectory and the first navigation route is determined. The completion rate indicates the degree of consistency between the cruise trajectory and the first navigation route, and the completion efficiency is used to indicate the speed at which the driver is driving.
5. The method as described in claim 4, characterized in that, The degree of completion includes: Based on the cruising trajectory and the first navigation route, the overlap distance between the cruising trajectory and the first navigation route is determined, wherein the overlap distance indicates the distance by which the route of the cruising trajectory overlaps with the first navigation route; The first route complexity of the first navigation route is determined based on the number of decision points and the first route length of the first navigation route, wherein the number of decision points indicates the number of operation points in the first navigation route that require the driver to make decisions on their own. Based on the first route length and the first route complexity, an overlap length threshold is determined from the overlap threshold determination strategy. The overlap threshold determination strategy indicates the strategy for determining the corresponding overlap length threshold under different route lengths and route complexities. The overlap length threshold indicates the shortest overlap distance between the cruise trajectory and the first navigation route under the first route length and the first route complexity. The degree of completion is determined based on the ratio between the overlap distance and the overlap length threshold, whereby the degree of completion represents the extent to which the overlap distance is completed relative to the overlap length threshold.
6. The method as described in claim 5, characterized in that, The overlap threshold determination strategy includes: If the route length of the navigation route is less than the third threshold, then the first overlap rate is determined based on the first ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the first overlap rate. If the route length of the navigation route is greater than or equal to the third threshold and less than or equal to the fourth threshold, then the second overlap rate is determined based on the second ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the second overlap rate. If the route length of the navigation route is greater than the fourth threshold, then the third overlap rate is determined based on the third ratio and the route complexity of the navigation route, and the overlap length threshold is determined based on the route length of the navigation route and the third overlap rate. The first ratio, the second ratio, and the third ratio are the overlap ratio between the cruise trajectory and the navigation route.
7. The method as described in claim 4, characterized in that, The completion efficiency includes: Based on the cruising trajectory and the first navigation route, determine the overlap distance between the cruising trajectory and the first navigation route; Calculate the ratio between the overlap distance and the first route length of the first navigation route to obtain the route overlap rate; The ratio of the estimated travel time of the first navigation route to the travel time of the cruise trajectory is calculated to obtain the travel time efficiency. The product of the route overlap rate and the travel time efficiency is calculated to obtain an efficiency index, which is a comprehensive evaluation index of the degree of route matching and time completion of the cruise trajectory and the first navigation route. The completion efficiency is obtained by comparing the efficiency index with the efficiency threshold.
8. A scheduling device, characterized in that, include: The acquisition module is used to acquire first information, which is the information of the vehicle where the terminal that rejected the first navigation route is located, and the first navigation route is the navigation route from the location of the terminal to the dispatch area. The processing module is used to obtain the vehicle's cruising trajectory during the scheduling period from the first information, wherein the cruising trajectory is the vehicle's driving trajectory in the cruising state; When the patrol trajectory passes through the scheduling area and the patrol duration within the scheduling area is greater than or equal to a first threshold, it is determined that the terminal accepts the scheduling task. or, When the cruising trajectory does not pass through the scheduling area, the first information contains dispatch information within the scheduling period, and the degree of matching between the cruising trajectory and the first navigation route is greater than or equal to a second threshold, it is determined that the terminal accepts the scheduling task.
9. A computer device, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke program instructions stored in the memory and execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the method according to any one of claims 1 to 7.
