[go: up one dir, main page]

CN101614560B - Movement recorder based on GPS positioning and method thereof - Google Patents

Movement recorder based on GPS positioning and method thereof Download PDF

Info

Publication number
CN101614560B
CN101614560B CN2009101821635A CN200910182163A CN101614560B CN 101614560 B CN101614560 B CN 101614560B CN 2009101821635 A CN2009101821635 A CN 2009101821635A CN 200910182163 A CN200910182163 A CN 200910182163A CN 101614560 B CN101614560 B CN 101614560B
Authority
CN
China
Prior art keywords
gps positioning
motion
positioning data
static
record
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.)
Expired - Fee Related
Application number
CN2009101821635A
Other languages
Chinese (zh)
Other versions
CN101614560A (en
Inventor
曹伟勋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Arx Electronic Co Ltd
Original Assignee
Wuxi Arx Electronic Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Arx Electronic Co Ltd filed Critical Wuxi Arx Electronic Co Ltd
Priority to CN2009101821635A priority Critical patent/CN101614560B/en
Publication of CN101614560A publication Critical patent/CN101614560A/en
Application granted granted Critical
Publication of CN101614560B publication Critical patent/CN101614560B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

本发明公开一种基于GPS定位的运动记方法,其包括:每预定时间间隔采集一笔GPS定位数据,每笔GPS定位数据包括位置坐标和和时间;对一段时间的GPS定位数据进行运动识别以得到此段时间内的运动记录和静止记录,所述运动记录至少包含运动距离信息,所述静止记录至少包含静止时长信息。这样,通过对一天、1周、1个月或1年的GPS定位数据进行运动识别可以得到这段时间的运动记录和静止记录,这样用户查看这些记录后就可以对自己在该段时间的运动状况和静止状况进行全面的了解和掌握。

Figure 200910182163

The invention discloses a method for recording sports based on GPS positioning, which includes: collecting a piece of GPS positioning data every predetermined time interval, and each piece of GPS positioning data includes position coordinates and time; performing motion recognition on the GPS positioning data for a period of time A motion record and a static record within this period of time are obtained, the motion record includes at least motion distance information, and the static record includes at least static duration information. In this way, by performing motion recognition on the GPS positioning data of one day, one week, one month or one year, the motion records and static records during this period can be obtained, so that users can check their own motion during this period after viewing these records. Comprehensive understanding and mastery of state and static conditions.

Figure 200910182163

Description

基于GPS定位的运动记录器和方法 Motion recorder and method based on GPS positioning

技术领域technical field

本发明涉及电子电路设计领域,特别涉及基于GPS定位的运动记录器。 The invention relates to the field of electronic circuit design, in particular to a motion recorder based on GPS positioning. the

背景技术Background technique

健康问题对于每个人来说都是一个不可忽视的大问题,每个人都希望自己能拥有健康的体魄,并且几乎所有的人也都知道自己必须要保持一定的运动才能保持健康。然而,一个不可忽视的问题是由于各种各样的原因人们越来越多的深陷于繁忙的工作当中而不能自拔,并且当前有相当一部份人是坐在电脑前长时间的保持一种姿势来工作,这种舒适的、效率更高的工作方式却给人们的健康带来一定的挑战。另外,即使到了闲暇的假期时间,也有很多人都是选择以非运动的形式(比如看电视、玩网络游戏等)度过。此外,当前的各种服务已经非常相当发达以至于人们不用逛街就可以买到各种各样的商品,比如逛网上商店、打电话订餐等等。总而言之,随着工作方式的改变和生活水平的提高,人们的工作生活都变得越来越舒适和安逸,同时随之而来的还有人们运动量的日益减少,这给人们带来了很大的健康隐患。 Health problems are a big problem that cannot be ignored for everyone. Everyone hopes to have a healthy body, and almost everyone knows that they must maintain a certain amount of exercise to stay healthy. However, a problem that cannot be ignored is that due to various reasons, people are more and more immersed in busy work and cannot extricate themselves, and currently a considerable number of people are sitting in front of the computer for a long time to keep a This comfortable and more efficient way of working brings certain challenges to people's health. In addition, even when it comes to leisure time, many people choose to spend it in non-exercise forms (such as watching TV, playing online games, etc.). In addition, the current various services are so developed that people can buy a variety of goods without going shopping, such as visiting online stores, ordering food by phone, and so on. All in all, with the change of working methods and the improvement of living standards, people's work and life have become more and more comfortable and comfortable, and at the same time, the amount of people's exercise is decreasing day by day, which has brought great impact to people. health risks. the

目前,很多人也都已经意识到了运动量不足给人体带来的健康隐患,但绝大部分人都还是坚持之前不健康的工作生活方式,而坚持运动锻炼身体的人少之又少。造成这种情况的一个重要原因在于:人们不十分了解自己在一段时间之内(比如一天、几天或更长一段时间)的运动情况,并且在缺少运动的情况下得不到及时的提醒。 At present, many people have also realized the hidden dangers to the human body caused by insufficient exercise, but most of them still insist on the unhealthy work and lifestyle before, and very few people insist on exercising. An important reason for this situation is that people do not know their own exercise situation within a certain period of time (such as a day, a few days or a longer period of time), and they cannot be reminded in time when they lack exercise. the

为了使大家能更了解自己的运动情况,出现了一种可以记录使用者步数的计步器。这种计步器一般是按照机械的摆动原理制作而成,在运动之前使用者将其携带在身上,在使用者每迈出一步后所述计步器都会将其记录的步数增加 1,这样在每次运动后就可以显示该次运动的步数。然而,这样的计步器应用场景非常有限,比如如果你不运动,它就不能起到任何作用,再比如如果你骑自行车,它同样也不能起到运动记录的作用,再比如它也不能区分跑步和步行等。 In order to enable everyone to better understand their own exercise conditions, a pedometer that can record the number of steps of the user has appeared. This kind of pedometer is generally made according to the principle of mechanical swing. The user carries it on the body before exercising. After each step taken by the user, the pedometer will increase the number of steps recorded by it by 1. In this way, the number of steps of the exercise can be displayed after each exercise. However, the application scenarios of such a pedometer are very limited. For example, if you do not exercise, it cannot play any role. For example, if you ride a bicycle, it also cannot play the role of sports record. Running and walking etc. the

为了促使大家多注意运动,也出现了一些健康提醒设备。比如,目前大部分电脑都配置有摄像头,那么可以通过摄像头来采集电脑面前的图像,之后通过分析图像的内容来判断电脑面前是否有使用者,如果发现使用者在电脑面前的持续时间超过预定阈值就发出提醒信息以提醒使用者注意运动。然而,这种健康提醒设备只能针对配备有摄像头的电脑的情况,对于其它大多数状况都不能使用,比如人们长时间的看书、长时间的看电视和长时间的静坐等。 In order to encourage everyone to pay more attention to exercise, some health reminder devices have also appeared. For example, most computers are equipped with a camera at present, so the image in front of the computer can be collected through the camera, and then it can be judged whether there is a user in front of the computer by analyzing the content of the image. If the duration of the user in front of the computer is found to exceed a predetermined threshold A reminder message is sent to remind the user to pay attention to exercise. Yet this health reminding equipment can only be aimed at the situation of being equipped with the computer of camera, can not be used for most other conditions, such as people read a book for a long time, watch TV for a long time and sit still for a long time etc. for a long time. the

因此,亟待提出一种先进的、可以克服上述缺点的运动记录器和方法。 Therefore, it is urgent to propose an advanced motion recorder and method that can overcome the above-mentioned shortcomings. the

发明内容Contents of the invention

有鉴于此,本发明的解决得技术问题之一在于提供一种基于GPS定位的运动记录器,其可以全天候的、完整的记录使用者的运动情况。 In view of this, one of the technical problems to be solved by the present invention is to provide a sports recorder based on GPS positioning, which can completely record the user's sports conditions around the clock. the

本发明的解决得技术问题之二在于提供一种在于提供一种基于GPS定位的运动记录方法,其可以全天候的、完整的记录使用者的运动情况。 The second technical problem to be solved by the present invention is to provide a sports recording method based on GPS positioning, which can completely record the user's sports conditions around the clock. the

为解决上述技术问题,根据本发明的一方面,本发明提供了一种基于GPS定位的运动记录器,其包括:GPS定位单元,用于每预定时间间隔采集一笔GPS定位数据,每笔GPS定位数据包括位置坐标和时间;和运动识别单元,用于对一段时间的GPS定位数据进行运动识别以得到此段时间内的运动记录,所述运动记录至少包含运动距离信息。 In order to solve the above-mentioned technical problems, according to one aspect of the present invention, the present invention provides a kind of sports recorder based on GPS positioning, which comprises: a GPS positioning unit, which is used to collect a piece of GPS positioning data every predetermined time interval, and each GPS positioning The positioning data includes position coordinates and time; and a motion recognition unit, configured to perform motion recognition on GPS positioning data for a period of time to obtain a motion record within this period, and the motion record at least includes motion distance information. the

进一步的,所述运动识别单元对一段时间的GPS定位数据进行运动识别后还得到该段时间内的静止记录,所述静止记录至少包含静止时长信息。 Further, after the motion identification unit performs motion identification on GPS positioning data for a period of time, it also obtains a still record within the period, and the still record includes at least the information of the still duration. the

更进一步的,所述静止记录有多条,每条静止记录还包括有静止起始和终止GPS定位数据。 Furthermore, there are multiple static records, and each static record also includes static start and end GPS positioning data. the

再进一步的,所述运动记录包括多条,每条运动记录还包括运动类型、运动起始GPS定位数据、运动终止GPS定位数据和运动时长中的部分或全部。 Still further, the exercise record includes multiple items, and each exercise record also includes part or all of the exercise type, exercise start GPS positioning data, exercise end GPS positioning data, and exercise duration. the

再进一步的,所述运动类型包括走路、跑步、骑自行车和车行中的一种或几种。 Still further, the type of exercise includes one or more of walking, running, cycling and driving. the

再进一步的,其还包括有存储单元,所述存储单元用于存储所述GPS定位单元采集到的GPS定位数据和运动识别单元得到的运动记录和静止记录,所述存储单元设有输入输出接口,通过所述输入输出接口能将所述GPS定位数据导出所述存储单元。 Still further, it also includes a storage unit, the storage unit is used to store the GPS positioning data collected by the GPS positioning unit and the motion records and static records obtained by the motion recognition unit, and the storage unit is provided with an input and output interface The GPS positioning data can be exported to the storage unit through the input and output interface. the

再进一步的,所述运动识别单元包括静动识别模块、静止记录模块、运动记录模块和记录综合模块,所述静动识别模块,用于判断当前GPS定位数据为静止点还是运动点;所述静止记录模块,用于在当前GPS定位数据为静止点时创建一条静止记录或更新所述静止记录;所述运动记录模块,用于在当前GPS定位数据为运动点时创建一条运动记录或更新所述运动记录;所述记录综合模块,用于接收所述静止记录模块提供的静止记录和所述运动记录模块提供的运动记录,并对所述静止记录和所述运动记录进行综合。 Still further, the motion recognition unit includes a static motion recognition module, a static recording module, a motion recording module and a record integration module, the static motion recognition module is used to judge whether the current GPS positioning data is a static point or a moving point; the The static recording module is used to create a static record or update the static record when the current GPS positioning data is a static point; the motion recording module is used to create a motion record or update the current GPS positioning data when it is a motion point The motion record; the record integration module is used to receive the static record provided by the static record module and the motion record provided by the motion record module, and integrate the static record and the motion record. the

再进一步的,所述运动记录模块通过最高速度或/和平均速度来识别此条运动记录中对应的运动类型。 Still further, the exercise record module identifies the corresponding exercise type in the exercise record through the highest speed or/and average speed. the

根据本发明的另一方面,本发明提供了一种基于GPS定位的运动记录方法,其包括:每预定时间间隔采集一笔GPS定位数据,每笔GPS定位数据包括位置坐标和时间;对一段时间的GPS定位数据进行运动识别以得到此段时间内的运动记录和静止记录,所述运动记录至少包含运动距离信息,所述静止记录至少包含静止时长信息。 According to another aspect of the present invention, the present invention provides a kind of motion recording method based on GPS positioning, and it comprises: every predetermined time interval collects a piece of GPS positioning data, each piece of GPS positioning data includes position coordinates and time; The GPS positioning data is used for motion identification to obtain motion records and static records within this period, the motion records contain at least movement distance information, and the static records contain at least static duration information. the

进一步的,所述静止记录有多条,每条静止记录还包括有静止起始和终止GPS定位数据;所述运动记录包括多条,每条运动记录还包括运动类型、运动起始GPS定位数据、运动终止GPS定位数据和运动时长中的部分或全部,所述运动类型包括走路、跑步、骑自行车和车行中的一种或几种。 Further, there are many stationary records, and each stationary record also includes static start and end GPS positioning data; the sports record includes multiple records, and each sports record also includes motion type, motion starting GPS positioning data , Part or all of the GPS positioning data and the duration of the exercise are terminated, and the exercise type includes one or more of walking, running, cycling and driving. the

更进一步的,所述对一段时间的GPS定位数据进行运动识别以得到此段时间内的运动记录和静止记录包括:判断当前GPS定位数据为静止点还是运动点;在当前GPS定位数据为静止点时创建一条静止记录或更新所述静止记录;在当前GPS定位数据为运动点时创建一条运动记录或更新所述运动记录;综合所述静止记录和所述运动记录。 Furthermore, the motion recognition of GPS positioning data for a period of time to obtain motion records and static records during this period includes: judging whether the current GPS positioning data is a static point or a moving point; when the current GPS positioning data is a static point Create a static record or update the static record; create a motion record or update the motion record when the current GPS positioning data is a motion point; integrate the static record and the motion record. the

再进一步的,所述静止记录包括静止时长Ts、静止起始和终止GPS定位数据,所述创建一条静止记录包括:将上一GPS定位数据作为静止起始GPS定位数据,将当前GPS定位数据作为静止终止GPS定位数据,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT赋予所述静止时长Ts作为初始值;和所述更新所述静止记录包括:将当前GPS定位数据更新为静止终止GPS定位数据,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT累加至所述静止时长Ts上。 Still further, the static record includes static duration T s , static start and end GPS positioning data, and creating a static record includes: using the last GPS positioning data as the static initial GPS positioning data, and using the current GPS positioning data As static termination GPS positioning data, the time difference ΔT of the time in the current GPS positioning data and the time in the last GPS positioning data is given to the static duration T s as an initial value; and the static record of updating includes: The current GPS positioning data is updated to the stationary terminated GPS positioning data, and the time difference ΔT between the time in the current GPS positioning data and the time in the previous GPS positioning data is added to the stationary duration T s .

再进一步的,所述运动记录包括包括运动类型、运动起始和终止GPS定位数据、运动距离Dm、运动时长Tm、最高速度Vmax,所述创建一条运动记录包括:将所述运动类型设置为未知,将上一GPS定位数据作为运动起始GPS定位数据,将当前GPS定位数据作为运动终止GPS定位数据,将当前GPS定位数据中的地理位置与上一GPS定位数据中的地理位置的距离差值ΔD赋予所述运动距离Dm作为初始值,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT赋予所述运动时长Tm作为初始值,将根据当前GPS定位数据与上一GPS定位数据的时间差值ΔT和距离差值ΔD计算得到的瞬时速度赋予最高速度Vmax作为初始值;更新所述运动记录包括:将当前GPS定位数据作为运动终止GPS定位数据,将当前GPS定位数据中的地理位置与上一GPS定位数据中的地理位置的距离差值ΔD累加至赋予所述运动距离Dm上,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT累加至所述运动时长Tm上,将根据当前GPS定位数据与上一GPS定位数据的时间差值ΔT和距离差值ΔD计算得到的瞬时速度与之前的最高速度Vmax中的大者赋予所述最高速度Vmax作为更新值,最后根据所述最高速度Vmax确定所述运动记录的运动类型。 Still further, the motion record includes motion type, motion start and end GPS positioning data, motion distance D m , motion duration T m , maximum speed V max , and creating a motion record includes: adding the motion type Set to Unknown, take the previous GPS positioning data as the start GPS positioning data of the exercise, use the current GPS positioning data as the GPS positioning data of the end of the exercise, and combine the geographic location in the current GPS positioning data with the geographic location in the previous GPS positioning data The distance difference ΔD is assigned to the motion distance D m as an initial value, and the time difference ΔT between the time in the current GPS positioning data and the time in the previous GPS positioning data is assigned to the motion duration T m as an initial value, and will be based on The current GPS positioning data and the time difference ΔT and the distance difference ΔD calculation of the previous GPS positioning data give the highest speed V max as the initial value; updating the motion record includes: using the current GPS positioning data as the motion termination GPS Positioning data, the distance difference ΔD between the geographic location in the current GPS positioning data and the geographic location in the previous GPS positioning data is added to the motion distance D m , and the time in the current GPS positioning data and the previous GPS positioning data The time difference ΔT of the time in the positioning data is added to the motion duration T m , and the instantaneous speed calculated based on the time difference ΔT and the distance difference ΔD between the current GPS positioning data and the previous GPS positioning data is compared with the previous The greater of the maximum speed V max is given as the update value, and finally the motion type of the motion record is determined according to the maximum speed V max .

这样与现有技术相比,在本发明提出的技术方案中,通过对一天、1周、1个月或1年的GPS定位数据进行运动识别可以得到这段时间的运动记录和静止记录,这样用户查看这些记录后就可以对自己在该段时间的运动状况和静止状况进行全面的了解和掌握,而这些直观的、全面的记录则可以促使用户在未来一段时间更加合理的安排自己的时间。 Compared with prior art like this, in the technical scheme that the present invention proposes, by carrying out motion recognition to the GPS positioning data of a day, 1 week, 1 month or 1 year, the motion record and the still record of this period of time can be obtained, like this After viewing these records, the user can have a comprehensive understanding and mastery of his exercise status and static status during the period, and these intuitive and comprehensive records can prompt the user to arrange his time more reasonably in the future. the

附图说明Description of drawings

图1是本发明中的基于GPS定位的运动记录器的一个实施例中的功能方框图; Fig. 1 is a functional block diagram in an embodiment of the motion recorder based on GPS positioning among the present invention;

图2是本发明中的运动识别单元的一个实施例中的功能方框图;和 Fig. 2 is a functional block diagram in an embodiment of the motion recognition unit among the present invention; With

图3是本发明中的运动记录方法的一个实例中的流程图。 Fig. 3 is a flowchart in one example of the motion recording method in the present invention. the

具体实施方式Detailed ways

下面结合说明书附图来说明本发明的具体实施方式。 The specific implementation manners of the present invention will be described below in conjunction with the accompanying drawings. the

本发明提出一种基于GPS(Global Position System,全球定位系统,简称GPS)定位的运动记录器,其利用GPS定位单元采集到GPS定位数据,之后在对这些GPS定位数据进行运动识别从而可以得到用户的运动情况。这种运动记录器可以得到使用者全天候的、完整的GPS定位数据,在这些定位数据的基础上进行运动识别可以得到使用者所有的运动记录,从而可以全面的、真实的反映使用者的运动情况。 The present invention proposes a motion recorder based on GPS (Global Position System, Global Positioning System, referred to as GPS) positioning, which utilizes the GPS positioning unit to collect GPS positioning data, and then performs motion recognition on these GPS positioning data to obtain user information. of sports conditions. This kind of motion recorder can obtain the user's all-weather and complete GPS positioning data, and the motion recognition based on these positioning data can obtain all the user's motion records, so that it can comprehensively and truly reflect the user's motion situation . the

图1示出了发明中的基于GPS定位的运动记录器100的一个实施例中的功能方框图。如图1所示,所述运动记录器100包括GPS定位单元110、存储单元120、运动识别单元130和显示单元140。 FIG. 1 shows a functional block diagram of an embodiment of a GPS positioning-based exercise recorder 100 of the invention. As shown in FIG. 1 , the exercise recorder 100 includes a GPS positioning unit 110 , a storage unit 120 , an exercise identification unit 130 and a display unit 140 . the

所述GPS定位单元110用来采集GPS定位数据,所述GPS定位数据可以包括三维坐标、速度和时间,所述三维坐标可以包括经度、纬度和高度。需要解释的是,全球定位系统(Global Position System,简称GPS)是一种卫星无线电导航系统,它具有全球性、全天候、连续性和实时性的导航、定位和 定时的功能,能为各类用户提供精密的包括经度、纬度和高度的三维坐标、速度和时间。在本文中GPS是广义上的概念,是指能够提供全球定位的系统。目前的各种车载GPS导航仪或其它GPS定位产品中都装配有GPS定位单元,所述GPS定位单元110可以采用现有技术中任意一种GPS定位数据采集设备。另外,本发明中的所述GPS定位单元110只需要用来采集GPS定位数据即可,不需要其它额外的功能,这样可以使所述GPS定位单元110的结构保持尽可能的简单。 The GPS positioning unit 110 is used to collect GPS positioning data, the GPS positioning data may include three-dimensional coordinates, speed and time, and the three-dimensional coordinates may include longitude, latitude and altitude. What needs to be explained is that the Global Positioning System (Global Position System, referred to as GPS) is a satellite radio navigation system, which has global, all-weather, continuous and real-time navigation, positioning and timing functions, and can serve various users Provides precise 3D coordinates including longitude, latitude and altitude, speed and time. In this article, GPS is a concept in a broad sense, referring to a system that can provide global positioning. Various current vehicle-mounted GPS navigators or other GPS positioning products are equipped with a GPS positioning unit, and the GPS positioning unit 110 can use any GPS positioning data acquisition device in the prior art. In addition, the GPS positioning unit 110 in the present invention only needs to be used to collect GPS positioning data and does not need other additional functions, so that the structure of the GPS positioning unit 110 can be kept as simple as possible. the

在一个实施例中,所述GPS定位单元110会每预定时间间隔采集一笔GPS定位数据(或者说一份GPS定位数据或一组GPS定位数据),每笔GPS定位数据都包括有三维坐标、速度和时间。举例来说,一笔GPS定位数据的一个实例的可以是:东经87度19分52秒、北纬43度40分37秒、海拔156.3米、0米/秒、2009年6月21日10时20分21秒。为了更加精确的记录使用者的运动轨迹,所述预定时间间隔设定的越短越好,但是随着所述预定时间间隔的逐渐变短,需要采集的GPS定位数据的笔数也就相应的逐渐增多。在一个具体的示例中,可以在1-30秒之间选择所述预定时间间隔。举例来说,假如选择所述预定时间间隔为5秒,那么所述GPS定位单元110在1分钟的时间里可以采集12笔GPS定位数据,而在1个小时的时间里则可以采集12*60=720笔GPS定位数据,那么在一天的时间里则可以采集720*24=17280笔数据,这样这17280笔GPS定位数据就组成了该使用者在这天内的运动轨迹。 In one embodiment, the GPS positioning unit 110 collects a piece of GPS positioning data (or a piece of GPS positioning data or a set of GPS positioning data) every predetermined time interval, and each piece of GPS positioning data includes three-dimensional coordinates, speed and time. For example, an example of a piece of GPS positioning data can be: 87 degrees 19 minutes 52 seconds east longitude, 43 degrees 40 minutes 37 seconds north latitude, 156.3 meters above sea level, 0 m/s, 10:20 on June 21, 2009 Minutes and 21 seconds. In order to record the user's motion trajectory more accurately, the shorter the predetermined time interval is set, the better, but as the predetermined time interval gradually becomes shorter, the number of GPS positioning data that needs to be collected is also corresponding Gradually increase. In a specific example, the predetermined time interval may be selected between 1-30 seconds. For example, if the predetermined time interval is selected as 5 seconds, the GPS positioning unit 110 can collect 12 pieces of GPS positioning data in 1 minute, and 12*60 pieces of GPS positioning data can be collected in 1 hour. =720 pieces of GPS positioning data, then 720*24=17280 pieces of data can be collected in one day, so that these 17280 pieces of GPS positioning data constitute the user's movement track in this day. the

所述存储单元120可以用于存储所述GPS定位单元110采集到的GPS定位数据。所述存储单元120可以采用目前流行的闪存(Flash Memory)。所述存储单元120设有输入输出接口(比如USB接口),通过所述输入输出接口可以将所述GPS定位数据导出所述存储单元120,也可以将其它数据导入所述存储单元120。 The storage unit 120 may be used to store the GPS positioning data collected by the GPS positioning unit 110 . The storage unit 120 can adopt the currently popular flash memory (Flash Memory). The storage unit 120 is provided with an input and output interface (such as a USB interface), through which the GPS positioning data can be exported to the storage unit 120 , and other data can also be imported into the storage unit 120 . the

所述运动识别单元130用于对一段时间(比如1天、1周等)的GPS定位数据进行运动识别以得到一系列交替的静止记录和运动记录,每条静止记录都 至少包含静止时长信息,每条运动记录都至少包含运动距离信息。在一个实施例中,每条运动记录包括有运动类型、运动起始和终止GPS定位数据和运动距离,每条静止记录包括有静止起始和终止GPS定位数据,通过静止记录中的静止起始和终止GPS定位数据可以计算出静止时长,通过运动记录中的运动起始和终止GPS定位数据可以计算出运动时长。在另一个实施例中,每条运动记录包括有运动类型、运动时长和运动距离,每条静止记录包括有静止时长。另外,运动记录中还可以记录其他的运动信息,比如平均时速、最高时速等。所述运动类型可以包括走路、跑步、骑自行车和车行中的一种或几种,当然还可以包括其它运动类型。当然所述运动类型也可以由用户自己事先设置,比如有一部分用户根本不会出现骑自行车的情况,那么他只需要设置走路、跑步和车行这三种运动类型就可以了。 The motion recognition unit 130 is used to carry out motion recognition to GPS positioning data for a period of time (such as 1 day, 1 week, etc.) to obtain a series of alternate static records and motion records, each static record contains at least static duration information, Each exercise record includes at least exercise distance information. In one embodiment, each motion record includes motion type, motion start and end GPS positioning data and motion distance, and each static record includes static start and end GPS positioning data, and the static start in the static record The duration of stillness can be calculated by using GPS positioning data and ending GPS positioning data, and the duration of exercise can be calculated by starting and ending GPS positioning data in the exercise record. In another embodiment, each exercise record includes exercise type, exercise duration and exercise distance, and each static record includes a static duration. In addition, other sports information can also be recorded in the sports record, such as average speed, maximum speed, etc. The type of exercise may include one or more of walking, running, cycling, and driving, and of course other types of exercise may also be included. Of course, the type of exercise can also be set by the user in advance. For example, if some users do not ride a bicycle at all, they only need to set the three types of exercise: walking, running and driving. the

所述静止记录和运动记录可以被存储于所述存储单元120内,也可以被直接或被统计后显示于所述显示单元140。所述运动识别单元130可以对GPS定位单元110采集到的GPS定位数据进行实时的运动识别,也可以对已经存储于所述存储单元120内的一段时间的GPS定位数据进行识别。 The still records and exercise records can be stored in the storage unit 120 , and can also be displayed on the display unit 140 directly or after statistics. The motion identification unit 130 can perform real-time motion identification on the GPS positioning data collected by the GPS positioning unit 110 , and can also identify GPS positioning data that has been stored in the storage unit 120 for a period of time. the

通过对一天、1周、1个月或1年的GPS定位数据进行运动识别可以得到这段时间的运动记录和静止记录,这样用户查看这些记录后就可以对自己在该段时间的运动状况和静止状况进行全面的了解和掌握,而这些直观的、全面的记录则可以促使用户在未来一段时间更加合理的安排自己的时间。 By performing motion recognition on the GPS positioning data of one day, one week, one month or one year, the motion records and static records of this period can be obtained, so that users can check their own exercise conditions and A comprehensive understanding and mastery of static conditions, and these intuitive and comprehensive records can prompt users to arrange their time more reasonably in the future. the

图2是本发明中的运动识别单元200的一个实施例中的功能方框图,所述运动识别单元200可以用作图1中的运动识别单元130。如图2所示,所述运动识别单元200包括静动识别模块210、静止记录模块220、运动记录模块230和记录综合模块240。 FIG. 2 is a functional block diagram of an embodiment of a motion recognition unit 200 in the present invention, which can be used as the motion recognition unit 130 in FIG. 1 . As shown in FIG. 2 , the motion recognition unit 200 includes a static motion recognition module 210 , a static recording module 220 , a motion recording module 230 and a record integration module 240 . the

图3是本发明中的运动记录方法300的一个实例中的流程图,其在一定程度上反映了运动识别单元200和运动记录器100的工作过程。请结合参考图1-3,所述运动记录方法300包括如下步骤。 FIG. 3 is a flowchart of an example of the motion recording method 300 in the present invention, which reflects the working process of the motion recognition unit 200 and the motion recorder 100 to a certain extent. Please refer to FIGS. 1-3 in combination. The exercise recording method 300 includes the following steps. the

步骤302,采集当前GPS定位数据。所述当前GPS定位数据可以来自存储单元120,也可以来自GPS定位单元110。在将当前GPS定位数据处理完成之后,会将下一GPS定位数据作为当前GPS定位数据继续进行处理,所述当前GPS定位数据为正在处理的一笔GPS定位数据,下一GPS定位数据为与当前GPS定位数据相邻的将要处理的一笔GPS定位数据,上一GPS定位数据为与当前GPS定位数据相邻的刚处理完成的一笔GPS定位数据。 Step 302, collecting current GPS positioning data. The current GPS positioning data may come from the storage unit 120 or from the GPS positioning unit 110 . After the processing of the current GPS positioning data is completed, the next GPS positioning data will continue to be processed as the current GPS positioning data. The current GPS positioning data is a piece of GPS positioning data being processed, and the next GPS positioning data is A piece of GPS positioning data adjacent to the GPS positioning data to be processed, and the last GPS positioning data is a piece of GPS positioning data adjacent to the current GPS positioning data that has just been processed. the

步骤304,所述静动识别模块210判断当前工作状态是否为静止状态,如果是,所述方法300进入步骤306,否则,所述方法300进入步骤314。初始时,当前工作状态可以被默认为静止状态或运动状态中的任何一个,随后就将之前的工作状态作为当前状态。 Step 304 , the static/motion recognition module 210 judges whether the current working state is a static state, if yes, the method 300 proceeds to step 306 , otherwise, the method 300 proceeds to step 314 . Initially, the current working state can be defaulted as either the static state or the moving state, and then the previous working state is taken as the current state. the

步骤306,所述静动识别模块210判断当前GPS定位数据为静止点还是运动点,如果是静止点,所述方法进入步骤308,如果是运动点,所述方法进入步骤310。在一个实施例中,所述静动识别模块210可以计算当前GPS定位数据中的地理位置与上一GPS定位数据中的地理位置的距离差值,并将所述距离差值与预定距离阈值(比如0或0附近的一个较小的值)进行对比,如果所述距离差值小于所述预定距离阈值,则认为当前GPS定位数据为静止点,否则认为当前GPS定位数据为运动点。当然还有其它很多种方法,这里就不再一一列举。 Step 306 , the static/motion identification module 210 judges whether the current GPS positioning data is a static point or a moving point, if it is a static point, the method proceeds to step 308 , and if it is a moving point, the method proceeds to step 310 . In one embodiment, the static movement identification module 210 can calculate the distance difference between the geographic location in the current GPS positioning data and the geographic location in the previous GPS positioning data, and compare the distance difference with a predetermined distance threshold ( Such as 0 or a smaller value near 0) for comparison, if the distance difference is less than the predetermined distance threshold, the current GPS positioning data is considered to be a static point, otherwise the current GPS positioning data is considered to be a moving point. Of course, there are many other methods, which will not be listed here. the

步骤308,所述静止记录模块220更新当前静止记录,之后返回步骤302继续处理。一般来讲,进入该步骤308之前,在其它步骤中所述静止记录模块220已经建立了一条静止记录,因此这里只需要更新当前静止记录的内容即可。在一个实施例中,所述静止记录包括静止时长Ts、静止起始和终止GPS定位数据,所述当前静止记录的更新就是:将当前GPS定位数据更新为静止终止GPS定位数据,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT累加至所述静止时长Ts上。 In step 308, the still record module 220 updates the current still record, and then returns to step 302 to continue processing. Generally speaking, before entering step 308, the still record module 220 has already established a still record in other steps, so here only needs to update the content of the current still record. In one embodiment, the static record includes static duration T s , static start and end GPS positioning data, and the update of the current static record is: update the current GPS positioning data to the static end GPS positioning data, and update the current GPS positioning data to the static end GPS positioning data. The time difference ΔT between the time in the positioning data and the time in the last GPS positioning data is added to the static duration T s .

步骤310,所述静止记录模块220输出当前静止记录给记录综合模块240。 Step 310 , the still record module 220 outputs the current still record to the record synthesis module 240 . the

步骤312,所述静动识别模块210将工作状态转换为运动状态,并启动所述运动记录模块230,所述运动记录模块230创建一条运动记录,并计算速度信息,之后返回步骤302继续处理。在一个实施例中,所述运动记录可以包括运动类型、运动起始和终止GPS定位数据、运动距离Dm和运动时长Tm,所述速度信息包括最高速度Vmax,所述运动记录的建立和速度信息的计算就是:将所述运动类型设置为未知,将上一GPS定位数据作为运动起始GPS定位数据,将当前GPS定位数据作为运动终止GPS定位数据,将当前GPS定位数据中的地理位置与上一GPS定位数据中的地理位置的距离差值ΔD赋予所述运动距离Dm作为初始值,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT赋予所述运动时长Tm作为初始值,将根据当前GPS定位数据与上一GPS定位数据的时间差值ΔT和距离差值ΔD计算得到的瞬时速度赋予最高速度Vmax作为初始值。在一个实施例中,也可以将所述最高速度Vmax视为运动记录中的一个运动参数。 Step 312 , the static/movement identification module 210 converts the working state into a motion state, and starts the motion recording module 230 , the motion recording module 230 creates a motion record, calculates speed information, and then returns to step 302 to continue processing. In one embodiment, the exercise record may include exercise type, exercise start and end GPS positioning data, exercise distance D m and exercise duration T m , the speed information includes the highest speed V max , the establishment of the exercise record The calculation of the sum speed information is exactly: the described motion type is set to unknown, the last GPS positioning data is used as the motion start GPS positioning data, the current GPS positioning data is used as the motion termination GPS positioning data, and the geographical position in the current GPS positioning data is The distance difference ΔD between the position and the geographic location in the last GPS positioning data is given as the initial value, and the time difference ΔT between the time in the current GPS positioning data and the time in the last GPS positioning data is given to The motion duration T m is used as an initial value, and the instantaneous speed calculated based on the time difference ΔT and the distance difference ΔD between the current GPS positioning data and the previous GPS positioning data is assigned to the highest speed V max as an initial value. In an embodiment, the highest speed V max can also be regarded as a motion parameter in the motion record.

步骤314,所述静动识别模块210判断当前GPS定位数据为静止点还是运动点,如果是静止点,所述方法进入步骤316,如果是运动点,所述方法进入步骤318。判断方法可以与步骤308相同,这里不再赘述。 Step 314 , the static/moving identification module 210 judges whether the current GPS positioning data is a static point or a moving point, if it is a static point, the method proceeds to step 316 , and if it is a moving point, the method proceeds to step 318 . The judging method may be the same as step 308, and will not be repeated here. the

步骤316,所述运动记录模块230更新当前运动记录及速度信息,之后返回步骤302继续处理。在一个实施例中,更新当前运动记录及速度信息就是:将当前GPS定位数据作为运动终止GPS定位数据,将当前GPS定位数据中的地理位置与上一GPS定位数据中的地理位置的距离差值ΔD累加至赋予所述运动距离Dm上,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT累加至所述运动时长Tm上,将根据当前GPS定位数据与上一GPS定位数据的时间差值ΔT和距离差值ΔD计算得到的瞬时速度与之前的最高速度Vmax中的大者赋予所述最高速度Vmax作为更新值。 In step 316, the exercise recording module 230 updates the current exercise record and speed information, and then returns to step 302 to continue processing. In one embodiment, updating the current motion record and speed information is: using the current GPS positioning data as the GPS positioning data at the end of the motion, and calculating the distance difference between the geographic location in the current GPS positioning data and the geographic location in the last GPS positioning data ΔD is added to the movement distance D m , and the time difference ΔT between the time in the current GPS positioning data and the time in the previous GPS positioning data is added to the movement duration T m , and the current GPS positioning data will be The higher of the instantaneous speed calculated from the time difference ΔT and the distance difference ΔD from the last GPS positioning data and the previous highest speed V max is assigned to the highest speed V max as an update value.

步骤318,所述运动记录模块230根据速度信息确定当前运动的运动类型,并将所述运动类型更新至当前运动记录中。 Step 318, the exercise recording module 230 determines the exercise type of the current exercise according to the speed information, and updates the exercise type into the current exercise record. the

一般来讲,跑步的速度会比走路的速度要快,骑自行车的速度比跑步的速度快、而做公交车、开车等车行的速度要比骑自行车的速度快。另外,从理论上讲,每次连续的运动只能是车行、骑自行车或步行(跑步和走路)中的一种,不可能既为车行也是步行,因为两者之间必定有静止记录。在一个实施例中,所述运动记录模块230中设定有走路速度门限Vth1、跑步速度门限Vth2、骑自行车速度门限Vth3,其中Vth1<Vth2<Vth3。如果Vmax<Vth1,则确定当前运动的运动类型为步行,如果Vth1<Vmax<Vth2,则确定当前运动的运动类型为跑步;如果Vth2<Vmax<Vth3,则确定当前运动的运动类型为骑自行车;如果Vmax>Vth3,则确定当前运动的运动类型为车行。 Generally speaking, running speed is faster than walking speed, cycling speed is faster than running speed, and taking a bus, driving a car, etc. is faster than riding a bicycle. In addition, theoretically speaking, each continuous movement can only be one of driving, cycling or walking (running and walking), and it is impossible to be both driving and walking, because there must be a static record between the two . In one embodiment, the exercise recording module 230 is set with a walking speed threshold V th1 , a running speed threshold V th2 , and a cycling speed threshold V th3 , wherein V th1 <V th2 <V th3 . If V max <V th1 , then determine the current type of exercise as walking; if V th1 <V max <V th2 , determine that the current type of exercise is running; if V th2 <V max <V th3 , determine that the current type of exercise is running The exercise type of the exercise is cycling; if V max >V th3 , it is determined that the exercise type of the current exercise is cycling.

在另一个实施例中,也可以使用平均速度Vave来判断运动类型,所述平均速度Vave为当前运动记录中的运动距离Dm和运动时长Tm的比值,此时所述运动记录模块230中设定有走路平均速度门限Vaveth1、跑步平均速度门限Vaveth2、骑自行车平均速度门限Vaveth3,其中Vaveth1<Vaveth2<Vaveth3,如果Vave<Vaveth1,则确定当前运动的运动类型为步行,如果Vaveth1<Vave<Vaveth2,则确定当前运动的运动类型为跑步;如果Vaveth2<Vave<Vaveth3,则确定当前运动的运动类型为骑自行车;如果Vave>Vaveth3,则确定当前运动的运动类型为车行。 In another embodiment, it is also possible to use the average speed V ave to judge the type of motion, and the average speed V ave is the ratio of the motion distance D m to the motion duration T m in the current motion record, at this time, the motion record module 230 is set with walking average speed threshold V aveth1 , running average speed threshold V aveth2 , and cycling average speed threshold V aveth3 , where V aveth1 <V aveth2 <V aveth3 , if V ave <V aveth1 , determine the current movement The type is walking, if V aveth1 <V ave <V aveth2 , then determine that the current exercise type is running; if V aveth2 <V ave <V aveth3 , then determine that the current exercise type is cycling; if V ave >V aveth3 , it is determined that the motion type of the current motion is car travel.

在再一个实施例中,可以通过平均速度Vave和最高速度Vmax这两种方式来进行运动类型识别,当两种识别方式的运动类型识别结果一致时,将当前运动的运动类型确定为所述一致的运动类型;当两种识别方式的运动类型识别结果不一致时,根据两种识别结果选择一个合适的运动类型。比如,在平均速度判定为走路、最高速度判定为车行时,那可能是汽车高速行驶的时间很短、遭遇堵车一直在慢慢移动,因此最终判定结果应为车行,同样在平均速度判定为走路、最高速判定为骑自行车时,最终判定结果也应为骑自行车,然而如果平均速度判定为走路、最高速度判定为跑步,那可能是用户在走路过程中出现短时的跑步行为,因此最终判定结果应为走路。再比如,在平均速度判定为跑步,最高速度判定为车行时,最终判定结果也应用为车行,在平均速度判定为跑步, 最高速度判定为骑自行时,最终判定结果也应用为骑自行车。再比如,在平均速度判定为骑自行车,最高速度判定为车行时,最终判定结果也应用为车行。 In yet another embodiment, the motion type identification can be carried out in two ways, the average speed V ave and the maximum speed V max , and when the motion type recognition results of the two recognition methods are consistent, the motion type of the current motion is determined as the selected When the motion type recognition results of the two recognition methods are inconsistent, select an appropriate motion type according to the two recognition results. For example, when the average speed is determined to be walking and the highest speed is determined to be driving, it may be that the car has been driving at high speed for a short time and has been moving slowly in traffic jams. Therefore, the final judgment result should be driving. If it is walking and the highest speed is judged to be cycling, the final judgment result should also be cycling. However, if the average speed is judged to be walking and the highest speed is judged to be running, it may be that the user has a short-term running behavior during walking, so The final judgment result shall be walking. For another example, when the average speed is judged as running and the highest speed is judged as driving, the final judgment result is also applied as driving; when the average speed is judged as running and the highest speed is judged as cycling, the final judgment result is also applied as cycling . For another example, when the average speed is judged as riding a bicycle and the highest speed is judged as driving, the final judgment result is also applied as driving.

需要注意的是,用户可能没有选择骑自行车这个运动类型,那么前面描述的原本被认为是骑自行车的部分记录可能会被认定为车行。 It should be noted that the user may not have selected the exercise type of cycling, so some of the records described above that were originally considered to be cycling may be identified as driving. the

步骤320,所述运动记录模块220输出当前运动记录给记录综合模块240。 Step 320 , the exercise record module 220 outputs the current exercise record to the record integration module 240 . the

步骤322,所述静动识别模块210将工作状态转换为静止状态,并启动所述静止记录模块220,所述静止记录模块220创建一条静止记录,之后返回步骤302继续处理。在一个实施例中,所述静止记录包括静止时长Ts、静止起始和终止GPS定位数据,所述静止记录的创建就是:将上一GPS定位数据作为静止起始GPS定位数据,将当前GPS定位数据作为静止终止GPS定位数据,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT赋予所述静止时长Ts作为初始值。 Step 322 , the static motion recognition module 210 converts the working state to a static state, and starts the static recording module 220 , the static recording module 220 creates a static record, and then returns to step 302 to continue processing. In one embodiment, the static record includes static duration T s , static start and end GPS positioning data, and the creation of the static record is: use the last GPS positioning data as the static initial GPS positioning data, and use the current GPS positioning data as the static initial GPS positioning data. The positioning data is used as the static termination GPS positioning data, and the time difference ΔT between the time in the current GPS positioning data and the time in the last GPS positioning data is assigned to the static duration T s as an initial value.

步骤324,所述记录综合模块240综合所述静止记录和运动记录以得到更加合理、准确地静止记录和运动记录。经过上述各步骤一时间的运动识别得到了一系列相邻交替的静止记录和运动记录。 In step 324, the record integration module 240 integrates the still records and exercise records to obtain more reasonable and accurate still records and exercise records. A series of adjacent and alternating static records and motion records are obtained through the above-mentioned steps-temporal motion recognition. the

然而这些静止记录和运动记录并不十分准确,比如公交车在行驶的过程中可能会遇到红绿灯而暂时停止,而这个过程可能被记录成三个相邻记录:第一车行记录、静止记录、第二车行记录,再比如骑自行车也会遇到这类红绿灯问题,而此时同样会产生三个相邻记录:第一骑自行车记录、静止记录和第二骑自行车记录,同样的跑步和走路同样会遇到类似问题。为了解决这类问题,所述记录综合模块240可以在静止记录的静止时长小于预定值(比如1-5分钟等)且静止记录前后相邻的运动记录的类型相同时,将这三个记录综合为一个运动记录,具体就是该综合后的运动记录的运动时长为这三条记录的运动或静止时长的和、运动距离为这两条运动记录的运动距离的和、运动类型为这两条运动记录的运动类型、运动起始GPS定位数据为第一条运动记录的运动起始GPS定位数据、运动终止GPS定位数据为第二条运动记录的运动终止GPS定位数 据。上述综合可以被称为同类型综合,所述同类型综合后的运动记录仍可根据相同原则再次被综合。 However, these static records and motion records are not very accurate. For example, a bus may temporarily stop when it encounters a traffic light while driving, and this process may be recorded as three adjacent records: the first driving record, the static record , The second driving record, and for example, riding a bicycle will also encounter this kind of traffic light problem, and at this time three adjacent records will also be generated: the first cycling record, the stationary record and the second cycling record, the same running Similar problems can be encountered with walking. In order to solve this type of problem, the record integration module 240 can integrate these three records when the static duration of the static record is less than a predetermined value (such as 1-5 minutes, etc.) and the types of motion records adjacent to the static record are the same. It is a motion record, specifically, the motion duration of the integrated motion record is the sum of the motion or static duration of the three records, the motion distance is the sum of the motion distances of the two motion records, and the motion type is the two motion records The exercise type, the exercise start GPS positioning data is the exercise start GPS positioning data of the first exercise record, and the exercise end GPS positioning data is the exercise end GPS positioning data of the second exercise record. The above synthesis can be called the same type of synthesis, and the sports records after the same type of synthesis can still be synthesized again according to the same principle. the

此外,上述同类综合完成之后的静止记录和运动记录仍然存在很多不准确之处,比如公交车慢行的时段可能经常被判定为走路、跑步和骑自行车,而骑自行车慢性的时段也可能经常被判定为走路和跑步。为了解决这类问题,所述记录综合模块240可以在不相邻的两个车行运动记录的时差不超过预定值(比如10-20分钟)时,将这不相邻的两个车行运动记录及之间的静止或运动记录综合为一个车行运动记录,具体方法与同类型综合类似,这里不再重复。同样,所述记录综合模块240可以在不相邻的两个骑自行车运动记录的时差不超过预定值(比如5-10分钟)时,将这不相邻的两个骑自行车运动记录及之间的静止或运动记录综合为一个骑自行运动记录。这些综合可以被称为异类型综合,所述异类型综合后的运动记录仍可根据相同原则再次被综合。 In addition, there are still many inaccuracies in the static records and exercise records after the above-mentioned similar synthesis is completed. For example, the period of slow bus travel may often be judged as walking, running and cycling, and the period of slow cycling may also be often judged as Judged as walking and running. In order to solve this kind of problem, the record integration module 240 can combine the two non-adjacent vehicle movement The records and the static or motion records in between are synthesized into a vehicle movement record, and the specific method is similar to the same type of synthesis, which will not be repeated here. Similarly, when the time difference between the two non-adjacent cycling records does not exceed a predetermined value (such as 5-10 minutes), the record integration module 240 can combine the two non-adjacent cycling records and the The static or exercise records of the bike are combined into one cycling activity record. These integrations can be called different types of integrations, and the sports records after the different types of integrations can still be integrated again according to the same principle. the

当然,还可以参考其它各种各样的合理原则对所述运动记录和静止记录进行综合以使得所述运动记录和静止记录更加准确、合理。 Certainly, the motion record and the still record can also be integrated with reference to various other reasonable principles to make the motion record and the still record more accurate and reasonable. the

所述记录综合模块240的综合步骤可以每一小段时间进行一次(比如20分钟),也可以每一长段时间进行一次(比如2小时),这些都可以根据需要设定。至此,就可以根据一段时间(比如1天、1周等)的GPS定位数据得到一系列合理、准确地静止记录和运动记录。 The integration step of the record integration module 240 can be performed once every short period of time (such as 20 minutes), or once every long period of time (such as 2 hours), which can be set according to needs. So far, a series of reasonable and accurate static records and exercise records can be obtained according to the GPS positioning data for a period of time (such as 1 day, 1 week, etc.). the

当然也可以不直接对所述静止记录和运动记录进行存储或显示,而是在这些静止记录和运动记录的基础上进行统计、显示或存储,比如统计出一周的总静止时长、总运动距离,总步行距离、总跑步距离、总骑自行车距离等进行显示或存储。另外,也可以根据这些距离数据进一步计算出消耗的卡路里数据等。 Of course, the static records and motion records may not be directly stored or displayed, but statistics, display or storage are performed on the basis of these static records and motion records, such as counting the total static time and total motion distance of a week, The total walking distance, total running distance, total cycling distance, etc. are displayed or stored. In addition, it is also possible to further calculate consumed calorie data and the like based on these distance data. the

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换等,均应包含在本发明的保护范围之内。 The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention within. the

Claims (13)

1.一种基于GPS定位的运动记录器,其特征在于,其包括:1. A motion recorder based on GPS positioning, characterized in that it comprises: GPS定位单元,用于每预定时间间隔采集一笔GPS定位数据,每笔GPS定位数据包括位置坐标和时间;和GPS positioning unit, used for collecting a piece of GPS positioning data every predetermined time interval, each piece of GPS positioning data includes position coordinates and time; and 运动识别单元,用于对一段时间的GPS定位数据进行运动识别以得到此段时间内的运动记录,所述运动记录至少包含运动距离信息。The movement recognition unit is used for performing movement recognition on GPS positioning data for a period of time to obtain a movement record within this period, and the movement record at least includes movement distance information. 2.如权利要求1所述的基于GPS定位的运动记录器,其特征在于,所述运动识别单元对一段时间的GPS定位数据进行运动识别后还得到该段时间内的静止记录,所述静止记录至少包含静止时长信息。2. the motion recorder based on GPS positioning as claimed in claim 1, is characterized in that, after described motion recognition unit carries out motion recognition to GPS positioning data of a period of time, also obtains the static record in this section of time, described static A record contains at least inactive duration information. 3.如权利要求2所述的基于GPS定位的运动记录器,其特征在于,所述静止记录有多条,每条静止记录还包括有静止起始和终止GPS定位数据。3. The motion recorder based on GPS positioning as claimed in claim 2, wherein there are multiple static records, and each static record also includes static start and end GPS positioning data. 4.如权利要求3所述的基于GPS定位的运动记录器,其特征在于,所述运动记录包括多条,每条运动记录还包括运动类型、运动起始GPS定位数据、运动终止GPS定位数据和运动时长中的部分或全部。4. The motion recorder based on GPS positioning as claimed in claim 3, wherein said motion record comprises a plurality, and each motion record also includes motion type, motion initiation GPS positioning data, motion termination GPS positioning data and some or all of the exercise duration. 5.如权利要求4所述的基于GPS定位的运动记录器,其特征在于,所述运动类型包括走路、跑步、骑自行车和车行中的一种或几种。5. The sports recorder based on GPS positioning according to claim 4, wherein the sports type includes one or more of walking, running, cycling and driving. 6.如权利要求2所述的基于GPS定位的运动记录器,其特征在于,其还包括有存储单元,所述存储单元用于存储所述GPS定位单元采集到的GPS定位数据和运动识别单元得到的运动记录和静止记录,所述存储单元设有输入输出接口,通过所述输入输出接口能将所述GPS定位数据导出所述存储单元。6. the sports recorder based on GPS positioning as claimed in claim 2, is characterized in that, it also includes storage unit, and described storage unit is used for storing the GPS positioning data that described GPS positioning unit gathers and motion identification unit For the motion records and static records obtained, the storage unit is provided with an input and output interface, and the GPS positioning data can be exported to the storage unit through the input and output interface. 7.如权利要求6所述的基于GPS定位的运动记录器,其特征在于,7. The motion recorder based on GPS positioning as claimed in claim 6, characterized in that, 所述运动识别单元包括静动识别模块、静止记录模块、运动记录模块和记录综合模块,The motion recognition unit includes a static motion recognition module, a static recording module, a motion recording module and a record synthesis module, 所述静动识别模块,用于判断当前GPS定位数据为静止点还是运动点;The static and dynamic identification module is used to judge whether the current GPS positioning data is a static point or a moving point; 所述静止记录模块,用于在当前GPS定位数据为静止点时创建一条静止记录或更新所述静止记录; The static record module is used to create a static record or update the static record when the current GPS positioning data is a static point; 所述运动记录模块,用于在当前GPS定位数据为运动点时创建一条运动记录或更新所述运动记录;The motion record module is used to create a motion record or update the motion record when the current GPS positioning data is a motion point; 所述记录综合模块,用于接收所述静止记录模块提供的静止记录和所述运动记录模块提供的运动记录,并对所述静止记录和所述运动记录进行综合。The record integration module is configured to receive the still record provided by the still record module and the exercise record provided by the exercise record module, and integrate the still record and the exercise record. 8.如权利要求7所述的基于GPS定位的运动记录器,其特征在于,所述运动记录模块通过最高速度或/和平均速度来识别此条运动记录中对应的运动类型。8. The sports recorder based on GPS positioning as claimed in claim 7, wherein the sports recording module identifies the corresponding motion type in the motion record by the highest speed or/and average speed. 9.一种基于GPS定位的运动记录方法,其特征在于,其包括:9. A motion recording method based on GPS positioning, characterized in that it comprises: 每预定时间间隔采集一笔GPS定位数据,每笔GPS定位数据包括位置坐标和时间;A piece of GPS positioning data is collected every predetermined time interval, and each piece of GPS positioning data includes position coordinates and time; 对一段时间的GPS定位数据进行运动识别以得到此段时间内的运动记录和静止记录,所述运动记录至少包含运动距离信息,所述静止记录至少包含静止时长信息。Motion recognition is performed on GPS positioning data for a period of time to obtain motion records and static records within this period, the motion records include at least movement distance information, and the static records contain at least static duration information. 10.如权利要求9所述的基于GPS定位的运动记录方法,其特征在于,10. the motion recording method based on GPS positioning as claimed in claim 9, is characterized in that, 所述静止记录有多条,每条静止记录还包括有静止起始和终止GPS定位数据;所述运动记录包括多条,每条运动记录还包括运动类型、运动起始GPS定位数据、运动终止GPS定位数据和运动时长中的部分或全部,所述运动类型包括走路、跑步、骑自行车和车行中的一种或几种。There are many described static records, each static record also includes static start and end GPS positioning data; Part or all of the GPS positioning data and exercise duration, the exercise type includes one or more of walking, running, cycling and driving. 11.如权利要求10所述的基于GPS定位的运动记录方法,其特征在于,所述对一段时间的GPS定位数据进行运动识别以得到此段时间内的运动记录和静止记录包括:11. The motion recording method based on GPS positioning as claimed in claim 10, wherein said carrying out motion identification to GPS positioning data for a period of time to obtain motion records and static records during this period includes: 判断当前GPS定位数据为静止点还是运动点;Determine whether the current GPS positioning data is a static point or a moving point; 在当前GPS定位数据为静止点时创建一条静止记录或更新所述静止记录;Create a static record or update the static record when the current GPS positioning data is a static point; 在当前GPS定位数据为运动点时创建一条运动记录或更新所述运动记录;Create a motion record or update the motion record when the current GPS positioning data is a motion point; 综合所述静止记录和所述运动记录。The static recording and the motion recording are combined. 12.如权利要求11所述的基于GPS定位的运动记录方法,其特征在于, 12. the motion recording method based on GPS positioning as claimed in claim 11, is characterized in that, 所述静止记录包括静止时长Ts、静止起始和终止GPS定位数据,The static record includes static duration T s , static start and end GPS positioning data, 所述创建一条静止记录包括:将上一GPS定位数据作为静止起始GPS定位数据,将当前GPS定位数据作为静止终止GPS定位数据,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT赋予所述静止时长Ts作为初始值;和Said creating a static record includes: using the last GPS positioning data as the static initial GPS positioning data, using the current GPS positioning data as the static termination GPS positioning data, and combining the time in the current GPS positioning data with the time in the last GPS positioning data A time difference ΔT in time assigns said rest period T s as an initial value; and 所述更新所述静止记录包括:将当前GPS定位数据更新为静止终止GPS定位数据,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT累加至所述静止时长Ts上。The update of the static record includes: updating the current GPS positioning data to the static termination GPS positioning data, adding the time difference ΔT between the time in the current GPS positioning data and the time in the last GPS positioning data to the static duration T s on. 13.如权利要求11所述的基于GPS定位的运动记录方法,其特征在于,13. the motion recording method based on GPS positioning as claimed in claim 11, is characterized in that, 所述运动记录包括包括运动类型、运动起始和终止GPS定位数据、运动距离Dm、运动时长Tm、最高速度VmaxThe sports record includes sports type, sports start and end GPS positioning data, sports distance D m , sports duration T m , maximum speed V max , 所述创建一条运动记录包括:将所述运动类型设置为未知,将上一GPS定位数据作为运动起始GPS定位数据,将当前GPS定位数据作为运动终止GPS定位数据,将当前GPS定位数据中的地理位置与上一GPS定位数据中的地理位置的距离差值ΔD赋予所述运动距离Dm作为初始值,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT赋予所述运动时长Tm作为初始值,将根据当前GPS定位数据与上一GPS定位数据的时间差值ΔT和距离差值ΔD计算得到的瞬时速度赋予最高速度Vmax作为初始值;The creation of a motion record includes: setting the motion type to unknown, using the last GPS positioning data as the motion starting GPS positioning data, using the current GPS positioning data as the motion termination GPS positioning data, and using the current GPS positioning data The distance difference ΔD between the geographic location and the geographic location in the last GPS positioning data is given to the motion distance D m as an initial value, and the time difference ΔT between the time in the current GPS positioning data and the time in the last GPS positioning data Give the motion duration T m as an initial value, and give the highest speed Vmax as an initial value to the instantaneous speed calculated according to the time difference ΔT and the distance difference ΔD between the current GPS positioning data and the previous GPS positioning data; 更新所述运动记录包括:将当前GPS定位数据作为运动终止GPS定位数据,将当前GPS定位数据中的地理位置与上一GPS定位数据中的地理位置的距离差值ΔD累加至赋予所述运动距离Dm上,将当前GPS定位数据中的时间与上一GPS定位数据中的时间的时间差值ΔT累加至所述运动时长Tm上,将根据当前GPS定位数据与上一GPS定位数据的时间差值ΔT和距离差值ΔD计算得到的瞬时速度与之前的最高速度Vmax中的大者赋予所述最高速度Vmax作为更新值,最后根据所述最高速度Vmax确定所述运动记录的运动类型。 Updating the motion record includes: using the current GPS positioning data as the GPS positioning data for motion termination, adding the distance difference ΔD between the geographic location in the current GPS positioning data and the geographic location in the previous GPS positioning data to give the motion distance On D m , the time difference ΔT between the time in the current GPS positioning data and the time in the last GPS positioning data is added to the motion duration T m , and the time difference between the current GPS positioning data and the last GPS positioning data will be The greater of the instantaneous speed calculated by the difference ΔT and the distance difference ΔD and the previous maximum speed V max is assigned the maximum speed V max as an update value, and finally the motion of the motion record is determined according to the maximum speed V max type.
CN2009101821635A 2009-07-15 2009-07-15 Movement recorder based on GPS positioning and method thereof Expired - Fee Related CN101614560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101821635A CN101614560B (en) 2009-07-15 2009-07-15 Movement recorder based on GPS positioning and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101821635A CN101614560B (en) 2009-07-15 2009-07-15 Movement recorder based on GPS positioning and method thereof

Publications (2)

Publication Number Publication Date
CN101614560A CN101614560A (en) 2009-12-30
CN101614560B true CN101614560B (en) 2011-03-16

Family

ID=41494334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101821635A Expired - Fee Related CN101614560B (en) 2009-07-15 2009-07-15 Movement recorder based on GPS positioning and method thereof

Country Status (1)

Country Link
CN (1) CN101614560B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102946477B (en) * 2012-10-31 2014-09-10 广东欧珀移动通信有限公司 Calorie consumption calculating method based on mobile terminal
CN103281668B (en) * 2013-05-12 2016-08-24 南京载玄信息科技有限公司 Internet of Things based on intelligent positioning technology love system and its implementation
CN105333876A (en) * 2014-08-04 2016-02-17 联想(北京)有限公司 Navigation method and device
CN104567858A (en) * 2014-12-18 2015-04-29 广东小天才科技有限公司 Historical track playback method and system based on motion state
WO2017120942A1 (en) * 2016-01-15 2017-07-20 钟胜 Data acquisition method and data processing system for contrasting same area data
CN106073791B (en) * 2016-05-31 2019-05-07 Oppo广东移动通信有限公司 Calorie calculation method and device based on smart bracelet
WO2018027350A1 (en) * 2016-08-06 2018-02-15 张阳 Swimming exercise sharing method and system
WO2018027473A1 (en) * 2016-08-08 2018-02-15 张阳 Brisk walking exercise sharing method and system
CN106526619A (en) * 2016-10-26 2017-03-22 广东小天才科技有限公司 method and device for automatically starting GPS positioning function
CN108346259A (en) * 2018-02-07 2018-07-31 广东小天才科技有限公司 Motion state monitoring method, mobile terminal and storage medium
CN108810824B (en) * 2018-07-16 2021-07-09 歌尔科技有限公司 Mobile terminal positioning method, system, mobile terminal and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08235491A (en) 1995-02-27 1996-09-13 Toyota Motor Corp Vehicle running state recording device and vehicle running state analysis device
CN1384915A (en) * 1999-09-15 2002-12-11 赛尔弗技术公司 Navigation system and method for tracking position of object
CN1635337A (en) * 2003-12-30 2005-07-06 皇家飞利浦电子股份有限公司 Mobile positioning method and system
CN201004165Y (en) * 2006-11-16 2008-01-09 唐政平 Watch with global positioning function and automatic time authorization
CN101111743A (en) * 2004-12-17 2008-01-23 耐克国际有限公司 Multi-sensor monitoring of athletic performance
EP1903306A2 (en) * 2006-09-19 2008-03-26 Alpine Electronics, Inc. Method and system for estimating ground vehicle dynamics based on an integrated MEMS-INS/GPS navigation system
CN101206539A (en) * 2006-12-18 2008-06-25 三星电子株式会社 Information input apparatus and method for inputting information in 3D space, and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08235491A (en) 1995-02-27 1996-09-13 Toyota Motor Corp Vehicle running state recording device and vehicle running state analysis device
CN1384915A (en) * 1999-09-15 2002-12-11 赛尔弗技术公司 Navigation system and method for tracking position of object
CN1635337A (en) * 2003-12-30 2005-07-06 皇家飞利浦电子股份有限公司 Mobile positioning method and system
CN101111743A (en) * 2004-12-17 2008-01-23 耐克国际有限公司 Multi-sensor monitoring of athletic performance
EP1903306A2 (en) * 2006-09-19 2008-03-26 Alpine Electronics, Inc. Method and system for estimating ground vehicle dynamics based on an integrated MEMS-INS/GPS navigation system
CN201004165Y (en) * 2006-11-16 2008-01-09 唐政平 Watch with global positioning function and automatic time authorization
CN101206539A (en) * 2006-12-18 2008-06-25 三星电子株式会社 Information input apparatus and method for inputting information in 3D space, and medium

Also Published As

Publication number Publication date
CN101614560A (en) 2009-12-30

Similar Documents

Publication Publication Date Title
CN101614560B (en) Movement recorder based on GPS positioning and method thereof
JP7498696B2 (en) Health monitoring using mobile devices
US20250161751A1 (en) Program products, methods, and systems for providing location-aware fitness monitoring services
US11650325B2 (en) Systems and methods for providing a health coaching message
JP6065295B2 (en) How to display the route followed by an athlete wearing a place-aware mobile sports activity monitoring device
US10957448B2 (en) Monitoring fitness using a mobile device
US8990006B1 (en) Monitoring and tracking personal fitness information
KR101456327B1 (en) Gps features and functionality in an athletic watch system
JP6308948B2 (en) Health monitoring using mobile devices
JP2016052512A (en) Health monitoring using mobile devices
FR3021226A1 (en) METHOD FOR CALCULATING THE ACTIVITY OF A USER
US20140129189A1 (en) Systems and Methods for Speed Estimation Based on Stride Data Using Predictive Modeling
CN108133741A (en) A kind of user movement layout of roads method, user terminal, server end and Intelligent bracelet
CN201622624U (en) Movement recorder
US10331707B2 (en) System and method for determining the occurrence of organized athletic events
CN108088457A (en) A kind of user movement circuit generation method, device, system and Intelligent bracelet
CN101614561A (en) Static pen recorder and method based on the GPS location
US12105208B2 (en) Systems and methods for providing a health coaching message
CN201535946U (en) Motionlessness recording device
CN106618500A (en) Cramp early warning method and wearable terminal
CN108253990A (en) A kind of user movement circuit generation method, user terminal, server end and Intelligent bracelet

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110316

Termination date: 20200715

CF01 Termination of patent right due to non-payment of annual fee