Method and system for judging motion type

文档序号:944516 发布日期:2020-10-30 浏览:21次 中文

阅读说明:本技术 一种运动类型的判断方法及系统 (Method and system for judging motion type ) 是由 徐卫华 于 2019-04-28 设计创作,主要内容包括:本发明公开了一种运动类型的判断方法及系统。所述判断方法,首先,获取用户在各个运动类型的速度历史数据、步幅历史数据和步频历史数据,建立运动类型与步频区间、步幅区间、速度区间的对应表;获取用户步数和运动时间;根据所述用户步数和所述运动时间获取步频、步幅和速度;最后,确定步频所在的步频区间、步幅所在的步幅区间和速度所在的速度区间;并根据步频所在的步频区间、步幅所在的步幅区间和速度所在的速度区间和所述对应表,确定用户的运动类型,实现了用户的运动类型的判断,使用户可以准确地知道自己跑步的情况,从而合理的进行跑步训练安排,更好的科学提升自己的跑步能力,进而避免不科学训练带来的运动损伤,提高身体的健康水平。(The invention discloses a method and a system for judging a motion type. The judging method comprises the steps of firstly, acquiring speed historical data, stride historical data and stride frequency historical data of a user in each motion type, and establishing a corresponding table of the motion type, a stride frequency interval, a stride interval and a speed interval; acquiring the step number and the exercise time of a user; acquiring step frequency, step width and speed according to the user step number and the exercise time; finally, determining a step frequency interval where the step frequency is located, a step interval where the step is located and a speed interval where the speed is located; and according to the step frequency interval where the step frequency is located, the step interval where the step is located, the speed interval where the speed is located and the corresponding table, the exercise type of the user is determined, the judgment of the exercise type of the user is realized, and the user can accurately know the running condition of the user, so that the running training arrangement is reasonably performed, the running ability of the user is better scientifically improved, the exercise damage caused by unscientific training is avoided, and the health level of the body is improved.)

1. A method for judging a type of exercise, the method comprising:

acquiring historical data of a user in each motion type, wherein the historical data comprises speed historical data, stride historical data and stride frequency historical data;

establishing a corresponding table of the motion type, the step frequency interval, the step interval and the speed interval according to the historical data; the sport type is walking, running, swimming, cycling, climbing or riding a vehicle;

Acquiring the step number and the exercise time of a user;

acquiring step frequency, step width and speed according to the user step number and the exercise time;

determining a step frequency interval in which the step frequency is positioned, a step interval in which the step is positioned and a speed interval in which the speed is positioned;

and determining the motion type of the user according to the step frequency interval in which the step frequency is positioned, the step interval in which the step is positioned, the speed interval in which the speed is positioned and the corresponding table.

2. The method for determining exercise type according to claim 1, wherein the obtaining the user step count and the exercise time specifically includes:

acquiring the step number of a user by adopting a mobile terminal pedometer;

and acquiring the motion time by adopting a GPS sensor of the mobile terminal.

3. The method for determining exercise type according to claim 1, wherein the obtaining the user step count and the exercise time specifically includes:

acquiring the number of steps of a user by using an open source step counting algorithm by using an acceleration sensor;

and acquiring the motion time by adopting a GPS sensor of the mobile terminal.

4. The method as claimed in claim 1, wherein the determining the exercise type of the user according to the stride frequency interval of the stride frequency, the stride interval of the stride, the speed interval of the speed and the correspondence table further comprises:

Acquiring the position of a user by adopting a GPS sensor of a mobile terminal; the user position comprises the longitude, the latitude and the altitude of the user;

acquiring a digital elevation model of the position of the user according to the position of the user;

and determining a secondary motion type of the user according to the position of the user and the digital elevation model, wherein the secondary motion type is indoor motion or outdoor motion.

5. The method as claimed in claim 1, wherein the determining the exercise type of the user according to the stride frequency interval of the stride frequency, the stride interval of the stride, the speed interval of the speed and the correspondence table further comprises:

and correcting the motion type according to a user instruction, and updating a step frequency interval, a step interval and a speed interval corresponding to the corrected motion type according to the step frequency, the step and the speed to obtain an updated corresponding table.

