A kind of fuzzy based reminding method
Technical field
The invention belongs to terminal based reminding method field, a kind of fuzzy prompting applied in terminal alert device of specific design
Method.
Background technology
With the rapid development of economy, the quickening of rhythm of life, people also gradually accelerate the rhythm of working and learning,
During being busy with work and study, people are it is easy to forget that some things, for example check card, take medicine, band key etc. of going out, therefore
Needing some has the equipment of prompting function to remind people that timing is done.Such as, some timed remindings APP on mobile phone, can be
People are reminded when reaching setting time.
At present, also there are some that there is the special prompting terminal of specific function to be used for reminding people to do accordingly in setting time
Thing, as some have the time setting, prompting function intelligent medicine box.There is chip circuit plate, energy in current intelligent medicine box
Setting needs the time of reminding function, and after having arrived the setting time, intelligent medicine box begins to send out alerting signal, reminds people's clothes
Medicine.But being found in real process, people need not simultaneously take medicine on a specific time point, but in a period of time
It can take medicine, such as, between morning 7 points to 7: 30, or between noon 11: 45 to 12: 15, this is needed in based reminding method
On possess after one time point of setting can front and rear extension a period of time fuzzy prompting function, but carrying in current many terminals
Method of waking up does not have similar program technic so that realizes that the prompting in a time interval needs to set initial time respectively
It is inconvenient with terminating the time.
In addition, current timed reminding terminal, can only pinpoint prompting, therefore, it is difficult to combine some sensors in individual time zone
The interior state for keeping reminding, functionally there is a great limitation, and user's use feeling is poor.
The content 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 around time point at this, reach the purpose that can be reminded in a time interval, i.e., it is fuzzy to carry
Wake up.
The present invention is achieved through the following technical solutions:
A kind of fuzzy based reminding method, comprises the following steps:A. reminder time t0 is set;B. setting time section t1, or read
The time period t 1 set;C. alert state is entered into t0+t1 in time interval t0-t1;D. alert state is exited.
In existing time reminding method, set and only arrived the time point after reminder time and can just remind, this is also complied with greatly
Most occasions for needing to remind, for example prompting, the working of quarter-bell in morning are reminded, prompting etc. of coming off duty, as long as fixed point is reminded.But
Also some things are completed in a time interval in some occasions, not specific time point, such as medication
Prompting, 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 area that can easily set
Between based reminding method.
A kind of fuzzy based reminding method in the present invention, matched is the intelligent medicine box of energy reminding function, in intelligent medicine
When reminder time setting is carried out on box, reminder time t0 and time period t 1 are set, you can in time interval t0-t1 to t0+t1
Into alert state.Setting time section t1 is needed when using for the first time, if need not change backward, does not just have to reset, is
System can read the t1 of last time automatically, very convenient as long as setting t0.
Preferably, comprise the following steps in the step c:C1. enter in time interval t0-t1 into t0+t1 and remind
SBR;C2. alert state is entered after receiving sensor signal.
As an improvement, being when the time reach the t0-t1 moment in the present invention, not horse back crystal alert state in step c, and
It is to enter to remind SBR, the state adapts to intelligent medicine box service condition.In general family, intelligent medicine box is placed on fixation
In position, such as parlor or in bedroom, moment someone, does not remind now(For example sound occurs)It might not can remind and arrive
People, cause to waste, but when perceiving the signal of someone's process, into alert state, sound is sent, accurately reminds and arrives
People, the wasting of resources will not be caused.
Preferably, one kind in comprising the following steps in the step d:D1. in time interval t0-t1 to t0+t1,
Obtain feedback signal backed off after random and remind SBR or alert state;D2. do not obtained in time interval t0-t1 to t0+t1 anti-
Feedback signal, then after time point t0+t1, exit and remind SBR or alert state;D3. in time interval t0-t1 to t0+
Feedback signal is not obtained in t1, then after time point t0+t1, continues Interval Reminder several times, then exits prompting and prepares
State or alert state.
In the present invention, to exit alert state, the state can be touched step d by any one in above step d1, d2, d3
Hair.Wherein step d3 reminds for continuation, and when no feedback message is in time interval t0-t1 to t0+t1, expression needs to remind
Time be not done, now program is arranged to the prompting for also being had interval time after the t0+t1 moment several times.
Preferably, the sensor signal in the step c2 is the signal from infrared sensor.Because pyroelectricity is red
Wrong report is few caused by outer sensor, therefore uses infrared sensor, can perceive whether someone passes through.
Preferably, the Interval Reminder several times in the step d3 is reminded for the three minor tick fixed points of five minutes, hereafter
Exiting alert state.
Preferably, the feedback signal is the stopping alerting signal in alert device terminal, or complete to remind thing
Part signal.Terminal is intelligent medicine box, and the intelligent medicine box is provided with the button for stopping reminding, and feedback signal can be produced by pressing, and make journey
Sequence exits alert state;It can also be the operation for completing to get it filled on intelligent medicine box, program is exited alert state.
Preferably, in the step a, reminder time mode is set to be set in alert device terminal, or pass through shifting
Dynamic terminal networking is set, or is networked and set by computer.Setting reminder time approach have it is a variety of, it is conventional, on intelligent medicine box
Reminder time can directly be set;Further, intelligent medicine box can be connected into network by WIFI, can be to intelligent medicine on computer
Some parameters on box are configured, including reminder time, meanwhile, the mobile terminal such as mobile phone or flat board can also be installed accordingly
Software, realizes the control to intelligent medicine box, includes the setting etc. of reminder time, situations such as conveniently checking the medication record of household.
Preferably, the method for the present invention is further comprising the steps of:E. it will move out alert state event and feed back to movement eventually
End and/or computer, or will move out alert state event and exit alert state reason and feed back to mobile terminal and/or computer.
The step can facilitate us to check the medication situation of household in computer, terminal, be especially suitable for the people to work outside
The father and mother being in are looked after, tracking is in management in time needs the situation of regular medicine taking father and mother, feeds back and occurs when the medication of father and mother
When abnormal, relatives or contact doctor can be contacted in time, is avoided accidents.
Compared with prior art, the invention has the advantages that:1)One can be obtained by setting a reminder time
Prompting function in individual time interval, it is very convenient;2)Reminding can remind under SBR according to the signal-selectivity of sensor,
Energy-conservation;3)The feedback of reminder events result can be obtained in time, prevent unexpected generation.
Embodiment
With reference to embodiment, the present invention is described further.
A kind of fuzzy based reminding method of the present invention can be used for intelligent reminding equipment, such as intelligent alarm clock or have intelligent reminding
The intelligent medicine box of function, the intelligent medicine box have the function of timing reminding function, and data storage and place are provided with the intelligent medicine box
Reason center, the data storage and processing center and input module, quarter-bell module, WiFi/ bluetooths receive and transmitter module, infrared
Induction module etc. is connected, and the drug storage chamber for placing tablet is additionally provided with intelligent medicine box, be provided with the drug storage chamber for detecting whether
The inductor got it filled, such as weight induction device.
A kind of fuzzy based reminding method of the present invention, because it can obtain a time interval by setting a reminder time
Interior prompting function, therefore fuzzy prompting is called, this fuzzy method reminded can be used in intelligent medicine box, convenient management medication feelings
Condition.
A kind of fuzzy based reminding method in present embodiment, comprises the following steps:
A. reminder time t0 is set.
Reminder time mode is set to be set on intelligent medicine box, set-up mode can be intelligent medicine box by button or
The modes such as touch-screen are set;Intelligent medicine box can be connected into network by WIFI, thus can also network and phase is installed
The terminals such as the computer, mobile phone, flat board of control program are answered to be configured, it is very convenient.
B. setting time section t1, or read the time period t 1 set.
The first time of intelligent medicine box needs setting time section t1 when setting, can not if time period t 1 need not change afterwards
With repeating to set, system can read the t1 of last setting automatically, eliminate single stepping.
C. alert state is entered into t0+t1 in time interval t0-t1, the step includes following fine division step:C1. when
Between section t0-t1 into t0+t1 enter remind SBR;C2. alert state is entered after receiving sensor signal.
Wherein, during the c1 stages, infrared sensor is started working, and alarm set, which enters, reminds SBR;Infrared sensor
For detecting surrounding, whether someone passes through, and when someone passes through, infrared sensor produces signal, now into c2 stages, intelligence
After processing center in medicine box receives the signal of infrared sensor, into alert state, send sound or lamp dodges, remind surrounding
People pay attention to.
D. exit alert state, the step comprise the following steps in one kind.
D1. in time interval t0-t1 to t0+t1, obtain feedback signal backed off after random and remind SBR or alert state.
The feedback signal is the stopping alerting signal in alert device terminal, or completes reminder events signal.Terminal
For intelligent medicine box, the intelligent medicine box is provided with the button for stopping reminding, and feedback signal can be produced by pressing, and program is exited prompting shape
State;It can also be the operation for completing to get it filled on intelligent medicine box, program is exited alert state.
D2. do not obtain feedback signal in time interval t0-t1 to t0+t1, then after time point t0+t1, exit and carry
Awake SBR or alert state.
D3. do not obtain feedback signal in time interval t0-t1 to t0+t1, then after time point t0+t1, continue into
The minor tick fixed point of five minutes of row three is reminded, then is exited and reminded SBR or alert state.
E. it will move out alert state event and feed back to mobile terminal and/or computer, or will move out alert state event and move back
Go out alert state reason and feed back to mobile terminal and/or computer.
The step can facilitate us to check the medication situation of household in computer, terminal, be especially suitable for the people to work outside
The father and mother being in are looked after, tracking is in management in time needs the situation of regular medicine taking father and mother, feeds back and occurs when the medication of father and mother
When abnormal, relatives or contact doctor can be contacted in time, is avoided accidents.
Therefore, as can be seen that the present invention can obtain a time by setting a reminder time from above example
Prompting function in section, i.e., fuzzy prompting function are very convenient;And can be reminded according to the signal-selectivity of sensor, save;
And the feedback of reminder events result can be obtained in time, prevent unexpected generation.
Protection scope of the present invention includes but is not limited to embodiment of above, and protection scope of the present invention is with claims
It is defined, any replacement being readily apparent that to those skilled in the art that this technology is made, deformation, improvement each fall within the present invention's
Protection domain.