Logistics business online payment signing method, apparatus and device, and storage medium

By obtaining order bottom order information and establishing a payment process, the problems of low payment efficiency and slow payment recovery speed are solved, and the payment is quickly received and transaction cycles are shortened.

CN119477154APending Publication Date: 2025-02-18上海乾臻信息科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411461947.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing technology is difficult to improve the payment efficiency of logistics payments and the speed of returning payments to sellers, especially in direct transactions, which lack effective means.

Method used

By obtaining the order bottom order information, establishing a sign-in and payment process based on the payment status, outputting the sign-in and payment process to obtain the paid sign-in results, and updating the payment payment status based on the results to generate collection fee settlement information.

Benefits of technology

It realizes instant or quick payment, greatly shortens the transaction cycle, improves the convenience of payment and the efficiency of funds, and reduces the seller's risk of recovering payments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477154A_ABST
    Figure CN119477154A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of logistics, in particular to a logistics service online payment signing method and device, equipment and a storage medium. The logistics service online payment signing method comprises the following steps: obtaining order issuing information, and obtaining a payment state of payment for goods according to the order issuing information; establishing a sign-in payment process according to the collection payment state, and outputting the sign-in payment process to obtain a paid sign-in result; and updating the payment state of the collection payment according to the payment signing result to obtain order completion information, and generating collection fee settlement information according to the order completion information. According to the invention, a mode of receiving the payment by the logistics company is provided, the payment efficiency of the payment can be effectively improved, and the risk that the payment of the seller is not timely is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of logistics technology, and in particular to a method, device, equipment and storage medium for online payment and receipt of logistics services. Background Art

[0002] With the popularization of the Internet and the rapid development of e-commerce, online transactions have gradually become one of the main ways for people to shop. In this context, the issue of payment between buyers and sellers has become particularly important, especially when the transaction between buyers and sellers is not conducted through a third party such as an online shopping platform, but directly between the two parties.

[0003] In online transactions, buyers often hope to complete payment quickly and easily, without the need to carry cash or transfer money through banks, which reduces the trouble. Sellers also hope to recover funds in a timely manner to maintain normal operations and as an important guarantee for expanding business scale. However, there is currently a lack of effective means to improve the efficiency of payment and reduce the risk of sellers not recovering payments in a timely manner. It can be seen that the existing technology still needs to be improved and enhanced. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a method, device, equipment and storage medium for online payment and receipt of logistics business, aiming to improve the payment efficiency of logistics payment and the speed of seller's payment recovery.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] The first aspect of the present invention provides a method for online payment and receipt of logistics services, comprising the following steps: obtaining order receipt information, and obtaining a collection payment status based on the order receipt information; establishing a collection payment process based on the collection payment status, and outputting the collection payment process to obtain a paid collection result; updating the collection payment status based on the paid collection result to obtain order completion information, and generating collection fee settlement information based on the order completion information.

[0007] Optionally, in a first implementation method of the first aspect of the present invention, obtaining the order receipt information and obtaining the collection payment status based on the order receipt information specifically includes: obtaining the order receipt information and extracting the order number information in the order receipt information; identifying the number of digits in the order number information and processing the order number information according to different number digits according to pre-established processing rules to obtain request information; matching the request information with a database and obtaining the collection payment status based on the matching result.

[0008] Optionally, in a second implementation method of the first aspect of the present invention, the number of digits of the order number information is used to identify the order number information, and the order number information is processed according to different number of digits according to a pre-established processing rule to obtain request information, specifically including: establishing a processing rule, if the number of digits of the order number meets the first condition, obtaining the request information; if the number of digits of the order number meets the second condition, obtaining the main order information and all sub-order information corresponding to the order base information, and matching the main order information and all sub-order information with the order number information to obtain the request information; if the number of digits of the order number meets the third condition, decrypting the order number digits according to a pre-established encryption rule to obtain a decryption result, obtaining the main order information and all sub-order information corresponding to the order base information, and matching the main order information and all sub-order information with the decryption result to obtain the request information.

[0009] Optionally, in a third implementation method of the first aspect of the present invention, a signature and payment process is established according to the payment status of the collection of goods, and the signature and payment process is output to obtain a paid receipt result, specifically including: establishing a signature and payment process according to the payment status of the collection of goods, obtaining an SMS sending instruction and sending a payment reminder SMS to the customer to obtain a sending result; generating a payment code according to the sending result and outputting it to obtain a payment result; forming receipt confirmation information according to the payment result and outputting it to obtain a receipt confirmation result; updating the signature and payment process according to the payment result and the receipt confirmation result to obtain a paid receipt result.

[0010] Optionally, in a fourth implementation method of the first aspect of the present invention, generating and outputting a payment code according to the sending result to obtain a payment result specifically includes: obtaining key information associated with the order form information according to the sending result, the key information including the order number, payment amount, merchant ID and timestamp; generating a random number according to the sending result, concatenating the random number and the key information to form a character string; performing hash processing on the character string using a hash function to obtain a hash value; using a payment code generation tool to create a payment code according to the key information and the hash value, and outputting the payment code to obtain a payment result.

