Intelligent medicine box prescription filling monitoring system

By using image acquisition and posture monitoring technology in the smart pill box, combined with a vibration motor to adjust the posture of the medicine, the problem of failure and dropping of the medicine caused by improper posture of the medicine is solved, and the stability and success rate of medicine grabbing are improved.

CN118560908AInactive Publication Date: 2024-08-30LIUZHOU CITY VOCATIONAL COLLEGE
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410488791.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2024-08-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Due to the different postures of the medicines in the existing smart medicine boxes during the medicine grabbing process, the success rate of medicine grabbing is not high and the medicine is prone to drop.

Method used

By introducing the acquisition image acquisition subsystem, target attitude monitoring subsystem and response operation determination subsystem into the smart pill box, the vibration motor is used to adjust the posture of the medicine to ensure that the medicine is grasped in the appropriate posture to avoid falling of the medicine.

Benefits of technology

It improves the stability and success rate of taking medicine from the smart pill box, avoids the dropping of medicines during the process of taking medicine, and enhances the accuracy and efficiency of taking medicine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118560908A
    Figure CN118560908A
Patent Text Reader

Abstract

The invention provides an intelligent medicine box prescription filling monitoring system, and the system comprises a collected image obtaining subsystem which is used for obtaining a collected image in a medicine taking box before the intelligent medicine box executes a prescription filling operation; the target posture monitoring subsystem is used for monitoring the target posture of the target medicine in the medicine taking box according to the collected image; the response operation determination subsystem is used for determining the response operation of the vibration motor according to the target attitude and controlling the vibration motor to execute; and the prescription filling subsystem is used for controlling the intelligent medicine box to execute prescription filling operation when the target posture conforms to the prescription filling posture. According to the intelligent medicine box prescription filling monitoring system, the target posture of the target medicine is monitored according to the collected image in the medicine taking box before the intelligent medicine box executes the prescription filling operation, the response operation of the vibration motor is determined according to the target posture, and the vibration motor is controlled to execute; when the target posture conforms to the prescription filling posture, the intelligent medicine box is controlled to execute the prescription filling operation, and the stability of prescription filling of the intelligent medicine box is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer vision, and in particular to an intelligent medicine box dispensing monitoring system. Background Art

[0002] The medicine dispensing monitoring function of the smart medicine box is an innovative solution that combines IoT technology, sensor technology and mobile applications, and is designed to help users ensure that they take their medicines on time, in the right amount and correctly. This function is of great significance in improving medication compliance, ensuring medication safety, optimizing medication management and supporting remote health monitoring. It provides users with a comprehensive medication management solution that not only improves the safety and effectiveness of medication, but also provides a convenient monitoring tool for users' families and medical service providers.

[0003] The invention patent with application number: CN201810406760.0 discloses an intelligent reminder system for Chinese medicine suitable for two people to pick medicine at the same time, including a Chinese medicine storage cabinet, a medicine picking terminal and a medicine prescribing terminal. The Chinese medicine storage cabinet includes multiple drawers, and each drawer is provided with a reminder area on the side facing the user, and is respectively provided with a corresponding controller, each controller is respectively connected to the reminder area on its corresponding drawer, each controller is connected to the medicine picking terminal, and the medicine picking terminal is connected to the medicine prescribing terminal. A weight sensor is provided in each drawer, and each weight sensor is connected to the controller of the corresponding drawer. The medicine picking terminal controls the reminder area on the drawer through the controller on the drawer according to the medicine prescribing information provided by the medicine prescribing terminal. The above invention can realize the reminder of two people picking medicine at the same time, and the accuracy of the entire reminder process is high, so that the accuracy and efficiency of picking medicine are high.

[0004] However, medicinal materials or medicines are placed in different postures, and the success rate of the medicine picking terminal for medicines in different postures is different. Directly picking up the medicines in the drawer grid may easily cause the medicines to fall during the picking process, and the medicine picking process is not stable enough.

[0005] In view of this, there is an urgent need for an intelligent medicine box dispensing monitoring system to at least solve the above-mentioned shortcomings. Summary of the invention

[0006] One of the purposes of the present invention is to provide a smart medicine box medicine dispensing monitoring system. Before the smart medicine box performs the medicine dispensing operation, the target posture of the target medicine in the medicine dispensing box is monitored based on the captured image in the medicine dispensing box, and the response operation of the vibration motor is determined according to the target posture, and the vibration motor is controlled to perform the response operation. When the target posture meets the medicine dispensing posture, the smart medicine box is controlled to perform the medicine dispensing operation, thereby avoiding the falling of medicines during the medicine dispensing process and improving the stability of the smart medicine box in dispensing medicine.

[0007] An embodiment of the present invention provides a smart medicine box dispensing monitoring system, comprising:

[0008] The image acquisition subsystem is used to acquire the image in the medicine box before the smart medicine box performs the medicine dispensing operation;

[0009] The target posture monitoring subsystem is used to monitor the target posture of the target medicine in the medicine box according to the collected image;

