A method and system for sharing online car-hailing services
By sharing capacity in the online car-hailing system and processing orders based on capacity sharing conditions and matching degrees, the problem of capacity occupied by invalid orders is solved, and capacity utilization and user experience are improved.
Patent Information
- Application Number
- CN202111115899.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-23
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2041-09-23
AI Technical Summary
In the prior art, online ride-hailing capacity is occupied by invalid orders, resulting in long wait times for users to call and low capacity utilization.
A method of online car-hailing sharing is proposed. By obtaining capacity information in the capacity collection, determining candidate capacity, and adding the target order to the shared capacity based on the capacity sharing conditions and matching degree, updating the number of shared resource locks, realizing capacity sharing and order acceptance and confirmation processing to avoid wasting invalid orders.
It effectively reduces the capacity occupancy rate of invalid orders, improves the order reception and utilization rate of transportation capacity, and reduces the waiting time for users to use cars.
Smart Images

Figure CN113888259B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of online car-hailing, and in particular to an online car-hailing sharing method and sharing system. Background Art
[0002] At present, the demand for external taxis is increasing, and accompanied by an increase in the number of order cancellations. However, the transportation capacity (online taxis) is limited, and the transportation capacity is exclusive, that is, one transportation capacity can only accept one order at a time, resulting in a large amount of transportation capacity being occupied by invalid orders (such as orders canceled later), which increases the waiting time for valid users to call a taxi and reduces the user's taxi experience.
[0003] Therefore, it is necessary to provide a solution to solve the technical problems in the prior art that transportation capacity is occupied by invalid orders and users have a long waiting time for calling a taxi. Summary of the invention
[0004] In order to solve the technical problems in the prior art that transportation capacity is occupied by invalid orders and users have a long waiting time for calling a car, the present invention proposes an online car-hailing sharing method and sharing system, and the present invention is specifically implemented by the following technical scheme.
[0005] The present invention provides a method for sharing a car-hailing service, comprising:
[0006] In response to the target order information corresponding to the target online car-hailing order, obtaining the transport capacity information corresponding to each transport capacity in the transport capacity set, wherein the transport capacity information includes vehicle information and the number of shared resource locks;
[0007] Determine a first candidate transport capacity in the transport capacity set according to the target order information and vehicle information corresponding to each transport capacity in the transport capacity set;
[0008] Determining shared transport capacity that meets the transport capacity sharing condition among the first candidate transport capacities;
[0009] comparing the number of shared resource locks of the shared transport capacity with a first threshold;
[0010] When the number of shared resource locks corresponding to the shared transportation capacity is less than the first threshold, adding the target online car-hailing order to the order pool corresponding to the shared transportation capacity, and updating the number of shared resource locks corresponding to the shared transportation capacity;
[0011] Performing order confirmation processing on the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool;
[0012] When the order is confirmed successfully, the order pool corresponding to the shared transportation capacity and the number of shared resource locks corresponding to the shared transportation capacity are reset.
[0013] A further improvement of the online car-hailing sharing method provided by the present invention is that the determining of the shared transport capacity that meets the transport capacity sharing condition in the first candidate transport capacity includes:
[0014] Determining a matching degree between the target online car-hailing order and the first candidate transportation capacity according to the target order information and the transportation capacity information corresponding to the first candidate transportation capacity;
[0015] sorting the first candidate transport capacities according to the matching degree;
[0016] In order of matching degree from high to low, it is determined one by one whether the first candidate capacities meet the capacity sharing condition, until the shared capacity that meets the capacity sharing condition is obtained from the first candidate capacities.
[0017] A further improvement of the online car-hailing sharing method provided by the present invention is that, in updating the number of shared resource locks corresponding to the shared transportation capacity, the number of shared resource locks corresponding to the shared transportation capacity is increased by one.
[0018] A further improvement of the online car-hailing sharing method provided by the present invention is that the transport capacity information also includes configuration information;
[0019] When the number of shared resource locks corresponding to the shared transportation capacity is less than the first threshold, the target online car-hailing order is added to the order pool corresponding to the shared transportation capacity, and after the number of shared resource locks corresponding to the shared transportation capacity is updated, the method further includes:
[0020] Obtaining the order source of each order in the shared transport capacity order pool;
[0021] Determining a target source of the target online car-hailing order according to the target order information;
[0022] determining a target quantity of orders from the order source that match the target source;
[0023] Determining a sharing mode of the shared transport capacity according to the configuration information of the shared transport capacity;
[0024] When the sharing mode of the shared transport capacity is a global sharing mode, performing a global sharing confirmation process according to the target quantity;
[0025] When the sharing mode of the shared transport capacity is a local sharing mode, a local sharing confirmation process is performed according to the target quantity.
[0026] A further improvement of the online car-hailing sharing method provided by the present invention is that when the sharing mode of the shared transport capacity is a global sharing mode, performing a global sharing confirmation process according to the target quantity includes:
[0027] When the sharing mode is a global sharing mode, comparing the target quantity with a second threshold;
[0028] When the target quantity is greater than the second threshold, the target online car-hailing order is removed from the order pool of the shared transportation capacity, and the number of shared resource locks of the shared transportation capacity is reduced by one;
[0029] Determining, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity;
[0030] In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0031] Return to the step of comparing the number of shared resource locks of the shared transport capacity with the first threshold;
[0032] When the target quantity is not greater than the second threshold, the step of confirming the order acceptance of the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool is entered.
[0033] A further improvement of the online car-hailing sharing method provided by the present invention is that when the sharing mode of the shared transport capacity is a local sharing mode, performing local sharing confirmation processing according to the target quantity includes:
[0034] When the sharing mode is a local sharing mode, comparing the relationship between the number of shared resource locks of the shared transport capacity and 1, and the relationship between the number of targets and 1;
[0035] When the number of shared resource locks of the shared transport capacity is greater than 1 and the target number is equal to 1, the target online car-hailing order is removed from the order pool of the shared transport capacity, and the number of shared resource locks of the shared transport capacity is reduced by one;
[0036] Determining, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity;
[0037] In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0038] Return to the step of comparing the number of shared resource locks of the shared capacity with the first threshold.
[0039] A further improvement of the online car-hailing sharing method provided by the present invention is that the method further comprises:
[0040] When the target number is greater than 1, comparing the target number with a third threshold;
[0041] When the target quantity is greater than the third threshold, the target online car-hailing order is removed from the order pool of the shared transportation capacity, and the number of shared resource locks of the shared transportation capacity is reduced by one;
[0042] Determining, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity;
[0043] In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0044] Return to the step of comparing the number of shared resource locks of the shared transport capacity with the first threshold;
[0045] When the target quantity is not greater than the third threshold, the step of confirming the order acceptance of the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool is entered.
[0046] A further improvement of the online car-hailing sharing method provided by the present invention is that the order confirmation processing of the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool includes:
[0047] Obtaining order response time according to order information of online car-hailing orders in the shared transportation capacity order pool;
[0048] Determine the pending order in the order pool of the shared transport capacity according to the order response time;
[0049] Performing order confirmation processing on the pending orders;
[0050] When the order is successfully confirmed, the shared transport capacity is confirmed;
[0051] When the transport capacity is confirmed successfully, order confirmation success information is generated.
[0052] A further improvement of the online car-hailing sharing method provided by the present invention is that the order confirmation processing of the shared transportation capacity and the target online car-hailing order in the order pool of the shared transportation capacity further includes:
[0053] When order confirmation fails, the pending order is removed from the order pool of the shared transport capacity, the number of shared resource locks of the shared transport capacity is reduced by one, the order information of the online car-hailing order in the order pool of the shared transport capacity is returned, and the order response time is obtained;
[0054] When the capacity confirmation fails, determining a second candidate capacity with a lower matching degree than the shared capacity from the first candidate capacity;
[0055] In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0056] Return to the step of comparing the number of shared resource locks of the shared capacity with the first threshold.
[0057] In addition, the present invention also provides an online car-hailing sharing system for executing the above-mentioned sharing method, the system comprising:
[0058] A first acquisition module is used to obtain the transport capacity information corresponding to each transport capacity in the transport capacity set in response to the target order information corresponding to the target online car-hailing order, wherein the transport capacity information includes vehicle information and the number of shared resource locks;
[0059] A first determination module, configured to determine a first candidate transport capacity in the transport capacity set according to the target order information and vehicle information corresponding to each transport capacity in the transport capacity set;
[0060] A second determining module, configured to determine a shared transport capacity that meets a transport capacity sharing condition among the first candidate transport capacities;
[0061] A first comparison module, configured to compare the number of shared resource locks of the shared transport capacity with a first threshold;
[0062] A first updating module, configured to add the target online car-hailing order to an order pool corresponding to the shared transportation capacity and update the number of shared resource locks corresponding to the shared transportation capacity when the number of shared resource locks corresponding to the shared transportation capacity is less than the first threshold;
[0063] An order receiving module, used for receiving and confirming the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool;
[0064] The reset module is used to reset the order pool corresponding to the shared transportation capacity and the number of shared resource locks corresponding to the shared transportation capacity when the order is confirmed successfully.
[0065] A further improvement of the online car-hailing sharing system provided by the present invention is that the second determination module includes:
[0066] A first determining unit, configured to determine a matching degree between the target online car-hailing order and the first candidate transportation capacity according to the target order information and transportation capacity information corresponding to the first candidate transportation capacity;
[0067] A sorting unit, configured to sort the first candidate transport capacities according to the matching degree;
[0068] The first judgment unit is used to judge whether the first candidate capacities meet the capacity sharing condition one by one in the order of matching degree from high to low, until the shared capacity that meets the capacity sharing condition is obtained from the first candidate capacities.
[0069] A further improvement of the online car-hailing sharing system provided by the present invention is that the first update module is used to increase the number of shared resource locks corresponding to the shared transportation capacity by one to update the number of shared resource locks corresponding to the shared transportation capacity.
[0070] A further improvement of the online car-hailing sharing system provided by the present invention is that the transport capacity information also includes configuration information;
[0071] The shared system also includes:
[0072] A second acquisition module is used to obtain the order source of each order in the shared transport capacity order pool;
[0073] A third determination module is used to determine the target source of the target online car-hailing order according to the target order information;
[0074] A fourth determination module, used to determine a target quantity of orders from the order sources that match the target source;
[0075] a fifth determining module, configured to determine a sharing mode of the shared transport capacity according to the configuration information of the shared transport capacity;
[0076] A global sharing processing module, configured to perform global sharing confirmation processing according to the target quantity when the sharing mode of the shared transport capacity is the global sharing mode;
[0077] The local sharing processing module is used to perform local sharing confirmation processing according to the target quantity when the sharing mode of the shared transportation capacity is the local sharing mode.
[0078] A further improvement of the online car-hailing sharing system provided by the present invention is that the global sharing processing module includes:
[0079] A first comparing unit, configured to compare the target quantity with a second threshold when the sharing mode is a global sharing mode;
[0080] A first removing unit is configured to remove the target online car-hailing order from the order pool of the shared transportation capacity and reduce the number of shared resource locks of the shared transportation capacity by one when the target number is greater than the second threshold;
[0081] A second determining unit is configured to determine, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity;
[0082] A second judgment unit is used to judge whether the second candidate transport capacities meet the transport capacity sharing condition one by one in the order of matching degree from high to low, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and update the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0083] A first returning unit, configured to return the step of comparing the number of shared resource locks of the shared transport capacity with a first threshold;
[0084] The first undertaking unit is used to enter the step of confirming the order acceptance of the shared transportation capacity and the online car-hailing orders in the order pool of the shared transportation capacity when the target quantity is not greater than the second threshold.
[0085] A further improvement of the online car-hailing sharing system provided by the present invention is that the local sharing processing module includes:
[0086] A second comparison unit is used to compare the size relationship between the number of shared resource locks of the shared transport capacity and 1, and the size relationship between the target number and 1 when the sharing mode is the local sharing mode;
[0087] A second removal unit is configured to remove the target online car-hailing order from the order pool of the shared transportation capacity and reduce the number of shared resource locks of the shared transportation capacity by one when the number of shared resource locks of the shared transportation capacity is greater than 1 and the target number is equal to 1;
[0088] a third determining unit, configured to determine, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity;
[0089] a third judgment unit, configured to judge whether the second candidate transport capacities meet the transport capacity sharing condition one by one in the order of matching degree from high to low, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and update the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0090] The second returning unit is used to return to the step of comparing the number of shared resource locks of the shared transportation capacity with the first threshold.
[0091] A further improvement of the online car-hailing sharing system provided by the present invention is that the local sharing processing module further includes:
[0092] a third comparing unit, configured to compare the target quantity with a third threshold value when the target quantity is greater than 1;
[0093] A third removal unit is configured to remove the target online car-hailing order from the order pool of the shared transportation capacity and reduce the number of shared resource locks of the shared transportation capacity by one when the target number is greater than the third threshold;
[0094] A fourth determining unit, configured to determine, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity;
[0095] a fourth judgment unit, configured to judge whether the second candidate capacities meet the capacity sharing condition one by one in a descending order of matching degree, until a second candidate capacity that meets the capacity sharing condition is obtained from the second candidate capacities, and update the shared capacity to the second candidate capacity that meets the capacity sharing condition;
[0096] A third returning unit, configured to return to the step of comparing the number of shared resource locks of the shared transport capacity with the first threshold;
[0097] The second undertaking unit is used to enter the step of confirming the order acceptance of the shared transportation capacity and the online car-hailing orders in the order pool of the shared transportation capacity when the target quantity is not greater than the third threshold.
[0098] A further improvement of the online car-hailing sharing system provided by the present invention is that the order receiving module includes:
[0099] A first acquisition unit is used to acquire an order response time according to order information of an online car-hailing order in the shared transportation capacity order pool;
[0100] A fifth determining unit, configured to determine an order to be received in the order pool of the shared transport capacity according to the order response time;
[0101] An order confirmation unit, used for performing order confirmation processing on the pending order;
[0102] The capacity confirmation unit is used to perform capacity confirmation processing on the shared capacity when the order is successfully confirmed, and to generate order confirmation success information when the capacity is successfully confirmed.
[0103] A further improvement of the online car-hailing sharing system provided by the present invention is that the order receiving module further includes:
[0104] A fourth removal unit is used to remove the pending order from the order pool of the shared transportation capacity when the order confirmation fails, reduce the number of shared resource locks of the shared transportation capacity by one, return the order information of the online car-hailing order in the order pool of the shared transportation capacity, and obtain the order response time;
[0105] A sixth determining unit, configured to determine, when the capacity confirmation fails, a second candidate capacity having a lower matching degree than the shared capacity from among the first candidate capacity;
[0106] a fifth judgment unit, configured to judge whether the second candidate capacities satisfy the capacity sharing condition one by one in a descending order of matching degree, until a second candidate capacity satisfying the capacity sharing condition is obtained from the second candidate capacities, and update the shared capacity to the second candidate capacity satisfying the capacity sharing condition;
[0107] The fourth returning unit is used to return to the step of comparing the number of shared resource locks of the shared transportation capacity with the first threshold.
[0108] In the present invention, qualified online car-hailing orders are added to the order pool of the transport capacity. There can be multiple online car-hailing orders in the order pool at the same time. Before the order is successfully confirmed, if an order is cancelled, there are still orders in the order pool that can be used for the transport capacity to accept orders. Therefore, the transport capacity time will not be wasted due to the cancellation of a certain order, and the waste of transport capacity due to order cancellation is avoided. In the present invention, when the transport capacity is shared and locked, during the shared lock period, an order pool that can accept orders is created for the transport capacity, and the transport capacity can provide services for valid orders in the order pool, which greatly reduces the probability of invalid orders occupying the transport capacity, improves the order acceptance rate and utilization rate of the transport capacity, and reduces the waiting time for users in the station to use the car. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0110] Figure 1 A flowchart of the online car-hailing sharing method provided in Example 1 of the present invention.
[0111] Figure 2 A block diagram of an online car-hailing sharing system provided in Example 2 of the present invention. DETAILED DESCRIPTION
[0112] The technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0113] In the prior art, as the number of external order cancellations continues to increase, a large amount of transportation capacity is occupied by invalid orders, resulting in very low transportation capacity utilization, increasing the user's waiting time for a car, and at the same time causing an increase in the internal order cancellation rate, reducing the user's taxi experience.
[0114] In order to solve the technical problems in the prior art that transportation capacity is occupied by invalid orders and users have a long waiting time for calling a car, the present invention proposes an online car-hailing sharing method and sharing system, and the present invention is specifically implemented by the following technical scheme.
[0115] Embodiment 1:
[0116] Combination Figure 1 As shown, a method for sharing an online car-hailing vehicle provided in this embodiment 1 includes:
[0117] Step S101: in response to the target order information corresponding to the target online car-hailing order, obtaining the capacity information corresponding to each capacity in the capacity set, where the capacity information includes vehicle information and the number of shared resource locks;
[0118] Step S102: determining a first candidate transport capacity in the transport capacity set according to the target order information and the vehicle information corresponding to each transport capacity in the transport capacity set;
[0119] Step S103: Determine the shared transport capacity that meets the transport capacity sharing condition in the first candidate transport capacity;
[0120] Step S104: comparing the number of shared resource locks of the shared transport capacity with a first threshold;
[0121] Step S105: When the number of shared resource locks corresponding to the shared transport capacity is less than the first threshold, the target online car-hailing order is added to the order pool corresponding to the shared transport capacity, and the number of shared resource locks corresponding to the shared transport capacity is updated;
[0122] Step S106: performing order confirmation processing on the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool;
[0123] Step S107: When the order is confirmed to be successful, the order pool corresponding to the shared transportation capacity and the number of shared resource locks corresponding to the shared transportation capacity are reset.
[0124] After the capacity is determined as shared capacity in this embodiment 1, the target online car-hailing order is added to the order pool of the shared capacity, and the order pool may be set with a first threshold number of orders; in step S105, an order is determined from all orders in the order pool of the shared capacity for shared capacity order acceptance; after the order is successfully accepted, the order pool corresponding to the shared capacity is cleared, and the number of shared resource locks corresponding to the shared capacity is reset to zero.
[0125] In this embodiment 1, qualified online ride-hailing orders are added to the order pool of transportation capacity. Multiple online ride-hailing orders may exist in the order pool at the same time. If an order is cancelled before the order is confirmed successfully, there are still orders in the order pool that can be used for transportation capacity acceptance. Therefore, transportation capacity time will not be wasted due to the cancellation of a certain order, thereby avoiding waste of transportation capacity due to order cancellation.
[0126] In step S101, firstly, the target online car-hailing order sent by the client and the target order information corresponding to the target online car-hailing order are obtained, and then the capacity information corresponding to each capacity in the capacity set is obtained in response to the target online car-hailing order. The capacity set refers to the set of all capacities managed by the server.
[0127] In this embodiment 1, it is also possible to determine whether the target online car-hailing order meets the order sharing conditions based on the target order information. The order sharing conditions include that the city to which the order belongs is a preset city, the order reservation time is a preset time interval, and the order type is a shared order, etc., wherein the user can modify the order type through the client according to their own needs, and the user can also select the city to which the order belongs and the order reservation time through the client when placing an order. If the target online car-hailing order does not meet the order sharing conditions, for example, the target online car-hailing order is an exclusive order, then an exclusive capacity is determined in the capacity set, and the exclusive capacity and the online car-hailing order that does not meet the order sharing conditions are processed for order confirmation. If the target online car-hailing order meets the order sharing conditions, proceed to step S102.
[0128] Further, step S102 includes:
[0129] Obtain starting position information according to target order information;
[0130] A first candidate transport capacity is determined in the transport capacity set according to the starting position information and the vehicle information corresponding to each transport capacity in the transport capacity set.
[0131] In this embodiment 1, the transport capacity in the transport capacity set within a preset range from the starting position information may be determined as the first candidate transport capacity based on the starting position information and the vehicle information corresponding to each transport capacity in the transport capacity set.
[0132] Further, step S103 includes:
[0133] Determine the matching degree between the target online car-hailing order and the first candidate transport capacity according to the target order information and the transport capacity information corresponding to the first candidate transport capacity;
[0134] The first candidate transport capacity is ranked according to the matching degree;
[0135] In order of matching degree from high to low, determine whether the first candidate capacity meets the capacity sharing condition one by one, until a shared capacity that meets the capacity sharing condition is obtained from the first candidate capacity.
[0136] In this embodiment 1, the capacity sharing conditions include that the city to which the capacity belongs is a preset city, the capacity resource lock type is a shared type, etc., wherein the driver can modify the capacity resource lock type through the driver terminal according to his own needs. If the capacity resource lock type is an exclusive resource lock type, it means that the order pool function is not enabled for the capacity, and the capacity is an exclusive capacity, which can be matched with exclusive orders.
[0137] In this embodiment 1, if no shared transport capacity satisfying the transport capacity sharing condition is obtained from the first candidate transport capacity, the process returns to step S102.
[0138] In this embodiment 1, the capacity list sorted by priority can be split into batches of 10 capacities, and processed cyclically according to the batches; the capacity information of the capacity is obtained in batches, and the capacity is divided into two categories according to the type of capacity resource lock: capacity without shared resource lock and capacity with shared resource lock. Prioritize the capacity without shared resource lock. After all the capacity without shared resource lock is processed, the capacity with shared resource lock is processed, and these drivers are locked. If the locking fails, there is no available driver, and the next round of dispatching begins.
[0139] Furthermore, in step S104 , in updating the number of shared resource locks corresponding to the shared transportation capacity, the number of shared resource locks corresponding to the shared transportation capacity is increased by one.
[0140] Further, when the number of shared resource locks corresponding to the shared transport capacity is not less than the first threshold, a second candidate transport capacity having a matching degree lower than the shared transport capacity is determined from the first candidate transport capacity;
[0141] In order of the matching degree from high to low, determine whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and update the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0142] Return to step S104.
[0143] Furthermore, capacity information also includes configuration information;
[0144] After step S105, the method further includes:
[0145] Get the order source of each order in the shared transport capacity order pool;
[0146] Determine the target source of the target online car-hailing order based on the target order information;
[0147] Determine a target quantity of orders from the order source that match the target source;
[0148] Determine a sharing mode of the shared transport capacity according to the configuration information of the shared transport capacity;
[0149] When the sharing mode of the shared transport capacity is the global sharing mode, the global sharing confirmation process is performed according to the target quantity;
[0150] When the sharing mode of the shared transport capacity is the local sharing mode, the local sharing confirmation process is performed according to the target quantity.
[0151] In this embodiment 1, in the global sharing mode, the orders in the shared capacity order pool can have different order sources, for example, the sources of each order in the shared capacity order pool can include A, B, and C, etc. In the local sharing mode, the orders in the shared capacity order pool can only have the same order source, for example, the source of each order in the shared capacity order pool can only be A, or can only be B, or can only be C.
[0152] Furthermore, when the sharing mode of the shared transport capacity is the global sharing mode, performing the global sharing confirmation process according to the target quantity includes:
[0153] When the sharing mode is the global sharing mode, comparing the target quantity and the second threshold;
[0154] When the target quantity is greater than the second threshold, the target online car-hailing order is removed from the order pool of the shared transportation capacity, and the number of shared resource locks of the shared transportation capacity is reduced by one;
[0155] Determine a second candidate capacity from the first candidate capacity whose matching degree is lower than the shared capacity;
[0156] In order of the matching degree from high to low, determine whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and update the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0157] Return to step S104;
[0158] When the target quantity is not greater than the second threshold, the process proceeds to step S107.
[0159] In the global sharing mode, this embodiment 1 sets a single source upper limit (second threshold) for the orders in the shared capacity order pool. For example, the first threshold of shared capacity is five. Originally, there are four orders in the order pool, and the order sources of the four orders are A, B, A, and C respectively; now there is a fifth order added to the order pool, and the order source of the fifth order is A, and the upper limit (second threshold) of the source A of the shared capacity is two; after the fifth order is added to the order pool, the number of orders from source A in the order pool is three, and three (the target number) is greater than two (the second threshold), so it is necessary to remove the fifth order (the target online car-hailing order) from the shared capacity order pool and reduce the number of shared resource locks of the shared capacity by one.
[0160] Furthermore, when the sharing mode of the shared transport capacity is a local sharing mode, performing the local sharing confirmation process according to the target quantity includes:
[0161] When the sharing mode is the local sharing mode, the relationship between the number of shared resource locks of the shared capacity and 1, and the relationship between the number of targets and 1 are compared;
[0162] When the number of shared resource locks of the shared transport capacity is greater than 1 and the target number is equal to 1, the target online car-hailing order is removed from the shared transport capacity order pool, and the number of shared resource locks of the shared transport capacity is reduced by one;
[0163] Determine a second candidate capacity from the first candidate capacity whose matching degree is lower than the shared capacity;
[0164] In order of the matching degree from high to low, determine whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and update the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0165] Return to step S104.
[0166] In the local sharing mode of this embodiment 1, when the number of shared resource locks of the shared capacity is greater than 1 and the target number is equal to 1, it means that the original orders in the order pool and the current target online car-hailing order are not from the same source, and it is necessary to cancel the current target online car-hailing order, move the current target online car-hailing order out of the order pool of the shared capacity, reduce the number of shared resource locks of the shared capacity by one, and re-determine the shared capacity for the current target online car-hailing order. For example, the first threshold of shared capacity is five. Originally, there are four orders in the order pool, and the order sources of the four orders are all A; now a fifth order is added to the order pool, and the order source of the fifth order is B; after the fifth order is added to the order pool, the number of shared resource locks is five, the number of orders from source A in the order pool is four, and the number of orders from source B in the order pool is one (target number). The number of shared resource locks is greater than one and the target number is equal to one, indicating that the original order source in the order pool is not B, which does not meet the requirement of the local sharing mode that "orders in the order pool of shared capacity can only have the same order source". Therefore, it is necessary to move the fifth order (target online car-hailing order) out of the order pool of shared capacity and reduce the number of shared resource locks for shared capacity by one.
[0167] Furthermore, the method further comprises:
[0168] When the target number is greater than 1, comparing the target number with a third threshold;
[0169] When the target quantity is greater than the third threshold, the target online car-hailing order is removed from the order pool of the shared transportation capacity, and the number of shared resource locks of the shared transportation capacity is reduced by one;
[0170] Determine a second candidate capacity from the first candidate capacity whose matching degree is lower than the shared capacity;
[0171] In order of the matching degree from high to low, determine whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and update the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0172] Return to step S104;
[0173] When the target quantity is not greater than the third threshold, the process proceeds to step S107.
[0174] In the local sharing mode, this embodiment 1 sets a single source upper limit (third threshold) for the orders in the shared capacity order pool. For example, the first threshold of shared capacity is five, and there are four orders in the original order pool, and the order sources of the four orders are all A; now there is a fifth order added to the order pool, and the order source of the fifth order is A, and the upper limit (third threshold) of the source of A of the shared capacity is four; after the fifth order is added to the order pool, the number of orders from source A in the order pool is three, and three (the target number) is greater than two (the third threshold), so it is necessary to remove the fifth order (the target online car-hailing order) from the shared capacity order pool and reduce the number of shared resource locks of the shared capacity by one.
[0175] Furthermore, the order confirmation process for the shared transport capacity and the online car-hailing order in the shared transport capacity order pool includes:
[0176] Obtain order response time based on order information of online ride-hailing orders in the shared transportation order pool;
[0177] Determine the pending orders in the shared transport capacity order pool based on the order response time;
[0178] Conduct order confirmation processing for pending orders;
[0179] When the order is confirmed successfully, the shared transport capacity is confirmed;
[0180] When the transport capacity is confirmed successfully, order confirmation success information is generated.
[0181] In this embodiment 1, after the capacity is determined to be shared capacity, an order is selected in the order pool of the shared capacity for order acceptance. Specifically, the selection can be made according to the order response time; the order response time refers to the time point when the order information is responded to in step S101; each order has its own order response time; in the order pool, orders with earlier order response times enjoy higher priority and are preferentially determined as orders to be accepted. When the order acceptance success confirmation information is generated, it means that the order acceptance confirmation is successful, and the order pool corresponding to the shared capacity can be cleared, and the shared resource lock corresponding to the shared capacity can be cleared.
[0182] Furthermore, the order confirmation process for the shared transport capacity and the target online car-hailing order in the shared transport capacity order pool also includes:
[0183] When order confirmation fails, the pending order is removed from the order pool of shared transportation capacity, the number of shared resource locks of shared transportation capacity is reduced by one, and the order information of the online car-hailing order in the order pool of shared transportation capacity is returned to obtain the order response time.
[0184] In the order confirmation process of this embodiment 1, if the order confirmation fails, it means that the order is canceled by the user or the order does not meet the order acceptance conditions, etc. At this time, the pending orders are moved out of the order pool of shared transportation capacity, the number of shared resource locks of the shared transportation capacity is reduced by one, and the pending orders are re-determined from the order pool. At the same time, the order pool can also receive new orders until the number of orders in the order pool is equal to the first threshold.
[0185] Furthermore, the order confirmation process for the shared transport capacity and the target online car-hailing order in the shared transport capacity order pool also includes:
[0186] When the capacity confirmation fails, a second candidate capacity with a lower matching degree than the shared capacity is determined from the first candidate capacity;
[0187] In order of the matching degree from high to low, determine whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and update the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition;
[0188] Return to step S104.
[0189] In the order confirmation process of this embodiment 1, if the capacity confirmation fails, it means that the driver corresponding to the capacity is off work or taking a rest, etc. At this time, the pending order is removed from the order pool of the shared capacity, the number of shared resource locks of the shared capacity is reduced by one, and the shared capacity is re-determined, that is, a second candidate capacity with a lower matching degree than the original shared capacity is determined from the first candidate capacity, and a new shared capacity is determined from the second candidate capacity.
[0190] The online car-hailing sharing method provided in Example 1 of the present invention can be applied to online car-hailing order processing. Specifically, the user sends an online car-hailing order through a client, and the business system receives the online car-hailing order from the client. The business system then sends the order information of the online car-hailing order to the dispatching system; the dispatching system determines the shared transportation capacity that matches the online car-hailing order in the transportation capacity set based on the order information, and adds the online car-hailing order to the order pool of shared transportation capacity; when there is an order in the order pool, the order confirmation process is immediately performed. Specifically, the dispatching system notifies the business system that the order has available shared transportation capacity, and the business system performs order confirmation processing after receiving the notification, and the order confirmation is successful. After the order is successfully confirmed, the business system notifies the dispatch system that the order is confirmed successfully. After receiving the notification, the dispatch system performs capacity confirmation processing. If the capacity is confirmed successfully, it means that the order is confirmed successfully. During the entire order confirmation process, the order pool of shared capacity can continue to receive new orders until the order is confirmed successfully or the number of shared resource locks reaches the first threshold. If the order is confirmed successfully, the dispatch system can re-determine the shared capacity for the orders that have not been accepted in the order pool, clear the order pool for the shared capacity that has been accepted, and clear the number of shared resource locks. If the order confirmation fails, the dispatch system can re-determine the orders to be accepted in the order pool and perform order confirmation processing. In addition, the number of business systems can be multiple, and the business system serves as the order source and can send online car-hailing orders to the dispatch system. After the dispatch system determines the shared capacity based on the order information, it will give priority to allocating the shared capacity to the business system corresponding to the order source. In this embodiment 1, in the global sharing mode, the orders in the order pool of shared capacity can come from different business systems. In the local sharing mode, the orders in the order pool of shared capacity can only come from the same business system.
[0191] In short, the online car-hailing sharing method provided in Embodiment 1 of the present invention mainly includes the following steps:
[0192] 1) Add the taxi-hailing demand of the business system to the queue for dispatching, pull the order information for dispatching, and match the nearby drivers who can accept the order according to the latitude and longitude information of the order;
[0193] 2) Filter the qualifications of the matched drivers, calculate the matching degree of the filtered drivers according to the strategy, and sort them according to the rules;
[0194] 3) Based on the operational configuration, determine whether the driver meets the sharing conditions. If so, add a sharing lock to the driver, increase the number of sharing locks by one, and add the order to the driver's serviceable order pool. After completion, notify the business system that there is an available driver and wait for the business system's response.
[0195] 4) If the business system notifies the dispatch system to cancel the order, the dispatch system removes the order from the driver's dispatchable order pool and reduces the number of driver shared locks by one;
[0196] 5) If the business system notifies the dispatch system to confirm the order, the dispatch system determines whether the driver is available. If available, the driver is notified to accept the order. After the driver accepts the order, the dispatch system removes the order from the driver's dispatch pool and clears the shared lock.
[0197] Furthermore, after step S107, the order push process is entered; the order information is obtained to determine whether the order status is correct and whether it is in a state where orders can be accepted. If the order status is incorrect, the push process is exited; the driver information corresponding to the shared transportation capacity is obtained. If the acquisition fails or the driver is not pre-locked, the order is canceled (the number of shared resource locks will be reduced by one during the order cancellation process); the driver's exclusive lock is obtained. If the acquisition is successful, the next step is entered. If the acquisition fails, the order is canceled; the driver information is queried to determine whether the driver is currently in a state where orders can be accepted. If the driver is not in a state where orders can be accepted, the order is canceled; the number of messages pushed to the driver is determined. If the driver has been notified to accept orders more than 3 times, the order is canceled. Otherwise, the driver is notified again to accept orders. After the push is completed, the order acceptance message is monitored. If no order acceptance message is received from the driver within a certain period of time, the above process is repeated.
[0198] The present invention can dynamically realize the exclusive use and sharing of transportation capacity according to the specific conditions of cities, time periods, orders, business systems, etc. When dispatching orders, the transportation capacity selected is shared and locked according to the dynamic configuration decision. When the transportation capacity is shared and locked, an order pool that can accept orders is created for the transportation capacity during the shared lock period. The transportation capacity can provide services for valid orders in the order pool, which greatly reduces the probability of invalid orders occupying the transportation capacity, improves the order acceptance rate and utilization rate of the transportation capacity, and reduces the waiting time for users in the station to use the car.
[0199] Embodiment 2:
[0200] Combination Figure 2 As shown, this embodiment 2 provides an online car-hailing sharing system for executing the sharing method in embodiment 1. The sharing system 100 includes:
[0201] A first acquisition module 10 is used to obtain the capacity information corresponding to each capacity in the capacity set in response to the target order information corresponding to the target online car-hailing order, where the capacity information includes vehicle information and the number of shared resource locks;
[0202] A first determination module 20, configured to determine a first candidate transport capacity in the transport capacity set according to the target order information and the vehicle information corresponding to each transport capacity in the transport capacity set;
[0203] A second determination module 30 is used to determine the shared transport capacity that meets the transport capacity sharing condition in the first candidate transport capacity;
[0204] A first comparison module 40, configured to compare the number of shared resource locks of the shared transport capacity with a first threshold;
[0205] A first updating module 50 is used to add the target online car-hailing order to the order pool corresponding to the shared transportation capacity and update the number of shared resource locks corresponding to the shared transportation capacity when the number of shared resource locks corresponding to the shared transportation capacity is less than a first threshold;
[0206] An order receiving module 60, used for receiving and confirming online ride-hailing orders in the shared transport capacity and shared transport capacity order pool;
[0207] The reset module 70 is used to reset the order pool corresponding to the shared transportation capacity and the number of shared resource locks corresponding to the shared transportation capacity when the order is confirmed successfully.
[0208] This embodiment 2 can dynamically realize the exclusive use and sharing of transportation capacity according to the specific conditions of the city, time period, order, business system, etc. When dispatching an order, the transportation capacity selected is shared and locked according to the configuration dynamic decision. When the transportation capacity is shared and locked, an order pool that can accept orders is created for the transportation capacity during the shared lock period. The transportation capacity can provide services for valid orders in the order pool, which greatly reduces the probability of invalid orders occupying the transportation capacity, improves the order acceptance rate and utilization rate of the transportation capacity, and reduces the waiting time for users in the station to use the car.
[0209] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for sharing an online car-hailing service, characterized in that: include: In response to the target order information corresponding to the target online car-hailing order, obtaining the transport capacity information corresponding to each transport capacity in the transport capacity set, wherein the transport capacity information includes vehicle information and the number of shared resource locks; Determine a first candidate transport capacity in the transport capacity set according to the target order information and vehicle information corresponding to each transport capacity in the transport capacity set; Determining shared transport capacity that meets the transport capacity sharing condition among the first candidate transport capacities; comparing the number of shared resource locks of the shared transport capacity with a first threshold; When the number of shared resource locks corresponding to the shared transportation capacity is less than the first threshold, adding the target online car-hailing order to the order pool corresponding to the shared transportation capacity, and updating the number of shared resource locks corresponding to the shared transportation capacity; Performing order confirmation processing on the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool; When the order is confirmed successfully, the order pool corresponding to the shared transportation capacity and the number of shared resource locks corresponding to the shared transportation capacity are reset.
2. The online car-hailing sharing method according to claim 1, characterized in that: The determining of the shared transport capacity that meets the transport capacity sharing condition in the first candidate transport capacity includes: Determining a matching degree between the target online car-hailing order and the first candidate transportation capacity according to the target order information and the transportation capacity information corresponding to the first candidate transportation capacity; sorting the first candidate transport capacities according to the matching degree; In order of matching degree from high to low, it is determined one by one whether the first candidate capacities meet the capacity sharing condition, until the shared capacity that meets the capacity sharing condition is obtained from the first candidate capacities.
3. The online car-hailing sharing method according to claim 1, characterized in that: In the updating of the number of shared resource locks corresponding to the shared transportation capacity, the number of shared resource locks corresponding to the shared transportation capacity is increased by one.
4. The online car-hailing sharing method according to claim 3, characterized in that: The capacity information also includes configuration information; When the number of shared resource locks corresponding to the shared transportation capacity is less than the first threshold, the target online car-hailing order is added to the order pool corresponding to the shared transportation capacity, and after the number of shared resource locks corresponding to the shared transportation capacity is updated, the method further includes: Obtaining the order source of each order in the shared transport capacity order pool; Determining a target source of the target online car-hailing order according to the target order information; determining a target quantity of orders from the order source that match the target source; Determining a sharing mode of the shared transport capacity according to the configuration information of the shared transport capacity; When the sharing mode of the shared transport capacity is a global sharing mode, performing a global sharing confirmation process according to the target quantity; When the sharing mode of the shared transport capacity is a local sharing mode, a local sharing confirmation process is performed according to the target quantity.
5. The online car-hailing sharing method according to claim 4, characterized in that: When the sharing mode of the shared transport capacity is a global sharing mode, performing global sharing confirmation processing according to the target quantity includes: When the sharing mode is a global sharing mode, comparing the target quantity with a second threshold; When the target quantity is greater than the second threshold, the target online car-hailing order is removed from the order pool of the shared transportation capacity, and the number of shared resource locks of the shared transportation capacity is reduced by one; Determining, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity; In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition; Return to the step of comparing the number of shared resource locks of the shared transport capacity with the first threshold; When the target quantity is not greater than the second threshold, the step of confirming the order acceptance of the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool is entered.
6. The online car-hailing sharing method according to claim 4, characterized in that: When the sharing mode of the shared transport capacity is a local sharing mode, performing local sharing confirmation processing according to the target quantity includes: When the sharing mode is a local sharing mode, comparing the relationship between the number of shared resource locks of the shared transport capacity and 1, and the relationship between the number of targets and 1; When the number of shared resource locks of the shared transport capacity is greater than 1 and the target number is equal to 1, the target online car-hailing order is removed from the order pool of the shared transport capacity, and the number of shared resource locks of the shared transport capacity is reduced by one; Determining, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity; In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition; Return to the step of comparing the number of shared resource locks of the shared capacity with the first threshold.
7. The online car-hailing sharing method according to claim 6, characterized in that: The method further comprises: When the target number is greater than 1, comparing the target number with a third threshold; When the target quantity is greater than the third threshold, the target online car-hailing order is removed from the order pool of the shared transportation capacity, and the number of shared resource locks of the shared transportation capacity is reduced by one; Determining, from among the first candidate transport capacities, a second candidate transport capacity having a lower matching degree than the shared transport capacity; In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition; Return to the step of comparing the number of shared resource locks of the shared transport capacity with the first threshold; When the target quantity is not greater than the third threshold, the step of confirming the order acceptance of the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool is entered.
8. The online car-hailing sharing method according to claim 1, characterized in that: The order confirmation process for the shared transport capacity and the online car-hailing order in the shared transport capacity order pool includes: Obtaining order response time according to order information of online car-hailing orders in the shared transportation capacity order pool; Determine the pending order in the order pool of the shared transport capacity according to the order response time; Performing order confirmation processing on the pending orders; When the order is successfully confirmed, the shared transport capacity is confirmed; When the transport capacity is confirmed successfully, order confirmation success information is generated.
9. The online car-hailing sharing method according to claim 8, characterized in that: The order confirmation process for the shared transport capacity and the target online car-hailing order in the shared transport capacity order pool further includes: When order confirmation fails, the pending order is removed from the order pool of the shared transport capacity, the number of shared resource locks of the shared transport capacity is reduced by one, the order information of the online car-hailing order in the order pool of the shared transport capacity is returned, and the order response time is obtained; When the capacity confirmation fails, determining a second candidate capacity with a lower matching degree than the shared capacity from the first candidate capacity; In descending order of matching degree, determining whether the second candidate transport capacities meet the transport capacity sharing condition one by one, until a second candidate transport capacity that meets the transport capacity sharing condition is obtained from the second candidate transport capacities, and updating the shared transport capacity to the second candidate transport capacity that meets the transport capacity sharing condition; Return to the step of comparing the number of shared resource locks of the shared capacity with the first threshold.
10. An online car-hailing sharing system, used to execute the sharing method according to any one of claims 1 to 9, characterized in that: The system includes: A first acquisition module is used to obtain the transport capacity information corresponding to each transport capacity in the transport capacity set in response to the target order information corresponding to the target online car-hailing order, wherein the transport capacity information includes vehicle information and the number of shared resource locks; A first determination module, configured to determine a first candidate transport capacity in the transport capacity set according to the target order information and vehicle information corresponding to each transport capacity in the transport capacity set; A second determining module, configured to determine a shared transport capacity that meets a transport capacity sharing condition among the first candidate transport capacities; A first comparison module, configured to compare the number of shared resource locks of the shared transport capacity with a first threshold; A first updating module, configured to add the target online car-hailing order to an order pool corresponding to the shared transportation capacity and update the number of shared resource locks corresponding to the shared transportation capacity when the number of shared resource locks corresponding to the shared transportation capacity is less than the first threshold; An order receiving module, used for receiving and confirming the shared transport capacity and the online car-hailing orders in the shared transport capacity order pool; The reset module is used to reset the order pool corresponding to the shared transportation capacity and the number of shared resource locks corresponding to the shared transportation capacity when the order is confirmed successfully.
Citation Information
Patent Citations
Online car-hailing order processing method, device and equipment and readable storage medium
CN109816128A
Order allocation method and device, server and storage medium
CN111008792A