[go: up one dir, main page]

CN106526619A - method and device for automatically starting GPS positioning function - Google Patents

method and device for automatically starting GPS positioning function Download PDF

Info

Publication number
CN106526619A
CN106526619A CN201610948763.8A CN201610948763A CN106526619A CN 106526619 A CN106526619 A CN 106526619A CN 201610948763 A CN201610948763 A CN 201610948763A CN 106526619 A CN106526619 A CN 106526619A
Authority
CN
China
Prior art keywords
user
current
heart rate
running
motion state
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.)
Pending
Application number
CN201610948763.8A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201610948763.8A priority Critical patent/CN106526619A/en
Publication of CN106526619A publication Critical patent/CN106526619A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/01Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/13Receivers
    • G01S19/14Receivers specially adapted for specific applications
    • G01S19/19Sporting applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the invention discloses a method and a device for automatically starting a GPS positioning function, wherein the method comprises the following steps: determining the current motion state of a user; and if the current motion state is running, automatically starting a GPS positioning function to record the motion trail. According to the embodiment of the invention, the current motion state of the user is determined, and the GPS positioning function is automatically started according to the current motion state to record the motion trail, so that manual operation of the user is not required, and the method and the device are more intelligent.

Description

自动开启GPS定位功能的方法及装置Method and device for automatically enabling GPS positioning function

技术领域technical field

本发明实施例涉及终端技术领域,尤其涉及一种自动开启GPS定位功能的方法及装置。Embodiments of the present invention relate to the technical field of terminals, and in particular to a method and device for automatically enabling a GPS positioning function.

背景技术Background technique

跑步健身是一种普及度很高的锻炼方式,现在越来越多的人常常会在自己跑步的时候,手动开启手机或运动穿戴设备的跑步模式,然后记录自己的运动轨迹,在自己跑完步后,截图分享以增加跑步的乐趣。Running and fitness is a very popular way of exercising. Nowadays, more and more people often manually turn on the running mode of their mobile phones or sports wearable devices when they are running, and then record their own movement track. After running, share screenshots to increase the fun of running.

而在用户跑步的过程中需要开启GPS定位功能,以记录用户的运动轨迹,但是,GPS定位功能开启后,手机或运动穿戴设备的耗电量会比较大,因此当前市场上的设备都是需要用户在自己跑步的时候手动开启GPS定位功能,跑步结束后,再手动关闭GPS定位功能,这种模式需要用户的手动干预,不够智能。While the user is running, the GPS positioning function needs to be turned on to record the user's movement track. However, after the GPS positioning function is turned on, the power consumption of the mobile phone or sports wearable device will be relatively large, so the current devices on the market need Users manually turn on the GPS positioning function when they are running, and then manually turn off the GPS positioning function after running. This mode requires manual intervention by the user and is not smart enough.

发明内容Contents of the invention

本发明实施例提供一种自动开启GPS定位功能的方法及装置,能自动开启GPS定位功能,更加智能化。Embodiments of the present invention provide a method and device for automatically enabling the GPS positioning function, which can automatically enable the GPS positioning function and is more intelligent.

第一方面,本发明实施例提供了一种自动开启GPS定位功能的方法,包括:In the first aspect, the embodiment of the present invention provides a method for automatically enabling the GPS positioning function, including:

确定用户当前运动状态;Determine the user's current exercise state;

若所述当前运动状态为跑步,则自动开启GPS定位功能记录运动轨迹。If the current exercise state is running, the GPS positioning function is automatically turned on to record the exercise track.

第二方面,本发明实施例还提供了一种自动开启GPS定位功能的装置,包括:In the second aspect, the embodiment of the present invention also provides a device for automatically enabling the GPS positioning function, including:

运动状态确定模块,用于确定用户当前运动状态;An exercise state determination module, configured to determine the user's current exercise state;

GPS开启模块,用于若所述当前运动状态为跑步,则自动开启GPS定位功能记录运动轨迹。The GPS opening module is used to automatically open the GPS positioning function to record the movement track if the current exercise state is running.

本发明实施例通过确定用户当前运动状态,根据当前运动状态自动开启GPS定位功能记录运动轨迹,而不需要用户手动操作,更加智能化。The embodiment of the present invention determines the current motion state of the user, automatically turns on the GPS positioning function to record the motion track according to the current motion state, and does not require manual operation by the user, making it more intelligent.

附图说明Description of drawings

图1是本发明实施例一中的一种自动开启GPS定位功能的方法的流程图;Fig. 1 is a flow chart of a method for automatically enabling the GPS positioning function in Embodiment 1 of the present invention;

图2是本发明实施例二中的一种自动开启GPS定位功能的方法的流程图;2 is a flow chart of a method for automatically enabling the GPS positioning function in Embodiment 2 of the present invention;

图3是本发明实施例三中的一种自动开启GPS定位功能的方法的流程图;3 is a flow chart of a method for automatically enabling the GPS positioning function in Embodiment 3 of the present invention;

