Fault processing method of intelligent cabinet, intelligent cabinet, storage medium and program product

By detecting the number and task status of abnormal cabinets in the smart cabinet, the smart cabinet failures are automatically handled, and the problem of low manual maintenance efficiency is solved, and rapid fault location and handling is achieved.

CN119810969APending Publication Date: 2025-04-11YOUDI ROBOT (WUXI) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411903228.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-20
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

Manual handling of takeaway cabinet failure results in low maintenance efficiency, affecting the storage and pick-up of stored items.

Method used

By detecting whether there are at least two abnormal cabinets in the smart cabinet, distinguishing whether the fault is a local or global fault, and automated fault handling is carried out based on the task status of the cabinet.

Benefits of technology

Quickly position and solve the problem of smart cabinets, reducing the waiting time for manual maintenance and improving the efficiency of fault handling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810969A_ABST
    Figure CN119810969A_ABST
Patent Text Reader

Abstract

The invention discloses a fault processing method of an intelligent cabinet, the intelligent cabinet, a storage medium and a program product, and relates to the technical field of equipment control, and the method comprises the steps: detecting whether there are at least two abnormal cabinet grids in the intelligent cabinet or not if any target cabinet grid in all cabinet grids of the intelligent cabinet is detected to be an abnormal cabinet grid; if at least two abnormal cabinet grids exist in the intelligent cabinet, determining that an internal circuit of the intelligent cabinet has a fault; based on the task state of each cabinet grid in the intelligent cabinet, fault processing is carried out on the intelligent cabinet, and the task states are used for representing whether uncompleted tasks exist in the cabinet grids or not. Through the automatic fault detection and fault processing process, when the intelligent cabinet goes wrong, the problem can be rapidly positioned and solved, the waiting time of manual maintenance is reduced, and thus the fault processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of equipment control technology, and in particular to a fault handling method for a smart cabinet, a smart cabinet, a storage medium, and a program product. Background Art

[0002] Smart cabinets use intelligent control systems to achieve temporary storage and pickup of items, providing a convenient way to pick up food. They also effectively improve the efficiency and safety of food delivery through intelligent management. Smart cabinets are usually composed of multiple independent cabinets, each of which is equipped with a locking mechanism and sensor to achieve safe storage and precise positioning of items in the cabinet. When the deliveryman arrives at the designated location, by scanning the order information or entering the corresponding pickup code, the control system of the smart cabinet will identify and unlock the corresponding cabinet for the deliveryman to put the food in. Subsequently, the system will automatically send the pickup information to the customer's mobile phone. The customer only needs to use the pickup code or mobile phone verification code to open the corresponding cabinet and take out the stored items.

[0003] However, in actual use, due to the failure of control systems, lock mechanisms or sensors, the cabinet doors may not be opened or closed normally, thus affecting the storage and retrieval of items. Currently, the troubleshooting of smart cabinets mainly relies on manual maintenance. When a fault occurs, maintenance personnel provide door-to-door service to inspect and repair the faulty parts. Manual maintenance requires a lot of time and manpower costs, resulting in low troubleshooting efficiency for takeaway cabinets.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of the present application is to provide a smart cabinet fault handling method, a smart cabinet, a storage medium and a program product, aiming to solve the technical problem of low maintenance efficiency caused by manual handling of takeaway cabinet faults.

[0006] To achieve the above objectives, the present application proposes a fault handling method for a smart cabinet, the method comprising:

[0007] If any target compartment among the compartments of the energy cabinet is an abnormal compartment, detecting whether there are at least two abnormal compartments in the smart cabinet;

[0008] If there are at least two abnormal cabinets in the smart cabinet, it is determined that an internal circuit of the smart cabinet fails;

[0009] Based on the task status of each cabinet in the smart cabinet, fault processing is performed on the smart cabinet, wherein the task status is used to indicate whether there is an unfinished task in the cabinet.

[0010] In one embodiment, if any target compartment among the compartments of the smart cabinet is detected as an abnormal compartment, the step of detecting whether there are at least two abnormal compartments in the smart cabinet further includes:

[0011] If any target cabinet among the cabinets of the smart cabinet is detected to be an abnormal cabinet, at least one cabinet to be detected is determined from the free cabinets of the smart cabinet according to a preset period, wherein the free cabinet is a cabinet among the cabinets of the smart cabinet except the target cabinet and in an idle state;

[0012] If the cabinet to be detected is the abnormal cabinet, it is determined that there are at least two abnormal cabinets in the smart cabinet.

