Delivery Personnel Matching Method for Transaction Business
By dividing the influencing factors into regular and irregular factors, and calculating the matching score of the delivery person, the problem that the existing delivery person matching algorithm model cannot be universal is solved, and the universal delivery person matching in different e-commerce businesses is realized, which improves the efficiency of delivery. Matching efficiency and accuracy, reducing development costs.
Patent Information
- Application Number
- CN202110037873.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-01-12
AI Technical Summary
The existing algorithm model for delivery worker matching is not universal and cannot effectively balance the optimal matching results and optimal cost consumption in different e-commerce businesses.
By dividing the influence factors into regular factors and irregular factors, the matching score of the delivery person is calculated according to each factor value and priority parameter, and the most suitable delivery person is determined by screening and sorting, including screening the delivery person who meets the basic conditions and incomplete For delivery personnel who meet the conditions, the matching score will be recalculated to improve matching accuracy.
It implements a common delivery person matching algorithm in different e-commerce businesses, reduces development time and cost, improves matching efficiency and accuracy, and is suitable for similar business needs.
Smart Images

Figure CN112734237B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of e-commerce transaction technology, and in particular to a delivery personnel matching method for transaction business. Background Art
[0002] In the past e-commerce transaction business, the extensive development model driven by user growth dividends has basically ended, and the possibility of promoting business growth by relying on pure user growth has been very small. Such a business model has been difficult to adapt to the second half of the competition in various e-commerce economies. How to use technical means to reduce costs and achieve business growth while the existing users remain basically unchanged is a difficult problem. By analyzing the business models of various types of e-commerce transactions, it is found that there are inevitably some typical scenarios with strong business characteristics in these transactions, that is, various transaction resource matching problems in transaction businesses, such as the common delivery personnel matching. The transaction businesses carried out by different enterprises have their own characteristics, some similarities and some differences. To solve the matching problem of transaction resources, an algorithm model with various transaction influencing factors participating in the calculation is often designed according to the actual business details, in order to achieve a balance between the optimal matching result and the optimal cost consumption. However, since different business types have different resource matching influencing factors, the algorithm models designed for delivery personnel matching in different businesses are often not universal. Summary of the invention
[0003] The present invention aims to solve the problem that the existing algorithm model for delivery personnel matching is not universal, and proposes a delivery personnel matching method for transaction business.
[0004] The technical solution adopted by the present invention to solve the above technical problem is: a delivery person matching method for transaction business, comprising the following steps:
[0005] Step 1: After receiving the order, multiple influencing factors corresponding to each delivery person are determined. The influencing factors are factors that affect the transaction business. The influencing factors are divided into regular factors and irregular factors. The regular factors are used to represent the basic conditions for conducting the transaction business, and the irregular factors are used to represent quantifiable factors that affect the transaction business.
[0006] Step 2: Determine the values of each rule factor and irregular factor. When the rule factor corresponding to the deliveryman meets the basic conditions for conducting a transaction, the value of the rule factor is 1. When the rule factor corresponding to the deliveryman does not meet the basic conditions for conducting a transaction, the value of the rule factor is 0.
[0007] Step 3: Determine the priority parameter corresponding to each influencing factor and the correction parameter corresponding to the irregular factor, and calculate the matching score of each delivery person according to the value of each regular factor, each irregular factor, the priority parameter corresponding to each influencing factor, and the correction parameter corresponding to the irregular factor;
[0008] Step 4: Filter out the couriers whose rule factors are all 1 and save them into the first set, and determine the couriers for the order based on the matching scores of the couriers in the first set.
[0009] Furthermore, it also includes:
[0010] Screen out the couriers with at least one rule factor of 0 and save them into the second set, and sort the couriers according to the matching score of each couriers in the second set;
[0011] If in a round of matching, the first set is an empty set, it means that there is no matching result and the next round of matching is carried out. In the next round of matching, the rule factors of the corresponding couriers are checked in turn according to the ranking of each couriers in the second set to see if they are all 1, and the couriers of the order are determined based on the couriers whose rule factors are all 1 in the second set.
[0012] Furthermore, the delivery personnel are sorted by sorting them from large to small according to the matching score of each delivery personnel in the second set;
[0013] The step of sequentially detecting whether the rule factors of the corresponding couriers are all 1 according to the ranking of the couriers in the second set, and determining the couriers of the order according to the couriers whose rule factors are all 1 in the second set specifically includes:
[0014] When the first delivery person whose rule factors are all 1 is detected, the detection is stopped and the first delivery person is used as the delivery person for the order.
[0015] Furthermore, the step of sequentially detecting whether the rule factors of the corresponding couriers are all 1 according to the ranking of the couriers in the second set, and determining the couriers of the order according to the couriers whose rule factors are all 1 in the second set specifically includes:
[0016] All couriers whose rule factors are all 1 are selected from the second set and saved in the third set, the matching score of each couriers in the third set is recalculated, and the couriers for the order are determined according to the matching scores of each couriers in the third set.
[0017] Furthermore, determining the delivery person for the order according to the matching score of each delivery person in the third set specifically includes:
[0018] The delivery person with the highest matching score is determined from the third set and is used as the delivery person for the order.
[0019] Furthermore, the calculation formula for the matching score of each delivery person is:
[0020]
[0021] In the formula, R represents the matching score of the delivery person, reg (i) represents the value of the ith rule factor of the delivery person, s i represents the priority parameter of the ith rule factor of the deliveryman, n represents the number of rule factors, leerg (j) represents the value of the jth irregular factor of the deliveryman, cor (j) represents the correction parameter of the jth irregular factor of the deliveryman, s j represents the priority parameter of the jth irregular factor of the deliveryman, and m represents the number of irregular factors.
[0022] Furthermore, determining the delivery person for the order according to the matching score of each delivery person in the first set specifically includes:
[0023] The delivery person with the highest matching score is determined from the first set and is used as the delivery person for the order.
[0024] Furthermore, the rule factors include: whether the delivery person starts accepting orders, whether the delivery person is frozen, and whether the order exceeds the delivery range of the delivery person.
[0025] Furthermore, the irregular factors include: the evaluation star rating of the deliveryman, the current number of orders that the deliveryman has not completed, the historical number of orders that the deliveryman has completed, and the distance between the deliveryman and the goods.
[0026] The beneficial effects of the present invention are: when the delivery personnel matching method for transaction business described in the present invention is actually used, the influencing factors are classified and assigned values according to the transaction business to be performed, and the priority parameters of each influencing factor are determined according to the specific needs of the transaction business. Then, the method can be used to determine the optimal delivery personnel suitable for the transaction business. The universality of the algorithm makes it possible to apply the designed algorithm to similar business needs, thereby reducing the time cost of development. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flowchart of a delivery personnel matching method for transaction business according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0029] The present invention aims to solve the problem that the existing algorithm model for delivery personnel matching cannot be universal, and proposes a delivery personnel matching method for transaction business. The main technical concept is: after receiving an order, multiple influencing factors corresponding to each delivery personnel are determined, and the influencing factors are factors that affect the transaction business. The influencing factors are divided into regular factors and irregular factors. The regular factors are used to represent the basic conditions for conducting transaction business, and the irregular factors are used to represent quantifiable factors that affect the transaction business; the values of each regular factor and irregular factor are determined, when the regular factor corresponding to the delivery personnel meets the basic conditions for conducting transaction business, the value of the regular factor is 1, and when the regular factor corresponding to the delivery personnel does not meet the basic conditions for conducting transaction business, the value of the regular factor is 0; the priority parameter corresponding to each influencing factor and the correction parameter corresponding to the irregular factor are determined, and the matching score of each delivery personnel is calculated according to the values of each regular factor, each irregular factor, the priority parameter corresponding to each influencing factor and the correction parameter corresponding to the irregular factor; the delivery personnel whose all regular factors are 1 are screened out and saved into a first set, and the delivery personnel of the order are determined according to the matching scores of each delivery personnel in the first set.
[0030] In actual use, it is first necessary to determine the influencing factors that affect the transaction business based on the specific transaction business, and divide the influencing factors into regular factors and irregular factors. Among them, regular factors are used to represent the basic conditions for conducting transaction business, that is, the main information of the deliveryman. The deliveryman needs to meet the basic conditions to deliver the order. Basic conditions include: whether the deliveryman starts accepting orders, whether the deliveryman is frozen, and whether the order exceeds the delivery range of the deliveryman. Irregular factors are used to represent quantifiable factors that affect the transaction business, that is, the secondary information of the deliveryman, such as: the deliveryman’s evaluation star, the current number of uncompleted orders by the deliveryman, the number of historical orders completed by the deliveryman, and the distance between the deliveryman and the goods. Then determine the value of each influencing factor. For the rule factor, if the deliveryman meets the corresponding basic conditions, the corresponding rule factor value is 1, otherwise it is 0. For the irregular factor, its value is determined according to the actual value of the secondary information. Then, according to the actual needs of the transaction business, the priority parameter of each influencing factor and the correction parameter of the irregular factor are determined, among which the priority parameter is used to indicate the degree of influence of the corresponding influencing factor on the actual transaction business, and the correction parameter is used to adjust the value of the irregular factor according to the actual situation of the transaction business; finally, the matching score of each deliveryman is calculated according to the value of each rule factor, each irregular factor, the priority parameter corresponding to each influencing factor and the correction parameter corresponding to the irregular factor, and the deliveryman for the current order can be determined according to the matching score of each deliveryman.
[0031] Example 1
[0032] The delivery personnel matching method for transaction business described in the embodiment of the present invention is as follows: Figure 1 As shown, the following steps are included:
[0033] Step S1: after receiving an order, multiple influencing factors corresponding to each delivery person are determined, wherein the influencing factors are factors that affect the transaction business, and the influencing factors are divided into regular factors and irregular factors. The regular factors are used to represent the basic conditions for conducting the transaction business, and the irregular factors are used to represent the quantifiable factors that affect the transaction business;
[0034] Specifically, in actual use, it is first necessary to determine the influencing factors that affect the transaction business based on the specific transaction business, and divide the influencing factors into regular factors and irregular factors. Among them, the regular factors are used to represent the basic conditions for conducting transaction business, that is, the main information of the deliveryman. The deliveryman needs to meet the basic conditions to be able to deliver the order. Basic conditions include: whether the deliveryman is open to accept orders, whether the deliveryman is frozen, and whether the order exceeds the delivery range of the deliveryman. Irregular factors are used to represent quantifiable factors that affect the transaction business, that is, the secondary information of the deliveryman, such as: the deliveryman’s evaluation star, the current number of uncompleted orders by the deliveryman, the number of historical orders completed by the deliveryman, and the distance between the deliveryman and the goods.
[0035] Step S2, determining the values of each rule factor and irregular factor. When the rule factor corresponding to the delivery person meets the basic conditions for conducting a transaction, the value of the rule factor is 1. When the rule factor corresponding to the delivery person does not meet the basic conditions for conducting a transaction, the value of the rule factor is 0.
[0036] Specifically, for the rule factor, if the deliveryman meets the corresponding basic conditions, the value of the corresponding rule factor is 1, otherwise it is 0. For example, if the deliveryman starts accepting orders, the value of the rule factor corresponding to whether the deliveryman starts accepting orders is 1; if the deliveryman stops accepting orders, the value of the rule factor corresponding to whether the deliveryman starts accepting orders is 0.
[0037] For the irregular factor, its value is determined according to the actual value of the secondary information. For example, the higher the star rating of the deliveryman, the larger the value of the irregular factor corresponding to the star rating of the deliveryman; the smaller the distance between the deliveryman and the goods, the larger the value of the irregular factor corresponding to the distance between the deliveryman and the goods.
[0038] Step S3, determining the priority parameter corresponding to each influencing factor and the correction parameter corresponding to the irregular factor, and calculating the matching score of each delivery person according to the values of each regular factor, each irregular factor, the priority parameter corresponding to each influencing factor, and the correction parameter corresponding to the irregular factor;
[0039] It can be understood that the priority parameters of each influencing factor and the correction parameters of the irregular factor are determined according to the actual needs of the transaction business, wherein the priority parameter is used to indicate the degree of influence of the corresponding influencing factor on the actual transaction business, and the correction parameter is used to adjust the value of the irregular factor according to the actual situation of the transaction business.
[0040] Step S4, filter out the couriers whose rule factors are all 1 and save them into a first set, and determine the couriers for the order according to the matching scores of the couriers in the first set.
[0041] Specifically, a deliveryman whose rule factors are all 1 indicates that the deliveryman meets all the basic conditions for the delivery of the order, and after screening, the deliverymen who meet all the basic conditions for the delivery of the order are saved in the first set. Then, the deliveryman for the order is determined based on the matching score of each deliveryman in the first set.
[0042] In this embodiment, the calculation formula for the matching score of each delivery person is:
[0043]
[0044] In the formula, R represents the matching score of the delivery person, reg (i) represents the value of the ith rule factor of the delivery person, s i represents the priority parameter of the ith rule factor of the deliveryman, n represents the number of rule factors, leerg (j) represents the value of the jth irregular factor of the deliveryman, cor (j) represents the correction parameter of the jth irregular factor of the deliveryman, s j represents the priority parameter of the jth irregular factor of the deliveryman, and m represents the number of irregular factors.
[0045] In this embodiment, determining the delivery person for the order according to the matching scores of the delivery persons in the first set specifically includes: determining the delivery person with the highest matching score from the first set and using the delivery person as the delivery person for the order.
[0046] In order to reduce the computing pressure of the system, in this embodiment, the following is also included:
[0047] Screen out the couriers with at least one rule factor of 0 and save them into the second set, and sort the couriers according to the matching score of each couriers in the second set;
[0048] If in a round of matching, the first set is an empty set, it means that there is no matching result and the next round of matching is carried out. In the next round of matching, the rule factors of the corresponding couriers are checked in turn according to the ranking of each couriers in the second set to see if they are all 1, and the couriers of the order are determined based on the couriers whose rule factors are all 1 in the second set.
[0049] Specifically, in each round of matching, at least one delivery person with a rule factor of 0 is selected and saved in the second set. At least one delivery person with a rule factor of 0 indicates a delivery person who does not fully meet the basic conditions for order delivery. If the first set is an empty set in a round of matching, it means that there is no result in the matching and the next round of matching is performed. In the next round of matching, the delivery person for the order is determined only through the delivery persons in the second set. It is not necessary to match all delivery persons, which can reduce the calculation pressure of matching.
[0050] In this embodiment, the couriers in the second set can be sorted from large to small according to their matching scores. When the first couriers whose rule factors are all 1 are detected, the detection is stopped and the first couriers are used as the couriers for the order.
[0051] It can be understood that for the deliverymen in the second set, that is, the deliverymen who do not fully meet the basic conditions for order delivery, the number of basic conditions satisfied by the corresponding deliverymen can be roughly determined based on their matching scores. It can be basically considered that when the matching scores of the deliverymen in the second set are higher, it means that the corresponding deliverymen meet more basic conditions, and the probability that the deliverymen change the setting values of their own rule factors within one or more matching time intervals after the first round of order matching is greater, such as turning on the order acceptance status or modifying other configurations. Therefore, the matching efficiency of the deliverymen can be improved by stopping the detection after detecting the first deliveryman whose rule factors are all 1 and using the first deliveryman as the deliveryman for the order.
[0052] In order to improve the accuracy of matching, in this embodiment, all delivery personnel whose rule factors are all 1 can also be screened out from the second set and saved in the third set, the matching score of each delivery person in the third set can be recalculated, and the delivery person for the order can be determined based on the matching score of each delivery person in the third set.
[0053] Specifically, since the value of the irregular factor of the deliveryman may change during the next matching process, the deliveryman in the second set who has met all the basic conditions for order delivery can be saved in the third set, and the matching score of each deliveryman in the third set is recalculated, and then the deliveryman of the order is determined according to the matching score of each deliveryman in the third set. In this embodiment, determining the deliveryman of the order according to the matching score of each deliveryman in the third set specifically includes: determining the deliveryman with the highest matching score from the third set and using it as the deliveryman of the order. In this way, the problem of decreased matching accuracy due to changes in the value of the irregular factor of the deliveryman can be avoided.
[0054] Example 2
[0055] The following transaction business takes the second-hand goods recycling transaction as an example to describe the implementation mode of the present invention in detail.
[0056] The transaction resource matching scenario of this embodiment is: the user submits the information of the second-hand items that he needs to recycle and the relevant information of the user address through the online platform, and the system generates a recycling order to be matched. The recycling demand order submitted by the user needs to match the corresponding deliveryman to pick up the goods at the address in the user's order and send them back to the store. There are a large number of deliverymen and stores in the system. Some deliverymen and stores are bound to each other, and both stores and deliverymen have some attributes, such as address area information, type information of recycled second-hand goods, price information of recycled second-hand goods, and other attributes. The transaction resource matching demand of this embodiment is relative to an order. The user information contained in the comprehensive order and all the deliveryman information and store information in the system are matched for an order waiting to be matched. The most suitable deliveryman will pick up the goods at the user's address.
[0057] According to the above business scenarios, the matching influencing factors in this embodiment can be extracted to list the following influencing factors:
[0058] Rule factors: whether the delivery person is enabled to accept orders, whether the delivery person is frozen, and whether the order exceeds the delivery range of the delivery person.
[0059] Irregular factors: the deliveryman’s rating star, the number of current orders that the deliveryman has not completed, and the distance between the deliveryman and the goods.
[0060] Suppose the values of the attribute factors of deliveryman A are: whether to accept orders = 1, whether frozen = 1, delivery range = 1, evaluation star = 3, distance from goods = 3, current order quantity = 5; suppose the values of the attribute factors of deliveryman B are: whether to accept orders = 1, whether frozen = 1, delivery range = 1, evaluation star = 5, distance from goods = 4, current order quantity = 5.
[0061] If distance-prioritized matching is required, the matching scores of Deliveryman A and Deliveryman B are as follows:
[0062]
[0063] As shown in the table above: According to the distance-first sequence parameters, the data of the regular factors and irregular factors of the two couriers relative to the current order information are imported respectively. The results of the algorithm calculation output are 27.9 and 19.9 respectively. After comparison, it can be seen that couriers A is the best couriers relative to the current order, and he matches the current order. Through actual data, it can be found that although couriers B have a higher star rating, couriers A is still the best couriers under the limited parameters of distance priority. When the star rating of couriers A is very low and the star rating of couriers B is very high, the output result of the algorithm after inputting the distance-first parameter sequence may also become that couriers B is the best couriers. This is consistent with the fact that the priority book sequence parameters described in the technical solution cannot completely determine the output of an algorithm, and such a matching algorithm is also more scientific.
[0064] Suppose the values of the attribute factors of deliveryman C are: whether to accept orders = 1, whether frozen = 1, delivery range = 1, evaluation star = 4, distance from goods = 6, current order quantity = 5; suppose the values of the attribute factors of deliveryman D are: whether to accept orders = 1, whether frozen = 1, delivery range = 1, evaluation star = 2, distance from goods = 2, current order quantity = 5.
[0065] If the requirement is to prioritize matching based on rating star rating, the corresponding matching scores of deliveryman A and deliveryman B are as follows:
[0066]
[0067] As shown in the table above: According to the order parameter of star rating priority, the data of the regular factors and irregular factors of the two couriers relative to the current order information are imported respectively. The results of the algorithm calculation output are 90.7 and 74.7 respectively. After comparison, it can be seen that couriers C is the best couriers relative to the current order, and is matched with the current order. Through actual data, it can be found that although couriers D are closer, couriers C is still the best couriers under the limited parameters of star rating priority.
[0068] According to the description of the above embodiment, by abstracting the resource matching requirements in the transaction business, analyzing the matching influencing factors therein, abstracting them into input parameters defined by the matching algorithm and quantifying and assigning them, supplemented by certain correction parameters and priority parameters, and outputting them through algorithm calculation, a matching result that is consistent with the actual business expectations can eventually be obtained. The priority value defined by each irregular factor in the priority order parameters of the algorithm in this embodiment determines the scientific nature of the algorithm output results, and defining the correction parameter input algorithm ensures that the algorithm output results produce the smallest possible error.
Claims
1. A delivery person matching method for transaction business, characterized in that: The following steps are involved: Step 1: After receiving the order, multiple influencing factors corresponding to each delivery person are determined. The influencing factors are factors that affect the transaction business. The influencing factors are divided into regular factors and irregular factors. The regular factors are used to represent the basic conditions for conducting the transaction business. The delivery person needs to meet the basic conditions to deliver the order. The irregular factors are used to represent quantifiable factors that affect the transaction business. Step 2: Determine the values of each rule factor and irregular factor. When the rule factor corresponding to the deliveryman meets the basic conditions for conducting a transaction, the value of the rule factor is 1. When the rule factor corresponding to the deliveryman does not meet the basic conditions for conducting a transaction, the value of the rule factor is 0. Step 3: Determine the priority parameter corresponding to each influencing factor and the correction parameter corresponding to the irregular factor, and calculate the matching score of each delivery person according to the value of each regular factor, each irregular factor, the priority parameter corresponding to each influencing factor, and the correction parameter corresponding to the irregular factor; Step 4: Filter out the couriers whose rule factors are all 1 and save them into the first set, and determine the couriers for the order according to the matching scores of the couriers in the first set; The method further includes: screening out couriers having at least one rule factor of 0 and saving the couriers into a second set, and sorting the couriers according to the matching scores of the couriers in the second set; If in a round of matching, the first set is an empty set, it means that there is no matching result and the next round of matching is performed. In the next round of matching, the rule factors of the corresponding couriers are sequentially checked to see if they are all 1 according to the order of the couriers in the second set, and the couriers of the order are determined according to the couriers whose rule factors are all 1 in the second set; The step of sequentially detecting whether the rule factors of the corresponding couriers are all 1 according to the ranking of the couriers in the second set, and determining the couriers of the order according to the couriers whose rule factors are all 1 in the second set specifically includes: All couriers whose rule factors are all 1 are selected from the second set and saved in the third set, the matching score of each couriers in the third set is recalculated, and the couriers for the order are determined according to the matching scores of each couriers in the third set.
2. The method for matching delivery personnel for transaction business according to claim 1, characterized in that: The step of determining the delivery person for the order according to the matching score of each delivery person in the third set specifically includes: The delivery person with the highest matching score is determined from the third set and is used as the delivery person for the order.
3. The method for matching delivery personnel for transaction business according to claim 1, characterized in that: The calculation formula for the matching score of each delivery person is: In the formula, R represents the matching score of the delivery person, reg (i) represents the value of the ith rule factor of the delivery person, s i represents the priority parameter of the ith rule factor of the deliveryman, n represents the number of rule factors, leerg (j) represents the value of the jth irregular factor of the deliveryman, cor (j) represents the correction parameter of the jth irregular factor of the deliveryman, s j represents the priority parameter of the jth irregular factor of the deliveryman, and m represents the number of irregular factors.
4. The method for matching delivery personnel for transaction business according to claim 1, characterized in that: The step of determining the delivery person for the order according to the matching scores of the delivery persons in the first set specifically includes: The delivery person with the highest matching score is determined from the first set and is used as the delivery person for the order.
5. The method for matching delivery personnel for transaction business according to any one of claims 1 to 4, characterized in that: The rule factors include: whether the delivery person is enabled to accept orders, whether the delivery person is frozen, and whether the order exceeds the delivery range of the delivery person.
6. The method for matching delivery personnel for transaction services according to any one of claims 1 to 4, characterized in that: The irregular factors include: the rating star of the deliveryman, the current number of orders that the deliveryman has not completed, the historical number of orders that the deliveryman has completed, and the distance between the deliveryman and the goods.