6. A system for determining a type of exercise, the system comprising:

the historical data acquisition module is used for acquiring historical data of the user in each motion type, wherein the historical data comprises speed historical data, stride historical data and step frequency historical data;

The corresponding table establishing module is used for establishing a corresponding table of the motion type and the step frequency interval, the step interval and the speed interval according to the historical data; the sport type is walking, running, swimming, cycling, climbing or riding a vehicle;

the user step number and exercise time acquisition module is used for acquiring the step number and exercise time of the user;

the step frequency, step length and speed calculation module is used for calculating the step frequency, the step length and the speed according to the step number of the user and the exercise time;

the interval determining module is used for determining a step frequency interval where the step frequency is located, a step interval where the step is located and a speed interval where the speed is located;

and the motion type determining module is used for determining the motion type of the user according to the step frequency interval where the step frequency is located, the stride interval where the stride is located, the speed interval where the speed is located and the corresponding table.

7. The system for determining exercise type according to claim 6, wherein the module for obtaining the number of steps and exercise time of the user specifically comprises:

the user step number obtaining submodule is used for obtaining the step number of the user by adopting a mobile terminal pedometer;

and the movement time acquisition submodule is used for acquiring movement time by adopting a GPS (global positioning system) sensor of the mobile terminal.

8. The system for determining exercise type according to claim 6, wherein the module for obtaining the number of steps and exercise time of the user specifically comprises:

the user step number obtaining submodule is used for obtaining the step number of the user by adopting an acceleration sensor and utilizing an open source step counting algorithm;

and the movement time acquisition submodule is used for acquiring movement time by adopting a GPS (global positioning system) sensor of the mobile terminal.

9. The system for determining a type of exercise according to claim 6, further comprising:

the user position acquisition module is used for acquiring the position of a user by adopting a GPS sensor of the mobile terminal; the user position comprises the longitude, the latitude and the altitude of the user;

the digital elevation model acquisition module is used for acquiring a digital elevation model of the position of the user according to the position of the user;

and the secondary motion type determining module is used for determining the secondary motion type of the user according to the position of the user and the digital elevation model, wherein the secondary motion type is indoor motion or outdoor motion.

10. The system for determining a type of exercise according to claim 6, further comprising:

And the motion type correction module is used for correcting the motion type according to a user instruction, and updating a step frequency interval, a step interval and a speed interval corresponding to the corrected motion type according to the step frequency, the step and the speed to obtain an updated corresponding table.

Technical Field

The invention relates to the field of exercise health management, in particular to a method and a system for judging exercise types.

Background

With the rapid development of economy and the rapid improvement of the income and the consumption capacity of residents, many people join the ranks of long-distance running and marathon for health, and thus various running software is developed. The current situation is that 90% of people really want to run but do not run, and many existing running software basically selects the running type by the user himself, and the system does not make intelligent judgment, only serves as the purpose of running recording tools, and greatly influences the effect of learning running or improving the running capacity of the user. How to realize the judgement of the type of running, make the user can accurately know the condition of oneself running to the reasonable training arrangement of running, better science promotes the ability of running of oneself, and then avoids the motion damage that unscientific training brought, improves the health level of health, becomes a technical problem who awaits a urgent need to solve.

Disclosure of Invention

The invention aims to provide a method and a system for judging exercise types, so that a user can accurately know the running condition of the user, running training arrangement is reasonably carried out, the running ability of the user is scientifically improved, exercise injuries caused by unscientific training are avoided, and the health level of the user is improved, thereby becoming a technical problem to be solved urgently.

In order to achieve the purpose, the invention provides the following scheme:

a judgment method of a motion type comprises the following steps:

acquiring historical data of a user in each motion type, wherein the historical data comprises speed historical data, stride historical data and stride frequency historical data;

establishing a corresponding table of the motion type, the step frequency interval, the step interval and the speed interval according to the historical data; the sport type is walking, running, swimming, cycling, climbing or riding a vehicle;

acquiring the step number and the exercise time of a user;

acquiring step frequency, step width and speed according to the step number of the user and the exercise time;

