Intelligent cabinet delivery method, device and equipment and medium

By establishing a real-time message channel between the server and the work terminal, and performing grid closure detection in the cabinet, the problem of long feedback time in the existing technology is solved, and the express delivery speed is improved.

CN120014758APending Publication Date: 2025-05-16SHANGHAI ZHONGTONGJI NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510166703.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-14
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

In the process of express delivery, the working terminal needs to continuously initiate a grid closure query, resulting in a long feedback time for grid closure, affecting the speed of express delivery.

Method used

By establishing and maintaining an open message channel between the server and the work terminal, real-time communication between the work terminal and the cabinet is carried out through the server. After the free grid is turned on, the cabinet continues to perform grid closing detection, and timely transmits the closing information of the target grid.

Benefits of technology

The time for sending the closing information to the working terminal after the grid is closed is shortened, the express delivery speed is improved, and the problem of waiting for the grid to close the information is solved for a long time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120014758A_ABST
    Figure CN120014758A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an intelligent cabinet delivery method and device, equipment and a medium, and relates to the technical field of express delivery. The method is executed by a server, and comprises the following steps: if a cabinet idle cell opening request for express delivery sent by a working terminal is received through a first message channel, sending an idle cell opening instruction and an idle cell detection instruction to a cabinet through a second message channel, the idle grid opening is opened by the cabinet, and grid opening closing detection is continuously carried out on the idle grid opening; if closing information of the target cell sent by the cabinet is received through the second message channel, the target cell information is sent to the working terminal through the first message channel, and if a binding result fed back by the working terminal is received through the first message channel, it is determined that delivery of the express in the target cell is completed. According to the technical scheme, the express delivery time is greatly shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of express delivery technology, and in particular to a smart cabinet delivery method, device, equipment and medium. Background Art

[0002] When a courier or a courier robot delivers a package, one delivery scenario is to place the package in a cabinet, and then the recipient picks up his or her package from the compartment of the cabinet.

[0003] When delivering express to a locker, the current main solution is for the courier to repeatedly initiate slot closure queries on the work terminal until one of the queries returns that the slot is closed, and then the express item can be bound to the slot.

[0004] The current technical solution requires the working terminal to continuously initiate slot closure queries. Only queries after the slot of the cabinet is closed can feedback on the slot closure be obtained. There is a problem of long feedback time for slot closure, which affects the delivery speed of express delivery. Summary of the invention

[0005] The present invention provides a smart cabinet delivery method, device, equipment and medium, which can shorten the time for sending closing information to a work terminal after a compartment is closed, thereby improving the delivery speed of express delivery.

[0006] According to one aspect of the present invention, a smart cabinet delivery method is provided, the method is executed by a server, and the method includes:

[0007] If a request for opening a free slot of a cabinet for express delivery is received from a working terminal through the first message channel, a free slot opening instruction and a free slot detection instruction are sent to the cabinet through the second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot; the working terminal is an electronic device used for express delivery;

[0008] If the closing information of the target slot is received from the cabinet through the second message channel, the target slot information is sent to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and the binding result is fed back to the server through the first message channel;

[0009] If the binding result fed back by the working terminal is received through the first message channel, it is determined that the express in the target slot has been delivered;

[0010] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0011] According to another aspect of the present invention, a smart cabinet delivery method is provided, the method being executed by a working terminal, the method comprising:

[0012] Sending a request to open a free slot of a cabinet for express delivery to a server through a first message channel, so that the server sends a free slot opening instruction and a free slot detection instruction to the cabinet through a second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot, and after detecting that the target slot is closed, sends closing information of the target slot to the server through the second message channel, so that the server feeds back the target slot information to the work terminal; the work terminal is an electronic device used for express delivery;

[0013] If the target slot information sent by the server is received through the first message channel, the delivered express is bound to the target slot, and the binding result is fed back to the server through the first message channel, so that the server determines that the express in the target slot has been delivered;

[0014] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0015] According to another aspect of the present invention, a smart cabinet delivery method is provided, the method being executed by a cabinet machine, the method comprising:

[0016] If an idle slot opening instruction and an idle slot detection instruction for express delivery are received from the server through the second message channel, the idle slot is opened and the idle slot is continuously closed. The server sends the idle slot opening instruction and the idle slot detection instruction after receiving a cabinet idle slot opening request for express delivery from the working terminal through the first message channel. The working terminal is an electronic device used for express delivery.

[0017] If it is detected that the target slot is closed, the closing information of the target slot is sent to the server through the second message channel, so that the server sends the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeds back the binding result to the server through the first message channel, so that the server determines that the express in the target slot has been delivered;

[0018] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0019] According to one aspect of the present invention, there is provided a smart cabinet delivery device, which is configured in a server, and the device comprises:

[0020] An idle slot opening instruction sending module is used to send an idle slot opening instruction and an idle slot detection instruction to the cabinet through a second message channel if a request for opening an idle slot of a cabinet for express delivery is received from a working terminal through a first message channel, so that the cabinet opens the idle slot and continuously performs slot closing detection on the idle slot; the working terminal is an electronic device used for express delivery;

[0021] The target slot information forwarding module is used for, if the target slot closing information sent by the cabinet is received through the second message channel, sending the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeding back the binding result to the server through the first message channel;

[0022] The express delivery confirmation module is used to determine that the express in the target slot has been delivered if the binding result fed back by the working terminal is received through the first message channel;

[0023] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0024] According to another aspect of the present invention, there is provided a smart cabinet delivery device, which is configured in a work terminal, and the device comprises:

[0025] An idle slot opening request sending module is used to send an idle slot opening request for a cabinet for express delivery to a server through a first message channel, so that the server sends an idle slot opening instruction and an idle slot detection instruction to the cabinet through a second message channel, so that the cabinet opens the idle slot and continuously performs slot closing detection on the idle slot, and sends closing information of the target slot to the server through the second message channel after detecting that the target slot is closed, so that the server feeds back the target slot information to the work terminal; the work terminal is an electronic device used for express delivery;

[0026] A module for binding express and target slot, for binding the delivered express and the target slot if the target slot information sent by the server is received through the first message channel, and feeding back the binding result to the server through the first message channel, so that the server can determine that the express in the target slot has been delivered;

[0027] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0028] According to another aspect of the present invention, there is provided an intelligent cabinet delivery device, which is configured in a cabinet, and the device comprises:

[0029] The idle slot opening and detection module is used to open the idle slot and continuously perform slot closing detection on the idle slot if an idle slot opening instruction and an idle slot detection instruction for express delivery are received from the server through the second message channel; the server sends the idle slot opening instruction and the idle slot detection instruction after receiving a cabinet idle slot opening request for express delivery from the working terminal through the first message channel; the working terminal is an electronic device used for express delivery;

[0030] The target slot closing information sending module is used for sending the target slot closing information to the server through the second message channel if it is detected that the target slot is closed, so that the server sends the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeds back the binding result to the server through the first message channel, so that the server determines that the express in the target slot has been delivered;

[0031] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0032] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0033] at least one processor; and

[0034] a memory communicatively connected to the at least one processor; wherein,

[0035] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the smart cabinet delivery method executed by the server in any embodiment of the present invention, or execute the smart cabinet delivery method executed by the work terminal in any embodiment of the present invention, or execute the smart cabinet delivery method executed by the cabinet machine in any embodiment of the present invention.

[0036] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the smart cabinet delivery method executed by the server in any embodiment of the present invention, or implement the smart cabinet delivery method executed by the work terminal in any embodiment of the present invention, or implement the smart cabinet delivery method executed by the cabinet machine in any embodiment of the present invention.

[0037] In the technical solution of the embodiment of the present application, the method is executed by the server, and the method includes: if a request for opening a free slot of a cabinet for express delivery is received from a work terminal through a first message channel, a free slot opening instruction and a free slot detection instruction are sent to the cabinet through a second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot; the work terminal is an electronic device for express delivery; if closing information of a target slot is received from the cabinet through the second message channel, the target slot information is sent to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeds back the binding result to the server through the first message channel; if the binding result fed back by the work terminal is received through the first message channel, it is determined that the express in the target slot has been delivered; wherein, the first message channel is a message channel between the work terminal and the server, and the second message channel is a message channel between the cabinet and the server; both the first message channel and the second message channel remain open. The present technical solution establishes and maintains an open state between the server and the work terminal, so that the work terminal can send and receive messages in real time when communicating with the cabinet through the server, which can reduce communication time, thereby shortening the express delivery time and improving the express delivery efficiency. In the present technical solution, after the cabinet opens an idle slot, it continuously performs slot closure detection on the idle slot, so that after the slot is closed, the closed target slot information can be quickly transmitted to the work terminal through the message channel. Compared with the existing technical solution in which the work terminal repeatedly initiates slot closure queries, the work terminal can only obtain the closed slot information at the next query after the slot is closed. There is no need to wait for the work terminal to query after the slot is closed, which solves the problem of long waiting time for slot closure information and thus shortens the express delivery time.

[0038] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0040] Figure 1 It is a flow chart of a smart cabinet delivery method provided according to the first embodiment of the present application;

[0041] Figure 2 It is a flow chart of a smart cabinet delivery method provided according to the second embodiment of the present application;

[0042] Figure 3 A communication diagram from a work terminal to a server and then to a cabinet;

[0043] Figure 4 A schematic diagram of a communication process from a cabinet to a work terminal;

[0044] Figure 5 It is a flow chart of a smart cabinet delivery method provided according to the third embodiment of the present application;

[0045] Figure 6 It is a flow chart of a smart cabinet delivery method provided according to the fourth embodiment of the present application;

[0046] Figure 7 It is a structural schematic diagram of a smart cabinet delivery device provided according to Embodiment 5 of the present application;

[0047] Figure 8 It is a structural schematic diagram of a smart cabinet delivery device provided according to Embodiment 6 of the present application;

[0048] Fig. 9 It is a structural schematic diagram of a smart cabinet delivery device provided according to Embodiment 7 of the present application;

[0049] Fig.10 It is a structural schematic diagram of an electronic device that implements a smart cabinet delivery method according to an embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

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

[0052] Embodiment 1

[0053] Figure 1 A flowchart of a smart cabinet delivery method is provided for the first embodiment of the present application. The present embodiment of the present application is applicable to the case of delivering express in a cabinet. The method can be executed by a smart cabinet delivery device. The smart cabinet delivery device can be implemented in the form of hardware and / or software. The smart cabinet delivery device can be configured in a server. Figure 1 As shown, the method is executed by a server, and the method includes:

[0054] S110, if a request for opening a free slot of a cabinet for express delivery is received from a working terminal through the first message channel, a free slot opening instruction and a free slot detection instruction are sent to the cabinet through the second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot.

