A control method for intelligent vending cabinet

By setting up a double lock system and a sensing device on the smart vending cabinet, it ensures that the door is reliably locked when opening and closing, solving the problems of cargo theft and limited installation space for anti-theft components, and improving user experience and lock stability. .

CN115249390BActive Publication Date: 2024-10-01QINGDAO HIRON COMML COLD CHAIN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210906757.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2024-10-01
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

Smart vending cabinets may have gaps in the lower part of the door, which may lead to potential theft of goods. Existing solutions such as adding anti-theft components inside the cabinet are limited by space, or adding anti-theft components to the door may pose safety risks.

Method used

A double lock system is adopted, in which the main lock and the auxiliary lock are both electric mortise locks and are equipped with induction devices. The control unit controls the unlocking and locking actions of the lock to ensure that the door body is reliably locked when opening and closing to avoid gaps. Delay and retraction mechanisms are introduced into the lock action to avoid malfunctions.

Benefits of technology

It effectively avoids the problem of cargo theft and solves the problem of limited installation space and safety risks of anti-theft components. At the same time, it improves the user experience through dual lock control and ensures that the lock position is stable and safe.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115249390B_ABST
    Figure CN115249390B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of vending machines, and specifically relates to a control method for a smart vending machine. The smart vending machine includes a control unit and a main lock and a secondary lock arranged relatively to each other in the upper and lower parts; wherein, the main lock and the secondary lock are both electric bolt locks, and the main lock is also used to detect the switch state of the door body; the control unit is electrically connected to the main lock and the secondary lock to control the actuation of the main lock and the secondary lock to realize the unlocking and locking of the smart vending machine; when unlocking, the secondary lock is opened first and then the main lock is opened; when locking, the main lock first confirms that the door body is closed, and then the main lock is lowered and then the secondary lock is lowered. The present invention uses the setting of double locks and their control methods to reliably lock the vending machine, avoiding the problem of gaps in the door body due to external forces that may cause theft of goods; moreover, whether unlocking or locking, the main lock and the secondary lock are actuated at different times to avoid the problems of malfunction, unstable lock state and poor user experience that may be caused by the simultaneous actuation of the main and secondary locks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of vending cabinets, and in particular relates to a control method of an intelligent vending cabinet. Background Art

[0002] Unmanned smart vending machines currently usually have an electromagnetic lock installed on the upper part of the door. According to feedback from the market, when the lower part of the door is pried open with force, a large gap may appear in the lower part of the door, and it is possible to get the goods in the cabinet with bare hands or using tools, posing a potential problem of the goods being damaged by theft.

[0003] Currently, this problem is often solved in the following two ways, but each has its own shortcomings:

[0004] 1) Add anti-theft components inside the cabinet, but due to the space limitation inside the cabinet, the installation position, height and length of the anti-theft components are restricted;

[0005] 2) Adding anti-theft components to the door body requires them to be integrally formed with the door body, which cannot be achieved on some doors; on the other hand, the anti-theft components may pose a risk of cutting or scratching consumers. Summary of the invention

[0006] In view of the deficiencies existing in the related art, the present invention provides a control method for a smart vending cabinet to solve the problem of possible theft and damage of goods in the smart vending cabinet and improve the user experience.

[0007] The present invention provides a control method for an intelligent vending machine, which includes a cabinet body, a door body, a control unit, a main lock and a secondary lock located at the opening of the door body and the cabinet body and arranged in an upper and lower relative manner; the main lock and the secondary lock are both electric bolt locks, and the main lock includes a sensing device for detecting the switch state of the door body; the control unit is electrically connected to the main lock and the secondary lock, and is used to control the actuation of the main lock and the secondary lock to unlock and lock the intelligent vending machine; the control method for the intelligent vending machine includes:

[0008] When the door needs to be opened, the control unit first sends a secondary lock unlocking command, and the secondary lock executes the initial unlocking mode to complete the secondary lock unlocking; then the control unit sends a main lock unlocking command, and the main lock executes the final unlocking mode to complete the main lock unlocking; at this point, the smart vending cabinet unlocking is completed;

[0009] When the door is closed, the sensing device of the main lock first detects whether the door is closed. If not, the sensing device continues to detect the closing state of the door. If closed, the main lock sends a door closed signal to the control unit; then the control unit sends a main lock locking command, and the main lock executes the initial locking mode to complete the main lock locking; then the control unit sends a secondary lock locking command, and the secondary lock executes the final locking mode to complete the secondary lock locking; at this point, the smart vending machine is locked.

[0010] In some embodiments, the initial unlocking mode specifically includes the following steps:

[0011] The secondary lock receives the unlocking command and actuates to perform the unlocking action;

[0012] After the secondary lock is actuated, there is a delay of t1, and then the secondary lock is detected to see if there is an unlocking and locking frame signal; if there is, the secondary lock completes the unlocking; if not, the secondary lock performs a retraction action and delays for t2, the secondary lock performs the unlocking action again, and then delays for t1 to detect again whether the secondary lock has an unlocking and locking frame signal.

[0013] In some embodiments, the final unlocking mode specifically includes the following steps:

[0014] The master lock receives the unlocking command and actuates to perform the unlocking action;

[0015] After the main lock is actuated, it delays t1, and then detects whether the main lock has an unlocking and locking frame signal; if so, the main lock completes the unlocking; if not, the main lock performs a retraction action and delays t2, the main lock performs the unlocking action again, and then delays t1 to detect again whether the main lock has an unlocking and locking frame signal.

[0016] In some of the embodiments, in the initial unlocking mode, if the secondary lock still cannot detect the unlocking lock frame signal from the secondary lock after performing the retraction action three times in a row, the secondary lock is forced to unlock and a fault report is made; in the final unlocking mode, if the main lock still cannot detect the unlocking lock frame signal from the main lock after performing the retraction action three times in a row, the main lock is forced to unlock and a fault report is made.

[0017] In some embodiments, after detecting that the secondary lock has an unlocking lock frame signal, a delay t3 is first performed, and then the control unit sends an unlocking instruction to the primary lock.

[0018] In some embodiments, the initial lock mode specifically includes the following steps:

[0019] When the main lock receives the locking command, the sensor of the main lock detects whether the door is closed again. If the door is not closed, the sensor continues to detect the closed state of the door. If the door is closed, the main lock is activated to perform the locking action.

[0020] After the main lock is actuated, there is a delay of t1, and then the main lock is detected to see if there is a locking frame signal; if there is, the main lock is locked; if not, the main lock performs a retraction action, and the sensing device of the main lock detects again whether the door is closed. If closed, the main lock performs the locking action again, and then delays t1 to detect again whether the main lock has a locking frame signal.

[0021] In some embodiments, the final lock mode specifically includes the following steps:

[0022] The auxiliary lock receives the locking command and actuates to execute the locking action;

[0023] After the secondary lock is actuated, there is a delay of t1, and then the secondary lock is detected to see if there is a locking frame signal; if so, the secondary lock is locked; if not, the secondary lock performs a retraction action, and then the secondary lock performs the locking action again, and after a delay of t1, it is detected again to see if there is a locking frame signal for the secondary lock.

[0024] In some of the embodiments, in the initial locking mode, if the main lock still cannot detect the locking frame signal of the main lock after performing the retraction action three times in a row, the main lock is forced to lock and a fault report is made; in the final locking mode, if the secondary lock still cannot detect the locking frame signal of the secondary lock after performing the retraction action three times in a row, the secondary lock is forced to lock and a fault report is made.

[0025] In some embodiments, the sensing device is an RFID sensing device, and the RFID sensing device includes:

[0026] The RFID sensing part is arranged on the main lock and is electrically connected to the control unit; the main lock is installed on the cabinet or the door, and the lock hole adapted to the lock tongue of the main lock is correspondingly arranged on the door or the cabinet;

[0027] The RFID card is arranged on the door body or the cabinet body where the lock hole is located, and is arranged opposite to the RFID sensing part.

[0028] In some embodiments, the induction device is a magnetic induction device, and the magnetic induction device includes:

[0029] The magnetic induction part is arranged on the main lock and is electrically connected to the control unit; the main lock is installed on the cabinet or the door, and the lock hole matching the lock tongue of the main lock is correspondingly arranged on the door or the cabinet;

[0030] The magnetic card is arranged on the door body or the cabinet body where the lock hole is located, and is arranged opposite to the magnetic induction part.

[0031] Based on the above technical scheme, the control method of the smart vending machine in the embodiment of the present invention, through the setting of double locks and their control method, can reliably lock the vending machine, avoiding the problem of gaps in the door body due to external force that may cause theft of goods; moreover, the main lock and the secondary lock of the vending machine are actuated at different times when unlocking or locking, avoiding problems such as malfunction and unstable lock state that may be caused by the simultaneous actuation of the main and secondary locks, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0033] Figure 1 This is a schematic diagram of the connection relationship between the main lock, the secondary lock and the control unit of the smart vending cabinet of the present invention;