图4是本发明实施例四中的一种自动开启GPS定位功能的装置的结构图。FIG. 4 is a structural diagram of a device for automatically enabling the GPS positioning function in Embodiment 4 of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

实施例一Embodiment one

图1为本发明实施例一提供的一种自动开启GPS定位功能的方法的流程图,本实施例可适用于用户在健身跑步场景下自动开启GPS定位功能记录运动轨迹的情况,该方法可以由本发明实施例提供的自动开启GPS定位功能的装置来执行,该装置可集成于移动终端(例如,手机、智能手机或平板电脑)或可穿戴设备(例如,健康手环、智能手表)中,如图1所示,具体包括:Figure 1 is a flow chart of a method for automatically enabling the GPS positioning function provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the user automatically activates the GPS positioning function to record the movement track in the fitness running scene. The method can be implemented by this The device for automatically enabling the GPS positioning function provided by the embodiment of the invention can be implemented, and the device can be integrated into a mobile terminal (for example, a mobile phone, a smart phone or a tablet computer) or a wearable device (for example, a health bracelet, a smart watch), such as As shown in Figure 1, it specifically includes:

S101、确定用户当前运动状态。S101. Determine the current exercise state of the user.

其中,所述当前运动状态包括但不限于以下任意一种:跑步、静止、走路或散步。Wherein, the current exercise state includes but is not limited to any one of the following: running, standing still, walking or walking.

具体的,可通过传感器等设备获取到用户当前运动状态。例如,通过加速度传感器检测用户当前是否在加速,通过速度传感器检测用户当前速度,通过心率传感器检测用户当前心率等,通过上述这些设备的检测结果,即可确定用户的当前运动状态。Specifically, the user's current motion state can be obtained through devices such as sensors. For example, the acceleration sensor is used to detect whether the user is currently accelerating, the speed sensor is used to detect the user's current speed, the heart rate sensor is used to detect the user's current heart rate, etc., and the user's current exercise state can be determined through the detection results of the above-mentioned devices.

S102、若所述当前运动状态为跑步,则自动开启GPS定位功能记录运动轨迹。S102. If the current exercise state is running, automatically turn on the GPS positioning function to record the exercise track.

当所述当前运动状态为跑步时,为便于用户的健康管理,或增加跑步中的乐趣,则自动开启GPS定位功能记录运动轨迹。When the current exercise state is running, in order to facilitate the user's health management or increase the fun of running, the GPS positioning function is automatically turned on to record the movement track.

本实施例通过确定用户当前运动状态,根据当前运动状态自动开启GPS定位功能记录运动轨迹,而不需要用户手动操作,更加智能化。In this embodiment, by determining the current exercise state of the user, the GPS positioning function is automatically activated to record the movement track according to the current exercise state, without manual operation by the user, which is more intelligent.

在上述实施例的基础上,确定用户当前运动状态包括:On the basis of the above-mentioned embodiments, determining the user's current exercise state includes:

采用加速度传感器检测用户当前加速度;The acceleration sensor is used to detect the user's current acceleration;

若所述当前加速度超过预设加速度阈值,则确定用户当前运动状态为跑步。If the current acceleration exceeds the preset acceleration threshold, it is determined that the user's current exercise state is running.

具体的,可采用加速度传感器检测用户当前加速度,当确定当前加速度超过预设加速度阈值时,则说明用户当前在加速前进,则确定用户当前运动状态为跑步,则自动开启GPS定位功能记录运动轨迹。否则,则确定用户处于非跑步状态,所述非跑步状态包括但不限于静止、走路或散步,则不开启GPS定位功能。Specifically, an acceleration sensor can be used to detect the user's current acceleration. When it is determined that the current acceleration exceeds the preset acceleration threshold, it means that the user is currently accelerating forward. If it is determined that the user's current exercise state is running, then the GPS positioning function is automatically turned on to record the trajectory. Otherwise, it is determined that the user is in a non-running state, and the non-running state includes but not limited to stationary, walking or walking, and the GPS positioning function is not turned on.

在上述实施例的基础上,确定用户当前运动状态包括:On the basis of the above-mentioned embodiments, determining the user's current exercise state includes:

采用速度传感器检测用户当前速度;Use the speed sensor to detect the user's current speed;

若所述当前速度超过预设速度阈值,则确定用户当前运动状态为跑步。If the current speed exceeds the preset speed threshold, it is determined that the user's current exercise state is running.

具体的,可通过速度传感器检测用户当前速度,当所述当前速度超过预设速度阈值时,则说明用户当前运动速度比较快,则确定用户当前运动状态为跑步,则自动开启GPS定位功能记录运动轨迹。否则,确定用户当前运动状态为非跑步,则不开启GPS定位功能。Specifically, the user's current speed can be detected by the speed sensor. When the current speed exceeds the preset speed threshold, it means that the user's current motion speed is relatively fast, and it is determined that the user's current motion state is running, and then the GPS positioning function is automatically turned on to record the motion. track. Otherwise, if it is determined that the user's current exercise state is not running, the GPS positioning function will not be enabled.

在上述实施例的基础上,确定用户当前运动状态包括:On the basis of the above-mentioned embodiments, determining the user's current exercise state includes:

采用心率传感器检测用户当前心率;The heart rate sensor is used to detect the user's current heart rate;

若所述当前心率超过预设心率阈值,则确定用户当前运动状态为跑步。If the current heart rate exceeds the preset heart rate threshold, it is determined that the user's current exercise state is running.

具体的,可通过所述心率传感器检测用户当前心率,若所述当前心率超过预设心率阈值时,则说明用户当前运动比较剧烈,则确定用户当前运动状态为跑步,则自动开启GPS定位功能记录运动轨迹。否则,确定用户当前运动状态为非跑步,则不开启GPS定位功能。Specifically, the user’s current heart rate can be detected by the heart rate sensor. If the current heart rate exceeds the preset heart rate threshold, it means that the user’s current exercise is relatively vigorous, and it is determined that the user’s current exercise state is running, and then the GPS positioning function record is automatically turned on. motion track. Otherwise, if it is determined that the user's current exercise state is not running, the GPS positioning function will not be enabled.

在上述实施例的基础上,为更为准确的确定用户当前运动状态为跑步状态,可采用上述检测用户当前加速度、检测用户当前速度和检测用户当前心率中的两两组合或三者组合进行确定。On the basis of the above-mentioned embodiments, in order to more accurately determine that the user's current exercise state is the running state, the above-mentioned detection of the user's current acceleration, detection of the user's current speed, and detection of the user's current heart rate can be used to determine the combination of two or three .

具体的,采用加速度传感器检测用户当前加速度,若所述当前加速度超过预设加速度阈值,则采用速度传感器检测用户当前速度,若所述当前速度超过预设速度阈值,则确定用户当前运动状态为跑步,也就是说,只有用户当前加速度和当前速度均满足预设条件时,才确定用户当前运动状态为跑步,这样就进一步提高了用户当前状态为跑步状态的准确度。Specifically, an acceleration sensor is used to detect the user's current acceleration. If the current acceleration exceeds a preset acceleration threshold, a speed sensor is used to detect the user's current speed. If the current speed exceeds a preset speed threshold, it is determined that the user's current exercise state is running. , that is, only when the user's current acceleration and current speed meet the preset conditions, is it determined that the user's current exercise state is running, which further improves the accuracy of the user's current state as running.

或者,采用速度传感器检测用户当前速度,若所述当前速度超过预设速度阈值,则采用心率传感器检测用户当前心率,若所述当前心率超过预设心率阈值,则确定用户当前运动状态为跑步,也就是说,只有用户当前速度和当前心率均满足预设条件时,才确定用户当前运动状态为跑步,这样就进一步提高了用户当前状态为跑步状态的准确度。Alternatively, a speed sensor is used to detect the user's current speed, and if the current speed exceeds a preset speed threshold, a heart rate sensor is used to detect the user's current heart rate, and if the current heart rate exceeds a preset heart rate threshold, it is determined that the user's current exercise state is running, That is to say, only when the user's current speed and current heart rate meet the preset conditions, is it determined that the user's current exercise state is running, which further improves the accuracy that the user's current state is running.

或者,采用加速度传感器检测用户当前加速度,若所述当前加速度超过预设加速度阈值,则采用速度传感器检测用户当前速度,若所述当前速度超过预设速度阈值,则采用心率传感器检测用户当前心率,若所述当前心率超过预设心率阈值,则确定用户当前运动状态为跑步,也就是说,只有用户当前加速度、当前速度和当前心率均满足预设条件时,才确定用户当前运动状态为跑步,这样就进一步提高了用户当前状态为跑步状态的准确度。Alternatively, an acceleration sensor is used to detect the user's current acceleration, and if the current acceleration exceeds a preset acceleration threshold, a speed sensor is used to detect the user's current speed, and if the current speed exceeds a preset speed threshold, a heart rate sensor is used to detect the user's current heart rate, If the current heart rate exceeds the preset heart rate threshold, it is determined that the user's current exercise state is running, that is, only when the user's current acceleration, current speed, and current heart rate all meet the preset conditions, it is determined that the user's current exercise state is running. This further improves the accuracy that the user's current state is a running state.

在上述实施例的基础上,自动开启GPS定位功能记录运动轨迹包括:On the basis of the above-described embodiments, automatically opening the GPS positioning function to record the motion track includes:

采用GPS对用户进行定位并记录运动轨迹;Use GPS to locate the user and record the movement track;

在用户移动过程中采用摄像头沿路采集路边风景信息,并分享所述运动轨迹和/或风景信息,或获取用户途径位置处的名胜古迹,分享所述运动轨迹和/或名胜古迹。During the user's movement, the camera is used to collect roadside scenery information along the road, and share the movement trajectory and/or scenery information, or obtain the places of interest at the location where the user passes, and share the movement trajectory and/or places of interest.

其中,所述摄像头可为用户携带的便携设备的摄像头,例如智能手表上的微摄像头。或者,是挂在用户身上的移动终端或相机的摄像头。当自动开启GPS定位功能之后,可将开启指令通过蓝牙、或移动网络传输至所述移动终端或相机,使其开启摄像功能。摄像头根据用户的移动沿路拍摄路边的风景,自动将拍摄的风景分享至朋友圈,或者将其传输至移动终端的即时通信应用(例如,QQ或微信)中,通过移动终端将其分享至朋友圈。Wherein, the camera may be a camera of a portable device carried by a user, such as a micro camera on a smart watch. Or, it is a camera of a mobile terminal or a camera hung on the user. After the GPS positioning function is automatically turned on, the turn-on command can be transmitted to the mobile terminal or camera via bluetooth or mobile network to make it turn on the camera function. The camera shoots the roadside scenery along the road according to the user's movement, automatically shares the captured scenery to the circle of friends, or transmits it to the instant messaging application (for example, QQ or WeChat) of the mobile terminal, and shares it with friends through the mobile terminal lock up.

或者,通过互联网查询用户经过位置处附近的名胜古迹,可采用上述同样的方式将其分享至朋友圈。Or, query the places of interest near the location where the user passes by through the Internet, and share it to the circle of friends in the same way as above.

在上述实施例的基础上,为使装置更加智能化,在用户跑步结束后,所述方法还包括:On the basis of the above embodiments, in order to make the device more intelligent, after the user finishes running, the method further includes:

若所述当前运动状态为停止跑步状态,则自动关闭GPS定位功能停止记录运动轨迹。If the current exercise state is a state of stopping running, the GPS positioning function is automatically turned off to stop recording the motion track.

其中,当确定用户当前运动状态为以下任意一种或组合时,确定用户当前运动状态为所述停止跑步状态:用户当前加速度低于预设加速度阈值或低于预设加速度阈值预设时间、用户当前速度低于预设速度阈值或低于预设速度阈值预设时间、用户当前心率低于预设心率阈值或低于预设心率阈值。Wherein, when it is determined that the user's current exercise state is any one or combination of the following, it is determined that the user's current exercise state is the stopped running state: the user's current acceleration is lower than the preset acceleration threshold or the preset time is lower than the preset acceleration threshold, the user The current speed is lower than the preset speed threshold or lower than the preset speed threshold for a preset time, and the user's current heart rate is lower than the preset heart rate threshold or lower than the preset heart rate threshold.

在上述实施例的基础上,为了方便用户健康管理,及时了解自己当前运动情况,所述方法还包括:On the basis of the above embodiments, in order to facilitate the user's health management and keep abreast of his current exercise situation, the method further includes:

显示提醒消息,以提醒用户查看从自动开启GPS定位功能至自动停止GPS定位功能时间段内记录的运动轨迹。A reminder message is displayed to remind the user to check the movement track recorded during the time period from when the GPS positioning function is automatically turned on to when the GPS positioning function is automatically stopped.

上述实施例通过确定用户当前运动状态,根据当前运动状态自动开启GPS定位功能记录运动轨迹,而不需要用户手动操作,更加智能化。The above-mentioned embodiments determine the current exercise state of the user, and automatically turn on the GPS positioning function to record the movement track according to the current exercise state, without manual operation by the user, and are more intelligent.

实施例二Embodiment two

图2为本发明实施例二提供的一种自动开启GPS定位功能的方法的流程图,本实施例在上述实施例的基础上,为进一步增加装置确定用户当前运动状态的精确度,同时检测用户当前加速度和用户当前心率,根据当前加速度和当前心率确定用户当前运动状态。如图2所示,具体包括:Figure 2 is a flow chart of a method for automatically enabling the GPS positioning function provided by Embodiment 2 of the present invention. On the basis of the above embodiments, this embodiment further increases the accuracy of the device in determining the user's current motion state, and at the same time detects the user's The current acceleration and the current heart rate of the user are used to determine the current exercise state of the user according to the current acceleration and the current heart rate. As shown in Figure 2, specifically include:

S201、采用加速度传感器检测用户当前加速度。S201. Use an acceleration sensor to detect the current acceleration of the user.

S202、若所述当前加速度超过预设加速度阈值,则采用心率传感器检测用户当前心率。S202. If the current acceleration exceeds a preset acceleration threshold, use a heart rate sensor to detect the user's current heart rate.

S203、若所述当前心率超过预设心率阈值,则确定用户当前运动状态为跑步。S203. If the current heart rate exceeds the preset heart rate threshold, determine that the user's current exercise state is running.

S204、自动开启GPS定位功能记录运动轨迹。S204. Automatically enable the GPS positioning function to record the movement track.

本实施例通过检测用户当前加速度和当前心率,根据当前加速度和当前心率确定用户当前运动状态,当用户当前运动状态为跑步时,自动开启GPS定位功能记录运动轨迹,可以进一步增加判断用户当前状态的精确度。In this embodiment, by detecting the user's current acceleration and current heart rate, the user's current motion state is determined according to the current acceleration and current heart rate. When the user's current motion state is running, the GPS positioning function is automatically turned on to record the motion track, which can further increase the ability to judge the user's current state. Accuracy.

另外,除本实施例所述的将检测用户当前加速度和检测用户当前心率进行组合进行确定用户当前运动状态之外,也可以将检测用户当前速度和检测用户当前加速度进行组合进行确定用户当前运动状态,或者将检测用户当前速度和检测用户当前心率进行组合进行确定用户当前运动状态,或者是三者的组合确定用户当前运动状态。其具体实施过程类似本实施例的过程,这里不再一一描述。In addition, in addition to combining the detection of the user's current acceleration and the detection of the user's current heart rate to determine the user's current exercise state in this embodiment, it is also possible to combine the detection of the user's current speed and the detection of the user's current acceleration to determine the user's current exercise state , or combine the detection of the user's current speed and the detection of the user's current heart rate to determine the user's current exercise state, or a combination of the three to determine the user's current exercise state. Its specific implementation process is similar to the process of this embodiment, and will not be described one by one here.

实施例三Embodiment Three

图3为本发明实施例三提供的一种自动开启GPS定位功能的方法的流程图,本实施例在上述实施例的基础上,为进一步增加若所述当前运动状态为停止跑步状态,则自动关闭GPS定位功能停止记录运动轨迹。如图3所示,具体包括:Figure 3 is a flow chart of a method for automatically enabling the GPS positioning function provided by Embodiment 3 of the present invention. On the basis of the above embodiments, this embodiment further adds that if the current state of exercise is a state of stopping running, then automatically Turn off the GPS positioning function to stop recording the motion track. As shown in Figure 3, specifically include:

S301、确定用户当前运动状态。S301. Determine the current exercise state of the user.

具体的,可通过本实施一中所述的任意一种单独根据用户当前加速度、用户当前速度和用户当前心率确定用户当前运动状态。或者,根据实施例二中所述的当前加速度、用户当前速度和用户当前心率中的任意组合确定用户当前运动状态。若所述当前运动状态为跑步,则执行S302;若所述当前运动状态为停止跑步状态,则执行S303。Specifically, the user's current motion state can be determined solely based on the user's current acceleration, user's current speed, and user's current heart rate through any of the methods described in the first implementation. Alternatively, the user's current exercise state is determined according to any combination of the current acceleration, the user's current speed, and the user's current heart rate described in Embodiment 2. If the current exercise state is running, execute S302; if the current exercise state is not running, execute S303.

其中,可根据以下任意一种或组合确定所述当前运动状态为停止跑步状态:用户当前加速度低于预设加速度阈值或低于预设加速度阈值预设时间、用户当前速度低于预设速度阈值或低于预设速度阈值预设时间、用户当前心率低于预设心率阈值或低于预设心率阈值预设时间。Wherein, the current exercise state can be determined to be a stopped running state according to any one or combination of the following: the user's current acceleration is lower than the preset acceleration threshold or lower than the preset acceleration threshold for a preset time, the user's current speed is lower than the preset speed threshold Or be lower than the preset speed threshold for a preset time, the user's current heart rate is lower than the preset heart rate threshold or lower than the preset heart rate threshold for a preset time.

S302、自动开启GPS定位功能记录运动轨迹。S302. Automatically enable the GPS positioning function to record the movement track.

S303、自动关闭GPS定位功能停止记录运动轨迹。S303. Automatically turn off the GPS positioning function and stop recording the movement track.

可选的,在自动关闭GPS定位功能停止记录运动轨迹之后,则显示提醒消息,以提醒用户查看从自动开启GPS定位功能至自动停止GPS定位功能时间段内记录的运动轨迹,以方便用户健康管理,及时了解自己当前运动情况。Optionally, after the GPS positioning function is automatically turned off to stop recording the motion track, a reminder message is displayed to remind the user to view the motion track recorded during the time period from automatically turning on the GPS positioning function to automatically stopping the GPS positioning function, so as to facilitate user health management , keep abreast of your current exercise situation.

本实施例通过根据用户当前运动状态可自动开启/关闭GPS定位功能记录运动轨迹,而不需要用户手动操作,更加智能化。In this embodiment, the GPS positioning function can be automatically turned on/off to record the movement track according to the user's current movement state, without manual operation by the user, which is more intelligent.

实施例四Embodiment four