[0010] The response operation determination subsystem is used to determine the response operation of the vibration motor according to the target posture, and control the vibration motor to perform the response operation until the target posture meets the medicine picking posture;

[0011] The medicine picking subsystem is used to control the smart medicine box to perform the medicine picking operation when the target posture meets the medicine picking posture.

[0012] Preferably, the target posture monitoring subsystem includes:

[0013] A local image determination module is used to determine the local image selected by the target detection box in the captured image based on the target detection technology;

[0014] An object detection frame shape determination module is used to determine the object detection frame shape of a local image;

[0015] The posture information determination module is used to determine the target posture of the target medicine inside the medicine box according to the shape of the target detection frame.

[0016] Preferably, the posture information determination module includes:

[0017] A target projection determination submodule, used to obtain a target projection of a target drug;

[0018] The minimum enclosing rectangle acquisition submodule is used to obtain the minimum enclosing rectangle of the target projection;

[0019] The shape matching submodule is used to perform shape matching between the target detection frame shape and the minimum bounding rectangle, determine the minimum bounding rectangle that meets the shape matching requirements, and use it as the first target rectangle;

[0020] A rectangle number acquisition submodule, used to acquire the rectangle number of the first target rectangle;

[0021] The target posture determination submodule is used to determine the target posture according to the number of rectangles;

[0022] Among them, the target posture determination submodule includes:

[0023] a first target posture determining unit, configured to determine the target posture according to a projection direction of a target projection corresponding to the first target rectangle and a rotation posture of a target model corresponding to the first target rectangle if the number of rectangles is 1;

[0024] An image feature acquisition unit, used for acquiring projection features of the target projection if the number of rectangles is greater than 1, and at the same time, acquiring image features of the local image;

[0025] A second target rectangle determination unit is used to perform feature matching according to the projection feature and the image feature to determine a second target rectangle with matching features in the first target rectangle;

[0026] The target posture second determining unit is used to determine the target posture according to the projection direction of the target projection corresponding to the second target rectangle and the rotation posture of the target model corresponding to the second target rectangle.

[0027] Preferably, the response operation determination subsystem includes:

[0028] A response operation library acquisition module is used to acquire a response operation library of the vibration motor, wherein the response operation library includes: one-to-one corresponding pre-response operations and preset postures;

[0029] The response operation determination module is used to match the preset posture with the target posture, and take the pre-response operation corresponding to the preset posture that matches the posture match as the response operation.

[0030] Preferably, the medicine picking subsystem includes:

[0031] The target drug absorption subsystem is used to control the smart medicine box to absorb the target drug when the target posture meets the medicine picking posture, wherein when the smart medicine box is controlled to absorb the target drug, one unit of the target drug is absorbed each time;

[0032] The medicine dispensing stop determination subsystem is used to stop dispensing medicine when the number of target medicines sucked reaches the target number.

[0033] Preferably, the target drug absorption subsystem further includes:

[0034] The drop monitoring module is used to monitor drug drops when controlling the smart medicine box to absorb target drugs, and when at least one dropped target drug is detected, control the smart medicine box to re-absorb.

[0035] Preferably, the fall monitoring module comprises:

[0036] A first absorption parameter change information acquisition submodule, used to acquire first absorption parameter change information of the absorption device when controlling the smart medicine box to absorb the target medicine;

[0037] A first absorption parameter characteristic curve determining submodule, used for determining a first absorption parameter characteristic curve according to the first absorption parameter change information;

[0038] A first curve feature set determination submodule, used to determine a first curve feature set based on a preset curve feature extraction template and according to a first absorption parameter feature curve;

[0039] The target medication dispensing record acquisition submodule is used to obtain the target medication dispensing record;

[0040] A second absorption parameter change information determination submodule, used to determine the second absorption parameter change information according to the target medicine dispensing record;

[0041] A second absorption parameter characteristic curve determining submodule, used for determining a second absorption parameter characteristic curve according to the second absorption parameter change information;

[0042] A second curve feature set determination submodule, for determining a second curve feature set based on a curve feature extraction template and according to a second absorption parameter feature curve;

[0043] The monitoring result determination submodule is used to perform curve feature matching on the first curve feature set and the second curve feature set. If there is a curve feature match, the monitoring result of the drug drop monitoring is that there is a target drug dropped.

[0044] Preferably, the target medication record acquisition submodule includes:

[0045] A first historical medicine dispensing test record acquisition unit, used to acquire a first historical medicine dispensing test record;

[0046] A second historical medicine dispensing test record screening unit is used to screen the second historical medicine dispensing test record according to the test result of the first historical medicine dispensing test record, wherein the second historical medicine dispensing test record is: a second historical medicine dispensing test record with a test result of medicine dropping;

[0047] An irregular test action acquisition unit, used for parsing the second historical medicine dispensing test record, and trying to acquire irregular test actions;

