Method and device for reporting storage space status of intelligent locker
Through direct communication between mobile terminals and servers, the storage space status of the smart storage cabinet is reported in a timely manner, solving the problem of inconsistent status between the smart storage cabinet and the server side, and enhancing the security and user experience of items.
Patent Information
- Application Number
- CN202011118963.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-19
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2040-10-19
AI Technical Summary
The storage space status of the smart storage cabinet is inconsistent with the server-side status, which affects the security of the use and the user's storage of items.
The mobile terminal makes an operation request to the server. The smart cabinet opens the storage space according to the server instructions and reports the status. The mobile terminal checks the server status regularly and reports abnormalities when the status does not match. A timing synchronization mechanism is added to ensure that the status of the server and cabinet is consistent. .
The paperless operation of smart storage cabinets is realized, the safety of items is enhanced, communication problems and mechanical failures are promptly discovered and handled, and data synchronization and usage experience is improved.
Smart Images

Figure CN112184392B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent lockers, and more specifically, to a method and device for reporting the storage space status of an intelligent locker. Background Art
[0002] There are more and more types of lockers on the market, for example, the new WeChat-connected smart lockers that allow users to select storage space on their mobile phones. This type of smart locker has obvious advantages over traditional barcode lockers. For example, it is paperless, can be operated by multiple people at the same time, access records can be queried in the cloud, and supports remote unpacking and clearing of boxes by administrators. However, compared with traditional stand-alone lockers, it has higher requirements for network communication and server technology, and it is necessary to ensure that the storage space status on the server side is consistent with the storage space status on the cabinet side. A basic requirement is that the storage space status of the server and the cabinet must be unified. However, in practice, the message communication between the server and the cabinet may be abnormal due to network or other factors, resulting in inconsistent storage space status on both sides. This inconsistency will affect the use of smart lockers and the safety of items stored by users. Summary of the invention
[0003] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art that affect the use of smart lockers and the safety of items stored by users, a method and device for reporting the storage space status of the smart locker is provided, which can synchronize the storage space status on the smart locker with the storage space status on the server in a timely manner.
[0004] The technical solution adopted by the present invention to solve the technical problem is: constructing a method for reporting the storage space status of the intelligent locker, comprising the following steps:
[0005] A) After the server receives the operation request sent by the mobile terminal, the smart locker opens the door of the designated storage space according to the instruction of the server, and reports the state change of the storage space to the server in sequence, so that the server synchronizes the state of the storage space in the server with the state of the storage space in the smart locker;
[0006] B) The mobile terminal periodically queries the server to obtain the status of the storage space in the server; when the status of the storage space on the server is inconsistent with the status of the storage space on the smart locker, the mobile terminal reports to the server that the storage space status is abnormal.
[0007] Furthermore, the method further comprises the following steps:
[0008] The smart locker reports the collected status of each storage space to the server at a set time interval, so that the server synchronizes the status of the storage space in the server with the status of the storage space in the smart locker.
[0009] Furthermore, the storage space status includes the storage status of whether there are items in the storage space obtained by an infrared detection device installed inside the storage space; the operation request includes selecting an idle storage space and issuing a storage request and using a mobile terminal number or identification code as a user identification code to issue a retrieval request.
[0010] Furthermore, the setting procedure in step B) includes the following steps:
[0011] B1) The server creates a temporary order, locks the storage space, and issues an unlocking instruction to the smart locker;
[0012] B2) The smart locker confirms the status of the locked storage space and returns a response to the server command; if the storage space is confirmed to be available, the next step is executed; otherwise, the status of the locked storage space is reported to the server, and the storage space status on the server is updated;
[0013] B3) the smart locker performs an unlocking operation and reports the operation result to the server;
[0014] B4) The server receives the unpacking result, updates the storage space status on the server, and notifies the smart locker of receiving the storage space update data.
[0015] Furthermore, in the step B2), the step of the smart locker confirming the state of the storage space includes: confirming that the state of the storage space is idle and activating an item detection unit in the storage space to confirm that there are no items in the storage space.
[0016] Furthermore, in the step B2), when the smart locker reports that there are items in the storage space, the server locks the storage space and marks its status as faulty.
[0017] Furthermore, the step C) further comprises the following steps:
[0018] C1) the server displays that the door of the storage space is open, but the mobile terminal reports that the door is not open;
[0019] C2) The server determines whether the door opening operation exceeds the set number of times, and if so, executes the next step; if not, sends a door opening instruction to the smart locker again;
[0020] C3) marking the storage space status as damaged.
[0021] Furthermore, the mobile terminal downloads and runs the smart locker application through a social application including a WeChat official account or a WeChat applet, or directly runs the smart locker application, so that the corresponding request submission interface and storage space status reporting interface are displayed on the mobile terminal.
[0022] The present invention also relates to a device for implementing the above method, comprising:
[0023] Operation execution unit: used to enable the server to, after receiving the operation request sent by the mobile terminal, open the door of the designated storage space according to the instruction of the server, and report the state change of the storage space to the server in sequence, so that the server synchronizes the state of the storage space in the server with the state of the storage space in the smart locker;
[0024] Abnormal status reporting unit: used to enable the mobile terminal to query the server regularly to obtain the status of the storage space in the server; when the status of the storage space on the server is inconsistent with the status of the storage space on the smart locker, the mobile terminal reports the abnormal status of the storage space to the server.
[0025] Furthermore, it also includes:
[0026] Timing synchronization unit: used to enable the smart locker to report the collected status of each storage space to the server at a set time interval, so that the server synchronizes the status of the storage space in the server with the status of the storage space in the smart locker.
[0027] The method and device for reporting the storage space status of the smart locker of the present invention have the following beneficial effects: since a mobile terminal is used to directly make an operation (for example, deposit or retrieve) request to the server through an APP (directly run or downloaded from a certain social platform), the server issues an unlocking instruction to the smart locker, so that the use of the smart locker is paperless, which is more environmentally friendly and convenient; at the same time, through direct communication between the mobile terminal and the server, the user can report the door status of the smart locker to the server in real time, so that the server can timely know the actual status of the smart locker, discover communication problems with the smart locker and mechanical failures of the smart locker itself, that is, add another abnormal reporting data channel (existing between the mobile terminal and the server) in addition to the original data channel between the smart locker and the server. Therefore, it can synchronize the storage space status on the smart locker with the storage space status on the server side in time, and will not affect the use of the smart locker, thereby increasing the safety of the items in the locker. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a method flow chart of a method and device embodiment for reporting the storage space status of an intelligent locker according to the present invention;
[0029] Figure 2 is a flowchart of the execution of the setting program in the embodiment;
[0030] Figure 3 is an operation flow chart after the server receives a message indicating that the storage space status is abnormal in the embodiment;
[0031] Figure 4 Schematic diagram of the structure of the device in the embodiment. DETAILED DESCRIPTION
[0032] The embodiments of the present invention will be further described below with reference to the accompanying drawings.
[0033] like Figure 1 As shown, in the method and device embodiment of the present invention for reporting the storage space status of the smart locker, the method for reporting the storage space status of the smart locker includes the following steps:
[0034] Step S11 makes an operation request to the server through the mobile terminal: In this embodiment, taking an example of operating the smart locker system using an APP on a mobile terminal, when the user finds that the actual state of the smart locker is different from the state provided by the server, how to report to the server to avoid the use problems of the entire system, the method and device for reporting the storage space state of the smart locker are described. In this embodiment, the above operation can be depositing or retrieving. In fact, the retrieval operation is relatively similar to the deposit operation except that the identity of the user needs to be judged. In this step, the above operation request is made through a specified interface (for example, a deposit interface or a retrieval interface) in an application (APP) that is run on the user's mobile terminal in a web page or directly downloaded and executed; for the situation in this embodiment, the above application is directly run or downloaded on a certain social software or a special network platform. For example, the mobile terminal downloads and runs or directly runs the application of the smart locker through a social application including a WeChat public account or a WeChat applet, so that the corresponding request interface and storage space status reporting interface are displayed on the mobile terminal.
[0035] Step S12: The server and the smart locker execute a setting program to open the designated door and report the storage space status: In this step, after receiving the above operation request, the server executes the setting program with the smart locker, and the smart locker opens the door of the designated storage space according to the instructions of the server, and reports the status change of the storage space to the server in sequence, so that the status of the storage space in the server is synchronized with the smart locker. In this embodiment, the above setting program includes the issuance and reply of instructions, data transmission and confirmation, etc. between the server and the terminal commonly used in the prior art. The purpose of its execution or setting is to enable the smart locker to open the designated door and upload relevant data, status or reply, etc. according to the instructions of the server under the control of the server. These operations and steps also exist in the prior art.
[0036] Step S13: The mobile terminal obtains the storage space status on the server at regular intervals: In this embodiment, the status of the above storage space is represented by one or some data in a certain format, and the source of these data certainly includes the smart locker; in the program set in the above step S12, these status data will be reported to the server, and the server will obtain the status data of the storage space of the smart locker on the server after concentrating these data. These status data on the server are generally synchronized with the status data on the smart express locker. However, in the event of network anomalies or smart locker anomalies, the status data on the above server may be inconsistent with the status data on the smart locker or the actual situation of the smart locker, which will affect the use of the smart locker, and the safety of the stored items may be threatened. In view of this, in this embodiment, a reporting channel for the storage space status from the mobile terminal to the server is set or added, so that the reporting channel is increased to eliminate the data asynchrony caused by communication problems between the smart locker and the server. In this step, the mobile terminal sends a request to the server, requesting the server to send the storage space status data to the mobile terminal, so that the user can obtain the current status of the storage space in the server and compare it with the actual situation of the smart locker seen on site.
[0037] Step S14: When the actual state of the storage space is inconsistent with the state sent by the server, the mobile terminal reports to the server: In this step, when the state of the storage space downloaded or transmitted by the server is inconsistent with the state of the storage space on the smart locker, the abnormal state of the storage space is reported to the server through the setting page of the above APP. After receiving the data sent by the mobile terminal, the above server takes corresponding measures according to the situation, for example, repeatedly sends the door opening command or marks the storage space and requires the user to reselect the storage space for storage, etc.
[0038] In this embodiment, while or after executing the above steps, the smart locker reports the collected status of each storage space to the server at a set time interval to synchronize the storage space status on the server. Such regular reporting can solve the problem of data asynchrony between the smart locker and the server due to network failure or poor data transmission quality to a certain extent, but it cannot solve some special failures, for example, the smart locker has performed the unlocking operation, but the door has not been opened due to hardware failure, etc. These failures can only be marked and locked through the above steps, and then eliminated through maintenance by maintenance personnel.
[0039] In this embodiment, the storage space status includes the storage status of whether there are items in the storage space obtained by an infrared detection device installed inside the storage space; the operation request includes selecting an idle storage space and issuing a storage request and using a mobile terminal number or identification code as a user identification code to issue a retrieval request.
[0040] Figure 2 FIG. 2 shows the operation steps of the setting program in this embodiment. Figure 2 As shown, the setting procedure includes the following steps:
[0041] Step S21: The server creates a temporary order and sends an unlocking instruction to the smart locker: In this step, the server receives a request from the mobile terminal. According to the specific circumstances of the request, the server creates a temporary order, locks the storage space, and sends an unlocking instruction to the smart locker; in this embodiment, the above request can be more specific, for example, you can select a free storage space on the mobile terminal and ask the server to open the storage space for storage. In this case, the server's actions or operations are all performed on the storage space, for example, the server issues an unlocking instruction to open the door of the storage space.
[0042] Step S22: The smart locker replies that it has received the instruction and detects the state of the storage space: In this step, the smart locker receives the above instruction and first returns a response to the server that the instruction has been received, indicating that the smart locker has received the instruction; then the smart locker detects or confirms the state of the locked storage space. In this step, if the server receives a deposit request, the specific steps for the smart locker to confirm the state of the storage space include: confirming that the state of the storage space is idle and starting the item detection unit in the storage space to confirm that there is no item in the storage space.
[0043] In step S23, the status meets the requirements. If so, execute the next step; otherwise, jump to step S26. In the above deposit request, the status of the storage space first requires that the mark of the storage space is free, and then it is also necessary to ensure that there are no items in the storage space. If all are met, it is judged that the status meets the requirements, that is, the status of the storage space meets the deposit requirements and the storage space is available.
[0044] Step S24: Unlock and report the operation result: In this step, the smart locker performs the unlocking operation and reports the operation result to the server;
[0045] Step S25 receives the operation result and replies to the smart locker: In this step, the server receives the above unpacking result and first notifies the smart locker of receiving the storage space update data.
[0046] Step S26 updates the storage space status of the server: In this step, the storage space status on the server is updated. It is worth mentioning that this step includes at least two situations. One is that the initial request of the mobile terminal is fully executed, and then the status of the storage space on the server is updated according to the execution result. In this case, the request or operation is exited after the update; the other situation is that the smart locker finds that the storage space status does not meet the requirements or instructions of the server, so it reports the status of the storage space (specified or locked by the server in this operation) to the server and updates the storage space status on the server; in this case, after the update is completed, the status of the current storage space will be automatically sent to the mobile terminal, and the user will be prompted to select other storage spaces to complete the operation. At the same time, in this case, if the reason for the update is that there are items in the storage space, the server will lock the storage space, mark it as a faulty state, and wait for maintenance personnel to come to the site for repair or debugging.
[0047] In some cases in this embodiment, for example, when the storage space status sent by the server to the mobile terminal indicates that a storage space has opened its door and is waiting for items to be stored, and the user finds on site that the door is not open (usually this common fault is caused by a hardware failure of the smart locker), multiple attempts to open the door can be made. If the fault cannot be eliminated after multiple attempts, the server marks the status of the storage space as damaged and synchronizes the storage space status on the above-mentioned smart locker and the mobile terminal. Figure 3 The specific steps of the above attempt in this embodiment are shown, including:
[0048] Step S31: The server records that the door of the storage space is open, but the mobile terminal reports that the door is not open: In this step, the server displays that the door of the storage space is open, but the mobile terminal reports that the door is not open; that is, in the server, the state of the storage space records that the door is open, but the user sees that the door is not open on site, so the user reports to the server through the mobile terminal. In this case, most of the time, the door lock is faulty or the door is stuck and cannot be opened by the elastic component in the door lock. After receiving the notification from the mobile terminal, the server enters the door fault judgment processing step.
[0049] Step S32: Does the door unlock for the set number of times? If yes, execute step S33; otherwise, execute step S34. In this embodiment, a set number of times can be set for each operation of the door to avoid the situation where the command is not transmitted or some minor faults (for example, a minor jam) cause the operation to fail. These settings are set in advance. For example, they can be set to 3 times. If abnormalities occur in all 3 operations, it can be determined that the device is faulty.
[0050] Step S33 marks the storage space as damaged and notifies the smart locker: In this step, the set number of operations have been performed, but exceptions have occurred. Therefore, the server determines that the storage space is damaged, first corrects the status of the storage space on the server, and then notifies the smart locker to update the status.
[0051] Step S34: re-issuing the unlocking instruction: In this step, since the set number of operations has not been reached, the operation is performed again and the unlocking instruction is issued again. After the unlocking instruction is issued again, the smart locker will perform the above operation again. If an abnormality still occurs, the user will report the abnormality on the mobile terminal and return to the above step S31.
[0052] In this embodiment, generally speaking, if the box door is opened successfully but the result report fails when depositing items, the server can update the actual status and order status of the storage space in the subsequent storage space status report, so as to ensure that the user's deposit order is valid; if the user successfully opens the door to take out the items but the items are not taken out completely, but an abnormality such as closing the box door occurs, the server can lock the target storage space according to the storage space status report, so as to avoid the loss of user's property; and if the user successfully opens the door to take out the items but the report fails, the server can update the order status and release the occupied storage space according to the storage space status report, so as to improve the storage space utilization rate of the cabinet; in addition, ensuring that the cabinet storage space status and the server storage space status are consistent can reduce the probability of abnormal storage and retrieval conditions, reduce the operation and maintenance workload and save costs;
[0053] In an actual example of this embodiment, the specific steps for depositing items are as follows: the user enters the box selection page on the mobile phone; the mobile phone requests the server to obtain the latest box list information (box number, box type, box status) for visual display; in order to keep the mobile box status synchronized with the server, the page uses Ajax to adopt local refresh technology, and refreshes the box status at specified intervals; at the same time, the user selects an idle box and sends the cabinet number, box number, and identity to the server to apply for depositing items.
[0054] The server performs a series of condition checks (whether the cabinet network status is normal, whether the storage space selected by the user is free, whether the user meets the storage conditions, etc.); then, creates a storage order (order number, order status, user identity, storage space number, creation time, etc.); modifies the status of the current storage space (from "free" to "storage locked"). The reason for locking the storage space is to prevent other users from selecting the same storage space for operation when the storage space is not opened; then, the server sends a storage unpacking instruction (including order number, site number, box number, transaction code number) to the cabinet (i.e., smart storage cabinet).
[0055] The smart locker checks whether the local current status is "free"; queries the optocoupler status (the item detection unit set in the storage space) to check whether there are items in the storage space; and feeds back the server the command verification result (order number, whether it is successful identification). If the verification is successful, the locker will execute the next step of unpacking; if the command verification fails, the server will update the corresponding storage space status from "storage locked" to the latest status of the locker and cancel the order, and then remind the user that the storage space status is unavailable and to reselect the box.
[0056] After that, the smart locker sends an unpacking instruction to the electric lock of the corresponding storage space; after a specific interval, the door magnet status is checked to determine whether the storage space door is open; if the unpacking is successful, the locker changes the storage space status to "occupied" and creates a local order; then, the door opening result (order number, unpacking result) is reported to the server. After receiving the "unpacking success" report, the server finds the corresponding order and storage space according to the order number. Change the status of the corresponding storage space from "storage locked" to "occupied", and change the corresponding order status to "storage"; if the server receives the "unpacking failure" report, it finds the corresponding order and storage space according to the order number. Change the status of the corresponding storage space from "storage locked" to "free", and change the corresponding order status to "storage failure"; then, the server replies that the unpacking result report of the locker has been received. When the reported door opening result is not confirmed by the server, the locker will resend it at an interval. If the specified number of resends still do not receive a response from the server, it will no longer report.
[0057] In this embodiment, the message confirmation mechanism of the retrieval process and the deposit process is the same.
[0058] In this embodiment, in view of abnormal processes such as network disconnection and program processing exceptions, which may lead to inconsistent storage space status between the cabinet end (smart locker) and the server end, the cabinet can periodically report the storage space status to the server, and then the server synchronizes the status. The cabinet periodically queries the local storage space status and the item status detected by the optical coupler and reports them to the server. The reporting interval can be adjusted according to the actual usage scenario.
[0059] In actual use, when there is a discrepancy between the storage space status reported by the cabinet (smart locker) and the storage space status on the server, there are several solutions:
[0060] First, the cabinet reports the storage space status as "occupied", the server storage space status is "free" or "deposit locked", and the server updates the corresponding storage space status to "occupied". This happens when the deposit is unpacked successfully but the unpacking result is reported unsuccessfully, but the door is actually opened. Therefore, for this situation, the server storage space status is updated to "occupied", and a query is made to see if there is a temporary order. If there is, the temporary order status is updated to "successful deposit";
[0061] Secondly, the cabinet reports that the current status of the storage space is "free" and the status of the item is "with something". The current status of the server storage space is "free", but the status of the item is "nothing". This situation occurs when the item is successfully unpacked but the door is closed by mistake before all items are taken out. If the server reallocates the storage space, the previous user's items may be lost. Therefore, in response to this situation, the server storage space status is updated to "locked" and the item status is "with something". After the storage space is locked, it will not be reallocated;
[0062] Again, the cabinet reports that the current status of the storage space is "free", the status of the item is "nothing", and the current status of the server storage space is "locked". This situation occurs when the operator clears the cabinet and the server-side data is not synchronized. This will cause low storage space utilization and unsynchronized order status on the server. In this case, update the server-side storage space status to "free" and the item status to "nothing", then check whether there is a storage order and end the storage order;
[0063] In addition, the cabinet reports that the current status of the storage space is "free", the status of the item is "nothing", and the current status of the server storage space is "occupied". This situation occurs when the unpacking is successful, but the unpacking result is reported unsuccessfully. In this way, the storage space on the server is not released, which will also cause low storage space utilization and asynchronous order status on the server. In response to this situation, update the storage space status on the server to "free" and the item status to "nothing", then check whether there is a storage order and end the storage order.
[0064] In actual use, the door of the box may not be opened due to hardware problems. For example, after the cabinet performs the unpacking action, the door magnet query result is that the unpacking is successful, but in fact the door does not pop open due to abnormal conditions such as jamming. In this case, the cabinet will update the storage space status to "occupied" and create a deposit order. For example, after the deposit application is issued, the mobile terminal polls the server for the order door opening status; the server feedbacks that the door is opened successfully, but the actual box door is not opened; the user reports that the box door is not opened through the mobile terminal. After that, the server queries the order door opening times; the order door opening times are less than the maximum door opening times set by the system, and the server sends a second unpacking instruction to the cabinet; if the operation times are equal to the maximum door opening times of the system, the order status is changed to "deposit failed", and the corresponding storage space status is changed from "occupied" to "damaged"; the order door opening abnormality instruction (order number, transaction code) is pushed to the cabinet; the cabinet obtains the local order according to the order number, cancels the local order, and changes the corresponding storage space status from "occupied" to "damaged".
[0065] The present invention also relates to a device for implementing the above method. Figure 4 The specific structure of the device is shown. Figure 4 The device includes an operation execution unit 2, a state abnormality reporting unit 3 and a timing synchronization unit 4; wherein the operation execution unit 2 is used to enable the server to receive an operation request sent by the mobile terminal, and the smart locker opens the door of the designated storage space according to the instruction of the server, and reports the state change of the storage space to the server in sequence, so that the server synchronizes the state of the storage space in the server with the state of the storage space in the smart locker; the state abnormality reporting unit 3 is used to enable the mobile terminal to query the server regularly to obtain the state of the storage space in the server; when the state of the storage space on the server is inconsistent with the state of the storage space on the smart locker, the mobile terminal reports to the server that the state of the storage space is abnormal; the timing synchronization unit 4 is used to enable the smart locker to report the collected states of each storage space to the server at a set time interval, so that the server synchronizes the state of the storage space in the server with the state of the storage space in the smart locker.
[0066] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for reporting the storage space status of a smart locker, characterized in that: The steps include: A) After the server receives the operation request sent by the mobile terminal, the server and the smart locker execute a setting program, and the smart locker opens the door of the designated storage space according to the instruction of the server, and reports the state change of the storage space to the server in sequence, so that the server synchronizes the state of the storage space in the server with the state of the storage space in the smart locker; B) The mobile terminal periodically queries the server to obtain the status of the storage space in the server; when the status of the storage space transmitted or downloaded from the server is inconsistent with the status of the storage space at the smart locker site, the mobile terminal reports the abnormal status of the storage space to the server through the reporting channel between the mobile terminal and the server; The method further comprises the steps of: The smart locker reports the collected status of each storage space to the server at a set time interval, so that the server synchronizes the status of the storage space in the server with the status of the storage space in the smart locker; The setting procedure includes the following steps: B1) The server creates a temporary order, locks the storage space, and issues an unlocking instruction to the smart locker; B2) The smart locker confirms the status of the locked storage space and returns a response to the server command; if the storage space is confirmed to be available, the next step is executed; otherwise, the status of the locked storage space is reported to the server, and the storage space status on the server is updated; B3) the smart locker performs an unlocking operation and reports the operation result to the server; B4) The server receives the unlocking result, updates the storage space status on the server, and notifies the smart locker of receiving the storage space update data.
2. The method for reporting the storage space status of the intelligent locker according to claim 1, characterized in that: The storage space status includes whether there are items in the storage space obtained by an infrared detection device installed inside the storage space; the operation request includes selecting an idle storage space and issuing a storage request and using a mobile terminal number or identification code as a user identification code to issue a retrieval request.
3. The method for reporting the storage space status of the intelligent locker according to claim 1, characterized in that: In the step B2), the step of the smart locker confirming the state of the storage space includes: confirming that the state of the storage space is idle and activating the item detection unit in the storage space to confirm that there is no item in the storage space.
4. The method for reporting the storage space status of the intelligent locker according to claim 3, characterized in that: In the step B2), when the smart locker reports that there are items in the storage space, the server locks the storage space and marks its status as faulty.
5. The method for reporting the storage space status of the intelligent locker according to claim 1, characterized in that: The state of the storage space does not match the state of the storage space at the smart locker, including that the smart locker has performed an unlocking operation, but the door has not been opened due to a hardware failure; The step of reporting the abnormal state of the storage space to the server specifically includes: C1) the server displays that the door of the storage space is open, but the mobile terminal reports that the door is not open; C2) The server determines whether the door opening operation exceeds the set number of times, and if so, executes the next step; if not, sends a door opening instruction to the smart locker again; C3) marking the storage space status as damaged.
6. The method for reporting the storage space status of a smart locker according to any one of claims 1 to 5, characterized in that: The mobile terminal downloads and runs the application of the smart locker through a social application including a WeChat official account or a WeChat applet, or directly runs the application of the smart locker, so that the corresponding request submission interface and storage space status reporting interface are displayed on the mobile terminal.
7. A device for reporting the storage space status of an intelligent locker, characterized in that: include: Operation execution unit: used to enable the server to execute a setting program between the server and the smart locker after receiving the operation request sent by the mobile terminal, and the smart locker opens the door of the designated storage space according to the instruction of the server, and reports the state change of the storage space to the server in sequence, so that the server synchronizes the state of the storage space in the server with the state of the storage space in the smart locker; Abnormal status reporting unit: used to enable the mobile terminal to query the server regularly to obtain the status of the storage space in the server; when the status of the storage space transmitted or downloaded from the server is inconsistent with the status of the storage space on the smart locker, the mobile terminal reports the abnormal status of the storage space to the server through the reporting channel between the mobile terminal and the server; Timing synchronization unit: used to enable the smart locker to report the collected status of each storage space to the server at a set time interval, so that the server synchronizes the status of the storage space in the server with the status of the storage space in the smart locker; The setting procedure includes the following steps: The server creates a temporary order, locks the storage space, and issues an unlocking instruction to the smart locker; The smart locker confirms the state of the locked storage space and returns a response to the server instruction; if it is confirmed that the storage space is available, the next step is executed; Otherwise, reporting the state of the locked storage space to the server, and updating the storage space state on the server; The smart locker performs an unlocking operation and reports the operation result to the server; The server receives the unlocking result, updates the storage space status on the server, and notifies the smart locker of receiving the storage space update data.
