Express track query method, device, equipment and storage medium

By presetting the express delivery database in the logistics system and filtering using customer information and order time information to generate express delivery status and trajectory information, the problem that logistics companies cannot quickly feedback express delivery trajectory is solved, and the response efficiency and accuracy of logistics companies are improved.

CN115983751BActive Publication Date: 2025-08-08SHANGHAI DONGPU INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310001272.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-03
Publication Date
2025-08-08
Estimated Expiration
2043-01-03

AI Technical Summary

Technical Problem

Logistics companies are unable to quickly provide express delivery trajectory query services to merchant customers, resulting in inefficient response between merchant customers and logistics companies.

Method used

The express delivery database is preset, and features are extracted and filtered through customer information and order time information, and express delivery status information and trajectory information are generated to provide real-time feedback.

Benefits of technology

It improves the feedback efficiency and response ability of logistics companies to express delivery information, and can quickly and accurately provide express delivery status and trajectory information to merchant customers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115983751B_ABST
    Figure CN115983751B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of logistics technology, and in particular to a method, device, equipment and storage medium for querying express shipment tracks. A pre-set express shipment database is used to obtain initial shipment data based on customer information, and logistics customer service can assist customers in accessing the shipment data based on the initial shipment data, thereby greatly improving feedback efficiency. When a customer needs to track information about a particular shipment, the initial shipment data is carefully screened based on order time information, target shipment data is found from the initial shipment data, and the current location of the target shipment is obtained based on the target shipment data, so as to provide real-time feedback on the current shipment status information of the target shipment. In addition, data backtracking is performed based on the target shipment data, historical data of the target shipment is found, and the data is combined with the current shipment status information to form shipment track information, so that logistics customer service can quickly grasp the time dimension and time difference of each trajectory, so that logistics customer service can accurately and quickly provide feedback on shipment information to merchant customers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics technology, and in particular to a method, device, equipment and storage medium for querying express delivery tracks. Background Art

[0002] Currently, the business volume of the logistics industry has surged, but logistics companies do not currently provide dedicated query services for merchant customers. When consumers inquire about the express delivery information of merchant customers, merchant customers need to query the express delivery track information through various platforms and are unable to respond to consumers quickly, which may cause adverse effects on merchant customers and logistics companies.

[0003] It can be seen that the existing technology still needs to be improved and enhanced. Summary of the Invention

[0004] In order to overcome the shortcomings of the existing technology, the purpose of the present invention is to provide a parcel trajectory query method, device, equipment and storage medium, which can obtain the current real-time trajectory of the parcel based on customer information and parcel information, and can accurately feedback the parcel status and the time difference of the logistics links to the merchant customer.

[0005] The first aspect of the present invention provides a method for querying express delivery tracks, comprising: presetting an express delivery database based on information of each express delivery outlet and each distribution center; obtaining customer information, and performing feature extraction on the express delivery database based on the customer information to obtain initial express delivery data; the initial express delivery data includes all express delivery data consistent with the customer information; obtaining order time information, and filtering the initial express delivery data based on the customer order time information to obtain target express delivery data; the order time information is the time when the customer enters the order; and generating express delivery status information and track information based on the target express delivery data.

[0006] Optionally, in a first implementation method of the first aspect of the present invention, the express database is preset based on the information of each express outlet and each distribution center, including: obtaining express data of each express outlet and each distribution center; the express data includes customer information, address information, order time information, collection time information, warehousing time information, outbound time information, delivery time information and receipt time information; pre-processing the express entry data, classifying the express entry data containing the same customer information, and generating multiple initial data packets; integrating the initial data packets, merging the express data containing the same order time information in the initial data packets, and sorting the merged express data according to the time sequence of the order time information to generate an express list; generating an express database based on each express list.

[0007] Optionally, in a second implementation method of the first aspect of the present invention, the customer information is obtained and features are extracted from the express database based on the customer information to obtain initial express data, including: the express database includes a customer code, and the express data in the express database is classified according to the customer code, and the customer code is a code generated based on the customer information after the customer places an order; after obtaining the customer information, the customer information is parsed and an identification code is generated; the identification code is compared with each customer code in the express database; if the identification code is consistent with the customer code, the corresponding express data in the express database is retrieved, and initial express data is generated.

[0008] Optionally, in a third implementation of the first aspect of the present invention, the order time information is obtained, and the initial express data is filtered according to the customer's order time information to obtain target express data, including: the order time information includes an order date field and an order clock field; the order date field and the order clock field are extracted according to the order time information; the express data in the initial express data is extracted according to the order date field and the order clock field; if the express data contains the order date field and the order clock field, the express data is output, and the express data is used as the target express data.

[0009] Optionally, in a fourth implementation of the first aspect of the present invention, the express status information and trajectory information are generated according to the target express data, including: the target express data includes an order time directory, a collection time directory, a warehousing time directory, a delivery time directory, and a receipt time directory; the express status information is output according to the time information under the order time directory, the collection time directory, the warehousing time directory, the delivery time directory, the delivery time directory, and the receipt time directory; if the order time directory has time information, and the collection time directory, the warehousing time directory, the delivery time directory, the delivery time directory, and the receipt time directory do not have time information, then the status information of the items to be collected is output; if the collection time directory If the time information exists in the record, and there is no time information in the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory, then the collected status information is output; if there is time information in the warehousing time directory and / or the outbound time directory, and there is no time information in the delivery time directory and the receipt time directory, then the in-transit status information is output; if there is time information in the outbound time directory and the delivery time directory, and there is no time information in the collection time directory, then the delivery status information is output; if there is time information in the receipt directory, then the received status information is output; based on the output express status information, all time information under the target express data corresponding to the express status information is obtained, and trajectory information is generated based on the time information.

[0010] Optionally, in a fifth implementation of the first aspect of the present invention, all time information under the target express parcel data corresponding to the express parcel status information is obtained based on the output express parcel status information, and trajectory information is generated based on the time information, including: obtaining the time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory; sorting the time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory according to the starting order to obtain time trajectory data; the target express parcel data also includes the outlet address and the distribution center address; and generating trajectory information based on the outlet address, the distribution center address and the time trajectory data.

[0011] Optionally, in a sixth implementation method of the first aspect of the present invention, the method of obtaining all time information under the target express data corresponding to the express status information based on the output express status information, and generating trajectory information based on the time information, also includes: comparing the time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory to obtain the terminal time information, and the terminal time information is the latest entered time information in the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory; if the terminal time information is inconsistent with the time information of the order time directory, the terminal time information is subtracted from the time information of the order time directory to obtain the time difference information; if the terminal time information is consistent with the time information of the order time directory, the time difference is determined to be empty, and the time difference information is output as a no-state signal.

[0012] The second aspect of the present invention provides a parcel trajectory query device, including: a database building module, used to preset the parcel database based on the information of each express outlet and each distribution center; a first acquisition module, used to obtain customer information, and perform feature extraction on the parcel database based on the customer information to obtain initial parcel data; the initial parcel data includes all parcel data consistent with the customer information; a second acquisition module, used to obtain order time information, and filter the initial parcel data based on the customer order time information to obtain target parcel data; the order time information is the entry time of the customer placing the order; a generation module, used to generate parcel status information and trajectory information based on the target parcel data.

[0013] Optionally, in a first implementation method of the second aspect of the present invention, the database building module includes: a first acquisition unit, used to acquire express data from each express outlet and each distribution center; a first generation unit, used to pre-process the express input data, classify the express input data containing the same customer information, and generate multiple initial data packets; a second generation unit, used to integrate the initial data packets, merge the express data containing the same order time information in the initial data packets, and sort the merged express data according to the time sequence of the order time information to generate an express list; a third generation unit, used to generate an express database based on each express list.

[0014] Optionally, in a second implementation of the second aspect of the present invention, the first acquisition module includes: a parsing unit, which is used to parse the customer information after obtaining it and generate an identification code; a comparison unit, which is used to compare the identification code with each customer code in the express database; if the identification code is consistent with the customer code, the corresponding express data in the express database is retrieved and initial express data is generated.

[0015] Optionally, in a third implementation of the second aspect of the present invention, the second acquisition module includes: a first extraction unit, used to extract the order date field and the order clock field in the order time information based on the order time information; a second extraction unit, used to extract the express data in the initial express data based on the order date field and the order clock field; if the express data contains the order date field and the order clock field, the express data is output and used as the target express data.

[0016] Optionally, in a fourth implementation of the second aspect of the present invention, the generation module includes: a first output unit for outputting express status information according to the time information in the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory; a judgment unit for outputting the status information of the items to be collected if there is time information in the order time directory and there is no time information in the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory; if there is time information in the collection time directory and there is no time information in the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory If there is no time information in the time directory, the collected status information is output; if there is time information in the incoming time directory and / or the outgoing time directory, and there is no time information in the delivery time directory and the receipt time directory, the in-transit status information is output; if there is time information in the outgoing time directory and the delivery time directory, and there is no time information in the collection time directory, the in-delivery status information is output; if there is time information in the receipt directory, the received status information is output; the second output unit is used to obtain all time information under the target express data corresponding to the output express status information according to the output express status information, and generate trajectory information according to the time information.

[0017] Optionally, in a fifth implementation of the second aspect of the present invention, the second output unit includes: an acquisition unit, used to acquire time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory; a sorting unit, used to sort the time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory according to the starting order to obtain time trajectory data; an output unit, used to generate trajectory information based on the outlet address, the distribution center address and the time trajectory data.

[0018] Optionally, in a sixth implementation of the second aspect of the present invention, the second output unit further includes: a comparison unit, used to compare the time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory to obtain the terminal time information, wherein the terminal time information is the latest time information entered in the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory; a judgment unit, used to subtract the terminal time information from the time information of the order time directory to obtain time difference information if the terminal time information is inconsistent with the time information of the order time directory; if the terminal time information is consistent with the time information of the order time directory, determine that the time difference is empty, and output the time difference information as a stateless signal.

[0019] A third aspect of the present invention provides a parcel track query device, comprising: a memory and at least one processor, wherein the memory stores instructions; at least one processor calls the instructions in the memory to enable the parcel track query device to execute each step of any one of the above-mentioned parcel track query methods.

[0020] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, which, when executed by a processor, implement the various steps of any of the above-mentioned express delivery track query methods.

[0021] In the technical solution of the present invention, a parcel database is pre-set for each express delivery outlet and each distribution center, providing sufficient background data for logistics companies or logistics customer service to quickly respond to the needs of merchant customers. Feature extraction is performed on the parcel database based on customer information to obtain all parcel information belonging to the target customer, namely initial parcel data. Based on the initial parcel data, logistics customer service can assist customers in accessing parcel data, greatly improving feedback efficiency. When a customer needs to track the information of a particular parcel, the initial parcel data is carefully screened based on the order time information to accurately find the target parcel data from the initial parcel data. The current location of the target parcel is obtained based on the target parcel data to provide real-time feedback on the current parcel status of the target parcel. In addition, data backtracking is performed based on the target parcel data to find the historical data of the target parcel and combine it with the current parcel status information to form trajectory information. This allows logistics customer service to quickly grasp the time dimension and time difference of each trajectory, allowing the logistics company or logistics customer service to accurately and quickly feedback parcel information to the merchant customer, thereby improving the response efficiency of the logistics company. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A first flow chart of a method for querying express track provided by an embodiment of the present invention;

[0023] Figure 2 A second flow chart of the express delivery track query method provided by an embodiment of the present invention;

[0024] Figure 3 A third flow chart of the express delivery track query method provided by an embodiment of the present invention;

[0025] Figure 4 A fourth flow chart of the express track query method provided by an embodiment of the present invention

[0026] Figure 5 A schematic diagram of the structure of a parcel track query device provided by an embodiment of the present invention;

[0027] Figure 6Another structural diagram of the express delivery track query device provided by an embodiment of the present invention;

[0028] Figure 7 A schematic diagram of the structure of a parcel track query device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0029] The present invention provides a method, device, equipment, and storage medium for querying express shipment trajectories. The present invention pre-sets an express shipment database based on each express delivery outlet and each distribution center, providing sufficient background data for a logistics company or logistics customer service to facilitate rapid response based on the needs of merchant customers. Feature extraction is performed on the express shipment database based on customer information to obtain all express shipment information belonging to a target customer, namely, initial express shipment data. Based on the initial express shipment data, the logistics customer service can assist the customer in accessing the express shipment data, greatly improving feedback efficiency. When a customer needs to track the information of a particular express shipment, the initial express shipment data is finely screened based on order time information to accurately find the target express shipment data from the initial express shipment data. The current location of the target express shipment is obtained based on the target express shipment data, providing real-time feedback on the current status of the target express shipment. Furthermore, data backtracking is performed based on the target express shipment data to find historical data of the target express shipment and combine it with the current status information to form trajectory information. This allows the logistics customer service to quickly grasp the time dimension and time difference of each trajectory, enabling the logistics company or logistics customer service to accurately and quickly feedback the express shipment information to the merchant customer, thereby improving the response efficiency of the logistics company.

[0030] The terms "first," "second," "third," "fourth," and the like (if any) in the description and claims of the present invention and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or apparatus that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to these processes, methods, products, or apparatus.

[0031] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 An embodiment of the express delivery track query method in the embodiment of the present invention includes:

[0032] 101. Preset the express delivery database based on the information of each express delivery outlet and each distribution center;

[0033] In this embodiment, by establishing an express delivery database, each express delivery outlet and each distribution center are connected, so that all express delivery information of each express delivery outlet and each distribution center is shared with the express delivery database, and the express delivery database is used to classify and summarize various express delivery information according to certain classification rules to form an express delivery database; in addition, the express delivery database can provide sufficient background data for logistics companies or logistics customer service so that they can quickly respond to corresponding feedback according to the needs of merchant customers.

[0034] It should be noted that each express delivery outlet and each distribution center is equipped with a waybill port, which forms a communication connection with the express database through the waybill port; during the data transmission process, the express information must first be packaged through the waybill port, and the information encryption must be completed before sending it to the express database to avoid information leakage during the sending process; when the express database receives the data packet of express information, it will perform data analysis on it, decode the data packet through the preset secret key, and obtain the corresponding express information.

[0035] 102. Obtain customer information and perform feature extraction on the express delivery database based on the customer information to obtain initial express delivery data; the initial express delivery data includes all express delivery data consistent with the customer information;

[0036] In this embodiment, since the express delivery database contains a large amount of express delivery data of different customers, when a customer's request is received, a primary screening is performed in the express delivery database based on the customer information, and the initial express delivery data that meets the character features of the customer information is searched in the express delivery database, thereby finding all express delivery information that meets the needs of the customer. This makes it easier for logistics customer service to assist customers in checking express delivery data, greatly improving feedback efficiency.

[0037] It should be understood that the express delivery data includes information such as the merchant name, merchant contact number, merchant address, merchant order time, pickup time, and dispatch time.

[0038] For ease of understanding, the following example is used for explanation: assuming that the customer information obtained is the customer name, customer contact number, or customer address, etc., field extraction is performed on the above information, and the express data containing the field is filtered out in the express database based on the extracted field, and the express data is output to form initial express data. The initial express data can be transmitted to the logistics customer service in the form of lists, charts, etc., and the logistics customer service can make a quick response to the merchant customer based on the initial express data.

[0039] 103. Obtain order time information, and filter the initial express shipment data based on the customer's order time information to obtain target express shipment data; the order time information is the time when the customer enters the order;

[0040] In this embodiment, when a customer needs to track the information of a certain express delivery, it is necessary to obtain the corresponding order time information from the customer, and screen the initial express delivery data according to the customer's order time information to accurately find the target express delivery data from the initial express delivery data, thereby improving the data addressing efficiency.

[0041] In this embodiment, the order time information is date information and time information, and the initial express data is queried by fuzzy search, that is, the order time information provided by the customer is used as a fuzzy value. When the fuzzy value falls within the fuzzy range of the merchant's order time in the initial express data, the express data can be output as the target express data. In this way, the fault tolerance rate during screening is greatly improved. Even if the order time information provided by the customer deviates, the corresponding target express data can be found within a certain error range, thereby improving the screening efficiency.

[0042] 104. Generate express delivery status information and trajectory information based on target express delivery data;

[0043] In this embodiment, after the target express data is accurately screened out through the above steps, the location of the current target express is obtained according to the target express data to provide real-time feedback on the current express status information of the target express; and data backtracking is performed based on the target express data to find the historical data of the target express and combine it with the current express status information to form trajectory information, so that the logistics customer service can quickly grasp the time dimension and time difference of each trajectory, so that the logistics company or logistics customer service can accurately and quickly feedback the express information to the merchant customers, thereby improving the response efficiency of the logistics company. Real-time monitoring of the target express can also facilitate the logistics company to deploy various express outlets or distribution centers to speed up the processing of express parcels.

[0044] In an embodiment of the present invention, a parcel database is pre-set for each express delivery outlet and each distribution center, providing sufficient background data for logistics companies or logistics customer service to facilitate rapid response to merchant customer needs. Feature extraction is performed on the parcel database based on customer information to obtain all parcel information belonging to the target customer, namely initial parcel data. Based on the initial parcel data, logistics customer service can assist customers in accessing parcel data, greatly improving feedback efficiency. When a customer needs to track the information of a particular parcel, the initial parcel data is carefully screened based on the order time information to accurately find the target parcel data from the initial parcel data. The current location of the target parcel is then obtained based on the target parcel data to provide real-time feedback on the current parcel status of the target parcel. In addition, data backtracking is performed based on the target parcel data to find the historical data of the target parcel and combine it with the current parcel status information to form trajectory information. This allows logistics customer service to quickly grasp the time dimension and time difference of each trajectory, allowing the logistics company or logistics customer service to accurately and quickly provide parcel information to the merchant customer, thereby improving the response efficiency of the logistics company.

[0045] See also Figure 2 The second embodiment of the express delivery track query method in the embodiment of the present invention includes:

[0046] 201. Pre-process the express delivery input data, classify the express delivery input data containing the same customer information, and generate multiple initial data packets;

[0047] In this embodiment, since each express delivery outlet and each distribution center has a large amount of express delivery data and the express delivery data is messy, it is necessary to classify the express delivery data and classify the express delivery data according to customer information so that the express delivery data belonging to the same customer can be packaged into an initial data packet to form an independent storage space to facilitate the retrieval of the data of the same customer.

[0048] 202. Integrate the initial data packets, merge the shipment data containing the same order time information in the initial data packets, and sort the merged shipment data according to the chronological order of the order time information to generate a shipment list;

[0049] 203. Generate an express delivery database according to each express delivery list;