[0048] A third historical medicine dispensing test record screening unit is used to remove the corresponding second historical medicine dispensing test record if the acquisition attempt is successful, and use the remaining second historical medicine dispensing test record as the third historical medicine dispensing test record;

[0049] A drug drop simulation unit, used to perform drug drop simulation according to the third historical drug dispensing test record and obtain a drug drop simulation model;

[0050] The target medicine dispensing record determination unit is used to determine the target medicine dispensing record according to the medicine drop simulation model.

[0051] Preferably, the irregular test action acquisition unit includes:

[0052] The first test action set acquisition subunit is used to parse the second historical medicine dispensing test record and acquire the first test action set;

[0053] The time determination subunit is used to obtain the drug drop time in the second historical drug dispensing test record and determine the action time of the first test action set;

[0054] A target time difference determination subunit, used to determine the target time difference according to the drug drop time and the action time;

[0055] A second test action set determination subunit, configured to use the first test action set as the second test action set if the target time difference is a positive value;

[0056] A test type determination subunit, used to determine the test type of the second test action set;

[0057] The non-standard test action library determining subunit is used to determine the non-standard test action library according to the test type, and the non-standard test action library includes: a third test action set;

[0058] An action matching value obtaining subunit, used for performing action matching on the second test action set and the third test action set to obtain an action matching value;

[0059] A first drop correlation coefficient determination subunit, used to determine a first drop correlation coefficient according to a test type;

[0060] A second drop correlation coefficient determination subunit, configured to determine a second drop correlation coefficient according to a target time difference and a preset drop correlation coefficient conversion template;

[0061] A target correlation coefficient calculation subunit, used to calculate the sum of the first drop correlation coefficient and the second drop correlation coefficient to obtain the target correlation coefficient;

[0062] The irregular value determination subunit is used to multiply the target association coefficient and the action matching value to obtain the irregular value;

[0063] The irregular test action determination subunit is used to use the corresponding second test action set as the irregular test action to be attempted to obtain if the irregular value is greater than or equal to a preset irregular value threshold.

[0064] An embodiment of the present invention provides a smart medicine box dispensing monitoring method, comprising:

[0065] Step 1: Before the smart medicine box performs the medicine dispensing operation, the captured image in the medicine dispensing box is obtained;

[0066] Step 2: Based on the collected image, monitor the target posture of the target drug in the medicine box;

[0067] Step 3: According to the target posture, determine the response operation of the vibration motor, and control the vibration motor to perform the response operation until the target posture meets the medicine picking posture;

[0068] Step 4: When the target posture meets the medicine picking posture, control the smart medicine box to perform the medicine picking operation.

[0069] Preferably, step 2: monitoring the target posture of the target medicine in the medicine box according to the collected image includes:

[0070] Based on the target detection technology, determine the local image selected by the target detection box in the captured image;

[0071] Determine the shape of the target detection box of the local image;

[0072] According to the shape of the target detection frame, the target posture of the target medicine inside the medicine box is determined.

[0073] Preferably, determining the target posture of the target medicine inside the medicine box according to the shape of the target detection frame includes:

[0074] Acquire a target projection of a target drug;

[0075] Get the minimum enclosing rectangle of the target projection;

[0076] Perform shape matching between the target detection frame shape and the minimum enclosing rectangle, determine the minimum enclosing rectangle that meets the shape matching requirements, and use it as the first target rectangle;

[0077] Get the number of rectangles of the first target rectangle;

[0078] Determine the target posture based on the number of rectangles.

[0079] Preferably, step 4: when the target posture meets the medicine picking posture, controlling the smart medicine box to perform the medicine picking operation includes:

[0080] When the target posture meets the medicine picking posture, the smart medicine box is controlled to absorb the target medicine, wherein when the smart medicine box is controlled to absorb the target medicine, one unit of the target medicine is absorbed each time;

[0081] When the number of target drugs sucked reaches the target number, the drug dispensing is stopped.

[0082] The beneficial effects of the present invention are:

[0083] Before the smart medicine box performs the medicine picking operation, the present invention monitors the target posture of the target medicine in the medicine picking box according to the captured image in the medicine picking box, determines the response operation of the vibration motor according to the target posture, and controls the vibration motor to perform the response operation. When the target posture meets the medicine picking posture, the smart medicine box is controlled to perform the medicine picking operation, thereby avoiding the falling of the medicine during the medicine suction process and improving the stability of the smart medicine box in picking medicine.

[0084] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in the present application documents.

[0085] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0087] Figure 1 A schematic diagram of a smart medicine box dispensing monitoring system according to an embodiment of the present invention;

[0088] Figure 2 Schematic diagram of a smart medicine box medicine dispensing monitoring method in an embodiment of the present invention. DETAILED DESCRIPTION

[0089] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0090] The embodiment of the present invention provides a smart medicine box dispensing monitoring system. Figure 1 As shown, including:

