A method, device, server and storage medium for processing packages to be picked up

By receiving the refund status message from the e-commerce platform and invalidating the original pickup code, it solves the problem of incorrect operation caused by the original pickup code being still valid after the user applies for a refund, and achieves smooth and safe refund processing.

CN112508647BActive Publication Date: 2024-08-27SHENZHEN HIVE BOX NETWORK TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011411016.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-03
Publication Date
2024-08-27
Estimated Expiration
2040-12-03

AI Technical Summary

Technical Problem

After the user applies for a refund, the original pickup code is still valid, causing the express cabinet to perform incorrect operations, causing the user or merchant to suffer unnecessary losses and troubles.

Method used

By receiving the refund status message from the e-commerce platform, we obtain the locker information of the package to be picked up, invalidate the original pickup code, and generate valid or return instructions based on the refund processing result message to ensure that after the user applies for a refund Avoid incorrect pickup operations.

Benefits of technology

It effectively prevents users from mistakenly taking packages for which refunds have been applied, reduces the risk of losses for merchants and users, and ensures the smooth progress of refund processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112508647B
    Figure CN112508647B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a method, device, server and storage medium for processing a package to be picked up. The method includes: receiving a refund application status message of a package to be picked up sent by an e-commerce platform, obtaining the cabinet information of the package to be picked up, and invalidating the original pickup code in the cabinet information; obtaining a refund processing result message of the package to be picked up by the e-commerce platform, wherein the refund processing result message is used to indicate the refund processing result of the package to be picked up; when the refund processing result is a confirmed refund, sending the cabinet information to the express platform according to the return instruction in the refund processing result message, so as to return the package to be picked up through the express platform; when the refund processing result is a rejection of the refund, generating a valid pickup code according to the cabinet information and sending it to the user to notify the user to pick up the package to be picked up. This embodiment determines the processing method according to the refund progress of the package to be picked up, so as to avoid the original pickup code being still valid after the user applies for a refund, causing the express cabinet to perform an erroneous operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to logistics technology, and more particularly to a method, device, server, and storage medium for processing a package to be picked up. Background Art

[0002] In the prior art, when the items purchased by the user have been placed in the express cabinet and the pickup code has been received, if the user wants to return the goods, he can directly apply for a refund on the e-commerce platform by choosing not to receive the goods. During the merchant's processing, when the user picks up the item, whether scanning the code or entering the code, he can take out the items for which a refund has been applied. When a user has multiple packages to be picked up, it is easy to mistakenly take out the package for which a refund has been applied. For the package that has been picked up, if the merchant agrees to refund, it will cause unnecessary losses to the merchant or cause trouble and distress to the user himself.

[0003] Therefore, how to avoid the situation where the original pickup code is still valid after the user applies for a refund, causing the express locker to perform erroneous operations based on the original pickup code, has become an urgent problem to be solved. Summary of the invention

[0004] An embodiment of the present invention provides a method for processing a package to be picked up, which can prevent the original pickup code from being still valid after the user applies for a refund, causing the express cabinet to perform an erroneous operation based on the original pickup code.

[0005] In a first aspect, an embodiment of the present invention provides a method for processing a package to be picked up, comprising:

[0006] Receive a refund application status message of a pending package sent by the e-commerce platform, obtain the in-cabinet information of the pending package, and invalidate the original pickup code in the in-cabinet information;

[0007] Obtaining a refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate a refund processing result of the package to be picked up;

[0008] When the refund processing result is a confirmed refund, the in-cabinet information is sent to the express platform according to the return instruction in the refund processing result message, so that the express platform returns the package to be picked up;

[0009] When the refund processing result is a rejection of the refund, a valid pickup code is generated according to the in-cabinet information, and the valid pickup code is sent to the user to notify the user to pick up the package to be picked up.

[0010] In a second aspect, an embodiment of the present invention further provides a device for processing a package to be picked up, comprising:

[0011] The pickup code invalidation processing module is used to receive the refund application status message of the to-be-collected package sent by the e-commerce platform, obtain the cabinet information of the to-be-collected package, and invalidate the original pickup code in the cabinet information;

[0012] A processing result acquisition module, used to obtain a refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate the refund processing result of the package to be picked up;

[0013] A return processing module, configured to send the in-cabinet information to the express platform according to the return instruction in the refund processing result message when the refund processing result is a confirmed refund, so as to perform a return processing on the to-be-collected package through the express platform;

[0014] The effective pickup code generation module is used to generate a valid pickup code according to the in-cabinet information when the refund processing result is a rejection of the refund, and send the valid pickup code to the user to notify the user to pick up the package to be picked up.

[0015] Optionally, the return processing module is specifically used to:

[0016] Receive the shipping interface calling instruction sent by the e-commerce platform, send the cabinet information to the e-commerce platform through the shipping interface according to the shipping interface calling instruction, receive the return order generated by the e-commerce platform according to the cabinet information, and send the return order to the express delivery platform.

[0017] In a third aspect, an embodiment of the present invention further provides a server, the server comprising:

[0018] one or more processors;

[0019] a memory for storing one or more programs,

