A smart medicine box
By using speakers and LED screens in the smart pill box to remind patients to take medication, and ensuring the correct time and dosage through safety locks and remote control modules, the problems of difficulty in identifying drugs and missed and missed and missed doses in the existing smart pill box. Improve the accuracy and safety of taking medication.
Patent Information
- Application Number
- CN202410502094.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-04-25
AI Technical Summary
The existing smart medicine boxes cannot display the types of medicines taken at different times during actual use, which makes it difficult for elderly patients to identify and easily miss or mistaken.
The speaker is used to send out voice reminders and the LED screen to display drug information. The safety lock and remote control module ensure that the patient takes the correct medication at the right time to prevent mistreatment and missed treatment.
It improves the accuracy and safety of patients taking medication, avoids identification difficulties caused by small marking fonts, ensures that the medication is taken on time and in doses, and enhances the convenience of use.
Smart Images

Figure CN118319758B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart medicine boxes, in particular to a smart medicine box. Background Art
[0002] Due to the continuous decline of body functions, even healthy elderly people need to take various medicines regularly every day to ensure their health. However, in real life, it is often found that even young people with good memory often forget to take medicine, resulting in insufficient intake of medicine.
[0003] The Chinese patent with the publication number CN211535643U discloses a smart medicine box, including a smart medicine box body and a reminder mechanism, the reminder mechanism is arranged on the smart medicine box body, the smart medicine box body includes a smart medicine box shell, a connecting hinge, a baffle and a connecting buckle, and a cylindrical partition is arranged at the midpoint of the inner wall of the smart medicine box shell, and the cylindrical partition and the smart medicine box shell are fixedly connected by five medicine box partitions. The patent realizes a smart medicine box through the mutual cooperation between the smart medicine box body and the reminder mechanism, the main function of which is to ensure that people who need to take medicine, such as patients with Alzheimer's disease and depression, can take medicine on time. The dial time is from 6 o'clock to 20 o'clock, and 14 hours covers the time for patients to take medicine. Patients can set the time for taking medicine by themselves. The reminder method is voice and light synchronous activation. Each partition has a small LED light to remind patients to take medicine during this period, and the opening and closing of the circuit can be controlled when the baffle door is opened and closed.
[0004] The smart medicine box of the above patent cannot display during actual use. It is difficult for elderly patients to identify different types of medicines taken at different time periods. If the patient forgets to take the medicine box, he often forgets to take the medicine at the corresponding time point. The next time he takes the medicine, he takes the wrong medicine at the last or next time point, which will result in missed or wrong doses. Therefore, it does not meet the existing needs. We have proposed a smart medicine box. Summary of the invention
[0005] The purpose of the present invention is to provide a smart medicine box, which can send out voice reminders through a speaker and light up an LED screen, so that patients can quickly find the medicines they need to take when taking the medicines, avoid the situation where the font of the mark is small and it is difficult for elderly patients to recognize. The medicine storage space is automatically locked if it is not opened for more than minutes, avoiding the situation where patients miss the medication time and are prone to confusion when taking the medicines later. It can ensure that patients can take the medicines accurately, improve the convenience of use, and solve the problems raised in the above-mentioned background technology.
[0006] To achieve the above object, the present invention provides the following technical solution: a smart medicine box, comprising a control system, the control system is composed of a display screen, control buttons, a speaker and a shell, the top of the shell is equipped with a display screen and control buttons, and the side of the shell is equipped with a speaker;
[0007] It also includes a smart medicine box body, which is arranged at one end of the control system. The smart medicine box body is composed of a medicine box shell and a safety lock. A plurality of baffles are arranged in the medicine box shell to divide the medicine box shell into a plurality of medicine storage spaces of different sizes. A sealing cover is arranged on the top of each medicine storage space, and a safety lock is arranged on the sealing cover.
[0008] Preferably, the control system further comprises:
[0009] A wireless communication module is disposed inside the housing and is used to send information about the patient's medication time to the repeater;
[0010] A power module is arranged inside the housing and is used to supply power to the control system and the smart medicine box body;
[0011] MCU, which is set inside the shell and is used to process data and control the operation of each module;
[0012] A voice reminder module is provided in the speaker, and is used to issue voice reminders, remind patients to take medicines at fixed points, and detect the status of medicines taken in the medicine storage space;
[0013] A security module, used to unlock and lock the medicine storage space inside the smart medicine box body;
[0014] The remote control module is used to connect to the mobile terminal and remotely control the smart medicine box body through the mobile terminal.
[0015] Preferably, an LED screen and a switch button for opening the sealing cover are installed on the upper surface of the sealing cover, an air quality sensor is provided in the medicine storage space, and the LED screen adopts an electronic touch-type LCD display screen for displaying medication management information, working status information of the smart medicine box body, temperature and humidity conditions in the medicine storage space, and the number of times the sealing cover is opened.
[0016] Preferably, the working process of the control system specifically includes:
[0017] First, use the clock module to set the time when the patient needs to take the medicine, and mark the set time, specifically before or after breakfast, before or after lunch, and before or after dinner, and enter the name of the medicine and the dosage;
[0018] The marked results are displayed on the LED screen respectively, and the drugs to be taken by the patient are placed in the drug storage space according to the marked results and locked through the security module;
[0019] When it is time for the patient to take medicine, the voice reminder module issues a voice reminder, and at the same time, the LED screen corresponding to the medicine storage space where the medicine needs to be taken during this time period lights up, and the safety lock corresponding to the medicine storage space is unlocked;
[0020] The patient presses the switch button corresponding to the safety lock to open the sealed cover of the drug storage space, take out the drug and take it.
[0021] Preferably, the working principle of the remote control module specifically includes:
[0022] The guardian monitors the patient's medication status in real time through the remote control module;
[0023] When 30 minutes have passed since the medication time and the sealed cover of the medication storage space where the medication needs to be taken has not been opened, the guardian's mobile terminal sends an alarm signal;
[0024] The guardian contacts the patient to take medicine. If the patient cannot be contacted, the medicine storage space will be automatically locked if it is not opened for more than minutes.
[0025] Preferably, the voice reminder module specifically includes:
[0026] The detection module is used to detect the amount of remaining medicine in the medicine storage space. If there is remaining medicine in the medicine storage space, a sound reminder is issued to remind the patient that the medicine has not been taken completely. When there is no remaining medicine in the medicine storage space, the patient has finished taking the medicine.
[0027] The alarm module is used to issue a sound reminder when it is time to take the medicine or when the medicine is missed, and send the reminder information to the guardian's mobile terminal.
[0028] Preferably, the safety lock is a Hall switch. When it is closed, the Hall switch will output a low level because the Hall switch and the magnet are in an attracted state. When the medicine box is opened, it outputs a high level. This level signal will cause the main control chip to start timing. If the timing is greater than 10s, it means that the box is opened and the medicine is taken. If the timing is less than 10s, it is a misoperation and no record is made.
[0029] Preferably, the wireless communication module includes a Wi F i module and a communication module, the communication module is a 2G, 3G or 4G communication module, which is used to send text messages to patients and guardians and provide an Internet access channel. The Wi F i module is used for wireless network interconnection and provides an Internet access channel, so that users can access or set the medicine box device through the network.
[0030] Preferably, it also includes: a sensing module, used to sense the control information of the user's hand and send it to the safety lock; the safety lock executes the control information;
[0031] The sensing module comprises:
[0032] An acquisition module, used to acquire a hand image for gesture recognition;
[0033] Building blocks for:
[0034] Obtaining bone feature points in the hand image by identifying a pre-selected recognition model; the bone feature points include finger joint bone points, palm bone points and fingertip bone points of each finger;
[0035] Determine the user's starting gesture based on the skeleton feature points, establish a three-dimensional coordinate system, and determine the initial coordinates;
[0036] Obtain the offset value corresponding to the coordinate information of the user's hand during movement, and adjust the initial coordinates to obtain several moving coordinates;
[0037] When the user's hand moves, the moving direction and speed are collected based on the motion sensor;
[0038] Receiving an ultrasonic signal emitted by the safety lock after detecting the user's hand movement;
[0039] The ultrasonic signal is set as a broadband signal with a plurality of subcarriers based on orthogonal frequency division multiplexing as a target widescreen signal, and a target broadband dictionary is constructed;
[0040] According to the characteristic that the sparsity of the reflected signal is the same between dictionaries corresponding to different subcarriers, sparse recovery and positioning of frequency components corresponding to subcarriers included in the target widescreen signal are performed based on the target wideband dictionary;
[0041] Overlap the sparse recovery positioning results of each frequency component, and use the intersection result as the positioning result of the hand in space;
[0042] Constructing a hand movement model according to a number of movement coordinates, movement directions, movement speeds and positioning results;
[0043] The matching module is used to match the preset database according to the hand movement model, determine the corresponding control information and send it to the safety lock.
[0044] Preferably, it also includes: an alarm module, used for:
[0045] Before the patient opens the sealed cover of the drug storage space by pressing the switch button corresponding to the safety lock, a facial image of the patient is obtained based on the camera;
[0046] Determine whether the shooting requirement in the facial image meets the shooting standard, and when it is determined that it does not meet the shooting standard, obtain the target organ object of the facial image; select a first pixel point (x1, y1) in the upper left area of the target organ object, and select a second pixel point (x2, y2) in the lower right area;
[0047] Calculating adjustment angle information of the target organ object according to the first pixel point and the second pixel point;
[0048]
[0049] Wherein, δ is the adjustment angle information of the target organ object; arcsin is the inverse trigonometric sine function;
[0050] adjusting the angle information of the camera according to the adjustment angle information of the target organ object;
[0051] Based on the adjusted camera, obtain the target facial image;
[0052] Recognize the target facial image, form a pixel matrix B according to the target facial image, extract eigenvalues, and determine the eigenvector C;
[0053] Match the feature vector C with a preset recognition database, which contains feature vectors of P authenticated user facial images, and form a recognition matrix F based on the feature vectors of each authenticated user facial image, the recognition matrix having P rows and D columns;
[0054]
[0055] Among them, P i is the probability that the target face image is the same as the i-th image in the preset recognition database; C j is the j-th value of the eigenvector C; is the mean of the eigenvector C; F i,j is the jth value of the feature vector corresponding to the i-th image in the preset recognition database; is the mean value of the feature vector corresponding to the i-th image in the preset recognition database; i=1, 2, 3...P, j=1, 2, 3...D;
[0056] According to the matching result of the feature vector C and the preset recognition database, it is sent to the security lock as the recognition result;
[0057] The safety lock determines whether to open based on the recognition result.
[0058] Compared with the prior art, the present invention has the following beneficial effects:
[0059] The present invention sends out a voice reminder through a loudspeaker, and when it is time to take the medicine, the LED screen of the medicine storage space where the medicine to be taken is located lights up, so that the patient can quickly find the medicine to be taken when taking the medicine, avoiding the situation that the font of the mark is small and it is difficult for elderly patients to recognize. The safety lock of the medicine storage space when the medicine taking time is reached is opened, and the safety lock before the medicine taking time is not opened, so as to avoid taking the wrong medicine and causing accidental medicine taking, thereby enhancing the flexibility and safety of the patient's medicine taking. The medicine storage space is automatically locked if it is not opened for more than minutes, avoiding the situation that the patient has missed the medicine taking time and is prone to confusion in taking the medicine later. It can ensure that the patient can take the medicine accurately, and the convenience of use is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 It is a structural schematic diagram of the smart medicine box of the present invention;
[0061] Figure 2 It is a partial structural schematic diagram of the smart medicine box of the present invention;
[0062] Figure 3 It is a schematic diagram of the modules of the smart medicine box of the present invention;
[0063] Figure 4 Schematic diagram of the workflow of the smart medicine box of the present invention.
[0064] In the figure: 1. control system; 11. display screen; 12. control button; 13. speaker; 14. shell; 2. smart medicine box body; 21. medicine box shell; 22. LED screen; 23. safety lock; 24. air quality sensor; 25. switch button. DETAILED DESCRIPTION
[0065] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0066] In order to solve the problem that the existing smart medicine box cannot display in actual use, it is difficult for elderly patients to identify the different types of medicines taken at different time periods. If the patient forgets to take the medicine box, he often forgets to take the medicine at the corresponding time point. When taking the medicine next time, he takes the wrong medicine at the previous or next time point, which will result in missed or wrong medication. Figure 1-Figure 4 , this embodiment provides the following technical solutions:
[0067] A smart medicine box includes a control system 1, which is composed of a display screen 11, control buttons 12, a speaker 13 and a shell 14. The display screen 11 and the control buttons 12 are installed on the top of the shell 14, and the speaker 13 is installed on the side of the shell 14. The display screen 11 is used to display the medication time and function display, and the control button 12 is used to set the medication time, set the medication mark of the LED screen 22, repeat the timing, confirm the medication, and enter the dosage and name of the medicine.
[0068] It also includes an intelligent medicine box body 2, which is arranged at one end of the control system 1. The intelligent medicine box body 2 is composed of a medicine box shell 21, an LED screen 22, a safety lock 23, an air quality sensor 24 and a switch button 25. A plurality of baffles are arranged in the medicine box shell 21 to divide the medicine box shell 21 into a plurality of medicine storage spaces of different sizes. By setting medicine storage spaces of different sizes, the medicines can be distributed according to the number of medicines taken, so as to avoid the situation that a large number of medicines are taken at one time and the medicine storage space is insufficient to hold them. A sealing cover is arranged on the top of the medicine storage space, and a safety lock 23 is arranged on the sealing cover. An LED screen 22 and a switch button 25 for opening the sealing cover are installed on the upper surface of the sealing cover. The LED screen 22 adopts an electronic touch-type liquid crystal display screen, which is used to display medication management information, working status information of the intelligent medicine box body 2, temperature and humidity conditions in the medicine storage space, and the number of times the sealing cover is opened. An air quality sensor 24 is arranged in the medicine storage space. When the value is higher than the shooting standard value, an alarm signal is sent to the guardian's mobile terminal to avoid a poor medicine storage environment and affect the effect of taking the medicine.
[0069] Specifically, by setting up multiple drug storage spaces of different sizes, the drugs can be stored according to the amount of drugs taken by the patient, and there will be no situation of insufficient storage space, which is more practical. At the same time, by lighting up the LED screen 22, the patient can quickly find the drugs he needs to take in the current time period, and there will be no situation where the label font is small and the older patients cannot see clearly. At the same time, the LED screen 22 displays the opening status of the drug storage space and the medication mark, so that the patient and the guardian can intuitively understand the medication situation. The air quality sensor 24 senses the air quality in the drug storage space and displays it on the LED screen 22, which is convenient for real-time monitoring of the air quality of the drug storage space to avoid the air quality in the drug storage space not meeting the standard, causing the drug to deteriorate. Patients taking deteriorated drugs will not only affect the treatment effect, but in severe cases will also cause drug poisoning and bring life-threatening danger.
[0070] The control system 1 also includes:
[0071] The wireless communication module is arranged inside the housing 14 and is used to send the patient's medication time information to the repeater.
[0072] The power module is arranged inside the housing 14 and is used to supply power to the control system 1 and the smart medicine box body 2 .
[0073] The MCU is arranged inside the housing 14 and is used to process data and control each module to work, thereby realizing the function of reminding the user to take medicine.
[0074] The voice reminder module is arranged in the speaker 13, and is used for issuing voice reminders, reminding patients to take medicines at fixed points, and detecting the taking status of medicines in the medicine storage space.
[0075] Voice reminder module, including:
[0076] The detection module is used to detect the remaining amount of medicine in the medicine storage space. If there is remaining medicine in the medicine storage space, a sound reminder will be issued to remind the patient that there are still medicines that have not been taken completely. The medication is completed until there are no remaining medicines in the medicine storage space, thereby avoiding the problem of insufficient dosage caused by the patient not taking all the medicines when taking the medicine, thereby ensuring that the patient obtains a good treatment effect.
[0077] The alarm module is used to issue a sound reminder when it is time to take the medicine or when the medicine is missed, and send the reminder information to the guardian's mobile terminal. By issuing a sound reminder, the patient can take the medicine on time to avoid missing a dose. By sending the reminder information to the guardian's mobile terminal, the guardian can monitor the patient's medication status in real time, and can remind the patient in time when the patient misses the medication time, ensuring that the patient can complete the medication operation within the medication time, thereby realizing remote reminder and control.
[0078] The security module is used to unlock and lock the medicine storage space inside the smart medicine box body 2.
[0079] The remote control module is used to connect to a mobile terminal and remotely control the smart medicine box body 2 through the mobile terminal. The mobile terminal is a mobile phone, a tablet computer or a web terminal of an ordinary personal computer.
[0080] Specifically, different drug storage spaces are locked respectively through the security module. The security lock 23 is opened when it is time to take the medicine, and the rest are not opened, so as to prevent patients from accidentally opening the drug storage space before the medication time and taking the wrong medicine, thereby ensuring that the patient can take the medicine accurately, and ensuring the safety and punctuality of medication. The remote control module is used to remotely control the smart medicine box, and at the same time can monitor the patient's medication situation in real time to prevent the patient from missing medication. While the patient is taking the medicine, the detection module detects the drug quantity in the drug storage space in real time, and gives a sound reminder when it detects that the medicine in the drug storage space has not been taken out, reminding the patient that the medicine has not been taken out, and stops until the medicine in the drug storage space has been taken out, thereby ensuring that the patient will not miss the medication, ensuring the dosage of the patient's medication, and thus providing guarantee for the patient's treatment effect.
[0081] The working process of the control system 1 specifically includes:
[0082] First, use the clock module to set the time when the patient needs to take the medicine, and mark the set time, specifically before or after breakfast, before or after lunch, and before or after dinner, and enter the name of the medicine and the dosage.
[0083] The marked results are displayed on the LED screen 22 respectively, and the medicines to be taken by the patient are placed in the medicine storage space according to the marked results and locked by the security module.
[0084] When it is time for the patient to take medicine, the voice reminder module issues a voice reminder, and at the same time, the LED screen 22 corresponding to the medicine storage space where the medicine needs to be taken during this time period lights up, and the safety lock 23 corresponding to the medicine storage space is unlocked.
[0085] The patient presses the switch button 25 corresponding to the safety lock 23 to open the sealed cover of the drug storage space, take out the medicine and take it. By putting the medicine to be taken into the medicine storage space, when the time to take the medicine comes, the LED screen 22 of the medicine storage space where the medicine to be taken is located lights up, so that the patient can quickly find the medicine to be taken when taking the medicine, avoiding the situation where the font of the mark is small and it is difficult for elderly patients to recognize.
[0086] The working principle of the remote control module includes:
[0087] The guardian monitors the patient's medication status in real time through the remote control module.
[0088] When 30 minutes have passed since the medication time and the sealed cover of the medication storage space where the medication needs to be taken has not been opened, the guardian's mobile terminal sends out an alarm signal.
[0089] The guardian contacts the patient to take the medicine. If the patient cannot be contacted, the medicine storage space will be automatically locked if it is not opened for more than 30 minutes. This prevents the patient from missing the medication time and causing confusion in subsequent medication. This ensures that the patient can take the medicine accurately and improves the convenience of use.
[0090] The safety lock 23 is a Hall switch. The level state of the Hall switch output is related to the opening and closing state of the medicine box. When it is closed, since the Hall switch and the magnet are in the attracted state, the Hall switch will have a low level output. When the medicine box is opened, it outputs a high level. This level signal will cause the main control chip to time. If the timing is greater than 10s, it means that the box is opened and the medicine is taken. If the timing is less than 10s, it is an erroneous operation and no record is made.
[0091] The wireless communication module includes a Wi F i module and a communication module. The communication module is a 2G, 3G or 4G communication module, which is used to send text messages to patients and guardians and provide an Internet access channel. The WiFi module is used for wireless network interconnection and provides an Internet access channel, allowing users to access or set the medicine box device through the network.
[0092] Specifically, when it is time to take the medicine, the speaker 13 issues a voice reminder, and the LED screen 22 lights up, so that the patient can quickly find the medicine to be taken during this time period, thereby improving the safety and correctness of the patient's medication. At the same time, the safety lock 23 of the medicine storage space is opened, and the safety lock 23 will not be opened before the medication time, thereby avoiding taking the wrong medicine and causing accidental medication. The remote control module can manually set the smart medicine box. When the patient fails to take the medicine in time during the medication period and the safety lock 23 is locked, the guardian can manually unlock the safety lock 23 of the medicine storage space through the mobile terminal, and the patient will not take the wrong medicine when taking the wrong medicine, thereby enhancing the flexibility and safety of the patient's medication.
[0093] Working principle: When in use, according to Figure 1-Figure 4The guardian first sets the medication time through the control system 1, and marks the set medication time, displays the marked situation on the LED screen 22, puts the medicine into the medicine storage space corresponding to the mark according to the patient's medication situation, and locks the safety lock 23 on the sealing cover. When the medication time arrives, the LED screen 22 corresponding to the set time lights up, and the speaker 13 issues a voice reminder, and opens the safety lock 23 through the security module. The patient finds the medicine he needs to take at the current time according to the lit LED screen 22, and takes the medicine according to the marked information. If the patient does not take the medicine within the medication time, the information is sent to the guardian's mobile terminal and an alarm message is issued. The guardian can directly contact the patient to take the medicine. If the patient cannot be contacted, the safety lock 23 corresponding to the medicine storage space is locked. When the patient realizes that he needs to make up for the missed medication, the guardian manually unlocks the safety lock 23 of the medicine storage space through the mobile terminal, and the patient only needs to open the unlocked sealing cover to take out the medicine and take it.
[0094] Preferably, it also includes: a sensing module, used to sense the control information of the user's hand and send it to the safety lock 23; the safety lock executes the control information;
[0095] The sensing module comprises:
[0096] An acquisition module, used to acquire a hand image for gesture recognition;
[0097] Building blocks for:
[0098] Obtaining bone feature points in the hand image by identifying a pre-selected recognition model; the bone feature points include finger joint bone points, palm bone points and fingertip bone points of each finger;
[0099] Determine the user's starting gesture based on the skeleton feature points, establish a three-dimensional coordinate system, and determine the initial coordinates;
[0100] Obtain the offset value corresponding to the coordinate information of the user's hand during movement, and adjust the initial coordinates to obtain several moving coordinates;
[0101] When the user's hand moves, the moving direction and speed are collected based on the motion sensor;
[0102] Receiving an ultrasonic signal emitted by the safety lock after detecting the user's hand movement;
[0103] The ultrasonic signal is set as a broadband signal with a plurality of subcarriers based on orthogonal frequency division multiplexing as a target widescreen signal, and a target broadband dictionary is constructed;
[0104] According to the characteristic that the sparsity of the reflected signal is the same between dictionaries corresponding to different subcarriers, sparse recovery and positioning of frequency components corresponding to subcarriers included in the target widescreen signal are performed based on the target wideband dictionary;
[0105] Overlap the sparse recovery positioning results of each frequency component, and use the intersection result as the positioning result of the hand in space;
[0106] Constructing a hand movement model according to a number of movement coordinates, movement directions, movement speeds and positioning results;
[0107] The matching module is used to match the preset database according to the hand movement model, determine the corresponding control information and send it to the safety lock 23.
[0108] Working principle of the above technical solution: In this embodiment, the control information is the control information of the security lock determined by the user based on gestures, such as controlling the opening and closing of the security lock, adjusting the state that cannot be unlocked within a preset time period, automatically opening and closing after a preset time period, etc.
[0109] In this embodiment, the skeletal feature points in the hand image are obtained by identifying a pre-selected recognition model, including: data collection and preparation: first, a data set containing hand images and corresponding skeletal feature point annotations needs to be collected for training the model. Data set preparation includes image acquisition, annotating skeletal feature points and other tasks. Model building: a deep learning model suitable for the task can be selected, such as a convolutional neural network (CNN) or a key point detection model. By training the model on the data set, it learns to detect skeletal feature points from hand images. Model verification and tuning: the model is verified using a verification set, and the model is tuned according to the effect to improve the recognition accuracy of skeletal feature points. Application model: the trained model is applied in the actual scene. By inputting the hand image, the model can output the predicted skeletal feature point position, thereby realizing the recognition of skeletal feature points in the hand image.
[0110] In this embodiment, the initial gesture action is the detected initial gesture action of the user, a three-dimensional coordinate system is established, and the initial coordinates are determined.
[0111] In this embodiment, the offset value corresponding to the coordinate information of the user's hand during movement is obtained, and the initial coordinates are adjusted to obtain a number of moving coordinates, including: Initial coordinate acquisition: First, the initial coordinate position of the user's hand is obtained. The coordinate information of the user's hand can be obtained through a hand tracking sensor, camera or other device. Coordinate acquisition during movement: During the movement of the user's hand, the coordinate information of the hand is continuously obtained. The position information of the hand can be obtained in real time through sensors, cameras and other devices. Calculate the offset: By comparing the coordinate information during the movement process with the initial coordinate information, the offset value of each time point is calculated, that is, the distance difference between the current coordinate and the initial coordinate. Adjust the coordinates: According to the calculated offset value, the initial coordinates are adjusted to obtain a number of coordinate positions after movement. Expand the moving coordinates: As needed, the initial coordinates can be continuously adjusted according to the coordinate information during the movement process to obtain more moving coordinates, so as to achieve more precise tracking of the coordinates during the movement of the user's hand.
[0112] In this embodiment, during the movement of the user's hand, the movement direction and movement speed are collected based on the motion sensor, including: using sensors such as accelerometers and gyroscopes to obtain the movement direction and speed information of the hand. Data collection: using sensors such as accelerometers and gyroscopes to collect the movement data of the user's hand in real time. The accelerometer can measure the acceleration change of the hand, and the gyroscope can measure the angular velocity change of the hand. Data processing: through the collected acceleration and angular velocity data, the position, velocity and acceleration information of the hand can be derived according to the physical model and integral calculation method. Acceleration can calculate velocity, and velocity can calculate displacement. Movement direction: According to the angular velocity data obtained by the gyroscope sensor, the rotation direction and angle change of the hand can be derived, so as to determine the movement direction of the hand. Movement speed: According to the acceleration data obtained by the accelerometer sensor, the real-time movement speed of the hand can be calculated. By continuously accumulating and updating the speed information, continuous movement speed data can be obtained. Data display and application: the processed movement direction and speed information are used to display the movement trajectory of the user's hand.
[0113] In this embodiment, an ultrasonic signal is emitted: the safety lock emits an ultrasonic signal after detecting the movement of the user's hand. Ultrasonic signal is a high-frequency sound wave and is widely used in positioning and tracking applications. Orthogonal frequency division multiplexing: the emitted ultrasonic signal is set as a broadband signal with several subcarriers. The signal can be divided into multiple subchannels by using orthogonal frequency division multiplexing technology to improve transmission efficiency and channel utilization. Constructing a target broadband dictionary: constructing a target broadband dictionary based on the emitted broadband signal for subsequent signal processing and positioning. Sparse recovery positioning: through the sparsity of the reflected signal, using the sparse recovery algorithm, the subcarrier frequency components contained in the ultrasonic signal are recovered and positioned under the assumption that the dictionaries corresponding to different subcarriers have the same characteristics. Spatial positioning: based on the sparse recovery positioning results of each frequency component, the results are integrated through the intersection operation to obtain the positioning information of the hand in space, that is, to determine the position of the hand. By using ultrasonic signals and sparse recovery algorithms, the user's hand position is positioned.
[0114] A hand movement model is constructed according to a number of movement coordinates, movement directions, movement speeds and positioning results, so as to facilitate accurate construction of the hand movement model.
[0115] In this embodiment, the preset database is a preset hand movement model-control information data table.
[0116] The beneficial effects of the above technical solution are: accurately determining a number of moving coordinates, moving directions, moving speeds and positioning results when the user's hand moves. Based on the number of moving coordinates, moving directions, moving speeds and positioning results, it is convenient to accurately construct a hand movement model, and then it is convenient to accurately determine the corresponding control information, thereby improving the reliability of the safety lock execution control information.
[0117] Preferably, it also includes: an alarm module, used for:
[0118] Before the patient opens the sealed cover of the drug storage space by pressing the switch button 25 corresponding to the safety lock 23, the facial image of the patient is obtained based on the camera;
[0119] Determine whether the shooting requirement in the facial image meets the shooting standard, and when it is determined that it does not meet the shooting standard, obtain the target organ object of the facial image; select a first pixel point (x1, y1) in the upper left area of the target organ object, and select a second pixel point (x2, y2) in the lower right area;
[0120] Calculating adjustment angle information of the target organ object according to the first pixel point and the second pixel point;
[0121]
[0122] Wherein, δ is the adjustment angle information of the target organ object; arcsin is the inverse trigonometric sine function;
[0123] adjusting the angle information of the camera according to the adjustment angle information of the target organ object;
[0124] Based on the adjusted camera, obtain the target facial image;
[0125] Recognize the target facial image, form a pixel matrix B according to the target facial image, extract eigenvalues, and determine the eigenvector C;
[0126] Match the feature vector C with a preset recognition database, which contains feature vectors of P authenticated user facial images, and form a recognition matrix F based on the feature vectors of each authenticated user facial image, the recognition matrix having P rows and D columns;
[0127]
[0128] Among them, P i is the probability that the target face image is the same as the i-th image in the preset recognition database; C j is the j-th value of the eigenvector C; is the mean of the eigenvector C; F i,j is the jth value of the feature vector corresponding to the i-th image in the preset recognition database; is the mean value of the feature vector corresponding to the i-th image in the preset recognition database; i=1, 2, 3...P, j=1, 2, 3...D;
[0129] According to the matching result of the feature vector C and the preset recognition database, it is sent to the security lock 23 as the recognition result;
[0130] The safety lock 23 determines whether to open according to the recognition result.
[0131] The working principle and beneficial effects of the above technical solution: In this embodiment, the shooting standard is that the facial features in the photographed facial image are in a vertical state, not tilted, so as to improve the accuracy of subsequent identity recognition. When it is determined that the shooting standard is not met, the target organ object of the facial image is obtained; the example can be the nose. A first pixel point is selected in the upper left area of the target organ object, and a second pixel point is selected in the lower right area, that is, the edge point of the upper left area and the edge point of the lower right area. According to the first pixel point and the second pixel point, the adjustment angle information of the target organ object is calculated as the angle information of the camera adjustment. After adjustment, it is convenient to shoot an image that meets the shooting standard, that is, the target facial image; the target facial image is recognized, a pixel matrix B is formed according to the target facial image, and eigenvalues are extracted to determine the eigenvector C; the eigenvector C is matched with the preset recognition database, and according to the matching result of the eigenvector C and the preset recognition database, the matching result is whether there is data matching the eigenvector C in the preset recognition database, and if so, which data is matched, that is, which user identity corresponds to it. If not, it means that the user cannot open the security lock. The safety lock 23 determines whether to open the medicine box according to the identification result, thereby preventing non-patients from opening the medicine box privately, thereby improving the safety of medicine management.
[0132] In summary, by putting the medicines to be taken into the medicine storage space, when the time for taking the medicine comes, the LED screen 22 of the medicine storage space where the medicines to be taken are located lights up, so that the patient can quickly find the medicines to be taken when taking the medicines, avoiding the situation where the font of the mark is small and it is difficult for elderly patients to recognize. The medicine storage space is automatically locked if it is not opened for more than 30 minutes, avoiding the situation where the patient has missed the medication time and subsequent medication is prone to confusion, which can ensure that the patient can take the medicine accurately and improve the convenience of use. At the same time, the safety lock 23 of the medicine storage space is opened, and the safety lock 23 will not be opened before the medication time, avoiding taking the wrong medicine and causing accidental medication. The remote control module can manually set the smart medicine box. When the patient does not take the medicine in time during the medication period and the safety lock 23 is locked, the guardian can manually unlock the safety lock 23 of the medicine storage space through the mobile terminal, and the patient will not take the wrong medicine when taking the medicine, thereby enhancing the flexibility and safety of the patient's medication.
[0133] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0134] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A smart medicine box, comprising a control system (1), characterized in that: The control system (1) is composed of a display screen (11), control buttons (12), a speaker (13) and a housing (14); the display screen (11) and the control buttons (12) are mounted on the top of the housing (14), and the speaker (13) is mounted on the side of the housing (14); It also includes an intelligent medicine box body (2), which is arranged at one end of the control system (1), the intelligent medicine box body (2) is composed of a medicine box shell (21) and a safety lock (23), a plurality of baffles are arranged in the medicine box shell (21), and the medicine box shell (21) is divided into a plurality of medicine storage spaces of different sizes, and a sealing cover is arranged on the top of each medicine storage space, and a safety lock (23) is arranged on the sealing cover; It also includes: a sensing module, used to sense the control information of the user's hand and send it to the safety lock (23); the safety lock executes the control information; The sensing module comprises: An acquisition module, used to acquire a hand image for gesture recognition; Building blocks for: Obtaining bone feature points in the hand image by identifying a pre-selected recognition model; the bone feature points include finger joint bone points, palm bone points and fingertip bone points of each finger; Determine the user's starting gesture based on the skeleton feature points, establish a three-dimensional coordinate system, and determine the initial coordinates; Obtain the offset value corresponding to the coordinate information of the user's hand during movement, and adjust the initial coordinates to obtain several moving coordinates; When the user's hand moves, the moving direction and speed are collected based on the motion sensor; Receiving an ultrasonic signal emitted by the safety lock after detecting the user's hand movement; The ultrasonic signal is set as a broadband signal with a plurality of subcarriers based on orthogonal frequency division multiplexing as a target widescreen signal, and a target broadband dictionary is constructed; According to the characteristic that the sparsity of the reflected signal is the same between dictionaries corresponding to different subcarriers, sparse recovery and positioning of frequency components corresponding to subcarriers included in the target widescreen signal are performed based on the target wideband dictionary; Overlap the sparse recovery positioning results of each frequency component, and use the intersection result as the positioning result of the hand in space; Constructing a hand movement model according to a number of movement coordinates, movement directions, movement speeds and positioning results; A matching module, used to match a preset database according to the hand movement model, determine corresponding control information and send it to the safety lock (23); Also includes: an alarm module for: Before the patient opens the sealed cover of the drug storage space by pressing the switch button (25) corresponding to the safety lock (23), acquiring a facial image of the patient based on a camera; Determine whether the shooting requirement in the facial image meets the shooting standard, and when it is determined that it does not meet the shooting standard, obtain the target organ object of the facial image; select the first pixel point in the upper left area of the target organ object , select the second pixel in the lower right area ; Calculate the adjustment angle information of the target organ object according to the first pixel point and the second pixel point; in, Information on adjusting the angle of the target organ object; is an inverse trigonometric sine function; adjusting the angle information of the camera according to the adjustment angle information of the target organ object; Based on the adjusted camera, obtain the target facial image; Recognize the target facial image, form a pixel matrix B according to the target facial image, extract eigenvalues, and determine the eigenvector C; Match the feature vector C with a preset recognition database, which contains feature vectors of P authenticated user facial images, and form a recognition matrix F based on the feature vectors of each authenticated user facial image, the recognition matrix having P rows and D columns; in, is the probability that the target face image is the same as the i-th image in the preset recognition database; is the j-th value of the eigenvector C; is the mean of the eigenvector C; is the jth value of the feature vector corresponding to the i-th image in the preset recognition database; is the mean value of the feature vector corresponding to the i-th image in the preset recognition database; i=1, 2, 3...P, j=1, 2, 3...D; according to the matching result between the feature vector C and the preset recognition database, it is sent to the security lock (23) as the recognition result; the security lock (23) determines whether to open according to the recognition result, specifically including: The shooting standard is that the facial features in the captured facial image are in a vertical state, not tilted, so as to improve the accuracy of subsequent identity recognition. When it is determined that the shooting standard is not met, the target organ object of the facial image is obtained, and a first pixel point is selected in the upper left area of the target organ object, and a second pixel point is selected in the lower right area, that is, an edge point of the upper left area and an edge point of the lower right area. According to the first pixel point and the second pixel point, the adjustment angle information of the target organ object is calculated as the angle information for adjusting the camera; After the adjustment, it is easy to shoot an image that meets the shooting standard, that is, a target facial image; the target facial image is recognized, a pixel matrix B is formed according to the target facial image, and eigenvalues are extracted to determine a eigenvector C, and the eigenvector C is matched with a preset recognition database. According to the matching result between the eigenvector C and the preset recognition database, the matching result is whether there is data matching the eigenvector C in the preset recognition database, and if so, which data is matched, that is, which user identity corresponds to; if not, it means that the user cannot open the security lock; the security lock (23) determines whether to open according to the recognition result.
2. The smart medicine box according to claim 1, characterized in that: The control system (1) further comprises: A wireless communication module, disposed inside the housing (14), and used to send information about the patient's medication taking time to a repeater; A power module, arranged inside the housing (14), and used to supply power to the control system (1) and the smart medicine box body (2); MCU, arranged inside the housing (14), for processing data and controlling the operation of each module; A voice reminder module, arranged in the speaker (13), for issuing voice reminders, reminding patients to take medicine at a fixed point, and detecting the status of medicine taking in the medicine storage space; A security module, used to respectively unlock and lock the medicine storage space inside the smart medicine box body (2); The remote control module is used to connect to a mobile terminal and remotely control the smart medicine box body (2) via the mobile terminal.
3. The smart medicine box according to claim 1, characterized in that: An LED screen (22) and a switch button (25) for opening the sealing cover are mounted on the upper surface of the sealing cover, an air quality sensor (24) is arranged in the medicine storage space, and the LED screen (22) adopts an electronic touch-type liquid crystal display screen for displaying medication management information, working status information of the smart medicine box body (2), temperature and humidity conditions in the medicine storage space, and the number of times the sealing cover is opened.
4. The smart medicine box according to claim 2, characterized in that: The working process of the control system (1) specifically includes: Use the clock module to set the time when the patient needs to take the medicine, and mark the set time, specifically before or after breakfast, before or after lunch, and before or after dinner, and enter the name of the medicine and the dosage; The marked results are displayed on the LED screen (22), and the medicine to be taken by the patient is placed in the medicine storage space according to the marked results, and locked by the security module; When it is time for the patient to take medicine, the voice reminder module issues a voice reminder, and at the same time, the LED screen (22) corresponding to the medicine storage space where the medicine needs to be taken during this time period lights up, and the safety lock (23) corresponding to the medicine storage space is unlocked; The patient presses the switch button (25) corresponding to the safety lock (23) to open the sealed cover of the medicine storage space and take out the medicine.
5. The smart medicine box according to claim 1, characterized in that: The working process of the remote control module includes: The guardian monitors the patient's medication status in real time through the remote control module; When 30 minutes have passed since the medication time and the sealed cover of the medication storage space where the medication needs to be taken has not been opened, the guardian's mobile terminal sends an alarm signal; The guardian contacts the patient to take the medicine. If the patient cannot be contacted, the medicine storage space will be automatically locked if it is not opened for more than 30 minutes.
6. The smart medicine box according to claim 1, characterized in that: Voice reminder module, including: The detection module is used to detect the amount of remaining medicine in the medicine storage space. If there is remaining medicine in the medicine storage space, a sound reminder is issued to remind the patient that the medicine has not been taken completely. When there is no remaining medicine in the medicine storage space, the patient has finished taking the medicine. The alarm module is used to issue a sound reminder when it is time to take the medicine or when the medicine is missed, and send the reminder information to the guardian's mobile terminal.
7. The smart medicine box according to claim 1, characterized in that: The safety lock (23) is a Hall switch. When closed, the Hall switch has a low level output because the Hall switch and the magnet are in an attracted state. When the medicine box is opened, a high level is output. This level signal causes the main control chip to count. If the timing is greater than 10 seconds, it means that the box has been opened and the medicine has been taken. If the timing is less than 10 seconds, it is a wrong operation and no record is made.
8. The smart medicine box according to claim 1, characterized in that: The wireless communication module includes a WiFi module and a communication module. The communication module is a 2G, 3G or 4G communication module, which is used to send text messages to patients and guardians and provide an Internet access channel. The WiFi module is used for wireless network interconnection and provides an Internet access channel, allowing users to access or set the medicine box device through the network.
Citation Information
Patent Citations
Intelligent medicine box
CN211535643U
Television program host interaction system based on Kinect
CN102801924A
Novel intelligent medicine box capable of monitoring and managing patients suffering from chronic diseases to take medicine
CN107890422A
Unlocking method and intelligent wearable equipment
CN108388785A
Unlocking method and electronic device
CN110532835A