[0091] The image acquisition subsystem 1 is used to acquire the captured image in the medicine dispensing box before the smart medicine box performs the medicine dispensing operation; wherein the smart medicine box is: a medicine dispensing robot that regularly distributes the required medicines to the medicine taker, and when the smart medicine box performs the medicine dispensing operation, the required medicines are sucked from the medicine dispensing box storing the medicines to the medicine dispensing box through the medicine suction tube; the medicine dispensing box is: a medicine box for storing the grabbed medicines; the captured image is: an image of the medicine dispensing box taken by a camera preset on the medicine suction tube;

[0092] The target posture monitoring subsystem 2 is used to monitor the target posture of the target drug in the medicine box according to the collected image; wherein the target posture is: the display posture of the target drug in the medicine box, for example: the tablets are laid flat in the medicine box, and for example: tablet A is placed on tablet B;

[0093] The response operation determination subsystem 3 is used to determine the response operation of the vibration motor according to the target posture, and control the vibration motor to perform the response operation until the target posture meets the medicine picking posture; wherein the vibration motor is: a motor that controls the target medicine in the medicine box to be spread flat; the response operation is: an operation instruction of whether the vibration motor performs a vibration spreading operation; the medicine picking posture is: a display posture of the target medicine that is suitable for the suction nozzle of the medicine suction tube of the smart medicine box to be sucked;

[0094] The medicine picking subsystem 4 is used to control the smart medicine box to perform the medicine picking operation when the target posture meets the medicine picking posture.

[0095] The working principle and beneficial effects of the above technical solution are:

[0096] Before the smart medicine box performs the medicine picking operation, the present application monitors the target posture of the target medicine in the medicine picking box based on the captured image inside the medicine picking box, determines the response operation of the vibration motor based on the target posture, and controls the vibration motor to perform the response operation. When the target posture meets the medicine picking posture, the smart medicine box is controlled to perform the medicine picking operation, thereby avoiding the falling of medicines during the medicine suction process and improving the stability of the smart medicine box in picking medicines.

[0097] In one embodiment, the target posture monitoring subsystem includes:

[0098] The local image determination module is used to determine the local image selected by the target detection frame in the acquired image based on the target detection technology; wherein the target detection frame is: a detection rectangular frame for identifying the target during target detection; the local image is: a local acquired image area corresponding to the target detection frame;

[0099] The target detection frame shape determination module is used to determine the target detection frame shape of the local image; wherein the target detection frame shape is: the shape information of the target detection frame, such as: a rectangle with a certain length and width;

[0100] The posture information determination module is used to determine the target posture of the target medicine inside the medicine box according to the shape of the target detection frame.

[0101] The working principle and beneficial effects of the above technical solution are:

[0102] When determining the target posture of the target drug, the three-dimensional scanning method is used and then the morphological matching is performed in sequence, which requires a large amount of calculation. Therefore, the present application obtains a local image selected by the target detection frame, and determines the target posture of the target drug inside the medicine box according to the shape of the target detection frame, thereby improving the efficiency of determining the target posture.

[0103] In one embodiment, the posture information determination module includes:

[0104] The target projection determination submodule is used to obtain the target projection of the target drug; wherein the process of obtaining the target projection of the target drug is: obtaining the target model of the target drug, controlling the random rotation of the target model, and determining the target projection of the target model on a preset two-dimensional plane during the random rotation process; the target model is: a 3D model of the target drug, which is obtained by performing a three-dimensional scan of the target drug in advance;

[0105] The minimum bounding rectangle acquisition submodule is used to acquire the minimum bounding rectangle of the target projection; wherein the minimum bounding rectangle is: the minimum rectangle that can enclose the target projection;

[0106] The shape matching submodule is used to perform shape matching between the target detection frame shape and the minimum enclosing rectangle, determine the minimum enclosing rectangle that the shape matching meets, and use it as the first target rectangle; wherein the shape matching meets the requirement that the aspect ratio of the target detection frame shape is consistent with the aspect ratio of the minimum enclosing rectangle;

[0107] The rectangle number acquisition submodule is used to acquire the rectangle number of the first target rectangle; wherein the rectangle number is: the number of the smallest circumscribed rectangles for which the shape matching is successful;

[0108] The target posture determination submodule is used to determine the target posture according to the number of rectangles;

[0109] Among them, the target posture determination submodule includes:

[0110] a first target posture determination unit, for determining the target posture according to the projection direction of the target projection corresponding to the first target rectangle and the rotation posture of the target model corresponding to the first target rectangle if the number of rectangles is 1; wherein the target posture when the number of rectangles is 1 is: the rotation posture of the target model corresponding to the first target rectangle viewed from the opposite direction of the projection direction of the target projection corresponding to the first target rectangle;

[0111] An image feature acquisition unit is used to acquire the projection feature of the target projection if the number of rectangles is greater than 1, and at the same time, acquire the image feature of the local image; wherein the projection feature is: the image feature result of the target model corresponding to the first target rectangle viewed from the opposite direction of the projection direction of the target projection, such as: grayscale, corner point and edge; the image feature of the local image is: the feature representation of the local image, such as: grayscale, corner point and edge of the local image;