[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing a package to be picked up as provided in any embodiment of the present invention.

[0021] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute a method for processing a package to be picked up as provided in any embodiment of the present invention.

[0022] The embodiment of the present invention receives the refund application status message of the package to be picked up sent by the e-commerce platform, obtains the cabinet information of the package to be picked up, invalidates the original pickup code in the cabinet information, obtains the refund processing result message of the package to be picked up by the e-commerce platform, and performs different processing on the package to be picked up according to the different refund processing results indicated by the refund processing result message. If the refund processing result is to confirm the refund, the cabinet information is sent to the express platform according to the return instruction in the refund processing result message, so as to return the package to be picked up through the express platform. If the refund processing result is to refuse the refund, a valid pickup code is generated according to the cabinet information, and the user is notified to pick up the package to be picked up according to the valid pickup code. The embodiment of the present invention determines the processing method of the package to be picked up according to the refund progress of the package to be picked up, and invalidates the original pickup code when receiving the refund application status message, which can avoid the original pickup code being still valid after the user applies for a refund, causing the express cabinet to perform an erroneous operation based on the original pickup code. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a flow chart of a method for processing a package to be picked up provided in Embodiment 1 of the present invention;

[0024] Figure 2 is a flow chart of another method for processing a package to be picked up provided in Embodiment 2 of the present invention;

[0025] Figure 3 This is a business flow chart of a user applying for a refund and an e-commerce platform confirming a refund, provided in Embodiment 2 of the present invention;

[0026] Figure 4 This is a business flow chart of a user applying for a refund and an e-commerce platform refusing the refund, provided in Embodiment 2 of the present invention;

[0027] Figure 5 1 is a schematic diagram of the structure of a device for processing a package to be picked up provided in Embodiment 3 of the present invention;

[0028] Figure 6 A schematic diagram of the structure of a server provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0029] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0030] Embodiment 1

[0031] Figure 1This is a flow chart of a method for processing a parcel to be picked up provided in the first embodiment of the present invention. This embodiment is applicable to processing parcels to be picked up in a courier cabinet. The method can be executed by a processing device for parcels to be picked up, and the device can be implemented in software and / or hardware. The device can be configured in a server. Figure 1 As shown, the method includes:

[0032] Step S110: Receive a refund application status message of the package to be picked up from the e-commerce platform, obtain the cabinet information of the package to be picked up, and invalidate the original pickup code in the cabinet information.

[0033] An e-commerce platform can be an e-commerce platform that provides online transactions. Users can browse, purchase or return goods on the e-commerce platform, and merchants can publish and sell goods or accept users' refund or exchange requests through the e-commerce platform. The e-commerce platform can include merchants and platform customer service. Among them, the platform customer service can make legality judgments on various matters in the transaction process according to the operating rules of the e-commerce platform. The platform customer service can be understood as the actual operator or the virtual operator built based on the operating rules of the e-commerce platform.

[0034] A package to be picked up can be understood as when a user purchases a product on an e-commerce platform, the merchant can send the product to the user via an express package. The courier can put the package in a courier cabinet and send a pickup code to the user to notify the user to take the package out of the courier cabinet according to the pickup code. At this time, the package in the courier cabinet is a package to be picked up.

[0035] The refund application status message may be a status message of the package to be picked up that is forwarded by the e-commerce platform to the server after the user applies for a refund for non-receipt of the package to be picked up to the e-commerce platform, and is used to indicate that the original pickup code corresponding to the package to be picked up is invalidated, so that the user cannot pick up the package to be picked up according to the original pickup code after applying for a refund.

[0036] The cabinet information may be information about the parcel to be picked up in the express cabinet. For example, the cabinet information may include at least the pickup code, the compartment information, and the cabinet status. Among them, the compartment information may be the information of the express cabinet and the compartment where the parcel to be picked up is located. For example, the compartment information may include the number of the express cabinet where the parcel to be picked up is located, the location of the express cabinet, the compartment number and the compartment location of the parcel to be picked up, etc. The cabinet status may be the processing status of the parcel to be picked up. For example, the cabinet status may include the status of waiting for pickup, the status of being taken out, the status of having applied for a refund, or the status of having been forwarded. Specifically, the status of having been taken out may include having been taken out by the user and having been taken out by the courier, etc.

[0037] The original pickup code can be understood as the pickup code sent by the express cabinet to the user through the server after the courier puts the package to be picked up into the express cabinet for the first time.

[0038] Invalidation of the original pickup code in the cabinet information can be understood as making it impossible for the user to take out the package to be picked up according to the original pickup code. For example, the invalidation method can be to delete the original pickup code so that the original pickup code does not exist in the server. Alternatively, the invalidation method can also be to cancel the association between the original pickup code and the slot information corresponding to the package to be picked up, so that the original pickup code in the server has no corresponding slot information. Alternatively, the invalidation method can also be to add a freeze mark to the original pickup code so that the server is prohibited from sending an unpacking instruction to the slot where the package to be picked up is located. Alternatively, the invalidation method can also be to use a password program to encapsulate the association between the original pickup code and the slot information corresponding to the package to be picked up, so that the server can only obtain the slot information corresponding to the original pickup code when the key corresponding to the password program is obtained, and then send an unpacking instruction to the slot where the package to be picked up is located according to the slot information. Or other processing methods that can invalidate the original pickup code in the cabinet information are not specifically limited in the embodiments of the present invention.

[0039] For example, if the user does not take out the parcel from the corresponding express cabinet according to the original pickup code, but instead applies for a refund for not receiving the goods to the e-commerce platform, the e-commerce platform can send a refund application status message for the parcel to be picked up to the server. The server receives the refund application status message for the parcel to be picked up sent by the e-commerce platform, obtains the cabinet information of the parcel to be picked up, and invalidates the original pickup code of the parcel to be picked up, so that the user can no longer take out the parcel according to the original pickup code after applying for a refund, thereby avoiding the user from mistakenly taking a parcel for which a refund has been applied when there are multiple parcels to be picked up, and avoiding individual users from applying for a refund and taking out parcels at the same time, causing unnecessary losses to the merchant.

[0040] Optionally, after the original pickup code in the locker information is invalidated, if a request to open the compartment is detected by the user through a mobile terminal or the express locker, a notification of failed pickup is sent to the user through the mobile terminal or the express locker, and it is prohibited to send an opening door instruction to the compartment where the package to be picked up is located. When the user applies for a refund for the package to be picked up, the server will invalidate the original pickup code in the locker information of the package to be picked up, and the user can no longer take the package to be picked up from the compartment according to the original pickup code.

[0041] Step S120: Obtain a refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate a refund processing result of the package to be picked up.

[0042] The refund processing result message may be the processing result information made by the e-commerce platform for the user's refund application. The refund processing result may include confirmation of refund and rejection of refund.

[0043] Exemplarily, when the e-commerce platform agrees to the user's refund application and returns the money of the package to be picked up to the user, the server obtains the refund processing result message of the e-commerce platform for the package to be picked up, and the refund processing result message indicates that the refund processing result of the e-commerce platform is to confirm the refund. When the e-commerce platform rejects the user's refund application and refuses to return the money of the package to be picked up to the user, the server obtains the refund processing result message of the e-commerce platform for the package to be picked up, and the refund processing result message indicates that the refund processing result of the e-commerce platform is to refuse the refund. It should be noted that the e-commerce platform agrees to the user's refund application, which can be understood as at least one of the merchant to which the package to be picked up belongs or the platform customer service agreeing to the user's refund application, and the e-commerce platform rejects the user's refund application, which can be understood as the merchant to which the package to be picked up belongs and the platform customer service both reject the user's refund application. For example, if the merchant rejects the user's refund application, and the platform customer service also rejects the user's refund application according to the platform's refund rules, the refund processing result is to refuse the refund. If the merchant rejects the user's refund application, but the platform customer service determines that the user's refund application is legal according to the platform's refund rules, the refund processing result is to confirm the refund.

[0044] Step S130: When the refund processing result is a confirmed refund, the counter information is sent to the express platform according to the return instruction in the refund processing result message, so that the express platform can return the package to be picked up.

[0045] The return instruction can be used to instruct the express delivery platform to return the parcel to be picked up.

[0046] The express delivery platform can be understood as a logistics distribution platform, which is used to mail the parcels to be picked up to users, merchants or forward them to other recipients.

[0047] Specifically, when the e-commerce platform agrees to the user's refund application, the server receives the refund processing result to confirm the refund, and sends the cabinet information to the express platform according to the return instruction in the refund processing result message, and returns the package to be picked up through the express platform. For example, the server can receive a return order directly issued by the e-commerce platform through the mailing interface, and send the return order to the express platform. Or the server can also directly generate a return order upon receiving the return instruction, and send the return order to the express platform. Or, alternatively, the server can also send the cabinet information to the e-commerce platform according to the return instruction, so that the e-commerce platform returns the package to be picked up through the express platform. Or other return processing methods, the present invention does not specifically limit this.

[0048] Step S140: When the refund processing result is a rejection of the refund, a valid pickup code is generated according to the in-cabinet information, and the valid pickup code is sent to the user to notify the user to pick up the package to be picked up.

[0049] The valid pickup code can be understood as a pickup code obtained by effectively processing an invalid original pickup code, and is used to instruct the user to pick up the package to be picked up according to the valid pickup code.

[0050] The specific implementation method of effectively processing the invalid original pickup code may correspond to the specific implementation method of invalidating the original pickup code in the cabinet information in step S110. For example, if the invalid processing method is to delete the original pickup code, the corresponding effective processing method may be to obtain a new pickup code and re-establish the association between the new pickup code and the compartment information corresponding to the package to be picked up. If the invalid processing method is to cancel the association between the original pickup code and the compartment information corresponding to the package to be picked up, the corresponding effective processing method may be to re-establish the association between the original pickup code and the compartment information corresponding to the package to be picked up. If the invalid processing method is to add a freeze mark to the original pickup code, the corresponding effective processing method may be to delete the freeze mark. If the invalid processing method is to use a password program to encapsulate the association between the original pickup code and the compartment information corresponding to the package to be picked up, the effective processing method may be to obtain the key corresponding to the password program and obtain the compartment information corresponding to the package to be picked up according to the key, and then send an unpacking instruction to the compartment where the package to be picked up is located according to the compartment information. Or other methods that can generate a valid pickup code based on the cabinet information are not specifically limited in the embodiments of the present invention.

[0051] The embodiment of the present invention receives the refund application status message of the package to be picked up sent by the e-commerce platform, obtains the cabinet information of the package to be picked up, invalidates the original pickup code in the cabinet information, obtains the refund processing result message of the package to be picked up by the e-commerce platform, and performs different processing on the package to be picked up according to the different refund processing results indicated by the refund processing result message. If the refund processing result is to confirm the refund, the cabinet information is sent to the express platform according to the return instruction in the refund processing result message, so as to return the package to be picked up through the express platform. If the refund processing result is to refuse the refund, a valid pickup code is generated according to the cabinet information, and the user is notified to pick up the package to be picked up according to the valid pickup code. The embodiment of the present invention determines the processing method of the package to be picked up according to the refund progress of the package to be picked up, and invalidates the original pickup code when receiving the refund application status message, which can avoid the original pickup code being still valid after the user applies for a refund, causing the express cabinet to perform an erroneous operation based on the original pickup code.

[0052] Embodiment 2

[0053] Figure 2 is a flow chart of another method for processing a package to be picked up provided in the second embodiment of the present invention. This embodiment is optimized on the basis of the above embodiment. Figure 2 As shown, the method includes:

[0054] Step S210: Receive a refund application status message of the package to be picked up from the e-commerce platform, obtain the cabinet information of the package to be picked up, and invalidate the original pickup code in the cabinet information.

[0055] Optionally, invalidating the original pickup code in the cabinet information may include:

[0056] Delete the original pickup code to make the original pickup code in the cabinet information invalid.

[0057] Specifically, by deleting the original pickup code, there is no corresponding pickup code for the parcel to be picked up in the server. If a request to open the compartment is detected by the user through a mobile terminal or a courier cabinet based on the original pickup code, since the original pickup code does not exist in the server, the server cannot determine the compartment where the parcel to be picked up is located according to the request to open the compartment, and thus cannot send a door opening instruction to the compartment where the parcel to be picked up is located.

[0058] Optionally, invalidating the original pickup code in the cabinet information may include:

[0059] Determine the slot information of the parcel to be picked up in the express cabinet based on the cabinet information;

[0060] Cancel the association between the original pickup code and the compartment information to invalidate the original pickup code in the cabinet information.

[0061] Specifically, the compartment information of the parcel to be picked up in the express cabinet is determined based on the cabinet information of the parcel to be picked up, and by canceling the association between the original pickup code and the compartment information, the original pickup code in the server has no corresponding compartment information. If a compartment opening request is detected that the user sends a compartment opening request based on the original pickup code through a mobile terminal or an express cabinet, since the corresponding compartment information cannot be found in the server, the server cannot determine the compartment where the parcel to be picked up is located based on the compartment opening request, and thus cannot send a door opening instruction to the compartment where the parcel to be picked up is located. For example, the compartment information can be the number of the compartment where the parcel to be picked up is located. By canceling the association between the original pickup code and the compartment number, the original pickup code in the cabinet information is invalidated.

[0062] Optionally, invalidating the original pickup code in the cabinet information may include:

[0063] A freezing mark is added to the original pickup code in the cabinet information, and according to the freezing mark, it is prohibited to send a door opening instruction to the compartment where the package to be picked up is located, so that the original pickup code is frozen.

[0064] Specifically, by adding a freeze mark to the original pickup code in the locker information, the original pickup code in the server cannot be used, and the server cannot send a door opening instruction to the compartment where the package to be picked up is located. If a request to open the compartment is detected by the user through a mobile terminal or express locker based on the original pickup code, the server is prohibited from sending a door opening instruction to the compartment where the package to be picked up is located because the original pickup code in the server contains a freeze mark.

[0065] For example, Figure 3 This is a business flow chart of a user applying for a refund and an e-commerce platform confirming a refund, provided in Embodiment 2 of the present invention. Figure 4 This is a business flow chart of a user applying for a refund and an e-commerce platform refusing a refund, provided in Embodiment 2 of the present invention. Figure 3 and 4 As shown, when the items purchased by the user are delivered to the locker, the server can send a locker pickup notification to the user. The user can receive the locker pickup notification sent by the server, but does not go to the locker to pick up the items and apply for a refund from the e-commerce platform. The e-commerce platform can receive the user's refund application and invalidate the pickup code. When the user uses the original pickup code to pick up the item, he will be prompted that the pickup code is incorrect and will no longer pull the package order.

[0066] Step S220: Change the in-cabinet status in the cabinet information from the waiting-for-pickup status to the refund-applied status, generate first reminder information included in the cabinet status, and send the first reminder information to the user.

[0067] The first reminder information may be used to notify the user that the original pickup code is invalid.

[0068] Specifically, Figure 3 and 4 As shown, after receiving the refund application from the user, the e-commerce platform can transmit the refund application status of the package order to the server. The server can change the in-cabinet status in the cabinet information from the waiting-for-pickup status to the refund application status according to the refund application status of the package order, and send a pickup code expiration notification to the user. The user can receive the pickup code expiration notification.

[0069] When a user applies for a refund for a parcel in the locker, the server changes the parcel status to a refund-applied status and invalidates the pickup code. This solves the problem that if a user picks up a parcel by mistake, the user will need to place an order to mail the parcel back to the merchant and pay a certain fee, resulting in loss of time and money. It also solves the problem that if the user takes the parcel out of the express locker while the merchant is reviewing the refund, and the merchant has already initiated a refund when the user takes the parcel out, the user will exploit system loopholes to cause unnecessary losses to the merchant.

[0070] Step S230: Obtain a refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate a refund processing result of the package to be picked up.

[0071] Step S240: When the refund processing result is a confirmed refund, the counter information is sent to the express platform according to the return instruction in the refund processing result message, so that the express platform can return the package to be picked up.

[0072] like Figure 3 As shown in the figure, when the e-commerce platform agrees to refund, the user can receive the refund, and the server can place a return order to the express platform according to the return instruction. The express platform can assign the corresponding courier according to the return order, notify the courier to pick up the return package, and mail it back to the recipient address in the return order. When the e-commerce platform receives the goods, the refund process is completed.

[0073] Optionally, sending the in-cabinet information to the express delivery platform according to the return instruction in the refund processing result message may include:

[0074] Receive the shipping interface call instruction sent by the e-commerce platform, send the cabinet information to the e-commerce platform through the shipping interface according to the shipping interface call instruction, receive the return order generated by the e-commerce platform according to the cabinet information, and send the return order to the express platform.

[0075] The mailing interface may be an interface for the server to open a mailing service, which is used to send in-cabinet information to the e-commerce platform and receive return orders sent by the e-commerce platform.

[0076] Specifically, the e-commerce platform can send a mailing interface call instruction to the e-commerce platform to directly call the mailing interface of the server. The server can send the cabinet information to the e-commerce platform through the mailing interface according to the mailing interface call instruction. The e-commerce platform can generate a return order based on the cabinet information and send it to the server. The server receives the return order and sends it to the express delivery platform. The e-commerce platform calls the mailing interface of the server and uses the server to directly place a return order, thereby improving the ordering efficiency of the merchant and the e-commerce platform return order, which is conducive to promoting the rapid circulation of logistics, improving the efficiency of the courier collection, and improving the efficiency of collecting the return.

[0077] Optionally, sending the in-cabinet information to the express delivery platform according to the return instruction in the refund processing result message may include:

[0078] Generate a return order based on the return instructions in the refund processing result message and the counter information, and send the return order to the express delivery platform.

[0079] Specifically, the e-commerce platform can send a return instruction to the server, and the server generates a return order based on the return instruction and the cabinet information and sends it to the express delivery platform. The e-commerce platform does not need to call the server's shipping interface. By notifying the server to place a return order, the e-commerce platform simplifies the interface call interaction between the e-commerce platform and the server while realizing the return of the parcel to be picked up.

[0080] Step S250: modify the cabinet status in the cabinet information from the refund application status to the refund approval status, the return order has been placed, and the collection is waiting status, generate a second reminder information included in the cabinet status, and send the second reminder information to the user.

[0081] The second reminder information may be used to notify the user that a return order has been placed for the package to be picked up and the package to be picked up is ready to be collected.

[0082] After the e-commerce platform confirms the refund, the server can change the status of the cabinet in the cabinet information from the refund application status to the refund approval status and the return order is placed and waiting for collection, and notify the user that the package to be picked up has been placed with a return order and the package to be picked up is waiting for collection.

[0083] Step S260: When the refund processing result is a rejection of the refund, a valid pickup code is generated according to the in-cabinet information, and the valid pickup code is sent to the user to notify the user to pick up the package to be picked up.

[0084] like Figure 4 As shown, when the e-commerce platform refuses to refund, the user can obtain the refund rejection message and the rejection reason sent by the e-commerce platform. The server regenerates a valid pickup code based on the locker information, resends the valid pickup code to the user, and notifies the user to go to the express locker to pick up the item. The user can obtain the latest pickup notification. When the user goes to the express locker to pick up the item according to the valid pickup code, the pickup process is completed.

[0085] Optionally, corresponding to deleting the original pickup code in step S210 to invalidate the original pickup code in the cabinet information, generating a valid pickup code according to the cabinet information may include:

[0086] Get a new pickup code;

[0087] Determine the slot information of the parcel to be picked up in the express cabinet based on the cabinet information;

[0088] Establish an association between the new pickup code and the grid information, and use the new pickup code as the valid pickup code.

[0089] Specifically, by obtaining a new pickup code and establishing an association between the new pickup code and the compartment information based on the cabinet information, if a request to open the compartment is detected by the user through a mobile terminal or express cabinet based on the original pickup code, since the new pickup code exists in the server and the new pickup code has corresponding compartment information, the server can determine the compartment where the package to be picked up is located based on the request to open the compartment, and then allow the door opening command to be sent to the compartment where the package to be picked up is located.

[0090] Optionally, determining the slot information of the parcel to be picked up in the express cabinet based on the cabinet information in step S210; canceling the association between the original pickup code and the slot information so that the original pickup code in the cabinet information becomes invalid, and generating a valid pickup code according to the cabinet information may include:

[0091] Re-establish the association between the original pickup code and the grid information, and use the original pickup code as the valid pickup code.

