Method, device and equipment for subsidy strategy optimization and storage medium
By obtaining and analyzing historical data, we determine the supply gap and driver level, and formulate the optimal subsidy strategy, which solves the problem of failing to provide optimal subsidies under budget targets in existing technologies, and achieves the satisfaction of market travel needs and driver incentives. This ensures maximum efficiency and fairness of supply and demand.
Patent Information
- Application Number
- CN202311338081.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-16
- Publication Date
- 2024-10-18
AI Technical Summary
The existing technology fails to provide the optimal subsidy strategy under budget targets and does not consider the supply gap under passenger demand, resulting in the inability to effectively motivate drivers to take orders and meet market travel demand.
By obtaining historical order data, drivers' historical order completion data, income data, subsidy data and service data, the supply gap data in different regions and times is determined, and based on this data, driver levels and subsidy budget, the optimal subsidy strategy is determined. Includes recommended subsidy areas, timing, amounts and thresholds to ensure maximum supply and demand efficiency within budget.
With a clear subsidy budget, the optimal subsidy strategy can be provided based on the supply gap in the time period and the subsidy elasticity of the driver level, fully considering the scenario supply gap, ensuring maximization of supply and demand efficiency, and eliminating unfairness between different driver levels. .
Smart Images

Figure CN118798406A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data analysis technology, and in particular to a subsidy strategy optimization method, device, equipment and storage medium. Background Art
[0002] With the rapid development of the Internet, users' demand for online taxi travel is growing, and there is an imbalance in the supply and demand market between drivers and passengers, especially during the peak hours of commuting in cities. Considering passenger safety and driver management, on the one hand, drivers cannot expand madly without limit, and on the other hand, the growth of new compliant drivers has gradually reached a bottleneck. Therefore, how to motivate existing drivers to accept orders through subsidies has gradually become an important means for platforms to solve the problem of insufficient supply. Considering the subsidy budget, the platform needs to refine the driver's subsidy strategy to maximize supply and meet market travel needs.
[0003] The current technical solutions mainly focus on using unilateral data from the driver supply side, by statistically analyzing the distribution of drivers' orders, defining the threshold of subsidy conditions X through quantiles, and then determining the subsidy amount Y based on operational experience; or calculating the driver's income elasticity under different subsidy conditions through causal inference. However, this solution does not take into account the supply gap under passenger demand and cannot provide the optimal subsidy strategy under the budget target. Among them, the supply gap is the difference value calculated based on the driver supply and passenger demand in the scenario. Summary of the invention
[0004] The main purpose of the present invention is to provide a subsidy strategy optimization method, device, equipment and storage medium, aiming to solve the technical problem that the traditional subsidy strategy in the prior art does not take into account the supply gap under passenger demand and cannot achieve optimization under the budget target.
[0005] To achieve the above object, the present invention provides a subsidy strategy optimization method, which comprises the following steps:
[0006] Obtain historical order data and the driver's historical order completion data, historical income data, historical subsidy data, and historical service data;
[0007] Based on the historical order data, determine supply gap data in different regions and time periods;
[0008] Determine the driver level and order gain data under different subsidy thresholds and subsidy amounts based on the historical order completion data, the historical income data, the historical subsidy data, and the historical service data;
[0009] The optimal subsidy strategy is determined based on the supply gap data, the driver level, the order completion gain data and the subsidy budget.
[0010] Optionally, determining the optimal subsidy strategy based on the supply gap data, the driver level, the order completion gain data, and the subsidy budget includes:
[0011] Determine the recommended subsidy areas and recommended subsidy time based on the supply gap data;
[0012] Determine the constraint conditions of the subsidy amount according to the subsidy budget and the supply gap data;
[0013] Obtaining an optimization relationship between the driver level, the order completion gain data, and the total order completion gain, and determining the optimal total order completion gain in the recommended subsidy area and recommended subsidy time based on the driver level, the order completion gain data, the optimization relationship, and the constraint conditions;
[0014] Based on the optimal total gain of completed orders, the optimal subsidy threshold and optimal subsidy amount for each driver level in the recommended subsidy area and recommended subsidy time are determined, and the optimal subsidy strategy for each driver level in the recommended subsidy area and recommended subsidy time is generated.
[0015] Optionally, the constraint conditions of the subsidy amount include at least:
[0016] The total amount of subsidy is less than or equal to the subsidy budget;
[0017] The subsidy amount for each driver tier decreases from high to low according to the level of the driver tier;
[0018] During off-peak hours, the difference between the supply gap and the total gain of completed orders in the recommended subsidy area and the recommended subsidy time is minimized;
[0019] During peak hours, the total gain from completing orders is maximum.
[0020] Optionally, after determining the optimal subsidy strategy based on the supply gap data, the driver level and the order completion gain data, the method further includes:
[0021] Generate subsidy tasks based on the subsidy strategies of each driver level in the suggested subsidy area and suggested subsidy time;
[0022] Based on the suggested subsidy time, a notification time is determined, and subsidy information is notified to the driver based on the notification time.
[0023] Optionally, determining the driver level and order completion gain data under different subsidy thresholds and subsidy amounts based on the historical order completion data, the historical income data, the historical subsidy data, and the historical service data includes:
[0024] Inputting the historical order completion data, the historical income data, and the historical subsidy data into a preset driver level model to obtain the driver level;
[0025] Based on the driver level of the driver, a preset driver elasticity model corresponding to each driver level is obtained, and the historical order completion data, the historical subsidy data and the historical service data are input into the corresponding preset driver elasticity model to obtain the order completion gain data.
[0026] Optionally, obtaining historical order data includes:
[0027] Divide the target city based on the preset number of intervals to obtain multiple grid intervals;
[0028] Based on the grid intervals and the preset divided time periods, historical order data in different regions and times are obtained.
[0029] Optionally, determining supply gap data in different regions and at different times based on the historical order data includes:
[0030] Based on the current cycle type, obtaining a preset supply and demand relationship model corresponding to the current cycle type;
[0031] The historical order data in the different regions and times are input into the preset supply and demand relationship model to obtain the supply gap data in the different regions and times.
[0032] In addition, to achieve the above purpose, the present invention also proposes a subsidy strategy optimization device, the subsidy strategy optimization device comprising:
[0033] The acquisition module is used to obtain historical order data and the driver's historical order completion data, historical income data, historical subsidy data and historical service data;
[0034] An optimization module, for determining supply gap data in different regions and at different times based on the historical order data;
[0035] The optimization module is further used to determine the driver level and order completion gain data under different subsidy thresholds and subsidy amounts based on the historical order completion data, the historical income data, the historical subsidy data, and the historical service data;
[0036] The optimization module is also used to determine the optimal subsidy strategy based on the supply gap data, the driver level and the order completion gain data.
[0037] In addition, to achieve the above-mentioned purpose, the present invention also proposes a subsidy strategy optimization device, which includes: a memory, a processor, and a subsidy strategy optimization program stored on the memory and executable on the processor, and the subsidy strategy optimization program is configured to implement the steps of the subsidy strategy optimization method described above.
[0038] In addition, to achieve the above-mentioned purpose, the present invention also proposes a storage medium, on which a subsidy strategy optimization program is stored, and when the subsidy strategy optimization program is executed by a processor, the steps of the subsidy strategy optimization method described above are implemented.
[0039] In the present invention, by obtaining historical order data and the driver's historical order completion data, historical income data, historical subsidy data and historical service data, based on the historical order data, the supply gap data in different regions and times is determined, based on the historical order completion data, historical income data, historical subsidy data and historical service data, the driver level and the order completion gain data under different subsidy thresholds and subsidy amounts are determined, and based on the supply gap data, driver level, order completion gain data and subsidy budget, the optimal subsidy strategy is determined. Compared with the traditional subsidy strategy that does not consider the supply gap under passenger demand and cannot achieve optimization under the budget target, the present invention provides the optimal subsidy strategy based on the supply gap in the time period and the subsidy elasticity of each driver level under the condition of clarifying the subsidy budget, fully considering the supply gap in the scene, maximizing the supply and demand efficiency, and setting the constraint conditions of the subsidy amount at the same time, which can eliminate the unfairness between different driver levels. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 It is a structural diagram of a subsidy strategy optimization device for a hardware operating environment involved in an embodiment of the present invention;
[0041] Figure 2 A schematic diagram of the flow chart of the first embodiment of the subsidy strategy optimization method of the present invention;
[0042] Figure 3 It is a schematic diagram of the overall process of an embodiment of a subsidy strategy optimization method of the present invention;
[0043] Figure 4 A schematic diagram of the flow chart of the second embodiment of the subsidy strategy optimization method of the present invention;
[0044] Figure 5 A schematic diagram of a flow chart of a third embodiment of a subsidy strategy optimization method of the present invention;
[0045] Figure 6 A schematic diagram of a subsidy notice process according to an embodiment of a subsidy strategy optimization method of the present invention;
[0046] Figure 7This is a structural block diagram of the first embodiment of the subsidy strategy optimization device of the present invention.
[0047] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0049] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a subsidy strategy optimization device for a hardware operating environment according to an embodiment of the present invention.
[0050] like Figure 1 As shown, the subsidy strategy optimization device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0051] Those skilled in the art will understand that Figure 1 The structure shown in does not constitute a limitation on the subsidy strategy optimization device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0052] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a subsidy policy optimization program.
[0053] exist Figure 1In the subsidy policy optimization device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the subsidy policy optimization device of the present invention can be set in the subsidy policy optimization device, and the subsidy policy optimization device calls the subsidy policy optimization program stored in the memory 1005 through the processor 1001, and executes the subsidy policy optimization method provided by the embodiment of the present invention.
[0054] The embodiment of the present invention provides a subsidy strategy optimization method, referring to Figure 2 , Figure 2 The figure is a flow chart of a first embodiment of a subsidy strategy optimization method of the present invention.
[0055] In this embodiment, the subsidy strategy optimization method includes the following steps:
[0056] Step S10: Obtain historical order data and the driver's historical order completion data, historical income data, historical subsidy data and historical service data.
[0057] It should be noted that the executor of this embodiment may be a subsidy policy optimization device, on which a subsidy policy optimization program is run. By running the subsidy policy optimization program, the optimal subsidy strategy is determined. It may also be other terminal devices with computing capabilities. This embodiment does not impose any restrictions on this and takes the subsidy policy optimization device as an example for explanation.
[0058] Furthermore, the obtaining of historical order data includes: dividing the target city based on a preset number of intervals to obtain a plurality of grid intervals; and obtaining historical order data in different regions and times based on the grid intervals and preset divided time periods.
[0059] It is understandable that the preset number of intervals is a pre-set number of divisions, which is determined according to actual needs and is not limited in this embodiment. The target city is the city selected to implement the solution of this embodiment. According to the number of divisions, the entire city range can be divided into multiple intervals, namely grid intervals.
[0060] It should be understood that due to the sparse orders in some urban fringe areas, dispatching drivers at this time may cause supply waste. Therefore, in order to avoid this problem, demarcation rules for urban areas should be formulated in the early stage, and then open interfaces should be called to divide the order areas. Therefore, before collecting data, this embodiment will first associate the open interface with the longitude and latitude of the order location to divide the city into a preset number of grid intervals.
[0061] It should be noted that historical order data refers to order data in each time period of a day in these grid intervals during the historical period, including the number of historical call orders and the number of historical completed orders, that is, the number of call orders and the number of completed orders in each time period of a day in these grid intervals during the historical period, wherein call orders are orders called by platform users, and completed orders are orders completed by platform drivers. The preset time periods are pre-divided time periods, which can be divided evenly, for example: each hour is divided into a time period, in which case a day is divided into 24 time periods, or they can be divided unevenly, for example: according to the number of 3, 3, 2, 2, 2, 2, 3, 3, 4, a day is divided into 9 time periods, which are set according to actual needs, and this embodiment does not impose any restrictions on this.
[0062] In a specific implementation, after the grid intervals are divided, the time periods are divided according to the preset time periods, and each grid interval needs to obtain the number of call orders and the number of completed orders in each time period of the historical period.
[0063] It can be understood that historical order completion data refers to the driver's completed orders in the historical period, at least including the historical order completion time, that is, the time when the driver completed the order in the historical period; historical income data refers to the driver's income in the historical period; historical subsidy data refers to the driver's subsidy situation in the historical period, including the historical subsidy amount and historical subsidy participation, that is, the subsidy amount and subsidy participation of the driver in the historical period; historical service data refers to the driver's service situation in the historical period, including the historical service time, that is, the driver's service time in the historical period.
[0064] It should be understood that after dividing the grid intervals, the corresponding historical order completion data, historical income data, historical subsidy data and historical service data can also be obtained according to the grid intervals.
[0065] It should be noted that the drivers may be all drivers on the platform in the target city, or may be selected drivers, and this embodiment does not impose any restriction on this.
[0066] Step S20: Based on the historical order data, determine the supply gap data in different regions and time periods.
[0067] It can be understood that the supply gap data refers to the difference between the driver supply and the passenger demand, that is, the supply and demand Gap value. The supply gap data in different regions and times refers to the supply gap situation in each time period of each grid interval (if there is no supply gap, it is still represented in the form of supply gap data, and the value 0 or other suitable values can be used at this time, and this embodiment does not limit this).
[0068] It should be understood that this embodiment takes into account that the subsidy strategy is usually only implemented when there is a supply gap, and the driver-side strategy should be forward-looking and require advance notice and preparation of service time. Therefore, before determining the subsidy strategy, it is necessary to pre-calculate the supply and demand relationship. This embodiment uses a daily rolling estimate of the supply and demand relationship in the T+1 time period and region, that is, the supply gap.
[0069] Furthermore, the step S20 includes: based on the current cycle type, obtaining a preset supply and demand relationship model corresponding to the current cycle type; inputting the historical order data in the different regions and times into the preset supply and demand relationship model to obtain the supply gap data in the different regions and times.
[0070] It should be noted that when calculating the supply and demand relationship, a supply and demand relationship model can be used. The preset supply and demand relationship model is the supply and demand relationship model constructed in this implementation, for example: Gradient Boosting Random Forest Regressor model, which can be selected according to actual needs, and this embodiment does not impose any restrictions on this.
[0071] It is understandable that the cycle type can be midweek or weekend, as well as weekdays or weekends. Considering that travel demand usually has a more obvious cycle effect, for example, travel demand is larger during the week and relatively less during the weekend, different supply and demand relationship models can be used for separate forecasts for midweek and weekends.
[0072] In the specific implementation, it is judged whether it is midweek or weekend, so as to determine the corresponding preset supply and demand relationship model, input the historical call order quantity and the historical completed order quantity in each time period of each grid interval into the preset supply and demand relationship model, and predict the supply gap.
[0073] It should be understood that this embodiment will store the supply gap data obtained in different regions and times so that the data can be directly obtained during subsequent calculations.
[0074] Step S30: Based on the historical order completion data, the historical income data, the historical subsidy data and the historical service data, determine the driver level and the order completion gain data under different subsidy thresholds and subsidy amounts.
[0075] It should be noted that, due to differences in the service time of the drivers themselves, this embodiment divides the drivers into levels to obtain the driver level of each driver. The driver level can be divided into multiple levels, for example: 5. The specific division method and number of divisions can be divided according to actual needs, and this embodiment does not limit this.
[0076] It can be understood that the order completion gain data under different subsidy thresholds and subsidy amounts refers to the changing relationship between the order completion gain under different subsidy thresholds (X) and subsidy amounts (Y), where the subsidy threshold refers to the number of orders that the driver needs to complete in order to successfully obtain the subsidy, and the subsidy amount refers to the subsidy that the driver can get after reaching the subsidy threshold.
[0077] In the specific implementation, the level of each driver is determined based on the driver's historical order completion data, historical income data, historical subsidy data, and historical service data, as well as the changing relationship between order completion gains under different subsidy thresholds and subsidy amounts.
[0078] Furthermore, the step S30 includes: inputting the historical order completion data, the historical income data and the historical subsidy data into a preset driver level model to obtain the driver level; based on the driver level of the driver, obtaining a preset driver elasticity model corresponding to each driver level, inputting the historical order completion data, the historical subsidy data and the historical service data into the corresponding preset driver elasticity model to obtain the order completion gain data.
[0079] It should be understood that the driver level is mainly used to reflect the differences in service time between different drivers. This embodiment can calculate the driver level according to a preset driver level model (i.e., a preset driver level model). Among them, the preset driver level model can use the K-means algorithm, based on sample order completion data, sample income data, and subsidy data as model input, and M level categories / levels as model output for training, thereby obtaining a trained driver level model. When determining the level of each driver, the driver's historical order completion data, income data, and subsidy data can be input into the obtained driver level model to obtain the level of each driver.
[0080] It should be noted that, considering that the relationship between drivers has a network effect and does not have personalized conditions, but the service time of drivers themselves varies, a strategy is set to divide drivers into different levels. In addition to the differences in service time of drivers, this embodiment also considers the driver's driving habits, sensitivity to subsidies, and income expectations to determine different levels.
[0081] It can be understood that the preset driver elasticity model, that is, the pre-built driver elasticity model, can be implemented using the CausalForest algorithm. It can be trained through the CausalForest algorithm based on the driver's sample completion data, sample subsidy data, and sample service data. The M driver levels are trained and output separately, and finally M driver elasticity models are obtained. Each driver elasticity model can be interpreted as the changing relationship between the completion gain of drivers at this level under different subsidy thresholds (X) and subsidy amounts (Y).
[0082] In the specific implementation, the historical order completion data, historical income data and historical subsidy data are input into the preset driver level model to obtain the driver level corresponding to each driver. According to different driver levels, different preset driver elasticity models need to be adopted. The historical order completion data, historical subsidy data and historical service data are input into the corresponding preset driver elasticity model to finally obtain the changing relationship between the order completion gain of each driver under different subsidy thresholds (X) and subsidy amounts (Y).
[0083] It should be understood that in order to ensure the accuracy and timeliness of the subsidy results, the preset driver elasticity model can be routinely updated at a weekly granularity. The platform's data feedback mechanism can be used to provide the preset driver elasticity model with the latest data to update the model.
[0084] Step S40: Determine the optimal subsidy strategy based on the supply gap data, the driver level, the order completion gain data and the subsidy budget.
[0085] It should be noted that the optimal subsidy strategy is the optimal subsidy strategy ultimately obtained, which consists of the optimal subsidy amount and the optimal subsidy threshold. The subsidy budget is the budget for subsidies from external businesses.
[0086] In the specific implementation, based on the supply and demand relationship in different time periods and regions within the city, the level characteristics of drivers and the subsidy elasticity of drivers at each level, and under the business budget target, the optimal subsidy strategy for drivers at each level is output.
[0087] like Figure 3 The overall process diagram shown in the figure first collects relevant historical data, predicts the supply and demand relationship, driver level and driver subsidy elasticity based on the collected historical data, combines the subsidy time and regional recommendations of the supply and demand relationship, and the budget input of the business party, determines the optimal calculation output subsidy strategy, and applies it to the platform.
[0088] In this embodiment, by obtaining historical order data and the driver's historical order completion data, historical income data, historical subsidy data and historical service data, the supply gap data in different regions and times is determined based on the historical order data, the driver level and the order completion gain data under different subsidy thresholds and subsidy amounts are determined based on the historical order completion data, historical income data, historical subsidy data and historical service data, and the optimal subsidy strategy is determined based on the supply gap data, driver level, order completion gain data and subsidy budget. Compared with the traditional subsidy strategy that does not consider the supply gap under passenger demand and cannot achieve optimization under the budget target, this embodiment provides the optimal subsidy strategy based on the supply gap in the time period and the subsidy elasticity of each driver level under the condition of clarifying the subsidy budget, fully considering the supply gap of the scene, and maximizing the supply and demand efficiency.
[0089] Reference Figure 4 , Figure 4 The figure is a flow chart of a second embodiment of a subsidy strategy optimization method of the present invention.
[0090] Based on the above embodiment, step S40 includes:
[0091] Step S401: Determine the recommended subsidy area and recommended subsidy time according to the supply gap data.
[0092] It should be noted that the recommended subsidy area refers to a relatively suitable subsidy area selected, and the subsidy area is the area where subsidies need to be set, which is usually an area where a supply gap occurs. It can be a grid area or a combination of multiple grid areas. This embodiment does not impose any restrictions on this. The recommended subsidy time refers to a relatively suitable subsidy time period selected, and the subsidy time period is the time period where subsidies need to be set, which is usually a time period where a supply gap occurs. You can select one within the preset divided time period, or select multiple to combine, and this embodiment does not impose any restrictions on this. The number of subsidy areas can be determined according to actual conditions, and this embodiment does not impose any restrictions on this. Each recommended subsidy area corresponds to a recommended subsidy time.
[0093] In the specific implementation, the appropriate subsidy areas and their corresponding subsidy times are screened out based on the supply gap data in different regions and times.
[0094] Step S402: Determine the constraint conditions of the subsidy amount according to the subsidy budget and the supply gap data.
[0095] It can be understood that the constraints on the subsidy amount include at least: the total amount of the subsidy is less than or equal to the subsidy budget; the subsidy amount for each driver level decreases in order from high to low according to the level of the driver level; during non-peak hours, the difference between the supply gap and the total gain of completed orders in the recommended subsidy area and the recommended subsidy time is minimized; during peak hours, the total gain of completed orders is maximized.
[0096] It should be understood that the constraint conditions of the subsidy amount are the conditions that the subsidy amount needs to meet when setting the subsidy strategy. In this embodiment, it is hoped that within the budget, passenger needs can be met as much as possible while eliminating unfairness between drivers of different levels.
[0097] It should be noted that the total amount of subsidy is the total amount of subsidy issued to the driver. The subsidy amount cannot be set arbitrarily and the overall subsidy budget needs to be considered. Therefore, the total amount of subsidy cannot exceed the subsidy budget, that is, the total amount of subsidy set in this embodiment is less than or equal to the subsidy budget.
[0098] It is understandable that the drivers have different specific levels, and the levels can be divided according to the level. For example, the longer the service time is the higher level. The specific method of determining the level is not limited in this embodiment. In order to ensure fairness among drivers of different levels, a higher subsidy threshold and a corresponding subsidy amount will be set for drivers with higher levels. Correspondingly, a lower subsidy threshold and a corresponding subsidy amount will be set for drivers with lower levels. In other words, the subsidy threshold set for drivers with higher levels is usually greater than the subsidy threshold set for drivers with lower levels, and the subsidy amount set for drivers with higher levels is usually greater than the subsidy amount set for drivers with lower levels. Therefore, this embodiment sets the subsidy amount for each driver level to decrease in order from high to low according to the level of the driver level.
[0099] It should be understood that the total gain from completing orders refers to the sum of the gains from subsidizing each driver to complete orders. During non-peak hours, i.e., non-peak taxi-hailing hours, there may be a shortage of supply or an oversupply. During peak hours, i.e., peak taxi-hailing hours, there is usually a serious shortage of supply and no oversupply. At this time, corresponding conditions need to be set separately. The peak hours and non-peak hours can be determined based on gap data or actual experience, and this embodiment does not impose any restrictions on this.
[0100] During off-peak hours, the difference between the supply gap and the total gain of completed orders in the recommended subsidy area and the recommended subsidy time is minimized, that is:
[0101] minmize_({b, g})(|ΔDemand-ΔSupply|)
[0102] In the formula, ΔDemand represents the supply gap data, ΔSupply represents the total gain of completed orders, b represents the subsidy amount, and g represents the subsidy threshold. At this time, the constraint condition of the subsidy amount during non-peak hours can be expressed as:
[0103]
[0104] In the formula, ΔDemand represents the supply gap data, ΔSupply represents the total gain of completed orders, b represents the subsidy amount, g represents the subsidy threshold, Budget represents the subsidy budget, M represents the number of driver levels, N represents the number of drivers at each driver level, and N i represents the number of drivers in the i-th driver level, represents the total number of drivers, b i represents the subsidy amount of the ith level, g i represents the subsidy threshold for the i-th driver level, X {i,j} represents the characteristics of the jth driver in the i-th driver level, r(b i , gi , X {i,j} ) indicates that the jth driver at the i-th driver level receives the subsidy amount b i and subsidy threshold g i The amount of subsidy to be distributed.
[0105] During peak hours, it is necessary to maximize the supply ΔSupply within the budget, that is, to maximize the total gain of completing the order:
[0106] maxmize_({b,g})(ΔSupply)
[0107] In the formula, ΔSupply represents the total gain of completing the order. At this time, the constraint condition of the subsidy amount during the peak period can be expressed as:
[0108]
[0109] In the formula, ΔSupply represents the total gain of completed orders, b represents the subsidy amount, g represents the subsidy threshold, Budget represents the subsidy budget, M represents the number of driver levels, N represents the number of drivers at each driver level, and N i represents the number of drivers in the i-th driver level, represents the total number of drivers, b i represents the subsidy amount of the ith level, g i represents the subsidy threshold for the i-th driver level, X {i,j} represents the characteristics of the jth driver in the i-th driver level, r(b i , g i , X {i,j} ) indicates that the jth driver at the i-th driver level receives the subsidy amount b i and subsidy threshold g i The amount of subsidy to be distributed.
[0110] Step S403: Obtain the optimization relationship between the driver level, the order completion gain data and the total order completion gain, and determine the optimal total order completion gain in the recommended subsidy area and recommended subsidy time based on the driver level, the order completion gain data, the optimization relationship and the constraint conditions.
[0111] It should be noted that the optimization relationship between the driver level, the order completion gain data and the total order completion gain is the optimization function used in this embodiment:
[0112]
[0113] In the formula, ΔSupply represents the total gain of completing the order, M represents the number of driver levels, N represents the number of drivers at each driver level, and N i represents the number of drivers in the i-th driver level, represents the total number of drivers, b i represents the subsidy amount of the ith level, g i represents the subsidy threshold for the i-th driver level, X {i,j} represents the characteristics of the jth driver in the i-th driver level, f(b i , g i , X {i,j} ) indicates that the jth driver at the i-th driver level receives the subsidy amount b i and subsidy threshold g i The completed order gain.
[0114] It is understandable that it is necessary to solve the optimization function under the constraints to obtain the subsidy threshold g and subsidy amount b corresponding to each driver level. i , that is, the subsidy strategy setting is to give Y yuan subsidy to each driver level for completing X orders.
[0115] It should be understood that the solution of the optimization function can be observed to have the following characteristics: i , g i ) is an integer solution, b i The range is greater than 0 and less than the average order amount * platform commission ratio * g i , g i The range is greater than 0 and less than the maximum number of completed orders for drivers at the corresponding level. Each driver level sets a (b i , g i ) combinations, each (b i , g i ) combination has its budget cost and benefit, which constitutes a typical grouping knapsack problem, so it can be solved by dynamic programming. Therefore, the recursive formula of dynamic programming is used:
[0116] ΔSupply[k][v]
[0117] =max{ΔSupply[k-1][v], ΔSupply[k-1][v-cost[j]]
[0118] +benefit[j]
[0119] In the formula, k represents the first k driver levels, and v represents the budget. Through recursion, we can obtain ΔSupply[M][Budget] and the corresponding solution, that is, we can obtain ΔSupply under the constraints and the subsidy threshold and subsidy amount of each driver level. The algorithm here can use Google's combinatorial optimization tool OR-tools.
[0120] Step S404: Based on the optimal total gain of completed orders, determine the optimal subsidy threshold and optimal subsidy amount for each driver level in the recommended subsidy area and recommended subsidy time, and generate the optimal subsidy strategy for each driver level in the recommended subsidy area and recommended subsidy time.
[0121] It should be noted that the optimal subsidy threshold and the optimal subsidy amount are the optimal subsidy threshold and its corresponding subsidy amount calculated for each driver level under the recommended subsidy area and recommended subsidy time, thereby generating the optimal subsidy strategy corresponding to each driver level (i.e., Y subsidy amount for completing X orders).
[0122] In this embodiment, according to the supply gap data, the recommended subsidy area and the recommended subsidy time are determined, according to the subsidy budget and the supply gap data, the constraint conditions of the subsidy amount are determined, the optimization relationship between the driver level, the order completion gain data and the total order completion gain is obtained, and the optimal order completion total gain under the recommended subsidy area and the recommended subsidy time is determined based on the driver level, the order completion gain data, the optimization relationship and the constraint conditions. Based on the optimal order completion total gain, the optimal subsidy threshold and the optimal subsidy amount of each driver level under the recommended subsidy area and the recommended subsidy time are determined, and the optimal subsidy strategy of each driver level under the recommended subsidy area and the recommended subsidy time is generated. In this embodiment, the optimal subsidy strategy is provided according to the supply gap of the time period area and the subsidy elasticity of each driver level under the condition of clarifying the subsidy budget, and the supply gap of the scene is fully considered to maximize the supply and demand efficiency. The optimization algorithm model is adopted, which can reduce the subjective deviation compared with direct manual formulation, and the constraint conditions of the subsidy amount are set, which can eliminate the unfairness of drivers between levels. Compared with the elastic model under causal inference alone, it can maximize the benefits under a specific budget while avoiding the unfairness caused by the individualization of drivers. The whole solution is more scientific and flexible.
[0123] Reference Figure 5 , Figure 5 It is a flow chart of a third embodiment of a subsidy strategy optimization method of the present invention.
[0124] Based on the first embodiment above, after step S40, the following further steps are included:
[0125] Step S501: Generate a subsidy task based on the subsidy strategy of each driver level in the recommended subsidy area and recommended subsidy time.
[0126] It should be noted that according to the optimal subsidy strategy, subsidy tasks will be automatically generated in the corresponding recommended subsidy areas and recommended subsidy times. Subsidy tasks are tasks that drivers can complete based on the optimal subsidy strategy, and they can get the corresponding subsidy amount after reaching the subsidy threshold.
[0127] In the specific implementation, the subsidy task is first configured according to the optimal subsidy strategy, and then the configuration information of the business subsidy task is notified, and the corresponding subsidy task is generated in the recommended subsidy area and recommended subsidy time.
[0128] Step S502: Determine a notification time based on the suggested subsidy time, and notify the driver of subsidy information based on the notification time.
[0129] It can be understood that the notice time, that is, the time for notifying the driver of the subsidy task, is usually notified to the driver before the subsidy task is released. Therefore, the notice time is usually earlier than the recommended subsidy time corresponding to the subsidy task, which can be 30 minutes in advance, 1 hour in advance, or 2 hours in advance. This embodiment does not impose any restrictions on this and can be set according to actual needs to reach the driver with the subsidy information at the set notice time.
[0130] It should be understood that the subsidy information is the specific information of the subsidy task, for example, a subsidy amount of Y is given for completing X orders, and the specific content can be set according to actual needs, and this embodiment does not limit this. The notice can be in the form of a text message, and this embodiment does not limit this.
[0131] like Figure 6 As shown in the subsidy notification process diagram, the supply and demand relationship model routinely outputs T+1 supply and demand estimates for different time periods and regions. When there is a supply gap, the business personnel are notified to configure the subsidy budget, and the subsidy strategy for drivers at each level is output based on the driver level model and driver elasticity model information. The business personnel are notified to verify the subsidy information, and finally the subsidy information is notified to the drivers through SMS or Push.
[0132] In this embodiment, based on the subsidy strategy of each driver level in the recommended subsidy area and recommended subsidy time, a subsidy task is generated, based on the recommended subsidy time, a notice time is determined, and subsidy information is notified to the driver based on the notice time. When there is a supply gap, the business personnel are notified to configure the subsidy budget, and the subsidy strategy of each level of drivers is output according to the driver level model and driver elasticity model information, and the business is notified to verify the subsidy information. Finally, the driver is notified of subsidy information through SMS or Push, which can attract drivers to serve in specific scenarios in advance.
[0133] In addition, an embodiment of the present invention further proposes a storage medium, on which a subsidy policy optimization program is stored. When the subsidy policy optimization program is executed by a processor, the steps of the subsidy policy optimization method described above are implemented.
[0134] Reference Figure 7 , Figure 7 This is a structural block diagram of the first embodiment of the subsidy strategy optimization device of the present invention.
[0135] like Figure 7 As shown, the subsidy strategy optimization device proposed in the embodiment of the present invention includes:
[0136] The acquisition module 10 is used to acquire historical order data and the driver's historical order completion data, historical income data, historical subsidy data and historical service data.
[0137] The optimization module 20 is used to determine the supply gap data in different regions and time periods based on the historical order data.
[0138] The optimization module 20 is further used to determine the driver level and the order completion gain data under different subsidy thresholds and subsidy amounts based on the historical order completion data, the historical income data, the historical subsidy data and the historical service data.
[0139] The optimization module 20 is further used to determine the optimal subsidy strategy based on the supply gap data, the driver level and the order completion gain data.
[0140] In this embodiment, by obtaining historical order data and the driver's historical order completion data, historical income data, historical subsidy data and historical service data, the supply gap data in different regions and times is determined based on the historical order data, the driver level and the order completion gain data under different subsidy thresholds and subsidy amounts are determined based on the historical order completion data, historical income data, historical subsidy data and historical service data, and the optimal subsidy strategy is determined based on the supply gap data, driver level, order completion gain data and subsidy budget. Compared with the traditional subsidy strategy that does not consider the supply gap under passenger demand and cannot achieve optimization under the budget target, this embodiment provides the optimal subsidy strategy based on the supply gap in the time period and the subsidy elasticity of each driver level under the condition of clarifying the subsidy budget, fully considering the supply gap of the scene, and maximizing the supply and demand efficiency.
[0141] In one embodiment, the optimization module 20 is further used to determine a recommended subsidy area and a recommended subsidy time according to the supply gap data;
[0142] Determine the constraint conditions of the subsidy amount according to the subsidy budget and the supply gap data;
[0143] Obtaining an optimization relationship between the driver level, the order completion gain data, and the total order completion gain, and determining the optimal total order completion gain in the recommended subsidy area and recommended subsidy time based on the driver level, the order completion gain data, the optimization relationship, and the constraint conditions;
[0144] Based on the optimal total gain of completed orders, determine the optimal subsidy threshold and optimal subsidy amount for each driver level in the recommended subsidy area and recommended subsidy time, and generate the optimal subsidy strategy for each driver level in the recommended subsidy area and recommended subsidy time;
[0145] The total amount of the subsidy is less than or equal to the subsidy budget;
[0146] The subsidy amount for each driver tier decreases from high to low according to the level of the driver tier;
[0147] During off-peak hours, the difference between the supply gap and the total gain of completed orders in the recommended subsidy area and the recommended subsidy time is minimized;
[0148] During peak hours, the total gain from completing orders is maximum.
[0149] In one embodiment, the optimization module 20 is further used to generate a subsidy task based on the subsidy strategy of each driver level in the recommended subsidy area and the recommended subsidy time;
[0150] Based on the suggested subsidy time, a notification time is determined, and subsidy information is notified to the driver based on the notification time.
[0151] In one embodiment, the optimization module 20 is further used to input the historical order completion data, the historical income data and the historical subsidy data into a preset driver level model to obtain the driver level;
[0152] Based on the driver level of the driver, a preset driver elasticity model corresponding to each driver level is obtained, and the historical order completion data, the historical subsidy data and the historical service data are input into the corresponding preset driver elasticity model to obtain the order completion gain data.
[0153] In one embodiment, the acquisition module 10 is further used to divide the target city based on a preset number of intervals to obtain a plurality of grid intervals;
[0154] Based on the grid intervals and the preset divided time periods, historical order data in different regions and times are obtained.
[0155] In one embodiment, the optimization module 20 is further configured to obtain a preset supply-demand relationship model corresponding to the current cycle type based on the current cycle type;
[0156] The historical order data in the different regions and times are input into the preset supply and demand relationship model to obtain the supply gap data in the different regions and times.
[0157] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.
[0158] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.
[0159] In addition, for technical details not fully described in this embodiment, reference can be made to the subsidy strategy optimization method provided in any embodiment of the present invention, and will not be repeated here.
[0160] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0161] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0162] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0163] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A subsidy strategy optimization method, characterized in that: The subsidy strategy optimization method comprises: Obtain historical order data and the driver's historical order completion data, historical income data, historical subsidy data, and historical service data; Based on the historical order data, determine supply gap data in different regions and time periods; Determine the driver level and order gain data under different subsidy thresholds and subsidy amounts based on the historical order completion data, the historical income data, the historical subsidy data, and the historical service data; The optimal subsidy strategy is determined based on the supply gap data, the driver level, the order completion gain data and the subsidy budget.
2. The method according to claim 1, characterized in that The determining of the optimal subsidy strategy based on the supply gap data, the driver level, the order completion gain data and the subsidy budget includes: Determine the recommended subsidy areas and recommended subsidy time based on the supply gap data; Determine the constraint conditions of the subsidy amount according to the subsidy budget and the supply gap data; Obtaining an optimization relationship between the driver level, the order completion gain data, and the total order completion gain, and determining the optimal total order completion gain in the recommended subsidy area and recommended subsidy time based on the driver level, the order completion gain data, the optimization relationship, and the constraint conditions; Based on the optimal total gain of completed orders, the optimal subsidy threshold and optimal subsidy amount for each driver level in the recommended subsidy area and recommended subsidy time are determined, and the optimal subsidy strategy for each driver level in the recommended subsidy area and recommended subsidy time is generated.
3. The method according to claim 2, characterized in that The constraints on the subsidy amount include at least: The total amount of subsidy is less than or equal to the subsidy budget; The subsidy amount for each driver tier decreases from high to low according to the level of the driver tier; During off-peak hours, the difference between the supply gap and the total gain of completed orders in the recommended subsidy area and the recommended subsidy time is minimized; During peak hours, the total gain from completing orders is maximum.
4. The method according to claim 2, characterized in that After determining the optimal subsidy strategy based on the supply gap data, the driver level and the order completion gain data, the method further includes: Generate subsidy tasks based on the subsidy strategies of each driver level in the suggested subsidy area and suggested subsidy time; Based on the suggested subsidy time, a notification time is determined, and subsidy information is notified to the driver based on the notification time.
5. The method according to claim 1, characterized in that The determining of the driver level and order completion gain data under different subsidy thresholds and subsidy amounts based on the historical order completion data, the historical income data, the historical subsidy data, and the historical service data includes: Inputting the historical order completion data, the historical income data, and the historical subsidy data into a preset driver level model to obtain the driver level; Based on the driver level of the driver, a preset driver elasticity model corresponding to each driver level is obtained, and the historical order completion data, the historical subsidy data and the historical service data are input into the corresponding preset driver elasticity model to obtain the order completion gain data.
6. The method according to any one of claims 1 to 5, characterized in that: The obtaining of historical order data includes: Divide the target city based on the preset number of intervals to obtain multiple grid intervals; Based on the grid intervals and the preset divided time periods, historical order data in different regions and times are obtained.
7. The method according to claim 6, characterized in that Determining supply gap data in different regions and at different times based on the historical order data includes: Based on the current cycle type, obtaining a preset supply and demand relationship model corresponding to the current cycle type; The historical order data in the different regions and times are input into the preset supply and demand relationship model to obtain the supply gap data in the different regions and times.
8. A subsidy strategy optimization device, characterized in that: The subsidy strategy optimization device comprises: The acquisition module is used to obtain historical order data and the driver's historical order completion data, historical income data, historical subsidy data and historical service data; An optimization module, for determining supply gap data in different regions and times based on the historical order data; The optimization module is further used to determine the driver level and order completion gain data under different subsidy thresholds and subsidy amounts based on the historical order completion data, the historical income data, the historical subsidy data, and the historical service data; The optimization module is also used to determine the optimal subsidy strategy based on the supply gap data, the driver level and the order completion gain data.
9. A subsidy strategy optimization device, characterized in that: The device comprises: a memory, a processor, and a subsidy strategy optimization program stored in the memory and executable on the processor, wherein the subsidy strategy optimization program is configured to implement the steps of the subsidy strategy optimization method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a subsidy policy optimization program, which, when executed by a processor, implements the steps of the subsidy policy optimization method according to any one of claims 1 to 7.
