Shopping mall updating method and system for medical supply vending machine
By installing image scanning devices and AI models in unmanned medical supply vending machines, changes in the goods in the vending channels are automatically identified and the information in the e-commerce client is updated, solving the problem of untimely product updates and realizing automatic synchronized information display.
Patent Information
- Application Number
- CN202511477920.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-16
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2045-10-16
AI Technical Summary
When restocking existing unmanned medical supply vending machines, product updates cannot be synchronized to the online store client in a timely manner, resulting in inconsistent displays.
By installing image scanning devices in vending machines, changes in the goods in the vending channels are automatically identified and marked. AI big data models are used to identify product information and update the product display content on the e-commerce client in a synchronized manner.
It enables automatic updates of the online store client information when vending machine products are updated, reducing manual intervention and ensuring that patients receive the latest product information.
Smart Images

Figure CN120931372A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of medical device retail technology, specifically to a method and system for updating the online store of a medical supplies vending machine. Background Technology
[0002] To make it easier for patients to quickly purchase the medical supplies they need without having to queue at the pharmacy, unmanned medical supply vending machines are now placed in every department and ward of the hospital. Patients can simply log in to the online store to place an order or scan the QR code of the mini-program to purchase the medical supplies they want from the unmanned medical supply vending machine.
[0003] Currently, unmanned medical supply vending machines on the market use the traditional manual restocking model. This involves staff manually placing similar medical supplies from the same batch into designated aisles according to the hospital's bulk purchase order, and then manually updating the product information in the backend e-commerce client. However, staff need to restock and check vending machines in various hospital floors, departments, and wards, resulting in a heavy workload. It's easy for staff to forget to update the e-commerce client information promptly after restocking, leading to a situation where vending machine products are updated, but the e-commerce client's product information is not updated in a timely manner.
[0004] Therefore, how to automatically update the product information on the e-commerce client while updating the vending machine's products is an urgent problem to be solved. Summary of the Invention
[0005] The purpose of this invention is to provide a method and system for updating the online store of medical supplies vending machines. By automatically identifying the product update information in the vending machine, the system synchronously updates the relevant parts of the product update in the display interface of the backend online store, thereby automatically updating the product information display content of the online store client while the vending machine updates its products.
[0006] To achieve the above objectives, this application provides the following solution: On one hand, this invention provides a method for updating an online store for a medical supplies vending machine, comprising an interactive vending machine terminal, an online store control terminal, and a product client, the specific interaction process of which is as follows: Vending machine terminal: Upon detecting a product loading signal, it controls the image scanning devices of all product lanes to scan the products in each lane; When the vending machine detects a signal that the product refill is complete, it analyzes the product update status of each product lane based on the product scanning results of each lane, and marks each lane with the corresponding tag type based on the product update status of each lane; At the same time, a request to update product information is sent to the mall control terminal; Mall control terminal: Responds to product information update requests, sequentially reads the mark type of each product channel, and when the mark type is the target type, obtains the packaging scan image of the upper surface of all products in that product channel; Based on the packaging scan images of all the products on the surface of the goods in the channel, the AI big data model is used to search for the product information corresponding to the packaging scan image and generate the product update information for the channel. Send the updated product information from the platform to the mall client; E-commerce client: Upon receiving product update information, automatically update the product display information in the e-commerce client for the corresponding product channel based on the product update information.
[0007] In some specific implementation plans, the process of assigning a corresponding tag type to each cargo lane based on the update status of goods in each lane is as follows: S01. When the vending machine is detected to open, a product loading signal is generated, and the image scanning devices of all product lanes are controlled to record video of each lane. When the vending machine is detected to close, the image scanning devices are controlled to stop recording, and the recorded video segment is obtained. S02. Analyze the recorded video segments to see if the quantity of goods in each cargo lane has changed; S03. Based on the trend of changes in the quantity of goods, mark the channel as a channel for adding new goods or a channel for replenishing goods, and mark the channel where the trend of changes in the quantity of goods does not change as a channel for not adding new goods.
[0008] In some specific implementation schemes, the specific process of step S03 is as follows: Several frames are read from the recorded video segment by skipping frames, and these frames are then stored sequentially into the analysis sequence. The first and last two frames of the analysis sequence are obtained, and the changes in the number of goods in the first and last frames are compared. If the quantity of goods changes in the first and last two frames of the image, the quantity of goods in each frame of the sequence is identified and analyzed in turn, and the trend of the change in the quantity of goods is analyzed. When the trend of the change in the quantity of goods is linearly increasing, the channel is marked as a replenishment channel. When the trend of product quantity changes is first decreasing and then increasing, the product channel is marked as a new product channel.
[0009] In some specific implementation plans, replenishment channels include full replenishment channels and replenishment new product channels, and the specific process is as follows: When the quantity of goods changes from zero to the target quantity, the lane will be marked as a full replenishment lane; When the quantity of goods changes from n to the target quantity m, and m > n, the channel is marked as a replenishment channel for new goods.
[0010] In some specific implementations, if the number of goods in the first and last frames of the image does not change, then any frame in the middle of the first and last frames of the image is obtained. If the number of goods in the first and last two frames is equal to the number of goods in any middle frame, then the lane will be marked as not adding new goods. If the number of goods in the first and last frames is equal and different from the number of goods in any intermediate frame, then the lane is marked as a new lane.
[0011] In some specific implementation plans, when the target type is "new product channel," the process of generating product update information for the channel is as follows: Obtain the last frame of the recorded video segment, extract the packaging scan of the top surface of each product from the last frame, divide all the packaging scans of the top surface of each product according to the packaging view of the product, and count the number of products. Input the various packaging views of the product into the AI model for image recognition, search for product information that is the same as the packaging view of the product. The product information includes the complete six-sided packaging view of the product, the product name, the product manufacturer, and write the product information and product quantity into the product update information.
[0012] In some specific implementation schemes, when the target type is a full replenishment channel, the process of generating the channel's product update information is as follows: Obtain the last frame of the recorded video segment, extract the packaging scan of the top surface of each product from the last frame, and count the number of products. Call the six views of the products in the historical product display information of the e-commerce client, and check whether the packaging scan image of the upper surface of a single product exists in the six views of the historical product information. If it exists, the product update information will only include the product quantity update. If not, then divide the package scan images of all individual product top surfaces according to the product's package front view; Input the various packaging views of the product into the AI model for image recognition, search for product information that is the same as the packaging view of the product. The product information includes the complete six-sided packaging view of the product, the product name, the product manufacturer, and write the product information and the quantity of the product into the product update information.
[0013] In some specific implementation plans, when the target type is replenishing and adding new product channels, the process of generating product update information for those channels is as follows: The first and last frames of the recorded video segment are obtained. The difference between the last frame and the first frame is calculated to obtain the difference image. The packaging scan of the upper surface of each product is divided from the first frame and the difference image, and the number of products is counted. The first product image set and the number of products corresponding to the first frame image are obtained, and the second product image set and the number of products corresponding to the difference image are obtained. Based on the first product image set and the second product image set, determine whether the first product and the second product are the same. If the first product and the second product are the same, the product update information only includes the product update quantity, which is the sum of the first product quantity and the second product quantity. If the first product and the second product are different, the image set of the second product is input into the AI large model for image recognition, and product information with the same packaging view as the product is searched. The product information includes the complete six-sided packaging view of the product, the product name, and the product manufacturer. The product information and the quantity of the second product are written into the product update information.
[0014] In some specific implementation schemes, if the first product and the second product are different, the product update monitoring program is invoked to monitor the change in the quantity of the first product in the replenishment and new stocking channel of the vending machine terminal. When the quantity of the first product decreases to 0, the product update information of the replenishment and new stocking channel is sent to the e-commerce client.
[0015] Secondly, this application provides an online store update system for medical supply vending machines, comprising: an interactive vending machine terminal, an online store control terminal, and a product client, wherein: The vending machine terminal includes a vending machine body and a control module. The vending machine body has several shelves, each shelf has several product aisles, and an image scanning device is installed directly above each product aisle. The image scanning device is used to scan the image above the products in the product aisle. The control module is used to detect the product loading signal and control the image scanning devices of all product aisles to scan the products in each product aisle. When the product loading completion signal is detected, the control module analyzes the product update status of each product aisle based on the product scanning results, marks each product aisle with a corresponding mark type based on the product update status, and sends a product information update request to the mall control terminal. The mall control terminal is used to respond to product information update requests, sequentially read the mark type of each channel, and when the mark type is the target type, obtain the packaging scan image of the upper surface of all products in that channel; Based on the packaging scan images of all the products on the surface of the goods in the channel, the AI big data model is used to search for the product information corresponding to the packaging scan image and generate the product update information for the channel. Send the updated product information from the platform to the mall client; The e-commerce client is used to automatically update the product display information of the corresponding product channel in the e-commerce client based on the received product update information.
[0016] The beneficial effects of this invention are as follows: This application monitors the opening and closing signals of vending machines. When a closing signal is detected, a signal indicating that the vending machine has finished restocking is sent. At this time, the image scanning device scans the products in each product lane. By recognizing medical supplies from the scanned product images, the newly stocked product information for that lane can be obtained. Each lane is marked according to changes in product quantity. For lanes with different marking types, it is determined whether the product display interface in the corresponding online store client needs to be updated. If an update is needed, the product information for that lane in the online store client is updated according to the newly stocked product information. This eliminates the need for restocking personnel to manually input the updated product information. The content of the display page uploaded to the backend is automatically updated simultaneously with the vending machine's product update information, providing patients with the latest information in a timely manner and helping them select the correct products. Attached Figure Description
[0017] Figure 1 This is a flowchart of a method for updating the online store of a medical supplies vending machine, provided in an embodiment of the present invention. Figure 2 This is a schematic diagram of the cargo lane marking logic provided in an embodiment of the present invention; Figure 3 This is a schematic diagram illustrating the logic for generating product update information for the replenishment and new product channel provided in an embodiment of the present invention. Figure 4 This is a schematic diagram of a product display page provided in an embodiment of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the present invention or its application or use. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] Unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps described in these embodiments do not limit the scope of the invention.
[0020] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0021] Furthermore, for clarity and brevity, descriptions of well-known structures, functions, and configurations may have been omitted. Those skilled in the art will recognize that various changes and modifications can be made to the examples described herein without departing from the spirit and scope of this disclosure.
[0022] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0023] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0024] Example 1 like Figure 1 As shown, this embodiment provides a method for updating an online store for a medical supplies vending machine, which includes an interactive vending machine terminal, an online store control terminal, and a product client. The specific interaction process is as follows: Vending machine terminal: Upon detecting a product loading signal, it controls the image scanning devices of all product lanes to scan the products in each lane; When the vending machine detects a signal that the product refill is complete, it analyzes the product update status of each product lane based on the product scanning results of each lane, and marks each lane with the corresponding tag type based on the product update status of each lane; At the same time, a request to update product information is sent to the mall control terminal; Mall control terminal: Responds to product information update requests, sequentially reads the mark type of each product channel, and when the mark type is the target type, obtains the packaging scan image of the upper surface of all products in that product channel; Based on the packaging scan images of all the products on the surface of the goods in the channel, the AI big data model is used to search for the product information corresponding to the packaging scan image and generate the product update information for the channel. Send the updated product information from the platform to the mall client; E-commerce client: Upon receiving product update information, automatically update the product display information in the e-commerce client for the corresponding product channel based on the product update information.
[0025] Understandably, each product aisle in the vending machine is equipped with an image scanning device above it. This device scans the image above the product in the aisle. To reduce the pressure on the backend recognition system, the product update status of the product aisles in the vending machine is pre-judged, and each aisle is marked. Based on the marking type of the aisle, it is determined whether an update is needed in the mall client. When the vending machine closes, a product restocking completion signal is generated, and a product update request is sent to the mall control center for further analysis to determine whether an update to the product display page in the mall client is needed.
[0026] S1. Receive the vending machine's product loading completion signal and obtain the marking type of each product lane. The marking types include new product lane and replenishment product lane. Specifically, the process of pre-marking each product aisle in the vending machine terminal is as follows: S01. When the vending machine is detected to open, a product loading signal is generated, and the image scanning devices of all product lanes are controlled to record video of each lane. When the vending machine is detected to close, the image scanning devices are controlled to stop recording, and the recorded video segment is obtained. When stocking a vending machine, the clerk typically opens the cabinet door and loads the items into the aisles that need replenishment or new stock. After loading the vending machine, the door is closed. Therefore, a sensor can be installed at the door to detect the opening and closing signals. When an opening signal is detected, a product loading signal is triggered to start recording video of each aisle for subsequent analysis.
[0027] S02. Analyze the recorded video segments to see if the quantity of goods in each cargo lane has changed; S03. Based on the trend of changes in the quantity of goods, mark the channel as a channel for adding new goods or a channel for replenishing goods, and mark the channel where the trend of changes in the quantity of goods does not change as a channel for not adding new goods.
[0028] like Figure 2 As shown, the specific process for marking each cargo lane is as follows: S031. Read several frames of images from the recorded video segment by skipping frames, and store these frames sequentially into the analysis sequence. S032. Obtain the first and last two frames of images from the analysis sequence and compare the changes in the quantity of goods in the first and last two frames of images. SA: If the number of goods in the first and last frames of the image does not change, then obtain any frame in the middle between the first and last frames. If the number of goods in the first and last two frames is equal to the number of goods in any middle frame, then the lane will be marked as not adding new goods. If the number of goods in the first and last frames is equal and different from the number of goods in any intermediate frame, then the lane is marked as a new lane.
[0029] SB: If the quantity of goods changes in the first and last two frames of the image, the quantity of goods in each frame of the sequence is identified and analyzed in turn, and the trend of the change in the quantity of goods is analyzed. When the trend of the change in the quantity of goods is linearly increasing, the channel is marked as a replenishment channel. When the trend of product quantity changes is first decreasing and then increasing, the product channel is marked as a new product channel.
[0030] Replenishment channels include full replenishment channels and new product replenishment channels. The specific process is as follows: When the quantity of goods changes from zero to the target quantity, the lane will be marked as a full replenishment lane; When the quantity of goods changes from n to the target quantity m, and m > n, the channel is marked as a replenishment channel for new goods.
[0031] Understandably, to determine changes in the quantity of goods in a distribution channel, one can analyze recorded video segments. First, analyze the first and last frames to obtain information on changes in the quantity of goods in that channel. Then, based on these changes, skip frames in the recorded video segment and analyze each frame. Filter the skipped-frame images, selecting only those containing only goods and where changes occur between adjacent frames (this is to avoid situations where staff hands obscure goods). Then, identify the outline information of the goods in these filtered images, thus determining the quantity of goods in each frame. Finally, analyze these images to determine changes in the quantity of goods in the distribution channel.
[0032] Analyze the products in each product lane. If the first and last frames (corresponding to the initial and final frames) are completely identical and unchanged, it indicates that the product lane may be fully loaded and require no new products or restocking, or it may require a complete product replacement, meaning all products in the lane must be removed and replaced with new ones. Therefore, it's necessary to use any frame between the initial and final frames to further differentiate between these two scenarios. When the quantities are equal, skip the product lane and its corresponding products, mark it as a lane where no new products are added, and no further action or updates to the product information displayed in the store client are needed. If the product lane requires a complete product replacement, it can be considered that the product has been replaced, the product interface needs to be updated, and the lane should be marked as a new product lane.
[0033] If the start and end frames change, it indicates that the product category has been updated or restocked. It's necessary to distinguish between these two scenarios. If it's a new product update, the product page display information in the e-commerce client needs to be updated. If the product has been updated, even if the category still has a small number of products, but the product quantity decreases from a small number to 0 and then increases back to full capacity, it can be considered that the category has been updated. Mark the category as an updated category, and the product display page corresponding to that product in the e-commerce display page needs to be updated.
[0034] If the quantity of goods being replenished shows an increasing trend, two situations may occur. The first is that all the goods in that channel are sold out and need to be refilled, meaning that all goods need to be replenished. In this case, the channel can be marked as a full replenishment channel, and after receiving the closing signal, the information will be sent back to the mall control terminal for further judgment.
[0035] The second scenario is that the product aisle is not yet sold out and has a small amount of goods remaining. The stocking staff only needs to replenish the aisle with these goods. In this case, two situations may arise: one is that the stocking staff replenishes the aisle with the same type of goods, and the other is that they replenish the aisle with newer goods (which may have the same name but different packaging, or they may be two completely different goods). At this time, observe the changes in the quantity of goods. If the quantity of goods increases directly from a small amount to a large amount and eventually becomes full, it indicates that the aisle is being replenished. The aisle is then marked as a replenished aisle. However, whether the replenished goods are the original goods or new goods needs to be further verified by sending the data back to the mall control terminal.
[0036] The above analysis has examined the changes in goods at each vending machine aisle, made a preliminary judgment on the update status of goods in each aisle, and assigned a corresponding tag type to each aisle. When the vending machine detects a restocking completion signal and sends a goods information update request to the mall control terminal, it sends the tag type of each aisle and the recorded video segment to the mall control terminal. The mall control terminal further generates corresponding goods update information based on the aisle type and sends it to the mall client for updating. The goods update information differs for different aisles. Because the placement of goods by restocking personnel is relatively haphazard, simply reading the surface packaging information may not be sufficient to identify the goods. Generally, an aisle contains a batch of identical and similar goods, or it may contain similar goods with different packaging. Therefore, a comprehensive judgment can be made by analyzing the surface images of all goods in the aisle, and then using an AI model to supplement the remaining information, generating goods information, encapsulating it in the update information, and sending it to the mall client to update the goods display page. Figure 4As shown, the product update information includes basic information and detailed information. Basic information includes the vending machine number, vending machine ID, and the area where the vending machine is located (e.g., the ward or department where the vending machine is located). Detailed information includes product information and quantity. Product information includes a complete six-sided packaging view of the product (the e-commerce client divides this view into the main product image and product detail images on the corresponding product display page), product name, manufacturer, and price. The updated information differs for vending machines with different tag types, specifically categorized as follows: 1. When the target type is "New Product Lane", the process of generating product update information for the lane is as follows: Obtain the last frame of the recorded video segment, extract the packaging scan of the top surface of each product from the last frame, divide all the packaging scans of the top surface of each product according to the packaging view of the product, and count the number of products. Input the various packaging views of the product into the AI model for image recognition, search for product information that is the same as the packaging view of the product. The product information includes the complete six-sided packaging view of the product, the product name, the product manufacturer, and write the product information and product quantity into the product update information.
[0037] 2. When the target type is a full replenishment channel, the process of generating the channel's product update information is as follows: Obtain the last frame of the recorded video segment, extract the packaging scan of the top surface of each product from the last frame, and count the number of products. Call the six views of the products in the historical product display information of the e-commerce client, and check whether the packaging scan image of the upper surface of a single product exists in the six views of the historical product information. If it exists, the product update information will only include the product quantity update. If not, then divide the package scan images of all individual product top surfaces according to the product's package front view; Input the various packaging views of the product into the AI model for image recognition, search for product information that is the same as the packaging view of the product. The product information includes the complete six-sided packaging view of the product, the product name, the product manufacturer, and write the product information and the quantity of the product into the product update information.
[0038] 3. When the target type is replenishment and new product placement, such as Figure 3 As shown, the process of generating product update information for the product channel is as follows: The first and last frames of the recorded video segment are obtained. The difference between the last frame and the first frame is calculated to obtain the difference image. The packaging scan of the upper surface of each product is divided from the first frame and the difference image, and the number of products is counted. The first product image set and the number of products corresponding to the first frame image are obtained, and the second product image set and the number of products corresponding to the difference image are obtained. Based on the first product image set and the second product image set, determine whether the first product and the second product are the same. If the first product and the second product are the same, the product update information only includes the product update quantity, which is the sum of the first product quantity and the second product quantity. If the first and second products are different, the image set of the second product is input into the AI model for image recognition. The model searches for product information that matches the packaging view of the second product. This product information includes a complete six-sided packaging view, the product name, and the manufacturer. This product information, along with the quantity of the second product, is written into the product update information. If the first and second products are still different, the product update monitoring program is invoked to monitor changes in the quantity of the first product in the vending machine's replenishment lane. When the quantity of the first product drops to zero, the product update information for the replenishment lane is sent to the e-commerce client.
[0039] As can be seen, when the product update information includes the updated quantity, it indicates that the product channel is currently receiving new stock, and the product types have not changed before and after receiving the new stock. Therefore, only the displayed quantity in the e-commerce client needs to be updated. However, when the product update information includes both product information and the updated quantity, it indicates that the product has changed. In this case, not only should the product quantity be updated, but the product image on the product display page of that product channel in the e-commerce client also needs to be changed to match the text and image. When product types change, there is another situation: when there are two different packaged products in the product channel, which could be a newly added product and the product corresponding to the product display information. In this case, changes in the product quantity can be monitored (generally, stockers place the newest products towards the end, meaning that the product channel sells its remaining stock first, then the newly added products). When it is detected that the product channel has sold out its original stock, the update program is automatically invoked to update the product display page of that product channel in the e-commerce client.
[0040] For the e-commerce client, upon receiving product update information, it parses the product update information and locates the corresponding display page of the product channel based on the basic information in the product update information. If the detailed information of the product update information only includes the product quantity, then only the product quantity of the product in that product channel on the display page is updated. When the detailed information includes product information, the product display image and product information on the display page are replaced. Specifically, it can be understood that the product information part to be replaced on the product display page includes multiple tags to be filled, and the types of tags to be filled include text or images. In the product information section of the convenience product display page, when iterating through the section to be replaced, if the tag type is text and the tag name is the same as the field name corresponding to the product information, the corresponding field value in the product information is filled into the text tag to be filled. When the traversal reaches a section where the label type is image and the label name is the same as the field name corresponding to the product information, the corresponding image from the product information is filled into the image label to be filled.
[0041] Example 2 This embodiment implements the e-commerce update method of Embodiment 1, providing an e-commerce update system for medical supply vending machines, including: an interactive vending machine terminal, an e-commerce control terminal, and a product client, wherein: The vending machine terminal includes a vending machine body and a control module. The vending machine body has several shelves, each shelf has several product aisles, and an image scanning device is installed directly above each product aisle. The image scanning device is used to scan the image above the products in the product aisle. The control module is used to detect the product loading signal and control the image scanning devices of all product aisles to scan the products in each product aisle. When the product loading completion signal is detected, the control module analyzes the product update status of each product aisle based on the product scanning results, marks each product aisle with a corresponding mark type based on the product update status, and sends a product information update request to the mall control terminal. The mall control terminal is used to respond to product information update requests, sequentially read the mark type of each channel, and when the mark type is the target type, obtain the packaging scan image of the upper surface of all products in that channel; Based on the packaging scan images of all the products on the surface of the goods in the channel, the AI big data model is used to search for the product information corresponding to the packaging scan image and generate the product update information for the channel. Send the updated product information from the platform to the mall client; The e-commerce client is used to automatically update the product display information of the corresponding product channel in the e-commerce client based on the received product update information.
[0042] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Based on the technical essence of the present invention, any simple modifications, equivalent substitutions, and improvements made to the above embodiments within the spirit and principles of the present invention shall still fall within the protection scope of the present invention.
Claims
1. A method for updating an online store for a medical supplies vending machine, characterized in that, The interaction process between the vending machine terminal, the mall control terminal, and the product client is as follows: Vending machine terminal: Upon detecting a product loading signal, it controls the image scanning devices of all product lanes to scan the products in each lane; When the vending machine detects a signal that the product refill is complete, it analyzes the product update status of each product lane based on the product scanning results of each lane, and marks each lane with the corresponding tag type based on the product update status of each lane; At the same time, a request to update product information is sent to the mall control terminal; Mall control terminal: Responds to product information update requests, sequentially reads the mark type of each product channel, and when the mark type is the target type, obtains the packaging scan image of the upper surface of all products in that product channel; Based on the packaging scan images of all the products on the surface of the goods in the channel, the AI big data model is used to search for the product information corresponding to the packaging scan image and generate the product update information for the channel. Send the updated product information from the platform to the mall client; E-commerce client: Upon receiving product update information, automatically update the product display information in the e-commerce client for the corresponding product channel based on the product update information.
2. The method for updating the online store of a medical supplies vending machine according to claim 1, characterized in that, The specific process of assigning a corresponding tag type to each cargo channel based on the product update status is as follows: S01. When the vending machine is detected to open, a product loading signal is generated, and the image scanning devices of all product lanes are controlled to record video of each lane. When the vending machine is detected to close, the image scanning devices are controlled to stop recording, and the recorded video segment is obtained. S02. Analyze the recorded video segments to see if the quantity of goods in each cargo lane has changed; S03. Based on the trend of changes in the quantity of goods, mark the channel as a channel for adding new goods or a channel for replenishing goods, and mark the channel where the trend of changes in the quantity of goods does not change as a channel for not adding new goods.
3. The method for updating the online store for a medical supplies vending machine according to claim 2, characterized in that, The specific process of step S03 is as follows: Several frames are read from the recorded video segment by skipping frames, and these frames are then stored sequentially into the analysis sequence. The first and last two frames of the analysis sequence are obtained, and the changes in the number of goods in the first and last frames are compared. If the quantity of goods changes in the first and last two frames of the image, the quantity of goods in each frame of the sequence is identified and analyzed in turn, and the trend of the change in the quantity of goods is analyzed. When the trend of the change in the quantity of goods is linearly increasing, the channel is marked as a replenishment channel. When the trend of product quantity changes is first decreasing and then increasing, the product channel is marked as a new product channel.
4. The method for updating the online store for a medical supplies vending machine according to claim 3, characterized in that, Replenishment channels include full replenishment channels and new product replenishment channels. The specific process is as follows: When the quantity of goods changes from zero to the target quantity, the lane will be marked as a full replenishment lane; When the quantity of goods changes from n to the target quantity m, and m > n, the channel is marked as a replenishment channel for new goods.
5. A method for updating the online store of a medical supplies vending machine according to claim 3, characterized in that, If the number of goods in the first and last frames of the image does not change, then any frame in the middle of the first and last frames of the image is obtained. If the number of goods in the first and last two frames is equal to the number of goods in any middle frame, then the lane will be marked as not adding new goods. If the number of goods in the first and last frames is equal and different from the number of goods in any intermediate frame, then the lane is marked as a new lane.
6. A method for updating the online store of a medical supplies vending machine according to claim 2, characterized in that, When the target type is "New Product Lane", the process of generating product update information for the lane is as follows: Obtain the last frame of the recorded video segment, extract the packaging scan of the top surface of each product from the last frame, divide all the packaging scans of the top surface of each product according to the packaging view of the product, and count the number of products. Input the various packaging views of the product into the AI model for image recognition, search for product information that is the same as the packaging view of the product. The product information includes the complete six-sided packaging view of the product, the product name, the product manufacturer, and write the product information and product quantity into the product update information.
7. A method for updating the online store of a medical supplies vending machine according to claim 2, characterized in that, When the target type is a full replenishment lane, the process of generating the lane's product update information is as follows: Obtain the last frame of the recorded video segment, extract the packaging scan of the top surface of each product from the last frame, and count the number of products. Call the six views of the products in the historical product display information of the e-commerce client, and check whether the packaging scan image of the upper surface of a single product exists in the six views of the historical product information. If it exists, the product update information will only include the product quantity update. If not, then divide the package scan images of all individual product top surfaces according to the product's package front view; Input the various packaging views of the product into the AI model for image recognition, search for product information that is the same as the packaging view of the product. The product information includes the complete six-sided packaging view of the product, the product name, the product manufacturer, and write the product information and the quantity of the product into the product update information.
8. A method for updating the online store of a medical supplies vending machine according to claim 2, characterized in that, When the target type is replenishment and new product placement, the process of generating product update information for the placement is as follows: The first and last frames of the recorded video segment are obtained. The difference between the last frame and the first frame is calculated to obtain the difference image. The packaging scan of the upper surface of each product is divided from the first frame and the difference image, and the number of products is counted. The first product image set and the number of products corresponding to the first frame image are obtained, and the second product image set and the number of products corresponding to the difference image are obtained. Based on the first product image set and the second product image set, determine whether the first product and the second product are the same. If the first product and the second product are the same, the product update information only includes the product update quantity, which is the sum of the first product quantity and the second product quantity. If the first product and the second product are different, the image set of the second product is input into the AI large model for image recognition, and product information with the same packaging view as the product is searched. The product information includes the complete six-sided packaging view of the product, the product name, and the product manufacturer. The product information and the quantity of the second product are written into the product update information.
9. A method for updating the online store of a medical supplies vending machine according to claim 8, characterized in that, If the first and second products are different, the product update monitoring program is invoked to monitor the change in the quantity of the first product in the replenishment and new stocking lane of the vending machine terminal. When the quantity of the first product decreases to 0, the product update information of the replenishment and new stocking lane is sent to the mall client.
10. An online store update system for medical supply vending machines, characterized in that, include: Interactive vending machine terminals, e-commerce control terminals, and product clients, including: The vending machine terminal includes a vending machine body and a control module. The vending machine body has several shelves, each shelf has several product aisles, and an image scanning device is installed directly above each product aisle. The image scanning device is used to scan the image above the products in the product aisle. The control module is used to detect the product loading signal and control the image scanning devices of all product aisles to scan the products in each product aisle. When the product loading completion signal is detected, the control module analyzes the product update status of each product aisle based on the product scanning results, marks each product aisle with a corresponding mark type based on the product update status, and sends a product information update request to the mall control terminal. The mall control terminal is used to respond to product information update requests, sequentially read the mark type of each channel, and when the mark type is the target type, obtain the packaging scan image of the upper surface of all products in that channel; Based on the packaging scan images of all the products on the surface of the goods in the channel, the AI big data model is used to search for the product information corresponding to the packaging scan image and generate the product update information for the channel. Send the updated product information from the platform to the mall client; The e-commerce client is used to automatically update the product display information of the corresponding product channel in the e-commerce client based on the received product update information.
Citation Information
Patent Citations
Commodity replenishment method and control device of vending equipment
CN111508132A
Replenishment management method and device, storage medium and terminal
CN112488608A
Medical vending platform mobile management method, device and equipment and storage medium
CN119539686A
Self-service vending machine commodity identification method based on deep learning
CN119810970A
Network of vending machines connected interactively to data-base building host
US6462644B1