Logistics package real-time information query method and device, equipment and storage medium

By monitoring and updating logistics package order status in real time, generating and sending a real-time information summary list, it solves the problems of data update delay and inefficiency of traditional logistics tracking systems, achieves efficient and intelligent logistics package tracking, and improves customer experience.

CN119338360APending Publication Date: 2025-01-21SHANGHAI DONGPU INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411327175.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

When traditional logistics parcel tracking systems process batch parcels, data entry is delayed, updated slowly, and inefficient, making it difficult to achieve automated and intelligent tracking of logistics parcels, which affects the efficiency of logistics query and customer experience.

Method used

By receiving the condition query instructions of the user side, analyze and screen the logistics package orders that bind the relationship with the user, listen to and update the order status information in real time, generate the real -time information list and send it to the user side.

Benefits of technology

Realizing the timely updating and intelligent tracking of parcel data, significantly improving the accuracy and real-time nature of logistics parcel tracking, improving the efficiency and service quality of logistics inquiries, and improving customer satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119338360A_ABST
    Figure CN119338360A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of information processing, in particular to a logistics parcel real-time information query method, device and equipment and a storage medium, all logistics parcel orders having a binding relationship with a user side are queried, all logistics parcel orders are screened according to a condition analysis result, and a condition analysis result is obtained. The method comprises the steps of obtaining at least one first target logistics parcel order, obtaining real-time state information, identifying an inconsistent field between the first target logistics parcel order and the real-time state information, updating the parcel state information of the first target logistics parcel order according to the inconsistent field, obtaining a second target logistics parcel order, and sending the second target logistics parcel order to a server. Parcel data is updated in time, accuracy and real-time performance of logistics parcel tracking are remarkably improved, a parcel real-time information overview list is generated according to a first target logistics parcel order and a second target logistics parcel order, the parcel real-time information overview list is sent to a user side, logistics query efficiency and service quality are greatly improved, and logistics query efficiency is improved. Therefore, the customer satisfaction is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information processing technology, and in particular to a real-time information query method, device, equipment and storage medium for logistics packages. Background Art

[0002] At present, online shopping activities are growing at an unprecedented rate, which has not only greatly promoted the surge in commodity trading volume, but also posed more severe challenges to the logistics industry. Consumers' expectations for logistics services are constantly increasing, and the most significant demand is the real-time tracking of packages and transparent information acquisition. When processing batch packages, traditional logistics package tracking systems have delayed data entry, slow update speed, and low efficiency, making it difficult to achieve automated and intelligent tracking of logistics packages, which in turn affects the overall logistics query efficiency and reduces customer experience satisfaction. Summary of the invention

[0003] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a real-time information query method, device, equipment and storage medium for logistics packages, which can update package data in a timely manner, realize intelligent tracking of package information, significantly improve the accuracy and real-time performance of logistics package tracking, greatly improve the efficiency and service quality of logistics queries, and thus improve customer satisfaction.

[0004] A first aspect of the present invention provides a real-time information query method for a logistics package, comprising: receiving a conditional query instruction sent by a user terminal, parsing the conditional query instruction to obtain a conditional parsing result; querying all logistics package orders that have a binding relationship with the user terminal, screening all the logistics package orders according to the conditional parsing result, and obtaining at least one first target logistics package order; monitoring the real-time status information of the first target logistics package order, and when the real-time status information is monitored, obtaining the real-time status information; identifying inconsistent fields between the first target logistics package order and the real-time status information, updating the package status information of the first target logistics package order according to the inconsistent fields, and obtaining a second target logistics package order; generating a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and sending the package real-time information overview list to the user terminal.

[0005] Optionally, in a first implementation method of the first aspect of the present invention, the conditional query instruction sent by the receiving user terminal is parsed to obtain a conditional parsing result, including: receiving a conditional query instruction sent by the user terminal; verifying the legality of the conditional query instruction to obtain a verification result; judging whether the verification result is passed; if so, parsing the conditional query instruction to obtain a conditional parsing result, the conditional parsing result including at least one of an order time condition, a channel type condition or a network point code condition.

[0006] Optionally, in a second implementation manner of the first aspect of the present invention, the querying of all logistics package orders that have a binding relationship with the user terminal and screening all the logistics package orders according to the conditional parsing result to obtain at least one first target logistics package order includes: querying all logistics package orders that have a binding relationship with the user terminal; identifying the order time field, platform channel field, and outlet code field of the first target logistics package order to obtain an identification result; matching the identification result according to the conditional parsing result to obtain a matching result; screening all the logistics package orders according to the matching result to obtain at least one first target logistics package order.

[0007] Optionally, in a third implementation method of the first aspect of the present invention, the real-time status information of the first target logistics package order is monitored, and when the real-time status information is monitored, the real-time status information is obtained, including: creating an order status listener; using the order status listener to monitor the real-time status information of the first target logistics package order; when the real-time status information is monitored, the real-time status information is obtained.

