Mail sending method, device, equipment and medium

CN118486116BActive Publication Date: 2026-09-11SHENZHEN HIVE BOX NETWORK TECH LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410488386.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2026-09-11
Estimated Expiration
2044-04-22

AI Technical Summary

Technical Problem

[0003]设置一种可以快速接入新的物流公司,以服务新客户的SaaS服务端是本领域技术人员急需解决的问题

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118486116B_ABST
    Figure CN118486116B_ABST
Patent Text Reader

Abstract

The application discloses a kind of mail sending method, device, equipment and medium, the method includes after receiving the weight information sent by weighing equipment, weight information is sent to logistics company by weight API interface;After receiving the mail order information sent by logistics company through business order API interface, the parameter verification of each mail order information is carried out through target SaaS platform, and mail sending verification result is obtained;Mail order information is generated by the logistics company according to mail information and the weight information;After mail sending verification result characterizes that mail order information is correct, open door mail sending instruction is sent to cabinet machine, and mail sending processing result is received by cabinet machine for open door mail sending instruction feedback.The application realizes quickly completing article weighing and article mail sending by the interface call of weight API interface and business order API interface of target SaaS platform, so as to realize the maximum use of the resources and business of logistics company, and then realize the quick occupation of market.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of logistics technology, and in particular to a method, apparatus, equipment and medium for sending packages. Background Technology

[0002] In existing technologies, when serving customers of a logistics company in a new country, it is necessary to connect with the data of logistics companies in that country that support parcel delivery. This includes information such as courier data, parcel delivery services and pricing systems, value-added services, payment methods, and order placement, in order to provide a complete solution. However, this connection process is relatively slow, resulting in a long integration time, which is not conducive to rapid deployment to serve customers of logistics companies in new countries. Furthermore, it requires a significant investment of development resources, which is not conducive to reducing development costs. Summary of the Invention

[0003] Setting up a SaaS server that can quickly connect to new logistics companies to serve new customers is a problem that urgently needs to be solved by those skilled in the art.

[0004] This invention provides a method, apparatus, device, and medium for sending packages, in order to solve the problems in the prior art where the long time required to connect to a new logistics company leads to slow deployment and the increased development costs due to customized SaaS server development.

[0005] A method of sending mail includes:

[0006] After receiving the weight information from the weighing device, the weight information is sent to the logistics company through the weight API interface; the weight information is obtained by weighing the items after the customer scans the QR code on the cabinet and fills in the shipping information on their mobile device.

[0007] After receiving the shipping order information sent by the logistics company through the business order API interface, the target SaaS platform performs parameter verification on the shipping order information to obtain the shipping verification result; the shipping order information is generated by the logistics company based on the shipping information and the weight information;

[0008] When the parcel verification result indicates that the parcel order information is correct, an opening parcel delivery instruction is sent to the locker, and the parcel processing result fed back by the locker in response to the opening parcel delivery instruction is received.

[0009] A mail sending device, comprising:

[0010] The item weighing module is used to send the weight information to the logistics company through the weight API interface after receiving the weight information sent by the weighing device. The weight information is obtained by weighing the item after the customer scans the QR code on the cabinet and fills in the shipping information on the customer's mobile device.

[0011] The shipment verification module is used to receive shipment order information sent by the logistics company through the business order API interface, and then perform parameter verification on the shipment order information through the target SaaS platform to obtain the shipment verification result; the shipment order information is generated by the logistics company based on the shipment information and the weight information;

[0012] The parcel processing module is used to send an opening parcel sending instruction to the cabinet when the parcel sending verification result indicates that the parcel sending order information is correct, and to receive the parcel sending processing result fed back by the cabinet in response to the opening parcel sending instruction.

[0013] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described sending method.

[0014] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described sending method.

[0015] This invention provides a method, apparatus, equipment, and medium for sending parcels. By receiving weight information from a weighing device and transmitting it to a logistics company via a weight API interface, the invention enables the logistics company to calculate parcel fees based on the weight information, solving the problem of unreasonable charges caused by the inability of lockers to weigh parcels in existing technologies. The invention verifies the parcel order information received from the business order API interface through a target SaaS platform, ensuring the accuracy of the order information. After the parcel verification result indicates that the order information is correct, an open parcel sending command is sent to the locker, controlling the opening of the compartment and thus enabling the storage of the parcel. This also allows for the receipt of the parcel processing result from the locker. Furthermore, by calling the weight API and business order API interfaces of the target SaaS platform, the invention enables rapid weighing and parcel sending, maximizing the utilization of the logistics company's resources and business, and thus enabling rapid market penetration. Attached Figure Description

[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention 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.

[0017] Figure 1 This is a flowchart of a mail sending method in one embodiment of the present invention;

[0018] Figure 2 This is a schematic block diagram of the mail sending device in one embodiment of the present invention;

[0019] Figure 3 This is a schematic diagram of a computer device according to an embodiment of the present invention. Detailed Implementation

[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. 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.

[0021] This invention provides a method for sending mail, in one embodiment, such as... Figure 1 As shown, its technical solution mainly includes the following steps:

[0022] S10: After receiving the weight information sent by the weighing device, the weight information is sent to the logistics company through the weight API interface; the weight information is obtained by weighing the items to be sent after the customer scans the QR code on the cabinet and fills in the shipping information on the customer's mobile terminal.

[0023] In essence, weighing equipment refers to devices used to weigh items. Weight information refers to the weight value obtained by the weighing equipment when weighing an item. This weight information is obtained after the customer scans the QR code on the locker and fills in their shipping information on their mobile device, and then the weighing equipment weighs the item. The weight API interface is a network programming interface used to transmit weight information between the logistics company and the target SaaS platform. A locker refers to a device such as a parcel locker or parcel box. Shipping information refers to the information required when shipping a parcel, such as the sender, sender's address, recipient, recipient's address, and recipient's contact information.

[0024] API generally refers to Application Programming Interface. An Application Programming Interface (API) is a set of predefined functions designed to provide applications and developers with the ability to access a set of routines based on certain software or hardware, without needing to access the source code or understand the details of the internal workings.

[0025] SaaS platforms refer to Software as a Service. Software as a Service (SaaS) allows users to access cloud-based applications via an internet connection. It eliminates the need for users to install software on their own computers or servers. SaaS provides complete software solutions that users can purchase from cloud service providers on a pay-as-you-go basis.

[0026] Specifically, when a user needs to send a package, they can view the location of the locker on the logistics company's mobile app. Then, they scan the QR code displayed on the locker, which redirects them to a package order page. On this page, the user fills in the shipping information and selects the logistics company's service. Next, the package is placed on the locker's weighing device, which weighs the item and reports the weight information to the target SaaS platform. Upon receiving the weight information, the target SaaS platform calls the weight API via the logistics company's API callback address to send the weight information to the logistics company, allowing the logistics company to determine payment based on the shipping and weight information.

[0027] S20: After receiving the shipping order information sent by the logistics company through the business order API interface, the logistics company performs parameter verification on the shipping order information through the target SaaS platform to obtain the shipping verification result; the shipping order information is generated by the logistics company based on the shipping information and the weight information.

[0028] Understandably, the shipment verification result refers to whether the shipment order information is correct. The shipment order information is generated by the logistics company based on the shipment details and weight information. The business order API interface is a network programming interface used to transmit order information between the logistics company and the target SaaS platform. The target SaaS platform refers to a platform that provides software applications and related services to users through a cloud server.

[0029] Specifically, after receiving the shipping order information sent by the logistics company through the business order API interface, the target SaaS platform performs parameter verification on the shipping order information, that is, verifies the information in the shipping order information. It compares the shipping order information sent by the logistics company with the received shipping information to determine whether the shipping order information is correct, thus obtaining the shipping verification result. Specifically, after receiving the weight information, the logistics company calculates the shipping payment price based on the weight information, pick-up and drop-off address, value-added services, and compartment type, thereby obtaining the shipping order information. After the user successfully places an order through the customer's mobile terminal, the shipping order information is sent to the target SaaS platform.

[0030] S30, when the parcel verification result indicates that the parcel order information is correct, a parcel opening instruction is sent to the cabinet, and the parcel processing result fed back by the cabinet in response to the parcel opening instruction is received.

[0031] Understandably, the "open parcel delivery instruction" refers to the command issued by the locker machine to open the parcel compartment. The parcel delivery processing result is used to indicate whether the compartment has been opened.

[0032] Specifically, when the parcel verification result indicates that the parcel order information is correct, the target SaaS platform records the parcel order information. Then, based on the slot data in the parcel order information, it sends an open parcel delivery command to the locker to open the slot in the locker selected by the logistics company, and receives the parcel processing result from the locker in response to the open parcel delivery command. In another embodiment, the target SaaS platform allocates available slots in the locker using the parcel order information recorded, sends an open parcel delivery command to the locker, and receives the parcel processing result from the locker in response to the open parcel delivery command.

[0033] In this embodiment of the invention, by receiving weight information from a weighing device and sending it to a logistics company via a weight API interface, the logistics company can calculate shipping fees based on the weight information, solving the problem of unreasonable charges caused by the inability of lockers to weigh items in existing technologies. The target SaaS platform verifies the shipping order information received via the business order API interface, ensuring the accuracy of the shipping order information. After the shipping order information is verified to be correct, an open-door shipping command is sent to the locker, controlling the opening of the compartment and allowing the storage of the shipped item. This also enables the receipt of the shipping processing result from the locker. Furthermore, by calling the weight API and business order API interfaces of the target SaaS platform, rapid weighing and shipping of items are achieved, maximizing the utilization of the logistics company's resources and business, and thus enabling rapid market penetration.

[0034] In one embodiment, after step S30, i.e., after receiving the parcel processing result from the locker in response to the door-opening parcel delivery instruction, the process includes:

[0035] S40, when the parcel processing result indicates that the locker compartment has been opened, the parcel order status corresponding to the parcel order information is modified to obtain the modified parcel order status.

[0036] S50, the modified shipping order status is fed back to the logistics company through the business order API interface, so that the logistics company can confirm the successful delivery of the shipped item based on the modified shipping order status.

[0037] Understandably, the revised shipment order status means that the shipped item has been stored in the compartment.

[0038] Specifically, after receiving the parcel processing result from the locker in response to the parcel opening command, the parcel processing result is analyzed to confirm its status. When the parcel processing result indicates that the locker compartment is open, the target SaaS platform modifies the parcel order status corresponding to the parcel order information. That is, the original parcel order status (if the parcel was not sent) is changed to a parcel order status (if the parcel has been placed in the compartment), thus obtaining the modified parcel order status. Then, the business order API interface is called through the API callback address connected to the logistics company. The modified parcel order status is then fed back to the logistics company through the business order API interface. The logistics company can then confirm successful parcel delivery based on the modified parcel order status, which indicates that the locker compartment is open and the parcel has been placed in the compartment. In other words, in this embodiment, the parcel processing result determines that the locker compartment is open, thus modifying the parcel order status. This allows the business order API interface to feed back the modified parcel order status to the logistics company, thereby enabling the logistics company to confirm successful parcel delivery.

[0039] In one embodiment, after step S30, i.e. after receiving the parcel processing result from the locker in response to the door-opening parcel delivery instruction, the method further includes:

[0040] S60, when the parcel processing result indicates that the locker compartment is not open, the parcel order status is fed back to the logistics company through the business order API interface, so that the logistics company can confirm the delivery failure of the parcel based on the parcel order status.

[0041] Specifically, after receiving the parcel processing result from the locker in response to the parcel opening command, the parcel processing result is analyzed to confirm its status. If the parcel processing result indicates that the locker compartment is not open, the business order API interface is called via the API callback address connected to the logistics company. This allows the logistics company to report the parcel order status to the logistics company, confirming delivery failure based on the parcel order status (i.e., the compartment is not open and the parcel is not placed in the compartment). When delivery fails, the user is prompted to resubmit. In other words, in this embodiment, by determining that the locker compartment is not open based on the parcel processing result, the business order API interface reports the parcel order status to the logistics company, thereby enabling the logistics company to confirm delivery failure.

[0042] In one embodiment, after step S50, that is, after the modified shipping order status is fed back to the logistics company through the business order API interface so that the logistics company can confirm the successful delivery of the shipped item based on the modified shipping order status, the method further includes:

[0043] S70, receive the pending pickup information sent by the logistics company, and perform parameter verification on the order information in the pending pickup information through the target SaaS platform to obtain the pickup verification result; the pending pickup information is the pickup list displayed after scanning the QR code on the cabinet by the working mobile terminal, and the order information of the pickup is selected and sent back to the logistics company.

[0044] S80, when the package verification result indicates that the information of each package to be packaged is correct, an opening package collection instruction is issued to the cabinet, and the package processing result fed back by the cabinet in response to the opening package collection instruction is received.

[0045] S90, when the package pickup processing result indicates that the cabinet slot has been opened, the pickup order status corresponding to the package to be picked up is modified to obtain the modified pickup order status, and the modified pickup order status is fed back to the logistics company so that the logistics company can confirm that the package to be picked up has been successfully picked up based on the modified pickup order status.

[0046] Understandably, the pickup verification result refers to confirming whether the pickup information is correct during pickup. Pending pickup information refers to the order information for which the item is selected for pickup. The pickup opening instruction refers to the command issued during pickup to open the compartment door. The pickup processing result refers to whether the compartment door has been opened. The modified pickup order status indicates that the item has been picked up.

[0047] Specifically, when a courier picks up a package, they use the logistics company's mobile app to scan the QR code displayed on the locker. This redirects them to a pickup page, where they select the order information from the pickup list and send it back to the logistics company. The logistics company then confirms the selected order information as the pickup item. Next, the logistics company sends the pickup information to the target SaaS platform via the pickup service API. Upon receiving the pickup information from the logistics company, the target SaaS platform verifies the parameters of each order within the pickup information. This involves first verifying the pickup personnel's identity. If the personnel's information is correct, the platform then verifies the order information within the pickup information against the order information recorded on the target SaaS platform, thus obtaining the pickup verification result. Finally, if the pickup verification result indicates that the pickup information is correct, the courier issues an open pickup command to the locker containing the order information, opening the locker and receiving the pickup processing result from the locker.

[0048] Furthermore, when the pickup processing result indicates that the locker compartment is open, the pickup order status corresponding to the order information in the pending pickup information is modified, that is, the pickup order status is changed from "not picked up" to "successfully picked up," thus obtaining the modified pickup order status. This modified pickup order status is then fed back to the logistics company so that the logistics company can confirm that the pending pickup information has been successfully picked up. Conversely, if the pickup verification result indicates that the pending pickup information is incorrect, the pickup verification result for that order information is fed back to the logistics company so that the logistics company can confirm the pickup failure based on the incorrect pickup verification result. And if the pickup processing result indicates that the locker compartment is not open, the pickup order status is determined to be "pickup failure," and this failed pickup order status is fed back to the logistics company.

[0049] In this embodiment, the pickup verification result is determined by verifying the parameters of the pickup information sent by the logistics company. When the pickup verification result indicates that all pickup information is correct, an opening pickup command is issued to the locker, thus realizing the pickup of the items and receiving the pickup processing result. When the pickup processing result indicates that the locker compartment is open, the pickup order status is modified, and the modified pickup order status is fed back to the logistics company, thereby confirming that the pickup information has been successfully picked up.

[0050] In one embodiment, before step S10, i.e. before receiving the weight information sent by the weighing device, the method further includes:

[0051] S101, After determining the national language of the region where the logistics company is located, configure the platform language in the target SaaS platform according to the national language.

[0052] S102, receive the authorization code application request from the logistics company, review the authorization code application request, and send the review result back to the logistics company.

[0053] S103, when the review result indicates that the request has been approved, if the customer's mobile terminal and the work mobile terminal are received from the logistics company, a QR code corresponding to each of the jump addresses is generated in the target SaaS platform according to the jump address, so as to redirect the address through the QR code when sending or picking up the package.

[0054] Understandably, "national language" refers to the language of each country, such as English and French. "Platform language" refers to the language displayed on the target SaaS platform. "Redirect address" refers to the address used to navigate from one page to another. "QR code" refers to the method used for address redirection. "Authorization code request" refers to the request used to apply for access to the target SaaS platform. "Review result" indicates whether the logistics company's request was approved.

[0055] Specifically, when a logistics company enters a new country, it sends its location and the language of that country to the target SaaS platform. The target SaaS platform then configures its language accordingly, setting it to the language of the logistics company's location. Next, the platform receives and reviews the authorization code request from the logistics company, verifying the accuracy of the logistics company's information within the request. The review result is then sent back to the logistics company.

[0056] Furthermore, if the review result fails, you can inquire with customer service, reapply, or modify the error message and reapply. When the review result request is approved, an authorization code is sent to the logistics company. The logistics company then configures the redirect addresses for both the customer's and work's mobile devices and sends these addresses to the target SaaS platform. The target SaaS platform then generates QR codes corresponding to each redirect address. Specifically, it generates a QR code for the customer's mobile device based on the redirect address, and a QR code for the work's mobile device based on the redirect address, allowing users to redirect to the correct address when sending a package or staff to pick it up.

[0057] In this embodiment, by determining the national language of the region where the logistics company is located, the platform language of the target SaaS platform is configured. The authorization code application request is reviewed to determine whether the logistics company is allowed to access the target SaaS platform, thereby determining the review result and ultimately generating the QR codes corresponding to each redirect address.

[0058] In one embodiment, after step S102 and before the audit result is sent back to the logistics company, the method further includes:

[0059] S104, when the audit result indicates that the request has passed, generate the customer's mobile terminal jump link, the work mobile terminal jump link, the device API interface, and the API interface callback address in the target SaaS platform.

[0060] S105, the audit result, the redirect link on the customer's mobile device, the redirect link on the work mobile device, the device API interface, and the API interface callback address are fed back to the logistics company.

[0061] Understandably, a redirect link is a link that jumps from one page to another. Device API interface refers to the API interface of the cabinet and the storage compartment. API interface callback address refers to the address used to call back the API interface.

[0062] Specifically, when the review result indicates that the request has passed, the redirect links for the customer's mobile app, the work app, the device API interface, and the API callback address on the target SaaS platform are configured to obtain these links. Then, the configured redirect links are sent back to the logistics company. In other words, this embodiment implements the configuration of the redirect links for the customer's mobile app, the work app, the device API interface, and the API callback address on the target SaaS platform, thereby enabling feedback from the logistics company.

[0063] In one embodiment, after step S105, i.e., after feeding back the audit result, the redirect link on the customer's mobile device, the redirect link on the work mobile device, the device API interface, and the API interface callback address to the logistics company, the method further includes:

[0064] S106. After receiving the interface call request sent by the logistics company, the weight API interface and business order API interface are generated on the target SaaS platform according to the weight information request and order processing request in the interface call request; the interface call request is generated by the logistics company after querying cabinet information and compartment information according to the equipment API interface.

[0065] S107, the weight API interface and the business order API interface are fed back to the logistics company so that the logistics company can process the business order according to the weight API interface and the business order API interface.

[0066] Understandably, the API call request is generated by the logistics company after querying the cabinet and compartment information based on the equipment API interface. The weight information request refers to the request used to generate the weight API interface. The order processing request refers to the request used to generate the business order API interface.

[0067] Specifically, after the review results, the customer's mobile app redirect link, the work mobile app redirect link, the equipment API interface, and the API interface callback address are fed back to the logistics company, the logistics company queries the cabinet information and slot information based on the equipment API interface. Specifically, it queries the cabinet code, cabinet template, and cabinet deployment address, as well as the quantity of each slot type and the quantity of each slot type, and obtains the number of available slots. Then, based on the cabinet and slot information, it generates an API call request and sends it to the target SaaS platform. Upon receiving the API call request from the logistics company, the target SaaS platform parses the request to obtain the request type, which includes the weight information request and the order processing request. Next, the target SaaS platform generates a weight API interface corresponding to the weight information request and a business order API interface corresponding to the order processing request.

[0068] Furthermore, the weight API and business order API are fed back to the logistics company so that the logistics company can process business orders based on these APIs. In other words, information is transferred between the logistics company and the target SaaS platform through these APIs. Specifically, in this embodiment, the generation of the weight API and business order API is achieved through the weight information request and order processing request in the API call request, thereby enabling the feeding back of these APIs to the logistics company and facilitating information transfer between the two.

[0069] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0070] In one embodiment, a mail sending device is provided, which corresponds one-to-one with the mail sending methods described in the above embodiments. For example... Figure 2 As shown, the parcel dispatching device includes an item weighing module 10, a parcel verification module 20, and a parcel processing module 30. Detailed descriptions of each functional module are as follows:

[0071] The item weighing module 10 is used to send the weight information to the logistics company through the weight API interface after receiving the weight information sent by the weighing device. The weight information is obtained by weighing the item after the customer scans the QR code on the cabinet and fills in the shipping information on the customer's mobile terminal.

[0072] The shipment verification module 20 is used to receive the shipment order information sent by the logistics company through the business order API interface, and then perform parameter verification on the shipment order information through the target SaaS platform to obtain the shipment verification result; the shipment order information is generated by the logistics company based on the shipment information and the weight information;

[0073] The parcel processing module 30 is used to send an opening parcel sending instruction to the cabinet when the parcel sending verification result indicates that the parcel sending order information is correct, and to receive the parcel processing result fed back by the cabinet in response to the opening parcel sending instruction.

[0074] In one embodiment, the device further includes:

[0075] The parcel status modification module is used to modify the parcel order status corresponding to the parcel order information when the parcel processing result indicates that the locker compartment has been opened, so as to obtain the modified parcel order status.

[0076] The delivery success module is used to send the modified shipping order status back to the logistics company through the business order API interface, so that the logistics company can confirm the successful delivery of the shipped item based on the modified shipping order status.

[0077] In one embodiment, the device further includes:

[0078] The delivery failure module is used to send the status of the parcel order to the logistics company through the business order API interface when the parcel processing result indicates that the locker compartment is not open, so that the logistics company can confirm the delivery failure of the parcel based on the parcel order status.

[0079] In one embodiment, the device further includes:

[0080] The language configuration module is used to configure the platform language in the target SaaS platform according to the national language of the region where the logistics company is located after determining the national language;

[0081] The request review module is used to receive authorization code application requests from logistics companies, review the authorization code application requests, and return the review results to the logistics companies.

[0082] The QR code generation module is used to generate a QR code corresponding to each of the redirect addresses in the target SaaS platform when the review result indicates that the request has been approved. If the module receives the redirect addresses of the customer's mobile terminal and the work mobile terminal sent by the logistics company, the module will generate a QR code in the target SaaS platform to redirect the address when sending or picking up the package.

[0083] In one embodiment, the request review module further includes:

[0084] The information generation unit is used to generate, in the target SaaS platform, a jump link for the customer's mobile terminal, a jump link for the work's mobile terminal, a device API interface, and an API interface callback address when the review result indicates that the request has passed.

[0085] The information feedback unit is used to send the audit results, the redirect link on the customer's mobile device, the redirect link on the work mobile device, the device API interface, and the API interface callback address back to the logistics company.

[0086] In one embodiment, the information feedback unit further includes:

[0087] The API interface generation subunit is used to generate a weight API interface and a business order API interface on the target SaaS platform after receiving an API call request from the logistics company, based on the weight information request and order processing request in the API call request; the API call request is generated by the logistics company after querying cabinet information and compartment information based on the equipment API interface.

[0088] The business order processing subunit is used to feed back the weight API interface and the business order API interface to the logistics company, so that the logistics company can process the business order according to the weight API interface and the business order API interface.

[0089] In one embodiment, the device further includes:

[0090] The pickup verification module is used to receive the pickup information sent by the logistics company, and to verify the order information in the pickup information through the target SaaS platform to obtain the pickup verification result. The pickup information is the pickup list displayed after scanning the QR code on the cabinet by the working mobile terminal. The order information of the pickup is selected and sent back to the logistics company.

[0091] The package handling module is used to issue an opening package handling instruction to the cabinet when the package handling verification result indicates that the information of each package to be handled is correct, and to receive the package handling result fed back by the cabinet in response to the opening package handling instruction;

[0092] The pickup status module is used to modify the pickup order status corresponding to the pickup information when the pickup processing result indicates that the cabinet slot has been opened, to obtain the modified pickup order status, and to feed back the modified pickup order status to the logistics company so that the logistics company can confirm that the pickup information has been successfully picked up based on the modified pickup order status.

[0093] For specific limitations regarding the mail sending device, please refer to the limitations on the mail sending method above, which will not be repeated here. Each module in the aforementioned mail sending device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the operations corresponding to each module.

[0094] In one embodiment, a computer device is provided, the internal structure of which can be shown as follows: Figure 3 As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a readable storage medium and internal memory. The readable storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the readable storage medium. The network interface is used to communicate with external terminals via a network connection. When executed by the processor, the computer program implements a message sending method.

[0095] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described sending method.

[0096] In one embodiment, a computer-readable storage medium is provided, the computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described sending method.

[0097] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware with computer-readable instructions. These computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When executed, these computer-readable instructions can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0098] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0099] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.

Claims

1. A method for sending mail, characterized in that, include: After receiving the weight information from the weighing device, the weight information is sent to the logistics company through the weight API interface; The weight information is obtained by weighing the items after the customer scans the QR code on the machine and fills in the shipping information on their mobile device. After receiving the shipping order information sent by the logistics company through the business order API interface, the target SaaS platform performs parameter verification on the shipping order information to obtain the shipping verification result. The shipping order information is generated by the logistics company based on the shipping information and the weight information; When the parcel verification result indicates that the parcel order information is correct, an opening parcel sending instruction is sent to the cabinet to open the compartment in the cabinet selected by the logistics company, and the parcel processing result fed back by the cabinet in response to the opening parcel sending instruction is received. Before receiving the weight information sent by the weighing device, the process also includes: After determining the national language of the region where the logistics company is located, configure the platform language in the target SaaS platform according to the national language; Receive authorization code application requests from logistics companies, review the authorization code application requests, and send the review results back to the logistics companies; When the review result indicates that the request has been approved, if the customer's mobile terminal and the work mobile terminal are received from the logistics company, a QR code corresponding to each of the redirect addresses is generated in the target SaaS platform according to the redirect address, so as to redirect the address through the QR code when sending or picking up the package; wherein, the customer's mobile terminal QR code is generated through the redirect address of the customer's mobile terminal, and the work mobile terminal QR code is generated through the redirect address of the work mobile terminal. Before the audit results are sent back to the logistics company, the process also includes: When the review result indicates that the request has passed, a jump link for the customer's mobile terminal, a jump link for the work mobile terminal, a device API interface, and an API interface callback address are generated in the target SaaS platform. The audit results, the redirect link on the customer's mobile device, the redirect link on the work mobile device, the device API interface, and the API interface callback address are fed back to the logistics company.

2. The mailing method as described in claim 1, characterized in that, After receiving the parcel processing result from the locker in response to the door-opening parcel delivery instruction, the process includes: When the parcel processing result indicates that the locker compartment has been opened, the parcel order status corresponding to the parcel order information is modified to obtain the modified parcel order status; The modified shipping order status is fed back to the logistics company through the business order API interface, so that the logistics company can confirm that the shipping item has been successfully delivered based on the modified shipping order status.

3. The mailing method as described in claim 1, characterized in that, After receiving the parcel processing result from the cabinet in response to the door-opening parcel delivery instruction, the method further includes: When the parcel processing result indicates that the locker compartment is not open, the parcel order status is fed back to the logistics company through the business order API interface, so that the logistics company can confirm the delivery failure of the parcel based on the parcel order status.

4. The mailing method as described in claim 1, characterized in that, After the step of sending the audit result, the redirect link on the customer's mobile device, the redirect link on the worker's mobile device, the device API interface, and the API interface callback address back to the logistics company, it includes: Upon receiving an API call request from the logistics company, a weight API interface and a business order API interface are generated on the target SaaS platform based on the weight information request and order processing request in the API call request; the API call request is generated by the logistics company after querying cabinet information and compartment information based on the equipment API interface. The weight API interface and the business order API interface are fed back to the logistics company so that the logistics company can process business orders according to the weight API interface and the business order API interface.