determining a step frequency interval in which the step frequency is positioned, a step interval in which the step is positioned and a speed interval in which the speed is positioned;

and determining the motion type of the user according to the step frequency interval in which the step frequency is positioned, the step interval in which the step is positioned, the speed interval in which the speed is positioned and the corresponding table.

Optionally, the obtaining the step number and the exercise time of the user specifically includes:

acquiring the step number of a user by adopting a mobile terminal pedometer;

and acquiring the motion time by adopting a GPS sensor of the mobile terminal.

Optionally, the obtaining the step number and the exercise time of the user specifically includes:

Acquiring the number of steps of a user by using an open source step counting algorithm by using an acceleration sensor;

and acquiring the motion time by adopting a GPS sensor of the mobile terminal.

Optionally, the determining the exercise type of the user according to the stride frequency interval where the stride frequency is located, the stride interval where the stride is located, the speed interval where the speed is located, and the correspondence table, further includes:

acquiring the position of a user by adopting a GPS sensor of a mobile terminal; the user position comprises the longitude, the latitude and the altitude of the user;

acquiring a digital elevation model of the position of the user according to the position of the user;

and determining a secondary motion type of the user according to the position of the user and the digital elevation model, wherein the secondary motion type is indoor motion or outdoor motion.

Optionally, the determining the exercise type of the user according to the stride frequency interval where the stride frequency is located, the stride interval where the stride is located, the speed interval where the speed is located, and the correspondence table, further includes:

and correcting the motion type according to a user instruction, and updating a step frequency interval, a step interval and a speed interval corresponding to the corrected motion type according to the step frequency, the step and the speed to obtain an updated corresponding table.

A system for determining a type of exercise, the system comprising:

the historical data acquisition module is used for acquiring historical data of the user in each motion type, wherein the historical data comprises speed historical data, stride historical data and step frequency historical data;

the corresponding table establishing module is used for establishing a corresponding table of the motion type and the step frequency interval, the step interval and the speed interval according to the historical data; the sport type is walking, running, swimming, cycling, climbing or riding a vehicle;

the user step number and exercise time acquisition module is used for acquiring the step number and exercise time of the user;

the step frequency, step length and speed calculation module is used for calculating the step frequency, the step length and the speed according to the step number of the user and the exercise time;

the interval determining module is used for determining a step frequency interval where the step frequency is located, a step interval where the step is located and a speed interval where the speed is located;

and the motion type determining module is used for determining the motion type of the user according to the step frequency interval where the step frequency is located, the stride interval where the stride is located, the speed interval where the speed is located and the corresponding table.

Optionally, the user step number and exercise time obtaining module specifically includes:

The user step number obtaining submodule is used for obtaining the step number of the user by adopting a mobile terminal pedometer;

and the movement time acquisition submodule is used for acquiring movement time by adopting a GPS (global positioning system) sensor of the mobile terminal.

Optionally, the user step number and exercise time obtaining module specifically includes:

the user step number obtaining submodule is used for obtaining the step number of the user by adopting an acceleration sensor and utilizing an open source step counting algorithm;

and the movement time acquisition submodule is used for acquiring movement time by adopting a GPS (global positioning system) sensor of the mobile terminal.

Optionally, the determining system further includes:

the user position acquisition module is used for acquiring the position of a user by adopting a GPS sensor of the mobile terminal; the user position comprises the longitude, the latitude and the altitude of the user;

the digital elevation model acquisition module is used for acquiring a digital elevation model of the position of the user according to the position of the user;

and the secondary motion type determining module is used for determining the secondary motion type of the user according to the position of the user and the digital elevation model, wherein the secondary motion type is indoor motion or outdoor motion.

Optionally, the determining system further includes:

and the motion type correction module is used for correcting the motion type according to a user instruction, and updating a step frequency interval, a step interval and a speed interval corresponding to the corrected motion type according to the step frequency, the step and the speed to obtain an updated corresponding table.

According to the specific embodiment provided by the invention, the invention discloses the following technical effects:

the invention discloses a method and a system for judging a motion type. The judging method comprises the steps of firstly, acquiring speed historical data, stride historical data and stride frequency historical data of a user in each motion type, and establishing a corresponding table of the motion type, a stride frequency interval, a stride interval and a speed interval; acquiring the step number and the exercise time of a user; acquiring step frequency, step width and speed according to the user step number and the exercise time; finally, determining a step frequency interval where the step frequency is located, a step interval where the step is located and a speed interval where the speed is located; and according to the step frequency interval where the step frequency is located, the step interval where the step is located, the speed interval where the speed is located and the corresponding table, the exercise type of the user is determined, the judgment of the exercise type of the user is realized, and the user can accurately know the running condition of the user, so that the running training arrangement is reasonably performed, the running ability of the user is better scientifically improved, the exercise damage caused by unscientific training is avoided, and the health level of the body is improved.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

FIG. 1 is a flow chart of a method for determining a type of exercise according to the present invention;

fig. 2 is a structural diagram of a motion type determination system provided by the present invention.

Detailed Description

The invention aims to provide a method and a system for judging exercise types, so that a user can accurately know the running condition of the user, running training arrangement is reasonably carried out, the running ability of the user is scientifically improved, exercise injuries caused by unscientific training are avoided, and the health level of the user is improved, thereby becoming a technical problem to be solved urgently.

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

As shown in fig. 1, the present invention provides a method for determining a type of exercise, the method comprising the steps of:

step 101, obtaining historical data of a user in each motion type, wherein the historical data comprises speed historical data, stride historical data and step frequency historical data.

102, establishing a corresponding table of the motion type, the step frequency interval, the step interval and the speed interval according to the historical data; the sport type is walking, running, swimming, cycling, climbing or riding a vehicle. Wherein riding the vehicle avoids the type of motion set by the user to increase the motion score by riding the vehicle instead of actual motion, such as walking, running, etc.

Step 103, acquiring the step number and the exercise time of the user; the method specifically comprises the following steps: acquiring the step number of a user by adopting a mobile terminal pedometer or acquiring the step number of the user by adopting an open source step counting algorithm by adopting an acceleration sensor; and acquiring the motion time by adopting a GPS sensor of the mobile terminal.

And 104, acquiring the step frequency, the step length and the speed according to the step number of the user and the exercise time.

Step 105, determining a stride frequency interval where the stride frequency is located, a stride interval where the stride is located and a speed interval where the speed is located.

And step 106, determining the exercise type of the user according to the step frequency interval where the step frequency is located, the step interval where the step is located, the speed interval where the speed is located and the corresponding table.

As a preferred embodiment, the step 106 determines the exercise type of the user according to the stride frequency interval where the stride frequency is located, the stride interval where the stride is located, the speed interval where the speed is located, and the correspondence table, and then further includes: acquiring the position of a user by adopting a GPS sensor of a mobile terminal; the user position comprises the longitude, the latitude and the altitude of the user; acquiring a digital elevation model of the position of the user according to the position of the user; and determining a secondary motion type of the user according to the position of the user and the digital elevation model, wherein the secondary motion type is indoor motion or outdoor motion.

As another preferred embodiment, the step 106 determines the exercise type of the user according to the stride frequency interval where the stride frequency is located, the stride interval where the stride is located, the speed interval where the speed is located, and the correspondence table, and then further includes: and correcting the motion type according to a user instruction, and updating a step frequency interval, a step interval and a speed interval corresponding to the corrected motion type according to the step frequency, the step and the speed to obtain an updated corresponding table.

As shown in fig. 2, the present invention further provides a system for determining a type of exercise, including:

a historical data obtaining module 201, configured to obtain historical data of the user in each exercise type, where the historical data includes speed historical data, stride historical data, and stride frequency historical data.

A correspondence table establishing module 202, configured to establish a correspondence table between the motion type and the stride frequency interval, the stride interval, and the speed interval according to the historical data; the sport type is walking, running, swimming, cycling, climbing or riding a vehicle.