[0008] Optionally, in a fourth implementation method of the first aspect of the present invention, the identifying inconsistent fields between the first target logistics parcel order and the real-time status information, and updating the package status information of the first target logistics parcel order according to the inconsistent fields to obtain the second target logistics parcel order, includes: performing a status comparison between the first target logistics parcel order and the real-time status information to obtain a status comparison result; identifying inconsistent fields in the status comparison result; and updating the package status information of the first target logistics parcel order according to the inconsistent fields to obtain the second target logistics parcel order.

[0009] Optionally, in a fifth implementation method of the first aspect of the present invention, generating a package real-time information overview list based on the first target logistics package order and the second target logistics package order, and sending the package real-time information overview list to the user terminal, includes: grouping the first target logistics package order and the second target logistics package order to obtain order collection information; calling an order list template that has a mapping relationship with the conditional query instruction; filling the order collection information into the order list template to generate a package real-time information overview list; sending the package real-time information overview list to the user terminal, so that the user terminal generates and displays a package real-time information overview page based on the package real-time information overview list.

[0010] Optionally, in a sixth implementation manner of the first aspect of the present invention, after generating a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and sending the package real-time information overview list to the user terminal, it also includes: obtaining click information fed back by the user terminal, and determining target package logistics details information according to the click information; sending the target package logistics details information to the user terminal, so that the user terminal generates and displays a target package logistics details page based on the target package logistics details information; receiving a download instruction fed back by the user terminal, and creating a download task according to the download instruction; recording the download completion time of the download task, and checking the download result to obtain a check result; associating the download completion time and the check result, and encrypting the download completion time and the check result to obtain encrypted information; and uploading the encrypted information to the blockchain.

[0011] The second aspect of the present invention provides a real-time information query device for logistics packages, including: a receiving and parsing module, used to receive a conditional query instruction sent by a user terminal, parse the conditional query instruction, and obtain a conditional parsing result; a query screening module, used to query all logistics package orders that have a binding relationship with the user terminal, and screen all the logistics package orders according to the conditional parsing result to obtain at least one first target logistics package order; a monitoring and acquisition module, used to monitor the real-time status information of the first target logistics package order, and when the real-time status information is monitored, obtain the real-time status information; an identification and updating module, used to identify inconsistent fields between the first target logistics package order and the real-time status information, and update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order; a generation and sending module, used to generate a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and send the package real-time information overview list to the user terminal.

[0012] Optionally, in a first implementation method of the second aspect of the present invention, the receiving and parsing module includes: a receiving unit, used to receive a conditional query instruction sent by a user terminal; a verification unit, used to verify the legality of the conditional query instruction and obtain a verification result; a judgment unit, used to judge whether the verification result is passed; and a parsing unit, used to parse the conditional query instruction if so, to obtain a conditional parsing result, and the conditional parsing result includes at least one of an order time condition, a channel type condition or a network point code condition.

[0013] Optionally, in a second implementation of the second aspect of the present invention, the query and screening module includes: a query unit, used to query all logistics package orders that have a binding relationship with the user terminal; a first identification unit, used to identify the order time field, platform channel field and outlet code field of the first target logistics package order to obtain an identification result; a matching unit, used to match the identification result according to the conditional analysis result to obtain a matching result; a screening unit, used to screen all the logistics package orders according to the matching result to obtain at least one first target logistics package order.

[0014] Optionally, in a third implementation of the second aspect of the present invention, the monitoring and acquisition module includes: a creation unit, used to create an order status listener; a monitoring unit, used to use the order status listener to monitor the real-time status information of the first target logistics package order; and an acquisition unit, used to acquire the real-time status information when the real-time status information is monitored.

[0015] Optionally, in a fourth implementation method of the second aspect of the present invention, the identification and update module includes: a comparison unit, used to perform a status comparison between the first target logistics package order and the real-time status information to obtain a status comparison result; a second identification unit, used to identify inconsistent fields in the status comparison result; and an update unit, used to update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order.

[0016] Optionally, in a fifth implementation of the second aspect of the present invention, the generation and sending module includes: a collection unit, used to collect the first target logistics package order and the second target logistics package order to obtain order collection information; a calling unit, used to call an order list template having a mapping relationship with the conditional query instruction; a filling generation unit, used to fill the order collection information into the order list template to generate a package real-time information overview list; a sending unit, used to send the package real-time information overview list to the user terminal, so that the user terminal generates and displays a package real-time information overview page based on the package real-time information overview list.

[0017] Optionally, in a sixth implementation manner of the second aspect of the present invention, it also includes: an acquisition and determination module, used to obtain click information fed back by the user terminal, and determine the target package logistics details information according to the click information; a sending module, used to send the target package logistics details information to the user terminal, so that the user terminal generates and displays the target package logistics details page based on the target package logistics details information; a receiving and creating module, used to receive the download instruction fed back by the user terminal, and create a download task according to the download instruction; a recording and verification module, used to record the download completion time of the download task, and verify the download result to obtain the verification result; an association encryption module, used to associate the download completion time with the verification result, and encrypt the download completion time and the verification result to obtain encrypted information; an uploading module, used to upload the encrypted information to the blockchain.

[0018] The third aspect of the present invention provides a real-time information query device for a logistics package, the real-time information query device for the logistics package comprising: a memory and at least one processor, the memory storing instructions; at least one of the processors calls the instructions in the memory to enable the real-time information query device for the logistics package to perform each step of the real-time information query method for the logistics package described in any one of the above items.

[0019] A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored thereon, and when the instructions are executed by a processor, the various steps of any of the above-mentioned methods for real-time information query of logistics packages are implemented.

[0020] In the technical solution of the present invention, by querying all logistics parcel orders that have a binding relationship with the user terminal, all logistics parcel orders are screened according to the conditional parsing results to obtain at least one first target logistics parcel order, obtain real-time status information, identify inconsistent fields between the first target logistics parcel order and the real-time status information, update the parcel status information of the first target logistics parcel order according to the inconsistent fields, obtain the second target logistics parcel order, update the parcel data in a timely manner, realize intelligent tracking of parcel information, significantly improve the accuracy and real-time performance of logistics parcel tracking, generate a real-time information overview list of the parcel according to the first target logistics parcel order and the second target logistics parcel order, and send the real-time information overview list of the parcel to the user terminal, which greatly improves the efficiency of logistics query and service quality, thereby improving customer satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 A first flow chart of a real-time information query method for a logistics package provided by an embodiment of the present invention;

[0022] Figure 2 A second flow chart of the real-time information query method for logistics packages provided by an embodiment of the present invention;

[0023] Figure 3 A third flow chart of the real-time information query method for logistics packages provided by an embodiment of the present invention;

[0024] Figure 4 A fourth flow chart of the real-time information query method for logistics packages provided by an embodiment of the present invention;

[0025] Figure 5 A schematic diagram of the structure of a real-time information query device for logistics packages provided by an embodiment of the present invention;

[0026] Figure 6 Another structural schematic diagram of a real-time information query device for logistics packages provided by an embodiment of the present invention;

[0027] Figure 7 A schematic diagram of the structure of a real-time information query device for logistics packages provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0028] The present invention provides a real-time information query method, device, equipment and storage medium for logistics packages. The package data is updated in a timely manner, and intelligent tracking of package information is realized, which significantly improves the accuracy and real-time performance of logistics package tracking, greatly improves the efficiency of logistics query and service quality, and thus improves customer satisfaction.

[0029] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged 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 device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the real-time information query method of a logistics package in an embodiment of the present invention includes:

[0031] 101. Receive a conditional query instruction sent by a user terminal, parse the conditional query instruction, and obtain a conditional parsing result;

[0032] In this embodiment, the system receives conditional query instructions from the user end, and the query instructions include filtering conditions, such as time range, order status, channel type, etc. The system parses the received query instructions and converts them into a data format that the system can process. During the parsing process, the query conditions (such as date, status, code, etc.) are extracted and converted into structured data for subsequent processing.

[0033] 102. Query all logistics package orders that have a binding relationship with the user terminal, filter all logistics package orders according to the condition analysis result, and obtain at least one first target logistics package order;

[0034] In this embodiment, all logistics package orders bound to the user terminal are retrieved from a database or other storage system. The binding relationship is based on the user's account information, authorization token, user ID, etc., ensuring that only orders related to the current user are retrieved. The returned data structure should contain all relevant logistics package order information, such as order number, status, delivery information, etc. The parsed query conditions (such as time range, order status, etc.) are applied to the retrieved order list to filter out orders that meet the conditions, traverse all order records, compare each record with the query conditions, and filter out orders that meet all conditions. The filtered order list contains at least one order that meets the conditions, i.e., the first target logistics package order.

[0035] 103. Monitor the real-time status information of the first target logistics package order, and when the real-time status information is monitored, obtain the real-time status information;

[0036] In this embodiment, a real-time data stream or API connection is set up with the logistics service provider to receive real-time status updates, specify the order to be monitored (i.e., the first target logistics package order), ensure that only the status update of the order is received, process the real-time status information sent from the logistics system, parse the data and perform subsequent operations, extract the required information from the monitored real-time updates, such as the current location of the package, status changes, etc., and store the acquired real-time status information in the system for further processing.

[0037] 104. Identify the inconsistent fields between the first target logistics package order and the real-time status information, and update the package status information of the first target logistics package order according to the inconsistent fields to obtain the second target logistics package order;

[0038] In this embodiment, relevant fields, such as package status, location, estimated arrival time, etc., are extracted from the first target logistics package order and the real-time status information, and these fields are compared one by one to identify the fields that differ in the two data sources, and all the identified inconsistent fields are recorded to form an inconsistent field list. According to the identified inconsistent fields, update data is prepared, which includes the new package status, updated location information, adjusted estimated arrival time, etc. The prepared updated data is applied to the first target logistics package order to ensure that the data is correctly updated in the system, check whether the update is successfully applied, ensure that the package status information in the system is consistent with the real-time status information, and generate a second target logistics package order according to the updated package status information.

[0039] 105. Generate a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and send the package real-time information overview list to the user terminal;

[0040] In this embodiment, required real-time information is extracted from the first target logistics package order and the second target logistics package order, including package status, current location, estimated arrival time, historical status update records, etc. The extracted information is merged to form a comprehensive package real-time information overview list, and the data extracted from different orders are integrated into a unified list. The data is sorted (such as by package status or time) and filtered as needed for user viewing. For example, the package can be sorted by the latest status, or only the packages that need attention are displayed. The display format of the overview list is determined, which can be in the form of a table, list or chart, etc., to ensure that the format is easy to read and understand, and the processed data is filled into the defined format to generate a final package real-time information overview list. Select a suitable sending channel, such as email, SMS, in-app notification or push through a Web interface, and send the generated message to the user end through the selected channel.

[0041] In an embodiment of the present invention, all logistics parcel orders having a binding relationship with a user terminal are queried, all logistics parcel orders are screened according to conditional parsing results, at least one first target logistics parcel order is obtained, real-time status information is acquired, inconsistent fields between the first target logistics parcel order and the real-time status information are identified, and the parcel status information of the first target logistics parcel order is updated according to the inconsistent fields to obtain a second target logistics parcel order. Parcel data is updated in a timely manner, and intelligent tracking of parcel information is realized, which significantly improves the accuracy and real-time performance of logistics parcel tracking. A real-time information overview list of the parcel is generated according to the first target logistics parcel order and the second target logistics parcel order, and the real-time information overview list of the parcel is sent to the user terminal, which greatly improves the efficiency of logistics query and service quality, thereby improving customer satisfaction.

[0042] See also Figure 2 The second embodiment of the real-time information query method of the logistics package in the embodiment of the present invention includes:

[0043] 201. Receive a conditional query instruction sent by a user terminal;

[0044] In this embodiment, the method for the user to send the query instruction is determined, such as in-application submission, email, text message, Web interface, etc., and the user's query instruction is received from the designated channel.

[0045] 202. Verify the legality of the condition query instruction and obtain the verification result;

[0046] In this embodiment, it is checked whether the instruction format is correct, the field validity is checked, the data existence is verified, and a verification result is obtained.

[0047] 203. Determine whether the verification result is passed;

[0048] In this embodiment, all results such as format verification, field validity check, and data existence verification are summarized, and the verification results are divided into categories such as pass, fail, and exception. If the format is correct, the field is valid, and the data exists, it is summarized as pass. If any of them fails or an exception occurs, it is classified as fail or exception.

[0049] 204. If yes, parse the condition query instruction to obtain a condition parsing result, where the condition parsing result includes at least one of the order time condition, the channel type condition, or the outlet code condition;

[0050] In this embodiment, if the verification result is judged to be passed and there is no error or abnormal feedback, the received instruction content is parsed to obtain the conditional parsing result, the user's query condition is extracted from the conditional parsing result, and it is confirmed that the query condition includes at least one of the order time, channel type or outlet code, and the extracted field data is converted into a format that the system can process to ensure that the required query conditions are included, and verify whether the query conditions provided by the user are valid, for example, whether the status conditions meet expectations. If the query conditions are invalid or erroneous, a corresponding error message is returned or the user is prompted to modify the query conditions.

[0051] 205. Query all logistics package orders that have a binding relationship with the user terminal;

[0052] In this embodiment, it is confirmed whether the identification information of the user terminal (such as user ID, account number, etc.) has been effectively bound to the logistics system, and whether the binding relationship between the user terminal and the logistics package order exists is checked. According to the identification information of the user terminal, all logistics package order information bound to it is retrieved from the system to ensure that the extracted package information has a valid binding relationship with the user terminal. The logistics package identification extracted from the binding information is used to construct query conditions, and a query is executed in the logistics package order system to obtain all logistics package orders bound to the user terminal.

[0053] 206. Identify the order time field, platform channel field, and outlet code field of the first target logistics package order to obtain an identification result;

[0054] In this embodiment, a field indicating the order time, a field indicating the platform channel, and a field indicating the outlet code are identified from the first target logistics package order to obtain an identification result.

[0055] 207. Match the recognition result according to the condition analysis result to obtain a matching result;

[0056] In this embodiment, the order time specifies a specific time range, the platform channel specifies a specific channel type, and the outlet code specifies a specific outlet. The identification results are matched according to one or more of the identified order time, platform channel and outlet code to obtain a matching result.

[0057] 208. Screen all logistics package orders according to the matching results to obtain at least one first target logistics package order;

[0058] In this embodiment, the data set includes all logistics package orders, and the logistics package orders that meet the matching results are screened out from the data set. After the screening is performed, at least one first target logistics package order is obtained.

[0059] In the embodiment of the present invention, a legality verification is performed before processing a conditional query to ensure that the system only processes legal requests, thereby improving the security of the system. The query is performed after the query conditions are parsed, thereby ensuring the accuracy and pertinence of the data. Through identification and matching operations, qualified orders can be accurately found, thereby improving query efficiency and the accuracy of the results. The final screening step can ensure that the returned results meet the user's conditional requirements and provide accurate query results.

[0060] See also Figure 3 The third embodiment of the real-time information query method of the logistics package in the embodiment of the present invention includes:

[0061] 301. Create an order status listener;

[0062] In this embodiment, a technology stack is selected according to the system architecture, a listener is implemented according to the selected technology stack, and the listener is deployed to a production environment to ensure that the listener can accurately capture and process order status changes.

[0063] 302. Using an order status monitor to monitor real-time status information of the first target logistics package order;

[0064] In this embodiment, states and events are defined, specific states to be monitored and their changes are determined, and order status listeners are used to track status changes of logistics package orders in real time, such as "shipped", "in transit", "delivered", etc., to ensure that each state change can be captured and processed, and updates are provided in a timely manner. Triggers are created to record information or perform operations when the order status changes, producers and consumers are set up, producers publish status change messages, and consumers process these messages. The system is configured to send HTTP requests to the Webhook URL when the state changes, to ensure that the receiving and processing logic of Webhooks is correct, and stream processing applications are configured to capture and process package status data streams in real time.

[0065] 303. When real-time status information is monitored, the real-time status information is obtained;

[0066] In this embodiment, when the status field changes, the trigger will automatically execute and send the change information to the specified receiving system or service. The consumer reads messages from the message queue, which contain detailed information about the status change. When the package status changes, the external system sends an HTTP request to the preconfigured Webhook URL, and the request contains the status change data. The stream processing application captures and processes status change events from the data stream in real time, formats the received data, ensures that the data fields (such as order ID, status, timestamp, etc.) are clear and readable, parses the information according to the message format or event data structure, extracts key status fields and related information, verifies whether the data is complete, and ensures that all expected fields and information exist.

[0067] 304. Compare the status of the first target logistics package order with the real-time status information to obtain a status comparison result;

[0068] In this embodiment, the real-time status information is matched with the corresponding package order according to the order ID, and the current status of the order is compared with the status in the real-time status information to identify whether there is a change or inconsistency. If the current status of the order is consistent with the real-time status information, the comparison is recorded as successful. If there is a status inconsistency, it is marked as a status change, and detailed change information (such as the original status and the new status) is recorded to obtain the status comparison result.

[0069] 305. Identify inconsistent fields in the status comparison result;

[0070] In this embodiment, if the value of a field is inconsistent in the order status and the real-time status, the detailed information of the field is recorded, including the field name, the value in the order, and the value in the real-time status, the type of difference is identified, the specific content of the inconsistent field is verified, the data source and transmission path are checked, the accuracy and completeness of the real-time status information are ensured, and a detailed report of the inconsistent field is generated, including the field name, the value in the order, the value in the real-time status, and a description of the difference.

[0071] 306. Update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order;

[0072] In this embodiment, all fields that need to be updated and their inconsistent values ​​are extracted from the report of inconsistent fields, all specific status fields that need to be updated based on the inconsistent fields are listed, the latest status value is obtained from the real-time status information or other reliable data sources to replace the original order status, and the accuracy of the latest status data obtained is verified and compared with the inconsistent fields to ensure that the updated data is correct. The first target logistics package order is found in the system to ensure accuracy, and the status information of the order is updated according to the latest value of the inconsistent field, and the updated order status information is saved as a new record to form a second target logistics package order.

[0073] 307. Aggregate the first target logistics package order and the second target logistics package order to obtain order aggregation information;

[0074] In this embodiment, detailed information of the first target logistics parcel order and the second target logistics parcel order is extracted from the system, the data in the first target logistics parcel order and the second target logistics parcel order are converted into a unified format to ensure data consistency during aggregation, and the data of the first target and the second target orders are integrated into a common data set to obtain order aggregation information.

[0075] 308. Calling an order list template that has a mapping relationship with the conditional query instruction;

[0076] In this embodiment, the query conditions are clarified, it is determined that the query conditions have a mapping relationship with the fields in the order list template, a suitable order list template is selected according to the mapping relationship, and it is checked whether the template configuration supports the required query conditions.

[0077] 309. Fill the order collection information into the order list template to generate a package real-time information overview list;

[0078] In this embodiment, ensure that the order information has been processed and summarized according to the collection steps, including all necessary fields, such as order number, package status, update time, etc., check the accuracy of the collection information, ensure that the data is up-to-date and all fields are complete and correct, determine the order list template to be used, the template should be suitable for displaying real-time package information and have the necessary fields, understand the fields in the template and their layout, map the data fields in the order collection information to the corresponding fields in the order list template, fill the template with the actual data in the collection information, apply the filled order information to the order list template, and ensure that the generated overview list conforms to the expected format and is easy to read and understand.

[0079] 310. Sending the package real-time information overview list to the user terminal, so that the user terminal generates and displays the package real-time information overview page based on the package real-time information overview list;

[0080] In this embodiment, the generated package real-time information overview list is exported to a format acceptable to the user-side system, and the package real-time information overview list is sent to the user side by email, file sharing service (such as Google Drive, Dropbox) or through an API interface, so that the user side generates and displays the package real-time information overview page based on the package real-time information overview list.

[0081] In the embodiment of the present invention, by creating an order status listener and real-time status acquisition, timely update and feedback of package information are ensured, status comparison and inconsistent field identification improve the accuracy of information, making the package status update more accurate, and the status update step based on inconsistent fields ensures the latest status information of the package. The order information is filled into the template to generate an overview list, which can systematically display data, improve the neatness and readability of the user interface, and finally send the real-time information overview list to the user end, ensuring that the user can obtain the latest package information, thereby improving the user experience and satisfaction.

[0082] See also Figure 4 The fourth embodiment of the real-time information query method of the logistics package in the embodiment of the present invention includes:

[0083] 401. Obtain click information fed back by the user, and determine detailed logistics information of the target package according to the click information;

[0084] In this embodiment, on the real-time information overview page of the user, click event monitoring is implemented to collect relevant data of the click event, such as the package ID or other identification information, and the package information clicked by the user (such as the package ID) is sent to the back-end server through an API request. After receiving the click information, the back-end server parses the request data to extract the package ID, confirms the validity of the package ID, ensures that the user has the authority to view the logistics details of the package, and queries the relevant logistics details in the database according to the package ID. If the logistics information is stored in a third-party system, the logistics details are obtained through an API interface request, and the returned data is processed.

[0085] 402. Send the target package logistics details information to the user terminal, so that the user terminal generates and displays the target package logistics details page based on the target package logistics details information;

[0086] In this embodiment, it is ensured that the logistics details information contains all necessary fields, such as package ID, current status, history, estimated delivery time, etc., and the obtained logistics details information is organized into a format suitable for returning to the user end, such as JSON. The logistics details data is received and parsed in the user end system, and then the detailed logistics information is displayed on the page. The page content is dynamically updated using front-end technologies (such as JavaScript, React, etc.) to achieve data binding and view updates.

[0087] 403. Receive the download instruction fed back by the user end, and create a download task according to the download instruction;

[0088] In this embodiment, the user clicks the download button on the front-end interface or performs other related operations to initiate a download request. This operation triggers an HTTP request to be sent to the server. The user end can send the download instruction to the server through a GET or POST request. The server needs to set an API endpoint to process the download request. After receiving the download instruction, the server extracts information such as the user ID, package ID, and download type from the request body. This information will be used to create a download task and determine the specific requirements for the download content, generate a unique task ID for the new download task, record the detailed information of the new task in the database or task management system, including the user ID, package ID, download type, task status, etc., add the download task to the task queue, and the actual download operation will be processed by the background service or work process. After the task processing is completed, the system can inform the user of the download completion status through notification or status update.

[0089] 404. Record the download completion time of the download task, and check the download result to obtain the check result;

[0090] In this embodiment, after the download task is completed, a flag is set to indicate the completion status of the task. When the download task is completed, the system should update the completion time field in the task record. This can be achieved by writing the current timestamp (completion time) into the completion field of the task record. The integrity and accuracy of the downloaded data are checked, specifically by calculating the checksum of the downloaded data, comparing it with the checksum of the original data, and comparing it with the expected data to check whether there are any differences and obtain the check result.

[0091] 405. Associating the download completion time with the verification result, and encrypting the download completion time with the verification result to obtain encrypted information;

[0092] In this embodiment, the download completion time is obtained from the task record, and the verification result is obtained, including the verification status (success or failure) and related verification details (such as the checksum value). The download completion time and the verification result are synthesized into a data structure, and the synthesized information (string or JSON) is used as input and encrypted using the selected encryption algorithm and key to obtain encrypted information.

[0093] 406. Upload the encrypted information to the blockchain;

[0094] In this embodiment, a suitable blockchain platform is selected, a smart contract is written and deployed, and the smart contract is deployed to the blockchain network using Ethereum development tools (such as Remix IDE, Truffle, Hardhat), and encrypted information is stored on the blockchain by interacting with the smart contract.

[0095] In the embodiment of the present invention, it is ensured that specific click information is obtained from the user end, the user needs can be accurately identified and corresponding package logistics details can be provided, the pertinence and personalization of the user experience are improved, the target package logistics details information is sent to the user end and a logistics details page is generated, it is ensured that the user can intuitively view and understand the package status, the visualization and ease of use of information are improved, the download instructions of the user end are processed and download tasks are created, the user's download needs are effectively managed and controlled, the download completion time is recorded and the download results are verified, the integrity and accuracy of the downloaded content can be ensured, and data loss or damage can be avoided. By encrypting the download completion time and the verification results, the security and privacy protection of the data are enhanced, the encrypted information is uploaded to the blockchain, and the decentralized and tamper-proof characteristics of the blockchain are utilized to provide a high level of security and traceability for the data.

[0096] The above describes the real-time information query method of the logistics package in the embodiment of the present invention. The following describes the real-time information query device of the logistics package in the embodiment of the present invention. Figure 5 In one embodiment of the present invention, a real-time information query device for a logistics package includes:

[0097] The receiving and parsing module 501 is used to receive the conditional query instruction sent by the user terminal, parse the conditional query instruction, and obtain the conditional parsing result;

[0098] The query and screening module 502 is used to query all logistics package orders that have a binding relationship with the user terminal, and screen all logistics package orders according to the condition analysis result to obtain at least one first target logistics package order;

[0099] The monitoring and obtaining module 503 is used to monitor the real-time status information of the first target logistics package order, and obtain the real-time status information when the real-time status information is monitored;

[0100] An identification and updating module 504 is used to identify inconsistent fields between the first target logistics package order and the real-time status information, and update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order;

[0101] The generating and sending module 505 is used to generate a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and send the package real-time information overview list to the user end.