[0050] In this embodiment, since the same express parcel will pass through multiple express outlets or multiple distribution centers during transportation, there is a problem of overlapping express parcel entry data information, so it is necessary to merge the express parcel entry data belonging to the same express parcel to eliminate redundant express parcel entry data and avoid redundancy in the express parcel database; when processing data, the express parcel data belonging to the same express parcel is filtered out according to the order time information, and then these express parcel data are merged, that is, the same information is retained and different types of information are merged, and then the merged express parcel data is sorted according to the order order of each order time information to generate a parcel list, and the parcel list is used to facilitate the logistics company to check the information in the express parcel database.

[0051] 204. The express delivery database includes customer codes. Express delivery data in the express delivery database is classified according to the customer codes. The customer codes are codes generated based on customer information after a customer places an order. After obtaining the customer information, the customer information is parsed and an identification code is generated.

[0052] 205. Compare the identification code with each customer code in the express database;

[0053] 206. If the identification code is consistent with the customer code, the corresponding express delivery data in the express delivery database is retrieved and initial express delivery data is generated;

[0054] In this embodiment, each initial data packet is marked in the express database, and a customer code is generated according to the corresponding customer information using a preset coding rule to facilitate addressing of the express database. When addressing is required, an identification code can be automatically generated according to the information provided by the customer in accordance with the coding rule consistent with the customer code, and the express database is addressed using the identification code. When a customer code corresponding to the identification code is found, the corresponding initial data packet is retrieved to generate initial express data. By setting the customer code and the identification code, the addressing efficiency of the express database can be effectively improved, and the data screening efficiency can be improved.

[0055] 207. The order time information includes an order date field and an order clock field; extract the order date field and the order clock field according to the order time information;

[0056] 208. Extracting the express delivery data from the initial express delivery data according to the order date field and the order clock field;

[0057] 209. If the express delivery data contains the order date field and the order time field, output the express delivery data and use the express delivery data as the target express delivery data;

[0058] In this embodiment, the order time information includes the date and specific time. First, the date field and clock field in the order time information are checked, and then the express data in the initial express data is extracted based on the date field and clock field. When the express data contains data consistent with the order date field and the order clock field, the express data is extracted as the target express data. The above method greatly improves the accuracy of obtaining the target express data.

[0059] See also Figure 3 The third embodiment of the express delivery track query method in the embodiment of the present invention includes:

[0060] 301. The target express shipment data includes an order time directory, a pickup time directory, a storage time directory, a shipment time directory, a delivery time directory, and a receipt time directory; and outputting express shipment status information based on the time information in the order time directory, the pickup time directory, the storage time directory, the shipment time directory, the delivery time directory, and the receipt time directory.

[0061] In this embodiment, the status of the express is related to the current site and time of the target express. Therefore, after obtaining the target express data, it is necessary to obtain all the time information and corresponding site information contained therein, so as to identify the latest input information of the target express, and thus quickly determine the status information of the target express; based on the express status information, the logistics company can quickly provide customers with feedback on the current node, current status, whether there is a delay, etc. of the target express, so that these expresses can be targeted to the corresponding distribution and outlets, speeding up the processing pace, thereby improving customer service response capabilities and efficiency.

[0062] 302. If the order time directory has time information, and the pickup time directory, warehousing time directory, outbound time directory, delivery time directory, and receipt time directory do not have time information, then output the pending pickup status information;

[0063] 303. If the pickup time directory has time information, and the inbound time directory, outbound time directory, delivery time directory, and receipt time directory do not have time information, then output the pickup status information;

[0064] 304. If time information exists in the warehouse-in time directory and / or the warehouse-out time directory, and no time information exists in the delivery time directory and the receipt time directory, output the in-transit status information;

[0065] 305. If time information exists in the outbound time directory and the delivery time directory, and no time information exists in the payment collection time directory, output the delivery status information;

[0066] 306. If the receipt directory contains time information, output the receipt status information;

[0067] In this embodiment, time information may be stored under each directory. If time information is stored, it means that the corresponding directory has entered information and is currently in or has passed through the logistics node. The current node status of the express is determined by determining the time information under each directory. In this embodiment, the express status information is divided into waiting for collection status, collected status, in-transit status, in-delivery status and received status, and the actual status of the current express is determined according to different directory times; specifically, if there are multiple time information under the incoming time directory or the outgoing time directory, and the express is in the in-transit status, it means that the express has passed through multiple stations. At this time, it is necessary to directly select the latest entered time information in the incoming time directory or the outgoing time directory as the time of the express status information.

[0068] Specifically, the target express data also includes a recipient field. When the signed-for status information is output, the signatory field is judged; if the signatory field is consistent with the recipient field, the normal signing-for status information is output; if the signatory field is inconsistent with the recipient field, the proxy signing status information is output; if the signatory field is inconsistent with the recipient field and is marked as abnormal signing, the abnormal signing status information is output; it should be noted that the abnormal signing mark is the mark made by the outlet on the express when the recipient signs for the express.

