CN114693198A - Order processing method, device, equipment and storage medium by using inter-provincial information - Google Patents

Order processing method, device, equipment and storage medium by using inter-provincial information Download PDF

Info

Publication number
CN114693198A
CN114693198A CN202011612598.1A CN202011612598A CN114693198A CN 114693198 A CN114693198 A CN 114693198A CN 202011612598 A CN202011612598 A CN 202011612598A CN 114693198 A CN114693198 A CN 114693198A
Authority
CN
China
Prior art keywords
provincial
inter
distance
quotation
orders
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011612598.1A
Other languages
Chinese (zh)
Inventor
陈凯
赵仁省
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Fuyou Online E Commerce Co ltd
Original Assignee
Nanjing Fuyou Online E Commerce Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Fuyou Online E Commerce Co ltd filed Critical Nanjing Fuyou Online E Commerce Co ltd
Priority to CN202011612598.1A priority Critical patent/CN114693198A/en
Publication of CN114693198A publication Critical patent/CN114693198A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0611Request for offers or quotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Human Resources & Organizations (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method, a device, equipment and a storage medium for order processing by using inter-provincial information. The method comprises the steps of obtaining a plurality of orders with the same origin, destination, transportation vehicle type and delivery time in the orders currently issued by the same user, obtaining the quotation information of the orders according to the information by combining a relation curve database and an inter-provincial quotation table, screening the orders by using the quotation information, reserving the order with the minimum difference between the price of the order and the quotation information in the orders, and canceling other orders. The method and the device solve the problems of resource occupation, user loss and poor user experience caused by the fact that a plurality of orders are issued according to the same freight transportation requirement.

Description

Order processing method, device, equipment and storage medium by using inter-provincial information
Technical Field
The present application relates to the field of logistics technologies, and in particular, to an order processing method, apparatus, device, and storage medium using provincial information.
Background
At present, in the field of logistics, particularly in the field of truck freight, due to the characteristics of truck freight, the transport distance is generally long, so that the price of an order is restrained by factors such as seasons, geography and weather, and the price of the order is difficult to determine. At present, a platform for order information distribution exists in a network, and a user can distribute own order information on the platform and wait for other users to receive orders. However, at present, the price of an order is difficult to determine, so that a user often issues a plurality of orders with different prices according to a certain freight transportation requirement of the user, and further, the time for the user to wait for the order to be filled is reduced, or the user cancels the previously filled order with a lower price after waiting for the order with a higher price to be filled.
For the case that a user issues multiple orders for a shipping requirement, the inventor finds that many problems arise: one is the problem of resource occupation, only one order in a plurality of orders is finally committed, and other orders which are not committed inevitably cancel the issuance of the order at last, so that processing resources, storage resources, network resources and the like are inevitably occupied during the issuance of the order, and great waste is caused; meanwhile, due to the limited resources of the order display, the experience of other users intending to receive orders can be influenced. Secondly, some users cancel the previously committed orders with lower price after waiting for the orders with higher price to commit, which may cause loss to the order receiving users. If the user is pulled into the blacklist or the user is restricted from issuing an order, these approaches cannot not only 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 the issue of multiple orders for the same freight transportation requirement is urgently needed to be solved.
Disclosure of Invention
The main objective of the present application is to provide an order processing method using provincial information, so as to solve the problems of resource occupation, user loss and poor user experience caused by issuing multiple orders for the same freight transportation requirement.
In order to achieve the above object, according to a first aspect of the present application, there is provided an order processing method using provincial information, comprising: acquiring a plurality of orders with the same origin, destination, transport vehicle type and delivery time in the orders currently issued by the same user; obtaining a first distance according to the origins and the destinations of the orders; obtaining a target basic line and a second distance according to the starting places, the destinations and the transportation vehicle types of the orders; obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the orders; obtaining a first quote according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; obtaining a third quotation according to the target basic line and the provincial quotation table; dividing the product of the first offer and the third offer by the second offer to obtain a fourth offer; taking the product of the fourth price quote and the first distance as a quote; and reserving one order with the order price closest to the quoted price in the plurality of orders, and canceling the release of other orders.
Further, the method further comprises: and establishing an inter-provincial quotation table according to the starting place, the destination, the transportation vehicle type, the inter-provincial routes of the transportation routes and the single-kilometer freight rate of the inter-provincial routes in the historical orders.
Further, the establishing of the inter-provincial quotation table according to the origin, the destination, the transportation vehicle type, the inter-provincial routes of the transportation routes and the single-kilometer freight rate of the inter-provincial routes in the historical orders comprises: obtaining a plurality of historical orders, and grouping the historical orders according to the starting place and the destination of each line in a road transportation line table and by combining transportation vehicle types, wherein each group corresponds to a basic line; determining the order quantity, the mean value of the transport distance and the freight rate per kilometer corresponding to each basic line according to the historical orders in each group; determining all inter-provincial routes corresponding to each basic route according to the transport vehicle type, the origin and the destination of the basic routes; calculating the average value difference of the transportation distance, the distance difference of the origin and the distance difference of the destination between each inter-provincial line and the corresponding basic line; obtaining inter-provincial weighted distance difference of each inter-provincial line according to the distance difference of the origin, the distance difference of the destination, the mean difference of the transportation distances and the weight of the mean difference, and calculating inter-provincial distance weight coefficients of each inter-provincial line according to the inter-provincial weighted distance difference; calculating the inter-provincial order confidence coefficient of each inter-provincial line according to the historical order number corresponding to each inter-provincial line; obtaining an inter-provincial coefficient of each inter-provincial line according to the inter-provincial distance weight coefficient and the inter-provincial order confidence coefficient of each inter-provincial line; obtaining the single-kilometer quoted price of each basic line according to the inter-provincial coefficient of the inter-provincial line and the single-kilometer running price; and establishing an inter-provincial quotation table according to the corresponding relation between each basic line and the single-kilometer quotation.
Further, the method further comprises: and establishing a relational curve database according to the transport mileage, the single-kilometer freight rate and the transport vehicle type in the historical order.
Further, the establishing a relational database according to the transportation mileage, the single-kilometer transportation price and the transportation vehicle type in the historical order includes: determining the mileage characteristics and the single-kilometer freight rate in each data set according to the transport mileage data, the single-kilometer freight rate data and the transport vehicle type data in the historical order, wherein each data set corresponds to one group, and different groups correspond to different transport vehicle types; fitting the mileage characteristics and the single-kilometer freight rate in each data set by using a regression algorithm to obtain a relation curve between the transport mileage and the single-kilometer freight rate in each group; and establishing a relation curve database by utilizing the corresponding relation between the transportation vehicle type data and the relation curve.
According to a second aspect of the present application, there is provided an order processing method using inter-provincial information, comprising: acquiring an origin, a destination and a transportation vehicle type uploaded by a user side; obtaining a first distance according to the origin and the destination; obtaining a target basic route and a second distance according to the origin, the destination and the type of the transportation vehicle; obtaining a corresponding relation curve from a relation curve database according to the transport vehicle type; obtaining a first quote according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; obtaining a third quotation according to the target basic line and the provincial quotation table; dividing the product of the first offer and the third offer by the second offer to obtain a fourth offer; taking the product of the fourth price quote and the first distance as a quote; and sending the quotation to the user side, and displaying the quotation for the user by the user side.
According to a third aspect of the present application, there is provided an order processing apparatus using inter-provincial information, the apparatus including: the order acquisition module is used for acquiring a plurality of orders with the same origin, destination, transport vehicle type and delivery time in the orders currently issued by the same user. A distance determination module for obtaining a first distance according to the origins and the destinations of the orders; obtaining a target basic line and a second distance according to the starting places, the destinations and the transportation vehicle types of the orders; and obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the orders. The single-kilometer freight rate determining module is used for obtaining a first quoted price according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; and obtaining a third quotation according to the target basic line and the provincial quotation table. The quotation determining module is used for dividing the product of the first quotation and the third quotation by the second quotation to obtain a fourth quotation; and taking the product of the fourth price quote and the first distance as the price quote. And the order processing module is used for reserving one order with the order price closest to the quoted price in the orders and canceling the release of other orders.
According to a fourth aspect of the present application, there is provided an order processing apparatus using inter-provincial information, the apparatus comprising: the acquisition module is used for acquiring an origin, a destination and a transportation vehicle type uploaded by a user side; the distance module is used for obtaining a first distance according to the origin and the destination; obtaining a target basic route and a second distance according to the origin, the destination and the type of the transportation vehicle; obtaining a corresponding relation curve from a relation curve database according to the type of the transportation vehicle; the freight rate module is used for obtaining a first quote according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; obtaining a third quotation according to the target basic line and the provincial quotation table; the quotation module is used for dividing the product of the first quotation and the third quotation by the second quotation to obtain a fourth quotation; taking the product of the fourth price quote and the first distance as a quote; and the display module is used for sending the quotation to the user side, and the user side displays the quotation for the user.
In the embodiment of the application, in the order method and the device using the provincial information, for a plurality of orders of the same user, the quotation information of the plurality of orders can be obtained according to the information by combining the relational curve database and the provincial quotation table, then the plurality of orders are screened by using the quotation information, one order with the minimum difference between the order price and the quotation information in the plurality of orders is reserved, and other orders are cancelled. Therefore, the order quantity of the same freight requirement can be controlled, and the problems of resource occupation, user loss and poor user experience caused by the fact that a plurality of orders are issued by the same freight can be effectively solved. In addition, the corresponding relation between the basic line and the single-kilometer quoted price in the embodiment of the application is obtained by calculation according to the provincial line corresponding to the historical orders and the single-kilometer running price, so that the single-kilometer transportation quoted price obtained according to the provincial quotation table is reasonable, the order with the minimum difference value with the transportation quoted price is reserved, the market order can be maintained, the order transaction speed can be balanced, and the user experience is improved. In addition, because the corresponding relation between the basic line and the single-kilometer quoted price is calculated according to the provincial line corresponding to the historical orders and the single-kilometer freight price thereof, even if the historical orders on the transportation line of the orders are few or no historical orders, the more accurate quoted price can be provided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and the description of the exemplary embodiments of the present application are provided for explaining the present application and do not constitute an undue limitation on the present application. In the drawings:
FIG. 1 is a flow chart of a method for order processing using inter-provincial information according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for order processing using inter-provincial information according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a logistics order information processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a logistics order information processing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
The present application provides a method for processing a logistics order, which is shown in the flow chart of a method for processing logistics order information shown in fig. 1; the method comprises the following steps:
acquiring a plurality of orders with the same origin, destination, transport vehicle type and delivery time in the orders currently issued by the same user;
obtaining a first distance according to the origins and the destinations of the orders;
obtaining a target basic line and a second distance according to the starting places, the destinations and the transportation vehicle types of the orders;
obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the orders;
obtaining a first quote according to the relation curve and the first distance;
obtaining a second price according to the relation curve and the second distance;
obtaining a third quotation according to the target basic line and the provincial quotation table;
dividing the product of the first quote and the third quote by the second quote to obtain a fourth quote;
taking the product of the fourth price quote and the first distance as a quote;
and reserving one order with the order price closest to the quoted price in the plurality of orders, and canceling the release of other orders.
For better understanding, the following further description is provided:
s101, a plurality of orders with the same origin, destination, transport vehicle type and delivery time in the current issued orders of the same user are obtained.
The execution equipment such as the server or the background system can judge whether a plurality of orders with the same origin, destination, transport vehicle type and delivery time exist in each order currently issued by the same user, and if so, the plurality of orders are obtained; wherein, a plurality of orders refers to two or more orders.
S102, obtaining a first distance according to the origins and the destinations of the orders; obtaining a target basic line and a second distance according to the starting places, the destinations and the transportation vehicle types of the orders; and obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the orders.
Obtaining a first distance according to the origins and the destinations of the orders, wherein the first distance is the distance of the shortest travel path between the origins and the destinations of the orders; more specifically, since the origin and the destination of the orders are the same, the position information of the origin and the destination can be obtained, and then the current shortest driving path between the two places can be obtained by means of navigation, route planning and other technologies, and the distance of the path is taken as the first distance.
Obtaining the target basic route according to the origin, the destination and the transportation vehicle type of the plurality of orders, which may be to determine one target basic route, that is, the target basic route corresponding to the plurality of orders, according to the origin, the destination and the transportation vehicle type, for example, assuming that the origin in the plurality of orders is wu luqi, the destination is hangzhou, and the transportation vehicle type is 16.5 m high column, the target basic route is: Wulumuqi-Hangzhou, 16.5 m high hurdle.
The second distance may be obtained according to the origin, the destination, and the transportation vehicle type of the multiple orders, and a target basic route may be determined according to the origin, the destination, and the transportation vehicle type, a plurality of corresponding historical orders (i.e., historical orders with the same origin, destination, and transportation vehicle type) may be obtained according to the target basic route, and a transportation distance average of the plurality of historical orders is used as the second distance. For example, assuming that the origin of the orders is Wuluoqio, the destination is Hangzhou, and the vehicle type is 16.5 m high column, the target base line is: in a Wuluqizi-Hangzhou 16.5 m high column, a plurality of corresponding historical orders can be obtained according to a target basic line, the respective transportation distances of the historical orders are obtained, and then the average value of the transportation distances is used as a second distance; it should be noted that the process of acquiring the second distance is the same as the process of acquiring the mean value of the transportation distance of the basic route in the inter-provincial quotation table, so that the process can also directly utilize the mean value of the transportation distance of the basic route in the inter-provincial quotation table; in addition, the inter-provincial quotation tables and the establishment thereof will be described later.
Obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the plurality of orders, wherein the relation curve corresponding to the transportation vehicle types can be selected from the relation curve database according to the transportation vehicle types of the plurality of orders; it should be noted that there are multiple relationship curves in the relationship curve database, each transportation vehicle type corresponds to one transportation vehicle type, each relationship curve has a corresponding relationship between distance and price, and the relationship curve database and the establishment process thereof will be described later.
S103, obtaining a first quote according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; and obtaining a third quotation according to the target basic line and the provincial quotation table.
The first offer is obtained according to the relationship curve and the first distance, and may be that, according to the correspondence between the distance on the relationship curve and the single-kilometer freight rate, a single-kilometer freight rate corresponding to the first distance is obtained, and the single-kilometer freight rate is used as the first offer.
And obtaining a second offer according to the relationship curve and the second distance, wherein the single-kilometer running price corresponding to the second distance can be obtained according to the corresponding relationship between the distance on the relationship curve and the single-kilometer running price, and the single-kilometer running price is used as the second offer.
And obtaining a third quote according to the target basic line and the province quote table, wherein the basic line with the same transport vehicle type, origin and destination in the province quote table is determined by using the transport vehicle type, origin and destination in the target basic line, and the third quote corresponding to the target basic line is obtained by combining the corresponding relation between the basic line and the single kilometer quote. Since the target basic route has been determined before, and the target basic route can be corresponded to the basic route in the inter-provincial quotation table by the same vehicle type, origin and destination, and the inter-provincial quotation table has the corresponding relationship between the basic route and the single-kilometer quotation, the corresponding relationship between the target basic route and the single-kilometer quotation is obtained, and the third freight rate corresponding to the target basic route is obtained.
S104, dividing the product of the first quote and the third quote by the second quote to obtain a fourth quote; and taking the product of the fourth price quote and the first distance as the price quote.
Which may be a mixture of at least one of,
Figure BDA0002870169920000081
the fourth price x the first distance
S105, one order with the price closest to the price of the quoted price in the orders is reserved, and the release of other orders is cancelled.
When a user issues an order, the order price is given in each order. And the service background processes a plurality of orders according to the transportation quotation obtained in the mode, specifically, the difference value between the price of each order and the transportation quotation is respectively calculated, the order with the minimum difference value between the price of the order and the transportation quotation is finally reserved according to a plurality of difference value results, the issuing of other orders is cancelled, and the cancelling message is returned to the user side so as to inform the user.
The method for establishing the relational curve database is described below.
The relational curve database is established according to the transport distance, the single-kilometer freight rate and the transport vehicle type in the historical order. The relational curve database comprises the corresponding relational curves of different transportation vehicle types, so that the corresponding relational curves can be determined according to the transportation vehicle types. And the relation curve is a relation curve between the transportation distance and the single-kilometer freight rate, which is obtained by fitting the distance characteristics corresponding to the historical orders and the single-kilometer freight rate by using a regression algorithm.
The relational database is established in advance, and needs to be established before the process of obtaining the corresponding relational curve from the relational curve database according to the transportation vehicle types of the orders is completed, wherein the specific establishment flow of the relational database is as follows:
step a 1: and determining the distance characteristic and the single-kilometer freight rate in each data set according to the transport distance data, the single-kilometer freight rate data and the transport vehicle type data in the historical order, wherein each data set corresponds to one group, and different groups correspond to different transport vehicle types.
The step is to determine the distance characteristics and the single-kilometer freight rate in each data set, and the specific implementation flow is as follows:
step a 11: acquiring transportation distance data, single-kilometer freight rate data and transportation vehicle type data of a plurality of historical orders;
in particular, the method comprises the following steps of,
since all data about the historical order (completed normal transportation order) is contained in the historical order, various data of the historical order can be directly obtained from a system or a storage device; what is needed here is historical order haul distance data, single kilometer rate data, and haul vehicle type data.
The transport distance data is the travel distance of the vehicle in the actual transport process, the numerical value of the transport distance data is the existing numerical value in the order, if some orders do not have the numerical value, the travel track can be obtained on the map by using the vehicle continuous positioning information recorded in the order, and then the transport distance data is obtained according to the track.
The value of the single kilometer freight rate data is typically already in the order, and if not already in some orders, can be obtained by dividing the order price by the transport distance.
The transportation vehicle type data is vehicle data for carrying the order, and the transportation vehicle type information may include any one or a combination of the following: vehicle model, vehicle length, vehicle upper load limit.
Step a 12: grouping a plurality of historical orders according to transport vehicle types;
in particular, the method comprises the following steps of,
since the transportation vehicle type data in a plurality of historical orders are obtained before, the historical orders can be grouped according to the transportation vehicle type data; such as grouping the historical orders by vehicle length or by vehicle length and upper vehicle load limit.
Step a 13: characterizing the transport distance in each historical order to generate distance features;
since the shipping distances in each historical order have been previously obtained, these shipping distances may be characterized to obtain corresponding distance characteristics. The specific method can be as follows:
the method comprises the following steps:
inputting the transport distance into a feature function to generate corresponding distance features; wherein the characteristic function can be any one of the following
1)
Figure BDA0002870169920000101
2)
Figure BDA0002870169920000102
3)
Figure BDA0002870169920000103
4)
Figure BDA0002870169920000104
In the above formula, x represents the transport distance, and f is the distance characteristic;
in addition to the above-described feature functions, a derived plurality of similar functions may be utilized to generate distance features.
The second method comprises the following steps:
and inputting the transport distance into a plurality of characteristic functions to generate a plurality of initial distance characteristics, and splicing or calculating the plurality of initial distance characteristics to obtain the distance characteristics corresponding to the transport distance.
The plurality of feature functions may be any combination of at least two of the first method, and each feature function obtains an initial distance feature. The specific steps of splicing or calculating the plurality of initial distance features to obtain the distance features corresponding to the transportation distance are as follows: multiple initial distance features may be stitched to form a vector as the distance feature. The following are exemplary: assuming that the transport distance of the historical order 1 is 300 km, the initial distance characteristics calculated by using formula 1 and formula 3 are 0.003 and 0.058, respectively, and the distance characteristics obtained after splicing are [0.003,0.058 ]. The distance features may also be obtained by performing operations on a plurality of initial distances, such as addition and subtraction operations, averaging operations, and the like.
Step a 14: and establishing a corresponding data set according to the group, wherein the data set comprises the distance characteristics and the single-kilometer freight rate of all historical orders in the group.
In particular, the method comprises the following steps of,
since these historical orders have been grouped according to the type of transportation vehicle, a group may include several historical orders, and the distance characteristics and the single kilometer freight rate of each historical order have also been obtained before, a corresponding data set may be established for each group. Illustratively, as shown in Table 1, is a representation of a data set. Including order number, distance characteristics, single kilometer freight rate.
TABLE 1 data set
Order numbering Distance feature Freight rate per kilometer
1001 0.003 5
1002 0.005 3
1003 0.002 10
For example, as shown in table 2, as another data set representation, only the distance feature, the single-kilometer freight rate and their corresponding relations are kept, the initial distance feature X1, the initial distance feature X2 and the initial distance feature X3 are multiple initial distance features of one order, and the distance feature X is a distance feature obtained after splicing.
Figure BDA0002870169920000111
Figure BDA0002870169920000121
Step a 2: fitting the distance characteristics and the single-kilometer freight rate in each data set by using a regression algorithm to obtain a relation curve between the transport distance and the single-kilometer freight rate in each group;
specifically, since a plurality of data sets are obtained by grouping, the distance features and the single-kilometer freight rate in each data set can be fitted according to a ridge regression algorithm or a LASSO regression algorithm to obtain an initial relationship curve of the distance features and the single-kilometer freight rate corresponding to each data set; then, converting the distance characteristics on the initial relation curve into the transportation distance according to the corresponding relation between the transportation distance and the distance characteristics to obtain a relation curve between the transportation distance and the single-kilometer freight rate corresponding to each data set; and determining a relation curve between the transportation distance and the single-kilometer freight rate corresponding to each data set as a relation curve between the transportation distance and the single-kilometer freight rate in each group. Illustratively, the abscissa of the relationship curve corresponds to the transport distance, and the ordinate corresponds to the single kilometer freight rate.
It should be noted that, after testing is performed by using other historical data, it is found that the relationship curve obtained by the ridge regression algorithm or the LASSO regression algorithm has a better effect, and the obtained relationship curve is more in line with the actual situation; in addition, since both the ridge regression algorithm and the LASSO regression algorithm are existing algorithms, and an implementation manner of using the ridge regression algorithm or the LASSO regression algorithm to perform data fitting is also existing, an implementation manner of fitting the distance features and the single-kilometer freight rate in each data set according to the ridge regression algorithm or the LASSO regression algorithm is not described in detail here.
Step a 3: and establishing a relation curve database by utilizing the corresponding relation between the transportation vehicle type data and the relation curve.
And correspondingly storing the transportation vehicle type and the obtained relation curve of each group to obtain a relation curve database.
The method of establishing the inter-provincial quotation table will be described below.
The provincial quotation table at least comprises each basic line and the corresponding single-kilometer running price; the inter-provincial quotation tables are required to be established in advance, before the process of obtaining the third single-kilometer freight rate according to the target basic line and the inter-provincial quotation tables is required, and also before the process of obtaining the target basic line and the second distance according to the origins, the destinations and the transportation vehicle types of the plurality of orders is completed. The provincial quotation tables are established according to the origin, the destination, the transportation vehicle type, the provincial routes of the transportation routes (or the target basic routes) and the single-kilometer freight rates of the provincial routes in the historical orders. The specific establishment process is as follows:
step b 1: obtaining a plurality of historical orders, and grouping the historical orders according to the starting place and the destination of each line in a road transportation line table and by combining transportation vehicle types, wherein each group corresponds to a basic line;
specifically, in order to establish a model capable of accurately providing all road transportation route offers, it is first necessary to specify which of the road transportation routes are available, and a transportation route table, specifically, a national road transportation route table (the national road transportation route table includes all available road transportation routes, such as uniu-hangzhou, eichun-hui, and the like) is used to determine the road transportation routes.
The historical orders and the various information contained therein (e.g., origin, destination, shipping distance, shipping vehicle type, order price, etc.) may then be retrieved from the system and storage device. All historical orders can be acquired, or historical orders generated in a certain time or in a certain time in the history can be acquired, and the acquisition mode is not limited here. The historical orders are grouped after being acquired, and because various information in the historical orders is acquired before, the origin and the destination of each line in a transportation line table are required to be compared with the origin and the destination in the historical orders, and the transportation vehicle type is required to be compared with the transportation vehicle type in the historical orders, so that the historical orders are grouped; that is, historical orders are grouped by origin, destination and vehicle type, thus forming a plurality of groups containing historical orders. The purpose of the grouping is to complete the quote later, i.e. to give a quote on a transport route for one vehicle type. In addition, each group corresponds to a basic line, which is set for convenience of calculation and explanation later, and if the origin is wu-chu, the destination is hangzhou, and the vehicle type is 16.5 m high column, the basic line can be expressed as: Wulumuqi-Hangzhou, 16.5 m high hurdle.
The transportation vehicle type is vehicle data for carrying the order, and the transportation vehicle type information may include any one or a combination of the following: 1) the vehicle model; 2) a vehicle length; 3) upper limit of vehicle load. It should be noted that the vehicle type information is considered in the grouping because the transportation distance between the same origin and destination of different vehicle types is likely to be greatly different due to geographical factors, and the quotation process needs to be adjusted accordingly.
Step b 2: determining the number of orders, the average value of the transportation distance and the single-kilometer freight rate corresponding to each basic line according to the historical orders in each group;
specifically, since the historical orders in each group are determined in step 1, and each group and each basic line are also in one-to-one correspondence, the order quantity, the average transportation distance value and the single kilometer freight rate corresponding to each basic line can be obtained according to the historical order data in the group;
it should be noted that the order quantity is the quantity of the historical orders in the group;
the mean transportation distance is obtained by dividing the sum of the transportation distances of all historical orders in the group by the number of orders. The transport distance is the travel distance of the vehicle in the actual transport process, the numerical value of the transport distance is the existing numerical value in the order, if some orders do not have the numerical value, the travel track can be obtained on the map by using the vehicle continuous positioning information recorded in the order, and then the transport distance is obtained according to the track.
The freight rate per kilometer needs to be obtained through calculation, and the embodiment provides a calculation method, wherein a specific calculation formula is as follows:
Figure BDA0002870169920000141
where n represents the historical order quantity within the group; omeganThe weight is expressed, and the value of the weight decreases with the increase of the difference between the historical order transaction date and the current date (i.e. the number of days between the historical order transaction date and the current date), and specifically can be
Figure BDA0002870169920000142
pnThe value of the kilometer shipping rate of a historical order in the group can be obtained by dividing the order price of the historical order by the shipping distance of the historical order.
Step b 3: determining all inter-provincial routes corresponding to each basic route according to the transport vehicle type, the origin and the destination of the basic routes;
specifically, since the origin and destination of the base line are known, the inter-provincial line can be determined from the origin and destination of the base line. The inter-provincial route in this embodiment may be the following four cases:
the first type is a line with the same transportation vehicle type and the same origin and destination, and only one line is provided; the following are exemplary: if the basic circuit is Wuluqizi-Hangzhou, the inter-provincial circuit can only be Wuluqizi-Hangzhou;
the second type is a route with the same transportation vehicle type, the same origin and different destinations, and the destinations need to be located in the same provincial administrative district; there may be multiple such lines; the following are exemplary: if the basic line is Wuluqin-Hangzhou, because Hangzhou is in Zhejiang province, other places in Zhejiang province can be used as destinations, so the inter-province line can be Wuluqin-Shaoxing, Wuluqin-Wenzhou, and the like;
thirdly, the routes are the same in transportation vehicle type, different in origin and same in destination, and the origin needs to be located in the same provincial administrative area; there may be multiple such lines; the following are exemplary: if the basic line is Wulu wood qi-Hangzhou, because Wulu wood qi is in Xinjiang Uygur autonomous region, other places of Xinjiang Uygur autonomous region can be used as the initial place, so the provincial line can be Clarity-Hangzhou, Turpan-Hangzhou, etc.;
fourthly, the routes are the same in transportation vehicle type and different in origin and destination, the origin position needs to be located in the same provincial administrative district, the destination needs to be located in the same provincial administrative district, and multiple routes may exist; the following are exemplary: if the basic line is Wuluqizi-Hangzhou, because Wuluqizi is in Xinjiang Uygur autonomous region, other places in Xinjiang Uygur autonomous region can be used as the starting place, and because Hangzhou is in Zhejiang province, other places in Zhejiang province can be used as the destination, so the inter-province line can be Crayi-Shaoxing, Turpan-Wenzhou, and the like.
It should be noted that in the above four cases, the transportation vehicle types of the basic line and the provincial line are the same, and for convenience of description, the transportation vehicle types are omitted in the example, that is, the basic line is wu qi-hangzhou and 16.5 m high fence originally, and is only written as wu qi-hangzhou, and the provincial line is craly-shaxing and 16.5 m high fence originally, and is only written as cray-shaxing here; the same is true in the following examples.
For the determination of the inter-provincial route, a manner is given in this embodiment, which is specifically as follows:
firstly, acquiring all inter-provincial origins according to the origins of the basic lines and the provincial administrative districts where the basic lines are located;
specifically, a provincial administrative district where the origin of the basic line is located is determined, and then other places which are located in the same provincial administrative district with the origin of the basic line are determined as inter-provincial origins by division of the provincial administrative districts; to facilitate data acquisition and subsequent calculations, other origins within the national highway transit line table in the same provincial administrative district as the origin of the base line may also be determined as inter-provincial origins.
Secondly, acquiring all inter-provincial destinations according to the destination of the basic line and the provincial administrative district where the basic line is located;
specifically, a provincial administrative district where the destination of the basic line is located is determined, and then other places in the same provincial administrative district as the destination of the basic line are determined as inter-provincial destinations by dividing the provincial administrative district; for convenience of data acquisition and subsequent calculation, other destinations within the national highway transportation line table in the same provincial administrative district as the destination of the base line may be determined as inter-provincial destinations.
And finally, matching the inter-provincial origin and the inter-provincial destination one by one, and traversing to obtain all inter-provincial routes.
And matching all the inter-provincial origins and all the inter-provincial destinations acquired in the previous step one by one, and traversing all matching results to obtain all inter-provincial routes.
Step b 4: calculating the average value difference of the transportation distance, the distance difference of the origin and the distance difference of the destination between each inter-provincial line and the corresponding basic line;
since all the inter-provincial lines corresponding to the basic line are determined before, the average value difference of the transportation distance between each inter-provincial line and the basic line can be calculated; if the basic line is Wuluqizi-Hangzhou, and if the inter-provincial line is also Wuluqizi-Hangzhou, the difference between the transportation distances of the inter-provincial line and the basic line is 0; if the inter-provincial line is crameri-shaoxing, calculating a difference value (for example, a value of | X-Y |) between a mean value of the transportation distances of Wu-Qi-Hangzhou and a mean value of the transportation distances of the crameri-shaoxing (for example, a value of Y) of the basic line; it should be noted that, taking cratay-shaoxing as an inter-provincial route in wuljanq-hangzhou as an example, the data of the mean transportation distance of the cratay-shaoxing route obtained in step 2 can be directly used in the calculation, so that compared with the method of obtaining the mean transportation distance of the inter-provincial route by using other methods, the processing resources and the calculation time are saved.
The difference in origin distance between the inter-provincial link and the corresponding base link is the transport distance between the origin of the inter-provincial link and the origin of the corresponding base link. For example, if the basic line is wuluqizi-hangzhou, and the inter-provincial line is krameri-shaoxing, the transportation distance of the krameri-wuqizi line is the distance difference between the inter-provincial line and the corresponding basic line; this process can be implemented by using the prior art, and certainly, in order to speed up the processing speed and reduce the computation amount, the mean value of the transportation distances of other basic lines (such as the basic line of crambe-muluko) can be used as the distance difference between the inter-provincial line and the corresponding basic line.
The destination distance difference between an inter-provincial route and its corresponding base route is the transport distance between the destination of the inter-provincial route and the destination of the corresponding base route. For example, the basic line is wuluqizi-hangzhou, the inter-provincial line is cramey-shaoxing, and the transport distance of the inter-provincial line and the corresponding basic line is the destination distance difference; this process can be implemented by using the prior art, and certainly, in order to speed up the processing speed and reduce the computation amount, the mean value of the transportation distances of other basic lines (such as the basic line of hangzhou-shaoxing) can be used as the destination distance difference between the inter-provincial line and the corresponding basic line.
Step b 5: and obtaining the inter-provincial weighted distance difference of each inter-provincial line according to the distance difference of the origin, the distance difference of the destination, the mean difference of the transportation distances and the weight of the mean difference, and calculating the inter-provincial distance weight coefficient of each inter-provincial line according to the inter-provincial weighted distance difference.
Specifically, in this embodiment, the inter-provincial distance weight coefficient of each inter-provincial line is calculated according to the following formula:
Figure BDA0002870169920000171
wherein sDC is the inter-provincial weighted distance coefficient, sWD is the inter-provincial weighted distance difference
sWD are derived from the origin distance difference, destination distance difference, mean transportation distance difference, and their weights (i.e., three weights corresponding to the origin distance difference, destination distance difference, and transportation distance difference). Wherein the sum of the three weights corresponding to the origin distance difference, the destination distance difference and the transport distance difference is equal to 1; the weight of the corresponding origin distance difference or the corresponding destination distance difference should be greater than the weight of the corresponding transport distance difference; the weights for the corresponding origin distance difference and the corresponding destination distance difference may be equal. The following are exemplary: if so, the distance difference corresponding to the origin is weighted to 0.375; the weight corresponding to the destination distance difference is 0.375; the weight corresponding to the difference in the distance of transport is 0.25. Wherein, 0.375, 0.25 are the preferred values, and the three weights can be adjusted adaptively according to the above rules in practical application.
The origin distance difference, the destination distance difference, and the transportation distance difference are then multiplied by their respective weights and summed to obtain the inter-provincial weighted distance difference, sWD.
Illustratively, if the base line is ulinqi-hangzhou and the province line is cramy-shaw, using the preferred values of the three weights described above, then sWD for the cramy-shaw province line is as follows:
sWD transportation distance average of crameri-wulluqi basic line × 0.375+ 'hangzhou-shaoxing' basic line × 0.375+ (difference between transportation distance average of "wullujizi-hangzhou" basic line and transportation distance average of "crameri-shaoxing" basic line) × 0.25
After sWD is obtained, the inter-provincial distance weight coefficient of the inter-provincial line can be obtained according to the formula of calculation sDC in the foregoing.
The inter-provincial distance weight coefficient of each inter-provincial line can be obtained by referring to the above steps.
Step b 6: calculating an inter-provincial order confidence coefficient of each inter-provincial line according to the historical order quantity corresponding to each inter-provincial line;
specifically, in this embodiment, the inter-provincial order confidence coefficient of each inter-provincial route is calculated according to the following formula:
Figure BDA0002870169920000181
wherein sRC is the confidence coefficient of the order between provinces, n is the historical order quantity
Since each inter-provincial line has other corresponding basic lines, the historical orders of the other basic lines can be used, and the historical orders are obtained before and can be directly used.
Step b 7: obtaining an inter-provincial coefficient of each inter-provincial line according to the inter-provincial distance weight coefficient and the inter-provincial order confidence coefficient of each inter-provincial line;
specifically, the inter-province distance weight coefficient of each inter-province line is multiplied by the inter-province order confidence coefficient (i.e., DC × RC), so as to obtain the inter-province coefficient of the inter-province line.
Step b 8: obtaining the single-kilometer quoted price of each basic line according to the inter-provincial coefficient of the inter-provincial line and the single-kilometer running price;
specifically, the inter-provincial coefficients of all inter-provincial lines corresponding to each basic line are normalized to obtain inter-provincial quotation coefficients of all inter-provincial lines corresponding to each basic line; and multiplying the inter-provincial quotation coefficients of all the inter-provincial lines corresponding to each basic line by the single-kilometer running price of the inter-provincial lines, and summing to obtain the respective single-kilometer quotation of each basic line. The normalization may be performed by mapping the inter-provincial coefficients of all inter-provincial lines to a decimal between (0,1), so that the sum of the inter-provincial quotation coefficients of all inter-provincial lines corresponding to one basic line is equal to 1.
More specifically, each basic line has a corresponding inter-provincial line, and therefore a basic line is used for explanation, the inter-provincial coefficients of all inter-provincial lines corresponding to the basic line are normalized to obtain inter-provincial quotation coefficients of all inter-provincial lines, for example, the basic line 1 has 3 corresponding inter-provincial lines, the inter-provincial line 1, the inter-provincial line 2 and the inter-provincial line 3, the inter-provincial coefficient of the inter-provincial line 1 is 0.7, the single-kilometer freight rate is 15 yuan, the inter-provincial coefficient of the inter-provincial line 2 is 0.5, the single-kilometer freight rate is 18 yuan, the inter-provincial coefficient of the inter-provincial line 3 is 0.8, and the single-kilometer freight rate is 16 yuan, and then after normalization, the inter-provincial quotation coefficient of the inter-provincial line 1 is 0.35, the inter-provincial quotation coefficient of the inter-provincial line 2 is 0.25, and the inter-provincial quotation coefficient of the inter-provincial line 3 is 0.4; after that, the single-kilometer quote of the basic line is obtained by multiplying the single-kilometer running price by the inter-provincial quote coefficients of all inter-provincial lines corresponding to the basic line, that is, the single-kilometer quote of the basic line 1 is equal to the inter-provincial quote coefficient of the inter-provincial line 1 × the single-kilometer running price of the inter-provincial line 1 + the inter-provincial quote coefficient of the inter-provincial line 2 × the single-kilometer running price of the inter-provincial line 2 + the inter-provincial quote coefficient of the inter-provincial line 3 × the single-kilometer running price of the inter-provincial line 3 is equal to 0.35 × 15+0.25 × 18+0.4 × 16 equal to 16.15.
Step b 9: and establishing an inter-provincial quotation table according to the corresponding relation between each basic line and the single-kilometer quotation.
Because each basic line can obtain the corresponding single-kilometer quotation through the method, the provincial quotation table can be established by utilizing the relation.
Further, another logistics order information processing method is provided in the embodiment of the present application, as shown in fig. 2, the method includes the following steps:
acquiring an origin, a destination and a transportation vehicle type uploaded by a user side;
obtaining a first distance according to the origin and the destination;
obtaining a target basic route and a second distance according to the origin, the destination and the type of the transportation vehicle;
obtaining a corresponding relation curve from a relation curve database according to the type of the transportation vehicle;
obtaining a first quote according to the relation curve and the first distance;
obtaining a second price according to the relation curve and the second distance;
obtaining a third quotation according to the target basic line and the provincial quotation table;
dividing the product of the first offer and the third offer by the second offer to obtain a fourth offer;
taking the product of the fourth price quote and the first distance as a quote;
and sending the quotation to the user side, and displaying the quotation for the user by the user side.
For better understanding, the following further description is provided:
s201, acquiring an origin, a destination and a transportation vehicle type uploaded by a user side.
The execution device such as the server or the background system can acquire the relevant information of the origin, the destination and the transportation vehicle type uploaded by the user through the user side.
S202, obtaining a first distance according to an origin and a destination; obtaining a target basic route and a second distance according to the origin, the destination and the type of the transportation vehicle; and obtaining a corresponding relation curve from the relation curve database according to the transportation vehicle type.
Obtaining a first distance from the origin and the destination, wherein the first distance is the distance of the shortest travel path between the origin and the destination; the specific implementation process may refer to S102.
The target basic route is obtained according to the origin, the destination and the transportation vehicle type, and a target basic route may be determined according to the origin, the destination and the transportation vehicle type, and the specific implementation process may refer to S102.
Obtaining a second distance according to the origin, the destination and the transport vehicle type, wherein a target basic route is determined according to the origin, the destination and the transport vehicle type, a plurality of corresponding historical orders (namely historical orders with the same origin, destination and transport vehicle type) are obtained according to the target basic route, and the average transport distance of the plurality of historical orders is used as the second distance; the specific implementation process thereof may refer to S102.
Obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle type, wherein the relation curve corresponding to the transportation vehicle type can be selected from the relation curve database according to the transportation vehicle type of the plurality of orders; the specific implementation process may refer to S102.
S203, obtaining a first price according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; and obtaining a third quotation according to the target basic line and the provincial quotation table.
Reference may be made to S103 for specific implementation.
S204, dividing the product of the first quote and the third quote by the second quote to obtain a fourth quote; and taking the product of the fourth price quote and the first distance as the price quote.
The specific implementation process may refer to S104.
S205, sending the quotation to the user side, and displaying the quotation for the user by the user side.
As can be seen from the above description, in the embodiment of the present application, the transportation quote can be directly provided for the user according to the origin, the destination and the transportation vehicle type issued by the user, and no matter the user is the user who issues the order or the user who intends to pick up the order, as long as the user proposes the quote demand, the system can give the transportation quote, and the user is prevented from issuing the order for the same transportation demand multiple times.
Finally, the beneficial effects of the transportation order processing method based on the provincial quotation table are summarized:
1. the system can directly provide quotation for the user, and the system can provide quotation as long as the user puts forward a quotation demand no matter the user is the user who releases the order or the user who intends to receive the order, so that the user is prevented from releasing the order for the same transportation demand for many times;
2. the method has the advantages that the method can cancel the issuance of other orders and reduce resource consumption by judging whether a user issues a plurality of orders with different prices for the same transportation demand and not finding out the order which is closest to the quoted price, and in addition, the issuance state of the order which is closest to the price of the order is kept because the quoted value is the price fixed value which is closest to the order, so that the method can balance the market order and the order transaction speed and improve the user experience;
3. the quote can provide more accurate quote even aiming at the condition that the historical orders on the transportation line are few or no.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than here. The descriptions of the related contents in the above embodiments may be referred to each other.
According to an embodiment of the present application, there is also provided a logistics order information processing apparatus for implementing the method shown in fig. 1, as shown in fig. 3, the apparatus includes:
the order obtaining module 31 is configured to obtain a plurality of orders that are the same in origin, destination, transportation vehicle type, and delivery time among the orders currently issued by the same user.
A distance determining module 32 for obtaining a first distance according to the origin and destination of the plurality of orders; obtaining a target basic line and a second distance according to the starting places, the destinations and the transportation vehicle types of the orders; and obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the orders.
A single-kilometer freight rate determination module 33, configured to obtain a first quote according to the relationship curve and the first distance; obtaining a second price according to the relation curve and the second distance; and obtaining a third quotation according to the target basic line and the provincial quotation table.
A quotation determining module 34, configured to divide a product of the first quotation and the third quotation by the second quotation to obtain a fourth quotation; and taking the product of the fourth price quote and the first distance as the price quote.
The order processing module 35 is configured to reserve one of the orders with an order price closest to a quote price, and cancel release of other orders.
Further, the apparatus further comprises:
and the relational curve database establishing module 36 is used for establishing a relational curve database according to the transportation distance, the single-kilometer freight rate and the transportation vehicle type in the historical order.
Further, the relational database creating module 36 includes:
the determining unit 361 is used for determining the distance characteristics and the single-kilometer freight rate in each data set according to the transportation distance data, the single-kilometer freight rate data and the transportation vehicle type data in the historical orders, wherein each data set corresponds to one group, and different groups correspond to different transportation vehicle types;
a fitting unit 362, configured to fit the distance features and the single-kilometer freight rate in each data set by using a regression algorithm, so as to obtain a relationship curve between the transportation distance and the single-kilometer quoted price in each group;
and the database establishing unit 363 is used for establishing a relation curve database by using the corresponding relation between the transportation vehicle type data and the relation curve.
Further, the apparatus further comprises:
the provincial quotation table establishing module 37 is configured to establish the provincial quotation table according to the origin, the destination, the transportation vehicle type, the inter-provincial route of the transportation route, and the single-kilometer freight rate of the inter-provincial route in the historical orders.
Further, the inter-provincial quotation table establishing module 37 includes:
a basic route determining unit 371, configured to obtain a plurality of historical orders, group the plurality of historical orders according to the origin and destination of each route in the road transportation route table and in combination with transportation vehicle types, where each group corresponds to one basic route;
a basic line data determining unit 372, configured to determine, according to the historical orders in each group, the number of orders, an average transportation distance, and a single kilometer freight rate corresponding to each basic line;
an inter-provincial route determining unit 373 that determines all inter-provincial routes corresponding to each basic route from the origin and destination of the basic route;
a distance weight coefficient determination unit 374, configured to calculate a mean difference of transportation distances, a distance difference of origin, and a distance difference of destination between each inter-provincial line and its corresponding basic line; obtaining a weighted distance difference of each inter-provincial line according to the distance difference of the origin, the distance difference of the destination, the mean difference of the transportation distances and the weight of the mean difference, and calculating a distance weight coefficient of each inter-provincial line according to the weighted distance difference;
a confidence coefficient determining unit 375, configured to calculate an order confidence coefficient of each inter-provincial line according to the historical order number corresponding to each inter-provincial line;
an inter-provincial coefficient determining unit 376 configured to obtain an inter-provincial coefficient of each inter-provincial line according to the distance weight coefficient and the order confidence coefficient of each inter-provincial line;
a single-kilometer freight rate determining unit 377 configured to obtain a single-kilometer quote for each basic line according to an inter-provincial coefficient of the inter-provincial line and the single-kilometer freight rate;
a quotation table establishing unit 378, configured to establish an inter-provincial quotation table according to a corresponding relationship between each basic line and its single-kilometer running price.
According to an embodiment of the present application, there is also provided a logistics order information processing apparatus for implementing the method shown in fig. 2, as shown in fig. 4, the apparatus includes:
the obtaining module 41 is configured to obtain an origin, a destination, and a transportation vehicle type uploaded by a user side;
a distance module 42 for deriving a first distance from the origin and the destination; obtaining a target basic line and a second distance according to the origin, the destination and the transport vehicle type; obtaining a corresponding relation curve from a relation curve database according to the type of the transportation vehicle;
a freight rate module 43, configured to obtain a first offer according to the relationship curve and the first distance; obtaining a second price according to the relation curve and the second distance; obtaining a third quotation according to the target basic line and the provincial quotation table;
a quotation module 44, configured to obtain a fourth quotation by dividing a product of the first quotation and the third quotation by the second quotation; taking the product of the fourth price quote and the first distance as a quote;
and the display module 45 is used for sending the quotation to the user side, and the user side displays the quotation for the user.
Specifically, the specific process of implementing the functions of each unit and module in the device in the embodiment of the present application may refer to the related description in the method embodiment, and is not described herein again.
As can be seen from the above description, in the embodiment of the present application, the transportation quote can be directly provided for the user according to the origin, the destination and the transportation vehicle type issued by the user, and no matter the user is the user who issues the order or the user who intends to pick up the order, as long as the user proposes the quote demand, the system can give the transportation quote, and the user is prevented from issuing the order for the same transportation demand multiple times.
There is further provided a computer-readable storage medium according to an embodiment of the present application, where the computer-readable storage medium stores computer instructions for causing the computer to execute the inter-provincial quotation table-based transportation order processing method in the above method embodiment.
According to an embodiment of the present application, there is also provided an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor to cause the at least one processor to perform the inter-provincial quotation table based transportation order processing method of the above method embodiments.
It will be apparent to those skilled in the art that the modules or steps of the present application described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. An order processing method using inter-provincial information, the method comprising:
acquiring a plurality of orders with the same origin, destination, transport vehicle type and delivery time in the current issued orders of the same user;
obtaining a first distance according to the origins and the destinations of the orders;
obtaining a target basic line and a second distance according to the starting places, the destinations and the transportation vehicle types of the orders;
obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the orders;
obtaining a first quote according to the relation curve and the first distance;
obtaining a second price according to the relation curve and the second distance;
obtaining a third quotation according to the target basic line and the provincial quotation table;
dividing the product of the first quote and the third quote by the second quote to obtain a fourth quote;
taking the product of the fourth price quote and the first distance as a quote;
and reserving one order with the order price closest to the quoted price in the plurality of orders, and canceling the release of other orders.
2. The order processing method using the inter-provincial information according to claim 1, wherein the method further comprises:
and establishing an inter-provincial quotation table according to the starting place, the destination, the transportation vehicle type, the inter-provincial routes of the transportation routes and the single-kilometer freight rate of the inter-provincial routes in the historical orders.
3. The order processing method using the inter-provincial information according to claim 2, wherein the creating of the inter-provincial quotation table according to the origin, the destination, the type of the transportation vehicle, the inter-provincial routes of the transportation route, and the single-kilometer freight rates of the inter-provincial routes in the history order comprises:
obtaining a plurality of historical orders, and grouping the historical orders according to the starting place and the destination of each line in a road transportation line table and by combining transportation vehicle types, wherein each group corresponds to a basic line;
determining the number of orders, the average value of the transportation distance and the single-kilometer freight rate corresponding to each basic line according to the historical orders in each group;
determining all inter-provincial lines corresponding to each basic line according to the transport vehicle type, the origin and the destination of the basic lines;
calculating the average value difference of the transportation distance, the distance difference of the origin and the distance difference of the destination between each inter-provincial line and the corresponding basic line;
obtaining inter-provincial weighted distance difference of each inter-provincial line according to the distance difference of the origin, the distance difference of the destination, the mean difference of the transportation distances and the weight of the mean difference, and calculating inter-provincial distance weight coefficients of each inter-provincial line according to the inter-provincial weighted distance difference;
calculating the inter-provincial order confidence coefficient of each inter-provincial line according to the historical order number corresponding to each inter-provincial line;
obtaining an inter-provincial coefficient of each inter-provincial line according to the inter-provincial distance weight coefficient and the inter-provincial order confidence coefficient of each inter-provincial line;
obtaining the single-kilometer quoted price of each basic line according to the inter-provincial coefficient of the inter-provincial line and the single-kilometer running price;
and establishing an inter-provincial quotation table according to the corresponding relation between each basic line and the single-kilometer quotation.
4. The order processing method using the inter-provincial information according to claim 1, wherein the method further comprises:
and establishing a relational curve database according to the transport mileage, the single-kilometer freight rate and the transport vehicle type in the historical order.
5. The method of processing logistics order information as claimed in claim 4, wherein said step of establishing a relational database according to the transportation mileage, the single kilometer freight rate and the transportation vehicle type in the historical order comprises:
determining the mileage characteristics and the single-kilometer freight rate in each data set according to the transport mileage data, the single-kilometer freight rate data and the transport vehicle type data in the historical order, wherein each data set corresponds to one group, and different groups correspond to different transport vehicle types;
fitting the mileage characteristics and the single-kilometer freight rate in each data set by using a regression algorithm to obtain a relation curve between the transport mileage and the single-kilometer freight rate in each group;
and establishing a relation curve database by utilizing the corresponding relation between the transportation vehicle type data and the relation curve.
6. A method of order processing using inter-provincial information, the method comprising:
acquiring an origin, a destination and a transportation vehicle type uploaded by a user side;
obtaining a first distance according to the origin and the destination;
obtaining a target basic route and a second distance according to the origin, the destination and the type of the transportation vehicle;
obtaining a corresponding relation curve from a relation curve database according to the type of the transportation vehicle;
obtaining a first quote according to the relation curve and the first distance;
obtaining a second price according to the relation curve and the second distance;
obtaining a third quotation according to the target basic line and the provincial quotation table;
dividing the product of the first offer and the third offer by the second offer to obtain a fourth offer;
taking the product of the fourth price quote and the first distance as a quote;
and sending the quotation to the user side, and displaying the quotation for the user by the user side.
7. An order processing apparatus using provincial information, the apparatus comprising:
the order acquisition module is used for acquiring a plurality of orders with the same origin, destination, transport vehicle type and delivery time in the orders currently issued by the same user;
a distance determination module for obtaining a first distance according to the origins and the destinations of the orders; obtaining a target basic line and a second distance according to the starting places, the destinations and the transportation vehicle types of the orders; obtaining a corresponding relation curve from a relation curve database according to the transportation vehicle types of the orders;
the single-kilometer freight rate determining module is used for obtaining a first quoted price according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; obtaining a third quotation according to the target basic line and the provincial quotation table;
the quotation determining module is used for dividing the product of the first quotation and the third quotation by the second quotation to obtain a fourth quotation; taking the product of the fourth price quote and the first distance as a quote;
and the order processing module is used for reserving one order with the order price closest to the quoted price in the orders and canceling the release of other orders.
8. An order processing apparatus using provincial information, the apparatus comprising:
the acquisition module is used for acquiring an origin, a destination and a transportation vehicle type uploaded by a user side;
the distance module is used for obtaining a first distance according to the origin and the destination; obtaining a target basic line and a second distance according to the origin, the destination and the transport vehicle type; obtaining a corresponding relation curve from a relation curve database according to the type of the transportation vehicle;
the freight rate module is used for obtaining a first quote according to the relation curve and the first distance; obtaining a second price according to the relation curve and the second distance; obtaining a third quotation according to the target basic line and the provincial quotation table;
the quotation module is used for dividing the product of the first quotation and the third quotation by the second quotation to obtain a fourth quotation; taking the product of the fourth price quote and the first distance as a quote;
and the display module is used for sending the quotation to the user side, and the user side displays the quotation for the user.
9. A computer-readable storage medium storing computer instructions for causing a computer to perform the neighbor-quote-table-based transportation order processing method of any one of claims 1-6.
10. An electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores a computer program executable by the at least one processor to cause the at least one processor to perform the method of neighboring-quote-table-based transport order processing of claims 1-6.
CN202011612598.1A 2020-12-29 2020-12-29 Order processing method, device, equipment and storage medium by using inter-provincial information Pending CN114693198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011612598.1A CN114693198A (en) 2020-12-29 2020-12-29 Order processing method, device, equipment and storage medium by using inter-provincial information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011612598.1A CN114693198A (en) 2020-12-29 2020-12-29 Order processing method, device, equipment and storage medium by using inter-provincial information

Publications (1)

Publication Number Publication Date
CN114693198A true CN114693198A (en) 2022-07-01

Family

ID=82133122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011612598.1A Pending CN114693198A (en) 2020-12-29 2020-12-29 Order processing method, device, equipment and storage medium by using inter-provincial information

Country Status (1)

Country Link
CN (1) CN114693198A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693199A (en) * 2020-12-29 2022-07-01 南京福佑在线电子商务有限公司 Logistics order information processing method, device, equipment and storage medium
CN114693199B (en) * 2020-12-29 2024-10-22 南京福佑在线电子商务有限公司 Logistics order information processing method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114693199A (en) * 2020-12-29 2022-07-01 南京福佑在线电子商务有限公司 Logistics order information processing method, device, equipment and storage medium
CN114693199B (en) * 2020-12-29 2024-10-22 南京福佑在线电子商务有限公司 Logistics order information processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102542395B (en) A kind of emergency materials dispatching system and computing method
CN111815076B (en) Optimization method of logistics distribution path, storage medium and computer equipment
CN112001557B (en) TMS system-based logistics distribution path optimization method, storage medium and computer equipment
US20170249582A1 (en) Intermodal delivery optimization
CN111667085B (en) Logistics routing network determining method, device, medium and electronic equipment
CN111695842B (en) Distribution scheme determining method, distribution scheme determining device, electronic equipment and computer storage medium
CN109523202B (en) Order processing method, device, equipment and computer readable storage medium
CN106504348A (en) A kind of method that Parking Fee clearing are provided, server and system
CN110322188A (en) Utilize logistics distribution path providing method and its server of future traffic information
You A two-phase heuristic approach to the bike repositioning problem
CN114386720B (en) Logistics system scheduling management method, system, terminal equipment and storage medium
CN106373382A (en) Method and apparatus for vehicle scheduling
CN113128744A (en) Distribution planning method and device
CN116228089A (en) Store distribution path planning method based on shortest mileage
CN112418475B (en) Logistics path planning method and device, electronic equipment and storage medium
Gaul et al. Solving the dynamic dial-a-ride problem using a rolling-horizon event-based graph
CN114742507A (en) Vehicle cargo loading method and device, computer equipment and storage medium
JP7121154B2 (en) Delivery plan creation method, device, system, and computer-readable storage medium
CN111489214A (en) Order allocation method, condition setting method and device and electronic equipment
CN114693198A (en) Order processing method, device, equipment and storage medium by using inter-provincial information
CN112184092A (en) Logistics node determination method, device, server and storage medium
CN114693199B (en) Logistics order information processing method, device, equipment and storage medium
CN114693199A (en) Logistics order information processing method, device, equipment and storage medium
CN114693201A (en) Logistics information processing method, device, equipment and storage medium
CN114693200B (en) Transportation order processing method and device based on neighbor quotation table

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination