A kind of intelligent medicine box system and its medication alert and take prescription method
Technical field
The present invention relates to the technical field of intelligent medicine box, more particularly to a kind of intelligent medicine box system and its medication alert and take
Prescription method.
Background technology
In daily life, some people need timing drug administration, but due to being busy with one's work etc., often forget on time
Medication causes curative effect to reduce the aggravation for even making patient.
With advancing age, the elderly's physical function is faded, failure of memory, and sixty percent or more suffers from cardiovascular and cerebrovascular
The old prone diseases such as disease, rheumatism, lumbar vertebrae shoulder disk protrusion.Especially old solitary people is had no children treatment at one's side, every year due to strong
Forget not take medicine on time, overdose or situations such as clothes wrong medicine, the accident of the elderly's life danger is caused to happen occasionally.
Currently, the priority due to some medicine bottle/box devices or system with medication alert function occurs, to a certain degree
On improve patient medication validity and regularity.
Such as application No. is 201410391557.2, entitled " medicine box, device for reminding medicine-taking and the medication of intelligent reminding of taking medicine
The medicine box of the patent of invention of based reminding method ", disclosed intelligent reminding of taking medicine includes shell, the batch pan for powder charge, microprocessor
Device, Wi-Fi module and alarm, the microprocessor obtain medicining times and medication time data simultaneously by Wi-Fi module
Storage, is arrived, microprocessor will send out alarm by alarm to remind patient to take medicine whenever medication time one.
Such as application No. is 201310038553.1, entitled " medication alert control system and the intelligence using the system
The patent of invention of device for reminding medicine-taking " can store a number of medicine glass in the device of the invention, and the drug that user takes in advance needs
It is placed in advance in corresponding medicine glass, it then again will be in medicine glass embedded device.Control system can record medication information input by user,
When preset medication time then, device can pass through a series of alerting pattern and remind patient, if voice and flashing light prompt, patient
Flicking before device need to only be gone to after perception and take medicine button, control system can be driven internal medicament discharge mechanism by corresponding medicine glass from
The medicine outlet of device is released, to facilitate user that medicine is taken to take.
The technical solution of existing medicine bottle/box device or system, although medication timed reminding, alerting pattern may be implemented
More single, intelligent not high, when patient is not responding to or has emergency, alerting pattern underaction is not largely effective.More
Importantly, in existing technical solution, suffering to patient without identification to taking cyclome section to lack personnel control more
In the case of person, multiple medicine bottle/box device, the rough sledding such as wrong medicine, take mistake medicine are easily taken.
Invention content
The purpose of the present invention and the technical issues that need to address be for existing intelligent medicine bottle/box technology there are the problem of and
Defect proposes a kind of intelligent medicine box system that patient can be assisted to take medicine and its medication alert and takes prescription method.The present invention uses
Local and remote side reminds the mode that is combined, and extension alarm is realized by network technology, it is ensured that patient or through monitoring or caregiver
Member takes medicine on time after reminding;The method combined using radio frequency identification and electronic lock, and voice prompt is combined, realize that safety takes medicine;
When suitably taking medicine in advance in busy outgoing or other emergencies needs of patient, or needing to take beyond the prompting period, it can solve
Lock takes medicine.
In order to achieve the above purpose, the technical scheme is that:
A kind of intelligent medicine box system by intelligent medicine box device 1, wearable identification device 5, communication terminal 6 and calculates
Machine 7 forms.Wearable identification device 5 is connect by radio communication mode with intelligent medicine box device 1, and intelligent medicine box device 1 passes through
Wireless communication mode is connect with communication terminal 6, and computer 7 is connect by wireless network with intelligent medicine box device 1.
The intelligent medicine box device 1 is made of a main control unit 2, at least one medicine box unit 3, loud speaker 4.It is described
Main control unit 2 controls and senses the action of the medicine box unit 3 for realizing medication alert function.
The main control unit 2 is by being separately connected communication module 22, WiFi module 23, radio frequency identification module 24, button 25, language
20 groups of sound synthesis module 26, indicator light 27, solenoid valve interface 28, the microcontroller 21 of limit switch interface 29 and power module
At.Wherein, communication module 22, WiFi module 23 are connected by USB port with microcontroller 21, and radio frequency identification module 24 passes through I2C
Bus is connected with microcontroller 21, and button 25 is connected using GPIO with microcontroller 21, and voice synthetic module 26 passes through I2C buses
It is connected with microcontroller 21, indicator light 27, solenoid valve interface 28, limit switch interface 29 pass through GPIO and 21 phase of microcontroller
Even.
The microcontroller 21 is responsible for the operation of control system and the communication service with outside, wherein embedded medication alert journey
Sequence module takes medicine program module, further includes a Web server.The Web server is for configuring patient information and system ginseng
Number, and can show the information such as medication daily record, medication state.The patient information includes patient ID, name, gender, age, mark
Label, patient's phone number, monitoring or nursing staff's phone number, illnesses, drug ID, nomenclature of drug, dosage, medication are fixed
When timetable, method of administration etc..The systematic parameter includes containing vessel quantity, Container ID, container is associated with drug, network is matched
It sets, suggestion voice text etc..
The medication timing instant table includes:Medication initial time T0, on schedule prompting moment T, patient's mobile phone reminding in advance
Moment T1, care provider's mobile phone reminding moment T2, terminate to remind moment T3, delay reminding finish time T4, wherein T0 earlier than T,
T can be not provided with earlier than T3, T3 earlier than T4, T0, T4 earlier than T1, T1 earlier than T2, T2.
The communication module 22 is that 2G, 3G or 4G communication module carry simultaneously for sending an SMS to patient and care provider
For linking Internet channel.
The WiFi module 23 is used for wireless network interconnections, can also provide linking Internet channel, user is made to pass through network
Access or be arranged medicine box device.
The radio frequency identification module 24 is NFC or RFID module, includes induction antenna, the electronics mark for sensing patient
Label.
The button 25 such as takes medicine, keyboard mechanical part to be located at the top of main control unit 2, just for inputting user action
In use.
The voice synthetic module 26 is used to convert Chinese-character text to voice output, and man, female voice can be arranged.
The indicator light 27 is for sending out alarm light, red, green double-colored, light sparkling.
The solenoid valve interface 28 is for sending out solenoid valve control signal, the pop-up of controlled loading of explosive container.
The limit switch interface 29 is used to receive the signal of limit switch, senses the closure of containing vessel.
The power module 20 is used to be system power supply, charges using battery powered or external direct current power supply, and containing battery
Circuit.
The medicine box unit 3 includes at least one independent containing vessel.Each containing vessel, which contains drawer type, to be popped up
Mechanism is made of the container 31 and limit switch 32 being fixed on 1 inner wall of intelligent medicine box device, spring 33 and solenoid valve 34.
The container 31 is drawer container, pop-up can be controlled, for placing single drug.
The limit switch 32 is used to sense the closure of container 31, and sends out sensing signal to microcontroller 21.
The spring 33 is mechanical spring, is used for ejecting container 31.
The solenoid valve 34 is micro- solenoid valve can be controlled unlock for locking container, under the action of spring 33, make appearance
Device 31 pops up.
The main control unit 2 is connect with the medicine box unit 3 by flex cable, and limit switch 32 is made to be connect with limit switch
Mouth 29 is connected, and is that solenoid valve 34 is connected with solenoid valve interface 28.
The main control unit 2 is connect with the shell of the medicine box unit 3 using mechanical snap mode, medicine box unit 3 and its
The shell of his medicine box unit 3 is connected using the same manner, to make the medicine box unit 3 of the present apparatus at the ends GPIO of microcontroller 21
Arbitrary extension in the case of mouth quantity allows.The main control unit 2 is connect with the medicine box unit 3 of extension by flex cable.
The loud speaker 4 is used for playing audio signal, is fixed on 1 inner wall of intelligent medicine box device, passes through tone frequency channel wire and language
Sound synthesis module 26 is connected.
The wearable identification device 5 is made of RFID tag 51 and device body 52, can be bracelet, wrist strap or
Other wearable articles;NFC or RFID chip can be used in RFID tag 51, includes RFID tag, knows convenient for system
Other patient.
The communication terminal 6 is mobile phone or other can carry out the device of mobile communication, is internally embedded and can receive and ring
The APP of the prompting message of intelligent medicine box device 1 is answered, also can directly receive the short message of intelligent medicine box device 1, dialing is reminded.
The computer 7 can be microcomputer, notebook computer, tablet computer, smart mobile phone etc., and there is Web to visit
The device for asking function facilitates user to access system or configuration system parameters for accessing intelligent medicine box device 1.
In order to achieve the above purpose, another technical solution of the invention is:
A kind of medication alert method of intelligent medicine box system of the present invention, steps are as follows:
1) medication alert timing instant T is arranged in system initialization, opens radio frequency identification module 24;
2) timing reaches, and intelligent medicine box device 1 controls 27 flash red of indicator light, and passes through 26 voice of voice synthetic module
Patient's name is called, cycle reminds and patient is waited for take medicine;
3) if patient turns in T1 moment medicines for oral administration 9), otherwise, into 4);
4) medicine box device sends out medication alert by communication module 22 to patient's mobile phone;
5) if patient turns in T2 moment medicines for oral administration 9), otherwise, into 6);
6) medicine box device sends out medication alert by communication module 23 to patient monitoring or nursing staff's mobile phone;
7) if patient turns in T3 moment medicines for oral administration 9), otherwise, into 8);
8) medication log recording is " not taking medicine ", is turned 10);
9) medication log recording is " medication ", cancels indicator light and voice reminder, closes radio frequency identification module 24;
10) 2) the medication alert timing instant T of setting next time, is transferred to.
It is described to send out medication alert to patient, monitoring or nursing staff's mobile phone, alerting pattern can be short message, dialing or
APP is reminded.
In order to achieve the above purpose, another technical solution of the invention is:
A kind of intelligent medicine box system of the present invention takes prescription method, and steps are as follows:
A) microcontroller 21 takes medicine button by the way that whether the sensing patient of button 25 presses, and is to turn B), it is no, turn A);
B) microcontroller 21 senses radio frequency identification marking embedded in wearable identification device 5 by radio frequency identification module 24
Label, if RFID tag is associated with current patents ID, turn C), otherwise, turn B);
C) the correspondence patient ID that microcontroller 21 is connected by solenoid valve interface 28 should currently take medicine the corresponding medicine box list of product
The solenoid valve 24 of the containing vessel of member acts, and pops up container 21;Microcontroller 21 prompts patient last name by voice synthetic module 26
The information such as name, nomenclature of drug, dosage;Microcontroller 21 prompts patient to close containing vessel by 27 blinking green of indicator light;
D) whether the containing vessel for the sensing pop-up of limit switch 32 that microcontroller 21 is connected by limit switch interface 29
It is closed, is to turn F), it is no, turn E);
E) if time-out is not turned off, microcontroller 21 prompts patient to close containing vessel by voice synthetic module 26, turns D);
F) if patient also needs to take other drugs, turn C), otherwise, turn G);
G indicator light 27) is closed;Medication terminates.
In order to achieve the above purpose, another technical solution of the invention is:
A kind of the staggering the time for intelligent medicine box system of the present invention takes prescription method, and steps are as follows:
I) 21 sensing key pressing of microcontroller, 25 long-time is pressed, and turns ii), otherwise, turn i);
Ii) microcontroller 21 senses radio frequency identification marking embedded in wearable identification device 5 by radio frequency identification module 24
Label turn iii if RFID tag is associated with the patient ID of medication timing recently), otherwise, turn i);
Iii) if current time is between the patient ID corresponding T0 and T, cancel the patient ID in the corresponding medication of T moment
It reminds, executes take medicine program module in advance;
IV) if current time is between the patient ID corresponding T3 and T4, and state of taking medicine is " not taking medicine ", then executes and take
Medicine program module.
The advantages of the present invention:
1, of the invention a kind of intelligent medicine box system and its medication alert and prescription method is taken, phase is reminded using local and remote side
In conjunction with mode, extension alarm is realized by network technology, it is ensured that patient or through monitoring, nursing staff remind after take medicine on time,
Further improve the promptness and validity of patient's medication.The method combined using radio frequency identification and electronic lock, and combine language
Sound prompts, and improves safety and the correctness of patient's medication, avoids taking wrong medicine and causing to take medicine by mistake.Pass through flexible timing
Moment is arranged, and allows to need suitably to take medicine in advance in busy outgoing or other emergencies of patient, or exceed and the period is reminded to need
When taking, unlock takes medicine, enhances the flexibility of patient's medication.
2, a kind of intelligent medicine box device of the invention, simple for structure, modularized design is multiple functional, and intelligence degree is high,
It is easy to use effective, main control unit and medicine box unit physical separation are improved convenient for user according to Quantity of drugs flexible combination
Economy and practicability.
Description of the drawings
Fig. 1 is a kind of organigram of intelligent medicine box system of the present invention;
In figure:1. intelligent medicine box device, 2. main control units, 3. medicine box units, 4. loud speakers, 5. wearable identification devices,
6. communication terminal, 7. computers;
Fig. 2 is a kind of structure chart of the main control unit 2 of the medicine box device of intelligent medicine box system of the present invention;
In figure:21. microcontroller, 22. main control units, 23. communication modules, 24.WiFi modules, 25. radio frequency identification modules,
26. voice synthetic module, 27. indicator lights, 28. solenoid valve interface modules, 29. limit switch interface modules, 20. power modules;
Fig. 3 is a kind of medication timing instant table moment relational graph of intelligent medicine box system of the present invention;
Fig. 4 is a kind of structure chart of the medicine box unit 3 of the medicine box device of intelligent medicine box system of the present invention;
In figure:31. container, 32. limit switches, 33. springs, 34. solenoid valves;
Fig. 5 is a kind of structure chart of the wearable identification device 5 of intelligent medicine box system of the present invention;
In figure:51. RF identification chip, 52. device bodies;
Fig. 6 is a kind of flow chart of the medication alert method of intelligent medicine box system of the present invention;
Fig. 7 is a kind of flow chart for taking prescription method of intelligent medicine box system of the present invention;
Fig. 8 is that a kind of the staggering the time for intelligent medicine box system of the present invention takes the flow chart of prescription method.
Specific implementation mode
The present invention will be further described with reference to the accompanying drawings and detailed description.
As shown in Figure 1, a kind of intelligent medicine box system, whole by intelligent medicine box device 1, wearable identification device 5, mobile communication
End 6 and computer 7 form.Wearable identification device 5 is connect by radio communication mode with intelligent medicine box device 1, intelligent medicine box
Device 1 is connect by wireless communication mode with communication terminal 6, and computer 7 is connected by wireless network and intelligent medicine box device 1
It connects.
The intelligent medicine box device 1 is made of a main control unit 2, at least one medicine box unit 3, loud speaker 4.It is described
Main control unit 2 controls and senses the action of the medicine box unit 3 for realizing medication alert function.
As shown in Fig. 2, the main control unit 2 is by being separately connected communication module 22, WiFi module 23, radio frequency identification module
24, the microcontroller 21 and electricity of button 25, voice synthetic module 26, indicator light 27, solenoid valve interface 28, limit switch interface 29
Source module 20 forms.Wherein, communication module 22, WiFi module 23 are connected by USB port with microcontroller 21, radio frequency identification module
24 are connected by I2C buses with microcontroller 21, and button 25 is connected using GPIO with microcontroller 21, and voice synthetic module 26 is logical
I2C buses are crossed with microcontroller 21 to be connected, indicator light 27, solenoid valve interface 28, limit switch interface 29 by GPIO with it is micro-
Controller 21 is connected.
The microcontroller 21 uses ARM9 series microprocessors, is responsible for the operation of control system and is taken with external communication
Business further includes a Web server wherein being embedded in medication alert program module, taking medicine program module.The Web server is used
In configuration patient information and systematic parameter, and it can show the information such as medication state.The patient information include patient ID, name,
Gender, age, label, patient's phone number, monitoring or nursing staff's phone number, illnesses, drug ID, nomenclature of drug,
Dosage, medication timing instant table, method of administration etc..The systematic parameter includes containing vessel quantity, Container ID, container and medicine
Product association, network configuration, suggestion voice text etc..
As shown in figure 3, the medication timing instant table includes:Medication initial time T0, on schedule prompting moment T, trouble in advance
Person's mobile phone reminding moment T1, care provider's mobile phone reminding moment T2, terminate to remind moment T3, delay reminding finish time T4,
In, T0 can be not provided with earlier than T3, T3 earlier than T4, T0, T4 earlier than T1, T1 earlier than T2, T2 earlier than T, T.When T0 to T, T3 are to T4
Carve is that long keying responds section.System, which takes medicine to patient according to medication timing instant table, implements classification prompting.
The communication module 22 uses EM770W modules, is 3GWCDMA modules, for sending an SMS to patient and guardian
Member, while linking Internet channel being provided.
The WiFi module 23 uses RT3070 modules, is used for wireless network interconnections, can also provide linking Internet channel,
Make user that medicine box device is accessed or be arranged by network.
The radio frequency identification module 24 uses PN532NFC RFID modules, includes induction antenna, the electricity for sensing patient
Subtab.
The button 25 such as takes medicine, keyboard mechanical part to be located at the top of main control unit 2, just for inputting user action
In use.System can recognize that the short-press of button 25, long-press action.
The voice synthetic module 26 uses XF-S4240 Chinese speech synthesis modules, for converting Chinese-character text to language
Sound exports, and man, female voice can be arranged.
The indicator light 27 is for sending out alarm light, red, green double-colored, light sparkling.
The solenoid valve interface 28 is for sending out solenoid valve control signal, the pop-up of controlled loading of explosive container.
The limit switch interface 29 is used to receive the signal of limit switch, senses the closure of containing vessel.
The power module 20 be used for be system power supply, using lithium battery power supply, also can external direct current power supply, and contain battery
Charging circuit.System enters suspend mode during idle time, closes the power supply of main modular to save electric energy;When having button or be timed to
When, system is waken up.
As shown in figure 4, the medicine box unit 3 includes at least one independent containing vessel.Each containing vessel contains pumping
Drawer formula can ejecting mechanism, by the container 31 and limit switch 32 being fixed on 1 inner wall of intelligent medicine box device, spring 33 and solenoid valve
34 compositions.
The container 31 is drawer container, pop-up can be controlled, for placing single drug.
The limit switch 32 is used to sense the closure of container 31, and sends out sensing signal to microcontroller 21.
The spring 33 is mechanical spring, is used for ejecting container 31.
The solenoid valve 34 is micro- solenoid valve can be controlled unlock for locking container, under the action of spring 33, make appearance
Device 31 pops up.
The main control unit 2 is connect with the medicine box unit 3 by flex cable, and limit switch 32 is made to be connect with limit switch
Mouth 29 is connected, and is that solenoid valve 34 is connected with solenoid valve interface 28.
The main control unit 2 is connect with the shell of the medicine box unit 3 using mechanical snap mode, medicine box unit 3 and its
The shell of his medicine box unit 3 is connected using the same manner, to make the medicine box unit 3 of the present apparatus at the ends GPIO of microcontroller 21
Arbitrary extension in the case of mouth quantity allows.The main control unit 2 is connect with the medicine box unit 3 of extension by flex cable.The mould
Blockization design, convenient in more patients, multiple medicine product system on-demand combination, flexible expansion, also improve system economy and
Practicability.
The loud speaker 4 is used for playing audio signal, is fixed on 1 inner wall of intelligent medicine box device, passes through tone frequency channel wire and language
Sound synthesis module 26 is connected.
As shown in figure 5, the wearable identification device 5 is made of RFID tag 51 and device body 52, Ke Yiwei
Bracelet, wrist strap or other wearable articles.RFID tag 51 uses the NFC of the A types and Type B standard using ISO 14443
Label is used for system identification patient.Device body 52, using hypo-allergenic PVC material, is worn for being embedded in RFID tag 51
It wears light and handy, comfortable.
The communication terminal 6 is smart mobile phone, is internally embedded the prompting letter that can receive and respond intelligent medicine box device 1
The APP of breath also can directly receive the short message of intelligent medicine box device 1, dialing is reminded.
The computer 7 can be microcomputer, notebook computer, tablet computer, smart mobile phone etc., and there is Web to visit
The device for asking function facilitates user to access system or configuration system parameters for accessing intelligent medicine box device 1.
As shown in fig. 6, a kind of medication alert method of intelligent medicine box system of the present invention, steps are as follows:
1) medication alert timing instant T is arranged in system initialization, opens radio frequency identification module 24;
2) timing reaches, and medicine box device 1 controls 27 flash red of indicator light, and passes through 26 audio call of voice synthetic module
Patient's name, cycle remind and patient are waited for take medicine;
3) if patient is in T1 moment medicines for oral administration, turn 9), otherwise, 4);
4) medicine box device sends out medication alert by communication module 22 to patient's mobile phone;
5) if patient is in T2 moment medicines for oral administration, turn 9), otherwise, 6);
6) medicine box device sends out medication alert by communication module 23 to patient monitoring or nursing staff's mobile phone;
7) if patient is in T3 moment medicines for oral administration, turn 9), otherwise, 8);
8) medication log recording is " not taking medicine ", is turned 10);
9) medication log recording is " medication ", cancels indicator light and voice reminder, closes radio frequency identification module 24;
10) 2) the medication alert timing instant T of setting next time turns.
It is described to send out medication alert to patient, monitoring or nursing staff's mobile phone, alerting pattern can be short message, dialing or
APP is reminded.
It is not responding to system medication alert in patient, i.e., without medicine behavior is taken in setting time, system can be guarded to it or shield
Reason personnel send out request;It is to be appreciated that monitoring or nursing staff can be with a not only people, to realize that medication carries to the maximum extent
It wakes up.Blinking red lamp, expression system are carrying out medication alert.
As shown in fig. 7, a kind of intelligent medicine box system of the present invention takes prescription method, steps are as follows:
A) microcontroller 21 takes medicine button by the way that whether the sensing patient of button 25 presses, and is to turn B), it is no, turn A);
B) microcontroller 21 senses radio frequency identification marking embedded in wearable identification device 5 by radio frequency identification module 24
Label, if RFID tag is associated with current patents ID, turn C), otherwise, turn B);
C) the correspondence patient ID that microcontroller 21 is connected by solenoid valve interface 28 should currently take medicine the corresponding medicine box list of product
The solenoid valve 24 of the containing vessel of member acts, and pops up container 21;Microcontroller 21 prompts patient last name by voice synthetic module 26
The information such as name, nomenclature of drug, dosage;Microcontroller 21 prompts patient to close containing vessel by 27 blinking green of indicator light;
D) whether the containing vessel for the sensing pop-up of limit switch 32 that microcontroller 21 is connected by limit switch interface 29
It is closed, is to turn F), it is no, turn E);
E) if time-out is not turned off, microcontroller 21 prompts patient to close containing vessel by voice synthetic module 26, turns D);
F) if patient also needs to take other drugs, turn C), otherwise, turn G);
G indicator light 27) is closed;Medication terminates.
When taking medicine, system confirms patient identity by the RFID tag that patient wears.Only sufferers themselves, which press, takes
Medicine button, system can just pop up the container for the product that need to take medicine, and voice prompt patient's name, nomenclature of drug, dosage, realize safety clothes
Medicine.Green light flickers, and patient is prompted to close containing vessel;Only close containing vessel, system can just pop up down a kind of drug (if needing
Take a variety of drugs) container, avoid taking medicine chaotic.
As shown in figure 8, a kind of the staggering the time for intelligent medicine box system of the present invention takes prescription method, steps are as follows:
I) 21 sensing key pressing of microcontroller, 25 long-time is pressed, and turns ii), otherwise, turn i);
Ii) microcontroller 21 senses radio frequency identification marking embedded in wearable identification device 5 by radio frequency identification module 24
Label turn iii if RFID tag is associated with the patient ID of medication timing recently), otherwise, turn i);
Iii) if current time is between the patient ID corresponding T0 and T, cancel the patient ID in the corresponding medication of T moment
It reminds, executes take medicine program module in advance;
IV) if current time is between the patient ID corresponding T3 and T4, and state of taking medicine is " not taking medicine ", then executes and take
Medicine program module.
Patient's length presses medicine button, can allow in case of emergency suitably to be advanced or delayed to take medicine, improve and take medicine
Flexibility.Certainly, patient takes medicine to still need to carrying electronic label.T0, T4 not necessarily must be provided with, and when being not provided with, system is not propped up
It holds to stagger the time and takes medicine.
The present embodiment is the more excellent embodiment of the present invention, it should be noted that without departing substantially from spirit of that invention and its
In the case of essence, those skilled in the art make various corresponding change and deformations, but this in accordance with the present invention
A little change and distortions should all belong to the protection domain of appended claims of the invention.