Order elimination processing method and system

The machine learning model is used to estimate the risk of order cancellation and trigger the intervention process, solving the problem of users unilaterally canceling orders, achieving effective utilization of resources and improving user experience.

CN118822652APending Publication Date: 2024-10-22BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310410486.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively solve the problem of users unilaterally canceling orders, resulting in a waste of resources and poor user experience.

Method used

Adopt a cancellation risk prediction method based on machine learning models. By obtaining the characteristic data of service orders, use the trained risk prediction model to predict risks, and trigger the intervention process based on the prediction results to reduce the cancellation rate.

Benefits of technology

It effectively reduces the cancellation rate, improves user experience, and improves service reliability and user satisfaction by accurately predicting cancellation risks and intervening.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118822652A_ABST
    Figure CN118822652A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an order elimination processing method and system. According to the system, the order elimination risk is accurately estimated based on the machine learning model, so that the target user, such as a driver with relatively high order elimination possibility, can be intervened. Therefore, the elimination rate can be effectively reduced, and the user experience is improved. According to the method and the device, related information collection, storage, use, processing, transmission, provision, presentation and the like all accord with regulations of related laws and regulations, privacy of other people is not invaded, and public order and good customs are not violated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information technology, and in particular to a cancellation order processing method and system. Background Art

[0002] At present, some businesses have the phenomenon of users unilaterally canceling orders, which not only wastes platform resources, but also has a negative impact on other users who participate in the order. For example, in the designated driver business, the driver may cancel the order that has been dispatched, which not only wastes a lot of platform dispatch information resources, but also causes passengers to have a poor service experience.

[0003] Therefore, it is currently hoped to provide a method that can effectively rectify the phenomenon of cancellation of orders. Summary of the invention

[0004] The purpose of this application is to provide a method that can effectively rectify the phenomenon of cancellation of orders.

[0005] A first aspect of an embodiment of the present specification provides a method for processing order cancellations, including: obtaining data on one or more characteristics of a first service order; using a trained risk prediction model to process the data on the one or more characteristics to obtain a first risk prediction result of the first party of the first service order canceling the first service order; determining whether the first risk prediction result meets a preset condition; and triggering an intervention process in response to determining that the first risk prediction result meets the preset condition.

[0006] The second aspect of the embodiments of this specification provides a cancellation order processing system, including an acquisition module, a prediction module and an intervention module. The acquisition module is used to obtain data of one or more characteristics of a first service order. The prediction module is used to process the data of the one or more characteristics using a trained risk prediction model to obtain a first risk prediction result of the first party of the first service order canceling the first service order. The intervention module is used to: determine whether the first risk prediction result meets a preset condition; in response to determining that the first risk prediction result meets the preset condition, trigger an intervention process.

[0007] The third aspect of the embodiments of this specification provides a cancellation order processing device, including a processor and a storage device, wherein the storage device is used to store instructions. When the processor executes the instructions, the cancellation order processing method described in the first aspect of the embodiments of this specification is implemented.

[0008] The fourth aspect of the embodiments of this specification provides a computer-readable storage medium, including instructions for order cancellation processing. When the instructions for order cancellation processing are executed on a computer device, the order cancellation processing method described in the first aspect of the embodiments of this specification is implemented.

[0009] The embodiments of this specification provide a method and system for processing cancellation orders. The system accurately estimates the risk of cancellation orders based on a machine learning model, and then intervenes on target users (for example, drivers with a high probability of cancellation orders). In this way, the cancellation rate can be effectively reduced, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0011] Figure 1 is a schematic diagram of an application scenario of a service system according to some embodiments of this specification;

[0012] Figure 2 is an exemplary module diagram of a cancellation order processing system according to some embodiments of this specification;

[0013] Figure 3 is an exemplary flow chart of a cancellation order processing method according to some embodiments of this specification;

[0014] Figure 4 is an exemplary flow chart of determining a probability threshold according to some embodiments of this specification;

[0015] Figure 5 This is an exemplary flowchart of model training according to some embodiments of this specification. DETAILED DESCRIPTION

[0016] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0017] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

[0018] As shown in this specification, unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.

[0019] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.

[0020] The technical solutions of the embodiments of this specification, if they involve the processing of personal information, will be processed on the premise of having a legal basis (for example, obtaining the consent of the subject of personal information, or being necessary for the performance of a contract, etc.), and will only be processed within the prescribed or agreed scope. The user's refusal to process personal information other than the necessary information required for basic functions will not affect the user's use of basic functions. The collection, storage, use, processing, transmission, provision and presentation of relevant information shall comply with the provisions of relevant laws and regulations, do not infringe on the privacy of others, and do not violate public order and good customs.