[0102] In this embodiment, by querying all logistics parcel orders that have a binding relationship with the user terminal, all logistics parcel orders are screened according to the conditional parsing results to obtain at least one first target logistics parcel order, obtain real-time status information, identify inconsistent fields between the first target logistics parcel order and the real-time status information, and update the parcel status information of the first target logistics parcel order according to the inconsistent fields to obtain the second target logistics parcel order. The parcel data is updated in a timely manner, and intelligent tracking of parcel information is realized, which significantly improves the accuracy and real-time performance of logistics parcel tracking. A real-time information overview list of the parcel is generated according to the first target logistics parcel order and the second target logistics parcel order, and the real-time information overview list of the parcel is sent to the user terminal, which greatly improves the efficiency of logistics query and service quality, thereby improving customer satisfaction.

[0103] See also Figure 6 Another embodiment of the real-time information query device for logistics packages in the embodiment of the present invention includes:

[0104] The receiving and parsing module 501 is used to receive the conditional query instruction sent by the user terminal, parse the conditional query instruction, and obtain the conditional parsing result;

[0105] The query and screening module 502 is used to query all logistics package orders that have a binding relationship with the user terminal, and screen all logistics package orders according to the condition analysis result to obtain at least one first target logistics package order;

[0106] The monitoring and obtaining module 503 is used to monitor the real-time status information of the first target logistics package order, and obtain the real-time status information when the real-time status information is monitored;

[0107] An identification and updating module 504 is used to identify inconsistent fields between the first target logistics package order and the real-time status information, and update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order;

[0108] A generating and sending module 505 is used to generate a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and send the package real-time information overview list to the user terminal;

[0109] In this embodiment, the receiving and parsing module 501 includes: a receiving unit 5011, which is used to receive a conditional query instruction sent by a user terminal; a verification unit 5012, which is used to verify the legality of the conditional query instruction and obtain a verification result; a judgment unit 5013, which is used to judge whether the verification result is passed; and a parsing unit 5014, which is used to parse the conditional query instruction if so, and obtain a conditional parsing result, and the conditional parsing result includes at least one of the order time condition, the channel type condition or the network point code condition.

[0110] In this embodiment, the query and screening module 502 includes: a query unit 5021, which is used to query all logistics package orders that have a binding relationship with the user terminal; a first identification unit 5022, which is used to identify the order time field, platform channel field and outlet code field of the first target logistics package order to obtain an identification result; a matching unit 5023, which is used to match the identification result according to the conditional analysis result to obtain a matching result; a screening unit 5024, which is used to screen all logistics package orders according to the matching result to obtain at least one first target logistics package order.

[0111] In this embodiment, the monitoring and acquisition module 503 includes: a creation unit 5031, used to create an order status listener; a monitoring unit 5032, used to use the order status listener to monitor the real-time status information of the first target logistics package order; and an acquisition unit 5033, used to acquire the real-time status information when the real-time status information is monitored.

[0112] In this embodiment, the identification and updating module 504 includes: a comparison unit 5041, which is used to compare the status of the first target logistics package order with the real-time status information to obtain a status comparison result; a second identification unit 5042, which is used to identify inconsistent fields in the status comparison result; and an updating unit 5043, which is used to update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order.

[0113] In this embodiment, the generation and sending module 505 includes: a collection unit 5051, which is used to collect the first target logistics package order and the second target logistics package order to obtain order collection information; a calling unit 5052, which is used to call an order list template that has a mapping relationship with the conditional query instruction; a filling generation unit 5053, which is used to fill the order collection information into the order list template to generate a package real-time information overview list; a sending unit 5054, which is used to send the package real-time information overview list to the user end, so that the user end generates and displays the package real-time information overview page based on the package real-time information overview list.

[0114] In this embodiment, it also includes: an acquisition and determination module 506, which is used to obtain click information fed back by the user end, and determine the target package logistics details information according to the click information; a sending module 507, which is used to send the target package logistics details information to the user end, so that the user end generates and displays the target package logistics details page based on the target package logistics details information; a receiving and creating module 508, which is used to receive the download instruction fed back by the user end, and create a download task according to the download instruction; a recording and verification module 509, which is used to record the download completion time of the download task, and verify the download result to obtain the verification result; an association encryption module 510, which is used to associate the download completion time with the verification result, and encrypt the download completion time and the verification result to obtain encrypted information; an uploading module 511, which is used to upload the encrypted information to the blockchain.

[0115] above Figure 5 and Figure 6 The real-time information query device for logistics packages in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The real-time information query device for logistics packages in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0116] Figure 7: is a structural diagram of a real-time information query device for a logistics package provided by an embodiment of the present invention. The real-time information query device 600 for a logistics package may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 610 (for example, one or more processors) and a memory 620, and one or more storage media 630 (for example, one or more mass storage devices) storing application programs 633 or data 632. Among them, the memory 620 and the storage medium 630 can be short-term storage or permanent storage. The program stored in the storage medium 630 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the real-time information query device 600 for a logistics package. Furthermore, the processor 610 can be configured to communicate with the storage medium 630, and execute a series of instruction operations in the storage medium 630 on the real-time information query device 600 for a logistics package to implement the steps of the real-time information query method for a logistics package provided in the above-mentioned method embodiments.

[0117] The real-time information query device 600 for logistics packages 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 Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 7 The structure of the real-time information query device for logistics packages shown does not constitute a limitation on the real-time information query device based on logistics packages, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0118] 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. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of a real-time information query method for logistics packages.

[0119] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0120] 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, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a 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), disk or optical disk and other media that can store program codes.

[0121] Finally, it should be noted that the above description is only a preferred example 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 can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A real-time information query method for logistics packages, characterized in that: include: Receiving a conditional query instruction sent by a user terminal, parsing the conditional query instruction, and obtaining a conditional parsing result; Querying all logistics package orders that have a binding relationship with the user terminal, screening all the logistics package orders according to the condition analysis result, and obtaining at least one first target logistics package order; monitoring the real-time status information of the first target logistics package order, and acquiring the real-time status information when the real-time status information is monitored; Identify the inconsistent fields between the first target logistics package order and the real-time status information, and update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order; Generate a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and send the package real-time information overview list to the user terminal.

2. The real-time information query method for logistics packages according to claim 1 is characterized in that: The receiving of the conditional query instruction sent by the user terminal, parsing the conditional query instruction, and obtaining the conditional parsing result includes: Receive conditional query instructions sent by the user end; Verifying the legitimacy of the conditional query instruction and obtaining a verification result; Determine whether the verification result is passed; If so, the conditional query instruction is parsed to obtain a conditional parsing result, which includes at least one of an order time condition, a channel type condition or a network point code condition.

3. The real-time information query method for logistics packages according to claim 1 is characterized in that: The querying of all logistics package orders having a binding relationship with the user terminal, screening all the logistics package orders according to the condition analysis result, and obtaining at least one first target logistics package order includes: Query all logistics package orders that have a binding relationship with the user terminal; Identify the order time field, platform channel field, and outlet code field of the first target logistics package order to obtain an identification result; Matching the recognition result according to the condition analysis result to obtain a matching result; All the logistics package orders are screened according to the matching results to obtain at least one first target logistics package order.

4. The real-time information query method for logistics packages according to claim 1 is characterized in that: The monitoring of the real-time status information of the first target logistics package order, and obtaining the real-time status information when the real-time status information is monitored, includes: Create an order status listener; Using the order status listener to monitor the real-time status information of the first target logistics package order; When the real-time status information is monitored, the real-time status information is acquired.

5. The real-time information query method for logistics packages according to claim 1 is characterized in that: The identifying the inconsistent fields between the first target logistics package order and the real-time status information, and updating the package status information of the first target logistics package order according to the inconsistent fields to obtain the second target logistics package order includes: Performing a status comparison between the first target logistics package order and the real-time status information to obtain a status comparison result; Identifying inconsistent fields in the status comparison result; The package status information of the first target logistics package order is updated according to the inconsistent field to obtain a second target logistics package order.

6. The real-time information query method for logistics packages according to claim 1 is characterized in that: The generating a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and sending the package real-time information overview list to the user terminal includes: Aggregating the first target logistics package order and the second target logistics package order to obtain order aggregation information; Calling an order list template having a mapping relationship with the conditional query instruction; Filling the order collection information into the order list template to generate a package real-time information overview list; The package real-time information overview list is sent to the user terminal, so that the user terminal generates and displays a package real-time information overview page based on the package real-time information overview list.

7. The real-time information query method for logistics packages according to claim 1 is characterized in that: After generating a package real-time information overview list according to the first target logistics package order and the second target logistics package order and sending the package real-time information overview list to the user terminal, the method further includes: Obtaining click information fed back by the user terminal, and determining detailed logistics information of the target package according to the click information; Sending the target package logistics details information to the user terminal, so that the user terminal generates and displays the target package logistics details page based on the target package logistics details information; Receive the download instruction fed back by the user terminal, and create a download task according to the download instruction; Recording the download completion time of the download task, and checking the download result to obtain a check result; Associating the download completion time with the verification result, and encrypting the download completion time and the verification result to obtain encrypted information; The encrypted information is uploaded to the blockchain.

8. A real-time information query device for logistics packages, characterized in that: include: A receiving and parsing module is used to receive a conditional query instruction sent by a user terminal, parse the conditional query instruction, and obtain a conditional parsing result; A query and screening module, used for querying all logistics package orders having a binding relationship with the user terminal, screening all the logistics package orders according to the condition analysis result, and obtaining at least one first target logistics package order; A monitoring and obtaining module, used for monitoring the real-time status information of the first target logistics package order, and obtaining the real-time status information when the real-time status information is monitored; an identification and updating module, configured to identify inconsistent fields between the first target logistics package order and the real-time status information, and update the package status information of the first target logistics package order according to the inconsistent fields to obtain a second target logistics package order; A generating and sending module is used to generate a package real-time information overview list according to the first target logistics package order and the second target logistics package order, and send the package real-time information overview list to the user terminal.

9. A real-time information query device for logistics packages, characterized in that: The real-time information query device for logistics packages 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 so that the real-time information query device of the logistics package executes each step of the real-time information query method of the logistics package as described in any one of claims 1-7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the various steps of the real-time information query method for logistics packages as described in any one of claims 1-7 are implemented.