The content of the invention
It is an object of the present invention to provide a kind of more general new solution that can detect multi-motion.
According to the first aspect of the invention, there is provided a kind of equipment for detecting motor behavior, the equipment include gas
Pressure sensor unit, air pressure difference computational unit, comparing unit, movement counting unit;The baroceptor unit, for
Atmospheric pressure value is detected in real time with the athletic performance of user and sends the atmospheric pressure value to air pressure difference computational unit;The air pressure difference
Computing unit, it is absolute for calculating each atmospheric pressure value between the adjacent value of initial gas pressure twice and the difference of the initial gas pressure value
Value, obtains the maximum difference absolute value between the adjacent value of initial gas pressure twice and is sent to comparing unit;The comparing unit,
For the maximum difference absolute value and difference threshold, if the maximum difference absolute value >=difference threshold,
Notify that the movement counting unit is counted;The movement counting unit, for receiving the counting of the comparing unit
Times of exercise is added one after notice.
Preferably, the equipment is wearable device.
Preferably, the equipment further includes display screen for showing motion conditions and/or for reporting motion conditions
Loudspeaker.
Preferably, the equipment further includes move distance computing unit;The baroceptor unit is additionally operable to send institute
Atmospheric pressure value is stated to the move distance computing unit;The move distance computing unit is used for after measurement according to movement class
Type and each atmospheric pressure value calculate the total distance of movement.
Preferably, the equipment further includes move distance computing unit;The baroceptor unit is additionally operable to measuring
After send the times of exercise to the move distance computing unit;The move distance computing unit is used for according to movement
Type and the times of exercise calculate the total distance of movement.
Preferably, the equipment further includes calorie calculation unit;The move distance computing unit is additionally operable to send institute
The total distance of movement is stated to the calorie calculation unit;The calorie calculation unit is used for according to the user's weight, fortune
Dynamic type and the total distance of movement calculate the calorie of motion process consumption.
Preferably, the equipment further includes storage unit, for storing the difference threshold, initial gas pressure value, movement class
Type and user's weight.
Preferably, the baroceptor unit is additionally operable to the detection before counting starts and obtains initial gas pressure value.
Preferably, the equipment further includes difference threshold computing unit;The baroceptor unit is additionally operable to counting
The atmospheric pressure value is sent before starting to the difference threshold computing unit;The difference threshold computing unit, for being opened in counting
Calculated before beginning and obtain N number of maximum difference absolute value, calculate the average value of N number of maximum difference absolute value as institute
Difference threshold is stated, wherein 2≤N≤10.
According to the second aspect of the invention, there is provided a kind of method for detecting motor behavior, comprises the following steps:With
Atmospheric pressure value is detected in real time with the athletic performance of user;Calculate each atmospheric pressure value between the adjacent value of initial gas pressure twice with it is described
The absolute difference of initial gas pressure value, obtains the maximum difference absolute value between the adjacent value of initial gas pressure twice;Compare described
Maximum difference absolute value and difference threshold, if the maximum difference absolute value >=difference threshold, judge to complete once
Movement.
It was found by the inventors of the present invention that in the prior art, also the new of multi-motion can be detected without more common
Technical solution.Therefore, the technical assignment or the technical problem to be solved is that those skilled in the art that the present invention to be realized
Never it is expecting or it is not expected that, therefore the present invention is a kind of new technical solution.
By referring to the drawings to the present invention exemplary embodiment detailed description, further feature of the invention and its
Advantage will be made apparent from.
Embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition have
Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The scope of invention.
The description only actually at least one exemplary embodiment is illustrative to be never used as to the present invention below
And its application or any restrictions that use.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without
It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
The block diagram of the first embodiment of equipment of the present invention for detecting motor behavior, the equipment bag are shown with reference to figure 1
Include baroceptor unit 1, air pressure difference computational unit 2, comparing unit 3, movement counting unit 4, difference threshold computing unit
5th, storage unit 6, move distance computing unit 7, calorie calculation unit 8, display screen 9, loudspeaker 10.
Baroceptor unit 1, the athletic performance for following user detect atmospheric pressure value and concurrently send atmospheric pressure value to gas in real time
Pressure difference computing unit 2, and for sending times of exercise after measurement to move distance computing unit 7.
Air pressure difference computational unit 2, for calculate each atmospheric pressure value between the adjacent value of initial gas pressure twice with it is initial
The absolute difference of atmospheric pressure value, obtains the maximum difference absolute value between the adjacent value of initial gas pressure twice and is sent to comparison list
Member 3;
Comparing unit 3, for comparing maximum difference absolute value and difference threshold, if maximum difference absolute value >=difference threshold
Value, then notify that movement counting unit 4 is counted;
Counting unit 4 is moved, for times of exercise to be added one after the counting notification of comparing unit 3 is received.
Wherein, display screen 9 is used to show motion conditions, and loudspeaker 10 is used to report motion conditions, is encouraged with sending prompting
User.Storage unit 6 is used for the data such as saved differences threshold value, initial gas pressure value, type of sports, user's weight for other units
It is called.The equipment is preferably wearable device, such as intelligent watch or wrist strap etc..
The present invention carries out motion detection using the equipment for being built-in with baroceptor, secures the equipment in user and causes
Equipment can follow the athletic performance of user and move, and start the atmospheric pressure value during sensor acquisition user movement, periodically
Movement such as push-up, sit-ups, deep-knee-bend, chin-up can all be changed using family in the relative position of vertical direction,
The atmospheric pressure value that sensor measures is in cyclically-varying during the motion, and use can be detected by detecting this cyclically-varying
The movement at family.
The atmospheric pressure value for moving the backswing before starting is initial gas pressure value, by taking sit-up movement as an example, when lying low
Posture is backswing, is secured the equipment in large arm, and atmospheric pressure value when measurement lies low first is as initial gas pressure value, air pressure transmission
Sensor often detects an initial gas pressure value, all represents and starts sit-ups action, after body sits up, the position of large arm
It can be raised compared to the position to lie low, therefore the atmospheric pressure value that baroceptor can be caused to detect reduces, and calculates next time initial
Each atmospheric pressure value and the absolute difference of initial gas pressure value before atmospheric pressure value appearance, it is absolute then therefrom to obtain maximum difference
Value, the maximum difference absolute value refer to the maximum in absolute difference;Compare maximum difference absolute value and difference threshold, such as
Fruit maximum difference absolute value >=difference threshold, then it is assumed that complete a sit-ups, notice moves counting unit 4 by times of exercise
Add one.By taking push-up as an example, posture when propping up is backswing, is secured the equipment in large arm, when measurement is propped up first
For atmospheric pressure value as initial gas pressure value, baroceptor often detects an initial gas pressure value, all represents and starts a prostrate racking
Make, when under body support, the position of large arm can be reduced compared to the position to lie low, therefore baroceptor can be caused to detect
Atmospheric pressure value raises, and calculates each atmospheric pressure value and the absolute difference of initial gas pressure value before initial gas pressure value occurs next time,
Maximum difference absolute value is taken compared with difference threshold, if maximum difference absolute value >=difference threshold, then it is assumed that complete one
Times of exercise is added one by secondary push-up, notice movement counting unit 4.
Due to different, different user height differences, and exercise habit during atual detection and frequency are not
Together, therefore difference threshold may need to be adjusted into Mobile state according to different users.Equipment can provide correction mode and be used for school
Positive initial gas pressure value and difference threshold.Under correction mode, initial gas pressure value is measured first, then carries out n times movement;For
Movement every time, all calculates each atmospheric pressure value and the difference of initial gas pressure value in this time movement, calculates the maximum difference of N number of movement
The average value of absolute value is as difference threshold.Wherein preferred 2≤N≤10.
Existing baroceptor unit 1 carries out motion detection in the equipment utilization equipment of the present invention, needs not move through complexity
Algorithm can record the number of movement.The baroceptor unit 1 is additionally operable to send the movement time after measurement
Number to the move distance computing unit 7, the move distance computing unit 7 is used for according to type of sports and the times of exercise
Calculate the total distance of movement.The calorie calculation unit 8 can also further according to the user's weight, type of sports, with
And the total distance of movement calculates the calorie of motion process consumption.
The circuit block diagram that the present invention is used to detect the second embodiment of the equipment of motor behavior, and the are shown with reference to figure 2
The difference of one embodiment is that baroceptor unit 1 sends the atmospheric pressure value to move distance computing unit 7, movement
Metrics calculation unit 7 calculates the total distance of movement after measurement according to type of sports and each atmospheric pressure value.
The calculation of first embodiment only calculates the move distance for the action for reaching difference threshold, have ignored part not
The move distance that action in place produces, therefore result of calculation does not have that second embodiment is accurate, but the algorithm meeting of first embodiment
To be simple, it is only necessary to calculate distance × number of single motion.
The invention also discloses a kind of method for detecting motor behavior, comprise the following steps:
1) athletic performance of user is followed to detect atmospheric pressure value in real time;
2) each atmospheric pressure value between the adjacent value of initial gas pressure twice of calculating and the difference of the initial gas pressure value are absolute
Value, obtains the maximum difference absolute value between the adjacent value of initial gas pressure twice;
3) the maximum difference absolute value and difference threshold, if the maximum difference absolute value >=difference threshold
Value, then judge to complete once to move.
Illustrate the process of present invention detection motor behavior below according to attached drawing 3, comprise the following steps:
The equipment for being built-in with baroceptor, which is fixed on user, enables the device to follow the movement of user to move
Make and move;
Detect whether setting desired movement number;Prompt to need to set times of exercise if times of exercise is not set,
Otherwise carry out in next step;
Detect whether to be set initial gas pressure value, acquisition initial gas pressure is detected if initial gas pressure value is not set
Value, otherwise carries out in next step;
Detect whether to be set difference threshold, if being set difference threshold begins to motion detection, if do not had
Set difference threshold and then enter correction mode progress difference threshold setting procedure;The difference threshold setting procedure includes:Carry out N
Secondary movement;For movement every time, each atmospheric pressure value and the difference of initial gas pressure value in this time movement are all calculated, calculates n times fortune
The average value of dynamic maximum difference absolute value is as difference threshold, wherein it is preferred that 2≤N≤10.
Setting in motion detects:Gather the data of sensor, detection maximum difference absolute value whether >=difference threshold, such as
The fruit maximum difference absolute value >=difference threshold, times of exercise add one, come back for motion detection next time, until movement time
Number reaches target times of exercise.
It will be appreciated by those skilled in the art that the unit of the present invention can be realized by various modes, including it is soft
The mode of part program or the mode of hardware circuit, when being realized in a manner of hardware circuit, unit can be respectively with only
Vertical hardware circuit is implemented or incorporated in a hardware circuit and realizes.
The present invention can be system, method and/or computer program product.Computer program product can include computer
Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
That the invention has been described is each for block diagram and flow chart referring herein to apparatus and method according to embodiments of the present invention
Aspect.It should be appreciated that the combination of the square frame and each square frame of block diagram and flow chart, can be real by computer-readable program instructions
It is existing.
Flow chart and block diagram in attached drawing show system, method and the computer journey of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation
One module of table, program segment or a part for instruction, the module, program segment or a part for instruction include one or more use
In the executable instruction of logic function as defined in realization.At some as the function of in the realization replaced, being marked in square frame
Can be with different from the order marked in attached drawing generation.For example, two continuous square frames can essentially be held substantially in parallel
OK, they can also be performed in the opposite order sometimes, this is depending on involved function.It is also noted that block diagram and/or
The combination of each square frame and block diagram in flow chart and/or the square frame in flow chart, can use function or dynamic as defined in performing
The dedicated hardware based system made is realized, or can be realized with the combination of specialized hardware and computer instruction.It is right
It is well known that, realized for those skilled in the art by hardware mode, realized by software mode and by software and
It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, described above is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
Best explaining the principle of each embodiment, practical application or to the technological improvement in market, or make the art its
Its those of ordinary skill is understood that each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.