[0011] Optionally, in a fifth implementation method of the first aspect of the present invention, the receipt confirmation information is formed and output based on the payment result to obtain the receipt confirmation result, specifically including: obtaining the delivery address, delivery personnel and branch information of the order form information based on the payment result, matching the branch information with the delivery address, and determining whether it exceeds the service scope of the branch; if it exceeds the service scope of the branch, sending a prompt message to the delivery personnel to obtain an abnormal receipt instruction; constructing an abnormal receipt information registration form based on the abnormal receipt instruction, and outputting the abnormal receipt information registration form to obtain the receipt confirmation result.

[0012] Optionally, in a sixth implementation method of the first aspect of the present invention, the collection payment status is updated according to the payment receipt result to obtain order completion information, and collection fee settlement information is generated according to the order completion information, specifically including: updating the collection payment status according to the payment receipt result to obtain order completion information; obtaining the order's service point information, delivery staff information and collection amount according to the order completion information; and associating the collection amount with the service point information and delivery staff information to generate collection fee settlement information.

[0013] The second aspect of the present invention provides an online payment and receipt device for logistics services, comprising: an acquisition module for acquiring order receipt information, and acquiring the collection payment status based on the order receipt information; an establishment module for establishing a collection and payment process based on the collection payment status, and outputting the collection and payment process to obtain a paid collection result; a generation module for updating the collection payment status based on the paid collection result to obtain order completion information, and generating collection fee settlement information based on the order completion information.

[0014] Optionally, in a first implementation method of the second aspect of the present invention, the acquisition module includes: an extraction sub-module, used to obtain order form information, and extract the order number information in the order form information; a processing sub-module, used to identify the number of digits in the order number information, and according to pre-established processing rules, process the order number information according to different number of digits to obtain request information; a matching sub-module, used to match the request information with the database, and obtain the collection payment status according to the matching result.

[0015] Optionally, in a second implementation method of the second aspect of the present invention, the processing sub-module includes: a first judgment unit, used to establish processing rules, and obtain request information if the number of digits in the order number meets the first condition; a second judgment unit, used to obtain the main order information and all sub-order information corresponding to the order base information if the number of digits in the order number meets the second condition, and match the main order information and all sub-order information with the order number information to obtain the request information; a third judgment unit, used to decrypt the number of digits in the order number according to a pre-established encryption rule to obtain a decryption result if the number of digits in the order number meets the third condition, and obtain the main order information and all sub-order information corresponding to the order base information, and match the main order information and all sub-order information with the decryption result to obtain the request information.

[0016] Optionally, in a third implementation method of the second aspect of the present invention, the establishment module includes: an establishment sub-module, which is used to establish a receipt and payment process according to the collection payment status, obtain the SMS sending instruction and send a payment reminder SMS to the customer to obtain the sending result; a generation sub-module, which is used to generate a receipt code according to the sending result and output it to obtain the payment result; a receipt sub-module, which is used to form and output the receipt confirmation information according to the payment result to obtain the receipt confirmation result; an update sub-module, which is used to update the receipt and payment process according to the payment result and the receipt confirmation result to obtain the paid receipt result.

[0017] Optionally, in a fourth implementation method of the second aspect of the present invention, the generation submodule includes: an acquisition unit, used to acquire key information associated with the order form information according to the sending result, the key information including the order number, payment amount, merchant ID and timestamp; a splicing unit, used to generate a random number according to the sending result, and splice the random number and the key information to form a character string; an encryption unit, used to perform hash processing on the character string using a hash function to obtain a hash value; a creation unit, used to use a payment code generation tool to create a payment code according to the key information and the hash value, and output the payment code to obtain a payment result.

[0018] Optionally, in a fifth implementation of the second aspect of the present invention, the signature sub-module includes: a matching unit, used to obtain the delivery address, delivery staff and branch information of the order information based on the payment result, match the branch information with the delivery address, and determine whether it exceeds the service scope of the branch; a prompt unit, used to send a prompt message to the delivery staff if it exceeds the service scope of the branch, so as to obtain an abnormal signature instruction; a collection unit, used to construct an abnormal signature information registration form according to the abnormal signature instruction, and output the abnormal signature information registration form to obtain a signature confirmation result.

[0019] Optionally, in a sixth implementation method of the second aspect of the present invention, the generation module includes: an update unit, used to update the payment status of the collection according to the payment receipt result to obtain order completion information; an extraction unit, used to obtain the service point information, delivery staff information and collection amount of the order according to the order completion information; an association unit, used to associate the collection amount with the service point information and delivery staff information to generate collection fee settlement information.

