The content of the invention
The invention provides a kind of movement monitoring method based on wearable device, motion is improve interesting.
In order to solve the above technical problems, the present invention is achieved using following technical proposals:
A kind of movement monitoring method based on wearable device, methods described includes:
Obtain exercise data;
Judge whether to be successfully established the data transmission channel of equipment and server;
If so, then exercise data is uploaded onto the server;
Server returns to corresponding prompt message to user according to exercise data.
Further, the exercise data includes locomotion speed value, heart rate value.
Further, methods described also includes:If not being successfully established the data transmission channel of equipment and server,Exercise data is preserved to equipment.
Further, after data transmission channel is successfully established, server is updated to the data that equipment is preserved.
Further, the server sends corresponding prompt message according to exercise data, specifically includes:
Heart rate peak in the historical movement data preserved in reading service device;
Compare the size of the heart rate value and heart rate peak in this exercise data;
Prompt message is sent according to comparative result.
Preferably, the server sends corresponding prompt message according to exercise data, specifically includes:
In reading service device preserve last historical movement data in locomotion speed value, and with this exercise data in fortuneDynamic velocity amplitude is compared;
Prompt message is sent according to comparative result.
Further, the server sends corresponding prompt message according to exercise data, specifically includes:
When the locomotion speed value in the exercise data that the continuous n times of server are received is less than minimum setting value, this motion is calculatedRun duration, motion mileage, consumption of calorie, and be sent to user;N is more than 0.
Further, methods described also includes:
Speech data is obtained, and is uploaded onto the server;
Speech data is carried out voice recognition processing by server, and according to the historical movement data preserved in server, transmission is carriedShow information.
Further, methods described also includes:
Server obtains Weather information;
Judged whether to be suitable to outdoor exercises according to Weather information, and will determine that result is sent to user.
Further, the type of the prompt message is voice, video, word or picture.
Compared with prior art, advantages and positive effects of the present invention are:Motion based on wearable device of the inventionMonitoring method, obtains exercise data, in the data transmission channel of the equipment that is successfully established and server, exercise data is uploaded toServer, server returns to corresponding prompt message to user according to exercise data;Realize to the motion state of user effectively andWhen ground feedback prompts, be easy to user to know the motion conditions of oneself in time, improve the interest of motion, provide the user human natureThe service of change, it is user-friendly, improve the experience of user;When the data transmission channel of equipment and server is set up notDuring success, exercise data is preserved to equipment, and equipment returns to corresponding prompt message to user according to exercise data, it is also possible to realizeTo the effective feedback prompts in time of motion state of user, so as to further improve the experience of user.
After specific embodiment of the invention is read in conjunction with the figure, the other features and advantages of the invention will become more clearChu.
Specific embodiment
The movement monitoring method based on wearable device of the present embodiment, installs application APP on wearable device,Companion is referred to as moved, user carries out data interaction by APP and server, and APP uploads onto the server the exercise data of user,Server will be prompted to information and is sent to APP according to exercise data, and so that user knows motion state, enhancing motion is interesting.
In order to make the purpose , technical scheme and advantage of the present invention be clearer, below with reference to drawings and Examples,The present invention is described in further detail.
The movement monitoring method based on wearable device of the present embodiment, specifically includes following step, referring to described in Fig. 1.
Step S12:Obtain exercise data.
The exercise data includes locomotion speed value, heart rate value, step number, run duration, motion mileage etc., however it is not limited toThe example above etc..
Acceleration transducer or gyro sensor collection that locomotion speed value has by wearable device, heart rate value lead toThe heart rate sensor that crossing wearable device has is gathered.
Step S13:Judge whether to be successfully established the data transmission channel of equipment and server.
The data transmission channel that wearable device passes through the foundation such as wifi network, 3G or 4G networks and server, realize andServer is communicated.
If so, explanation equipment is networked successfully with server, then step S14 is performed.
If it is not, explanation equipment is networked with server failing, then step S16 is performed.
Step S14:Exercise data is uploaded onto the server.
Equipment is networked successfully with server, and the exercise data that will be collected uploads onto the server, and server is preserved and receivedExercise data.
Step S15:Server returns to corresponding prompt message to user according to exercise data.
Exercise data includes locomotion speed value, heart rate value etc.;The type of prompt message be voice, video, word or picture,Type can be modified by APP, be easy to user to select suitable mode to know the motion state of oneself.The acquiescence of prompt messageType is voice, is easy to user to know, it is to avoid the proper motion of influence user,
When the type of prompt message is voice, the sound that voice can be set is male voice or female voice, default soundSex with user is opposite.That is, if the sex of user is women, speech sound is defaulted as male voice, i.e. " motion companionIt is male ";If the sex of user is male, speech sound is defaulted as female voice, i.e. " motion companion is women ", to carryThe motion of user high is interesting.
(1)Heart rate value in exercise data is related to the personal safety of user, is an important index.Therefore, serviceAfter device receives this exercise data, heart rate value therein is read.
(11)First, the heart rate peak in the historical movement data for being preserved in reading service device.Heart rate peak is gone through for allThe maximum of the heart rate value in history exercise data.
(12)Then, the size of the heart rate value and heart rate peak in this exercise data is compared.
(13)Finally, prompt message to device A PP is sent according to comparative result.
If this heart rate value is more than heart rate peak, user's Current heart rate value should be pointed out excessive, it should be noted that body.ExampleSuch as, prompt message is:" heart rate value exceedes heart rate peak, it is noted that ", user is sent to speech form.If this heart rate valueLess than heart rate peak, then user's Current heart rate value should be pointed out normal.For example, prompt message is:" heart rate value in normal range (NR),Continuing with motion ", user is sent to speech form.
(2)Locomotion speed value in exercise data is related to the moving-mass of user, is also an important index.CauseThis, after server receives this exercise data, reads locomotion speed value therein.
(21)First, the locomotion speed value in the last historical movement data for being preserved in reading service device.
Last historical movement data, i.e., the newest historical movement data preserved in server.
(22)Then, the motion speed in the locomotion speed value and last historical movement data in this exercise data is comparedThe size of angle value.
(23)Finally, prompt message to device A PP is sent according to comparative result.
If this locomotion speed value is more than last locomotion speed value, user should be pointed out.For example, prompt message is:" excellent, race faster than just now ", user is sent to speech form.If this locomotion speed value is moved less than lastVelocity amplitude, then should point out user.For example, prompt message is:" slower than just now, to refuel ", user is sent to speech form.
If the locomotion speed value in the exercise data that the continuous n times of server are received is less than minimum setting value, illustrate to useFamily stop motion, motion terminates, server statistics this motion run duration, motion mileage, step number, consumption of calorieDeng, and be compared with historical data, user is sent to, flow terminates, and so as to avoid APP from being absorbed in endless loop, improves user'sExperience;Otherwise, illustrate that user also is continuing to move, return to step S12.
N is the integer more than 0, and span is 3~5;The span of minimum setting value is 0~1km/h.For example, such asLocomotion speed value in the exercise data of really continuous 5 receptions is less than 0, then it is assumed that user's stop motion, then server entersRow statistics, flow terminates;Otherwise, user is illustrated also during exercise, return to step S12.
If this motion ratio historical data progress, the prompt message for sending is:" you consume 300 kilocalories today,Motion 30 minutes, heat consumption exceedes case history and records 10 kilocalories ".If this motion ratio historical data regresses, send outThe prompting message for sending is " your run duration today had been lacked 20 minutes than yesterday, carefully put on weight ".
Step S16:Exercise data is preserved to equipment.
Equipment is networked with server and is failed, i.e., data transmission channel sets up unsuccessful, and for example server does not ring for a long timeAnswer or passage failure is set up in server response, then preserve exercise data to the memory cell of equipment, and point out user, such as carryShow that information is:" unfortunately, networking failure enables the poor local intelligent motion chaperone function of vocabulary ".
Step S17:Equipment returns to corresponding prompt message to user according to exercise data.
The content of the step is similar with the content of step S15, need to only be replaced by " equipment " " server " in step S15, here is omitted.
If motion finishes, run duration, motion mileage, step number, consumption of calorie etc. of device statistics this motion,And be compared with historical data, user is sent to, flow terminates;Otherwise, illustrate that user also is continuing to move, return to stepS12。
In the present embodiment, by the design of step S16~S17, to ensure to set up unsuccessful in data transmission channelIn the case of, it is also possible to user is reminded in motion process, effectively feedback is carried motion state of the realization to user in timeShow, so as to further improve the experience of user.
Certainly, after the data transmission channel of equipment and server is successfully established, the data that server is preserved to equipmentIt is updated, such as updates historical movement data, to improve the data of equipment storage and the uniformity of server, raising equipment is depositedThe comprehensive and validity of the data of storage.
The movement monitoring method based on wearable device of the present embodiment, obtain exercise data, the equipment that is successfully established withDuring the data transmission channel of server, exercise data is uploaded onto the server, server returns to corresponding carrying according to exercise dataShow information to user;The effective feedback prompts in time of motion state to user are realized, is easy to user to know the fortune of oneself in timeEmotionally condition, improves the interest of motion, provides the user the service of hommization, user-friendly, improves making for userWith experience;When the data transmission channel of equipment and server sets up unsuccessful, exercise data is preserved to equipment, and equipment is according to fortuneDynamic data return to corresponding prompt message to user, it is also possible to realize the effective feedback prompts in time of motion state to user,So as to further improve the experience of user.
In order to further improve interacting for user and servers/devices, during user movement, the monitoring of the present embodimentMethod also comprises the steps, shown in Figure 2.
S21:Obtain speech data, the and/equipment that uploads onto the server.
By the Mike of wearable device, the speech data of user, the and/equipment that uploads onto the server are obtained.
When equipment and server are networked successfully, speech data uploads onto the server;Networked when equipment and server and failedWhen, speech data is preserved to equipment.
S22:Speech data is carried out voice recognition processing by servers/devices, and according to going through for being preserved in servers/devicesHistory exercise data, sends prompt message.
The speech data that servers/devices will be received carries out voice recognition processing, is then protected according in servers/devicesThe historical movement data deposited, send prompt message.
When equipment and server are networked successfully, the speech data that server will be received carries out voice recognition processing, soAfterwards according to the historical movement data preserved in server, prompt message is sent.When equipment and server network failure, equipment willThe speech data for receiving carries out voice recognition processing, then according to the historical movement data preserved in equipment, sends prompting letterBreath
For example, user is in motion process, device A PP is said:" I consumes how many heat now ", servers/devices according toThe historical movement data of preservation are calculated, and prompt message is:" you consume 780 kilocalories of heat now, equivalent to consuming oneThe assorted stir-fry powder of part "
By the way that interactive voice can be carried out between user and servers/devices, motion interest is further increased, improve useThe experience at family.
When user is in motion process, in order to ensure the sports safety of user, the monitoring method of the present embodiment also includes:WhenAfter equipment is successfully established with the data transmission channel of server, that is, after networking successfully, server is by the local day of Network CaptureGas information, judges whether to be suitable to outdoor exercises, and will determine that result is sent to user according to Weather information.Weather information includesPM2.5 contents etc..
If the PM2.5 contents in Weather information exceed setting content(Such as, 70 milligram/cubic metre), then it is unsuitable for open airMotion, server sends information warning to user.Such as send voice messaging:" PM2.5 is more than 70, is unsuitable for outdoor exercises ", withWarning user, it is to avoid outdoor exercises, it is to avoid body damage.
For the ease of the exercise data of user management oneself, the movement monitoring method of the present embodiment also includes:User's registrationPersonal information, the and/equipment that uploads onto the server.
User is registered by the APP of wearable device, and log-on message is uploaded onto the server/equipment preserves.It is individualPeople's information information such as including user name, password, sex, age, height, body weight.
When user does not move, APP, access server/equipment, query history exercise data, in order to the later stage can be logged inMore rational exercise program is formulated, to improve experience.
In the present embodiment, wearable device is including intelligent watch, bracelet, smart mobile phone etc..
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than is limited;Although with reference to foregoing realityExample is applied to be described in detail the present invention, for the person of ordinary skill of the art, still can be to foregoing implementationTechnical scheme described in example is modified, or carries out equivalent to which part technical characteristic;And these are changed or replaceChange, do not make the spirit and scope of the essence disengaging claimed technical solution of the invention of appropriate technical solution.