A kind of fuzzy based reminding method
Technical field
The invention belongs to terminal based reminding method field, a kind of fuzzy based reminding method be applied in terminal alert device of specific design.
Background technology
Along with the fast development of economy, the quickening of rhythm of life, people also accelerate the rhythm of working and learning gradually, in the process of being busy with work and study, people are easy to forget some things, such as check card, take medicine, go out and be with key etc., therefore need some equipment with prompting function to remind people that timing is done.As, some timed remindings APP on mobile phone, can remind people when arriving setting-up time.
At present, the special prompting terminal also having some to have specific function is used for reminding people to do corresponding thing at setting-up time, as some have the intelligent medicine box of time setting, prompting function.Have chip circuit plate in current intelligent medicine box, can set the time needing reminding function, after having arrived this setting-up time, intelligent medicine box starts to send alerting signal, reminds people to take medicine.But find in real process, people do not need to take medicine on a concrete time point, but can take medicine in a period of time, such as, between morning 7 o'clock to 7: 30, or between noon 11: 45 to 12: 15, the fuzzy prompting function of a period of time is extended before and after energy after this needs to possess setting time point on based reminding method, but the based reminding method in current a lot of terminals does not have similar program technic, the prompting realized in a time interval is made to need to set initial time and termination time respectively, very inconvenient.
In addition, current timed reminding terminal, can only fix a point to remind, and be therefore difficult to the state keeping prompting in conjunction with some sensors in individual time interval, functionally have great limitation, user's use sense is poor.
Summary of the invention
For deficiency of the prior art, the invention provides a kind of fuzzy based reminding method, after setting a reminder time, the regular hour can be extended before and after this time point, reach the object can reminded in a time interval, i.e. fuzzy prompting.
The present invention is achieved through the following technical solutions:
A kind of fuzzy based reminding method, comprises the following steps: a. sets reminder time t0; B. setting-up time section t1, or read the time period t 1 set; C. in time interval t0-t1 to t0+t1, alert state is entered; D. alert state is exited.
In existing time reminding method, only have and just can remind to this time point after setting reminder time, this also meets the occasion that great majority needs are reminded, such as morning quarter-bell prompting, working remind, come off duty and remind, as long as fix a point to remind.But also in some occasion, some things complete in a time interval, not specific time point, such as the prompting of taking medicine, as long as it is all right to take medicine within a certain period of time, for this kind of reminder events, not a kind of interval based reminding method that can set easily.
The fuzzy based reminding method of one in the present invention, what coordinate with it is can the intelligent medicine box of reminding function, and intelligent medicine box carries out reminder time when arranging, setting reminder time t0 and time period t 1, can enter alert state in time interval t0-t1 to t0+t1.First time needs setting-up time section t1 when using, and change if do not need backward, just need not reset, system can read last t1 automatically, as long as setting t0, very convenient.
As preferably, comprise the following steps in described step c: c1. enters prompting SBR in time interval t0-t1 to t0+t1; C2. alert state is entered after receiving sensor signal.
As improving in the present invention, when the time reaches the t0-t1 moment be, not crystal alert state at once in step c, but enter prompting SBR, this state and intelligent medicine box service condition adapt to.In general family, intelligent medicine box is placed on fixed position, in such as parlor or in bedroom, be frequently carved with people, now remind (such as sound occurring) that people might not be reminded, cause waste, but when perceiving the signal of people's process, enter alert state, sound, remind people accurately, can not the wasting of resources be caused.
As preferably, the one in comprising the following steps in described steps d: d1., in time interval t0-t1 to t0+t1, obtains feedback signal backed off after random and reminds SBR or alert state; D2. in time interval t0-t1 to t0+t1, do not obtain feedback signal, then, after time point t0+t1, exit and remind SBR or alert state; D3. in time interval t0-t1 to t0+t1, do not obtain feedback signal, then, after time point t0+t1, proceed several times Interval Reminder, then exit prompting SBR or alert state.
In the present invention, steps d is for exiting alert state, and this state can be triggered by any one in above steps d 1, d2, d3.Wherein steps d 3 is persistence prompting, and when not having feedback message to be in time interval t0-t1 to t0+t1, represent and need the time of reminding not to be done, now programming is also carry out the prompting that several times have interval time after the t0+t1 moment.
As preferably, the sensor signal in described step c2 is the signal from infrared sensor.The wrong report produced due to pyroelectric infrared sensor is few, therefore adopts infrared sensor, can perception whether someone passes through.
As preferably, the several times Interval Reminder in described steps d 3 is that the three minor ticks fixed point of five minutes is reminded, and is after this exiting alert state.
As preferably, described feedback signal is from the stopping alerting signal in alert device terminal, or completes reminder events signal.Terminal is intelligent medicine box, and this intelligent medicine box is provided with the button stopping reminding, and presses and can produce feedback signal, make program exit alert state; Also can be on intelligent medicine box, complete the operation of getting it filled, make program exit alert state.
As preferably, in described step a, set reminder time mode as arranging in alert device terminal, or arranged by mobile terminal networking, or arranged by computer networking.The approach of setting reminder time has multiple, conventional, intelligent medicine box directly can set reminder time; Further, intelligent medicine box can be connected into network by WIFI, computer can be arranged some parameters on intelligent medicine box, comprise reminder time, meanwhile, the mobile terminals such as mobile phone or flat board also can install corresponding software, realize the control to intelligent medicine box, comprise the setting etc. of reminder time, conveniently check the situations such as record of taking medicine of household.
As preferably, method of the present invention is further comprising the steps of: e. will exit alert state event and feed back to mobile terminal and/or computer, maybe will exit alert state event and exit alert state reason to feed back to mobile terminal and/or computer.
This step can facilitate us in computer, terminal, check the situation of taking medicine of household, the people being particluarly suitable for outer work looks after the father and mother be in, tracking in time is in management needs the situation of regular medicine taking father and mother, when the feedback of taking medicine of father and mother occurs abnormal, relatives or contact doctor can be contacted in time, avoid accidents.
Compared with prior art, the present invention has following beneficial effect: 1) obtain prompting function in a time interval by setting a reminder time, very convenient; 2) can remind according to the signal-selectivity of sensor under reminding SBR, energy-conservation; 3) feedback of reminder events result can be obtained in time, prevent unexpected generation.
Detailed description of the invention
Below in conjunction with detailed description of the invention, the present invention is described further.
The fuzzy based reminding method of one of the present invention can be used for intelligent reminding equipment, such as intelligent alarm clock or there is the intelligent medicine box of intelligent reminding function, this intelligent medicine box has the function of timing reminding function, be provided with data in this intelligent medicine box to store and processing center, described data store and are connected with transmitter module, infrared induction module etc. with input module, quarter-bell module, WiFi/ Bluetooth receptions with processing center, the drug storage chamber of placing tablet is also provided with in intelligent medicine box, be provided with in described drug storage chamber for detecting the induction apparatus of whether getting it filled, as weight induction device.
The fuzzy based reminding method of one of the present invention, can be obtained the prompting function in a time interval because of it by setting reminder time, therefore be called fuzzy prompting, the method for this fuzzy prompting can be used in intelligent medicine box, facilitates management to take medicine situation.
The fuzzy based reminding method of one in present embodiment, comprises the following steps:
A. reminder time t0 is set.
Set reminder time mode as arranging on intelligent medicine box, set-up mode can for set by the mode such as button or touch screen at intelligent medicine box; Intelligent medicine box can be connected into network by WIFI, therefore also can network and the terminal such as computer, mobile phone, flat board being provided with corresponding control sequence arrange, very convenient.
B. setting-up time section t1, or read the time period t 1 set.
Need setting-up time section t1 when the first time of intelligent medicine box is arranged, if time period t 1 does not need change afterwards, can repeat to arrange, system can read the t1 of last setting automatically, eliminates single stepping.
C. in time interval t0-t1 to t0+t1, enter alert state, this step comprises following fine division step: c1. enters prompting SBR in time interval t0-t1 to t0+t1; C2. alert state is entered after receiving sensor signal.
Wherein, during c1 stage, infrared sensor is started working, and alarm set enters prompting SBR; Whether infrared sensor has people's process around for detecting, and when having people through out-of-date, infrared sensor produces signal, now enter the c2 stage, the processing center in intelligent medicine box enters alert state after receiving the signal of infrared sensor, sound or lamp sudden strain of a muscle, remind people around to note.
D. alert state is exited, the one during this step comprises the following steps.
D1., in time interval t0-t1 to t0+t1, obtain feedback signal backed off after random and remind SBR or alert state.
This feedback signal is from the stopping alerting signal in alert device terminal, or completes reminder events signal.Terminal is intelligent medicine box, and this intelligent medicine box is provided with the button stopping reminding, and presses and can produce feedback signal, make program exit alert state; Also can be on intelligent medicine box, complete the operation of getting it filled, make program exit alert state.
D2. in time interval t0-t1 to t0+t1, do not obtain feedback signal, then, after time point t0+t1, exit and remind SBR or alert state.
D3. in time interval t0-t1 to t0+t1, do not obtain feedback signal, then, after time point t0+t1, proceed the three minor ticks fixed point of five minutes and remind, then exit prompting SBR or alert state.
E. will exit alert state event and feed back to mobile terminal and/or computer, maybe will exit alert state event and exit alert state reason feeding back to mobile terminal and/or computer.
This step can facilitate us in computer, terminal, check the situation of taking medicine of household, the people being particluarly suitable for outer work looks after the father and mother be in, tracking in time is in management needs the situation of regular medicine taking father and mother, when the feedback of taking medicine of father and mother occurs abnormal, relatives or contact doctor can be contacted in time, avoid accidents.
Therefore, as can be seen from above embodiment, the present invention obtains prompting function in a time interval by setting a reminder time, and namely fuzzy prompting function, very convenient; And can remind according to the signal-selectivity of sensor, energy-conservation; And the feedback of reminder events result can be obtained in time, prevent unexpected generation.
Protection scope of the present invention includes but not limited to above embodiment, and protection scope of the present invention is as the criterion with claims, and any replacement that those skilled in the art will find apparent that, distortion, improvement made this technology all falls into protection scope of the present invention.