[0112] A second target rectangle determination unit is used to perform feature matching according to the projection feature and the image feature to determine a second target rectangle with matching features in the first target rectangle;

[0113] The second target posture determination unit is used to determine the target posture according to the projection direction of the target projection corresponding to the second target rectangle and the rotation posture of the target model corresponding to the second target rectangle. Wherein, the target posture when the number of rectangles is greater than 1 is: the rotation posture of the target model corresponding to the second target rectangle viewed from the opposite direction of the projection direction of the target projection corresponding to the second target rectangle.

[0114] The working principle and beneficial effects of the above technical solution are:

[0115] The present application obtains the target model of the target drug, controls the random rotation of the target model, and obtains the target projection of the target model in a preset two-dimensional plane during the random rotation process. The target detection frame shape and the minimum circumscribed rectangle of the obtained target projection are matched to obtain the first target rectangle that matches the shape. Since different postures may have the same shape of the target detection frame shape, the number of rectangles of the first target rectangle may not be 1. When the number of rectangles is only one, it can be directly determined that the rotation posture of the target model viewed from the opposite direction of the projection direction of the target projection corresponding to the first target rectangle is the target posture. When the number of rectangles is greater than one, it is necessary to further obtain information, match the image features of the target model corresponding to the first target rectangle viewed in the opposite direction of the target projection with the image features of the local image, determine the second target rectangle, and use the rotation posture of the target model corresponding to the second target rectangle viewed from the opposite direction of the projection direction of the target projection corresponding to the second target rectangle as the target posture, thereby improving the acquisition efficiency and accuracy of the target posture.

[0116] In one embodiment, the response operation determines the subsystem, including:

[0117] The response operation library acquisition module is used to acquire the response operation library of the vibration motor, and the response operation library includes: one-to-one corresponding pre-response operations and preset postures; wherein the pre-response operation is a vibration control instruction of the vibration motor set manually in advance; the preset posture is: the trigger posture of the pre-response operation;

[0118] The response operation determination module is used to match the preset posture with the target posture, and take the pre-response operation corresponding to the preset posture that matches the posture match as the response operation.

[0119] The working principle and beneficial effects of the above technical solution are:

[0120] The present application introduces a response operation library of a vibration motor, performs posture matching between a target posture and a preset posture in the response operation library, and determines a pre-response operation corresponding to a preset posture that matches the posture match as a response operation, thereby improving the accuracy of response operation recognition.

[0121] In one embodiment, the medicine picking subsystem includes:

[0122] The target drug absorption subsystem is used to control the smart medicine box to absorb the target drug when the target posture meets the medicine picking posture, wherein when the smart medicine box is controlled to absorb the target drug, one unit of the target drug is absorbed each time;

[0123] The medicine dispensing stop determination subsystem is used to stop dispensing medicine when the number of target medicines absorbed reaches the target number, wherein the target number is determined according to the medicine dispensing demand of the medicine taker when dispensing medicine.

[0124] The working principle and beneficial effects of the above technical solution are:

[0125] This application controls the smart medicine box to absorb a target number of target medicines after the target posture meets the medicine picking posture, and the medicine picking process is more stable.

[0126] In one embodiment, the target drug aspiration subsystem further includes:

[0127] The drop monitoring module is used to monitor drug drops when controlling the smart medicine box to absorb target drugs. When at least one dropped target drug is detected, the smart medicine box is controlled to re-absorb. Among them, drug drop monitoring is: monitoring whether there is any drug dropped during the drug dispensing process.

[0128] The working principle and beneficial effects of the above technical solution are:

[0129] When the smart medicine box absorbs the target medicine, there is a phenomenon that the suction nozzle and the target medicine are not in close contact with each other, resulting in the target medicine falling during the absorption process. Therefore, the present application performs drug falling monitoring. When there is a dropped target medicine, the smart medicine box is controlled to re-absorb it, thereby improving the accuracy of drug picking.

[0130] In one embodiment, the fall monitoring module includes:

[0131] The first suction parameter change information acquisition submodule is used to acquire the first suction parameter change information of the suction device when controlling the smart medicine box to suck the target medicine; wherein the suction device is: a medicine suction tube connected to the high-pressure pump; the first suction parameter change information is: device information of the suction device, such as: high-pressure pump pressure information and nozzle pressure sensing information, etc.;

[0132] A first suction parameter characteristic curve determination submodule is used to determine a first suction parameter characteristic curve according to the first suction parameter change information; wherein the first suction parameter characteristic curve is a curve drawn based on the first suction parameter characteristics after characterizing the first suction parameter change information, such as a high-pressure pump pressure curve and a suction nozzle pressure sensing curve;

[0133] The first curve feature set determination submodule is used to determine the first curve feature set based on a preset curve feature extraction template and a first absorption parameter feature curve; wherein the preset curve feature extraction template is a template for extracting first curve features by comparing the first absorption parameter feature curve, and the first curve features include: shape, slope and peak value of the curve, etc.;

