Control method for multiple inspection vending machine
By performing image analysis and weight change detection on the goods-to-be-push-area of vending machines, a payment list is generated, and the gate status is adjusted. This solves the problems of high cost and susceptibility to environmental influences of RFID, and achieves accurate goods delivery and cost reduction.
Patent Information
- Application Number
- CN202210784192.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2042-06-28
AI Technical Summary
In existing vending machines, RFID-tagged goods are costly and susceptible to environmental influences, resulting in high operating costs and low sales accuracy.
By analyzing images of the area where goods are to be delivered, the type of goods is determined, and the weight change values of the storage cabinet and the shipping port area are obtained. A payment list is generated, the gate status is adjusted, and a replenishment notification is sent, thus achieving accurate goods delivery without RFID.
It reduces operating costs, improves sales accuracy, and allows for accurate delivery of goods based on customer needs without the need for RFID.
Smart Images

Figure CN115171272B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vending control, in particular to a control method of a multi-check vending device. BACKGROUND
[0002] At present, the vending machine usually sets RFID on goods, when the goods are selected to be sold, the type and price of the goods can be quickly and accurately obtained through the inductive identification of the RFID on the goods, so as to generate a goods sale list in real time, which is convenient for customers to make payment and settlement. However, the cost of marking each goods by RFID is high, and RFID is easily affected by the external environment and fails, which undoubtedly increases the operation cost of the vending machine and reduces the vending accuracy. SUMMARY
[0003] In view of the defects in the prior art, the present application provides a control method of a multi-check vending device, which analyzes and processes the image of a goods to-be-pushed area, determines the type of the goods currently existing in the goods to-be-pushed area, and obtains a first weight change value of a goods storage cabinet of the vending device corresponding to before and after the goods are conveyed from the goods to-be-pushed area to a goods outlet area, so as to generate a goods payment list; adjusts the gate opening and closing state of the goods outlet area according to the payment state of the goods payment list and a second weight change value corresponding to the goods outlet area within a preset time range; and sends a restocking notification message to a management platform terminal according to the out-of-stock state information of the vending device. The above control method determines the goods output and return state of the vending device by image shooting of the goods to-be-pushed area and detecting the weight change of the goods storage cabinet and the goods outlet area, so that the device can accurately distribute goods according to the actual needs of customers without the help of RFID, thereby reducing the operation cost of the device and improving the vending accuracy.
[0004] The present application provides a control method of a multi-check vending device, which comprises the following steps:
[0005] Step S1, shooting the goods to-be-pushed area of the vending device to obtain a goods to-be-pushed area image; analyzing and processing the goods to-be-pushed area image to determine the type of the goods currently existing in the goods to-be-pushed area;
[0006] Step S2, when the goods are conveyed from the goods to-be-pushed area to the goods outlet area, obtaining a first weight change value of the goods storage cabinet of the vending device corresponding to before and after the goods are conveyed; generating a goods payment list according to the type of the goods and the first weight change value;
[0007] Step S3, according to the payment completion result of the payment list of the goods, adjust the gate switch state of the delivery port area; and obtain the second weight change value corresponding to the delivery port area in the preset time range, according to the second weight change value, adjust the gate switch state of the delivery port area again;
[0008] Step S4, when it is determined that the goods in the delivery port area have been taken away, compare the historical sales record and the historical return record of the automatic vending device with the inventory record of the automatic vending device to determine the out-of-stock state information in the automatic vending device; and according to the out-of-stock state information, send a restocking notification message to the management platform terminal.
[0009] Further, in the step S1, the goods to be pushed area of the automatic vending device is photographed to obtain the goods to be pushed area image, which specifically includes:
[0010] When the automatic vending device receives a goods purchase instruction from a user, it selects matching goods from the goods storage cabinet and places the selected goods in the goods to be pushed area;
[0011] The goods to be pushed area is scanned and photographed to obtain a panoramic image of the goods to be pushed area.
[0012] Further, in the step S1, the goods to be pushed area image is analyzed and processed to determine the type of goods currently present in the goods to be pushed area, which specifically includes:
[0013] The image frame corresponding to the selected goods is extracted from the panoramic image of the goods to be pushed area;
[0014] The image frame is identified to obtain the outer packaging features of the selected goods;
[0015] According to the outer packaging features, the type of the selected goods and the completeness of the outer packaging of the selected goods are determined.
[0016] Further, in the step S2, when the goods are transferred from the goods to be pushed area to the delivery port area, the first weight change value corresponding to the goods storage cabinet of the automatic vending device before and after the goods are transferred is obtained, which specifically includes:
[0017] When the outer packaging of the selected goods is complete, the selected goods are transferred from the goods to be pushed area to the delivery port area;
[0018] The first weight reduction value corresponding to the goods storage cabinet before and after the selected goods are transferred is obtained.
[0019] Further, in the step S2, generating the payment list of the goods according to the type of the goods and the first weight change value specifically comprises:
[0020] According to the first weight reduction value, the number of the selected goods is determined; according to the type of the selected goods, the unit price of the selected goods is determined;
[0021] According to the number and unit price of the selected goods, the payment list of the goods is generated; wherein the payment list of the goods comprises a payment code of the goods.
[0022] Further, in the step S2, when the goods are conveyed from the goods to be pushed area to the delivery port area, further comprising
[0023] An auxiliary device is installed above the exit position of the delivery port area, the auxiliary device comprises two conveyors, which are respectively installed at the falling slide disc of the exit of the delivery port area, so as to assist the conveying of the goods, first, according to the first weight change value and the second weight change value, it is judged whether the currently conveyed goods are stuck, if the currently conveyed goods are stuck, according to the position of the goods in the to be pushed area before conveying and the time when the goods are stuck, the motion direction of the two conveyors of the auxiliary device and the motion intermittent frequency of the two conveyors are controlled, the process is as follows:
[0024] Step S201, according to the first weight change value and the second weight change value, it is judged whether the currently conveyed goods are stuck by using the following formula (1),
[0025]
[0026] In the above formula (1), R(t) represents the judgment value of whether the currently conveyed goods are stuck; t represents the current time; t0 represents the time when the first weight change value greater than 0 is detected closest to the current time; G1(t0) represents the first weight change value at t0; T represents the preset time length, that is, the falling conveying time reserved for the goods; V[G2(t0→t)=0] represents that all the detected second weight change values in the t0→t time period are all 0, at this time, R(t) is set to 1; ∧[G2(t0→t)>0] represents that there is a value greater than 0 in all the detected second weight change values in the t0→t time period, at this time, R(t) is set to 0;
[0027] If R(t) = 0, it means that the currently conveyed goods are not stuck, so the auxiliary device is not started;
[0028] If R(t) = 1, it means that the currently conveyed goods are stuck, so the auxiliary device is started;
[0029] Step S202, if the current time the transmission of the goods are stuck, start the auxiliary device, using the following formula (2), according to the goods in the transmission before the position in the area to be pushed, control the motion direction of the two belts on the auxiliary device
[0030]
[0031] In the above formula (2), F in indicates the motion direction of the inner belt in the auxiliary device; F out indicates the motion direction of the outer belt in the auxiliary device; a indicates the position of the goods in the area to be pushed before transmission in the right-to-left a-th goods storage cabinet with the gate direction as the forward direction; n indicates the total number of goods storage cabinets above the area to be pushed;
[0032] If F in , F out is positive, the corresponding belt is controlled to rotate to the right with the gate direction as the forward direction, if F in , F out is negative, the corresponding belt is controlled to rotate to the left with the gate direction as the forward direction, thereby controlling the motion direction of the two belts to drive the goods to fall and transmit to the delivery area;
[0033] Step S203, if the current time the transmission of the goods are stuck, using the following formula (3), according to the time the goods are stuck, control the motion interval frequency of the two belts of the auxiliary device,
[0034]
[0035] In the above formula (3), f(t) indicates the motion interval frequency value of the next intermittent motion starting from the current time calculated by using the above formula (3) after the last intermittent motion ends or the auxiliary device starts; f m indicates the minimum motion interval frequency value of the two belts on the auxiliary device; f M indicates the maximum motion interval frequency value of the two belts on the auxiliary device;
[0036] Through the above process, the two belts move intermittently along their respective motion directions, i.e. moving for a time and stopping for a time, so that the two belts generate vibration to the goods during the motion process by intermittent motion, driving the goods to fall and transmit to the delivery area.
[0037] Further, in the step S3, adjusting the gate opening and closing state of the delivery port area according to the payment completion result of the goods payment list specifically comprises:
[0038] When the payment of the goods payment list has been completed within a preset time range, instructing the gate of the delivery port area to open;
[0039] When the payment of the goods payment list has not been completed within a preset time range, instructing the gate of the delivery port area to maintain a closed state, and returning the selected goods from the delivery port area to the goods storage cabinet, and canceling the validity of the goods payment list.
[0040] Further, in the step S3, a second weight change value corresponding to the delivery port area within a preset time range is obtained, and the gate opening and closing state of the delivery port area is adjusted again according to the second weight change value specifically comprises:
[0041] A second weight decrease value corresponding to the delivery port area within a preset time range is obtained, and if the second weight decrease value is zero, it is indicated that the gate of the delivery port area returns to a closed state, and the selected goods are returned from the delivery port area to the goods storage cabinet, and a refund operation is performed according to the goods payment list.
[0042] Further, in the step S4, sending a restocking notification message to the management platform terminal according to the out-of-stock state information specifically comprises:
[0043] According to the out-of-stock state information, a restocking notification message including the location information of the vending machine and the type and quantity information of the goods that need to be restocked is sent to the management platform terminal.
[0044] Compared with the prior art, the control method of the multiple-check vending machine analyzes and processes the image of the goods to be pushed area, determines the type of the goods currently existing in the goods to be pushed area, and obtains the first weight change value of the goods storage cabinet of the vending machine before and after the goods are transferred when the goods are transferred from the goods to be pushed area to the delivery port area, thereby generating a goods payment list; according to the payment state of the goods payment list and the second weight change value corresponding to the delivery port area within a preset time range, the gate opening and closing state of the delivery port area is adjusted; and according to the out-of-stock state information of the vending machine, a restocking notification message is sent to the management platform terminal; the above control method determines the goods output and return state of the vending machine by image shooting of the goods to be pushed area and detection of the weight change of the goods in the goods storage cabinet and the delivery port area, so that the device can accurately distribute goods according to the actual needs of customers without the help of RFID, reducing the operation cost of the device and improving the accuracy of sales.
[0045] Other features and advantages of the present application will be set forth in the description that follows, and in part will be apparent from the description, or can be learned by practice of the application. The purposes and other advantages of the present application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
[0046] The technical solutions of the present application will be further described in detail below with the help of the accompanying drawings and examples. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.
[0048] Figure 1 The flowchart of the control method of the multiple-check vending device provided by the present application.
[0049] Figure 2 The structural diagram of the multiple-check vending device provided by the present application.
[0050] Reference signs: 1, vending device; 2, to-be-pushed area; 3, conveying belt of auxiliary device; 4, delivery port area; 5, gate. DETAILED DESCRIPTION
[0051] The technical solutions in the embodiments of the present application will be described clearly and completely below with the help of the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.
[0052] Reference Figure 1 The flowchart of the control method of the multiple-check vending device provided by the present application. The control method of the multiple-check vending device comprises the following steps:
[0053] Step S1, the to-be-pushed area of the goods of the vending device is photographed to obtain the to-be-pushed area image of the goods; the to-be-pushed area image of the goods is analyzed and processed to determine the type of the goods currently existing in the to-be-pushed area of the goods;
[0054] Step S2, when the goods are conveyed from the goods to be pushed area to the delivery port area, the first weight change value of the goods storage cabinet of the vending machine before and after the goods are conveyed is obtained; according to the type of the goods and the first weight change value, a goods payment list is generated;
[0055] Step S3, according to the payment completion result of the goods payment list, the gate switch state of the delivery port area is adjusted; and the second weight change value of the delivery port area in a preset time range is obtained, and the gate switch state of the delivery port area is adjusted again according to the second weight change value;
[0056] Step S4, when it is determined that the goods in the delivery port area have been taken away, the historical vending records and historical return records of the vending machine are compared with the inventory records of the vending machine to determine the out-of-stock state information in the vending machine; and according to the out-of-stock state information, a restocking notification message is sent to the management platform terminal.
[0057] The beneficial effects of the above technical solution are: the control method of the multi-check vending machine analyzes and processes the image of the goods to be pushed area, determines the type of the goods currently existing in the goods to be pushed area, and when the goods are conveyed from the goods to be pushed area to the delivery port area, the first weight change value of the goods storage cabinet of the vending machine before and after the goods are conveyed is obtained, so as to generate a goods payment list; according to the payment state of the goods payment list and the second weight change value of the delivery port area in a preset time range, the gate switch state of the delivery port area is adjusted; and according to the out-of-stock state information of the vending machine, a restocking notification message is sent to the management platform terminal; the above control method determines the goods output and return state of the vending machine by image shooting of the goods to be pushed area and detection of the weight change of the goods in the goods storage cabinet and the delivery port area, so that the device can accurately distribute goods according to the actual needs of customers without the help of RFID, reducing the operation cost of the device and improving the accuracy of vending.
[0058] Preferably, in the step S1, the goods to be pushed area of the vending machine is shot to obtain the image of the goods to be pushed area, which specifically includes:
[0059] When the vending machine receives a goods purchase instruction from a user, the matching goods are selected from the goods storage cabinet, and the selected goods are placed in the goods to be pushed area;
[0060] The goods to be pushed area is scanned and shot to obtain a panoramic image of the goods to be pushed area.
[0061] The beneficial effects of the above technical solutions are: when the user operates the man-machine interface of the automatic vending device, a corresponding goods purchase instruction is generated; at this time, the automatic retrieval device selects a matching goods from the goods storage cabinet and places the selected goods in the goods pushing area, wherein the goods pushing area can be, but is not limited to, a transfer storage space provided in the goods storage cabinet, which is used to connect the goods storage cabinet and the goods outlet area. When the selected goods are placed in the goods pushing area, the camera installed in the goods pushing area scans and photographs the internal space of the goods pushing area to obtain a panoramic image of the goods pushing area, which is convenient for further image recognition.
[0062] Preferably, in the step S1, analyzing and processing the image of the goods pushing area to determine the type of the goods currently existing in the goods pushing area specifically includes:
[0063] extracting an image frame corresponding to the selected goods from the panoramic image of the goods pushing area;
[0064] identifying and processing the image frame to obtain the outer packaging features of the selected goods;
[0065] determining the type of the selected goods and whether the outer packaging of the selected goods is complete or not according to the outer packaging features.
[0066] The beneficial effects of the above technical solutions are: the image frame corresponding to the selected goods is extracted from the panoramic image of the goods pushing area, and the color, character symbol, geometric shape and packaging surface structure of the image frame are identified and processed to obtain the color features, character symbol features, geometric shape features and packaging surface structure features on the outer packaging of the selected goods, so that the type of the selected goods and the completeness of the outer packaging can be accurately determined.
[0067] Preferably, in the step S2, when the goods are conveyed from the goods pushing area to the goods outlet area, the first weight change value of the goods storage cabinet of the automatic vending device before and after the goods are conveyed specifically includes:
[0068] when the outer packaging of the selected goods is complete, the selected goods are conveyed from the goods pushing area to the goods outlet area;
[0069] obtaining the first weight reduction value of the goods storage cabinet before and after the selected goods are conveyed.
[0070] The beneficial effects of the above technical solutions are: when the selected goods have complete and no defects in the outer packaging, the selected goods are directly conveyed from the goods to be pushed area to the delivery port area, and the first weight reduction value of the goods storage cabinet before and after the selected goods are conveyed is obtained, and the size of the first weight reduction value can accurately determine whether the selected goods have been pushed out. In addition, when the selected goods have incomplete and defects in the outer packaging, another goods is selected from the goods storage cabinet and placed in the goods to be pushed area, thereby ensuring the reliability of the device vending.
[0071] Preferably, in the step S2, generating the goods payment list according to the type of the goods and the first weight change value specifically includes:
[0072] According to the first weight reduction value, the number of the selected goods is determined; and according to the type of the selected goods, the unit price of the selected goods is determined.
[0073] According to the number and unit price of the selected goods, the goods payment list is generated; wherein the goods payment list includes a goods payment two-dimensional code.
[0074] The beneficial effects of the above technical solutions are: since the user can only select to purchase one or more goods of the same type at a time during the operation of the automatic vending device, and cannot purchase two different types of goods at the same time, the number of the selected goods can be determined according to the first weight reduction value and the weight of a single piece of goods; and according to the pre-set selling price of the device for each type of goods, the unit price of the selected goods can be determined according to the type of the selected goods. According to the number and unit price of the selected goods, the goods payment list is generated, and at this time, the user can realize contactless payment according to the payment method provided on the goods payment list.
[0075] Preferably, in the step S2, when the goods are conveyed from the goods to be pushed area to the delivery port area, it further includes
[0076] An auxiliary device is installed above the exit position of the delivery port area, and the auxiliary device includes two conveyors which are respectively installed at the falling pulley of the upper exit of the delivery port area, thereby assisting the conveying of the goods. First, according to the first weight change value and the second weight change value, it is judged whether the currently conveyed goods are stuck, and if the currently conveyed goods are stuck, according to the position of the goods in the to-be-pushed area before conveying and the time when the goods are stuck, the motion direction of the two conveyors of the auxiliary device and the motion intermittent frequency of the two conveyors are controlled, and the process is as follows:
[0077] In step S201, according to the first weight change value and the second weight change value, it is judged whether the currently conveyed goods are stuck by using the following formula (1),
[0078]
[0079] In the above formula (1), R(t) represents the determination value of whether the goods being conveyed at the current time is stuck; t represents the current time; t0 represents the time when the first weight change value is detected to be greater than 0 for the last time from the current time; G1(t0) represents the first weight change value at t0; T represents a preset time length, i.e., the falling conveying time reserved for the goods; V[G2(t0→t)=0] represents that all the detected second weight change values in the t0→t time period are all 0, at which time R(t)=1; ∧[G2(t0→t)>0] represents that there is a value greater than 0 in all the detected second weight change values in the t0→t time period, at which time R(t)=0;
[0080] If R(t)=0, it indicates that the goods being conveyed at the current time is not stuck, and the auxiliary device is not started;
[0081] If R(t)=1, it indicates that the goods being conveyed at the current time is stuck, and the auxiliary device is started;
[0082] In step S202, if the goods being conveyed at the current time is stuck, the auxiliary device is started, and the moving direction of the two conveyors on the auxiliary device is controlled according to the position of the goods in the waiting pushing area before conveying by using the following formula (2)
[0083]
[0084] In the above formula (2), F in represents the moving direction of the inner conveyor in the auxiliary device; F out represents the moving direction of the outer conveyor in the auxiliary device; a represents the position of the goods in the waiting pushing area before conveying, which is the a-th goods storage cabinet counted from right to left with the gate direction as the forward direction; and n represents the total number of the goods storage cabinets above the waiting pushing area.
[0085] If F in , F out is a positive value, the corresponding conveyor is controlled to rotate to the right with the gate direction as the forward direction; if F in , F out is a negative value, the corresponding conveyor is controlled to rotate to the left with the gate direction as the forward direction, so as to drive the goods to fall and convey to the goods outlet area by controlling the moving direction of the two conveyors.
[0086] In step S203, if the goods being conveyed at the current time is stuck, the moving intermittent frequency of the two conveyors of the auxiliary device is controlled according to the time when the goods is stuck by using the following formula (3)
[0087]
[0088] In the above formula (3), f(t) represents the motion interval frequency value calculated using the above formula (3) from the current moment when the previous intermittent motion ends or when the auxiliary device is started; f m This represents the minimum intermittent frequency value of the two conveyor belts on the auxiliary device; f M This indicates the maximum intermittent frequency value of the two conveyor belts on the auxiliary device;
[0089] Through the above process, the two conveyor belts move intermittently along their respective directions of motion, i.e., they move... Stop after time The time required causes the two conveyor belts to vibrate the cargo through intermittent movement during their operation, driving the cargo to fall and be transported to the outlet area.
[0090] The beneficial effects of the above technical solution are as follows: Using the above formula (1), the first weight change value and the second weight change value are used to determine whether the conveyed goods are stuck. When stuck, the auxiliary device is activated, and when the goods are not stuck, the auxiliary device is not activated, so as to achieve the effect of intelligent energy saving. Then, using the above formula (2), the movement direction of the two conveyor belts on the auxiliary device is controlled according to the position of the goods in the push area before the conveying. Thus, by controlling the movement direction of the two conveyor belts, the goods are helped to fall and be conveyed to the outlet area. At the same time, the heavier end of the goods can be rotated to the middle of the outlet area to prevent the heavier end of the goods from hitting the side plates of the vending machine, thereby preventing the goods from getting stuck more seriously. Finally, using the above formula (3), the movement interval frequency of the two conveyor belts on the auxiliary device is controlled according to the time when the goods are stuck. Thus, the two conveyor belts generate a certain vibration on the goods through intermittent movement during the movement, thereby more effectively helping the goods fall and be conveyed to the outlet area.
[0091] Preferably, in step S3, adjusting the gate opening / closing status of the shipping area based on the payment status of the goods payment list specifically includes:
[0092] If payment for the goods has been completed within a preset timeframe, the gate of the shipping area will be opened.
[0093] If the payment for the goods is not completed within a preset time frame, the gate of the shipping area is instructed to remain closed, the selected goods are returned from the shipping area to the goods storage cabinet, and the validity of the payment for the goods is cancelled.
[0094] The beneficial effects of the above technical solutions are that when the user completes the payment operation on the goods payment list within the preset time range, the gate of the delivery outlet area is automatically opened, facilitating the user to take out the goods from the delivery outlet area. When the user does not complete the payment operation on the goods payment list within the preset time range, the delivery outlet gate is maintained in a closed state, the selected goods are returned from the delivery outlet area to the goods storage cabinet, and the validity of the goods payment list is cancelled, that is, the current user's transaction operation on the vending machine is terminated.
[0095] Preferably, in the step S3, a second weight change value corresponding to the delivery outlet area within a preset time range is obtained, and the second weight change value is used to adjust the gate opening and closing state of the delivery outlet area again. Specifically, the step S3 comprises the following steps:
[0096] The second weight reduction value corresponding to the delivery outlet area within a preset time range is obtained. If the second weight reduction value is zero, it indicates that the gate of the delivery outlet area returns to the closed state, and the selected goods are returned from the delivery outlet area to the goods storage cabinet. According to the goods payment list, a refund operation is performed.
[0097] The beneficial effects of the above technical solutions are that when the second weight reduction value corresponding to the delivery outlet area within a preset time range is zero, it indicates that the user completes the payment operation on the goods payment list and does not remove the goods from the delivery outlet area. At this time, the gate of the delivery outlet area is instructed to return to the closed state and the selected goods are returned from the delivery outlet area to the goods storage cabinet, which can avoid the goods being taken away by other personnel. According to the goods payment list, a refund operation is performed, thereby terminating the current transaction of the user on the vending machine.
[0098] Preferably, in the step S4, the out-of-stock state information is used to send a restocking notification message to the management platform terminal, and the restocking notification message comprises the following information:
[0099] The out-of-stock state information is used to send a restocking notification message to the management platform terminal, and the restocking notification message comprises the following information: the location information of the vending machine, and the type and quantity of goods that need to be restocked.
[0100] The beneficial effects of the above technical solutions are that the out-of-stock state information is used to send a restocking notification message to the management platform terminal, and the restocking notification message comprises the location information of the vending machine and the type and quantity of goods that need to be restocked, so that the management platform terminal can timely notify the staff to restock.
[0101] From the content of the above embodiment, the control method of the multiple inspection vending machine analyzes and processes the image of the goods to be pushed area, determines the type of the goods currently existing in the goods to be pushed area, and when the goods are conveyed from the goods to be pushed area to the goods outlet area, obtains the first weight change value of the goods storage cabinet of the vending machine before and after the goods are conveyed, thereby generating a goods payment list; according to the payment state of the goods payment list and the second weight change value corresponding to the goods outlet area within a preset time range, the gate switch state of the goods outlet area is adjusted; and according to the out-of-stock state information of the vending machine, a restocking notification message is sent to the management platform terminal. The above control method can determine the goods output and return state of the vending machine by image shooting of the goods to be pushed area and detection of the weight change of the goods storage cabinet and the goods outlet area, so that the device can accurately distribute goods according to the actual needs of customers without the help of RFID, reducing the operation cost of the device and improving the accuracy of the vending.
[0102] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application belong to the scope of the claims of the present application and their equivalents, the present application also intends to include these modifications and variations.
Claims
1. A control method of a multiple inspection vending machine, characterized by, It comprises the following steps: Step S1, the goods to be pushed region of the vending machine is photographed, and the image of the goods to be pushed region is obtained; the image of the goods to be pushed region is analyzed and processed to determine the type of the goods currently existing in the goods to be pushed region; Step S2, when the goods are conveyed from the goods to be pushed region to the delivery port region, the first weight change value corresponding to the goods storage cabinet of the vending machine before and after the goods are conveyed is obtained; according to the type of the goods and the first weight change value, a goods payment list is generated; Step S3, according to the payment completion result of the goods payment list, the gate opening and closing state of the delivery port region is adjusted; And the second weight change value corresponding to the delivery port region in the preset time range is obtained, and the gate opening and closing state of the delivery port region is adjusted again according to the second weight change value; Step S4, when it is determined that the goods in the delivery port region have been taken away, the historical vending records and historical return records of the vending machine are compared with the inventory records of the vending machine to determine the out-of-stock state information in the vending machine; and according to the out-of-stock state information, a restocking notification message is sent to the management platform terminal; In step S2, when the goods are conveyed from the goods to be pushed region to the delivery port region, it also includes: An auxiliary device is installed above the exit position of the delivery port region, the auxiliary device includes two conveyors, which are respectively installed at the falling slide disc of the upper exit of the delivery port region, so as to assist the conveying of the goods; first, according to the first weight change value and the second weight change value, it is judged whether the currently conveyed goods are stuck, if the currently conveyed goods are stuck, according to the position of the goods in the to-be-pushed region before conveying and the time when the goods are stuck, the motion direction of the two conveyors of the auxiliary device and the motion interval frequency of the two conveyors are controlled, and the process is as follows: Step S201, according to the first weight change value and the second weight change value, it is judged whether the currently conveyed goods are stuck by using the following formula (1), In the above formula (1), R(t) represents the judgment value of whether the currently conveyed goods are stuck; t represents the current time; t0 represents the time when the first weight change value greater than 0 is detected closest to the current time; G1(t0) represents the first weight change value at t0; T represents the preset time length, that is, the falling conveying time reserved for the goods; ∨[G2(t0→t)=0] represents that all the detected second weight change values in the t0→t time period are all 0, at this time R(t)=1; ∧[G2(t0→t)>0] represents that there is a value greater than 0 in all the detected second weight change values in the t0→t time period, at this time R(t)=0; If R(t)=0, it indicates that the currently conveyed goods are not stuck, then the auxiliary device is not started; If R(t)=1, it indicates that the currently conveyed goods are stuck, then the auxiliary device is started; If the current time the transported goods are stuck, the auxiliary device is started, and the moving direction of the two conveyors of the auxiliary device is controlled according to the position of the goods in the pushing area before the goods are transported by using formula (2) In the above equation (2), F in represents the direction of movement of the inside conveyor in the auxiliary device; F out represents the direction of movement of the outside conveyor in the auxiliary device; a represents the position of the goods in the to-be-pushed region before being conveyed, which is the a-th goods storage cabinet counted from right to left with the direction of the gate as the forward direction; and n represents the total number of goods storage cabinets above the to-be-pushed region. If F in , F out is positive, the corresponding conveyor belt is controlled to rotate in the forward direction to the right, if F in , F out is negative, the corresponding conveyor belt is controlled to rotate in the forward direction to the left, so that by controlling the movement direction of the two conveyor belts, the goods are driven to fall and be conveyed to the goods outlet area. If the current time the transported goods are stuck, the moving interval frequency of the two conveyors of the auxiliary device is controlled according to the time when the goods are stuck by using formula (3) In the above equation (3), f(t) represents a movement intermittent frequency value of the next intermittent movement from the current time, which is calculated using the above equation (3) after the previous intermittent movement ends or when the auxiliary device is started; f m represents a minimum movement intermittent frequency value of the two conveyors on the auxiliary device; f M represents a maximum movement intermittent frequency value of the two conveyors on the auxiliary device; By the above process, the two conveyors move intermittently along their respective directions of movement, i.e. movement stops after a certain time stops after a certain time, so that the two conveyors vibrate the goods by intermittent movement during movement, drive the goods to fall and convey to the delivery area.
2. The control method of a multiple inspection vending machine according to claim 1, characterized by: In the step S1, the goods pushing area of the vending device is photographed to obtain a goods pushing area image, which specifically includes: When the vending device receives a goods purchase instruction from a user, a matching goods is selected from a goods storage cabinet, and the selected goods is placed in the goods pushing area; The goods pushing area is scanned and photographed to obtain a goods pushing area panoramic image.
3. The control method of a multiple inspection vending machine according to claim 2, characterized by: In the step S1, the goods pushing area image is analyzed and processed to determine the type of the goods currently existing in the goods pushing area, which specifically includes: An image frame corresponding to the selected goods is extracted from the goods pushing area panoramic image; The image frame is identified to obtain the outer packaging features of the selected goods, and the type of the selected goods and whether the outer packaging of the selected goods is complete are determined according to the outer packaging features.
4. The control method of a multiple inspection vending machine according to claim 3, characterized by: In the step S2, when the goods are transported from the goods pushing area to the delivery port area, a first weight change value of the goods storage cabinet of the vending device before and after the goods are transported is obtained, which specifically includes: When the outer packaging of the selected goods is complete, the selected goods is transported from the goods pushing area to the delivery port area; A first weight reduction value of the goods storage cabinet before and after the selected goods are transported is obtained.
5. The control method of a multiple inspection vending machine according to claim 4, characterized by: In the step S2, a goods payment list is generated according to the type of the goods and the first weight change value, which specifically includes: The number of the selected goods is determined according to the first weight reduction value, and the unit price of the selected goods is determined according to the type of the selected goods; The goods payment list is generated according to the number and unit price of the selected goods; and the goods payment list includes a goods payment QR code.
6. The control method of a multiple inspection vending machine according to claim 1, characterized by: In the step S3, the gate opening and closing state of the delivery port area is adjusted according to whether the payment of the goods payment list is completed, which specifically includes: When the payment of the goods payment list is completed within a preset time range, the gate of the delivery port area is opened; When the payment of the goods payment list is not completed within a preset time range, the gate of the delivery port area is maintained in a closed state, the selected goods is returned to the goods storage cabinet from the delivery port area, and the validity of the goods payment list is cancelled.
7. The control method of a multiple inspection vending machine according to claim 1, wherein: In the step S3, a second weight change value of the delivery port area within a preset time range is obtained, and the gate opening and closing state of the delivery port area is adjusted again according to the second weight change value, which specifically includes: Acquire a second weight reduction value corresponding to the delivery port area in a preset time range, if the second weight reduction value is zero, it indicates that the gate of the delivery port area is restored to the closed state, and the selected goods are returned to the goods storage cabinet from the delivery port area, and according to the goods payment list, the refund operation is carried out.
8. The control method of a multiple inspection vending machine according to claim 6, wherein: In the step S4, the out-of-stock state information is used to send a restocking notification message to a management platform terminal, and the restocking notification message specifically includes: According to the out-of-stock state information, a restocking notification message including the location information of the vending device and the type and quantity information of the goods needing restocking is sent to the management platform terminal.
Citation Information
Patent Citations
Vending machine and vending method
CN105931371A
Vending machine and method for counting delivered goods
CN108154602A
Vending machine based on image detection
CN210924745U