[0020] The third aspect of the present invention provides an online payment and receipt device for logistics services, comprising a memory and at least one processor, wherein the memory stores computer-readable instructions; the at least one processor calls the computer-readable instructions in the memory to execute the various steps of the online payment and receipt method for logistics services as described above.

[0021] A fourth aspect of the present invention provides a computer-readable storage medium, on which computer-readable instructions are stored, characterized in that when the computer-readable instructions are executed by a processor, the various steps of the online payment and receipt method for logistics services as described above are implemented.

[0022] Beneficial effects: The present invention provides a method for online payment and receipt of logistics services. The method first obtains order form information, and obtains the payment status of the collection of goods according to the order form information, so as to realize the viewing of the payment status of the order, and then establishes a receipt and payment process according to the payment status of the collection of goods, outputs the receipt and payment process to obtain the payment receipt result, and guides the delivery personnel and the consignee to complete the payment and collection of goods by establishing the receipt and payment process, so as to realize the instant or fast arrival of the payment, greatly shortening the transaction cycle, and finally updates the payment status of the collection of goods according to the payment receipt result to obtain the order completion information, and generates the collection fee settlement information according to the order completion information, so that the status of the collection of goods can be timely viewed and settled, and ensure that the money reaches the account of the relevant personnel in a timely and accurate manner. The present invention can play an important role in e-commerce and online transactions by collecting payment on behalf of others, which can not only improve transaction efficiency and payment convenience, but also enhance the security, trust and financial management capabilities of transactions. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A first flow chart of the online payment and receipt method for logistics services provided by an embodiment of the present invention;

[0024] Figure 2 A second flow chart of the method for online payment and receipt of logistics services provided by an embodiment of the present invention;

[0025] Figure 3 A third flow chart of the online payment and receipt method for logistics services provided by an embodiment of the present invention;

[0026] Figure 4 A fourth flow chart of the method for online payment and receipt of logistics services provided by an embodiment of the present invention;

[0027] Figure 5 A fifth flow chart of the online payment and receipt method for logistics services provided by an embodiment of the present invention;

[0028] Figure 6 A sixth flow chart of the online payment and receipt method for logistics services provided by an embodiment of the present invention;

[0029] Figure 7 A seventh flow chart of the online payment and receipt method for logistics services provided by an embodiment of the present invention;

[0030] Figure 8A schematic diagram of the structure of a device for online payment and receipt of logistics services provided by an embodiment of the present invention;

[0031] Fig. 9 Another structural schematic diagram of the online payment and receipt device for logistics services provided by an embodiment of the present invention;

[0032] Fig.10 A schematic diagram of the structure of an online payment and receipt device for logistics services provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The present invention provides a method, device, equipment and storage medium for online payment and receipt of logistics services. The present invention obtains order form information first, obtains the payment status of the collection of goods according to the order form information, and can query the payment status of the goods according to the order form information; then, by establishing a receipt and payment process according to the payment status of the collection of goods, and outputting the receipt and payment process, users can pay and sign for goods in an orderly manner at the delivery site, providing a fair and transparent trading environment to obtain the payment receipt result; finally, the payment status of the collection of goods is updated according to the payment receipt result to obtain the order completion information, and the collection fee settlement information is generated according to the order completion information. The present invention adopts the method of online collection of goods, and can realize the instant or rapid receipt of the payment through an automated payment system, greatly shortening the transaction cycle.

[0034] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0035] For ease of understanding, the specific process of the embodiment of the present invention is described below. It should be noted that the relevant steps of obtaining user personal information in the present invention are all performed with the user's authorization.

[0036] See also Figure 1 The first embodiment of the online payment and receipt method for logistics services in the embodiment of the present invention includes:

[0037] S101. Obtain order information, and obtain payment status of the collection of goods according to the order information;

[0038] In a specific scenario, after the deliveryman delivers the goods to the delivery location, the consignee needs to complete the payment and sign for the goods before the logistics order can be completed. At this time, the deliveryman can scan the order receipt information through the mobile terminal and send a request to the system to check the payment status of the collection of goods. After receiving the request from the deliveryman, the system will adjust the payment status of the collection of goods.

[0039] In addition to obtaining the payment status of the collection of goods by scanning the order information, the delivery person can also query by entering the order number on the delivery person's end system. In addition, in addition to querying through the main order, the system can also query through the sub-order, thereby improving the accuracy of the query. Specifically, when the number of digits entered or scanned is incorrect, the system will prompt and issue a prompt "Illegal waybill number!" If there is no waybill information, the system will prompt and issue a prompt "No recorded order information!", so that the delivery person can find the reason for the failure to query normally according to the prompt, thereby improving the efficiency of the receipt of goods for payment.

[0040] The order form information includes the logistics order number, order number, etc. These numbers are used as unique numbers for tracking logistics information. The payment status of the goods can be retrieved through the order number information in the order form information to ensure the accuracy of the information retrieval;