[0069] 307. According to the outputted express delivery status information, obtain all time information of the target express delivery data corresponding to the express delivery status information, and generate trajectory information according to the time information;

[0070] In this embodiment,

[0071] See also Figure 4 The third embodiment of the express delivery track query method in the embodiment of the present invention includes:

[0072] 401. Obtain time information for the order placement time directory, pickup time directory, warehousing time directory, outbound time directory, delivery time directory, and receipt time directory;

[0073] 402. Sort the time information of the order placement time directory, the pickup time directory, the warehousing time directory, the outbound time directory, the delivery time directory, and the receipt time directory according to the starting order to obtain time trajectory data;

[0074] 403. The target express shipment data further includes a branch address and a distribution center address; and trajectory information is generated based on the branch address, the distribution center address, and the time trajectory data.

[0075] In this embodiment, all historical entry times in the target express data are sorted by time, and the entry times are arranged in order from earliest to latest, thereby obtaining time trajectory data. The time trajectory data can more intuitively provide feedback on the events that the target express has passed through, and the addresses of each outlet and each distribution center are correspondingly incorporated into the time trajectory data to form trajectory information. The trajectory information can facilitate customers to quickly and accurately obtain all time information and route information of the express, improve the processing efficiency of the target express, realize real-time monitoring of the target express, and facilitate the acquisition of information such as the current node, status, and whether there is a delay of the target express, so that these express parcels can be targeted to the corresponding distribution centers and express outlets, speeding up the processing pace and improving customer service response capabilities and efficiency.

[0076] 404. Compare the time information of the order time directory, the pickup time directory, the inbound time directory, the outbound time directory, the delivery time directory, and the receipt time directory to obtain the end time information. The end time information is the latest time information entered among the order time directory, the pickup time directory, the inbound time directory, the outbound time directory, the delivery time directory, and the receipt time directory.

[0077] 405. If the terminal time information is inconsistent with the time information of the order time directory, subtract the terminal time information from the time information of the order time directory to obtain time difference information;

[0078] 406. If the terminal time information is consistent with the time information of the order time directory, the time difference is determined to be empty, and the time difference information is output as a no-state signal;

[0079] In this embodiment, the time taken for the express to arrive on the customer's request date, i.e., the time difference, is obtained based on the terminal time information and the time information of the order time directory, thereby truly and intuitively reflecting the actual status of the target express. At the same time, it also facilitates information exchange between customer service and customers. If there is an abnormality in the delivery time of the express, the logistics company can quickly and targetedly adjust it, and deploy various distribution centers and express outlets to make timely adjustments to improve the quality of service to customers.

[0080] The above describes the express track query method in the embodiment of the present invention. The following describes the express track query device in the embodiment of the present invention. Figure 5 In one embodiment of the present invention, an express delivery track query device includes:

[0081] Database building module 501, used to preset the express delivery database based on the information of each express delivery outlet and each distribution center;

[0082] The first acquisition module 502 is used to obtain customer information and perform feature extraction on the express delivery database based on the customer information to obtain initial express delivery data; the initial express delivery data includes all express delivery data consistent with the customer information;

[0083] The second acquisition module 503 is used to obtain order time information and filter the initial express delivery data according to the customer order time information to obtain target express delivery data; the order time information is the time when the customer enters the order;

[0084] The generation module 504 is used to generate the express delivery status information and trajectory information according to the target express delivery data.

[0085] In this embodiment,

[0086] See also Figure 6 Another embodiment of the express track query device in the embodiment of the present invention includes:

[0087] Database building module 501, used to preset the express delivery database based on the information of each express delivery outlet and each distribution center;

[0088] The first acquisition module 502 is used to obtain customer information and perform feature extraction on the express delivery database based on the customer information to obtain initial express delivery data; the initial express delivery data includes all express delivery data consistent with the customer information;

[0089] The second acquisition module 503 is used to obtain order time information and filter the initial express delivery data according to the customer order time information to obtain target express delivery data; the order time information is the time when the customer enters the order;

[0090] The generation module 504 is used to generate the express delivery status information and trajectory information according to the target express delivery data.

[0091] In this embodiment, the database building module 501 includes: a first acquisition unit 5011, which is used to acquire the express data of each express outlet and each distribution center; a first generation unit 5012, which is used to pre-process the express input data, classify the express input data containing the same customer information, and generate multiple initial data packets; a second generation unit 5013, which is used to integrate the initial data packets, merge the express data containing the same order time information in the initial data packets, and sort the merged express data according to the time sequence of the order time information to generate an express list; a third generation unit 5014, which is used to generate an express database based on each express list.

[0092] In this embodiment, the first acquisition module 502 includes: a parsing unit 5021, which is used to parse the customer information after obtaining it and generate an identification code; a comparison unit 5022, which is used to compare the identification code with each customer code in the express database; if the identification code is consistent with the customer code, the corresponding express data in the express database is retrieved and initial express data is generated.

[0093] In this embodiment, the second acquisition module 503 includes: a first extraction unit 5031, used to extract the order date field and the order clock field in the order time information based on the order time information; a second extraction unit 5032, used to extract the express data in the initial express data based on the order date field and the order clock field; if the express data contains the order date field and the order clock field, the express data is output and used as the target express data.

[0094] In this embodiment, the generation module 504 includes: a first output unit 5041, which is used to output the express status information according to the time information under the order time directory, the collection time directory, the storage time directory, the outbound time directory, the delivery time directory and the receipt time directory; a judgment unit 5042, which is used to output the status information of the express if the order time directory has time information and the collection time directory, the storage time directory, the outbound time directory, the delivery time directory and the receipt time directory do not have time information; if the collection time directory has time information and the storage time directory, the outbound time directory, the delivery time directory and the receipt time directory do not have time information, then output the status information of the express If there is no time information, the collected parcel status information is output; if there is time information in the incoming time directory and / or the outgoing time directory, and there is no time information in the delivery time directory and the receipt time directory, the in-transit status information is output; if there is time information in the outgoing time directory and the delivery time directory, and there is no time information in the collection time directory, the in-delivery status information is output; if there is time information in the receipt directory, the received status information is output; the second output unit 5043 is used to obtain all time information under the target parcel data corresponding to the output parcel status information according to the output parcel status information, and generate trajectory information according to the time information.

[0095] In this embodiment, the second output unit 5043 includes: an acquisition unit 50431, which is used to acquire the time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory; a sorting unit 50432, which is used to sort the time information of the order time directory, the collection time directory, the warehousing time directory, the outbound time directory, the delivery time directory and the receipt time directory according to the starting order to obtain time trajectory data; an output unit 50433, which is used to generate trajectory information according to the branch address, the distribution center address and the time trajectory data.

[0096] In this embodiment, the second output unit 5043 also includes: a comparison unit 50434, which is used to compare the time information of the order time directory, the collection time directory, the incoming time directory, the outgoing time directory, the delivery time directory and the receipt time directory to obtain the terminal time information, and the terminal time information is the latest time information entered in the order time directory, the collection time directory, the incoming time directory, the outgoing time directory, the delivery time directory and the receipt time directory; a judgment unit 50435, which is used to subtract the terminal time information from the time information of the order time directory to obtain time difference information if the terminal time information is inconsistent with the time information of the order time directory; if the terminal time information is consistent with the time information of the order time directory, it is determined that the time difference is empty, and the time difference information is output as a stateless signal.

[0097] above Figure 5 and Figure 6The express track query device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The express track query device in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0098] Figure 7 Figure 6 is a schematic diagram of the structure of a parcel track query device provided by an embodiment of the present invention. The parcel track query device 600 may vary significantly depending on configuration or performance. It may include one or more central processing units (CPUs) 610 (e.g., one or more processors), memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) storing applications 633 or data 632. The memory 620 and storage medium 630 may be either transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instructions and operations within the parcel track query device 600. Furthermore, the processor 610 may be configured to communicate with the storage medium 630, executing the series of instructions and operations stored in the storage medium 630 on the parcel track query device 600 to implement the steps of the parcel track query method provided in the aforementioned method embodiments.

[0099] The express track query device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input and output interfaces 660, and / or one or more operating systems 631, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be understood by those skilled in the art that Figure 7 The structure of the express delivery track query device shown does not constitute a limitation on the express delivery track query device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0100] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to execute the steps of the express delivery track query method.

[0101] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc., various media that can store program code.

[0103] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art will be able to modify the technical solutions described in the aforementioned embodiments or substitute equivalents for some of the technical features. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the present invention.

Claims

1. A method for querying express delivery tracks, characterized in that: include: Obtaining express delivery data from each express delivery outlet and each distribution center; the express delivery data includes customer information, address information, order time information, pickup time information, storage time information, outbound time information, delivery time information, and receipt time information; Pre-process the express delivery data, classify the express delivery data containing the same customer information, and generate multiple initial data packets; Integrate the initial data package, merge the shipment data containing the same order time information in the initial data package, and sort the merged shipment data according to the chronological order of the order time information to generate a shipment list; Generate express database according to each express list; Obtain customer information and perform feature extraction on the express delivery database based on the customer information to obtain initial express delivery data; The initial express delivery data includes all express delivery data that is consistent with the customer information; Obtaining order time information and filtering the initial express shipment data based on the customer's order time information to obtain target express shipment data; the order time information is the time when the customer enters the order; Generate express status information and trajectory information based on target express data.

2. The express delivery track query method according to claim 1, characterized in that: The step of obtaining customer information and performing feature extraction on the express delivery database based on the customer information to obtain initial express delivery data includes: The express delivery database includes a customer code, and the express delivery data in the express delivery database is classified according to the customer code, and the customer code is a code generated according to the customer information after the customer places an order; After obtaining the customer information, the customer information is parsed and an identification code is generated; Compare the identification code with each customer code in the express database; If the identification code is consistent with the customer code, the corresponding express data in the express database is retrieved and the initial express data is generated.

3. The express delivery track query method according to claim 1, characterized in that: The obtaining of order time information and screening of initial express delivery data according to the customer order time information to obtain target express delivery data includes: The order time information includes an order date field and an order clock field; the order date field and the order clock field are extracted according to the order time information; Extract the express delivery data from the initial express delivery data based on the order date field and the order clock field; If the express data contains an order date field and an order clock field, the express data is output and used as the target express data.

4. The express delivery track query method according to claim 1, characterized in that: Generating the express delivery status information and trajectory information according to the target express delivery data includes: The target express delivery data includes an order time directory, a pickup time directory, an inbound time directory, an outbound time directory, a delivery time directory, and a receipt time directory; and outputs express delivery status information based on the time information in the order time directory, the pickup time directory, the inbound time directory, the outbound time directory, the delivery time directory, and the receipt time directory; If the order time directory has time information, and the pickup time directory, incoming time directory, outgoing time directory, delivery time directory, and receipt time directory do not have time information, then the pending pickup status information is output; If the pickup time directory has time information, and the incoming time directory, outgoing time directory, delivery time directory, and receipt time directory do not have time information, then the pickup status information is output; If time information exists in the incoming time directory and / or the outgoing time directory, and no time information exists in the delivery time directory and the receipt time directory, then the in-transit status information is output; If time information exists in the outbound time directory and the delivery time directory, and no time information exists in the payment collection time directory, then the delivery status information is output; If the receipt directory contains time information, the receipt status information will be output; According to the output express status information, all time information under the target express data corresponding to the express status information is obtained, and trajectory information is generated according to the time information.

5. The express delivery track query method according to claim 4, characterized in that: The method of obtaining all time information of target express data corresponding to the express status information according to the output express status information and generating trajectory information according to the time information includes: Obtain time information for the order placement time directory, pickup time directory, incoming warehouse time directory, outgoing warehouse time directory, delivery time directory, and receipt time directory; Sort the time information of the order placement time directory, pickup time directory, warehousing time directory, outbound time directory, delivery time directory, and receipt time directory according to the starting order to obtain time trajectory data; The target express data also includes a network address and a distribution center address; and trajectory information is generated based on the network address, the distribution center address and the time trajectory data.

6. The express delivery track query method according to claim 5, characterized in that: The method further includes obtaining all time information of target express data corresponding to the express status information according to the output express status information, and generating trajectory information according to the time information. Compare the time information of the order time directory, the pickup time directory, the warehouse entry time directory, the warehouse exit time directory, the delivery time directory, and the receipt time directory to obtain the terminal time information, which is the latest time information entered in the order time directory, the pickup time directory, the warehouse entry time directory, the warehouse exit time directory, the delivery time directory, and the receipt time directory; If the terminal time information is inconsistent with the time information of the order time directory, the terminal time information is subtracted from the time information of the order time directory to obtain the time difference information; If the terminal time information is consistent with the time information of the order time directory, the time difference is determined to be empty, and the time difference information is output as a stateless signal.

7. A device for querying express delivery track, characterized in that: include: A database building module, the database building module includes: a first acquisition unit, which is used to acquire express delivery data from each express delivery outlet and each distribution center; a first generation unit, which is used to pre-process the express delivery input data, classify the express delivery input data containing the same customer information, and generate multiple initial data packets; a second generation unit, which is used to integrate the initial data packets, merge the express delivery data containing the same order time information in the initial data packets, and sort the merged express delivery data according to the chronological order of the order time information to generate an express delivery list; a third generation unit, which is used to generate an express delivery database based on each express delivery list; A first acquisition module is used to obtain customer information and perform feature extraction on the express delivery database based on the customer information to obtain initial express delivery data; the initial express delivery data includes all express delivery data consistent with the customer information; The second acquisition module is used to obtain order time information and filter the initial express delivery data according to the customer's order time information to obtain target express delivery data; the order time information is the time when the customer enters the order; The generation module is used to generate express delivery status information and trajectory information based on the target express delivery data.

8. A device for querying express delivery tracks, characterized in that: The express track query device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors calls the instructions in the memory to enable the express delivery track query device to execute each step of the express delivery track query method according to any one of claims 1 to 6.

9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the steps of the express delivery track query method as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Order full-link trajectory generation method and device, equipment and storage medium

    CN113435812A