[0055] Among them, the working terminal is an electronic device used for express delivery, and the working terminal may include a code scanning device, which can be used to scan the express delivery bill. The working terminal can also communicate with the server to query the information of nearby cabinets, etc. Since the express delivery industry is relatively mature, the terminals used by couriers for express delivery, the functional modules used for express delivery in express robots, etc. can all be working terminals, and the embodiments of this application will not be described in detail about the working terminal. The cabinet is an express cabinet, and multiple compartments can be set in the cabinet, and the express delivered can be placed in the compartments.

[0056] In an embodiment of the present application, the first message channel is a message channel between the work terminal and the server, and the second message channel is a message channel between the cabinet and the server; both the first message channel and the second message channel remain open.

[0057] Specifically, under normal circumstances, when the courier delivers a parcel to a cabinet, a first message channel is established between the work terminal and the server, and a second message channel is established between the server and the cabinet. The courier delivers the parcel through the work terminal to query the nearby cabinets. After determining the cabinet that can be delivered, the work terminal sends a request to open the cabinet's idle slots for express delivery to the sending server through the first message channel. After receiving the request, the server sends an idle slot opening instruction and an idle slot detection instruction to the cabinet through the second message channel, so that the cabinet opens the idle slot and continues to perform slot closing detection on the idle slot, so that after the express is put into the slot in the direction of express delivery and the slot is closed, the slot closing information can be detected at the first time.

[0058] S120, if the closing information of the target compartment is received from the cabinet through the second message channel, the target compartment information is sent to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target compartment, and feeds back the binding result to the server through the first message channel.

[0059] Specifically, if the closing information of the target compartment is received from the cabinet through the second message channel, this reflects that the courier delivery party has delivered the express and closed the target compartment of the cabinet, so the cabinet can detect the closing information of the target compartment, and the server can send the target compartment information to the work terminal through the first message channel to enable the work terminal to bind the delivered express with the target compartment.

[0060] Exemplarily, the number of free slots in the cabinet is greater than or equal to 2. In this case, after the cabinet opens the free slots, it continuously performs slot closure detection on at least two free slots. When the courier delivery party makes a courier delivery, it can place a courier in a slot and close the corresponding slot. The cabinet can detect that the target slot is closed. The target slot is the slot closed by the courier delivery party after the courier delivery. The number of target slots is usually 1. After the server sends the target slot information to the work terminal through the first message channel, the work terminal can bind the delivered courier with the target slot, thereby completing the delivery of a courier. In this case, there are other free slots that are open, and the courier delivery party can deliver the courier in turn.

[0061] S130: If the binding result fed back by the working terminal is received through the first message channel, it is determined that the express in the target slot has been delivered.

[0062] Specifically, after the working terminal binds the delivered express with the target grid, it feeds back the binding result to the server through the first message channel. Therefore, if the binding result fed back by the working terminal is received, it can be determined that the express in the target grid has been delivered, and the information about the cabinet and grid where the relevant express is located can be sent to the express recipient.

[0063] In the technical solution of the embodiment of the present application, the method is executed by the server, and the method includes: if a request for opening a free slot of a cabinet for express delivery is received from a work terminal through a first message channel, a free slot opening instruction and a free slot detection instruction are sent to the cabinet through a second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot; the work terminal is an electronic device for express delivery; if closing information of a target slot is received from the cabinet through the second message channel, the target slot information is sent to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeds back the binding result to the server through the first message channel; if the binding result fed back by the work terminal is received through the first message channel, it is determined that the express in the target slot has been delivered; wherein, the first message channel is a message channel between the work terminal and the server, and the second message channel is a message channel between the cabinet and the server; both the first message channel and the second message channel remain open. The present technical solution establishes and maintains an open state between the server and the work terminal, so that the work terminal can send and receive messages in real time when communicating with the cabinet through the server, which can reduce communication time, thereby shortening the express delivery time and improving the express delivery efficiency. In the present technical solution, after the cabinet opens an idle slot, it continuously performs slot closure detection on the idle slot, so that after the slot is closed, the closed target slot information can be quickly transmitted to the work terminal through the message channel. Compared with the existing technical solution in which the work terminal repeatedly initiates slot closure queries, the work terminal can only obtain the closed slot information at the next query after the slot is closed. There is no need to wait for the work terminal to query after the slot is closed, which solves the problem of long waiting time for slot closure information and thus shortens the express delivery time.

[0064] Embodiment 2

[0065] Figure 2 This is a flow chart of a smart cabinet delivery method provided in Example 2 of the present application. The embodiment of the present application is optimized based on the above embodiment.

[0066] like Figure 2 As shown, the method of the embodiment of the present application specifically includes the following steps:

[0067] S210, if a request for opening a free slot of a cabinet for express delivery is received from a working terminal through the first message channel, a free slot opening instruction and a free slot detection instruction are sent to the cabinet through the second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot; the working terminal is an electronic device used for express delivery.

[0068] Exemplarily, after the working terminal receives the free cabinet information, the courier delivery party can select one or more tracks that need to be delivered for express delivery on the working terminal, or select a sub-cabinet in the cabinet, and then the working terminal sends a free slot opening request of the selected cabinet to the server through the first message channel. If the server receives the free slot opening request of the cabinet for express delivery sent by the working terminal through the first message channel, it sends a free slot opening instruction and a free slot detection instruction to the selected cabinet through the second message channel, so that the selected cabinet opens the free slots and continuously performs slot closing detection on the free slots; in this case, the free slots are all slots to be delivered for express delivery, and exemplarily, the number of free slots is at least two.

