Real-time intelligent order scheduling method based on learning and preferences

By adopting a real-time intelligent order scheduling method based on learning and preferences on the spatial crowdsourcing platform to balance the preferences of drivers and passengers, the problem of insufficient responsiveness and prediction accuracy of task allocation algorithms in dynamic scenarios in the existing technology is solved, and the realization Efficient use of resources and improvement of satisfaction for both parties.

CN118644044BActive Publication Date: 2024-10-18JILIN UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411074777.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-10-18
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

Existing task allocation algorithms are difficult to respond to changes in tasks and workers in an instant when faced with highly dynamic spatial crowdsourcing scenarios. The prediction accuracy is insufficient, and their unilateral focus on the preferences of a certain stakeholder leads to uneven resource utilization and ignores the importance of task allocation. balance.

Method used

Adopt a real-time intelligent order scheduling method based on learning and preference, determine the location status value of drivers and passengers through grid division, evaluate the preference value, perform learning-based matching, and update the status value function until a better matching result is obtained to balance the driver and passenger preferences to ensure fair and efficient task distribution.

Benefits of technology

It realizes dynamic processing of task allocation in real-time dispatch scenarios, optimizes resource utilization, improves driver and passenger satisfaction, avoids waste of resources, adapts to changes in supply and demand, and transcends short-term profit considerations of traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644044B_ABST
    Figure CN118644044B_ABST
Patent Text Reader

Abstract

The present invention discloses a real-time intelligent order scheduling method based on learning and preference, which relates to the fields of spatial crowdsourcing, task allocation, reinforcement learning and real-time matching technology, including: determining the urban area to be tested, dividing the urban area to be tested into grids, and determining the locations of drivers and passengers that may be served; evaluating preference values ​​based on the locations of the drivers and passengers, and determining a driver preference list; performing learning-based matching based on the driver preference list and the passenger preference list to obtain a matching result; and re-adjusting the preference value based on the matching result until a final matching result is obtained. The present invention improves the overall performance and response capability of the spatial crowdsourcing platform by introducing a new real-time, future-oriented and balanced task allocation algorithm for both parties.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical fields of spatial crowdsourcing, task allocation, reinforcement learning and real-time matching, and in particular to a real-time intelligent order scheduling method based on learning and preference. Background Art

[0002] Effective task allocation algorithms are crucial to improving the performance of spatial crowdsourcing (SC) platforms. In the prior art, task allocation algorithms need to consider multiple constraints when designing, including but not limited to allocation budget, worker service radius, task deadline, and capacity constraints. Task allocation can be divided into two categories: static (offline) task allocation and dynamic (online) task allocation. In static task allocation, the platform can obtain comprehensive spatiotemporal information of tasks and workers at the beginning. However, the dynamic task allocation model requires the platform to respond in real time because the information of tasks and workers will gradually appear. There are two main existing dynamic task allocation methods: (1) Fixed batch method: Task allocation is performed by dividing time into fixed batches, and the platform makes decisions based on current spatiotemporal data. Although this method can improve efficiency to a certain extent, it ignores the user's tolerance for waiting time. (2) Immediate response method: Matching decisions are made immediately when new workers or new tasks arrive. Although this method responds quickly, its limitation is that it has limited foresight for future situations. Decisions are usually based on incomplete information, which may lead to suboptimal allocation results. To cope with the complexity of online task allocation, the multi-attribute joint task allocation method (MAJA) has emerged, which takes into account the geographical location and personal preferences of workers. However, this model mainly focuses on the preferences of workers and may ignore the needs of users. Another method is the online stable matching method (OSM-KIID), which takes into account the preferences of both workers and users, but fails to fully consider the interdependence between decisions and relies on specific assumptions, which may limit its application effect in a changing environment. Existing technologies in the field of task allocation mainly focus on offline scenarios and cannot meet the needs of real-time scheduling. In practice, task requesters often need to search for services in real time, which requires the platform to make scheduling decisions quickly. However, existing methods show the following limitations when facing highly dynamic spatial crowdsourcing scenarios: (1) Limitations of instant response: Existing algorithms are difficult to respond to the actual situation of dynamic changes in tasks and workers. Each scheduling decision not only affects the current task allocation, but may also affect the spatial distribution of future workers, thereby affecting subsequent scheduling decisions. (2) Insufficient prediction accuracy: Although data mining techniques have been used to predict supply and demand relationships, these techniques often ignore the chain effects of initial scheduling decisions on future decisions, resulting in insufficient prediction accuracy. It is necessary to explore new algorithms that can go beyond short-term interests and comprehensively consider long-term benefits. (3) Single preference focus: Traditional research often only focuses on the preferences of a single stakeholder (such as the income of workers or the service quality of task requesters), ignoring the balance of task allocation. One-sided focus on the preferences of task requesters may lead to uneven resource utilization, making some workers idle while others are overworked. Conversely, only considering worker preferences may also ignore the satisfaction and needs of task requesters. Summary of the invention

[0003] To solve the above technical problems, the present invention proposes a real-time intelligent order scheduling method based on learning and preference, which improves the overall performance and response capability of the spatial crowdsourcing platform by introducing a new real-time, future-oriented and balanced task allocation algorithm.

[0004] To achieve the above object, the present invention provides a real-time intelligent order scheduling method based on learning and preference, including: determining a city area to be tested, dividing the city area to be tested into grids, each grid containing the state value of the driver's location, and saving it using a matrix; in a time batch, determining the current location of the driver and the destination locations of all passengers that the driver may serve, and mapping each location into a grid to obtain the state value of the driver at the location;

[0005] The driver's preference value for the passenger is evaluated based on the destination locations of the driver and the passenger, and the preference value determines the satisfaction level of the passenger to the driver and the satisfaction level of the driver to the passenger. After the driver's preference values ​​for all possible passengers are determined, a driver preference list and a passenger preference list are determined, and the passenger at the first position in the preference list represents the passenger who can bring the greatest total profit to the driver.

[0006] Performing learning-based matching based on the driver preference list and the passenger preference list to obtain a matching result;

[0007] The driver's state value function is updated using the matching results, and then the next time batch is matched until a better matching result is obtained.

[0008] Optionally, the method to obtain the preference value is:

[0009]

[0010]

[0011]

[0012] in, For drivers and passengers The preference value of For profit, For drivers from current location To destination The expected growth value of is the discount rate, Indicates the driver is at the location The state value of is the mapping function from position to state, Indicates the driver is at the location The state value of For the collection of passengers, For cost factors, The length of the passenger's entire journey.

[0013] Optional methods to obtain passenger satisfaction are:

[0014]

[0015] in, For passengers satisfaction, For batches in time Middle Passenger the length of the preference list, Representing passengers To the driver assigned to it The preference value of For batch time The driver assigned to the passenger.

[0016] Optional methods to obtain driver satisfaction are:

[0017]

[0018] in, For driver satisfaction, is the time batch set to which the driver is assigned tasks, For batches in time Driver the length of the preference list, Matched to a driver Passengers, To assign to The total number of tasks.

[0019] Alternatively, the method to obtain the driver's total profit is:

[0020]

[0021] in, For drivers The total profit obtained, is the total number of passengers, is an indicator variable indicating whether the passenger and driver are matched; For passengers Payment For cost factors, The length of the passenger's entire journey.

[0022] Optionally, the preparation work before performing learning-based matching based on the driver preference list and the passenger preference list includes: the driver needs to create a preference list for each driver in the booking time, wherein the driver's preference list includes all suitable passengers for the service, arranged in descending order according to the preference value, and estimates the potential cumulative reward benefits of the driver's transition from the initial location to the destination.

[0023] Optionally, the method of performing learning-based matching based on the driver preference list and the passenger preference list to obtain a matching result includes:

[0024] A preference list is prepared for each passenger, and the preference list is used to record the driver preferred by the passenger; the set of passengers to be matched is initialized, and a variable is defined to store the final matching result;

[0025] Drivers and passengers are paired continuously until there are no more passengers to be matched; a temporary set is set up to track passengers that may be processed in the next cycle; for each passenger, the driver that the passenger prefers the most is found; if a suitable driver cannot be found, the passenger cannot be paired at the moment and the passenger will be removed from the temporary set; if an idle driver is found, the passenger and driver are directly paired and the passenger is removed from the temporary set;

[0026] If the driver has been assigned to other passengers, it is necessary to compare the positions of the two passengers in the driver's preference to decide whether re-pairing is needed; if the driver prefers the passenger currently being considered, pairing will be carried out and the original passenger will be returned to the temporary set for re-pairing in the future; the pairing result is returned.

[0027] Optionally, in the learning-based matching based on the driver preference list and the passenger preference list, the state value function is updated after each matching cycle as follows:

[0028]

[0029] in, is the driver's position at time batch t The state value of is the mapping function from position to state, is the discount rate, is the driver's position at time batch t The state value of , α is the learning rate, Payment for passengers, is the driver's current location, The destination of the passenger, For the driver.

[0030] Technical effect of the invention: The present invention discloses a real-time intelligent order scheduling method based on learning and preference, and designs a novel method to deal with the task allocation problem in spatial crowdsourcing, especially in the instant taxi scheduling scenario, the future-awareness balance preference problem and its corresponding methods - learning matching (LTM) and real-time preference matching (RTPM), which solve the dynamic problem of real-time scheduling scenarios. The present invention also combines advanced machine learning techniques, especially reinforcement learning, to optimize the decision-making process. This innovative method allows foreseeing future conditions and dynamically adapting to changes in supply and demand, which is an important improvement over traditional static and offline methods. The present invention ensures fair and efficient task allocation by balancing the preferences of drivers and passengers. This method helps to optimize the utilization of work resources, avoid waste of resources, and improve the satisfaction of both parties. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0032] Figure 1 The figure is a flow chart of a real-time intelligent order scheduling method based on learning and preference according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0034] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0035] like Figure 1 As shown, in this embodiment, a real-time intelligent order scheduling method based on learning and preference is provided, including: determining a city area to be tested, dividing the city area to be tested into grids, each grid containing a state value of a driver's location, and saving it using a matrix; in a time batch, determining the current location of the driver and the destination locations of all passengers that the driver may serve, and mapping each location into a grid to obtain the state value of the driver at the location;

[0036] The driver's preference value for the passenger is evaluated based on the destination of the driver and the passenger. The preference value determines the satisfaction that the passenger brings to the driver and the satisfaction that the driver brings to the passenger. After the driver's preference value for all possible passengers is determined, the driver's preference list and the passenger's preference list are determined. The passenger at the first place in the preference list represents the passenger who can bring the driver the greatest total profit.

[0037] Performing learning-based matching based on the driver preference list and the passenger preference list to obtain a matching result;

[0038] The driver's state value function is updated using the matching results, and then the next time batch is matched until a better matching result is obtained.

[0039] Furthermore, the meaning of each parameter in the smart order scheduling process is defined:

[0040] Definition 1 (Time Batch Processing) Time is divided into an equally spaced sequence, , where each corresponds to a discrete time batch in this sequence. Each batch is a window in which passengers submit service requests to the platform. The platform then consolidates these requests at the end of the batch to match passengers with available drivers.

[0041] Definition 2 (passenger) is the set of passengers, each of which All have a tuple feature .here, yes Batch location, It is the destination. is the fare, calculated as , is the pricing factor, is the Euclidean distance.

[0042] Definition 3 (driver) is the set of drivers registered on the platform. Each driver Described as , including batch Position in ,capacity , credit score and service radius Assumptions In batch The collection of passengers who requested service during the period, It can be The set of drivers providing the service, satisfying certain constraints.

[0043] Definition 4 (Driver Preference) For each drivers, build a priority list of passengers who can be served .passenger The preference value of , Represents profit from passengers , As a cost factor and yes of the entire journey. , For drivers from current location To destination The expected growth value of is the discount rate, Indicates the driver is at the location The state value of is the mapping function from position to state, Indicates the driver is at the location The status value of . This list is sorted in descending order of score. The ranking of the highest value preference is , and so on, using Indicates the length of the list.

[0044] Definition 5 (Passenger Preference) For passengers , preference list Included in batches Provided during 's driver. For drivers The preference value is , which depends only on the driver’s credit score. The ranking and list length are calculated similarly to the driver’s preference list.

[0045] Definition 6 (Satisfaction) The satisfaction of the driver and the passenger is their average satisfaction, defined as , is a weighted factor between driver and passenger satisfaction, is the total number of drivers, For drivers Passengers' satisfaction Satisfaction , calculated as , is assigned to In batch Likewise, drivers The satisfaction is , The batch is assigned a task, Passenger matching In time Since drivers can only be assigned one task per batch, Indicates that the The total number of tasks.

[0046] Definition 7 (Profit) Driver The total profit, It is expressed as:

[0047] ,

[0048] in, is an indicator variable indicating whether the passenger and driver are matched; if the passenger Assigned to driver , then it is equal to 1, otherwise it is 0. Indicates passengers Payment Indicates that the driver is a passenger The total profit accumulated by all drivers is calculated by Given. For a given passenger , Indicates the currently assigned driver, and a driver , Indicates the current Matching passengers.

[0049] Definition 9 (Alternative Matching Pairs) If both of the following conditions are met, then the passenger and driver A matching substitution occurs: More inclined to Relative to the currently assigned driver ,but, More inclined to Not the current passenger .

[0050] Definition 8 (missing pair) Under the following conditions, Defined as missing pairs: if right Compare have a higher preference, and at the same time, Hand over The completion does not violate constraints.

[0051] Definition 10 (Stable Matching) If the matching between passengers and drivers There are no matching or missing pairs to replace, and they are considered stable. Given a set of drivers and passengers The problem seeks a stable matching that maximizes the driver's total profit and the bilateral satisfaction of all parties involved. The optimization objective is expressed as , and is a weighting factor for normalization purposes, The comprehensive satisfaction is obtained by considering the satisfaction of both drivers and passengers.

[0052] Furthermore, the preparation work before performing learning-based matching based on the driver preference list and the passenger preference list includes: calculating the passenger preference list of the driver who can be matched in the next round.

[0053] In each batch time , passengers submit requests to the platform to form passenger groups At the same time, the collection Represents the set of available drivers that can satisfy these requests. Each driver must complete the previous order before accepting the next order. Based on their position, and convert it to their own state . Then this state determines their state value , which reflects the dynamic and responsive nature of the allocation mechanism.

[0054] Before starting the matching process, drivers need to Create a preference list for each driver in Driver The preference list includes all suitable passengers that can be served, according to the preference value In descending order, , is the discount rate. This method estimates the driver’s Transition to destination The potential cumulative reward benefits. It guides drivers towards areas with higher earning potential, aiming to increase their future earnings. Matching drivers and passengers is done using a bilateral preference list. After executing the matching algorithm, the state value function is updated to incorporate the results.

[0055] Furthermore, online learning ensures the consistency of decisions made during the learning and matching phases. It allows the state-value function to continuously adapt to the environment, thus ensuring its applicability in real-time scenarios. This dynamic and responsive strategy strikes a balance between the static limitations of offline learning, resulting in a more flexible and responsive system. After each matching cycle, the state-value function is updated as follows:

[0056] , where α represents the learning rate.

[0057] initial, is set to 0. Next, all drivers’ information will be updated, including the current time, location, and whether they are idle. , calculate the driver's preference list Then, the matching result is obtained by using the "learning-based matching method" .for Each pair of , will be updated.

[0058] Furthermore, the method of performing learning-based matching based on the driver preference list and the passenger preference list to obtain a matching result specifically includes:

[0059] A preference list is prepared for each passenger. Each driver has a reputation score. The preference list is determined by the driver's historical order completion status. Passengers prefer drivers with higher scores. The passenger preference list is composed of drivers in descending order of reputation scores. The preference list records the drivers preferred by the passengers. The set of passengers to be matched is initialized, and a variable is defined to store the final matching result.

[0060] Drivers and passengers are paired continuously until there are no more passengers to be matched; a temporary set is set up to track passengers that may be processed in the next cycle; for each passenger, the driver that the passenger prefers the most is found; if a suitable driver cannot be found, the passenger cannot be paired at the moment and the passenger will be removed from the temporary set; if an idle driver is found, the passenger and driver are directly paired and the passenger is removed from the temporary set;

[0061] If the driver has been assigned to other passengers, it is necessary to compare the positions of the two passengers in the driver's preference to decide whether re-pairing is needed; if the driver prefers the passenger currently being considered, pairing will be carried out and the original passenger will be returned to the temporary set for re-pairing in the future; the pairing result is returned.

[0062] like Figure 1 As shown, It refers to the position of driver w in the batch at time t, It is a mapping function from the driver's position to the driver's state. The state value V of driver w in time batch t is obtained through the mapped state. For all drivers in time batch t, ​​the driver's preference value for all passengers is calculated based on the driver's current position and the possible destination of the passenger, thereby obtaining the driver's preference list. According to the driver's reputation score, the preference list of all passengers is obtained. Matching is performed based on the preference lists of both parties, and finally the matching result M(t) is returned to update the state value function.

