Method, device and equipment for signing for signing code of express parcel
The method of generating a signature code through dynamic encryption algorithm and comparing and verifying it solves the problem of inaccurate delivery of express parcels, thereby improving the security and efficiency of express parcels.
Patent Information
- Application Number
- CN202511133513.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-13
- Publication Date
- 2025-11-25
AI Technical Summary
In the current technology, the process of signing for express parcels cannot ensure that the courier delivers the parcels accurately to the recipient, resulting in lost parcels and losses for the recipients.
A dynamic encryption algorithm is used to generate a signature code. The signature code is generated by encrypting the recipient's account identifier. A reminder message is sent to the recipient during the delivery process. The courier scans the code and compares it to verify the signature code. The package is delivered only when the signature code matches.
It has improved the security and accuracy of parcel delivery, shortened the average signing time, and enhanced the delivery experience.
Smart Images

Figure CN121010302A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, and equipment for signing for express parcels using a signature code. Background Technology
[0002] In the process of signing for express parcels using related technologies, the courier selects a recipient and then signs for the parcel. However, the courier company cannot guarantee that the courier has actually contacted the recipient and accurately delivered the parcel to the recipient. When there are parcels to be delivered, they are prone to being lost, causing losses to the recipient. Summary of the Invention
[0003] This invention provides a method, apparatus, and equipment for signing for express parcels using a signature code, which can ensure the security of parcel delivery, improve the delivery experience, and shorten the average signing time.
[0004] On one hand, the present invention provides a method for signing for a package using a signature code, the method comprising: When it is determined that the express package is signed for using a signature code, a signature category identifier for the express package is generated, and the recipient's account identifier corresponding to the express package is obtained. A dynamic encryption algorithm is used to encrypt the recipient's account identifier to generate a delivery code, which is then sent to the recipient and the pickup platform. In response to the courier's scanning instruction for the signature category identifier corresponding to the express package, the express package is displayed as a signature code signature category, and the express package is marked as a signature code signature package; During the delivery process of the express parcel, a reminder message to provide the signature code is sent to the corresponding recipient of the express parcel according to the signature code signature category; Receive the real-time delivery code sent by the recipient according to the reminder message, and compare the real-time delivery code with the delivery code stored in the pickup platform to obtain the comparison result; When the comparison result is consistent, the express package is delivered to the recipient.
[0005] In one exemplary embodiment, the step of encrypting the recipient account identifier using a dynamic encryption algorithm to generate a delivery code includes: Obtain the current timestamp, the tracking number of the express package, and the geofence parameters; The current timestamp is subjected to quantum random number perturbation to generate an encrypted timestamp; A second hash operation is performed on the waybill number of the express package to extract the parity check bit as a feature code and generate a digital receipt code. Obtain at least one of the recipient's receiving device identifier and the courier's delivery device identifier; The digital signature code is encrypted based on at least one of the receiving device identifier and the delivery device identifier to generate the signature code; and the correspondence between the signature code, the encrypted timestamp, and the geofence parameters is stored in a preset database.
[0006] In one exemplary embodiment, the step of encrypting the digital signature code based on at least one of the receiving device identifier and the delivery device identifier to generate the signature code includes: Parse the first and second strings in the digital signature code; The first string is encrypted based on the receiving device identifier to generate first encrypted data; The second string is encrypted based on the delivery device identifier to generate second encrypted data; The first encrypted data and the second encrypted data are concatenated to generate the receipt code.
[0007] In one exemplary embodiment, after encrypting the recipient account identifier using a dynamic encryption algorithm to generate a delivery code, the method further includes: If the recipient has multiple express packages delivered on the same day, the signature code will be determined as the signature code corresponding to the multiple express packages. Store the correspondence between the tracking number and the signature code for each express package.
[0008] In one exemplary embodiment, receiving the real-time delivery confirmation code sent by the recipient according to the reminder message, and comparing the real-time delivery confirmation code with the delivery confirmation code stored in the pickup platform to obtain the comparison result includes: Receive the real-time delivery confirmation code sent by the recipient based on the reminder message; In response to the scanning operation of the package's receiving port, a signature code signing interface is displayed; In response to the input operation of the real-time receipt code on the receipt code receipt interface, the real-time receipt code is displayed on the receipt code receipt interface; The real-time receipt code is compared with the receipt code stored in the pickup platform to obtain the comparison result.
[0009] In one exemplary embodiment, comparing the real-time signature code with the signature codes stored in the pickup platform to obtain a comparison result includes: Perform basic format verification on the real-time receipt code to determine whether the real-time receipt code conforms to the preset character format; If the real-time signature code conforms to the preset character format, the parity check bit of the real-time signature code is compared with the tracking number feature of the express package to obtain the initial comparison result. If the initial comparison result is a matching result, the input behavior characteristics of the real-time signature code are obtained; The input behavior features are input into the risk scoring model for risk scoring prediction to obtain the real-time risk score of the real-time signature code; If the real-time risk score is less than a preset threshold, the real-time receipt code is compared with the receipt code stored in the pickup platform to obtain the comparison result.
[0010] In one exemplary embodiment, receiving the real-time delivery confirmation code sent by the recipient according to the reminder message includes: If a message is received from the recipient indicating that the signature code has not been received or has been accidentally deleted, the system will respond to the trigger operation of resending the signature code in the signature code signing interface by resending the signature code to the recipient. Receive the real-time delivery code sent by the recipient based on the received delivery code.
[0011] On the other hand, a signature code signing device for express parcels is provided, the device comprising: The signature category identifier generation module is used to generate a signature category identifier for the express package when it is determined that the express package is a signed package with a signature code, and to obtain the recipient's account identifier corresponding to the express package. The signature code sending module is used to encrypt the recipient account identifier using a dynamic encryption algorithm to generate a signature code, and then send it to the recipient and the pickup platform. The package receipt category display module is used to respond to the courier's scanning instruction for the package receipt category identifier, display the package receipt category as a package receipt code, and mark the package receipt code as a package receipt code; The reminder message sending module is used to send a reminder message to the corresponding recipient of the express package, based on the signature code signature category, during the delivery process of the express package; The comparison module is used to receive the real-time receipt code sent by the recipient according to the reminder message, and compare the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result; The package delivery module is used to deliver the express package to the recipient when the comparison result is a match.
[0012] In one exemplary embodiment, the signature code sending module includes: The timestamp acquisition unit is used to acquire the current timestamp, the waybill number of the express package, and the geofence parameters; An encrypted timestamp generation unit is used to perform quantum random number perturbation processing on the current timestamp to generate an encrypted timestamp; The digital signature code generation unit is used to perform a secondary hash operation on the waybill number of the express package, extract the parity check bit as a feature code, and generate a digital signature code. The device identifier acquisition unit is used to acquire at least one of the recipient's receiving device identifier and the courier's delivery device identifier; The receipt code generation unit is used to encrypt the digital receipt code according to at least one of the receiving device identifier and the delivery device identifier to generate the receipt code; and to store the correspondence between the receipt code, the encrypted timestamp, and the geofence parameters in a preset database.
[0013] In one exemplary embodiment, the signature code generation unit includes: A character parsing subunit is used to parse the first string and the second string in the digital signature code; The first encryption subunit is used to encrypt the first string according to the receiving device identifier to generate first encrypted data; The second encryption subunit is used to encrypt the second string according to the dispatching device identifier to generate second encrypted data; The receipt code generation subunit is used to concatenate the first encrypted data and the second encrypted data to generate the receipt code.
[0014] In one exemplary embodiment, the apparatus further includes: The signature code determination module is used to determine the signature code as the signature code corresponding to the multiple express packages if the recipient has multiple express packages delivered on the same day. The storage module is used to store the correspondence between the tracking number and the signature code of each express package.
[0015] In one exemplary embodiment, the comparison module includes: A receipt code receiving unit is used to receive a real-time receipt code sent by the recipient according to the reminder message; The interface display unit is used to respond to the scanning operation of the signature and receipt port of the express package and display the signature code signing interface. A receipt code display unit is used to display the real-time receipt code on the receipt code signing interface in response to an input operation based on the real-time receipt code on the receipt code signing interface. The comparison unit is used to compare the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result.
[0016] In one exemplary embodiment, the comparison unit includes: The judgment subunit is used to perform basic format verification on the real-time receipt code and determine whether the real-time receipt code conforms to the preset character format. The initial comparison subunit is used to compare the parity check bit of the real-time signature code with the waybill number feature of the express package when the real-time signature code conforms to the preset character format, so as to obtain the initial comparison result. The feature acquisition subunit is used to acquire the input behavior features of the real-time signature code when the initial comparison result is a matching result; The risk prediction subunit is used to input the input behavioral features into the risk scoring model to perform risk scoring prediction and obtain the real-time risk score of the real-time signature code. The comparison subunit is used to compare the real-time receipt code with the receipt code stored in the pickup platform when the real-time risk score is less than a preset threshold, and obtain the comparison result.
[0017] In one exemplary embodiment, the signature code receiving unit includes: The signature code resend subunit is used to resend the signature code to the recipient in response to the trigger operation of resending the signature code in the signature code signing interface if it receives a message from the recipient that the signature code has not been received or has been accidentally deleted according to the reminder message. The signature code receiving subunit is used to receive the real-time signature code sent by the recipient based on the received signature code.
[0018] On the other hand, an electronic device is provided, the device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or the at least one program being loaded and executed by the processor to implement the express parcel signature code signing method as described above.
[0019] On the other hand, a computer storage medium is provided, which stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the express parcel signature code signing method as described above.
[0020] On the other hand, a computer program product or computer program is provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method for signing for a package using a delivery code as described above.
[0021] The method, apparatus, and equipment for signing for express parcels provided by this invention have the following technical effects: This invention, upon determining that a courier package is a signed-in code package, generates a signed-in category identifier for the package and obtains the recipient's account identifier corresponding to the package. A dynamic encryption algorithm is used to encrypt the recipient's account identifier to generate a signed-in code, which is then sent to the recipient and the pickup platform. In response to the courier's scanning instruction of the signed-in category identifier, the courier displays that the package is a signed-in code package and marks it as such. During the delivery process, a reminder message requesting a signed-in code is sent to the recipient based on the signed-in code category. The invention receives the real-time signed-in code sent by the recipient according to the reminder message and compares it with the signed-in codes stored in the pickup platform to obtain a comparison result. When the comparison result is consistent, the courier delivers the package to the recipient. This invention dynamically generates a delivery code and simultaneously sends the code to the recipient. The encrypted delivery code is also sent to the courier's pickup and delivery terminal. After scanning the package, the courier enters the delivery interface, inputs the delivery code provided by the recipient, and compares it. If the comparison is successful, intelligent verification is performed. This ensures the security of package delivery, improves the delivery experience, and shortens the average delivery time. Attached Figure Description
[0022] To more clearly illustrate the technical solutions and advantages in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 This is a schematic diagram of a parcel signature code signing system provided in the embodiments of this specification; Figure 2 This is a flowchart illustrating a method for signing for a package using a signature code, as provided in the embodiments of this specification. Figure 3This is a flowchart illustrating a method for receiving a real-time delivery code sent by the recipient according to the reminder message, as provided in an embodiment of this specification. Figure 4 This is a flowchart illustrating a method provided in this specification for comparing the real-time receipt code with the receipt code stored in the pickup platform to obtain a comparison result. Figure 5 This is a flowchart illustrating another method provided in this specification for comparing the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result. Figure 6 This is a schematic diagram of the structure of a parcel signing code signing device provided in the embodiments of this specification; Figure 7 This is a schematic diagram of the structure of a server provided in an embodiment of this specification. Detailed Implementation
[0024] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0026] Please see Figure 1 , Figure 1 This is a schematic diagram of a parcel signature code signing system provided in the embodiments of this specification, as shown below. Figure 1 As shown, the parcel signing system can include at least a server 01 and a client 02.
[0027] Specifically, in the embodiments of this specification, server 01 may include a standalone server, a distributed server, or a server cluster composed of multiple servers. It may also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server 01 may include a network communication unit, a processor, and a memory, etc. Specifically, server 01 can be used to encrypt the recipient's account identifier using a dynamic encryption algorithm to generate a delivery code and send it to the recipient and the pickup platform. It can also send a reminder message to the corresponding recipient of the express package to provide the delivery code based on the delivery code's delivery category; and compare the real-time delivery code sent by the recipient with the delivery codes stored in the pickup platform, and dispatch the package based on the comparison result.
[0028] Specifically, in the embodiments of this specification, the client 02 may include physical devices such as smartphones, desktop computers, tablets, laptops, digital assistants, smart wearable devices, smart speakers, in-vehicle terminals, and smart TVs. It may also include software running on the physical device, such as web pages provided to users by service providers, or applications provided to users by such service providers. Specifically, the client 02 can be used to display a notification message for the receipt code.
[0029] The following describes a method for signing for express parcels using a signature code, based on the present invention. Figure 2 This is a flowchart illustrating a method for signing for a package using a delivery code, as provided in an embodiment of this specification. This specification provides the operational steps described in the embodiments or flowchart, but based on conventional or non-inventive methods, more or fewer operational steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only possible execution order. In actual system or server product execution, the methods shown in the embodiments or drawings can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment). Specifically, as shown... Figure 2 As shown, the method may include: S201: When it is determined that the express package is a signed package with a signature code, a signature category identifier of the express package is generated, and the recipient's account identifier corresponding to the express package is obtained. In the embodiments of this specification, the recipient account identifier may include, but is not limited to, the recipient's mobile phone number, contact information, etc. The type of delivery receipt may include, but is not limited to, door-to-door delivery, storage at a courier station, or other receipt methods. Among these, receipt code signing refers to the courier obtaining a receipt code from the recipient, then entering the code during delivery to complete the package delivery, thereby preventing delivery errors.
[0030] S203: The recipient account identifier is encrypted using a dynamic encryption algorithm to generate a receipt code, which is then sent to the recipient and the pickup platform.
[0031] In the embodiments of this specification, a signature code is generated according to a dynamic generation algorithm, and the signature code is sent to the recipient synchronously. The encrypted signature code is also sent to the courier's pickup and delivery terminal.
[0032] S205: In response to the courier's scanning instruction for the signature category identifier corresponding to the express package, the express package is displayed as a signature code signature category, and the express package is marked as a signature code signature package.
[0033] In the embodiments described in this specification, each express parcel is equipped with a signature category identifier. The courier scans this identifier using a delivery terminal, and the terminal interface displays the signature code of the express parcel as the signature category; thus, the express parcel is marked as a signed-for parcel. When there are multiple express parcels, they can be classified according to the signature category, and all parcels marked as signed-for parcels can be retrieved and signed for using the signature code.
[0034] S207: During the delivery process of the express parcel, a reminder message to provide the signature code is sent to the corresponding recipient of the express parcel according to the signature code signature category.
[0035] In this embodiment, the delivery code sending platform randomly generates a 4-digit code based on the recipient's mobile phone number and sends a text message to the recipient with the message: "Hello, your package with tracking number xxxxxxxxxxxxxxx is about to be delivered. Please provide this 4-digit 'xxxx' delivery code to complete the delivery." For packages signed for using a delivery code, during the delivery process, in response to the delivery person's delivery code retrieval instruction triggered based on the delivery code category, a reminder message to provide the delivery code can be sent to the corresponding recipient. When a delivery code SMS is generated for a package requiring delivery code signing, the system responsible for generating the delivery code will synchronize the generated delivery code to the delivery person's pickup and delivery app.
[0036] S209: Receive the real-time receipt code sent by the recipient according to the reminder message, and compare the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result.
[0037] In this embodiment of the specification, after a package arrives at the delivery point, the courier sorts it according to the markings on the waybill. The courier then scans the package to claim it. If the package is a signed-for item, the courier will be prompted to use the signed-for code. Couriers typically place these packages separately in their vehicles. Before delivery, the courier will contact the recipient in advance by phone to arrange a suitable delivery time and remind them to prepare the signed-for code for quick and easy signing upon receipt. After scanning the package, the courier enters the signing interface, inputs the signed-for code provided by the recipient, and compares it. If the comparison is successful, intelligent verification is performed. After the courier scans and claims the package to be delivered, the order will be marked as a signed-for item in the courier's pending signature list. The signed-for code is stored locally in the app and is not displayed to the courier; it is only used for comparison.
[0038] S2011: When the comparison result is a match, the express parcel is delivered to the recipient.
[0039] In the embodiments of this specification, when the comparison result is a matching result, it means that the signature code provided by the recipient is consistent with the signature code stored on the pickup platform. At this time, the express package is delivered to the recipient, thereby ensuring that the express package is delivered without error and improving the delivery accuracy of the express package.
[0040] In this embodiment of the specification, the step of encrypting the recipient account identifier using a dynamic encryption algorithm to generate a delivery receipt code includes: Obtain the current timestamp, the tracking number of the express package, and the geofence parameters; The current timestamp is subjected to quantum random number perturbation to generate an encrypted timestamp; A second hash operation is performed on the waybill number of the express package to extract the parity check bit as a feature code and generate a digital receipt code. Obtain at least one of the recipient's receiving device identifier and the courier's delivery device identifier; The digital signature code is encrypted based on at least one of the receiving device identifier and the delivery device identifier to generate the signature code; and the correspondence between the signature code, the encrypted timestamp, and the geofence parameters is stored in a preset database.
[0041] In the embodiments of this specification, a receipt code is generated in real time based on a multi-dimensional dynamic encryption algorithm. This algorithm integrates the current timestamp, the waybill number feature value, and the geofence parameter. During the generation process, the current time is subjected to quantum random number perturbation processing to ensure the unpredictability of the time factor. At the same time, a secondary hash operation is performed on the waybill number to extract the parity check bit as a feature code. The generated 6-digit receipt code is encrypted in segments using the AES-256 encryption algorithm. The first 3 digits are bound to the recipient's mobile phone IMEI code, and the last 3 digits are associated with the courier's device ID. The encrypted receipt code is synchronized to the message queue via the MQTT protocol and pushed to the recipient's SMS gateway and the courier's pickup and delivery APP respectively. The push process adopts a dual-channel verification mechanism. On the basis of traditional SMS sending, encrypted notifications are simultaneously pushed to the recipient's mobile device through the FCM service to ensure the reliability of reception. At the same time, the timestamp, encryption key, and other metadata of the receipt code are stored in the blockchain storage module to form an immutable distribution record.
[0042] In this embodiment of the specification, the step of encrypting the digital signature code based on at least one of the receiving device identifier and the delivery device identifier to generate the signature code includes: Parse the first and second strings in the digital signature code; The first string is encrypted based on the receiving device identifier to generate first encrypted data; The second string is encrypted based on the delivery device identifier to generate second encrypted data; The first encrypted data and the second encrypted data are concatenated to generate the receipt code.
[0043] In the embodiments of this specification, the first string and the second string can be determined based on the number of characters in the digital signature code. For example, a 6-digit digital signature code is segmented and encrypted using the AES-256 encryption algorithm. The first three digits are extracted as the first string and bound to the recipient's mobile phone IMEI code. The last three digits are extracted as the second string and associated with the courier's device ID. The encrypted signature code is synchronized to a message queue via the MQTT protocol. Finally, the encrypted first and second encrypted data are concatenated to generate the signature code.
[0044] In the embodiments of this specification, after encrypting the recipient account identifier using a dynamic encryption algorithm to generate a delivery code, the method further includes: If the recipient has multiple express packages delivered on the same day, the signature code will be determined as the signature code corresponding to the multiple express packages. Store the correspondence between the tracking number and the signature code for each express package.
[0045] In the embodiments of this specification, if the same recipient has multiple packages that require a signature code for receipt on the same day, the 4-digit signature code sent on the same day will be the same to facilitate the recipient in providing the signature code. If a package that is not delivered on the same day requires a signature code for receipt, the signature code sent may be different. Each signature code will have the 15-digit tracking number of the package.
[0046] In the embodiments described in this specification, such as Figure 3 As shown, receiving the real-time delivery confirmation code sent by the recipient according to the reminder message includes: S301: If a message is received from the recipient indicating that the signature code has not been received or has been accidentally deleted, in response to the triggering operation of resending the signature code in the signature code signing interface, the signature code is resent to the recipient. S303: Receive the real-time receipt code sent by the recipient based on the received receipt code.
[0047] In the embodiments described in this specification, when the recipient does not receive the signature code, the courier clicks the resend button, and a new dynamic signature code is generated during the resend.
[0048] To prevent recipients from missing the delivery code SMS due to communication issues or accidentally deleting the delivery code SMS, this function provides an "Resend Delivery Code" option. When the courier clicks "Resend Delivery Code," the delivery code for that order will be immediately resent to the recipient. After the recipient provides the delivery code, the courier enters the code, compares it, and completes the delivery.
[0049] When a recipient reports not receiving the delivery confirmation code, the courier clicks the resend button to trigger the intelligent resend process. The system first activates a frequency control mechanism, checking the number of resends for this order within a preset time period (e.g., 1 hour). If the limit is exceeded, it automatically switches to the voice verification code channel. During resend, the system generates a completely new dynamic delivery confirmation code based on a quantum random number generator, while simultaneously updating the timestamp and geofencing parameters to ensure the uniqueness of the new code. To prevent abuse of resends, the system introduces a behavioral analysis model to conduct risk assessments on recipients who frequently request resends.
[0050] In the embodiments described in this specification, such as Figure 4 As shown, the step of receiving the real-time delivery code sent by the recipient according to the reminder message, and comparing the real-time delivery code with the delivery code stored in the pickup platform to obtain the comparison result includes: S401: Receive the real-time delivery confirmation code sent by the recipient according to the reminder message; S403: In response to the scanning operation of the signature port of the express parcel, display the signature code signature interface; S405: In response to the input operation of the real-time receipt code on the receipt code receipt interface, the real-time receipt code is displayed on the receipt code receipt interface; S407: Compare the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result.
[0051] In this embodiment of the specification, when the courier delivers the package, he / she will remind the recipient to provide the 4-digit numeric signature code for the package: (1) When the courier scans the package at the entry point, a signature code will be displayed on the signature interface: (a) After scanning the barcode on the waybill, the 15-digit waybill number is identified. If the waybill number does not conform to the regular expression validation, the message "Waybill number error" will be displayed. If it conforms to the regular expression validation, the waybill number is verified to be correct. If no recipient is selected, the courier will be prompted to select the correct recipient to sign for the package. If a recipient has already been selected, you will be taken to the signature code signing interface. (b) The signature code interface title displays "Signature Code Received"; (c) Show that 15 is the waybill number; (d) Provide a 4-digit signature code input box, and when entering the signature code interface, a numeric keyboard will pop up at the bottom of the page by default. The keyboard provides 10 numbers from 0 to 9, and also provides an "x" delete button to delete or modify the input content; (e) Display the reminder text "Signature code for delivery. Please ask the recipient for the 4-digit SMS signature code and enter it to sign for delivery". (f) After the courier enters the 4-digit signature code, it will automatically compare it with the 4-digit signature code stored locally for this order. If they are the same, the verification is correct and the courier can sign for the package. If they are incorrect, the system will prompt "Please enter the correct signature code" and clear the entered 4 digits so that the courier can re-enter them. (2) The courier directly signs for the package using the signature code in the pending signature list: (a) The "Signing Code Signed" button is displayed. (b) Click "Sign for Delivery Code": If no recipient is selected, the courier will be prompted to select the correct recipient to sign for the package. If a recipient has already been selected, you will be taken to the signature code signing interface. (b) The signature code interface title displays "Signature Code Received"; (c) Show that 15 is the waybill number; (d) Provide a 4-digit signature code input box, and when entering the signature code interface, a numeric keyboard will pop up at the bottom of the page by default. The keyboard provides 10 numbers from 0 to 9, and also provides an "x" delete button to delete or modify the input content; (e) Display the reminder text "Signature code for delivery. Please ask the recipient for the 4-digit SMS signature code and enter it to sign for delivery". (f) After the courier enters the 4-digit signature code, it will automatically compare it with the 4-digit signature code stored locally for the same order. If they are the same, the verification is correct and the courier can sign for the package. If they are incorrect, the system will prompt "Please enter the correct signature code" and clear the entered 4 digits so that the courier can re-enter them.
[0052] In the embodiments described in this specification, such as Figure 5 As shown, comparing the real-time signature code with the signature codes stored in the pickup platform to obtain the comparison result includes: S501: Perform basic format verification on the real-time receipt code to determine whether the real-time receipt code conforms to the preset character format; S503: If the real-time signature code conforms to the preset character format, the parity check bit of the real-time signature code is compared with the waybill number feature of the express package to obtain the initial comparison result. S505: If the initial comparison result is a matching result, obtain the input behavior characteristics of the real-time signature code; S507: Input the input behavior features into the risk scoring model to perform risk scoring prediction and obtain the real-time risk score of the real-time signature code; S509: If the real-time risk score is less than a preset threshold, the real-time receipt code is compared with the receipt code stored in the pickup platform to obtain the comparison result.
[0053] In this embodiment, after the courier scans the waybill barcode, the system automatically retrieves and decrypts the locally cached encrypted delivery code, initiating a three-level verification process: First, basic format verification is performed to check if the input delivery code conforms to a 6-digit number format; second, feature comparison verification is performed, comparing the parity check bit of the input code with the feature code of the waybill number pre-stored in the system; finally, behavioral analysis verification is triggered, and the input behavioral features can include, but are not limited to, 12 dimensions such as input time, input frequency, and geographical location offset; by analyzing the 12 dimensions of behavioral features such as input time, input frequency, and geographical location offset, a real-time risk scoring model is constructed. This predicts the real-time risk score of the real-time delivery code, and a preset threshold corresponding to the real-time risk score is set according to the actual situation. If the real-time risk score is less than the preset threshold, the real-time delivery code is compared with the delivery codes stored in the pickup platform to obtain the comparison result.
[0054] As can be seen from the technical solutions provided in the embodiments of this specification above, when determining that a courier package is a package with a signature code, the embodiments of this specification generate a signature category identifier for the courier package and obtain the recipient's account identifier corresponding to the courier package; encrypt the recipient's account identifier using a dynamic encryption algorithm to generate a signature code, and send it to the recipient and the pickup platform; respond to the courier's scanning instruction for the signature category identifier, display that the courier package is a package with a signature code, and mark the courier package as a package with a signature code; during the delivery process of the courier package, send a reminder message to the recipient corresponding to the courier package to provide a signature code according to the signature code signature category; receive the real-time signature code sent by the recipient according to the reminder message, and compare the real-time signature code with the signature codes stored in the pickup platform to obtain a comparison result; when the comparison result is a matching result, deliver the courier package to the recipient. This invention dynamically generates a delivery code and simultaneously sends the code to the recipient. The encrypted delivery code is also sent to the courier's pickup and delivery terminal. After scanning the package, the courier enters the delivery interface, inputs the delivery code provided by the recipient, and compares it. If the comparison is successful, intelligent verification is performed. This ensures the security of package delivery, improves the delivery experience, and shortens the average delivery time.
[0055] This specification also provides an embodiment of a parcel delivery signature code device, such as... Figure 6 As shown, the device includes: The signature category identifier generation module 610 is used to generate a signature category identifier for the express package when it is determined that the express package is a signed package with a signature code, and to obtain the recipient's account identifier corresponding to the express package. The signature code sending module 620 is used to encrypt the recipient account identifier using a dynamic encryption algorithm to generate a signature code, and then send it to the recipient and the pickup platform. The signature category display module 630 is used to respond to the scanning instruction of the courier corresponding to the express package on the signature category identifier, display the express package as a signature code signature category, and mark the express package as a signature code signature package; The reminder message sending module 640 is used to send a reminder message to the recipient of the express package providing the signature code according to the signature code signature category during the delivery process of the express package; The comparison module 650 is used to receive the real-time receipt code sent by the recipient according to the reminder message, and compare the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result; The package delivery module 660 is used to deliver the express package to the recipient when the comparison result is a matching result.
[0056] In one exemplary embodiment, the signature code sending module includes: The timestamp acquisition unit is used to acquire the current timestamp, the waybill number of the express package, and the geofence parameters; An encrypted timestamp generation unit is used to perform quantum random number perturbation processing on the current timestamp to generate an encrypted timestamp; The digital signature code generation unit is used to perform a secondary hash operation on the waybill number of the express package, extract the parity check bit as a feature code, and generate a digital signature code. The device identifier acquisition unit is used to acquire at least one of the recipient's receiving device identifier and the courier's delivery device identifier; The receipt code generation unit is used to encrypt the digital receipt code according to at least one of the receiving device identifier and the delivery device identifier to generate the receipt code; and to store the correspondence between the receipt code, the encrypted timestamp, and the geofence parameters in a preset database.
[0057] In one exemplary embodiment, the signature code generation unit includes: A character parsing subunit is used to parse the first string and the second string in the digital signature code; The first encryption subunit is used to encrypt the first string according to the receiving device identifier to generate first encrypted data; The second encryption subunit is used to encrypt the second string according to the dispatching device identifier to generate second encrypted data; The receipt code generation subunit is used to concatenate the first encrypted data and the second encrypted data to generate the receipt code.
[0058] In one exemplary embodiment, the apparatus further includes: The signature code determination module is used to determine the signature code as the signature code corresponding to the multiple express packages if the recipient has multiple express packages delivered on the same day. The storage module is used to store the correspondence between the tracking number and the signature code of each express package.
[0059] In one exemplary embodiment, the comparison module includes: A receipt code receiving unit is used to receive a real-time receipt code sent by the recipient according to the reminder message; The interface display unit is used to respond to the scanning operation of the signature and receipt port of the express package and display the signature code signing interface. A receipt code display unit is used to display the real-time receipt code on the receipt code signing interface in response to an input operation based on the real-time receipt code on the receipt code signing interface. The comparison unit is used to compare the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result.
[0060] In one exemplary embodiment, the comparison unit includes: The judgment subunit is used to perform basic format verification on the real-time receipt code and determine whether the real-time receipt code conforms to the preset character format. The initial comparison subunit is used to compare the parity check bit of the real-time signature code with the waybill number feature of the express package when the real-time signature code conforms to the preset character format, so as to obtain the initial comparison result. The feature acquisition subunit is used to acquire the input behavior features of the real-time signature code when the initial comparison result is a matching result; The risk prediction subunit is used to input the input behavioral features into the risk scoring model to perform risk scoring prediction and obtain the real-time risk score of the real-time signature code. The comparison subunit is used to compare the real-time receipt code with the receipt code stored in the pickup platform when the real-time risk score is less than a preset threshold, and obtain the comparison result.
[0061] In one exemplary embodiment, the signature code receiving unit includes: The signature code resend subunit is used to resend the signature code to the recipient in response to the trigger operation of resending the signature code in the signature code signing interface if it receives a message from the recipient that the signature code has not been received or has been accidentally deleted according to the reminder message. The signature code receiving subunit is used to receive the real-time signature code sent by the recipient based on the received signature code.
[0062] The apparatus and method embodiments described herein are based on the same inventive concept.
[0063] This specification provides an electronic device including a processor and a memory. The memory stores at least one instruction or at least one program, which is loaded and executed by the processor to implement the parcel signature code signing method provided in the above method embodiments.
[0064] Embodiments of the present invention also provide a computer storage medium, which can be disposed in a terminal to store at least one instruction or at least one program related to implementing a method for signing for a package using a signature code in the method embodiments. The at least one instruction or at least one program is loaded and executed by the processor to implement the method for signing for a package using a signature code in the above method embodiments.
[0065] Embodiments of the present invention also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method for signing for express parcels using a signature code provided in the above-described method embodiments.
[0066] Optionally, in the embodiments of this specification, the storage medium may be located at at least one of the multiple network servers in a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0067] The memory described in the embodiments of this specification can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for the functions, etc.; the data storage area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.
[0068] The parcel delivery receipt code signing method provided in this specification can be executed on a mobile terminal, computer terminal, server, or similar computing device. Taking a server as an example... Figure 7 This is a hardware structure block diagram of a server for a method of signing for a package using a signature code, as provided in the embodiments of this specification. Figure 7As shown, the server 700 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 710 (CPUs 710 may include, but are not limited to, microprocessors (MCUs) or programmable logic devices (FPGAs), a memory 730 for storing data, and one or more storage media 720 (e.g., one or more mass storage devices) for storing application programs 723 or data 722. The memory 730 and storage media 720 may be temporary or persistent storage. The program stored in the storage media 720 may include one or more modules, each module may include a series of instruction operations on the server. Furthermore, the CPU 710 may be configured to communicate with the storage media 720 and execute the series of instruction operations stored in the storage media 720 on the server 700. Server 700 may also include one or more power supplies 760, one or more wired or wireless network interfaces 750, one or more input / output interfaces 740, and / or one or more operating systems 721, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.
[0069] The input / output interface 740 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of server 700. In one example, the input / output interface 740 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 740 may be a radio frequency (RF) module used for wireless communication with the Internet.
[0070] Those skilled in the art will understand that Figure 7 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, server 700 may also include... Figure 7 The more or fewer components shown, or having the same Figure 7 The different configurations shown.
[0071] As can be seen from the embodiments of the express parcel signing code signing method, device, electronic device or storage medium provided by the present invention, when the present invention determines that the express parcel is a signing code signing parcel, it generates a signing category identifier for the express parcel and obtains the recipient's account identifier corresponding to the express parcel; it uses a dynamic encryption algorithm to encrypt the recipient's account identifier to generate a signing code, and sends it to the recipient and the parcel collection platform; in response to the courier's scanning instruction of the signing category identifier corresponding to the express parcel, it displays that the express parcel is a signing code signing category and marks the express parcel as a signing code signing parcel; during the delivery process of the express parcel, it sends a reminder message to the recipient corresponding to the express parcel to provide a signing code according to the signing code signing category; it receives the real-time signing code sent by the recipient according to the reminder message, and compares the real-time signing code with the signing codes stored in the parcel collection platform to obtain a comparison result; when the comparison result is a matching result, it delivers the express parcel to the recipient. This invention dynamically generates a delivery code and simultaneously sends the code to the recipient. The encrypted delivery code is also sent to the courier's pickup and delivery terminal. After scanning the package, the courier enters the delivery interface, inputs the delivery code provided by the recipient, and compares it. If the comparison is successful, intelligent verification is performed. This ensures the security of package delivery, improves the delivery experience, and shortens the average delivery time.
[0072] It should be noted that the order of the embodiments described above is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments of this specification have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0073] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0074] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer storage medium, such as a read-only memory, a disk, or an optical disk.
[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for signing for a package using a delivery code, characterized in that, The method includes: When it is determined that the express package is signed for using a signature code, a signature category identifier for the express package is generated, and the recipient's account identifier corresponding to the express package is obtained. A dynamic encryption algorithm is used to encrypt the recipient's account identifier to generate a delivery code, which is then sent to the recipient and the pickup platform. In response to the courier's scanning instruction for the signature category identifier corresponding to the express package, the express package is displayed as a signature code signature category, and the express package is marked as a signature code signature package; During the delivery process of the express parcel, a reminder message to provide the signature code is sent to the corresponding recipient of the express parcel according to the signature code signature category; Receive the real-time delivery code sent by the recipient according to the reminder message, and compare the real-time delivery code with the delivery code stored in the pickup platform to obtain the comparison result; When the comparison result is consistent, the express package is delivered to the recipient.
2. The method according to claim 1, characterized in that, The step of encrypting the recipient account identifier using a dynamic encryption algorithm to generate a delivery confirmation code includes: Obtain the current timestamp, the tracking number of the express package, and the geofence parameters; The current timestamp is subjected to quantum random number perturbation to generate an encrypted timestamp; A second hash operation is performed on the waybill number of the express package to extract the parity check bit as a feature code and generate a digital receipt code. Obtain at least one of the recipient's receiving device identifier and the courier's delivery device identifier; The digital signature code is encrypted based on at least one of the receiving device identifier and the delivery device identifier to generate the signature code; and the correspondence between the signature code, the encrypted timestamp, and the geofence parameters is stored in a preset database.
3. The method according to claim 2, characterized in that, The step of encrypting the digital signature code based on at least one of the receiving device identifier and the delivery device identifier to generate the signature code includes: Parse the first and second strings in the digital signature code; The first string is encrypted based on the receiving device identifier to generate first encrypted data; The second string is encrypted based on the delivery device identifier to generate second encrypted data; The first encrypted data and the second encrypted data are concatenated to generate the receipt code.
4. The method according to claim 1, characterized in that, After encrypting the recipient account identifier using a dynamic encryption algorithm to generate a delivery confirmation code, the method further includes: If the recipient has multiple express packages delivered on the same day, the signature code will be determined as the signature code corresponding to the multiple express packages. Store the correspondence between the tracking number and the signature code for each express package.
5. The method according to claim 1, characterized in that, The step of receiving the real-time delivery confirmation code sent by the recipient according to the reminder message, and comparing the real-time delivery confirmation code with the delivery confirmation code stored in the pickup platform to obtain the comparison result includes: Receive the real-time delivery confirmation code sent by the recipient based on the reminder message; In response to the scanning operation of the package's receiving port, a signature code signing interface is displayed; In response to the input operation of the real-time receipt code on the receipt code receipt interface, the real-time receipt code is displayed on the receipt code receipt interface; The real-time receipt code is compared with the receipt code stored in the pickup platform to obtain the comparison result.
6. The method according to claim 5, characterized in that, The step of comparing the real-time delivery code with the delivery codes stored in the pickup platform to obtain the comparison result includes: Perform basic format verification on the real-time receipt code to determine whether the real-time receipt code conforms to the preset character format; If the real-time signature code conforms to the preset character format, the parity check bit of the real-time signature code is compared with the tracking number feature of the express package to obtain the initial comparison result. If the initial comparison result is a matching result, the input behavior characteristics of the real-time signature code are obtained; The input behavior features are input into the risk scoring model for risk scoring prediction to obtain the real-time risk score of the real-time signature code; If the real-time risk score is less than a preset threshold, the real-time receipt code is compared with the receipt code stored in the pickup platform to obtain the comparison result.
7. The method according to claim 6, characterized in that, The receipt of the real-time delivery code sent by the recipient according to the reminder message includes: If a message is received from the recipient indicating that the signature code has not been received or has been accidentally deleted, the system will respond to the trigger operation of resending the signature code in the signature code signing interface by resending the signature code to the recipient. Receive the real-time delivery code sent by the recipient based on the received delivery code.
8. A signature code signing device for express parcels, characterized in that, The device includes: The signature category identifier generation module is used to generate a signature category identifier for the express package when it is determined that the express package is a signed package with a signature code, and to obtain the recipient's account identifier corresponding to the express package. The signature code sending module is used to encrypt the recipient account identifier using a dynamic encryption algorithm to generate a signature code, and then send it to the recipient and the pickup platform. The package receipt category display module is used to respond to the courier's scanning instruction for the package receipt category identifier, display the package receipt category as a package receipt code, and mark the package receipt code as a package receipt code; The reminder message sending module is used to send a reminder message to the corresponding recipient of the express package, based on the signature code signature category, during the delivery process of the express package; The comparison module is used to receive the real-time receipt code sent by the recipient according to the reminder message, and compare the real-time receipt code with the receipt code stored in the pickup platform to obtain the comparison result; The package delivery module is used to deliver the express package to the recipient when the comparison result is a match.
9. An electronic device, characterized in that, The device includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the express parcel signature code signing method as described in any one of claims 1-7.
10. A computer storage medium, characterized in that, The computer storage medium stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the signature code signing method for express parcels as described in any one of claims 1-7.