Online car-hailing order sending method and device, server and medium
By dynamically adjusting the online ride-hailing matching time according to business characteristics, the inefficiency problem caused by the fixed matching time in the existing technology is solved, and more efficient and accurate order matching is achieved.
Patent Information
- Application Number
- CN202410830629.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
AI Technical Summary
In the existing online ride-hailing order dispatching method, the matching time of the adjustment cycle is fixed, which results in fast order receiving when the transportation capacity is sufficient, but low efficiency when the transportation capacity is insufficient, and the order cannot be optimally matched.
The matching time is flexibly adjusted according to the business characteristics within each adjustment period. Through weighted processing or classification model prediction of multiple business indicators and preset matching times, the matching time is dynamically determined to improve order dispatch efficiency and accuracy.
It improves the efficiency and accuracy of online car-hailing dispatch, ensuring that orders can be optimally matched under different transportation capacities and improving user experience.
Smart Images

Figure CN118627833A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent travel technology, and in particular to a method, device, server and medium for dispatching online car-hailing services. Background Art
[0002] In the order processing process of online car-hailing, the order is matched with the online car-hailing, and the successfully matched order is sent to the online car-hailing. In detail, order matching is often carried out according to a fixed value, that is, the matching time corresponding to the adjustment cycle, such as matching orders with online car-hailing once every 10 seconds, or matching orders with online car-hailing once every 1 minute. The shorter the matching time corresponding to the adjustment cycle, when the transportation capacity is sufficient, the faster the online car-hailing driver accepts orders, and the better the user experience. However, when there are not enough cars available for matching, the shorter the matching time corresponding to the adjustment cycle is not optimal. For example, when a 10-second order is matched with an online car-hailing once, there is only one order matched, and the order amount is 10 yuan; if the matching time corresponding to the adjustment cycle is relaxed to 30 seconds, an order amount of 50 yuan will appear. At this time, the 50 yuan order can be matched first. Therefore, the matching time corresponding to the adjustment cycle in the order processing process is fixed, which is easy to lead to low order efficiency. Summary of the invention
[0003] The present invention provides a method, device, server and medium for dispatching online car-hailing services, which can flexibly adjust the length of the matching time corresponding to an adjustment period according to the business characteristics within each adjustment period, thereby improving the dispatching efficiency.
[0004] In a first aspect, an embodiment of the present invention provides a method for dispatching an online car-hailing service, comprising:
[0005] After reaching the adjustment period, multiple business characteristics required to generate at least one business indicator are determined; wherein the business indicator is a parameter for measuring whether the matching time matches the dispatching process;
[0006] According to multiple business characteristics and multiple preset matching times, the matching time corresponding to the adjustment period is determined; wherein the matching time corresponding to the adjustment period is the time interval between two dispatch processing flows;
[0007] The orders within the adjustment period are dispatched and processed according to the matching time corresponding to the adjustment period.
[0008] The above method can determine the matching time corresponding to the adjustment cycle according to the business characteristics after the adjustment cycle is reached, and dispatch orders within the adjustment cycle according to the determined matching time corresponding to the adjustment cycle. In this way, each adjustment cycle has a new matching time corresponding to the adjustment cycle, thereby improving the dispatch efficiency.
[0009] In one possible implementation, the business characteristics are characteristics within the historical time corresponding to the adjustment period; the historical time corresponding to the adjustment period is the same time as the adjustment period within the same historical week as the week to which the adjustment period belongs; and / or, the time before the adjustment period within the date to which the adjustment period belongs.
[0010] The above method can predict the matching time corresponding to the adjustment period of the adjustment period through the business characteristics of the same historical time corresponding to the adjustment period, thereby improving the accuracy of the prediction.
[0011] In a possible implementation, the matching time corresponding to the adjustment period is determined according to multiple service characteristics and multiple preset matching times, including:
[0012] The business characteristics required to generate each business indicator are weighted by using the weight corresponding to each business indicator, and according to each weighted business characteristic, a preset matching time is selected from a plurality of preset matching times as the matching time corresponding to the adjustment period;
[0013] or
[0014] According to the business characteristics required to generate each business indicator, a preset matching time corresponding to each business indicator is selected from multiple preset matching times;
[0015] According to the preset matching time corresponding to each business indicator, the matching time corresponding to the adjustment period is determined.
[0016] The above method can weight the business characteristics according to the influence of each business indicator, or determine the matching time corresponding to the expected adjustment period corresponding to each business indicator, and determine the matching time corresponding to the adjustment period based on the matching time corresponding to the above adjustment period. In this way, the matching time corresponding to the adjustment period is determined based on multiple indicators that measure the quality of order processing, thereby improving the matching accuracy.
[0017] In a possible implementation, determining the matching time corresponding to the adjustment period according to the preset matching time corresponding to each business indicator includes:
[0018] According to the adjustment cycle, from the preset matching times corresponding to each business indicator, a preset matching time corresponding to a business indicator is selected as the matching time corresponding to the adjustment cycle;
[0019] Alternatively, the maximum preset matching time among the preset matching times corresponding to at least one business indicator is used as the matching time corresponding to the adjustment period;
[0020] Alternatively, the smallest preset matching time among the preset matching times corresponding to at least one business indicator is used as the matching time corresponding to the adjustment period.
[0021] The above method can determine the final matching time corresponding to the adjustment period from the size of the adjustment period or the matching time corresponding to the adjustment period, thereby improving the matching accuracy.
[0022] In a possible implementation, the matching time corresponding to the adjustment period is determined according to multiple business characteristics and multiple preset matching times, including:
[0023] A variety of business features are input into the classification model, and a preset matching time is output; and the output preset matching time is used as the matching time corresponding to the adjustment period.
[0024] The above method can select a preset matching time through a classification model, thereby improving the matching accuracy.
[0025] In one possible implementation, the classification model is trained in the following way:
[0026] Obtaining a training set; wherein the training set includes multiple data groups, each of which corresponds to an optimal matching time; each data group is a business feature required to generate at least one business indicator within a historical period;
[0027] Training the classification model according to the training set;
[0028] The best matching time corresponding to a data set is determined by:
[0029] According to the data group, simulate the dispatching of orders within the adjustment period according to multiple preset matching times; and generate multiple expected values of business indicators corresponding to each preset matching time according to the simulated dispatching data;
[0030] From the multiple expected values of the business indicator corresponding to each preset matching time, one expected value is selected, and the preset matching time corresponding to the selected expected value is used as the best matching time corresponding to the data group.
[0031] The above method can determine the optimal value of the business indicator in the training set by simulating the dispatching process, and use the training set to train the classification model, thereby improving the accuracy of the model.
[0032] In a second aspect, an embodiment of the present invention provides an online car-hailing dispatching device, comprising:
[0033] A determination module is used to determine multiple business characteristics required to generate at least one business indicator after the adjustment period is reached; wherein the business indicator is a parameter for measuring the quality of order processing; and to determine the matching time corresponding to the adjustment period according to the multiple business characteristics and multiple preset matching times; wherein the matching time corresponding to the adjustment period is the time interval between two order processing flows;
[0034] The order dispatching module is used to dispatch orders within the adjustment period according to the matching time corresponding to the adjustment period.
[0035] In a possible implementation, the determination module is specifically used to perform weighted processing on the business characteristics required to generate each business indicator using the weight corresponding to each business indicator, and select a preset matching time from multiple preset matching times as the matching time corresponding to the adjustment period according to each weighted business characteristic;
[0036] or
[0037] According to the business characteristics required to generate each business indicator, a preset matching time corresponding to each business indicator is selected from multiple preset matching times;
[0038] According to the preset matching time corresponding to each business indicator, the matching time corresponding to the adjustment period is determined.
[0039] In a third aspect, an embodiment of the present invention provides a server, including:
[0040] processor;
[0041] A processor is used to execute the computer program or instructions in the memory so that the online car-hailing dispatching method as described in any one of the first aspects is executed.
[0042] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium. When instructions in the storage medium are executed by a processor, the processor is enabled to execute the online car-hailing dispatching method as described in any one of the first aspects.
[0043] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes: a computer program code, when the computer program code runs on a computer, enables the computer to execute the online car-hailing dispatching method as described in any one of the first aspects.
[0044] In addition, the technical effects brought about by any implementation method in the second to fifth aspects can refer to the technical effects brought about by different implementation methods in the first aspect, and will not be repeated here.
[0045] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A flow chart of a method for dispatching online car-hailing orders provided by an embodiment of the present invention;
[0047] Figure 2 A schematic diagram of dividing an order dispatching area and an area surrounding the order dispatching area provided in an embodiment of the present invention;
[0048] Figure 3 A schematic diagram of dividing another dispatch area and the surrounding area of the dispatch area provided in an embodiment of the present invention;
[0049] Figure 4 A flowchart of a method for determining a matching time corresponding to an adjustment period provided by an embodiment of the present invention;
[0050] Figure 5 A flowchart of another method for determining a matching time corresponding to an adjustment period provided by an embodiment of the present invention;
[0051] Figure 6 A schematic diagram of the structure of a device for dispatching online car-hailing orders provided by an embodiment of the present invention;
[0052] Figure 7 A schematic diagram of an online car-hailing dispatching process provided by an embodiment of the present invention;
[0053] Figure 8 A schematic diagram of the structure of a server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] Combination Figure 1 As shown, an embodiment of the present invention provides a method for dispatching online car-hailing orders, including:
[0056] S100: after reaching the adjustment period, determining multiple business characteristics required to generate at least one business indicator;
[0057] Among them, the business indicator is a parameter to measure whether the matching time matches the dispatching process;
[0058] Exemplarily, the adjustment period is a period of the matching time corresponding to the adjustment period, for example, 10 minutes, 5 minutes, 15 minutes. Taking one day as an example, the length of the adjustment period is 30 minutes, and the adjustment period includes: 0:00 to 0:30, 0:30 to 1:00, 1:30 to 2:00, 2:00 to 2:30, ..., 23:30 to 24:00. During the course of one day, each adjustment period needs to determine its own matching time.
[0059] Taking the pick-up rate as an example of a business indicator, the business features required to generate the pick-up rate are the number of call orders, the number of calling users, the number of cruising vehicles, the number of order-receiving vehicles in the dispatch area, the number of cruising vehicles and order-receiving vehicles in the surrounding area of the dispatch area, the day of the week, whether it is a holiday, and the time slice index (for example, if it is sliced by 15 minutes, the value range is 0-96; if it is sliced by 1 minute, the value range is 0-24*60).
[0060] The grid is divided into regions, and the dispatch area is a grid. Figure 2 As shown, the area surrounding the dispatch area can be a network area whose distance from the dispatch area does not exceed a preset distance; there are two circles of grids around the dispatch area, the blank grid is the dispatch area, the gray grid is the grid of the first circle, and the black grid is the grid of the second circle. Figure 3 As shown, the order dispatch area may be an area C1 that is not more than a first preset distance from the initial location o where the user initiates the order, and the area surrounding the order dispatch area may be an area C2 that is not more than a second preset distance from the initial location o where the user initiates the order.
[0061] It should be noted that the above description is only exemplary, and the dispatch area and the surrounding area of the dispatch area may be divided in other ways, and the present invention does not impose any specific limitation on this.
[0062] S110: determining a matching time corresponding to an adjustment period according to multiple business characteristics and multiple preset matching times; wherein the matching time corresponding to the adjustment period is the time interval between two dispatch processing flows;
[0063] S120: Dispatching orders within the adjustment period according to the matching time corresponding to the adjustment period.
[0064] For example, when it is determined that the matching time corresponding to the adjustment cycle is 10 seconds, within the adjustment cycle, orders that have not been successfully dispatched are dispatched once every 10 seconds, and orders that have not been successfully dispatched are dispatched in the second 10 seconds until the adjustment cycle ends. After the next adjustment cycle, the business characteristics are acquired again, and the matching time corresponding to the adjustment cycle is re-determined. Within the next adjustment cycle, the orders are dispatched according to the re-determined matching time corresponding to the adjustment cycle.
[0065] The business characteristics are characteristics within the historical time corresponding to the adjustment period; the historical time corresponding to the adjustment period is the same time as the adjustment period in the same historical week as the week to which the adjustment period belongs.
[0066] For example, the adjustment period is from 10:00 a.m. to 10:10 a.m. on April 14, 2024; the historical time corresponding to the adjustment period is from 10:00 a.m. to 10:10 a.m. on April 7, 2024.
[0067] At 10:00 a.m. on April 14, 2024, multiple business characteristics required to generate at least one business indicator between 10:00 a.m. and 10:10 a.m. on April 7, 2024 are determined. Based on the above multiple business characteristics and multiple preset matching times, the matching time corresponding to the adjustment period is determined, for example, 10 seconds. Orders between 10:00 a.m. and 10:10 a.m. on April 14, 2024 are dispatched and processed within 10 seconds.
[0068] The historical time corresponding to the adjustment period is the time before the adjustment period within the date to which the adjustment period belongs.
[0069] For example, the adjustment period is from 10:00 a.m. to 10:10 a.m. on April 14, 2024; the historical time corresponding to the adjustment period is from 9:50 a.m. to 10:00 a.m. on April 14, 2024.
[0070] At 10:00 a.m. on April 14, 2024, multiple business characteristics required to generate at least one business indicator between 9:50 a.m. and 10:00 a.m. on April 14, 2024 are determined, and based on the above multiple business characteristics and multiple preset matching times, the matching time corresponding to the adjustment period is determined, for example, 30 seconds, and orders between 10:00 a.m. and 10:10 a.m. on April 14, 2024 are dispatched and processed within 30 seconds.
[0071] In the subsequent operation process, the historical time corresponding to the adjustment period can be only the time in the same historical week as the adjustment period, and can be only the time before the adjustment period on the date to which the adjustment period belongs. It can be two periods of time: the same historical week as the adjustment period, and the time before the adjustment period on the date to which the adjustment period belongs.
[0072] In some embodiments, in combination Figure 4 As shown, one implementation of step 110 to determine the matching time corresponding to the adjustment period according to multiple service characteristics and multiple preset matching times is:
[0073] S400: performing weighted processing on the business characteristics required to generate each business indicator using the weight corresponding to each business indicator;
[0074] Among them, for each business indicator, the weight corresponding to the business indicator is multiplied by the business characteristics required by the business indicator, which is a weighted operation.
[0075] S410: Selecting a preset matching time from a plurality of preset matching times as the matching time corresponding to the adjustment period according to each weighted service feature.
[0076] Specifically, according to each weighted service feature, the probability of each preset matching time being the matching time corresponding to the adjustment period is determined, and the preset matching time with the maximum value among the probabilities of multiple preset matching times being the matching time corresponding to the adjustment period is used as the matching time corresponding to the adjustment period. For example, the multiple preset matching times are 10 seconds, 20 seconds, 30 seconds, and 60 seconds; the probability corresponding to 10 seconds is 5%, the probability corresponding to 20 seconds is 20%, the probability corresponding to 30 seconds is 60%, and the probability corresponding to 60 seconds is 15%. The maximum value of the probability is 60%, so 30 seconds is the matching time corresponding to the adjustment period.
[0077] Exemplarily, taking the business indicators of pick-up rate, pick-up distance, and total cost as examples, with respect to the pick-up rate, the weights corresponding to the pick-up rate are used to weight the various business features required to generate the pick-up rate. For example, the business features are the number of call orders, the number of calling users, the number of cruising vehicles, and the number of order-receiving vehicles in the dispatch area, the number of cruising vehicles and order-receiving vehicles in the surrounding area of the dispatch area, the day of the week, whether it is a holiday, and the time slice index. The weights corresponding to the pick-up rate are multiplied by the above-mentioned business features respectively, and the product of each business feature and the weight is obtained. With respect to the pick-up distance, the weights corresponding to the pick-up distance are used to weight the various business features required to generate the pick-up rate. With respect to the total cost, the weights corresponding to the total cost are used to weight the various business features required to generate the pick-up rate. According to the above-mentioned weighted business characteristics, the probability of each preset matching time being the matching time corresponding to the adjustment period is determined, and the preset matching time with the largest probability is used as the matching time corresponding to the adjustment period. Orders within the adjustment period are dispatched according to the matching time corresponding to the adjustment period.
[0078] In some embodiments, in combination Figure 5 As shown, the specific implementation method of step 110 for determining the matching time corresponding to the adjustment period according to multiple business characteristics and multiple preset matching times is:
[0079] S500: Selecting a preset matching time corresponding to each business indicator from a plurality of preset matching times according to the business characteristics required to generate each business indicator;
[0080] S510: Determine the matching time corresponding to the adjustment period according to the preset matching time corresponding to each business indicator.
[0081] In detail, for each business indicator, based on the multiple business characteristics required to generate the business indicator, determine each preset matching time as the matching probability corresponding to the adjustment period, that is, the expected value; find the maximum value from the expected values corresponding to multiple preset matching times, and use the preset matching time corresponding to the maximum value as the preset matching time corresponding to the business indicator; based on the preset matching time corresponding to each business indicator, determine the matching time corresponding to the adjustment period.
[0082] For step 510, the specific implementation method may be:
[0083] Method 1: According to the adjustment cycle, a preset matching time corresponding to a business indicator is selected from the preset matching time corresponding to each business indicator as the matching time corresponding to the adjustment cycle;
[0084] For example, each adjustment period corresponds to a business indicator. The business indicator corresponding to the adjustment period between 0:00 and 7:00 is the total cost, the business indicator corresponding to the adjustment period between 7:00 and 10:00 is the pick-up rate, the business indicator corresponding to the adjustment period between 10:00 and 16:00 is the total cost, the business indicator corresponding to the adjustment period between 16:00 and 19:00 is the pick-up rate, the business indicator corresponding to the adjustment period between 19:00 and 22:00 is the total cost, and the business indicator corresponding to the adjustment period between 22:00 and 24:00 is the pick-up distance. When the adjustment period is from 8:00 to 8:30, the preset matching time corresponding to the pick-up rate is selected from the preset matching times corresponding to the multiple business indicators as the matching time corresponding to 8:00 to 8:30.
[0085] It should be noted that the business indicator corresponding to each adjustment period can be pre-set as above, or the driver's will can be received. For example, when the adjustment period is approaching, a consultation message is sent to the driver to inquire about which business indicator the driver should pay attention to. If the driver chooses to pay attention to the total cost, the business indicator corresponding to the adjustment period is determined to be the total cost selected by the driver. Of course, if the driver does not choose, the pre-set business indicator can be used as the business indicator corresponding to the adjustment period. Of course, the above is only exemplary and can be specifically limited according to specific circumstances.
[0086] Method 2: using the largest preset matching time among the preset matching times corresponding to at least one business indicator as the matching time corresponding to the adjustment period;
[0087] Method three: using the smallest preset matching time among the preset matching times corresponding to at least one business indicator as the matching time corresponding to the adjustment period.
[0088] In detail, for each business indicator, according to the multiple business characteristics required to generate the business indicator, the probability of each preset matching time being the matching time corresponding to the adjustment period is determined, and the preset matching time with the maximum value among the probabilities of multiple preset matching times being the matching time corresponding to the adjustment period is used as the preset matching time corresponding to the business indicator, and the multiple preset matching times are 10 seconds, 20 seconds, 30 seconds, and 60 seconds; the preset matching time corresponding to the pick-up rate is 20 seconds, the preset matching time corresponding to the pick-up distance is 30 seconds, and the preset matching time corresponding to the total cost is 60 seconds, and 60 seconds is the maximum value, then the preset matching time 60 seconds corresponding to the total cost is the matching time corresponding to the adjustment period. Alternatively, when it is stipulated that the smallest preset matching time among the preset matching times corresponding to at least one business indicator is used as the matching time corresponding to the adjustment period, 20 seconds is the minimum value, then the preset matching time 20 corresponding to the pick-up rate is the matching time corresponding to the adjustment period.
[0089] In some embodiments, step 110 is implemented using a classification model. Specifically, multiple business features are input into the classification model, and a preset matching time is output; and the output preset matching time is used as the matching time corresponding to the adjustment period.
[0090] The classification model includes a feature extraction module and a classification module; the feature extraction module can use the weight corresponding to each business indicator to perform weighted processing on the business features required to generate each business indicator, and use convolution to extract features after weighted processing. The features after convolution processing enter the classification module, and the probability of each preset matching time being the matching time corresponding to the current adjustment period is obtained in the classification module, and the preset matching time with the highest probability is output.
[0091] Or the classification model includes multiple sub-models, each business indicator corresponds to a model. Taking three business indicators as an example, namely, pick-up rate, pick-up distance, and total cost, the classification model includes a first sub-model corresponding to the pick-up rate, a second sub-model corresponding to the pick-up distance, a third sub-model corresponding to the total cost, and a selection sub-model.
[0092] The business characteristics required for generating the pick-up rate are input into the first sub-model, and in the first sub-model, a preset matching time is selected from a plurality of preset matching times according to the business characteristics required for generating the pick-up rate, and the preset matching time corresponding to the selected pick-up rate is output; the business characteristics required for generating the pick-up distance are input into the second sub-model, and in the second sub-model, a preset matching time is selected from a plurality of preset matching times according to the business characteristics required for generating the pick-up distance, and the preset matching time corresponding to the selected pick-up distance is output; the business characteristics required for generating the total cost are input into the third sub-model, and in the third sub-model, a preset matching time is selected from a plurality of preset matching times according to the business characteristics required for generating the total cost, and the preset matching time corresponding to the selected total cost is output; the selection sub-model is used to determine the matching time corresponding to the adjustment period according to the preset matching time corresponding to each business indicator.
[0093] In some embodiments, classification model training is performed in the following manner:
[0094] Obtaining a training set; wherein the training set includes multiple data groups, each of which corresponds to an optimal matching time; each data group is a business feature required to generate at least one business indicator within a historical period;
[0095] Training the classification model according to the training set;
[0096] The best matching time corresponding to a data set is determined by:
[0097] According to the data group, simulate the dispatching of orders within the adjustment period according to multiple preset matching times; and generate multiple expected values of business indicators corresponding to each preset matching time according to the simulated dispatching data;
[0098] From the multiple expected values of the business indicator corresponding to each preset matching time, one expected value is selected, and the preset matching time corresponding to the selected expected value is used as the best matching time corresponding to the data group.
[0099] Exemplarily, the data group includes the matching time corresponding to the actual adjustment period within 8:00 a.m. to 8:20 a.m. on February 20, 2024, the business characteristics within 8:00 a.m. to 8:20 a.m. on February 13, 2024, and the business characteristics within 7:40 a.m. to 8:00 a.m. on February 20, 2024; the business characteristics within 8:00 a.m. to 8:20 a.m. on February 13, 2024 and the business characteristics within 7:40 a.m. to 8:00 a.m. on February 20, 2024 are used to simulate the dispatching of orders within the adjustment period according to multiple preset matching times; according to the simulated dispatching data, multiple expected values of the business indicators corresponding to each preset matching time are generated, and the preset matching time corresponding to the maximum expected value is used as the best matching time corresponding to the data group;
[0100] During the training process, a data group is selected, and the business features in the data group are input into the classification model to obtain the expected matching time. The loss value is determined based on the expected matching time and the optimal matching time corresponding to the data group, and the parameters of the classification model are adjusted based on the loss value.
[0101] For example, the business indicator is the pick-up rate, and the preset matching time is 10s, 20s, 30s, and 60s. The business features are the number of call orders, the number of call users, cruising vehicles, and the number of vehicles receiving orders in the dispatch area, the number of cruising vehicles and vehicles receiving orders in the surrounding area of the dispatch area, Monday, not a holiday, and the time slice index. For the training set, for the number of call orders, the number of call users, cruising vehicles, and vehicles receiving orders in the dispatch area of the historical time period, the number of cruising vehicles and vehicles receiving orders in the surrounding area of the dispatch area, Monday, not a holiday, and the time slice index, simulate the dispatch processing of orders within the adjustment period once every 10s, and generate a pick-up rate based on the data after dispatching; for 20s, generate a pick-up rate; for 30s, generate a pick-up rate; for 60s, generate a pick-up rate. If the pick-up rate of 30s is the largest, then 30s is the best matching time. By analogy, the best matching time corresponding to multiple data groups is obtained, and the classification model is trained using the training set.
[0102] When the adjustment period is from 9:00 to 9:10 a.m. on May 14, 2024, the business characteristics from 9:00 to 9:10 a.m. on May 7, 2024, and the business characteristics from 8:50 to 9:00 a.m. on May 14, 2024 are determined, and then the business characteristics are input into the classification model, and the matching time corresponding to the adjustment period is output. Orders between 9:00 and 9:10 a.m. on May 14, 2024 are dispatched according to the matching time corresponding to the adjustment period.
[0103] If the classification model includes multiple sub-models, the sub-models can be trained one by one, and the training method is as shown above.
[0104] Based on the same inventive concept, the embodiment of the present invention provides a network car-hailing dispatching device, combined with Figure 6 As shown, including:
[0105] The determination module 600 is used to determine multiple business characteristics required to generate at least one business indicator after the adjustment period is reached; wherein the business indicator is a parameter for measuring the quality of order processing; and determine the matching time corresponding to the adjustment period according to the multiple business characteristics and multiple preset matching times; wherein the matching time corresponding to the adjustment period is the time interval between two order processing processes;
[0106] The order dispatching module 610 is used to dispatch orders within the adjustment period according to the matching time corresponding to the adjustment period.
[0107] Optionally, the business characteristics are characteristics within the historical time corresponding to the adjustment period; the historical time corresponding to the adjustment period is the same time as the adjustment period within the same historical week as the week to which the adjustment period belongs; and / or, the time before the adjustment period within the date to which the adjustment period belongs.
[0108] Optionally, the determination module 600 is specifically configured to perform weighted processing on the business characteristics required to generate each business indicator using the weight corresponding to each business indicator, and select a preset matching time from multiple preset matching times as the matching time corresponding to the adjustment period according to each weighted business characteristic;
[0109] or
[0110] According to the business characteristics required to generate each business indicator, a preset matching time corresponding to each business indicator is selected from multiple preset matching times;
[0111] According to the preset matching time corresponding to each business indicator, the matching time corresponding to the adjustment period is determined.
[0112] Optionally, the determining module 600 is specifically configured to:
[0113] According to the adjustment cycle, from the preset matching times corresponding to each business indicator, a preset matching time corresponding to a business indicator is selected as the matching time corresponding to the adjustment cycle;
[0114] Alternatively, the maximum preset matching time among the preset matching times corresponding to at least one business indicator is used as the matching time corresponding to the adjustment period;
[0115] Alternatively, the smallest preset matching time among the preset matching times corresponding to at least one business indicator is used as the matching time corresponding to the adjustment period.
[0116] Optionally, the determining module 600 is specifically configured to:
[0117] A variety of business features are input into the classification model, and a preset matching time is output; and the output preset matching time is used as the matching time corresponding to the adjustment period.
[0118] Optionally, the device further comprises: a training module;
[0119] The training module is used to train the classification model in the following ways:
[0120] Acquire a training set; wherein the training set includes a plurality of data groups, each of which corresponds to a matching time corresponding to an optimal adjustment period; each data group is a business feature required to generate at least one business indicator within a historical period;
[0121] Training the classification model according to the training set;
[0122] The matching time corresponding to the optimal adjustment period of a data group is determined by the following method:
[0123] According to the data group, simulate the dispatching of orders within the adjustment period according to multiple preset matching times; and generate multiple expected values of business indicators corresponding to each preset matching time according to the simulated dispatching data;
[0124] From the multiple expected values of the business indicator corresponding to each preset matching time, one expected value is selected, and the preset matching time corresponding to the selected expected value is used as the matching time corresponding to the optimal adjustment period corresponding to the data group.
[0125] In addition, combined Figure 1-Figure 6 The online car-hailing dispatching method and device described in the embodiments of the present invention can be implemented by a server.
[0126] Server, including: processor;
[0127] a memory for storing instructions executable by the processor;
[0128] Wherein, the processor is configured to execute the instructions to implement the online car-hailing dispatching method as described in any one of the above-mentioned methods.
[0129] Combination Figure 7As shown, an embodiment of the present invention provides an order dispatching process, a passenger uses a passenger terminal 500 to place an order, the passenger terminal 500 uploads the order to the server 501, the server 501 performs time monitoring, and after reaching an adjustment cycle, determines a plurality of business features required to generate at least one business indicator; determines a matching time corresponding to the adjustment cycle according to the plurality of business features and a plurality of preset matching times; dispatches orders within the adjustment cycle according to the matching time corresponding to the adjustment cycle. Specifically, the server 501 matches and processes orders within the adjustment cycle according to the matching time corresponding to the adjustment cycle. After matching a suitable online car-hailing vehicle, the passenger information is sent to the driver terminal 502 of the online car-hailing vehicle, and the driver information is sent to the passenger terminal 500. After receiving the order, the driver terminal 502 feeds back to the server 501, and the server 501 confirms that the order dispatching is successful, and so on. Order dispatching is performed within the adjustment cycle according to the matching time corresponding to the adjustment cycle.
[0130] Based on the above introduction, an exemplary Figure 8 The server structure.
[0131] The server may include a processor 810 and a memory 820 storing computer program instructions.
[0132] Specifically, the processor 810 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.
[0133] The memory 820 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 820 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 820 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 820 may be inside or outside a data processing device. In a specific embodiment, the memory 820 is a non-volatile solid-state memory. In a specific embodiment, the memory 820 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0134] The processor 810 implements any one of the online car-hailing dispatching methods in the above-mentioned embodiments by reading and executing computer program instructions stored in the memory 820.
[0135] In one example, the server may further include a communication interface 830 and a bus 840. Figure 8 As shown, the processor 810, the memory 820, and the communication interface 830 are connected via a bus 840 and communicate with each other.
[0136] The communication interface 830 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiment of the present invention.
[0137] Bus 840 includes hardware, software or both, and the components of the server are coupled to each other. For example, but not limitation, the bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 840 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0138] In addition, in combination with the server in the above embodiments, an embodiment of the present invention may provide a storage medium, and when the instructions in the storage medium are executed by the processor of the server, the server can execute the online car-hailing dispatching method as described in any one of the above items.
[0139] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0142] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0143] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for dispatching online car-hailing orders, characterized in that: include: After reaching the adjustment period, multiple business characteristics required to generate at least one business indicator are determined; wherein the business indicator is a parameter for measuring whether the matching time matches the dispatching process; According to multiple business characteristics and multiple preset matching times, the matching time corresponding to the adjustment period is determined; wherein the matching time corresponding to the adjustment period is the time interval between two dispatch processing flows; The orders within the adjustment period are dispatched and processed according to the matching time corresponding to the adjustment period.
2. The online car-hailing dispatching method according to claim 1, characterized in that: The business characteristics are characteristics within the historical time corresponding to the adjustment period; the historical time corresponding to the adjustment period is the same time as the adjustment period in the same historical week as the week to which the adjustment period belongs; and / or, within the date to which the adjustment period belongs, the time before the adjustment period.
3. The online car-hailing dispatching method according to claim 1, characterized in that: According to various business characteristics and multiple preset matching times, the matching time corresponding to the adjustment period is determined, including: The business characteristics required to generate each business indicator are weighted by using the weight corresponding to each business indicator, and according to each weighted business characteristic, a preset matching time is selected from a plurality of preset matching times as the matching time corresponding to the adjustment period; or According to the business characteristics required to generate each business indicator, a preset matching time corresponding to each business indicator is selected from multiple preset matching times; According to the preset matching time corresponding to each business indicator, the matching time corresponding to the adjustment period is determined.
4. The online car-hailing dispatching method according to claim 3, characterized in that: According to the preset matching time corresponding to each business indicator, determine the matching time corresponding to the adjustment cycle, including: According to the adjustment cycle, from the preset matching times corresponding to each business indicator, a preset matching time corresponding to a business indicator is selected as the matching time corresponding to the adjustment cycle; Alternatively, the maximum preset matching time among the preset matching times corresponding to at least one business indicator is used as the matching time corresponding to the adjustment period; Alternatively, the smallest preset matching time among the preset matching times corresponding to at least one business indicator is used as the matching time corresponding to the adjustment period.
5. The online car-hailing dispatching method according to claim 1, characterized in that: According to various business characteristics and various preset matching times, the matching time corresponding to the adjustment period is determined, including: A variety of business features are input into the classification model, and a preset matching time is output; and the output preset matching time is used as the matching time corresponding to the adjustment period.
6. The online car-hailing dispatching method according to claim 5, characterized in that: The classification model is trained in the following way: Obtaining a training set; wherein the training set includes multiple data groups, each of which corresponds to an optimal matching time; each data group is a business feature required to generate at least one business indicator within a historical period; Training the classification model according to the training set; The best matching time corresponding to a data set is determined by: According to the data group, simulate the dispatching of orders within the adjustment period according to multiple preset matching times; and generate multiple expected values of business indicators corresponding to each preset matching time according to the simulated dispatching data; From the multiple expected values of the business indicator corresponding to each preset matching time, one expected value is selected, and the preset matching time corresponding to the selected expected value is used as the best matching time corresponding to the data group.
7. A device for dispatching online car-hailing services, characterized in that: include: A determination module is used to determine multiple business characteristics required to generate at least one business indicator after the adjustment period is reached; wherein the business indicator is a parameter for measuring the quality of order processing; and to determine the matching time corresponding to the adjustment period according to the multiple business characteristics and multiple preset matching times; wherein the matching time corresponding to the adjustment period is the time interval between two order processing flows; The order dispatching module is used to dispatch orders within the adjustment period according to the matching time corresponding to the adjustment period.
8. The online car-hailing dispatching device according to claim 7, characterized in that: The determination module is specifically used to perform weighted processing on the business characteristics required to generate each business indicator using the weight corresponding to each business indicator, and select a preset matching time from multiple preset matching times as the matching time corresponding to the adjustment period according to each weighted business characteristic; or According to the business characteristics required to generate each business indicator, a preset matching time corresponding to each business indicator is selected from multiple preset matching times; According to the preset matching time corresponding to each business indicator, the matching time corresponding to the adjustment period is determined.
9. A server, characterized in that: include: Memory, used to store computer programs or instructions; A processor is used to execute the computer program or instructions in the memory so that the method according to any one of claims 1 to 6 is performed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes a program request, and when the program request is executed by a computer, the computer is caused to execute the method according to any one of claims 1 to 6.
