CN109190644B - Injection medicine identification method and device based on colors and storage medium - Google Patents

Injection medicine identification method and device based on colors and storage medium Download PDF

Info

Publication number
CN109190644B
CN109190644B CN201811102005.XA CN201811102005A CN109190644B CN 109190644 B CN109190644 B CN 109190644B CN 201811102005 A CN201811102005 A CN 201811102005A CN 109190644 B CN109190644 B CN 109190644B
Authority
CN
China
Prior art keywords
color
medicine
identification
preset
colors
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.)
Active
Application number
CN201811102005.XA
Other languages
Chinese (zh)
Other versions
CN109190644A (en
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.)
Shenzhen Lachesis Mobile Medical Technology Co ltd
Original Assignee
Shenzhen Lachesis Mobile Medical Technology 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 Shenzhen Lachesis Mobile Medical Technology Co ltd filed Critical Shenzhen Lachesis Mobile Medical Technology Co ltd
Priority to CN201811102005.XA priority Critical patent/CN109190644B/en
Publication of CN109190644A publication Critical patent/CN109190644A/en
Application granted granted Critical
Publication of CN109190644B publication Critical patent/CN109190644B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/56Extraction of image or video features relating to colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • G06V10/225Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition based on a marking or identifier characterising the area

Abstract

The invention discloses an injection medicine identification method, equipment and a storage medium based on colors, wherein the method comprises the following steps: receiving a first identification color collected from the medicine bottle body by a color collection device; comparing the first identification color with a plurality of different pre-set colors of pre-stored medicines; if the preset colors of the medicines have the same color as the first identification color, the medicine name corresponding to the preset color of the medicine is obtained from a first mapping model mapped by the preset colors of the medicine and the medicine, and counting statistics of the medicine name is carried out. The invention improves the accuracy and efficiency of statistic identification in the injection medicine management process, and avoids medical accidents caused by misplacement and misuse.

Description

Injection medicine identification method and device based on colors and storage medium
Technical Field
The invention relates to the technical field of medicine identification, in particular to an injection medicine identification method and device based on colors and a storage medium.
Background
In a medical system, injection medicines are widely used in operating room medicine cabinets, ICU ward medicine cabinets, hospitalized ward medicine cabinets, vein configuration medicine center medicine cabinets and the like, and generally are placed in ampoule bottles or penicillin bottles in a sealed mode. The method mainly comprises two methods when the traditional medicine cabinet manages injection medicines, firstly, the needed medicines are input firstly through flow management, a system automatically prompts the position, and the accurate medicines are obtained at the corresponding positions of the medicine cabinet, wherein the counting of the quantity is performed by a weighing method, the weighing method has instability and needs to be calibrated at regular time, so the counting accuracy is poor, and the efficiency is low. The second method is to place injection medicines between infrared sensors and count the number of medicines according to whether infrared signals are received or not, and the method is relatively accurate in counting the number, but when different injection medicines have bottle bodies with the same size and specification, the method cannot distinguish the medicines to cause counting errors. The statistical errors easily cause the problems of misplacing and misusing of subsequent medicines, and medical accidents are easily caused.
Therefore, the prior art has yet to be developed.
Disclosure of Invention
In view of the defects of the prior art, the invention aims to provide an injection medicine identification method, equipment and a storage medium based on colors, and aims to improve the accuracy and efficiency of statistics identification in injection medicine management and avoid medical accidents caused by misplacement and misuse.
In order to realize the purpose, the invention adopts the following technical scheme:
an injection medicine identification method based on colors comprises the following steps:
receiving a first identification color collected from the medicine bottle body by a color collection device;
comparing the first identification color with a plurality of different pre-set colors of pre-stored medicines;
if the preset colors of the medicines have the same color as the first identification color, the medicine name corresponding to the preset color of the medicine is obtained from a first mapping model mapped by the preset colors of the medicine and the medicine, and counting statistics of the medicine name is carried out.
Preferably, after comparing the first identification color with a plurality of different pre-set colors of medicines stored in advance, the method further comprises the following steps:
and if the preset colors of the medicines do not have the color same as the first identification color, sending out an early warning signal.
Preferably, the method further comprises the following steps after counting statistics of the drug name:
identifying actual position information of medicine storage;
acquiring a preset medicine storage position corresponding to a preset medicine color from a preset medicine storage position and a second mapping model mapped by the preset medicine color;
comparing the actual position information with preset medicine storage position information;
and if the actual position information is different from the preset medicine storage position information, sending out an early warning signal.
Preferably, the comparing the first identification color with a plurality of different pre-set colors of pre-stored medicines specifically includes the following steps:
converting the first identification color into an actual color number value Colort;
acquiring a preset color number value Colors which is prestored in the first mapping model and corresponds to a preset color of the medicine;
calculating the difference value between the actual color number value Colort and the preset color number value Colors to obtain a difference value Y;
and comparing the difference value Y with a preset error value X, and judging that the first identification color is the same as the preset color of the medicine if the absolute value of the difference value Y is less than or equal to the error value X.
Preferably, the method further comprises the following steps after counting statistics of the drug name:
receiving a second identification color acquired from the medicine bottle body by the color acquisition device, wherein the second identification color and the first identification color are arranged at intervals;
comparing the second identification color with a plurality of different pre-set colors of pre-stored medicines;
and if the preset colors of the medicines have the same color as the second identification color, acquiring the effective period of the medicines corresponding to the preset colors of the medicines from a pre-constructed third mapping model for mapping the effective period of the medicines and the preset colors of the medicines, and counting the effective period of the medicines.
Preferably, the method further comprises the following steps after counting statistics of the drug name:
receiving a second identification color acquired from the medicine bottle body by the color acquisition device, wherein the second identification color and the first identification color are arranged at intervals;
comparing the second identification color with a plurality of different pre-set colors of pre-stored medicines;
if the preset colors of the medicines have the same color as the second identification color, acquiring the medicine batch corresponding to the preset color of the medicine from a fourth mapping model which is constructed in advance and is mapped by the preset colors of the medicine, and counting the medicine batch.
Preferably, the receiving color collecting device further comprises and stores ambient light information collected by the receiving color collecting device before the first identification color collected by the medicine bottle body, and the ambient light information is used for identifying whether the medicine exists or not.
The invention further provides injection medicine identification equipment, wherein the injection medicine identification equipment comprises a memory, a processor and a computer program which is stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the identification method is realized.
Preferably, the color acquisition device is further included, and the color acquisition device comprises one or more of an RGB color sensor, a tristimulus color sensor and an image acquisition sensor.
The present invention also provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when being executed, the computer program implements the above-mentioned identification method.
According to the injection medicine identification method based on colors, the injection medicine identification equipment based on colors and the storage medium, the first identification color is set in the injection medicine bottle body in advance, the color collection device collects the first identification colors on different medicine bottle bodies, the first identification color is compared with a plurality of different pre-stored medicine preset colors, the medicine name corresponding to the preset medicine color is obtained from a pre-established first mapping model for mapping the medicine name and the preset medicine color, and counting statistics of the medicine name is carried out. The method has the advantages that the medicine is automatically contrasted and identified by adopting the color and the preset color mapping model of the medicine name and the medicine which are constructed in advance, and the medicine is counted, so that the accuracy is high, the counting speed is high, the efficiency is high, the management of injection medicines is convenient, and meanwhile, the medical accident risk caused by the wrong placement and the wrong use of the medicine due to the wrong identification and counting is avoided.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
FIG. 1 is a schematic diagram of a system environment of the method for identifying color-based drugs for injection according to the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of the method for identifying color-based drugs for injection according to the present invention;
FIG. 3 is a schematic flow chart illustrating a comparison process of a first embodiment of the method for identifying injection drugs based on color according to the present invention;
FIG. 4 is a schematic flow chart illustrating a second embodiment of the method for identifying color-based drugs for injection according to the present invention;
FIG. 5 is a schematic flow chart illustrating a third embodiment of the method for identifying color-based drugs for injection according to the present invention;
FIG. 6 is a schematic flow chart illustrating a fourth embodiment of the method for identifying color-based drugs for injection according to the present invention;
FIG. 7 is a schematic view of a first application scenario of the color-based method for identifying injection drugs according to the present invention;
fig. 8 is a schematic view of a second application scenario of the color-based injection drug identification method of the present invention.
Fig. 9 is a schematic view of a third application scenario of the color-based injection drug identification method of the present invention.
Description of reference numerals:
100-medicine bottle, 100 a-ampoule bottle, 100 b-penicillin bottle, 101-bottle bottom, 102-bottle cap, 201-first identification color, 202-second identification color, 300-color acquisition device, 301-RGB color sensor, 302-tristimulus color sensor, 303-image acquisition sensor, 400-host computer, 500-medicine storage unit.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a system environment of a color-based injection drug identification method according to the present invention, including a host 400, a color collection device 300 electrically connected to the host, and a drug storage unit 500, where the drug storage unit 500 stores a plurality of injection drug vials 100, and identification colors are set on the drug vials. The color collecting device 300 may be one or more devices, and can collect the identification color information on each medicine bottle 100 on the medicine storage unit 500 and transmit the identification color information to the host 400, and the host 400 performs conversion, identification, statistics and other processing on the color information. It is understood that, in other embodiments of the present invention, the method for identifying an injection medicine based on color may also be applied in other system environments, such as a smart phone receiving and processing the identification color information acquired by the color acquisition device 300.
The body of the medicine bottle 100 according to the embodiment of the present invention includes an ampoule bottle or a vial bottle. In practical application, a plurality of different or same types of medicines are respectively placed in a plurality of storage positions of the medicine storage unit 500, such as a medicine cabinet, the color collection device 300 may be provided in a plurality and respectively installed in each storage position of the medicine storage unit 500, or a single color collection device 300 may be provided to collect color information of each storage position of the medicine bottle 100 in the medicine storage unit 500.
Referring to fig. 2, fig. 2 is a flow chart of the color-based injection drug identification method of the present invention, including the following steps:
and S10, receiving the first identification color collected from the medicine bottle body by the color collection device.
In the embodiment of the present invention, the color collecting device 300 includes one or more of an RGB color sensor, a tristimulus color sensor, and an image capturing sensor, so as to be suitable for different color collecting modes. Of course, in other embodiments, the color collecting device 300 may be other sensor devices capable of acquiring color information.
In the embodiment of the invention, the first identification color can be arranged on the bottle body of the injection medicine in a spraying way, a pasting paper way, a color ring way and the like; the first identification color can be arranged at the bottom, cap and other parts of the injection medicine bottle body, and the shape of the first identification color on the bottle body can be circular, square, triangular, pyramidal, parabolic and other shapes.
And S20, comparing the first identification color with a plurality of different preset medicine colors stored in advance.
The preset colors of a plurality of different medicines need to be stored in advance, different injection medicines correspond to different colors one by one, for example, lidocaine for anesthesia stores the preset color of the medicine to be red, epinephrine for rescue stores the preset color of the medicine to be blue, and the like. After the first identification color sent by the color acquisition device 300 is obtained, the first identification color is compared with the preset colors of different medicines one by one. The comparison mode can adopt modes such as sequential query or interval query.
And S30, if the preset colors of the medicines have the same color as the first identification color, acquiring the medicine name corresponding to the preset color of the medicine from a first mapping model mapped by the preset colors of the medicine and the medicine, and counting the medicine name.
The first mapping model is a model for mapping the medicine name and the preset medicine color one by one, and the first mapping model needs to be constructed manually in advance.
If a plurality of injection medicine names are respectively A1, A2, … and An, the first identification Color is ColorA1, Color A2, … and Color An which is respectively sprayed on the medicine bottle bodies of the corresponding types. And respectively establishing a mapping relation between the medicine names and the preset medicine colors thereof in a host with a control system to form a first mapping model, wherein if the preset medicine color corresponding to the medicine name A1 is ColorB1, the color number corresponding to the medicine name A2 is ColorB2, and so on, the preset medicine color corresponding to the medicine name An is ColorBn. Thus, in the comparison process, when the first identification color ColorA1 is the same as the preset color of a certain medicine, ColorB1 obtains the medicine name a1 corresponding to ColorB1 from the first mapping model, and counts the medicines a 1. Since the Color sampling device 300 may be provided in plurality and respectively installed at each storage location of the medicine storage unit 500, each Color sampling device 300 samples the first identification Color ColorA1 or Color a2, or Color An on the medicine bottle body at each storage location; alternatively, a single Color collecting device 300 may be provided to collect the first identification Color ColorA1 or Color a2, or Color An of the medicine bottle body in each storage location in the medicine storage unit 500. This requires repeating the above steps S20 and S30 until the identification and comparison of the medicines in each storage position of the storage unit 500 is completed. If necessary, the steps S10 to S30 may be repeated again to perform re-identification statistics after the medicine in the storage unit 500 is replaced.
The embodiment of the invention adopts the color identification mode to automatically compare, identify and count the injection medicines, has high accuracy and high counting speed and efficiency, is convenient for the management of the injection medicines, and can accurately identify different first identification colors even if different medicines have the same bottle body size specification, thereby avoiding the medical accident risk caused by wrong placement and use of the medicines due to wrong identification and statistics.
Specifically, as shown in fig. 3, one specific comparative embodiment in step S20 is as follows:
s21, converting the first identification color into an actual color number value, ColorT.
Different conversion modes can be used according to different color acquisition devices 300, including one or more of an RGB color sensor, a tristimulus color sensor and an image acquisition sensor
If the RGB color sensor is used for collecting the first identification color, the conversion of the actual color number value Colort is carried out according to the color numbers divided by the three primary colors CIE-RGB values corresponding to the colors; if the tristimulus color sensor is used for collecting the first identification color, the conversion of the actual color number value Colort is carried out according to the color numbers divided by the three primary colors CIE-XYZ values corresponding to the colors, and the two conversion values can be converted through the corresponding mathematical formula relationship.
And S22, acquiring a Colors of a preset color number value which is prestored in the first mapping model and corresponds to the preset color of the medicine.
And correspondingly setting a preset color number value Colors in each preset color ColorBn of the medicine in the first mapping model, storing the preset color number value ColorS, and calling out the preset color number value ColorBn for comparison with ColorT in the comparison process.
And S23, calculating the difference between the actual color number value Colort and the preset color number value Colors to obtain a difference Y.
Considering the influence of the system and the environment, a certain error is allowed to exist between the actual color number value Colort and the preset color number value Colors in the design, so the difference Y between the actual color number value Colort and the preset color number value Colors is adopted for comparison.
And S24, comparing the difference Y with a preset error value X, and if the absolute value of the difference Y is less than or equal to the error value X, judging that the first identification color is the same as the preset color of the medicine.
And designing the error value X in an operating range to ensure the identification accuracy, and judging that the first identification color on the medicine bottle body is the same as the preset color of the medicine when the absolute value of the difference value Y is within the error value X so as to perform subsequent medicine name acquisition and statistics.
In the embodiment of the present invention, it is preferable that the following step is further included after the step of S20:
and if the preset colors of the medicines do not have the color same as the first identification color, sending out an early warning signal.
Therefore, injection drug managers or users can be prompted to store drugs which are not misplaced in the drug storage unit 500, so that timely checking is facilitated, and misplacement and misuse of the drugs are avoided.
Preferably, the embodiment of the present invention further includes, before the step S10, receiving and storing ambient light information collected by the color collection device 300, where the ambient light information is used for identifying whether the medicine is present or not.
When the actual color number value ColorT of the first identification color collected by the color collecting device 300 is very close to the color number value of the ambient light, it is determined that the medicine is on the storage position of the medicine storage unit 500, so as to further improve the accuracy of the medicine identification statistics.
With continued reference to fig. 4, as another embodiment of the method for identifying color-based injections according to the present invention, the method further includes the following steps after step S30:
and S41, identifying the actual position information of the medicine storage.
In the embodiment of the invention, medicines of A1, A2, … and An types are respectively placed at different actual spatial positions of K1, K2 and … Kn.
When the color collecting device 300 is arranged beside each medicine bottle, the actual position information of each adopted color collecting device 300 can be preset as the actual position information of medicine storage; when the single color collecting device 300 is set, the position information of each medicine bottle body on the image is adopted as the actual position information.
And S42, acquiring a preset medicine storage position corresponding to the preset medicine color from a second mapping model which is constructed in advance and maps the preset medicine storage position and the preset medicine color.
The second mapping model is a model for mapping the preset storage positions of the medicines and the preset colors of the medicines one by one, and the second mapping model needs to be constructed manually in advance.
The preset colors of the medicines, ColorB1, Color B2, … and Color Bn, and the preset storage positions of the medicines, J1, J2 and … Jn are established into a one-to-one mapping relation to form a second mapping model.
And S43, comparing the actual position information with the preset medicine storage position information.
After the first identification color of the medicine bottle body is compared with the preset color of the medicine and has the same color, the actual position information Kn of the medicine is further compared with the preset storage position Jn of the medicine, and therefore the medicine can be judged to be misplaced without mutual replacement among a plurality of storage positions of the medicine storage unit 500.
And S44, if the actual position information is different from the preset medicine storage position information, sending out an early warning signal.
If the actual position information Kn of the medicine is not the same as the preset medicine storage position Jn, it indicates that the storage position of the medicine on the medicine storage unit 500 is misplaced, and further sends an early warning signal to prompt a medicine manager or a user.
When operating room or ICU are rescued, medical staff are in a high tension state, complex medicine marks are easy to be mistakenly seen, particularly, the ampoule bottles are easy to be mistakenly used when the specifications are the same, and once the medicine is mistakenly used, the fatal risk exists. Therefore, in this embodiment, the medicine storage unit 500 is set to be stored at a fixed position according to the difference of the medicines, and even if there are a plurality of different injection medicines in the process of an operation or a rescue, if the storage position of the medicine storage unit 500 is wrong, the method of this embodiment can immediately send out an early warning signal so as to be replaced to the correct position in time. Therefore, in emergency, medical personnel only need to get the medicine from a fixed position, and the risk of taking the medicine by mistake is avoided.
As another embodiment of the method for identifying an injection drug based on color in the present invention, please refer to fig. 5, which further includes the following steps after step S30:
s51, receiving a second identification color collected from the medicine bottle body by the color collection device, wherein the second identification color and the first identification color are arranged at intervals;
the color collecting device 300 in this embodiment may be separately arranged to be distinguished from the color collecting device 300 for collecting the first identification color, or the color collecting device 300 for collecting the first identification color may be adopted.
The second identification color can be arranged on the bottle body of the injection medicine in a spraying mode, a pasting color paper mode, a color ring mode and the like; the second identification color can be arranged at the bottom, cap and other parts of the injection medicine bottle body, and the shape of the second identification color on the bottle body can be circular, square, triangular, pyramidal, parabolic and other shapes. The second identification color is spaced from the first identification color for identification of different functions.
S52, comparing the second identification color with a plurality of different preset colors of pre-stored medicines;
and S53, if the preset colors of the medicines have the same color as the second identification color, acquiring the effective period of the medicines corresponding to the preset colors of the medicines from a pre-constructed third mapping model for mapping the effective period of the medicines and the preset colors of the medicines, and counting the effective period of the medicines.
If the effective periods of a plurality of types of injection medicines are respectively C1, C2, … and Cn, and the second identification colors of ColorC1, Color C2, … and Color Cn are respectively sprayed on the bottle bodies of the corresponding types of medicine bottles. And respectively establishing a mapping relation between the drug validity periods and the preset colors of the drugs in the host with the control system to form a third mapping model, wherein if the preset color of the drug corresponding to the drug validity period C1 is ColorD1, the color number of the drug corresponding to the drug validity period C2 is ColorD2, and so on, the preset color of the drug corresponding to the drug validity period Cn is ColorDn. Thus, in the comparison process, when the second identification color ColorC1 is the same as the preset color of a certain medicine, ColorD1 is obtained, the medicine validity period C1 corresponding to ColorD1 is obtained from the third mapping model, and the medicine validity periods C1 are counted.
Therefore, in the injection medicine management, the counting and counting management can be carried out on various valid periods of the same or different medicines, the medicines to be overdue can be checked in time, and the medicines in the valid periods can be purchased in time according to the use progress of a hospital.
As another embodiment of the method for identifying an injection drug based on color in the present invention, please refer to fig. 6, which further includes the following steps after step S30:
s61, receiving a second identification color collected by the color collection device from the medicine bottle body, wherein the second identification color and the first identification color are arranged at intervals.
The color collecting device 300 in this embodiment may be separately arranged to be distinguished from the color collecting device 300 for collecting the first identification color, or the color collecting device 300 for collecting the first identification color may be adopted.
The second identification color can be arranged on the bottle body of the injection medicine in a spraying mode, a pasting color paper mode, a color ring mode and the like; the second identification color can be arranged at the bottom, cap and other parts of the injection medicine bottle body, and the shape of the second identification color on the bottle body can be circular, square, triangular, pyramidal, parabolic and other shapes. The second identification color is spaced from the first identification color for identification of different functions.
S62, comparing the second identification color with a plurality of different preset colors of pre-stored medicines;
and S63, if there is a color identical to the second identification color in the plurality of preset colors of the medicines, obtaining a medicine batch corresponding to the preset color of the medicine from a fourth mapping model mapped by the preset colors of the medicine batch and the medicine, and performing counting statistics on the medicine batch.
If the batches of the plurality of types of injection medicines are respectively E1, E2, … and En, and the second identification Color is Colore1, Color E2, … or Color En which is sprayed on the bottle bodies of the corresponding types of medicine bottles respectively. And respectively establishing a mapping relation between the medicine batches and the preset medicine colors thereof in a host with a control system to form a fourth mapping model, wherein, for example, the preset medicine color ColorF1 corresponding to the medicine batch E1, the color number corresponding to the medicine batch E2 is ColorF2, and so on, the preset medicine color corresponding to the medicine batch En is ColorFn. Thus, in the comparison process, when the second identification color ColorE1 is the same as the preset color of a certain medicine, ColorF1, the medicine batch E1 corresponding to ColorF1 is obtained from the fourth mapping model, and the medicine batch E1 is counted.
Therefore, in the injection medicine management, counting statistics management can be carried out on different batches of the same kind or different kinds of medicines, and the medicine taking condition of each batch of the medicines can be tracked and known.
As a specific application scenario of the method for identifying injection drugs based on color according to the present invention, please refer to fig. 7 to 9,
in an application scenario, as shown in fig. 7, in the scenario, the body of the medicine bottle 100 is an ampoule bottle 100a, a first identification color 201 is disposed at the bottom 101 of the ampoule bottle 100a, the RGB color sensor 301 is disposed at the bottom 101 to collect the first identification color 201, and the color-based injection medicine identification method is used to identify and count the medicine names, so as to determine whether the storage position of the ampoule bottle 100a on the medicine storage unit 500 is correct.
In an application scenario ii, as shown in fig. 8, the body of the medicine bottle 100 in the scenario is an ampoule bottle 100a, a cap 102 of the ampoule bottle 100a is provided with a second identification color 202, and a tristimulus color sensor 302 is disposed at the cap 102 to collect the second identification color 202, and identify the validity period or the batch of the medicine by using the injection medicine identification method based on the color, and perform statistics.
In an application scenario three, as shown in fig. 9, in the scenario, the vial body of the drug vial 100 is a penicillin vial 100b, the vial bottom 101 of the penicillin vial 100b is provided with a first identification color 201, the image acquisition sensor 303 is arranged at the vial bottom 101 of each penicillin vial 100b and collects the first identification color 201, and the injection drug identification method based on the color is used for identifying and counting the drug names.
Any combination of the above-described embodiments or technical features may be combined to form a new embodiment without conflict. For example, the RGB color sensor 301 captures the second identification color 202 and the tristimulus color sensor 302 captures the first identification color 201. The first identification color 201 is used as identification statistics for the expiration date of a drug or a drug lot, the second identification color 202 is used as identification statistics for a drug name, and so on.
The invention also provides an injection medicine identification device, which comprises a memory, a processor and a computer program, such as a color-based injection medicine identification program, stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, the identification method is realized, such as the identification method of steps S10-S30. The injection medicine identification equipment of this embodiment still includes color collection system, color collection system includes one or more in RGB color sensor, the tri-stimulus color sensor, the image acquisition sensor.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the asynchronous message processing terminal device.
The ampoule drug identification device may include, but is not limited to, a processor and a memory. It will be understood by those skilled in the art that the above components are merely examples of the ampoule identification device, and do not constitute a limitation of the ampoule identification device, and may include more or less components than the above components, or combine some components, or different components, for example, the ampoule identification device may further include an input/output device, a network access device, a bus, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor, and the processor is a control center of the injection drug identification device and connects various parts of the injection drug identification device by using various interfaces and lines.
The memory may be used to store the computer program and/or module, and the processor may implement various functions of the comic synthesis apparatus by executing or executing the computer program and/or module stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The invention also proposes a computer-readable storage medium, in which a computer program is stored which, when executed, implements the identification method described above.
The module/unit integrated by the injection medicine identification method based on color can be stored in a computer readable storage medium if the module/unit is realized in the form of a software functional unit and is sold or used as an independent product. The specific implementation manner of the computer-readable storage medium of the present invention is substantially the same as that of each embodiment of the color-based injection drug identification method, and is not described herein again.
It should be noted that the above-described device embodiments are merely illustrative, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. An injection medicine identification method based on colors is characterized by comprising the following steps:
receiving a first identification color collected from a medicine bottle body by a color collection device, wherein the color collection device is an RGB color sensor or a tristimulus color sensor;
comparing the first identification color with a plurality of different pre-set colors of pre-stored medicines;
if the preset colors of the medicines have the same color as the first identification color, acquiring the medicine name corresponding to the preset color of the medicine from a first mapping model mapped by the preset colors of the medicine and the medicine, and counting the medicine name;
after counting statistics of the medicine name, the method also comprises the following steps:
identifying actual position information of medicine storage;
acquiring a preset medicine storage position corresponding to a preset medicine color from a preset medicine storage position and a second mapping model mapped by the preset medicine color;
comparing the actual position information with preset medicine storage position information;
if the actual position information is different from the preset medicine storage position information, sending an early warning signal;
the step of comparing the first identification color with a plurality of different pre-set colors of pre-stored medicines specifically comprises the following steps:
converting the first identification color into an actual color number value Colort;
acquiring a preset color number value Colors which is prestored in the first mapping model and corresponds to a preset color of the medicine;
calculating the difference value between the actual color number value Colort and the preset color number value Colors to obtain a difference value Y;
and comparing the difference value Y with a preset error value X, and judging that the first identification color is the same as the preset color of the medicine if the absolute value of the difference value Y is less than or equal to the error value X.
2. The identification method according to claim 1, further comprising the following steps after comparing the first identification color with a plurality of different pre-set colors of drugs stored in advance:
and if the preset colors of the medicines do not have the color same as the first identification color, sending out an early warning signal.
3. The identification method according to claim 1, further comprising the following steps after counting statistics of the drug name:
receiving a second identification color acquired from the medicine bottle body by the color acquisition device, wherein the second identification color and the first identification color are arranged at intervals;
comparing the second identification color with a plurality of different pre-set colors of pre-stored medicines;
and if the preset colors of the medicines have the same color as the second identification color, acquiring the effective period of the medicines corresponding to the preset colors of the medicines from a pre-constructed third mapping model for mapping the effective period of the medicines and the preset colors of the medicines, and counting the effective period of the medicines.
4. The identification method according to claim 1, further comprising the following steps after counting statistics of the drug name:
receiving a second identification color acquired from the medicine bottle body by the color acquisition device, wherein the second identification color and the first identification color are arranged at intervals;
comparing the second identification color with a plurality of different pre-set colors of pre-stored medicines;
if the preset colors of the medicines have the same color as the second identification color, acquiring the medicine batch corresponding to the preset color of the medicine from a fourth mapping model which is constructed in advance and is mapped by the preset colors of the medicine, and counting the medicine batch.
5. The method of claim 1, further comprising receiving and storing ambient light information collected by the color collection device prior to the receiving the first identification color collected by the color collection device from the body of the drug vial, the ambient light information being used for identification of the presence or absence of the drug.
6. An ampoule identification device, comprising a memory, a processor and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the identification method according to any one of claims 1-5 when executing the computer program.
7. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the identification method according to any one of claims 1-5.
CN201811102005.XA 2018-09-20 2018-09-20 Injection medicine identification method and device based on colors and storage medium Active CN109190644B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811102005.XA CN109190644B (en) 2018-09-20 2018-09-20 Injection medicine identification method and device based on colors and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811102005.XA CN109190644B (en) 2018-09-20 2018-09-20 Injection medicine identification method and device based on colors and storage medium