图4所示为本发明实施例五提供的一种自动开启GPS定位功能的装置的结构示意图,该装置可采用软件或硬件的方式实现,该装置可集成于移动终端(例如,手机、智能手机或平板电脑)或可穿戴设备(例如,健康手环、智能手表)中,如图4所示,该装置的具体结构如下:运动状态确定模块41和GPS开启模块42;Figure 4 is a schematic structural diagram of a device for automatically enabling the GPS positioning function provided by Embodiment 5 of the present invention. The device can be implemented in software or hardware, and the device can be integrated into a mobile terminal (such as a mobile phone, a smart phone, etc.) or tablet computer) or wearable devices (for example, health bracelets, smart watches), as shown in Figure 4, the specific structure of the device is as follows: motion state determination module 41 and GPS opening module 42;

所述运动状态确定模块41用于确定用户当前运动状态;The exercise state determination module 41 is used to determine the user's current exercise state;

所述GPS开启模块42用于若所述当前运动状态为跑步,则自动开启GPS定位功能记录运动轨迹。The GPS enabling module 42 is used to automatically enable the GPS positioning function to record the movement track if the current exercise state is running.

本实施例所述自动开启GPS定位功能的装置用于执行上述各实施例所述的自动开启GPS定位功能的方法,其技术原理和产生的技术效果类似,这里不再赘述。The device for automatically enabling the GPS positioning function described in this embodiment is used to implement the methods for automatically enabling the GPS positioning function described in the above-mentioned embodiments, and its technical principles and technical effects are similar, and will not be repeated here.

在上述实施例的基础上,所述运动状态确定模块41包括:加速度传感器411;On the basis of the foregoing embodiments, the motion state determination module 41 includes: an acceleration sensor 411;

所述加速度传感器411用于检测用户当前加速度;The acceleration sensor 411 is used to detect the user's current acceleration;

所述运动状态确定模块41具体用于,若所述当前加速度超过预设加速度阈值,则确定用户当前运动状态为跑步。The exercise state determining module 41 is specifically configured to determine that the user's current exercise state is running if the current acceleration exceeds a preset acceleration threshold.

在上述实施例的基础上,所述运动状态确定模块41包括:速度传感器412;On the basis of the foregoing embodiments, the motion state determining module 41 includes: a speed sensor 412;

所述速度传感器412用于检测用户当前速度;The speed sensor 412 is used to detect the user's current speed;

所述运动状态确定模块41具体用于,若所述当前速度超过预设速度阈值,则确定用户当前运动状态为跑步。The exercise state determining module 41 is specifically configured to determine that the user's current exercise state is running if the current speed exceeds a preset speed threshold.

在上述实施例的基础上,所述运动状态确定模块41包括:心率传感器413;On the basis of the above-mentioned embodiments, the exercise state determination module 41 includes: a heart rate sensor 413;

所述心率传感器413用于检测用户当前心率;The heart rate sensor 413 is used to detect the user's current heart rate;

所述运动状态确定模块41具体用于,若所述当前心率超过预设心率阈值,则确定用户当前运动状态为跑步。The exercise state determining module 41 is specifically configured to determine that the user's current exercise state is running if the current heart rate exceeds a preset heart rate threshold.

在上述实施例的基础上,所述GPS开启模块具体用于,采用GPS对用户进行定位并记录运动轨迹;在用户移动过程中采用摄像头沿路采集路边风景信息,并分享所述运动轨迹和/或风景信息,或获取用户途径位置处的名胜古迹,分享所述运动轨迹和/或名胜古迹。On the basis of the above-mentioned embodiments, the GPS opening module is specifically used to use GPS to locate the user and record the movement trajectory; to use the camera to collect roadside scenery information along the road during the user's movement, and to share the movement trajectory and/or Or landscape information, or obtain the places of interest at the location where the user passes, and share the motion trajectory and/or places of interest.

在上述实施例的基础上,所述装置还包括:GPS关闭模块43;On the basis of the above embodiments, the device further includes: a GPS off module 43;

所述GPS关闭模块43用于若所述当前运动状态为停止跑步状态,则自动关闭GPS定位功能停止记录运动轨迹。The GPS closing module 43 is used to automatically close the GPS positioning function and stop recording the motion track if the current motion state is a state of stopping running.

在上述实施例的基础上,所述装置还包括:消息提醒模块44;On the basis of the above embodiments, the device further includes: a message reminding module 44;

所述消息提醒模块44用于显示提醒消息,以提醒用户查看从自动开启GPS定位功能至自动停止GPS定位功能时间段内记录的运动轨迹。The message reminder module 44 is used for displaying a reminder message to remind the user to view the movement track recorded during the time period from when the GPS positioning function is automatically turned on to when the GPS positioning function is automatically stopped.

上述各实施例所述自动开启GPS定位功能的装置用于执行上述各实施例所述的自动开启GPS定位功能的方法,其技术原理和产生的技术效果类似,这里不再赘述。The device for automatically enabling the GPS positioning function described in the above embodiments is used to implement the method for automatically enabling the GPS positioning function described in the above embodiments. The technical principles and technical effects are similar and will not be repeated here.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (12)

1. a kind of method for automatically turning on GPS location function, it is characterised in that include:
Determine user's current motion state;
If the current motion state automatically turns on GPS location function record movement locus to run.
2. method according to claim 1, it is characterised in that determine that user's current motion state includes:
User's current acceleration is detected using acceleration transducer;
If the current acceleration exceedes predetermined acceleration threshold value, it is determined that user's current motion state is running.
3. method according to claim 1, it is characterised in that determine that user's current motion state includes:
User's present speed is detected using velocity sensor;
If the present speed exceedes pre-set velocity threshold value, it is determined that user's current motion state is running.
4. method according to claim 1, it is characterised in that determine that user's current motion state includes:
User's Current heart rate is detected using heart rate sensor;
If the Current heart rate exceedes default heart rate threshold, it is determined that user's current motion state is running.
5. the method according to any one of Claims 1 to 4, it is characterised in that automatically turn on the record motion of GPS location function Track includes:
User is positioned using GPS and recorded movement locus;
Roadside landscape information is gathered along road using camera in user's moving process, and shares the movement locus and/or wind Scape information, or the scenic spots and historical sites at user's approach position are obtained, share the movement locus and/or the scenic spots and historical sites.
6. the method according to any one of Claims 1 to 4, it is characterised in that also include:
Display alarm message, to remind user to check from automatically turning on GPS location function to being automatically stopped the GPS location function time The movement locus of record in section.
7. a kind of device for automatically turning on GPS location function, it is characterised in that include:
Moving state determining module, for determining user's current motion state;
GPS opening modules, if automatically turning on GPS location function record motion rail to run for the current motion state Mark.
8. device according to claim 7, it is characterised in that the moving state determining module includes:
Acceleration transducer, for detecting user's current acceleration;
The moving state determining module is specifically for if the current acceleration exceedes predetermined acceleration threshold value, it is determined that use Family current motion state is running.
9. device according to claim 7, it is characterised in that the moving state determining module includes:
Velocity sensor, for detecting user's present speed;
The moving state determining module is specifically for if the present speed exceedes pre-set velocity threshold value, it is determined that user works as Front motion state is running.
10. device according to claim 7, it is characterised in that the moving state determining module includes:
Heart rate sensor, for detecting user's Current heart rate;
The moving state determining module is specifically for if the Current heart rate exceedes default heart rate threshold, it is determined that user works as Front motion state is running.
11. devices according to any one of claim 7~10, it is characterised in that the GPS opening modules specifically for, User is positioned using GPS and recorded movement locus;Roadside wind is gathered along road using camera in user's moving process Scape information, and share the movement locus and/or landscape information, or the scenic spots and historical sites at user's approach position are obtained, share institute State movement locus and/or the scenic spots and historical sites.
12. devices according to any one of claim 7~10, it is characterised in that also include:
Prompting message module, for display alarm message, to remind user to check from automatically turning on GPS location function to stopping automatically The movement locus for only recording in the GPS location function time period.
CN201610948763.8A 2016-10-26 2016-10-26 method and device for automatically starting GPS positioning function Pending CN106526619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610948763.8A CN106526619A (en) 2016-10-26 2016-10-26 method and device for automatically starting GPS positioning function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610948763.8A CN106526619A (en) 2016-10-26 2016-10-26 method and device for automatically starting GPS positioning function

Publications (1)

Publication Number Publication Date
CN106526619A true CN106526619A (en) 2017-03-22

Family

ID=58293427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610948763.8A Pending CN106526619A (en) 2016-10-26 2016-10-26 method and device for automatically starting GPS positioning function

Country Status (1)

Country Link
CN (1) CN106526619A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107896283A (en) * 2017-11-28 2018-04-10 广东乐心医疗电子股份有限公司 Positioning connection method, device and system and wearable device
CN108513250A (en) * 2018-02-11 2018-09-07 上海康斐信息技术有限公司 A kind of trajectory track method and system based on pattern-recognition
CN108761496A (en) * 2018-05-23 2018-11-06 四川斐讯信息技术有限公司 A kind of method and device automatically turning on GPS
CN112201230A (en) * 2019-07-08 2021-01-08 安徽华米信息科技有限公司 Voice response method, device, equipment and storage medium

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111743A (en) * 2004-12-17 2008-01-23 耐克国际有限公司 Multi-sensor monitoring of athletic performance
CN101614560A (en) * 2009-07-15 2009-12-30 无锡爱睿芯电子有限公司 Spirograph and method based on the GPS location
CN201622624U (en) * 2009-07-15 2010-11-03 无锡爱睿芯电子有限公司 Movement recorder
CN102565824A (en) * 2010-12-24 2012-07-11 深圳市赛格导航科技股份有限公司 GPS (Global Positioning System) equipment and power supply management method thereof
CN103154954A (en) * 2010-08-09 2013-06-12 耐克国际有限公司 Monitoring fitness using a mobile device
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method
CN104605827A (en) * 2015-01-15 2015-05-13 辛勤 Human body vigorous motion state judgment method and device
CN104698478A (en) * 2015-02-10 2015-06-10 柳州市金旭节能科技有限公司 Self running positioning terminal
US20150260849A1 (en) * 2014-03-14 2015-09-17 Under Armour, Inc. System and method for graph encoding of physical activity data
CN105138589A (en) * 2015-07-31 2015-12-09 北京奇虎科技有限公司 Geographical location monitoring method and device
CN105204647A (en) * 2015-10-09 2015-12-30 联想(北京)有限公司 Information-processing method and electronic equipment
CN105496416A (en) * 2015-12-28 2016-04-20 歌尔声学股份有限公司 Human motion state recognition method and device
CN105496428A (en) * 2015-12-14 2016-04-20 北京奇虎科技有限公司 Wearable device control implementation method and device
CN105852826A (en) * 2016-03-22 2016-08-17 北京奇虎科技有限公司 Terminal and method for determining physiological information by adopting terminal

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101111743A (en) * 2004-12-17 2008-01-23 耐克国际有限公司 Multi-sensor monitoring of athletic performance
CN101614560A (en) * 2009-07-15 2009-12-30 无锡爱睿芯电子有限公司 Spirograph and method based on the GPS location
CN201622624U (en) * 2009-07-15 2010-11-03 无锡爱睿芯电子有限公司 Movement recorder
CN103154954A (en) * 2010-08-09 2013-06-12 耐克国际有限公司 Monitoring fitness using a mobile device
CN102565824A (en) * 2010-12-24 2012-07-11 深圳市赛格导航科技股份有限公司 GPS (Global Positioning System) equipment and power supply management method thereof
US20150260849A1 (en) * 2014-03-14 2015-09-17 Under Armour, Inc. System and method for graph encoding of physical activity data
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method
CN104605827A (en) * 2015-01-15 2015-05-13 辛勤 Human body vigorous motion state judgment method and device
CN104698478A (en) * 2015-02-10 2015-06-10 柳州市金旭节能科技有限公司 Self running positioning terminal
CN105138589A (en) * 2015-07-31 2015-12-09 北京奇虎科技有限公司 Geographical location monitoring method and device
CN105204647A (en) * 2015-10-09 2015-12-30 联想(北京)有限公司 Information-processing method and electronic equipment
CN105496428A (en) * 2015-12-14 2016-04-20 北京奇虎科技有限公司 Wearable device control implementation method and device
CN105496416A (en) * 2015-12-28 2016-04-20 歌尔声学股份有限公司 Human motion state recognition method and device
CN105852826A (en) * 2016-03-22 2016-08-17 北京奇虎科技有限公司 Terminal and method for determining physiological information by adopting terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107896283A (en) * 2017-11-28 2018-04-10 广东乐心医疗电子股份有限公司 Positioning connection method, device and system and wearable device
CN108513250A (en) * 2018-02-11 2018-09-07 上海康斐信息技术有限公司 A kind of trajectory track method and system based on pattern-recognition
CN108761496A (en) * 2018-05-23 2018-11-06 四川斐讯信息技术有限公司 A kind of method and device automatically turning on GPS
CN112201230A (en) * 2019-07-08 2021-01-08 安徽华米信息科技有限公司 Voice response method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104333654B (en) Dangerous based reminding method and device and portable electric appts
CN105116917B (en) Flight equipment landing method and device
US10832041B2 (en) Information processing apparatus, information processing method, and program for detecting a target motion
JP6391813B2 (en) Information presentation method and apparatus
US20170124837A1 (en) Communication method, apparatus, system and computer-readable medium for wearable device
CN106534523A (en) Mobile terminal danger early-warning method, and mobile terminal
CN104008664B (en) Road condition information acquisition method and relevant apparatus
KR102359281B1 (en) Method and wearable device for providing information on exercise
CN105872952B (en) Information sending method and device based on wearable equipment
CN109145679A (en) A kind of method, apparatus and system issuing warning information
CN110572776A (en) Method for dividing security area, terminal and storage medium
CN106526619A (en) method and device for automatically starting GPS positioning function
CN106407984A (en) Target object recognition method and device
CN104284010B (en) Communication device with automatic replay function and automatic reply communication method thereof
CN106131792A (en) User movement state monitoring method and device
CN112187998B (en) A drop reminder method and terminal device
CN103354582A (en) Method and system for intelligently associating with application through sensor
CN107508690A (en) A kind of communication means, device and storage medium
CN109191779A (en) Safety prompting method based on intelligent wearable device and intelligent wearable device
CN105448085B (en) Go across the road reminding method, device and terminal device
CN113050855B (en) Information output method and terminal equipment
US10257586B1 (en) System and method for timing events utilizing video playback on a mobile device
CN112968992B (en) Dynamic distance prompting method and terminal equipment
CN111815943A (en) Method, device, device and storage medium for detection of vehicle parking times
CN103118167A (en) System and method for mobile terminal to calculate motion speed and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170322