[0069] In the embodiment of the present application, the work terminal communicates with the server through the first message channel, and the server communicates with the cabinet through the second message channel. The communication process can be referred to Figure 3 , Figure 3 A communication diagram from a work terminal to a server and then to a cabinet is shown in Figure 3In the example, a message service is provided in the server, and the message service is used to keep the message channel open. A business service is also provided in the server, and the business service is used to perform relevant business processing for express delivery. The message gateway service is used to send and receive messages between various systems (the systems of the working terminal and the cabinet may be different). Specifically, the cabinet can establish a connection with the message service in the server and keep the session channel open, that is, keep the second message channel open. The same is true between the working terminal and the message service. The working terminal can send a request to open the cabinet idle slot for express delivery to the business service in the server. After receiving the data, the business service queries the registration number of the cabinet that needs to be opened and other information, and then determines the IP according to the cabinet registration number through the message gateway service, and determines the ID of this session, and then pushes the idle slot opening instruction and the idle slot detection instruction based on the IP. At this time, the message service queries the second message channel according to the ID of the session, and then sends the idle slot opening instruction and the idle slot detection instruction to the cabinet through the second message channel. Exemplarily, the cabinet establishes a connection with the server through an account and password and maintains a session channel, and the IP and cabinet number are saved on the server; the work terminal establishes a connection with the server through an account and password and maintains a session channel, and the IP and user ID are saved on the server; the cabinet registration number is the connection information saved to the server when the connection is established; the session ID is the connection information saved to the server when the connection is established.

[0070] Exemplarily, in the process of opening the idle slots, the working terminal sends a command to the cabinet terminal through a message channel, and the cabinet terminal opens the idle slots in batches.

[0071] S220, if the closing information of the target slot sent by the cabinet is received through the second message channel, it is determined whether the number of the target slot is 1, and if so, S230 is executed; otherwise, S240 is executed.

[0072] S230: Send the target grid information to the working terminal through the first message channel.

[0073] Specifically, if the number of target slots is 1, it indicates that the express delivery is normal, and the target slot information can be directly sent to the work terminal through the first message channel.

[0074] S240: Send a target slot opening instruction and a slot detection instruction to the cabinet through the second message channel, so that the cabinet opens the target slot and continues to perform closing detection on the idle slots.

[0075] Specifically, if the number of target slots is 1, that is, the number of target slots is at least two, this situation may be an abnormal situation such as at least two slots are closed by mistake, wind blows and causes multiple slots to be closed, etc.; the embodiment of the present application directly determines the number of target slots on the server side. If it is not 1, the target slot opening instruction and the slot detection instruction are sent to the cabinet through the second message channel, so that the cabinet opens the target slot and continues to perform closure detection on the idle slots, so that the courier delivery party can perform the slot closing operation again.

[0076] The method also includes: sending information that the compartment closure has failed and the cabinet door has automatically popped open to the working terminal through the first message channel, so that the courier delivery party can close the cabinet door again.

[0077] S250, until the target slot closing information sent by the cabinet is received, and the number of the target slot is 1, the target slot information is sent to the work terminal through the first message channel.

[0078] S260: If the binding result fed back by the working terminal is received through the first message channel, it is determined that the express in the target slot has been delivered.

[0079] S270, determining the communication method of the courier recipient according to the courier information in the binding result.

[0080] S280, sending the cabinet slot information in the binding result to the express recipient based on the communication method of the express recipient.

[0081] Specifically, after it is determined that the express in the target slot has been delivered, the communication method of the express recipient can be determined based on the express information in the binding result. If the communication method is operator SMS communication, the locker slot information in the binding result can be sent to the mobile phone number of the express recipient, and the express recipient can know the slot where the express is located.

[0082] In an embodiment of the present application, optionally, the method also includes: if a slot closing query request is received from a working terminal, a long rotation channel is established between the working terminal and the server; until the slot closing information is obtained from the cabinet, the slot closing information is sent to the working terminal through the long rotation channel.

[0083] Exemplarily, under normal circumstances, the work terminal does not need to initiate a grid closure query, because the cabinet will automatically query and feedback the target grid information. The embodiment of the present application also sets an active query function for the work terminal. If a grid closure query request sent by the work terminal is received, the target grid information is fed back to the work terminal through a long round-robin method after the cabinet has detected the closed target grid. This setting allows the work terminal to initiate only one query and does not require multiple communications. In a specific example, if a grid closure query request sent by the work terminal is received, a long round-robin channel is constructed between the work terminal and the server, and a long round-robin channel is constructed between the server and the cabinet. If the cabinet feeds back the target grid information to the server through the long round-robin channel, the target grid information is fed back to the work terminal through the long round-robin channel between the work terminal and the server.

[0084] In the embodiment of the present application, when the cabinet sends the target slot information to the server and then to the work terminal, reference can be made to Figure 4 , Figure 4 This is a schematic diagram of the communication process from the cabinet to the work terminal. After a session channel (second message channel) is established between the cabinet and the server, and a session channel (first message channel) is established between the server and the work terminal, the cabinet reports the target grid information to the message service, and then the business service forwards the target grid information according to the IP and ID until the work terminal receives the target grid information. Figure 4 In the process, the cabinet establishes a connection with the server through the account and password and maintains the session channel, and the connection IP and cabinet number are saved on the server; the work terminal establishes a connection with the server through the account and password and maintains the session channel, and the connection IP and user ID are saved on the server; the data contains tags and types, and the server determines the data category based on these two features; the data contains event types and event details.

