Fault detection method and device, vending machine and computer readable storage medium

By combining the first infrared device and the second infrared device in the vending machine, detecting the blocked state of infrared rays, determining the fault type, and automatically controlling the door switch, the problem that the existing vending machine pick-up port structure is difficult to achieve contactless service, and improving user experience and security.

CN119888913APending Publication Date: 2025-04-25QINGDAO HAIER SPECIAL REFRIGERATION ELECTRIC APPLIANCE CO LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202311383491.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-24
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The pick-up port structure of existing vending machines is difficult to achieve contactless service, has poor user experience, and low-cost infrared equipment lacks fault self-checking capabilities and is low in safety.

Method used

By combining the first infrared device and the second infrared device, the fault type of the vending machine is determined by detecting the blocked state of infrared rays, and the automatic switching control of the door body is controlled to achieve contactless pickup.

Benefits of technology

It reduces the difficulty of picking up, improves the user experience, conforms to the concept of contactless service, and improves the safety of vending machines through fault self-checking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119888913A_ABST
    Figure CN119888913A_ABST
Patent Text Reader

Abstract

The invention discloses a fault detection method, which is applied to a vending machine, and the vending machine comprises a door body which is adjacent to a goods taking port of the vending machine; the first infrared equipment is used for transmitting and receiving first infrared rays in a goods placing bin of the vending machine; the second infrared equipment is used for transmitting and receiving second infrared rays at a goods taking opening of the vending machine; wherein the door body can be opened or closed under the control of the first infrared ray and the second infrared ray; the method comprises the following steps: determining a change condition of a shielded state of first infrared rays and / or second infrared rays; and determining the fault type of the vending machine according to the conversion condition of the shielded state of the first infrared ray and / or the second infrared ray. The automatic vending machine is favorable for reducing the goods taking difficulty, conforms to the non-contact service concept, makes up for the disadvantage that low-cost infrared equipment does not have the fault self-inspection function, and improves the safety of the automatic vending machine. The invention further discloses a device for fault detection, the vending machine and a computer readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of smart home appliances, for example, to a method and device for fault detection, a vending machine, and a computer-readable storage medium. Background Art

[0002] The current vending machines mainly include beverage vending machines, food vending machines, comprehensive vending machines, etc., which bring great convenience to people. The shipment detection of vending machines is an important part of the operation process of vending machines. The shipment detection is the part of detecting whether the shipment is successful during the shipment process of the vending machine.

[0003] The related art discloses a method for shipment detection using infrared detection, in which an infrared detection device is arranged in a shipment warehouse. When goods enter the shipment warehouse, the infrared detection device can detect the goods and determine that the shipment is successful.

[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:

[0005] The product pickup port of existing vending machines is mostly a manually pushed baffle structure. It is difficult for users to push the baffle to pick up the goods, which is a poor experience and does not conform to the concept of contactless service. In addition, the open-loop motor and dual infrared pickup port solution are less secure.

[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0008] The embodiments of the present disclosure provide a method and device for fault detection, a vending machine, and a computer-readable storage medium to reduce the difficulty of picking up goods, improve user experience, comply with the concept of contactless service, and make up for the disadvantage that low-cost infrared equipment does not have fault self-detection, thereby improving the safety of the vending machine.

[0009] In some embodiments, the method is applied to a vending machine, which includes: a door body adjacent to a pickup port of the vending machine; a first infrared device for transmitting and receiving a first infrared ray in a cargo storage bin of the vending machine; a second infrared device for transmitting and receiving a second infrared ray at the pickup port of the vending machine; wherein the door body can be opened or closed by the first infrared ray and the second infrared ray; the method includes: determining a transition of the blocked state of the first infrared ray and / or the second infrared ray; and determining the fault type of the vending machine according to the transition of the blocked state of the first infrared ray and / or the second infrared ray.

[0010] In some embodiments, the device is applied to a vending machine, which includes: a door body adjacent to a pickup port of the vending machine; a first infrared device for transmitting and receiving a first infrared ray in a cargo storage bin of the vending machine; a second infrared device for transmitting and receiving a second infrared ray at the pickup port of the vending machine; wherein the door body can be opened or closed by the first infrared ray and the second infrared ray; the device includes: a first determination module configured to determine a transition of a blocked state of the first infrared ray and / or the second infrared ray; and a second determination module configured to determine a fault type of the vending machine according to a transition of a blocked state of the first infrared ray and / or the second infrared ray.

[0011] In some embodiments, the device includes a processor and a memory storing program instructions, and the processor is configured to execute the method for fault detection when running the program instructions.

[0012] In some embodiments, the vending machine includes: a vending machine body, including: a door body, adjacent to the pickup port of the vending machine; a first infrared device, used to transmit and receive a first infrared ray in the cargo storage bin of the vending machine; a second infrared device, used to transmit and receive a second infrared ray at the pickup port of the vending machine; wherein the door body can be opened or closed by the first infrared ray and the second infrared ray; the device for fault detection is installed on the vending machine body.

[0013] The method and device for fault detection, the automatic vending machine, and the computer-readable storage medium provided in the embodiments of the present disclosure can achieve the following technical effects:

[0014] The first infrared device in the cargo storage bin can emit and receive the first infrared ray, and can detect whether there are any goods entering the cargo storage bin from the delivery port and the removal of the goods according to the blocking of the first infrared ray. The second infrared device set at the pickup port can emit and receive the second infrared ray, and can detect whether the user has taken the goods and the removal of the goods according to the blocking of the second infrared ray. The door body can be opened or closed by the first infrared ray and the second infrared ray, and there is no need to manually open and close the door to pick up the goods, which is conducive to reducing the difficulty of picking up the goods, improving the user experience, and complying with the concept of contactless service. And according to the change of the blocking state of the first infrared ray and / or the second infrared ray, the fault type of the vending machine is determined, which is conducive to making up for the disadvantage that the low-cost infrared device does not have fault self-detection and improving the safety of the vending machine.

[0015] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:

[0017] Figure 1 is a schematic diagram of picking up goods from a vending machine provided by an embodiment of the present disclosure;

[0018] Figure 2 is a schematic diagram of a method for fault detection provided by an embodiment of the present disclosure;

[0019] Figure 3 is a schematic diagram of another method for fault detection provided by an embodiment of the present disclosure;

[0020] Figure 4 is a schematic diagram of another method for fault detection provided by an embodiment of the present disclosure;

[0021] Figure 5 is a schematic diagram of another method for fault detection provided by an embodiment of the present disclosure;

[0022] Figure 6 is a schematic diagram of a device for fault detection provided by an embodiment of the present disclosure;

[0023] Figure 7 is a schematic diagram of another device for fault detection provided by an embodiment of the present disclosure;

[0024] Figure 8 It is a schematic diagram of a vending machine provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.

[0026] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0027] Unless otherwise stated, the term "plurality" means two or more.

[0028] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0029] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0030] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.

[0031] Combination Figure 1 As shown, an embodiment of the present disclosure provides a vending machine. The vending machine includes: a door body 1, a first infrared device 2, a second infrared device 3, a cargo storage bin 4, and a pickup port 5. The door body 1 is adjacent to the pickup port 5 of the vending machine. The first infrared device 2 is used to transmit and receive a first infrared ray in the cargo storage bin 4 of the vending machine. The second infrared device 3 is used to transmit and receive a second infrared ray at the pickup port 5 of the vending machine. The door body 1 can be opened or closed by the first infrared ray and the second infrared ray.

[0032] Optionally, the first infrared device 2 includes a first infrared transmitting module 21 for transmitting first infrared rays and a first infrared receiving module 22 for receiving first infrared rays. The second infrared device 3 includes a second infrared transmitting module 31 for transmitting second infrared rays and a second infrared receiving module 32 for receiving second infrared rays.

[0033] Optionally, when the goods have not entered the cargo storage bin 4, both the first infrared ray and the second infrared ray are unblocked, and the control door body 1 is closed. When the goods have entered the cargo storage bin 4 and the user has not reached into the cargo storage bin 4 and the pickup port 5, the first infrared ray is blocked and the second infrared ray is unblocked, and the control door body 1 is opened. When the goods have entered the cargo storage bin 4 and the user has reached into the cargo storage bin 4 from the pickup port 5, both the first infrared ray and the second infrared ray are blocked, and the control door body 1 remains open. When the user takes the goods from the cargo storage bin 4 to the pickup port 5, the first infrared ray is unblocked and the second infrared ray is blocked, and the control door body 1 remains open. When the user takes the goods out of the pickup port 5, both the first infrared ray and the second infrared ray are unblocked, and the control door body 1 is closed.

[0034] In the vending machine provided by the embodiment of the present disclosure, the first infrared device 2 in the cargo storage bin 4 can emit and receive the first infrared ray, and can detect whether there is cargo entering the cargo storage bin 4 from the delivery port and the removal of cargo according to the blocking of the first infrared ray. The second infrared device 3 arranged at the pickup port 5 can emit and receive the second infrared ray, and can detect whether the user has taken the action of picking up cargo and the removal of cargo according to the blocking of the second infrared ray. The door body 1 can be opened or closed by the first infrared ray and the second infrared ray, and there is no need to manually open and close the door to pick up cargo, which is conducive to reducing the difficulty of picking up cargo, improving user experience, and conforming to the concept of contactless service.

[0035] Combination Figure 2 As shown, the embodiment of the present disclosure provides a method for fault detection, including:

[0036] S201, the vending machine determines a transition condition of a shielding state of the first infrared ray and / or the second infrared ray.

[0037] S202: The automatic vending machine determines a fault type of the automatic vending machine according to a change in the shielding state of the first infrared ray and / or the second infrared ray.

[0038] By adopting the method for fault detection provided by the embodiment of the present disclosure, the first infrared device in the cargo storage bin can emit and receive the first infrared ray, and can detect whether there is any cargo entering the cargo storage bin from the delivery port and the removal of the cargo according to the blocking condition of the first infrared ray. The second infrared device arranged at the pickup port can emit and receive the second infrared ray, and can detect whether the user has taken the action of picking up the cargo and the removal of the cargo according to the blocking condition of the second infrared ray. The door body can be opened or closed by the first infrared ray and the second infrared ray, and there is no need to manually open and close the door to pick up the cargo, which is conducive to reducing the difficulty of picking up the cargo, improving the user experience, and complying with the concept of contactless service. And according to the change of the blocking state of the first infrared ray and / or the second infrared ray, the fault type of the vending machine is determined, which is conducive to making up for the disadvantage that the low-cost infrared device does not have fault self-detection and improving the safety of the vending machine.

[0039] Optionally, the change of the shielding state of the first infrared ray and / or the second infrared ray includes: the change of the shielding state of the first infrared ray in the delivery link, or the change of the shielding state of the first infrared ray and the second infrared ray in the pickup link.

[0040] In this way, the fault type of the vending machine can be determined based on the change in the blocked state of the first infrared ray in the delivery link, or the change in the blocked state of the first infrared ray and the second infrared ray in the pickup link. This is helpful to make up for the disadvantage that low-cost infrared equipment does not have fault self-detection and improve the safety of the vending machine.

[0041] Optionally, the change of the shielding state of the first infrared ray in the shipping link includes: the shielding state of the first infrared ray in the shipping link changes, or the shielding state of the first infrared ray in the shipping link does not change.

[0042] This is helpful to better determine the change of the shielding state of the first infrared ray in the shipping link.

[0043] Optionally, the shielding state of the first infrared ray in the shipping link changes, including: the shielding state of the first infrared ray in the shipping link changes from unshielded to blocked.

[0044] In this way, the blocked state of the first infrared ray in the shipment link changes from unblocked to blocked, which means that in the shipment link, the goods enter the goods storage warehouse, blocking the first infrared ray, and the shipment is normal.

[0045] Optionally, the blocked state of the first infrared ray in the shipping link does not change, including: the blocked state of the first infrared ray in the shipping link remains unblocked.

[0046] In this way, the first infrared ray remains unblocked in the shipping link, which means that the goods have not entered the goods storage bin in the shipping link, such as a failure of the shipping port, or a failure of the first infrared device has caused abnormal shipping.

[0047] Optionally, the transformation of the blocked state of the first infrared ray and the second infrared ray in the picking-up link includes: the blocked state of the first infrared ray and the second infrared ray in the picking-up link both transforms. Or, the blocked state of the first infrared ray in the picking-up link does not transform, and the blocked state of the second infrared ray in the picking-up link transforms. Or, the blocked state of the first infrared ray in the picking-up link transforms, and the blocked state of the second infrared ray in the picking-up link does not transform. Or, the blocked state of the first infrared ray and the second infrared ray in the picking-up link do not transform.

[0048] This is helpful to better determine the transition of the shielding status of the first infrared ray and the second infrared ray in the picking process.

[0049] Optionally, the blocked state of the first infrared ray in the goods picking link changes, including: the blocked state of the first infrared ray in the goods picking link changes from being blocked to being unblocked.

[0050] In this way, if the shipping process is normal, the initial shielding state of the first infrared ray in the picking-up process is shielding, and if the goods are taken out, the shielding state of the first infrared ray is changed to unshielding.

[0051] Optionally, the blocked state of the first infrared ray in the goods picking link does not change, including: the blocked state of the first infrared ray in the goods picking link remains blocked.

[0052] In this way, if the shipping process is normal, the first infrared ray will be initially blocked in the pickup process; if the pickup is not completed, foreign objects are retained, or the first infrared device fails, the first infrared ray will remain blocked.

[0053] Optionally, the blocked state of the second infrared ray in the picking-up link changes, including: the blocked state of the second infrared ray in the picking-up link changes from unblocked to blocked, and / or, changes from blocked to unblocked.

[0054] In this way, if the second infrared ray changes from being unblocked to being blocked, and / or from being blocked to being unblocked during the picking-up process, it indicates that the user's hand has reached into the picking-up port to pick up the goods. Thereafter, if the second infrared ray changes from being blocked to being unblocked during the picking-up process, it indicates that the user has taken out the goods.

[0055] Optionally, the blocked state of the second infrared ray in the goods picking link does not change, including: the blocked state of the second infrared ray in the goods picking link remains unblocked or remains blocked.

[0056] In this way, if the second infrared ray remains unblocked during the pickup link, it indicates that the user did not reach in to pick up the goods or the second infrared device is faulty. If the second infrared ray remains blocked during the pickup link, it indicates that the user reached in to pick up the goods but did not take them out or the second infrared device is faulty.