[0021] In this specification, the terms "user end" and "user" can be used interchangeably without causing confusion.

[0022] Figure 1 Schematic diagram of application scenarios of the service system according to some embodiments of this specification. Figure 1 As shown, the system 100 may include a user end 110 , a server end 120 , a network 130 , and a storage device 140 .

[0023] The user end 110 can communicate with the service end 120 (e.g., via the network 130) to obtain services. The services may include order-based services, such as taxi services, chauffeur services, towing services, delivery services, moving services, recycling services, maintenance services, cleaning services, etc.

[0024] In some embodiments, the service requester may send a service request to the server 120 through the user terminal 110, and receive a service response returned by the server 120. For example, a passenger may initiate a taxi (or designated driver) request through the user terminal 110, and receive a service response returned by the server 120 carrying order information (e.g., vehicle license plate, driver information, service fee, pick-up location).

[0025] In some embodiments, the service provider may accept the service order initiated by the service requester through the user terminal 110. For example, the user terminal 110 of the service provider may receive an order inquiry sent by the service terminal 120, that is, asking the service provider whether it is willing to accept a certain service order. In addition, the user terminal 110 of the service provider may display part of the order information of the service order (for example, service fee, number of pick-up drivers, pick-up location). Furthermore, the service provider may return an order acceptance response to the service terminal 120 through the user terminal 110, that is, confirm whether to accept the service order. For another example, the user terminal 110 of the service provider may obtain order information of multiple service orders to be accepted from the service terminal 120 (for example, service fee, number of pick-up drivers, pick-up location). Furthermore, the service provider may choose to accept a certain service order through the user terminal 110, and accordingly, the user terminal 110 may send the order acceptance choice of the service provider to the service terminal 120 so that the service terminal 120 updates the order status (for example, from never accepting an order to accepting an order).

[0026] In some embodiments, when a service provider accepts a service order initiated by a user (service requester) through the user terminal 110, the user terminal 110 of the service requester can receive a corresponding service response from the service terminal 120. For example, when driver A accepts a service order initiated by passenger B, the user terminal 110 of passenger B can receive a service response carrying order information (e.g., vehicle license plate, driver information, service fee, pick-up location) from the service terminal 120. In some embodiments, when a service provider accepts a service order initiated by a user (service requester), the service provider can obtain more order information from the service terminal 120 through the user terminal 110 in order to complete the service order. For example, when driver A accepts a service order initiated by passenger B, driver A can obtain passenger B's virtual phone number from the service terminal 120 through the user terminal 110 in order to contact passenger B.

[0027] In some embodiments, the user terminal 110 of the service provider may receive a dispatch notification sent by the service terminal 120, that is, notifying the service provider that a service order has been assigned (dispatched). In addition, the user terminal 110 of the service provider may display order information. For example, when driver A receives a notification that he has been assigned a service order of passenger B, driver A's user terminal 110 may display order information such as passenger B's virtual phone number, service fee, and pick-up location.

[0028] In some embodiments, multiple parties involved in the service order can keep in touch through their respective user terminals 110. For example, the driver and the passenger can send messages to each other through their respective user terminals 110. For another example, the driver can call the passenger's virtual phone number provided by the service terminal 120.

[0029] The user has the right to cancel the service order in which he / she participates. For example, the passenger can cancel the current service order at any time through the user terminal 110 before the driver accepts the order or before the driver arrives at the pick-up location. For another example, the driver can cancel the current service order at any time through the user terminal 110 before arriving at the pick-up location.

[0030] In some embodiments, the user terminal 110 may include one or more of a car computer (such as 110 - 1 ), a smart phone (such as 110 - 2 ), a wearable device (not shown), a tablet computer (not shown), etc.

[0031] The service end 120 can provide services to the user end 110, which is also called a "service platform" or "platform". As mentioned above, the services can include order-based services, such as taxi services, chauffeur services, towing services, delivery services, moving services, recycling services, maintenance services, cleaning services, etc.

[0032] In some embodiments, the server 120 may receive a service request from the user terminal 110 and return a service response to the user terminal 110. For example, the server 120 may receive a taxi (or designated driver) request from the passenger's user terminal 110 and return a service response carrying order information (e.g., vehicle license plate, driver information, service fee, pick-up location) to the passenger's user terminal 110.

[0033] In some embodiments, the service end 120 may generate a service order to be assigned (dispatched) based on the received service request, match a suitable service provider to the service requester according to a preset strategy, and send an order inquiry or dispatch notification to the service provider.

[0034] In some embodiments, the service end 120 can publish the service orders to be accepted to the user end 110 of each service provider in real time, and can receive the order selection sent by the user end 110 of any service provider, and update the order status in real time based on the order selection sent by the user end 110 of each service provider (for example, from never received order to received order).

[0035] In some embodiments, the server 120 can help multiple parties involved in the service order stay in touch. For example, the server 120 can forward messages between the driver's client 110 and the passenger's client 110. For another example, the server 120 can provide the driver's client 110 with the passenger's virtual phone number.

[0036] After a service order is generated, the server 120 can monitor the risk of the order participant canceling the service order (hereinafter referred to as cancellation risk), for example, predicting in real time whether the order participant has cancellation risk or determining the cancellation risk value of the order participant. When it is detected that the order participant has cancellation risk, or the cancellation risk value of the order participant is too high, the server 120 can start the intervention process. For more details on cancellation processing (for example, cancellation risk estimation and intervention process), please refer to Figure 3 and its related description.

[0037] The network 130 can facilitate the exchange of information and / or data in the system 100. In some embodiments, one or more components of the system 100 (e.g., the user end 110, the service end 120, and the storage device 140) can transmit information and / or data to one or more other components of the system 100 via the network 130. For example, the user end 110 can send a service request to the service end 120 via the network 130, and the service end 120 can return a service response to the user end 110 via the network 130. For another example, the service end 120 can collect information necessary to provide basic functions (e.g., order-related services) from the user end 110 via the network 130, such as location information (e.g., pick-up location) and interaction information (e.g., time nodes and times when the driver contacts the passenger). For another example, the server end 120 can save data (e.g., historical order data) to the storage device 140 via the network 130, and can also read data and / or instructions from the storage device 140 via the network 130.

[0038] The storage device 140 may store data and / or information from one or more components in the system 100. For example, the storage device 140 may store historical order data. For another example, the storage device 140 may store instructions for order cancellation processing. For another example, the storage device 140 may store a machine learning model (risk prediction model) for order cancellation risk estimation.

[0039] In some embodiments, the server 120 may be indirectly connected to the storage device 140 via the network 130 , or directly connected to the storage device 140 (indicated by the dotted line). In some embodiments, the storage device 140 may be integrated into the server 120 .

[0040] Figure 2 200 is an exemplary module diagram of a cancellation order processing system according to some embodiments of the present specification. The system 200 can be implemented on the server 120. Figure 2 As shown, the system 200 may include an acquisition module 210 , a prediction module 220 , and an intervention module 230 .

[0041] The acquisition module 210 may be configured to acquire data of one or more characteristics of the first service order.

[0042] The prediction module 220 may be configured to process the data of the one or more features using a trained risk prediction model to obtain a first risk prediction result of the first party to the first service order canceling the first service order.

[0043] The intervention module 230 can be used to: determine whether the first risk prediction result meets the preset condition; in response to determining that the first risk prediction result meets the preset condition, trigger the intervention process.

[0044] For more details about the system 200 and its modules, please refer to Figure 3 and its related description.

[0045] It should be understood that Figure 1 , Figure 2 The system and its modules shown can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software or a combination of software and hardware. Among them, the hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or a dedicated design hardware. Those skilled in the art will understand that the above methods and systems can be implemented using computer executable instructions and / or included in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the system and its modules of this specification. Not only can the hardware circuits such as ultra-large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. be implemented, it can also be implemented with software such as executed by various types of processors, and it can also be implemented by a combination of the above hardware circuits and software (for example, firmware).

[0046] It should be noted that the above description of the system and its modules is only for the convenience of description and does not limit this specification to the scope of the embodiments. It can be understood that for those skilled in the art, after understanding the principle of the system, it is possible to arbitrarily combine the various modules or form a subsystem to connect with other modules without deviating from this principle. For example, in some embodiments, the acquisition module 210 and the prediction module 220 can be two modules or combined into one module. For another example, in some embodiments, the intervention module 230 can be omitted, that is, the system can be used only for cancellation risk estimation. Such variations are within the scope of protection of the present application.

[0047] Figure 3is an exemplary flow chart of a cancellation processing method according to some embodiments of this specification. Process 300 can be executed by the server 120, specifically, it can be executed by the system 200 implemented on the server 120. It can be understood that process 300 belongs to the model application stage. For the specific process of the model prediction stage, please refer to Figure 5 and its related description. Figure 3 As shown, process 300 may include the following steps.

[0048] Step 310, obtaining data of one or more characteristics of the first service order.

[0049] The server 120 may execute the order cancellation processing flow 300 for each service order as the first service order, and multiple order cancellation processing flows 300 may be executed in parallel to improve processing efficiency.

[0050] The one or more features can be defined according to the actual reasons for cancellation of the order, so that the reliability of the risk estimation of cancellation of the order can be improved. In actual business, the reasons for cancellation of the user can be investigated at the user end 110. When the service end 120 collects sufficient (for example, within a year, a quarter or a month) survey data from the user end 110, the survey data can be analyzed (for example, statistical analysis) to determine the actual situation of the reasons for cancellation of the order. For example, the reasons for cancellation of the order can be divided into different levels according to the frequency, such as common and uncommon. It can be understood that the one or more features may include features corresponding to common reasons for cancellation of the order, because the features corresponding to common reasons for cancellation of the order can be regarded as features with high (strong) correlation with cancellation of the order. For example, in the chauffeur service, for drivers, common reasons for cancellation of the order include the estimated time to arrive at the agreed location is too long, the estimated cost of the service order is too low, etc. Accordingly, the one or more features may include the estimated time for the driver to arrive at the agreed location, the estimated cost of the service order, etc.

[0051] In some embodiments, the one or more features may include at least one of time features, space features, and interaction features. Time features and space features may be collectively referred to as space-time features, that is, the one or more features may be divided into space-time features and interaction features. In reality, many reasons for canceling orders can essentially be attributed to users' consideration of costs, especially time costs and distance costs. Therefore, adding space-time features to the one or more features can improve the reliability of the risk estimation of cancellation of orders. Regarding the interaction features, considering that users often show some behavior, especially interactive behavior, after they have the idea of ​​canceling an order, for example, after the service provider (such as the driver) has the intention to cancel the order, they often show that they are not active in contacting the service requester (such as the passenger). Therefore, adding the interaction features to the one or more features can also improve the reliability of the risk estimation of cancellation of orders.

[0052] In some embodiments, when the first service order is a transport order and the object of cancellation risk estimation (i.e., the first party in step 320) is a service provider (such as a driver), the one or more characteristics may include at least one characteristic of the estimated time for the service provider to arrive at the agreed location, the estimated cost of the service order, the attributes of the fulfillment time of the service order, the attributes of one or more associated locations of the service order, the historical cancellation of orders in the service fulfillment area of ​​the service order, the order acceptance situation in the service fulfillment area of ​​the service order, the time node when the service provider initiates a preset contact operation to the service requester, the number of times the service provider initiates a preset contact operation to the service requester, etc.

[0053] Taking the transportation order as a designated driver (or taxi) order as an example, the estimated time for the service provider to arrive at the agreed location may refer to the estimated time for the designated driver (or online taxi driver) to arrive at the agreed departure location (such as a point of interest). The attribute of the fulfillment time of the service order may refer to whether the fulfillment period of the service order is a peak travel period (such as morning peak or evening peak) or may refer to which predetermined time period the fulfillment period of the service order belongs to (the whole day can be divided into multiple time periods with reference to the peak travel period). The attributes of one or more associated locations of the service order may refer to the departure location, the passing location, the destination location, etc. The order acceptance situation of the service fulfillment area (city or area) of the service order may refer to whether the service fulfillment area of ​​the service order is a hot spot for receiving orders or the order acceptance heat of the service fulfillment area of ​​the service order (whether it is a hot spot for receiving orders or the order acceptance heat is determined based on the order volume). The preset contact operation may refer to contact through the virtual phone number provided by the platform, the online communication component of the application (such as the designated driver APP), etc. The time node for initiating the preset contact operation may refer to the time interval between the time of initiating the preset contact operation and the preset start time (such as the order acceptance time).

[0054] Step 320: Process the data of the one or more features using the trained risk prediction model to obtain a first risk prediction result of the first party to the first service order canceling the first service order.

[0055] The estimated object of cancellation can be any participant of the service order, that is, the first participant can refer to any participant of the first service order. For example, when the first service order is a transportation order, the first participant can refer to the driver or the passenger.

[0056] In some embodiments, the prediction of the risk of cancellation of an order can be designed as a classification task, that is, the model output is discrete, which can be called a prediction category. For example, the prediction result output by the model (such as the first risk prediction result) can indicate whether there is a risk that the first party to a service order (such as the first service order) cancels the service order. In some embodiments, the prediction of the risk of cancellation of an order can be designed as a regression task, that is, the model outputs a continuous quantitative value. For example, the prediction result output by the model (such as the first risk prediction result) can include the risk value (or the probability of cancellation) of the first party to a service order (such as the first service order) canceling the service order.

