CN115907737A - Expired medicine recovery method and device, storage medium and computer equipment - Google Patents

Expired medicine recovery method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN115907737A
CN115907737A CN202211427599.8A CN202211427599A CN115907737A CN 115907737 A CN115907737 A CN 115907737A CN 202211427599 A CN202211427599 A CN 202211427599A CN 115907737 A CN115907737 A CN 115907737A
Authority
CN
China
Prior art keywords
detected
medicine
article
image
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211427599.8A
Other languages
Chinese (zh)
Inventor
黄一辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202211427599.8A priority Critical patent/CN115907737A/en
Publication of CN115907737A publication Critical patent/CN115907737A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The application relates to the technical field of computers, and particularly discloses an expired medicine recovery method and device, a storage medium and computer equipment, wherein the method comprises the following steps: when an article to be detected exists at a preset placing position, acquiring an image to be detected of the article to be detected; identifying the image to be detected based on a target identification model, and determining whether the article to be detected corresponding to the image to be detected is a medicine or not; and when the article to be detected corresponding to the image to be detected is a medicine, packaging the article to be detected. This application is before retrieving overdue medicine, judges earlier whether treating that detects article belong to the medicine, packs again after the medicine and retrieves, can promote the accuracy of overdue medicine recovery greatly, can avoid overdue medicine to scatter, damage through packing simultaneously, promotes the security of overdue medicine.

Description

