Summary of the invention
It, being capable of basis the purpose of the present invention is in view of the drawbacks of the prior art, providing a kind of processing method of exercise data
The User Profile information of record, user's sign record combine step number statistical data to generate movement adjustment advisory information, so that user
Can determine whether the amount of exercise of oneself is reasonable with reference to movement adjustment advisory information, and can be carried out according to movement adjustment advisory information
Adjustment, to achieve the effect that help user's suitable exercise.
In view of this, the embodiment of the invention provides a kind of processing methods of exercise data, comprising:
User terminal counts the data of accumulative step number of first user within the first period;
After first period, according to the data generation phase step count information of the accumulative step number, it is synchronized to clothes
Business device;The stage step count information includes: to terminate the user information of first user, the data of accumulative step number and the first period
When temporal information;
The server parses the stage step count information received, is believed according to the user of first user
Breath calls the User Profile information of the first user described in files on each of customers library, and according to the user information tune of first user
User's sign of the first user described in user's sign database of record records;
It is recorded according to the User Profile information of first user and user's sign, extracts crucial item data;
It is determining with described the according to crucial item data matching inquiry in the user information shared data bank of server
The information of the corresponding feature user of one user;
Corresponding movement adjustment advisory information is obtained according to the information of the feature user and the stage step count information;
The movement adjustment advisory information is sent to the user terminal of first user;
The user terminal of first user exports the movement and adjusts advisory information.
Preferably, the method also includes:
Receive the User Profile information of the first user of the first user input;The User Profile information includes the year of user
Age, gender, occupation, physical condition historical record information;
Server is sent by the User Profile information, and is stored in the files on each of customers library of first user.
Preferably, the method also includes:
User terminal obtains user's sign detection data of first user;User's sign detection data includes institute
State the user information and detection time information of the first user;
User's sign detection data is sent to server;
The server according to the user information of first user, by user's sign detection data generate one with
Family sign record, is added in user's sign database of record;User's sign record includes the detection time information.
Preferably, after the information of determination feature user corresponding with first user, the method is also
Include:
It is obtained according to the information of the feature user and/or the stage step count information relevant to first user strong
Health information.
Preferably, the user terminal of first user exports the movement and adjusts advisory information specifically:
The user terminal adjusts advisory information and generate visual movement and adjust according to the movement suggests showing information,
It is shown by the user interface of the user terminal;Wherein, the visual movement adjustment is suggested showing that information includes
One of text information, chart-information or tendency information are a variety of.
Preferably, the user terminal of first user exports the movement and adjusts advisory information specifically:
The user terminal suggests voice messaging according to the movement adjustment that the movement adjustment advisory information generates, and passes through
The voice-output device of the user terminal exports the dynamic adjustment and suggests voice messaging.
It is further preferred that the data that the user terminal counts accumulative step number of first user within the first period are specific
Include:
User terminal receives the mobile acceleration generated of the first user that acceleration transducer is acquired according to first period
Degree evidence;The acceleration information has acquisition time information;
The acceleration information is stored in the first data acquisition system;
Monitor the data volume of the acceleration information in first data acquisition system;
When the data volume reaches setting data-quantity threshold, according to the acquisition time information, by first data
Acceleration information in set is divided into multiple groups;Wherein, every group includes two acceleration informations in adjacent time acquisition, and each
Acceleration information is only present in a group;
Calculate the data variation amount between two acceleration informations described in every group;
Whether within the set first threshold range to determine the data variation amount of each group acceleration information;
When one group of data variation amount is in the first threshold range of the setting, one group of corresponding counting is determined
Value is 1, is otherwise 0;
The count value of each group in first data acquisition system is counted, the accumulative step of the first group data set conjunction is obtained
Number.
It is further preferred that it is described in the data variation amount for determining each group acceleration information whether the first of setting
Before in threshold range, the method also includes:
According to the user information of first user and first period, the first threshold model of first user is obtained
It encloses;The user information includes one or more of height data, age data or stride data and cadence data of user.
It is further preferred that the method also includes:
According to the user information of first user, first threshold range corresponding with first user is obtained;It is described
User information includes User ID or the height data of user.
It is further preferred that the acceleration transducer is specially 3-axis acceleration sensor;It is described to calculate institute in every group
State the data variation amount between two acceleration informations specifically:
Calculate separately data variation amount of two acceleration informations in X-direction, Y-direction and Z-direction in every group;The X
Direction, Y-direction and Z-direction are respectively three axis axial direction.
The processing method of exercise data provided in an embodiment of the present invention, being capable of User Profile information according to record, user
Sign record combines step number statistical data to generate movement adjustment advisory information, allows users to reference to movement adjustment advisory information
Determine whether the amount of exercise of oneself is reasonable, and can be adjusted according to movement adjustment advisory information, helps user to close to reach
Manage the effect of movement.
Specific embodiment
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
The processing method of exercise data provided in an embodiment of the present invention is applied in exercise data processing system, including with
Family mobile terminal device (abbreviation user terminal in following embodiments) and server.Server is linked to files on each of customers library, user
Sign database of record and user information shared data bank.User terminal is preferably smart phone, is also possible to have processing function
The intelligent wearable equipment that can and can be interacted with server or smart phone.Gravity sensitive is built-in in user terminal
Device, acceleration transducer, for carrying out the step number measurement of user.
Files on each of customers library stores the basic archives of user, such as age, gender, height, weight, occupation, the past
Medical history etc.;The physical sign parameters by user are stored in user's sign database of record;It is stored in user information shared data bank
Feature user (virtual) physical sign parameters, it is corresponding with feature user to obtain user as characteristic parameter to use this physical sign parameters
Relationship.It is described in detail below with reference to processing method of the Fig. 1 to exercise data provided in an embodiment of the present invention.
Fig. 1 is the processing method flow chart of exercise data provided in an embodiment of the present invention, as shown in Figure 1, method and step master
Include:
Step 110, user terminal counts the data of accumulative step number of first user within the first period;
Specifically, this method can be implemented by the following steps, as shown in Figure 2, comprising:
Step 111, user terminal receives the mobile production of the first user that acceleration transducer is acquired according to first period
Raw acceleration information;
Default statistical time section is set in system, acquisition and record to acceleration information are from default statistical time
The initial time of section is what a cycle was recorded to the time is terminated.After default statistical time section terminates, all numbers
According to clearing can be reset.Wherein initial time and termination time are provided based on system time.For example initial time is set as every
Its 0:00:00, termination time are set as daily 23:59:59.
In this example, using the sampling period of Fixed Time Interval, the acquisition of acceleration information is carried out.
For example, being divided into 500ms between setting data sampling, every 500ms acquires a point, then 1 minute can acquire 120
The data of point.
In this example, acceleration transducer is preferably 3-axis acceleration sensor;Remember in the collected acceleration information of institute
Record has acquisition time information.
Step 112, acceleration information is stored in the first data acquisition system;
Step 113, the data volume of the acceleration information in the first data acquisition system is monitored;
Specifically, often collecting an acceleration information, it is stored in data acquisition system, and to the data in data acquisition system
Amount is monitored.
It is stored with setting data-quantity threshold in the database of user terminal, monitors the data volume being stored in data acquisition system
The threshold value whether is reached, if do not reached, has continued to store next acceleration information into data acquisition system.
Step 114, when data volume reaches setting data-quantity threshold, according to acquisition time information, by the first data acquisition system
In acceleration information be divided into multiple groups;
Wherein, every group includes two acceleration informations in adjacent time acquisition, and each acceleration information is only present in
In one group.To set data-quantity threshold as 3000, then it can be divided into 1500 groups of data in data acquisition system and be handled.
If setting data-quantity threshold as 3000, when the quantity of the acceleration information in data acquisition system is greater than 3000, into
Row once-through operation, it is therefore an objective to avoid data acquisition system too big, reduce the time of single operation consumption.It is counted when simultaneously when not used
It calculates, can rationally utilize system resource.
Step 115, the data variation amount in every group between two acceleration informations is calculated;
Specifically, the calculation method of data variation amount can there are many.
It is preferred in this example, with the data variation amount between whole two acceleration informations of calculating.
Calculation method such as following formula 1:
Furthermore data of two acceleration informations in X-direction, Y-direction and Z-direction in every group can also be calculated separately to become
Change amount.
X-direction, Y-direction and Z-direction are respectively that three axis of gravity sensor are axial in this step.
Step 116;Whether within the set first threshold range to determine the data variation amount of each group acceleration information;
Wherein, the determination of first threshold range has at least following two mode:
First way is determined according to the user information of the sample frequency of acceleration information and the first user.
Wherein user information may include one in height data, age data or the stride data and cadence data of user
Kind is several.
Just by taking user information is stride data as an example, according to stride data, first threshold range can pass through stride data
It calculates and obtains with the product in sampling interval.For example, the normal step size of the first user is between 0.5 meter -1.1 meters, cadence be 1 step/
Second, sampling interval 500ms, then first threshold range is [0.25,0.55] rice.
Likewise, if it is height data, age data, it can be according to the conversion relation that they are directly pressed with stride data
Corresponding stride data is obtained, then obtains first threshold range through the above way again.
The second way, the first threshold range of the first user are the multiple pretest data determinations based on the first user
Fixed data.
Therefore first threshold range corresponding with the first user can be directly acquired according to the user information of the first user.
Herein, user information is most preferably User ID, can obtain using first by the User ID of the first user
The first threshold range of family customization.
Furthermore in more preferably embodiment, user information is also possible to the height data of user, that is, thinks identical height
The first threshold range of user is all identical, obtains the first threshold range being consistent with the height by user's height data correspondence.
Certainly can also be divided again in the case where identical height according to gender, age, corresponding different threshold range, according to
Family age, gender, height, correspondence obtain corresponding first threshold range.
It by this step, realizes and carries out data validity screening according to the actual conditions of the first user, so that meter
The step number entered is effective.
The purpose of first threshold range setting upper and lower bound is that it is possible to identify and is not moved or movement speed mistake
In slow situation, the case where walking can not be can be regarded as, and identify that mobile too fast or amplitude is excessive, for example hurry up, ride
Or by bus the case where.
Step 117, when one group data variation amount within the set first threshold range when, determine one group of corresponding counting
Value is 1, is otherwise 0;
Specifically, if this group of data are considered as when the data variation amount obtained according to formula 1 is in first threshold range
It is valid data, the corresponding count value of the group is set as 1.If exceeding first threshold range, this group of data are considered as invalid data,
Count value is set as 0.
Step 118, the count value of each group in the first data acquisition system is counted, obtains the cumulative of the first group data set conjunction
Step number, and store.
Specifically, every group in data acquisition system of count value is added, obtained numerical value is exactly the accumulative of effective step number,
I.e. cumulative step number.
Step 119, when the statistics duration to cumulative step number has reached the duration of default statistical time section, when by default statistics
Between the cumulative step number closed of each group data set for obtaining in section counted, obtain the tired of the first user in default statistical time section
Step counting number;
Specifically, will confirm after carrying out counting statistics to the cumulative step number that a group data set closes each time to tired
The length of the default statistical time section counted required for adding the statistics duration of step number whether to reach.
To the statistics duration of cumulative step number, can according to for generate the group add up step number acceleration information acquisition when
Between information determine, by using an acceleration information finally obtaining acquisition time and terminate the time and be compared to really
It is fixed whether to have reached statistics duration.
In addition it is also possible to be to trigger to determine that statistics duration reaches default statistical time section by system clock.Such as
Daily 23:59:59 generates cumulative step number statistics instruction, for counting to the cumulative step number of generated multiple groups.
If do not reached, the method according to abovementioned steps 111-118 is repeated, continues to obtain the tired of next group data set conjunction
Add step number.
If pair having reached statistics duration, the cumulative step number closed to each group data set is overlapped, when obtaining statistics
Total accumulative step number in section.
The step number be carried out obtaining after data validity screening according to the actual conditions of the first user it is accumulative
Step number improves accuracy.
After default statistical time section terminates, accumulative step number and movement step number are reset to 0 respectively, so as to direct
Carry out the step number statistics of next default statistical time section.
Step 120, after the first period, according to the data generation phase step count information of accumulative step number, clothes are synchronized to
Business device;
Specifically, stage step count information includes: the user information of the first user, the data of accumulative step number and the first period knot
Temporal information when beam.
For example stage step count information may include: on October 11st, 2016, move 8523 step of step number.
Step 130, server parses the stage step count information received, is believed according to the user of the first user
Breath calls the User Profile information of the first user in files on each of customers library, and calls user's body according to the user information of the first user
Levy user's sign record of the first user in database of record;
Wherein, user, which is stored archive information to the method in files on each of customers library by user terminal, may include:
Firstly, receiving the User Profile information of the first user of the first user input;Wherein, User Profile information can wrap
Include the information such as age, gender, occupation, the physical condition historical record of user;Then, clothes are sent by the User Profile information
Business device, and be stored in the files on each of customers library of first user.
And the method that user's sign record is generated in user's sign database of record may include:
Firstly, user terminal obtains user's sign detection data of the first user;User's sign detection data includes described
The user information and detection time information of first user;Secondly, user's sign detection data is sent to server;Finally, clothes
Device be engaged according to the user information of the first user, user's sign detection data is generated into user's sign record, user's body is added
It levies in database of record;User's sign record includes the detection time information.
Step 140, it is recorded according to the User Profile information of the first user and user's sign, extracts crucial item data;
Specifically, in such as User Profile information record user be male, 60 years old, have diabetes, have history of heart disease.User
Record user's blood pressure within the most a recent period of time is exceeded in sign record, and other parameters such as heart rate, blood oxygen saturation etc. is all just
In normal range.Then extract gender male, age 60, medical history diabetes and the heart disease that there can be user for including in crucial item data
Data and blood pressure data.
Step 150, according to crucial item data in the user information shared data bank of server matching inquiry, determine and the
The information of the corresponding feature user of one user;
Specifically, the information of multiple feature users is stored in user information shared data bank, different feature user tools
There is different crucial item datas.When establishing user information shared data bank, permutation and combination can be carried out according to various key items,
Generate the information of various features user.
In a specific example, according to the gender of above-mentioned user male, age 60, medical history diabetes and cardiopathic number
Accordingly and the crucial item data of blood pressure data, can check in user information shared data bank " has the 60- of heart disease diabetes
Feature user as 70 years old elderly mens ", the information of feature user further includes " daily moderate exercise step number 7000-9000
Step ".
Step 160, corresponding movement is obtained according to the information of the feature user and stage step count information and adjusts recommendation letter
Breath;
The amount of exercise whether the stage step count information of determination provides with the information of feature user is consistent, corresponding to generate movement adjustment
Advisory information.
Such as also by taking above-mentioned example as an example, stage step count information is " on October 11st, 2016 moves 8523 step of step number ", special
Sign user information is " having 60-70 years old elderly men of heart disease diabetes, daily moderate exercise step number 7000-9000 step ".Then
The movement adjustment advisory information of generation can be " current kinetic amount is appropriate, continuing with holding ".If the user movement amount is more than
The similar prompts such as movement adjustment advisory information " current kinetic is excessive, it is noted that rest " can be generated in 9000 steps, can also basis
Beyond absolute value or exceed ratio, carries out distinction cue.If amount of exercise is not up to 7000 steps, " movement can be generated accordingly
The prompts such as amount deficiency, it is proposed that reinforce taking exercise ".
Further, it is also possible to be obtained according to the information of feature user and/or stage step count information relevant to the first user strong
Health information.
Health information information can with when inquired according to the age of user, gender, occupation, medical history or exercise habit etc.
Relevent information information.Such as health care's prompt, diet recipe or information relevant to movement etc..
Step 170, movement adjustment advisory information is sent to the user terminal of the first user;
Step 180, the user terminal output movement adjustment advisory information of the first user.
Specifically, the output of movement adjustment advisory information, can use the way of output of visual information, can also use
Voice mode, or realized by the way of video and audio output.
In a specific embodiment, user terminal adjusts advisory information according to the movement and generates visual movement tune
Whole suggestion shows information, is shown by the user interface of the user terminal;Wherein, the visual movement adjustment is built
View shows that information includes one of text information, chart-information or tendency information or a variety of.
In another specific embodiment, the user terminal adjusts the movement that advisory information generates according to the movement
Voice messaging is suggested in adjustment, and is exported the dynamic adjustment by the voice-output device of the user terminal and suggested voice letter
Breath.
The processing method of exercise data provided in an embodiment of the present invention, being capable of User Profile information according to record, user
Sign record combines step number statistical data to generate movement adjustment advisory information, allows users to reference to movement adjustment advisory information
Determine whether the amount of exercise of oneself is reasonable, and can be adjusted according to movement adjustment advisory information, helps user to close to reach
Manage the effect of movement.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.