[0085] The technical solution of the embodiment of the present application sets two message channels, so that the message sending and receiving between the work terminal and the cabinet can be completed quickly through the message channel. The technical solution also sets a command to directly send the target compartment to the cabinet when the number of closed compartments is large, avoiding the step of initiating processing operations through the work terminal after the courier delivery party finds the problem, further shortening the courier delivery time and improving the courier delivery efficiency.

[0086] Embodiment 3

[0087] Figure 5 A flowchart of a smart cabinet delivery method is provided for the third embodiment of the present application. The embodiment of the present application can be applied to the case of delivering express in a cabinet. The method can be executed by a smart cabinet delivery device. The smart cabinet delivery device can be implemented in the form of hardware and / or software. The smart cabinet delivery device can be configured in a work terminal. Figure 5 As shown, the method is executed by a working terminal, and the method includes:

[0088] S310, sending a request to open a free slot of a cabinet for express delivery to the server through the first message channel, so that the server sends a free slot opening instruction and a free slot detection instruction to the cabinet through the second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot, and after detecting that the target slot is closed, sends closing information of the target slot to the server through the second message channel, so that the server feeds back the target slot information to the work terminal; the work terminal is an electronic device used for express delivery.

[0089] The explanations of terms and method steps involved in the embodiments of the present application may be those stated in the above embodiments and will not be repeated here.

[0090] Specifically, a first message channel can be established and opened with the server in advance, and after the courier delivery party determines the cabinet to be used, a request to open the cabinet's free slot for express delivery is sent to the server through the first message channel. In this case, the courier delivery party only needs to wait for the cabinet's free slot to open, and the working terminal scans the delivery note of the express to be delivered, and then the courier delivery party can put the express to be delivered into the target slot and close the slot.

[0091] S320: If the target slot information is received from the server through the first message channel, the delivered express is bound to the target slot, and the binding result is fed back to the server through the first message channel, so that the server can determine that the express in the target slot has been delivered.

[0092] Specifically, if the target slot information is received from the server through the first message channel, the delivered express with the scanned express delivery bill is bound to the target slot, and the binding result is fed back to the server through the first message channel to complete the express delivery.

[0093] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0094] In an embodiment of the present application, optionally, the method further includes: sending a slot closing query request to the server, and establishing a long training channel between the working terminal and the server; if the slot closing information is received through the long training channel, closing the long training channel.

[0095] Specifically, on the one hand, the cabinet can feedback the closed target slot information, and on the other hand, the closed slot information can be queried through long rotation training. In this case, after initiating the query request, wait for the cabinet to feedback until the cabinet feedbacks the closed target slot information and the long rotation training ends.

[0096] The technical solution of the embodiment of the present application establishes and maintains an open state between the server and the work terminal, so that when the work terminal communicates with the cabinet through the server, it can send and receive messages in real time, which can reduce the communication time, thereby shortening the express delivery time and improving the express delivery efficiency. In addition, after the cabinet opens the idle slot, the cabinet continuously performs slot closure detection on the idle slot, so that after the slot is closed, the closed target slot information can be quickly transmitted to the work terminal through the message channel. Compared with the existing technical solution, the work terminal repeatedly initiates the query of the slot closure, and the work terminal can only obtain the closed slot information in the next query after the slot is closed. There is no need to wait for the query of the work terminal after the slot is closed, which solves the problem of a long waiting time for the slot closure information, thereby shortening the express delivery time.

[0097] Embodiment 4

[0098] Figure 6 A flowchart of a smart cabinet delivery method is provided for the fourth embodiment of the present application. The embodiment of the present application can be applied to the case of delivering express in a cabinet. The method can be executed by a smart cabinet delivery device. The smart cabinet delivery device can be implemented in the form of hardware and / or software. The smart cabinet delivery device can be configured in the cabinet. Figure 6 As shown, the method is executed by a cabinet, and the method includes:

[0099] S410, if an idle slot opening instruction and an idle slot detection instruction for express delivery are received from the server through the second message channel, the idle slot is opened and the idle slot is continuously detected for slot closing; the server sends the idle slot opening instruction and the idle slot detection instruction after receiving a cabinet idle slot opening request for express delivery from the working terminal through the first message channel; the working terminal is an electronic device used for express delivery.

[0100] The explanations of terms and method steps involved in the embodiments of the present application may be those stated in the above embodiments and will not be repeated here.

[0101] Specifically, if an idle slot opening instruction and an idle slot detection instruction for express delivery are received from the server through the second message channel, the idle slot is opened, and the slot closing detection is continuously performed on the idle slot opened this time. If a closing signal is detected, the slot is determined to be the target slot. In another case, at least two slots may be detected to be closed within the target time length, and all closed slots are determined to be target slots. The target time length can be determined according to actual conditions, for example, it can be a preset time length, or it can be the time length from the first detection of the slot closing to the receipt of the express binding information fed back by the server.

[0102] S420, if it is detected that the target grid is closed, the closing information of the target grid is sent to the server through the second message channel, so that the server sends the target grid information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target grid, and feeds back the binding result to the server through the first message channel, so that the server determines that the express in the target grid has been delivered.

[0103] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0104] In an embodiment of the present application, optionally, after sending the closing information of the target compartment to the server through the second message channel, the method also includes: if a target compartment opening instruction and a compartment detection instruction are received from the server through the second message channel, then opening the target compartment and continuously performing closing detection on the idle compartments; the server sends the target compartment opening instruction and the compartment detection instruction to the cabinet when the number of target compartments is not 1; until it is detected again that the target compartment is closed, then sending the closing information of the target compartment to the server through the second message channel, so that after the server confirms that the number of target compartments is 1, the server sends the target compartment information to the work terminal through the first message channel.