A user step number and exercise time obtaining module 203, configured to obtain a user step number and exercise time; the user step number and exercise time obtaining module 203 specifically includes: the user step number obtaining submodule is used for obtaining the step number of the user by adopting a mobile terminal pedometer; and the movement time acquisition submodule is used for acquiring movement time by adopting a GPS (global positioning system) sensor of the mobile terminal. Or the user step number and exercise time obtaining module 202 specifically includes: the user step number obtaining submodule is used for obtaining the step number of the user by adopting an acceleration sensor and utilizing an open source step counting algorithm; and the movement time acquisition submodule is used for acquiring movement time by adopting a GPS (global positioning system) sensor of the mobile terminal.

A pace frequency, stride length, and speed calculation module 204 for calculating a pace frequency, stride length, and speed based on the user step count and the exercise time.

The interval determining module 205 is configured to determine a stride frequency interval where the stride frequency is located, a stride interval where the stride is located, and a speed interval where the speed is located.

And the exercise type determining module 206 is configured to determine the exercise type of the user according to the stride frequency interval where the stride frequency is located, the stride interval where the stride is located, the speed interval where the speed is located, and the correspondence table.

As a preferred embodiment, the judging system further includes: the user position acquisition module is used for acquiring the position of a user by adopting a GPS sensor of the mobile terminal; the user position comprises the longitude, the latitude and the altitude of the user; the digital elevation model acquisition module is used for acquiring a digital elevation model of the position of the user according to the position of the user; and the secondary motion type determining module is used for determining the secondary motion type of the user according to the position of the user and the digital elevation model, wherein the secondary motion type is indoor motion or outdoor motion.

As another preferred embodiment, the judging system further includes: and the motion type correction module is used for correcting the motion type according to a user instruction, and updating a step frequency interval, a step interval and a speed interval corresponding to the corrected motion type according to the step frequency, the step and the speed to obtain an updated corresponding table.

The method and the system for judging the motion type are based on the mobile terminal, the application APP and the cloud platform, wherein the core function and the data are stored on the cloud platform, and a user can access the cloud platform data through the mobile terminal and the application APP and perform interaction. Three major parts of mobile terminal, application APP and cloud platform realize providing functions such as motion data save, historical data look over, motion type intelligence is judged and artifical correction motion type, can help the better exercise of running of user. The user clicks a 'history record' button on the application APP, and the application APP acquires the user historical motion data from the cloud platform and displays a historical motion data list. Because the motion data records the motion type, the step frequency, the step length, the ascending/descending information and the like of each time point when the user moves, the user selects to check a certain piece of historical motion data, and the APP can graphically display the statistics (including the information of motion distance, total duration, average pace, average speed, average step frequency, average step length and the like), pace (duration spent per kilometer) and chart information (a speed change curve, a step length change curve and a step frequency change curve) of the motion according to the information of the points.

The user looks over historical motion data in-process at application APP, if the motion type that discovery system intelligence was judged has the mistake, the user clicks "type and corrects" button, selects the correct motion type to correct, and application APP will correct the data and save to the cloud platform, and historical statistics data is revised again to the cloud platform for next time user's motion type judgement is more accurate.

According to the specific embodiment provided by the invention, the invention discloses the following technical effects:

the invention discloses a method and a system for judging a motion type. The judging method comprises the steps of firstly, acquiring speed historical data, stride historical data and stride frequency historical data of a user in each motion type, and establishing a corresponding table of the motion type, a stride frequency interval, a stride interval and a speed interval; acquiring the step number and the exercise time of a user; acquiring step frequency, step width and speed according to the user step number and the exercise time; finally, determining a step frequency interval where the step frequency is located, a step interval where the step is located and a speed interval where the speed is located; and according to the step frequency interval where the step frequency is located, the step interval where the step is located, the speed interval where the speed is located and the corresponding table, the exercise type of the user is determined, the judgment of the exercise type of the user is realized, and the user can accurately know the running condition of the user, so that the running training arrangement is reasonably performed, the running ability of the user is better scientifically improved, the exercise damage caused by unscientific training is avoided, and the health level of the body is improved.

The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.

The principle and the implementation manner of the present invention are explained by applying specific examples, the above description of the embodiments is only used to help understanding the method of the present invention and the core idea thereof, the described embodiments are only a part of the embodiments of the present invention, not all embodiments, and all other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the protection scope of the present invention.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种基于三轴加速度计的人体运动状态检测方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!