[0134] The target medication dispensing record acquisition submodule is used to acquire the target medication dispensing record; wherein the target medication dispensing record is: a process record of the situation where medication is dropped during the medication dispensing test in the past;

[0135] The second absorption parameter change information determination submodule is used to determine the second absorption parameter change information according to the target medicine dispensing record; wherein the second absorption parameter change information is: the device parameter record of the absorption device in the target medicine dispensing record;

[0136] A second absorption parameter characteristic curve determination submodule, used to determine a second absorption parameter characteristic curve according to the second absorption parameter change information; wherein the construction rule of the second absorption parameter characteristic curve is the same as the first absorption parameter characteristic curve;

[0137] A second curve feature set determination submodule, for determining a second curve feature set based on a curve feature extraction template and according to a second absorption parameter feature curve;

[0138] The monitoring result determination submodule is used to perform curve feature matching on the first curve feature set and the second curve feature set. If there is a curve feature match, the monitoring result of the drug drop monitoring is that there is a target drug dropped.

[0139] The working principle and beneficial effects of the above technical solution are:

[0140] The present application obtains the first absorption parameter change information of the absorption device when the smart medicine box absorbs the target drug, characterizes the first absorption parameter change information, and draws the first absorption parameter characteristic curve based on the first absorption parameter characteristic. A curve feature extraction template is introduced to determine the first curve feature set corresponding to the first absorption parameter characteristic curve. The target drug dispensing record is obtained, and the second absorption parameter change information in the target drug dispensing record is extracted. Based on the same acquisition rules as the first curve feature set, the second curve feature set is determined according to the second absorption parameter change information. The first curve feature set and the second curve feature set are matched with each other. When there is a curve feature match, it is determined that the target drug has fallen and needs to be re-absorbed, thereby improving the accuracy of drug drop monitoring.

[0141] In one embodiment, the target medication dispensing record acquisition submodule includes:

[0142] A first historical medicine dispensing test record acquisition unit is used to acquire a first historical medicine dispensing test record; wherein the first historical medicine dispensing test record is: a process record of a historical medicine dispensing test;

[0143] A second historical medicine dispensing test record screening unit is used to screen a second historical medicine dispensing test record according to a test result of the first historical medicine dispensing test record, wherein the second historical medicine dispensing test record is: a second historical medicine dispensing test record with a test result of medicine dropping;

[0144] The irregular test action acquisition unit is used to parse the second historical medicine dispensing test record and try to obtain the irregular test action; wherein the irregular test action is: an irregular test behavior in the test process corresponding to the second historical medicine dispensing test record, such as: the smart medicine box is hit during the test process;

[0145] A third historical medicine dispensing test record screening unit is used to remove the corresponding second historical medicine dispensing test record if the acquisition attempt is successful, and use the remaining second historical medicine dispensing test record as the third historical medicine dispensing test record;

[0146] The drug drop simulation unit is used to perform drug drop simulation according to the third historical drug dispensing test record and obtain a drug drop simulation model; wherein the drug drop simulation model is: a demonstration model simulating the drug drop process;

[0147] The target medicine dispensing record determination unit is used to determine the target medicine dispensing record according to the medicine drop simulation model. When determining the target medicine dispensing record according to the medicine drop simulation model, the simulation record with the simulation result that the medicine drops is used as the target medicine dispensing record.

[0148] The working principle and beneficial effects of the above technical solution are:

[0149] Although it is reasonable to extract the second curve feature set based on the historical medication records with drug drop phenomenon, it is not comprehensive enough, because not all possible situations where drug drop may occur in history. Therefore, this application obtains the first historical medication test record and screens out the second historical medication test record with the test result of drug drop. In addition, considering the impact of non-standard test actions on the medication process, the third historical medication test record is obtained. Based on the third historical medication test record, a drug drop simulation is performed to obtain a drug drop simulation model, and the simulation record with the simulation result of the drug drop simulation model as the presence of drug drop is used as the target medication record, thereby improving the comprehensiveness of the acquisition of the target medication record.

[0150] In one embodiment, the irregular test action acquisition unit includes:

[0151] The first test action set acquisition subunit is used to parse the second historical medicine dispensing test record to acquire the first test action set; wherein the action occurrence time difference between any two first test actions in the first test action set is less than a preset action occurrence time difference threshold;

[0152] The time determination subunit is used to obtain the drug drop time in the second historical drug dispensing test record, and at the same time, determine the action time of the first test action set; wherein the action time is: the median time point of the action occurrence time of the first test action in the first test action set;

[0153] The target time difference determination subunit is used to determine the target time difference according to the drug drop time and the action time; wherein the target time difference is: the drug drop time minus the action time;

[0154] The second test action set determination subunit is used to use the first test action set as the second test action set if the target time difference is a positive value; wherein, if the target time difference is a positive value, it means that the first test action set occurs before the drug drop event;

[0155] The test type determination subunit is used to determine the test type of the second test action set; wherein the test type is: the type of test action corresponding to the second test action set, such as: the action of setting the medication demand;

[0156] The irregular test action library determining subunit is used to determine the irregular test action library according to the test type, wherein the irregular test action library includes: a third test action set; wherein the third test action set is: an irregular action sequence of the test type;

[0157] An action matching value acquisition subunit is used to match the second test action set with the third test action set to obtain an action matching value; wherein the action matching value indicates the degree of non-standardization of the second test action set, and the larger the action matching value, the higher the corresponding degree of non-standardization;

[0158] The first drop correlation coefficient determination subunit is used to determine the first drop correlation coefficient according to the test type; wherein the first drop correlation coefficient corresponding to the test type is manually preset, and the higher the first drop correlation coefficient, the more likely it is that the test action of the test type is not standardized and will cause the drug to drop;

[0159] The second drop correlation coefficient determination subunit is used to determine the second drop correlation coefficient according to the target time difference and a preset drop correlation coefficient conversion template; wherein the preset drop correlation coefficient conversion template is a template manually preset for generating the second drop correlation coefficient by comparing the target time difference, and the smaller the target time difference, the larger the second drop correlation coefficient;

[0160] A target correlation coefficient calculation subunit, used to calculate the sum of the first drop correlation coefficient and the second drop correlation coefficient to obtain the target correlation coefficient;

[0161] The irregular value determination subunit is used to multiply the target association coefficient and the action matching value to obtain the irregular value;

[0162] The irregular test action determination subunit is used to use the corresponding second test action set as the irregular test action to be attempted if the irregular value is greater than or equal to a preset irregular value threshold. The preset irregular value threshold is manually preset.

[0163] The working principle and beneficial effects of the above technical solution are:

[0164] When acquiring non-standard test actions, the present application acquires a first test action set in which the action occurrence time difference between any two first test actions is less than a preset action occurrence time difference threshold, and determines the target time difference according to the drug drop time in the second historical drug picking test record and the action time of the first test action set. If the target time difference is a positive value, it means that the first test action set occurs before the drug drop event, which may cause the drug to drop, and the first test action set is used as the second test action set. The action matching value of the third test action set in the non-standard test action library corresponding to the second test action set and the test type is obtained. In addition, the target correlation coefficient is determined according to the test type and the target time difference, and the target correlation coefficient and the action matching value are multiplied to obtain the non-standard value, thereby improving the accuracy of obtaining the non-standard value and obtaining the non-standard test action more accurately.

[0165] The embodiment of the present invention provides a smart medicine box dispensing monitoring method, such as Figure 2 As shown, including:

[0166] Step 1: Before the smart medicine box performs the medicine dispensing operation, the captured image in the medicine dispensing box is obtained;

[0167] Step 2: Based on the collected image, monitor the target posture of the target drug in the medicine box;

[0168] Step 3: According to the target posture, determine the response operation of the vibration motor, and control the vibration motor to perform the response operation until the target posture meets the medicine picking posture;

[0169] Step 4: When the target posture meets the medicine picking posture, control the smart medicine box to perform the medicine picking operation.

[0170] In one embodiment, step 2: monitoring the target posture of the target drug in the drug box according to the collected image includes:

[0171] Based on the target detection technology, determine the local image selected by the target detection box in the captured image;

[0172] Determine the shape of the target detection box of the local image;

[0173] According to the shape of the target detection frame, the target posture of the target medicine inside the medicine box is determined.

[0174] In one embodiment, determining the target posture of the target medicine inside the medicine box according to the shape of the target detection frame includes:

[0175] Acquire a target projection of a target drug;

[0176] Get the minimum enclosing rectangle of the target projection;

[0177] Perform shape matching between the target detection frame shape and the minimum enclosing rectangle, determine the minimum enclosing rectangle that meets the shape matching requirements, and use it as the first target rectangle;

[0178] Get the number of rectangles of the first target rectangle;

[0179] Determine the target posture based on the number of rectangles.

[0180] In one embodiment, step 4: when the target posture meets the medicine picking posture, controlling the smart medicine box to perform the medicine picking operation includes:

[0181] When the target posture meets the medicine picking posture, the smart medicine box is controlled to absorb the target medicine, wherein when the smart medicine box is controlled to absorb the target medicine, one unit of the target medicine is absorbed each time;

[0182] When the number of target drugs sucked reaches the target number, the drug dispensing is stopped.

[0183] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. An intelligent medicine box dispensing monitoring system, characterized in that: include: The image acquisition subsystem is used to acquire the image in the medicine box before the smart medicine box performs the medicine dispensing operation; The target posture monitoring subsystem is used to monitor the target posture of the target medicine in the medicine box according to the collected image; The response operation determination subsystem is used to determine the response operation of the vibration motor according to the target posture, and control the vibration motor to perform the response operation until the target posture meets the medicine picking posture; The medicine picking subsystem is used to control the smart medicine box to perform the medicine picking operation when the target posture meets the medicine picking posture.

