A method and apparatus for processing waybill data
By determining waybill tags and filtering target waybills based on waybill attributes, the problem of performance degradation in sorting systems caused by excessive data volume in logistics network systems is solved, thereby improving data processing efficiency and logistics speed.
Patent Information
- Application Number
- CN202211617794.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-15
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2042-12-15
AI Technical Summary
As existing logistics network systems process waybill data, the amount of data at each node gradually increases, leading to a decline in the performance of the sorting system. This results in the inability to process waybill data in a timely manner, reducing sorting efficiency, causing slow logistics speeds or even interruptions, lowering user experience and increasing costs.
By identifying waybill tags based on waybill attributes such as waybill type, target waybills are filtered and sent to the corresponding next-level nodes, reducing the amount of data and data processing, and improving the data processing efficiency of the next-level nodes.
It improves the data processing efficiency of the next level node, completes the sorting task of goods in a timely and accurate manner, improves logistics speed and user experience, and reduces platform cost losses.
Smart Images

Figure CN116342004B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of intelligent logistics, and in particular to a processing method and device for waybill data. BACKGROUND
[0002] A logistics network system usually comprises multiple levels of nodes such as large areas (for example, DB, HB, XB, etc.), sorting centers (for example, SY, HEB, etc.), distribution stations, etc. One large area corresponds to multiple sorting centers, and one sorting center corresponds to multiple terminal distribution stations.
[0003] In the prior art, when processing waybill data, each node of the logistics network system usually directly sends all the waybill data included in the area to the next level node to realize pre-production of the waybill. However, as the logistics volume increases, the amount of waybills at each node gradually increases, and accordingly, the amount of data that needs to be processed by the next level node also increases, which causes the performance of the sorting system to decrease, the waybill data cannot be processed in time, the goods sorting task cannot be completed, the sorting efficiency is reduced, the logistics speed is slowed down or even interrupted, the user experience is reduced, and the cost is lost. SUMMARY
[0004] Therefore, the embodiments of the present application provide a processing method and device for waybill data, which can determine a waybill mark according to the waybill type and other waybill attributes, and then filter target waybills according to the mark characteristics and send them to the corresponding next level node, greatly reducing the data amount and efficiency of the server of each node, thereby pushing only the waybill data belonging to itself to each next level node, reducing the network overhead and data processing amount of each next level node, improving the data processing efficiency of the next level node, timely and accurately completing the goods sorting task and the waybill task, and then improving the logistics speed, enhancing the user experience, and reducing the platform cost loss.
[0005] To achieve the above-mentioned purpose, according to one aspect of the embodiments of the present application, a processing method for waybill data is provided, comprising:
[0006] receiving waybill requests of multiple waybills; wherein the waybill request indicates a waybill identifier and a node identifier of the waybill;
[0007] determining a waybill mark corresponding to the waybill identifier according to the waybill state message corresponding to the waybill identifier and / or the node identifier synchronized to; wherein the waybill mark indicates a mark type and a mark time;
[0008] filtering the waybill identifier of the target waybill from the multiple waybill identifiers by using the mark type and the mark time;
[0009] sending the waybill data corresponding to the waybill identifier of the target waybill to the next level node corresponding to the waybill identifier of the target waybill.
[0010] Optionally, the label type includes a dynamic label; and the determining, according to the synchronized-to shipment status message corresponding to the shipment identifier, of the shipment label corresponding to the shipment identifier includes:
[0011] determining, according to the synchronized-to shipment status message corresponding to the shipment identifier, of the current node identifier and the next node identifier of the shipment;
[0012] determining, according to the current node identifier and the next node identifier, of the dynamic label of the shipment.
[0013] Optionally, the label type also includes a static label; and the determining, according to the node identifier, of the shipment label corresponding to the shipment identifier includes:
[0014] looking up a preset self-operated database to determine a mapping relationship between the node identifier of the different-level node;
[0015] determining, according to the node identifier of the different-level node, of the static label corresponding to the shipment identifier.
[0016] Optionally, the filtering, according to the label type and the label time, of the shipment identifier of the target shipment from the plurality of shipment identifiers includes:
[0017] determining, according to the label type and the label time, of a target label corresponding to the plurality of shipment identifiers;
[0018] filtering, according to the target label, of the shipment identifier of the target shipment.
[0019] Optionally, the determining, according to the label type and the label time, of a target label corresponding to the plurality of shipment identifiers includes:
[0020] determining whether the label type corresponding to the shipment identifier simultaneously includes a static label and a dynamic label, and if so, deleting the static label corresponding to the shipment identifier;
[0021] sorting the dynamic label according to the label time of the remaining dynamic label corresponding to the shipment identifier;
[0022] taking the first-sorted dynamic label as the target label corresponding to the shipment identifier.
[0023] Optionally, the filtering, according to the target label, of the shipment identifier of the target shipment includes:
[0024] determining, according to the target label, of a next-level node corresponding to the shipment identifier;
[0025] The node identifier of the next node marked by the mark is used to determine the waybill identifier of the target waybill belonging to each next node.
[0026] Optionally, the waybill status of the waybill status message comprises station shipment, pickup, upstream sorting shipment, downstream sorting shipment, reverse single, and return scheduling waybill; and the node identifier comprises warehouse identifier, sorting center identifier, or distribution station identifier.
[0027] According to still another aspect of the embodiments of the present application, a waybill data processing device is provided, comprising:
[0028] A receiving module is configured to receive waybill requests of a plurality of waybills, wherein the waybill request indicates a waybill identifier and a node identifier of the waybill;
[0029] A data processing module is configured to determine a waybill mark corresponding to the waybill identifier according to the waybill status message corresponding to the waybill identifier and / or the node identifier synchronized to;
[0030] A screening module is configured to screen a waybill identifier of a target waybill from the plurality of waybill identifiers by using the mark type and the mark time;
[0031] An issuing module is configured to issue waybill data corresponding to the waybill identifier of the target waybill to a next node corresponding to the waybill identifier of the target waybill, and issue the waybill data corresponding to the waybill identifier of the target waybill to a corresponding sorting center respectively.
[0032] According to another aspect of the embodiments of the present application, an electronic device for processing waybill data is provided, comprising:
[0033] One or more processors;
[0034] A storage device configured to store one or more programs,
[0035] When the one or more programs are executed by the one or more processors, the one or more processors implement the waybill data processing method provided by the present application.
[0036] According to still another aspect of the embodiments of the present application, a computer readable medium having a computer program stored thereon is provided, wherein the program is executed by a processor to implement the waybill data processing method provided by the present application.
[0037] An embodiment of the above application has the following advantages or beneficial effects: because the dynamic label and / or static label of the waybill are determined according to the real-time waybill status message and the mapping relationship between the different levels of nodes configured in advance, and the target waybill belonging to each next level node is screened according to the label type and label time, and only the waybill data belonging to the next level node is pushed to the corresponding next level node, the technical problem that the existing logistics network system nodes directly send all the waybill data included in the area to the next level node when processing waybill data, which reduces the performance of the next level node sorting system, cannot process waybill data and complete the article sorting task in time, reduces the sorting efficiency, causes the logistics speed to be low or even interrupted, reduces the user experience, and causes cost loss is overcome, and the technical effect that the waybill label can be determined according to the waybill type and other waybill attributes, and then the target waybill is screened according to the label characteristics and sent to the corresponding next level node is achieved, the data push amount and push efficiency of the server of each node are greatly simplified, only the waybill data belonging to the next level node is pushed to each next level node, the network overhead and data processing amount of each next level node are reduced, the data processing efficiency of the next level node is improved, the article sorting task and the waybill task are completed in time and accurately, and the technical effect that the logistics speed is improved, the user experience is improved, and the platform cost loss is reduced is achieved.
[0038] The further effects of the above-mentioned non-conventional optional mode will be described below in conjunction with the specific embodiments. BRIEF DESCRIPTION OF DRAWINGS
[0039] The accompanying drawings are used to better understand the application and do not constitute undue limitations on the application. Among them:
[0040] Figure 1 is a schematic diagram of the main process of the waybill data processing method according to an embodiment of the application;
[0041] Figure 2 is a schematic diagram of the main process of the determination method of the static label of the waybill according to an embodiment of the application;
[0042] Figure 3 is a schematic diagram of the main process of the determination method of the dynamic label of the waybill according to an embodiment of the application;
[0043] Figure 4 is a schematic diagram of the main process of the determination method of the target waybill according to an embodiment of the application;
[0044] Figure 5 is a schematic diagram of the main module of the waybill data processing device according to an embodiment of the application;
[0045] Figure 6An exemplary system architecture diagram of a processing method of waybill data or a processing device of waybill data suitable for being applied to the embodiments of the present application is shown;
[0046] Figure 7 is a structural schematic diagram of a computer system of a terminal device or a server suitable for being used to implement the embodiments of the present application. DETAILED DESCRIPTION
[0047] Exemplary embodiments of the present application are described below with reference to the accompanying drawings, which include various details of the embodiments of the present application to assist in understanding, and should be considered as merely exemplary. Therefore, those skilled in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Also, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0048] Figure 1 is a schematic diagram of the main flow of the processing method of waybill data according to the embodiments of the present application, as shown in Figure 1 The processing method of waybill data of the present application includes the following steps:
[0049] Each node of the logistics network system can receive waybill messages, waybill data, etc., and the waybill data is usually exchanged between nodes of different levels in a data preposition manner, that is, the upper-level node area prepositions the production information corresponding to the waybill data to the lower-level node, so that the lower-level node generates and executes the production task.
[0050] In the existing data preposition process, the data preposition method of the upper-level node is relatively single, and usually the upper-level node sends all of its waybill data to the lower-level node. For example, the DB area includes HEB sorting centers, CC sorting centers, SY sorting centers, etc., and the DB area prepositions all of the waybill data of the DB area to the HEB sorting centers, the CC sorting centers, and the SY sorting centers. For another example, the HN area includes JL sorting centers, etc., and the HN area prepositions all of the waybill data of the HN area to the JL sorting centers.
[0051] However, as the amount of waybills of each node becomes larger and larger, the amount of data to be processed also becomes larger and larger, and the data processing system performance of the node cannot meet the requirements, so that the waybill data cannot be processed in time and the article sorting task cannot be completed. More seriously, it can even directly lead to the collapse of the logistics network, and the waybills cannot be completed on time, the user complaints increase sharply, the satisfaction decreases, and the subsequent selection of other services causes the platform to suffer irreparable losses in time cost, production cost, labor cost, and economic cost.
[0052] The processing method of the waybill data can only distribute the waybill data belonging to the next level node itself to the next level node, thereby simplifying the data distribution amount of each node, reducing the network overhead of each node, improving the sorting efficiency and logistics efficiency of each node system, ensuring the waybill service, improving the user satisfaction, protecting the platform interests, and avoiding unnecessary time, production, manpower, economic and other cost losses.
[0053] In step S101, a waybill request of a plurality of waybills is received; wherein the waybill request indicates a waybill identifier and a node identifier of the waybill.
[0054] In the embodiment of the present application, the processing method of the waybill data of the present application can be executed by the node server of each node, and the node can be a warehouse, a sorting center, a distribution station, etc.
[0055] In the embodiment of the present application, the waybill request includes waybill data, and the waybill data includes a waybill identifier, a waybill type, a waybill status message, a shipping address, a receiving address, a node identifier (which can be a warehouse identifier, a sorting center identifier, or a distribution station identifier, etc.), a node quantity, a node name, an article identifier, an article type, an article quantity, an article specification, etc. The waybill status includes site shipping (which means the current site shipping of the waybill), inspection (which means the inspection of the waybill articles by the staff at the waybill shipping location, the inspection of the waybill articles by the staff in the waybill logistics process, the inspection of the waybill articles by the user when receiving the goods, etc.), pick-up (which means the pick-up of the waybill package by the express delivery man), upstream sorting and shipping (which means the shipping between different levels of nodes, such as from sorting center A to sorting center B, and the upstream of sorting center B is sorting center A), downstream sorting and shipping (which means the shipping between different levels of nodes, such as from sorting center A to sorting center B, and the downstream of sorting center A is sorting center B), reverse single (forward logistics means that the logistics is transported from the shipping address to the receiving address according to the indication of the waybill; reverse single means the process of creating a new waybill to return in reverse when the user returns goods or encounters article damage during the logistics process, and the new waybill corresponds to a new waybill identifier, and the receiving address is usually a self-operated warehouse or a third-party warehouse of the platform), return scheduling waybill (return scheduling means that the waybill logistics is sent from sorting center A to distribution point B, however, the distribution point B is saturated and cannot be dispatched, at this time, the logistics will return to the scheduling back to sorting center A, and re-schedule the distribution points other than distribution point B, such as distribution point C), etc. In the embodiment of the present application, the node identifier can be the warehouse identifier of the shipping warehouse or the receiving warehouse of the waybill, and the warehouse type includes self-operated warehouse and third-party warehouse, the third-party warehouse refers to the warehouse of the third-party merchant, and the self-operated warehouse refers to the warehouse of the platform, such as JD self-operated warehouse.
[0056] In the embodiment of the present application, the type of the waybill includes a pure distribution waybill, a self-operated waybill and a third-party waybill. The pure distribution waybill refers to a service provided by the platform, for example, the platform collects and transports goods from a third-party warehouse to another warehouse or a distribution center, or the platform collects goods from another warehouse and transports them to a third-party warehouse, and correspondingly, the warehouse identifier of the pure distribution waybill is the third-party warehouse identifier. The self-operated waybill refers to goods shipped from or received by a self-operated warehouse of the platform, and correspondingly, the warehouse identifier of the self-operated waybill is the self-operated warehouse identifier of the platform, for example, the self-operated warehouse ID is 10. The third-party waybill refers to goods shipped from a third-party warehouse, and correspondingly, the warehouse identifier of the third-party waybill is the third-party warehouse identifier.
[0057] In step S102, a waybill mark corresponding to the waybill identifier is determined according to the synchronized waybill state message corresponding to the waybill identifier and / or the node identifier. The waybill mark indicates a mark type and a mark time.
[0058] In the embodiment of the present application, by synchronizing the waybill state message, the node server can verify the real-time logistics state of the waybill and determine whether there are abnormal situations such as missing, wrong, multiple and damage, so as to timely adjust the waybill data.
[0059] In the embodiment of the present application, the node server is pre-configured with a routing database, and the dynamic route of the waybill can be determined according to the shipping address and the receiving address of the waybill request. The dynamic route indicates the node identifier and the node name of one or more nodes through which the waybill passes.
[0060] In the embodiment of the present application, the mark type includes dynamic marking and / or static marking. The dynamic mark corresponding to the waybill identifier is determined according to the synchronized waybill state message corresponding to the waybill identifier. The static mark corresponding to the waybill identifier is determined according to the node identifier. The mark time is the creation time of the dynamic mark and / or the creation time of the static mark.
[0061] In the embodiment of the present application, as shown in FIG. 1, Figure 2 The method for determining the static mark of the waybill includes the following steps:
[0062] In the embodiment of the present application, the static mark is applicable to the self-operated waybill, for example, the JD logistics characteristic self-operated type waybill.
[0063] In step S201, a pre-configured self-operated database is searched to determine the mapping relationship between the node identifiers of different levels of nodes.
[0064] In the embodiment of the present application, the self-operated database maintains the correspondence of the node identifiers of the nodes of different levels of the self-operated logistics. The mapping relationship / binding relationship of the node identifiers of the nodes of different levels of the self-operated logistics is generally fixed. For example, a self-operated logistics line includes N first-level self-operated nodes and N second-level self-operated nodes, that is, generally, the first-level self-operated nodes and the second-level self-operated nodes are in an N:N relationship, and the goods of the N first-level self-operated nodes can be sent to any second-level self-operated node.
[0065] For another example, the mapping relationship of the node identifiers of the nodes of different levels in the self-operated database is shown in the following table.
[0066]
[0067] Further, for the waybill involving the first-level self-operated node, the node server of the first-level self-operated node finds the local self-operated database according to the node identifier of the first-level self-operated node to determine the node identifier of the second-level self-operated node corresponding to the node identifier of the first-level self-operated node. Or, for the waybill involving the second-level self-operated node, the node server of the second-level self-operated node finds the local self-operated database according to the second-level self-operated node to determine the node identifier of the first-level self-operated node corresponding to the node identifier of the second-level self-operated node. The other level nodes are similar and will not be described in detail.
[0068] In step S202, the static mark corresponding to the waybill identifier is determined according to the node identifier of the node of different levels.
[0069] In the embodiment of the present application, the static mark of the waybill is marked according to the node identifier of the node of different levels. The static mark is the mapping relationship of the node identifier of the first-level self-operated node and the node identifier of the second-level self-operated node, for example, the first-level self-operated node ID-second-level self-operated node ID is 10-K. Wherein, 10 is the node identifier of the first-level self-operated node, and K is the node identifier of the first-level self-operated node.
[0070] In the embodiment of the present application, by the determination method of the static mark of the waybill of the present application, the mapping relationship of the node identifiers of different levels of the nodes of the waybill involving the self-operated logistics can be statically marked, so that the waybill data is processed differently, so as to screen the target waybill in the subsequent process, reduce the data processing amount of the next level node, and improve the sorting efficiency and logistics management efficiency of the next level node.
[0071] In the embodiment of the present application, as shown in the following table, the determination method of the dynamic mark of the waybill of the present application includes the following steps: Figure 3
[0072] In the embodiment of the present application, the dynamic mark is suitable for various types of waybills.
[0073] Step S301, determining the current node identifier and the next node identifier of the waybill according to the synchronized waybill status message corresponding to the waybill identifier.
[0074] In the embodiment of the present application, the waybill status message includes a station delivery message, an inspection message, a pickup message, an upstream sorting delivery message, a downstream sorting delivery message, a reverse sorting message, a return scheduling waybill message, etc. For example, the station delivery message corresponding to the waybill identifier is a delivery from an A sorting center to a B sorting center.
[0075] Step S302, determining the dynamic mark of the waybill according to the current node identifier and the next node identifier.
[0076] In the embodiment of the present application, the dynamic mark is usually generated by real-time actual operation of the upstream and downstream, so according to the real-time waybill status message, the dynamic mark of the waybill corresponding to the waybill identifier is determined, and the dynamic mark is the current node identifier and the next node identifier of the waybill. For example, the current node identifier-next node identifier is A-B; wherein the current node is the A sorting center, and the next node is the B sorting center, as shown in the following table:
[0077]
[0078] Wherein, the dynamic mark of the waybill 1111111111 indicates that the current node of the waybill is the A sorting center, and the next node is the B sorting center; the dynamic mark of the waybill 2222222222 indicates that the current node of the waybill is the C sorting center, and the next node is the D distribution station.
[0079] In the embodiment of the present application, by the determination method of the dynamic mark of the waybill of the present application, the dynamic mark of the waybill can be determined according to the real-time waybill status message, so as to distinguish the waybill data, so as to screen the target waybill in the subsequent process, reduce the data processing amount of the next node, and improve the sorting efficiency and the logistics management efficiency of the next node.
[0080] Step S103, screening the waybill identifier of the target waybill from the plurality of waybill identifiers by using the mark type and the mark time.
[0081] In the embodiment of the present application, since the mark type of the waybill can be dynamic mark, static mark, or dynamic mark and static mark, when screening the target waybill of each next node from all the waybill data, the mark type and the mark time of the waybill mark need to be sorted to determine the most accurate waybill data.
[0082] In the embodiment of the present application, as shown in the following table, the determination method of the target waybill of the present application includes the following steps: Figure 4
[0083] Step S401: Determine the target marker corresponding to the plurality of waybill identifiers based on the marker type and the marker time.
[0084] Step S4011: Determine the tag type corresponding to the waybill identifier.
[0085] Step S4012: Determine whether the tag type includes both static tags and dynamic tags. If yes, proceed to step S4013; if no, proceed to step S4016.
[0086] In this embodiment of the invention, a waybill may have both dynamic and static markings, and there is a conflict between the markings used to identify the waybill, that is, there is a conflict between the dynamic markings and the static markings.
[0087] In this embodiment of the invention, when a waybill is transported at the current node, it can only go to "one place". Therefore, if a waybill has both dynamic and static tags, it means that a waybill may have two "next nodes" at the same time. That is, the tag type corresponding to the waybill identifier includes both static and dynamic tags. Accordingly, the multiple tags of the waybill conflict with each other.
[0088] Step S4013: Delete the static marker corresponding to the waybill identifier.
[0089] In this embodiment of the invention, since dynamic marking is explicitly executable, the determination of the target marking follows the principle of prioritizing "dynamic marking". For example, the node identifier of the first-level self-operated node of waybill 2222222222 is 10, and its static marker is 10-K (first-level self-operated node identifier - second-level self-operated node identifier). Meanwhile, the current node identifier of waybill 2222222222 is the node identifier 10 of the first-level self-operated node, and the next node identifier is the sorting center identifier F. That is, although there is a binding relationship between the first-level self-operated node 10 and the sorting center K, in actual operation, waybills from self-operated warehouse 10 should be sent to sorting center F. Therefore, if waybill data is determined according to static marking, sorting center F may not have prior waybill data, which does not reflect the actual operation, causing waybill 22222222222 to be incorrect and wasting logistics costs. Therefore, dynamic marking is usually accurate, while static marking is pre-configured and may have errors compared to actual operation.
[0090] Step S4014: Sort the dynamic tags according to the tagging time of the remaining dynamic tags corresponding to the waybill identifier.
[0091] In this embodiment of the invention, when a waybill corresponds to multiple dynamic tags, the multiple dynamic tags are sorted according to the order of their tagging time.
[0092] Step S4015, the dynamic mark ranked first is taken as the target mark corresponding to the waybill identification.
[0093] In the embodiment of the present application, in the case that one waybill corresponds to multiple dynamic marks, the dynamic mark with the earliest marking time is taken as the target mark of the waybill.
[0094] Step S4016, the mark indicated by the marking type is taken as the target mark corresponding to the waybill identification.
[0095] In the embodiment of the present application, in the case that one waybill corresponds to multiple dynamic marks or multiple static marks, the multiple dynamic marks or multiple static marks are respectively sorted according to the marking time, and the dynamic mark or static mark with the earliest marking time is taken as the target mark of the waybill.
[0096] Step S402, the waybill identification of the target waybill is screened by using the target mark.
[0097] Step S4021, according to the target mark, the next level node of the mark corresponding to the waybill identification is determined.
[0098] In the embodiment of the present application, according to the waybill identification corresponding to the target mark, the next level node of the mark corresponding to the waybill identification is determined.
[0099] Step S4022, the waybill identification of the target waybill belonging to each next level node is determined by using the node identification of the next level node of the mark.
[0100] In the embodiment of the present application, according to the node identification corresponding to the next level node of the mark, it is determined that the corresponding waybill belongs to the next level node, and then the target waybill of each next level node is obtained, so as to accurately issue the waybill data of the target waybill corresponding to each next level node in the later period. For example, the waybill data after the target mark is determined as shown in the following table:
[0101]
[0102] When the node server issues data to each next level node or each next level node consumes the waybill data, the node server can be taken as a first index for consumption, and then a second index for consumption is performed according to the target mark.
[0103] In the embodiment of the present application, the target label of each waybill can be determined according to the label type and the label time by the target waybill determination method of the present application, and the waybill identifier of the next level node belonging to each sorting center is determined, and when data is subsequently issued to each next level node, the data processing amount of the next level node can be reduced, and the sorting efficiency and the logistics management efficiency of the next level node can be improved.
[0104] In step S104, the waybill data corresponding to the target waybill identifier is issued to the next level node corresponding to the target waybill identifier.
[0105] In the embodiment of the present application, after the target waybill identifier of each next level node is determined, the node server can send the waybill data of the target waybill belonging to each next level node to each next level node, without sending all the waybill data to each next level node. For example, as shown in the above table, the B sorting center of the HN area only consumes the waybill data of the waybill with the waybill number 1111111111 and 2222222222, and does not need to care about the waybill data of the waybill with the waybill number 3333333333, so that the accurate issuance of the data preposition of the B sorting center is completed.
[0106] In the embodiment of the present application, by receiving a plurality of waybill requests; wherein the waybill request indicates the waybill identifier and the node identifier of the waybill; according to the synchronized waybill state message corresponding to the waybill identifier and / or the node identifier, the waybill label corresponding to the waybill identifier is determined; wherein the waybill label indicates the label type and the label time; the target waybill identifier is selected from the plurality of waybill identifiers by using the label type and the label time; the waybill data corresponding to the target waybill identifier is issued to the next level node corresponding to the target waybill identifier, and the like, the waybill label can be determined according to the waybill type and other waybill attributes, and then the target waybill can be selected according to the label characteristics and sent to the corresponding next level node, so that the data amount and the issuance efficiency of the server of each starting node are greatly simplified, only the waybill data belonging to each next level node is pushed to the next level node, the network overhead and the data processing amount of each next level node are reduced, the data processing efficiency of the next level node is improved, the article sorting task and the waybill task are completed in time and accurately, and the logistics speed is improved, the user experience is improved, and the platform cost loss is reduced.
[0107] Figure 5 is a schematic diagram of the main modules of the waybill data processing device according to the embodiment of the present application, as shown in Figure 5 The waybill data processing device 500 of the present application includes:
[0108] The receiving module 501 is used to receive multiple waybill requests; wherein the waybill request indicates the waybill identifier and node identifier of the waybill.
[0109] The data processing module 502 is used to determine the waybill tag corresponding to the waybill identifier based on the synchronized waybill status message corresponding to the waybill identifier and / or the node identifier; wherein the waybill tag indicates the tag type and tag time.
[0110] The filtering module 503 is used to filter the waybill identifier of the target waybill from a plurality of waybill identifiers based on the tag type and the tag time.
[0111] The delivery module 504 is used to deliver the waybill data corresponding to the waybill identifier of the target waybill to the next-level node corresponding to the target waybill identifier.
[0112] In this embodiment of the invention, through modules such as a receiving module, an input module, an output module, and a sending module, waybill tags can be determined based on waybill attributes such as waybill type. Then, target waybills are selected based on the tag characteristics and sent to the corresponding next-level nodes. This greatly simplifies the amount of data sent by the servers of each starting node and improves the sending efficiency. As a result, waybill data belonging only to each next-level node is pushed to each next-level node, reducing the network overhead and data processing volume of each next-level node, improving the data processing efficiency of the next-level node, and completing the sorting and waybill tasks in a timely and accurate manner. This improves logistics speed, enhances user experience, and reduces platform cost losses.
[0113] Figure 6 An exemplary system architecture diagram is shown, which is suitable for processing waybill data in embodiments of the present invention, such as... Figure 6 As shown, an exemplary system architecture for the waybill data processing method or waybill data processing apparatus of this invention includes:
[0114] like Figure 6 As shown, system architecture 600 may include sorting center servers 601, 602, and 603, network 604, and regional server 605. Network 604 serves as the medium for providing communication links between sorting center servers 601, 602, and 603 and regional server 605. Network 604 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.
[0115] Sorting center servers 601, 602, and 603 interact with regional server 605 via network 604 to receive or send messages, etc.
[0116] The large-area server 605 can be a server providing various services, such as a background management server providing support for the shipping order data of the sorting center servers 601, 602, and 603. The background management server can perform analysis and the like on all received shipping order data and the like, and feed back the processing results (such as shipping order data of target shipping orders of each sorting center) to each sorting center server 601, 602, and 603, respectively.
[0117] It should be noted that the shipping order data processing method provided by the embodiment of the present application is generally executed by the large-area server 605, and accordingly, the shipping order data processing device is generally provided in the large-area server 605.
[0118] It should be understood that, Figure 6 The number of sorting center servers, networks, and large-area servers in the above-mentioned system is merely illustrative. Any number of sorting center servers, networks, and large-area servers can be provided according to implementation needs.
[0119] Figure 7 is a structural schematic diagram of a computer system of a terminal device or server suitable for implementing the embodiment of the present application, as Figure 7 indicated in the above-mentioned system, the computer system 700 of the terminal device or server of the embodiment of the present application includes:
[0120] A central processing unit (CPU) 701 can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 702 or programs loaded from a storage portion 708 into a random access memory (RAM) 703. Various programs and data required for the operation of the system 700 are also stored in the RAM 703. The CPU 701, the ROM 702, and the RAM 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0121] The following components are connected to the I / O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), and the like, and a speaker, and the like; a storage portion 708 including a hard disk, and the like; and a communication portion 709 including a network interface card such as a LAN card, a modem, and the like. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like is mounted on the drive 710 as needed, so that a computer program read therefrom is installed in the storage portion 708 as needed.
[0122] In particular, the processes described above with reference to the flow charts can be implemented as a computer software program in accordance with the embodiments disclosed herein. For example, embodiments disclosed herein include a computer program product which includes a computer program tangibly embodied on a computer readable medium, the computer program containing program code for executing the methods illustrated by the flow charts. In such embodiments, the computer program can be downloaded and installed from a network via the communication portion 709 and / or installed from a removable media 711. When the computer program is executed by the central processing unit (CPU) 701, the above-described functions defined in the system of the present invention are performed.
[0123] It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium may, for example, be, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device. In the present invention, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, in which a computer readable program code is carried. Such a propagated data signal can take many forms, including but not limited to, an electromagnetic signal, an optical signal or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium that can send, propagate or transfer a program for use by or in connection with an instruction execution system, apparatus or device. The program code contained on the computer readable medium can be transmitted using any suitable medium, including but not limited to, wireless, wire line, optical fiber cable, RF, etc., or any suitable combination thereof.
[0124] The computer program product of the present application can be a computer program embodied on a computer readable medium. The computer program product can be stored in the memory 130 and executed by the processor 120 under the control of the operating system. The computer program product can include a receiving module, a data processing module, a screening module and a delivering module. The receiving module is configured to receive a plurality of shipping order requests. Each of the shipping order requests indicates a shipping order identifier and a node identifier. The data processing module is configured to determine a shipping order mark corresponding to the shipping order identifier according to a shipping order status message corresponding to the shipping order identifier and / or the node identifier. The shipping order mark indicates a mark type and a mark time. The screening module is configured to screen a target shipping order identifier from the plurality of shipping order identifiers according to the mark type and the mark time. The delivering module is configured to deliver shipping order data corresponding to the target shipping order identifier to a next node corresponding to the target shipping order identifier.
[0125] The modules described in the embodiments of the present application can be implemented by software or hardware. The modules described can be implemented in a processor, for example, a processor can be described as including a receiving module, a data processing module, a screening module and a delivering module. In some cases, the names of the modules do not constitute a limitation on the modules themselves. For example, the delivering module can also be described as a module that delivers shipping order data corresponding to a target shipping order identifier to a next node corresponding to the target shipping order identifier.
[0126] As another aspect, the present application also provides a computer readable medium, which can be included in the device described in the above embodiments or exist separately without being assembled into the device. The computer readable medium carries one or more programs, which, when executed by the device, cause the device to include: receiving a plurality of shipping order requests, wherein each of the shipping order requests indicates a shipping order identifier and a node identifier; determining a shipping order mark corresponding to the shipping order identifier according to a shipping order status message corresponding to the shipping order identifier and / or the node identifier, wherein the shipping order mark indicates a mark type and a mark time; screening a target shipping order identifier from the plurality of shipping order identifiers according to the mark type and the mark time; and delivering shipping order data corresponding to the target shipping order identifier to a next node corresponding to the target shipping order identifier.
[0127] According to the technical scheme of the embodiment of the present application, the waybill label can be determined according to the waybill attributes such as the waybill type, and then the target waybill is screened according to the label features and sent to the corresponding next node, which greatly reduces the data amount and delivery efficiency of the server of each starting node, thereby pushing only the waybill data belonging to each next node to the next node, reducing the network overhead and data processing amount of each next node, improving the data processing efficiency of the next node, timely and accurately completing the article sorting task and the waybill task, and then improving the logistics speed, enhancing the user experience, and reducing the platform cost loss.
[0128] The foregoing detailed description does not constitute a limitation of the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method of processing waybill data, characterized by, include: Receive multiple waybill requests; wherein, the waybill request indicates the waybill identifier and node identifier of the waybill; Based on the synchronized waybill status message corresponding to the waybill identifier and / or the node identifier, determine the waybill tag corresponding to the waybill identifier; wherein, the waybill tag indicates the tag type and tag time; Determine whether the tag type corresponding to the waybill identifier includes both static and dynamic tags. If so, delete the static tag corresponding to the waybill identifier. Sort the dynamic tags according to the tag time of the remaining dynamic tags corresponding to the waybill identifier. Take the first dynamic tag in the sorted list as the target tag corresponding to the waybill identifier. If not, take the tag indicated by the tag type as the target tag corresponding to the waybill identifier. The target marker is used to filter the waybill identifier of the target waybill; The waybill data corresponding to the waybill identifier of the target waybill is sent to the next-level node corresponding to the target waybill identifier.
2. The method of claim 1, wherein, The tag type includes dynamic tags; determining the waybill tag corresponding to the waybill identifier based on the synchronized waybill status message corresponding to the waybill identifier includes: Based on the synchronized waybill status message corresponding to the waybill identifier, determine the current node identifier and the next node identifier of the waybill; The dynamic marker of the waybill is determined based on the current node identifier and the next node identifier.
3. The method according to claim 2, characterized in that, The tag type also includes static tags; determining the waybill tag corresponding to the waybill identifier based on the node identifier includes: Locate the pre-built self-operated database and determine the mapping relationship with the node identifiers of different levels of nodes; Based on the node identifiers of the different level nodes, determine the static tag corresponding to the waybill identifier.
4. The method according to claim 1, characterized in that, The step of filtering the waybill identifier of the target waybill using the target marker includes: Based on the target marker, determine the next-level node of the marker corresponding to the waybill identifier; By using the node identifier that marks the next level node, the waybill identifier of the target waybill belonging to each next level node is determined.
5. The method according to claim 2, characterized in that, The waybill status message includes the waybill status of station shipment, pickup, upstream sorting and shipment, downstream sorting and shipment, reverse order exchange, and return dispatch waybill. The node identifier includes warehouse identifier, sorting center identifier, or delivery station identifier.
6. A device for processing waybill data, characterized in that, include: A receiving module is used to receive waybill requests from multiple waybills; wherein the waybill request indicates the waybill identifier and node identifier of the waybill; The data processing module is used to determine the waybill tag corresponding to the waybill identifier based on the synchronized waybill status message corresponding to the waybill identifier and / or the node identifier; wherein the waybill tag indicates the tag type and tag time; A filtering module is used to determine whether the tag type corresponding to the waybill identifier includes both static and dynamic tags. If so, the static tags corresponding to the waybill identifier are deleted; the dynamic tags are sorted according to their tag times; the dynamic tag with the highest sort order is selected as the target tag corresponding to the waybill identifier; if not, the tag indicated by the tag type is selected as the target tag corresponding to the waybill identifier; and the waybill identifiers of target waybills are filtered using the target tags. The delivery module is used to send the waybill data corresponding to the waybill identifier of the target waybill to the next-level node corresponding to the target waybill identifier, and to send the waybill data corresponding to the waybill identifier of the target waybill to the corresponding sorting center respectively.
7. An electronic device for processing waybill data, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-5.
8. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Method for distributing freight notes, device and system
CN101569883A
Logistics transportation distribution method and device, computer equipment and storage medium
CN114358677A