A data processing method and device related to express delivery slip
By configuring the three-segment code corresponding to the user's address in the express delivery waybill, the problem that traditional express delivery waybills cannot distinguish the last-mile collection point is solved, enabling couriers to quickly sort and accurately deliver.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI SHENXUE SUPPLY CHAIN MANAGEMENT CO LTD
- Filing Date
- 2022-11-14
- Publication Date
- 2026-07-03
AI Technical Summary
The three-segment code on traditional express delivery waybills cannot distinguish the last-mile collection points, which means that couriers need to sort the packages manually using text addresses, resulting in low sorting efficiency.
Configure three segments corresponding to the user address in the server, including the segment code of the destination distribution center, branch office, branch salesperson, and collection station. The salesperson performs quick sorting and delivery based on the segment code, and verifies the collection station segment code after delivery to prevent errors.
It improved the sorting efficiency of sales staff, ensured the accuracy and efficiency of delivery, and reduced the time and errors of manual sorting.
Smart Images

Figure CN115660788B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of logistics technology, and in particular to a data processing method and apparatus for express delivery waybills. Background Technology
[0002] Online shopping has become an integral part of people's daily lives. The delivery and receipt of goods orders, as a crucial link in logistics, directly impacts delivery efficiency and the recipient's experience. To improve delivery efficiency, three-segment codes are frequently used on express delivery labels. These codes consist of three segments: the first segment identifies the destination distribution center for outbound shipments; the second segment identifies the destination branch office for distribution to subordinate outlets; and the third segment identifies the destination outlet's sales representative for delivery.
[0003] With the rapid development of last-mile parcel collection stations, the proportion of parcels directly delivered to these stations by delivery personnel is showing a gradual upward trend. However, traditional three-segment codes cannot distinguish parcels at these stations, requiring manual sorting based solely on text addresses. This process presents the following drawbacks for delivery personnel: they can only differentiate parcels based on the text addresses on the parcel labels, resulting in low efficiency.
[0004] Therefore, there is an urgent need for a data processing method and device for express delivery waybills that can solve the above problems. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this application provides a data processing method and apparatus for express delivery waybills, which solves the problem that delivery personnel can only distinguish and deliver goods based on the text address on the express delivery waybill, resulting in low sorting efficiency.
[0006] The first aspect of this application provides a data processing method involving express delivery waybills, applied in a server. The method includes: obtaining a shopping order request sent by a client, wherein the shopping order request includes a user address; configuring a destination distribution center, a destination branch office, a destination branch clerk, and a collection point corresponding to the user address; assigning a corresponding destination branch clerk segment code to the destination branch clerk according to a pre-stored correspondence between the destination branch clerk and segment codes; assigning a corresponding collection point segment code to the collection point according to a pre-stored correspondence between the collection point and segment codes; and storing the destination branch clerk segment code and the collection point segment code so that the clerk can deliver the shopping order according to the destination branch clerk segment code and the collection point segment code.
[0007] Using the above technical solution, sales staff can quickly sort packages according to the segment codes corresponding to the collection points, improving sorting efficiency and facilitating subsequent delivery.
[0008] A second aspect of this application provides a data processing apparatus related to express delivery waybills. The apparatus is a server, comprising a receiving unit, a processing unit, and a storage unit. The receiving unit acquires a shopping order request sent by a client, wherein the shopping order request includes a user address. The processing unit configures the user address with a destination distribution center, a destination branch office, a destination branch clerk, and a collection point corresponding to the user address. Based on a pre-stored correspondence between the destination branch clerk and its segment code, the processing unit assigns a corresponding destination branch clerk segment code to the destination branch clerk. Based on a pre-stored correspondence between the collection point and its segment code, the processing unit assigns a corresponding collection point segment code to the collection point. The storage unit stores the destination branch clerk segment code and the collection point segment code, so that the clerk can deliver the shopping order based on the destination branch clerk segment code and the collection point segment code.
[0009] Using the above technical solution, sales staff can quickly sort packages according to the segment codes corresponding to the collection points, improving sorting efficiency and facilitating subsequent delivery.
[0010] Optionally, the processing unit further includes a first storage subunit, which pre-stores the correspondence between the user address and the segment code for the server. The correspondence between the user address and the segment code includes the correspondence between the destination distribution center and the segment code, the correspondence between the destination branch office and the segment code, the correspondence between the target location branch salesperson and the segment code, and the correspondence between the collection station and the segment code.
[0011] By adopting the above technical solution, different segment codes corresponding to different addresses are pre-stored, which facilitates the division of user addresses and matching of corresponding segment codes.
[0012] Optionally, the processing unit further includes a first matching subunit, which assigns a first segment code to the distribution center by the server; assigns a second segment code to the branch office by the server; assigns a third front segment code to the branch office staff by the server; and assigns a third back segment code to the collection station by the server, and combines the first segment code, the second segment code, the third segment code and the third back segment code to form the three-segment code of the user address.
[0013] By adopting the above technical solution, the traditional three-segment code is changed, and the collection points are numbered with segment codes, which makes it easier for sales staff to quickly sort and deliver the goods.
[0014] Optionally, the receiving unit further includes a signing subunit, which receives a signing message sent by the client of the collection point from the server. The signing message indicates that the shopping order has been signed for by the collection point.
[0015] The above technical solution allows users to easily view the current location of their shopping order.
[0016] Optionally, the storage unit further includes a first verification subunit, which is used by the server to obtain the third back segment code of the collection station; obtain the preset collection station corresponding to the shopping order and the fourth back segment code corresponding to the preset collection station, wherein the server pre-stores the preset collection station; compare the fourth back segment code corresponding to the preset collection station with the third back segment code; if the fourth back segment code is the same as the third back segment code, then the shopping order is confirmed to have been delivered correctly.
[0017] Using the above technical solution, the third segment code corresponding to the current shopping order can be compared with the preset fourth segment code. When the segment codes match, it is confirmed that the segment code of the current collection point is consistent with the pre-stored segment code, and the shopping order is delivered correctly.
[0018] Optionally, the storage unit further includes a second verification subunit, wherein the second verification subunit determines whether the number of times the third segment code of the multiple shopping orders signed by the collection station client within a preset time is different from the corresponding fourth segment code is greater than or equal to a preset number; when it is confirmed that the number of times the third segment code of the multiple shopping orders is different from the corresponding fourth segment code is greater than or equal to the preset number, the third segment code corresponding to the collection station is updated to the fourth segment code.
[0019] Using the above technical solution, it is confirmed that the current collection point segment code is inconsistent with the pre-stored segment code. The shopping order currently signed by the collection point client is judged. If the number of times the current collection point segment code is different from the pre-stored segment code is greater than or equal to the preset number, it is confirmed that the current collection point segment code has been changed. The segment code of the current collection point is then changed to facilitate subsequent delivery by the salesperson.
[0020] Optionally, the storage unit further includes a third verification subunit. The third verification subunit sends a prompt message to the salesperson client when the number of times the third end code of the multiple shopping orders is confirmed to be different from the corresponding fourth end code is less than a preset number. The prompt message is used to inform the salesperson that the shopping order was incorrectly signed for at the collection point and needs to be redelivered.
[0021] Using the above technical solution, if the number of times the segment code of the previous collection point is different from the pre-stored segment code is less than the preset number, it is confirmed that the current delivery person made a delivery error. The delivery person is then prompted that the current shopping order collection point is incorrect and the delivery is re-performed.
[0022] Optionally, the storage unit further includes a second storage subunit, wherein the second storage subunit is a different collection point segment code corresponding to different types of collection stations; the types of collection stations include any one of the following: Cainiao Station, express locker.
[0023] By adopting the above technical solution, the types of collection sites are classified, which makes it easier to store the addresses corresponding to different collection sites separately, and facilitates the matching of collection sites with segment codes in the future.
[0024] A third aspect of this application provides an electronic device, which includes a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory, causing an electronic device unit to perform the method described in any one of the first aspects of this application.
[0025] A fourth aspect of this application provides a computer-readable storage medium storing instructions that, when executed, perform the method described in any one of the first aspects of this application.
[0026] Compared with the prior art, the beneficial effects of the present invention are as follows: Based on the pre-stored correspondence between collection stations and segment codes, a three-segment code is configured for each user address; this three-segment code corresponds to the collection station segment code in the delivery area of the courier, facilitating the courier to quickly sort packages according to the segment code corresponding to the collection station, thus improving sorting efficiency; after sorting, packages from the same collection station are uniformly delivered, improving delivery efficiency; after delivery to the collection station, the segment code of the collection station is verified against the pre-stored segment code to prevent delivery errors by the courier; different types of collection stations correspond to different segment codes, facilitating the courier to quickly deliver packages to different collection stations. Attached Figure Description
[0027] Figure 1 This is a flowchart illustrating a data processing method for express delivery waybills provided in an embodiment of this application;
[0028] Figure 2 This is a flowchart illustrating another data processing method for express delivery waybills provided in the embodiments of this application;
[0029] Figure 3 This is a flowchart illustrating another data processing method for express delivery waybills provided in an embodiment of this application;
[0030] Figure 4 This is a flowchart illustrating another data processing method for express delivery waybills provided in an embodiment of this application;
[0031] Figure 5 This is a schematic diagram of the structure of a data processing device related to express delivery waybills provided in an embodiment of this application;
[0032] Figure 6 This application provides a schematic diagram of the structure of an electronic device. Detailed Implementation
[0033] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0034] In the description of the embodiments of this application, words such as "illustrative," "for example," or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "illustrative," "for example," or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Rather, the use of words such as "illustrative," "for example," or "for example" is intended to present the relevant concepts in a specific manner.
[0035] Furthermore, the terms "first," "second," etc., used in this application specification are used to distinguish different objects, rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.
[0036] Before introducing the embodiments of this application, some terms involved in the embodiments of this application will be defined and explained.
[0037] Express delivery waybill: An express delivery waybill is a document used in the express delivery industry to record information such as the sender, recipient, product weight, and price during the delivery of goods. The express delivery industry often uses barcode waybills to ensure continuous data output and facilitate management.
[0038] Delayed queues: The biggest difference between delayed queues and regular queues lies in their delay attribute. Regular queues operate on a first-in, first-out (FIFO) basis, processing elements in the order they are enqueued. However, elements in a delayed queue are enqueued with a specified delay time, indicating that they are expected to be processed after that time. In a sense, the structure of a delayed queue doesn't resemble a queue at all, but rather a time-weighted ordered heap structure.
[0039] In this application, "client" refers to the merchant; "delivery information" refers to the delivery person scanning the goods at the delivery station to enter the delivery process; "signature information" refers to the goods being delivered to the collection point and then being signed for by the collection point after scanning the goods; and "express delivery" refers to the parcel.
[0040] Three-segment codes are frequently used on express delivery waybills. The code consists of three segments: the first segment identifies the destination distribution center (province); the second segment identifies the destination branch office (city); and the third segment identifies the area code of the city's delivery person, facilitating sorting and delivery. Traditional three-segment codes only identify the area code of the city's delivery person. Currently, after a delivery person is assigned to deliver packages to all areas, they need to sort the packages within their assigned area, separating packages from the same delivery point for unified delivery. However, with more and more packages being stored at last-mile collection points, traditional three-segment codes cannot distinguish these points, forcing delivery persons to rely on the text address on the package for sorting and delivery. This manual sorting process is inefficient. To address this issue...
[0041] This application provides a data processing method for express delivery waybills, applied to a server, where the server refers to a platform provided by a logistics company or a third party to the logistics company. Figure 1 This is a flowchart illustrating a data processing method for express delivery waybills provided in an embodiment of this application; see reference. Figure 1 It includes the following steps S101-S105.
[0042] Step S101: Obtain the shopping order request sent by the client, wherein the shopping order request includes the user address.
[0043] Step S102: Assign the user address and configure the destination distribution center, destination branch, destination branch salesperson, and collection point corresponding to the user address.
[0044] In one possible embodiment, the server pre-stores the correspondence between user addresses and segment codes. The correspondence between user addresses and segment codes includes the correspondence between destination distribution centers and segment codes, the correspondence between destination branch offices and segment codes, the correspondence between destination branch office salespersons and segment codes, and the correspondence between collection stations and segment codes.
[0045] In the example above, the server matches the corresponding segment codes for the destination distribution center, destination branch, destination salesperson, and collection station in the user's address. The destination distribution center is the segment code of the province or municipality, and different provinces or municipalities correspond to different segment codes; the destination branch is the salesperson, and different salespersons correspond to different segment codes; the destination salesperson is the package in the area that the salesperson is responsible for, and different salespersons correspond to different segment codes; the collection station is the collection station in the area that the salesperson is responsible for, and different collection stations correspond to different segment codes.
[0046] Step S103: Based on the pre-stored correspondence between target branch salespersons and segment codes, assign the corresponding target branch salesperson segment code to the target branch salesperson.
[0047] Step S104: Assign the corresponding collection point segment code to the collection point according to the pre-stored correspondence between collection points and segment codes.
[0048] Step S105: Store the segment code of the salesperson at the target location and the segment code of the collection station so that the salesperson can deliver the shopping order according to the segment code of the salesperson at the target location and the segment code of the collection station.
[0049] In the above steps, the merchant sends the user's purchase order request to the server. The server configures the corresponding segment codes for the user's address in the shopping order: assigning a first segment code to the destination distribution center; a second segment code to the destination branch office; a third front segment code to the destination branch clerk; and a third back segment code to the collection station. These three segments are combined to form the three-segment code of the user's address. The shopping order is processed according to the configured three-segment code. When the shopping order arrives at the destination branch clerk, the clerk can deliver the order based on the segment code corresponding to the collection station in their assigned area. After the clerk delivers the package to the corresponding collection station, the collection station will sign for the package. The server receives a signature message from the collection station's client, indicating that the package has been signed for. This method facilitates rapid package sorting for clerks, eliminating the need to sort by reading text addresses, reducing the need to memorize numerous delivery area addresses, and allowing other clerks to handle deliveries.
[0050] For example, the three-segment code formed by a user's address is 320 W02 110-19; where the first segment 320 indicates a distribution center; the second segment W02 indicates the destination branch office; the third segment 110 indicates the destination branch's salesperson; and the third segment 19 indicates the collection point segment code within the salesperson's delivery area. The third segment and the third segment are connected by a hyphen. The specific segment codes may vary depending on the actual situation.
[0051] In one possible embodiment, Figure 2 This is a flowchart illustrating another data processing method for express delivery waybills provided in this application embodiment; see reference. Figure 2 It includes the following steps S201-S204.
[0052] Step S201: The server obtains the third back segment code of the collection site.
[0053] Step S202: Obtain the preset collection point corresponding to the shopping order, and the fourth back segment code corresponding to the preset collection point. The server stores the preset collection point in advance.
[0054] Step S203: Compare the fourth back segment code corresponding to the preset collection station with the third back segment code.
[0055] Step S204: If the fourth segment code is the same as the third segment code, then the shopping order has been confirmed to have been delivered correctly.
[0056] In the above steps, when a delivery person delivers a package for a current shopping order, the delivery person places the package at the corresponding collection point. The collection point then scans and signs for the package. The server receives the signature information from the collection point's client, which includes the third segment code of the current collection point. This third segment code is compared with the pre-stored fourth segment code of the preset collection points to see if they match. If they match, it means that the segment code actually used by the current collection point has not changed from the pre-stored segment code of the current collection point, and the current shopping order has been delivered correctly.
[0057] For example, if the current sales representative's segment code is 100, the sales representative receives packages with a third segment code of 100 from the shipping label of the shopping order at the destination branch. These packages are then sorted, with packages having the same third segment code of 25 grouped together for unified delivery. Upon arrival at the collection point, the collection point signs for the packages. The server receives the signature information from the collection point, which includes the current collection point's third segment code being 25. The server compares the obtained third segment code 25 with the pre-stored fourth segment code, which is also 25. This confirms that the current collection point's third segment code matches the pre-stored fourth segment code, indicating that the shopping order was delivered correctly and that the collection point's segment code matches the pre-stored segment code without any changes.
[0058] In one possible embodiment, when configuring the user address for a shopping order request and configuring the segment code of the collection point, the segment code of the current collection point is configured according to the pre-stored correspondence between collection points and segment codes. The configured segment code is then cached in a preset collection point queue. The caching or storage in the preset collection point queue is adjusted based on actual conditions to facilitate subsequent verification of the collection point. The currently configured collection point segment code is consistent with the actual collection point segment code.
[0059] In one possible embodiment, Figure 3 This is a flowchart illustrating another data processing method for express delivery waybills provided in an embodiment of this application; see reference. Figure 3It includes the following steps S301-S303.
[0060] Step S301: When the fourth end segment code is different from the third end segment code.
[0061] Step S302: The server determines whether the number of times the third end segment code and the corresponding fourth end segment code of multiple shopping orders signed by the client of the collection station within a preset time is greater than or equal to a preset number.
[0062] Step S303: When the number of times the third post segment code of multiple shopping orders is confirmed to be different from the corresponding fourth post segment code is greater than or equal to the preset number, the third post segment code corresponding to the collection station is updated to the fourth post segment code.
[0063] In the above steps, when the server receives the delivery confirmation information from the collection point client, which includes the third post-segment code of the current collection point, it compares this third post-segment code with the pre-stored fourth post-segment code of the preset collection point to see if they match. If they do not match, the server determines whether the number of times the third post-segment code and the corresponding fourth post-segment code of multiple shopping orders signed by the collection point client within a preset time is greater than or equal to a preset number. If the number of times the third post-segment code and the corresponding fourth post-segment code of multiple shopping orders are different is greater than or equal to the preset number, it proves that the third post-segment code corresponding to the collection point has been changed, and the third post-segment code of the collection point needs to be updated to the pre-stored fourth post-segment code of the preset collection point. Using the above method, the segment code corresponding to the collection point can be verified, which facilitates subsequent delivery by the delivery personnel.
[0064] For example, the actual delivery information at the current collection point shows the third digit code as 19, but the pre-stored fourth digit code for the current collection point is 20. The preset time is set to one week, and the preset number of deliveries is set to three. Within one week, three of the packages delivered to this collection point by the delivery person show the third digit code as 19 for all shopping orders delivered to this collection point. This is inconsistent with the pre-stored fourth digit code 20 for the current collection point, proving that the third digit code for this collection point has changed. The third digit code 19 for the current collection point should be changed to the fourth digit code 20. The specific preset time and preset number of deliveries are subject to actual conditions.
[0065] Furthermore, as the number of collection points in the current salesperson's area increases, the server expands the third segment code corresponding to the collection point from two digits to three digits or letters. After updating the segment code of the current collection point in the server, the updated segment code is used to configure packages in the salesperson's area. After the salesperson delivers the package to the designated collection point, the server receives a receipt message from the collection point. The actual segment code corresponding to the collection point has not yet been updated. The server checks whether the number of times the third segment code in the receipt message differs from the pre-stored fourth segment code within a preset time is greater than or equal to a preset number. If it exceeds the preset number, the segment code of the current collection point is updated.
[0066] In one possible embodiment, Figure 4 This is a flowchart illustrating another data processing method for express delivery waybills provided in an embodiment of this application; see reference. Figure 4 It includes the following steps S401-S402.
[0067] Step S401: When the number of times the third end code of multiple shopping orders is confirmed to be different from the corresponding fourth end code is less than the preset number.
[0068] Step S402: The server sends a notification message to the salesperson's client. The notification message is used to inform the salesperson that the shopping order was incorrectly signed for at the collection point and needs to be redelivered.
[0069] In the above steps, the server determines whether the number of times the third digit code and the corresponding fourth digit code are different from each other in multiple shopping orders signed by the collection station client within a preset time is less than a preset number. If it is confirmed that the number of times the third digit code and the corresponding fourth digit code in the shopping order are different from each other is less than the preset number, the server sends a prompt message to the salesperson client to remind the salesperson that the package in the shopping order being delivered was delivered to the wrong collection station and needs to be redone.
[0070] For example, the third segment code of the actual delivery information at this collection point is 18, but the fourth segment code of the current collection point, which is stored in advance, is 19. The preset time is one week, and the preset number of times is three. Within one week, if one of the shopping order packages delivered by the current courier is delivered to this collection point, and the third and fourth segment codes are different, the server will send a notification message to the courier's client, indicating that the package was not delivered to the correct collection point and needs to be re-delivered. The specific preset time and preset number of times will depend on the actual situation.
[0071] In one possible embodiment, each salesperson's delivery area corresponds to a different three-segment code, and each salesperson can have multiple three-segment codes. The collection station is bound to the segment code, and the binding is stored in the server. Different types of collection station addresses are stored in different address stacks, and corresponding segment codes are assigned to them; this facilitates the subsequent maintenance of the association between the three-segment codes and the address stacks.
[0072] In one possible implementation, different types of collection points correspond to different collection point segment codes. Within the current delivery area, the collection point types include Cainiao Stations and express lockers. These two types of collection points are named with different segment codes. The actual collection point types are not listed exhaustively. For example, if the current delivery person's segment code is 100, the collection point segment code is added to the delivery person's segment code. For instance, the segment code for a Cainiao Station is named 100-01; the segment code for an express locker is named 100-02. The server stores different types of collection points separately to facilitate subsequent queries or additions of information about different collection points. The actual naming rules are based on the specific circumstances.
[0073] In one possible implementation, after the delivery person delivers the package of a shopping order to the current collection point, it checks whether the collection point has signed for it. If confirmed, the address of the collection point is verified, specifically the address ID. If the collection point is verified as legitimate, it signs for the package and checks if a three-segment code is configured. If so, the signature information returns the configured third segment code of the collection point. After confirming that the user has signed for the package, the delivery person delivers the package to the user's address. If the collection point does not have a configured collection point segment code, the order can be delivered using the existing method.
[0074] In one possible implementation, when a user purchases a valuable item, and the user's address is at a collection point, a delivery person delivers the item to the user based on their needs. During delivery, the delivery person's parameters are verified to determine if the package is configured with a three-segment code. If a three-segment code is configured, the code configured at the current collection point is returned. If the collection point is not configured, the delivery person's code is returned. Returning the delivery person's code indicates that traditional delivery methods are used, with sorting via text addresses followed by unified delivery via text addresses.
[0075] In one possible embodiment, after configuring a three-segment code for the address of the current salesperson's regional collection point, when consumers in the current salesperson's region use this address to make purchases, they can use the three-segment code configured for this address for processing, making it easier for the salesperson's sorting machine to deliver the goods to the collection point.
[0076] In one possible implementation, when a salesperson sorts and delivers packages for a shopping order, they scan the packages and cache the delivery information in a delivery trajectory delay queue, without immediately uploading it to the server. After the salesperson delivers the packages for the current shopping order to the collection point, the collection point scans the packages for the shopping order to confirm receipt and uploads the receipt information to the server. This upload of receipt information to the server triggers the upload of delivery information from the delivery trajectory delay queue, and the delivery information is then uploaded to the server. The server then pushes the signed-for shopping order information from the collection point to the user for their viewing.
[0077] In this specification, the server can be deployed in a distributed microservice manner, where each server can handle business independently. The server supports horizontal scaling, and when there is a large amount of business, multiple servers can be used to process the data and work together to complete the task.
[0078] In the above method, a three-segment code is configured for each user address based on the pre-stored correspondence between collection stations and segment codes. This three-segment code corresponds to the collection station segment code in the delivery area of the courier, allowing the courier to quickly sort packages according to the segment code corresponding to the collection station, thus improving sorting efficiency. After sorting, packages from the same collection station are delivered uniformly, improving delivery efficiency. After delivery to the collection station, the segment code of the collection station is verified against the pre-stored segment code to prevent delivery errors by the courier. Different types of collection stations correspond to different segment codes, making it easy for the courier to quickly deliver packages to different collection stations.
[0079] This application also provides a data processing device related to express delivery waybills. Figure 5 This is a schematic flowchart of a data processing device for express delivery waybills provided in an embodiment of this application; see reference. Figure 5 The server includes a receiving unit 501, a processing unit 502, and a storage unit 503.
[0080] The receiving unit 501 obtains the shopping order request sent by the client, wherein the shopping order request includes the user address.
[0081] Processing unit 502 assigns a user address and configures the destination distribution center, destination branch office, destination branch salesperson, and collection point corresponding to the user address; according to the pre-stored correspondence between the destination branch salesperson and the segment code, it assigns the corresponding destination branch salesperson segment code to the destination branch salesperson; and according to the pre-stored correspondence between the collection point and the segment code, it assigns the corresponding collection point segment code to the collection point.
[0082] Storage unit 503 stores the segment code of the salesperson at the target location and the segment code of the collection station, so that the salesperson can deliver the shopping order according to the segment code of the salesperson at the target location and the segment code of the collection station.
[0083] In one possible embodiment, the processing unit 502 further includes a first storage subunit, which pre-stores the correspondence between user addresses and segment codes for the server. The correspondence between user addresses and segment codes includes the correspondence between destination distribution centers and segment codes, the correspondence between destination branch offices and segment codes, the correspondence between destination branch office salespersons and segment codes, and the correspondence between collection stations and segment codes.
[0084] In one possible embodiment, the processing unit 502 further includes a first matching subunit, which assigns a first segment code to the distribution center, a second segment code to the branch office, a third front segment code to the branch office clerk, and a third back segment code to the collection station, and combines the first segment code, the second segment code, the third segment code and the third back segment code into a three-segment code for the user address.
[0085] In one possible embodiment, the receiving unit 501 further includes a signing subunit, which receives a signing message sent by the collection point client to the server, the signing message indicating that the shopping order has been signed for by the collection point.
[0086] In one possible embodiment, the storage unit 503 further includes a first verification subunit. The first verification subunit is responsible for: obtaining the third back segment code of the collection station; obtaining the preset collection station corresponding to the shopping order and the fourth back segment code corresponding to the preset collection station; pre-storing the preset collection station; comparing the fourth back segment code corresponding to the preset collection station with the third back segment code; and confirming that the shopping order has been delivered correctly if the fourth back segment code is the same as the third back segment code.
[0087] In one possible embodiment, the storage unit 503 further includes a second verification subunit. The second verification subunit determines whether the number of times the third segment code of multiple shopping orders signed by the client of the collection station differs from the corresponding fourth segment code is greater than or equal to a preset number when the fourth segment code of multiple shopping orders is different from the corresponding fourth segment code within a preset time. When it is confirmed that the number of times the third segment code of multiple shopping orders differs from the corresponding fourth segment code is greater than or equal to the preset number, the third segment code corresponding to the collection station is updated to the fourth segment code.
[0088] In one possible embodiment, the storage unit 503 further includes a third verification subunit. The third verification subunit sends a prompt message to the salesperson client when the number of times the third end segment code of multiple shopping orders is confirmed to be different from the corresponding fourth end segment code is less than a preset number. The prompt message is used to remind the salesperson that the shopping order was incorrectly signed for at the collection point and needs to be redelivered.
[0089] In one possible embodiment, the storage unit 503 further includes a second storage subunit, which provides different collection point segment codes for different types of collection points; the types of collection points include any of the following: Cainiao Station, express locker.
[0090] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0091] Please see Figure 6 , Figure 6 This application provides a schematic diagram of the structure of an electronic device. For example... Figure 6 As shown, the electronic device 600 may include: at least one processor 601, at least one network interface 604, a user interface 603, a memory 605, and at least one communication bus 602.
[0092] The communication bus 602 is used to enable communication between these components.
[0093] The user interface 603 may include a display screen and a camera. Optionally, the user interface 603 may also include a standard wired interface and a wireless interface.
[0094] The network interface 604 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0095] The processor 601 may include one or more processing cores. The processor 601 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 605, and by calling data stored in memory 605. Optionally, the processor 601 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 601 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and application requests; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 601.
[0096] The memory 605 may include random access memory (RAM) or read-only memory. Optionally, the memory 605 may include a non-transitory computer-readable storage medium. The memory 605 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 605 may also be at least one storage device located remotely from the aforementioned processor 601.
[0097] like Figure 6 As shown, the memory 605, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and application requests related to data processing of express delivery waybills.
[0098] exist Figure 6In the electronic device 600 shown, the user interface 603 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 601 can be used to call the application requests related to the data processing of express waybills stored in the memory 605. When executed by one or more processors, the electronic device performs one or more of the methods described in the above embodiments.
[0099] An electronic device readable storage medium stores instructions that, when executed by one or more processors, cause the electronic device to perform one or more of the methods described in the above embodiments.
[0100] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0101] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0102] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some service interfaces; indirect couplings or communication connections between devices or units may be electrical or other forms.
[0103] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0104] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0105] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0106] The above description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of other embodiments of this disclosure upon considering the specification and the disclosure of practical truths. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure.
Claims
1. A data processing method relating to a courier sheet, characterized in that, When applied to a server, the method includes: Obtain the shopping order request sent by the client, wherein the shopping order request includes the user address; For the user address, configure the corresponding destination distribution center, destination branch office, target location salesperson, and collection station. The server pre-stores the correspondence between the user address and segment codes. Specifically, the correspondence between the user address and segment codes is as follows: the server assigns a first segment code to the distribution center; the server assigns a second segment code to the branch office; the server assigns a third front segment code to the salesperson at the branch office; and the server assigns a third back segment code to the collection station. The first segment code, the second segment code, the third front segment code, and the third back segment code are combined to form the three-segment code of the user address. The third front segment code represents the segment code of the salesperson at the target location, and the third back segment code represents the segment code of the collection station in the salesperson's delivery area. Based on the pre-stored correspondence between the target location branch salesperson and the segment code, assign the corresponding target location branch salesperson segment code to the target location branch salesperson; Based on the pre-stored correspondence between the collection stations and segment codes, the collection stations are assigned corresponding collection station segment codes. The method further includes storing the segment code of the target location branch clerk and the segment code of the collection station, so that the clerk can deliver the shopping order according to the segment code of the target location branch clerk and the segment code of the collection station; the method further includes: the server receiving a receipt message sent by the collection station client, the receipt message indicating that the shopping order has been signed for by the collection station; the method further includes: the server obtaining the third segment code of the collection station; obtaining a preset collection station corresponding to the shopping order and a fourth segment code corresponding to the preset collection station, the server pre-storing the preset collection station; and comparing the fourth segment code corresponding to the preset collection station with the third segment code; If the fourth post-segment code is the same as the third post-segment code, then the shopping order is confirmed to have been delivered correctly. The method further includes: when the fourth post-segment code is different from the third post-segment code; the server determines whether the number of times the third post-segment code of the multiple shopping orders signed by the client of the collection station is different from the corresponding fourth post-segment code is greater than or equal to a preset number among the multiple shopping orders signed by the client within a preset time; when it is confirmed that the number of times the third post-segment code of the multiple shopping orders is different from the corresponding fourth post-segment code is greater than or equal to the preset number, the third post-segment code corresponding to the collection station is updated to the fourth post-segment code.
2. The method according to claim 1, characterized in that, The method further includes: the server pre-stores the correspondence between the user address and the segment code, the correspondence between the user address and the segment code includes the correspondence between the destination distribution center and the segment code, the correspondence between the destination branch office and the segment code, the correspondence between the target location branch salesperson and the segment code, and the correspondence between the collection station and the segment code.
3. The method according to claim 1, characterized in that, The method further includes: when the number of times the third end code of the multiple shopping orders is confirmed to be different from the corresponding fourth end code is less than a preset number, the server sends a prompt message to the salesperson client. The prompt message is used to remind the salesperson that the shopping order was incorrectly signed for at the collection point and needs to be redelivered.
4. The method according to claim 1, characterized in that, The method further includes: different types of collection sites correspond to different collection site segment codes; The types of collection points include any of the following: Cainiao Station and express locker.
5. A data processing device involving express delivery waybills, characterized in that, The device is a server, which includes a receiving unit, a processing unit, and a storage unit; The receiving unit acquires a shopping order request sent by the client, wherein the shopping order request includes the user address; The processing unit assigns a destination distribution center, destination branch office, target location salesperson, and collection station corresponding to the user address. The server pre-stores the correspondence between the user address and segment codes. Specifically, the server assigns a first segment code to the distribution center; a second segment code to the branch office; a third front segment code to the salesperson; and a third back segment code to the collection station. The first, second, third front, and third back segments are combined to form the three-segment code of the user address. The third front segment code represents the segment code of the target location salesperson, and the third back segment code represents the segment code of the collection station in the salesperson's delivery area. Based on the pre-stored correspondence between the target location salesperson and segment codes, the processing unit assigns a corresponding target location salesperson segment code to the target location salesperson. Based on the pre-stored correspondence between the collection station and segment codes, the processing unit assigns a corresponding collection station segment code to the collection station. The storage unit stores the segment code of the target location branch clerk and the segment code of the collection station, so that the clerk can deliver the shopping order according to the segment code of the target location branch clerk and the segment code of the collection station; it also includes: the server receiving a receipt message sent by the collection station client, the receipt message indicating that the shopping order has been signed for by the collection station; it further includes: the server obtaining the third segment code of the collection station; obtaining a preset collection station corresponding to the shopping order and a fourth segment code corresponding to the preset collection station, the server pre-storing the preset collection station; and comparing the fourth segment code corresponding to the preset collection station with the third segment code; If the fourth post-segment code is the same as the third post-segment code, then the shopping order is confirmed to have been delivered correctly; the method also includes: when the fourth post-segment code is different from the third post-segment code; the server determines whether the number of times the third post-segment code of the multiple shopping orders signed by the client of the collection station within a preset time is different from the corresponding fourth post-segment code is greater than or equal to a preset number; when it is confirmed that the number of times the third post-segment code of the multiple shopping orders is different from the corresponding fourth post-segment code is greater than or equal to the preset number, the third post-segment code corresponding to the collection station is updated to the fourth post-segment code.
6. An electronic device, characterized in that, The device includes a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to cause the electronic device to perform the method as described in any one of claims 1-4.