Summary of the invention
It is a kind of without sound alarm method and device that the object of the embodiment of the present invention is to provide, and is intended to solve existing Wearable equipment or the object sensor high problem of rate of false alarm in the time using separately.
The embodiment of the present invention is achieved in that a kind of without sound alarm method, and described method comprises the steps:
Study user uses pattern;
By default dynamic sensing apparatus and state induction equipment, and described study to user use pattern, judge that whether user is in active state;
When user is during in inactive state, send warning.
Further, described dynamic sensing apparatus is the Wearable equipment with acceleration transducer; Described state induction equipment is the object sensor with acceleration transducer.
Further, described by default dynamic sensing apparatus and state induction equipment, and described study to user use pattern, judge whether user comprises in active state:
Calculate the interior maximal value of all axial acceleration absolute values of acceleration transducer sum of Wearable equipment of a Preset Time or the maximal value of all axial acceleration absolute values of acceleration transducer of Wearable equipment as the first detected value A1; Calculate the interior maximal value of all axial acceleration absolute value sums of object sensor of described Preset Time or the maximal value of all axial acceleration absolute values of object sensor as the second detected value A2;
When described the first detected value A1 is less than or equal to default threshold value a1, and described the second detected value A2 is less than or equal to default threshold value a2, according to described study to user use mode decision current time whether in user's activity time section, be to judge that user is in inactive state.
Further, described study is used pattern also to comprise:
The study of user's interruption-free time, and be added in described user's use pattern.
Further, the study of described user's interruption-free time comprises:
Interruption-free state sample gathers;
Extract the feature of the interruption-free state sample of described collection;
Carry out sorter training according to the feature of described extraction, obtain described user's interruption-free time.
The present invention also proposes a kind of without sound warning device, and described device comprises:
Study module, uses pattern for learning user;
Judge module, for by default dynamic sensing apparatus and state induction equipment, and described study to user use pattern, judge that whether user is in active state;
Alarm module, for when user is during in inactive state, sends warning.
Further, described dynamic sensing apparatus is the Wearable equipment with acceleration transducer; Described state induction equipment is the object sensor with acceleration transducer.
Further, described judge module comprises:
Computing unit, for calculating the maximal value of all axial acceleration absolute values of acceleration transducer sum of Wearable equipment in a Preset Time or the maximal value of all axial acceleration absolute values of acceleration transducer of Wearable equipment as the first detected value A1; Calculate the interior maximal value of all axial acceleration absolute value sums of object sensor of described Preset Time or the maximal value of all axial acceleration absolute values of object sensor as the second detected value A2;
Identifying unit, for being less than or equal to default threshold value a1 as described the first detected value A1, and described the second detected value A2 is less than or equal to default threshold value a2, according to described study to user use mode decision current time whether in user's activity time section, be to judge that user is in inactive state.
Further, described study module also for:
The study of user's interruption-free time, and be added in described user's use pattern.
Further, described study module comprises:
Collecting unit, gathers for interruption-free state sample;
Extraction unit, for extracting the feature of interruption-free state sample of described collection;
Training unit, for carrying out sorter training according to the feature of described extraction, obtains described user's interruption-free time.
The embodiment of the present invention propose a kind of dynamic sensing apparatus as Wearable sensor and state induction equipment as object sensor combine without sound alarm method and device, because above-mentioned two kinds of sensors are all, by built-in acceleration transducer, the motion of human body or object is carried out to perception, there is motion perception advantage accurately compared with pyroelectric sensor, camera, therefore greatly reduce disadvantaged group as the probability of the false alarm of old man's monitoring.Use in the learning process of pattern user, increased adaptive learning method, improved system user is used in different time, age, health the adaptability of patterns of change.Formulate corresponding service centre counter-measure according to two kinds of different alarm condition of sensor simultaneously, and propose the recognition methods that user exempts from section interference time the cost providing without sound alert service has been provided, improve user's experience, improved service quality and user satisfaction.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
embodiment mono-
The embodiment of the present invention one proposes a kind of without sound alarm method, is applied to the server in system as shown in Figure 1, this system comprise server, mobile terminal, external or in the dynamic sensing apparatus established if Wearable equipment, state induction equipment are as object sensor.The embodiment of the present invention describes as an example of Wearable equipment and object sensor example, other similar devices also can be applicable to the embodiment of the present invention, Wearable equipment is by elders wear, object sensor is fixed on the conventional object of old man, and Wearable equipment and object sensor are mainly made up of acceleration transducer, MCU, wireless communication module and the supply module of diaxon or three axles.As shown in Figure 2, the method for the embodiment of the present invention one comprises step:
S1, study user use pattern.For economizing on resources, avoid system frequently to detect user's active state, the embodiment of the present invention is introduced user's use pattern, and the use pattern of introducing user can reduce the probability of error detection.
Before user's use pattern, first must learn user's use pattern.Using initial a period of time (as one month) of Wearable equipment or object sensor user is the pattern learning phase.During this period of time, estimation object/person body in each time period (as: each hour) in moving type probability of state.With the pattern learning phase of 30 days, 8 to 9 time periods were example, if in these 30 days, had 29 days wearing sensors or object sensor output active signal, 8 to 9 points, and human body is 29/30=96.67% in moving type probability of state.
Because user's use pattern may change along with the variation in season, month, therefore in follow-up use procedure, system by automatically to the user in different months use pattern learn to obtain activity condition probability P (A|M) based on month wherein M represent month, A deputy activity.Consider impact use pattern being caused along with the growth of user's age or the variation of physical qualification simultaneously.System is upgraded P by finishing in every month the rear conditional probability to this month
update(A|M)=b*P
old(A|M)+(1-b) * P
new(A|M).Wherein upgrade weight b by the monthly Lookup protocol of reporting the result of visit to user according to customer acceptance center.If this month user's use patterns of change is owing to going away, the physical function impermanency influence factor causing of suddenling change causes, and b value is larger, as: 0.9~1.0; If this month user's use patterns of change is that b value is less because physical function sudden change (as: occurring affecting the disease of mobility) causes, as: 0.0~0.1; If this moon does not have emergency case, b can value 0.5, to adapt to successional use patterns of change.
S2, by default dynamic sensing apparatus and state induction equipment, and study to user use pattern, judge that whether user is in active state.As shown in Figure 3, specifically can comprise step:
In S11, calculating one Preset Time, the maximal value of all axial acceleration absolute values of acceleration transducer sum of Wearable equipment or the maximal value of all axial acceleration absolute values of acceleration transducer of Wearable equipment are as the first detected value A1; Calculate the interior maximal value of all axial acceleration absolute value sums of object sensor of Preset Time or the maximal value of all axial acceleration absolute values of object sensor as the second detected value A2.
S12, be less than or equal to default threshold value a1 as the first detected value A1, and the second detected value A2 is less than or equal to default threshold value a2, and according to study to user use mode decision current time whether in user's activity time section, be to judge that user is in inactive state.Threshold value a1 and threshold value a2 are for presetting, the mode of setting is: by object sensor and Wearable equipment static placement a period of time as one hour, calculate the average of the acceleration quadratic sum of the acceleration transducer of object sensor and Wearable equipment in static process, using the average of the acceleration quadratic sum of object sensor (also can get the maximal value of each axial acceleration absolute value of object sensor) as threshold value a1, using the average of the quadratic sum of the acceleration of the acceleration transducer of Wearable equipment (also can get the maximal value of each axial acceleration absolute value of sensor) as threshold value a2.Contrast the first detected value A1 and threshold value a1, contrast the second detected value A2 and threshold value a2, as the first detected value A1 is less than or equal to threshold value a1, and the second detected value A2 is less than or equal to threshold value a2, further according to study to user whether use mode decision to obtain the current time period be that activity time of user is when section, just deducibility goes out user in abnormal inactive state, and carries out next step.
S3, when user is during in inactive state, send warning.
That reports to the police sends and can be completed by object sensor, Wearable equipment or server.If Wearable equipment sends alerting signal, object sensor shows that User Activity is normal, shows that user may forget to wear Wearable sensor or Wearable sensor battery exhausts or breaks down.At this moment, remind and wear Wearable equipment or remind charging note automatically to send.After certain hour as still without response, enter the artificial treatment patterns such as phone.If Wearable sensor and object sensor all send alerting signal, enter one-level early warning, carry out phone inquiry, reply as nothing, expatriate personnel visit.If two kinds of sensors all do not send alerting signal, show normally, without taking measures.If Wearable sensor does not send alerting signal, object sensor sends alerting signal, illustrates that object sensor may break down, and will enter object sensor maintenance flow process.Alerting signal output determination methods in this measure is as follows: suppose that perceptron is P at the movable probability of certain time period, if current slot perceptron does not have active signal output, and P is greater than certain threshold value as 30% perceptron output alarm signal.This threshold value has determined the susceptibility of system, generally should adjust according to practice.
As shown in Figure 4, the embodiment of the present invention one also can comprise step:
The study of S4, user's interruption-free time, and be added in user's use pattern.
Experience in order to improve user, avoid user to cause unnecessary creating disturbances to, user's interruption-free time can be set, in user's interruption-free time, user does not receive the Human disturbances such as phone.As Wearable equipment, object sensor or server send warning, need to check whether the current time period of living in disturb the period for exempting from, be to wait for exempting to disturb the period to finish.Here the interruption-free time period to user is carried out to automatic learning, learning method as shown in Figure 5, comprising:
S31, interruption-free state sample gather.Gather user's (for example: have a rest and have dinner) Wearable sensor reading sample within the interruption-free period.
S32, feature extraction.Disturb the reading sample of period inner sensor to be divided into n the period (n value can be estimated optimal value by cross validation) by exempting from.Calculate each period sensor reading sample average and variance.Specific features extracting method is not limited to this, also can adopt the amplitude equalizing value that the sensing data reading in the period is carried out to each frequency band of the statistics of Fourier variation in short-term as feature, and n characteristics of time interval series connection obtained to proper vector.Extract the sensor reading feature of normal period by identical method simultaneously.
S33, sorter training.Carry out the sorter training (exempting to disturb period and normal period) of two classes according to the sample characteristics obtaining.Sorter can adopt the methods such as support vector machine, artificial neural network and random forest.
S34, the judgement of interruption-free time period.When obtaining after the Wearable sensor reading of a day, be multiple continuous time periods by the sensor reading cutting of this day, duration is identical with the interruption-free period duration average of training use.According to extracting sensor reading feature.And input sorter and adjudicate.When Wearable sensor is worn or when running down of battery there is no reading owing to forgetting, adjudicate according to the interference time section average exempted from of front m (as: 5) day.
The embodiment of the present invention one propose without sound alarm method, because above-mentioned two kinds of sensors are all, by built-in acceleration transducer, the motion of human body or object is carried out to perception, there is the low and motion perception advantage accurately of cost compared with pyroelectric sensor, camera.Use in the learning process of pattern user, increased adaptive learning method, improved system user is used in different time, age, health the adaptability of patterns of change.Simultaneously can take phase counter-measure according to two kinds of different alarm condition of sensor, and propose the recognition methods that user exempts from section interference time the cost providing without sound alert service has been provided, improve user's experience, improve service quality and user satisfaction.
embodiment bis-
The embodiment of the present invention two proposes one without sound warning device, and this device can be server, can be also cloud platform, preferably cloud platform.Cloud platform can configure required hardware resource flexibly according to the number of customer volume and calculated amount.Amazon, Alibaba, the companies such as Sina all provide basic cloud platform service.Wearable equipment or object sensor push data into cloud platform by http protocol or udp protocol.Can be by Apache http server software receiving sensor data be installed on cloud platform, carry out data analysis processing, to service centre provide web application service show in real time the geriatric state of use equipment, to outworker's mobile terminal or children's mobile terminal PUSH message (can adopt MQTT to realize).
As shown in Figure 6, the device of the embodiment of the present invention two comprises:
Study module 30, uses pattern for learning user.
Judge module 10, for by default dynamic sensing apparatus and state induction equipment, and study to user use pattern, judge that whether user is in active state; Above-mentioned dynamic sensing apparatus can be Wearable equipment, and state induction equipment can be object sensor, and other similar devices also can be applicable to the embodiment of the present invention, and the embodiment of the present invention describes as an example of Wearable equipment and object sensor example.
Alarm module 20, for when user is during in inactive state, sends warning.
Further, as shown in Figure 7, judge module 10 comprises computing unit 11, calculates the interior maximal value of all axial acceleration absolute values of acceleration transducer sum of Wearable equipment of a Preset Time or the maximal value of all axial acceleration absolute values of acceleration transducer of Wearable equipment as the first detected value A1; Calculate the interior maximal value of all axial acceleration absolute value sums of object sensor of Preset Time or the maximal value of all axial acceleration absolute values of object sensor as the second detected value A2; Identifying unit 12, when the first detected value A1 is less than or equal to default threshold value a1, and the second detected value A2 is less than or equal to default threshold value a2, according to study to user use mode decision current time whether in user's activity time section, be to judge that user is in inactive state.
For economizing on resources, avoid system frequently to detect user's active state, the embodiment of the present invention is introduced user's use pattern, and the use pattern of introducing user can reduce the probability of error detection.Before user's use pattern, first study module 30 is learnt user's use pattern, and using initial a period of time (as one month) of Wearable equipment or object sensor user is the pattern learning phase.During this period of time, estimation object/person body in each time period (as: each hour) in moving type probability of state.With the pattern learning phase of 30 days, 8 to 9 time periods were example, if in these 30 days, had 29 days wearing sensors or object sensor output active signal, 8 to 9 points, and human body is 29/30=96.67% in moving type probability of state.
Because user's use pattern may change along with the variation in season, month, therefore in follow-up use procedure, study module 30 by automatically to the user in different months use pattern learn to obtain activity condition probability P (A|M) based on month wherein M represent month, A deputy activity.Consider impact use pattern being caused along with the growth of user's age or the variation of physical qualification simultaneously.System is upgraded P by finishing in every month the rear conditional probability to this month
update(A|M)=b*P
old(A|M)+(1-b) * P
new(A|M).Wherein upgrade weight b by the monthly Lookup protocol of reporting the result of visit to user according to customer acceptance center.If this month user's use patterns of change is owing to going away, the physical function impermanency influence factor causing of suddenling change causes, and b value is larger, as: 0.9~1.0; If this month user's use patterns of change is that b value is less because physical function sudden change (as: occurring affecting the disease of mobility) causes, as: 0.0~0.1; If this moon does not have emergency case, b can value 0.5, to adapt to successional use patterns of change.
When judge module 10 judges, threshold value a1 and threshold value a2 are for presetting, the mode of setting is: by object sensor and Wearable equipment static placement a period of time as one hour, calculate the average of the acceleration quadratic sum of the acceleration transducer of object sensor and Wearable equipment in static process, using the average of the acceleration quadratic sum of object sensor (also can get the maximal value of each axial acceleration absolute value of object sensor) as threshold value a1, using the average of the quadratic sum of the acceleration of the acceleration transducer of Wearable equipment (also can get the maximal value of each axial acceleration absolute value of sensor) as threshold value a2.The first detected value A1 and threshold value a1 that identifying unit 12 comparing calculation unit 11 calculate, contrast the second detected value A2 and threshold value a2, as the first detected value A1 is less than or equal to threshold value a1, and the second detected value A2 is less than or equal to threshold value a2, further according to study to user whether use mode decision to obtain the current time period be activity time of user when section, just deducibility goes out user in abnormal inactive state.
Alarm module 20 can send warning by Wearable equipment, object sensor or server, when user is during in active state, may be that Wearable equipment sends alerting signal and object sensor shows that User Activity is normal, show that user may forget to wear Wearable sensor or Wearable sensor battery exhausts or breaks down.At this moment, remind and wear Wearable equipment or remind charging note automatically to send.After certain hour as still without response, enter the artificial treatment patterns such as phone.Only have Wearable sensor and object sensor all to send alerting signal, enter one-level early warning, carry out phone inquiry, reply as nothing, expatriate personnel visit.If two kinds of sensors all do not send alerting signal, show normally, without taking measures.If Wearable sensor does not send alerting signal, object sensor sends alerting signal, illustrates that object sensor may break down, and will enter object sensor maintenance flow process.Alerting signal output determination methods in this measure is as follows: suppose that perceptron is P at the movable probability of certain time period, if current slot perceptron does not have active signal output, and P is greater than certain threshold value as 30% perceptron output alarm signal.This threshold value has determined the susceptibility of system, generally should adjust according to practice.
Study module 30 also can further arrange user's interruption-free time, avoids user to cause unnecessary creating disturbances to.In user's interruption-free time, user does not receive the Human disturbances such as phone.As Wearable equipment, object sensor or server send warning, need to check whether the current time period of living in disturb the period for exempting from, be to wait for exempting to disturb the period to finish.As shown in Figure 8, study module 30 can comprise collecting unit 31, gathers for interruption-free state sample, gathers user's (for example: have a rest and have dinner) Wearable sensor reading sample within the interruption-free period; Extraction unit 32, for extracting the feature of interruption-free state sample of collection, disturbs the reading sample of period inner sensor to be divided into n the period (n value can be estimated optimal value by cross validation) by exempting from.Calculate each period sensor reading sample average and variance.Specific features extracting method is not limited to this, also can adopt the amplitude equalizing value that the sensing data reading in the period is carried out to each frequency band of the statistics of Fourier variation in short-term as feature, and n characteristics of time interval series connection obtained to proper vector.Extract the sensor reading feature of normal period by identical method simultaneously; Training unit 33, for carrying out sorter training according to the feature of extracting, obtains user's the interruption-free time.Carry out the sorter training (exempting to disturb period and normal period) of two classes according to the sample characteristics obtaining.Sorter can adopt the methods such as support vector machine, artificial neural network and random forest.When obtaining after the Wearable sensor reading of a day, be multiple continuous time periods by the sensor reading cutting of this day, duration is identical with the interruption-free period duration average of training use.According to extracting sensor reading feature.And input sorter and adjudicate.When Wearable sensor is worn or when running down of battery there is no reading owing to forgetting, adjudicate according to the interference time section average exempted from of front m (as: 5) day.
The embodiment of the present invention two propose without sound warning device, because above-mentioned two kinds of sensors are all, by built-in acceleration transducer, the motion of human body or object is carried out to perception, there is the low and motion perception advantage accurately of cost compared with pyroelectric sensor, camera.Use in the learning process of pattern user, increased adaptive learning method, improved system user is used in different time, age, health the adaptability of patterns of change.Simultaneously can take phase counter-measure according to two kinds of different alarm condition of sensor, and propose the recognition methods that user exempts from section interference time the cost providing without sound alert service has been provided, improve user's experience, improve service quality and user satisfaction.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.