[0092] Specifically, by re-establishing the association between the original pickup code and the slot information, when the e-commerce platform receives a refund processing result that refuses to refund, the original pickup code is sent to the user again to prevent the user from mistakenly thinking that they have two packages due to receiving two pickup codes.

[0093] Optionally, adding a freezing mark to the original pickup code in the cabinet information in step S210, prohibiting sending a door opening instruction to the compartment where the package to be picked up is located according to the freezing mark, so that the original pickup code is frozen, and generating a valid pickup code according to the cabinet information may include:

[0094] Delete the freeze mark, use the original pickup code as the valid pickup code, and allow the door opening command to be sent to the compartment where the package to be picked up is located.

[0095] Specifically, the invalid original pickup code is unfrozen by deleting the freezing mark, so that the obtained valid pickup code can be used to allow the door opening instruction to be sent to the compartment where the package to be picked up is located, and the original pickup code is resent to the user to prevent the user from mistakenly thinking that there are two packages due to receiving two pickup codes.

[0096] Step S270: Change the in-counter status in the counter information from the refund applied status to the refund rejected and waiting for pickup status, generate a third reminder information included in the counter status, and send the third reminder information to the user.

[0097] Among them, the third reminder information can be used to notify the user to go to the express cabinet to pick up the package.

[0098] like Figure 4 As shown, after the e-commerce platform refuses to refund, the server can change the in-locker status in the in-locker information from the refund applied status to the refund refused and waiting for pickup status, resend the pickup code notification to the user, and notify the consumer to go to the express locker to pick up the item.

[0099] Optionally, when the in-cabin status in the cabinet information is changed from a refund-applied-for status to a refund-rejected-and-pickup-awaited status, the following is further included:

[0100] The starting time for adjusting the free storage time is the time when the status at the cabinet is changed from the refund applied status to the refund rejected and waiting for pickup status.

[0101] Specifically, the express locker can set a free storage time, and the server will not charge the user for storage fees during the free storage time. The free storage time can be calculated from the time when the item was last in the waiting-for-pickup state.

[0102] Step S280: When the refund processing result is to forward the package, the cabinet information and the recipient information in the forwarding instruction are sent to the express platform according to the forwarding instruction in the refund processing result message, so that the package to be picked up can be forwarded through the express platform.

[0103] The refund processing result is that the package is forwarded, which can be understood as the e-commerce platform deciding to forward the package to be picked up to other people after consultation with the user.

[0104] For example, the server may receive a transfer order directly issued by the e-commerce platform through the mailing interface, and send the transfer order to the express delivery platform. Alternatively, the server may directly generate a transfer order upon receiving a transfer instruction, and send the transfer order to the express delivery platform. Alternatively, the server may also send the cabinet information to the e-commerce platform according to the transfer instruction, so that the e-commerce platform performs transfer processing on the to-be-collected parcel through the express delivery platform. Or other transfer processing methods, which are not specifically limited in the present invention.

[0105] Optionally, the refund processing result message may also include recipient information. The server may simultaneously send the counter information and recipient information to the express platform, and the express platform may allocate corresponding couriers according to the counter information, so that the couriers may collect the parcels to be picked up and forward the parcels to be picked up to the recipient according to the recipient information.

[0106] In the embodiment of the present invention, after obtaining the cabinet information of the parcel to be picked up, the cabinet status in the cabinet information is changed from the state of waiting for pickup to the state of applying for refund, a first reminder message including the cabinet status is generated, and the first reminder message is sent to the user, so as to timely remind the user that the pickup code has expired. When the refund processing result is a rejection of the refund, the cabinet status in the cabinet information is changed from the state of applying for refund to the state of waiting for pickup with a rejection of the refund, a third reminder message including the cabinet status is generated, and the third reminder message is sent to the user, so as to timely remind the user to go to the express cabinet to pick up the parcel according to the re-determined valid pickup code. In addition, the embodiment of the present invention enriches and improves the various states of the parcel by linking the e-commerce platform, and can track the parcel status in real time by linking the e-commerce platform, which can largely avoid the consumer's wrong operation and reduce the risk of the merchant's commodity loss, and invalidate the pickup code or regenerate a new pickup code, so as to facilitate the subsequent process. In the embodiment of the present invention, the processing method of the parcel to be picked up is determined according to the refund progress of the parcel to be picked up, and the original pickup code is invalidated when the refund application status message is received, which can avoid the original pickup code being still valid after the user applies for a refund, causing the express cabinet to perform an erroneous operation based on the original pickup code.

[0107] Embodiment 3

[0108] Figure 5 1 is a schematic diagram of the structure of a device for processing a package to be picked up provided in the third embodiment of the present invention. The device can be implemented by software and / or hardware, and can generally be integrated in a server. By executing a method for processing a package to be picked up, it can be implemented to avoid the situation where the original pickup code is still valid after the user applies for a refund, causing the express cabinet to perform an erroneous operation based on the original pickup code. Figure 5 As shown, the device comprises:

[0109] The pickup code invalidation processing module 310 is used to receive the refund application status message of the to-be-collected package sent by the e-commerce platform, obtain the cabinet information of the to-be-collected package, and invalidate the original pickup code in the cabinet information;