[0041] S102. Establish a receipt and payment process according to the payment status of the collection of goods, and output the receipt and payment process to obtain a payment receipt result;

[0042] In this embodiment, after the system adjusts the payment status of the received payment, it further establishes a signing-for-payment process. By establishing the signing-for-payment process, the delivery staff can make payment and settlement with the consignee on site according to the pre-established process, avoiding omissions in links and lack of necessary information confirmation, ensuring the security and effectiveness of the transaction process, and helping to reduce the occurrence of subsequent legal disputes.

[0043] S103. Update the payment status of the collection of goods according to the payment receipt result to obtain order completion information, and generate collection fee settlement information according to the order completion information.

[0044] After payment and receipt are completed, the system will update the order's payment status based on the payment receipt result, so that both the buyer and the seller can view the latest status through the system. The seller can view the collection information in time based on the payment status of the collection, so that customers can have more trust in the logistics company's collection service. The collection fee settlement information generated by the order completion information is used for the system to output to the financial system for automatic settlement, thereby ensuring that the payment can reach the seller's account in a timely and accurate manner.

[0045] In online transactions, buyers often hope to complete payments conveniently and quickly. The online payment and receipt method for logistics services provided by the present invention can use a third-party payment platform or a logistics company's online system to realize online payment and settlement of the payment. This payment method not only improves the convenience of payment, but also speeds up the arrival of payment, thereby improving the buyer's shopping experience. For sellers, the online payment collection model ensures that the seller can receive payment in time after the buyer confirms receipt of the goods through the fund escrow service of a third-party payment platform or a logistics company. This payment method reduces the risks faced by sellers due to untimely payment recovery and improves the efficiency of fund use. The present invention can not only improve logistics efficiency, but also shorten the logistics cycle and enhance user experience through automated processing and real-time tracking technology, and reduce user waiting time and unnecessary troubles by providing convenient collection services and payment methods.

[0046] See also Figure 2 The second embodiment of the online payment and receipt method for logistics services in the embodiment of the present invention includes:

[0047] S201. Obtain order information and extract order number information from the order information;

[0048] In this embodiment, the order number information may be a unique number such as a logistics order number or an order number. The logistics company records the delivery process of the logistics goods through the unique number. The present invention can automatically extract the order number information from the order form information to conveniently and quickly complete the entry of the order number information without manual input, thereby effectively improving operational efficiency and reducing the problem of entry errors.

[0049] Specifically, the delivery person can scan the barcode of the order receipt through a mobile device installed with the payment collection platform or upload a photo of the order receipt to the payment collection platform. The platform will automatically recognize the barcode and enter it automatically, which can effectively save the time of entering the order number and shorten the logistics cycle.

[0050] S202. Identify the number of digits of the order number information, and process the order number information according to the pre-established processing rules for different number of digits of the order number to obtain the request information;

[0051] In the same logistics company, due to different internal information management or in order to distinguish different business types, the number of digits of the waybill number or order number may not be uniform. For example, special business types, such as legal document mail, large international postal parcels, etc., use different number of digits from general domestic parcels to distinguish them. For another example, some logistics distribution main orders also include multiple sub-orders. In order to distinguish the main order and sub-orders, different number of digits can be used. For multiple numbers with different number of digits, it is necessary to establish processing rules in advance so that the system can effectively convert different types of numbers into recognizable digits. When the system can convert the number to a number of digits that meet the recognition requirements, it will be regarded as meeting the requirements and form request information with the converted number data.

[0052] S203: Match the request information with the database, and obtain the payment status of the collection of goods according to the matching result.

[0053] In this embodiment, the system matches the order number or the transcoded order number data in the request information with the database. If the database contains the corresponding COD payment status information, the COD payment status is output. If there is no corresponding waybill information, the system prompts "No waybill information!"; if there is no COD on the waybill, the system prompts "Not a COD item!".

[0054] See also Figure 3 The third embodiment of the method for online payment and receipt of logistics services in the embodiment of the present invention includes:

[0055] S301. Establish processing rules. If the number of digits in the order number meets the first condition, obtain the request information;

[0056] Specifically, the system can be set to allow scanning and matching of a 9-digit master order number, a 13-digit sub-order number, and an 18-digit encrypted sub-order barcode;

[0057] If the number of digits in the order number is 9 digits, the request information will be obtained directly;

[0058] S302. If the number of digits in the order number meets the second condition, obtain the main order information and all its sub-order information corresponding to the order information, match the main order information and all its sub-order information with the order number information to obtain the requested information;

[0059] For example, if the number of digits in the order number is 13, it means that the order number is a sub-order number. At this time, the system obtains these 13 digits as the sub-order call interface, obtains the main order corresponding to the sub-order and all the sub-order information of the main order, and then compares it with the currently scanned 13 digits. If there is no match, the sub-order does not exist. This ensures that the sub-order number can be correctly matched with the data in the database without omissions.