Publications (2)

Publication Number Publication Date
CN109190644A CN109190644A (en) 2019-01-11
CN109190644B true CN109190644B (en) 2021-06-08

Family

ID=64909144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811102005.XA Active CN109190644B (en) 2018-09-20 2018-09-20 Injection medicine identification method and device based on colors and storage medium

Country Status (1)

Country Link
CN (1) CN109190644B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109883961A (en) * 2019-03-25 2019-06-14 深圳市联新移动医疗科技有限公司 A kind of injection similar drug identification device based on color

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930264A (en) * 2012-09-29 2013-02-13 李炳华 System and method for acquiring and analyzing commodity display information based on image identification technology
CN106610785A (en) * 2015-10-22 2017-05-03 阿里巴巴集团控股有限公司 Commodity object list information processing method and apparatus
CN107609825A (en) * 2017-09-28 2018-01-19 深圳多特医疗技术有限公司 A kind of material depot manages system
CN107714482A (en) * 2017-10-23 2018-02-23 宋彦震 Medicine distribution and alarm set of taking medicine based on Internet of Things
CN107862350A (en) * 2016-09-29 2018-03-30 网易(杭州)网络有限公司 Test paper detecting method, apparatus and system
CN108198226A (en) * 2018-01-10 2018-06-22 广东辰宜信息科技有限公司 A kind of ceramic color recognition methods, electronic equipment, storage medium and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015098399A1 (en) * 2013-12-27 2015-07-02 パナソニックヘルスケアホールディングス株式会社 Drug administration device and method for controlling drug administration device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930264A (en) * 2012-09-29 2013-02-13 李炳华 System and method for acquiring and analyzing commodity display information based on image identification technology
CN106610785A (en) * 2015-10-22 2017-05-03 阿里巴巴集团控股有限公司 Commodity object list information processing method and apparatus
CN107862350A (en) * 2016-09-29 2018-03-30 网易(杭州)网络有限公司 Test paper detecting method, apparatus and system
CN107609825A (en) * 2017-09-28 2018-01-19 深圳多特医疗技术有限公司 A kind of material depot manages system
CN107714482A (en) * 2017-10-23 2018-02-23 宋彦震 Medicine distribution and alarm set of taking medicine based on Internet of Things
CN108198226A (en) * 2018-01-10 2018-06-22 广东辰宜信息科技有限公司 A kind of ceramic color recognition methods, electronic equipment, storage medium and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Improving accuracy of medication identification in an older population using a medication bottle color symbol label system;Roberto Cardarelli 等;《BMC Family Practice》;20111231;第12卷;第1-8页 *
药品颜色标识管理在眼科玻璃体切割术中的应用;陈红 等;《中国临床护理》;20180131;第10卷(第1期);第43-45页 *
静脉给药环节常见错误原因分析及对策;徐美芳;《齐鲁护理杂志》;20111231;第17卷(第31期);第108-109页 *
颜色标识有效期在药品、物品管理中的应用;王俊 等;《第十五届全国泌尿外科学术会议论文集》;20080930;第252页 *

