Parcel delivery method, device, equipment and medium
By verifying the personnel checksum number of the entire package receipt request and generating a delivery list, the inefficiency and error problems caused by scanning logistics delivery one by one in the existing technology are solved, and efficient package delivery and user experience improvement are achieved.
Patent Information
- Application Number
- CN202510337446.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, logistics delivery requires scanning each express delivery one by one, resulting in heavy workloads, low delivery efficiency and poor user experience for couriers.
By receiving the entire package of receipt request, perform personnel verification, obtain the parcel number and perform number verification, determine the parcel waybill number, generate a delivery list and send it to the delivery party to perform the delivery operation.
It improves the efficiency and user experience of package delivery, ensures the accuracy of delivery location and information accuracy, and reduces delivery errors.
Smart Images

Figure CN120297850A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of logistics delivery, and in particular, to a package delivery method, device, equipment and medium. Background Art
[0002] With the continuous improvement of people's living standards, online shopping has become an important part of people's daily lives. As an important part of online shopping, express delivery plays an increasingly important role in people's daily lives.
[0003] In the prior art, when people conduct online shopping or mailing, they often send couriers to deliver express packages through express companies. In order to reduce the workload of couriers, couriers sometimes deliver express packages by sending them into express cabinets or cooperation points. However, this method requires couriers to scan and enter each package one by one, reducing the delivery efficiency, resulting in the recipient not being able to receive the express package in time, and affecting the user experience. Summary of the Invention
[0004] Embodiments of the present invention provide a package delivery method, device, equipment and medium to solve the problems in the prior art that in the logistics delivery industry, each express package needs to be scanned one by one, which requires high manual experience, resulting in easy occurrence of delivery errors and low delivery efficiency.
[0005] A package delivery method includes: After receiving a whole-package receiving request, perform personnel verification on the whole-package receiving request to obtain an information verification result; When the information verification result indicates that the personnel verification is passed, obtain the package number corresponding to the whole-package, and perform number verification on the package number to obtain a number verification result; When the number verification result indicates that the package number is correct, determine the package waybills of all single-piece packages in the whole-package according to the package number; Detect whether the single-piece packages are allowed to be delivered according to all the package waybills, and when delivery is allowed, determine a delivery list; Send the delivery list to the delivery party, so that the delivery party performs package delivery operations according to the delivery list.
[0006] A package delivery device includes: A personnel verification module, configured to perform personnel verification on the whole-package receiving request after receiving the whole-package receiving request to obtain an information verification result; A number verification module, configured to obtain the package number corresponding to the whole-package and perform number verification on the package number to obtain a number verification result when the information verification result indicates that the personnel verification is passed; The waybill determination module is used to determine the waybill numbers of all single-piece packages in the whole package according to the package number when the package number verification result indicates that the package number is correct. The package determination module is used to detect whether each single-piece package is allowed to be dispatched according to all the waybill numbers, and determine the dispatch list when dispatch is allowed. The package dispatch module is used to send the dispatch list to the dispatcher, so that the dispatcher performs the package dispatch operation according to the dispatch list.
[0007] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor is used to execute the above-mentioned package dispatch method.
[0008] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned package dispatch method is implemented.
[0009] For the above-mentioned package dispatch method, device, equipment and medium, the package dispatch method of the present invention realizes the verification of the recipient's identity by verifying the personnel for the whole-package receipt request, ensuring the accuracy of the delivery location. By verifying the package number corresponding to the whole package, the verification of the package number is realized, ensuring the accuracy of the dispatch information, and further realizing the acquisition of all waybill numbers. By detecting whether a single-piece package is allowed to be dispatched through the waybill number, the screening of packages allowed to be dispatched is realized, thereby realizing the determination of the dispatch list and the dispatch of single-piece packages, and further improving the efficiency of package dispatch and the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required to be used in the description of the embodiments of the present invention. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0011] Figure 1 is a flowchart of the package dispatch method in an embodiment of the present invention; Figure 2 is a flowchart of step S10 of the package dispatch method in an embodiment of the present invention; Figure 3 is a flowchart of step S20 of the package dispatch method in another embodiment of the present invention; Figure 4 is a flowchart of step S20 of the package dispatch method in yet another embodiment of the present invention; Figure 5It is a flowchart of step S40 of the package delivery method in an embodiment of the present invention; Figure 6 It is a flowchart of step S405 of the package delivery method in an embodiment of the present invention; Figure 7 It is a flowchart of the package delivery method in another embodiment of the present invention; Figure 8 It is a principle block diagram of the package delivery device in an embodiment of the present invention. Detailed implementation manners
[0012] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0013] In one embodiment, as Figure 1 shown, a package delivery method is provided, including the following steps: S10: After receiving the whole-package receiving request, perform personnel verification on the whole-package receiving request to obtain an information verification result.
[0014] Understandably, the whole-package receiving request is triggered by clicking the whole-package receiving button in the cooperation point system. The information verification result is used to represent whether the personnel verification is passed.
[0015] Specifically, after receiving the whole-package receiving request triggered by the whole-package receiving button, obtain the identity information corresponding to the whole-package receiving request, and perform personnel verification on the identity information, that is, detect whether the identity information meets the preset information. When the identity information corresponding to the whole-package receiving request meets the preset information, an information verification result indicating that the personnel verification is passed is obtained. When the identity information corresponding to the whole-package receiving request does not meet the preset information, an information verification result indicating that the personnel verification fails is obtained.
[0016] S20: When the information verification result indicates that the personnel verification is passed, obtain the package number corresponding to the whole package, and perform number verification on the package number to obtain a number verification result.
[0017] Understandably, the number verification result is used to represent whether the package number is correct. The package number is used to represent the identifier of the whole package. The whole package refers to a large package containing multiple (two or more) single packages.
[0018] Specifically, when the information verification result indicates that the personnel verification is passed, obtain the package number corresponding to the whole package obtained by scanning or the package number corresponding to the whole package entered manually. Then, perform number verification on the package number, that is, compare the package number with a preset number, that is, detect whether the package number is the same as the preset number. If the two numbers are not exactly the same, that is, the package number is different from the preset number, it is confirmed that the package number is incorrect, and thus a number verification result indicating that the package number is incorrect is obtained. If the two numbers are exactly the same, that is, the package number is the same as the preset number, it is confirmed that the package number is correct, and thus a number verification result indicating that the package number is correct is obtained. When the information verification result indicates that the personnel verification is not passed, prompt the personnel that the information is incorrect and ask them to re-enter.
[0019] S30: When the number verification result indicates that the package number is correct, determine the package waybill numbers of all single-piece packages in the whole package according to the package number.
[0020] S40: Detect whether the single-piece packages are allowed to be dispatched according to all the package waybill numbers, and when they are allowed to be dispatched, determine the dispatch list.
[0021] Understandably, the package waybill number is used to represent the waybill number of each single-piece package. The waybill number refers to the unique identifier assigned to each consignment of goods by the express company or logistics enterprise during the goods transportation process. In one embodiment, in order to facilitate the identification of each package, a new identifier can be added to distinguish different packages, that is, re-number all single-piece packages. The dispatch list refers to a form of the dispatch waybill numbers and dispatch quantities of all single-piece packages allowed to be dispatched. The dispatch waybill number refers to the package waybill number of the single-piece package allowed to be dispatched. The dispatch quantity refers to the total number of all single-piece packages allowed to be dispatched.
[0022] Specifically, when the package number verification result indicates that the package number is correct, based on the package number, determine the package waybills of all single packages in the whole package, that is, query all single packages in the whole package according to the package number, and obtain the package waybill corresponding to each single package. Further, detect whether a single package is allowed to be dispatched based on all package waybills, that is, obtain a preset verification rule, perform rule verification on the package waybill of each single package through the preset verification rule, and when the package waybill of a single package fails to pass the preset verification rule, confirm that the single package is not allowed to be dispatched. When the package waybill of a single package passes the preset verification rule, confirm that the single package is allowed to be dispatched. Then, feedback the package waybills of the single packages that are not allowed to be dispatched and the package waybills of the single packages that are allowed to be dispatched among all single packages to the dispatching party, receive the return instruction triggered by the dispatching party for the single packages that are not allowed to be dispatched, delete the package waybills of the single packages that are not allowed to be dispatched, count the package waybills and the number of packages of the single packages that are allowed to be dispatched, and determine the package waybills and the number of packages of the single packages that are allowed to be dispatched as the dispatching waybills and the dispatching quantity, and construct a dispatching list based on all dispatching waybills and the dispatching quantity.
[0023] S50: Send the dispatching list to the dispatching party, so that the dispatching party performs the package dispatching operation according to the dispatching list.
[0024] Understandably, the dispatching party refers to the management personnel or the courier at the cooperation point.
[0025] Specifically, sending the dispatching list to the dispatching party means displaying the dispatching waybills and the dispatching quantity in the dispatching list to the dispatching party, so that the dispatching party performs the package dispatching operation according to the dispatching waybills and the dispatching quantity in the dispatching list, that is, enabling the dispatching party to store each single package in the grid of the cooperation point or the grid of the smart cabinet according to the dispatching waybills and the dispatching quantity in the dispatching list.
[0026] In the package dispatching method of the present invention, by performing personnel verification on the whole package receiving request, the verification of the recipient's identity is realized, and the accuracy of the dispatching location is ensured. By performing number verification on the package number corresponding to the whole package, the verification of the package number is realized, the accuracy of the dispatching information is ensured, and further the acquisition of all package waybills is realized. By detecting whether a single package is allowed to be dispatched through the package waybill, the screening of the packages allowed to be dispatched is realized, thereby the determination of the dispatching list is realized, the dispatching of the single packages is realized, and further the efficiency of package dispatching is improved and the user experience is improved.
[0027] In an embodiment, as Figure 2 shown, in step S10, the personnel verification of the whole package receiving request to obtain an information verification result includes: S101. Obtain the identity information corresponding to the whole-package receiving request, and verify the identity information and the preset information.
[0028] S102. If the identity information conforms to the preset information, obtain an information verification result indicating successful personnel verification.
[0029] S103. If the identity information does not conform to the preset information, obtain an information verification result indicating failed personnel verification.
[0030] Understandably, the identity information refers to the identity information of the recipient, such as the ID number or the work number, etc. The preset information refers to the recipient information set in advance.
[0031] Specifically, after receiving the whole-package receiving request, obtain the identity information corresponding to the whole-package receiving request. This identity information can be obtained by scanning or manually input. Then, obtain the preset information, and verify the identity information and the preset information, that is, compare the identity information and the preset information. If the identity information does not conform to the preset information, obtain an information verification result indicating failed personnel verification. If the identity information conforms to the preset information, obtain an information verification result indicating successful personnel verification.
[0032] In this embodiment, through the comparison of the identity information and the preset information, the verification of the recipient's identity is realized, the acquisition of the information verification result is realized, thereby ensuring the accuracy of parcel delivery and avoiding the loss of parcels.
[0033] In one embodiment, as Figure 3 shown, after step S20, after performing number verification on the parcel number and obtaining a number verification result, the following steps are further included: S201. Obtain a preset quantity threshold, and compare the quantity of single parcels in the whole-package parcel with the preset quantity threshold.
[0034] S202. If the parcel number is greater than or equal to the preset quantity threshold, do not allow confirmation of whole-package receiving.
[0035] S203. If the parcel number is less than the preset quantity threshold, allow confirmation of whole-package receiving.
[0036] Understandably, the preset quantity threshold refers to the maximum quantity of parcels in the whole-package parcel set in advance, such as 30 pieces, etc. This threshold can be set according to the actual situation. The parcel quantity refers to the quantity of single parcels in the whole-package parcel, such as 23 pieces.
[0037] Specifically, after verifying the package number to obtain a number verification result, a preset quantity threshold is obtained. Then, according to the package number corresponding to the whole package, the number of packages corresponding to all single-piece packages in the whole package is obtained, and the package quantity is compared with the preset quantity threshold. If the package number is greater than or equal to the preset quantity threshold, confirmation of receiving the whole package is not allowed, and it is prompted that the package quantity exceeds the preset quantity threshold and receiving the whole package is not allowed. If the package number is less than the preset quantity threshold, confirmation of receiving the whole package is allowed. In one embodiment, if the waybill number is not obtained, it is determined that there are no single-piece packages to be delivered in the whole package, and it is prompted that the whole package has no waybill number.
[0038] In this embodiment, through the preset quantity threshold and the package quantity, the detection of the package quantity is realized, thereby realizing the judgment of whether to allow receiving the whole package, and further improving the efficiency of subsequent package delivery.
[0039] In one embodiment, as Figure 4 shown, after step S20, after verifying the package number to obtain a number verification result, the following steps are further included: S204, obtain the remaining compartment quantity, and compare the remaining compartment quantity with the number of packages of single-piece packages in the whole package.
[0040] S205, if the package quantity is greater than or equal to the remaining compartment quantity, confirmation of receiving the whole package is not allowed, and it is prompted that the remaining compartment quantity is insufficient.
[0041] S206, if the package quantity is less than the remaining compartment quantity, confirmation of receiving the whole package is allowed.
[0042] Understandably, the remaining compartment quantity refers to the quantity of remaining compartments at the cooperation point (such as a convenience store, etc.), for example, 28.
[0043] Specifically, after verifying the package number to obtain a number verification result, the remaining compartment quantity is obtained. Then, according to the package number corresponding to the whole package, the number of packages corresponding to all single-piece packages in the whole package is obtained, and the package quantity is compared with the remaining compartment quantity. If the package quantity is greater than or equal to the remaining compartment quantity, confirmation of receiving the whole package is not allowed, and it is prompted that the remaining compartment quantity is insufficient and the remaining compartment quantity is displayed. If the package quantity is less than the remaining compartment quantity, confirmation of receiving the whole package is allowed. In one embodiment, if the waybill number is not obtained, it is determined that there are no single-piece packages to be delivered in the whole package, and it is prompted that the whole package has no waybill number.
[0044] Understandably, in one embodiment, the verification process for a whole package can be to verify the package number of the whole package and then compare it with a preset quantity threshold and the number of packages; it can also be to verify the package number of the whole package and then compare it with the remaining number of compartments and the number of packages; it can also be to verify the package number of the whole package, then compare it with a preset quantity threshold and the number of packages, and then compare it with the remaining number of compartments and the number of packages. The specific verification process can be set according to the actual situation. The above examples are only for illustration and do not represent a limitation.
[0045] In this embodiment, by comparing the remaining number of compartments with the number of packages, the detection of the number of packages is realized, thereby realizing the judgment of whether to allow the receipt of the whole package, and further improving the efficiency of subsequent package delivery.
[0046] In one embodiment, as Figure 5 shown, in step S40, the detecting whether a single package is allowed to be delivered according to all the package waybills includes: S401, obtaining a preset verification rule, where the preset verification rule includes an interface verification rule and a target verification rule.
[0047] S402, performing an interface verification rule on all the package waybills through the interface verification rule in the preset verification rule to obtain an interface verification result.
[0048] S403, performing an information verification on all the package waybills through the target verification rule in the preset verification rule to obtain a package verification result.
[0049] S404, if the interface verification result and the package verification result of all the single packages both indicate that the verification passes, it is determined that all deliveries are allowed.
[0050] S405, if the interface verification result and the package verification result of at least one single package both indicate that the verification passes, it is determined that partial deliveries are allowed.
[0051] S406, if the interface verification result and the package verification result of all the single packages both indicate that the verification fails, it is determined that deliveries are not allowed.
[0052] Understandably, the preset verification rule refers to a rule preset for detecting whether the receipt of the whole package is allowed. The preset verification rule includes an interface verification rule and a target verification rule. The interface verification rule is used to verify the rule for whether the waybill information is obtained at the interface. The target verification rule is a rule for verifying the status of a single package. The package verification result is used to indicate whether a single package passes the target verification rule. The interface verification result is used to indicate whether a single package passes the interface verification rule.
[0053] Specifically, after obtaining the package waybill number, obtain the preset verification rules, and perform rule verification on all package waybill numbers through the interface verification rules in the preset verification rules, that is, detect whether the waybill information corresponding to each package waybill number can be obtained through the interface verification rules. If the waybill information corresponding to each package waybill number can be obtained, it is determined that the single-piece package corresponding to the package waybill number passes the verification of the interface verification rules. If the waybill information corresponding to each package waybill number cannot be obtained, it is determined that the single-piece package corresponding to the package waybill number fails the verification of the interface verification rules. Similarly, perform information verification on all package waybill numbers through the target verification rules in the preset verification rules, that is, detect whether the status of the single-piece package conforms to the target verification rules through the target verification rules. If the status of the single-piece package conforms to the target verification rules, it is determined that the single-piece package passes the verification of the target verification rules. If the status of the single-piece package does not conform to the target verification rules, it is determined that the single-piece package fails the verification of the target verification rules. Further, if the interface verification results and package verification results of all single-piece packages in the whole package both indicate that the single-piece packages pass the rule verification, it is determined that all deliveries are allowed. If the interface verification results and package verification results of at least one single-piece package in the whole package indicate that the single-piece packages pass the rule verification, it is determined that partial deliveries are allowed. If the interface verification results and package verification results of all single-piece packages in the whole package both indicate that the single-piece packages fail the rule verification, it is determined that deliveries are not allowed. Among them, when partial deliveries are allowed, there is at least one single-piece package in the whole package whose interface verification result or package verification result indicates that the single-piece package fails the rule verification.
[0054] In this embodiment, through the interface verification rules and the target verification rules, double verification of single-piece packages is realized, the acquisition of interface verification results and package verification results is realized, thereby realizing the judgment of whether single-piece packages are allowed to be delivered, and further improving the efficiency of package delivery.
[0055] In one embodiment, as Figure 6 shown, in step S405, the step of determining that partial deliveries are allowed if the interface verification results and the package verification results of at least one of the single-piece packages both indicate verification passing includes: S4051, when the interface verification results and the package verification results of at least one of the single-piece packages both indicate verification passing, determine the package information of the single-piece package that fails the verification.
[0056] S4052, according to the package information of the single-piece package that fails the verification, perform a package return operation to confirm that partial deliveries are allowed.
[0057] It can be understood that the package information refers to the package waybill number corresponding to the single-piece package that fails the rule verification.
[0058] Specifically, when the interface verification result and the package verification result of at least one single-piece package both indicate that the single-piece package passes the rule verification, or when the interface verification result or the package verification result of at least one single-piece package in the whole package indicates that the single-piece package fails the rule verification, the package information of the single-piece packages that fail the rule verification is screened out from all single-piece packages, and the package information of the single-piece packages that pass the rule verification is screened out from all single-piece packages. Then, according to the package information of the single-piece packages that fail the rule verification, a package return operation is performed, that is, the package information of the single-piece packages that fail the rule verification is fed back to the dispatching party, and a return instruction triggered by the dispatching party is received to perform the package return operation on each single-piece package that fails the rule verification.
[0059] In this embodiment, according to the interface verification result and the package verification result that fail the rule verification, the determination of the package information of the single-piece packages that fail the rule verification is realized, thereby realizing the return of the single-piece packages that fail the rule verification and the determination of the package information of the single-piece packages that pass the rule verification, and further improving the package delivery efficiency.
[0060] In one embodiment, as Figure 7 shown, after step S50, after sending the delivery list to the dispatching party so that the dispatching party performs the package delivery operation according to the delivery list, the following steps are further included: S601, obtain the delivery address and delivery time of the single-piece package, and determine the information prompt rule according to the delivery address.
[0061] S602, send the package detention information according to the information prompt rule and the delivery time.
[0062] It can be understood that the delivery address refers to the delivery location of the single-piece package, and the delivery time refers to the time of delivery to the cooperation point or the cabinet. The information prompt rule refers to the detention prompt rule, and can also include the template for prompting the detention information and the detention time threshold, where different regions correspond to different rules. The package detention information includes information such as the package detention location, the package detention time, and the package detention charging standard.
[0063] Specifically, after determining that the whole package has been successfully received, obtain the delivery address and delivery time of each single package. Then, determine the information prompt rule according to the delivery address, that is, query the corresponding information prompt rule through the delivery address. For example, if the delivery address is the smart cabinet in Kowloon, Hong Kong, obtain the information prompt rule of the smart cabinet in Kowloon, Hong Kong. If the delivery address is the cooperation point in the New Territories, Hong Kong, obtain the information prompt rule of the cooperation point in the New Territories, Hong Kong. Next, according to the information prompt rule and the delivery time, send the package detention information, that is, obtain the current time, calculate the package detention time based on the current time and the delivery time, obtain the detention time threshold in the information prompt rule, compare the detention time threshold with the package detention time. If the package detention time is less than the detention time threshold, no information prompt is triggered. If the package detention time is greater than or equal to the detention time threshold, an information prompt is triggered, and the package detention information is sent according to the prompt template in the information prompt rule to prompt the user that if the package is not picked up in time, a detention fee will be generated.
[0064] In this embodiment, through the delivery address and the delivery time, the acquisition of the information prompt rule is realized, and then the sending of the package detention information is realized, the recipient is prompted, the generation of additional fees is avoided, and the user experience is improved.
[0065] It should be understood that the magnitudes of the sequence numbers of the steps in the above embodiments do not mean the order of execution. The execution order of each process should be determined according to its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
[0066] In one embodiment, a package delivery device is provided, and the package delivery device corresponds one-to-one with the package delivery method in the above embodiment. As Figure 8 shown, the package delivery device includes a personnel verification module 10, a number verification module 20, a waybill determination module 30, a package determination module 40, and a package delivery module 50. The detailed description of each functional module is as follows: The personnel verification module 10 is used to perform personnel verification on the whole package receipt request after receiving the whole package receipt request, and obtain an information verification result; The number verification module 20 is used to obtain the package number corresponding to the whole package and perform number verification on the package number to obtain a number verification result when the information verification result indicates that the personnel verification is passed; The waybill determination module 30 is used to determine the package waybill numbers of all single packages in the whole package according to the package number when the number verification result indicates that the package number is correct; The package determination module 40 is used to detect whether the single package is allowed to be delivered according to all the package waybill numbers, and determine a delivery list when the delivery is allowed; The package delivery module 50 is used to send the delivery list to the delivery party, so that the delivery party performs the package delivery operation according to the delivery list.
[0067] Optionally, the personnel verification module 10 includes: The information verification unit is used to obtain the identity information corresponding to the whole package receiving request and verify the identity information and the preset information; The information verification success unit is used to obtain the information verification result indicating that the personnel verification is successful if the identity information conforms to the preset information; The information verification failure unit is used to obtain the information verification result indicating that the personnel verification fails if the identity information does not conform to the preset information.
[0068] Optionally, the package determination module 40 includes: The verification rule acquisition unit is used to acquire the preset verification rules, and the preset verification rules include the interface verification rules and the target verification rules; The interface verification result unit is used to perform the interface verification rules on all the package waybills through the interface verification rules in the preset verification rules to obtain the interface verification result; The package verification result unit is used to perform the information verification on all the package waybills through the target verification rules in the preset verification rules to obtain the package verification result; The all-package delivery permission unit is used to determine that all-package delivery is allowed if the interface verification results and the package verification results of all the single-piece packages indicate that the verification is passed; The partial-package delivery permission unit is used to determine that partial-package delivery is allowed if the interface verification results and the package verification results of at least one of the single-piece packages indicate that the verification is passed; The non-delivery permission unit is used to determine that delivery is not allowed if the interface verification results and the package verification results of all the single-piece packages indicate that the verification fails.
[0069] Optionally, the partial-package delivery permission unit includes: The non-verified sub-unit is used to determine the package information of the single-piece package that fails to pass the verification when the interface verification results and the package verification results of at least one of the single-piece packages indicate that the verification is passed; The return screening sub-unit is used to perform the package return operation according to the package information of the single-piece package that fails to pass the verification to confirm that partial receiving is allowed.
[0070] Optionally, the device further includes: A threshold comparison unit, configured to obtain a preset quantity threshold, and compare the quantity of single-piece packages in the whole package with the preset quantity threshold; A threshold non-allowance whole-package receiving unit, configured to not allow confirmation of whole-package receiving if the package number is greater than or equal to the preset quantity threshold; A threshold allowance whole-package receiving unit, configured to allow confirmation of whole-package receiving if the package number is less than the preset quantity threshold.
[0071] Optionally, the device further includes: A quantity comparison unit, configured to obtain the remaining number of compartments, and compare the remaining number of compartments with the quantity of single-piece packages in the whole package; A compartment non-allowance whole-package receiving unit, configured to not allow confirmation of whole-package receiving and prompt that the remaining number of compartments is insufficient if the package quantity is greater than or equal to the remaining number of compartments; A compartment allowance whole-package receiving unit, configured to allow confirmation of whole-package receiving if the package quantity is less than the remaining number of compartments.
[0072] Optionally, the device further includes: A prompt rule determination unit, configured to obtain the delivery address and delivery time of the single-piece package, and determine an information prompt rule according to the delivery address; A detention information sending unit, configured to send package detention information according to the information prompt rule and the delivery time.
[0073] A computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor is configured to execute the package delivery method described above.
[0074] Specific limitations on computer devices, processors, and their respective units and modules can be referred to the limitations on the package delivery method in the above text, and will not be elaborated here. Each module in the above processor can be implemented in whole or in part by software, hardware, and their combination. Understandably, the processor includes a processor, a memory, a network interface, and a database connected through a device bus. Each module of the processor can be embedded in or independent of the processor in hardware form, or stored in the memory in software form, so that the processor can call and execute the operations corresponding to each of the above modules. Among them, the processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating device, a computer program, and a database. The internal memory provides an environment for the operation of the operating device and the computer program in the non-volatile storage medium. The database is used to store the data used in the package delivery method in the above embodiments. The network interface is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, it implements a package delivery method.
[0075] In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above package delivery method is implemented.
[0076] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to memory, storage, database, or other media used in the various embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions can be allocated to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0078] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A parcel delivery method, characterized in that, Including: After receiving the whole-package receipt request, perform personnel verification on the whole-package receipt request to obtain an information verification result; When the information verification result indicates that the personnel verification is passed, obtain the package number corresponding to the whole-package parcel, and perform number verification on the package number to obtain a number verification result; When the number verification result indicates that the package number is correct, determine the package waybills of all single-piece parcels in the whole-package parcel according to the package number; Detect whether the single-piece parcels are allowed to be delivered according to all the package waybills, and determine a delivery list when delivery is allowed; Send the delivery list to the delivery party, so that the delivery party performs the parcel delivery operation according to the delivery list.
2. The parcel delivery method according to claim 1, wherein After performing the number verification on the package number to obtain a number verification result, it further includes: Obtain a preset quantity threshold, and compare the quantity of single-piece parcels in the whole-package parcel with the preset quantity threshold; If the package number is greater than or equal to the preset quantity threshold, it is not allowed to confirm the whole-package receipt; If the package number is less than the preset quantity threshold, it is allowed to confirm the whole-package receipt.
3. The parcel delivery method according to claim 1 or 2, characterized in that, After performing the number verification on the package number to obtain a number verification result, it further includes: Obtain the remaining compartment quantity, and compare the remaining compartment quantity with the quantity of single-piece parcels in the whole-package parcel; If the package quantity is greater than or equal to the remaining compartment quantity, it is not allowed to confirm the whole-package receipt, and prompt that the remaining compartment quantity is insufficient; If the package quantity is less than the remaining compartment quantity, it is allowed to confirm the whole-package receipt.
4. The parcel delivery method according to claim 1, characterized in that, The detecting whether the single-piece parcels are allowed to be delivered according to all the package waybills includes: Obtain a preset verification rule, and the preset verification rule includes an interface verification rule and a target verification rule; Perform interface verification on all the package waybills through the interface verification rule in the preset verification rule to obtain an interface verification result; Perform information verification on all the package waybills through the target verification rule in the preset verification rule to obtain a package verification result; If the interface verification results and the package verification results of all the single-piece parcels indicate that the verification is passed, determine that all deliveries are allowed; If the interface verification results and the package verification results of at least one of the single-piece parcels indicate that the verification is passed, determine that partial deliveries are allowed; If the interface verification results and the package verification results of all the single-piece parcels indicate that the verification fails, determine that delivery is not allowed.
5. The parcel delivery method according to claim 4, characterized in that The determining that partial deliveries are allowed if the interface verification results and the package verification results of at least one of the single-piece parcels indicate that the verification is passed includes: When the interface verification results and the package verification results of at least one of the single-piece parcels indicate that the verification is passed, determine the package information of the single-piece parcels that fail the verification; Perform a parcel return operation according to the package information of the single-piece parcels that fail the verification to confirm that partial receipts are allowed.
6. The parcel delivery method according to claim 1, wherein, After sending the delivery list to the delivery party, so that the delivery party performs the parcel delivery operation according to the delivery list, it further includes: Obtain the delivery address and delivery time of the single-piece package, and determine the information prompt rule according to the delivery address; Send the package detention information according to the information prompt rule and the delivery time.
7. The parcel delivery method according to claim 1, wherein, The personnel verification of the whole-package receiving request is performed to obtain an information verification result, including: Obtain the identity information corresponding to the whole-package receiving request, and verify the identity information and the preset information; If the identity information conforms to the preset information, obtain an information verification result indicating successful personnel verification; If the identity information does not conform to the preset information, obtain an information verification result indicating failed personnel verification.
8. A package delivery device, characterized in that, Including: A personnel verification module, configured to perform personnel verification on the whole-package receiving request after receiving the whole-package receiving request, and obtain an information verification result; A number verification module, configured to obtain the package number corresponding to the whole-package when the information verification result indicates that the personnel verification is passed, and perform number verification on the package number to obtain a number verification result; A waybill determination module, configured to determine the package waybill numbers of all single-piece packages in the whole-package according to the package number when the number verification result indicates that the package number is correct; A package determination module, configured to detect whether the single-piece package is allowed to be delivered according to all the package waybill numbers, and determine a delivery list when delivery is allowed; A package delivery module, configured to send the delivery list to the delivery party, so that the delivery party performs package delivery operations according to the delivery list.
9. A computer device, characterized in that, Including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor is configured to execute the package delivery method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the package delivery method according to any one of claims 1 to 7.