Specific implementation mode
To explain the technical content, the achieved purpose and the effect of the present invention in detail, below in conjunction with embodiment and coordinate attachedFigure is explained.
Fig. 1 and Fig. 2 is please referred to,
As shown in Figure 1, the present invention provides a kind of method prejudging behavior by gyro sensor, including:
S1, the angle information for obtaining multiple gyroscopes, obtain angle information set;Multiple gyroscopes are located at Intellectual garmentIt loads onto;
S2, the posture that the user for wearing the intelligent clothing is identified according to the angle information set, obtain current posture;
S3, push message corresponding with the current posture.
Further, the S3 is specially:
S31, default first historical behavior set of records ends and the second historical behavior set of records ends;The first historical behavior noteHistorical behavior record of the record set comprising the user itself for wearing the intelligent clothing;The second historical behavior set of records ends packetHistorical behavior record containing other users;In the first historical behavior set of records ends and the second historical behavior set of records endsEach record include pose information field and operational set field;
S32, the first operational set corresponding with the current posture is obtained from the first historical behavior set of records ends;
S33, push execute the prompting message of first operational set;
If S34, refusal execute the prompting message of first operational set, from the second historical behavior set of records endsMiddle acquisition the second operational set corresponding with the current posture;Push executes the prompting message of second operational set.
Seen from the above description, push operation set is recorded according to the historical behavior for the user itself for wearing intelligent clothing,Be conducive to improve the suitability with user's actual need.Meanwhile if according to the operation of the historical behavior of user itself record pushWhen set is not inconsistent with user's actual need, worked as with user according to the push of the big datas of the other user's history behaviors collected in advanceThe operational set of preceding posture adaptation.Improve the accuracy of message push.
Further, the S32 is specially:
Each record in the first historical behavior set of records ends and the second historical behavior set of records ends further includesVoice signal field and image field;
Trigger speech recognition equipment collected sound signal;
Trigger camera capture images;The speech recognition equipment and the camera are located on intelligent clothing;
It is obtained and the current posture, the voice signal and described image from the first historical behavior set of records endsCorresponding first operational set.
Seen from the above description, ambient enviroment image is captured by voice device collected sound signal and camera to be conducive toThe actual demand of the user of intelligent clothing is worn in accurate analysis, improves the accuracy of message push.
Further, the S32 is specially:
Each record in the first historical behavior set of records ends and the second historical behavior set of records ends further includesTime field and geographic location field;
Obtain current time;
It triggers GPS positioning device and obtains current location;
It is obtained from the first historical behavior set of records ends and the current posture, the current time and described currentCorresponding first operational set in position.
Seen from the above description, consider current location and current time, be conducive to accurately analyze and wear intelligent clothingUser actual demand, improve message push accuracy.
Further, further include:
Monitoring maintains the duration of the current posture in real time, obtains maintaining duration;
When the maintenance duration is more than preset threshold value, sends same posture and hold time longer prompting message.
As shown in Fig. 2, the present invention also provides a kind of terminal prejudging behavior by gyro sensor, including one or moreA processor 1 and memory 2, the memory 2 have program stored therein, and are configured to by one or more of processors 1Execute following steps:
S1, the angle information for obtaining multiple gyroscopes, obtain angle information set;Multiple gyroscopes are located at Intellectual garmentIt loads onto;
S2, the posture that the user for wearing the intelligent clothing is identified according to the angle information set, obtain current posture;
S3, push message corresponding with the current posture.
Further, the S3 is specially:
S31, default first historical behavior set of records ends and the second historical behavior set of records ends;The first historical behavior noteHistorical behavior record of the record set comprising the user itself for wearing the intelligent clothing;The second historical behavior set of records ends packetHistorical behavior record containing other users;In the first historical behavior set of records ends and the second historical behavior set of records endsEach record include pose information field and operational set field;
S32, the first operational set corresponding with the current posture is obtained from the first historical behavior set of records ends;
S33, push execute the prompting message of first operational set;
If S34, refusal execute the prompting message of first operational set, from the second historical behavior set of records endsMiddle acquisition the second operational set corresponding with the current posture;Push executes the prompting message of second operational set.
Further, the S32 is specially:
Each record in the first historical behavior set of records ends and the second historical behavior set of records ends further includesVoice signal field and image field;
Trigger speech recognition equipment collected sound signal;
Trigger camera capture images;The speech recognition equipment and the camera are located on intelligent clothing;
It is obtained and the current posture, the voice signal and described image from the first historical behavior set of records endsCorresponding first operational set.
Further, the S32 is specially:
Each record in the first historical behavior set of records ends and the second historical behavior set of records ends further includesTime field and geographic location field;
Obtain current time;
It triggers GPS positioning device and obtains current location;
It is obtained from the first historical behavior set of records ends and the current posture, the current time and described currentCorresponding first operational set in position.
Further, further include:
Monitoring maintains the duration of the current posture in real time, obtains maintaining duration;
When the maintenance duration is more than preset threshold value, sends same posture and hold time longer prompting message.
The embodiment of the present invention one is:
The present embodiment provides a kind of methods prejudging behavior by gyro sensor, including:
S1, the angle information for obtaining multiple gyroscopes, obtain angle information set;Multiple gyroscopes are located at Intellectual garmentIt loads onto.
Wherein, the intelligent clothing includes shoes and hats and gloves.
S2, the posture that the user for wearing the intelligent clothing is identified according to the angle information set, obtain current posture.
Wherein, when pre-recorded user is in different gestures on intelligent clothing each gyro sensor angle information, lead toComparison collected angle information and real-time angle information in advance are crossed, the appearance of the user of the intelligent clothing is currently worn in identificationGesture.
S3, push message corresponding with the current posture.Specially:
S31, default first historical behavior set of records ends and the second historical behavior set of records ends;The first historical behavior noteHistorical behavior record of the record set comprising the user itself for wearing the intelligent clothing;The second historical behavior set of records ends packetHistorical behavior record containing other users;In the first historical behavior set of records ends and the second historical behavior set of records endsEach record include pose information field and operational set field.
S32, the first operational set corresponding with the current posture is obtained from the first historical behavior set of records ends.
Optionally, each record in the first historical behavior set of records ends and the second historical behavior set of records endsIncluding pose information field and operational set field;It is obtained and the current posture from the first historical behavior set of records endsCorresponding first operational set.
For example, collected angle information set wears Intellectual garment to the gyroscope on intelligent clothing with pre-recorded in real timeThe user of dress is in angle information adaptation when meeting state, then is obtained from the first historical behavior set of records ends and meeting stateCorresponding first operational set.It include following operation in first operational set:Whether real time monitoring mobile phone has incoming call;Come when havingWhen electric, refuse incoming call answering automatically, and sends the word message of " just in session, replying you later " to incoming call requests side.
Optionally, each record in the first historical behavior set of records ends and the second historical behavior set of records endsFurther include voice signal field, image field, time field and geographic location field;
Trigger speech recognition equipment collected sound signal;
Trigger camera capture images;The speech recognition equipment and the camera are located on intelligent clothing;
Obtain current time;
It triggers GPS positioning device and obtains current location;
From the first historical behavior set of records ends obtain with the current posture, the voice signal, described image,Corresponding first operational set of the current time and the current location.
Intelligent clothing is worn for example, being recognized by the angle information that the gyro sensor on intelligent clothing acquires in real timeUser be in and shake state, in order to be accurately identified the user be due to anxiety is shaken or it is sick shake, trigger cameraCapture images, GPS positioning system device obtain current location.Residing for the ambient enviroment image captured according to camera and userCurrent location, identify the place residing for user and the visual angle of user.If place where user is more public of numberOccasion, and visual angle is head-up visual angle when standing, then the user may carry out public speaking, maximum probability be for anxiety andIt shakes.If the place where user is nobody region, and visual angle is to look up visual angle, then the user may sick booth on groundOn, and surrounding does not have pedestrian.Meanwhile the voice signal of speech recognition equipment acquisition user is triggered, if the user can normally sayWords, then the first operational set is to make a phone call to preset emergency contact.If the user constantly sends out modal particle, the first behaviourMake collection and is combined into transmission first aid information to first-aid centre.
S33, push execute the prompting message of first operational set.
Wherein, it can be reported by the sound broadcasting device being installed on intelligent clothing and execute carrying for first operational setShow message, or mobile phone that the prompting message for executing first operational set is sent to user etc. it is portable it is mobile eventuallyEnd.User can indicate to accept or reject by voice, can also indicate to accept or reject by specified action.
If S34, refusal execute the prompting message of first operational set, from the second historical behavior set of records endsMiddle acquisition the second operational set corresponding with the current posture;Push executes the prompting message of second operational set.
Wherein, if user refuses to execute first operational set, from the historical behavior set of records ends of other usersObtain the operational set of adaptation, process and the process phase that the first operational set is obtained from the first historical behavior set of records endsTogether, it repeats no more.
S4, monitoring maintains the duration of the current posture in real time, obtains maintaining duration;It is preset when the maintenance duration is more thanThreshold value when, send same posture and hold time longer prompting message.
Intelligent clothing is worn for example, being recognized by the angle information that the gyro sensor on intelligent clothing acquires in real timeUser be in typing position, and the time in typing position is longer, then sends typing position time longer message, promptsUser rests in time, strikes a proper balance between work and rest.Wherein, same posture can be sent by the modes such as voice broadcast or short message prompting to hold timeLonger prompting message.
The embodiment of the present invention two is:
The present embodiment provides a kind of terminals prejudging behavior by gyro sensor, including one or more processors 1And memory 2, the memory 2 have program stored therein, and be configured to execute following step by one or more of processors 1Suddenly:
S1, the angle information for obtaining multiple gyroscopes, obtain angle information set;Multiple gyroscopes are located at Intellectual garmentIt loads onto.
S2, the posture that the user for wearing the intelligent clothing is identified according to the angle information set, obtain current posture.
S3, push message corresponding with the current posture.Specially:
S31, default first historical behavior set of records ends and the second historical behavior set of records ends;The first historical behavior noteHistorical behavior record of the record set comprising the user itself for wearing the intelligent clothing;The second historical behavior set of records ends packetHistorical behavior record containing other users;In the first historical behavior set of records ends and the second historical behavior set of records endsEach record include pose information field and operational set field.
S32, the first operational set corresponding with the current posture is obtained from the first historical behavior set of records ends.
Optionally, each record in the first historical behavior set of records ends and the second historical behavior set of records endsIncluding pose information field and operational set field;It is obtained and the current posture from the first historical behavior set of records endsCorresponding first operational set.
Optionally, each record in the first historical behavior set of records ends and the second historical behavior set of records endsFurther include voice signal field, image field, time field and geographic location field;
Trigger speech recognition equipment collected sound signal;
Trigger camera capture images;The speech recognition equipment and the camera are located on intelligent clothing;
Obtain current time;
It triggers GPS positioning device and obtains current location;
From the first historical behavior set of records ends obtain with the current posture, the voice signal, described image,Corresponding first operational set of the current time and the current location.
S33, push execute the prompting message of first operational set.
If S34, refusal execute the prompting message of first operational set, from the second historical behavior set of records endsMiddle acquisition the second operational set corresponding with the current posture;Push executes the prompting message of second operational set.
S4, monitoring maintains the duration of the current posture in real time, obtains maintaining duration;It is preset when the maintenance duration is more thanThreshold value when, send same posture and hold time longer prompting message.
In conclusion a kind of method and terminal prejudging behavior by gyro sensor provided by the invention, passes through intelligenceThe gyro sensor acquisition angles information installed on energy clothes, to be judged according to real-time collected angle information setThe current posture of the user of intelligent clothing is worn, and corresponding message is pushed to user according to current posture.It realizes according to dressThe current desired message of the current posture automatic push user of the user of intelligent clothing, improves the treatment effeciency of daily item.ExampleSuch as, the current posture for recognizing user is running, then from the rest website or beverage vending point near trend user push, and nothingUser's paces that stop are needed to stop search.Push operation set is recorded according to the historical behavior for the user itself for wearing intelligent clothing,Be conducive to improve the suitability with user's actual need.Meanwhile if according to the operation of the historical behavior of user itself record pushWhen set is not inconsistent with user's actual need, worked as with user according to the push of the big datas of the other user's history behaviors collected in advanceThe operational set of preceding posture adaptation.Improve the accuracy of message push.Further, pass through voice device collected sound signalThe actual demand for being conducive to accurately analyze the user for wearing intelligent clothing with camera capture ambient enviroment image, improves message and pushes awayThe accuracy sent.Further, consider current location and current time, be conducive to accurately analyze the use for wearing intelligent clothingThe actual demand at family improves the accuracy of message push.
Example the above is only the implementation of the present invention is not intended to limit the scope of the invention, every to utilize this hairEquivalents made by bright specification and accompanying drawing content are applied directly or indirectly in relevant technical field, include similarlyIn the scope of patent protection of the present invention.