Merchant mailing order data association method, device and equipment and storage medium
By obtaining and marking shipping order data, generating merchant barcodes and verifying waybill numbers, and establishing merchant account data associations, the problem of data association between merchants and logistics parties for small batch orders in the logistics system is solved, and tracking and tracking of logistics packages is realized. Route management.
Patent Information
- Application Number
- CN202410626450.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-10
AI Technical Summary
The existing logistics system cannot support the data association between small-volume order merchants and bulk order merchants and logistics parties, making it impossible to track logistics packages.
By obtaining the shipping order data, marking the type and generating merchant barcode data, obtaining and verifying the shipping waybill number, and establishing the association mapping of merchant account data, the data association between merchants and logistics parties for small batch orders can be achieved.
It improves the accuracy of order entry and allows merchants to monitor and route management of logistics packages.
Smart Images

Figure CN118628003A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital logistics technology, and in particular to a method, device, equipment and storage medium for associating merchant delivery order data. Background Art
[0002] At present, when placing an order for small-volume orders or individual orders, an order number and an order barcode will be generated and printed on a piece of paper and pasted on the package. However, the existing logistics system cannot support data association between small-volume order merchants and individual order merchants, resulting in these merchants being unable to track logistics packages.
[0003] It can be seen that the existing technology still needs to be improved and enhanced. Summary of the invention
[0004] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a merchant shipping order data association method, device, equipment and storage medium, which can enable small-batch order merchants and individual order merchants to achieve data association with logistics parties, making it easier for these merchants to track logistics packages.
[0005] The first aspect of the present invention provides a merchant shipping order data association method, comprising: obtaining the shipping order data, and marking the shipping order data by type to obtain an identifier; generating merchant barcode data according to the shipping order data and the identifier; obtaining the shipping waybill number according to the merchant barcode data, and performing number verification on the shipping waybill number to obtain a verification result; obtaining the merchant account data, and constructing an association mapping between the verification result, the merchant barcode data and the merchant account data to obtain a data mapping relationship.
[0006] Optionally, in a first implementation method of the first aspect of the present invention, the obtaining of the shipping order data and performing type marking on the shipping order data to obtain a marker includes: obtaining the shipping order data and obtaining package image data based on the shipping order data; performing type recognition on the package image data using a preset package type recognition model to obtain object subdivision categories; dividing the object subdivision categories into major categories according to a preset comparison category table to obtain object marking categories; and generating a marker based on the object marking category.
[0007] Optionally, in a second implementation of the first aspect of the present invention, the generating of merchant barcode data based on the shipping order data and the marker includes: extracting package information based on the shipping order data, and generating a serial number code based on the package information; extracting each numeric character from the serial number code, and generating a check character based on preset check code generation rules and numeric characters; generating an end mark character based on the marker; and combining the serial number code, the check character and the end mark character to form the merchant barcode data.
[0008] Optionally, in a third implementation method of the first aspect of the present invention, obtaining the consignment waybill number according to the merchant barcode data, and performing number verification on the consignment waybill number to obtain a verification result, includes: obtaining the consignment waybill number according to the merchant barcode data, and splitting the consignment waybill number to obtain a serial field, a check field, and a tag field; obtaining the scanning device type, and verifying the tag field by the scanning device type to obtain a scanning result; if the scanning device type in the scanning result is inconsistent with the type of the tag field, a first prompt instruction is generated; judging the number of digits of the serial field according to a preset number of digits to obtain a digit result; if the number of digits of the serial field in the digit result exceeds the preset number of digits, a second prompt instruction is generated; performing an inverse operation on the check field using a preset inverse operation rule, and comparing the operation result with the serial field to obtain an inverse operation result; if the inverse operation result is inconsistent with any character between the serial field, a third prompt instruction is generated; and a verification result is generated according to the scanning result, the digit result, and the inverse operation result.
[0009] Optionally, in a fourth implementation method of the first aspect of the present invention, the process of extracting each digital character from the serial number code and generating a check character according to a preset check code generation rule and the digital characters includes: counting the number of digits in the serial number code, and checking the statistical result by a preset calculated number of digits; if the statistical result matches the preset calculated number of digits, retrieving each digital character in the serial number code; and performing a check bit operation on each digital character and its corresponding weight digit to obtain the check character.
[0010] Optionally, in a fifth implementation of the first aspect of the present invention, the obtaining of merchant account data and constructing an association mapping between the verification result, the merchant barcode data and the merchant account data to obtain a data mapping relationship include: extracting merchant information from the shipping order data, and obtaining merchant account data from an account management library based on the merchant information; obtaining an account data communication link from the merchant account data; and establishing an association mapping between the verification result and the account data communication link to obtain a data mapping relationship.
[0011] Optionally, in a sixth implementation of the first aspect of the present invention, establishing an association mapping between the verification result and the account data communication link to obtain a data mapping relationship includes: setting multiple route monitoring links along the routing points of the corresponding packages according to the verification results; constructing package display information according to the verification results; establishing an association mapping between the package display information and the multiple route monitoring links and the account data communication link to obtain a data mapping relationship.
[0012] The second aspect of the present invention provides a merchant shipping order data association device, including: a marking module, used to obtain the shipping order data, and type-mark the shipping order data to obtain an identifier; a barcode module, used to generate merchant barcode data based on the shipping order data and the identifier; a verification module, used to obtain the shipping waybill number based on the merchant barcode data, and perform number verification on the shipping waybill number to obtain a verification result; an association module, used to obtain merchant account data, and construct an association mapping between the verification result, the merchant barcode data and the merchant account data to obtain a data mapping relationship.
[0013] Optionally, in a first implementation of the second aspect of the present invention, the marking module includes: an image unit, used to obtain shipping order data, and obtain package image data based on the shipping order data; a type unit, used to perform type identification on the package image data using a preset package type identification model to obtain object subdivision categories; a division unit, used to divide the object subdivision categories into major categories according to a preset comparison category table to obtain object marking categories; and a marking unit, used to generate a marker based on the object marking category.
[0014] Optionally, in a second implementation of the second aspect of the present invention, the barcode module includes: an encoding unit, used to extract package information based on the shipping order data, and generate a serial number code based on the package information; a character unit, used to extract each numeric character from the serial number code, and generate a check character based on a preset check code generation rule and numeric characters; an end unit, used to generate an end mark character based on a marker; and a combination unit, used to combine the serial number code, the check character and the end mark character to form merchant barcode data.
[0015] Optionally, in a third implementation method of the second aspect of the present invention, the verification module includes: a splitting unit, used to obtain the consignment waybill number based on the merchant barcode data, and split the consignment waybill number to obtain a serial field, a check field and a mark field; a scanning unit, used to obtain the scanning device type, and check the mark field by scanning the device type to obtain a scanning result; if the scanning device type in the scanning result is inconsistent with the type of the mark field, a first prompt instruction is generated; a digit unit, used to judge the number of digits of the serial field according to a preset number of digits to obtain a digit result; if the number of digits of the serial field in the digit result exceeds the preset number of digits, a second prompt instruction is generated; an inverse operation unit, used to perform an inverse operation on the check field using a preset inverse operation rule, and compare the operation result with the serial field to obtain an inverse operation result; if the inverse operation result is inconsistent with any character between the serial field, a third prompt instruction is generated; a generation unit, used to generate a verification result based on the scanning result, the digit result and the inverse operation result.
[0016] Optionally, in a fourth implementation of the second aspect of the present invention, the character unit includes: a statistical unit, used to count the number of digits of the serial number code and verify the statistical result through a preset calculated number of digits; a matching unit, used to retrieve each digital character in the serial number code if the statistical result matches the preset calculated number of digits; and an operation unit, used to perform a check bit operation based on each digital character and its corresponding weight number to obtain a check character.
[0017] Optionally, in a fifth implementation of the second aspect of the present invention, the association module includes: a merchant unit, used to extract merchant information from the shipping order data, and obtain merchant account data from the account management library based on the merchant information; a link unit, used to obtain an account data communication link from the merchant account data; and a mapping unit, used to establish an association mapping between the verification result and the account data communication link to obtain a data mapping relationship.
[0018] Optionally, in a sixth implementation of the second aspect of the present invention, the mapping unit includes: a monitoring unit, used to set up multiple route monitoring links along the route points corresponding to the packages according to the verification results; a display unit, used to construct package display information according to the verification results; and an association unit, used to establish an association mapping between the package display information and the multiple route monitoring links and the account data communication link to obtain a data mapping relationship.
[0019] The third aspect of the present invention provides a merchant shipping order data association device, which includes: a memory and at least one processor, wherein the memory stores instructions; at least one of the processors calls the instructions in the memory to enable the merchant shipping order data association device to execute each step of the merchant shipping order data association method described in any one of the above items.
[0020] 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 merchant shipping order data association methods are implemented.
[0021] In the technical solution of the present invention, after the delivery order data is obtained, it is necessary to classify the packages according to the type, and set a marker so that the courier can distinguish the package type, so as to configure different transportation methods; and, the marker generated according to the package type is integrated into the merchant barcode data, so that the courier can obtain the package type of the delivery order through the merchant barcode data; when the courier scans the merchant barcode data, the corresponding delivery waybill number is obtained, and the system independently verifies the delivery waybill number to avoid the problem of order entry errors and improve the accuracy of order entry. When the entry is successful, the merchant account data of the corresponding order is obtained, and the verification result and the merchant barcode data are used to establish an association mapping with the merchant account data. Through this mapping relationship, the data between small batch order merchants and scattered order merchants and the logistics party can be associated, so that the merchants can monitor the routing of logistics packages. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 A first flow chart of a method for associating merchant shipping order data provided by an embodiment of the present invention;
[0023] Figure 2 A second flow chart of the merchant shipping order data association method provided by an embodiment of the present invention;
[0024] Figure 3 A third flow chart of the merchant shipping order data association method provided by an embodiment of the present invention;
[0025] Figure 4 A fourth flow chart of a merchant shipping order data association method provided by an embodiment of the present invention;
[0026] Figure 5 A fifth flow chart of the merchant shipping order data association method provided by an embodiment of the present invention;
[0027] Figure 6 A sixth flow chart of the merchant shipping order data association method provided by an embodiment of the present invention;
[0028] Figure 7 A seventh flow chart of the merchant shipping order data association method provided in an embodiment of the present invention;
[0029] Figure 8 A schematic diagram of a structure of a device for associating merchant shipping order data provided by an embodiment of the present invention;
[0030] Fig. 9 Another structural schematic diagram of a device for associating merchant shipping order data provided by an embodiment of the present invention;
[0031] Fig.10A schematic diagram of the structure of a merchant shipping order data association device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The present invention provides a merchant shipping order data association method, device, equipment and storage medium. The present invention needs to classify the types of packages, and set markers so that couriers can distinguish the types of packages, so as to configure different transportation methods; and the markers generated according to the package types are integrated into the merchant barcode data, so that the couriers can obtain the package type of the shipping order through the merchant barcode data; when the courier scans the merchant barcode data, the corresponding shipping waybill number is obtained, and the system autonomously verifies the shipping waybill number to avoid the problem of order entry errors and improve the accuracy of order entry. When the entry is successful, the merchant account data of the corresponding order is obtained, and the verification result and the merchant barcode data are used to establish an association mapping with the merchant account data. Through the mapping relationship, the data between the small batch order merchant and the scattered order merchant and the logistics party can be associated, so that the merchant can monitor the route of the logistics package. .
[0033] 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.
[0034] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 An embodiment of a method for associating merchant shipping order data in an embodiment of the present invention includes:
[0035] 101. Obtaining mail order data, and marking the type of the mail order data to obtain a marker;
[0036] 102. Generate merchant barcode data according to the shipping order data and the identifier;
[0037] In this embodiment, after the delivery order data is obtained, it is necessary to classify the packages according to their types (such as charged objects and non-charged objects), and set markers so that the courier can distinguish the package types and configure different transportation methods; and the marker generated according to the package type is integrated into the merchant barcode data, so that the courier can obtain the package type of the delivery order through the merchant barcode data.
[0038] 103. Obtain the shipping waybill number according to the merchant barcode data, and perform number verification on the shipping waybill number to obtain a verification result;
[0039] 104. Obtain the merchant account data, and construct an association mapping between the verification result, the merchant barcode data, and the merchant account data to obtain a data mapping relationship;
[0040] In this embodiment, after the courier scans the merchant's barcode data, the corresponding shipping bill number is obtained. After obtaining the shipping bill number, he is required to verify the number to avoid order entry errors and improve the accuracy of order entry. When the entry is successful, the merchant account data of the corresponding order is obtained, and the verification result and the merchant barcode data are used to establish an association mapping with the merchant account data. Through this mapping relationship, the data between merchants with small batch orders and merchants with individual orders and the logistics party can be associated, which can facilitate merchants to monitor the routes of logistics packages.
[0041] In an embodiment of the present invention, after obtaining the shipping order data, it is necessary to classify the packages according to their types, and by setting markers, the couriers can distinguish the package types, thereby configuring different modes of transportation; and, the markers generated according to the package types are integrated into the merchant barcode data, so that the couriers can obtain the package types of the shipping order through the merchant barcode data; when the courier scans the merchant barcode data, the corresponding shipping waybill number is obtained, and the system autonomously verifies the shipping waybill number to avoid the problem of order entry errors and improve the accuracy of order entry. When the entry is successful, the merchant account data of the corresponding order is obtained, and an association mapping is established between the verification result and the merchant barcode data and the merchant account data. Through this mapping relationship, the data between small-batch order merchants and scattered order merchants and the logistics party can be associated, so that the merchants can monitor the routes of the logistics packages.
[0042] See also Figure 2 The second embodiment of the merchant shipping order data association method in the embodiment of the present invention includes:
[0043] 201. Obtaining shipping order data, and obtaining package image data according to the shipping order data;
[0044] 202. Perform type recognition on the package image data using a preset package type recognition model to obtain object subdivision categories;
[0045] 203. Divide the object subcategories into major categories according to a preset comparison category table to obtain object marking categories; the object marking categories include charged object categories and non-charged object categories;
[0046] 204. Generate a marker according to the object tag category.
[0047] In this embodiment, an image of the package is obtained based on the package image data, and then the package type recognition model is used to classify the type of the package to realize autonomous identification of the transport object of the logistics package, and then the object sub-category is classified using the comparison category table to obtain the object marking category, so as to unify the marking type to facilitate the generation of a marker in a unified format. The use of a unified marker can facilitate couriers to quickly identify the type of the package, thereby quickly selecting a suitable mode of transportation.
[0048] The benefits of using a package type recognition model include: automated processing: package types can be automatically identified, reducing manual intervention and processing time; improved accuracy: using machine learning models can improve the accuracy of package type recognition and reduce error rates; enhanced efficiency: quickly and accurately identifying package types can improve logistics processing efficiency and accelerate logistics processes; real-time tracking: through real-time recognition, changes in package types can be tracked and processing strategies can be adjusted in a timely manner.
[0049] The following steps can be taken to build a package type recognition model: Data collection: Collect data sets containing different types of packages, including images, text descriptions and other information; Data preprocessing: Clean, standardize and extract features of the data for input into the model; Model selection: Select a model suitable for the task, and you can choose CNN, RNN, Transformer and other models according to actual conditions; Model training: Use labeled data sets to train the model and adjust model parameters to improve accuracy; Model evaluation: Use validation sets or cross-validation methods to evaluate the performance of the model and adjust the model structure and parameters; Model deployment: Deploy the trained model to the logistics system to achieve real-time package recognition capabilities; Monitoring and optimization: Continuously monitor model performance, and optimize and improve it according to actual conditions to ensure recognition accuracy and efficiency.
[0050] See also Figure 3 The third embodiment of the merchant shipping order data association method in the embodiment of the present invention includes:
[0051] 301. Extracting package information according to the shipping order data, and generating a serial number code according to the package information;
[0052] 302. Extracting each numeric character from the serial number code, and generating a check code according to a preset check code generation rule and the numeric characters;
[0053] 303. Generate a terminal marker character according to the marker;
[0054] 304. Combine the serial number code, the check character and the end mark character to form merchant barcode data.
[0055] In this embodiment, when generating merchant barcode data, it is necessary to generate a serial number code in advance based on the package information, and then input the serial number code into the preset verification code generation rule to form a unique verification character, and generate an end mark character based on the marker, and finally combine the serial number code, the verification character and the end mark character to form the merchant barcode data. The merchant barcode data can provide the courier with the information of the parcel to improve the logistics transfer efficiency.
[0056] See also Figure 4 The fourth embodiment of the merchant shipping order data association method in the embodiment of the present invention includes:
[0057] 401. Obtain the shipping waybill number according to the merchant barcode data, and split the shipping waybill number to obtain a serial field, a check field, and a tag field;
[0058] In this embodiment, after the courier system obtains the shipping bill number (the method of obtaining it can be through manual input of the courier number or by scanning the code), the shipping bill number must be split in advance to facilitate the verification of the format of the shipping bill number and to check whether the shipping bill number is a legal bill.
[0059] For example: when scanning, determine whether the shipping number meets the merchant's batch delivery specifications and whether it meets the current powered or non-powered types. When scanning the order number, if the order number is found to be wrong according to the merchant's batch delivery rules, a toast reminder "wrong order number" will be issued, and a voice reminder "Aou" (the previous wrong order number voice) will be issued. If the powered or non-powered type is wrong when scanning, a pop-up window of "wrong package type" reminder will be triggered.
[0060] 402. Obtain the scanning device type, and verify the tag field by the scanning device type to obtain a scanning result; if the scanning device type in the scanning result is inconsistent with the type of the tag field, generate a first prompt instruction;
[0061] 403. Determine the number of digits of the serial field according to the preset number of digits to obtain a digit result; if the number of digits of the serial field in the digit result exceeds the preset number of digits, generate a second prompt instruction;
[0062] 404. Perform an inverse operation on the check field using a preset inverse operation rule, and compare the operation result with the serial field to obtain an inverse operation result; if the inverse operation result is inconsistent with any character in the serial field, generate a third prompt instruction;
[0063] 405. Generate a verification result according to the scanning result, the bit number result and the inverse operation result.
[0064] In this embodiment, it is necessary to check the mark field, check field and serial field in sequence to verify whether the shipment waybill number is a legal number; when checking the mark field, it is necessary to check it by obtaining the scanning device type (it should be noted that different types of package objects need to be scanned by different scanning devices, such as the "package type error" reminder pop-up window: if the current scan is a powered type, the reminder text is: This package is a non-powered package, please put it in a non-powered package for scanning. If the current scan is a non-powered type, the reminder text is: This package is a powered package, please put it in a powered package for scanning). During the scanning process, if the scanning device type is inconsistent with the type of the mark field, the courier is warned through the first prompt instruction; when checking the serial field, the number of digits in the serial field needs to be checked using a preset number of digits. The package is checked (the preset digit limit is 28 digits. When it exceeds the limit, a toast reminder "Do not exceed 28 digits" is displayed, and it is judged whether the serial number field meets the merchant's bulk delivery specifications and whether it meets the current charged or non-charged type. If the charged or non-charged type is wrong, a pop-up window of "wrong package type" reminder is triggered). If the digit is wrong, the courier is warned through the second prompt instruction to check whether there is any input error in the serial number field. When checking the check field, the preset inverse operation rule is used to inversely operate the check field to reversely deduce the serial number field when calculating the derivative check field, and the inverse operation result is compared with the serial number field for verification. If any character between the two is inconsistent, the third prompt instruction is used to remind the courier that the serial number field needs to be verified to review whether there is any input error in the serial number field.
[0065] See also Figure 5 The fifth embodiment of the merchant shipping order data association method in the embodiment of the present invention includes:
[0066] 501. Count the number of digits of the serial number code, and verify the statistical result by using the preset number of calculated digits;
[0067] 502. If the statistical result matches the preset number of calculated digits, then retrieve each digit character in the serial number code;
[0068] 503. Perform a check digit operation on each digital character and its corresponding weight digit to obtain a check character.
[0069] In this embodiment, before generating the check character, the number of digits in the serial number code needs to be checked using a preset number of calculated digits. If the number of digits is correct, the characters of each digit in the serial number code are extracted to obtain multiple digital characters, and then each digital character is multiplied by its corresponding weight number; the results of each multiplication are added together; the total sum is divided by 9 to obtain the remainder; the remainder + 8, and the unit digit of the sum is the verification digit, that is, the check character.
[0070] See also Figure 6 The sixth embodiment of the merchant shipping order data association method in the embodiment of the present invention includes:
[0071] 601. Extracting merchant information from the shipping order data, and obtaining merchant account data from the account management library based on the merchant information;
[0072] 602. Obtaining an account data communication link from the merchant account data;
[0073] 603. Establishing an association mapping between the verification result and the account data communication link to obtain a data mapping relationship;
[0074] In this embodiment, when associating data, it is necessary to use the merchant information traceability of the shipping order data to find the merchant account data, and then obtain the interface of the merchant account data (i.e., the account data communication link), and use the interface to establish an association mapping with the verification result to form a data mapping relationship; through this data mapping relationship, the merchant party can quickly grasp the transportation status of the logistics package and realize the data interconnection between the merchant party and the logistics party.
[0075] See also Figure 7 The seventh embodiment of the merchant shipping order data association method in the embodiment of the present invention includes:
[0076] 701. Setting a plurality of route monitoring links along the route points corresponding to the packages according to the verification results;
[0077] 702. Construct package display information according to the verification result;
[0078] 703. Establish an association mapping between the package display information and the plurality of route monitoring links and the account data communication link to obtain a data mapping relationship.
[0079] In this embodiment, the routing information of the package is obtained in reverse based on the verification result, and corresponding monitoring links are set according to each routing node in the routing information. These monitoring links are used to monitor the transportation status of each node in real time, and by converting the verification result into package display information, the merchant can more intuitively grasp the real-time information of the logistics package.
[0080] The above describes the merchant shipping order data association method in the embodiment of the present invention. The following describes the merchant shipping order data association device in the embodiment of the present invention. Figure 8 In one embodiment of the present invention, a device for associating merchant shipping order data includes:
[0081] The marking module 801 is used to obtain the shipping order data and mark the type of the shipping order data to obtain a marker;
[0082] The barcode module 802 is used to generate merchant barcode data according to the shipping order data and the identifier;
[0083] Verification module 803, used to obtain the shipping waybill number according to the merchant barcode data, and perform number verification on the shipping waybill number to obtain a verification result;
[0084] The association module 804 is used to obtain the merchant account data and construct an association mapping between the verification result, the merchant barcode data and the merchant account data to obtain a data mapping relationship.
[0085] In this embodiment, after obtaining the shipping order data, the marking module 801 needs to classify the package type, and set the marker so that the courier can distinguish the package type, so as to configure different transportation methods; and the barcode module 802 integrates the marker generated according to the package type into the merchant barcode data, so that the courier can obtain the package type of the shipping order through the merchant barcode data; when the courier scans the merchant barcode data, the corresponding shipping waybill number is obtained, and the verification module 803 is used to verify the shipping waybill number to avoid the problem of order entry errors and improve the accuracy of order entry. When the entry is successful, the association module 804 obtains the merchant account data of the corresponding order, and uses the verification result and the merchant barcode data to establish an association mapping with the merchant account data. Through this mapping relationship, the data between the small batch order merchant and the scattered order merchant and the logistics party can be associated, so that the merchant can monitor the route of the logistics package.
[0086] See also Fig. 9 Another embodiment of the merchant shipping order data association device in the embodiment of the present invention includes:
[0087] The marking module 801 is used to obtain the shipping order data and mark the type of the shipping order data to obtain a marker;
[0088] The barcode module 802 is used to generate merchant barcode data according to the shipping order data and the identifier;
[0089] Verification module 803, used to obtain the shipping waybill number according to the merchant barcode data, and perform number verification on the shipping waybill number to obtain a verification result;
[0090] The association module 804 is used to obtain the merchant account data and construct an association mapping between the verification result, the merchant barcode data and the merchant account data to obtain a data mapping relationship.
[0091] In this embodiment, the marking module 801 includes: an image unit 8011, which is used to obtain the shipping order data and obtain the package image data according to the shipping order data; a type unit 8012, which is used to perform type recognition on the package image data using a preset package type recognition model to obtain object subdivision categories; a division unit 8013, which is used to divide the object subdivision categories into major categories according to a preset comparison category table to obtain object marking categories; a marking unit 8014, which is used to generate a marker according to the object marking category.
[0092] In this embodiment, the barcode module 802 includes: an encoding unit 8021, which is used to extract the package information according to the shipping order data, and generate a serial number code according to the package information; a character unit 8022, which is used to extract the digital characters from the serial number code, and generate a check character according to a preset check code generation rule and the digital characters; an end unit 8023, which is used to generate an end mark character according to the marker; a combination unit 8024, which is used to combine the serial number code, the check character and the end mark character to form the merchant barcode data.
[0093] In this embodiment, the verification module 803 includes: a splitting unit 8031, which is used to obtain the consignment waybill number according to the merchant barcode data, and split the consignment waybill number to obtain a serial field, a check field and a tag field; a scanning unit 8032, which is used to obtain the scanning device type, and check the tag field by scanning the device type to obtain a scanning result; if the scanning device type in the scanning result is inconsistent with the type of the tag field, a first prompt instruction is generated; a digit unit 8033, which is used to determine the number of digits of the serial field according to a preset number of digits to obtain a digit result; if the number of digits of the serial field in the digit result exceeds the preset number of digits, a second prompt instruction is generated; an inverse operation unit 8034, which is used to perform an inverse operation on the check field using a preset inverse operation rule, and compare the operation result with the serial field to obtain an inverse operation result; if the inverse operation result is inconsistent with any character between the serial field, a third prompt instruction is generated; a generation unit 8035, which is used to generate a verification result according to the scanning result, the digit result and the inverse operation result.
[0094] In this embodiment, the character unit 8022 includes: a statistical unit 80221, which is used to count the number of digits in the serial number code and verify the statistical result through a preset calculation number of digits; a matching unit 80222, which is used to retrieve each digital character in the serial number code if the statistical result matches the preset calculation number of digits; and an operation unit 80223, which is used to perform a check bit operation based on each digital character and its corresponding weight number to obtain a check character.
[0095] In this embodiment, the association module 804 includes: a merchant unit 8041, which is used to extract merchant information from the shipping order data, and obtain merchant account data from the account management library based on the merchant information; a link unit 8042, which is used to obtain the account data communication link from the merchant account data; a mapping unit 8043, which is used to establish an association mapping between the verification result and the account data communication link to obtain a data mapping relationship.
[0096] In this embodiment, the mapping unit 8043 includes: a monitoring unit 80431, which is used to set multiple route monitoring links along the route points corresponding to the packages according to the verification results; a display unit 80432, which is used to construct package display information according to the verification results; and an association unit 80433, which is used to establish an association mapping between the package display information and the multiple route monitoring links and the account data communication link to obtain a data mapping relationship.
[0097] above Figure 8 and Fig. 9 The merchant shipment order data association device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The merchant shipment order data association device in the embodiment of the present invention is described in detail from the perspective of hardware processing.
[0098] Fig.101 is a schematic diagram of the structure of a merchant mailing order data association device provided by an embodiment of the present invention. The merchant mailing order data association device 900 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 910 (for example, one or more processors) and a memory 920, and one or more storage media 930 (for example, one or more mass storage devices) storing application programs 933 or data 932. Among them, the memory 920 and the storage medium 930 may be temporary storage or permanent storage. The program stored in the storage medium 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the merchant mailing order data association device 900. Furthermore, the processor 910 may be configured to communicate with the storage medium 930, and execute a series of instruction operations in the storage medium 930 on the merchant mailing order data association device 900 to implement the steps of the merchant mailing order data association method provided by the above-mentioned method embodiments.
[0099] The merchant shipping order data association device 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input and output interfaces 960, and / or one or more operating systems 931, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It can be understood by those skilled in the art that Fig.10 The illustrated merchant shipping order data association device structure does not constitute a limitation on the merchant shipping order data association device, and may include more or less components than illustrated, or a combination of certain components, or a different arrangement of components.
[0100] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the merchant shipping order data association method.
[0101] 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.
[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, 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.
[0103] 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 merchant shipping order data association method, characterized in that: include: Obtaining the shipping order data, and marking the shipping order data by type to obtain a marker; Generate merchant barcode data based on shipping order data and identifiers; Obtain the shipping waybill number according to the merchant's barcode data, and perform number verification on the shipping waybill number to obtain a verification result; The merchant account data is obtained, and an association mapping is constructed between the verification result, the merchant barcode data, and the merchant account data to obtain a data mapping relationship.
2. The merchant shipping order data association method according to claim 1, characterized in that: The obtaining of the shipping order data and marking the shipping order data by type to obtain a marker includes: Obtaining shipping order data, and obtaining package image data according to the shipping order data; Using a preset package type recognition model to perform type recognition on package image data to obtain object subdivision categories; The object subcategories are divided into major categories according to the preset comparison category table to obtain the object marking category; Generates a marker based on the object tag category.
3. The merchant shipping order data association method according to claim 1, characterized in that: The generating of merchant barcode data according to the shipping order data and the identifier includes: Extract package information based on the shipping order data, and generate a serial number code based on the package information; Extract each digit from the serial number code, and generate a check code according to the preset check code generation rules and the digits; Generate a terminal marker character according to the marker; The serial number code, check character and end mark character are combined to form the merchant barcode data.
4. The merchant shipping order data association method according to claim 3, characterized in that: The obtaining of the shipping waybill number according to the merchant barcode data and performing number verification on the shipping waybill number to obtain a verification result includes: Obtain the shipping waybill number according to the merchant barcode data, and split the shipping waybill number to obtain the serial field, the check field and the mark field; Obtaining a scanning device type, and verifying the tag field by the scanning device type to obtain a scanning result; if the scanning device type in the scanning result is inconsistent with the type of the tag field, generating a first prompt instruction; The number of digits of the serial field is determined according to the preset number of digits to obtain a digit result; if the number of digits of the serial field in the digit result exceeds the preset number of digits, a second prompt instruction is generated; Perform an inverse operation on the check field using a preset inverse operation rule, and compare the operation result with the serial field to obtain an inverse operation result; if the inverse operation result is inconsistent with any character in the serial field, generate a third prompt instruction; The verification result is generated according to the scanning result, the digit result and the inverse operation result.
5. The merchant shipping order data association method according to claim 3, characterized in that: The step of extracting each digit from the serial number code and generating a check code according to a preset check code generation rule and the digits includes: Count the number of digits in the serial number code and verify the statistical result by using the preset number of calculated digits; If the statistical result matches the preset number of calculated digits, each numeric character in the serial number code is retrieved; A check digit operation is performed based on each digital character and its corresponding weight digit to obtain a check character.
6. The merchant shipping order data association method according to claim 1, characterized in that: The obtaining of the merchant account data and constructing an association mapping between the verification result, the merchant barcode data and the merchant account data to obtain a data mapping relationship includes: Extract merchant information from the shipping order data, and obtain merchant account data from the account management library based on the merchant information; Obtaining the account data communication link from the merchant account data; An association mapping is established between the verification result and the account data communication link to obtain a data mapping relationship.
7. The merchant shipping order data association method according to claim 1, characterized in that: The establishing of an association mapping between the verification result and the account data communication link to obtain a data mapping relationship includes: According to the verification results, multiple route monitoring links are set along the route points corresponding to the packages; Construct package display information based on the verification results; An association mapping is established between the package display information and the plurality of route monitoring links and the account data communication link to obtain a data mapping relationship.
8. A merchant shipping order data association device, characterized in that: include: A marking module is used to obtain the shipping order data and mark the type of the shipping order data to obtain a marker; The barcode module is used to generate merchant barcode data according to the shipping order data and the identifier; The verification module is used to obtain the shipping number according to the merchant barcode data, and perform number verification on the shipping number to obtain a verification result; The association module is used to obtain the merchant account data and construct an association mapping between the verification result, the merchant barcode data and the merchant account data to obtain a data mapping relationship.
9. A merchant shipping order data association device, characterized in that: The merchant shipping order data association device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors calls the instructions in the memory to enable the merchant shipping order data association device to perform each step of the merchant shipping order data association method 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 merchant shipping order data association method as described in any one of claims 1-7 are implemented.