[0060] S303. If the number of digits in the order number meets the third condition, decrypt the number of digits according to the pre-established encryption rules to obtain the decryption result, obtain the main order information and all its sub-order information corresponding to the order information, match the main order information and all its sub-order information with the decryption result to obtain the requested information.

[0061] For example, if the number of digits in the order number is 18, it means that the order number is an encrypted sub-order number. When the system recognizes this type of order number, it decrypts the number of digits according to the encryption rules, takes the first 13 digits as the sub-order number after decryption, and further matches it with the main order information and its sub-order information in the database. By establishing processing rules according to different order number types, it can ensure that the data can be properly identified and processed.

[0062] See also Figure 4 The fourth embodiment of the online payment and receipt method for logistics services in the embodiment of the present invention includes:

[0063] S401. Establish a receipt and payment process according to the payment status of the collection of goods, obtain the SMS sending instruction and send a payment reminder SMS to the customer to obtain the sending result;

[0064] In a specific scenario, after the system establishes the receipt and payment process and sends it to the deliveryman, the deliveryman can see the receipt and payment process on the system's operation interface. If the process shows that the waybill has not been signed for and the receipt reminder SMS has not been sent on the same day, a "Click to send SMS" button will appear on the interface. After the deliveryman clicks it, the system obtains the SMS sending instruction and sends a payment reminder SMS to the customer, and feeds back the sending result to the deliveryman. At this time, a dialog box pops up on the deliveryman's operation interface saying "Payment reminder SMS has been sent to the recipient's mobile phone 159****5624!" The deliveryman clicks the confirmation button to enter the next node;

[0065] S402. Generate a payment code according to the sending result and output it to obtain the payment result;

[0066] The next node corresponds to the situation where the waybill has not been signed for and a reminder SMS has been sent on the same day. After the system completes the SMS sending, it further generates a payment code based on the sending result and sends the payment code to the delivery person. A button for showing the payment code appears on the delivery person's operation interface. The delivery person clicks the button for showing the payment code, and a selection box pops up. The delivery person chooses to show the payment code of payment platform A or payment platform B. Click one of them to obtain the payment code and display it on the page. The customer scans the payment code through the corresponding payment platform software to pay for the collection. Before completing the payment, the delivery person can click the payment code again on the operation interface, choose to close the payment code, and click the button for showing the payment code again, and the payment code will pop up again. In this embodiment, the payment code is obtained in real time. There is only one payment code for one order number at the same time. For example, the same payment code can be set to a 2-hour timeout limit, and a new payment code will be generated after 2 hours. One payment code is successfully paid once. When paying again, the collection system will first verify whether the order number is paid before deciding whether to present the payment code. The QR code can be presented multiple times before the payment is successfully confirmed. Scanning the payment code will display the payment amount. After the payment is successfully made, the system will receive the payment platform's arrival information (i.e., the payment result).

[0067] S403. Form and output the receipt confirmation information according to the payment result to obtain the receipt confirmation result;

[0068] The deliveryman can click the "Account Inquiry" button on the system operation interface to obtain the account status from the COD platform. If the account is successfully received, the system will pop up a dialog box "COD has been received!". After the deliveryman sees the message "COD has been received!", the user can further click the "Sign for Confirmation" button, and the system will obtain the signing confirmation result.

[0069] S404. Update the receipt and payment process according to the payment result and the receipt confirmation result to obtain the payment receipt result.

[0070] When the above process nodes are completed in sequence, the signature and payment process will be updated synchronously and displayed in the operation interface of the delivery staff system, buyer system and seller system, and the payment signature result will be obtained.

[0071] See also Figure 5 The fifth embodiment of the online payment and receipt method for logistics services in the embodiment of the present invention includes:

[0072] S501. Acquire key information associated with the order form information according to the sending result, the key information including order number, payment amount, merchant ID and timestamp;

[0073] In a specific application scenario, the system obtains all the information required to generate the payment code according to the sending result, which is the key information associated with the order form information;

[0074] These key information include but are not limited to: order number (OrderID), payment amount (Amount), merchant ID (MerchantID), and timestamp (Timestamp).

[0075] S502. Generate a random number based on the sending result, and concatenate the random number and key information to form a string;

[0076] The generation of random numbers can prevent replay attacks and effectively protect the security of payments. The following is an example of splicing:

[0077] Payload=MerchantID+OrderID+Amount+Timestamp+NoncePayload=MerchantID+OrderID+Amount+Timestamp+Nonce

[0078] S503. Perform hash processing on the string using a hash function to obtain a hash value;

[0079] The hash algorithm is irreversible, that is, the original input data cannot be derived from the hash value, which increases the security of the data. Commonly used hash functions include SHA-256, SHA-512, etc. Here we take SHA-256 as an example:

[0080] Digest=SHA256(Payload)Digest=SHA256(Payload)

[0081] S504. Use a payment code generation tool to create a payment code according to the key information and the hash value, and output the payment code to obtain a payment result.