2. The intelligent medicine box dispensing monitoring system as claimed in claim 1, characterized in that: Target attitude monitoring subsystem, including: A local image determination module is used to determine the local image selected by the target detection box in the captured image based on the target detection technology; An object detection frame shape determination module is used to determine the object detection frame shape of a local image; The posture information determination module is used to determine the target posture of the target medicine inside the medicine box according to the shape of the target detection frame.

3. The intelligent medicine box dispensing monitoring system as claimed in claim 2, characterized in that: The posture information determination module includes: A target projection determination submodule, used to obtain a target projection of a target drug; The minimum enclosing rectangle acquisition submodule is used to obtain the minimum enclosing rectangle of the target projection; The shape matching submodule is used to perform shape matching between the target detection frame shape and the minimum bounding rectangle, determine the minimum bounding rectangle that meets the shape matching requirements, and use it as the first target rectangle; A rectangle number acquisition submodule, used to acquire the rectangle number of the first target rectangle; The target posture determination submodule is used to determine the target posture according to the number of rectangles.

4. The intelligent medicine box dispensing monitoring system as claimed in claim 1, characterized in that: Medicine dispensing subsystem, including: The target drug absorption subsystem is used to control the smart medicine box to absorb the target drug when the target posture meets the medicine picking posture, wherein when the smart medicine box is controlled to absorb the target drug, one unit of the target drug is absorbed each time; The medicine dispensing stop determination subsystem is used to stop dispensing medicine when the number of target medicines sucked reaches the target number.

5. The intelligent medicine box dispensing monitoring system as claimed in claim 4, characterized in that: The target drug absorption subsystem also includes: The drop monitoring module is used to monitor drug drops when controlling the smart medicine box to absorb target drugs, and when at least one dropped target drug is detected, control the smart medicine box to re-absorb.

6. The intelligent medicine box dispensing monitoring system as claimed in claim 5, characterized in that: Fall monitoring module, including: A first absorption parameter change information acquisition submodule, used to acquire first absorption parameter change information of the absorption device when controlling the smart medicine box to absorb the target medicine; A first absorption parameter characteristic curve determining submodule, used for determining a first absorption parameter characteristic curve according to the first absorption parameter change information; A first curve feature set determination submodule, used to determine a first curve feature set based on a preset curve feature extraction template and according to a first absorption parameter feature curve; The target medication dispensing record acquisition submodule is used to acquire the target medication dispensing record; A second absorption parameter change information determination submodule, used to determine the second absorption parameter change information according to the target medicine dispensing record; A second absorption parameter characteristic curve determining submodule, used for determining a second absorption parameter characteristic curve according to the second absorption parameter change information; A second curve feature set determination submodule, for determining a second curve feature set based on a curve feature extraction template and according to a second absorption parameter feature curve; The monitoring result determination submodule is used to perform curve feature matching on the first curve feature set and the second curve feature set. If there is a curve feature match, the monitoring result of the drug drop monitoring is that there is a target drug dropped.

7. A method for monitoring the dispensing of medicines in an intelligent medicine box, characterized in that: include: Step 1: Before the smart medicine box performs the medicine dispensing operation, the captured image in the medicine dispensing box is obtained; Step 2: Based on the collected image, monitor the target posture of the target drug in the medicine box; Step 3: According to the target posture, determine the response operation of the vibration motor, and control the vibration motor to perform the response operation until the target posture meets the medicine picking posture; Step 4: When the target posture meets the medicine picking posture, control the smart medicine box to perform the medicine picking operation.

8. A smart medicine box dispensing monitoring method as claimed in claim 7, characterized in that: Step 2: Based on the collected image, monitor the target posture of the target drug in the medicine box, including: Based on the target detection technology, determine the local image selected by the target detection box in the captured image; Determine the shape of the target detection box of the local image; According to the shape of the target detection frame, the target posture of the target medicine inside the medicine box is determined.

9. A smart medicine box dispensing monitoring method as claimed in claim 8, characterized in that: According to the shape of the target detection frame, the target posture of the target medicine inside the medicine box is determined, including: Acquire a target projection of a target drug; Get the minimum enclosing rectangle of the target projection; Perform shape matching between the target detection frame shape and the minimum enclosing rectangle, determine the minimum enclosing rectangle that meets the shape matching requirements, and use it as the first target rectangle; Get the number of rectangles of the first target rectangle; Determine the target posture based on the number of rectangles.

10. The intelligent medicine box dispensing monitoring method according to claim 7, characterized in that: Step 4: When the target posture meets the medicine picking posture, the smart medicine box is controlled to perform the medicine picking operation, including: When the target posture meets the medicine picking posture, the smart medicine box is controlled to absorb the target medicine, wherein when the smart medicine box is controlled to absorb the target medicine, one unit of the target medicine is absorbed each time; When the number of target drugs sucked reaches the target number, the drug dispensing is stopped.

Citation Information

Cited By

  • Processing method applied to intelligent medicine selling machine for grabbing emphasized medicines

    CN120126250A