[0057] Optionally, the vending machine determines the fault type of the vending machine according to the change of the blocked state of the first infrared ray and / or the second infrared ray, including: in the case of the delivery link, the vending machine determines the fault type of the vending machine as delivery failure or first infrared device failure according to the change of the blocked state of the first infrared ray in the delivery link. Or, in the case of the pickup link, the vending machine determines the fault type of the vending machine as delivery port failure, second infrared device failure or pickup port abnormality according to the change of the blocked state of the first infrared ray and the second infrared ray in the pickup link.

[0058] In this way, the goods in the shipping process only need to be blocked or unblocked by the first infrared ray, and the fault is determined to be a shipping failure or a first infrared device failure according to the blocking of the first infrared ray. The goods collection process involves the blocking or unblocking of both the first infrared ray and the second infrared ray, and the fault is determined to be a shipping port failure, a second infrared device failure, or a pick-up port abnormality according to the blocking status of the first infrared ray and the second infrared ray. This is conducive to more accurate positioning of the fault of the vending machine.

[0059] Optionally, the vending machine determines that the fault type of the vending machine is a shipment failure or a first infrared device failure according to the change of the blocked state of the first infrared ray in the shipment link, including: when the blocked state of the first infrared ray in the shipment link does not change, the vending machine determines that the fault type of the vending machine is a shipment failure or a first infrared device failure. Specifically, when the vending machine determines that the fault type of the vending machine is a shipment failure or a first infrared device failure, the shipment failure is reported and after-sales maintenance is applied.

[0060] In this way, in the delivery link, if the shielded state of the first infrared ray does not change, the vending machine fails, and the failure type is delivery failure or first infrared device failure.

[0061] Optionally, the vending machine determines the fault type of the vending machine as a delivery port fault, a second infrared device fault or a pickup port abnormality according to the change of the blocked state of the first infrared ray and the second infrared ray in the pickup link, including: when the blocked state of the first infrared ray in the pickup link does not change, and the blocked state of the second infrared ray in the pickup link changes, the vending machine determines the fault type of the vending machine as a delivery port fault. Or, when the blocked state of the first infrared ray in the pickup link changes, and the blocked state of the second infrared ray in the pickup link does not change, the vending machine determines the fault type of the vending machine as a second infrared device fault. Or, when the blocked state of the first infrared ray and the second infrared ray in the pickup link do not change, the vending machine sends a pickup reminder and / or determines the fault type of the vending machine as a pickup port abnormality.

[0062] In this way, in the picking link, if the blocked state of the first infrared ray does not change, and the blocked state of the second infrared ray changes, since the premise of entering the picking link is that the first infrared ray is blocked, if the first infrared device continues to remain blocked but the second infrared ray changes from unblocked to blocked, and then changes back to unblocked, it means that the picking is not completed, foreign objects are retained, or the first infrared device is faulty. At this time, the fault type is determined to be a delivery port fault. If the blocked state of the first infrared ray changes from blocked to unblocked, and the blocked state of the second infrared ray does not change and remains unblocked or blocked, it means that the second infrared device is faulty at this time. Since the door body is controlled by the second infrared ray, personal injury is likely to occur at this time. If the blocked states of the first infrared ray and the second infrared ray do not change in the picking link, the first infrared ray remains blocked, and the second infrared ray remains unblocked or blocked, it means that the second infrared device is faulty and foreign objects are retained, the first infrared device and the second infrared device are faulty, or the user deliberately does not pick up the goods after purchasing them, and the picking port is determined to be abnormal.

[0063] Optionally, the vending machine sends a pickup reminder and / or determines that the fault type of the vending machine is an abnormal pickup port, including: the vending machine sends a pickup reminder. When the reminder duration of the pickup reminder is greater than the first duration, and the blocked state of the first infrared ray and the second infrared ray in the pickup link has not changed, the vending machine determines that the fault type of the vending machine is an abnormal pickup port. Specifically, the value range of the reminder duration is [8min, 10min].

[0064] In this way, the blocked states of the first infrared ray and the second infrared ray do not change during the pickup process, the first infrared ray remains blocked, and the second infrared ray remains unblocked or blocked, which means that the second infrared device is faulty and foreign objects are retained, the first infrared device and the second infrared device are faulty, or the user deliberately does not pick up the goods after purchasing them. In this case, the user will be reminded to pick up the goods as soon as possible. If the reminder time exceeds the reminder duration, it is determined that the fault is an abnormality at the pickup port.

[0065] Optionally, after the vending machine determines the transition of the blocked state of the first infrared ray and / or the second infrared ray, the method further includes: the vending machine determines that the vending machine is operating normally according to the transition of the blocked state of the first infrared ray and / or the second infrared ray.

[0066] In this way, according to the transition of the shielding state of the first infrared ray and / or the second infrared ray, it can be determined that the vending machine operates normally.

[0067] Optionally, the vending machine determines that the vending machine is operating normally based on changes in the blocked state of the first infrared ray and / or the second infrared ray, including: when the blocked state of the first infrared ray changes in the delivery link, the vending machine determines that the vending machine is operating normally based on changes in the blocked state of the first infrared ray and the second infrared ray in the pickup link.

[0068] In this way, if the blocked state of the first infrared ray changes in the delivery link, from unblocked to blocked, it means that the delivery enters the pickup link normally. At this time, according to the change of the blocked state of the first infrared ray and the second infrared ray, it is determined whether the vending machine works normally in the pickup link.

[0069] Optionally, the vending machine determines that the vending machine is operating normally according to a change in the blocked state of the first infrared ray and the second infrared ray in the pickup link, including: when the blocked state of the first infrared ray and the second infrared ray in the pickup link changes, the vending machine determines that the vending machine is operating normally.

[0070] In this way, if the vending machine delivers goods normally and enters the pickup stage, the first infrared ray changes from being blocked to being unblocked, and the second infrared ray changes from being unblocked to being blocked and then to being unblocked, which means that the pickup stage is normal, and the conclusion is drawn that the vending machine is working normally.

[0071] Optionally, after the vending machine determines the fault type of the vending machine, the method further includes: the vending machine reports the fault type. The vending machine performs a normal pickup process according to the fault type, or keeps the door open.

[0072] In this way, after the vending machine determines the fault type, it reports the fault type, which is conducive to timely reminder of maintenance. After that, it supports the normal pickup process or keeps the door open according to the fault type, which is conducive to reducing the risk of personal injury during the user's pickup process. It is conducive to making up for the disadvantage of low-cost infrared equipment that does not have fault self-detection and improving the safety of vending machines.

[0073] Optionally, the vending machine performs a normal pickup process or keeps the door open according to the fault type, including: when the fault type is a delivery port fault, the vending machine performs a normal pickup process. Or, when the fault type is a second infrared device fault or an abnormality in the delivery port, the vending machine keeps the door open.

[0074] In this way, if the delivery port fails, there will be no risk of personal injury to the user during the pickup process, and the normal pickup process can be performed. If the second infrared device fails or the pickup port is abnormal, the pickup process continues to close the door, which may make the door switch unable to match the user's pickup process. The risk of personal injury to the user during the pickup process is high. Keeping the door open is conducive to reducing the risk of personal injury to the user during the pickup process. This is conducive to making up for the disadvantage of low-cost infrared equipment that does not have fault self-detection and improving the safety of the vending machine.

[0075] Optionally, the method further includes: the vending machine determines the shielding state of the first infrared ray and / or the second infrared ray. The vending machine determines the fault type of the vending machine according to the shielding state of the first infrared ray and / or the second infrared ray, and controls the opening and closing state of the door.

[0076] In this way, the fault type of the vending machine can be determined based on the blocking state of the first infrared ray and / or the second infrared ray, and the opening and closing state of the door can be controlled, which helps to make up for the disadvantage that low-cost infrared equipment does not have fault self-detection and improve the safety of the vending machine.

[0077] Optionally, the vending machine determines the fault type of the vending machine according to the shielding state of the first infrared ray and / or the second infrared ray, and controls the switch state of the door body, including:

[0078] When the blocked state of the first infrared ray is cleared, and the blocked state of the second infrared ray is cleared, the vending machine determines that the pickup is finished and controls the door to close. Or,

[0079] When the first infrared ray is blocked and the second infrared ray is blocked, the vending machine determines that the vending machine is normal or the fault type of the vending machine is abnormal door blocking according to the door blocking duration. In the case of abnormal door blocking, the vending machine controls the door to remain open. Or,

[0080] When the first infrared ray is blocked and the second infrared ray is blocked, the vending machine determines that the vending machine is normal or abnormal according to the pickup time. In the case of abnormal pickup, the vending machine sends a receipt reminder and determines that the vending machine is normal or the fault type of the vending machine is abnormal door blocking according to the door blocking time. In the case of abnormal door blocking, the vending machine controls the door to remain open. Or,

[0081] When the blocking state of the first infrared ray is blocked and the blocking state of the second infrared ray is unblocked, the vending machine determines that the vending machine is normal or the pickup is abnormal according to the pickup time. In the case of abnormal pickup, the vending machine sends a receipt reminder and counts the abnormal pickup time to obtain the abnormal time. The vending machine determines that the vending machine is normal or the fault type of the vending machine is abnormal delivery port according to the abnormal time.

[0082] In this way, if the first infrared ray is unblocked and the second infrared ray is unblocked, it means that the goods are picked up normally and the goods have been taken out. At this time, the door is closed to complete the normal picking process. If the first infrared ray is unblocked and the second infrared ray is blocked, it means that the goods have been taken away but not taken out of the delivery port. According to the length of time the door is blocked, it is determined that the vending machine is normal or the fault type of the vending machine is abnormal door blockage. In the case of abnormal door blockage, keeping the door open is conducive to timely reminding users to pick up goods and reducing the risk of personal injury during the user's picking process. If the first infrared ray is blocked, and the second infrared ray is blocked, it means that the goods have not been taken away and are still being picked up or the picking up is abnormal. The vending machine is determined to be normal or abnormal according to the picking up time. If the picking up is abnormal, the user is reminded to pick up the goods, and the vending machine is determined to be normal or the fault type of the vending machine is abnormal door blocking according to the door blocking time. At this time, if the door blocking is abnormal, the door remains open, which is conducive to timely reminding the user to pick up the goods and reducing the risk of personal injury during the user's picking up process. If the first infrared ray is blocked, and the second infrared ray is unblocked, it means that the goods have not been taken away or the picking up is abnormal. If the picking up is abnormal, the user is reminded to pick up the goods, and the vending machine is determined to be normal or the fault type of the vending machine is abnormal delivery port according to the abnormal duration, which is conducive to better determining whether the delivery is faulty or whether the user's picking up is overtime, and reminding the user to complete the picking up process in time. In this way, it is conducive to making up for the disadvantage that low-cost infrared equipment does not have fault self-detection and improving the safety of vending machines.

[0083] Specifically, the vending machine determines that the vending machine is normal or the fault type of the vending machine is abnormal door blockage according to the door blockage duration, including: when the door blockage duration is greater than the first duration, the vending machine determines that the fault type of the vending machine is abnormal door blockage. Or, when the door blockage duration is less than or equal to the first duration, the vending machine determines that the vending machine is normal. More specifically, the value range of the first duration is [8min, 10min].

[0084] In this way, if the door is blocked for a long time, it is judged as abnormal, and if the door is blocked for a short time, the vending machine is judged to be normal. This is conducive to more accurately controlling the door to remain open or closed, reducing the risk of personal injury during the user's pickup process. It is conducive to making up for the disadvantage of low-cost infrared equipment that does not have fault self-detection and improving the safety of vending machines.

[0085] Specifically, the vending machine determines that the vending machine is normal or abnormal according to the pickup time, including: when the pickup time is greater than the second time, the vending machine determines that the pickup is abnormal. Or, when the pickup time is less than or equal to the second time, the vending machine determines that the vending machine is normal. More specifically, the value range of the second time is [1min, 2min].

[0086] In this way, if the pickup time is long, it is judged as abnormal, and if the pickup time is short, it is judged as normal. This is conducive to more accurately controlling the door to remain open or closed, reducing the risk of personal injury during the user's pickup process. It is conducive to making up for the disadvantage of low-cost infrared equipment that does not have fault self-detection and improving the safety of vending machines.

[0087] Specifically, the vending machine determines that the vending machine is normal or the fault type of the vending machine is a delivery port abnormality according to the abnormality duration, including: when the abnormality duration is greater than the third duration, the vending machine determines that the fault type of the vending machine is a delivery port abnormality; or when the abnormality duration is less than or equal to the third duration, the vending machine determines that the vending machine is normal. More specifically, the value range of the third duration is [8min, 10min].

[0088] In this way, if the duration of the abnormal pickup is long, the delivery port is judged to be abnormal, and if the duration of the abnormal pickup is short, it is judged to be normal. This is conducive to more accurately controlling the door to remain open or closed, reducing the risk of personal injury during the user's pickup process. It is conducive to making up for the disadvantage of low-cost infrared equipment that does not have fault self-detection and improving the safety of vending machines.

[0089] Combination Figure 3 As shown, the embodiment of the present disclosure provides another method for fault detection, including:

[0090] S301, the vending machine determines a transition condition of a shielding state of the first infrared ray and / or the second infrared ray.

[0091] S302: The vending machine determines that the vending machine operates normally according to the change of the shielding state of the first infrared ray and / or the second infrared ray.

[0092] S303: The automatic vending machine determines the fault type of the automatic vending machine according to the transition of the shielding state of the first infrared ray and / or the second infrared ray.

[0093] By adopting the method for fault detection provided by the embodiment of the present disclosure, the first infrared device in the cargo storage bin can emit and receive the first infrared ray, and can detect whether there are goods entering the cargo storage bin from the delivery port and the removal of the goods according to the blocking condition of the first infrared ray, and the second infrared device set at the pickup port can emit and receive the second infrared ray, and can detect whether the user has a pickup action and the removal of the goods according to the blocking condition of the second infrared ray. The door body can be opened or closed by the first infrared ray and the second infrared ray, and there is no need to manually open and close the door to pick up the goods, which is conducive to reducing the difficulty of picking up the goods, improving the user experience, and complying with the concept of contactless service. According to the transition of the blocking state of the first infrared ray and / or the second infrared ray, the fault type of the vending machine is determined, and according to the transition of the blocking state of the first infrared ray and / or the second infrared ray, it is determined that the vending machine is working normally, which is conducive to making up for the disadvantage that low-cost infrared devices do not have fault self-detection and improving the safety of the vending machine.

[0094] Combination Figure 4 As shown, the embodiment of the present disclosure provides another method for fault detection, including:

[0095] S401, the vending machine determines a transition condition of a shielding state of the first infrared ray and / or the second infrared ray.

[0096] S402: The automatic vending machine determines the fault type of the automatic vending machine according to the transition of the shielding state of the first infrared ray and / or the second infrared ray.

[0097] S403, the vending machine reports the fault type.

[0098] S404: The vending machine executes a normal pickup process according to the fault type, or keeps the door open.

[0099] According to the method for fault detection provided by the embodiment of the present disclosure, the first infrared device in the cargo storage bin can emit and receive the first infrared ray, and can detect whether there are goods entering the cargo storage bin from the delivery port and the removal of the goods according to the blocking condition of the first infrared ray. The second infrared device set at the pickup port can emit and receive the second infrared ray, and can detect whether the user has a pickup action and the removal of the goods according to the blocking condition of the second infrared ray. The door body can be opened or closed by the first infrared ray and the second infrared ray, and there is no need to manually open and close the door to pick up the goods, which is conducive to reducing the difficulty of picking up the goods, improving the user experience, and conforming to the concept of contactless service. According to the change of the blocking state of the first infrared ray and / or the second infrared ray, the fault type of the vending machine is determined. After the vending machine determines the fault type, it reports the fault type, which is conducive to timely reminder of maintenance. Thereafter, according to the fault type, the normal pickup process is supported or the door body is kept open, which is conducive to reducing the risk of personal injury during the user's pickup process. It is conducive to making up for the disadvantage that low-cost infrared devices do not have fault self-detection and improving the safety of vending machines.

[0100] Combination Figure 5 As shown, the embodiment of the present disclosure provides another method for fault detection, including:

[0101] S501, the vending machine determines whether the first infrared ray and / or the second infrared ray is blocked.

[0102] S502: The vending machine determines the fault type of the vending machine according to the shielding status of the first infrared ray and / or the second infrared ray, and controls the opening and closing status of the door.

[0103] S503: The vending machine determines a transition condition of the shielding state of the first infrared ray and / or the second infrared ray.

[0104] S504: The automatic vending machine determines the fault type of the automatic vending machine according to the transition of the shielding state of the first infrared ray and / or the second infrared ray.

[0105] By adopting the method for fault detection provided by the embodiment of the present disclosure, the first infrared device in the cargo storage bin can emit and receive the first infrared ray, and can detect whether there is any cargo entering the cargo storage bin from the delivery port and the removal of the cargo according to the blocking condition of the first infrared ray, and the second infrared device arranged at the pickup port can emit and receive the second infrared ray, and can detect whether the user has a pickup action and the removal of the cargo according to the blocking condition of the second infrared ray. The door body can be opened or closed by the first infrared ray and the second infrared ray, and there is no need to manually open and close the door to pick up the cargo, which is conducive to reducing the difficulty of picking up the cargo, improving the user experience, and complying with the concept of contactless service. According to the blocking state of the first infrared ray and / or the second infrared ray, the fault type of the vending machine is determined, and the opening and closing state of the door body is controlled, and the fault type of the vending machine is determined according to the change of the blocking state of the first infrared ray and / or the second infrared ray, which is conducive to making up for the disadvantage that the low-cost infrared device does not have fault self-detection and improving the safety of the vending machine.

[0106] Combination Figure 6 As shown, the embodiment of the present disclosure provides a device 200 for fault detection, including a first determination module 601 and a second determination module 602. The first determination module 601 is configured to determine the transition of the shielded state of the first infrared ray and / or the second infrared ray. The second determination module 602 is configured to determine the fault type of the vending machine according to the transition of the shielded state of the first infrared ray and / or the second infrared ray.

[0107] By using the device 200 for fault detection provided by the embodiment of the present disclosure, the first infrared device in the cargo storage bin can emit and receive the first infrared ray, and can detect whether there is any cargo entering the cargo storage bin from the delivery port and the removal of the cargo according to the blocking condition of the first infrared ray. The second infrared device arranged at the pickup port can emit and receive the second infrared ray, and can detect whether the user has taken the cargo and the removal of the cargo according to the blocking condition of the second infrared ray. The door body can be opened or closed by the first infrared ray and the second infrared ray, and there is no need to manually open and close the door to pick up the cargo, which is conducive to reducing the difficulty of picking up the cargo, improving the user experience, and complying with the concept of contactless service. And according to the change of the blocking state of the first infrared ray and / or the second infrared ray, the fault type of the vending machine is determined, which is conducive to making up for the disadvantage that the low-cost infrared device does not have fault self-detection and improving the safety of the vending machine.

[0108] Combination Figure 7As shown, an embodiment of the present disclosure provides a device 300 for fault detection, including a processor 700 and a memory 701. Optionally, the device 70 may also include a communication interface 702 and a bus 703. The processor 700, the communication interface 702, and the memory 701 may communicate with each other through the bus 703. The communication interface 702 may be used for information transmission. The processor 700 may call the logic instructions in the memory 701 to execute the method for fault detection of the above embodiment.

[0109] In addition, the logic instructions in the memory 701 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.

[0110] The memory 701 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 700 executes the function application and data processing by running the program instructions / modules stored in the memory 701, that is, implements the method for fault detection in the above embodiment.

[0111] The memory 701 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 701 may include a high-speed random access memory and may also include a non-volatile memory.

[0112] Combination Figure 8 As shown, an embodiment of the present disclosure provides a vending machine 100, including: a vending machine body, and the above-mentioned device 200 (300) for fault detection. The device 200 (300) for fault detection is installed on the vending machine body. The installation relationship described here is not limited to placement inside the product body, but also includes installation connections with other components of the vending machine 100, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 200 (300) for fault detection can be adapted to a feasible vending machine body, thereby realizing other feasible embodiments.

[0113] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for fault detection.

[0114] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.

[0115] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0116] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0117] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0118] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the 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. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A method for fault detection, characterized in that: Applied to an automatic vending machine, the automatic vending machine comprises: a door body adjacent to a pickup port of the automatic vending machine; a first infrared device for transmitting and receiving a first infrared ray in a cargo storage bin of the automatic vending machine; a second infrared device for transmitting and receiving a second infrared ray at the pickup port of the automatic vending machine; wherein the door body can be opened or closed by the first infrared ray and the second infrared ray; the method comprises: Determine a transition condition of a shielding state of the first infrared ray and / or the second infrared ray; The fault type of the automatic vending machine is determined according to the transition of the shielding state of the first infrared ray and / or the second infrared ray.

2. The method according to claim 1, characterized in that The transition of the shielding state of the first infrared ray and / or the second infrared ray includes: The change of the shielding state of the first infrared ray during the shipment process; or The transition of the blocking states of the first infrared ray and the second infrared ray during the picking process.

3. The method according to claim 1 or 2, characterized in that: Determining the fault type of the vending machine according to the transition of the shielding state of the first infrared ray and / or the second infrared ray includes: In the case of the shipment link, determining the fault type of the vending machine as shipment failure or first infrared device failure according to the change of the shielding state of the first infrared ray in the shipment link; or, In the case of picking up goods, according to the change of the shielding state of the first infrared ray and the second infrared ray in the picking up goods link, it is determined that the fault type of the vending machine is a delivery port fault, a second infrared device fault or an abnormality of the picking up goods port.

4. The method according to claim 1 or 2, characterized in that: After determining the transition of the shielding state of the first infrared ray and / or the second infrared ray, the method further includes: According to the transition of the shielding state of the first infrared ray and / or the second infrared ray, it is determined that the automatic vending machine operates normally.

5. The method according to claim 1 or 2, characterized in that: After determining the type of fault of the vending machine, it also includes: Report fault type; Follow normal pickup procedures depending on the fault type, or keep the door open.

6. The method according to claim 5, characterized in that Follow normal pickup procedures based on the fault type, or keep the door open, including: If the fault type is a port fault, perform the normal pickup process; or, When the fault type is a failure of the second infrared device or an abnormality in the pickup port, keep the door open.

7. A device for fault detection, characterized in that: Applied to an automatic vending machine, the automatic vending machine comprises: a door body, adjacent to a pickup port of the automatic vending machine; a first infrared device, used to transmit and receive a first infrared ray in a cargo storage compartment of the automatic vending machine; a second infrared device, used to transmit and receive a second infrared ray at the pickup port of the automatic vending machine; wherein the door body can be opened or closed by the first infrared ray and the second infrared ray; the device comprises: A first determining module is configured to determine a transition condition of a shielding state of the first infrared ray and / or the second infrared ray; The second determination module is configured to determine the fault type of the vending machine according to the transition of the shielding state of the first infrared ray and / or the second infrared ray.

8. A device for fault detection, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for fault detection according to any one of claims 1 to 6 when running the program instructions.

9. A vending machine, characterized in that: include: The vending machine body comprises: a door body adjacent to a pickup port of the vending machine; a first infrared device for transmitting and receiving a first infrared ray in a cargo storage compartment of the vending machine; and a second infrared device for transmitting and receiving a second infrared ray at the pickup port of the vending machine; wherein the door body can be opened or closed by the first infrared ray and the second infrared ray; The device for fault detection as claimed in claim 7 or 8 is installed on the main body of the vending machine.

10. A computer-readable storage medium storing program instructions, characterized in that: When the program instructions are executed, the computer is configured to execute the method for fault detection according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Intelligent electric take-out port of automatic vending machine

    CN106023438A

  • Delivery device and vending machine

    CN109979093A

  • Shipment detecting system and vending machine

    CN208689662U

  • Goods falling detection device

    CN210515459U