[0082] Specifically, the order number, merchant ID and hash value can be combined to form the final payment code content, for example:

[0083] QRCodeContent=MerchantID+OrderID+DigestQRCodeContent=MerchantID+OrderID+Digest

[0084] Finally, a payment code generation tool is used to encode the above content into a payment code format. Specifically, a QR code generation tool (such as Google's ZXing project or Python's qrcode library) can be used to encode the payment code content into a QR code format.

[0085] See also Figure 6 The sixth embodiment of the online payment and receipt method for logistics services in the embodiment of the present invention includes:

[0086] S601. Obtain the delivery address, delivery personnel and outlet information of the order information according to the payment result, match the outlet information with the delivery address, and determine whether it exceeds the service scope of the outlet;

[0087] In this embodiment, after obtaining the payment result, the system will also verify the service scope of the delivery person to determine whether it exceeds the service scope of the delivery person and the corresponding outlet. The system can obtain the address of the outlet to which the delivery person belongs and further obtain its service scope information. The system can obtain its geographic coordinates based on the delivery address, and match the geographic coordinates with the service scope of the outlet to determine whether it exceeds the service scope of the outlet.

[0088] S602. If it exceeds the service range of the outlet, send a prompt message to the delivery person to obtain abnormal receipt instructions

[0089] S603. Construct an abnormal receipt information registration table according to the abnormal receipt instruction, and output the abnormal receipt information registration table to obtain a receipt confirmation result.

[0090] Specifically, if the system determines that a signature is abnormal, a new "Abnormal Signature" button will be added to the delivery person's operating system. After clicking it, the operation interface will jump to the signature scan-abnormal signature details page.

[0091] During the operation, when the delivery person clicks the "Sign for" button, the signature scan upload interface is called up, and a pop-up window prompts "Sign for delivery across outlets is not allowed, please perform abnormal signing";

[0092] The deliveryman clicks the "Abnormal Signature" button to enter the Signature Scan-Abnormal Signature Details page, which will bring up the basic information of the waybill. The deliveryman needs to complete the information such as the signatory, abnormal signature type, etc.

[0093] After clicking the "OK" button to confirm, the signature scan is retrieved and uploaded to the system. The signature is successful and the system obtains the signature confirmation result.

[0094] By establishing abnormal receipt inspection, we can effectively track, record and remind orders across the service scope, thereby effectively avoiding accidents such as incorrect delivery addresses and delivery errors.

[0095] See also Figure 7 The seventh embodiment of the online payment and receipt method for logistics services in the embodiment of the present invention includes:

[0096] S701. Update the payment status of the collection of goods according to the payment receipt result to obtain order completion information;

[0097] After receiving the payment signature result, the system will promptly update the collection payment status of the logistics order, so that both the buyer and the seller can immediately see the latest status and understand the progress, making both parties feel more secure.

[0098] S702. Obtain the service outlet information, delivery person information and collection amount of the order according to the order completion information;

[0099] S703. Associate the collection amount with the service outlet information and the delivery person information to generate collection fee settlement information.

[0100] In this embodiment, after the collection of the logistics order is signed, the system further obtains the service outlet information, delivery personnel information and the amount of the collection, and associates the above information to facilitate the subsequent fee settlement. The back-end system allocates the collected funds to the collection outlet and courier responsible for the delivery of the order according to the business rules. This step involves the automatic settlement function of the financial system to ensure that the funds reach the accounts of relevant personnel in a timely and accurate manner.

[0101] The above describes the online payment receipt method for logistics services in the embodiment of the present invention. The following describes the online payment receipt device for logistics services in the embodiment of the present invention. Figure 8 In one embodiment of the present invention, an online payment and receipt device for logistics services includes:

[0102] An acquisition module 10 is used to acquire order receipt information and acquire the payment status of the collection of goods according to the order receipt information;

[0103] Establishing module 20, used to establish a receipt and payment process according to the payment status of the collection of goods, and output the receipt and payment process to obtain a payment receipt result;

[0104] The generating module 30 is used to update the payment status of the collection of goods according to the payment receipt result to obtain order completion information, and generate collection fee settlement information according to the order completion information.

[0105] See also Fig. 9 In one embodiment of the present invention, an online payment and receipt device for logistics services includes:

[0106] An acquisition module 10 is used to acquire order receipt information and acquire the payment status of the collection of goods according to the order receipt information;

[0107] Establishing module 20, used to establish a receipt and payment process according to the payment status of the collection of goods, and output the receipt and payment process to obtain a payment receipt result;

[0108] A generating module 30 is used to update the payment status of the collection of goods according to the payment receipt result to obtain order completion information, and generate collection fee settlement information according to the order completion information;

[0109] In this embodiment, the acquisition module 10 includes:

[0110] Extraction submodule 11, used to obtain order form information and extract order number information from the order form information;

[0111] The processing submodule 12 is used to identify the number of digits of the order number information, and process the order number information according to different number of digits according to the pre-established processing rules to obtain the request information;

[0112] A matching submodule 13 is used to match the request information with the database and obtain the payment status of the collection of goods according to the matching result;

[0113] In this embodiment, the processing submodule 12 includes:

[0114] The first judgment unit 121 is used to establish a processing rule, and obtain the request information if the number of digits of the single number meets the first condition;

[0115] The second judgment unit 122 is used to obtain the main order information and all the sub-order information corresponding to the order information if the number of digits of the order number meets the second condition, and match the main order information and all the sub-order information with the order number information to obtain the requested information;

[0116] The third judgment unit 123 is used to decrypt the number of digits of the order number according to a pre-established encryption rule to obtain a decryption result if the number of digits of the order number meets the third condition, obtain the main order information and all sub-order information corresponding to the order form information, and match the main order information and all sub-order information with the decryption result to obtain the request information;

[0117] In this embodiment, the establishment module 20 includes:

[0118] Establish submodule 21, which is used to establish a receipt and payment process according to the payment status of the collection of goods, obtain the SMS sending instruction and send a payment reminder SMS to the customer to obtain the sending result;

[0119] A generating submodule 22, used to generate a payment code according to the sending result and output it to obtain a payment result;

[0120] The receipt submodule 23 is used to generate and output receipt confirmation information according to the payment result to obtain a receipt confirmation result;

[0121] An updating submodule 24 is used to update the receipt and payment process according to the payment result and the receipt confirmation result, and obtain the payment receipt result;

[0122] In this embodiment, the generating submodule 22 includes:

[0123] The acquisition unit 221 is used to acquire key information associated with the order form information according to the sending result, wherein the key information includes the order number, the payment amount, the merchant ID and the timestamp;

[0124] A concatenation unit 222, configured to generate a random number according to the sending result, and concatenate the random number and key information to form a character string;

[0125] The encryption unit 223 is used to perform hash processing on the string using a hash function to obtain a hash value;

[0126] A creation unit 224 is used to use a payment code generation tool to create a payment code according to the key information and the hash value, and output the payment code to obtain a payment result;

[0127] In this embodiment, the signing submodule 23 includes:

[0128] A matching unit 231 is used to obtain the delivery address, the delivery person and the outlet information of the order information according to the payment result, match the outlet information with the delivery address, and determine whether it exceeds the service range of the outlet;

[0129] Prompt unit 232, used to send a prompt message to the delivery person to obtain an abnormal receipt instruction if the delivery exceeds the service range of the outlet;

[0130] A collecting unit 233 is used to construct an abnormal receipt information registration table according to the abnormal receipt instruction, and output the abnormal receipt information registration table to obtain a receipt confirmation result;

[0131] In this embodiment, the generating module 30 includes:

[0132] An updating unit 31 is used to update the payment status of the collection of goods according to the payment receipt result to obtain order completion information;

[0133] Extraction unit 32, used to obtain the service outlet information, delivery person information and collection amount of the order according to the order completion information;

[0134] The association unit 33 is used to associate the collection amount with the service outlet information and the delivery person information to generate collection fee settlement information.

[0135] The online payment and receipt device for logistics services of the present invention has the following beneficial effects:

[0136] 1. Improve efficiency: Online payment collection uses an automated payment system to achieve instant or rapid payment, greatly shortening the transaction cycle.

[0137] 2. Improve security: The present invention uses a third-party payment platform or logistics company as an intermediary to entrust transaction funds, thereby reducing the risk of fraud in direct transactions.

[0138] 3. Enhance trust: It provides a fair and transparent trading environment for buyers and sellers, which helps to build a trusting relationship.

[0139] 4. Data security and financial management: The online platform established by the present invention can also easily manage collection records and transaction data, facilitate financial reconciliation and report generation, analyze sales conditions, and optimize business strategies.

[0140] The above is a detailed description of the online payment and receipt device for logistics services in an embodiment of the present invention from the perspective of modular functional entities. The following is a detailed description of the online payment and receipt device for logistics services in an embodiment of the present invention from the perspective of hardware processing.

[0141] Fig.10 A schematic diagram of the structure of a logistics business online payment signing device provided in an embodiment of the present invention, the logistics business online payment signing device 900 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 910 (for example, one or more processors) and a memory 920, and one or more storage media 930 (for example, one or more mass storage devices) storing application programs 933 or data 932. Among them, the memory 920 and the storage medium 930 can be temporary storage or permanent storage. The program stored in the storage medium 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the logistics business online payment signing device 900. Furthermore, the processor 910 can be configured to communicate with the storage medium 930, and execute a series of instruction operations in the storage medium 930 on the logistics business online payment signing device 900 to implement the steps of the logistics business online payment signing method provided in the above-mentioned method embodiments.