[0063] The present invention discloses a real-time intelligent order scheduling method based on learning and preference, and designs a novel method to deal with the task allocation problem in spatial crowdsourcing, especially in the instant taxi scheduling scenario, the future-aware balanced preference problem and its corresponding methods - learning matching (LTM) and real-time preference matching (RTPM), which solve the dynamic problem of real-time scheduling scenarios. The present invention also combines advanced machine learning techniques, especially reinforcement learning, to optimize the decision-making process. This innovative method allows foreseeing future conditions and dynamically adapting to changes in supply and demand, which is an important improvement over traditional static and offline methods. The present invention ensures fair and efficient task allocation by balancing the preferences of drivers and passengers. This method helps to optimize the utilization of work resources, avoid resource waste, and improve the satisfaction of both parties.

[0064] The above are only preferred specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A real-time intelligent order scheduling method based on learning and preference, characterized in that: include: Determine the city area to be tested, divide the city area to be tested into grids, each grid contains the state value of the driver's location, and saves it using a matrix; In a time batch, determine the current location of the driver and the destination locations of all passengers served by the driver. Each location is mapped into a grid to obtain the state value of the driver at that location. The driver's preference value for the passenger is evaluated based on the destination locations of the driver and the passenger, and the preference value determines the satisfaction level of the passenger to the driver and the satisfaction level of the driver to the passenger. After the driver's preference values ​​for all the passengers served are determined, a driver preference list and a passenger preference list are determined, and the passenger at the first position in the preference list represents the passenger who can bring the greatest total profit to the driver. Performing learning-based matching based on the driver preference list and the passenger preference list to obtain a matching result; The driver's state value function is updated using the matching results, and then the next time batch is matched until a better matching result is obtained; The method to obtain the preference value is: in, For drivers and passengers The preference value of For profit, For drivers from current location To destination The expected growth value of is the discount rate, Indicates the driver is at the location The state value of is the mapping function from position to state, Indicates the driver is at the location The state value of For the collection of passengers, For cost factors, The length of the passenger's entire journey; The methods to obtain passenger satisfaction are: in, For passengers satisfaction, For batches in time Middle Passenger the length of the preference list, Representing passengers To the driver assigned to it The preference value of For batch time the driver assigned to the passenger; The methods to obtain driver satisfaction are: in, For driver satisfaction, is the time batch set to which the driver is assigned tasks, For batches in time Driver the length of the preference list, Matched to a driver Passengers, To assign to The total number of tasks; The method to obtain the driver's total profit is: in, For drivers The total profit obtained, is the total number of passengers, is an indicator variable indicating whether the passenger and driver are matched; For passengers Payment For cost factors, The length of the passenger's entire journey; The method of performing learning-based matching based on the driver preference list and the passenger preference list to obtain a matching result includes: A preference list is prepared for each passenger, and the preference list is used to record the driver preferred by the passenger; the set of passengers to be matched is initialized, and a variable is defined to store the final matching result; Drivers and passengers are paired continuously until there are no more passengers to be matched; a temporary set is set up to track the passengers to be processed in the next cycle; for each passenger, the driver most preferred by the passenger is found; if a suitable driver cannot be found, the passenger cannot be paired at the moment and the passenger will be removed from the temporary set; if an idle driver is found, the passenger and driver are directly paired and the passenger is removed from the temporary set; If the driver has been assigned to other passengers, the two passengers' positions in the driver's preferences need to be compared to decide whether they need to be re-paired; if the driver prefers the passenger currently being considered, the pairing will be performed and the original passenger will be returned to the temporary set for future re-pairing; the pairing result is returned; In the learning-based matching based on the driver preference list and the passenger preference list, the state value function is updated after each matching cycle as follows: in, is the driver's position at time batch t The state value of is the mapping function from position to state, is the discount rate, is the driver's position at time batch t The state value of , α is the learning rate, Payment for passengers, is the driver's current location, The destination of the passenger, For the driver.

2. The real-time intelligent order scheduling method based on learning and preference as claimed in claim 1, characterized in that: The preparation work before learning-based matching based on the driver preference list and the passenger preference list includes: the driver needs to create a preference list for each driver in the booking time, where the driver's preference list includes all served passengers, arranged in descending order according to the preference value, and estimates the potential cumulative reward benefits of the driver's transition from the initial location to the destination.

Citation Information

Patent Citations

  • Dispatching method and dispatching system based on orders

    CN104599088A

  • User preference evolution active sensing method and system based on graph neural network

    CN116304279A

  • Price-aware real-time auction-based ride-sharing system

    US20190370922A1