[0034] Figure 2 The unlocking control logic diagram of the control mode of the intelligent vending cabinet of the present invention;

[0035] Figure 3 This is a locking control logic diagram of the control method of the intelligent vending cabinet of the present invention. DETAILED DESCRIPTION

[0036] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0037] In the description of the present invention, it is necessary to understand that the terms "upper", "lower", "top", "bottom", "inside", "outside", "left", "right", "vertical", "horizontal", etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0038] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0039] refer to Figure 1As shown, the smart vending cabinet in the present invention includes a cabinet, a door body and a control unit. One side of the door body is a connection side, and the door body connection side is rotatably connected to the cabinet; the other side of the door body is an opening side, and the cabinet can be opened or closed by operating the door body opening side. A main lock and a secondary lock are provided at the opening of the door body and the cabinet, and the main lock and the secondary lock are arranged opposite to each other up and down. It should be noted that the present invention does not limit whether the main lock is on the top or the secondary lock is on the top. In addition, it can be understood that the main lock and the secondary lock have their own lock bodies, and the lock bodies can be installed on the cabinet or on the door body; further, when the lock body is installed on the cabinet, the lock hole adapted to the lock tongue of the lock body is arranged on the door body; when the lock body is installed on the door body, the lock hole adapted to the lock tongue of the lock body is arranged on the cabinet. Both the main lock and the secondary lock are electric bolt locks, and the main lock also includes a sensing device for detecting the switch state of the door body. The control unit is electrically connected to both the main lock and the secondary lock, supplies power to the main lock and the secondary lock, and transmits signals to the main lock and the secondary lock; thus, the control unit controls the actuation of the main lock and the secondary lock to unlock and lock the smart vending cabinet.

[0040] refer to Figure 2-Figure 3 As shown, the present invention provides a control method for the above-mentioned intelligent vending cabinet, which includes the following two control logics:

[0041] When the door needs to be opened, first, the control unit sends a secondary lock unlocking command, and the secondary lock executes the initial unlocking mode to complete the secondary lock unlocking; then, the control unit sends a main lock unlocking command, and the main lock executes the final unlocking mode to complete the main lock unlocking; at this point, the smart vending cabinet is unlocked, that is, the locked state of the smart vending cabinet is released, and the user can open the door to open the cabinet.

[0042] When the door is closed, first, the sensing device of the main lock detects whether the door is closed. If the door is not closed, the sensing device continues to detect the closing state of the door. If the door is closed, the main lock sends a door closed signal to the control unit; then, the control unit sends a main lock locking command, and the main lock executes the initial locking mode to complete the main lock locking; then, the control unit sends a secondary lock locking command, and the secondary lock executes the final locking mode to complete the secondary lock locking; at this point, the smart vending machine is locked, that is, the smart vending machine enters the locked state.

[0043] The above-mentioned illustrative embodiment, through the dual lock setting of the main lock and the secondary lock on the smart vending machine, the upper and lower places of the opening side of the vending machine can be reliably locked, thereby avoiding the problem that the door body may have a gap due to external force, which may lead to theft of goods, and solves the problems of limited space, difficulty in molding and safety risks caused by the additional anti-theft components of the existing vending machines; through the application of the dual lock control method, the main lock and the secondary lock of the vending machine are staggered when unlocking and locking, that is, after the actuation of one of the main lock and the secondary lock is completed, the other lock starts to actuate, thereby avoiding the problems of malfunction and unstable lock state caused by the simultaneous actuation of the main lock and the secondary lock, and the dual locks are actuated in sequence, which can give users a clear sense of feedback and improve the user experience.

[0044] refer to Figure 2 As shown, in some embodiments, the initial unlocking mode specifically includes the following steps:

[0045] The secondary lock receives the unlocking command and actuates to perform the unlocking action;

[0046] After the secondary lock is actuated, there is a delay of t1, and then the secondary lock is detected to see if there is an unlocking and locking frame signal; if there is, the secondary lock completes the unlocking; if not, the secondary lock performs a retraction action and delays for t2, the secondary lock performs the unlocking action again, and then delays for t1 to detect again whether the secondary lock has an unlocking and locking frame signal.

[0047] In the above-mentioned illustrative embodiment, a closed-loop control method is used to perform unlocking and locking frame detection after the secondary lock is actuated to ensure that the secondary lock is unlocked completely; the purpose of the delay t1 is to enable the mechanical components inside the secondary lock to complete the actuation, so as to avoid the detection when the state of the mechanical components is not stable, which may cause the secondary lock to have an erroneous unlocking and locking frame signal, thereby affecting the normal unlocking of the vending machine. t1 can be 100ms, but it is not limited to this, and it can be flexibly set according to specific needs; the purpose of the delay t2 is to allow the secondary lock to reach a stable state after the withdrawal action is executed before executing the unlocking action, so as to avoid unnecessary misoperation. t2 can be 2s, but it is not limited to this, and it can be flexibly set according to specific needs.

[0048] refer to Figure 2 As shown, in some embodiments, the final unlocking mode specifically includes the following steps:

[0049] The master lock receives the unlocking command and actuates to perform the unlocking action;

[0050] After the main lock is actuated, it delays t1, and then detects whether the main lock has an unlocking and locking frame signal; if so, the main lock completes the unlocking; if not, the main lock performs a retraction action and delays t2, the main lock performs the unlocking action again, and then delays t1 to detect again whether the main lock has an unlocking and locking frame signal.

[0051] The above-mentioned illustrative embodiment ensures that the main lock is unlocked through a closed-loop control method that performs unlocking and locking frame detection after the main lock is actuated; the purpose of the delay t1 is to enable the mechanical components inside the main lock to complete the actuation, so as to avoid the main lock to have an erroneous unlocking and locking frame signal due to detection when the state of the mechanical components is not stable, thereby affecting the normal unlocking of the vending machine. t1 can be 100ms, but is not limited to this, and can be flexibly set according to specific needs; the purpose of the delay t2 is to allow the main lock to reach a stable state after the retraction action is performed before executing the unlocking action, so as to avoid unnecessary misoperation. t2 can be 2s, but is not limited to this, and can be flexibly set according to specific needs.

[0052] refer to Figure 2 As shown, in some embodiments, in the initial unlocking mode, if the secondary lock still cannot detect the unlocking frame signal of the secondary lock after performing the retraction action three times in a row, the secondary lock is forced to unlock and a fault report is made; in the final unlocking mode, if the main lock still cannot detect the unlocking frame signal of the main lock after performing the retraction action three times in a row, the main lock is forced to unlock and a fault report is made. This exemplary embodiment ensures that the vending cabinet does not affect the user's normal door opening needs when using the vending cabinet.

[0053] refer to Figure 2 As shown, in some embodiments, after detecting that the secondary lock has an unlock frame signal, a delay of t3 is first performed, and then the control unit sends an unlock command to the primary lock. In this exemplary embodiment, the purpose of the delay of t3 is to enable the user to clearly feel the staggered actuation of the primary lock and the secondary lock when the vending cabinet is unlocked, thereby improving the sensory experience of the user when using the cabinet; the value of t3 can be flexibly set according to specific needs.

[0054] refer to Figure 3 As shown, in some embodiments, the initial lock mode specifically includes the following steps:

[0055] When the main lock receives the locking command, the sensor of the main lock detects whether the door is closed again. If the door is not closed, the sensor continues to detect the closed state of the door. If the door is closed, the main lock is activated to perform the locking action.

[0056] After the main lock is actuated, there is a delay of t1, and then the main lock is detected to see if there is a locking frame signal; if there is, the main lock is locked; if not, the main lock performs a retraction action, and the sensing device of the main lock detects again whether the door is closed. If closed, the main lock performs the locking action again, and then delays t1 to detect again whether the main lock has a locking frame signal.

[0057] The above-mentioned illustrative embodiment ensures that the main lock is locked only when the door body is closed, by detecting whether the door body is closed before the main lock executes the locking action each time, so as to avoid damage to the main lock or the vending machine due to the activation of the main lock when the door body is not closed or not closed properly; a closed-loop control method of performing locking frame detection after the main lock is activated is used to ensure that the main lock is locked completely; the purpose of the delay t1 is to enable the mechanical components inside the main lock to complete the actuation, so as to avoid the main lock issuing an erroneous locking frame signal due to the detection when the state of the mechanical components is not stable, thereby affecting the normal locking of the vending machine; t1 can be 100ms, but is not limited to this, and can be flexibly set according to specific needs.

[0058] refer to Figure 3 As shown, in some embodiments, the final lock mode specifically includes the following steps:

[0059] The auxiliary lock receives the locking command and actuates to execute the locking action;

[0060] After the secondary lock is actuated, there is a delay of t1, and then the secondary lock is detected to see if there is a locking frame signal; if so, the secondary lock is locked; if not, the secondary lock performs a retraction action, and then the secondary lock performs the locking action again, and after a delay of t1, it is detected again to see if there is a locking frame signal for the secondary lock.

[0061] The above-mentioned illustrative embodiment ensures that the secondary lock is locked completely by a closed-loop control method of performing lock frame detection after the secondary lock is actuated; the purpose of the delay t1 is to enable the mechanical components inside the secondary lock to be actuated completely, to avoid the secondary lock having an erroneous lock frame signal caused by the detection when the state of the mechanical components is not stable, thereby affecting the normal locking of the vending machine. t1 can be 100ms, but is not limited to this, and can be flexibly set according to specific needs.

[0062] refer to Figure 3 As shown, in some embodiments, in the initial locking mode, if the main lock performs the retraction action three times in a row and still cannot detect the main lock has a locking frame signal, the main lock is forced to lock and a fault report is made; in the final locking mode, if the secondary lock performs the retraction action three times in a row and still cannot detect the secondary lock has a locking frame signal, the secondary lock is forced to lock and a fault report is made. This exemplary embodiment ensures that the vending cabinet does not affect the user's normal need to lock the door when using the vending cabinet.

[0063] In some embodiments, the sensing device is an RFID sensing device, and the RFID sensing device includes an RFID sensing unit and an RFID card. The RFID sensing unit is arranged on the main lock and is electrically connected to the control unit. It is understandable that when the main lock is installed on the cabinet, the lock hole adapted to the main lock tongue is correspondingly arranged on the door body; when the main lock is installed on the door body, the lock hole adapted to the main lock tongue is correspondingly arranged on the cabinet. The RFID card is arranged on the door body or the cabinet where the lock hole is located, and is arranged relative to the RFID sensing unit, so that there is directionality between the RFID card and the RFID sensing unit; in this embodiment, only when the RFID card reaches the preset area that can be sensed by the RFID sensing unit on the main lock and the RFID sensing unit recognizes the RFID card, the main lock can generate a door closing signal; that is, when the door body is closed, the sensing result of the RFID sensing unit on the RFID card can be used to detect whether the door body is closed in place. It can be understood by those skilled in the art that the coding work between the RFID sensing part and the RFID card can be performed before or after the main lock is installed on the vending machine; in addition, the RFID card is unique and can better avoid fraudulent lock situations.

[0064] In some embodiments, the sensing device may also be a magnetic sensing device, and the magnetic sensing device includes a magnetic sensing unit and a magnetic card. The magnetic sensing unit is provided on the main lock and is electrically connected to the control unit. It is understandable that when the main lock is installed on the cabinet, the lock hole that matches the lock tongue of the main lock is correspondingly provided on the door body; when the main lock is installed on the door body, the lock hole that matches the lock tongue of the main lock is correspondingly provided on the cabinet. The magnetic card is provided on the door body or the cabinet where the lock hole is located, and is arranged opposite to the magnetic sensing unit. Therefore, in this embodiment, as long as the magnetic card reaches the area that can be sensed by the magnetic sensing unit on the main lock, the main lock can generate a door closing signal after the magnetic sensing unit recognizes the magnetic card; that is, when the door body is closed, the induction result of the magnetic sensing unit on the magnetic card can be used to detect whether the door body is closed in place.

[0065] Through the description of multiple embodiments of the control method of the intelligent vending cabinet of the present invention, it can be seen that the present invention has at least one or more of the following advantages:

[0066] 1. The dual lock setting of the main lock and the secondary lock on the smart vending cabinet enables the upper and lower parts of the opening side of the vending cabinet to be reliably locked, avoiding the problem of theft of goods caused by gaps in the door body due to external forces, and solving the problems of limited space, difficult molding and security risks caused by the additional anti-theft components of the existing vending cabinets;

[0067] 2. Through the application of double lock control method, the main lock and the auxiliary lock of the vending machine are staggered when unlocking and locking, thus avoiding the problems of malfunction and unstable lock state caused by the simultaneous activation of the main lock and the auxiliary lock. The double locks are activated in sequence, which can give users clear feedback and improve the user experience.

[0068] Finally, it should be noted that: the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0069] The above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.

Claims

1. A control method for an intelligent vending machine, characterized in that: The smart vending machine includes a cabinet, a door, a control unit, a main lock and a secondary lock located at the opening of the door and the cabinet and arranged opposite to each other in an upper and lower direction; the main lock and the secondary lock are both electric bolt locks, and the main lock includes a sensing device for detecting the switch state of the door, and the sensing device is an RFID sensing device; the RFID sensing device includes an RFID sensing part and an RFID card; the RFID sensing part is arranged on the main lock and is electrically connected to the control unit; the main lock is installed on the cabinet or the door, and the lock hole matched with the lock tongue of the main lock is correspondingly arranged on the door or the cabinet; the RFID card is arranged on the door or the cabinet where the lock hole is located, and is arranged opposite to the RFID sensing part; the control unit is electrically connected to the main lock and the secondary lock, and is used to control the actuation of the main lock and the secondary lock to unlock and lock the smart vending machine; The control method of the intelligent vending cabinet includes: When the door needs to be opened, First, the control unit sends a secondary lock unlocking command, and the secondary lock executes an initial unlocking mode, which includes the following steps: the secondary lock receives the unlocking command, and the secondary lock is actuated to execute the unlocking action; after the secondary lock is actuated, a delay of t1 is performed, and then the secondary lock is detected whether there is an unlocking lock frame signal; if not, the secondary lock performs a retraction action and a delay of t2, the secondary lock executes the unlocking action again, and then a delay of t1 is performed to detect again whether there is an unlocking lock frame signal of the secondary lock; if yes, the secondary lock completes the unlocking; wherein, t1 is 100ms, and t2 is 2s; After detecting that the secondary lock has an unlocking frame signal, firstly a delay of t3 is performed, and then the control unit sends an unlocking command to the main lock, and the main lock executes a final unlocking mode, and the final unlocking mode includes the following steps: the main lock receives the unlocking command, and the main lock is actuated to execute the unlocking action; after the main lock is actuated, a delay of t1 is performed, and then the main lock is detected to have an unlocking frame signal; if not, the main lock performs a retraction action and a delay of t2, and the main lock executes the unlocking action again, and then a delay of t1 is performed to detect again whether the main lock has an unlocking frame signal; if so, the main lock completes the unlocking; at this point, the unlocking of the smart vending machine is completed; When the door is closed, First, the sensing device of the main lock detects whether the door body is closed. If not, the sensing device continues to detect the closed state of the door body. If closed, the main lock sends a door closed signal to the control unit; then the control unit sends a main lock locking instruction, and the main lock executes an initial locking mode. The initial locking mode includes the following steps: the main lock receives the locking instruction, and the sensing device of the main lock detects whether the door body is closed again. If not, the sensing device continues to detect the closed state of the door body. If closed, the main lock is actuated to execute the locking action; the main lock is actuated with a delay of t1, and then detects whether the main lock has a locking frame signal; if not, the main lock executes a retraction action, and the sensing device of the main lock detects whether the door body is closed again. If closed, the main lock executes the locking action again, and then delays t1 to detect whether the main lock has a locking frame signal; if yes, the main lock is locked; Then the control unit sends a locking instruction to the secondary lock, and the secondary lock executes a final locking mode, and the final locking mode includes the following steps: the secondary lock receives the locking instruction, and the secondary lock is actuated to execute the locking action; after the secondary lock is actuated, there is a delay of t1, and then the secondary lock is detected whether there is a locking frame signal; if not, the secondary lock executes a retraction action, and then the secondary lock executes the locking action again, and after a delay of t1, it is detected again whether there is a locking frame signal of the secondary lock; if yes, the secondary lock is locked; at this point, the locking of the smart vending machine is completed.

2. The control method of the intelligent vending machine according to claim 1, characterized in that: In the initial unlocking mode, if the secondary lock still cannot detect an unlocking frame signal from the secondary lock after the secondary lock performs the retraction action three times in succession, the secondary lock will force unlocking and report a fault; In the final unlocking mode, if the master lock still cannot detect an unlocking frame signal from the master lock after performing the retraction action three times in succession, the master lock is forced to unlock and a fault report is made.

3. The control method of the intelligent vending machine according to claim 1, characterized in that: In the initial locking mode, if the main lock still cannot detect the locking frame signal of the main lock after performing the retraction action three times in a row, the main lock is forced to lock and report the fault; In the final locking mode, if the secondary lock still cannot detect a locking frame signal from the secondary lock after the secondary lock performs the retraction action three times in succession, the secondary lock is forced to lock and a fault report is made.