[0110] The processing result acquisition module 320 is used to obtain the refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate the refund processing result of the package to be picked up;

[0111] A return processing module 330 is used to send the in-cabinet information to the express platform according to the return instruction in the refund processing result message when the refund processing result is a confirmed refund, so as to return the package to be picked up through the express platform;

[0112] The valid pickup code generating module 340 is used to generate a valid pickup code according to the in-cabin information when the refund processing result is a rejection of the refund, and send the valid pickup code to the user to notify the user to pick up the parcel to be picked up.

[0113] Optionally, the invalid pickup code processing module 310 is specifically configured to:

[0114] Deleting the original pickup code to invalidate the original pickup code in the cabinet information;

[0115] Accordingly, the effective pickup code generation module 340 is specifically used to:

[0116] Get a new pickup code;

[0117] Determine the slot information of the parcel to be picked up in the express cabinet based on the cabinet information;

[0118] An association is established between the new pickup code and the slot information, and the new pickup code is used as a valid pickup code.

[0119] Optionally, the invalid pickup code processing module 310 is specifically configured to:

[0120] Determine the slot information of the parcel to be picked up in the express cabinet based on the cabinet information;

[0121] Cancel the association between the original pickup code and the slot information, so that the original pickup code in the cabinet information becomes invalid;

[0122] Accordingly, the effective pickup code generation module 340 is specifically used to:

[0123] Re-establish the association between the original pickup code and the slot information, and use the original pickup code as a valid pickup code.

[0124] Optionally, the invalid pickup code processing module 310 is specifically configured to:

[0125] Add a freezing mark to the original pickup code in the cabinet information, and prohibit sending a door opening instruction to the compartment where the package to be picked up is located according to the freezing mark, so as to freeze the original pickup code;

[0126] Accordingly, the effective pickup code generation module 340 is specifically used to:

[0127] The freeze mark is deleted, the original pickup code is used as a valid pickup code, and a door opening instruction is allowed to be sent to the compartment where the package to be picked up is located.

[0128] Optionally, the device further comprises:

[0129] A refund applied status modification module is used to, after acquiring the cabinet information of the package to be picked up, modify the cabinet status in the cabinet information from the waiting-for-pickup status to the refund applied status, generate first reminder information including the cabinet status, and send the first reminder information to the user;

[0130] Accordingly, the device further comprises:

[0131] A waiting-for-collection status modification module is used to modify the on-counter status in the on-counter information from a refund-applied-for status to a refund-approved, return-order-placed, waiting-for-collection status, generate a second reminder message including the on-counter status, and send the second reminder message to the user;

[0132] Accordingly, the device further comprises:

[0133] The module for modifying the status of items to be picked up is used to modify the status of items in the cabinet in the cabinet information from the status of items in which a refund has been applied for to the status of items in which a refund has been rejected and items are to be picked up when the refund processing result is a rejection of a refund, generate a third reminder message including the status of items in the cabinet, and send the third reminder message to the user.

[0134] Optionally, the return processing module 330 is specifically configured to:

[0135] Receive the shipping interface calling instruction sent by the e-commerce platform, send the cabinet information to the e-commerce platform through the shipping interface according to the shipping interface calling instruction, receive the return order generated by the e-commerce platform according to the cabinet information, and send the return order to the express delivery platform.

[0136] Optionally, the device further comprises:

[0137] The forwarding processing module is used to send the cabinet information and the recipient information in the forwarding message to the express platform according to the forwarding instruction in the refund processing result message when the refund processing result is to forward the package, so as to forward the package to be picked up through the express platform.

[0138] The device for processing a package to be picked up provided in the embodiment of the present invention can execute the method for processing a package to be picked up provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0139] Embodiment 4

[0140] Figure 6 A schematic diagram of the structure of a server provided in Embodiment 4 of the present invention is shown in FIG. Figure 6 As shown, the server includes a processor 400, a memory 410, an input device 420, and an output device 430; the number of processors 400 in the server may be one or more. Figure 6A processor 400 is taken as an example; the processor 400, the memory 410, the input device 420 and the output device 430 in the server can be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0141] The memory 410, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions and / or modules corresponding to the method for processing a package to be picked up in the embodiment of the present invention (for example, the invalid pickup code processing module 310, the processing result acquisition module 320, the return processing module 330 and the valid pickup code generation module 340 in the device for processing a package to be picked up). The processor 400 executes various functional applications and data processing of the server by running the software programs, instructions and modules stored in the memory 410, that is, implements the above-mentioned method for processing a package to be picked up.

[0142] The memory 410 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 410 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 410 may further include a memory remotely arranged relative to the processor 400, and these remote memories may be connected to the server via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0143] The input device 420 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the server. The output device 430 may include a display device such as a display screen.

[0144] Embodiment 5

[0145] Embodiment 5 of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a method for processing a package to be picked up when executed by a computer processor, the method comprising:

[0146] Receive a refund application status message of a pending package sent by the e-commerce platform, obtain the in-cabinet information of the pending package, and invalidate the original pickup code in the in-cabinet information;

[0147] Obtaining a refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate a refund processing result of the package to be picked up;