Expired medicine recovery method and device, storage medium and computer equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for recovering expired drugs, a storage medium, and a computer device.
Background
About 78.6% of families in China have small household medicine boxes, however, more than 80% of families with small medicine boxes do not have the habit of cleaning the medicine boxes regularly, and about 1.5 ten thousand tons of overdue medicines are generated all over the country for one year.
If the overdue medicine is continuously taken, the influence on the physical health of the human body is very likely to be caused. In addition, it is possible for the expired drugs, which are discarded at hand, to be recycled by some illegal molecules, and to be put on the market again at a lower price. Therefore, regular recovery should be performed for expired drugs.
In the prior art, when overdue medicines are recovered, only a recovery terminal is provided, and when the quantity of the recovered medicines in the recovery terminal is large, peripheral pharmacy staff clean the medicines. However, the recovery accuracy of such an expired medicine recovery method is low, and the safety of expired medicines is not considered.
Disclosure of Invention
In view of this, the application provides an overdue medicine recovery method and device, a storage medium, and a computer device, before recovering the overdue medicine, whether an object to be detected belongs to the medicine is judged first, and then the medicine is packed and recovered, so that the accuracy of recovering the overdue medicine can be greatly improved, meanwhile, the overdue medicine can be prevented from scattering and being damaged by packing, and the safety of the overdue medicine is improved.
According to an aspect of the present application, there is provided a method for recovering expired medicines, including:
when an article to be detected exists at a preset placing position, acquiring an image to be detected of the article to be detected;
identifying the image to be detected based on a target identification model, and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
and when the article to be detected corresponding to the image to be detected is a medicine, packaging the article to be detected.
According to another aspect of the present application, there is provided an expired medicine recycling device comprising:
the image acquisition module is used for acquiring an image to be detected of the article to be detected when the article to be detected is detected to exist at a preset placing position;
the image recognition module is used for recognizing the image to be detected based on a target recognition model and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
and the packing module is used for packing the article to be detected when the article to be detected corresponding to the image to be detected is a medicine.
According to yet another aspect of the present application, there is provided a storage medium having stored thereon a computer program which, when executed by a processor, implements the expired medicine recovery method described above.
According to yet another aspect of the present application, there is provided a computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, the processor implementing the above expired medicine recycling method when executing the program.
By means of the technical scheme, when the overdue medicine recovery method and device, the storage medium and the computer equipment are detected that the article to be detected exists at the preset placing position, the image to be detected corresponding to the article to be detected can be obtained. After the image to be detected corresponding to the article to be detected is obtained, the pre-trained target recognition model can be used for recognizing the article to be detected contained in the image to be detected, specifically, the image to be detected can be input into the target recognition model, and the target recognition model outputs result information of whether the article to be detected is a medicine or not. If the to-be-detected article contained in the to-be-detected image is identified to be a medicine, then the to-be-detected article detected as the medicine can be packaged. This application embodiment judges earlier whether to detect article and belong to the medicine before retrieving overdue medicine, packs again after the medicine and retrieves, can promote the accuracy of overdue medicine recovery greatly, can avoid overdue medicine to scatter, damage through the packing simultaneously, promotes the security of overdue medicine.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic flow chart illustrating a method for recycling expired drugs provided by an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating another expired drug recovery method provided by an embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating another expired drug recovery method provided by an embodiment of the present application;
FIG. 4 is a schematic flow chart illustrating another expired drug recovery method provided by the embodiments of the present application;
fig. 5 shows a schematic structural diagram of an expired medicine recycling device provided by an embodiment of the present application.
Detailed Description
The present application will be described in detail below with reference to the accompanying drawings in conjunction with embodiments. It should be noted that, in the present application, the embodiments and features of the embodiments may be combined with each other without conflict.
In this embodiment, there is provided a method for recovering expired drugs, as shown in fig. 1, the method includes:
step 101, when an article to be detected exists at a preset placing position, acquiring an image to be detected of the article to be detected;
the overdue medicine recovery method provided by the embodiment of the application can be applied to overdue medicine recovery terminals, and the overdue medicine recovery terminals can be arranged in residential quarters and the like. The overdue medicine recovery terminal can be in communication connection with the background server and the user client. The overdue medicine recovery terminal is provided with a preset placing position, and when the overdue medicine is recovered through the overdue medicine recovery terminal, a user can place the overdue medicine at the preset placing position. A sensor such as a pressure sensor may be provided at the preset placement position, for example, when the pressure sensor is provided at the preset placement position, if the user places the expired medicine at the preset placement position, the pressure sensor may generate a signal. Therefore, whether the articles exist at the preset placing position can be detected in real time by arranging the sensor at the preset placing position.
Some users are unable to determine whether some items belong to the drug, such as essential balms, toilet water, etc., when an expired drug is retrieved. Therefore, when the user places the article to be detected at the preset placement position, it can be determined whether the article to be detected belongs to the medicine. Firstly, when a sensor and the like are arranged to generate signals, it is described that an article to be detected exists at a preset placing position, a camera device can be started at the moment, and an image to be detected of the article to be detected is obtained through the camera device.
Specifically, before placing the object to be detected at the preset placing position, the user may log in the personal account in a scanning or inputting manner, or may directly place the object to be detected at the preset placing position without logging in.
102, identifying the image to be detected based on a target identification model, and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
in this embodiment, after the image to be detected corresponding to the article to be detected is obtained, the pre-trained target recognition model may be used to recognize the article to be detected included in the image to be detected, specifically, the image to be detected may be input into the target recognition model, and the target recognition model outputs result information of whether the article to be detected is a drug. Here, the target recognition model may be any AI (all english: intellectual Intelligence) intelligent recognition model for recognizing an article in an image, and is not specified herein. Here, the expired medicine can be identified whether or not it has a medicine package.
103, when the article to be detected corresponding to the image to be detected is a medicine, packaging the article to be detected.
In this embodiment, if it is recognized that the to-be-detected item included in the to-be-detected image is indeed a medicine, then the to-be-detected item detected as a medicine may be subjected to a packing process.
By applying the technical scheme of the embodiment, when the article to be detected is detected to exist at the preset placing position, the image to be detected corresponding to the article to be detected can be obtained. After the image to be detected corresponding to the article to be detected is obtained, the pre-trained target recognition model can be used for recognizing the article to be detected contained in the image to be detected, specifically, the image to be detected can be input into the target recognition model, and the target recognition model outputs result information of whether the article to be detected is a medicine or not. If the to-be-detected article contained in the to-be-detected image is identified to be a medicine, then the to-be-detected article detected as the medicine can be packaged. This application embodiment judges earlier whether waiting to detect article and belong to the medicine before retrieving overdue medicine, packs again and retrieves after the medicine, can promote overdue medicine recovery's accuracy greatly, can avoid overdue medicine to scatter, damage through the packing simultaneously, promotes the security of overdue medicine.
Further, as a refinement and an extension of the embodiments of the foregoing embodiments, in order to fully illustrate the implementation process of the present embodiment, another expired drug recycling method is provided, as shown in fig. 2, and the method includes:
step 201, when detecting that an article to be detected exists at a preset placing position, acquiring an image to be detected of the article to be detected;
in this embodiment, when the user places the article to be detected at the preset placement position, it may be determined whether the article to be detected belongs to the medicine. When detecting that there is the article to be detected in preset position department of placing, can start camera device this moment, obtain the image to be detected of the article to be detected through camera device.
202, identifying the image to be detected based on a target identification model, and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
in this embodiment, after the image to be detected corresponding to the article to be detected is obtained, the pre-trained target recognition model may be used to recognize the article to be detected included in the image to be detected, specifically, the image to be detected may be input into the target recognition model, and the target recognition model outputs result information of whether the article to be detected is a drug. Here, the target recognition model may be any AI (all english: intellectual Intelligence) intelligent recognition model for recognizing an article in an image, and is not specified herein. Here, the expired medicine can be identified whether or not it has a medicine package.
Step 203, when the article to be detected corresponding to the image to be detected is a medicine, judging whether the article to be detected contains a medicine package, and when the article to be detected contains the medicine package, determining the position of a graphic code on the medicine package;
in this embodiment, if it is determined that the article to be detected included in the image to be detected is indeed a medicine, the article state of the article to be detected may be detected, and it may be determined whether the article to be detected has a medicine package such as a packing box. The graphic code may be included in the pharmaceutical product package, so that if the item to be detected is detected to be present in the pharmaceutical product package, the position of the graphic code can be found from the pharmaceutical product package. Here, the graphic code may be a two-dimensional code, a barcode, or the like. The graphic code may include the related information of the drug, such as the name of the drug, the manufacturer of the drug, the production lot of the drug, the production date of the drug, etc.
Step 204, adjusting a preset scanning device to a scannable area corresponding to the graphic code, and scanning the graphic code to obtain medicine information corresponding to the article to be detected;
in this embodiment, the expired medicine recycling terminal may have a preset scanning device therein, and the graphic code may be identified by the preset scanning device. After the position of the graphic code on the medicine package is determined, the preset scanning device can be adjusted to a scannable area corresponding to the graphic code, wherein the scannable area can be an area where the graphic code can be successfully identified. Then, the preset scanning device can be used for scanning the graphic code, and finally medicine information of the article to be detected can be obtained, wherein the medicine information can be medicine related information hidden in the graphic code, namely medicine name, medicine manufacturer, medicine production batch, medicine production date and the like. According to the embodiment of the application, the medicine information can be quickly acquired by scanning the graphic code on the medicine package of the article to be detected, so that the medicine recording, marking and the like are facilitated, and the method is simple and convenient.
Step 205, determining a target drug name corresponding to the article to be detected based on the drug information;
in this embodiment, the name of the target medicine of the article to be detected can be found in the scanned medicine information.
Step 206, comparing the target drug name with a preset drug name, determining a preset drug classification to which the hit preset drug name belongs, and using the preset drug classification as the target drug classification of the article to be detected;
in this embodiment, the drug names and drug classifications of existing drugs may be pre-stored, where each preset drug classification corresponds to one or more preset drug names, and all the preset drug names are classified under each preset drug classification. After the target medicine name corresponding to the object to be detected is determined, the target medicine name can be matched with the preset medicine name, the preset medicine name consistent with the target medicine name is determined, the preset medicine classification corresponding to the preset medicine name is further determined, and the preset medicine classification corresponding to the preset medicine name is used as the target medicine classification corresponding to the object to be detected. For example, the target medicine is named as antelope cold tablet, and the preset medicine with the preset medicine name of antelope cold tablet is determined to be classified as cold medicine, so that the target medicine corresponding to the object to be detected is classified as cold medicine. The method and the device for detecting the overdue drugs can quickly determine which type of drugs the to-be-detected articles belong to according to the drug information, and facilitate subsequent classification of the overdue drugs according to the target drug classification.
And step 207, packaging the to-be-detected article, generating a drug recovery label based on the drug information, the target drug classification and the recovery time, and marking the packaged to-be-detected article by using the drug recovery label.
In this embodiment, the object to be detected may be packaged, for example, a packaging bag, a packaging box, or the like may be used for packaging. Specifically, the size information of the article to be detected can be determined, the target specification is determined from the preset specification according to the size information, and packaging is performed by using a packaging bag, a packaging box and the like of the target specification. Then, a drug recycling label can be generated to mark the item to be detected which is verified as a drug. Specifically, the drug recovery label may be generated using drug information, target drug classification, recovery time, and the like. And then adhering the drug recovery label to the packaged article to be detected. The recycling time may be a time when the article to be detected is packed, or a time when the article to be detected exists at the preset placement position, and the like, which is not limited herein. According to the embodiment of the application, the medicine recycling label is generated through medicine information, target medicine classification and recycling time, when follow-up workers process recycled medicines, relevant information of the recycled medicines can be fast known according to the medicine information, the recycled medicines can be fast classified according to the target medicine classification, and meanwhile when the overdue medicines are recycled can be known according to the recycling time.
In this embodiment of the present application, optionally, after step 207, the method further includes: and associating the drug information, the target drug classification and the recovery time with a target user identifier, and storing the drug information, the target drug classification and the recovery time in a background server.
In this embodiment, after determining the drug information, the target drug classification, the recovery time, these information may be associated with a target user identification, which may be a target user account, or the like. And then, the associated information can be stored in a background server, so that a subsequent target user can inquire the expired drug recovery record of the user in the background server in a mode of logging in an account by the client, and the method is simple and convenient.
Further, as a refinement and an extension of the embodiments of the foregoing embodiments, in order to fully illustrate the implementation process of the present embodiment, another expired drug recycling method is provided, as shown in fig. 3, and the method includes:
step 301, when detecting that an article to be detected exists at a preset placing position, acquiring an image to be detected of the article to be detected;
step 302, identifying the image to be detected based on a target identification model, and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
303, packing the article to be detected when the article to be detected corresponding to the image to be detected is a medicine;
in this embodiment, when the user places the article to be detected at the preset placement position, it may be determined whether the article to be detected belongs to the medicine. When detecting that there is an article to be detected at the preset placing position, the camera device can be started at the moment, and an image to be detected of the article to be detected is obtained through the camera device. After the image to be detected corresponding to the article to be detected is obtained, the pre-trained target recognition model can be used for recognizing the article to be detected contained in the image to be detected, specifically, the image to be detected can be input into the target recognition model, and the target recognition model outputs result information of whether the article to be detected is a medicine or not. If the to-be-detected article contained in the to-be-detected image is identified to be a medicine, then the to-be-detected article detected as the medicine can be packaged.
Step 304, when the login information of the target user is identified, determining exchange information corresponding to the packaged to-be-detected article, and calculating corresponding target exchange resources based on the exchange information, wherein the exchange information comprises the medicine information and/or the target medicine classification;
in this embodiment, after the object to be detected is packaged, whether a target user login account exists before the object to be detected exists at the preset placement position can be identified, that is, whether login information of the target user exists is identified, the login information may be an account of the target user, and the account of the target user corresponds to the target user one to one. If the login information of the target user is identified, the exchange information of the packaged to-be-detected article can be determined, wherein the exchange information can be information used for calculating exchange resources of the to-be-detected article, such as the current selling price of the to-be-detected article, the target medicine type of the to-be-detected article and the like. And then, calculating a target redemption resource corresponding to the target user by using the redemption information, wherein the target redemption resource can be points, coupons and the like. For example, when the exchange information is the current selling price of the article to be detected, the current selling price can be multiplied by a preset coefficient to obtain the target exchange resource; when the exchange information is the current sale price of the article to be detected and the target drug variety type, the current sale price is multiplied by a preset coefficient to obtain a first resource value, a second resource value corresponding to the target drug variety is searched according to a preset resource list, then the first resource value and the second resource value are respectively multiplied by a weighting coefficient and then added to obtain the target exchange resource, wherein the preset resource list can store the mapping relation between the drug variety and the resource value. The current selling price of the expired medicine can be directly contained in the medicine information, and if the current selling price is not contained in the medicine information, the current selling price can be inquired according to the medicine name in the medicine information.
In addition, if the login information of the target user is not recognized, the packaging process can be finished after the packaging is finished, and the object to be detected appears at the preset placing position again.
Step 305, updating the historical exchange resources corresponding to the target user according to the login information of the target user and the target exchange resources.
In this embodiment, after the target redemption resource is obtained through calculation, the target redemption resource may be added to the historical redemption resource corresponding to the target user according to the login information of the target user, so as to update the historical redemption resource of the target user. According to the embodiment of the application, the target converted resources are calculated according to the overdue drugs put in by the target users and distributed to the target users, so that the effective operation of overdue drug recovery can be realized, and the overdue drug recovery experience of the target users can be improved.
In this embodiment of the present application, optionally, after step 302, the method further includes: when the article to be detected corresponding to the image to be detected is not a medicine, outputting a recovery failure prompt and updating the recovery failure times; and when the updated recovery failure times reach a preset time threshold value, updating the historical exchange resources of the target user based on a preset resource value.
In this embodiment, if it is found through the judgment that the article to be detected is not a drug in fact, a recovery failure prompt, specifically a voice prompt, may be output correspondingly, or a text prompt may be performed on a display screen in the expired drug recovery terminal. Meanwhile, the recovery failure times of the target user can be updated, wherein the recovery failure times can be failure times calculated by the target user from the account registration or recovery failure times recalculated at preset time intervals. After the recovery failure times are updated, the updated recovery failure times are compared with a preset time threshold, if the updated recovery failure times are equal to the preset time threshold, it is indicated that multiple drug identification errors occur to the target user, a certain punishment can be given to the target user at the moment, and a preset resource value can be deducted on the basis of the historical exchange resources of the target user to play a certain reminding role.
In this embodiment of the present application, optionally, the method further includes: monitoring the residual space corresponding to the medicine storage space in real time, and generating a medicine processing request when the residual space is smaller than a preset space; and sending the drug processing request to a target client so that drug processing personnel corresponding to the target client can process the recovered drugs in the drug storage space.
In this embodiment, if the drug storage space in the expired drug recycling terminal is filled with expired drugs, the expired drugs in the drug storage space can be cleaned, and it is ensured that a subsequent user can continue to put the expired drugs into the expired drug recycling terminal. Therefore, the residual space in the medicine storage space can be monitored in real time, if the monitored residual space is smaller than the preset space, the situation that the medicine storage space in the overdue medicine recovery terminal is immediately filled with the overdue medicines is shown, a medicine processing request can be generated, and the generated medicine processing request is sent to a target client corresponding to a medicine processing person, so that the medicine processing person can be quickly notified to clean the overdue medicines.
Further, another expired drug recycling method is provided in the embodiments of the present application, as shown in fig. 4, the method includes:
firstly, a user can log in an overdue medicine recovery system (background server) in a code scanning mode, then an article to be detected can be placed on a tray (namely a preset placing position), an overdue medicine recovery terminal AI starts to identify the article to be detected on the tray, and whether the article to be detected is a medicine or not is judged. If the medicines are found to be the medicines by judgment, the quantity of the medicines can be cleared, the expired medicines can be packaged after clearing, and an expired medicine label can be printed on the package, wherein the expired medicine label can include medicine information such as the names of the medicines, the pharmaceutical manufacturers and the like, and can also include target medicine classification and the like. And then, calculating the reward which can be obtained by the recovery user of the overdue medicines according to the number of the overdue medicines, the information on the medicine label and the like, and converting the reward into a coupon which can be used when the user purchases the medicines next time.
Further, as a specific implementation of the method in fig. 1, an embodiment of the present application provides an expired drug recycling device, as shown in fig. 5, the device includes:
the image acquisition module is used for acquiring an image to be detected of the article to be detected when the article to be detected is detected to exist at a preset placing position;
the image identification module is used for identifying the image to be detected based on a target identification model and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
and the packaging module is used for packaging the article to be detected when the article to be detected corresponding to the image to be detected is a medicine.
Optionally, the apparatus further comprises:
the judging module is used for judging whether the article to be detected contains a medicine package or not after the article to be detected corresponding to the image to be detected is the medicine, and determining the position of a graphic code on the medicine package when the article to be detected contains the medicine package;
and the scanning module is used for adjusting a preset scanning device to a scannable area corresponding to the graphic code and scanning the graphic code to obtain the medicine information corresponding to the article to be detected.
Optionally, the apparatus further comprises:
the medicine name determining module is used for determining the name of the target medicine corresponding to the article to be detected based on the medicine information after the medicine information corresponding to the article to be detected is obtained;
and the comparison module is used for comparing the target medicine name with a preset medicine name, determining a preset medicine classification to which the hit preset medicine name belongs, and using the preset medicine classification as the target medicine classification of the article to be detected.
Optionally, the apparatus further comprises:
and the marking module is used for generating a drug recovery label based on the drug information, the target drug classification and the recovery time after the object to be detected is packaged, and marking the packaged object to be detected by using the drug recovery label.
Optionally, the apparatus further comprises:
the resource calculation module is used for determining exchange information corresponding to the packaged to-be-detected article when login information of a target user is identified after the to-be-detected article is packaged, and calculating corresponding target exchange resources based on the exchange information, wherein the exchange information comprises the medicine information and/or the target medicine classification;
and the resource updating module is used for updating the historical exchange resources corresponding to the target user according to the login information of the target user and the target exchange resources.
Optionally, the apparatus further comprises:
the prompt output module is used for outputting a recovery failure prompt and updating the recovery failure times when the to-be-detected article corresponding to the to-be-detected image is not a medicine after determining whether the to-be-detected article corresponding to the to-be-detected image is a medicine;
the resource updating module is further used for updating the historical exchange resources of the target user based on a preset resource value when the updated recovery failure times reach a preset time threshold value.
Optionally, the apparatus further comprises:
the space monitoring module is used for monitoring the residual space corresponding to the medicine storage space in real time and generating a medicine processing request when the residual space is smaller than a preset space;
and the request sending module is used for sending the drug processing request to a target client so as to enable drug processing personnel corresponding to the target client to process the recovered drugs in the drug storage space.
It should be noted that other corresponding descriptions of the functional units related to the expired medicine recycling device provided in the embodiment of the present application may refer to the corresponding descriptions in the methods of fig. 1 to fig. 4, and are not repeated herein.
Based on the method shown in fig. 1 to 4, correspondingly, the present application further provides a storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the expired medicine recycling method shown in fig. 1 to 4.
Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, or the like), and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, or the like) to execute the method described in the implementation scenarios of the present application.
Based on the above methods shown in fig. 1 to fig. 4 and the virtual device embodiment shown in fig. 5, in order to achieve the above object, an embodiment of the present application further provides a computer device, which may specifically be a personal computer, a server, a network device, and the like, where the computer device includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the expired drug recovery method as described above with reference to fig. 1 to 4.
Optionally, the computer device may also include a user interface, a network interface, a camera, radio Frequency (RF) circuitry, sensors, audio circuitry, a WI-FI module, and so forth. The user interface may include a Display screen (Display), an input unit such as a keypad (Keyboard), etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (e.g., a bluetooth interface, a WI-FI interface), etc.
It will be appreciated by those skilled in the art that the present embodiment provides a computer device architecture that is not limiting of the computer device, and that may include more or fewer components, or some components in combination, or a different arrangement of components.
The storage medium may further include an operating system and a network communication module. An operating system is a program that manages and maintains the hardware and software resources of a computer device, supporting the operation of information handling programs, as well as other software and/or programs. The network communication module is used for realizing communication among components in the storage medium and other hardware and software in the entity device.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present application can be implemented by software plus a necessary general hardware platform, and can also be implemented by hardware. When the article to be detected is detected to exist at the preset placing position, the image to be detected corresponding to the article to be detected can be obtained. After the to-be-detected image corresponding to the to-be-detected article is obtained, the pre-trained target recognition model can be used for recognizing the to-be-detected article contained in the to-be-detected image, specifically, the to-be-detected image can be input into the target recognition model, and the target recognition model outputs result information of whether the to-be-detected article is a medicine or not. If the to-be-detected article contained in the to-be-detected image is identified to be a medicine, then the to-be-detected article detected as the medicine can be packaged. This application embodiment judges earlier whether waiting to detect article and belong to the medicine before retrieving overdue medicine, packs again and retrieves after the medicine, can promote overdue medicine recovery's accuracy greatly, can avoid overdue medicine to scatter, damage through the packing simultaneously, promotes the security of overdue medicine.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above application serial numbers are for description purposes only and do not represent the superiority or inferiority of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of the present application, but the present application is not limited thereto, and any variations that can be considered by those skilled in the art are intended to fall within the scope of the present application.