Also Published As

Publication number Publication date
CN109190644A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
US8319613B2 (en) Smart cap with communication function
US8269613B2 (en) Smart cap for a medicine container to dispense a medication while self-verifying medicine identity
US20130317852A1 (en) Medical device information portal
CN201115702Y (en) Medicine formula display device
CN103767871A (en) Medicine container and corresponding medicine taking reminding system
WO2015020334A1 (en) Method for providing qr code-based service for checking for occurrence of cocktail effect of drugs using smart device
KR20070116028A (en) System for supporting medicine filling operation
CN102599889B (en) Medical detector, physiologic information recognition methods and physiologic information acquisition methods
CN109190644B (en) Injection medicine identification method and device based on colors and storage medium
JPWO2018221167A1 (en) Medicine management system, cloud server, medicine packaging device, medicine packaging inspection device, sachet, and medicine management method
McCall et al. An automatic medication self-management and monitoring system for independently living patients
US20140025206A1 (en) Drug mixing preparation managing apparatus, drug mixing preparation managing system and control program
CN111063412A (en) Medication monitoring method, device and system
CN201058122Y (en) Automatically query prompter for medicament
CN111611325A (en) Intelligent management system for production materials
CN108198599A (en) Medicine allocation mistake early warning system
US20170348195A1 (en) Reminder system and methods for medication compliance
KR101062506B1 (en) Drug classification system using ingredient code and ingredient number and method
CN115206547A (en) Interactive health management system based on NFC (near field communication) tag and using method thereof
CN115602296A (en) Pharmacy data integration system
CN214540093U (en) Drug management system
CN108765647A (en) A kind of intelligence monitoring and managing method, system and computer readable storage medium
CN210073334U (en) Mobile intelligent blood sampling management system
KR101632054B1 (en) System and method for providing inquiry service of the medical supplies information using a mobile terminal
CN206833279U (en) A kind of medicine intelligent management system

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
GR01 Patent grant
GR01 Patent grant