[0013] In one embodiment, the step of performing fault processing on the smart cabinet based on the task status of each cabinet in the smart cabinet includes:

[0014] If the task status of each compartment in the smart cabinet is completed, restart the smart cabinet. If at least two compartments of the smart cabinet are successfully opened after the restart, it is determined that the fault handling of the smart cabinet is completed, and the smart cabinet is controlled to receive the task;

[0015] If there is a working cabinet in the smart cabinet whose task completion status is incomplete, then after determining that the task of the working cabinet is completed, the smart cabinet is restarted. If at least two cabinets in the smart cabinet are successfully opened after the restart, it is determined that the fault handling of the smart cabinet is completed, and the smart cabinet is controlled to receive the task.

[0016] In one embodiment, the smart cabinet is communicatively connected to the robot;

[0017] The method further comprises:

[0018] If there is a work cabinet whose task completion status is an uncompleted state in the smart cabinet, the first task information bound to the work cabinet is sent to the robot, wherein the robot takes out the task object from the work cabinet and performs the delivery task on the task object according to the second task information bound to the work cabinet;

[0019] If it is detected that the task object in the working cabinet is taken out, it is determined that the task execution of the working cabinet is completed.

[0020] In one embodiment, the method further comprises:

[0021] If it is determined that the fault handling of the smart cabinet has not been completed, a hard restart instruction is sent to the robot. After receiving the hard restart instruction, the robot controls the robot's mechanical arm to power off the smart cabinet and perform a hard restart operation on the abnormal cabinet based on the hard restart instruction.

[0022] In one embodiment, if any target compartment among the compartments of the smart cabinet is detected as an abnormal compartment, before the step of detecting whether there are at least two abnormal compartments in the smart cabinet, the step further includes:

[0023] If a use request sent by a user terminal is received, a task cabinet is determined from the free cabinets of the smart cabinet according to the area code carried in the use request, and a storage task is issued to the task cabinet, wherein the task cabinet opens the cabinet door according to the received storage task, and returns the cabinet door opening result to the smart cabinet;

[0024] The cabinet door opening result is received, and when the cabinet door opening result indicates that the cabinet door of the task cabinet fails to be opened, it is determined that the abnormal cabinet exists in the smart cabinet.

[0025] In one embodiment, if any target compartment among the compartments of the smart cabinet is detected as an abnormal compartment, before the step of detecting whether there are at least two abnormal compartments in the smart cabinet, the step further includes:

[0026] Obtaining the internal line connection status of the smart cabinet;

[0027] If the internal line connection state is a series connection, the step of detecting whether there are at least two abnormal cabinets in the smart cabinet if any target cabinet in each cabinet of the smart cabinet is detected to be an abnormal cabinet is executed.

[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a smart cabinet, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the fault handling method of the smart cabinet as described above.

[0029] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the fault handling method of the smart cabinet as described above are implemented.

[0030] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the fault handling method of the smart cabinet as described above.

[0031] In the present application, if any target cabinet among the cabinets of the smart cabinet is detected as an abnormal cabinet, it is detected whether there are at least two abnormal cabinets in the smart cabinet. When the abnormal cabinet is detected, it is further determined whether there are at least two abnormal cabinets in the smart cabinet to distinguish whether the fault is a local fault for a single cabinet or a global fault of the smart cabinet.

[0032] If there are at least two abnormal cabinets in the smart cabinet, it is determined that the internal circuit of the smart cabinet is faulty. Since a circuit failure in a smart cabinet usually causes multiple specifications to appear at the same time, when at least two abnormal cabinets are detected, it is determined that the internal circuit of the smart cabinet is faulty.

[0033] Based on the task status of each compartment in the smart cabinet, the smart cabinet is fault-handled, wherein the task status is used to indicate whether there is an unfinished task in the compartment. Based on the task status of each compartment in the smart cabinet, different fault-handling strategies are used to handle the fault.

[0034] In summary, the present application can quickly locate and solve problems when problems occur in smart cabinets through automated fault detection and fault handling processes, reducing the waiting time for manual maintenance and thus improving the efficiency of fault handling. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 A flowchart of a first embodiment of a method for troubleshooting a smart cabinet according to the present application;

[0038] Figure 2 A flowchart of a second embodiment of the fault handling method for a smart cabinet of the present application is provided;

[0039] Figure 3 A schematic diagram of the system structure of a smart cabinet control system provided in one embodiment of the present application;

[0040] Figure 4 A schematic diagram of the application flow of a fault handling method for a smart cabinet provided in an embodiment of the present application;

[0041] Figure 5 This is a schematic diagram of the equipment structure of the hardware operating environment involved in the fault handling method of the smart cabinet in the embodiment of the present application.

[0042] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0043] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0044] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0045] The main solution of the embodiment of the present application is: if any target cabinet among the cabinets of the smart cabinet is detected to be an abnormal cabinet, then detect whether there are at least two abnormal cabinets in the smart cabinet; if there are at least two abnormal cabinets in the smart cabinet, determine that the internal circuit of the smart cabinet is faulty; based on the task status of each cabinet in the smart cabinet, perform fault processing on the smart cabinet, wherein the task status is used to characterize whether there is an unfinished task in the cabinet.

[0046] In this embodiment, for ease of description, the following description is made with the smart cabinet as the execution entity.

[0047] During the use of smart cabinets, due to the failure of control systems, lock mechanisms or sensors, the cabinet doors may not be opened or closed normally, thus affecting the storage and retrieval of stored items. Currently, the fault handling of smart cabinets mainly relies on manual maintenance. When a fault occurs, maintenance personnel provide door-to-door service to inspect and repair the faulty parts. Manual maintenance requires a lot of time and manpower costs, resulting in low fault handling efficiency for takeaway cabinets.

[0048] The present application provides a solution, by further determining whether there are at least two abnormal cabinets in the smart cabinet when an abnormal cabinet is detected, so as to distinguish whether the fault is a local fault of a single cabinet or a global fault of the smart cabinet. When at least two abnormal cabinets are detected, it is determined that the control circuit of the smart cabinet may have failed, and different fault handling strategies are used to handle the fault based on the task status of each cabinet in the smart cabinet. Thus, the present application can quickly locate and solve problems when problems occur in the smart cabinet through automated fault detection and fault handling processes, reducing the waiting time for manual maintenance, thereby improving the efficiency of fault handling.

[0049] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a smart cabinet, etc. The following takes a smart cabinet as an example to illustrate this embodiment and the following embodiments.

[0050] Based on this, the present application embodiment provides a fault handling method for a smart cabinet, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the fault handling method of the smart cabinet of the present application.

[0051] In this embodiment, the fault handling method of the smart cabinet includes steps S10 to S30:

[0052] Step S10, if it is detected that any target cabinet among the cabinets of the smart cabinet is an abnormal cabinet, then detect whether there are at least two abnormal cabinets in the smart cabinet;

[0053] A smart cabinet is a device that uses an intelligent control system to achieve the temporary storage and retrieval functions of items. The smart cabinet includes multiple independent cabinets, each of which is equipped with a locking mechanism and a sensor to achieve safe storage and precise positioning of items in the cabinet. Smart cabinets can be take-away cabinets, express cabinets, temporary storage cabinets and other types, and there is no restriction here.

[0054] In this embodiment, any compartment of the smart cabinet is referred to as a target compartment, and the target compartment may be a normal compartment or an abnormal compartment. A normal compartment is a compartment that can be used normally in the smart cabinet, and an abnormal compartment is a compartment that cannot be used normally in the smart cabinet. Due to reasons such as a power supply circuit breakage or a control circuit breakage of the smart cabinet, or a program abnormality of a sensor or other component in the target compartment, the door of the target compartment may not be opened or closed normally, thereby making the target compartment unusable.

[0055] For any target compartment in each compartment of the smart cabinet, if it is detected that the cabinet door of the target compartment cannot be opened or closed normally, the target compartment can be determined to be an abnormal compartment. In the case that any target compartment in the smart cabinet is determined to be an abnormal compartment, further detection is performed to determine whether there are multiple abnormal compartments in the smart cabinet to distinguish whether the abnormality of the target compartment is a local fault caused by an error in the program of its internal components or a global fault of the overall circuit of the smart cabinet, thereby providing a basis for subsequent fault handling.

[0056] It should be noted that the method of triggering the detection of whether the target cabinet is an abnormal cabinet is not limited and can be set according to actual needs. For example, in one feasible implementation, it can be to detect whether each cabinet in the smart cabinet is an abnormal cabinet when receiving the inspection instruction. Specifically, after receiving the inspection instruction, a target cabinet can be randomly determined from each cabinet, and the target cabinet can be detected whether it is an abnormal cabinet; in another feasible implementation, it can also be triggered according to a preset inspection cycle; in another feasible implementation, it can also be triggered when the target cabinet is used for storage. In the actual detection process of detecting whether the target cabinet is an abnormal cabinet, some cabinets in the smart cabinet may have storage tasks being executed. In order to ensure the safety of the stored items, after the detection is triggered, the target cabinet can be randomly determined from the cabinets without tasks in the smart cabinet, and it can be detected whether the target cabinet is an abnormal cabinet.