[0105] Specifically, if a target slot opening instruction and a slot detection instruction are received from the server through the second message channel, the target slot is opened and the idle slots are continuously detected for closing, and the closed slot is determined as the target slot, so that after the server confirms that the number of target slots is 1, the target slot information is sent to the working terminal through the first message channel to complete the current express delivery, and then the slot closing detection is continued for the next express delivery.

[0106] The technical solution of the embodiment of the present application establishes and maintains an open state between the server and the work terminal, so that when the work terminal communicates with the cabinet through the server, it can send and receive messages in real time, which can reduce the communication time, thereby shortening the express delivery time and improving the express delivery efficiency. In addition, after the cabinet opens the idle slot, the cabinet continuously performs slot closure detection on the idle slot, so that after the slot is closed, the closed target slot information can be quickly transmitted to the work terminal through the message channel. Compared with the existing technical solution, the work terminal repeatedly initiates the query of the slot closure, and the work terminal can only obtain the closed slot information in the next query after the slot is closed. There is no need to wait for the query of the work terminal after the slot is closed, which solves the problem of a long waiting time for the slot closure information, thereby shortening the express delivery time.

[0107] Embodiment 5

[0108] Figure 7 This is a schematic diagram of the structure of a smart cabinet delivery device provided in Embodiment 5 of the present application. The device can execute the smart cabinet delivery method performed by the server provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Figure 7 As shown, the device comprises:

[0109] The idle slot opening instruction sending module 510 is used to send an idle slot opening instruction and an idle slot detection instruction to the cabinet through a second message channel if a request for opening an idle slot of a cabinet for express delivery is received from a working terminal through a first message channel, so that the cabinet opens the idle slot and continuously performs slot closing detection on the idle slot; the working terminal is an electronic device used for express delivery;

[0110] The target slot information forwarding module 520 is used for, if the target slot closing information sent by the cabinet is received through the second message channel, sending the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeding back the binding result to the server through the first message channel;

[0111] The express delivery confirmation module 530 is used to determine that the express in the target slot has been delivered if the binding result fed back by the working terminal is received through the first message channel;

[0112] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0113] The present technical solution establishes and maintains an open state between the server and the work terminal, so that the work terminal can send and receive messages in real time when communicating with the cabinet through the server, which can reduce communication time, thereby shortening the express delivery time and improving the express delivery efficiency. In the present technical solution, after the cabinet opens an idle slot, it continuously performs slot closure detection on the idle slot, so that after the slot is closed, the closed target slot information can be quickly transmitted to the work terminal through the message channel. Compared with the existing technical solution in which the work terminal repeatedly initiates slot closure queries, the work terminal can only obtain the closed slot information at the next query after the slot is closed. There is no need to wait for the work terminal to query after the slot is closed, which solves the problem of long waiting time for slot closure information and thus shortens the express delivery time.

[0114] In the embodiment of the present application, optionally, the target grid information forwarding module 520 is specifically used to:

[0115] If the closing information of the target slot sent by the cabinet is received through the second message channel, it is determined whether the number of the target slots is 1;

[0116] If yes, the target grid information is sent to the working terminal through the first message channel;

[0117] Otherwise, sending a target slot opening instruction and a slot detection instruction to the cabinet through the second message channel, so that the cabinet opens the target slot and continues to perform closing detection on the idle slots;

[0118] Until the closing information of the target slot sent by the cabinet is received and the number of the target slot is 1, the target slot information is sent to the work terminal through the first message channel.

[0119] In the embodiment of the present application, optionally, the device further includes:

[0120] A long round-robin channel building module is used to build a long round-robin channel between the working terminal and the server if a grid closing query request sent by the working terminal is received;

[0121] The compartment closing information generating module is used to send the compartment closing information to the working terminal through the long round-robin channel after obtaining the compartment closing information from the cabinet.

[0122] In the embodiment of the present application, optionally, the device further includes:

[0123] A communication method determination module is used to determine the communication method of the express recipient according to the express information in the binding result;

[0124] The express information sending module is used to send the cabinet slot information in the binding result to the express recipient based on the communication method of the express recipient.

[0125] A smart locker delivery device provided in an embodiment of the present application can execute the smart locker delivery method provided by any embodiment of the present invention and executed by a server, and has functional modules and beneficial effects corresponding to the execution method.

[0126] Embodiment 6

[0127] Figure 8 This is a structural diagram of a smart cabinet delivery device provided in Example 6 of the present application. The device can execute the smart cabinet delivery method performed by the working terminal provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Figure 8 As shown, the device comprises:

[0128] The idle slot opening request sending module 610 is used to send an idle slot opening request for express delivery to the server through the first message channel, so that the server sends an idle slot opening instruction and an idle slot detection instruction to the cabinet through the second message channel, so that the cabinet opens the idle slot and continuously performs slot closing detection on the idle slot, and sends closing information of the target slot to the server through the second message channel after detecting that the target slot is closed, so that the server feeds back the target slot information to the work terminal; the work terminal is an electronic device used for express delivery;

[0129] The express and target slot binding module 620 is used to bind the delivered express and the target slot if the target slot information sent by the server is received through the first message channel, and feed back the binding result to the server through the first message channel, so that the server can determine that the express in the target slot has been delivered;

[0130] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0131] The present technical solution establishes and maintains an open state between the server and the work terminal, so that the work terminal can send and receive messages in real time when communicating with the cabinet through the server, which can reduce communication time, thereby shortening the express delivery time and improving the express delivery efficiency. In the present technical solution, after the cabinet opens an idle slot, it continuously performs slot closure detection on the idle slot, so that after the slot is closed, the closed target slot information can be quickly transmitted to the work terminal through the message channel. Compared with the existing technical solution in which the work terminal repeatedly initiates slot closure queries, the work terminal can only obtain the closed slot information at the next query after the slot is closed. There is no need to wait for the work terminal to query after the slot is closed, which solves the problem of long waiting time for slot closure information and thus shortens the express delivery time.

[0132] Optionally, the device further comprises:

[0133] A long round-robin channel building module is used to send a grid closing query request to the server and build a long round-robin channel between the working terminal and the server;

[0134] The slot closing information receiving module is used to close the long training channel if the slot closing information is received through the long training channel.

[0135] A smart cabinet delivery device provided in an embodiment of the present application can execute the smart cabinet delivery method provided by any embodiment of the present invention and executed by a working terminal, and has functional modules and beneficial effects corresponding to the execution method.

[0136] Embodiment 7

[0137] Fig. 9 This is a schematic diagram of the structure of a smart cabinet delivery device provided in Embodiment 7 of the present application. The device can execute the smart cabinet delivery method performed by the cabinet provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. Fig. 9 As shown, the device comprises:

[0138] The idle slot opening and detection module 710 is used to open the idle slot and continuously perform slot closing detection on the idle slot if an idle slot opening instruction and an idle slot detection instruction for express delivery are received from the server through the second message channel; the server sends the idle slot opening instruction and the idle slot detection instruction after receiving a cabinet idle slot opening request for express delivery from the working terminal through the first message channel; the working terminal is an electronic device used for express delivery;

[0139] The target slot closing information sending module 720 is used to send the target slot closing information to the server through the second message channel if it is detected that the target slot is closed, so that the server sends the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeds back the binding result to the server through the first message channel, so that the server determines that the express in the target slot has been delivered;

[0140] Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

[0141] The present technical solution establishes and maintains an open state between the server and the work terminal, so that the work terminal can send and receive messages in real time when communicating with the cabinet through the server, which can reduce communication time, thereby shortening the express delivery time and improving the express delivery efficiency. In the present technical solution, after the cabinet opens an idle slot, it continuously performs slot closure detection on the idle slot, so that after the slot is closed, the closed target slot information can be quickly transmitted to the work terminal through the message channel. Compared with the existing technical solution in which the work terminal repeatedly initiates slot closure queries, the work terminal can only obtain the closed slot information at the next query after the slot is closed. There is no need to wait for the work terminal to query after the slot is closed, which solves the problem of long waiting time for slot closure information and thus shortens the express delivery time.

[0142] Optionally, the device further comprises:

[0143] A secondary closing detection module, for opening a target slot and continuously performing closing detection on idle slots if a target slot opening instruction and a slot detection instruction are received from the server through the second message channel; the server sends the target slot opening instruction and the slot detection instruction to the cabinet when the number of target slots is not 1;

[0144] The target grid closing information sending module is used to send the target grid closing information to the server through the second message channel until it is detected that the target grid is closed again, so that the server sends the target grid information to the working terminal through the first message channel after confirming that the number of target grids is 1.

[0145] A smart cabinet delivery device provided in an embodiment of the present application can execute the smart cabinet delivery method provided by any embodiment of the present invention and executed by the cabinet, and has the corresponding functional modules and beneficial effects of the execution method.

[0146] Embodiment 8

[0147] Fig.10 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0148] like Fig.10 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0149] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0150] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as the smart cabinet delivery method.

[0151] In some embodiments, the smart cabinet delivery method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the smart cabinet delivery method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the smart cabinet delivery method in any other appropriate manner (e.g., by means of firmware).

[0152] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0153] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0154] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0155] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0156] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0157] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0158] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0159] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A smart cabinet delivery method, characterized in that: The method is executed by a server, and comprises: If a request for opening a free slot of a cabinet for express delivery is received from a working terminal through the first message channel, a free slot opening instruction and a free slot detection instruction are sent to the cabinet through the second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot; the working terminal is an electronic device used for express delivery; If the closing information of the target slot is received from the cabinet through the second message channel, the target slot information is sent to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and the binding result is fed back to the server through the first message channel; If the binding result fed back by the working terminal is received through the first message channel, it is determined that the express in the target slot has been delivered; Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

2. The method according to claim 1, characterized in that If the closing information of the target slot sent by the cabinet is received through the second message channel, the target slot information is sent to the work terminal through the first message channel, including: If the closing information of the target slot sent by the cabinet is received through the second message channel, it is determined whether the number of the target slots is 1; If yes, the target grid information is sent to the working terminal through the first message channel; Otherwise, sending a target slot opening instruction and a slot detection instruction to the cabinet through the second message channel, so that the cabinet opens the target slot and continues to perform closing detection on the idle slots; Until the closing information of the target slot sent by the cabinet is received and the number of the target slot is 1, the target slot information is sent to the work terminal through the first message channel.

3. The method according to claim 1, characterized in that The method further comprises: If a port closing query request is received from a working terminal, a long polling channel is established between the working terminal and the server; After the compartment closing information is obtained from the cabinet, the compartment closing information is sent to the working terminal through the long round-robin channel.

4. The method according to claim 1, characterized in that: After determining that the express delivery in the target slot has been delivered, the method further includes: Determine the communication method of the courier recipient based on the courier information in the binding result; The cabinet slot information in the binding result is sent to the express recipient based on the express recipient's communication method.

5. A smart cabinet delivery method, characterized in that: The method is executed by a working terminal, and the method includes: Sending a request to open a free slot of a cabinet for express delivery to a server through a first message channel, so that the server sends a free slot opening instruction and a free slot detection instruction to the cabinet through a second message channel, so that the cabinet opens the free slot and continuously performs slot closing detection on the free slot, and after detecting that the target slot is closed, sends closing information of the target slot to the server through the second message channel, so that the server feeds back the target slot information to the work terminal; the work terminal is an electronic device used for express delivery; If the target slot information sent by the server is received through the first message channel, the delivered express is bound to the target slot, and the binding result is fed back to the server through the first message channel, so that the server determines that the express in the target slot has been delivered; Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

6. The method according to claim 5, characterized in that The method further comprises: Send a query request for the closing of a port to the server and build a long polling channel between the working terminal and the server; If the slot closing information is received through the long training channel, the long training channel is closed.

7. A smart cabinet delivery method, characterized in that: The method is performed by a cabinet, and the method includes: If an idle slot opening instruction and an idle slot detection instruction for express delivery are received from the server through the second message channel, the idle slot is opened and the idle slot is continuously closed. The server sends the idle slot opening instruction and the idle slot detection instruction after receiving a cabinet idle slot opening request for express delivery from the working terminal through the first message channel. The working terminal is an electronic device used for express delivery. If it is detected that the target slot is closed, the closing information of the target slot is sent to the server through the second message channel, so that the server sends the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeds back the binding result to the server through the first message channel, so that the server determines that the express in the target slot has been delivered; Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

8. The method according to claim 7, characterized in that After sending the closing information of the target slot to the server through the second message channel, the method further includes: If a target slot opening instruction and a slot detection instruction are received from the server through the second message channel, the target slot is opened and the idle slots are continuously closed. The server sends the target slot opening instruction and the slot detection instruction to the cabinet when the number of target slots is not 1. Until it is detected again that the target slot is closed, the closing information of the target slot is sent to the server through the second message channel, so that after the server confirms that the number of target slots is 1, it sends the target slot information to the working terminal through the first message channel.

9. A smart cabinet delivery device, characterized in that: Configured in a server, the device includes: An idle slot opening instruction sending module is used to send an idle slot opening instruction and an idle slot detection instruction to the cabinet through a second message channel if a request for opening an idle slot of a cabinet for express delivery is received from a working terminal through a first message channel, so that the cabinet opens the idle slot and continuously performs slot closing detection on the idle slot; the working terminal is an electronic device used for express delivery; The target slot information forwarding module is used for, if the target slot closing information sent by the cabinet is received through the second message channel, sending the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeding back the binding result to the server through the first message channel; The express delivery confirmation module is used to determine that the express in the target slot has been delivered if the binding result fed back by the working terminal is received through the first message channel; Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

10. A smart cabinet delivery device, characterized in that: Configured in a work terminal, the device includes: An idle slot opening request sending module is used to send an idle slot opening request for a cabinet for express delivery to a server through a first message channel, so that the server sends an idle slot opening instruction and an idle slot detection instruction to the cabinet through a second message channel, so that the cabinet opens the idle slot and continuously performs slot closing detection on the idle slot, and sends closing information of the target slot to the server through the second message channel after detecting that the target slot is closed, so that the server feeds back the target slot information to the work terminal; the work terminal is an electronic device used for express delivery; A module for binding express and target slot, for binding the delivered express and the target slot if the target slot information sent by the server is received through the first message channel, and feeding back the binding result to the server through the first message channel, so that the server can determine that the express in the target slot has been delivered; Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

11. A smart cabinet delivery device, characterized in that: Configured in a cabinet, the device includes: The idle slot opening and detection module is used to open the idle slot and continuously perform slot closing detection on the idle slot if an idle slot opening instruction and an idle slot detection instruction for express delivery are received from the server through the second message channel; the server sends the idle slot opening instruction and the idle slot detection instruction after receiving a cabinet idle slot opening request for express delivery from the working terminal through the first message channel; the working terminal is an electronic device used for express delivery; The target slot closing information sending module is used for sending the target slot closing information to the server through the second message channel if it is detected that the target slot is closed, so that the server sends the target slot information to the work terminal through the first message channel, so that the work terminal binds the delivered express with the target slot, and feeds back the binding result to the server through the first message channel, so that the server determines that the express in the target slot has been delivered; Among them, the first message channel is the message channel between the work terminal and the server, and the second message channel is the message channel between the cabinet and the server; the first message channel and the second message channel are both kept open.

12. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the smart cabinet delivery method executed by the server in any one of claims 1-4, or execute the smart cabinet delivery method executed by the work terminal in any one of claims 5-6, or execute the smart cabinet delivery method executed by the cabinet in any one of claims 7-8.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which are used to enable the processor to implement the smart cabinet delivery method executed by the server in any one of claims 1-4, or implement the smart cabinet delivery method executed by the work terminal in any one of claims 5-6, or implement the smart cabinet delivery method executed by the cabinet in any one of claims 7-8.

Citation Information

Patent Citations

  • Express delivery storing and withdrawing system and express delivery storing and withdrawing method

    CN105096086A

  • Method and system for batch delivery of express delivery cabinet

    CN107274118A

  • Intelligent box delivery and pickup method and device, terminal, intelligent box and storage medium

    CN112489254A

  • Off-line cabinet opening method and device of intelligent cabinet

    CN114783116A

  • Double-layer express cabinet delivery and pickup method and double-layer express cabinet

    CN116259138A