WO2016123842A1 - 终端应用程序的启动方法及装置 - Google Patents

终端应用程序的启动方法及装置 Download PDF

Info

Publication number
WO2016123842A1
WO2016123842A1 PCT/CN2015/074796 CN2015074796W WO2016123842A1 WO 2016123842 A1 WO2016123842 A1 WO 2016123842A1 CN 2015074796 W CN2015074796 W CN 2015074796W WO 2016123842 A1 WO2016123842 A1 WO 2016123842A1
Authority
WO
WIPO (PCT)
Prior art keywords
axis
terminal
preset
coordinate
motion track
Prior art date
Application number
PCT/CN2015/074796
Other languages
English (en)
French (fr)
Inventor
张朝
黄伟
王海飞
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016123842A1 publication Critical patent/WO2016123842A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for starting a terminal application.
  • intelligent terminals has become very common, and today's users are more interested in the convenience and convenience of using the terminal, such as how to quickly wake up the terminal, how to facilitate one-handed operation, how to start the application that the user wants to use under special conditions, etc. These are increasingly becoming the direction of the development of intelligent terminals. Most of today's users start the application by manually selecting the desired application, reaching the user's needs, or starting the required application by timing, or by voice recognition technology.
  • the user's manual selection may be completely performed according to the user's desire, but it is more disadvantageous when the user cannot freely use the hands in a special environment; the timing control is limited by time, and The limitation of the space location where the user is located cannot be fully considered, and the speech recognition is very intelligent, but the recognition rate is low. For example, when the user is in a noisy environment, the speech recognition cannot play its role.
  • various related technologies use various sensors to start the application through the gesture, and simply preset the posture and match whether the existing posture is within the preset value. The biggest problem of this method is that the user needs to accurately record the pre-preparation. The value is set, and the user needs to restore the terminal posture to the preset value more accurately, so the operation requirement of the user is very high, thereby causing the user to operate inconvenience and the success rate is relatively low.
  • the main object of the present invention is to provide a method and a device for starting a terminal application, so as to solve at least the problem that the corresponding application is started with a low probability of starting the corresponding application in the related art.
  • a method for starting a terminal application including: acquiring a motion track of a terminal; determining whether the motion track is within a value range of a preset motion track; When yes, the application corresponding to the preset motion track is started.
  • the motion trajectory includes: coordinate information of a start position and an end position of the terminal on a specified coordinate axis, angular velocity and acceleration of the terminal on the specified coordinate axis, and the angular velocity and the The value of the change in acceleration.
  • the specified coordinate axis includes at least one of the following: an X axis, a Y axis, and a Z axis in the space rectangular coordinate system.
  • acquiring the motion trajectory of the terminal includes: acquiring the X axis and/or the Y axis and/or the Z axis during the motion of the terminal from the starting position to the ending position a change value, wherein the Z axis is a coordinate axis perpendicular to a plane in which the terminal display screen is located, the Y axis is a coordinate axis axis parallel to the plane of the display screen and perpendicular to the Z axis, The X axis is a coordinate axis perpendicular to the Z axis and the Y axis.
  • determining whether the motion track is within a value range of the preset motion track comprises: determining whether the coordinate information of the start position and the end position on the specified coordinate axis is at a preset first value Within the range; when the judgment result is YES, it is judged whether the angular velocity and the acceleration on the specified coordinate axis are within the preset second value range.
  • the method further includes: configuring a correspondence between the preset motion track and the application.
  • a device for starting a terminal application includes: an obtaining module configured to acquire a motion track of the terminal; and a determining module configured to determine whether the motion track is in a preset motion track Within the range of values; the startup module is configured to initiate an application corresponding to the preset motion trajectory when the determination result is YES.
  • the motion trajectory includes: coordinate information of a start position and an end position of the terminal on a specified coordinate axis, angular velocity and acceleration of the terminal on the specified coordinate axis, and the angular velocity and the The value of the change in acceleration.
  • the specified coordinate axis includes at least one of the following: an X axis, a Y axis, and a Z axis in the space rectangular coordinate system.
  • the acquiring module is further configured to acquire the X axis and/or the Y axis and/or the Z axis during the movement of the terminal from the starting position to the ending position a variation value, wherein the Z axis is a coordinate axis perpendicular to a plane in which the display screen of the terminal is located, and the Y axis is a coordinate axis axis parallel to the plane of the display screen and perpendicular to the Z axis,
  • the X axis is a coordinate axis perpendicular to the Z axis and the Y axis.
  • the determining module includes: a first determining unit, configured to determine whether the coordinate information of the starting position and the ending position on the specified coordinate axis is within a preset first value range; The determining unit is configured to determine whether the angular velocity and the acceleration on the specified coordinate axis are within a preset second value range when the determination result is YES.
  • the device before acquiring the motion track of the terminal, the device further includes: a configuration module, configured to configure a correspondence between the preset motion track and the application.
  • the method for acquiring the motion track of the terminal and starting the application program corresponding to the preset motion track when the motion track is within the range of the preset motion track is used, and the related art is solved.
  • the terminal posture matching method is adopted to start the problem that the corresponding application has low success rate, thereby achieving the effect of high success rate of the quick start application.
  • FIG. 1 is a flowchart of a method for starting a terminal application according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of a device for starting a terminal application according to an embodiment of the present invention
  • FIG. 3 is a block diagram 1 of an optional structure of a boot device of a terminal application according to an embodiment of the present invention
  • FIG. 4 is a block diagram 2 of an optional structure of a startup device of a terminal application according to an embodiment of the present invention
  • Figure 5 is a schematic illustration of a three coordinate axis in accordance with an alternative embodiment of the present invention.
  • FIG. 6 is a flow chart of a method of activating a front camera by a motion gesture in accordance with an alternative embodiment of the present invention
  • FIG. 7 is a schematic illustration of a motion trajectory in accordance with an alternative embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for starting a terminal application according to an embodiment of the present invention. As shown in FIG. 1, the steps of the method include:
  • Step S102 Acquire a motion track of the terminal
  • Step S104 determining whether the motion track is within a value range of the preset motion track
  • Step S106 When the determination result is YES, an application corresponding to the preset motion track is started.
  • the method for acquiring the motion track of the terminal and starting the application program corresponding to the preset motion track when the motion track is within the range of the preset motion track is used, that is, in this embodiment,
  • the matching method of the motion track is adopted to quickly start the corresponding application mode, and the problem that the corresponding application is started with the terminal posture matching method in the related art is solved, thereby achieving the high success rate of the quick start application. effect.
  • the motion trajectory may include: coordinate information of a starting position and an ending position of the terminal on a specified coordinate axis, and the terminal is on the specified coordinate axis.
  • the specified coordinate axes mentioned above may be one or more coordinate axes of the X-axis, the Y-axis, and the Z-axis in the space rectangular coordinate system, that is, the start position and the end position involved in this embodiment.
  • the coordinate information and the values and variation values of the angular velocity and acceleration may be represented by coordinate information of one or more coordinate axes in the above coordinate system.
  • the motion trajectory of the acquiring terminal in the embodiment may be implemented by acquiring the change of the X-axis and/or the Y-axis and/or the Z-axis during the movement of the terminal from the starting position to the ending position.
  • the Z axis is a coordinate axis perpendicular to the plane of the terminal display screen
  • the Y axis is a coordinate axis axis parallel to the plane of the display screen and perpendicular to the Z axis
  • the X axis is a coordinate axis perpendicular to the Z axis and the Y axis .
  • the positive direction of the Z-axis is the direction in which the display screen is directed to the user
  • the positive direction of the Y-axis is the direction perpendicular to the horizontal plane
  • the positive direction of the X-axis is the direction facing the horizontal direction of the display screen, the X, Y
  • the positive direction of the Z axis follows the right hand rule.
  • the method may be implemented as follows:
  • Step S11 determining whether the coordinate information of the starting position and the ending position on the specified coordinate axis is within a preset first value range
  • Step S12 When the judgment result is YES, it is judged whether the angular velocity and the acceleration on the specified coordinate axis are within the preset second value range.
  • the method in this embodiment may further include: configuring a correspondence between the preset motion track and the application.
  • the user can preset the correspondence between the motion track and the application in advance, that is, the user can set the mode according to his own needs, thereby increasing the flexibility of quickly launching the application.
  • a device for initiating a terminal application is also provided, which is used to implement the above-mentioned embodiments and optional embodiments, and has not been described again.
  • the term “module” "unit” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • the device includes: an acquiring module 22 configured to acquire a motion track of the terminal; and a determining module 24 coupled to the acquiring module 22
  • the setting module 26 is coupled to the determining module 24, and is configured to start an application corresponding to the preset motion track when the determination result is yes.
  • the motion trajectory involved in the apparatus of this embodiment may include: coordinate information of a starting position and an ending position of the terminal on a specified coordinate axis, angular velocity and acceleration of the terminal on the specified coordinate axis, and angular velocity and acceleration.
  • the obtaining module is further configured to acquire a change value of the X-axis and/or the Y-axis and/or the Z-axis during the movement of the terminal from the starting position to the ending position, wherein the Z-axis is a plane corresponding to the display screen of the terminal
  • the vertical coordinate axis and the Y axis are coordinate axes parallel to the plane of the display screen and perpendicular to the Z axis
  • the X axis is a coordinate axis perpendicular to the Z axis and the Y axis.
  • FIG. 3 is a block diagram of an optional structure of a startup device of a terminal application according to an embodiment of the present invention.
  • the determination module 24 includes: a first determination unit 32 configured to determine a start position and a termination position in a designation. Whether the coordinate information on the coordinate axis is within the preset first value range; the second determining unit 34 is coupled with the first determining unit 32, and is configured to determine the angular velocity on the specified coordinate axis when the determination result is YES. And whether the acceleration is within the preset second value range.
  • the device may further include: a configuration module 42 coupled with the acquisition module 22. Connect, set to configure the correspondence between the preset motion track and the application.
  • the optional embodiment relates to a mobile phone device, comprising: a gesture acquiring module; the gesture acquiring module includes: a gyro sensor and a gravity acceleration sensor; wherein the gyro sensor and the gravity acceleration sensor respectively detect the three axes of the mobile phone
  • the three axes can be represented by X, Y, and Z axes.
  • FIG. 5 is a schematic diagram of a three coordinate axis according to an alternative embodiment of the present invention, as shown in FIG.
  • the Z axis is optionally a coordinate axis perpendicular to the display screen of the mobile phone, and the positive direction of the Z axis is a direction facing the user's face during normal operation of the user; wherein the Y axis is selectable when the Z axis is maintained and the horizontal plane When parallel, a coordinate axis perpendicular to the horizontal direction, the positive direction of the Y axis may be a direction perpendicular to the horizontal direction; the X axis is perpendicular to the Z axis and perpendicular to the Y axis direction;
  • the determination of the direction of the three coordinate axes in the foregoing optional embodiment is merely an example and does not constitute a limitation of the present invention.
  • the three coordinate axes may be correspondingly configured as needed, such as the above three coordinate axes.
  • the X, Y, and Z axes can be interchanged with each other, or the three axes can be set with other reference objects.
  • the gyro sensor can obtain the angular velocity of the deflection in the X, Y, and Z planes, and transmit the angular velocity to the processor of the mobile phone device for calculation; and can also detect X and Y by the acceleration sensor. The magnitude and direction of the acceleration received on the Z-axis, and this value can be sent to the processor of the handset device for computational processing.
  • the present embodiment provides a method for launching an application, which uses a mobile phone attitude sensor module to detect a mobile phone attitude parameter, and activates a preset application program by a parameter change and a change trend.
  • the steps include:
  • Step S202 The user presets a startup mode of the required application
  • the method includes: preset a motion track of the mobile phone and an application to be activated, the motion track includes: a starting position, an ending position of the mobile phone, and a direction and a posture of the mobile phone from the initial position to the ending position; wherein the direction and the posture
  • the user-defined change in motion of any of the three axes can be a change in angular velocity or acceleration with one or more axes, specifying that the launched application can complete the preset motion pose for the user or After the track, the phone starts the mobile phone side application.
  • Step S204 Start a gesture acquisition module
  • the gyro sensor and the acceleration sensor work normally, and the related parameters of each coordinate axis are obtained in real time, and the parameters include the angular velocity values and the change values in the three-axis directions of X, Y, and Z, and the values of the accelerations in the three-axis directions of X, Y, and Z. And changing the value, and simultaneously reporting the values to the processor of the mobile device for processing;
  • Step S206 The mobile device processor determines the obtained angular velocity value and the change value, and the acceleration value and the change, first determines whether the mobile phone moves to the termination position according to the preset initial position, and further calculates whether the motion track of the mobile phone is according to the preset.
  • Step S208 When it is determined that the operation of the mobile phone conforms to the preset trajectory, the specified application is started, otherwise the mobile device processor discards the current calculation process and waits for the user to operate the mobile device again;
  • the sensor technology is used to monitor the movement track of the user operating the mobile phone, and the recognition of the continuous motion track is determined.
  • the relevant application program is started to monitor the change rate of the mobile phone movement, as long as the change is made.
  • the corresponding application is started. It can be seen that the dynamic range is wide, and the recognition rate is high and accurate.
  • FIG. 6 is a flowchart of a method for a front camera to start a motion gesture according to an alternative embodiment of the present invention, as shown in FIG.
  • the steps of the method include:
  • Step S602 The user presets a mobile phone motion gesture or a track to start a specified application
  • the step S602 includes:
  • Step S61 setting the launched application to open the application of the front camera
  • FIG. 7 is a schematic diagram of a motion trajectory according to an alternative embodiment of the present invention.
  • the front axis of the LCD is perpendicular to the horizontal surface.
  • the long side of the LCD is parallel to the horizontal plane and perpendicular to the user; in this state, the state of the three coordinate axes is that the positive direction of the Z axis is in the same direction as the front axis of the LCD, perpendicular to the horizontal plane and upward, and the Y axis is parallel to the long side of the LCD, and the positive direction is the user.
  • the front face is facing, and the X axis is basically parallel to the user's body and water level.
  • Step S63 setting the mobile phone motion termination state to the mobile phone vertically perpendicular to the horizontal plane.
  • the LCD front axis is parallel to the horizontal plane
  • the LCD long side is perpendicular to the horizontal plane and parallel to the user.
  • the state of the coordinate axis is that the positive direction of the Z axis is in the same direction as the front axis of the LCD, parallel to the horizontal plane and pointing to the front of the user, the Y axis is parallel to the long side of the LCD, the positive direction is perpendicular to the horizontal plane and upward, and the X axis remains unchanged parallel to the user's body and level.
  • Step S64 setting the motion posture or the trajectory to the X axis as the rotation axis, the XY plane angular velocity is increased, and the XY plane angle change is greater than 50 degrees and less than 120 degrees, and the Z-axis and Y-axis accelerations are increased from 0 during the movement. At the same time, the motion is reduced to 0 at the end of the motion, as shown in S701-3 in FIG.
  • Step S604 causing the terminal and the action to move the mobile phone from the designated starting position to the ending position according to the preset trajectory;
  • the starting position and the ending position do not have to be strictly perpendicular and parallel to the horizontal plane, and can float within a certain range.
  • Step S606 Acquire an angular velocity and an acceleration value and a change value of each axis during the movement of the user from the starting position to the ending position;
  • Step S608 determining whether the obtained angular velocity and acceleration value and the change value meet the preset condition; when the determination result is YES, step S610 is performed: when the determination result is no, step S612 is performed;
  • Step S610 Start a camera program corresponding to the preset motion track
  • Step S612 Abandon the motion trajectory parameter and wait for the next motion trajectory parameter reporting process.
  • the method of starting the application by using the motion trajectory and the posture makes the user's operation convenient, and is not restricted by the environment and time and space, and the operation is convenient; in addition, the gesture recognition technology in the related art only matches whether the existing posture is in the pre-prevention Within the range of values, if the allowable error range is large, the false triggering problem is serious, and the allowable error range is small, the recognition rate is low, and the operation requirements of different users cannot be met.
  • the solution is based on the movement posture and the trajectory of the mobile phone, and monitors the value or rate of change of the angular velocity and the acceleration.
  • the recognition rate is high and accurate according to the manner of the embodiment as long as the change trend conforms to the preset condition. .
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • the above-mentioned embodiment of the present invention solves the problem that the success rate of starting the corresponding application is low by adopting the method of terminal attitude matching in the related art, thereby achieving the effect of high success rate of the quick start application.
  • modules or steps of the embodiments of the present invention can be implemented by a general computing device, which can be concentrated on a single computing device or distributed in multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, thereby They may be stored in a storage device by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or separately fabricated into individual integrated circuit modules, or Implementing multiple modules or steps in them as a single integrated circuit module. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明提供了一种终端应用程序的启动方法及装置,其中该方法包括:获取终端的运动轨迹;判断运动轨迹是否在预设运动轨迹的取值范围之内;在判断结果为是时,启动与预设运动轨迹对应的应用程序。通过本发明实施例,解决了相关技术中采用终端姿态匹配的方式启动相应的应用程序成功率低的问题,进而达到了快捷启动应用程序成功率高的效果。

Description

终端应用程序的启动方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及一种终端应用程序的启动方法及装置。
背景技术
智能终端的使用已非常普遍,而现今用户则更多的追求在使用终端过程中的快捷及便利,例如如何快速唤醒终端、如何方便单手操作、如何在特殊条件下启动用户想使用的应用等,这些越来越成为智能终端发展的方向。现今用户在启动应用程序时,大多数是通过手动选择所希望的应用程序,已达到用户的所需,或者通过定时启动所需应用程序,或者通过语音识别技术达到如上效果。
然而,上述相关技术中启动应用程序的方式中,用户手动选择虽可以完全根据用户所想进行,但是在特殊环境用户无法自由解放双手使用的时候反而更加不利;定时控制则受限于时间,并不能充分考虑用户所处空间场所的限制,具有一定局限性,而语音识别虽然很智能化,但存在识别率低的问题,如当用户处在嘈杂环境中,则语音识别根本无法发挥其作用。另外相关技术中采用各种传感器通过姿态启动应用程序也只是简单的进行姿态的预设,及匹配现有姿态是否处在预设值的范围内,此方法的最大问题就是需要用户准确的记录预设值,并需要用户更加准确无误的恢复终端姿态到预设值,所以对用户的操作要求非常高,进而导致用户操作不便利以及成功率比较低。
针对相关技术中采用终端姿态匹配的方式启动相应的应用程序成功率低的问题,目前尚未提出有效的解决方案。
发明内容
本发明的主要目的在于提供一种终端应用程序的启动方法及装置,以至少解决相关技术中采用终端姿态匹配的方式启动相应的应用程序成功率低的问题。
根据本发明实施例的一个方面,提供了一种终端应用程序的启动方法,包括:获取终端的运动轨迹;判断所述运动轨迹是否在预设运动轨迹的取值范围之内;在判断结果为是时,启动与所述预设运动轨迹对应的应用程序。
进一步地,所述运动轨迹包括:所述终端的起始位置和终止位置在指定坐标轴上的坐标信息,所述终端在所述指定坐标轴上的角速度和加速度,以及所述角速度和所述加速度的变化值。
进一步地,所述指定坐标轴包括以下至少之一:空间直角坐标系中的X轴、Y轴和Z轴。
进一步地,获取终端的运动轨迹包括:获取所述终端从所述起始位置到所述终止位置的运动过程中所述X轴和/或所述Y轴和/或所述Z轴的所述变化值,其中,所述Z轴为与所述终端显示屏所在平面垂直的坐标轴、所述Y轴为与所述显示屏所在平面平行且垂直于所述Z轴的坐标轴轴、所述X轴为与所述Z轴和所述Y轴垂直的坐标轴。
进一步地,判断所述运动轨迹是否在预设运动轨迹的取值范围之内包括:判断所述起始位置和所述终止位置在指定坐标轴上的坐标信息是否在预设的第一取值范围之内;在判断结果为是时,判断所述指定坐标轴上的角速度和加速度是否在预设的第二取值范围之内。
进一步地,在获取终端的运动轨迹之前,所述方法还包括:配置所述预设运动轨迹与所述应用程序的对应关系。
根据本发明实施例的另一个方面,提供了一种终端应用程序的启动装置,包括:获取模块,设置为获取终端的运动轨迹;判断模块,设置为判断所述运动轨迹是否在预设运动轨迹的取值范围之内;启动模块,设置为在判断结果为是时,启动与所述预设运动轨迹对应的应用程序。
进一步地,所述运动轨迹包括:所述终端的起始位置和终止位置在指定坐标轴上的坐标信息,所述终端在所述指定坐标轴上的角速度和加速度,以及所述角速度和所述加速度的变化值。
进一步地,所述指定坐标轴包括以下至少之一:空间直角坐标系中的X轴、Y轴和Z轴。
进一步地,所述获取模块还设置为,获取所述终端从所述起始位置到所述终止位置的运动过程中所述X轴和/或所述Y轴和/或所述Z轴的所述变化值,其中,所述Z轴为与所述终端显示屏所在平面垂直的坐标轴、所述Y轴为与所述显示屏所在平面平行且垂直于所述Z轴的坐标轴轴、所述X轴为与所述Z轴和所述Y轴垂直的坐标轴。
进一步地,所述判断模块包括:第一判断单元,设置为判断所述起始位置和所述终止位置在指定坐标轴上的坐标信息是否在预设的第一取值范围之内;第二判断单元,设置为在判断结果为是时,判断所述指定坐标轴上的角速度和加速度是否在预设的第二取值范围之内。
进一步地,在获取终端的运动轨迹之前,所述装置还包括:配置模块,设置为配置所述预设运动轨迹与所述应用程序的对应关系。
在本发明实施例中,采用获取终端的运动轨迹,在该运动轨迹在预设运动轨迹的取值范围之内时,启动与该预设运动轨迹对应的应用程序的方式,解决了相关技术中采用终端姿态匹配的方式启动相应的应用程序成功率低的问题,进而达到了快捷启动应用程序成功率高的效果。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的终端应用程序的启动方法的流程图;
图2是根据本发明实施例的终端应用程序的启动装置结构框图;
图3是根据本发明实施例的终端应用程序的启动装置可选结构框图一;
图4是根据本发明实施例的终端应用程序的启动装置可选结构框图二;
图5是根据本发明可选实施例的三坐标轴的示意图;
图6是根据本发明可选实施例的运动手势启动前摄像头的方法的流程图;
图7是根据本发明可选实施例的运动轨迹的示意图。
具体实施方式
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。
本实施例提供了一种终端应用程序的启动方法,图1是根据本发明实施例的终端应用程序的启动方法的流程图,如图1所示,该方法的步骤包括:
步骤S102:获取终端的运动轨迹;
步骤S104:判断运动轨迹是否在预设运动轨迹的取值范围之内;
步骤S106:在判断结果为是时,启动与预设运动轨迹对应的应用程序。
通过本实施例,采用获取终端的运动轨迹,在该运动轨迹在预设运动轨迹的取值范围之内时,启动与该预设运动轨迹对应的应用程序的方式,也就是说本实施例中采用了运动轨迹的匹配方式来快捷启动相应的应用程序的方式,解决了相关技术中采用终端姿态匹配的方式启动相应的应用程序成功率低的问题,进而达到了快捷启动应用程序成功率高的效果。
对于本实施例涉及的运动轨迹,在本实施例的一个可选实施方式中该运动轨迹可以包括:终端的起始位置和终止位置在指定坐标轴上的坐标信息,终端在指定坐标轴上的角速度和加速度,以及角速度和加速度的变化值。
此外,对于上述涉及到的指定坐标轴可以是空间直角坐标系中的X轴、Y轴和Z轴一个或多个坐标轴的,也就是说本实施例中涉及到的起始位置和终止位置的坐标信息以及角速度和加速度的数值和变化值可以通过上述坐标系中的一个或多个坐标轴的坐标信息来表示。
基于上述空间直角坐标系,本实施例中获取终端的运动轨迹可以通过以下方式来实现:获取终端从起始位置到终止位置的运动过程中X轴和/或Y轴和/或Z轴的变化值,其中,Z轴为与终端显示屏所在平面垂直的坐标轴、Y轴为与显示屏所在平面平行且垂直于Z轴的坐标轴轴、X轴为与Z轴和Y轴垂直的坐标轴。其中,Z轴的正方向为由显示屏指向用户的方向,Y轴的正方向为垂直于水平面竖直向上的方向,X轴的正方向为面向显示屏水平向右的方向,该X、Y、Z轴的正方向遵循右手法则。
而对于本实施例中的判断运动轨迹是否在预设运动轨迹的取值范围之内的方式可以通过如下方式来实现:
步骤S11:判断起始位置和终止位置在指定坐标轴上的坐标信息是否在预设的第一取值范围之内;
步骤S12:在判断结果为是时,判断指定坐标轴上的角速度和加速度是否在预设的第二取值范围之内。
通过上述步骤S11和S12两个步骤的判断,能够使得启动应用程序的快捷方式的识别率更高。
可选地,在获取终端的运动轨迹之前,本实施例的方法还可以包括:配置预设运动轨迹与应用程序的对应关系。通过该步骤,用户可以事先预设运动轨迹与应用程序的对应关系,即用户可以根据自身的需要设置该方式,增加了快捷启动应用程序的灵活性。
在本实施例中还提供了一种终端应用程序的启动装置,该装置用于实现上述实施例及可选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图2是根据本发明实施例的终端应用程序的启动装置结构框图,如图2所示,该装置包括:获取模块22,设置为获取终端的运动轨迹;判断模块24,与获取模块22耦合连接,设置为判断运动轨迹是否在预设运动轨迹的取值范围之内;启动模块26,与判断模块24耦合连接,设置为在判断结果为是时,启动与预设运动轨迹对应的应用程序。
可选地,对于本实施例装置中涉及到的运动轨迹可以包括:终端的起始位置和终止位置在指定坐标轴上的坐标信息,终端在指定坐标轴上的角速度和加速度,以及角速度和加速度的变化值;其中,指定坐标轴包括以下至少之一:空间直角坐标系中的X轴、Y轴和Z轴。
可选地,获取模块还设置为,获取终端从起始位置到终止位置的运动过程中X轴和/或Y轴和/或Z轴的变化值,其中,Z轴为与终端显示屏所在平面垂直的坐标轴、Y轴为与显示屏所在平面平行且垂直于Z轴的坐标轴轴、X轴为与Z轴和Y轴垂直的坐标轴。
图3是根据本发明实施例的终端应用程序的启动装置可选结构框图一,如图3所示,该判断模块24包括:第一判断单元32,设置为判断起始位置和终止位置在指定坐标轴上的坐标信息是否在预设的第一取值范围之内;第二判断单元34,与第一判断单元32耦合连接,设置为在判断结果为是时,判断指定坐标轴上的角速度和加速度是否在预设的第二取值范围之内。
图4是根据本发明实施例的终端应用程序的启动装置可选结构框图二,如图4所示,在获取终端的运动轨迹之前,该装置还可以包括:配置模块42,与获取模块22耦合连接,设置为配置预设运动轨迹与应用程序的对应关系。
下面结合本发明的可选实施例对本发明进行举例说明;
本可选实施例涉及一种手机装置,该手机装置包括:姿态获取模块;该姿态获取模块包括:陀螺仪传感器及重力加速度传感器;其中,陀螺仪传感器及重力加速度传感器可分别检测手机三坐标轴方向上的角速度及加速度的变化,在本可选实施例中三轴可以用X、Y、Z轴来表示,图5是根据本发明可选实施例的三坐标轴的示意图,如图5所示,其中Z轴可选的为垂直于手机显示屏的坐标轴,该Z轴正方向为用户正常操作时与用户脸部正对的方向;其中Y轴可选的为当Z轴保持与水平面平行时,垂直于水平面方向的坐标轴,该Y轴正方向可选的为垂直于水平面向上的方向;X轴为垂直于Z轴且垂直于Y轴方向;
需要说明的是,上述本可选实施例中的三坐标轴的方向的确定仅仅是举例说明,并不构成对本发明的限定,可以根据需要对三坐标轴进行相应的配置,如上述三坐标轴的X、Y、Z轴之间可以相互调换,也可以以其他参照物来设置该三坐标轴。
其中,该陀螺仪传感器可以获取X、Y、Z轴平面上偏转、倾斜时的转动角速度,并将变化的角速度传递给手机装置的处理器进行计算处理;同时还可以通过加速度传感器检测X、Y、Z轴上受到的加速度的大小和方向,并且可将此值发送给手机装置的处理器进行计算处理。
基于上述手机装置,本可选实施例提供了一种启动应用程序的方法,该方法利用手机姿态传感器模块检测手机姿态参数,通过参数的变化以及变化趋势启动预先设定好的应用程序,该方法的步骤包括:
步骤S202:用户预设所需应用程序的启动方式;
其中,该方法包括预设手机的运动轨迹及指定启动的应用,该运动轨迹包括:手机的起始位置、终止位置以及手机以何种方向及姿态从初始位置运动到终止位置;其中方向及姿态可为用户定义的以三轴中的任何轴运动时的变化情况,可以为以某一轴或多轴进行的角速度或加速度的变化值,指定启动的应用程序可为用户完成预设运动姿态或轨迹后手机启动的手机侧应用程序。
步骤S204:启动姿态获取模块;
其中,陀螺仪传感器及加速度传感器正常工作,并实时获取各坐标轴相关参数,该参数包括X、Y、Z三轴方向上角速度数值和变化值以及X、Y、Z三轴方向上加速度的数值和变化值,同时实时将这些数值上报给手机装置的处理器进行处理;
步骤S206:手机装置处理器对获取的角速度值及变化值以及加速度值及变化进行判断,首先判断手机是否按照预设的初始位置运动到终止位置,进而计算出手机的运动轨迹是否按照预设的轨迹进行;
步骤S208:判断用户对手机的操作符合预设的轨迹时启动指定的应用程序,否则手机装置处理器抛弃本次计算处理并等待用户再次对手机装置的操作;
通过本可选实施例,采用传感器技术监测用户操作手机的运动轨迹,通过对连续运动轨迹的识别进行判定,当满足轨迹要求时则启动相关应用程序,对手机运动的变化率进行监测,只要变化趋势符合预设情况即启动相应的应用程序,可见该方式动态范围宽裕,识别率高且准确。
下面通过本可选实施例的具体应用场景进行举例说明;
在本应用场景中,本可选实施例提供了一种运动手势启动前摄像头的方法,图6是根据本发明可选实施例的运动手势启动前摄像头的方法的流程图,如图6所示,该方法的步骤包括:
步骤S602:用户预设手机运动姿态或轨迹启动指定应用程序;
其中,该步骤S602中包括:
步骤S61:设置启动的应用程序为开启前摄像头的应用;
步骤S62:设置手机起始状态为手机竖直水平放置,图7是根据本发明可选实施例的运动轨迹的示意图,如图7所示,在S701-1中,LCD正面轴垂直于水平面向上,LCD长边平行于水平面并垂直于用户;此状态下三坐标轴状态为,Z轴正方向与LCD正面轴同向,垂直于水平面且向上,Y轴与LCD长边平行,正方向为用户正面面对方向,X轴基本平行用户身体及水平面。
步骤S63:设置手机运动终止状态为手机竖直垂直于水平面,如图7所示,在S701-2中,LCD正面轴平行于水平面,LCD长边垂直于水平面并平行于用户,此状态下三坐标轴状态为,Z轴正方向与LCD正面轴同向,平行于水平面并指向用户正面,Y轴与LCD长边平行,正方向为垂直于水平面且向上,X轴保持不变平行用户身体及水平面。
步骤S64:设置运动姿态或轨迹为以X轴为转动轴,XY平面角速度增加且XY平面角度变化大于50度小于120度,同时Z轴及Y轴加速度在运动期间的变化率由0开始增加,同时运动结束时减小到0,如图7中S701-3。
步骤S604:按照预设轨迹使终端及动作将手机从指定起始位置运动到终止位置;
其中,起始位置与终止位置可不必严格保持与水平面垂直及平行,可在一定范围内浮动。
步骤S606:获取用户从起始位置运动到终止位置期间各轴的角速度及加速度值及变化值;
步骤S608:判断获取到的角速度及加速度值及变化值是否符合预设情况;在判断结果为是时,执行步骤S610:在判断结果为否时,执行步骤S612;
步骤S610:启动与预设运动轨迹对应的摄像头程序;
步骤S612:放弃此次运动轨迹参数等待下一次运动轨迹参数上报处理。
通过本可选实施例,采用运动轨迹及姿态启动应用的方式,使得用户操作方便,且不受环境及时空限制,操作便捷;此外,相关技术中姿态识别技术只是匹配现有姿态是否处在预设值的范围内,如果允许误差范围大,则误触发问题严重,允许误差范围小,则识别率低,不能满足不同用户的操作要求。而本方案则是根据手机的运动姿态及轨迹进行识别,监测角速度及加速度的值或变化率,只要变化趋势符合预设情况即启动相应的应用程序,采用本实施例的方式识别率高且准确。
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及可选实施方式中描述的技术方案。
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。
工业实用性:采用本发明的上述实施例,解决了相关技术中采用终端姿态匹配的方式启动相应的应用程序成功率低的问题,进而达到了快捷启动应用程序成功率高的效果。
显然,本领域的技术人员应该明白,上述的本发明实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而, 可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明实施例不限制于任何特定的硬件和软件结合。
上述仅为本发明的可选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (12)

  1. 一种终端应用程序的启动方法,包括:
    获取终端的运动轨迹;
    判断所述运动轨迹是否在预设运动轨迹的取值范围之内;
    在判断结果为是时,启动与所述预设运动轨迹对应的应用程序。
  2. 根据权利要求1所述的方法,其中,所述运动轨迹包括:所述终端的起始位置和终止位置在指定坐标轴上的坐标信息,所述终端在所述指定坐标轴上的角速度和加速度,以及所述角速度和所述加速度的变化值。
  3. 根据权利要求2所述的方法,其中,所述指定坐标轴包括以下至少之一:空间直角坐标系中的X轴、Y轴和Z轴。
  4. 根据权利要求3所述的方法,其中,获取终端的运动轨迹包括:获取所述终端从所述起始位置到所述终止位置的运动过程中所述X轴和/或所述Y轴和/或所述Z轴的所述变化值,其中,所述Z轴为与所述终端显示屏所在平面垂直的坐标轴、所述Y轴为与所述显示屏所在平面平行且垂直于所述Z轴的坐标轴轴、所述X轴为与所述Z轴和所述Y轴垂直的坐标轴。
  5. 根据权利要求2所述的方法,其中,判断所述运动轨迹是否在预设运动轨迹的取值范围之内包括:
    判断所述起始位置和所述终止位置在指定坐标轴上的坐标信息是否在预设的第一取值范围之内;
    在判断结果为是时,判断所述指定坐标轴上的角速度和加速度是否在预设的第二取值范围之内。
  6. 根据权利要求1至5任一项所述的方法,其中,在获取终端的运动轨迹之前,所述方法还包括:
    配置所述预设运动轨迹与所述应用程序的对应关系。
  7. 一种终端应用程序的启动装置,包括:
    获取模块,设置为获取终端的运动轨迹;
    判断模块,设置为判断所述运动轨迹是否在预设运动轨迹的取值范围之内;
    启动模块,设置为在判断结果为是时,启动与所述预设运动轨迹对应的应用程序。
  8. 根据权利要求7所述的装置,其中,所述运动轨迹包括:所述终端的起始位置和终止位置在指定坐标轴上的坐标信息,所述终端在所述指定坐标轴上的角速度和加速度,以及所述角速度和所述加速度的变化值。
  9. 根据权利要求8所述的装置,其中,所述指定坐标轴包括以下至少之一:空间直角坐标系中的X轴、Y轴和Z轴。
  10. 根据权利要求9所述的装置,其中,
    所述获取模块还设置为,获取所述终端从所述起始位置到所述终止位置的运动过程中所述X轴和/或所述Y轴和/或所述Z轴的所述变化值,其中,所述Z轴为与所述终端显示屏所在平面垂直的坐标轴、所述Y轴为与所述显示屏所在平面平行且垂直于所述Z轴的坐标轴轴、所述X轴为与所述Z轴和所述Y轴垂直的坐标轴。
  11. 根据权利要求8所述的装置,其中,所述判断模块包括:
    第一判断单元,设置为判断所述起始位置和所述终止位置在指定坐标轴上的坐标信息是否在预设的第一取值范围之内;
    第二判断单元,设置为在判断结果为是时,判断所述指定坐标轴上的角速度和加速度是否在预设的第二取值范围之内。
  12. 根据权利要求7至11任一项所述的装置,其中,在获取终端的运动轨迹之前,所述装置还包括:
    配置模块,设置为配置所述预设运动轨迹与所述应用程序的对应关系。
PCT/CN2015/074796 2015-02-03 2015-03-20 终端应用程序的启动方法及装置 WO2016123842A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510059560.9 2015-02-03
CN201510059560.9A CN105988561A (zh) 2015-02-03 2015-02-03 终端应用程序的启动方法及装置

Publications (1)

Publication Number Publication Date
WO2016123842A1 true WO2016123842A1 (zh) 2016-08-11

Family

ID=56563354

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074796 WO2016123842A1 (zh) 2015-02-03 2015-03-20 终端应用程序的启动方法及装置

Country Status (2)

Country Link
CN (1) CN105988561A (zh)
WO (1) WO2016123842A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395871A (zh) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 一种开启应用的方法、装置、存储介质及终端

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874723A (zh) * 2016-12-30 2017-06-20 努比亚技术有限公司 一种实现解锁的方法及终端
CN106886443A (zh) * 2017-03-27 2017-06-23 宇龙计算机通信科技(深圳)有限公司 一种启动智能终端的应用程序的方法及***
WO2019095386A1 (zh) * 2017-11-20 2019-05-23 舒酉星 手机旋转互动***、互动方法、存储介质和手机
CN113032055A (zh) * 2019-12-09 2021-06-25 深圳顺丰快运科技有限公司 终端显示界面控制方法、装置、计算机设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120026080A1 (en) * 2010-07-29 2012-02-02 Chi Mei Communication Systems, Inc. Electronic device and unlocking method thereof
CN103135792A (zh) * 2013-03-12 2013-06-05 广东欧珀移动通信有限公司 一种利用重力感应原理进行终端解锁的方法及装置
CN103902176A (zh) * 2012-12-27 2014-07-02 上海鼎为电子科技(集团)有限公司 移动终端的解锁方法及装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830929B (zh) * 2012-08-15 2016-08-24 广东欧珀移动通信有限公司 一种解锁***、方法及移动终端
CN103092341B (zh) * 2012-12-31 2016-08-10 华为技术有限公司 控制终端的方法、装置与终端
CN103259926B (zh) * 2013-04-17 2015-11-18 广东欧珀移动通信有限公司 一种应用功能的快捷启动方法及移动终端
CN103557862A (zh) * 2013-10-29 2014-02-05 南京邮电大学 一种移动终端运动轨迹检测方法
CN103955337B (zh) * 2014-05-06 2017-07-21 北京金山安全软件有限公司 一种移动终端中应用程序的打开方法及***
CN104123164B (zh) * 2014-07-31 2018-01-16 广东欧珀移动通信有限公司 一种应用程序的启动方法和装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120026080A1 (en) * 2010-07-29 2012-02-02 Chi Mei Communication Systems, Inc. Electronic device and unlocking method thereof
CN103902176A (zh) * 2012-12-27 2014-07-02 上海鼎为电子科技(集团)有限公司 移动终端的解锁方法及装置
CN103135792A (zh) * 2013-03-12 2013-06-05 广东欧珀移动通信有限公司 一种利用重力感应原理进行终端解锁的方法及装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395871A (zh) * 2017-06-30 2017-11-24 广东欧珀移动通信有限公司 一种开启应用的方法、装置、存储介质及终端
CN107395871B (zh) * 2017-06-30 2020-06-02 Oppo广东移动通信有限公司 一种开启应用的方法、装置、存储介质及终端

Also Published As

Publication number Publication date
CN105988561A (zh) 2016-10-05

Similar Documents

Publication Publication Date Title
WO2016123842A1 (zh) 终端应用程序的启动方法及装置
US11151773B2 (en) Method and apparatus for adjusting viewing angle in virtual environment, and readable storage medium
US11684856B2 (en) Assist function enabling method and apparatus, device, and readable storage medium
US11460916B2 (en) Interface interaction apparatus and method
US20200358958A1 (en) Imaging device, and method and apparatus for controlling the imaging device
US9754552B2 (en) Architectures for processing of head tracking on a mobile device
US9958938B2 (en) Gaze tracking for a mobile device
CN107707817B (zh) 一种视频拍摄方法及移动终端
US20120198353A1 (en) Transferring data using a physical gesture
US10386938B2 (en) Tracking of location and orientation of a virtual controller in a virtual reality system
CN106445118B (zh) 虚拟现实交互方法及装置
EP2433207A1 (en) Portable electronic apparatus including a display and method for controlling such an apparatus
WO2016082752A1 (zh) 手持终端及其屏幕显示控制方法
JP2016529609A (ja) ウィンドウ表示位置を調節するための方法、および端末
WO2020140295A1 (zh) 手持云台控制方法和手持云台
US11188144B2 (en) Method and apparatus to navigate a virtual content displayed by a virtual reality (VR) device
CN110704324B (zh) 应用调试方法、装置及存储介质
TW202040552A (zh) 電子裝置及顯示螢幕亮度調節方法
CN110457885B (zh) 一种操作方法及电子设备
WO2021134644A1 (zh) 云台的控制方法和云台
CN111031246A (zh) 拍摄方法及电子设备
CN108196701B (zh) 确定姿态的方法、装置及vr设备
WO2019227410A1 (zh) 姿态转换方法、姿态显示方法及云台***
WO2020037617A1 (zh) 云台控制方法、云台和云台控制***
WO2021046735A1 (zh) 屏幕的控制方法和终端

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: 15880797

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: 15880797

Country of ref document: EP

Kind code of ref document: A1