CN109758154A - A kind of motion state determines method, apparatus, equipment and storage medium - Google Patents
A kind of motion state determines method, apparatus, equipment and storage medium Download PDFInfo
- Publication number
- CN109758154A CN109758154A CN201910019662.6A CN201910019662A CN109758154A CN 109758154 A CN109758154 A CN 109758154A CN 201910019662 A CN201910019662 A CN 201910019662A CN 109758154 A CN109758154 A CN 109758154A
- Authority
- CN
- China
- Prior art keywords
- point
- motion
- motion profile
- data
- user
- 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
Links
Abstract
The invention discloses a kind of motion states to determine method, apparatus, equipment and storage medium.This method comprises: data and time series when acquiring user movement by six axle sensors;Motion profile is generated according to the data and time series;The motion state of the user is determined according to the motion profile, according to the technical solution of the present invention, can be suitable for carrying six axle sensors, and be can reduce power consumption, reduces cost and reduced occupancy calculation resources.
Description
Technical field
Method, apparatus, equipment are determined the present embodiments relate to computer technology more particularly to a kind of motion state and are deposited
Storage media.
Background technique
As concern of the people to health is increasing, the enthusiasm for participating in movement is also unprecedented surging, and athletic group constantly increases
Greatly.It swims as the second largest movement except running, while being also the second largest type of sports for reducing the death rate, be only second to ball
Movement.But swimmer needs manual count mostly, or is recorded using equipment, but currently used for swimming state and reference record
Device and method, mainly use the wearable device equipped with GPS and nine axle sensors, such as Apple Watch and
Garmin wrist-watch, price are all thousand yuan or more, and the cost is relatively high, and wherein GPS module power consumption is relatively high, and more difficult indoors
Positioning, even if determining in place, positioning accuracy is also poor;Most of wearable devices currently on the market are all that (acceleration passes three axis
Sensor) or six axle sensors, seldom equipped with nine axle sensors.
Wearable device for swimming currently on the market, it is general to carry GPS and three axis or six axle sensors, it is furnished with nine axis
The price of the wearable device of sensor or GPS and nine axle sensors only carries three axis or six axis biography all at thousand yuan or more
The occupation rate of market of the low and middle-end equipment of sensor is 70% or so.In addition, GPS module is in addition to cost and required radio frequency day
Outside higher cost caused by cable architecture, module power consumption itself is also higher, and itself can only record trail change when swimming and
Note circle also at least needs to reload a three axis accelerometer or three-axis gyroscope when analyzing to the swimming such as number that strike waters
Or six axle sensor.Determine in place in addition, GPS is more difficult indoors, and the precision positioned is poor.It arranges in pairs or groups the equipment of nine axle sensors,
Walking direction is carried out using magnetometer, and then carries out the analyses such as note circle, magnetometer causes to lose vulnerable to the interference of environmental magnetic field again
Effect, the calculating about the parameters such as number and stroke of striking waters, which is still, carries out characteristic statistics or nine number of axle based on accelerometer
It is analyzed according to the data that fusion obtains.It only uses three axis accelerometer and carries out swimming analysis, the identification for touch turn
It is easier to be disturbed more difficult identification.
Summary of the invention
The embodiment of the present invention provides a kind of motion state and determines method, apparatus, equipment and storage medium, is suitable for realizing
Six axle sensors are carried, and can reduce power consumption, reduce cost and reduce occupancy calculation resources.
In a first aspect, the embodiment of the invention provides a kind of motion states to determine method, comprising:
Data and time series when by six axle sensors acquisition user movement;
Motion profile is generated according to the data and time series;
The motion state of the user is determined according to the motion profile.
Further, the motion state for determining the user according to the motion profile includes:
Dimension-reduction treatment is carried out to the motion profile, obtains motion in one dimension track;
Peak detection is carried out to the motion in one dimension track, obtains peak value and valley;
Motion state matching is carried out according to the peak value and valley;
The motion state of the user is determined according to matching result, wherein the motion state includes swimming state.
Further, it to the one-dimensional track into peak detection, obtains peak value and valley includes:
Obtain the difference of the position of the tracing point in the motion in one dimension track;
If the difference of the position of target trajectory point tracing point adjacent thereto is greater than preset difference value, target trajectory point is obtained
The vector of tracing point before, wherein the vector includes the corresponding numerical value in direction and position;
If the direction of the tracing point before target trajectory point is positive direction, by the smallest rail of numerical value before target trajectory point
Mark point is determined as trough, and the maximum tracing point of numerical value after target trajectory point is determined as wave crest;
If the direction of the tracing point before target trajectory point is negative direction, by the maximum rail of numerical value before target trajectory point
Mark point is determined as wave crest, and the smallest tracing point of numerical value after target trajectory point is determined as trough;
Corresponding peak value and valley are obtained according to the wave crest and trough.
Further, the motion state for determining the user according to the motion profile includes:
The position of wave crest point and/or trough point is determined according to the motion profile;
The data intercepted in the motion profile medium wave peak dot and/or trough point front and back preset duration carry out template matching;
The motion state of the user is determined according to matching result.
Further, the position for determining wave crest point and/or trough point according to the motion profile includes:
Dimension-reduction treatment is carried out to the motion profile, obtains motion in one dimension track;
Wave crest point and/or trough point corresponding time point are determined according to the motion in one dimension track;
The position of wave crest point and/or trough point is determined according to the time point and motion profile.
Further, the motion state for determining the user according to the motion profile includes:
Characteristic is stored in advance;
The motion profile and characteristic are subjected to characteristic matching;
The motion state of the user is determined according to matching result.
Further, before the motion state that the user is determined according to the motion profile, further includes:
Obtain the difference of the position of tracing point in difference and/or the motion profile between the data;
Correspondingly, the motion state for determining the user according to the motion profile includes:
If the difference that the difference between the data is greater than the position of tracing point in first threshold and/or the motion profile is big
In second threshold, then the motion state of the user is determined according to the motion profile.
Further, further includes:
According to the track between motion profile acquisition target action, target action point, target action point;
By between the target action, target action point, target action point track and pre-stored normal data into
Row matching, determines whether according to matching result for malfunction.
Second aspect, the embodiment of the invention also provides a kind of motion state determining device, which includes:
Acquisition module, data and time series when for by six axle sensors acquisition user movement;
Generation module, for generating motion profile according to the data and time series;
Determining module, for determining the motion state of the user according to the motion profile.
The third aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor are realized when executing described program as the present invention is real
It applies any motion state in example and determines method.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes that the motion state as described in any in the embodiment of the present invention determines method when the program is executed by processor.
Data and time series when the embodiment of the present invention is by six axle sensors acquisition user movement;According to the data
Motion profile is generated with time series;The motion state of the user is determined according to the motion profile, can be suitable for carrying
Six axle sensors, and can reduce power consumption, reduce cost and reduce occupancy calculation resources.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Figure 1A is the flow chart that one of the embodiment of the present invention one motion state determines method;
Figure 1B is the system block diagram in the embodiment of the present invention one;
Fig. 2A is the flow chart that one of the embodiment of the present invention two motion state determines method;
The three-dimensional track figure of arm stroke when Fig. 2 B is user's progress breaststroke in the embodiment of the present invention two;
Fig. 2 C is the peak valley detection schematic diagram in the embodiment of the present invention two;
Fig. 2 D is the system block diagram in the embodiment of the present invention two;
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three motion state determining device;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four computer equipment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Embodiment one
Figure 1A is the flow chart that a kind of motion state that the embodiment of the present invention one provides determines method, and the present embodiment is applicable
In the situation that motion state determines, this method can be executed by the motion state determining device in the embodiment of the present invention, the dress
Setting can be used the mode of software and/or hardware and realizes that as shown in Figure 1A, this method specifically comprises the following steps:
S110, data and time series when by six axle sensors acquisition user movement.
Wherein, six axle sensor is made of three axis accelerometer and three-axis gyroscope.The six axle sensors setting
Inside wearable device, wearable device contains at least one MCU and six axle sensor, and six axle sensor can be with
It is the package module of three axis accelerometer and three-axis gyroscope.Preferably, the wearable device wearing position is the hand of user
At wrist.By six axle sensors export initial data calibrated to obtain calibration parameter, it is preferable that only before product export and/or
Calibration parameter is calibrated primary after being removed.
Wherein, the data can be six number of axle evidences.
Specifically, the data and its time series, six axis during acquiring user movement by six axle sensors pass
The data of sensor include but is not limited to 3-axis acceleration value, three-axis gyroscope numerical value, and six axle sensor can be according to certain
Frequency carry out data acquisition, data acquiring frequency may be configured as 10-100Hz, it is preferable that data acquiring frequency is set as
50Hz。
Optionally, by six axle sensors acquire user movement when data and time series after, can also will adopt
Six number of axle evidence and its time series collected carries out data conversion and Data correction, the data conversion include but is not limited to data
Conversion of measurement unit, the calibration parameter that the Data correction is used to obtain using sensor calibration module is to six number of axle evidence and at that time
Sequence sequence is calibrated, including but not limited to the correction of coordinate system transformation, data filtering and/or data.
S120 generates motion profile according to data and time series.
Specifically, collected six number of axle evidence and time series to be generated to the fortune at human body and institute's wearable sensors position position
Dynamic rail mark, the motion profile include but is not limited to three-dimensional space track, two-dimensional space track.
Optionally, the motion profile can also be transferred to terminal device, the terminal device includes but is not limited to intelligence
It can mobile phone, tablet computer.The data transmission can pass through the wireless way for transmitting such as bluetooth and/or wifi, the embodiment of the present invention pair
This is not limited.
S130 determines the motion state of user according to motion profile.
Wherein, the motion state includes swimming state, stroke type, number of striking waters, time when striking waters twice in succession
It is spaced, turns round the moment, turns round number, in conjunction with swimming pool length and the swimming rate and each advance of striking waters that mobile duration obtains of swimming
Distance and swimming at least one of efficiency.
Specifically, determining that the mode of the motion state of user can be by motion profile through signal processing according to motion profile
Analysis obtains swimming relevant parameter, carries out the one-dimensional data that dimension-reduction treatment obtains, the dimension-reduction treatment packet to the motion profile
It includes but is not limited to, directly choose the track (choosing x-axis and/or y-axis track) in one and/or two reference axis, PCA processing, believe
Number synthesis processing etc., it is preferable that 3 D motion trace is handled through PCA, first principal component PC1 is chosen and carries out signal and analyze to obtain
Swimming relevant parameter, the signal analysis include but is not limited to trend analysis, peak valley detection and/or data screening.The swimming
Relevant parameter, including but not limited to stroke, number of striking waters (number of striking), time interval when striking waters twice in succession, when turning round
Carve, turn round number, in conjunction with swimming pool length and swim swimming rate that mobile duration obtains and every time strike waters advance distance and/or
Swimming efficiency, the swimming efficiency includes but is not limited to swolf value.The swimming pool length can be manually entered or be passed through by user
Height, weight and previous swimming data etc. are estimated.
It should be noted that swimming analysis is carried out using multiple three axis accelerometers in the prior art, one of sensing
Device is placed on chest or back, is mainly used for judgement and turns round, and a sensor is worn in wrist, be mainly used to judge stroke with
Number of striking due to using multiple sensors increases the complexity of alignment of data difficulty and system.The embodiment of the present invention proposes
A kind of lower cost, low-power consumption occupy that calculation resources are few, only use six axle sensors (three axis accelerometer+three-axis gyroscope)
Wearable device swimming analysis method, most of purchase low and middle-end wrist-watch/bracelet users can be serviced.
Optionally, the motion state for determining the user according to the motion profile includes:
The position of wave crest point and/or trough point is determined according to the motion profile;
The data intercepted in the motion profile medium wave peak dot and/or trough point front and back preset duration carry out template matching;
The motion state of the user is determined according to matching result.
Wherein, the length of data cutout can be fixed value, rule of thumb gained, such as can be, and can choose three number of axle
According to interception extreme length be final lengths.It is also possible to be determined according to signal characteristic, the signal characteristic includes but not
It is limited to adjacent peaks or trough.It is not limited by the embodiments of the present invention.
Wherein, template matching method includes but is not limited to the similarity calculation of overall similarity calculating, curvature.
Optionally, the data of interception can also be inputted disaggregated model to classify, the disaggregated model, including but unlimited
In decision tree, SVM.Type of swimming includes but is not limited to breaststroke, freestyle swimming, butterfly stroke, backstroke.
Specifically, the wave crest point/trough point position that can be determined according to the swimming parameter, intercepts in 3 D motion trace
Wave crest point/trough point before and after data in one section of duration carry out stencil matching or classification.
Optionally, the position for determining wave crest point and/or trough point according to the motion profile includes:
Dimension-reduction treatment is carried out to the motion profile, obtains motion in one dimension track;
Wave crest point and/or trough point corresponding time point are determined according to the motion in one dimension track;
The position of wave crest point and/or trough point is determined according to the time point and motion profile.
Specifically, therefore, it is necessary to first obtain motion profile progress dimensionality reduction since motion profile is two dimension or three-dimensional data
To motion in one dimension track, wave crest point and/or trough point corresponding time point are determined by motion in one dimension track (namely greatly
It is worth perhaps minimum) wave crest point and/or trough point corresponding time point are then mapped to three-dimensional or two dimensional motion track,
The data between wave crest and trough can be only intercepted, the number between the data and wave crest and trough of wave crest the last period can also be intercepted
According to can also intercept the data between latter section of trough of data and wave crest and trough, carry out mould to the data of interception again later
Plate matching or classification.
Optionally, the motion state for determining the user according to the motion profile includes:
Characteristic is stored in advance;
The motion profile and characteristic are subjected to characteristic matching;
The motion state of the user is determined according to matching result.
Wherein, the characteristic includes but is not limited to the time interval etc. between movement locus, continuous action, wherein institute
State characteristic be an arm cycle feature, the characteristic be it is pre-stored, can also by follow-up data to its into
Row constantly amendment.
Specifically, stroke differentiation can be carried out according to the characteristic that track data generates.
Optionally, before the motion state that the user is determined according to the motion profile, further includes:
Obtain the difference of the position of tracing point in difference and/or the motion profile between the data;
Correspondingly, the motion state for determining the user according to the motion profile includes:
If the difference that the difference between the data is greater than the position of tracing point in first threshold and/or the motion profile is big
In second threshold, then the motion state of the user is determined according to the motion profile.
Specifically, combination of embodiment of the present invention bracelet or foot ring, are applied in other action recognitions, whether movement is increased
The judgement of beginning.As shown in Figure 1B, the wearable device includes: at least one MCU and six axle sensors, pick up calibration mould
Block is for calibrating six axle sensors, data acquisition module, for acquiring six number of axle evidences and timing by six axle sensors
Sequence, data processing module, for carrying out data processing to collected six number of axle evidence and time series, track generation module is raw
It determines whether movement has begun at motion profile, and according to the magnitude relation between initial data or track point data, works as width
When value is greater than given threshold value, show that movement starts.Data transmission module determines movement for sending data to terminal device
Action recognition module is executed after beginning, saves computing resource;Swimming analysis module, for being divided according to the track of generation into swimming
Analysis, such as can be, and whether the movement for analyzing swimming accurate, if for malfunction etc., the embodiment of the present invention to this without
Limitation, swimming analysis module analyze the data that will swim after terminating and export swimming data by swimming data outputting module.
Optionally, further includes:
According to the track between motion profile acquisition target action, target action point, target action point;
By between the target action, target action point, target action point track and pre-stored normal data into
Row matching, determines whether according to matching result for malfunction.
Specifically, obtaining the process between the target action and target action point, target action point in an arm stroke
(i.e. by previous target action point to the track state the latter target action point) analysis, strikes twice in succession or repeatedly
Relevance and stability between movement.
Optionally, the stroke and swimming data that swimming analysis obtains can also be exported and/or is shown in wearable device sheet
On the terminal devices such as body or mobile phone.When the wearable device is equipped with display module, it may not need the equipment such as connection mobile phone, it is directly logical
It crosses display module and checks swimming data result in real time.When the wearable device is not equipped with display module, can by bluetooth or
Data are exported or are shown on the terminal device by the wireless communication modes such as wifi.
The technical solution of the present embodiment, data and time series when by six axle sensors acquisition user movement;According to
The data and time series generate motion profile;The motion state of the user, Neng Goushi are determined according to the motion profile
For carrying six axle sensors, and it can reduce power consumption, reduce cost and reduce occupancy calculation resources.
Embodiment two
Fig. 2A is the flow chart that one of the embodiment of the present invention two motion state determines method, and the present embodiment is with above-mentioned reality
It applies and optimizes based on example, in the present embodiment, determine that the motion state of the user includes: pair according to the motion profile
The motion profile carries out dimension-reduction treatment, obtains motion in one dimension track;Peak detection is carried out to the motion in one dimension track, is obtained
Peak value and valley;Motion state matching is carried out according to the peak value and valley;The movement of the user is determined according to matching result
State, wherein the motion state includes swimming state.
As shown in Figure 2 A, the method for the present embodiment specifically comprises the following steps:
S210, data and time series when by six axle sensors acquisition user movement.
S220 generates motion profile according to data and time series.
Wherein, the motion profile is two dimensional motion track or 3 D motion trace, such as be can be, as shown in Figure 2 B
User carry out breaststroke when arm stroke three-dimensional track.
S230 carries out dimension-reduction treatment to motion profile, obtains motion in one dimension track.
S240 carries out peak detection to motion in one dimension track, obtains peak value and valley.
Specifically, to motion in one dimension track carry out peak detection mode can according to signal amplitude choose peak value and
Valley, or motion in one dimension track is analyzed in advance, chooses peak value and valley, the embodiment of the present invention after analysis again
This is not limited.
Optionally, it to the one-dimensional track into peak detection, obtains peak value and valley includes:
Obtain the difference of the position of the tracing point in the motion in one dimension track;
If the difference of the position of target trajectory point tracing point adjacent thereto is greater than preset difference value, target trajectory point is obtained
The vector of tracing point before, wherein the vector includes the corresponding numerical value in direction and position;
If the direction of the tracing point before target trajectory point is positive direction, by the smallest rail of numerical value before target trajectory point
Mark point is determined as trough, and the maximum tracing point of numerical value after target trajectory point is determined as wave crest;
If the direction of the tracing point before target trajectory point is negative direction, by the maximum rail of numerical value before target trajectory point
Mark point is determined as wave crest, and the smallest tracing point of numerical value after target trajectory point is determined as trough;
Corresponding peak value and valley are obtained according to the wave crest and trough.
In a specific example, as shown in Figure 2 C, trend analysis is first carried out, judges that current demand signal is in top still
Lower section can specifically be averaged to judge it generally in top by the data segment of the front or rear certain length of current data
Or lower section.Top is denoted as and once turns round to the conversion of lower section and/or the conversion of lower section to top.The length of the data intercept
Between 0.1~2 times of sample rate, it is preferable that length chooses 0.6 sampling rate sampled point, both can guarantee that real-time can also
Guarantee accuracy.Detection peak value and/or valley specifically when signal is in top, predominantly detect valley, signal is below
When, predominantly detect peak value.The validity that the result of peak detection carries out the validation of peak value and/or valley and turns round is sentenced
It is disconnected, the validation, including but not limited to threshold decision, for removing the anomaly peak and/or valley of the condition that is unsatisfactory for.
The anomaly peak and/or valley include but is not limited to amplitude over range, the Effective judgement turned round, including but not limited to
The adjacent time interval turned round twice, the number and/or between last time is struck waters and turned round before turning round of striking waters for turning round front and back
The time domains such as time interval limitation, for more accurately being turned round the moment and/or turning round number.
Preferably, the obvious signal of trend is used to carry out trend analysis, and the biggish signal of amplitude is used to carry out peak value inspection
It surveys.The handled signal of the trend analysis, peak valley detection can be the same signal (such as x-axis trajectory signal), be also possible to
Two signals are handled respectively, specifically, trend analysis is carried out using y-axis trajectory signal, carries out peak value using x-axis trajectory signal
Detection.
S250 carries out motion state matching according to peak value and valley.
Wherein, carrying out the matched mode of motion state according to peak value and valley can be to be moved according to peak value and valley
Make cycle match, such as can be, chooses a peak value and the valley adjacent with peak value, calculate separately signal amplitude difference and time
Difference calculates the similarity of time upper adjacent movement according to amplitude difference and time difference.
Specifically, determining number of striking according to peak value and valley, when striking, number reaches preset times, it is determined that user's
Motion state is swimming state.
S260 determines the motion state of user according to matching result, wherein motion state includes swimming state.
In a specific example, as shown in Figure 2 D, the wearable device includes: that at least one MCU and six axis pass
Sensor, sensor calibration module is for calibrating six axle sensors, data acquisition module, for being adopted by six axle sensors
Collect six number of axle evidences and time series, data processing module, for carrying out at data to collected six number of axle evidence and time series
Reason, track generation module generates motion profile, and determines movement according to the magnitude relation between initial data or track point data
Whether have begun, when amplitude is greater than given threshold value, shows that movement starts.Data transmission module, for sending data to
Terminal device determines and executes action recognition module after movement starts, saves computing resource;The action recognition module will be at data
Obtained six number of axle of reason module according to and its motion profile that generates of time series and/or track generation module by peak detection and
The analyses such as stencil matching processing, identifies the movement of movement, counts the number of execution, and carried out to completed movement
It is assessed at degree.The completeness assessment, for including but is not limited to provide each movement according to assessment Rules expanding completeness
Overall scores, the reason of providing different links the deducted score of each movement.The assessment rule includes but is not limited to basis
The matching degree of motion profile and/or speed calculates execution institute score value.Track can also be handled, removal is because of a body
Influence of the high factor to track the treating method comprises but be not limited to calculate the curvature at the every bit of track, obtain curvature
Matching degree be used to measure the completeness of track.The including but not limited to Russian swivel of the movement, breaststroke slide arm, whole body relax
The body-building movements such as exhibition, bow step exhibition body, folding jump.
The technical solution of the present embodiment, data and time series when by six axle sensors acquisition user movement;According to
The data and time series generate motion profile;The motion state of the user, Neng Goushi are determined according to the motion profile
For carrying six axle sensors, and it can reduce power consumption, reduce cost and reduce occupancy calculation resources.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for motion state determining device that the embodiment of the present invention three provides.The present embodiment can
Suitable for the situation that motion state determines, the mode which can be used software and/or hardware realizes that the device can integrate in office
What is provided in the equipment for the function that motion state determines, as shown in figure 3, the motion state determining device specifically includes: acquisition
Module 310, generation module 320 and determining module 330.
Wherein, acquisition module 310, data and time series when for by six axle sensors acquisition user movement;
Generation module 320, for generating motion profile according to the data and time series;
Determining module 330, for determining the motion state of the user according to the motion profile.
Method provided by any embodiment of the invention can be performed in the said goods, has the corresponding functional module of execution method
And beneficial effect.
The technical solution of the present embodiment, data and time series when by six axle sensors acquisition user movement;According to
The data and time series generate motion profile;The motion state of the user, Neng Goushi are determined according to the motion profile
For carrying six axle sensors, and it can reduce power consumption, reduce cost and reduce occupancy calculation resources.
Example IV
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four computer equipment.Fig. 4, which is shown, to be suitable for being used in fact
The block diagram of the exemplary computer device 12 of existing embodiment of the present invention.The computer equipment 12 that Fig. 4 is shown is only one and shows
Example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 4, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").It although not shown in fig 4, can be with
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform of the invention each
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould
Block 42 usually executes function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.In addition, the calculating in the present embodiment
Machine equipment 12, display 24 exist not as independent individual, but are embedded in mirror surface, not aobvious in the display surface of display 24
When showing, the display surface of display 24 visually combines together with mirror surface.Also, computer equipment 12 can also be suitable by network
Orchestration 20 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet)
Communication.As shown, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.It should be understood that the greatest extent
Pipe is not shown in the figure, and other hardware and/or software module can be used in conjunction with computer equipment 12, including but not limited to: micro- generation
Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited
Storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize that motion state provided by the embodiment of the present invention determines method: user is acquired by six axle sensors
Data and time series when movement;Motion profile is generated according to the data and time series;It is true according to the motion profile
The motion state of the fixed user.
Embodiment five
The embodiment of the present invention five provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
It realizes that the motion state provided such as all inventive embodiments of the application determines method when sequence is executed by processor: being sensed by six axis
Data and time series when device acquisition user movement;Motion profile is generated according to the data and time series;According to described
Motion profile determines the motion state of the user.
It can be using any combination of one or more computer-readable media.Computer-readable medium can be calculating
Machine readable signal medium or computer readable storage medium.Computer readable storage medium for example can be --- but it is unlimited
In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates
The more specific example (non exhaustive list) of machine readable storage medium storing program for executing includes: electrical connection with one or more conducting wires, just
Taking formula computer disk, hard disk, random access memory (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In this document, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (11)
1. a kind of motion state determines method characterized by comprising
Data and time series when by six axle sensors acquisition user movement;
Motion profile is generated according to the data and time series;
The motion state of the user is determined according to the motion profile.
2. the method according to claim 1, wherein determining the movement shape of the user according to the motion profile
State includes:
Dimension-reduction treatment is carried out to the motion profile, obtains motion in one dimension track;
Peak detection is carried out to the motion in one dimension track, obtains peak value and valley;
Motion state matching is carried out according to the peak value and valley;
The motion state of the user is determined according to matching result, wherein the motion state includes swimming state.
3. according to the method described in claim 2, it is characterized in that, to the one-dimensional track into peak detection, obtain peak value and
Valley includes:
Obtain the difference of the position of the tracing point in the motion in one dimension track;
If the difference of the position of target trajectory point tracing point adjacent thereto is greater than preset difference value, before obtaining target trajectory point
Tracing point vector, wherein the vector includes the corresponding numerical value in direction and position;
If the direction of the tracing point before target trajectory point is positive direction, by the smallest tracing point of numerical value before target trajectory point
It is determined as trough, the maximum tracing point of numerical value after target trajectory point is determined as wave crest;
If the direction of the tracing point before target trajectory point is negative direction, by the maximum tracing point of numerical value before target trajectory point
It is determined as wave crest, the smallest tracing point of numerical value after target trajectory point is determined as trough;
Corresponding peak value and valley are obtained according to the wave crest and trough.
4. the method according to claim 1, wherein determining the movement shape of the user according to the motion profile
State includes:
The position of wave crest point and/or trough point is determined according to the motion profile;
The data intercepted in the motion profile medium wave peak dot and/or trough point front and back preset duration carry out template matching;
The motion state of the user is determined according to matching result.
5. according to the method described in claim 4, it is characterized in that, determining wave crest point and/or trough according to the motion profile
The position of point includes:
Dimension-reduction treatment is carried out to the motion profile, obtains motion in one dimension track;
Wave crest point and/or trough point corresponding time point are determined according to the motion in one dimension track;
The position of wave crest point and/or trough point is determined according to the time point and motion profile.
6. the method according to claim 1, wherein determining the movement shape of the user according to the motion profile
State includes:
Characteristic is stored in advance;
The motion profile and characteristic are subjected to characteristic matching;
The motion state of the user is determined according to matching result.
7. the method according to claim 1, wherein determining the movement shape of the user according to the motion profile
Before state, further includes:
Obtain the difference of the position of tracing point in difference and/or the motion profile between the data;
Correspondingly, the motion state for determining the user according to the motion profile includes:
If the difference that difference between the data is greater than the position of tracing point in first threshold and/or the motion profile is greater than the
Two threshold values then determine the motion state of the user according to the motion profile.
8. the method according to claim 1, wherein further include:
According to the track between motion profile acquisition target action, target action point, target action point;
By between the target action, target action point, target action point track and pre-stored normal data carry out
Match, is determined whether according to matching result for malfunction.
9. a kind of motion state determining device characterized by comprising
Acquisition module, data and time series when for by six axle sensors acquisition user movement;
Generation module, for generating motion profile according to the data and time series;
Determining module, for determining the motion state of the user according to the motion profile.
10. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor
Calculation machine program, which is characterized in that the processor realizes such as side described in any one of claims 1-8 when executing described program
Method.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Such as method described in any one of claims 1-8 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910019662.6A CN109758154B (en) | 2019-01-09 | 2019-01-09 | Motion state determination method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910019662.6A CN109758154B (en) | 2019-01-09 | 2019-01-09 | Motion state determination method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109758154A true CN109758154A (en) | 2019-05-17 |
CN109758154B CN109758154B (en) | 2022-02-25 |
Family
ID=66453613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910019662.6A Active CN109758154B (en) | 2019-01-09 | 2019-01-09 | Motion state determination method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109758154B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110236560A (en) * | 2019-06-06 | 2019-09-17 | 深圳市联邦佳维工业装备有限公司 | Six axis attitude detecting methods of intelligent wearable device, system |
CN110471999A (en) * | 2019-08-05 | 2019-11-19 | 北京百度网讯科技有限公司 | Trajectory processing method, apparatus, equipment and medium |
CN111444245A (en) * | 2020-04-22 | 2020-07-24 | 南京工业职业技术学院 | Human motion data comprehensive processing method and medium based on intelligent mobile terminal and data processing device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102667672A (en) * | 2009-07-07 | 2012-09-12 | 韩铮 | Acceleration motion identify method and system thereof |
JP2014042757A (en) * | 2012-08-28 | 2014-03-13 | Seiko Instruments Inc | Electronic equipment, method for determining swimming form, and swimming form determination program |
KR20150141213A (en) * | 2014-06-09 | 2015-12-18 | (주)앱스톤 | Motion counting measurement and display device |
CN106175781A (en) * | 2016-08-25 | 2016-12-07 | 歌尔股份有限公司 | Utilize method and the wearable device of wearable device monitoring swimming state |
CN106237604A (en) * | 2016-08-31 | 2016-12-21 | 歌尔股份有限公司 | Wearable device and the method utilizing its monitoring kinestate |
CN106491105A (en) * | 2016-11-02 | 2017-03-15 | 沈阳大学 | A kind of home for the aged's intelligent guarding system |
CN107049324A (en) * | 2016-11-23 | 2017-08-18 | 深圳大学 | The determination methods and device of a kind of limb motion posture |
-
2019
- 2019-01-09 CN CN201910019662.6A patent/CN109758154B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102667672A (en) * | 2009-07-07 | 2012-09-12 | 韩铮 | Acceleration motion identify method and system thereof |
JP2014042757A (en) * | 2012-08-28 | 2014-03-13 | Seiko Instruments Inc | Electronic equipment, method for determining swimming form, and swimming form determination program |
KR20150141213A (en) * | 2014-06-09 | 2015-12-18 | (주)앱스톤 | Motion counting measurement and display device |
CN106175781A (en) * | 2016-08-25 | 2016-12-07 | 歌尔股份有限公司 | Utilize method and the wearable device of wearable device monitoring swimming state |
CN106237604A (en) * | 2016-08-31 | 2016-12-21 | 歌尔股份有限公司 | Wearable device and the method utilizing its monitoring kinestate |
CN106491105A (en) * | 2016-11-02 | 2017-03-15 | 沈阳大学 | A kind of home for the aged's intelligent guarding system |
CN107049324A (en) * | 2016-11-23 | 2017-08-18 | 深圳大学 | The determination methods and device of a kind of limb motion posture |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110236560A (en) * | 2019-06-06 | 2019-09-17 | 深圳市联邦佳维工业装备有限公司 | Six axis attitude detecting methods of intelligent wearable device, system |
CN110471999A (en) * | 2019-08-05 | 2019-11-19 | 北京百度网讯科技有限公司 | Trajectory processing method, apparatus, equipment and medium |
CN110471999B (en) * | 2019-08-05 | 2022-03-18 | 北京百度网讯科技有限公司 | Trajectory processing method, apparatus, device and medium |
CN111444245A (en) * | 2020-04-22 | 2020-07-24 | 南京工业职业技术学院 | Human motion data comprehensive processing method and medium based on intelligent mobile terminal and data processing device |
CN111444245B (en) * | 2020-04-22 | 2023-05-02 | 南京工业职业技术学院 | Human motion data processing method, medium and device based on intelligent mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN109758154B (en) | 2022-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Zhang et al. | Egogesture: a new dataset and benchmark for egocentric hand gesture recognition | |
JP6745980B2 (en) | System and method for swimming analysis | |
Tabrizi et al. | Comparative study of table tennis forehand strokes classification using deep learning and SVM | |
CN110711374B (en) | Multi-modal dance action evaluation method | |
US7565295B1 (en) | Method and apparatus for translating hand gestures | |
Wang et al. | Hear sign language: A real-time end-to-end sign language recognition system | |
CN104780217B (en) | Detect method, system and the client of user job efficiency | |
CN104135911B (en) | Activity classification in multi-axial cord movement monitoring device | |
US20100023314A1 (en) | ASL Glove with 3-Axis Accelerometers | |
US20080036737A1 (en) | Arm Skeleton for Capturing Arm Position and Movement | |
CN109758154A (en) | A kind of motion state determines method, apparatus, equipment and storage medium | |
CN107678550A (en) | A kind of sign language gesture recognition system based on data glove | |
Jensen et al. | Classification of kinematic swimming data with emphasis on resource consumption | |
CN202662011U (en) | Physical education teaching auxiliary system based on motion identification technology | |
Pei et al. | An embedded 6-axis sensor based recognition for tennis stroke | |
Zinnen et al. | An analysis of sensor-oriented vs. model-based activity recognition | |
Hausberger et al. | IMU-based smart fitness devices for weight training | |
Xie et al. | Meta-activity recognition: A wearable approach for logic cognition-based activity sensing | |
Sha et al. | Accurate recognition of player identity and stroke performance in table tennis using a smart wristband | |
Xu et al. | A long term memory recognition framework on multi-complexity motion gestures | |
Anwar et al. | Feature extraction for indonesian sign language (SIBI) using leap motion controller | |
Pan et al. | OrsNet: A hybrid neural network for official sports referee signal recognition | |
Viana et al. | GymApp: A real time physical activity trainner on wearable devices | |
CN210078765U (en) | Motion capture recognition and evaluation device based on wearable sensor | |
CN114341947A (en) | System and method for exercise type recognition using wearable devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |