Drug information management method and system based on electronic tag
By collecting trigger data in the drug storage area and collecting weight change curves and images, the drug information is automatically checked and updated, which solves the problem of inconvenient management and update of drug label information and improves the degree of automation and the accuracy of the information.
Patent Information
- Application Number
- CN202411907091.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-01-24
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art Chinese medicine label information management process is inconvenient, resulting in a low degree of automation.
By collecting the trigger data of the drug storage area, the process of automatically determining the information change process, collecting weight change curves and drug images to be accessed. Based on image recognition and weight change curve checking the drug access information, and updating the electronic tag label information.
It improves the automation of drug information management, ensures the accuracy and completeness of drug access information, and reduces the investment in manpower and material resources.
Smart Images

Figure CN119361111A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of information management, and in particular to a drug information management method and system based on electronic tags. Background Art
[0002] The work of drug management mainly includes drug classification, drug shelf placement and removal, regular drug inventory, and timely disposal of expired drugs. During the management process, the drug label content needs to be updated; the updated content includes drug name, drug quantity, and drug date, etc. The traditional method is to manually count the drugs, fill in the paper labels and stick them on the corresponding positions on the shelves; however, during each management process, there are many types and quantities of drugs, and it takes a lot of manpower and material resources to update the drug label content.
[0003] In the prior art, the traditional paper label is replaced with an electronic label with a visualization function, and then the drug label content stored in the electronic label is modified manually by operating the corresponding electronic device, and the degree of automation is low. Summary of the invention
[0004] The purpose of the present invention is to provide a drug information management method and system based on electronic tags, which solves the technical problem of inconvenient updating in the process of drug label information management in the prior art.
[0005] A first aspect of the present invention provides a drug information management method based on electronic tags, the method comprising: S1: Collect trigger data in the storage area where a drug is located. When the trigger data meets the preset trigger condition, the process of determining the drug information change begins; S2: Acquire a number of feature data, the number of feature data including a weight change curve of the medicines in the storage area and an image of the medicines to be stored and retrieved; S3: based on the image of the drug to be accessed, confirm the drug access information and mark the time stamp, the time stamp includes the acquisition time of the image of the drug to be accessed, and the time stamp is at least one; the drug access information includes the brand, name, production batch, production date and change quantity of the drug to be accessed; S4: Based on the weight change curve, check the name and changed quantity of the drug in the drug access information; after the check is passed, enter the name and changed quantity of the drug into the access information table; S5: Determine whether the drug information change process is completed; if so, update the label information of the electronic label corresponding to the drug according to the access information table.
[0006] Further, based on the image of the drug to be accessed, confirming the drug access information includes: Perform text recognition on the images of the drugs to be stored and accessed to obtain text information; Based on the text information, confirm the brand, name, production batch and production date of the drug; Identify the drugs in the drug image to be accessed and mark the drug frames, and filter and count the drug frames to obtain the number of drug changes.
[0007] Furthermore, based on the weight change curve, the name and change quantity of the drug in the drug access information are checked, including: Based on the weight change curve, several access behaviors are obtained; According to the standard unit weight of the medicine, confirm the access quantity and access time of each access behavior; Based on the time stamp of the drug access information and the access time of each access behavior, confirming multiple access behaviors associated with the drug access information; The changed quantity is checked according to the sum of the drug access quantities of multiple related access behaviors; when the changed quantity is equal to the sum of the drug access quantities, it is determined that the drug name and the changed quantity have been checked.
[0008] Furthermore, it also includes: when any access behavior has corresponding associated drug access information, it is determined that the drug information change process is completed; when there is an access behavior that has no corresponding associated drug access information, it is determined that the drug information change process is not completed, and steps S2-S4 are repeated until the drug information change process is completed.
[0009] Furthermore, based on the weight change curve, several access behaviors are obtained, including: The part of the weight data in the weight change curve that changes from stable to stable after continuous changes is marked as a weight fluctuation event; Obtain all weight fluctuation events and confirm the weight difference before and after each weight fluctuation event; When the weight difference before and after a weight fluctuation event is an integer multiple of the standard unit weight of the drug, the weight fluctuation event is determined to be an access behavior, and the weight fluctuation start time and the weight fluctuation end time are recorded as the access time.
[0010] Furthermore, when the weight difference before and after a weight fluctuation event is not an integer multiple of the standard unit weight of the drug and the weight difference is greater than the set weight difference, an alarm is issued.
[0011] Further, based on the time stamp of the drug access information and the access time of each access behavior, multiple access behaviors associated with the drug access information are confirmed, including: confirming a target time range based on at least one time stamp of the drug access information; When the access time of an access behavior is within the target time range, determining that the access behavior is associated with the drug access information; Get all access behaviors associated with drug access information.
[0012] Furthermore, the trigger data includes an infrared sensing signal and a pressure signal, and the preset trigger condition includes the generation of an infrared sensing signal and a change value of the pressure signal being greater than or equal to a preset change value.
[0013] Furthermore, the trigger data also includes a gesture trigger signal; the medicine storage area is provided with a gesture recognition area, and a gesture trigger signal is generated by executing a preset trigger gesture in the gesture recognition area; the preset trigger condition includes the generation of a gesture trigger signal.
[0014] A second aspect of the present invention provides a drug information management system based on electronic tags, which is used to implement a drug information management method based on electronic tags. The management system includes: A trigger module is used to collect trigger data in the storage area where a drug is located, and when the trigger data meets the preset trigger condition, it is determined that the drug information change process starts; A data acquisition module is used to obtain a number of characteristic data, wherein the plurality of characteristic data include a weight change curve of the medicines in the storage area and an image of the medicines to be stored and retrieved; An image recognition module, for confirming drug access information and marking a time stamp based on the image of the drug to be accessed, wherein the time stamp includes the acquisition time of the image of the drug to be accessed, and the time stamp is at least one; the drug access information includes the brand, name, production batch, production date and change quantity of the drug to be accessed; The data verification module verifies the name and changed quantity of the drug in the drug access information based on the weight change curve; after the verification, the name and changed quantity of the drug are entered into the access information table; The data processing module is used to determine whether the drug information change process is completed; if so, update the label information of the electronic label corresponding to the drug according to the access information table.
[0015] Compared with the prior art, the present invention has the following beneficial effects: The present invention automatically determines the start of the information change process by collecting trigger data and setting preset trigger conditions, so as to timely collect the weight change curve of the medicines in the storage area and the image of the medicines to be accessed; thereby quickly obtaining the medicine access information according to the image of the medicines to be accessed, and checking the medicine name and the change quantity in the medicine access information through the weight change curve to ensure the accuracy of the medicine access information; by setting the access information table and updating the label information of the electronic label according to the access information table after the information change process is completed, the medicine access information collected during the information change process is more complete. The technical problem of inconvenient update in the management process of medicine label information in the prior art is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a method step diagram of a drug information management method based on electronic tags of the present invention. DETAILED DESCRIPTION
[0017] The first aspect of the present invention, as Figure 1 As shown, a drug information management method based on electronic tags is provided, the method comprising: S1: Collect trigger data in the storage area where a drug is located. When the trigger data meets the preset trigger condition, the process of determining the drug information change begins; S2: Acquire a number of feature data, the number of feature data including a weight change curve of the medicines in the storage area and an image of the medicines to be stored and retrieved; S3: based on the image of the drug to be accessed, confirm the drug access information and mark the time stamp, the time stamp includes the acquisition time of the image of the drug to be accessed, and the time stamp is at least one; the drug access information includes the brand, name, production batch, production date and change quantity of the drug to be accessed; S4: Based on the weight change curve, check the name and changed quantity of the drug in the drug access information; after the check is passed, enter the name and changed quantity of the drug into the access information table; The name and quantity change of the drug are double-checked through the weight change curve and the standard unit weight of the drug. After the check is passed, the name and quantity change of the drug and other information are entered, and the access information table is confirmed; S5: Determine whether the drug information change process is completed; if so, update the label information of the electronic label corresponding to the drug according to the access information table.
[0018] In this embodiment, the electronic tag includes an RFID electronic tag; a storage module, a communication module and a display screen are provided in the electronic tag; when the label information of the electronic tag corresponding to the drug is updated according to the access information table, the access information table is entered into a special reading and writing device, and the reading and writing device is used to read and write the electronic tag, including writing to the storage module in the electronic tag and displaying it on the display screen.
[0019] The specific implementation process of this embodiment includes: This embodiment automatically determines the start of the information change process by collecting trigger data and setting preset trigger conditions, so as to timely collect the weight change curve of the medicines in the storage area and the image of the medicines to be accessed; thereby quickly obtaining the medicine access information according to the image of the medicines to be accessed, and checking the medicine name and the change quantity in the medicine access information through the weight change curve to ensure the accuracy of the medicine access information; by setting the access information table and updating the label information of the electronic label according to the access information table after the information change process is completed, the medicine access information collected during the information change process is more complete. The technical problem of inconvenient update in the management process of medicine label information in the prior art is solved.
[0020] In this embodiment, the medicines are stored on medicine shelves, which have multiple layers, and each layer of medicine shelves is provided with at least one storage area, and the storage area includes a tray, and a weighing sensor is provided at the bottom of the tray, which is used to collect the weight change curve of the medicines in the storage area after the trigger data reaches the preset trigger condition. The electronic tag of the medicine is fixed on the front of the medicine shelf and corresponds to the storage area of the medicine; In this embodiment, the image of the medicine to be accessed is collected by an image acquisition device. The image of the medicine to be accessed needs to be collected after the medicine is taken off the medicine shelf or before the medicine is placed on the shelf. The image acquisition device includes a smart phone.
[0021] In some embodiments, when accessing drugs, the drugs need to be placed on a specially set loading platform for collecting images of the drugs to be accessed. When extracting drugs, the images of the drugs to be accessed need to be collected before the drugs are officially extracted; when storing drugs, the images of the drugs to be accessed need to be collected before the drugs can be stored in the corresponding storage area.
[0022] In some embodiments, an image acquisition device is disposed at the top of each layer of the medicine shelf, that is, above the storage area, to obtain images of the medicines to be stored and accessed.
[0023] It should be noted that, in this embodiment, the electronic label is provided with a display screen to display label information, and the label information includes brand, name, production batch, and production date.
[0024] In this embodiment, the trigger data includes an infrared sensing signal and a pressure signal, and the preset trigger condition includes the generation of an infrared sensing signal and a change value of the pressure signal being greater than or equal to a preset change value.
[0025] In this embodiment, an infrared sensing sensor is used to collect infrared sensing signals, and a pressure sensor is provided at the bottom of the storage area to collect pressure signals; the infrared sensing sensor is provided at the electronic tag of the medicine shelf, and when a person approaches the medicine shelf, the infrared sensing sensor senses the person and generates an infrared sensing signal; when a user touches the medicine when accessing the medicine, the pressure sensor recognizes the person and generates a pressure signal; in some embodiments, the pressure sensor generates a pressure signal by fast-pick-and-release. In some embodiments, the pressure sensor can also be provided at the electronic tag, and the pressure signal is generated by pressing the pressure sensor.
[0026] In another embodiment of the present invention, the trigger data also includes a gesture trigger signal; the medicine storage area is provided with a gesture recognition area, and a gesture trigger signal is generated by performing a preset trigger gesture in the gesture recognition area; the preset trigger condition includes the generation of a gesture trigger signal. In this embodiment, a plurality of infrared sensing sensors are provided in the gesture recognition area, and the user completes the preset trigger gesture by passing his hands through the plurality of infrared sensing sensors along a preset path, and a gesture trigger signal is generated after completing the trigger gesture. In some embodiments, the gesture recognition area includes two infrared sensing sensors, and the two infrared sensing sensors are provided on both sides of the electronic tag. The two sides of the electronic tag include the left and right sides of the electronic tag and the upper and lower sides of the electronic tag. A gesture trigger signal is generated by waving on both sides of the electronic tag to avoid contamination caused by direct contact with the electronic tag.
[0027] According to another embodiment of the present invention, confirming drug access information based on the image of the drug to be accessed includes: Perform text recognition on the images of the drugs to be stored and accessed to obtain text information; Based on the text information, confirm the brand, name, production batch and production date of the drug; Identify the drugs in the drug image to be accessed and mark the drug frames, and filter and count the drug frames to obtain the number of drug changes.
[0028] The specific implementation process of this embodiment includes: In this embodiment, the image of the drug to be accessed is identified by text recognition technology to extract text information, and the text information is sorted to obtain the brand, name, production batch and production date of the drug; A standard drug image is acquired according to the brand, name and production batch of the drug. Based on the standard drug image, the drug in the image of the drug to be accessed is identified by target recognition technology and the drug frame is marked. In this embodiment, when the user places the drug for the image acquisition device to acquire the image of the drug to be accessed, the drug is placed in a preset posture, and the preset posture includes the drug packaging surface facing the image acquisition device, the drug packaging surface identification code facing the image acquisition device, and the drug is laid flat.
[0029] According to another embodiment of the present invention, based on the weight change curve, checking the name and the change quantity of the medicine in the medicine access information includes: Based on the weight change curve, several access behaviors are obtained; According to the standard unit weight of the medicine, confirm the access quantity and access time of each access behavior; Based on the time stamp of the drug access information and the access time of each access behavior, confirming multiple access behaviors associated with the drug access information; The changed quantity is checked according to the sum of the drug access quantities of multiple related access behaviors; when the changed quantity is equal to the sum of the drug access quantities, it is determined that the drug name and the changed quantity have been checked.
[0030] The specific implementation process of this embodiment includes: In this embodiment, based on the weight change curve, several access behaviors are obtained, including: The part of the weight change curve where the weight data changes from being stable to being stable after continuous changes is marked as a weight fluctuation event; When the medicines in the storage area are not stored or accessed, the weight data is a constant value. When the medicines are placed or taken out of the storage area, the weight data stabilizes to another constant value after a period of continuous change. The part of the weight change curve where the weight data stabilizes after continuous change is marked as a weight fluctuation event. The difference between the two constant values before and after the weight fluctuation event is the weight difference. The different weight differences before and after each fluctuation time indicate that the amount of medicines taken by the user each time is different. Obtain all weight fluctuation events and confirm the weight difference before and after each weight fluctuation event; When the weight difference before and after a weight fluctuation event is an integer multiple of the standard unit weight of the drug, the weight fluctuation event is determined to be an access behavior, and the weight fluctuation start time and the weight fluctuation end time are recorded as the access time.
[0031] Compared with other types of products, the production process of medicines is more rigorous and the standards are higher. Therefore, the weight error of medicines in the same production batch is smaller. The weight difference before and after the fluctuation and the standard unit weight of the medicine can be used to determine whether the weight fluctuation event is a storage and withdrawal behavior, as well as the storage and withdrawal quantity.
[0032] In this embodiment, when any access behavior has corresponding associated drug access information, it is determined that the drug information change process is completed; Each access behavior corresponds to the associated drug access information, indicating that the drugs added or reduced on the drug shelf correspond to the number of drugs in the drug image to be accessed, and no drugs are missed.
[0033] When there is an access behavior without corresponding associated drug access information, it is determined that the drug information change process has not been completed, and steps S2-S4 in the above management method are repeated until the drug information change process is completed.
[0034] It should be noted that when the weight difference before and after a weight fluctuation event is not an integer multiple of the standard unit weight of the drug and the weight difference is greater than the set weight difference, an alarm will be issued.
[0035] In this embodiment, based on the time stamp of the drug access information and the access time of each access behavior, multiple access behaviors associated with the drug access information are confirmed, including: confirming a target time range based on at least one time stamp of the drug access information; When the access time of an access behavior is within the target time range, determining that the access behavior is associated with the drug access information; Get all access behaviors associated with drug access information.
[0036] In this embodiment, when collecting images of drugs to be accessed, the collection time of each image of the drugs to be accessed is recorded as a time mark of the drug access information, and multiple collection times correspond to multiple time marks; the earliest time mark and the latest time mark are recorded as the basic time range; the left endpoint of the basic time range is confirmed according to the access behavior adjacent to the earliest time mark, for example, when the access behavior is to take the drug, the left endpoint is adjusted to expand the basic time range; when the access behavior is to store the drug, the left endpoint is adjusted to reduce the basic time range; the adjustment range is a preset adjustment range; in this embodiment, the preset adjustment range is obtained through big data, that is, big data statistics the time from the user accessing the drug from the drug shelf to the collection of the drug image to be accessed, to set the preset adjustment range.
[0037] Similarly, the right endpoint of the basic time range is confirmed according to the access behavior adjacent to the latest time mark; when the access behavior is to take medicine, the right endpoint is adjusted to expand the basic time range; when the access behavior is to store medicine, the left endpoint is adjusted to reduce the basic time range; the adjustment range is the preset adjustment range.
[0038] A second aspect of the present invention provides a drug information management system based on electronic tags, which is used to implement a drug information management method based on electronic tags. The management system includes: A trigger module is used to collect trigger data in the storage area where a drug is located, and when the trigger data meets the preset trigger condition, it is determined that the drug information change process starts; In some embodiments, the trigger module includes an infrared sensor and a pressure sensor, wherein the infrared sensor is used to collect infrared sensing signals, and the pressure sensor is used to collect pressure signals; In some other embodiments, the trigger module includes multiple infrared sensing sensors, which are arranged in a gesture recognition area according to a preset path to form a preset trigger gesture; a gesture trigger signal is generated by the preset trigger gesture passing through the multiple infrared sensing sensors on the preset path.
[0039] A data acquisition module, used to obtain a number of characteristic data, the plurality of characteristic data including a weight change curve of the medicines in the storage area and an image of the medicines to be stored and retrieved; In this embodiment, the data acquisition module includes a weight sensor and an image acquisition device. The weight sensor is used to acquire a weight change curve of the medicines in the storage area, and the image acquisition device is used to acquire images of the medicines to be stored and accessed.
[0040] An image recognition module, for confirming drug access information and marking a time stamp based on the image of the drug to be accessed, wherein the time stamp includes the acquisition time of the image of the drug to be accessed, and the time stamp is at least one; the drug access information includes the brand, name, production batch, production date and change quantity of the drug to be accessed; The data verification module verifies the name and changed quantity of the drug in the drug access information based on the weight change curve; after the verification, the name and changed quantity of the drug are entered into the access information table; The data processing module is used to determine whether the drug information change process is completed; if so, update the label information of the electronic label corresponding to the drug according to the access information table.
[0041] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A drug information management method based on electronic tags, characterized in that: The method comprises: S1: Collect trigger data in the storage area where a drug is located. When the trigger data meets the preset trigger condition, the process of determining the drug information change begins; S2: Acquire a number of feature data, the number of feature data including a weight change curve of the medicines in the storage area and an image of the medicines to be stored and retrieved; S3: based on the image of the drug to be accessed, confirm the drug access information and mark the time stamp, the time stamp includes the acquisition time of the image of the drug to be accessed, and the time stamp is at least one; the drug access information includes the brand, name, production batch, production date and change quantity of the drug to be accessed; S4: Based on the weight change curve, check the name and changed quantity of the drug in the drug access information; after the check is passed, enter the name and changed quantity of the drug into the access information table; S5: Determine whether the drug information change process is completed; if so, update the label information of the electronic label corresponding to the drug according to the access information table.
2. A drug information management method based on electronic tags as claimed in claim 1, characterized in that: Based on the image of the drug to be accessed, confirm the drug access information, including: Perform text recognition on the images of the drugs to be stored and accessed to obtain text information; Based on the text information, confirm the brand, name, production batch and production date of the drug; Identify the drugs in the drug image to be accessed and mark the drug frames, and filter and count the drug frames to obtain the number of drug changes.
3. A drug information management method based on electronic tags as claimed in claim 1, characterized in that: Based on the weight change curve, check the name and quantity of the drug in the drug access information, including: Based on the weight change curve, several access behaviors are obtained; According to the standard unit weight of the medicine, confirm the access quantity and access time of each access behavior; Based on the time stamp of the drug access information and the access time of each access behavior, confirming multiple access behaviors associated with the drug access information; The changed quantity is checked according to the sum of the drug access quantities of multiple related access behaviors; when the changed quantity is equal to the sum of the drug access quantities, it is determined that the drug name and the changed quantity have been checked.
4. A drug information management method based on electronic tags as claimed in claim 3, characterized in that: Also includes: When any access behavior has corresponding drug access information, it is determined that the drug information change process is completed; When there is an access behavior without corresponding associated drug access information, it is determined that the drug information change process has not been completed, and steps S2-S4 are repeated until the drug information change process is completed.
5. A drug information management method based on electronic tags as claimed in claim 4, characterized in that: Based on the weight change curve, several access behaviors are obtained, including: The part of the weight data in the weight change curve that changes from stable to stable after continuous changes is marked as a weight fluctuation event; Obtain all weight fluctuation events and confirm the weight difference before and after each weight fluctuation event; When the weight difference before and after a weight fluctuation event is an integer multiple of the standard unit weight of the drug, the weight fluctuation event is determined to be an access behavior, and the weight fluctuation start time and the weight fluctuation end time are recorded as the access time.
6. A drug information management method based on electronic tags as claimed in claim 5, characterized in that: When the weight difference before and after a weight fluctuation event is not an integer multiple of the standard unit weight of the drug and the weight difference is greater than the set weight difference, an alarm will be issued.
7. A drug information management method based on electronic tags as claimed in claim 6, characterized in that: Based on the time stamp of the drug access information and the access time of each access behavior, multiple access behaviors associated with the drug access information are identified, including: confirming a target time range based on at least one time stamp of the drug access information; When the access time of an access behavior is within the target time range, determining that the access behavior is associated with the drug access information; Get all access behaviors associated with drug access information.
8. The drug information management method based on electronic tags as claimed in claim 1, characterized in that: The trigger data includes an infrared sensing signal and a pressure signal, and the preset trigger condition includes the generation of an infrared sensing signal and a change value of the pressure signal being greater than or equal to a preset change value.
9. The drug information management method based on electronic tags as claimed in claim 1, characterized in that: The trigger data also includes a gesture trigger signal; the medicine storage area is provided with a gesture recognition area, and a gesture trigger signal is generated by performing a preset trigger gesture in the gesture recognition area; the preset trigger condition includes the generation of a gesture trigger signal.
10. A drug information management system based on electronic tags, used to implement the management method according to any one of claims 1 to 9, characterized in that: The management system comprises: A trigger module is used to collect trigger data in the storage area where a drug is located, and when the trigger data meets the preset trigger condition, it is determined that the drug information change process starts; A data acquisition module, used to obtain a number of characteristic data, the plurality of characteristic data including a weight change curve of the medicines in the storage area and an image of the medicines to be stored and retrieved; An image recognition module, for confirming drug access information and marking a time stamp based on the image of the drug to be accessed, wherein the time stamp includes the acquisition time of the image of the drug to be accessed, and the time stamp is at least one; the drug access information includes the brand, name, production batch, production date and change quantity of the drug to be accessed; The data verification module verifies the name and changed quantity of the drug in the drug access information based on the weight change curve; after the verification, the name and changed quantity of the drug are entered into the access information table; The data processing module is used to determine whether the drug information change process is completed; if so, update the label information of the electronic label corresponding to the drug according to the access information table.
Citation Information
Patent Citations
Chemical medicine management method and chemical medicine storage cabinet
CN106779392A
Medicine management device with packaged and bulk counting function and implementation method
CN111896090A
Dosage determination method and device
CN112086161A
Medicine checking method, device, computing equipment and system
CN114812775A
Drug counting method and device, storage medium and computer program product
CN116007728A