5. The mailing method as described in claim 2, characterized in that, After the step of feeding back the modified shipping order status to the logistics company through the business order API interface, so that the logistics company can confirm the successful delivery of the shipped item based on the modified shipping order status, the method further includes: The system receives the pending pickup information sent by the logistics company, performs parameter verification on the order information in the pending pickup information through the target SaaS platform, and obtains the pickup verification result; the pending pickup information is the pickup list displayed after scanning the QR code on the cabinet with the working mobile terminal, and the order information of the pickup is selected and sent back to the logistics company. When the package verification result indicates that the information of each package to be packaged is correct, an opening package collection instruction is issued to the cabinet, and the package processing result fed back by the cabinet in response to the opening package collection instruction is received. When the package pickup processing result indicates that the cabinet slot has been opened, the pickup order status corresponding to the package to be picked up is modified to obtain the modified pickup order status. The modified pickup order status is then fed back to the logistics company so that the logistics company can confirm that the package to be picked up has been successfully picked up based on the modified pickup order status.

6. A mail delivery device, characterized in that, include: The item weighing module is used to send the weight information to the logistics company through the weight API interface after receiving the weight information sent by the weighing device. The weight information is obtained by weighing the items after the customer scans the QR code on the machine and fills in the shipping information on their mobile device. The shipment verification module is used to receive shipment order information sent by the logistics company through the business order API interface, and then perform parameter verification on the shipment order information through the target SaaS platform to obtain the shipment verification result; the shipment order information is generated by the logistics company based on the shipment information and the weight information; The parcel processing module is used to send an opening parcel sending instruction to the cabinet when the parcel verification result indicates that the parcel order information is correct, so as to open the compartment in the cabinet selected by the logistics company, and receive the parcel processing result fed back by the cabinet in response to the opening parcel sending instruction; The device further includes: The language configuration module is used to configure the platform language in the target SaaS platform according to the national language of the region where the logistics company is located after determining the national language. The request review module is used to receive authorization code application requests from logistics companies, review the authorization code application requests, and send the review results back to the logistics companies. The QR code generation module is used to generate a QR code corresponding to each of the redirect addresses in the target SaaS platform when the review result indicates that the request has been approved. This QR code is generated based on the redirect addresses of the customer's mobile terminal and the work mobile terminal when the redirect address of the customer's mobile terminal is received from the logistics company. This QR code is used to redirect the address when sending or picking up the package. Specifically, the customer's mobile terminal QR code is generated based on the redirect address of the customer's mobile terminal, and the work mobile terminal QR code is generated based on the redirect address of the work mobile terminal. The request review module also includes: The information generation unit is used to generate, in the target SaaS platform, a jump link for the customer's mobile terminal, a jump link for the work's mobile terminal, a device API interface, and an API interface callback address when the review result indicates that the request has passed. The information feedback unit is used to send the audit results, the redirect link on the customer's mobile device, the redirect link on the work mobile device, the device API interface, and the API interface callback address back to the logistics company.

7. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the mail sending method as described in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the mail sending method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • International express delivery track system, track processing method and device, and international express delivery system

    CN112862402A

  • Automatic mailing and pickup system and method

    CN113256206A