[0148] When the refund processing result is a confirmed refund, the in-cabinet information is sent to the express platform according to the return instruction in the refund processing result message, so that the express platform returns the package to be picked up;

[0149] When the refund processing result is a rejection of the refund, a valid pickup code is generated according to the in-cabinet information, and the valid pickup code is sent to the user to notify the user to pick up the package to be picked up.

[0150] Of course, the computer executable instructions of a storage medium including computer executable instructions provided in an embodiment of the present invention are not limited to the operations of the method described above, and can also execute related operations in the method for processing a package to be picked up provided in any embodiment of the present invention.

[0151] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0152] It is worth noting that in the above-mentioned embodiment of the processing device for the parcel to be picked up, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0153] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A method for processing a package to be picked up, characterized in that: include: Receive a refund application status message of a pending package sent by the e-commerce platform, obtain the in-cabinet information of the pending package, and invalidate the original pickup code in the in-cabinet information; Obtaining a refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate a refund processing result of the package to be picked up; When the refund processing result is a confirmed refund, the in-cabinet information is sent to the express platform according to the return instruction in the refund processing result message, so that the express platform returns the package to be picked up; When the refund processing result is a rejection of the refund, a valid pickup code is generated according to the in-cabinet information, and the valid pickup code is sent to the user to notify the user to pick up the package to be picked up.

2. The method according to claim 1, characterized in that The invalidation of the original pickup code in the cabinet information includes: Deleting the original pickup code to invalidate the original pickup code in the cabinet information; Accordingly, generating a valid pickup code according to the in-cabinet information includes: Get a new pickup code; Determine the slot information of the parcel to be picked up in the express cabinet based on the cabinet information; An association is established between the new pickup code and the slot information, and the new pickup code is used as a valid pickup code.

3. The method according to claim 1, characterized in that The invalidation of the original pickup code in the cabinet information includes: Determine the slot information of the parcel to be picked up in the express cabinet based on the cabinet information; Cancel the association between the original pickup code and the slot information, so that the original pickup code in the cabinet information becomes invalid; Accordingly, generating a valid pickup code according to the in-cabinet information includes: Re-establish the association between the original pickup code and the slot information, and use the original pickup code as a valid pickup code.

4. The method according to claim 1, characterized in that: The invalidation of the original pickup code in the cabinet information includes: Add a freezing mark to the original pickup code in the cabinet information, and prohibit sending a door opening instruction to the compartment where the package to be picked up is located according to the freezing mark, so as to freeze the original pickup code; Accordingly, generating a valid pickup code according to the in-cabinet information includes: The freeze mark is deleted, the original pickup code is used as a valid pickup code, and a door opening instruction is allowed to be sent to the compartment where the package to be picked up is located.

5. The method according to claim 1, characterized in that After obtaining the in-cabin information of the package to be picked up, the method further includes: Modify the in-cabinet status in the in-cabinet information from a waiting-to-pick-up status to a refund-applied status, generate first reminder information including the in-cabinet status, and send the first reminder information to the user; Accordingly, when the refund processing result is a refund confirmation, the method further includes: Modify the on-counter status in the on-counter information from a refund application status to a refund approval status, a return order placement, and a waiting-for-collection status, generate a second reminder message including the on-counter status, and send the second reminder message to the user; Accordingly, when the refund processing result is a rejection of the refund, the method further includes: The on-counter status in the on-counter information is modified from a refund-applied-for status to a refund-rejected-and-pickup-awaited status, a third reminder message including the on-counter status is generated, and the third reminder message is sent to the user.

6. The method according to claim 1, characterized in that The sending the counter information to the express delivery platform according to the return instruction in the refund processing result message includes: Receive the shipping interface calling instruction sent by the e-commerce platform, send the cabinet information to the e-commerce platform through the shipping interface according to the shipping interface calling instruction, receive the return order generated by the e-commerce platform according to the cabinet information, and send the return order to the express delivery platform.

7. The method according to claim 1, characterized in that Also includes: When the refund processing result is to forward the package, the in-cabinet information and the recipient information in the forwarding message are sent to the express platform according to the forwarding instruction in the refund processing result message, so as to forward the package to be picked up through the express platform.

8. A device for handling packages to be picked up, characterized in that: include: The pickup code invalidation processing module is used to receive the refund application status message of the to-be-collected package sent by the e-commerce platform, obtain the cabinet information of the to-be-collected package, and invalidate the original pickup code in the cabinet information; A processing result acquisition module, used to obtain a refund processing result message of the e-commerce platform for the package to be picked up, wherein the refund processing result message is used to indicate the refund processing result of the package to be picked up; A return processing module, configured to send the in-cabinet information to the express platform according to the return instruction in the refund processing result message when the refund processing result is a confirmed refund, so as to perform a return processing on the to-be-collected package through the express platform; The effective pickup code generation module is used to generate a valid pickup code according to the in-cabinet information when the refund processing result is a rejection of the refund, and send the valid pickup code to the user to notify the user to pick up the package to be picked up.

9. A server, characterized in that: The server comprises: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing a package to be picked up as described in any one of claims 1-7.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the method for processing a package to be picked up as described in any one of claims 1 to 7 when executed by a computer processor.