[0142] The logistics service online payment receipt device 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input and output interfaces 960, and / or one or more operating systems 931, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will appreciate that Fig.10The structure of the online payment receipt device for logistics services shown does not constitute a limitation on the online payment receipt device for logistics services, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0143] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the online payment and receipt method for logistics services.

[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the equipment or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0145] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0146] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.

Claims

1. A method for online payment and receipt of logistics services, characterized in that: The steps include: Obtain order receipt information, and obtain the payment status of the collection of goods based on the order receipt information; Establish a receipt and payment process according to the payment status of the collection of goods, and output the receipt and payment process to obtain a payment receipt result; The payment status of the collection of goods is updated according to the payment receipt result to obtain order completion information, and the collection fee settlement information is generated according to the order completion information.

2. The online payment and receipt method for logistics services according to claim 1, characterized in that: The obtaining of order receipt information and obtaining the payment status of the collection of goods according to the order receipt information specifically includes: Get the order information and extract the order number information from it; Identify the number of digits of the order number information, and process the order number information according to the pre-established processing rules according to the number of digits of the order number to obtain the requested information; The request information is matched with the database, and the payment status of the collection of goods is obtained according to the matching result.

3. The method for online payment and receipt of logistics services according to claim 2, characterized in that: The identification of the number of digits of the order number information, and processing the order number information according to different number of digits of the order number according to a pre-established processing rule to obtain the request information specifically include: Establish processing rules. If the number of digits in the order number meets the first condition, obtain the requested information. If the number of digits in the order number meets the second condition, obtain the main order information and all its sub-order information corresponding to the order base information, and match the main order information and all its sub-order information with the order number information to obtain the requested information; If the number of digits in the order number meets the third condition, the number of digits is decrypted according to the pre-established encryption rules to obtain the decryption result, the main order information and all its sub-order information corresponding to the order information are obtained, and the main order information and all its sub-order information are matched with the decryption result to obtain the requested information.

4. The online payment and receipt method for logistics services according to claim 1, characterized in that: The step of establishing a receipt and payment process according to the payment status of the collection of goods, and outputting the receipt and payment process to obtain a payment receipt result specifically includes: Establish a receipt and payment process based on the payment status of the COD, obtain SMS sending instructions and send payment reminder SMS to the customer to obtain the sending result; Generate a payment code according to the sending result and output it to obtain the payment result; Form the receipt confirmation information according to the payment result and output it to obtain the receipt confirmation result; Update the receipt and payment process according to the payment result and receipt confirmation result to obtain the paid receipt result.

5. The method for online payment and receipt of logistics services according to claim 4, characterized in that: The step of generating and outputting a payment code according to the sending result to obtain a payment result specifically includes: Acquire key information associated with the order form information according to the sending result, wherein the key information includes order number, payment amount, merchant ID and timestamp; Generate a random number according to the sending result, and concatenate the random number and key information to form a character string; Using a hash function to perform hash processing on the string to obtain a hash value; A payment code generation tool is used to create a payment code according to the key information and the hash value, and the payment code is output to obtain a payment result.

6. The method for online payment and receipt of logistics services according to claim 4, characterized in that: The step of forming and outputting the receipt confirmation information according to the payment result to obtain the receipt confirmation result specifically includes: According to the payment result, the delivery address, the delivery person and the outlet information of the order information are obtained, and the outlet information is matched with the delivery address to determine whether it exceeds the service scope of the outlet; If it exceeds the service range of the outlet, a prompt message will be sent to the delivery person to obtain abnormal signing instructions; Construct an abnormal receipt information registration form according to the abnormal receipt instruction, and output the abnormal receipt information registration form to obtain the receipt confirmation result.

7. The online payment and receipt method for logistics services according to claim 1, characterized in that: The payment status of the collection of goods is updated according to the payment receipt result to obtain order completion information, and the collection fee settlement information is generated according to the order completion information, specifically including: The payment status of the collection of goods is updated according to the payment receipt result to obtain order completion information; Obtain the order's service outlet information, delivery person information, and collection amount based on the order completion information; The collection amount is associated with the service outlet information and the delivery person information to generate collection fee settlement information.

8. A logistics service online payment and receipt device, characterized in that: include: An acquisition module is used to acquire order receipt information and acquire the payment status of the collection of goods according to the order receipt information; Establishing a module, used to establish a receipt and payment process according to the payment status of the collection of goods, and output the receipt and payment process to obtain a payment receipt result; A generation module is used to update the payment status of the collection of goods according to the payment receipt result to obtain order completion information, and generate collection fee settlement information according to the order completion information.

9. A logistics service online payment and receipt device, characterized in that: comprising a memory and at least one processor, wherein the memory has computer-readable instructions stored therein; The at least one processor calls the computer-readable instructions in the memory to execute the various steps of the online payment and receipt method for logistics services as described in any one of claims 1-7.

10. A computer-readable storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by the processor, the various steps of the online payment and receipt method for logistics services as described in any one of claims 1-7 are implemented.