[0057] Step S20, if there are at least two abnormal cabinets in the smart cabinet, it is determined that an internal circuit of the smart cabinet fails;

[0058] It is understandable that if the target cabinet is abnormal due to problems in the program of components such as sensors, then the abnormality will not affect other cabinets, and other cabinets can still respond normally; if the abnormality of the target cabinet is caused by an abnormality in the smart cabinet line, then other cabinets in the smart cabinet will also be affected, resulting in cabinet abnormality. Therefore, if at least two abnormal cabinets are detected in the smart cabinet, it is determined that the control circuit of the smart cabinet is faulty.

[0059] In this embodiment, by determining whether the internal circuit of the smart cabinet is faulty, a clear direction is provided for subsequent maintenance work, thereby avoiding ineffective maintenance or excessive maintenance due to misjudgment and reducing maintenance costs and time.

[0060] Step S30: performing fault processing on the smart cabinet based on the task status of each cabinet in the smart cabinet, wherein the task status is used to indicate whether there is an unfinished task in the cabinet.

[0061] When performing abnormality detection on the smart cabinet, there may or may not be unfinished tasks in each cabinet compartment of the smart cabinet. When it is determined that an abnormality occurs in the control circuit of the smart cabinet, different fault handling is performed according to the task status of each cabinet compartment. Specifically, if there are no unfinished tasks in the cabinet compartment, the fault handling can be performed directly; if there are unfinished tasks in the cabinet compartment, it is necessary to ensure that the task is completed before performing the fault handling.

[0062] It can be understood that fault handling based on task status ensures the safety of items stored in the smart cabinet and the customer's experience, avoids the loss or delay of stored items due to fault handling, and improves the service quality and customer satisfaction of the smart cabinet. In addition, differentiated processing based on task status can improve the flexibility and efficiency of fault handling.

[0063] In this embodiment, through the automated fault detection and fault handling process, when a problem occurs in the smart cabinet, the problem can be quickly located and solved, reducing the waiting time for manual maintenance, thereby improving the efficiency of fault handling.

[0064] In a feasible implementation manner, the step S10: if any target compartment among the compartments of the smart cabinet is detected as an abnormal compartment, before the step of detecting whether there are at least two abnormal compartments in the smart cabinet, further includes:

[0065] Step S01: if a use request sent by a user terminal is received, a task cabinet is determined from the free cabinets of the smart cabinet according to the area code carried in the use request, and a storage task is issued to the task cabinet, wherein the task cabinet opens the cabinet door according to the received storage task, and returns the cabinet door opening result to the smart cabinet;

[0066] The user terminal sends a use request to the smart cabinet, and the use request includes at least an area code, which is used to indicate the specific cabinet of the smart cabinet that the user requests to use. In response to the use request sent by the user terminal, the smart cabinet checks which cabinets in the smart cabinet are currently unused or occupied free cabinets. Then, according to the area code in the use request, at least one cabinet is selected from the free cabinets as the task cabinet, and then the smart cabinet will issue a storage task to the task cabinet, indicating that the task cabinet is ready to receive items. The task cabinet opens the cabinet door according to the received storage task, and returns the cabinet door opening result to the smart cabinet.

[0067] Step S02, receiving the cabinet door opening result, and determining that the abnormal cabinet exists in the smart cabinet when the cabinet door opening result indicates that the cabinet door opening of the task cabinet fails.

[0068] After receiving the task, the task cabinet will try to open the cabinet door to prepare to receive the items. If the cabinet door is successfully opened, the task cabinet will return a successful cabinet door opening result to the smart cabinet system; if the cabinet door fails to open, the task cabinet will return a failed cabinet door opening result. If the smart cabinet receives a failed result, it will determine that the task cabinet is an abnormal cabinet.

[0069] It can be understood that during the use of the cabinet, the abnormal cabinet can be discovered and located in time through the feedback of the cabinet door opening results, realizing real-time monitoring of the smart cabinet status and fault warning, and improving the timeliness and efficiency of fault handling.

[0070] In a feasible implementation manner, the step S10: if any target compartment among the compartments of the smart cabinet is detected as an abnormal compartment, before the step of detecting whether there are at least two abnormal compartments in the smart cabinet, further includes:

[0071] Step S03, obtaining the internal line connection status of the smart cabinet;

[0072] It should be noted that the internal line connection state of the smart cabinet is obtained, and the internal line connection state includes series connection and parallel connection.

[0073] Step S04, if the internal line connection state is a series connection, then executing the step of detecting whether there are at least two abnormal cabinets in the smart cabinet if any target cabinet in each cabinet of the smart cabinet is detected as an abnormal cabinet.

[0074] In a series circuit, since all components share the same current path, if a circuit abnormality such as a circuit break occurs in the target cabinet, the entire internal circuit of the smart cabinet will become abnormal, making multiple cabinets unavailable. Therefore, in a series circuit, it is possible to determine whether a circuit fault occurs in the smart cabinet by detecting whether there are multiple abnormal cabinets in the smart cabinet at the same time.

[0075] In a parallel circuit, since each cabinet has a separate circuit branch, when a circuit abnormality occurs in one of the cabinets, the abnormality only affects the branch where the cabinet is located, and will not affect the internal circuit of the smart cabinet as a whole. In a specific implementation, in order to further detect whether the cabinet abnormality is caused by the overall circuit abnormality, the abnormal cabinet can be marked as an unusable cabinet; when the smart cabinet is in an idle state, the smart cabinet is controlled to restart. If the smart cabinet fails to restart, it indicates that the control signal of the smart cabinet cannot be sent to each cabinet, and the smart cabinet circuit is determined to be abnormal at this time; if the restart is successful, it is determined that the branch where the abnormal specification is located is abnormal.

[0076] In this embodiment, by comprehensively considering the connection mode of the circuit, the location of the fault point and the impact of the fault on the circuit as a whole, an accurate fault judgment is made on the abnormality of the smart cabinet, thereby improving the accuracy of the fault judgment.

[0077] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2, the step S10: if any target cabinet among the cabinets of the smart cabinet is detected as an abnormal cabinet, the step of detecting whether there are at least two abnormal cabinets in the smart cabinet includes:

[0078] Step S101: if any target cabinet among the cabinets of the smart cabinet is detected as an abnormal cabinet, at least one cabinet to be detected is determined from the free cabinets of the smart cabinet according to a preset period, wherein the free cabinet is a cabinet among the cabinets of the smart cabinet except the target cabinet and in an idle state;

[0079] When it is detected that at least one of the compartments of the smart cabinet is marked as an abnormal compartment, at least one compartment is selected from the free compartments of the smart cabinet as the compartment to be detected according to a preset period. It should be noted that the free compartment refers to the compartment that is currently idle (i.e., not used or storing items) except for the compartments that have been marked as abnormal.

[0080] Step S102: If the cabinet to be detected is the abnormal cabinet, it is determined that there are at least two abnormal cabinets in the smart cabinet.

[0081] If the cabinet to be detected is detected as an abnormal cabinet, it is determined that there are at least two abnormal cabinets in the smart cabinet, so it can be determined that there is a line fault in the smart cabinet.

[0082] In a feasible implementation, if any target cabinet among the cabinets of the smart cabinet is detected to be an abnormal cabinet, at least one candidate cabinet is determined from the free cabinets of the smart cabinet according to a preset period, and it is detected whether the candidate cabinet is the target cabinet. If not, the candidate cabinet is used as the cabinet to be detected; if the candidate cabinet is the target cabinet, a cabinet is randomly determined from each cabinet, and the step of detecting whether the candidate cabinet is the target cabinet and subsequent steps are repeated.

[0083] This embodiment can determine the accuracy of subsequent tests by testing a plurality of different specifications.

[0084] In a feasible implementation manner, the step S30: the step of performing fault processing on the smart cabinet based on the task status of each cabinet in the smart cabinet includes:

[0085] Step S301: if the task status of each compartment in the smart cabinet is completed, restart the smart cabinet, and if at least two compartments of the smart cabinet are successfully opened after the restart, it is determined that the fault handling of the smart cabinet is completed, and the smart cabinet is controlled to receive the task;

[0086] When the task status of all the cabinets in the smart cabinet is completed, it means that there is no ongoing or unfinished task in the current smart cabinet, and the smart cabinet is restarted to try to clear the possible temporary fault or error status. After the restart is completed, check whether at least two cabinets in the smart cabinet can be successfully opened to verify whether the basic functions of the smart cabinet have returned to normal. If at least two cabinets are opened successfully, it is determined that the fault handling has been completed, the smart cabinet has returned to normal working status, and can receive new tasks.

[0087] Step S302: If there is a working cabinet in the smart cabinet whose task completion status is incomplete, then after determining that the task of the working cabinet is completed, restart the smart cabinet. If at least two cabinets in the smart cabinet are successfully opened after the restart, it is determined that the fault handling of the smart cabinet is completed, and the smart cabinet is controlled to receive the task.

[0088] When there are working cabinets in the smart cabinet whose task completion status is incomplete, wait for the tasks of these working cabinets to be completed, and then perform the restart operation. After restarting, check whether at least two cabinets can be successfully opened, which is used as a basis for judging whether the fault has been handled. If at least two cabinets are opened successfully, it is determined that the fault handling has been completed, the smart cabinet has resumed normal working status, and can receive new tasks.

[0089] In one feasible implementation, if the restart fails, it is determined that an irreversible fault has occurred in the internal circuit of the smart cabinet, and fault prompt information is generated and output.

[0090] It is understandable that by waiting for the task of the working cabinet to be completed before restarting the smart cabinet, it can be ensured that the ongoing task will not be interrupted by the restart, thereby protecting the continuity of the task and providing users with a more stable and reliable service experience.

[0091] In one feasible implementation, the smart cabinet is communicatively connected to the robot; the method further includes:

[0092] Step S40, if there is a work cabinet whose task completion status is an uncompleted state in the smart cabinet, the first task information bound to the work cabinet is sent to the robot, wherein the robot takes out the task object from the work cabinet and performs the delivery task on the task object according to the second task information bound to the work cabinet;

[0093] It should be noted that the cabinet in the smart cabinet whose task completion status is unfinished is called a working cabinet. The first task information is used to identify and locate the working cabinet to ensure that the robot can accurately take out the correct object from the working cabinet. The first task information may include the identification number of the working cabinet, the name and number of the task object and other attributes. The second task information is used to indicate the delivery of the task object, and may include the delivery address, recipient information, delivery time requirements, delivery priority and other information.

[0094] When there is a work cabinet whose task completion status is unfinished in the smart cabinet, the first task information bound to the work cabinet is sent to the robot. The robot takes out the task object from the work cabinet according to the first task information, and performs the delivery task on the task object according to the second task information bound to the work cabinet.

[0095] Step S50: If it is detected that the task object in the working cabinet is taken out, it is determined that the task execution of the working cabinet is completed.

[0096] When it is detected that the task object in the working cabinet is taken out by the robot, it is determined that the task execution of the working cabinet is completed. It should be noted that the robot delivery can occur in the regular delivery process or in the fault handling stage. When the robot delivery occurs in the fault handling stage, the subsequent fault handling steps can be performed after the robot delivery is completed.

[0097] It is understandable that delivering items through robots can improve delivery efficiency, provide diversified delivery services, and improve user experience.

[0098] In one possible implementation, the method further includes:

[0099] Step S60: If it is determined that the fault handling of the smart cabinet has not been completed, a hard restart instruction is sent to the robot. After receiving the hard restart instruction, the robot controls the robot's mechanical arm to power off the smart cabinet and perform a hard restart operation on the abnormal cabinet based on the hard restart instruction.

[0100] When it is determined that the fault handling of the smart cabinet has not been completed, a hard restart command will be sent to the robot. After receiving the command, the robot will control its mechanical arm to power off the smart cabinet and perform a hard restart operation on the abnormal cabinet.

[0101] It can be understood that by performing power-off operations through robots, the safety of the system during the hard restart process can be ensured, and potential risks such as current mutations can be avoided. The hard restart operation can clear stubborn faults that may exist in the smart cabinet, improve the system's fault recovery capabilities, effectively restore the normal working state of the smart cabinet, and reduce the service interruption time caused by faults.

[0102] For example, in order to help understand the implementation process of the intelligent cabinet fault handling method obtained by combining the above-mentioned embodiment 1 and embodiment 2, please refer to Figure 3 , Figure 3 A smart cabinet control system is provided, including a server, a robot and a smart takeaway cabinet. The process of smart cabinet processing based on the smart cabinet control system can be referred to Figure 4 :

[0103] Step 1: When the smart cabinet is put into operation, the smart takeaway cabinet registers sn (Serial Number), area code, and cabinet information to the server. The server manages all takeaway cabinets. When a delivery person requests to use a takeaway cabinet, the server randomly assigns any free grid according to the requested area code. After the task is successfully issued to the corresponding takeaway cabinet, the server returns the cabinet number to the mini program to notify the delivery person to store the cabinet. After the delivery person closes the cabinet door, the server sends a notification to the client mini program. During use, if the control cabinet door fails to open, the server marks the cabinet status as unavailable, and then randomly assigns the task to other free grids.

