Method, device, equipment and storage medium for displaying package pre-delivery route
By obtaining and calculating the historical logistics information of logistics transportation service providers and displaying pre-delivery routes, it solves the problem of users being unable to perceive the package delivery path, improves the shipping/receiving experience, and ensures that the displayed route is optimal and matches the actual situation.
Patent Information
- Application Number
- CN202011373462.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-11-30
AI Technical Summary
Users cannot intuitively perceive the delivery path of the package before sending or shopping, resulting in a poor shipping or receiving experience.
By obtaining the historical logistics information of logistics and transportation service providers, calculate and display pre-delivery routes, use transportation time and order quantity as weights to determine the optimal route, and display the pre-delivery routes of multiple logistics and transportation service providers on the map, allowing users to choose.
It improves the user's shipping/receiving experience and ensures that the displayed logistics service provider's delivery route is optimal and has the highest probability of being the same as the actual delivery route. It is easy to calculate and has high acquisition efficiency.
Smart Images

Figure CN112488623B
Abstract
Description
Background Art
[0002] Currently, in the scenarios where users send parcels or receive parcels after shopping, both the sender and the recipient can only see the trajectory of the parcel on the map after the parcel is sent / the order is placed and the goods are sent, that is, the parcel is in the process of transportation. Before placing an order or sending a parcel, the user cannot intuitively perceive the route the parcel is delivered through, nor can they know which courier company's delivery route will be faster and more convenient for the user to send / receive the parcel, resulting in a poor experience for users to send or receive parcels.
[0003] Therefore, how to determine the pre-delivery routes of each logistics company and display them to users before sending the package, so that users can intuitively perceive the delivery path of the package and choose a logistics company, thereby improving the user's sending / receiving experience, is a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention
[0004] In order to overcome the defects of the above-mentioned related technologies, the present invention provides a method, device, electronic device and storage medium for displaying the pre-delivery route of a package, and then determines the pre-delivery route of each logistics company, so as to display it to the user before sending the package, so that the user can intuitively perceive the delivery path of the package and select the logistics company, thereby improving the user's sending / receiving experience.
[0005] According to one aspect of the present invention, a method for displaying a pre-delivery route of a package is provided, comprising:
[0006] Get the delivery address and the shipping address of the package to be shipped;
[0007] Get multiple logistics and transportation service providers, and for each logistics and transportation service provider:
[0008] Extracting multiple historical logistics tracks with the same address granularity as the receiving address and the shipping address from the historical logistics information within a predetermined time period of the logistics transportation service provider;
[0009] Setting a first weight for the plurality of historical logistics tracks according to the distance of the logistics transportation time;
[0010] Setting second weights for the multiple transport routes according to the quantity of transport orders for the same transport route;
[0011] Determining an optimal transportation path of the logistics transportation service provider as a pre-delivery route based at least on the first weight and the second weight;
[0012] Displaying the estimated delivery routes of multiple logistics and transportation service providers on a map; and
[0013] In response to the recipient user's selection based on the map showing the pre-delivery route of the logistics transportation service provider, a logistics transportation service provider selection information is sent to the sender user, and the logistics transportation service provider selection information is provided for the sender user to select a logistics transportation service provider.
[0014] In some embodiments of the present invention, the time interval between the transportation time and the current time is negatively correlated with the first weight; and the number of transportation orders for the same transportation route is positively correlated with the second weight.
[0015] In some embodiments of the present invention, determining the optimal transportation path of the logistics transportation service provider as the pre-delivery route based at least on the first weight and the second weight includes:
[0016] Aggregating the multiple historical logistics trajectories into multiple transportation routes;
[0017] For each transport route:
[0018] Calculate the sum of the first weights of multiple historical logistics trajectories of the transportation path as a quasi-reference value of the transportation path;
[0019] taking the product of the quasi-reference value of the transport path and the second weight of the transport path as the reference value of the transport path;
[0020] The transport path with the largest reference value is used as the optimal transport path of the logistics transport service provider as the pre-delivery route.
[0021] In some embodiments of the present invention, the historical logistics information within a predetermined time period from the logistics transportation service provider, before extracting a plurality of historical logistics tracks having the same address granularity as the receiving address and the sending address, further includes:
[0022] Get the item type of the package;
[0023] Correspondingly, the historical logistics information within a predetermined time period from the logistics transportation service provider, extracting a plurality of historical logistics tracks having the same address granularity as the receiving address and the shipping address, further includes:
[0024] Determining whether the item type of the package belongs to a preset item type;
[0025] If so, multiple historical logistics tracks with the same receiving address and shipping address at the set address granularity and the item type belonging to the preset item type are extracted from the historical logistics information within the predetermined time period of the logistics transportation service provider.
[0026] In some embodiments of the present invention, displaying the pre-delivery routes of multiple logistics transportation service providers on a map includes:
[0027] The pre-delivery routes of different logistics and transportation service providers are displayed on the map with different display parameters.
[0028] In some embodiments of the present invention, displaying the pre-delivery routes of multiple logistics transportation service providers on a map includes:
[0029] Displaying a logistics transport service provider's pre-delivery route on a map;
[0030] In response to the user's operation of switching the logistics and transportation service provider, the pre-delivery route of another logistics and transportation service provider is switched on the map.
[0031] In some embodiments of the present invention, displaying the pre-delivery routes of multiple logistics transportation service providers on a map includes:
[0032] The pre-delivery routes of multiple logistics transportation service providers and the predicted arrival time and / or estimated transportation cost of each pre-delivery route are displayed on a map.
[0033] In some embodiments of the present invention, displaying the pre-delivery routes of multiple logistics transportation service providers and the predicted arrival time and / or estimated transportation cost of each pre-delivery route on a map includes:
[0034] The pre-delivery route of the logistics transportation service provider with the shortest estimated arrival time is indicated on the map as a first marker; and / or
[0035] The pre-delivery route of the logistics transportation service provider with the lowest estimated transportation cost is shown with a second mark on the map.
[0036] In some embodiments of the present invention, the logistics and transportation service provider selection information is used to display the logistics and transportation service provider selected by the receiving user terminal to the sending user terminal; or the logistics and transportation service provider selection information instructs the sending user terminal to automatically select the logistics and transportation service provider.
[0037] According to another aspect of the present invention, there is also provided a device for displaying a pre-delivery route of a package, comprising:
[0038] A first acquisition module is configured to acquire a receiving address and a sending address;
[0039] A second acquisition module is configured to acquire multiple logistics and transportation service providers;
[0040] An extraction module is configured to extract a plurality of historical logistics tracks having the same address granularity as the receiving address and the shipping address from the historical logistics information within a predetermined time period of the logistics transportation service provider;
[0041] A first weight module is configured to set a first weight for the plurality of historical logistics trajectories according to the distance of the logistics transportation time;
[0042] A second weight module is configured to set second weights for the plurality of transport paths according to the number of transport orders for the same transport path;
[0043] an optimal route determination module, configured to determine an optimal transportation path of the logistics transportation service provider as a pre-delivery route based at least on the first weight and the second weight;
[0044] A display module configured to display the pre-delivery route of the logistics transportation service provider on a map; and
[0045] The sending module is configured to send a logistics transportation service provider selection information to the sending user terminal in response to the recipient user terminal's selection based on the map showing the pre-delivery route of the logistics transportation service provider, wherein the logistics transportation service provider selection information is provided for the sending user terminal to select a logistics transportation service provider.
[0046] According to another aspect of the present invention, there is further provided an electronic device, comprising: a processor; and a storage medium storing a computer program, wherein the computer program executes the above steps when executed by the processor.
[0047] According to yet another aspect of the present invention, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps described above are executed.
[0048] Compared with the prior art, the advantages of the present invention are:
[0049] On the one hand, a first weight related to the logistics transportation time and a second weight related to the number of transportation orders are determined by using historical logistics information within a predetermined time period from the logistics transportation service provider, so that the pre-delivery route is determined based on the first weight and the second weight, so that the delivery route of the logistics service provider displayed to the user is optimal and has the highest probability of being the same as the actual delivery route. The calculation of the first weight and the second weight is convenient, and the acquisition efficiency of the pre-delivery route is high. On the other hand, the pre-delivery routes of multiple logistics transportation service providers are displayed on a map, and in response to the recipient user's selection of a map based on the displayed pre-delivery routes of the logistics transportation service providers, a logistics transportation service provider selection information is sent to the sender user, so that the user can intuitively perceive the delivery path of the package and select a logistics company, thereby improving the user's sending / receiving experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The above and other features and advantages of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0051] Figure 1 A flow chart of a method for displaying a package pre-delivery route according to an embodiment of the present invention is shown.
[0052] Figure 2 A flowchart is shown of determining the optimal transportation path of the logistics transportation service provider as a pre-delivery route based at least on the first weight and the second weight according to a specific embodiment of the present invention.
[0053] Figure 3 A flowchart of obtaining the historical logistics track of a package of a preset item type according to a specific embodiment of the present invention is shown.
[0054] Figure 4 A flow chart showing pre-delivery routes of multiple logistics and transportation service providers on a map according to a specific embodiment of the present invention is shown.
[0055] Figure 5 A module diagram of an apparatus for displaying a pre-delivery route of a package according to an embodiment of the present invention is shown.
[0056] Figure 6 A schematic diagram of a computer-readable storage medium in an exemplary embodiment of the present invention is schematically shown.
[0057] Figure 7 The figure schematically shows a schematic diagram of an electronic device in an exemplary embodiment of the present invention. DETAILED DESCRIPTION
[0058] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present invention will be more comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0059] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0060] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the steps. For example, some steps may be decomposed, while some steps may be combined or partially combined. Therefore, the actual execution order may be changed according to the actual situation.
[0061] In various embodiments of the present invention, the method for displaying the pre-delivery route of a package provided by the present invention can be applied to a logistics platform, an e-commerce platform, or other third-party platforms that can call the logistics track data of the logistics platform. Further, in various embodiments of the present invention, the present invention can display the pre-delivery route of a package to a recipient user terminal and / or a sender user terminal, but the present invention is not limited thereto. The above is merely a schematic illustration of various application scenarios of the present invention, and the application scenarios of the present invention are not limited thereto and will not be elaborated on herein.
[0062] Figure 1 A flow chart of a method for displaying a package pre-delivery route according to an embodiment of the present invention is shown. The method for displaying a package pre-delivery route comprises the following steps:
[0063] Step S110: Obtain the receiving address and the sending address of the package to be sent.
[0064] Specifically, the receiving address and the sending address of the package to be sent can be directly input by the user, obtained by text recognition copied by the user, or obtained based on the user's selection of historical addresses. In the scenario of the e-commerce platform, the receiving address and the sending address of the package to be sent can be automatically obtained from the merchant's sending address and the user's default receiving address based on the user's order operation for the product. Furthermore, when the product has multiple shipping warehouses, the shipping warehouse and the address of the shipping warehouse can be determined based on the receiving address and the remaining quantity of the goods in each shipping warehouse. The present invention can realize more ways to obtain the receiving address and the sending address of the package to be sent, which will not be repeated here.
[0065] Step S120: Acquire multiple logistics and transportation service providers, for each logistics and transportation service provider.
[0066] Specifically, the logistics and transportation service provider in step S120 may be a logistics and transportation service provider selected by the user, but the present invention is not limited to this. The logistics and transportation service provider obtained in step S120 may also be a default logistics and transportation service provider of the merchant, a logistics and transportation service provider associated with the e-commerce platform, multiple logistics and transportation service providers commonly used by users on the e-commerce platform, one of multiple logistics and transportation service providers with high user evaluations on the e-commerce platform, or any combination thereof.
[0067] Step S130: extracting a plurality of historical logistics tracks having the same address granularity as the receiving address and the shipping address from the historical logistics information within a predetermined time period of the logistics transportation service provider.
[0068] Specifically, the address granularity can be set as needed, and the address granularity may include but is not limited to the gate address granularity, community granularity, delivery point granularity, district and county granularity, city-level granularity, etc. When the user wants to obtain more fine-grained logistics track information, the address granularity can be set to the gate address granularity; when the user has no demand for address granularity, the address granularity can be set to the city-level granularity. Furthermore, in some variations, different address granularities can be set for the receiving address and the sending address. For example, the granularity of the sending address can be set to the city-level granularity, and the granularity of the receiving address can be set to the delivery point granularity. This is to take into account that the recipient user has less perceived demand for the sending address, which is the starting segment of the logistics track. Therefore, the address granularity (granularity range) of the sending address can be set to be greater than or equal to the address granularity (granularity range) of the receiving address. This further reduces the data processing of the sending address and improves the overall data processing efficiency.
[0069] Furthermore, in some embodiments, when there is no track of the receiving address and the sending address at the set address granularity in the historical logistics track, the address granularity of the existing historical track can be gradually increased to obtain the historical track information for track display.
[0070] Step S140: setting a first weight for the plurality of historical logistics trajectories according to the distance of the logistics transportation time.
[0071] Specifically, the time interval between the transportation time and the current time is inversely correlated with the first weight. In other words, the shorter the time interval between the transportation time and the current time, the greater the first weight; the longer the time interval between the transportation time and the current time, the smaller the first weight. In this embodiment, the larger the first weight, the better the logistics trajectory. In other embodiments, when the smaller the first weight, the better the logistics trajectory, the time interval between the transportation time and the current time can be positively correlated with the first weight.
[0072] Step S150: setting second weights for multiple transport paths according to the quantity of transport orders for the same transport path.
[0073] Specifically, the number of transport orders for the same transport path is positively correlated with the second weight. In other words, the larger the number of transport orders for the same transport path, the larger the second weight; the smaller the number of transport orders for the same transport path, the smaller the second weight. In this embodiment, the larger the second weight, the higher the probability of occurrence of the logistics track (that is, the matching rate between the logistics track and the actual track that may appear). In other embodiments, the number of transport orders for the same transport path can also be inversely correlated with the second weight, so that the smaller the second weight, the higher the probability of occurrence of the logistics track.
[0074] Step S160: Determine the optimal transportation path of the logistics transportation service provider as the pre-delivery route based at least on the first weight and the second weight.
[0075] Specifically, the specific implementation of step S160 can be combined with Figure 2 The flowchart is used to expand the description and will not be repeated here.
[0076] Step S170: Displaying the pre-delivery routes of multiple logistics transportation service providers on a map.
[0077] Specifically, the present invention can provide a variety of display methods, which will be described in detail below in conjunction with specific embodiments and will not be described in detail here.
[0078] Step S180: In response to the recipient user terminal selecting a logistics transportation service provider based on a map showing the pre-delivery route of the logistics transportation service provider, a logistics transportation service provider selection message is sent to the sender user terminal, wherein the logistics transportation service provider selection message is provided for the sender user terminal to select a logistics transportation service provider.
[0079] Specifically, in some embodiments, the logistics and transportation service provider selection information is used to display the logistics and transportation service provider selected by the receiving user terminal to the sending user terminal. In other words, the information only displays the logistics and transportation service provider selected by the receiving user terminal to the sending user terminal, and it only serves as a reference for the sending user. The sending user can select the logistics and transportation service provider by himself. In some variations, the logistics and transportation service provider selection information instructs the sending user terminal to automatically select the logistics and transportation service provider. In other words, the logistics and transportation service provider selection information plays a role in automatically selecting the logistics and transportation service provider without the need for the sending user to perform unnecessary input or selection operations. In some implementations of this embodiment, the sending user can replace the logistics and transportation service provider indicated by the logistics and transportation service provider selection information. In other implementations of this embodiment, the logistics and transportation service provider selection information instructs the sending user to forcibly select the logistics and transportation service provider indicated by it. The present invention can implement more variations, which will not be repeated here.
[0080] Specifically, the receiving user end and the sending user end may be implemented in the form of an application, a web page, an application embedded in a web page, a mini-program embedded in an application, etc., but the present invention is not limited thereto.
[0081] In the method for displaying the pre-delivery route of a package provided by the present invention, on the one hand, a first weight related to the logistics transportation time and a second weight related to the number of transportation orders are determined by using historical logistics information within a predetermined time period from the logistics transportation service provider, so that the pre-delivery route is determined according to the first weight and the second weight, so that the delivery route of the logistics service provider displayed to the user is optimal and has the highest probability of being the same as the actual delivery route, the calculation of the first weight and the second weight is convenient, and the efficiency of obtaining the pre-delivery route is high; on the other hand, by displaying the pre-delivery routes of multiple logistics transportation service providers on a map, and in response to the recipient user's selection of a map based on the displayed pre-delivery routes of the logistics transportation service providers, a logistics transportation service provider selection information is sent to the sender user, so that the user can intuitively perceive the delivery path of the package, so that the user can choose a logistics company, thereby improving the user's sending / receiving experience.
[0082] See below Figure 2 , Figure 2 A flowchart is shown of determining the optimal transportation path of the logistics transportation service provider as a pre-delivery route based at least on the first weight and the second weight according to a specific embodiment of the present invention. Figure 1 Step S160 in the embodiment can be implemented based on the following steps:
[0083] Step S161: Aggregate the multiple historical logistics trajectories into multiple transportation routes.
[0084] Step S162: For each transport path, calculate the sum of the first weights of multiple historical logistics trajectories of the transport path as a quasi-reference value of the transport path.
[0085] Specifically, since step S161 performs the step of aggregating the logistics trajectories, the aggregated transport path will include multiple logistics trajectory information. Therefore, step S162 can use the sum of the first weights related to the transport timeliness of multiple logistics trajectory information of the transport path as the reference value of the transport path. Therefore, the faster the transport timeliness of each historical trajectory of the transport path, the greater the quasi-reference value of the transport path. In this embodiment, the sum of the first weights is used as the quasi-reference value, but the present invention is not limited to this. In some variations, the average value / median of the first weights of multiple historical logistics trajectories of the transport path can also be used as the quasi-reference value of the transport path.
[0086] Step S163: taking the product of the quasi-reference value of the transport path and the second weight of the transport path as the reference value of the transport path.
[0087] Thus, through step S163, the product of the quasi-reference value and the second weight is used as the reference value to combine the first weight and the second weight to obtain the evaluation of the transportation path.
[0088] Step S164: The transport path with the largest reference value is used as the optimal transport path of the logistics transport service provider as the pre-delivery route.
[0089] Thus, through step S164, the pre-delivery route of the logistics service provider with the best time efficiency and the highest probability of being the same as the actual delivery route can be obtained.
[0090] See below Figure 3 , Figure 3 A flowchart of obtaining the historical logistics track of a package of a preset item type according to a specific embodiment of the present invention is shown. Figure 3 The CCP shows the following steps:
[0091] Step S101: Obtain the item type of the package.
[0092] Specifically, step S101 is Figure 1 The step S130 shown is executed before extracting multiple historical logistics tracks with the same address granularity as the receiving address and the shipping address from the historical logistics information within the predetermined time period of the logistics transportation service provider, but does not limit the execution order between step S101 and step S110 and step S120.
[0093] Specifically, the item type can be directly input by the user, input by the user through option selection, or obtained by identifying the name of the item to be sent. The present invention can implement different ways of obtaining the item type, which will not be described in detail here.
[0094] thus, Figure 1 Step S130 in which the historical logistics information within a predetermined time period of the logistics transportation service provider is extracted, and a plurality of historical logistics tracks having the same address granularity as the receiving address and the sending address are extracted, further comprises the following steps:
[0095] Step S131: Determine whether the item type of the package belongs to a preset item type.
[0096] Specifically, the preset item types may include, for example, cold chain items, large items, and other item types with special properties or special requirements.
[0097] If step S131 is judged to be yes, then step S132 is executed: extracting multiple historical logistics tracks with the same receiving address and shipping address at the set address granularity and the item type belonging to the preset item type from the historical logistics information within the predetermined time period of the logistics transportation service provider.
[0098] Taking into account these special types of items, it is impossible to use all historical logistics trajectories to determine the pre-delivery route. Instead, it is necessary to obtain the historical logistics trajectories of the same item type so as to obtain a more accurate pre-delivery route.
[0099] Furthermore, the display method of multiple pre-delivery routes of the present invention will be described below through multiple different embodiments.
[0100] In some embodiments, the pre-delivery routes of different logistics and transportation service providers can be displayed on the map with different display parameters. Display parameters include but are not limited to color parameters, brightness parameters, size parameters, graphic marks, and any combination thereof. Specific display parameters can be set as needed. For example, the pre-delivery routes of different logistics and transportation service providers are displayed in different colors so that users can perceive different logistics and transportation service providers. In some embodiments, when the user hovers / touches the mouse over the displayed pre-delivery route, the name of the logistics service provider of the pre-delivery route can be directly displayed. In some embodiments, when the user operates the mouse to select / touch to select the displayed pre-delivery route, it can be determined that the user has selected the logistics server for the pre-delivery route, and the aforementioned logistics and transportation service provider selection information is generated based on the user's operation.
[0101] In some embodiments, the implementation of displaying the pre-delivery routes of multiple logistics and transportation service providers on a map can be as follows: Figure 4 As shown, Figure 4 The following steps are shown:
[0102] Step S171: Displaying a pre-delivery route of a logistics transportation service provider on a map.
[0103] Step S172: In response to the user's operation of switching the logistics transportation service provider, switching the pre-delivery route of another logistics transportation service provider on the map.
[0104] Thus, through this display mode, users can obtain a more concise and clear pre-delivery route. Furthermore, in response to user operations, it is also possible to switch between this display mode (displaying only one pre-delivery route and switching to display other pre-delivery routes based on user operations) and the aforementioned display mode (displaying multiple pre-delivery routes at the same time).
[0105] In some embodiments, the pre-delivery routes of multiple logistics and transportation service providers and the predicted arrival time and / or estimated transportation costs of each pre-delivery route can also be displayed on the map. Specifically, displaying the pre-delivery routes of multiple logistics and transportation service providers and the predicted arrival time and / or estimated transportation costs of each pre-delivery route on the map can include: showing the pre-delivery route of the logistics and transportation service provider with the shortest estimated arrival time with a first mark on the map; and / or showing the pre-delivery route of the logistics and transportation service provider with the lowest estimated transportation cost with a second mark on the map. Thereby, the user can further be enabled to intuitively perceive the relevant transportation parameters (timeliness and / or price) of each pre-delivery route. Among them, the first mark and the second mark can enable the pre-delivery route to be displayed with display parameters different from other pre-delivery routes. Furthermore, the first mark and the second mark can also be displayed in the form of icons in the vicinity of the pre-delivery route they represent.
[0106] Therefore, through the shipping address and the receiving address, the historical logistics trajectory routes and delivery time of each logistics and transportation service provider can be counted and aggregated, and then displayed on a map and presented to consumers, so that users can intuitively see the delivery routes and timeliness of different logistics and transportation service providers before placing an order. Users can choose according to their actual situation to enhance their shopping experience; create personalized express delivery products, facilitate the optimization of logistics and transportation service providers' delivery routes, and improve delivery timeliness.
[0107] The above are only a number of specific implementations of the method for displaying the pre-delivery route of a package of the present invention. Each implementation can be implemented independently or in combination, and the present invention is not limited thereto. Furthermore, the flowchart of the present invention is only illustrative, and the execution order between the steps is not limited thereto. The splitting, merging, order exchange, and other synchronous or asynchronous execution methods of the steps are all within the protection scope of the present invention.
[0108] See below Figure 5 , Figure 5 The module diagram of the device for displaying the pre-delivery route of a package according to an embodiment of the present invention is shown. The device 200 for displaying the pre-delivery route of a package includes a first acquisition module 210, a second acquisition module 220, an extraction module 230, a first weight module 240, a second weight module 250, an optimal route determination module 260, a display module 270, and a sending module 280.
[0109] The first acquisition module 210 is configured to acquire a receiving address and a sending address;
[0110] The second acquisition module 220 is configured to acquire a plurality of logistics and transportation service providers;
[0111] The extraction module 230 is configured to extract, for each logistics transportation service provider, a plurality of historical logistics tracks having the same address granularity as the receiving address and the shipping address from the historical logistics information of the logistics transportation service provider within a predetermined time period;
[0112] The first weight module 240 is configured to set a first weight for each logistics transportation service provider according to the distance of the logistics transportation time for the plurality of historical logistics trajectories;
[0113] The second weight module 250 is configured to set a second weight for each logistics transportation service provider according to the number of transportation orders for the same transportation route for multiple transportation routes;
[0114] The optimal route determination module 260 is configured to determine, for each logistics transportation service provider, the optimal transportation path of the logistics transportation service provider as a pre-delivery route based at least on the first weight and the second weight;
[0115] The display module 270 is configured to display the pre-delivery route of the logistics transportation service provider on a map; and
[0116] The sending module 280 is configured to send a logistics transport service provider selection information to the sending user end in response to the recipient user end selecting a map showing the pre-delivery route of the logistics transport service provider, wherein the logistics transport service provider selection information is provided for the sending user end to select a logistics transport service provider.
[0117] In the device for displaying the pre-delivery route of a package in an exemplary embodiment of the present invention, on the one hand, a first weight related to the logistics transportation time and a second weight related to the number of transportation orders are determined by using historical logistics information within a predetermined time period from the logistics transportation service provider, and the pre-delivery route is determined based on the first weight and the second weight, so that the delivery route of the logistics service provider displayed to the user is optimal and has the highest probability of being the same as the actual delivery route. The calculation of the first weight and the second weight is convenient, and the efficiency of obtaining the pre-delivery route is high. On the other hand, by displaying the pre-delivery routes of multiple logistics transportation service providers on a map, and in response to the recipient user's selection of a map based on the displayed pre-delivery routes of the logistics transportation service providers, a logistics transportation service provider selection information is sent to the sender user, so that the user can intuitively perceive the delivery path of the package, so that the user can choose a logistics company, thereby improving the user's sending / receiving experience.
[0118] Figure 5The device 200 for displaying the pre-delivery route of a package provided by the present invention is only schematically shown. Without violating the concept of the present invention, the splitting, merging, and adding of modules are all within the protection scope of the present invention. The device 200 for displaying the pre-delivery route of a package provided by the present invention can be implemented by software, hardware, firmware, plug-in, and any combination thereof, and the present invention is not limited thereto.
[0119] In an exemplary embodiment of the present invention, a computer-readable storage medium is also provided, on which a computer program is stored. When the program is executed by, for example, a processor, the steps of the method for displaying a package pre-delivery route described in any of the above embodiments can be implemented. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps of various exemplary embodiments of the present invention described in the method for displaying a package pre-delivery route section of the present specification.
[0120] refer to Figure 6 As shown, a program product 700 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0121] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0122] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by an instruction execution system, an apparatus, or a device or used in combination with it. The program code contained on the readable storage medium may be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0123] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the tenant computing device, partially on the tenant device, as a separate software package, partially on the tenant computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device may be connected to the tenant computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0124] In an exemplary embodiment of the present invention, an electronic device is further provided, which may include a processor and a memory for storing executable instructions of the processor, wherein the processor is configured to execute the steps of the method for displaying a pre-delivery route of a package in any of the above embodiments by executing the executable instructions.
[0125] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".
[0126] Refer to the following Figure 7 The electronic device 500 according to this embodiment of the present invention is described. Figure 7 The electronic device 500 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0127] like Figure 7As shown, the electronic device 500 is in the form of a general computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one storage unit 520, a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510), a display unit 540, etc.
[0128] The storage unit stores program codes, which can be executed by the processing unit 510, so that the processing unit 510 executes the steps of various exemplary embodiments of the present invention described in the method section of displaying the pre-delivery route of a package. For example, the processing unit 510 can execute the following steps: Figures 1 to 4 Any step shown in any one or more of the accompanying drawings.
[0129] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 5201 and / or a cache memory unit 5202 , and may further include a read-only memory unit (ROM) 5203 .
[0130] The storage unit 520 may also include a program / utility 5204 having a set (at least one) of program modules 5205, such program modules 5205 including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0131] Bus 530 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0132] The electronic device 500 may also communicate with one or more external devices 600 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may communicate with one or more devices that enable tenants to interact with the electronic device 500, and / or may communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 550. In addition, the electronic device 500 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 560. The network adapter 560 may communicate with other modules of the electronic device 500 via a bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0133] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above-mentioned method for displaying the pre-delivery route of a package according to the implementation of the present invention.
[0134] Compared with the prior art, the advantages of the present invention are:
[0135] On the one hand, a first weight related to the logistics transportation time and a second weight related to the number of transportation orders are determined by using historical logistics information within a predetermined time period from the logistics transportation service provider, so that the pre-delivery route is determined based on the first weight and the second weight, so that the delivery route of the logistics service provider displayed to the user is optimal and has the highest probability of being the same as the actual delivery route. The calculation of the first weight and the second weight is convenient, and the acquisition efficiency of the pre-delivery route is high. On the other hand, the pre-delivery routes of multiple logistics transportation service providers are displayed on a map, and in response to the recipient user's selection of a map based on the displayed pre-delivery routes of the logistics transportation service providers, a logistics transportation service provider selection information is sent to the sender user, so that the user can intuitively perceive the delivery path of the package and select a logistics company, thereby improving the user's sending / receiving experience.
[0136] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the appended claims.
Claims
1. A method for displaying a pre-delivery route of a package, characterized in that: include: Get the delivery address and the shipping address of the package to be shipped; Get multiple logistics and transportation service providers, and for each logistics and transportation service provider: Extracting multiple historical logistics tracks with the same address granularity as the receiving address and the shipping address from the historical logistics information within a predetermined time period of the logistics transportation service provider; Setting a first weight for the plurality of historical logistics tracks according to the distance of the logistics transportation time; Setting second weights for the multiple transport routes according to the quantity of transport orders for the same transport route; The time interval between the transportation time and the current time is negatively correlated with the first weight, and the number of transportation orders for the same transportation route is positively correlated with the second weight; Determining the optimal transportation path of the logistics and transportation service provider as a pre-delivery route based at least on the first weight and the second weight includes: aggregating the multiple historical logistics trajectories into multiple transportation paths; for each transportation path: calculating the sum of the first weights of the multiple historical logistics trajectories of the transportation path as a quasi-reference value of the transportation path; multiplying the quasi-reference value of the transportation path by the second weight of the transportation path as a reference value of the transportation path; taking the transportation path with the largest reference value as the optimal transportation path of the logistics and transportation service provider as the pre-delivery route; Displaying the estimated delivery routes of multiple logistics and transportation service providers on a map; and In response to the recipient user's selection based on the map showing the pre-delivery route of the logistics transportation service provider, a logistics transportation service provider selection information is sent to the sender user, and the logistics transportation service provider selection information is provided for the sender user to select a logistics transportation service provider.
2. The method for displaying a package pre-delivery route according to claim 1, characterized in that: The historical logistics information within a predetermined time period from the logistics transportation service provider, before extracting a plurality of historical logistics tracks with the same address granularity as the receiving address and the shipping address, further includes: Get the item type of the package; Correspondingly, the historical logistics information within a predetermined time period from the logistics transportation service provider, extracting a plurality of historical logistics tracks having the same address granularity as the receiving address and the shipping address, further includes: Determining whether the item type of the package belongs to a preset item type; If so, multiple historical logistics tracks with the same receiving address and shipping address at the set address granularity and the item type belonging to the preset item type are extracted from the historical logistics information within the predetermined time period of the logistics transportation service provider.
3. The method for displaying a package pre-delivery route according to claim 1, characterized in that: The pre-delivery routes of multiple logistics transport service providers displayed on the map include: The pre-delivery routes of different logistics and transportation service providers are displayed on the map with different display parameters.
4. The method for displaying a package pre-delivery route according to claim 1, characterized in that: The pre-delivery routes of multiple logistics transport service providers displayed on the map include: Displaying a logistics transport service provider's pre-delivery route on a map; In response to the user's operation of switching the logistics and transportation service provider, the pre-delivery route of another logistics and transportation service provider is switched on the map.
5. The method for displaying a package pre-delivery route according to claim 1, characterized in that: The pre-delivery routes of multiple logistics transport service providers displayed on the map include: The pre-delivery routes of multiple logistics transportation service providers and the predicted arrival time and / or estimated transportation cost of each pre-delivery route are displayed on a map.
6. The method for displaying a package pre-delivery route according to claim 5, characterized in that: Displaying the pre-delivery routes of multiple logistics transport service providers on a map and the predicted arrival time and / or estimated transportation costs of each pre-delivery route includes: The pre-delivery route of the logistics transportation service provider with the shortest estimated arrival time is indicated on the map as a first marker; and / or The pre-delivery route of the logistics transportation service provider with the lowest estimated transportation cost is shown with a second mark on the map.
7. The method for displaying a package pre-delivery route according to claim 1, characterized in that: The logistics and transportation service provider selection information is used to display the logistics and transportation service provider selected by the recipient user terminal to the sender user terminal; or the logistics and transportation service provider selection information instructs the sender user terminal to automatically select the logistics and transportation service provider.
8. A device for displaying a pre-delivery route of a package, characterized in that: include: A first acquisition module is configured to acquire a receiving address and a sending address; A second acquisition module is configured to acquire multiple logistics and transportation service providers; An extraction module is configured to extract, for each logistics transportation service provider, a plurality of historical logistics tracks having the same address granularity as the receiving address and the shipping address from the historical logistics information of the logistics transportation service provider within a predetermined time period; A first weight module is configured to set a first weight for each logistics transportation service provider according to the distance of the logistics transportation time for the plurality of historical logistics trajectories; A second weight module is configured to set a second weight for each logistics transportation service provider according to the number of transportation orders for the same transportation route for multiple transportation routes; The time interval between the transportation time and the current time is negatively correlated with the first weight, and the number of transportation orders for the same transportation route is positively correlated with the second weight; The optimal route determination module is configured to determine, for each logistics transportation service provider, the optimal transportation path of the logistics transportation service provider as a pre-delivery route based at least on the first weight and the second weight, including: aggregating the multiple historical logistics trajectories into multiple transportation paths; for each transportation path: calculating the sum of the first weights of the multiple historical logistics trajectories of the transportation path as a quasi-reference value of the transportation path; taking the product of the quasi-reference value of the transportation path and the second weight of the transportation path as a reference value of the transportation path; taking the transportation path with the largest reference value as the optimal transportation path of the logistics transportation service provider as the pre-delivery route; A display module configured to display the pre-delivery route of the logistics transportation service provider on a map; and The sending module is configured to send a logistics transportation service provider selection information to the sending user terminal in response to the recipient user terminal's selection based on the map showing the pre-delivery route of the logistics transportation service provider, wherein the logistics transportation service provider selection information is provided for the sending user terminal to select a logistics transportation service provider.
9. An electronic device, characterized in that: The electronic device comprises: processor; A memory having a computer program stored thereon, wherein the computer program is executed by the processor when it is executed: A method for displaying a pre-delivery route of a package as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium stores a computer program, which is executed by the processor when it is run: A method for displaying a pre-delivery route of a package as claimed in any one of claims 1 to 7.
