Summary of the invention
The invention provides a kind of adaptive learning method and system thereof based on sensor network, there is the feature of self-adaptation, intellectuality and robotization, freed the loaded down with trivial details manipulation of people to various device.
For this purpose, the present invention proposes a kind of adaptive learning method based on sensor network, it is characterized in that, described method comprises step: S1, uses sensor to gather behavioral data; S2, classifies and stores gathered behavioral data; S3, carries out frequency distribution statistics by the behavioral data of storage, obtains pushing result; S4, forms scene scheme by described propelling movement result; S5, pushes described scene scheme, and receives the feedback result after pushing, and described feedback result is analyzed.
Wherein, described step S1 specifically comprises: use sensor to gather behavioral data, and described data are formed to specific tlv triple { device
i, timestamp
j, action
k, wherein, i, j, k is natural number, device
ibe i terminal name, timestamp
jbe j timestamp, action
kbe k behavior.
Wherein, described step S2 specifically comprises: described behavioral data is stored according to default very first time section, and the behavioral data that exceeded for the second time period is deleted.
Wherein, described step S3 specifically comprises: S31, in stored tlv triple, selecting any one is not empty device
i, obtain comprising device
ifirst set; S32, in described the first set, according to behavior action
kcarry out frequency distribution statistics, select action
kpeaked tlv triple, form second set; S33, in described the second set, according to timestamp timestamp
jcarry out frequency distribution statistics, select timestamp
jmaximal value, forms default propelling movement group; S34, judges described default propelling movement group and the feedback result receiving in described step S5; S35 if described default propelling movement group is conflicted mutually with described feedback result, gets rid of above-mentioned institute default propelling movement group in described behavioral data, repeats above-mentioned steps, until obtain the propelling movement result of not conflicting with described feedback result; S36, if described default propelling movement group do not conflict with described feedback result, directly using described default propelling movement group as push result.
Wherein, described step S5 comprises: be pushed to each corresponding terminal by pushing result by sensor, described terminal receives described propelling movement result, in special time, adjusts, form new behavioral data, and using described new behavioral data as feedback result.
Wherein, described step S5 also comprises: described propelling movement result is directly sent to each whole user terminal, exceed specific number of times if described user terminal is held adverse opinion to described propelling movement result, cancel the propelling movement to described propelling movement result, repeating step S3, obtains new propelling movement result.
According to another aspect of the present invention, provide a kind of adaptive and learning system based on sensor network, it is characterized in that, the described decorum comprises: data acquisition module, for using sensor to gather behavioral data; Data memory module, for classifying and store gathered behavioral data; Data analysis module, for the behavioral data of storage is carried out to frequency distribution statistics, obtains pushing result; Scene scheme forms module, and described propelling movement result is formed to scene scheme; Data-pushing and feedback module, for described scene scheme is pushed, and receive the feedback result after pushing, and described feedback result is analyzed.
Known by above-described embodiment, use adaptive learning method and the system thereof based on sensor network of the present invention, by using sensor, Intellisense, storage and analysis are carried out in data behavior to user terminal, choose the behavioral data that frequency is the highest certain scene scheme is provided in advance, and then the various terminals that sensor is housed are carried out to Based Intelligent Control, and the feedback information of terminal is made to response.Method and system of the present invention has self-adaptation, intellectuality and robotization a little, has freed greatly the loaded down with trivial details manipulation of people to various device.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the present invention is described in detail.
Fig. 1 shows the process flow diagram of the adaptive learning method based on sensor network of the present invention.
With reference to Fig. 1, the adaptive learning method based on sensor network of the embodiment of the present invention comprises step:
S1, uses sensor to gather behavioral data.
In the present embodiment, gather the behavioral data of each terminal by being arranged on sensor on equipment, as information such as the settings of the switch of equipment, performance.Data mode can be set as: device name, timestamp and behavior, and three is formed to tlv triple { device
i, timestamp
j, action
k, wherein, i, j, k is natural number, device
ibe i device name, timestamp
jbe j timestamp, action
kbe k behavior.
S2, classifies and stores gathered behavioral data, described behavioral data is stored according to default very first time section, and the behavioral data that exceeded for the second time period is deleted.
In the present embodiment, very first time section is set as one week, and the second time period was set as 1 year, meanwhile, for very first time section and the second time period, can set according to concrete needs, as also very first time section being set as to one month, the second time period was set as six months etc.
Simultaneously, also the behavioral data of collection can be categorized into the data in very first time section, data in the second time period and the data in the 3rd time period, in the present embodiment, very first time section can be set as one week, and the second time period can be set as one month, and the 3rd time period can be set as 1 year, and very first time section and the data in the second time period are stored respectively, the data that exceeded for the 3rd time period are deleted.
S3, carries out frequency distribution statistics by the behavioral data of storage, obtains pushing result.
Fig. 2 shows the process flow diagram of the step S3 of the adaptive learning method based on sensor network of the present invention.
With reference to Fig. 2, step S3 specifically comprises:
S31, in the tlv triple of behavioral data, selecting any one is not empty device
i, as selected device
3set as the first set;
S32, in the first set, according to device
3behavior action
kcarry out frequency distribution statistics, select action
kmaximal value, as action
7, then according to action
7timestamp timestamp
jform the second set, as { device
3, timestamp
j, action7};
S33, in the second set, according to timestamp timestamp
jcarry out frequency distribution statistics, select timestamp
jmaximal value, as timestamp
2, form default propelling movement group { device
3, timestamp
2, action
7, repeat above-mentioned steps, thereby obtain the default propelling movement group of each equipment;
S34, judges described default propelling movement group and the feedback result receiving;
S35 if described default propelling movement group is conflicted mutually with described feedback result, gets rid of above-mentioned institute default propelling movement group in described behavioral data, repeats above-mentioned steps, until obtain the propelling movement result of not conflicting with described feedback result;
S36, if described default propelling movement group do not conflict with described feedback result, directly using described default propelling movement group as push result.
S4, forms scene scheme by described propelling movement result.
S5, pushes described scene scheme, and receives the feedback result after pushing, and described feedback result is analyzed.
Scene scheme is sent to each terminal accordingly, and add up the reaction of each terminal to scene scheme, exceed specific number of times if described terminal is held adverse opinion to described propelling movement result, cancel the propelling movement to described propelling movement result, repeating step S3, obtains new propelling movement result.
In the present embodiment, the number of times of adverse opinion is generally no more than three times.
For by the terminal of sensor control, this terminal is receiving after scene scheme, within the specific time, (in as one minute) is adjusted, data after sensor record adjustment also send these data as behavioral data, repeat step S1, meanwhile, using the behavior data as feedback result, judge with the default propelling movement group in step S34.
Fig. 3 shows the structured flowchart of the adaptive and learning system based on sensor network of the present invention.
In another embodiment of the present invention, provide a kind of adaptive and learning system based on sensor network, as shown in Figure 3, this system comprises:
Data acquisition module 110, for using sensor to gather behavioral data;
Data memory module 120, for classifying and store gathered behavioral data;
Data analysis module 130, for the behavioral data of storage is carried out to frequency distribution statistics, obtains pushing result;
Scene scheme forms module 140, and described propelling movement result is formed to scene scheme;
Data-pushing and feedback module 150, for described scene scheme is pushed, and receive the feedback result after pushing, and described feedback result is analyzed.
Fig. 4 shows the topological schematic diagram of an embodiment of the adaptive and learning system based on sensor network of the present invention
In yet another embodiment of the present invention, provide a kind of adaptive and learning system based on sensor network, this system specifically comprises: high in the clouds 210, intelligent gateway 220, sensor 230 and user terminal 240.
When adaptive and learning system in use based on sensor network is learnt, sensor 230 gathers the behavioral data of user terminal 240, forms tlv triple.
Then the data unification of collection is converged to intelligent gateway 220 by sensor 230.Intelligent gateway 220 possesses multiple communication interface, can either carry out that information interaction by communication with sensor 230, high in the clouds 210 that again can connecting Internet, can also directly connect the intelligent and portable equipment 250 that user uses, as mobile phone, panel computer etc.
After the behavioral data that intelligent gateway 220 gathers each sensor 230 gathers, be uploaded to high in the clouds 210 and store.
High in the clouds 210 is carried out frequency distribution statistics by very first time section (as a week) and the second time period by data respectively according to timestamp.
And the data that will exceed the 3rd time period (as 1 year) are deleted.
Data are being carried out after frequency distribution statistics, high in the clouds 210 will push result and form scene scheme, and send to intelligent gateway 220, intelligent gateway 220 sends to respectively corresponding sensor 230 according to the position of each user terminal 240 by scene scheme, and sensor 230 is controlled each user terminal 240 according to timestamp and behavior.
Meanwhile, high in the clouds 210 also can directly send to scene scheme user's intelligent and portable equipment 250, as mobile phone, panel computer etc.
For the scene scheme being pushed on user's intelligent and portable equipment 250, if user holds the number of times that adverse opinion exceedes setting, the propelling movement of this scene scheme of immediate cancel, re-starts frequency distribution statistics, forms new propelling movement result.
The user terminal 240 of controlling for sensor 230, if user (as a minute) in special time adjusts, sensor 230 records also send this behavioral data immediately.
Known by above-described embodiment, use adaptive learning method and the system thereof based on sensor network of the present invention, by using sensor, Intellisense, storage and analysis are carried out in data behavior to user terminal, choose the behavioral data that frequency is the highest certain scene scheme is provided in advance, and then the various terminals that sensor is housed are carried out to Based Intelligent Control, and the feedback information of terminal is made to response.Method and system of the present invention has self-adaptation, intellectuality and robotization a little, has freed greatly the loaded down with trivial details manipulation of people to various device.
Although described by reference to the accompanying drawings embodiments of the present invention, but those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, such amendment and modification all fall into by within claims limited range.