[0104] Step 2: The server inspects the takeaway cabinets with abnormal cabinets (i.e., abnormal cabinets) every 1 minute. For the takeaway cabinets with abnormal cabinets, any free cabinet on the takeaway cabinet is randomly opened. When there are more than two abnormal cabinets in the same takeaway cabinet, it is determined that there is a problem with the control circuit of the takeaway cabinet, and the takeaway cabinet is set to an unavailable state, and new tasks are no longer issued to the takeaway cabinet.

[0105] Step 3: The server determines whether the takeaway cabinet has any unfinished tasks. If so, it pushes information to the customer applet, notifying the customer that the current takeaway cabinet is abnormal and a robot will be used for delivery. At the same time, it pushes the takeaway cabinet information and task information to the delivery robot. After the robot arrives at the designated location, the server sends a forced opening command. At this time, the takeaway cabinet enters the open mode, and all cabinet doors automatically open when the power is off. The robot takes out the takeaway through the mechanical arm and transfers it to the robot cabin for delivery to the customer.

[0106] Step 4: When there are no unfinished tasks in the abnormal takeaway cabinet, the server notifies the takeaway cabinet to restart. After the cabinet restarts, it establishes a connection with the server. The server sends a random cabinet opening request. If two random cabinets are opened successfully, the cabinet is set to an idle state and re-enters the task receiving state. If the cabinet is not opened successfully, the abnormal state continues and information is pushed to the robot. After the robot arrives, it performs a hard restart operation through the mechanical arm.

[0107] Step 5: Repeat step 4 after hard restart. If it still fails, the server will push the fault information to the operation and maintenance personnel, who will arrange maintenance.

[0108] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the fault handling method of the smart cabinet of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0109] The present application provides a smart cabinet, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the fault handling method of the smart cabinet in the above-mentioned embodiment.

[0110] Reference below Figure 5 , which shows a schematic diagram of the structure of a smart cabinet suitable for implementing the embodiment of the present application. The smart cabinet in the embodiment of the present application may include but is not limited to takeaway cabinets, lockers, and storage cabinets, etc. Figure 5 The smart cabinet shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0111] like Figure 5 As shown, the smart cabinet may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the smart cabinet are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the smart cabinet to communicate with other devices wirelessly or wired to exchange data. Although the figure shows a smart cabinet with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.

[0112] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0113] The smart cabinet provided by the present application adopts the fault handling method of the smart cabinet in the above embodiment, which can solve the technical problem of low maintenance efficiency caused by manual handling of takeaway cabinet faults. Compared with the prior art, the beneficial effects of the smart cabinet provided by the present application are the same as the beneficial effects of the fault handling method of the smart cabinet provided by the above embodiment, and the other technical features of the smart cabinet are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0114] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0115] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0116] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the fault handling method of the smart cabinet in the above-mentioned embodiment.

[0117] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0118] The computer-readable storage medium may be contained in the smart cabinet, or may exist independently without being installed in the smart cabinet.

[0119] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the smart cabinet, the smart cabinet: if it is detected that any target cabinet among the cabinets of the smart cabinet is an abnormal cabinet, then detect whether there are at least two abnormal cabinets in the smart cabinet; if there are at least two abnormal cabinets in the smart cabinet, determine that the internal circuit of the smart cabinet has a fault; based on the task status of each cabinet in the smart cabinet, perform fault processing on the smart cabinet, wherein the task status is used to characterize whether there are unfinished tasks in the cabinet.

[0120] The computer program code for performing the operations of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or smart cabinet. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0121] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0122] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0123] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned intelligent cabinet fault handling method, and can solve the technical problem of low maintenance efficiency caused by manual handling of takeaway cabinet faults. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the intelligent cabinet fault handling method provided by the above-mentioned embodiment, and will not be repeated here.

[0124] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned smart cabinet fault handling method when executed by a processor.

[0125] The computer program product provided by this application can solve the technical problem of low maintenance efficiency caused by manual handling of takeaway cabinet failures. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the fault handling method of the smart cabinet provided in the above embodiment, which will not be repeated here.

[0126] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for handling faults of a smart cabinet, characterized in that: The fault handling method of the intelligent cabinet includes: If any target cabinet among the cabinets of the smart cabinet is detected as an abnormal cabinet, detecting whether there are at least two abnormal cabinets in the smart cabinet; If there are at least two abnormal cabinets in the smart cabinet, it is determined that an internal circuit of the smart cabinet fails; Based on the task status of each cabinet in the smart cabinet, fault processing is performed on the smart cabinet, wherein the task status is used to indicate whether there is an unfinished task in the cabinet.

2. The fault handling method of the smart cabinet according to claim 1, characterized in that: If any target compartment among the compartments of the smart cabinet is detected as an abnormal compartment, the step of detecting whether there are at least two abnormal compartments in the smart cabinet comprises: If any target cabinet among the cabinets of the smart cabinet is detected to be an abnormal cabinet, at least one cabinet to be detected is determined from the free cabinets of the smart cabinet according to a preset period, wherein the free cabinet is a cabinet among the cabinets of the smart cabinet except the target cabinet and in an idle state; If the cabinet to be detected is the abnormal cabinet, it is determined that there are at least two abnormal cabinets in the smart cabinet.

3. The fault handling method of the smart cabinet according to claim 1, characterized in that: The step of performing fault processing on the smart cabinet based on the task status of each cabinet in the smart cabinet includes: If the task status of each compartment in the smart cabinet is completed, restart the smart cabinet. If at least two compartments of the smart cabinet are successfully opened after the restart, it is determined that the fault handling of the smart cabinet is completed, and the smart cabinet is controlled to receive the task; If there is a working cabinet in the smart cabinet whose task completion status is incomplete, then after determining that the task of the working cabinet is completed, the smart cabinet is restarted. If at least two cabinets in the smart cabinet are successfully opened after the restart, it is determined that the fault handling of the smart cabinet is completed, and the smart cabinet is controlled to receive the task.

4. The fault handling method of the smart cabinet according to claim 3, characterized in that: The smart cabinet is communicatively connected with the robot; The method further comprises: If there is a work cabinet whose task completion status is an uncompleted state in the smart cabinet, the first task information bound to the work cabinet is sent to the robot, wherein the robot takes out the task object from the work cabinet and performs the delivery task on the task object according to the second task information bound to the work cabinet; If it is detected that the task object in the working cabinet is taken out, it is determined that the task execution of the working cabinet is completed.

5. The fault handling method of the smart cabinet according to claim 3, characterized in that: The method further comprises: If it is determined that the fault handling of the smart cabinet has not been completed, a hard restart instruction is sent to the robot. After receiving the hard restart instruction, the robot controls the robot's mechanical arm to power off the smart cabinet and perform a hard restart operation on the abnormal cabinet based on the hard restart instruction.

6. The fault handling method of the smart cabinet according to claim 1, characterized in that: Before the step of detecting whether there are at least two abnormal cabinets in the smart cabinet if any target cabinet in each cabinet of the smart cabinet is detected as an abnormal cabinet, the method further includes: If a use request sent by a user terminal is received, a task cabinet is determined from the free cabinets of the smart cabinet according to the area code carried in the use request, and a storage task is issued to the task cabinet, wherein the task cabinet opens the cabinet door according to the received storage task, and returns the cabinet door opening result to the smart cabinet; The cabinet door opening result is received, and when the cabinet door opening result indicates that the cabinet door of the task cabinet fails to be opened, it is determined that the abnormal cabinet exists in the smart cabinet.

7. The fault handling method of the smart cabinet according to any one of claims 1 to 6, characterized in that: Before the step of detecting whether there are at least two abnormal cabinets in the smart cabinet if any target cabinet in each cabinet of the smart cabinet is detected as an abnormal cabinet, the method further includes: Obtaining the internal line connection status of the smart cabinet; If the internal line connection state is a series connection, the step of detecting whether there are at least two abnormal cabinets in the smart cabinet if any target cabinet in each cabinet of the smart cabinet is detected to be an abnormal cabinet is executed.

8. A smart cabinet, characterized in that: The smart cabinet comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the fault handling method for the smart cabinet as described in any one of claims 1 to 7.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the fault handling method of the smart cabinet as described in any one of claims 1 to 7 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the fault handling method of the smart cabinet as claimed in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Express cabinet bin selection method and devices

    CN107749124A

  • Intelligent machine room inspection robot

    CN109366452A

  • Intelligent cabinet and operation monitoring system thereof

    CN111491030A

  • Household express item split charging system and method

    CN113888092A

  • Control method and device, intelligent cabinet and robot

    CN114476583A