WO2013091411A1 - Terminal and method for starting navigation function thereof - Google Patents

Terminal and method for starting navigation function thereof Download PDF

Info

Publication number
WO2013091411A1
WO2013091411A1 PCT/CN2012/081584 CN2012081584W WO2013091411A1 WO 2013091411 A1 WO2013091411 A1 WO 2013091411A1 CN 2012081584 W CN2012081584 W CN 2012081584W WO 2013091411 A1 WO2013091411 A1 WO 2013091411A1
Authority
WO
WIPO (PCT)
Prior art keywords
threshold
terminal
axis
value
acceleration
Prior art date
Application number
PCT/CN2012/081584
Other languages
French (fr)
Chinese (zh)
Inventor
刘炼
仵小勇
祝红梅
Original Assignee
惠州Tcl移动通信有限公司
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 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2013091411A1 publication Critical patent/WO2013091411A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/36Input/output arrangements for on-board computers
    • G01C21/3664Details of the user input interface, e.g. buttons, knobs or sliders, including those provided on a touch screen; remote controllers; input using gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information

Definitions

  • the present invention relates to the field of mobile communications, and in particular, to a terminal and a method for starting the same.
  • GPS Global Positioning System, Global Positioning System navigation
  • the user can use the navigation of the mobile phone to achieve the function of the car navigation device when driving, therefore, a large number of users have directly applied the navigation function of the mobile phone to the car navigation.
  • the GPS navigation in the mobile phone is one of the many functions of the mobile phone.
  • the user needs to perform two or even multiple manual click operations through the desktop window of the mobile phone to start.
  • other actions are generally required, including wearing a seat belt.
  • the additional opening action of the GPS brings inconvenience to the user; or when driving, the user needs to pay attention to the road condition at any time, too much and complicated. Turning on the GPS operation process brings certain security risks to the user.
  • the technical problem to be solved by the present invention is to provide a terminal and a method for starting the navigation device in the terminal, which can intelligently activate the navigation device, facilitate users, enhance security, and improve user experience.
  • a technical solution adopted by the present invention is: a terminal, comprising: a sensor module, configured to acquire a three-axis direction acceleration of a terminal and a distance between a terminal and a human body in a first unit time, wherein the three axes are The X-axis, the Y-axis, and the Z-axis, specifically, the sensor module is configured to acquire the acceleration of the terminal in the Z-axis direction in the second unit time, and determine whether the absolute value of the acceleration in the Z-axis direction reaches the fifth threshold, and the fifth threshold Corresponding to the acceleration of the vehicle start; if the absolute value of the acceleration in the Z-axis direction reaches the fifth threshold, the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed, or is used to acquire in the second unit time The speed of the terminal in the Z-axis direction, and determining whether the speed in the Z-axis direction reaches the sixth threshold.
  • the sixth threshold corresponds to the speed of the vehicle running, and the step of starting the navigation function of the terminal is performed. Otherwise, the step of starting the navigation function of the terminal is not performed
  • the sensor module includes a gravity acceleration sensor and a speed sensing And a distance sensor; a judging module, configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determine whether the acceleration change value in the Z-axis direction reaches a third threshold, the first threshold, the first The second threshold corresponds to the rotation action of the terminal, the third threshold corresponds to the back-off action of the terminal, and the startup module is configured to: if the absolute values of the X-axis and the Y-axis acceleration change respectively reach the first threshold, the second threshold, and the Z-axis acceleration change value A third threshold is reached, and the distance between the terminal and the human body reaches a fourth threshold, and the navigation function of
  • the determining module is further configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold; the absolute values of the acceleration changes in the X-axis and the Y-axis respectively reach the first threshold and the second
  • the threshold value determines whether the acceleration change value in the Z-axis direction reaches the third threshold value; if the acceleration change value in the Z-axis direction reaches the third threshold value, the step of acquiring the distance value between the terminal and the human body is performed.
  • the determining module is further configured to determine whether the acceleration value of the Z-axis direction reaches a third threshold; if the acceleration value of the Z-axis direction reaches a third threshold, determine whether the absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches the first threshold. And a second threshold; if the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, the step of acquiring the distance value between the terminal and the human body is performed.
  • the distance sensing module is an infrared distance sensor.
  • the terminal is a mobile phone.
  • a terminal comprising: a sensor module, configured to acquire the acceleration of the three-axis direction of the terminal and the distance between the terminal and the human body in the first unit time, wherein three The axis is an X-axis, a Y-axis, and a Z-axis; the judging module is configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determine whether the acceleration change value in the Z-axis direction reaches the third value.
  • the threshold, the first threshold, the second threshold, and the third threshold respectively correspond to the terminal tapping to the left, the tapping to the right, and the backing action; and the starting module is configured to obtain the absolute values of the acceleration changes of the X-axis and the Y-axis respectively.
  • the threshold value, the second threshold value, and the Z-axis direction acceleration change value reach a third threshold value, and the distance value between the terminal and the human body reaches a fourth threshold value, and the navigation function of the terminal is activated.
  • the sensor module is configured to acquire the acceleration of the terminal in the Z-axis direction in the second unit time, and determine whether the absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, and the fifth threshold corresponds to the acceleration of the vehicle startup; if the Z-axis The absolute value of the acceleration of the direction reaches a fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed; or the speed of the terminal in the Z-axis direction is acquired in the second unit time, and Determining whether the speed in the Z-axis direction reaches the sixth threshold, if the speed in the Z-axis direction reaches the sixth threshold, and the sixth threshold corresponds to the speed of the vehicle running, performing the step of guiding the navigation function of the terminal; otherwise, the step of starting the navigation function of the terminal is not performed. .
  • the determining module is configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold; if the absolute values of the acceleration changes in the X-axis and the Y-axis respectively reach the first threshold and the second a threshold value, determining whether the acceleration change value in the Z-axis direction reaches a third threshold value; if the Z-axis direction acceleration change value reaches a third threshold value, performing a step of acquiring a distance value between the terminal and the human body; or determining whether the Z-axis direction acceleration change value is reached The third threshold; if the acceleration change value in the Z-axis direction reaches the third threshold, determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold; if the acceleration in the X-axis and the Y-axis direction is absolute The values reach the first threshold and the second threshold respectively, and the step of acquiring the distance value between the terminal
  • the sensor module includes a gravity acceleration sensor, a speed sensor, and a distance sensor.
  • the distance sensing module is an infrared distance sensor.
  • the terminal is a mobile phone.
  • another technical solution adopted by the present invention is to provide a method for starting the navigation device in the terminal, comprising the steps of: acquiring the acceleration of the terminal in three directions in the first unit time, wherein the three axes are the X axis , the Y-axis and the Z-axis; determining whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determining whether the acceleration change value in the Z-axis direction reaches the third threshold, the first threshold and the second threshold Corresponding to the rotation action of the terminal, the third threshold corresponds to the back-off action of the terminal; if the absolute values of the X-axis and Y-axis acceleration changes respectively reach the first threshold, the second threshold, and the Z-axis acceleration change value reaches the third threshold, the acquisition terminal The distance value from the human body, if the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is activated.
  • the terminal is activated.
  • the method includes: acquiring the acceleration of the terminal in the Z-axis direction in the second unit time, and determining whether the absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, and the fifth threshold corresponds to the acceleration of the vehicle startup; The absolute value of the acceleration in the axial direction reaches the fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed.
  • the terminal is activated.
  • the method includes: acquiring the speed of the terminal in the Z-axis direction in the second unit time, and determining whether the speed in the Z-axis direction reaches a sixth threshold, and if the speed in the Z-axis direction reaches a sixth threshold, the sixth threshold.
  • the navigation function step of starting the terminal is executed corresponding to the speed of the vehicle running, otherwise the step of starting the navigation function of the terminal is not performed.
  • the determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches the first threshold and the second threshold respectively, and determining whether the acceleration change value in the Z-axis direction reaches the third threshold includes: determining the acceleration change in the X-axis and the Y-axis direction. Whether the absolute value of the acceleration value of the X-axis and the Y-axis direction respectively reaches the first threshold value and the second threshold value, and determines whether the acceleration value of the Z-axis direction reaches the third threshold value; The acceleration change value in the Z-axis direction reaches a third threshold, and the step of acquiring the distance value between the terminal and the human body is performed.
  • the determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches the first threshold and the second threshold respectively, and determining whether the acceleration change value in the Z-axis direction reaches the third threshold includes: determining the acceleration change in the X-axis and the Y-axis direction.
  • the absolute value of the acceleration value reaches the first threshold value and the second threshold value respectively; if the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold value and the second threshold value, determine whether the acceleration value in the Z-axis direction reaches the third threshold value; The acceleration change value in the Z-axis direction reaches a third threshold, and the step of acquiring the distance value between the terminal and the human body is performed.
  • the beneficial effects of the present invention are: different from the prior art, the method for starting the navigation function in the terminal and the terminal thereof, by acquiring the acceleration in the X-axis, the Y-axis and the Z-axis direction per unit time, if the X-axis, When the accelerations in the Y-axis and the Z-axis reach the first, second and third thresholds respectively, and the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is automatically activated, and the navigation function in the terminal can be intelligently activated, which is convenient for the user. Enhance security and enhance the user experience.
  • FIG. 1 is a flowchart of a first embodiment of a method for starting a navigation function in a terminal of the present invention
  • FIG. 2 is a flowchart of a second embodiment of a method for starting a navigation function in a terminal of the present invention
  • FIG. 3 is a flowchart of a third embodiment of a method for starting a navigation function in a terminal of the present invention
  • FIG. 4 is a schematic structural view of an embodiment of a terminal of the present invention.
  • FIG. 1 is a flowchart of a first embodiment of a method for starting a navigation function in a terminal of the present invention. Including the following steps:
  • step S11 the acceleration in the three-axis direction of the terminal is obtained.
  • the acceleration of the terminal three-axis direction is obtained, wherein the three axes are the X-axis, the Y-axis, and the Z-axis.
  • the consideration of the length of the first unit time is set according to the period of time when most users pick up the terminal to place the terminal in the fixing bracket of the vehicle, and generally an empirical value can be used.
  • the acceleration of the X-axis, Y-axis, and Z-axis directions can be obtained by using a gravity acceleration sensor built in the terminal.
  • step S12 it is determined whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, and it is determined whether the acceleration change value in the Z-axis direction reaches the third threshold.
  • selecting the judgment of the acceleration changes in the three-axis directions of the X-axis, the Y-axis, and the Z-axis of the terminal as one of the basis for starting the navigation function is obtained by the inventors through extensive research. Because the user needs to open the navigation function of the terminal during the driving process, it is generally necessary to move the terminal from the side to the top of the vehicle center console in the cab "backward" mode. At this time, the terminal will generate correspondingly in the Z direction.
  • the acceleration or acceleration changes at the same time, when the vehicle moves to the top of the vehicle center console, the terminal is in the upright posture, and the screen of the terminal is also a vertical posture, and the screen needs to be placed horizontally during navigation, so the terminal needs to be horizontally placed.
  • the terminal will simultaneously generate corresponding acceleration or acceleration changes in the X-axis and Y-axis directions.
  • the acceleration change process in the X-axis direction is: 0 ⁇ g (g represents gravitational acceleration), and the acceleration change process in the Y-axis direction is: g ⁇ 0, the acceleration in the Z-axis direction remains basically unchanged.
  • the acceleration change process in the X-axis direction is: 0 ⁇ -g
  • the acceleration change process in the Y-axis direction is: g ⁇ 0
  • Z-axis direction The acceleration remains essentially the same.
  • the terminal display screen is fixed to the vehicle navigation bracket for the human body: in actual operation, the process terminal is a process from rest to motion to stationary, and the acceleration in the X and Y directions is basically not maintained. Change, so the acceleration change process in the Z-axis direction is: 0 ⁇ N ⁇ 0 (N stands for acceleration).
  • the initial change value of the data of the X-axis direction acceleration may not be 0 or the final change result is difficult to reach g because of the angle or other reasons.
  • the same 0 ⁇ - g that is, when the final value is less than a certain value.
  • the above-mentioned threshold range and the change of the N value are obtained by multiple simulations, taking the average of the final results of the X-axis, Y-axis and Z-axis three-axis changes.
  • the first threshold and the second threshold correspond to a rotation operation of the terminal
  • the third threshold corresponds to a back-off operation of the terminal.
  • step S13 when the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is started.
  • the navigation function of the terminal is executed.
  • the distance between the terminal and the human body is obtained by using a distance sensor.
  • the principle is that when the infrared data acquired by the distance sensor is weaker than a certain value, the distance between the terminal and the human body reaches a fourth threshold.
  • the fourth threshold is preferably 0.5 meters, and of course, it can be set as the case may be.
  • the navigation function of the terminal by acquiring accelerations in the X-axis, Y-axis, and Z-axis directions per unit time, if the accelerations in the X-axis, Y-axis, and Z-axis directions respectively reach the first, second, and third threshold values, and the distance between the terminal and the human body
  • the navigation function of the terminal is automatically started, and the navigation function in the terminal can be intelligently activated, which is convenient for the user, enhances security, and improves the user experience.
  • FIG. 2 is a flowchart of a second embodiment of a method for starting a navigation function in a terminal of the present invention. Including the following steps:
  • step S201 the acceleration in the three-axis direction of the terminal is acquired in the first unit time.
  • step S202 it is determined whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold.
  • step S203 If the absolute values of the acceleration changes in the X-axis and Y-axis directions respectively reach the first threshold and the second threshold, step S203 is performed; otherwise, the flow is ended.
  • step S203 it is determined whether the acceleration change value in the Z-axis direction reaches a third threshold.
  • step S204 is performed; otherwise, the flow is ended.
  • Step S204 Acquire a distance value between the terminal and the human body.
  • Step S205 determining whether the distance value between the terminal and the human body reaches a fourth threshold.
  • step S206 is performed; otherwise, the process ends.
  • Step S206 acquiring the acceleration of the terminal in the Z-axis direction in the second unit time.
  • step S207 it is determined whether the acceleration in the Z-axis direction reaches the fifth threshold.
  • step S208 is performed; otherwise, the flow is ended.
  • Step S208 starting a navigation function of the terminal.
  • the event notification mechanism is used to achieve the purpose of automatically starting the navigation function.
  • step S202 and the step S203 are sequentially changed, that is, whether the acceleration value in the Z-axis direction reaches the third threshold value, and if the acceleration value in the Z-axis direction reaches the third threshold value, the acceleration change in the X-axis and the Y-axis direction is determined. Whether the absolute value of the absolute value reaches the first threshold and the second threshold, respectively, and if the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, step S204 is performed.
  • step S206 to step S207 are added, and it is determined whether the acceleration in the Z-axis direction satisfies the fifth threshold value, and whether it meets the driving condition, that is, whether the vehicle is started, thereby reducing the erroneous operation, and being more intelligent and user-friendly. .
  • FIG. 3 is a flowchart of a third embodiment of a method for starting a navigation function in a terminal of the present invention. Including the following steps:
  • Step S301 acquiring the acceleration of the terminal in the three-axis direction in the first unit time.
  • step S302 it is determined whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold.
  • step S303 If the absolute values of the acceleration changes in the X-axis and Y-axis directions respectively reach the first threshold and the second threshold, step S303 is performed; otherwise, the flow is ended.
  • step S303 it is determined whether the acceleration change value in the Z-axis direction reaches a third threshold.
  • step S304 is performed; otherwise, the process ends.
  • Step S304 obtaining a distance value between the terminal and the human body.
  • Step S305 determining whether the distance value between the terminal and the human body reaches a fourth threshold.
  • step S306 is performed; otherwise, the process ends.
  • Step S306 acquiring the speed of the terminal in the Z-axis direction in the second unit time.
  • step S307 it is determined whether the speed in the Z-axis direction reaches the sixth threshold.
  • the sixth threshold is used to acquire data of the traveling speed of the vehicle through the speed sensor. Specifically, the value is taken multiple times in a certain period of time, and the value with a large normal distribution coefficient is taken. If the value is greater than a certain value, the decision is successful (ie, it indicates that it is different from static or walking). If the speed in the Z-axis direction reaches the sixth threshold, step S308 is performed; otherwise, the flow is ended.
  • Step S308 starting a navigation function of the terminal.
  • the event notification mechanism is used to achieve the purpose of automatically starting the navigation function.
  • steps S302 and S303 may also be reversed.
  • step S306 to step S307 are added, and it is determined whether the speed in the Z-axis direction satisfies the sixth threshold value, and whether it meets the driving condition, that is, whether the vehicle is traveling, reducing misoperation, more intelligent and human. Chemical.
  • FIG. 4 is a schematic structural diagram of an embodiment of a terminal of the present invention.
  • the terminal of the invention comprises: a sensor module 1, a judging module 2 and a starting module 3.
  • the sensor module 1 is configured to acquire the acceleration of the terminal in the three-axis direction and the distance between the terminal and the human body in the first unit time, wherein the three axes are the X-axis, the Y-axis, and the Z-axis.
  • the determining module 2 is configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determine whether the acceleration change value in the Z-axis direction reaches the third threshold, the first threshold, the second threshold,
  • the third threshold corresponds to the terminal tapping to the left, the tapping to the right, and the backward action.
  • the startup module 3 is configured to: if the absolute values of the X-axis and the Y-axis acceleration changes respectively reach the first threshold, the second threshold, and the Z-axis acceleration change value reaches a third threshold, and the distance between the terminal and the human body reaches the fourth threshold, Start the navigation function of the terminal.
  • the sensor module 1, the determination module 2, and the startup module 3 are used to obtain accelerations in the X-axis, the Y-axis, and the Z-axis in a unit time, and if the accelerations in the X-axis, the Y-axis, and the Z-axis respectively reach the first and the When the second and third thresholds are reached, and the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is automatically activated, and the navigation function in the terminal can be intelligently activated to facilitate the user, enhance security, and improve user experience.
  • the sensor module 1 is further configured to acquire the acceleration of the terminal in the Z-axis direction in the second unit time, and determine whether the absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, and the fifth threshold corresponds to the acceleration of the vehicle startup; if the Z-axis The absolute value of the acceleration of the direction reaches a fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed; or
  • the sixth threshold corresponds to the speed of the vehicle running
  • the determining module 2 is further configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold; if the absolute values of the acceleration changes in the X-axis and the Y-axis respectively reach the first threshold and a second threshold, determining whether the acceleration change value in the Z-axis direction reaches a third threshold; if the acceleration change value in the Z-axis direction reaches a third threshold, performing a step of acquiring a distance value between the terminal and the human body; or
  • the acceleration change value in the Z-axis direction reaches a third threshold; if the acceleration change value in the Z-axis direction reaches a third threshold, determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches the first threshold and the second threshold; If the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, the step of acquiring the distance value between the terminal and the human body is performed.
  • the determination module 2 determines whether the vehicle meets the driving condition, one is the vehicle start and the other is the vehicle traveling. Achieve reduced misoperation, more intelligent and user-friendly.
  • the sensor module 1 includes a gravity acceleration sensor, a speed sensor, and a distance sensor.
  • the distance sensor is an infrared distance sensor.
  • each threshold may be customized by the user according to personal usage habits, or may be a default value of a system file saved in the terminal storage device at the time of shipment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Navigation (AREA)

Abstract

Disclosed is a method for starting a navigation function of a terminal, the method comprising: acquiring X-direction, Y-direction and Z-direction acceleration of the terminal in the first unit of time (S11); judging whether the absolute values of the X-direction and Y-direction acceleration changes reach a first threshold value and a second threshold value respectively, and whether the value of the Z-direction acceleration change reaches a third threshold value (S12); if the absolute values of the X-direction and Y-direction acceleration changes reach a first threshold value and a second threshold value respectively, and the value of the Z-direction acceleration change reaches a third threshold value, obtaining the value of the distance between the terminal and the human body, and if the distance value between the terminal and the human body reaches a fourth threshold value, starting the navigation function of the terminal (S13). Further provided in the present invention is a terminal. The present invention can start a navigation device intelligently, bringing convenience to users, enhancing security and improving user experience.

Description

终端及其终端内导航功能的启动方法  Terminal and its terminal navigation function startup method
【技术领域】[Technical Field]
本发明涉及移动通信领域,特别是涉及一种终端及其导航装置的启动方法。 The present invention relates to the field of mobile communications, and in particular, to a terminal and a method for starting the same.
【背景技术】 【Background technique】
随着智能手机的发展,GPS(Global Positioning System,全球定位系统)导航已然成为手机中一种普通且必备的功能。拥有一部具有GPS导航功能的手机之后,用户在行车时使用手机导航便能达到车载导航仪的作用,因此,大量的用户已经将手机导航功能直接应用于车载导航。With the development of smart phones, GPS (Global Positioning System, Global Positioning System navigation has become a common and essential feature in mobile phones. After having a mobile phone with GPS navigation function, the user can use the navigation of the mobile phone to achieve the function of the car navigation device when driving, therefore, a large number of users have directly applied the navigation function of the mobile phone to the car navigation.
然而,手机中的GPS导航作为手机众多功能中的一种,在使用时,用户需要通过手机的桌面窗口,进行两次甚至多次的手动点击操作才能启动。而用户在汽车启动时,一般还需要进行其他动作,包括系安全带等,GPS额外的开启动作给用户带来了不便;或者在行车中时,用户需要随时注意路面情况,过多且复杂的开启GPS操作过程为用户带来一定的安全隐患。However, the GPS navigation in the mobile phone is one of the many functions of the mobile phone. When using, the user needs to perform two or even multiple manual click operations through the desktop window of the mobile phone to start. When the user starts the car, other actions are generally required, including wearing a seat belt. The additional opening action of the GPS brings inconvenience to the user; or when driving, the user needs to pay attention to the road condition at any time, too much and complicated. Turning on the GPS operation process brings certain security risks to the user.
【发明内容】 [Summary of the Invention]
本发明主要解决的技术问题是提供一种终端及其终端内导航装置的启动方法,能够智能启动导航装置,方便用户,增强安全性,提高用户体验。The technical problem to be solved by the present invention is to provide a terminal and a method for starting the navigation device in the terminal, which can intelligently activate the navigation device, facilitate users, enhance security, and improve user experience.
为解决上述技术问题,本发明采用的一个技术方案是:一种终端,包括:传感器模块,用于在第一单位时间内获取终端三轴方向加速度以及终端与人体的距离值,其中三轴为X轴、Y轴和Z轴,具体的,传感器模块用于在第二单位时间内获取终端在Z轴方向的加速度,并判断Z轴方向的加速度的绝对值是否达到第五阈值,第五阈值对应车辆启动的加速度;若Z轴方向的加速度的绝对值达到第五阈值,执行启动终端的导航功能的步骤,否则不执行启动终端的导航功能的步骤,或者用于在第二单位时间内获取终端在Z轴方向的速度,并判断Z轴方向的速度是否达到第六阈值,若Z轴方向的速度达到第六阈值,第六阈值对应车辆运行的速度,执行启动终端的导航功能的步骤,否则不执行启动终端的导航功能的步骤,其中,传感器模块包括重力加速度传感器、速度传感器以及距离传感器;判断模块,用于判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断Z轴方向加速度变化值是否达到第三阈值,第一阈值、第二阈值对应终端的旋转动作,第三阈值对应终端的退后动作;启动模块,用于若X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值、Z轴方向加速度变化值达到第三阈值,并且终端与人体的距离值达到第四阈值,启动终端的导航功能。In order to solve the above technical problem, a technical solution adopted by the present invention is: a terminal, comprising: a sensor module, configured to acquire a three-axis direction acceleration of a terminal and a distance between a terminal and a human body in a first unit time, wherein the three axes are The X-axis, the Y-axis, and the Z-axis, specifically, the sensor module is configured to acquire the acceleration of the terminal in the Z-axis direction in the second unit time, and determine whether the absolute value of the acceleration in the Z-axis direction reaches the fifth threshold, and the fifth threshold Corresponding to the acceleration of the vehicle start; if the absolute value of the acceleration in the Z-axis direction reaches the fifth threshold, the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed, or is used to acquire in the second unit time The speed of the terminal in the Z-axis direction, and determining whether the speed in the Z-axis direction reaches the sixth threshold. If the speed in the Z-axis direction reaches the sixth threshold, the sixth threshold corresponds to the speed of the vehicle running, and the step of starting the navigation function of the terminal is performed. Otherwise, the step of starting the navigation function of the terminal is not performed, wherein the sensor module includes a gravity acceleration sensor and a speed sensing And a distance sensor; a judging module, configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determine whether the acceleration change value in the Z-axis direction reaches a third threshold, the first threshold, the first The second threshold corresponds to the rotation action of the terminal, the third threshold corresponds to the back-off action of the terminal, and the startup module is configured to: if the absolute values of the X-axis and the Y-axis acceleration change respectively reach the first threshold, the second threshold, and the Z-axis acceleration change value A third threshold is reached, and the distance between the terminal and the human body reaches a fourth threshold, and the navigation function of the terminal is activated.
其中,判断模块还用于判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;在X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值时,执行获取终端与人体的距离值的步骤。The determining module is further configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold; the absolute values of the acceleration changes in the X-axis and the Y-axis respectively reach the first threshold and the second The threshold value determines whether the acceleration change value in the Z-axis direction reaches the third threshold value; if the acceleration change value in the Z-axis direction reaches the third threshold value, the step of acquiring the distance value between the terminal and the human body is performed.
其中,判断模块还用于判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,执行获取终端与人体的距离值的步骤。The determining module is further configured to determine whether the acceleration value of the Z-axis direction reaches a third threshold; if the acceleration value of the Z-axis direction reaches a third threshold, determine whether the absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches the first threshold. And a second threshold; if the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, the step of acquiring the distance value between the terminal and the human body is performed.
其中,距离传感模块是红外距离传感器。The distance sensing module is an infrared distance sensor.
其中,终端是手机。Among them, the terminal is a mobile phone.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种终端,包括:传感器模块,用于在第一单位时间内获取终端三轴方向加速度以及终端与人体的距离值,其中三轴为X轴、Y轴和Z轴;判断模块,用于判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断Z轴方向加速度变化值是否达到第三阈值,第一阈值、第二阈值、第三阈值分别对应终端向左横置、向右横置、退后动作;启动模块,用于若X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值、Z轴方向加速度变化值达到第三阈值,并且终端与人体的距离值达到第四阈值,启动终端的导航功能。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a terminal, comprising: a sensor module, configured to acquire the acceleration of the three-axis direction of the terminal and the distance between the terminal and the human body in the first unit time, wherein three The axis is an X-axis, a Y-axis, and a Z-axis; the judging module is configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determine whether the acceleration change value in the Z-axis direction reaches the third value. The threshold, the first threshold, the second threshold, and the third threshold respectively correspond to the terminal tapping to the left, the tapping to the right, and the backing action; and the starting module is configured to obtain the absolute values of the acceleration changes of the X-axis and the Y-axis respectively. The threshold value, the second threshold value, and the Z-axis direction acceleration change value reach a third threshold value, and the distance value between the terminal and the human body reaches a fourth threshold value, and the navigation function of the terminal is activated.
其中,传感器模块,用于在第二单位时间内获取终端在Z轴方向的加速度,并判断Z轴方向的加速度的绝对值是否达到第五阈值,第五阈值对应车辆启动的加速度;若Z轴方向的加速度的绝对值达到第五阈值,执行启动终端的导航功能的步骤,否则不执行启动终端的导航功能的步骤;或者用于在第二单位时间内获取终端在Z轴方向的速度,并判断Z轴方向的速度是否达到第六阈值,若Z轴方向的速度达到第六阈值,第六阈值对应车辆运行的速度,执行启动终端的导航功能步骤,否则不执行启动终端的导航功能的步骤。The sensor module is configured to acquire the acceleration of the terminal in the Z-axis direction in the second unit time, and determine whether the absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, and the fifth threshold corresponds to the acceleration of the vehicle startup; if the Z-axis The absolute value of the acceleration of the direction reaches a fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed; or the speed of the terminal in the Z-axis direction is acquired in the second unit time, and Determining whether the speed in the Z-axis direction reaches the sixth threshold, if the speed in the Z-axis direction reaches the sixth threshold, and the sixth threshold corresponds to the speed of the vehicle running, performing the step of guiding the navigation function of the terminal; otherwise, the step of starting the navigation function of the terminal is not performed. .
其中,判断模块,用于判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值,执行获取终端与人体的距离值的步骤;或者用于判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,执行获取终端与人体的距离值的步骤。The determining module is configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold; if the absolute values of the acceleration changes in the X-axis and the Y-axis respectively reach the first threshold and the second a threshold value, determining whether the acceleration change value in the Z-axis direction reaches a third threshold value; if the Z-axis direction acceleration change value reaches a third threshold value, performing a step of acquiring a distance value between the terminal and the human body; or determining whether the Z-axis direction acceleration change value is reached The third threshold; if the acceleration change value in the Z-axis direction reaches the third threshold, determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold; if the acceleration in the X-axis and the Y-axis direction is absolute The values reach the first threshold and the second threshold respectively, and the step of acquiring the distance value between the terminal and the human body is performed.
其中,传感器模块包括重力加速度传感器、速度传感器以及距离传感器。The sensor module includes a gravity acceleration sensor, a speed sensor, and a distance sensor.
其中,距离传感模块是红外距离传感器。The distance sensing module is an infrared distance sensor.
其中,终端是手机。Among them, the terminal is a mobile phone.
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种终端内导航装置的启动方法,包括如下步骤:在第一单位时间内获取终端三轴方向加速度,其中三轴为X轴、Y轴和Z轴;判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断Z轴方向加速度变化值是否达到第三阈值,第一阈值、第二阈值对应终端的旋转动作,第三阈值对应终端的退后动作;若X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值、Z轴方向加速度变化值达到第三阈值,获取终端与人体的距离值,若终端与人体的距离值达到第四阈值,启动终端的导航功能。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a method for starting the navigation device in the terminal, comprising the steps of: acquiring the acceleration of the terminal in three directions in the first unit time, wherein the three axes are the X axis , the Y-axis and the Z-axis; determining whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determining whether the acceleration change value in the Z-axis direction reaches the third threshold, the first threshold and the second threshold Corresponding to the rotation action of the terminal, the third threshold corresponds to the back-off action of the terminal; if the absolute values of the X-axis and Y-axis acceleration changes respectively reach the first threshold, the second threshold, and the Z-axis acceleration change value reaches the third threshold, the acquisition terminal The distance value from the human body, if the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is activated.
其中,在X轴、Y轴加速度变化的绝对值、Z轴方向加速度变化和终端与人体的距离值分别达到第一阈值、第二阈值、第三阈值以及第四阈值的步骤之后、启动终端的导航功能的步骤之前,包括:在第二单位时间内获取终端在Z轴方向的加速度,并判断Z轴方向的加速度的绝对值是否达到第五阈值,第五阈值对应车辆启动的加速度;若Z轴方向的加速度的绝对值达到第五阈值,执行启动终端的导航功能的步骤,否则不执行启动终端的导航功能的步骤。Wherein, after the steps of the absolute value of the X-axis, the Y-axis acceleration change, the Z-axis direction acceleration change, and the terminal-to-human body distance value reaching the first threshold, the second threshold, the third threshold, and the fourth threshold, respectively, the terminal is activated. Before the step of the navigation function, the method includes: acquiring the acceleration of the terminal in the Z-axis direction in the second unit time, and determining whether the absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, and the fifth threshold corresponds to the acceleration of the vehicle startup; The absolute value of the acceleration in the axial direction reaches the fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed.
其中,在X轴、Y轴加速度变化的绝对值、Z轴方向加速度变化和终端与人体的距离值分别达到第一阈值、第二阈值、第三阈值以及第四阈值的步骤之后、启动终端的导航功能的步骤之前,包括:在第二单位时间内获取终端在Z轴方向的速度,并判断Z轴方向的速度是否达到第六阈值,若Z轴方向的速度达到第六阈值,第六阈值对应车辆运行的速度,执行启动终端的导航功能步骤,否则不执行启动终端的导航功能的步骤。Wherein, after the steps of the absolute value of the X-axis, the Y-axis acceleration change, the Z-axis direction acceleration change, and the terminal-to-human body distance value reaching the first threshold, the second threshold, the third threshold, and the fourth threshold, respectively, the terminal is activated. Before the step of the navigation function, the method includes: acquiring the speed of the terminal in the Z-axis direction in the second unit time, and determining whether the speed in the Z-axis direction reaches a sixth threshold, and if the speed in the Z-axis direction reaches a sixth threshold, the sixth threshold The navigation function step of starting the terminal is executed corresponding to the speed of the vehicle running, otherwise the step of starting the navigation function of the terminal is not performed.
其中,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断Z轴方向加速度变化值是否达到第三阈值的步骤包括:判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值;若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值、第二阈值,判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值,执行获取终端与人体的距离值的步骤。The determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches the first threshold and the second threshold respectively, and determining whether the acceleration change value in the Z-axis direction reaches the third threshold includes: determining the acceleration change in the X-axis and the Y-axis direction. Whether the absolute value of the acceleration value of the X-axis and the Y-axis direction respectively reaches the first threshold value and the second threshold value, and determines whether the acceleration value of the Z-axis direction reaches the third threshold value; The acceleration change value in the Z-axis direction reaches a third threshold, and the step of acquiring the distance value between the terminal and the human body is performed.
其中,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断Z轴方向加速度变化值是否达到第三阈值的步骤包括:判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值,执行获取终端与人体的距离值的步骤。The determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches the first threshold and the second threshold respectively, and determining whether the acceleration change value in the Z-axis direction reaches the third threshold includes: determining the acceleration change in the X-axis and the Y-axis direction. Whether the absolute value of the acceleration value reaches the first threshold value and the second threshold value respectively; if the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold value and the second threshold value, determine whether the acceleration value in the Z-axis direction reaches the third threshold value; The acceleration change value in the Z-axis direction reaches a third threshold, and the step of acquiring the distance value between the terminal and the human body is performed.
本发明的有益效果是:区别于现有技术的情况,本发明一种终端及其终端内导航功能的启动方法,通过获取单位时间内X轴、Y轴和Z轴方向加速度,如果X轴、Y轴和Z轴方向加速度分别达到第一、第二和第三阈值,且终端与人体距离值达到第四阈值时,自动启动终端的导航功能,能够智能启动终端内的导航功能,方便用户,增强安全性,提高用户体验。The beneficial effects of the present invention are: different from the prior art, the method for starting the navigation function in the terminal and the terminal thereof, by acquiring the acceleration in the X-axis, the Y-axis and the Z-axis direction per unit time, if the X-axis, When the accelerations in the Y-axis and the Z-axis reach the first, second and third thresholds respectively, and the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is automatically activated, and the navigation function in the terminal can be intelligently activated, which is convenient for the user. Enhance security and enhance the user experience.
【附图说明】 [Description of the Drawings]
图1是本发明终端内导航功能的启动方法第一实施例的流程图;1 is a flowchart of a first embodiment of a method for starting a navigation function in a terminal of the present invention;
图2是本发明终端内导航功能的启动方法第二实施例的流程图;2 is a flowchart of a second embodiment of a method for starting a navigation function in a terminal of the present invention;
图3是本发明终端内导航功能的启动方法第三实施例的流程图;3 is a flowchart of a third embodiment of a method for starting a navigation function in a terminal of the present invention;
图4是本发明终端实施例的结构示意图。4 is a schematic structural view of an embodiment of a terminal of the present invention.
【具体实施方式】 【detailed description】
下面结合附图和实施例对本发明进行详细说明。The invention will now be described in detail in conjunction with the drawings and embodiments.
参阅图1,图1是本发明终端内导航功能的启动方法第一实施例的流程图。包括如下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a first embodiment of a method for starting a navigation function in a terminal of the present invention. Including the following steps:
步骤S11,获取终端三轴方向的加速度。In step S11, the acceleration in the three-axis direction of the terminal is obtained.
在第一单位时间内,比如10秒内,获取终端三轴方向加速度,其中三轴为X轴、Y轴和Z轴。所述第一单位时间长短的考虑,是依照大部分用户自取出终端到将终端放置在车辆内固定架的这段时间而设置,一般可以采用经验值。In the first unit time, such as 10 seconds, the acceleration of the terminal three-axis direction is obtained, wherein the three axes are the X-axis, the Y-axis, and the Z-axis. The consideration of the length of the first unit time is set according to the period of time when most users pick up the terminal to place the terminal in the fixing bracket of the vehicle, and generally an empirical value can be used.
所述X轴、Y轴和Z轴方向加速度的获取可以利用终端内置的重力加速度传感器。The acceleration of the X-axis, Y-axis, and Z-axis directions can be obtained by using a gravity acceleration sensor built in the terminal.
步骤S12,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,并判断Z轴方向加速度变化值是否达到第三阈值。In step S12, it is determined whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, and it is determined whether the acceleration change value in the Z-axis direction reaches the third threshold.
本发明实施例中,选择判断终端的X轴、Y轴和Z轴三轴方向的加速度变化作为启动导航功能的依据之一,是本发明人经过大量研究而得出。因用户在驾乘车辆过程中,要开启终端的导航功能,一般需要以终端“后退”的形式,在驾驶室内将终端从身边移动到车辆中控台上方,此时终端在Z方向会产生相应的加速度或加速度变化;同时移动到车辆中控台上方时终端为正放姿态,终端的屏幕也是竖直的姿态,而导航时需要将屏幕横置,因此还需要将终端进行横置,此时终端在X轴和Y轴方向会同时产生相应的加速度或加速度变化。In the embodiment of the present invention, selecting the judgment of the acceleration changes in the three-axis directions of the X-axis, the Y-axis, and the Z-axis of the terminal as one of the basis for starting the navigation function is obtained by the inventors through extensive research. Because the user needs to open the navigation function of the terminal during the driving process, it is generally necessary to move the terminal from the side to the top of the vehicle center console in the cab "backward" mode. At this time, the terminal will generate correspondingly in the Z direction. The acceleration or acceleration changes; at the same time, when the vehicle moves to the top of the vehicle center console, the terminal is in the upright posture, and the screen of the terminal is also a vertical posture, and the screen needs to be placed horizontally during navigation, so the terminal needs to be horizontally placed. The terminal will simultaneously generate corresponding acceleration or acceleration changes in the X-axis and Y-axis directions.
例如,终端的机头向左横置(即机身逆时针旋转)时:X轴方向的加速度变化过程为:0→g(g代表重力加速度),Y轴方向的加速度变化过程为:g→0,Z轴方向的加速度基本保持不变。For example, when the head of the terminal is horizontally placed to the left (ie, the body rotates counterclockwise): the acceleration change process in the X-axis direction is: 0→g (g represents gravitational acceleration), and the acceleration change process in the Y-axis direction is: g→ 0, the acceleration in the Z-axis direction remains basically unchanged.
或者,终端的机头向右横置(即机身顺时针旋转)时:X轴方向的加速度变化过程为:0→-g,Y轴方向的加速度变化过程为:g→0,Z轴方向的加速度基本保持不变。Or, when the head of the terminal is horizontally placed to the right (ie, the body rotates clockwise): the acceleration change process in the X-axis direction is: 0→-g, and the acceleration change process in the Y-axis direction is: g→0, Z-axis direction The acceleration remains essentially the same.
以及,终端退后,即将终端显示屏面向人体固定于车辆导航支架时:实际操作中,这一过程终端是一个从静止到运动再到静止的过程,而X、Y轴方向的加速度基本保持不变,故Z轴方向的加速度变化过程为:0→N→0(N代表加速度)。And, when the terminal is retired, the terminal display screen is fixed to the vehicle navigation bracket for the human body: in actual operation, the process terminal is a process from rest to motion to stationary, and the acceleration in the X and Y directions is basically not maintained. Change, so the acceleration change process in the Z-axis direction is: 0 → N → 0 (N stands for acceleration).
当然,在实际的数据采集当中,以X轴方向加速度的数据采集为例,因为角度或者其他原因,X轴方向加速度的数据的初始变化值可能不为0或者最终变化结果难以达到g。针对此情况,需要进行多次X轴方向加速度的数据的变化采集,从而确定一定的阈值范围。对于0→g这一变化,当X轴方向加速度数据结果最终大于某一特定阈值时,则判定终端在此轴方向上的加速度进行了这一变化。同样0→-g,即最终值小于某一特定值时。Of course, in the actual data acquisition, taking the data acquisition of the X-axis acceleration as an example, the initial change value of the data of the X-axis direction acceleration may not be 0 or the final change result is difficult to reach g because of the angle or other reasons. In response to this situation, it is necessary to perform a plurality of changes in the data of the acceleration in the X-axis direction to determine a certain threshold range. For the change of 0→g, when the result of the acceleration data in the X-axis direction is finally greater than a certain threshold, it is determined that the acceleration of the terminal in this axial direction has undergone this change. The same 0 → - g, that is, when the final value is less than a certain value.
同理,以上的所提到的阈值范围以及变化中的N值的取定,均通过多次模拟,取X轴、Y轴以及Z轴三轴变化最终结果的平均值来获取。Similarly, the above-mentioned threshold range and the change of the N value are obtained by multiple simulations, taking the average of the final results of the X-axis, Y-axis and Z-axis three-axis changes.
第一阈值、第二阈值对应终端的旋转动作,第三阈值对应终端的退后动作。在步骤S12中,若X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值,和Z轴方向加速度变化值达到第三阈值时,执行步骤S13;否则,结束流程。The first threshold and the second threshold correspond to a rotation operation of the terminal, and the third threshold corresponds to a back-off operation of the terminal. In step S12, if the absolute values of the X-axis and Y-axis acceleration changes respectively reach the first threshold and the second threshold, and the Z-axis acceleration change value reaches the third threshold, step S13 is performed; otherwise, the flow is ended.
步骤S13,在终端与人体的距离值达到第四阈值时,启动终端的导航功能。In step S13, when the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is started.
具体的,测得终端距离人体满足一定的距离,即终端与人体的距离值达到第四阈值时,执行启动终端的导航功能。终端与人体的距离值利用距离传感器获得,其原理是距离传感器获取到的红外数据弱于某一数值时,即终端与人体的距离值达到第四阈值。该第四阈值优选为0.5米,当然,可以视具体情况进行设置。Specifically, when the terminal is determined to be a certain distance from the human body, that is, when the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is executed. The distance between the terminal and the human body is obtained by using a distance sensor. The principle is that when the infrared data acquired by the distance sensor is weaker than a certain value, the distance between the terminal and the human body reaches a fourth threshold. The fourth threshold is preferably 0.5 meters, and of course, it can be set as the case may be.
本发明实施例,通过获取单位时间内X轴、Y轴和Z轴方向加速度,如果X轴、Y轴和Z轴方向加速度分别达到第一、第二和第三阈值,且终端与人体的距离值达到第四阈值时,自动启动终端的导航功能,能够智能启动终端内的导航功能,方便用户,增强安全性,提高用户体验。In the embodiment of the present invention, by acquiring accelerations in the X-axis, Y-axis, and Z-axis directions per unit time, if the accelerations in the X-axis, Y-axis, and Z-axis directions respectively reach the first, second, and third threshold values, and the distance between the terminal and the human body When the value reaches the fourth threshold, the navigation function of the terminal is automatically started, and the navigation function in the terminal can be intelligently activated, which is convenient for the user, enhances security, and improves the user experience.
参阅图2,图2是本发明终端内导航功能的启动方法第二实施例的流程图。包括如下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of a second embodiment of a method for starting a navigation function in a terminal of the present invention. Including the following steps:
步骤S201,在第一单位时间内获取终端三轴方向加速度。In step S201, the acceleration in the three-axis direction of the terminal is acquired in the first unit time.
步骤S202,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值。In step S202, it is determined whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold.
若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值时,执行步骤S203;否则结束流程。If the absolute values of the acceleration changes in the X-axis and Y-axis directions respectively reach the first threshold and the second threshold, step S203 is performed; otherwise, the flow is ended.
步骤S203,判断Z轴方向加速度变化值是否达到第三阈值。In step S203, it is determined whether the acceleration change value in the Z-axis direction reaches a third threshold.
若Z轴方向加速度变化值达到第三阈值时,执行步骤S204;否则结束流程。If the acceleration change value in the Z-axis direction reaches the third threshold, step S204 is performed; otherwise, the flow is ended.
步骤S204,获取终端与人体的距离值。Step S204: Acquire a distance value between the terminal and the human body.
步骤S205,判断终端与人体的距离值是否达到第四阈值。Step S205, determining whether the distance value between the terminal and the human body reaches a fourth threshold.
若终端与人体的距离值达到第四阈值时,执行步骤S206;否则结束流程。If the distance between the terminal and the human body reaches the fourth threshold, step S206 is performed; otherwise, the process ends.
步骤S206,在第二单位时间内获取终端在Z轴方向加速度。Step S206, acquiring the acceleration of the terminal in the Z-axis direction in the second unit time.
步骤S207,判断Z轴方向加速度是否达到第五阈值。In step S207, it is determined whether the acceleration in the Z-axis direction reaches the fifth threshold.
若Z轴方向加速度是否达到第五阈值时,执行步骤S208;否则结束流程。If the acceleration in the Z-axis direction reaches the fifth threshold, step S208 is performed; otherwise, the flow is ended.
步骤S208,启动终端的导航功能。Step S208, starting a navigation function of the terminal.
在满足上述条件之后,通过事件通知机制达到导航功能自动启动的目的。After the above conditions are met, the event notification mechanism is used to achieve the purpose of automatically starting the navigation function.
上述步骤中,步骤S202和步骤S203顺序可调换,即,可判断Z轴方向加速度变化值是否达到第三阈值,若Z轴方向加速度变化值达到第三阈值,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值,若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,执行步骤S204。In the above steps, the step S202 and the step S203 are sequentially changed, that is, whether the acceleration value in the Z-axis direction reaches the third threshold value, and if the acceleration value in the Z-axis direction reaches the third threshold value, the acceleration change in the X-axis and the Y-axis direction is determined. Whether the absolute value of the absolute value reaches the first threshold and the second threshold, respectively, and if the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, step S204 is performed.
本发明实施例,增加步骤S206到步骤S207,能够通过判断Z轴方向的加速度是否满足第五阈值,并判断其是否满足行车条件,即是否为车辆启动,实现减少误操作,更加智能与人性化。In the embodiment of the present invention, step S206 to step S207 are added, and it is determined whether the acceleration in the Z-axis direction satisfies the fifth threshold value, and whether it meets the driving condition, that is, whether the vehicle is started, thereby reducing the erroneous operation, and being more intelligent and user-friendly. .
参阅图3,图3是本发明终端内导航功能的启动方法第三实施例的流程图。包括如下步骤:Referring to FIG. 3, FIG. 3 is a flowchart of a third embodiment of a method for starting a navigation function in a terminal of the present invention. Including the following steps:
步骤S301,在第一单位时间内获取终端三轴方向加速度。Step S301, acquiring the acceleration of the terminal in the three-axis direction in the first unit time.
步骤S302,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值。In step S302, it is determined whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold.
若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值时,执行步骤S303;否则结束流程。If the absolute values of the acceleration changes in the X-axis and Y-axis directions respectively reach the first threshold and the second threshold, step S303 is performed; otherwise, the flow is ended.
步骤S303,判断Z轴方向加速度变化值是否达到第三阈值。In step S303, it is determined whether the acceleration change value in the Z-axis direction reaches a third threshold.
若Z轴方向加速度变化值达到第三阈值时,执行步骤S304;否则结束流程If the acceleration change value in the Z-axis direction reaches the third threshold, step S304 is performed; otherwise, the process ends.
步骤S304,获取终端与人体的距离值。Step S304, obtaining a distance value between the terminal and the human body.
步骤S305,判断终端与人体的距离值是否达到第四阈值。Step S305, determining whether the distance value between the terminal and the human body reaches a fourth threshold.
若终端与人体的距离值达到第四阈值时,执行步骤S306;否则结束流程。If the distance between the terminal and the human body reaches the fourth threshold, step S306 is performed; otherwise, the process ends.
步骤S306,在第二单位时间内获取终端在Z轴方向的速度。Step S306, acquiring the speed of the terminal in the Z-axis direction in the second unit time.
步骤S307,判断Z轴方向的速度是否达到第六阈值。In step S307, it is determined whether the speed in the Z-axis direction reaches the sixth threshold.
第六阈值通过速度传感器来获取车辆行驶速度的数据。具体为在一定时间内多次取值,取正态分布系数较大的值。若此值大于一定的数值,则判定成功(即可表明区别于静止或者步行)。若Z轴方向的速度是否达到第六阈值时,执行步骤S308;否则结束流程。The sixth threshold is used to acquire data of the traveling speed of the vehicle through the speed sensor. Specifically, the value is taken multiple times in a certain period of time, and the value with a large normal distribution coefficient is taken. If the value is greater than a certain value, the decision is successful (ie, it indicates that it is different from static or walking). If the speed in the Z-axis direction reaches the sixth threshold, step S308 is performed; otherwise, the flow is ended.
步骤S308,启动终端的导航功能。Step S308, starting a navigation function of the terminal.
在满足上述条件之后,通过事件通知机制达到导航功能自动启动的目的。After the above conditions are met, the event notification mechanism is used to achieve the purpose of automatically starting the navigation function.
上述步骤中,步骤S302和步骤S303顺序亦可调换。In the above steps, the steps S302 and S303 may also be reversed.
本发明实施例,增加步骤S306到步骤S307,能够通过判断Z轴方向的速度是否满足第六阈值,并判断其是否满足行车条件,即是否为车辆行驶途中,实现减少误操作,更加智能与人性化。In the embodiment of the present invention, step S306 to step S307 are added, and it is determined whether the speed in the Z-axis direction satisfies the sixth threshold value, and whether it meets the driving condition, that is, whether the vehicle is traveling, reducing misoperation, more intelligent and human. Chemical.
参阅图4,图4是本发明终端实施例的结构示意图。本发明终端包括:传感器模块1、判断模块2以及启动模块3。Referring to FIG. 4, FIG. 4 is a schematic structural diagram of an embodiment of a terminal of the present invention. The terminal of the invention comprises: a sensor module 1, a judging module 2 and a starting module 3.
传感器模块1,用于在第一单位时间内获取终端三轴方向加速度以及终端与人体的距离值,其中三轴为X轴、Y轴和Z轴。The sensor module 1 is configured to acquire the acceleration of the terminal in the three-axis direction and the distance between the terminal and the human body in the first unit time, wherein the three axes are the X-axis, the Y-axis, and the Z-axis.
判断模块2,用于判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断Z轴方向加速度变化值是否达到第三阈值,第一阈值、第二阈值、第三阈值分别对应终端向左横置、向右横置、退后动作。The determining module 2 is configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis direction respectively reach the first threshold and the second threshold, and determine whether the acceleration change value in the Z-axis direction reaches the third threshold, the first threshold, the second threshold, The third threshold corresponds to the terminal tapping to the left, the tapping to the right, and the backward action.
启动模块3,用于若X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值、Z轴方向加速度变化值达到第三阈值,并且终端与人体的距离值达到第四阈值,启动终端的导航功能。The startup module 3 is configured to: if the absolute values of the X-axis and the Y-axis acceleration changes respectively reach the first threshold, the second threshold, and the Z-axis acceleration change value reaches a third threshold, and the distance between the terminal and the human body reaches the fourth threshold, Start the navigation function of the terminal.
本发明实施例,采用传感器模块1、判断模块2以及启动模块3,获取单位时间内X轴、Y轴和Z轴方向加速度,如果X轴、Y轴和Z轴方向加速度分别达到第一、第二和第三阈值,且终端与人体的距离值达到第四阈值时,自动启动终端的导航功能,能够智能启动终端内的导航功能,方便用户,增强安全性,提高用户体验。In the embodiment of the present invention, the sensor module 1, the determination module 2, and the startup module 3 are used to obtain accelerations in the X-axis, the Y-axis, and the Z-axis in a unit time, and if the accelerations in the X-axis, the Y-axis, and the Z-axis respectively reach the first and the When the second and third thresholds are reached, and the distance between the terminal and the human body reaches the fourth threshold, the navigation function of the terminal is automatically activated, and the navigation function in the terminal can be intelligently activated to facilitate the user, enhance security, and improve user experience.
传感器模块1,还用于在第二单位时间内获取终端在Z轴方向的加速度,并判断Z轴方向的加速度的绝对值是否达到第五阈值,第五阈值对应车辆启动的加速度;若Z轴方向的加速度的绝对值达到第五阈值,执行启动终端的导航功能的步骤,否则不执行启动终端的导航功能的步骤;或者The sensor module 1 is further configured to acquire the acceleration of the terminal in the Z-axis direction in the second unit time, and determine whether the absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, and the fifth threshold corresponds to the acceleration of the vehicle startup; if the Z-axis The absolute value of the acceleration of the direction reaches a fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed; or
用于在第二单位时间内获取终端在Z轴方向的速度,并判断Z轴方向的速度是否达到第六阈值,若Z轴方向的速度达到第六阈值,第六阈值对应车辆运行的速度,执行启动终端的导航功能步骤,否则不执行启动终端的导航功能的步骤。For obtaining the speed of the terminal in the Z-axis direction in the second unit time, and determining whether the speed in the Z-axis direction reaches the sixth threshold, and if the speed in the Z-axis direction reaches the sixth threshold, the sixth threshold corresponds to the speed of the vehicle running, Perform the navigation function of the terminal, otherwise the steps of starting the navigation function of the terminal are not executed.
并且,判断模块2,还用于判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值,执行获取终端与人体的距离值的步骤;或者Moreover, the determining module 2 is further configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold; if the absolute values of the acceleration changes in the X-axis and the Y-axis respectively reach the first threshold and a second threshold, determining whether the acceleration change value in the Z-axis direction reaches a third threshold; if the acceleration change value in the Z-axis direction reaches a third threshold, performing a step of acquiring a distance value between the terminal and the human body; or
用于判断Z轴方向加速度变化值是否达到第三阈值;若Z轴方向加速度变化值达到第三阈值,判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,执行获取终端与人体的距离值的步骤。能够通过传感器模块1获取Z轴方向的加速度是否满足第五阈值或者Z轴方向的速度是否满足第六阈值,通过判断模块2判断其是否满足行车条件,一为车辆启动、二为车辆行驶途中,实现减少误操作,更加智能与人性化。And determining whether the acceleration change value in the Z-axis direction reaches a third threshold; if the acceleration change value in the Z-axis direction reaches a third threshold, determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches the first threshold and the second threshold; If the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, the step of acquiring the distance value between the terminal and the human body is performed. Whether the acceleration in the Z-axis direction satisfies the fifth threshold value or the speed in the Z-axis direction satisfies the sixth threshold value, and the determination module 2 determines whether the vehicle meets the driving condition, one is the vehicle start and the other is the vehicle traveling. Achieve reduced misoperation, more intelligent and user-friendly.
上述实施例中,传感器模块1包括重力加速度传感器、速度传感器以及距离传感器。优选地,距离传感器是红外距离传感器。In the above embodiment, the sensor module 1 includes a gravity acceleration sensor, a speed sensor, and a distance sensor. Preferably, the distance sensor is an infrared distance sensor.
当然,上述实施例的终端包括手机及其它具备导航功能的电子设备。并且,上述实施例中,各阈值可以由用户根据个人使用习惯自定义设置,也可使用出厂时保存在终端存储设备的系统文件默认定义值。Of course, the terminal of the above embodiment includes a mobile phone and other electronic devices with navigation functions. Moreover, in the above embodiment, each threshold may be customized by the user according to personal usage habits, or may be a default value of a system file saved in the terminal storage device at the time of shipment.
以上仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种终端,其中,包括:A terminal, including:
    传感器模块,用于在第一单位时间内获取终端三轴方向加速度以及所述终端与人体的距离值,其中三轴为X轴、Y轴和Z轴,具体的,所述传感器模块用于在第二单位时间内获取所述终端在Z轴方向的加速度,并判断所述Z轴方向的加速度的绝对值是否达到第五阈值,所述第五阈值对应车辆启动的加速度;若所述Z轴方向的加速度的绝对值达到第五阈值,执行启动所述终端的导航功能的步骤,否则不执行启动所述终端的导航功能的步骤,或者用于在第二单位时间内获取所述终端在Z轴方向的速度,并判断所述Z轴方向的速度是否达到第六阈值,若所述Z轴方向的速度达到第六阈值,所述第六阈值对应车辆运行的速度,执行启动所述终端的导航功能的步骤,否则不执行启动所述终端的导航功能的步骤,其中,所述传感器模块包括重力加速度传感器、速度传感器以及距离传感器;a sensor module, configured to acquire a three-axis direction acceleration of the terminal and a distance value between the terminal and the human body in a first unit time, wherein the three axes are an X-axis, a Y-axis, and a Z-axis. Specifically, the sensor module is used to Obtaining an acceleration of the terminal in the Z-axis direction in a second unit time, and determining whether an absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, where the fifth threshold corresponds to an acceleration of the vehicle startup; if the Z-axis The absolute value of the acceleration of the direction reaches a fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed, or the terminal is acquired in the second unit time. a speed in the axial direction, and determining whether the speed in the Z-axis direction reaches a sixth threshold. If the speed in the Z-axis direction reaches a sixth threshold, the sixth threshold corresponds to a speed at which the vehicle is running, and the starting of the terminal is performed. The step of navigating the function, otherwise the step of initiating the navigation function of the terminal is not performed, wherein the sensor module comprises a gravity acceleration sensor and a speed sensor distance sensor;
    判断模块,用于判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值,所述第一阈值、第二阈值对应终端的旋转动作,第三阈值对应终端的退后动作;a determining module, configured to determine whether the absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches a first threshold and a second threshold, and determine whether the acceleration change value in the Z-axis direction reaches a third threshold, the first threshold The second threshold corresponds to the rotation action of the terminal, and the third threshold corresponds to the back-off action of the terminal;
    启动模块,用于在所述X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值、Z轴方向加速度变化值达到第三阈值,并且所述终端与人体的距离值达到第四阈值时,启动所述终端的导航功能。a startup module, wherein an absolute value of the X-axis and Y-axis acceleration changes respectively reaches a first threshold, a second threshold, and a Z-axis acceleration change value reaches a third threshold, and the distance between the terminal and the human body reaches a first value When the threshold is four, the navigation function of the terminal is started.
  2. 根据权利要求1所述的终端,其中,The terminal according to claim 1, wherein
    所述判断模块还用于判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若所述X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值;若所述Z轴方向加速度变化值达到第三阈值,执行所述获取终端与人体的距离值的步骤。The determining module is further configured to determine whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach a first threshold and a second threshold; if the absolute values of the acceleration changes in the X-axis and the Y-axis respectively reach the first And determining, by the threshold and the second threshold, whether the acceleration change value in the Z-axis direction reaches a third threshold; and if the acceleration change value in the Z-axis direction reaches a third threshold, performing the step of acquiring a distance value between the terminal and the human body.
  3. 根据权利要求1所述的终端,其中, The terminal according to claim 1, wherein
    所述判断模块还用于判断所述Z轴方向加速度变化值是否达到第三阈值;若所述Z轴方向加速度变化值达到第三阈值,判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若所述X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,执行所述获取终端与人体的距离值的步骤。 The determining module is further configured to determine whether the acceleration change value in the Z-axis direction reaches a third threshold; if the acceleration change value in the Z-axis direction reaches a third threshold, determine an absolute value of the acceleration change in the X-axis and the Y-axis direction Whether the first threshold value and the second threshold value are respectively reached; if the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold value and the second threshold value, the step of acquiring the distance value between the terminal and the human body is performed.
  4. 根据权利要求1所述的终端,其中,所述距离传感模块是红外距离传感器。The terminal of claim 1 wherein the distance sensing module is an infrared distance sensor.
  5. 根据权利要求1所述的终端,其中,所述终端是手机。The terminal of claim 1 wherein the terminal is a cell phone.
  6. 一种终端,其中,包括: A terminal, including:
    传感器模块,用于在第一单位时间内获取终端三轴方向加速度以及所述终端与人体的距离值,其中三轴为X轴、Y轴和Z轴;a sensor module, configured to acquire a three-axis direction acceleration of the terminal and a distance value between the terminal and the human body in a first unit time, wherein the three axes are an X-axis, a Y-axis, and a Z-axis;
    判断模块,用于判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值,所述第一阈值、第二阈值对应终端的旋转动作,第三阈值对应终端的退后动作;a determining module, configured to determine whether the absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches a first threshold and a second threshold, and determine whether the acceleration change value in the Z-axis direction reaches a third threshold, the first threshold The second threshold corresponds to the rotation action of the terminal, and the third threshold corresponds to the back-off action of the terminal;
    启动模块,用于若所述X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值、Z轴方向加速度变化值达到第三阈值,并且所述终端与人体的距离值达到第四阈值,启动所述终端的导航功能。a startup module, configured to: if the absolute values of the X-axis and Y-axis acceleration changes respectively reach a first threshold, a second threshold, and a Z-axis acceleration change value reaches a third threshold, and the distance between the terminal and the human body reaches the first value Four thresholds are used to activate the navigation function of the terminal.
  7. 根据权利要求6所述的终端,其中,所述传感器模块,The terminal of claim 6, wherein the sensor module,
    用于在第二单位时间内获取所述终端在Z轴方向的加速度,并判断所述Z轴方向的加速度的绝对值是否达到第五阈值,所述第五阈值对应车辆启动的加速度;若所述Z轴方向的加速度的绝对值达到第五阈值,执行启动所述终端的导航功能的步骤,否则不执行启动所述终端的导航功能的步骤;或者And acquiring, in a second unit time, an acceleration of the terminal in a Z-axis direction, and determining whether an absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, where the fifth threshold corresponds to an acceleration of the vehicle startup; The absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed; or
    用于在第二单位时间内获取所述终端在Z轴方向的速度,并判断所述Z轴方向的速度是否达到第六阈值,若所述Z轴方向的速度达到第六阈值,所述第六阈值对应车辆运行的速度,执行启动所述终端的导航功能步骤,否则不执行启动所述终端的导航功能的步骤。And acquiring, in a second unit time, a speed of the terminal in the Z-axis direction, and determining whether the speed in the Z-axis direction reaches a sixth threshold, and if the speed in the Z-axis direction reaches a sixth threshold, the The six thresholds correspond to the speed at which the vehicle is running, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed.
  8. 根据权利要求6所述的终端,其中,所述判断模块,The terminal according to claim 6, wherein said determining module,
    用于判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若所述X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值;若所述Z轴方向加速度变化值达到第三阈值,执行所述获取终端与人体的距离值的步骤;或者And determining whether an absolute value of the acceleration change in the X-axis and the Y-axis direction reaches a first threshold and a second threshold respectively; if an absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches a first threshold and a second threshold Determining whether the acceleration change value in the Z-axis direction reaches a third threshold; if the acceleration change value in the Z-axis direction reaches a third threshold, performing the step of acquiring a distance value between the terminal and the human body; or
    用于判断所述Z轴方向加速度变化值是否达到第三阈值;若所述Z轴方向加速度变化值达到第三阈值,判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;若所述X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,执行所述获取终端与人体的距离值的步骤。And determining whether the acceleration value of the Z-axis direction reaches a third threshold; if the acceleration value of the Z-axis direction reaches a third threshold, determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction respectively reaches the first threshold a threshold value and a second threshold value; if the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold value and the second threshold value, the step of acquiring the distance value between the terminal and the human body is performed.
  9. 根据权利要求6所述的终端,其中,所述传感器模块包括重力加速度传感器、速度传感器以及距离传感器。The terminal of claim 6, wherein the sensor module comprises a gravity acceleration sensor, a speed sensor, and a distance sensor.
  10. 根据权利要求9所述的终端,其中,所述距离传感模块是红外距离传感器。The terminal of claim 9, wherein the distance sensing module is an infrared distance sensor.
  11. 根据权利要求6所述的终端,其中,所述终端是手机。The terminal of claim 6, wherein the terminal is a mobile phone.
  12. 一种终端内导航功能的启动方法,其中,包括如下步骤:A method for starting a navigation function in a terminal, comprising the following steps:
    在第一单位时间内获取终端三轴方向加速度,其中三轴为X轴、Y轴和Z轴;Obtaining the acceleration of the terminal in three directions in the first unit time, wherein the three axes are the X axis, the Y axis, and the Z axis;
    判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值,所述第一阈值、第二阈值对应终端的旋转动作,第三阈值对应终端的退后动作;Determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches a first threshold value and a second threshold value respectively, and determining whether the acceleration change value in the Z-axis direction reaches a third threshold value, where the first threshold value and the second threshold value correspond to The rotation action of the terminal, and the third threshold corresponds to the back-off action of the terminal;
    若所述X轴、Y轴加速度变化的绝对值分别达到第一阈值、第二阈值、Z轴方向加速度变化值达到第三阈值,获取所述终端与人体的距离值,若所述终端与人体的距离值达到第四阈值,启动所述终端的导航功能。And if the absolute values of the X-axis and Y-axis acceleration changes respectively reach a first threshold, a second threshold, and a Z-axis acceleration change value reaches a third threshold, obtaining a distance value between the terminal and the human body, if the terminal and the human body The distance value reaches a fourth threshold, and the navigation function of the terminal is activated.
  13. 根据权利要求12所述的启动方法,其中,在所述X轴、Y轴加速度变化的绝对值、Z轴方向加速度变化和终端与人体的距离值分别达到第一阈值、第二阈值、第三阈值以及第四阈值的步骤之后、所述启动终端的导航功能的步骤之前,包括:The starting method according to claim 12, wherein the absolute value of the X-axis and Y-axis acceleration changes, the Z-axis direction acceleration change, and the terminal-to-human body distance value reach a first threshold, a second threshold, and a third, respectively. After the step of thresholding and the fourth threshold, before the step of initiating the navigation function of the terminal, the method includes:
    在第二单位时间内获取所述终端在Z轴方向的加速度,并判断所述Z轴方向的加速度的绝对值是否达到第五阈值,所述第五阈值对应车辆启动的加速度;若所述Z轴方向的加速度的绝对值达到第五阈值,执行启动所述终端的导航功能的步骤,否则不执行启动所述终端的导航功能的步骤。Obtaining acceleration of the terminal in the Z-axis direction in a second unit time, and determining whether an absolute value of the acceleration in the Z-axis direction reaches a fifth threshold, where the fifth threshold corresponds to an acceleration of the vehicle startup; The absolute value of the acceleration in the axial direction reaches a fifth threshold, and the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed.
  14. 根据权利要求12所述的启动方法,其中,在所述X轴、Y轴加速度变化的绝对值、Z轴方向加速度变化和终端与人体的距离值分别达到第一阈值、第二阈值、第三阈值以及第四阈值的步骤之后、所述启动终端的导航功能的步骤之前,包括:The starting method according to claim 12, wherein the absolute value of the X-axis and Y-axis acceleration changes, the Z-axis direction acceleration change, and the terminal-to-human body distance value reach a first threshold, a second threshold, and a third, respectively. After the step of thresholding and the fourth threshold, before the step of initiating the navigation function of the terminal, the method includes:
    在第二单位时间内获取所述终端在Z轴方向的速度,并判断所述Z轴方向的速度是否达到第六阈值,若所述Z轴方向的速度达到第六阈值,所述第六阈值对应车辆运行的速度,执行启动所述终端的导航功能步骤,否则不执行启动所述终端的导航功能的步骤。Acquiring the speed of the terminal in the Z-axis direction in a second unit time, and determining whether the speed in the Z-axis direction reaches a sixth threshold, and if the speed in the Z-axis direction reaches a sixth threshold, the sixth threshold Corresponding to the speed of running the vehicle, the step of starting the navigation function of the terminal is performed, otherwise the step of starting the navigation function of the terminal is not performed.
  15. 根据权利要求12所述的启动方法,其中,所述判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值的步骤包括:The starting method according to claim 12, wherein the determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches the first threshold and the second threshold respectively, and determining whether the acceleration value in the Z-axis direction reaches the third value The steps of the threshold include:
    判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值;Determining whether the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach a first threshold and a second threshold;
    若所述X轴、Y轴方向加速度变化的绝对值分别达到第一阈值、第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值;If the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, determine whether the acceleration change value in the Z-axis direction reaches a third threshold;
    若所述Z轴方向加速度变化值达到第三阈值,执行所述获取终端与人体的距离值的步骤。And if the acceleration change value in the Z-axis direction reaches a third threshold, the step of acquiring a distance value between the terminal and the human body is performed.
  16. 根据权利要求12所述的启动方法,其中,所述判断X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值、第二阈值,判断所述Z轴方向加速度变化值是否达到第三阈值的步骤包括:The starting method according to claim 12, wherein the determining whether the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches the first threshold and the second threshold respectively, and determining whether the acceleration value in the Z-axis direction reaches the third value The steps of the threshold include:
    判断所述Z轴方向加速度变化值是否达到第三阈值;Determining whether the acceleration change value in the Z-axis direction reaches a third threshold;
    若所述Z轴方向加速度变化值达到第三阈值,判断所述X轴、Y轴方向加速度变化的绝对值是否分别达到第一阈值和第二阈值;And determining, in the Z-axis direction, that the absolute value of the acceleration change in the X-axis and the Y-axis direction reaches the first threshold and the second threshold respectively;
    若所述X轴、Y轴方向加速度变化的绝对值分别达到第一阈值和第二阈值,执行所述获取终端与人体的距离值的步骤。And if the absolute values of the acceleration changes in the X-axis and the Y-axis directions respectively reach the first threshold and the second threshold, the step of acquiring the distance value between the terminal and the human body is performed.
PCT/CN2012/081584 2011-12-21 2012-09-19 Terminal and method for starting navigation function thereof WO2013091411A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011104341904A CN102540198B (en) 2011-12-21 2011-12-21 Terminal and method for starting navigation function in terminal
CN201110434190.4 2011-12-21

Publications (1)

Publication Number Publication Date
WO2013091411A1 true WO2013091411A1 (en) 2013-06-27

Family

ID=46347523

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/081584 WO2013091411A1 (en) 2011-12-21 2012-09-19 Terminal and method for starting navigation function thereof

Country Status (2)

Country Link
CN (1) CN102540198B (en)
WO (1) WO2013091411A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102540198B (en) * 2011-12-21 2013-05-29 惠州Tcl移动通信有限公司 Terminal and method for starting navigation function in terminal
CN103118167A (en) * 2012-12-26 2013-05-22 广东欧珀移动通信有限公司 Mobile terminal calculating kinematic velocity system, method and mobile terminal
CN104021601B (en) * 2014-05-30 2015-04-29 爱培科科技开发(深圳)有限公司 Car collision detection method and device based on three-shaft acceleration sensor
CN104749943A (en) * 2015-04-13 2015-07-01 深圳市欧珀通信软件有限公司 Screen light-up method and device and intelligent watch
CN107027159B (en) * 2016-01-29 2022-05-20 中兴通讯股份有限公司 Method and terminal for joining Internet of vehicles according to needs
CN107547730A (en) * 2016-06-29 2018-01-05 张家港市鸿嘉数字科技有限公司 A kind of method for automatically turning on navigation APP
CN109115233B (en) * 2017-06-26 2022-01-04 精彩旅图(北京)科技发展有限公司 Method, device, system and computer readable medium for non-destination navigation
WO2019140670A1 (en) * 2018-01-20 2019-07-25 信利光电股份有限公司 Starting method for mobile terminal biometric characteristic identification sensor and apparatus thereof
CN110812142A (en) * 2019-10-18 2020-02-21 湖南红太阳新能源科技有限公司 Intelligent blind guiding system and method
CN115355926B (en) * 2022-10-19 2023-09-19 北京百度网讯科技有限公司 Method, device, equipment and storage medium for vehicle navigation

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2914109Y (en) * 2006-04-29 2007-06-20 和碁国际股份有限公司 Plug and play type intelligent satellite navigation receiver
JP2007163386A (en) * 2005-12-16 2007-06-28 Casio Hitachi Mobile Communications Co Ltd Portable terminal device with navigation function and program
DE102006051228A1 (en) * 2006-10-31 2008-05-08 Deutsche Telekom Ag Navigating method for use in motor vehicle, involves transmitting address data from navigation unit as navigation destination to telecommunication device in form of short messaging service, and providing action code in data
TW201020520A (en) * 2008-11-26 2010-06-01 E Ten Information Sys Co Ltd Control method of starting navigation positioning system and electronic apparatus using the same
CN101750073A (en) * 2008-12-18 2010-06-23 倚天资讯股份有限公司 Starting control method of navigation positioning system and electronic device using same
CN101832777A (en) * 2009-03-10 2010-09-15 本田技研工业株式会社 Guider
CN201830294U (en) * 2010-08-18 2011-05-11 深圳市子栋科技有限公司 Navigation system and navigation server based on voice command
CN102540198A (en) * 2011-12-21 2012-07-04 惠州Tcl移动通信有限公司 Terminal and method for starting navigation function in terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100414299C (en) * 2005-09-29 2008-08-27 齐荣怀 Four freedom acceleration and angular velocity vehicle navigation signal generator
US8942764B2 (en) * 2007-10-01 2015-01-27 Apple Inc. Personal media device controlled via user initiated movements utilizing movement based interfaces

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007163386A (en) * 2005-12-16 2007-06-28 Casio Hitachi Mobile Communications Co Ltd Portable terminal device with navigation function and program
CN2914109Y (en) * 2006-04-29 2007-06-20 和碁国际股份有限公司 Plug and play type intelligent satellite navigation receiver
DE102006051228A1 (en) * 2006-10-31 2008-05-08 Deutsche Telekom Ag Navigating method for use in motor vehicle, involves transmitting address data from navigation unit as navigation destination to telecommunication device in form of short messaging service, and providing action code in data
TW201020520A (en) * 2008-11-26 2010-06-01 E Ten Information Sys Co Ltd Control method of starting navigation positioning system and electronic apparatus using the same
CN101750073A (en) * 2008-12-18 2010-06-23 倚天资讯股份有限公司 Starting control method of navigation positioning system and electronic device using same
CN101832777A (en) * 2009-03-10 2010-09-15 本田技研工业株式会社 Guider
CN201830294U (en) * 2010-08-18 2011-05-11 深圳市子栋科技有限公司 Navigation system and navigation server based on voice command
CN102540198A (en) * 2011-12-21 2012-07-04 惠州Tcl移动通信有限公司 Terminal and method for starting navigation function in terminal

Also Published As

Publication number Publication date
CN102540198B (en) 2013-05-29
CN102540198A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
WO2013091411A1 (en) Terminal and method for starting navigation function thereof
WO2014017777A1 (en) Mobile terminal and control method thereof
WO2012036327A1 (en) Schedule display method and device in mobile communication terminal
WO2015170821A1 (en) Mobile terminal system for remote starting and management of vehicle
WO2017088486A1 (en) Method and system for giving reminder by mobile terminal
WO2015196569A1 (en) Close-distance automatic unlocking method and system for mobile terminal
WO2019143071A1 (en) Electronic device for controlling a plurality of applications
WO2014088162A1 (en) Portable device and method for providing voice recognition service
WO2015030529A1 (en) Electronic device having curved bottom and operation method therefor
CN107357411B (en) Electronic device
WO2012133981A1 (en) Image display device and method for operating same
WO2019137218A1 (en) Motor vibration control method, mobile terminal, and computer-readable storage medium
WO2015054997A1 (en) Mobile terminal, and screen unlocking and locking method thereof
WO2017166764A1 (en) Bluetooth beacon-based arrival prompting method and arrival prompting device
WO2021259152A1 (en) Battery test method and apparatus
CN103019107A (en) Terminal and method for automatically pausing music play function during sleep time of user
WO2016019705A1 (en) Method and device for processing real-time vehicle traveling data
WO2017059698A1 (en) Smart watch and screen locking management method and system therefor
CN109565529B (en) Application starting method and terminal equipment
WO2020043156A1 (en) Screen-on control method and device, and mobile terminal and storage medium
WO2016086558A1 (en) Smart terminal information display method and smart terminal
WO2016123898A1 (en) Short message managing method and mobile terminal thereof
WO2014204022A1 (en) Mobile terminal
WO2014180150A1 (en) Method, terminal and computer storage medium for triggering a communication with a contact
CN112860169A (en) Interaction method and device, computer readable medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12860824

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12860824

Country of ref document: EP

Kind code of ref document: A1