Transport order processing method and device based on mileage freight rate relationship curve
By obtaining multiple orders from the same user and calculating transportation quotations using the freight relationship curve, the problems of high resource occupation, user losses and poor user experience caused by issuing multiple orders with the same freight demand are solved, and order quantity control and user experience are achieved promote.
Patent Information
- Application Number
- CN202011615139.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2040-12-29
AI Technical Summary
Due to the release of multiple orders on the same freight demand, high resource usage, user losses and poor user experience.
By obtaining multiple orders from the same user, determining the transportation mileage, and using the freight relationship curve of the historical order fitted, calculating the single-kilometer quotation and transportation quotation, retaining the order with the smallest difference between the order price and the transportation quotation, and canceling other orders.
Effectively control the number of orders with the same freight demand, reduce resource occupation, avoid user losses, improve user experience, and maintain market order and ensure order transaction speed through reasonable freight rate calculations.
Smart Images

Figure CN114693202B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of logistics technology, and in particular to a method and device for processing a transport order based on a mileage-freight-rate relationship curve. Background Art
[0002] At present, in the field of logistics, especially in the field of truck freight, due to the characteristics of truck freight itself, the transportation mileage is generally very long, so the price of the order will be subject to high constraints of factors such as season, geography, and weather, and the order price is difficult to determine. At present, there is a platform for publishing order information on the Internet, and users can publish their order information on the platform and wait for other users to accept the order. However, since the order price is difficult to determine at present, it is common for users to publish multiple orders with different prices for a certain freight demand, thereby reducing the time users wait for the order to be completed, or users wait for the order with a higher price to be completed and then cancel the previously completed order with a lower price.
[0003] Regarding the situation where a user posts multiple orders for a freight demand, the inventor found that it would bring many problems: the first is the problem of resource occupation. Among the multiple orders, only one order is finally traded, and the other orders that have not been traded will inevitably cancel the order release. During the order release period, processing resources, storage resources, network resources, etc. will inevitably be occupied, causing great waste; at the same time, due to the limited resources for order display, it will also affect the user experience of other people who intend to accept the order. Second, some users cancel the previously traded order with a lower price after waiting for the order with a higher price to be traded, which is likely to cause losses to the order-taking user. If the user is blacklisted or restricted from posting orders, these practices will not only fail to fundamentally solve the above problems, but also affect the user experience. Therefore, how to solve the problems of resource occupation, user loss and poor user experience caused by posting multiple orders for the same freight demand is urgently needed. Summary of the invention
[0004] The main purpose of this application is to provide a method and device for processing transport orders based on a mileage-freight rate relationship curve, so as to solve the problems of resource occupation, user loss and poor user experience caused by issuing multiple orders for the same freight demand.
[0005] In order to achieve the above-mentioned purpose, according to the first aspect of the present application, a transportation order processing method based on a mileage-freight rate relationship curve is provided.
[0006] The transportation order processing method based on the mileage freight rate relationship curve according to the present application includes:
[0007] Get multiple orders currently posted by the same user with the same loading location, unloading location, transport model, and delivery time;
[0008] determining the current transportation mileage according to the loading locations and unloading locations of the plurality of orders;
[0009] Obtaining a corresponding relationship curve from a relationship curve database according to the transport vehicle types in the multiple orders, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm;
[0010] Determine a per-kilometer quotation based on the corresponding relationship curve and the current transportation mileage;
[0011] Determine a transportation quotation based on the single kilometer quotation and the current transportation mileage;
[0012] The order with the smallest difference between the order price and the transportation quotation among the multiple orders is retained, and the other orders are cancelled.
[0013] Optionally, the method further includes:
[0014] Determine the mileage characteristics and per-kilometer freight rates in each data set based on the transportation mileage data, per-kilometer freight rates, and transportation vehicle model data in historical orders. Each data set corresponds to a group, and different groups correspond to different transportation vehicle models.
[0015] The mileage characteristics and per-kilometer freight rates in each data set are fitted using a regression algorithm to obtain the relationship curve between the transport mileage and per-kilometer freight rates in each group;
[0016] The corresponding relationship between the transport vehicle model data and the relationship curve is used to establish a relationship curve database.
[0017] Optionally, determining the mileage characteristics and per-kilometer freight rate in each data set according to the transportation mileage data, per-kilometer freight rate data, and transportation vehicle type data in the historical orders includes:
[0018] Obtain the transportation mileage data, per-kilometer freight rate data, and transportation vehicle model data of multiple historical orders;
[0019] Group multiple historical orders by transport type;
[0020] Characterize the transportation mileage in each historical order to generate mileage features;
[0021] A corresponding data set is established according to the group, and the data set contains the mileage characteristics and per-kilometer freight rates of all historical orders in the group.
[0022] Optionally, characterizing the transportation mileage in each historical order to generate mileage features includes:
[0023] Input the transport mileage into a characteristic function to generate the corresponding mileage feature; or
[0024] The transport mileage is input into multiple feature functions to generate multiple initial mileage features, and the multiple initial mileage features are concatenated or calculated to obtain the mileage features corresponding to the transport mileage.
[0025] Optionally, the mileage characteristics and per-kilometer freight rates in each data set are fitted using a regression algorithm to obtain a relationship curve between the transport mileage and per-kilometer freight rates in each group, including:
[0026] The mileage characteristics and per-kilometer freight rates in each data set are fitted according to the ridge regression algorithm or the LASSO regression algorithm to obtain an initial relationship curve between the mileage characteristics and per-kilometer freight rates corresponding to each data set;
[0027] The mileage characteristics on the initial relationship curve are converted into the transportation mileage according to the corresponding relationship between the transportation mileage and the mileage characteristics, so as to obtain a relationship curve between the transportation mileage and the per-kilometer freight rate corresponding to each data set;
[0028] A relationship curve between the transport mileage and the per-kilometer freight rate corresponding to each data set is determined as the relationship curve between the transport mileage and the per-kilometer freight rate in each group.
[0029] In order to achieve the above-mentioned purpose, according to the second aspect of the present application, another method for processing transportation orders based on a mileage-freight rate relationship curve is provided.
[0030] The transportation order processing method based on the mileage freight rate relationship curve according to the present application includes:
[0031] Determine the current transportation mileage based on the loading and unloading locations in the order uploaded by the user;
[0032] According to the transport model in the order, a corresponding relationship curve is obtained from the relationship curve database, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm;
[0033] Obtain a per-kilometer quotation based on the relationship curve corresponding to the transport model and the current transport mileage;
[0034] Obtaining a transportation quotation according to the single kilometer quotation and the current transportation mileage;
[0035] The transport quotation is sent to the user terminal for display to the user.
[0036] In order to achieve the above-mentioned purpose, according to the third aspect of the present application, a transport order processing device based on a mileage-freight rate relationship curve is provided.
[0037] The transport order processing device based on the mileage freight rate relationship curve according to the present application includes:
[0038] The order acquisition module is used to acquire multiple orders with the same loading location, unloading location, transport model, and delivery time among the orders currently issued by the same user;
[0039] A transport mileage determination module, used to determine the current transport mileage according to the loading places and unloading places of the multiple orders;
[0040] A relationship curve determination module, used to obtain a corresponding relationship curve from a relationship curve database according to the transport vehicle types in the multiple orders, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm;
[0041] A single kilometer price determination module, used to determine the single kilometer price according to the corresponding relationship curve and the current transportation mileage;
[0042] A transport quotation determination module, used to determine the transport quotation according to the single kilometer quotation and the current transport mileage;
[0043] The order processing module is used to retain the order with the smallest difference between the order price and the transportation quotation among the multiple orders, and cancel the other orders.
[0044] Optionally, the device further comprises:
[0045] The determination module is used to determine the mileage characteristics and per-kilometer freight rate in each data set based on the transportation mileage data, per-kilometer freight rate data, and transportation vehicle model data in the historical orders. Each data set corresponds to a group, and different groups correspond to different transportation vehicle models;
[0046] The fitting module is used to fit the mileage characteristics and per-kilometer freight rate in each data set using a regression algorithm to obtain a relationship curve between the transport mileage and per-kilometer freight rate in each group;
[0047] A module is established to establish a relationship curve database using the corresponding relationship between the transport vehicle model data and the relationship curve.
[0048] Optionally, the determining module includes:
[0049] An acquisition unit is used to acquire the transportation mileage data, per-kilometer freight rate data, and transportation vehicle model data of multiple historical orders;
[0050] A grouping unit, used to group multiple historical orders by transport type;
[0051] A generating unit, used for characterizing the transportation mileage in each historical order to generate mileage features;
[0052] The establishing unit is used to establish a corresponding data set according to the group, wherein the data set includes the mileage characteristics and per-kilometer freight rates of all historical orders in the group.
[0053] Optionally, the generating unit is used to:
[0054] Input the transport mileage into a characteristic function to generate the corresponding mileage feature; or
[0055] The transport mileage is input into multiple feature functions to generate multiple initial mileage features, and the multiple initial mileage features are concatenated or calculated to obtain the mileage features corresponding to the transport mileage.
[0056] Optionally, the fitting module includes:
[0057] A fitting unit is used to fit the mileage characteristics and the per-kilometer freight rate in each data set according to the ridge regression algorithm or the LASSO regression algorithm to obtain an initial relationship curve between the mileage characteristics and the per-kilometer freight rate corresponding to each data set;
[0058] A conversion unit, configured to convert the mileage characteristics on the initial relationship curve into the transportation mileage according to the corresponding relationship between the transportation mileage and the mileage characteristics, so as to obtain a relationship curve between the transportation mileage and the per-kilometer freight rate corresponding to each data set;
[0059] The determination unit is used to determine a relationship curve between the transport mileage and the per-kilometer freight rate corresponding to each data set as a relationship curve between the transport mileage and the per-kilometer freight rate in each group.
[0060] In order to achieve the above-mentioned purpose, according to the fourth aspect of the present application, another transport order processing device based on the mileage-freight rate relationship curve is provided.
[0061] The transport order processing device based on the mileage freight rate relationship curve according to the present application includes:
[0062] The transport mileage determination module is used to determine the current transport mileage according to the loading and unloading locations in the order uploaded by the user;
[0063] A relationship curve determination module is used to obtain a corresponding relationship curve from a relationship curve database according to the transport vehicle type in the order, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm;
[0064] A per-kilometer quotation determination module, used to obtain a per-kilometer quotation based on a relationship curve corresponding to the transport vehicle type and the current transport mileage;
[0065] A transport quotation determination module, used to obtain a transport quotation according to the single kilometer quotation and the current transport mileage;
[0066] The display module is used to send the transportation quotation to the user terminal so that the user terminal can display it to the user.
[0067] In order to achieve the above-mentioned purpose, according to the fifth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the transportation order processing method based on the mileage-freight rate relationship curve described in any one of the first aspect or the second aspect.
[0068] In order to achieve the above-mentioned purpose, according to the sixth aspect of the present application, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the transport order processing method based on the mileage-freight rate relationship curve as described in any one of the first aspects above.
[0069] In the embodiment of the present application, in the method and device for processing transport orders based on the mileage-freight relationship curve, for multiple orders of the same user, the single-kilometer quotation can be obtained according to the loading place, unloading place, and transport vehicle type of the order through the relationship curve between the transport mileage and the single-kilometer freight rate in the relationship database, and the transport quotation can be further obtained according to the single-kilometer quotation. Then, multiple orders are screened according to the transport quotation, and the order with the smallest difference between the order price and the transport quotation is retained, and other orders are cancelled. Therefore, the number of orders for the same freight demand can be controlled, and the problems of resource occupation, user loss and poor user experience caused by the release of multiple orders for the same freight can be effectively solved. In addition, the relationship curve between the transport mileage and the single-kilometer freight rate in the embodiment of the present application is obtained by fitting the corresponding mileage characteristics and the single-public freight rate in a large number of historical orders through a regression algorithm. Therefore, the single-kilometer transport quotation obtained according to the relationship curve is reasonable, and the order with the smallest difference with the transport quotation is retained, which can achieve a balance between maintaining market order and ensuring the speed of order transaction, and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] The drawings constituting a part of this application are used to provide a further understanding of this application, so that other features, purposes and advantages of this application become more obvious. The schematic embodiment drawings and their descriptions of this application are used to explain this application and do not constitute an improper limitation on this application. In the drawings:
[0071] Figure 1It is a flow chart of a method for processing a transport order based on a mileage-freight-rate relationship curve provided in accordance with an embodiment of the present application;
[0072] Figure 2 It is a flow chart of another method for processing a transport order based on a mileage-freight rate relationship curve provided in accordance with an embodiment of the present application;
[0073] Figure 3 A block diagram of a transport order processing device based on a mileage-freight-rate relationship curve provided in an embodiment of the present application;
[0074] Figure 4 It is a block diagram of another transport order processing device based on a mileage freight rate relationship curve provided in an embodiment of the present application;
[0075] Figure 5 It is a block diagram of another transport order processing device based on the mileage-freight rate relationship curve provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0076] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0077] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0078] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0079] According to an embodiment of the present application, a method for processing a transport order based on a mileage-freight-rate relationship curve is provided, such as Figure 1 As shown, the method comprises the following steps:
[0080] S101. Obtain multiple orders with the same loading location, unloading location, transport type, and delivery time among the orders currently issued by the same user.
[0081] The service backend can search among all orders currently issued by the same user to see whether there are multiple orders with the same loading location, unloading location, transport vehicle type, and delivery time. If so, multiple orders will be obtained.
[0082] S102. Determine the current transportation mileage according to the loading locations and unloading locations of multiple orders.
[0083] If the loading and unloading locations of multiple orders are the same, the current shortest driving route between the two locations can be obtained based on the location information of the loading and unloading locations and by relying on navigation or route planning techniques, and the mileage of the route can be used as the current transportation mileage.
[0084] S103. Obtain corresponding relationship curves from a relationship curve database according to the transport vehicle types in multiple orders.
[0085] The relationship curve database includes relationship curves corresponding to different transport models, so the corresponding relationship curve can be determined according to the transport model. The relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm.
[0086] The relational database is established in advance. The specific process of establishing the relational database is as follows:
[0087] Step 1: Determine the mileage characteristics and per-kilometer freight rate in each data set based on the transportation mileage data, per-kilometer freight rate data, and transportation vehicle model data in historical orders. Each data set corresponds to a group, and different groups correspond to different transportation vehicle models.
[0088] This step is to determine the mileage characteristics and per-kilometer freight rates in each data set. The specific implementation process is as follows:
[0089] Step 11: Obtain the transportation mileage data, per-kilometer freight rate data, and transportation vehicle model data of multiple historical orders;
[0090] Specifically,
[0091] Since the historical order (completed normal transport order) contains all the data about the order, various data of the historical order can be directly obtained from the system or storage device; what is needed here is the transportation mileage data, per-kilometer freight rate data and transportation vehicle model data of the historical order.
[0092] Among them, the transport mileage data refers to the mileage of the vehicle during the actual transportation process, and its value is already in the order. If some orders do not have this value, you can also use the vehicle continuous positioning information recorded in the order to obtain the driving trajectory on the map, and then obtain the transport mileage data based on the trajectory.
[0093] The single-kilometer freight rate data, its value is usually already in the order. If some orders do not have this value, it can also be obtained by dividing the order price by the transportation mileage.
[0094] The transport vehicle model data refers to the vehicle data for transporting the order. The transport vehicle model information may include any one or a combination of the following: vehicle model, vehicle length, and vehicle load limit.
[0095] Step 12: Group multiple historical orders by transport type;
[0096] Specifically,
[0097] Since the transport vehicle model data in multiple historical orders have been obtained before, these historical orders can be grouped according to the transport vehicle model data; for example, these historical orders can be grouped according to vehicle length, or according to vehicle length and vehicle load limit.
[0098] Step 13: Characterize the transportation mileage in each historical order to generate mileage features;
[0099] Since the transportation mileage of each historical order has been obtained before, these transportation mileages can be characterized here to obtain the corresponding mileage features. The specific method can be:
[0100] Method 1:
[0101] Input the transport mileage into a characteristic function to generate the corresponding mileage feature; the characteristic function can be any of the following
[0102] 1)
[0103] 2)
[0104] 3)
[0105] 4)
[0106] In the above formula, x represents the transport mileage, and f is the mileage feature;
[0107] In addition to the above-mentioned characteristic functions, multiple similar functions derived therefrom can also be used to generate mileage characteristics.
[0108] Method 2:
[0109] The transport mileage is input into multiple feature functions to generate multiple initial mileage features, and the multiple initial mileage features are concatenated or calculated to obtain the mileage features corresponding to the transport mileage.
[0110] Among them, multiple feature functions can be any combination of at least two or more of the ones in method one, and each feature function corresponds to an initial mileage feature. "Multiple initial mileage features are spliced or calculated to obtain a mileage feature corresponding to the transport mileage" is specifically: multiple initial mileage features can be spliced to form a vector as a mileage feature. For example: Assuming that the transport mileage of historical order 1 is 300 kilometers, the initial mileage features calculated using formula 1 and formula 3 are 0.003 and 0.058 respectively, and the mileage feature obtained after splicing is [0.003, 0.058]. Multiple initial mileages can also be calculated to obtain mileage features, such as addition and subtraction operations, average operations, etc.
[0111] Step 14: Create a corresponding data set according to the group, which contains the mileage characteristics and per-kilometer freight rates of all historical orders in the group.
[0112] Specifically,
[0113] Since these historical orders have been grouped according to the transport model, a group can contain several historical orders, and the mileage characteristics and per-kilometer freight rate of each historical order have also been obtained before, so a corresponding data set can be established for each group. For example, as shown in Table 1, it is a representation of a data set. It includes order number, mileage characteristics, and per-kilometer freight rate.
[0114] Table 1 Dataset
[0115] Order Number Mileage Features Freight per kilometer 1001 0.003 5 1002 0.005 3 1003 0.002 10 … … …
[0116] For example, as shown in Table 2, it is a representation of another data set, in which only mileage features, per-kilometer freight rates and their corresponding relationships are retained. Initial mileage features X1, initial mileage features X2, and initial mileage features X3 are multiple initial mileage features of an order, and mileage feature X is the mileage feature obtained after splicing.
[0117]
[0118] Step 2: Use regression algorithm to fit the mileage characteristics and per-kilometer freight rate in each data set to obtain the relationship curve between the transportation mileage and per-kilometer freight rate in each group;
[0119] Specifically, since multiple data sets have been obtained according to the grouping, the mileage characteristics and per-kilometer freight rates in each data set can be fitted according to the ridge regression algorithm or the LASSO regression algorithm to obtain an initial relationship curve between the mileage characteristics and the per-kilometer freight rate corresponding to each data set; then, according to the corresponding relationship between the transportation mileage and the mileage characteristics, the mileage characteristics on the initial relationship curve are converted into transportation mileage to obtain a relationship curve between the transportation mileage and the per-kilometer freight rate corresponding to each data set; the relationship curve between the transportation mileage and the per-kilometer freight rate corresponding to each data set is determined as the relationship curve between the transportation mileage and the per-kilometer freight rate in each group. Exemplarily, the horizontal axis corresponding to the relationship curve is the transportation mileage, and the vertical axis is the per-kilometer freight rate.
[0120] It should be noted that, after testing with other historical data, it was found that the relationship curve obtained by the ridge regression algorithm or the LASSO regression algorithm has better results and is more in line with the actual situation; in addition, since the ridge regression algorithm or the LASSO regression algorithm are both existing algorithms, the implementation method of using them to complete data fitting is also existing, so the implementation method of fitting the mileage characteristics and per-kilometer freight rate in each data set according to the ridge regression algorithm or the LASSO regression algorithm will not be described in detail here.
[0121] Step 3: Establish a relationship curve database using the corresponding relationship between the transport vehicle model data and the relationship curve.
[0122] The transport model and the relationship curve of each group obtained above are stored correspondingly to obtain a relationship curve database.
[0123] S104. Determine the price per kilometer based on the corresponding relationship curve and the current transportation mileage.
[0124] After determining the relationship curve corresponding to the transport vehicle type, the transport mileage with the same value can be found from the relationship curve according to the value of the current transport mileage, and then the corresponding per-kilometer freight rate can be determined according to the transport mileage, and the per-kilometer freight rate can be determined as the per-kilometer quotation corresponding to the aforementioned multiple orders.
[0125] S105. Determine the transportation quotation based on the single kilometer quotation and the current transportation mileage.
[0126] Multiply the single kilometer quotation and the current transportation mileage to get the transportation quotation.
[0127] S106. Keep the order with the smallest difference between the order price and the transportation quotation among multiple orders, and cancel the other orders.
[0128] When a user places an order, the order price will be given in each order. The service backend processes multiple orders based on the transportation quotes obtained in the above manner, specifically calculating the difference between each order price and the transportation quote. Based on multiple difference results, the order with the smallest difference between the order price and the transportation quote is retained, and the release of other orders is cancelled, and the cancellation message is returned to the user end to inform the user.
[0129] From the above description, it can be seen that in the method for processing transport orders based on the mileage-freight relationship curve in the embodiment of the present application, for multiple orders of the same user, the single-kilometer quotation can be obtained according to the loading place, unloading place, and transport vehicle type of the order through the relationship curve between the transport mileage and the single-kilometer freight rate in the relationship database, and the transport quotation can be further obtained according to the single-kilometer quotation. Then, multiple orders are screened according to the transport quotation, and the order with the smallest difference between the order price and the transport quotation is retained, and other orders are cancelled. Therefore, the number of orders for the same freight demand can be controlled, and the problems of resource occupation, user loss and poor user experience caused by the release of multiple orders for the same freight can be effectively solved. In addition, the relationship curve between the transport mileage and the single-kilometer freight rate in the embodiment of the present application is obtained by fitting the corresponding mileage characteristics and the single public freight rate in a large number of historical orders through a regression algorithm. Therefore, the single-kilometer transport quotation obtained according to the relationship curve is reasonable, and the order with the smallest difference from the transport quotation is retained, which can achieve a balance between maintaining market order and ensuring the speed of order transaction, and improve the user experience.
[0130] Furthermore, the embodiment of the present application provides another method for processing a transport order based on a mileage-freight-rate relationship curve, such as Figure 2 As shown, the method comprises the following steps:
[0131] S201. Determine the current transportation mileage according to the loading place and unloading place in the order uploaded by the user.
[0132] Specifically, the current shortest driving route between the loading and unloading locations can be obtained based on the location information of the loading and unloading locations by relying on navigation or route planning techniques, and the mileage of the route can be used as the current transportation mileage.
[0133] S202. Obtain a corresponding relationship curve from a relationship curve database according to the transport vehicle type in the order.
[0134] The implementation of this step can refer to Figure 1 The relevant implementation in step S103 will not be repeated here.
[0135] S203. Obtain a per-kilometer quotation based on the relationship curve corresponding to the transport model and the current transport mileage.
[0136] After determining the relationship curve corresponding to the transport vehicle type, the transport mileage with the same value can be found from the relationship curve according to the value of the current transport mileage, and then the corresponding per-kilometer freight rate can be determined according to the transport mileage, and the per-kilometer freight rate can be determined as the per-kilometer quotation corresponding to the aforementioned multiple orders.
[0137] S204. Obtain a transportation quotation based on the single kilometer quotation and the current transportation mileage.
[0138] Multiply the single kilometer quotation and the current transportation mileage to get the transportation quotation.
[0139] S205. Send the transport quotation to the user terminal for display to the user.
[0140] From the above description, it can be seen that in the embodiment of the present application, a transportation quotation can be directly provided to the user based on the loading place, unloading place and transportation vehicle type published by the user. Regardless of whether the user is a user who publishes an order or a user who intends to accept an order, as long as the user requests a transportation quotation, the system can provide a transportation quotation, thereby avoiding the user from publishing multiple orders with different prices for the same transportation demand.
[0141] Finally, the beneficial effects of the transportation order processing method based on the mileage freight rate relationship curve of this application are summarized as follows:
[0142] 1. By judging whether the user has published multiple orders with different prices for the same transportation demand, the order closest to the transportation quotation can be found. In this way, the publication of other orders can be cancelled to reduce resource loss. In addition, because the value of the transportation quotation is the value closest to the price of the order, retaining the publication status of an order with the closest price can achieve a balance between maintaining market order and ensuring the speed of order transaction, thereby improving user experience.
[0143] 2. Quotations can be provided directly to users, regardless of whether the user is the one who places an order or intends to accept an order. As long as the user requests a quotation, the system can provide a quotation to avoid users placing multiple orders for the same transportation demand.
[0144] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0145] According to an embodiment of the present application, there is also provided a method for implementing the above Figure 1 A transport order processing device based on a mileage-freight-rate relationship curve of the method, such as Figure 3 As shown, the device comprises:
[0146] The order acquisition module 31 is used to acquire multiple orders with the same loading location, unloading location, transport type and delivery time among the orders currently issued by the same user;
[0147] A transport mileage determination module 32, configured to determine the current transport mileage according to the loading locations and unloading locations of the plurality of orders;
[0148] A relationship curve determination module 33 is used to obtain a corresponding relationship curve from a relationship curve database according to the transport vehicle types in the multiple orders, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm;
[0149] A single kilometer price determination module 34, used to determine the single kilometer price according to the corresponding relationship curve and the current transportation mileage;
[0150] A transport quotation determination module 35, configured to determine a transport quotation according to the single kilometer quotation and the current transport mileage;
[0151] The order processing module 36 is used to retain the order with the smallest difference between the order price and the transportation quotation among the multiple orders, and cancel the other orders.
[0152] From the above description, it can be seen that in the transport order processing device based on the mileage freight rate relationship curve of the embodiment of the present application, for multiple orders of the same user, the single kilometer quotation can be obtained according to the loading place, unloading place, and transportation model of the order through the relationship curve between the transportation mileage and the single kilometer freight rate in the relationship database, and the transportation quotation can be further obtained according to the single kilometer quotation. Then, multiple orders are screened according to the transportation quotation, and the order with the smallest difference between the order price and the transportation quotation is retained, and other orders are cancelled. Therefore, the number of orders for the same freight demand can be controlled, and the problems of resource occupation, user loss and poor user experience caused by the release of multiple orders for the same freight can be effectively solved. In addition, the relationship curve between the transportation mileage and the single kilometer freight rate in the embodiment of the present application is obtained by fitting the corresponding mileage characteristics and the single public freight rate in a large number of historical orders through a regression algorithm. Therefore, the single kilometer transportation quotation obtained according to the relationship curve is reasonable, and the order with the smallest difference with the transportation quotation is retained, which can achieve a balance between maintaining market order and ensuring the speed of order transaction, and improve the user experience.
[0153] Further, such as Figure 4 As shown, the device also includes:
[0154] A determination module 37 is used to determine the mileage characteristics and per-kilometer freight rate in each data set according to the transportation mileage data, per-kilometer freight rate data, and transportation model data in the historical orders, each data set corresponds to a group, and different groups correspond to different transportation models;
[0155] A fitting module 38 is used to fit the mileage characteristics and the per-kilometer freight rate in each data set using a regression algorithm to obtain a relationship curve between the transport mileage and the per-kilometer freight rate in each group;
[0156] The building module 39 is used to build a relationship curve database by using the corresponding relationship between the transport vehicle type data and the relationship curve.
[0157] Further, such as Figure 4 As shown, the determination module 37 includes:
[0158] An acquisition unit 371 is used to acquire the transportation mileage data, per-kilometer freight rate data and transportation vehicle type data of multiple historical orders;
[0159] A grouping unit 372, for grouping a plurality of historical orders according to a transport vehicle type;
[0160] A generating unit 373, used for characterizing the transportation mileage in each historical order to generate mileage features;
[0161] The establishing unit 374 is used to establish a corresponding data set according to the group, wherein the data set includes the mileage characteristics and per-kilometer freight rates of all historical orders in the group.
[0162] Further, such as Figure 4 As shown, the generating unit 373 is used to:
[0163] Input the transport mileage into a characteristic function to generate the corresponding mileage feature; or
[0164] The transport mileage is input into multiple feature functions to generate multiple initial mileage features, and the multiple initial mileage features are concatenated or calculated to obtain the mileage features corresponding to the transport mileage.
[0165] Further, such as Figure 4 As shown, the fitting module 38 includes:
[0166] The fitting unit 381 is used to fit the mileage characteristics and the per-kilometer freight rate in each data set according to the ridge regression algorithm or the LASSO regression algorithm to obtain an initial relationship curve between the mileage characteristics and the per-kilometer freight rate corresponding to each data set;
[0167] A conversion unit 382, configured to convert the mileage characteristics on the initial relationship curve into the transportation mileage according to the corresponding relationship between the transportation mileage and the mileage characteristics, and obtain a relationship curve between the transportation mileage and the per-kilometer freight rate corresponding to each data set;
[0168] The determination unit 383 is used to determine a relationship curve between the transport mileage and the per-kilometer freight rate corresponding to each data set as a relationship curve between the transport mileage and the per-kilometer freight rate in each group.
[0169] Specifically, the specific process of each unit and module in the device of the embodiment of the present application to realize its function can be found in the relevant description in the method embodiment, which will not be repeated here.
[0170] According to an embodiment of the present application, there is also provided a method for implementing the above Figure 2 A transport order processing device based on a mileage-freight-rate relationship curve of the method, such as Figure 5 As shown, the device comprises:
[0171] The transport mileage determination module 41 is used to determine the current transport mileage according to the loading place and unloading place in the order uploaded by the user terminal;
[0172] A relationship curve determination module 42 is used to obtain a corresponding relationship curve from a relationship curve database according to the transport vehicle type in the order, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm;
[0173] A per-kilometer price determination module 43 is used to obtain a per-kilometer price according to a relationship curve corresponding to the transport vehicle type and the current transport mileage;
[0174] A transport quotation determination module 44, configured to obtain a transport quotation according to the single kilometer quotation and the current transport mileage;
[0175] The display module 45 is used to send the transport quotation to the user terminal so that the user terminal can display it to the user.
[0176] Specifically, the specific process of each unit and module in the device of the embodiment of the present application to realize its function can be found in the relevant description in the method embodiment, which will not be repeated here.
[0177] From the above description, it can be seen that in the embodiment of the present application, a transportation quotation can be directly provided to the user based on the loading place, unloading place and transportation vehicle type published by the user. Regardless of whether the user is a user who publishes an order or a user who intends to accept an order, as long as the user requests a transportation quotation, the system can provide a transportation quotation, thereby avoiding the user from publishing multiple orders with different prices for the same transportation demand.
[0178] According to an embodiment of the present application, a computer-readable storage medium is also provided, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the transportation order processing method based on the mileage-freight rate relationship curve in the above method embodiment.
[0179] According to an embodiment of the present application, an electronic device is also provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the transport order processing method based on the mileage-freight rate relationship curve in the above-mentioned method embodiment.
[0180] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present application is not limited to any specific combination of hardware and software.
[0181] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for processing transport orders based on a mileage-freight-rate relationship curve, characterized in that: The method comprises: Get multiple orders currently posted by the same user with the same loading location, unloading location, transport model, and delivery time; determining the current transportation mileage according to the loading locations and unloading locations of the plurality of orders; A corresponding relationship curve is obtained from a relationship curve database according to the transport vehicle types in the multiple orders, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics and the per-kilometer freight rate corresponding to the historical orders using a regression algorithm. Specifically: the mileage characteristics and the per-kilometer freight rate in each data set are determined according to the transport mileage data, the per-kilometer freight rate data, and the transport vehicle type data in the historical orders, each data set corresponds to a group, and different groups correspond to different transport vehicle types; the mileage characteristics and the per-kilometer freight rate in each data set are fitted using a regression algorithm to obtain a relationship curve between the transport mileage and the per-kilometer freight rate in each group; and a relationship curve database is established using the corresponding relationship between the transport vehicle type data and the relationship curve; Determine a per-kilometer quotation based on the corresponding relationship curve and the current transportation mileage; Determine a transportation quotation based on the single kilometer quotation and the current transportation mileage; The order with the smallest difference between the order price and the transportation quotation among the multiple orders is retained, and the other orders are cancelled.
2. The method for processing transportation orders based on mileage-freight rate relationship curve according to claim 1, characterized in that: Determining the mileage characteristics and per-kilometer freight rate in each data set based on the transportation mileage data, per-kilometer freight rate data, and transportation vehicle model data in the historical orders includes: Obtain the transportation mileage data, per-kilometer freight rate data, and transportation vehicle model data of multiple historical orders; Group multiple historical orders by transport type; Characterize the transportation mileage in each historical order to generate mileage features; A corresponding data set is established according to the group, and the data set contains the mileage characteristics and per-kilometer freight rates of all historical orders in the group.
3. The method for processing transportation orders based on mileage-freight-rate relationship curve according to claim 2, characterized in that: The characterization of the transportation mileage in each historical order to generate mileage features includes: Input the transport mileage into a characteristic function to generate the corresponding mileage feature; or The transport mileage is input into multiple feature functions to generate multiple initial mileage features, and the multiple initial mileage features are concatenated or calculated to obtain the mileage features corresponding to the transport mileage.
4. The method for processing transportation orders based on mileage-freight rate relationship curve according to claim 1, characterized in that: The mileage characteristics and per kilometer freight rate in each data set are fitted using a regression algorithm to obtain a relationship curve between the transport mileage and per kilometer freight rate in each group, including: The mileage characteristics and per-kilometer freight rates in each data set are fitted according to the ridge regression algorithm or the LASSO regression algorithm to obtain an initial relationship curve between the mileage characteristics and per-kilometer freight rates corresponding to each data set; The mileage characteristics on the initial relationship curve are converted into the transportation mileage according to the corresponding relationship between the transportation mileage and the mileage characteristics, so as to obtain a relationship curve between the transportation mileage and the per-kilometer freight rate corresponding to each data set; A relationship curve between the transport mileage and the per-kilometer freight rate corresponding to each data set is determined as the relationship curve between the transport mileage and the per-kilometer freight rate in each group.
5. A method for processing a transport order based on a mileage-freight rate relationship curve, the method comprising: Determine the current transportation mileage based on the loading and unloading locations in the order uploaded by the user; A corresponding relationship curve is obtained from a relationship curve database according to the transport vehicle type in the order. The relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics and the per-kilometer freight rate corresponding to the historical orders using a regression algorithm. Specifically: the mileage characteristics and the per-kilometer freight rate in each data set are determined according to the transport mileage data, the per-kilometer freight rate data, and the transport vehicle type data in the historical orders. Each data set corresponds to a group, and different groups correspond to different transport vehicle types; the mileage characteristics and the per-kilometer freight rate in each data set are fitted using a regression algorithm to obtain a relationship curve between the transport mileage and the per-kilometer freight rate in each group; Establish a relationship curve database using the corresponding relationship between the transport model data and the relationship curve; Obtain a per-kilometer quotation based on the relationship curve corresponding to the transport model and the current transport mileage; Obtaining a transportation quotation according to the single kilometer quotation and the current transportation mileage; The transport quotation is sent to the user terminal for display to the user.
6. A transport order processing device based on a mileage-freight rate relationship curve, characterized in that: The device comprises: The order acquisition module is used to acquire multiple orders with the same loading location, unloading location, transport model, and delivery time among the orders currently issued by the same user; A transport mileage determination module, used to determine the current transport mileage according to the loading places and unloading places of the multiple orders; A relationship curve determination module is used to obtain a corresponding relationship curve from a relationship curve database according to the transport vehicle types in the multiple orders, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics and the per-kilometer freight rate corresponding to the historical orders using a regression algorithm. Specifically: the mileage characteristics and the per-kilometer freight rate in each data set are determined according to the transport mileage data, the per-kilometer freight rate data, and the transport vehicle type data in the historical orders, wherein each data set corresponds to a group, and different groups correspond to different transport vehicle types; the mileage characteristics and the per-kilometer freight rate in each data set are fitted using a regression algorithm to obtain a relationship curve between the transport mileage and the per-kilometer freight rate in each group; and a relationship curve database is established using the corresponding relationship between the transport vehicle type data and the relationship curve; A single kilometer price determination module, used to determine the single kilometer price according to the corresponding relationship curve and the current transportation mileage; A transport quotation determination module, used to determine the transport quotation according to the single kilometer quotation and the current transport mileage; The order processing module is used to retain the order with the smallest difference between the order price and the transportation quotation among the multiple orders, and cancel the other orders.
7. A transport order processing device based on a mileage freight rate relationship curve, characterized in that: The device comprises: The transport mileage determination module is used to determine the current transport mileage according to the loading and unloading locations in the order uploaded by the user; A relationship curve determination module is used to obtain a corresponding relationship curve from a relationship curve database according to the transport vehicle type in the order, wherein the relationship curve is a relationship curve between the transport mileage and the per-kilometer freight rate obtained by fitting the mileage characteristics corresponding to the historical orders and the per-kilometer freight rate using a regression algorithm; A per-kilometer quotation determination module, used to obtain a per-kilometer quotation based on a relationship curve corresponding to the transport vehicle type and the current transport mileage; A transport quotation determination module, used to obtain a transport quotation according to the single kilometer quotation and the current transport mileage; The display module is used to send the transportation quotation to the user terminal so that the user terminal can display it to the user.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the transportation order processing method based on the mileage-freight rate relationship curve as described in any one of claims 1 to 5.
9. An electronic device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor executes the transportation order processing method based on the mileage-freight rate relationship curve as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Inquiry service flow management method used for logistics industry
CN104835030A
Duplicate removal method and system for order form
CN108665348A