A kind of intelligent medicine box system and medication alert thereof and method of getting it filled
Technical field
The present invention relates to the technical field of intelligent medicine box, particularly a kind of intelligent medicine box system and medication alert thereof and method of getting it filled.
Background technology
In daily life, some people needs timing drug administration, but owing to the reason such as to be busy with one's work, often can to forget and take medicine on time, and causes curative effect to reduce the aggravation even making patient.
With advancing age, old people's physical function is faded, hypomnesis, and more than sixty percent suffers from that cardiovascular and cerebrovascular disease, rheumatism, lumbar vertebra shoulder dish are outstanding etc. oldly easily sends out disease.Especially old solitary people is had no children treatment at one's side, every year owing to forgetfully not take medicine on time, drug overdose or take the situations such as wrong medicine, cause the accident of old people's life danger to happen occasionally.
At present, because the priority of some medicine bottle/box devices or system with medication alert function occurs, effectiveness and the regularity of patient consumes is improved to a certain extent.
If application number is 201410391557.2, the patent of invention that name is called " medicine box of intelligent reminding of taking medicine, device for reminding medicine-taking and medication alert method ", the medicine box of disclosed intelligent reminding of taking medicine comprises housing, batch pan, microprocessor, Wi-Fi module and alarm for powder charge, described microprocessor obtains medicining times and the time data storing of taking medicine by Wi-Fi module, arrive whenever medicine time one, microprocessor will send warning by alarm and remind patient to take medicine.
If application number is 201310038553.1, the patent of invention that name is called " medication alert control system and adopt the intelligent device for reminding medicine-taking of this system ", the medicine glass of some quantity can be deposited in the device of this invention, the medicine that user takes in advance need be inserted in corresponding medicine glass in advance, and then by medicine glass embedded device.Control system can recording user input information of taking medicine, when preset medicine time then, device can remind patient by a series of alerting pattern, as voice and flashing light prompting, before only need walking auto levelizer after patient perceivable, flicking is got it filled button, control system can drive inner medicament discharge mechanism to be released by the medicine outlet of corresponding medicine glass from device, thus facilitates user to get it filled to take.
The technical scheme of existing medicine bottle/box device or system, although can realize timed reminding of taking medicine, alerting pattern is more single, intelligent not high, when patient does not respond or has an emergency, alerting pattern underaction, very ineffective.What is more important, in existing technical scheme, to getting it filled, link lacks personnel control, does not carry out identification to patient, when many patients, multiple medicines bottle/box device, very easily gets the rough sledding such as wrong medicine, the wrong medicine of take.
Summary of the invention
Object of the present invention and the technical issues that need to address are for existing intelligent medicine bottle/box technology Problems existing and defect, propose a kind of can assisting patients's intelligent medicine box system of taking medicine and medication alert thereof and method of getting it filled.The present invention adopts local and remote side to remind the mode combined, and realizes extension alarm by network technology, guarantees patient or takes medicine on time after monitoring or nursing staff are reminded; Adopt the method that RF identification and electronic lock combine, and in conjunction with voice message, realize safety and get it filled; To go out or other emergencies need suitably to take medicine in advance patient is busy, or exceed the prompting cycle when needing to take, can unlock and get it filled.
In order to realize above-mentioned object, technical scheme of the present invention is:
A kind of intelligent medicine box system, is made up of intelligent medicine box device 1, wearable recognition device 5, communication terminal 6 and computer 7.Wearable recognition device 5 is connected with intelligent medicine box device 1 by radio communication mode, and intelligent medicine box device 1 is connected with communication terminal 6 by wireless communication mode, and computer 7 is connected with intelligent medicine box device 1 by wireless network.
Described intelligent medicine box device 1, is made up of a main control unit 2, at least one medicine box unit 3, speaker 4.Described main control unit 2 for realizing medication alert function, and controls and senses the action of described medicine box unit 3.
Described main control unit 2 is made up of the microcontroller 21 of connecting communication module 22, WiFi module 23, radio frequency identification module 24, button 25, voice synthetic module 26, display lamp 27, solenoid valve interface 28, limit switch interface 29 respectively and power module 20.Wherein, communication module 22, WiFi module 23 are connected with microcontroller 21 by USB port, radio frequency identification module 24 is connected with microcontroller 21 by I2C bus, button 25 adopts GPIO to be connected with microcontroller 21, voice synthetic module 26 is connected with microcontroller 21 by I2C bus, and display lamp 27, solenoid valve interface 28, limit switch interface 29 are all connected with microcontroller 21 by GPIO.
Described microcontroller 21 is responsible for the operation of control system and the communication service with outside, wherein embeds medication alert program module, program module of getting it filled, also comprises a Web server.Described Web server for configuring patient information and systematic parameter, and can show daily record of taking medicine, the information such as state of taking medicine.Described patient information comprises patient ID, name, sex, age, label, patient's phone number, monitoring or nursing staff's phone number, institute suffer from the disease, medicine ID, nomenclature of drug, dosage, take medicine timing instant table, method of administration etc.Described systematic parameter comprises containing vessel quantity, Container ID, container associate with medicine, networking configuration, suggestion voice text etc.
Described timing instant table of taking medicine comprises: the initial time T0 that takes medicine in advance, on schedule prompting moment T, patient's mobile phone reminding moment T1, care provider's mobile phone reminding moment T2, end remind moment T3, delay reminding finish time T4, wherein, T0 is early than T, T is early than T1, T1 is early than T2, T2 can not be arranged early than T4, T0, T4 early than T3, T3.
Described communication module 22 is 2G, 3G or 4G communication module, for sending note to patient and care provider, provides linking Internet passage simultaneously.
Described WiFi module 23, for wireless network interconnections, also can provide linking Internet passage, makes user be accessed by network or arrange medicine box device.
Described radio frequency identification module 24 is NFC or RFID module, includes induction antenna, for sensing the electronic tag of patient.
Described button 25 is for inputting user action, and as got it filled, keyboard mechanical part is positioned at the top of main control unit 2, easy to use.
Described voice synthetic module 26 is for being converted into voice output by Chinese-character text, and man, female voice can be arranged.
Described display lamp 27 is for sending warning light, red, green double-colored, light sparkling.
Described solenoid valve interface 28 for sending solenoid control signal, the ejection of controlled loading of explosive container.
Described limit switch interface 29, for receiving the signal of limit switch, senses the closed of containing vessel.
Described power module 20, for being system power supply, adopts battery powered or external direct current power supply, and containing battery charger.
Described medicine box unit 3 comprises at least one independently containing vessel.Each containing vessel contains drawer type can ejecting mechanism, is made up of container 31 and limit switch 32, spring 33 and the electromagnetic valve 34 be fixed on intelligent medicine box device 1 inwall.
Described container 31 is drawer container, can controlledly eject, for placing single medicine.
Described limit switch 32 closing for Sensing container 31, and send sensing signal to microcontroller 21.
Described spring 33 is mechanical spring, for ejecting container 31.
Described electromagnetic valve 34 is micro-electromagnetic valve, for locking container, can controlledly unlock, and under the effect of spring 33, container 31 is ejected.
Described main control unit 2 is connected by flex cable with described medicine box unit 3, and limit switch 32 is connected with limit switch interface 29, is that electromagnetic valve 34 is connected with solenoid valve interface 28.
Described main control unit 2 adopts mechanical snap mode to be connected with the shell of described medicine box unit 3, medicine box unit 3 adopts the same manner to be connected with the shell of other medicine box unit 3, thus makes the medicine box unit 3 of this device arbitrary extension in the GPIO port number permission situation of microcontroller 21.Described main control unit 2 is connected by flex cable with the medicine box unit 3 of expansion.
Described speaker 4, for playing audio signal, is fixed on intelligent medicine box device 1 inwall, is connected by tone frequency channel wire with voice synthetic module 26.
Described wearable recognition device 5 is made up of RFID tag 51 and device body 52, can for bracelet, wrist strap or other can wear article; RFID tag 51 can adopt NFC or RFID chip, includes RFID tag, is convenient to system identification patient.
Described communication terminal 6 be mobile phone or other can carry out the device of mobile communication, inner embedding can receive and respond the APP of the prompting message of intelligent medicine box device 1, also directly can receive the note of intelligent medicine box device 1, dialing is reminded.
Described computer 7 can be the device that microcomputer, notebook, panel computer, smart mobile phone etc. have web access function, for accessing intelligent medicine box device 1, facilitates user's access system or configuration-system parameters.
In order to realize above-mentioned object, another technical scheme of the present invention is:
The medication alert method of a kind of intelligent medicine box system of the present invention, step is as follows:
1) system initialization, arranges medication alert timing instant T, opens radio frequency identification module 24;
2) timing arrives, and intelligent medicine box device 1 controls display lamp 27 flash red, and by voice synthetic module 26 audio call patient's name, circulation is reminded and waits for patient consumes;
3) if patient is at T1 moment oral medicine, 9 are turned), otherwise, enter 4);
4) medicine box device sends medication alert by communication module 22 to patient's mobile phone;
5) if patient is at T2 moment oral medicine, 9 are turned), otherwise, enter 6);
6) medicine box device sends medication alert by communication module 23 to patient monitoring or nursing staff's mobile phone;
7) if patient is at T3 moment oral medicine, 9 are turned), otherwise, enter 8);
8) log recording of taking medicine is " not taking medicine ", turns 10);
9) log recording of taking medicine is " taking medicine ", cancels display lamp and voice reminder, closes radio frequency identification module 24;
10) medication alert timing instant T is next time set, proceeds to 2).
Describedly send medication alert to patient, monitoring or nursing staff's mobile phone, alerting pattern can be that note, dialing or APP remind.
In order to realize above-mentioned object, another technical scheme of the present invention is:
The method of getting it filled of a kind of intelligent medicine box system of the present invention, step is as follows:
A) microcontroller 21 senses patient by button 25 and whether presses button of getting it filled, and is turn B), no, turn A);
B) microcontroller 21 senses the RFID tag embedded in wearable recognition device 5 by radio frequency identification module 24, if RFID tag associates with current patents ID, turns C), otherwise, turn B);
C) electromagnetic valve 24 action of the containing vessel of the medicine box unit that the current product of should taking medicine of corresponding patient ID that connected by solenoid valve interface 28 of microcontroller 21 are corresponding, ejects container 21; Microcontroller 21 points out the information such as patient's name, nomenclature of drug, consumption by voice synthetic module 26; Microcontroller 21 is by display lamp 27 blinking green, and prompting patient closes containing vessel;
Whether the containing vessel that D) microcontroller 21 senses ejection by the limit switch 32 that limit switch interface 29 connects closes, and is turn F), no, turn E);
E) if time-out is not closed, microcontroller 21 points out patient to cut out containing vessel by voice synthetic module 26, turns D);
F) if patient also needs to take other medicines, C is turned), otherwise, turn G);
G) display lamp 27 is closed; To take medicine end.
In order to realize above-mentioned object, another technical scheme of the present invention is:
The method of getting it filled of staggering the time of a kind of intelligent medicine box system of the present invention, step is as follows:
I) microcontroller 21 sensing key pressing 25 is pressed for a long time, turns ii), otherwise, turn i);
Ii) microcontroller 21 senses the RFID tag embedded in wearable recognition device 5 by radio frequency identification module 24, if RFID tag is associated with the patient ID of timing of taking medicine recently, turns iii), otherwise, turn i);
Iii) if current time is between T0 and T that this patient ID is corresponding, cancel this patient ID in medication alert corresponding to T moment, perform program module of getting it filled in advance;
IV) if current time is between T3 and T4 that this patient ID is corresponding, and state of taking medicine is not for " taking medicine ", then perform program module of getting it filled.
Advantage of the present invention and beneficial effect:
1, a kind of intelligent medicine box system of the present invention and medication alert thereof and method of getting it filled; local and remote side is adopted to remind the mode combined; extension alarm is realized by network technology; guarantee patient or take medicine on time after reminding through monitoring, nursing staff, further increasing promptness and the effectiveness of patient consumes.Adopt the method that RF identification and electronic lock combine, and in conjunction with voice message, improve safety and the correctness of patient consumes, avoid getting wrong medicine and causing taking medicine by mistake.Arranged by timing instant flexibly, allow to go out or other emergencies need suitably to take medicine in advance patient is busy, or exceed the prompting cycle when needing to take, unblock is got it filled, and enhances the motility of patient consumes.
2, a kind of intelligent medicine box device of the present invention, simple for structure, modularized design, multiple functional, intelligence degree is high, effectively easy to use, by main control unit and medicine box unit physical separation, be convenient to user according to Quantity of drugs flexible combination, improve economy and practicality.
Accompanying drawing explanation
Fig. 1 is the organigram of a kind of intelligent medicine box system of the present invention;
In figure: 1. intelligent medicine box device, 2. main control unit, 3. medicine box unit, 4. speaker, 5. wearable recognition device, 6. communication terminal, 7. computer;
Fig. 2 is the structure chart of the main control unit 2 of the medicine box device of a kind of intelligent medicine box system of the present invention;
In figure: 21. microcontrollers, 22. main control units, 23. communication modules, 24.WiFi module, 25. radio frequency identification modules, 26. voice synthetic modules, 27. display lamps, 28. solenoid valve interface modules, 29. limit switch interface modules, 20. power modules;
Fig. 3 is the timing instant table moment graph of a relation of taking medicine of a kind of intelligent medicine box system of the present invention;
Fig. 4 is the structure chart of the medicine box unit 3 of the medicine box device of a kind of intelligent medicine box system of the present invention;
In figure: 31. containers, 32. limit switches, 33. springs, 34. electromagnetic valves;
Fig. 5 is the structure chart of the wearable recognition device 5 of a kind of intelligent medicine box system of the present invention;
In figure: 51. RF identification chips, 52. device bodies;
Fig. 6 is the flow chart of the medication alert method of a kind of intelligent medicine box system of the present invention;
Fig. 7 is the flow chart of the method for getting it filled of a kind of intelligent medicine box system of the present invention;
Fig. 8 is the flow chart of the method for getting it filled of staggering the time of a kind of intelligent medicine box system of the present invention.
Detailed description of the invention
Below in conjunction with the drawings and specific embodiments, the present invention will be further described.
As shown in Figure 1, a kind of intelligent medicine box system, is made up of intelligent medicine box device 1, wearable recognition device 5, communication terminal 6 and computer 7.Wearable recognition device 5 is connected with intelligent medicine box device 1 by radio communication mode, and intelligent medicine box device 1 is connected with communication terminal 6 by wireless communication mode, and computer 7 is connected with intelligent medicine box device 1 by wireless network.
Described intelligent medicine box device 1, is made up of a main control unit 2, at least one medicine box unit 3, speaker 4.Described main control unit 2 for realizing medication alert function, and controls and senses the action of described medicine box unit 3.
As shown in Figure 2, described main control unit 2 is made up of the microcontroller 21 of connecting communication module 22, WiFi module 23, radio frequency identification module 24, button 25, voice synthetic module 26, display lamp 27, solenoid valve interface 28, limit switch interface 29 respectively and power module 20.Wherein, communication module 22, WiFi module 23 are connected with microcontroller 21 by USB port, radio frequency identification module 24 is connected with microcontroller 21 by I2C bus, button 25 adopts GPIO to be connected with microcontroller 21, voice synthetic module 26 is connected with microcontroller 21 by I2C bus, and display lamp 27, solenoid valve interface 28, limit switch interface 29 are all connected with microcontroller 21 by GPIO.
Described microcontroller 21 adopts ARM9 series microprocessor, is responsible for the operation of control system and the communication service with outside, wherein embeds medication alert program module, program module of getting it filled, also comprises a Web server.Described Web server for configuring patient information and systematic parameter, and can show the information such as the state of taking medicine.Described patient information comprises patient ID, name, sex, age, label, patient's phone number, monitoring or nursing staff's phone number, institute suffer from the disease, medicine ID, nomenclature of drug, dosage, take medicine timing instant table, method of administration etc.Described systematic parameter comprises containing vessel quantity, Container ID, container associate with medicine, networking configuration, suggestion voice text etc.
As shown in Figure 3, described timing instant table of taking medicine comprises: the initial time T0 that takes medicine in advance, on schedule prompting moment T, patient's mobile phone reminding moment T1, care provider's mobile phone reminding moment T2, end remind moment T3, delay reminding finish time T4, wherein, T0 is early than T, T early than T1, T1 early than T2, T2 early than T3, T3 can not be arranged early than T4, T0, T4.T0 to T, T3 to the T4 moment is that long key response is interval.System is implemented classification according to timing instant table of taking medicine to patient consumes and is reminded.
Described communication module 22 adopts EM770W module, being 3GWCDMA module, for sending note to patient and care provider, providing linking Internet passage simultaneously.
Described WiFi module 23 adopts RT3070 module, for wireless network interconnections, also can provide linking Internet passage, makes user be accessed by network or arrange medicine box device.
Described radio frequency identification module 24 adopts PN532NFC RFID module, includes induction antenna, for sensing the electronic tag of patient.
Described button 25 is for inputting user action, and as got it filled, keyboard mechanical part is positioned at the top of main control unit 2, easy to use.System identifiable design button 25 short by, long by action.
Described voice synthetic module 26 adopts XF-S4240 Chinese speech synthesis module, and for Chinese-character text is converted into voice output, man, female voice can be arranged.
Described display lamp 27 is for sending warning light, red, green double-colored, light sparkling.
Described solenoid valve interface 28 for sending solenoid control signal, the ejection of controlled loading of explosive container.
Described limit switch interface 29, for receiving the signal of limit switch, senses the closed of containing vessel.
Described power module 20, for being system power supply, adopts lithium battery power supply, also can external direct current power supply, and containing battery charger.System enters dormancy at one's leisure, closes the power supply of main modular to save electric energy; When having button or being timed to, system is waken up.
As shown in Figure 4, described medicine box unit 3 comprises at least one independently containing vessel.Each containing vessel contains drawer type can ejecting mechanism, is made up of container 31 and limit switch 32, spring 33 and the electromagnetic valve 34 be fixed on intelligent medicine box device 1 inwall.
Described container 31 is drawer container, can controlledly eject, for placing single medicine.
Described limit switch 32 closing for Sensing container 31, and send sensing signal to microcontroller 21.
Described spring 33 is mechanical spring, for ejecting container 31.
Described electromagnetic valve 34 is micro-electromagnetic valve, for locking container, can controlledly unlock, and under the effect of spring 33, container 31 is ejected.
Described main control unit 2 is connected by flex cable with described medicine box unit 3, and limit switch 32 is connected with limit switch interface 29, is that electromagnetic valve 34 is connected with solenoid valve interface 28.
Described main control unit 2 adopts mechanical snap mode to be connected with the shell of described medicine box unit 3, medicine box unit 3 adopts the same manner to be connected with the shell of other medicine box unit 3, thus makes the medicine box unit 3 of this device arbitrary extension in the GPIO port number permission situation of microcontroller 21.Described main control unit 2 is connected by flex cable with the medicine box unit 3 of expansion.This modularized design, is convenient to the combination as required of the system when many patients, multiple medicines product, flexible expansion, also improves economy and the practicality of system.
Described speaker 4, for playing audio signal, is fixed on intelligent medicine box device 1 inwall, is connected by tone frequency channel wire with voice synthetic module 26.
As shown in Figure 5, described wearable recognition device 5 is made up of RFID tag 51 and device body 52, can for bracelet, wrist strap or other can wear article.RFID tag 51 adopts and uses the A type of ISO 14443 and the NFC label of Type B standard, for system identification patient.Device body 52, for embedding RFID tag 51, adopts hypo-allergenic PVC material, wears light and handy, comfortable.
Described communication terminal 6 is smart mobile phone, and inner embedding can receive and respond the APP of the prompting message of intelligent medicine box device 1, also directly can receive the note of intelligent medicine box device 1, dialing is reminded.
Described computer 7 can be the device that microcomputer, notebook, panel computer, smart mobile phone etc. have web access function, for accessing intelligent medicine box device 1, facilitates user's access system or configuration-system parameters.
As shown in Figure 6, the medication alert method of a kind of intelligent medicine box system of the present invention, step is as follows:
1) system initialization, arranges medication alert timing instant T, opens radio frequency identification module 24;
2) timing arrives, and medicine box device 1 controls display lamp 27 flash red, and by voice synthetic module 26 audio call patient's name, circulation is reminded and waits for patient consumes;
3) if patient is at T1 moment oral medicine, 9 are turned), otherwise, 4);
4) medicine box device sends medication alert by communication module 22 to patient's mobile phone;
5) if patient is at T2 moment oral medicine, 9 are turned), otherwise, 6);
6) medicine box device sends medication alert by communication module 23 to patient monitoring or nursing staff's mobile phone;
7) if patient is at T3 moment oral medicine, 9 are turned), otherwise, 8);
8) log recording of taking medicine is " not taking medicine ", turns 10);
9) log recording of taking medicine is " taking medicine ", cancels display lamp and voice reminder, closes radio frequency identification module 24;
10) medication alert timing instant T is next time set, turns 2).
Describedly send medication alert to patient, monitoring or nursing staff's mobile phone, alerting pattern can be that note, dialing or APP remind.
In patient's not responding system medication alert, namely in setting-up time without to get it filled behavior, system can send request to its monitoring or nursing staff; Understandably, monitoring or nursing staff can not only people, thus realize medication alert to greatest extent.Blinking red lamp, expression system carries out medication alert.
As shown in Figure 7, the method for getting it filled of a kind of intelligent medicine box system of the present invention, step is as follows:
A) microcontroller 21 senses patient by button 25 and whether presses button of getting it filled, and is turn B), no, turn A);
B) microcontroller 21 senses the RFID tag embedded in wearable recognition device 5 by radio frequency identification module 24, if RFID tag associates with current patents ID, turns C), otherwise, turn B);
C) electromagnetic valve 24 action of the containing vessel of the medicine box unit that the current product of should taking medicine of corresponding patient ID that connected by solenoid valve interface 28 of microcontroller 21 are corresponding, ejects container 21; Microcontroller 21 points out the information such as patient's name, nomenclature of drug, consumption by voice synthetic module 26; Microcontroller 21 is by display lamp 27 blinking green, and prompting patient closes containing vessel;
Whether the containing vessel that D) microcontroller 21 senses ejection by the limit switch 32 that limit switch interface 29 connects closes, and is turn F), no, turn E);
E) if time-out is not closed, microcontroller 21 points out patient to cut out containing vessel by voice synthetic module 26, turns D);
F) if patient also needs to take other medicines, C is turned), otherwise, turn G);
G) display lamp 27 is closed; To take medicine end.
When getting it filled, the RFID tag that system is worn by patient confirms patient identity.Only have sufferers themselves to press button of getting it filled, system just can eject the container of product of need taking medicine, and voice message patient's name, nomenclature of drug, consumption, realize safety of medication.Green light glimmers, and prompting patient closes containing vessel; Only have closedown containing vessel, system just can eject the container of lower a kind of medicine (if need take multi-medicament), avoids confusion of getting it filled.
As shown in Figure 8, the method for getting it filled of staggering the time of a kind of intelligent medicine box system of the present invention, step is as follows:
I) microcontroller 21 sensing key pressing 25 is pressed for a long time, turns ii), otherwise, turn i);
Ii) microcontroller 21 senses the RFID tag embedded in wearable recognition device 5 by radio frequency identification module 24, if RFID tag is associated with the patient ID of timing of taking medicine recently, turns iii), otherwise, turn i);
Iii) if current time is between T0 and T that this patient ID is corresponding, cancel this patient ID in medication alert corresponding to T moment, perform program module of getting it filled in advance;
IV) if current time is between T3 and T4 that this patient ID is corresponding, and state of taking medicine is not for " taking medicine ", then perform program module of getting it filled.
Patient is long by button of getting it filled, and can allow in case of emergency suitably to shift to an earlier date or postpone to get it filled, and improves the motility of getting it filled.Certainly, patient gets it filled still needs carrying electronic label.T0, T4 not necessarily must be arranged, and when not arranging, system is not supported to stagger the time to get it filled.
The present embodiment is more excellent embodiment of the present invention; it should be noted that; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change and are out of shape the protection domain that all should belong to the claim appended by the present invention.