[0057] It should be noted that the risk prediction model can adopt any classification model or regression model. As an example only, the risk prediction model can be any one of a logistic regression model, a naive Bayes model, a decision tree, a support vector machine, a random forest, a gradient boosting tree (such as an XGBoost model), a neural network, etc.

[0058] Step 330, determining whether the first risk prediction result meets a preset condition.

[0059] In response to determining that the first risk prediction result meets the preset conditions, the intervention module 230 can trigger the intervention process 340. Specifically, when the risk of cancellation exists or the probability of cancellation exceeds the set threshold, the intervention process 340 can be triggered. For example, in the prediction result, "0" indicates that the risk of cancellation does not exist, and "1" indicates that the risk of cancellation exists. Accordingly, the intervention module 230 can determine whether the first prediction result contains "0" or "1". If the first prediction result contains "1", the intervention module 230 can trigger the intervention process 340. For another example, a probability threshold (denoted as p0) can be preset. Accordingly, the intervention module 230 can compare the probability (denoted as p) in the first risk prediction result with the probability threshold p0. If p≥p0, the intervention module 230 can trigger the intervention process 340.

[0060] The intervention process 340 is intended to change the user's intention to cancel the order or prevent the user from having the intention to cancel the order, thereby reducing the cancellation rate. In the intervention process 340, the user can be informed of the adverse effects of canceling the order by sending an intervention message. The adverse effect can be directed to the user personally. For example, for the driver, the content of the intervention message may include "the system detects that you may cancel the order, canceling the order will reduce the driver's credit score, and the credit score will affect the driver's priority in the order competition. Please do not cancel the order at will." For another example, for the passenger, the content of the intervention message may include "the system detects that you may cancel the order, canceling the order will reduce the passenger's credit score, and the credit score will affect the passenger's priority in the waiting queue. Please do not cancel the order at will." For another example, for the passenger, the content of the intervention message may include "the system detects that you may cancel the order. The current car usage peak period requires a long time to cancel the order before the driver accepts the order. Please do not cancel the order at will." In an alternative embodiment, the user can be informed of the beneficial effects of not canceling the order, which can also promote the reduction of the cancellation rate. For example, the content of the intervention message may include "the platform provides subsidies to users who have no cancellation behavior during the assessment period. Please do not cancel the order at will."

[0061] It should be noted that this specification does not specifically limit the implementation method of the intervention process 340. For example, in some embodiments, the intervention message may include voice, text message, phone message, etc. For another example, in some embodiments, the intervention process 340 may be performed manually (such as a manual phone call) or automatically by a machine (such as an AI telephone customer service), or may be performed by a combination of manual and machine.

[0062] In some embodiments, the user terminal 110 may automatically play the received intervention message, for example, automatically play the received voice message or phone message, or automatically convert the received text message into a voice message and play it.

[0063] In some embodiments, after the intervention process 340 is triggered once, the service end 120 may perform the cancellation risk estimation again. Specifically, the acquisition module 210 may re-acquire the data of one or more features of the first service order. The prediction module 220 may process the re-acquired data of the one or more features using the risk prediction model to update the first risk prediction result. The intervention module 230 may determine whether the probability in the updated first risk prediction result exceeds the set probability threshold (or whether the updated first risk prediction result is that there is no cancellation risk). In response to determining that the probability in the updated first risk prediction result exceeds the set probability threshold (or, the updated first risk prediction result is that there is a cancellation risk), the intervention module 230 may send an intervention message to the first participant (e.g., the service provider) again. Repeated intervention helps to improve the success rate of intervention.

[0064] In some embodiments, the probability threshold can be directly set, for example, the system 200 can obtain a probability threshold (such as 90%) input manually. In some embodiments, the probability threshold can be determined according to a preset order ratio. Specifically, the system 200 can determine the probability threshold according to process 500.

[0065] Figure 4 FIG. 1 is an exemplary flow chart of determining a probability threshold according to some embodiments of this specification. Figure 4 As shown, process 400 may include the following steps.

[0066] Step 410, obtaining multiple historical risk prediction results corresponding to multiple historical service orders within the observation time period.

[0067] With reference to the first risk prediction result, the historical risk prediction result corresponding to each historical service order may include the probability that the service provider of the historical service order cancels the historical service order.

[0068] As an example only, the observation period can be a month, a week, or a day. In actual business, the observation period can refer to a time period, and the order forecast data generated in a time period can be obtained to determine the probability threshold used in the next time period. In other words, the probability threshold used in each time period can be determined based on the order data generated in the previous time period. For example, the probability threshold used on Tuesday can be determined based on the order forecast data generated on Monday.

[0069] Step 420: sort the multiple historical orders according to the probability sizes in the corresponding historical risk prediction results.

[0070] The sorting here can adopt various sorting algorithms, for example, insertion sort, shell sort, selection sort, bubble sort, etc.

[0071] For illustration purposes only, assume that there are 10 historical service orders, denoted as S1 to S10. The predicted cancellation probabilities corresponding to these orders are denoted as p1 to p 10 . Further assume that: p1 = 35%, p2 = 22%, p3 = 36%, p4 = 12%, p5 = 56%, p6 = 96%, p7 = 76%, p8 = 88%, p9 = 6%, p 10 =30%. Then, the ranking result of these orders can be (S9, S4, S2, S10, S1, S3, S5, S7, S8, S6).

[0072] Step 430: group the sorted multiple historical orders according to a preset order ratio to obtain a first grouping result.

[0073] The preset order ratio may reflect the ratio of the number of service orders that are expected to be intervened in the target time period (e.g., one day) to the total number of service orders in the target time period, that is, the preset order ratio may be the ratio of orders that are expected to be intervened. Continuing with the previous example, assuming that the ratio of orders that are expected to be intervened is 10%, then the 10 sorted historical service orders may be divided into two groups, such as (S9, S4, S2, S10, S1, S3, S5, S7, S8) and (S6).

[0074] The preset order ratio can be set according to business needs. For example, the preset order ratio can be estimated based on the budget (such as a daily budget), the intervention cost (such as the cost of each intervention message), and the average order volume (such as the average daily order volume).

[0075] Step 440: determine a probability threshold based on the first grouping result, so that a second grouping result of the plurality of historical orders according to the probability threshold is consistent with the first grouping result.

[0076] It can be understood that the probability threshold can be determined based on the critical probability corresponding to the first grouping result. Continuing with the previous example, the critical probabilities corresponding to (S9, S4, S2, S10, S1, S3, S5, S7, S8) and (S6) can be p8 and p6. Furthermore, the average value (92%) of p8 and p6 can be determined as the probability threshold, or p6 (or p8) can be directly determined as the probability threshold.

[0077] In some embodiments, a region-specific (e.g., city-specific, area-specific) risk prediction model can be trained, which is helpful to reduce the cancellation rate of orders in a specific region. Accordingly, in the model application stage, the risk prediction model that can be used by the prediction module 220 can be region-specific, and the risk prediction model can be trained based on multiple sample service orders with the same service fulfillment area as the first service order.

[0078] In some embodiments, the prediction module 220 can call the risk prediction model corresponding to the service fulfillment area of ​​the first service order from the model library. The model library may include multiple risk prediction models corresponding to multiple service fulfillment areas, and the risk prediction model corresponding to each service fulfillment area is obtained by training based on multiple sample service orders belonging to the service fulfillment area. Furthermore, the prediction module 220 can use the risk prediction model corresponding to the service fulfillment area of ​​the first service order to process the data of the one or more features to obtain the first risk prediction result.

[0079] Figure 5 is an exemplary flow chart of model training according to some embodiments of this specification. Process 500 can be performed by the server 120 or other device ( Figure 1 Execute as shown in the figure. Figure 5 As shown, process 500 may include the following steps.

[0080] Step 510: Obtain an original sample data set.

[0081] The original sample data set may include original feature data of multiple sample service orders (referred to as samples) and actual order cancellation situations of the multiple sample service orders. The original feature data of each sample may include data of multiple features.

[0082] Step 520: preprocess the original sample data set to obtain a sample data set for model training.

[0083] Preprocessing (or data cleaning) may include related work of feature engineering, including outlier processing, data integrity processing, unique hot encoding of type features (such as the fulfillment period of service orders, the order acceptance situation of the city to which the service orders belong), and bucketing of continuous values ​​(such as estimated duration, estimated cost). Among them, processing outliers may refer to removing data that exceeds the set threshold range as noise data from the data set. For example, for estimated duration and estimated cost, values ​​less than 0 or greater than a set upper limit (such as 999999) may be determined as outliers. If an outlier appears in the data of a sample (such as feature data), the data of the sample may be removed from the data set as noise data. Data integrity processing may refer to: for any feature, if the integrity of the feature does not meet the preset integrity requirements, the data of the feature is deleted from the original sample data set; if the data integrity of the feature meets the preset data integrity requirements but there is still missing data missing, the missing data is filled with a preset value (such as -1 or 0) in the original sample data set. For any feature, the preset integrity requirement may refer to: the feature data of samples with a preset minimum proportion (such as 90%) or more contain the data of the feature.

[0084] The preprocessing may also include encoding the actual cancellation status of the sample service orders. For example, "1" may be used to indicate that a cancellation has occurred, and "0" may be used to indicate that a cancellation has not occurred.

[0085] Step 530: Perform model training based on the sample data set.

[0086] The sample data set may include feature data and labels of multiple samples, and the feature data of each sample may include data of multiple features.

[0087] In some embodiments, the sample data set can be divided into a training set, a validation set, and a test set, and each data subset includes feature data and labels of a portion of the samples. Among them, the training set can be used for adjusting model parameters (referred to as training), for example, the local optimal solution of the model parameters can be obtained by a grid search method. The validation set can be used for adjusting model hyperparameters (referred to as validation), for example, in the case of fixed model parameters, a valid feature set can be selected from multiple candidate feature sets based on the performance of the model on the validation set. For example, assuming that the sample data set originally has 20 feature data, considering the response speed after the model is launched, it is hoped that only 15 features (that is, one or more features in process 300 are 15 features) are retained, then, multiple candidate feature sets can be generated by multiple random selections, each candidate feature set includes 15 features. Furthermore, for each candidate feature subset, the value of the loss function can be calculated based on the partial feature data corresponding to the candidate feature subset in the validation set. The smaller the value of the loss function, the better the performance of the model on the validation set. The test set can be used to test the indicators of the verified model (referred to as test), such as accuracy and recall. It can be understood that only the features in the valid feature subset are used for testing. When the indicators obtained by the test meet the set standards (i.e., the test passes), such as when both the accuracy and recall rates meet the standards, the tested model can be used as the trained risk prediction model in process 300. When the test fails, it can be re-verified (for example, increasing the number of retained features), or process 300 can be re-executed (for example, preparing a new original sample data set and trying different machine learning algorithms) until the test is successful.

[0088] In some embodiments, the model may be updated periodically or irregularly, thereby preventing changes in the business environment from causing a decrease in the accuracy of model predictions.

[0089] It should be noted that the above description of the relevant processes is only for example and explanation, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to the process under the guidance of this specification. However, these modifications and changes are still within the scope of this application. For example, in some embodiments, although it is determined that the risk of cancellation exists or the probability of cancellation exceeds a set threshold, if a specific event is monitored, the system 200 may not trigger the intervention process 340. In the cancellation processing process 300 for the service provider (such as a driver), the specific event may be that the service provider begins to perform the service, such as the driver arrives at the agreed departure point.

[0090] The beneficial effects that may be brought about by the embodiments of this specification include but are not limited to: (1) Based on the machine learning model, the risk of cancellation of orders can be accurately estimated, and then intervention can be carried out on the target users (for example, drivers with a high possibility of cancellation of orders), so that the cancellation rate can be effectively reduced, thereby improving the user experience; (2) The spatiotemporal features and interactive features that are highly correlated with cancellation of orders can be used to ensure the reliability of the model; (3) The success rate of intervention can be improved through repeated prediction and intervention; (4) By sorting and grouping historical orders, the proportion of orders that are expected to be intervened can be reasonably controlled; (5) Differentiated modeling for regions can improve the prediction accuracy of the model for specific regions (such as specific cities). It should be noted that different embodiments may produce different beneficial effects. In different embodiments, the beneficial effects that may be produced may be any one or a combination of the above, or any other beneficial effects that may be obtained.

[0091] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation on the embodiments of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to the embodiments of this specification. Such modifications, improvements and corrections are suggested in the embodiments of this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.

[0092] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment" and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different locations in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.

[0093] In addition, it will be appreciated by those skilled in the art that the various aspects of the embodiments of this specification may be illustrated and described by a number of patentable categories or situations, including any new and useful process, machine, product or combination of substances, or any new and useful improvements thereto. Accordingly, the various aspects of the embodiments of this specification may be performed entirely by hardware, entirely by software (including firmware, resident software, microcode, etc.), or by a combination of hardware and software. The above hardware or software may all be referred to as "data blocks", "modules", "engines", "units", "components" or "systems". In addition, the various aspects of the embodiments of this specification may be represented as a computer product located in one or more computer-readable media, the product including computer-readable program code.

[0094] A computer storage medium may include a propagated data signal containing computer program code, for example, in baseband or as part of a carrier wave. The propagated signal may be in a variety of forms, including electromagnetic, optical, etc., or a suitable combination. A computer storage medium may be any computer-readable medium other than a computer-readable storage medium, which can be connected to an instruction execution system, device or apparatus to communicate, propagate or transmit the program for use. The program code on the computer storage medium may be transmitted via any suitable medium, including radio, cable, fiber optic cable, RF, or similar media, or any combination of the above media.

[0095] The computer program coding required for the operation of each part of the embodiment of this specification can be written in any one or more programming languages, including object-oriented programming languages ​​such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python, etc., conventional procedural programming languages ​​such as C language, VisualBasic, Fortran2003, Perl, COBOL2002, PHP, ABAP, dynamic programming languages ​​such as Python, Ruby and Groovy, or other programming languages, etc. The program coding can be run completely on the user's computer, or run on the user's computer as an independent software package, or partly run on the user's computer and partly run on the remote computer, or run completely on the remote computer or processing equipment. In the latter case, the remote computer can be connected to the user's computer by any network form, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (e.g., by the Internet), or in a cloud computing environment, or used as a service such as software as a service (SaaS).

[0096] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in the embodiments of this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of the embodiments of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing processing device or mobile device.

[0097] Similarly, it should be noted that in order to simplify the description of the embodiments disclosed in this specification, thereby helping to understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the objects of the embodiments of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

[0098] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification is hereby incorporated by reference in its entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this application (currently or later attached to this application) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.

[0099] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of the embodiments of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. A method for processing cancellation orders, characterized in that: include: obtaining data of one or more characteristics of the first service order; Processing the data of the one or more features using a trained risk prediction model to obtain a first risk prediction result of the first party to the first service order canceling the first service order; Determining whether the first risk prediction result meets a preset condition; In response to determining that the first risk prediction result meets a preset condition, an intervention process is triggered.

2. The method according to claim 1, characterized in that The one or more features include at least one of a time feature, a space feature, and an interaction feature.

3. The method according to claim 1 or 2, characterized in that The first service order is a transportation order, the first participant is a service provider, and the one or more characteristics include the following characteristics: At least one of: the estimated time for the service provider to arrive at the agreed location, the estimated cost of the service order, the attributes of the fulfillment time of the service order, the attributes of one or more associated locations of the service order, the historical order cancellation status of the service fulfillment area of ​​the service order, the order acceptance status of the service fulfillment area of ​​the service order, the time point when the service provider initiates a preset contact operation to the service requester, and the number of times the service provider initiates a preset contact operation to the service requester.

4. The method according to claim 1, characterized in that The first participant is a service provider, and the first risk prediction result includes a probability that the service provider of the first service order cancels the first service order; The determining whether the first risk prediction result meets a preset condition includes: Determining whether the probability in the first risk prediction result exceeds a set probability threshold; In response to determining that the first risk prediction result meets a preset condition, triggering an intervention process includes: In response to determining that the probability in the first risk prediction result exceeds a set probability threshold, an intervention message is sent to a service provider of the first service order.

5. The method according to claim 4, characterized in that After sending the intervention message to the service provider of the first service order, the method further includes: retrieving data of one or more characteristics of the first service order; Processing the reacquired data of the one or more features using the risk prediction model to update the first risk prediction result; Determining whether the probability in the updated first risk prediction result exceeds a set probability threshold; In response to determining that the probability in the updated first risk prediction result exceeds the set probability threshold, an intervention message is again sent to the service provider of the first service order.

6. The method according to claim 4, characterized in that The probability threshold is determined by the following process: Obtaining multiple historical risk prediction results corresponding to multiple historical service orders within the observation time period, wherein the historical risk prediction result corresponding to each historical service order includes the probability that the service provider of the historical service order cancels the historical service order; Sorting the multiple historical orders according to the probability of the corresponding historical risk prediction results; Grouping the sorted multiple historical orders according to a preset order ratio to obtain a first grouping result; The probability threshold is determined based on the first grouping result, so that a second grouping result of the plurality of historical orders according to the probability threshold is consistent with the first grouping result.

7. The method according to claim 1, characterized in that The risk prediction model is trained based on a plurality of sample service orders whose service fulfillment area is the same as that of the first service order.

8. A cancellation order processing system, characterized in that: It includes acquisition module, prediction module and intervention module; The acquisition module is used to acquire data of one or more characteristics of the first service order; The prediction module is used to process the data of the one or more features using a trained risk prediction model to obtain a first risk prediction result of the first party of the first service order canceling the first service order; The intervention module is used to: determine whether the first risk prediction result meets a preset condition; In response to determining that the first risk prediction result meets a preset condition, an intervention process is triggered.

9. A cancellation processing device, characterized in that: It includes a processor and a storage device, wherein the storage device is used to store instructions. When the processor executes the instructions, the cancellation processing method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: It includes instructions for order cancellation processing. When the instructions for order cancellation processing are executed on a computer device, the order cancellation processing method as described in any one of claims 1 to 7 is implemented.