Claims (10)

1. A method for recovering expired drugs, comprising:
when an article to be detected exists at a preset placing position, acquiring an image to be detected of the article to be detected;
identifying the image to be detected based on a target identification model, and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
and when the article to be detected corresponding to the image to be detected is a medicine, packaging the article to be detected.
2. The method according to claim 1, wherein after the time when the article to be detected corresponding to the image to be detected is a medicine, the method further comprises:
judging whether the article to be detected contains a medicine package or not, and determining the position of a graphic code on the medicine package when the article to be detected contains the medicine package;
and adjusting a preset scanning device to a scannable area corresponding to the graphic code, and scanning the graphic code to obtain medicine information corresponding to the article to be detected.
3. The method of claim 2, wherein after obtaining the pharmaceutical information corresponding to the item to be tested, the method further comprises:
determining a target medicine name corresponding to the article to be detected based on the medicine information;
and comparing the target medicine name with a preset medicine name, determining a preset medicine classification to which the hit preset medicine name belongs, and taking the preset medicine classification as the target medicine classification of the article to be detected.
4. The method of claim 3, wherein after packaging the item to be tested, the method further comprises:
and generating a drug recovery label based on the drug information, the target drug classification and the recovery time, and marking the packaged article to be detected by using the drug recovery label.
5. The method of claim 3, wherein after packaging the item to be tested, the method further comprises:
when the login information of a target user is identified, the exchange information corresponding to the packaged to-be-detected article is determined, and the corresponding target exchange resource is calculated based on the exchange information, wherein the exchange information comprises the medicine information and/or the target medicine classification;
and updating the historical exchange resources corresponding to the target user according to the login information of the target user and the target exchange resources.
6. The method according to claim 1, wherein after determining whether the article to be detected corresponding to the image to be detected is a medicine, the method further comprises:
when the article to be detected corresponding to the image to be detected is not a medicine, outputting a recovery failure prompt and updating the recovery failure times;
and when the updated recovery failure times reach a preset time threshold value, updating the historical exchange resources of the target user based on a preset resource value.
7. The method of claim 1, further comprising:
monitoring the residual space corresponding to the medicine storage space in real time, and generating a medicine processing request when the residual space is smaller than a preset space;
and sending the drug processing request to a target client so that drug processing personnel corresponding to the target client process the recovered drugs in the drug storage space.
8. An expired drug recycling device comprising:
the image acquisition module is used for acquiring an image to be detected of the article to be detected when the article to be detected is detected to exist at a preset placing position;
the image identification module is used for identifying the image to be detected based on a target identification model and determining whether the article to be detected corresponding to the image to be detected is a medicine or not;
and the packaging module is used for packaging the article to be detected when the article to be detected corresponding to the image to be detected is a medicine.
9. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of any of claims 1 to 7.
10. A computer device comprising a storage medium, a processor and a computer program stored on the storage medium and executable on the processor, characterized in that the processor implements the method of any one of claims 1 to 7 when executing the computer program.
CN202211427599.8A 2022-11-15 2022-11-15 Expired medicine recovery method and device, storage medium and computer equipment Pending CN115907737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211427599.8A CN115907737A (en) 2022-11-15 2022-11-15 Expired medicine recovery method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211427599.8A CN115907737A (en) 2022-11-15 2022-11-15 Expired medicine recovery method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN115907737A true CN115907737A (en) 2023-04-04

Family

ID=86495044

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211427599.8A Pending CN115907737A (en) 2022-11-15 2022-11-15 Expired medicine recovery method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN115907737A (en)

Similar Documents

Publication Publication Date Title
US20200097897A1 (en) Method and system for automatic vending, vending terminal
US7416119B1 (en) Methods and apparatus for automatically determining and deducting weight of containers for products
JP2023076748A5 (en) Information processing device, server, program, system
US20180247361A1 (en) Information processing apparatus, information processing method, wearable terminal, and program
JP5238933B2 (en) Sales information generation system with customer base
US20100153458A1 (en) Identifying and Generating Sensor and Actuator Cohorts
CN109353397B (en) Commodity management method, device and system, storage medium and shopping cart
CN109002780B (en) Shopping flow control method and device and user terminal
CN110619530A (en) Agricultural product tracing method, electronic equipment and computer readable storage medium
CN111814793A (en) Medicine image-text information violation detection method and system
WO2023280124A1 (en) Weighing processing method and apparatus, and weighing devices
CN114529850A (en) Risk identification method, device and system for self-service cash register
JP3837475B2 (en) Automated shopping system
JP2006301823A (en) Displayed commodity marketing method, system, and program
US10719673B2 (en) System and method for collecting and/or retrieving information relating to objects
CN108764129B (en) Goods shelf and shopping system
JP2010170492A (en) Customer analysis system, customer data collection device, customer analysis device, customer analysis method, and program
CN115907737A (en) Expired medicine recovery method and device, storage medium and computer equipment
CN112364702A (en) Article verification method and device
CN113378601A (en) Method for preventing goods loss, self-service equipment and storage medium
CN112278636A (en) Garbage classification recycling method, device and system and storage medium
CN112154488B (en) Information processing apparatus, control method, and program
KR20190044155A (en) Method and server for managing a bulletin board for used goods transactions, and computer readable recording medium
US20240029017A1 (en) Information processing device, information processing method, and recording medium
JP2021077293A (en) Computer program and information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination