CN106197466A - A kind of data processing method, device and terminal - Google Patents

A kind of data processing method, device and terminal Download PDF

Info

Publication number
CN106197466A
CN106197466A CN201510214245.9A CN201510214245A CN106197466A CN 106197466 A CN106197466 A CN 106197466A CN 201510214245 A CN201510214245 A CN 201510214245A CN 106197466 A CN106197466 A CN 106197466A
Authority
CN
China
Prior art keywords
data
exercise data
motion step
motion
paces
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510214245.9A
Other languages
Chinese (zh)
Other versions
CN106197466B (en
Inventor
谭晓光
罗聪
姚晓文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510214245.9A priority Critical patent/CN106197466B/en
Publication of CN106197466A publication Critical patent/CN106197466A/en
Application granted granted Critical
Publication of CN106197466B publication Critical patent/CN106197466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of data processing method, device and terminal, and method therein comprises the steps that at least one exercise data gathering Moving Objects, and wherein, an exercise data includes multiple angular data and the acquisition time of each angular data;At least one motion step is confirmed from least one exercise data described;According to the acquisition time of the angular data that at least one exercise data described includes, determine the movement time that at least one motion step described is corresponding;At least one motion step described is screened by the movement time corresponding according at least one motion step described, it is thus achieved that at least one target travel paces;The quantity of described target travel paces is exported as meter step result.The present invention can promote the accuracy of meter step result, promotes the accuracy and intelligent that data process.

Description

A kind of data processing method, device and terminal
Technical field
The present invention relates to Internet technical field, be specifically related to technical field of data processing, particularly relate to one Data processing method, device and terminal.
Background technology
Meter step refers to be analyzed determining motion step to the exercise data of Moving Objects, to realize motion step The quantity cut down carries out a kind of technological means added up.Wherein, Moving Objects can include but not limited to the mankind, Animal or needs carry out counting other objects that the data such as step process.In prior art carry out meter step time data Processing procedure is: gathering the exercise data of Moving Objects, this exercise data is usually the gravity in motor process Acceleration, statistic reaches the quantity of the acceleration of gravity of certain threshold value, using this quantity as meter step result Export.The data processing scheme of prior art depends on the Numerical Implementation meter step of acceleration of gravity, due to The numerical value of acceleration of gravity is limited to moving scene, such as: low-speed motion scene is (such as: people slowly walks Scene) time acceleration of gravity numerical value the most fixing, and high motion scenes is (such as: people quickly runs Scene) time acceleration of gravity change in value relatively big, the impact of moving scene can make the meter of prior art Step result is not accurate enough, thus have impact on the accuracy and intelligent that data process.
Summary of the invention
The embodiment of the present invention provides a kind of data processing method, device and terminal, can promote the standard of meter step result Really property, promotes accuracy that data process and intelligent.
Embodiment of the present invention first aspect provides a kind of data processing method, it may include:
Gathering at least one exercise data of Moving Objects, wherein, an exercise data includes multiple angular data And the acquisition time of each angular data;
At least one motion step is confirmed from least one exercise data described;
According to the acquisition time of the angular data that at least one exercise data described includes, determine described at least one The movement time that motion step is corresponding;
At least one motion step described is carried out by the movement time corresponding according at least one motion step described Screening, it is thus achieved that at least one target travel paces;
The quantity of described target travel paces is exported as meter step result.
Embodiment of the present invention second aspect provides a kind of data processing equipment, it may include:
Collecting unit, for gathering at least one exercise data of Moving Objects, wherein, an exercise data Including multiple angular datas and the acquisition time of each angular data;
Confirmation unit, for confirming at least one motion step from least one exercise data described;
Determine unit, the acquisition time of the angular data for including according at least one exercise data described, really The movement time that fixed at least one motion step described is corresponding;
Screening unit, for the movement time corresponding according at least one motion step described to described at least one Individual motion step screens, it is thus achieved that at least one target travel paces;
Output unit, by using the quantity of described target travel paces as based on walk result export.
The embodiment of the present invention third aspect provides a kind of terminal, it may include the data of above-mentioned second aspect process dress Put.
Implement the embodiment of the present invention, have the advantages that
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The flow chart of a kind of data processing method that Fig. 1 provides for the embodiment of the present invention;
The flow chart of the another kind of data processing method that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of data processing equipment that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is the structural representation of the embodiment of the collecting unit shown in Fig. 3;
Fig. 5 is the structural representation of the embodiment of the confirmation unit shown in Fig. 3;
Fig. 6 is the structural representation of the embodiment of cell really shown in Fig. 3;
Fig. 7 is the structural representation of the embodiment of the screening unit shown in Fig. 3.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
In the embodiment of the present invention, terminal can be notebook computer, mobile phone, PAD (panel computer), intelligence The equipment such as wearable device.In terminal can installation and operation types of applications program, include but not limited to: IMU Letter application program, SNS (Social Networking Services, social network services) application program, Game application, security application etc..
In the embodiment of the present invention, meter step refers to be analyzed determining motion step to the exercise data of Moving Objects, To realize a kind of technological means that the quantity of motion step is added up.Wherein, Moving Objects can include But it is not limited to the mankind, animal or needs carry out counting other objects that the data such as step process.The embodiment of the present invention can According to including that the exercise data of angular data carries out the confirmation of motion step, and combine the movement time of motion step Motion step is further screened, is obtained meter step result according to the target travel paces after screening;Adopt The moving scenes such as high low speed can be avoided meter to be walked the impact that result is brought, in conjunction with motion step by angular data The lost motion paces not meeting the characteristics of motion can be screened out by movement time, thus effectively promotes meter The accuracy of step result, promotes the accuracy and intelligent that data process.
Based on foregoing description, below in conjunction with accompanying drawing 1-accompanying drawing 2, the data providing the embodiment of the present invention process Method describes in detail.It should be noted that the flow process of the method for following accompanying drawing 1-accompanying drawing 2 can be by this Performed by the data processing equipment that inventive embodiments provides, this device can be to possess data in terminal to process energy The application program of power, such as: instant messaging application program in terminal, SNS application program etc..
Refer to Fig. 1, for the flow chart of a kind of data processing method that the embodiment of the present invention provides;The method can Comprise the following steps S101-step S105.
S101, gathers at least one exercise data of Moving Objects, and wherein, an exercise data includes multiple Angular data and the acquisition time of each angular data.
Described Moving Objects can include but not limited to that the mankind, animal or needs carry out counting what the data such as step processed Other objects.Described angular data can be indicated to use three-dimensional coordinate mode, such as certain angular data a1Can represent For a1(xa1, ya1, za1).The acquisition time of described angular data can use t to be indicated, such as certain angular data a1 Acquisition time be represented by ta1.Moving Objects completes an athletic performance can produce an exercise data, example As: people is during walking movement, and it is an athletic performance that a foot of people steps forward a step, the one of people Foot backward backward is an athletic performance, and closing the feet of people is also an athletic performance, etc., because of This, an exercise data can be used for describing an athletic performance.Generally, Moving Objects meeting in motor process Carrying out the range of motion action continuing, linking up, thus produce multiple exercise data, this step then can gather At least one exercise data of Moving Objects.
Carry out as a example by walking movement by people, it is assumed that this step can gather four that people takes a step to produce in the process of walking Individual exercise data, these four exercise datas are represented by A, B, C and D, it is assumed that exercise data A can include Angular data a1(xa1, ya1, za1) and acquisition time ta1、a2(xa2, ya2, za2) and acquisition time ta2Until an (xan, yan, zan) and acquisition time tanN (n is the positive integer more than 1) individual angular data and each angle number altogether According to acquisition time.Assume that exercise data B can include angular data b1(xb1, yb1, zb1) and acquisition time tb1、 b2(xb2, yb2, zb2) and acquisition time tb2Until bn(xbn, ybn, zbn) and acquisition time tbnN angle number altogether According to and the acquisition time of each angular data.Assume that exercise data C can include angular data c1(xc1, yc1, zc1) and Acquisition time tc1、c2(xc2, yc2, zc2) and acquisition time tc2Until cn(xcn, ycn, zcn) and gather time Between tcnN angular data and the acquisition time of each angular data altogether.Assume that exercise data D can include angular data d1 (xd1, yd1, zd1) and acquisition time td1、d2(xd2, yd2, zd2) and acquisition time td2Until dn(xdn, ydn, zdn) and acquisition time tdnN angular data and the acquisition time of each angular data altogether.
S102, confirms at least one motion step from least one exercise data described.
One exercise data can be used for describing an athletic performance, say, that an exercise data may be used In representing a motion step, it is also possible to for representing a jump action, in some instances it may even be possible to for representing one The action that original place is static.This step needs identify for representing fortune from least one exercise data described All exercise datas of dynamic paces, and thereby confirm that at least one motion step;In implementing, can adopt With preset detection algorithm, exercise data is carried out paces detection, confirm at least one motion step.Wherein, Described preset detection algorithm may include but be not limited to: crest detection algorithm, zero-crossing examination algorithm etc..Press According to example shown in step S101, this step can use preset detection algorithm from A, B, C and D tetra- Exercise data identifies the exercise data for representing motion step, thereby confirms that motion step.
S103, according to the acquisition time of the angular data that at least one exercise data described includes, determine described in extremely The movement time that a few motion step is corresponding.
Owing to a motion step can use an exercise data to be indicated, further, a motion step The acquisition time that can use multiple angular data and angular data is indicated, therefore, and the fortune that motion step is corresponding The acquisition time of dynamic each angular data included by data all may be considered the movement time of this motion step, Follow-up meter step process, the embodiment of the present invention can choose the acquisition time conduct of an angular data The movement time that this motion step is corresponding;For example, it is assumed that confirm that exercise data A is for table through step S102 Show a motion step, n angular data that this step then can include according to exercise data A and each angular data Acquisition time, build represent motion step waveform, and can from this waveform selected characteristic angular data, should The acquisition time of characteristic angle data is defined as the movement time of this motion step;Characteristic angle data therein are permissible For the angular data randomly selected in this waveform, or, can be the angle number that the crest in this waveform is corresponding According to, or, can be the angular data that the trough in this waveform is corresponding, or, can be zero in this waveform The angular data that point is corresponding.
S104, at least one motion described is walked by the movement time corresponding according at least one motion step described Cut down and screen, it is thus achieved that at least one target travel paces.
The purpose of screening is to walk the lost motion not meeting the characteristics of motion at least one motion step described Cut down and screen out, retain effective motion step as target travel paces.It should be noted that according to fortune Dynamic rule, Moving Objects time interval between adjacent motion paces in normal motion should be positioned at one In fixed time range.This step can calculate at least one motion step described between adjacent motion paces The time interval of movement time, in conjunction with the characteristics of motion, at least one motion step is screened, therefrom sieves Remove the lost motion paces being unsatisfactory for this characteristics of motion, and the motion step meeting this characteristics of motion is defined as Target travel paces.
S105, exports the quantity of described target travel paces as meter step result.
This step needs to add up the quantity of described target travel paces, i.e. statistics and meets all fortune of the characteristics of motion The quantity of dynamic paces, this quantity is meter step result and exports.It should be noted that can be in terminal Screen in export the quantity of described target travel paces, and using this quantity as the meter to described Moving Objects Step result.In actual application, specifically can be at the interactive interface of the application program of terminal (as instant messaging should With the interactive interface of program, the interactive interface etc. of SNS application program) in export described target travel paces Quantity, and this quantity is walked result as to the meter of described Moving Objects.
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
Refer to Fig. 2, for the flow chart of the another kind of data processing method that the embodiment of the present invention provides;The method S201-step S212 can be comprised the following steps.
S201, when monitoring terminal and moving along with the Moving Objects of end side, calls in described terminal Gyro sensor gather described terminal at least one exercise data.
Described Moving Objects can include but not limited to that the mankind, animal or needs carry out counting what the data such as step processed Other objects.In the present embodiment, described Moving Objects can refer to that carried terminal carries out the mankind, the animal moved Or need to carry out counting other objects that the data such as step process.In described terminal can built-in gyro sensor, when When the Moving Objects of described end side moves, described for drive terminal is moved;Described terminal along with Described Moving Objects completes an athletic performance can produce an exercise data, and therefore, an exercise data can For describing an athletic performance.Generally, described terminal can be entered along with described Moving Objects in motor process Row continues, coherent range of motion action, thus produces multiple exercise data, and this step can be called described Gyro sensor in terminal gathers at least one exercise data of described terminal.Wherein, a motion number According to including multiple angular data and the acquisition time of each angular data.Described angular data can use three-dimensional coordinate side Formula is indicated, such as certain angular data a1It is represented by a1(xa1, ya1, za1).During the collection of described angular data Between t can be used to be indicated, such as certain angular data a1Acquisition time be represented by ta1
S202, is defined as at least one fortune of described Moving Objects by least one exercise data of described terminal Dynamic data.
Owing to described for drive terminal being moved when the Moving Objects of described end side moves, therefore institute The exercise data stating terminal can be used for characterizing the exercise data of described Moving Objects, and this step can will be collected At least one exercise data of described terminal be defined as at least one exercise data of described Moving Objects.With As a example by people carries out walking movement, it is assumed that step S201 collects four exercise datas of described terminal, these four Exercise data is represented by A, B, C and D, it is assumed that exercise data A can include angular data a1(xa1, ya1, za1) And acquisition time ta1、a2(xa2, ya2, za2) and acquisition time ta2Until an(xan, yan, zan) and gather Time tanN (n is the positive integer more than 1) individual angular data and the acquisition time of each angular data altogether.Assume fortune Dynamic data B can include angular data b1(xb1, yb1, zb1) and acquisition time tb1、b2(xb2, yb2, zb2) and adopt Collection time tb2Until bn(xbn, ybn, zbn) and acquisition time tbnN angular data and the collection of each angular data altogether Time.Assume that exercise data C can include angular data c1(xc1, yc1, zc1) and acquisition time tc1、c2(xc2, yc2, zc2) and acquisition time tc2Until cn(xcn, ycn, zcn) and acquisition time tcnN angular data and each angle number altogether According to acquisition time.Assume that exercise data D can include angular data d1(xd1, yd1, zd1) and acquisition time td1、 d2(xd2, yd2, zd2) and acquisition time td2Until dn(xdn, ydn, zdn) and acquisition time tdnN angle altogether Data and the acquisition time of each angular data.This step S202 can determine that the people's also bag in above-mentioned walking process Include tetra-exercise datas of A, B, C and D.
Step S201-step S202 of the present embodiment can be the concrete of step S101 of embodiment illustrated in fig. 1 Refinement step.
S203, uses Butterworth low pass ripple algorithm that at least one exercise data described is carried out low-pass filtering Process.
In this step, the purpose that at least one exercise data described is carried out low-pass filtering treatment is to filter shadow Ring the noise of at least one exercise data described, so that the follow-up process at least one exercise data described The most accurate.Wherein, Butterworth low pass ripple algorithm is a kind of electronic filtering algorithm, and its feature is to lead to The frequency response curve of frequency band is smoother, and filter effect is preferable.Preferably, this step can use ten second orders Butterworth low pass ripple algorithm carries out low-pass filtering treatment at least one exercise data described, makes an uproar to reduce The sound impact at least one exercise data described.
S204, the angular data included according to each exercise data at least one exercise data described and each angle The acquisition time of data, builds the detection waveform of described each exercise data.
According to example shown in the present embodiment, totally four exercise datas are represented by A, B, C and D, this step Can be according to angular data a included by exercise data A1(xa1, ya1, za1)、a2(xa2, ya2, za2) to an(xan, yan, zan) n angular data, and the acquisition time t that each angular data is corresponding altogethera1、ta2To tan, draw motion number Detection waveform P according to A.In like manner, this step can draw detection waveform Q obtaining exercise data B, motion number According to detection waveform R of C, detection waveform S of exercise data D.It should be noted that detection waveform P, Q, R, S can use different coordinate spaces to draw respectively, it is also possible to be drawn on same coordinate space.
S205, uses zero passage detection algorithm to judge whether the detection waveform of described each exercise data passes through zero point, Wherein, zeroaxial detection waveform is target detection waveform.
According to the characteristics of motion, if normal motion producing motion step, then for representing motion step The detection waveform of exercise data is inherently by zero point, and therefore, this step can use according to this characteristics of motion Zero passage detection algorithm judges whether the detection waveform of described each exercise data passes through zero point.According to the present embodiment institute Example child, this step needs to judge whether detection waveform P, Q, R, S pass through zero point respectively, it is assumed that detection Waveform P, Q, R pass through zero point, and detection waveform S does not passes through zero point, it is determined that detection waveform P, Q, R are Target detection waveform.
S206, chooses at least one target detection waveform from the detection waveform of described each exercise data, wherein, Exercise data corresponding to one target detection waveform is for representing a motion step.
According to example shown in the present embodiment, determine that detection waveform P, Q, R are target detection waveform, then target Exercise data A corresponding to detection waveform P is for representing a motion step, the fortune that target detection waveform Q is corresponding Dynamic data B are for representing a motion step, and exercise data C corresponding for target detection waveform R is used for expression one Individual motion step.Can illustrate further, the athletic performance represented by exercise data D corresponding to detection waveform S is also Non-athletic paces, it may be intended to indicate that a jump action, in some instances it may even be possible to for representing that an original place is quiet Action only, or other possible athletic performances.
Step S204-step S206 of the present embodiment can be the concrete of step S102 of embodiment illustrated in fig. 1 Refinement step.
S207, the exercise data that each target detection waveform from least one target detection waveform described is corresponding Middle selected characteristic angular data.
Owing to a motion step can use an exercise data to be indicated, further, a motion step The acquisition time that can use multiple angular data and angular data is indicated, therefore, and the fortune that motion step is corresponding The acquisition time of dynamic each angular data included by data all may be considered the movement time of this motion step, Follow-up meter step process, the embodiment of the present invention can choose the acquisition time conduct of an angular data The movement time that this motion step is corresponding.Wherein, characteristic angle data can be random from target detection waveform The angular data chosen, or, can be the angular data that the crest in target detection waveform is corresponding, or, Can be the angular data that the trough in target detection waveform is corresponding, or, can be in target detection waveform The angular data that zero point is corresponding.According to example shown in the present embodiment, this step can respectively from target detection waveform P, The angular data that Q, R choose crest corresponding is characterized angular data, it is assumed that the feature chosen from target detection waveform P Angular data is ai(xai, yai, zai), its acquisition time is tai(i is integer and 1≤i≤n);From target detection The characteristic angle data that waveform Q chooses are bj(xbj, ybj, zbj), its acquisition time is tbj(j is integer and 1≤j≤n); The characteristic angle data chosen from target detection waveform R are ck(xck, yck, zck), its acquisition time is tck(k is Integer and 1≤k≤n).
S208, is defined as described each target detection waveform corresponding by the acquisition time of selected characteristic angle data Movement time corresponding to the motion step represented by exercise data.
According to example shown in the present embodiment, this step may be determined as follows: the motion step represented by exercise data A Corresponding movement time is tai, the movement time that motion step represented by exercise data B is corresponding is tbj, motion The movement time that motion step represented by data C is corresponding is tck
Step S207-step S208 of the present embodiment can be the concrete of step S103 of embodiment illustrated in fig. 1 Refinement step.
S209, according to movement time corresponding at least one motion step described sequencing to described at least One motion step is ranked up, and generates target sequence.
According to example shown in the present embodiment, it is assumed that tai< tbj< tck, this step can generate target sequence and be: fortune Represented by the dynamic motion step represented by motion step-exercise data B-exercise data C represented by data A Motion step.
S210, calculate successively the movement time that in described target sequence, the most adjacent two motion step are corresponding time Between be spaced.
According to example shown in the present embodiment, the motion step represented by exercise data A and fortune in described target sequence Dynamic motion step represented by data B is adjacent motion paces, the motion step-fortune represented by exercise data B Dynamic motion step represented by data C is adjacent motion paces;So, this step needs to calculate respectively tbj-tai, And tck-tbj
S211 is corresponding with the second motion step to the first motion step adjacent in described target sequence when calculating Movement time time interval beyond preset time range time, will in described target sequence except described second fortune All motion step outside dynamic paces are defined as target travel paces, wherein, described first motion step pair The movement time that the movement time answered is corresponding prior to described second motion step;Or, when described target sequence The time interval of the movement time that two motion step of middle arbitrary neighborhood are corresponding is respectively positioned on described preset time range Time, motion step all in described target sequence are defined as target travel paces.
It should be noted that according to the characteristics of motion, Moving Objects is adjacent motion paces in normal motion Between time interval should be positioned at preset time range, described preset time range can be according to actual feelings Condition is set, such as: carry out walking movement for people, and usual preset time range is [0.4s, 2s], etc. Deng.According to example shown in the present embodiment, if tbj-taiAnd tck-tbjIt is respectively positioned in preset time range, then, Represent all motion step in described target sequence and be the effective exercise paces meeting the characteristics of motion, then this step Suddenly can be identified as all motion step in described target sequence is target travel paces, i.e. can determine that described target Motion step represented by exercise data A, the motion step represented by exercise data B in sequence, and motion Motion step represented by data C is target travel paces.If tbj-taiIt is positioned at preset time range, And tck-tbjBeyond preset time range, show that the motion step represented by exercise data C does not meets the characteristics of motion, Motion step represented by exercise data C is lost motion paces, and this step then gets rid of this lost motion paces, And other effective exercise paces meeting the characteristics of motion in described target sequence are defined as target travel paces, I.e. can determine that the motion step represented by exercise data A in described target sequence, the fortune represented by exercise data B Dynamic paces are target travel paces.
Step S209-step S211 of the present embodiment can be the concrete of step S104 of embodiment illustrated in fig. 1 Refinement step.
S212, exports the quantity of described target travel paces as meter step result.
This step needs to add up the quantity of described target travel paces, i.e. statistics and meets all fortune of the characteristics of motion The quantity of dynamic paces, this quantity is meter step result and exports.It should be noted that can be in terminal Screen in export the quantity of described target travel paces, and using this quantity as the meter to described Moving Objects Step result.In actual application, specifically can be at the interactive interface of the application program of terminal (as instant messaging should With the interactive interface of program, the interactive interface etc. of SNS application program) in export described target travel paces Quantity, and this quantity is walked result as to the meter of described Moving Objects.
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
Below in conjunction with accompanying drawing 3-accompanying drawing 7, the data processing equipment providing the embodiment of the present invention is situated between in detail Continue.It should be noted that following device can be the application program possessing data-handling capacity in terminal, Such as: instant messaging application program in terminal, SNS application program etc., above-mentioned attached to be applied to performing Data processing method shown in Fig. 1-accompanying drawing 2.
Refer to Fig. 3, for the structural representation of a kind of data processing equipment that the embodiment of the present invention provides;This dress Put and comprise the steps that collecting unit 101, confirmation unit 102, determine unit 103, screening unit 104 and output Unit 105.
Collecting unit 101, for gathering at least one exercise data of Moving Objects, wherein, a motion number According to including multiple angular data and the acquisition time of each angular data.
Described Moving Objects can include but not limited to that the mankind, animal or needs carry out counting what the data such as step processed Other objects.Described angular data can be indicated to use three-dimensional coordinate mode, such as certain angular data a1Can represent For a1(xa1, ya1, za1).The acquisition time of described angular data can use t to be indicated, such as certain angular data a1 Acquisition time be represented by ta1.Moving Objects completes an athletic performance can produce an exercise data, example As: people is during walking movement, and it is an athletic performance that a foot of people steps forward a step, the one of people Foot backward backward is an athletic performance, and closing the feet of people is also an athletic performance, etc., because of This, an exercise data can be used for describing an athletic performance.Generally, Moving Objects meeting in motor process Carry out the range of motion action continuing, linking up, thus produce multiple exercise data, described collecting unit 101 At least one exercise data of Moving Objects can be gathered.
Carry out as a example by walking movement by people, it is assumed that described collecting unit 101 can gather people and step in the process of walking Four exercise datas that step produces, these four exercise datas are represented by A, B, C and D, it is assumed that motion number Angular data a can be included according to A1(xa1, ya1, za1) and acquisition time ta1、a2(xa2, ya2, za2) and gather time Between ta2Until an(xan, yan, zan) and acquisition time tanN (n is the positive integer more than 1) individual angular data altogether And the acquisition time of each angular data.Assume that exercise data B can include angular data b1(xb1, yb1, zb1) and adopt Collection time tb1、b2(xb2, yb2, zb2) and acquisition time tb2Until bn(xbn, ybn, zbn) and acquisition time tbn N angular data and the acquisition time of each angular data altogether.Assume that exercise data C can include angular data c1(xc1, yc1, zc1) and acquisition time tc1、c2(xc2, yc2, zc2) and acquisition time tc2Until cn(xcn, ycn, zcn) and Acquisition time tcnN angular data and the acquisition time of each angular data altogether.Assume that exercise data D can include angle number According to d1(xd1, yd1, zd1) and acquisition time td1、d2(xd2, yd2, zd2) and acquisition time td2Until dn(xdn, ydn, zdn) and acquisition time tdnN angular data and the acquisition time of each angular data altogether.
Confirmation unit 102, for confirming at least one motion step from least one exercise data described.
One exercise data can be used for describing an athletic performance, say, that an exercise data may be used In representing a motion step, it is also possible to for representing a jump action, in some instances it may even be possible to for representing one The action that original place is static.Described confirmation unit 102 needs to identify use from least one exercise data described In all exercise datas of expression motion step, and thereby confirm that at least one motion step;In implementing, Can use preset detection algorithm that exercise data is carried out paces detection, confirm at least one motion step. Wherein, described preset detection algorithm may include but be not limited to: crest detection algorithm, zero-crossing examination algorithm etc. Deng.According to example shown in the present embodiment, described confirmation unit 102 can use preset detection algorithm from A, B, Tetra-exercise datas of C and D identify the exercise data for representing motion step, thereby confirms that motion step.
Determine unit 103, the acquisition time of the angular data for including according at least one exercise data described, Determine the movement time that at least one motion step described is corresponding.
Owing to a motion step can use an exercise data to be indicated, further, a motion step The acquisition time that can use multiple angular data and angular data is indicated, therefore, and the fortune that motion step is corresponding The acquisition time of dynamic each angular data included by data all may be considered the movement time of this motion step, Follow-up meter step process, the embodiment of the present invention can choose the acquisition time conduct of an angular data The movement time that this motion step is corresponding;For example, it is assumed that confirm that exercise data A is used for representing a motion step, Described n the angular data and the acquisition time of each angular data determining that unit 103 can include according to exercise data A, Build represent motion step waveform, and can from this waveform selected characteristic angular data, by this feature angular data Acquisition time be defined as the movement time of this motion step;Characteristic angle data therein can be in this waveform The angular data randomly selected, or, can be the angular data that the crest in this waveform is corresponding, or, Can be the angular data that the trough in this waveform is corresponding, or, can be angle corresponding to the zero point in this waveform Data.
Screening unit 104, for according to movement time corresponding at least one motion step described to described at least One motion step screens, it is thus achieved that at least one target travel paces.
The purpose of screening is to walk the lost motion not meeting the characteristics of motion at least one motion step described Cut down and screen out, retain effective motion step as target travel paces.It should be noted that according to fortune Dynamic rule, Moving Objects time interval between adjacent motion paces in normal motion should be positioned at one In fixed time range.Described screening unit 104 can calculate adjacent fortune at least one motion step described The time interval of the movement time between dynamic paces, sieves at least one motion step in conjunction with the characteristics of motion Choosing, therefrom screens out the lost motion paces being unsatisfactory for this characteristics of motion, and will meet the motion of this characteristics of motion Paces are defined as target travel paces.
Output unit 105, by using the quantity of described target travel paces as based on walk result export.
Described output unit 105 needs to add up the quantity of described target travel paces, i.e. statistics and meets motion rule The quantity of all motion step of rule, this quantity is meter step result and exports.It should be noted that The quantity of described target travel paces can be exported in the screen of terminal, and using this quantity as to described fortune The meter step result of dynamic object.In actual application, specifically can the application program of terminal interactive interface (as The interactive interface of instant messaging application program, the interactive interface etc. of SNS application program) in export described mesh The quantity of mark motion step, and using this quantity as the meter step result to described Moving Objects.
Referring to Fig. 3 again, alternatively, this device may also include that filter processing unit 106.
Filter processing unit 106, is used for using Butterworth low pass ripple algorithm at least one motion number described According to carrying out low-pass filtering treatment.
Described filter processing unit 106 carries out the purpose of low-pass filtering treatment at least one exercise data described It is to filter the noise of impact at least one exercise data described, so that follow-up at least one motion described The process of data is the most accurate.Wherein, Butterworth low pass ripple algorithm is a kind of electronic filtering algorithm, its Feature is that the frequency response curve of passband is smoother, and filter effect is preferable.Preferably, at described filtering Reason unit 106 can use the Butterworth low pass ripple algorithm of ten second orders to enter at least one exercise data described Row low-pass filtering treatment, to reduce the noise impact at least one exercise data described.
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
Refer to Fig. 4, for the structural representation of the embodiment of the collecting unit shown in Fig. 3;This collecting unit 101 comprise the steps that call unit 1001 and exercise data determine unit 1002.
Call unit 1001, for when monitoring terminal and moving along with the Moving Objects of end side, adjusts At least one exercise data of described terminal is gathered with the gyro sensor in described terminal.
Described Moving Objects can include but not limited to that the mankind, animal or needs carry out counting what the data such as step processed Other objects.In the present embodiment, described Moving Objects can refer to that carried terminal carries out the mankind, the animal moved Or need to carry out counting other objects that the data such as step process.In described terminal can built-in gyro sensor, when When the Moving Objects of described end side moves, described for drive terminal is moved;Described terminal along with Described Moving Objects completes an athletic performance can produce an exercise data, and therefore, an exercise data can For describing an athletic performance.Generally, described terminal can be entered along with described Moving Objects in motor process Row continues, coherent range of motion action, thus produces multiple exercise data, described call unit 1001 The gyro sensor in described terminal can be called and gather at least one exercise data of described terminal.Wherein, One exercise data includes multiple angular data and the acquisition time of each angular data.Described angular data can use Three-dimensional coordinate mode is indicated, such as certain angular data a1It is represented by a1(xa1, ya1, za1).Described angle number According to acquisition time t can be used to be indicated, such as certain angular data a1Acquisition time be represented by ta1
Exercise data determines unit 1002, described for being defined as by least one exercise data of described terminal At least one exercise data of Moving Objects.
Owing to described for drive terminal being moved when the Moving Objects of described end side moves, therefore institute The exercise data stating terminal can be used for characterizing the exercise data of described Moving Objects, and described exercise data determines list At least one exercise data of the described terminal collected can be defined as described Moving Objects extremely by unit 1002 A few exercise data.Carry out as a example by walking movement by people, it is assumed that collect four motion numbers of described terminal According to, these four exercise datas are represented by A, B, C and D, it is assumed that exercise data A can include angular data a1(xa1, ya1, za1) and acquisition time ta1、a2(xa2, ya2, za2) and acquisition time ta2Until an(xan, yan, zan) And acquisition time tanN (n is the positive integer more than 1) individual angular data and the acquisition time of each angular data altogether. Assume that exercise data B can include angular data b1(xb1, yb1, zb1) and acquisition time tb1、b2(xb2, yb2, zb2) And acquisition time tb2Until bn(xbn, ybn, zbn) and acquisition time tbnAltogether n angular data and each angular data Acquisition time.Assume that exercise data C can include angular data c1(xc1, yc1, zc1) and acquisition time tc1、c2(xc2, yc2, zc2) and acquisition time tc2Until cn(xcn, ycn, zcn) and acquisition time tcnAltogether n angular data and often The acquisition time of individual angular data.Assume that exercise data D can include angular data d1(xd1, yd1, zd1) and gather Time td1、d2(xd2, yd2, zd2) and acquisition time td2Until dn(xdn, ydn, zdn) and acquisition time tdn N angular data and the acquisition time of each angular data altogether.Described exercise data determines that unit 1002 can determine that people Also tetra-exercise datas of A, B, C and D are included in above-mentioned walking process.
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
Refer to Fig. 5, for the structural representation of the embodiment of the confirmation unit shown in Fig. 3;This confirmation unit 102 comprise the steps that waveform construction unit 2001, zero passage detection unit 2002 and target waveform choose unit 2003.
Waveform construction unit 2001, for include according to each exercise data at least one exercise data described Angular data and the acquisition time of each angular data, build the detection waveform of described each exercise data.
According to the example of embodiment illustrated in fig. 4, totally four exercise datas are represented by A, B, C and D, institute Stating waveform construction unit 2001 can be according to angular data a included by exercise data A1(xa1, ya1, za1)、a2(xa2, ya2, za2) to an(xan, yan, zan) n angular data, and the acquisition time t that each angular data is corresponding altogethera1、 ta2To tan, draw detection waveform P of exercise data A.In like manner, described waveform construction unit 2001 can be drawn Obtain detection waveform Q of exercise data B, detection waveform R of exercise data C, the detection ripple of exercise data D Shape S.It should be noted that detection waveform P, Q, R, S can use different coordinate spaces to enter respectively Row is drawn, it is also possible to be drawn on same coordinate space.
Zero passage detection unit 2002, for using zero passage detection algorithm to judge the detection ripple of described each exercise data Whether shape is by zero point, and wherein, zeroaxial detection waveform is target detection waveform.
According to the characteristics of motion, if normal motion producing motion step, then for representing motion step The detection waveform of exercise data is inherently by zero point, and therefore, described zero passage detection unit 2002 can be according to this The characteristics of motion, uses zero passage detection algorithm to judge whether the detection waveform of described each exercise data passes through zero point. According to example shown in the present embodiment, described zero passage detection unit 2002 need to judge respectively detection waveform P, Q, Whether R, S pass through zero point, it is assumed that detection waveform P, Q, R are by zero point, and detection waveform S does not passes through zero point, Then determine that detection waveform P, Q, R are target detection waveform.
Target waveform chooses unit 2003, for choosing at least one from the detection waveform of described each exercise data Individual target detection waveform, wherein, exercise data corresponding to target detection waveform is for representing a motion Paces.
According to example shown in the present embodiment, determine that detection waveform P, Q, R are target detection waveform, then target Exercise data A corresponding to detection waveform P is for representing a motion step, the fortune that target detection waveform Q is corresponding Dynamic data B are for representing a motion step, and exercise data C corresponding for target detection waveform R is used for expression one Individual motion step.Can illustrate further, the athletic performance represented by exercise data D corresponding to detection waveform S is also Non-athletic paces, it may be intended to indicate that a jump action, in some instances it may even be possible to for representing that an original place is quiet Action only, or other possible athletic performances.
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
Refer to Fig. 6, for the structural representation of the embodiment of cell really shown in Fig. 3;This determines unit 103 comprise the steps that Feature Selection unit 3001 and movement time determine unit 3002.
Feature Selection unit 3001, for each target detection ripple from least one target detection waveform described Selected characteristic angular data in the exercise data that shape is corresponding.
Owing to a motion step can use an exercise data to be indicated, further, a motion step The acquisition time that can use multiple angular data and angular data is indicated, therefore, and the fortune that motion step is corresponding The acquisition time of dynamic each angular data included by data all may be considered the movement time of this motion step, Follow-up meter step process, the embodiment of the present invention can choose the acquisition time conduct of an angular data The movement time that this motion step is corresponding.Wherein, characteristic angle data can be random from target detection waveform The angular data chosen, or, can be the angular data that the crest in target detection waveform is corresponding, or, Can be the angular data that the trough in target detection waveform is corresponding, or, can be in target detection waveform The angular data that zero point is corresponding.According to the example of embodiment illustrated in fig. 5, described Feature Selection unit 3001 is permissible The angular data choosing crest corresponding from target detection waveform P, Q, R respectively is characterized angular data, it is assumed that from mesh The characteristic angle data that mark detection waveform P is chosen are ai(xai, yai, zai), its acquisition time is tai(i is integer And 1≤i≤n);The characteristic angle data chosen from target detection waveform Q are bj(xbj, ybj, zbj), when it gathers Between be tbj(j is integer and 1≤j≤n);The characteristic angle data chosen from target detection waveform R are ck(xck, yck, zck), its acquisition time is tck(k is integer and 1≤k≤n).
Movement time determines unit 3002, for the acquisition time of selected characteristic angle data is defined as institute State the movement time that the motion step represented by exercise data corresponding to each target detection waveform is corresponding.
According to example shown in the present embodiment, described movement time determines that unit 3002 may be determined as follows: motion number It is t according to the movement time that the motion step represented by A is correspondingai, the motion step represented by exercise data B is corresponding Movement time be tbj, the movement time that motion step represented by exercise data C is corresponding is tck
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
Refer to Fig. 7, for the structural representation of the embodiment of the screening unit shown in Fig. 3;This screening unit 104 comprise the steps that sequence generating unit 4001, time interval computing unit 4002 and target paces determine unit 4003。
Sequence generating unit 4001, for the elder generation of the movement time corresponding according at least one motion step described At least one motion step described is ranked up by rear order, generates target sequence.
Example child according to embodiment illustrated in fig. 6, it is assumed that tai< tbj< tck, described sequence generating unit 4001 can With generation target sequence it is: the motion step represented by the motion step represented by exercise data A-exercise data B Cut down-exercise data C represented by motion step.
Time interval computing unit 4002, for calculating the most adjacent two motion steps in described target sequence successively Cut down the time interval of the movement time of correspondence.
According to example shown in the present embodiment, the motion step represented by exercise data A and fortune in described target sequence Dynamic motion step represented by data B is adjacent motion paces, the motion step-fortune represented by exercise data B Dynamic motion step represented by data C is adjacent motion paces;So, described time interval computing unit 4002 Need to calculate respectively tbj-tai, and tck-tbj
Target paces determine unit 4003, for when calculating the first motion step adjacent in described target sequence When cutting down the time interval of the movement time corresponding with the second motion step beyond preset time range, by described mesh In mark sequence, all motion step in addition to described second motion step are defined as target travel paces, wherein, The movement time that movement time that described first motion step is corresponding is corresponding prior to described second motion step;Or Person, for when the time interval of movement time corresponding to two motion step of arbitrary neighborhood in described target sequence When being respectively positioned on described preset time range, motion step all in described target sequence are defined as target travel Paces.
It should be noted that according to the characteristics of motion, Moving Objects is adjacent motion paces in normal motion Between time interval should be positioned at preset time range, described preset time range can be according to actual feelings Condition is set, such as: carry out walking movement for people, and usual preset time range is [0.4s, 2s], etc. Deng.According to example shown in the present embodiment, if tbj-taiAnd tck-tbjIt is respectively positioned in preset time range, then, Represent all motion step in described target sequence and be the effective exercise paces meeting the characteristics of motion, then described It is target travel paces that target paces determine that unit 4003 can be identified as all motion step in described target sequence, I.e. can determine that the motion step represented by exercise data A in described target sequence, the fortune represented by exercise data B Move paces, and the motion step represented by exercise data C is target travel paces.If tbj-taiIt is positioned at In preset time range, and tck-tbjBeyond preset time range, show the motion step represented by exercise data C Cutting down and do not meet the characteristics of motion, the motion step represented by exercise data C is lost motion paces, and described target walks Cut down and determine that unit 4003 then gets rid of this lost motion paces, and by described target sequence, other meet motion rule The effective exercise paces of rule are defined as target travel paces, i.e. can determine that exercise data A institute in described target sequence Motion step represented by the motion step of expression, exercise data B is target travel paces.
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
The embodiment of the invention also discloses a kind of terminal, this terminal can include data processing equipment, this device 26S Proteasome Structure and Function can be found in the associated description of the attached embodiment illustrated in fig. 7 of accompanying drawing 3-, is not repeated herein.Concrete real In Xian, this device can be the application program possessing data-handling capacity in terminal, such as: in terminal i.e. Time communication application program, SNS application program etc..It should be noted that the terminal disclosed in the present embodiment is also Can apply in the method shown in above-mentioned accompanying drawing 1-accompanying drawing 2.
The embodiment of the present invention can carry out motion step by gathering the exercise data including angular data of Moving Objects Confirmation, and motion step further screened by the movement time combining motion step, according to screening After target travel paces obtain meter step result;Owing to using angular data can avoid the moving scenes pair such as high low speed The impact that meter step result is brought, the movement time in conjunction with motion step can be to the nothing not meeting the characteristics of motion Effect motion step screens out, thus effectively improves the accuracy of meter step result, improves data and processes Accuracy and intelligent.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (13)

1. a data processing method, it is characterised in that including:
Gathering at least one exercise data of Moving Objects, wherein, an exercise data includes multiple angular data And the acquisition time of each angular data;
At least one motion step is confirmed from least one exercise data described;
According to the acquisition time of the angular data that at least one exercise data described includes, determine described at least one The movement time that motion step is corresponding;
At least one motion step described is carried out by the movement time corresponding according at least one motion step described Screening, it is thus achieved that at least one target travel paces;
The quantity of described target travel paces is exported as meter step result.
2. the method for claim 1, it is characterised in that at least one of described collection Moving Objects Exercise data, including:
When monitoring terminal and moving along with the Moving Objects of end side, call the gyro in described terminal At least one exercise data of terminal described in instrument sensor acquisition;
At least one exercise data of described terminal is defined as at least one exercise data of described Moving Objects.
3. the method for claim 1, it is characterised in that at least one of described collection Moving Objects After exercise data, before confirming at least one motion step from least one exercise data described, also Including:
Use Butterworth low pass ripple algorithm that at least one exercise data described is carried out low-pass filtering treatment.
4. the method as described in any one of claim 1-3, it is characterised in that described from described at least one Exercise data is confirmed at least one motion step, including:
The angular data that includes according to each exercise data at least one exercise data described and each angular data Acquisition time, builds the detection waveform of described each exercise data;
Whether the detection waveform of described each exercise data passes through zero point to use zero passage detection algorithm to judge, wherein, Zeroaxial detection waveform is target detection waveform;
At least one target detection waveform, wherein, one is chosen from the detection waveform of described each exercise data The exercise data that target detection waveform is corresponding is used for representing a motion step.
5. method as claimed in claim 4, it is characterised in that at least one motion number described in described basis According to the acquisition time of the angular data included, determine the movement time that at least one motion step described is corresponding, bag Include:
The exercise data that each target detection waveform from least one target detection waveform described is corresponding is chosen Characteristic angle data;
The acquisition time of selected characteristic angle data is defined as the motion that described each target detection waveform is corresponding The movement time that motion step represented by data is corresponding.
6. method as claimed in claim 5, it is characterised in that described according at least one motion step described At least one motion step described is screened by the movement time cutting down correspondence, it is thus achieved that at least one target travel Paces, including:
According to the sequencing of movement time corresponding at least one motion step described at least one fortune described Dynamic paces are ranked up, and generate target sequence;
Calculate the time interval of the movement time that the most adjacent two motion step are corresponding in described target sequence successively;
When calculating the motion that the first motion step adjacent in described target sequence is corresponding with the second motion step When the time interval of time is beyond preset time range, described target sequence will remove described second motion step Outside all motion step be defined as target travel paces, wherein, the fortune that described first motion step is corresponding The movement time that the dynamic time is corresponding prior to described second motion step;
The equal position of time interval when movement time corresponding to two motion step of arbitrary neighborhood in described target sequence When described preset time range, motion step all in described target sequence are defined as target travel paces.
7. a data processing equipment, it is characterised in that including:
Collecting unit, for gathering at least one exercise data of Moving Objects, wherein, an exercise data Including multiple angular datas and the acquisition time of each angular data;
Confirmation unit, for confirming at least one motion step from least one exercise data described;
Determine unit, the acquisition time of the angular data for including according at least one exercise data described, really The movement time that fixed at least one motion step described is corresponding;
Screening unit, for the movement time corresponding according at least one motion step described to described at least one Individual motion step screens, it is thus achieved that at least one target travel paces;
Output unit, by using the quantity of described target travel paces as based on walk result export.
8. device as claimed in claim 7, it is characterised in that described collecting unit includes:
Call unit, for when monitoring terminal and moving along with the Moving Objects of end side, calls institute State the gyro sensor in terminal and gather at least one exercise data of described terminal;
Exercise data determines unit, at least one exercise data of described terminal is defined as described motion At least one exercise data of object.
9. device as claimed in claim 7, it is characterised in that also include:
Filter processing unit, is used for using Butterworth low pass ripple algorithm at least one exercise data described Carry out low-pass filtering treatment.
10. the device as described in any one of claim 7-9, it is characterised in that described confirmation unit includes:
Waveform construction unit, for the angle number included according to each exercise data at least one exercise data described According to this and the acquisition time of each angular data, the detection waveform of described each exercise data is built;
Zero passage detection unit, the detection waveform being used for using zero passage detection algorithm to judge described each exercise data is No by zero point, wherein, zeroaxial detection waveform is target detection waveform;
Target waveform chooses unit, for choosing at least one mesh from the detection waveform of described each exercise data Mark detection waveform, wherein, exercise data corresponding to target detection waveform is for representing a motion step.
11. devices as claimed in claim 10, it is characterised in that described determine that unit includes:
Feature Selection unit, for each target detection waveform pair from least one target detection waveform described Selected characteristic angular data in the exercise data answered;
Movement time determines unit, for the acquisition time of selected characteristic angle data is defined as described respectively The movement time that the motion step represented by exercise data that target detection waveform is corresponding is corresponding.
12. devices as claimed in claim 11, it is characterised in that described screening unit includes:
Sequence generating unit, suitable for the priority of the movement time corresponding according at least one motion step described Described in ordered pair, at least one motion step is ranked up, and generates target sequence;
Time interval computing unit, for calculating the most adjacent two motion step pair in described target sequence successively The time interval of the movement time answered;
Target paces determine unit, for when calculate to the first motion step adjacent in described target sequence with When the time interval of the movement time that the second motion step is corresponding is beyond preset time range, by described target sequence In row, all motion step in addition to described second motion step are defined as target travel paces, wherein, institute State the movement time that movement time corresponding to the first motion step is corresponding prior to described second motion step;Or, For when the equal position of time interval of movement time corresponding to two motion step of arbitrary neighborhood in described target sequence When described preset time range, motion step all in described target sequence are defined as target travel paces.
13. 1 kinds of terminals, it is characterised in that include that the data as described in any one of claim 7-12 process Device.
CN201510214245.9A 2015-04-30 2015-04-30 Data processing method and device and terminal Active CN106197466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510214245.9A CN106197466B (en) 2015-04-30 2015-04-30 Data processing method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510214245.9A CN106197466B (en) 2015-04-30 2015-04-30 Data processing method and device and terminal

Publications (2)

Publication Number Publication Date
CN106197466A true CN106197466A (en) 2016-12-07
CN106197466B CN106197466B (en) 2021-07-09

Family

ID=57457466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510214245.9A Active CN106197466B (en) 2015-04-30 2015-04-30 Data processing method and device and terminal

Country Status (1)

Country Link
CN (1) CN106197466B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107421559A (en) * 2017-07-19 2017-12-01 河南神州数码索贝科技有限公司 A kind of step-recording method based on three-axis gyroscope
WO2020088352A1 (en) * 2018-11-02 2020-05-07 华为技术有限公司 Walking detection method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723848A (en) * 2004-07-24 2006-01-25 三星电子株式会社 Use acceleration transducer to measure momental equipment of physical culture and method
CN102297701A (en) * 2010-06-22 2011-12-28 雅马哈株式会社 Pedometer
US20130080255A1 (en) * 2011-09-22 2013-03-28 Microsoft Corporation Step detection and step length estimation
CN103712632A (en) * 2013-12-31 2014-04-09 英华达(上海)科技有限公司 Step counting method and pedometer based on three-axis accelerometer
US20140122012A1 (en) * 2012-11-01 2014-05-01 Hti Ip, Llc Method and system for determining whether to reset a height in a height determining device based on the occurrence of steps
CN103997572A (en) * 2014-06-03 2014-08-20 深圳市爱康伟达智能医疗科技有限公司 Step counting method and device based on data of acceleration sensor of mobile phone
CN104215257A (en) * 2014-10-08 2014-12-17 广州碧德电子科技有限公司 High-precision and high pseudo-step removing human step-counting method integrating power consumption management

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1723848A (en) * 2004-07-24 2006-01-25 三星电子株式会社 Use acceleration transducer to measure momental equipment of physical culture and method
CN102297701A (en) * 2010-06-22 2011-12-28 雅马哈株式会社 Pedometer
US20130080255A1 (en) * 2011-09-22 2013-03-28 Microsoft Corporation Step detection and step length estimation
US20140122012A1 (en) * 2012-11-01 2014-05-01 Hti Ip, Llc Method and system for determining whether to reset a height in a height determining device based on the occurrence of steps
CN103712632A (en) * 2013-12-31 2014-04-09 英华达(上海)科技有限公司 Step counting method and pedometer based on three-axis accelerometer
CN103997572A (en) * 2014-06-03 2014-08-20 深圳市爱康伟达智能医疗科技有限公司 Step counting method and device based on data of acceleration sensor of mobile phone
CN104215257A (en) * 2014-10-08 2014-12-17 广州碧德电子科技有限公司 High-precision and high pseudo-step removing human step-counting method integrating power consumption management

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SAMPATH JAYALATH: "A Gyroscope Based Accurate Pedometer Algorithum", 《2013 INTERNATIONAL CONFERENCE ON INDOOR POSITIONING AND INDOOR NAVIGATION》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107421559A (en) * 2017-07-19 2017-12-01 河南神州数码索贝科技有限公司 A kind of step-recording method based on three-axis gyroscope
WO2020088352A1 (en) * 2018-11-02 2020-05-07 华为技术有限公司 Walking detection method and device

Also Published As

Publication number Publication date
CN106197466B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN105043410B (en) A kind of pedometer
Piergiovanni et al. Temporal gaussian mixture layer for videos
CN104197952B (en) A kind of user's walking step-recording method, device and mobile terminal
CN107016384A (en) Step-recording method, mobile terminal and the storage medium of recognizable type of sports
CN106289309B (en) Step-recording method and device based on 3-axis acceleration sensor
CN106646615B (en) A kind of data processing method and device of surface wave frequency dispersion curve
CN103903213B (en) A kind of image pickup method and electronic equipment
CN108268869A (en) Object detection method, apparatus and system
CN106441350A (en) Step counting method and terminal
CN106096727A (en) A kind of network model based on machine learning building method and device
CN103116638B (en) Webpage screening method and device thereof
CN103778146B (en) Image clustering device and method
CN1554044A (en) Method and apparatus for selecting information in multi-dimensional space
CN109948641A (en) Anomaly groups recognition methods and device
CN105953814A (en) Step counting method, step counting device and mobile terminal
CN108021242A (en) Gyro data processing method, mobile terminal and computer-readable recording medium
CN105812853A (en) Image processing method and electronic device
CN109864741A (en) Cyclical action appraisal procedure and device, terminal device based on electromyography signal
CN106197466A (en) A kind of data processing method, device and terminal
CN111291865A (en) Gait recognition method based on convolutional neural network and isolated forest
CN109498001B (en) Sleep quality evaluation method and device
CN105120153B (en) A kind of image capturing method and device
CN108052960A (en) Method, model training method and the terminal of identification terminal grip state
WO2022227426A1 (en) Gait planning method and apparatus, computer-readable storage medium, and robot
CN108195395A (en) Mobile terminal and its step-recording method, storage device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant