WO2017113867A1 - 一种通过多指滑动执行目标程序的方法和装置 - Google Patents

一种通过多指滑动执行目标程序的方法和装置 Download PDF

Info

Publication number
WO2017113867A1
WO2017113867A1 PCT/CN2016/097963 CN2016097963W WO2017113867A1 WO 2017113867 A1 WO2017113867 A1 WO 2017113867A1 CN 2016097963 W CN2016097963 W CN 2016097963W WO 2017113867 A1 WO2017113867 A1 WO 2017113867A1
Authority
WO
WIPO (PCT)
Prior art keywords
target program
finger
finger sliding
sliding
action
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2016/097963
Other languages
English (en)
French (fr)
Inventor
黄海宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
Lemobile Information Technology (Beijing) Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Lemobile Information Technology (Beijing) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, Lemobile Information Technology (Beijing) Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of WO2017113867A1 publication Critical patent/WO2017113867A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Definitions

  • the embodiments of the present application relate to an interaction technology of an electronic device, and in particular, to a method and apparatus for performing a target program by multi-finger sliding.
  • touch operations have gradually become the basic interaction mode of electronic devices.
  • most electronic devices support touch operations. For example, the user can click on an icon on the screen of the electronic device to start the corresponding application, or perform a function such as switching the screen by sliding operation.
  • the touch interaction mode greatly improves the convenience of the operation of the electronic device, in the process of implementing the present application, the inventor finds that the existing system or application interaction is mainly realized by single clicking or sliding.
  • Various interactive features With this traditional single-click or sliding interaction, in many cases the user is required to perform very cumbersome operations to achieve some specific interactive functions.
  • the user first needs to start the corresponding setting interface by pressing a button or by clicking a corresponding setting icon in the system, and then dragging the corresponding sliding bar in the setting interface to realize;
  • the user also needs to start the background interface by pressing a button or by a corresponding icon, and then switching the application by clicking or sliding in the background interface. It can be seen that in many specific interaction processes, the process of implementing the interactive operation by the traditional single click or sliding is cumbersome.
  • the embodiment of the present application provides a new interaction mode, in particular, a method and an apparatus for performing a target program by multi-finger sliding, aiming at overcoming the defects of the prior art, thereby improving the convenience of the interaction operation. Optimize the user experience.
  • the method for executing a target program by multi-finger sliding includes the following steps: Step S100, preset at least one multi-finger sliding action, and associate each multi-finger sliding action with at least one target program. Relationship S20: When it is detected that the user performs the multi-finger sliding motion, the target program corresponding to the multi-finger sliding motion is executed according to the corresponding relationship.
  • the step S200 includes: step S210, determining that the touch operation belongs to the multi-finger sliding action when detecting that the user performs the touch operation; If the user performs a multi-finger swipe action, the target program corresponding to the multi-finger swipe action is executed according to the corresponding relationship.
  • the step S210 includes: step S211, when detecting that the user performs the touch operation, calculating the number of touch points and the sliding distance of the touch operation; S212, if the touch point of the touch operation is greater than or equal to 2, and the sliding distance of each touch point is greater than a certain value, determining that the touch operation belongs to the multi-finger sliding action.
  • the preset at least one multi-finger sliding motion includes setting any one of the following ones of each of the multi-finger sliding motions or A variety of parameters: touch points, sliding direction, sliding distance, sliding speed.
  • the method of executing the target program by the multi-finger slip preferably, the target program includes any one or more of the following: a volume adjustment program, a brightness light parameter adjustment program, and a background application switching program.
  • the apparatus for executing a target program by multi-finger sliding includes: a correspondence establishing module, configured to preset at least one multi-finger sliding motion, and each of the multi-finger sliding motions and at least one target program Establishing a correspondence relationship; a target program execution module, configured to: when detecting that the user performs the multi-finger sliding action, according to the The correspondence program performs a target program corresponding to the multi-finger swipe action.
  • the target program execution module includes: an action determining sub-module, configured to determine whether the touch operation belongs to the multi-function when detecting that the user performs the touch operation Refers to a sliding action; the target program execution sub-module is configured to execute a target program corresponding to the multi-finger sliding action according to the correspondence relationship if the user performs a multi-finger sliding motion.
  • the action determining sub-module includes: a calculating unit, configured to calculate the number of touch points of the touch operation when detecting that the user performs the touch operation.
  • the sliding distance determining unit is configured to determine that the touch operation belongs to the multi-finger sliding action if the touch point of the touch operation is greater than or equal to 2 and the sliding distance of each touch point is greater than a certain value.
  • the preset at least one multi-finger sliding motion includes setting any one or more of the following parameters of each multi-finger sliding motion: Control points, sliding direction, sliding distance, sliding speed.
  • the target program includes any one or more of the following: a volume adjustment program, a brightness light parameter adjustment program, and a background application switching program.
  • the embodiment of the present application further provides a computer program, including program code, where the program code is used to perform the following operations:
  • the target program corresponding to the multi-finger swipe action is executed according to the correspondence.
  • the embodiment of the present application further provides a storage medium for storing the above computer program.
  • an embodiment of the present application further provides an apparatus, including:
  • One or more processors are One or more processors;
  • One or more program modules are One or more program modules
  • the one or more program modules are stored in the memory, and when executed by the one or more processors, perform the following operations:
  • Step S100 preset at least one multi-finger sliding action, and establish a corresponding relationship between each multi-finger sliding motion and at least one target program;
  • Step S200 when detecting that the user performs the multi-finger sliding action, executing the target program corresponding to the multi-finger sliding action according to the correspondence relationship.
  • the user can customize the correspondence between the multi-finger sliding motion and the target program by setting the setting, and only need to pass the preset multiple after the setting is completed. Refers to the sliding action to run the corresponding target program, thus completing the functions of quick start of various applications, quick adjustment of system parameters, etc., greatly improving the convenience of interaction and optimizing the user experience.
  • 1 is a preferred embodiment of a method of performing a target program by multi-finger slip of the present application.
  • FIG. 2 is a flow chart of a preferred embodiment of a method of performing a target program by multi-finger slip of the present application.
  • 3 is a preferred embodiment of an apparatus for performing a target program by multi-finger slip of the present application.
  • FIG. 1 is a preferred embodiment of a method of performing a target program by multi-finger slip of the present application. As shown in FIG. 1 , the method for executing a target program by multi-finger sliding provided by the embodiment of the present application can be implemented by the following steps.
  • step S100 at least one multi-finger sliding motion is preset, and each multi-finger sliding motion is associated with at least one target program.
  • the multi-finger sliding action is a specific mode of the touch operation, and specifically refers to an operation mode in which the user touches the manipulation interface (for example, a screen) through multiple fingers and slides on the touch interface.
  • the step 100 is primarily for defining a target program for each of the multi-finger swipe actions.
  • the preset at least one multi-finger sliding action comprises setting any one or more of the following parameters of each multi-finger sliding motion: a touch point number, a sliding direction, a sliding distance, and a sliding speed.
  • the multi-finger sliding action may be defined according to a plurality of parameters such as a number of touch points of the multi-finger sliding action (ie, a hand index of the user simultaneously touching the manipulation interface), a displacement amount of the sliding motion, a sliding direction, and a sliding speed value.
  • a multi-finger sliding action is performed by two fingers touching the screen and sliding upwards.
  • the multi-finger sliding action has 2 touch points and the sliding direction is upward; the other multi-finger sliding action is After the three fingers touch the screen at the same time and slide the distance to the right by half the width of the screen, the number of touch points of the multi-finger sliding action is 3, the sliding direction is rightward, and the displacement of the sliding action is one-half. ;and many more. Setting the above parameters can be used to distinguish different types of multi-finger sliding actions to establish a correspondence with the target program.
  • the target program refers to a generalized program, which may include, but is not limited to, activation of an application in the system, parameter adjustment in a specific application, switching between applications, and the like.
  • the target program includes any one or more of the following: a volume adjustment program, a brightness light parameter adjustment program, a background application switching program, and the like.
  • each of the multi-finger swipe actions described above is associated with a particular target program. For example, the action of sliding the two points on the screen corresponds to the target program for increasing the system volume, and sliding the three-point right sliding screen by one-half of the width of the screen. Change the target program of the background application to correspond, and so on.
  • relevant setting options can be added to the system of the mobile phone or the computer, so that the user can customize various multi-finger sliding actions, and the user can establish multi-finger sliding action and target according to individual operating habits and preferences.
  • Step S200 when detecting that the user performs the multi-finger sliding action, executing the target program corresponding to the multi-finger sliding action according to the correspondence relationship.
  • system level setting items may be added in the operating system, and the user may customize the shortcut function corresponding to the multi-finger up, down, left, and right sliding actions.
  • the target program corresponding to the two-finger sliding motion and the three-finger sliding motion may be specifically divided. After the setting takes effect, when the user performs a touch operation, the system detects whether a corresponding multi-finger sliding action has occurred. If a multi-finger sliding motion is detected, the user responds according to the function preset by the user, that is, the multi-finger is executed. The target program corresponding to the sliding action.
  • the target program for the user to set the two fingers to slide up and down is to adjust the volume.
  • the target program for sliding the two fingers to the left and right is to switch the background application.
  • the target program for sliding the three fingers up and down is to adjust the brightness of the system, and the target program for sliding around the three fingers is forward and return.
  • the volume is correspondingly increased according to the amplitude of the sliding (ie, the sliding displacement); if the user's two-finger left sliding is detected, the switching is saved in the background.
  • the next application if it detects that the user's three fingers are sliding, it increases the screen brightness; in the interface with forward and return operations (such as browser, setting), if the three-finger left slip is detected, the execution returns. operating.
  • the above functions can also support separate opening or closing in a specific application, which can be implemented by adding setting items of opening and closing.
  • a specific application which can be implemented by adding setting items of opening and closing.
  • step S100 at least one multi-finger sliding motion is preset, and each multi-finger sliding motion is associated with at least one target program. This step has been described in detail above and will not be described here.
  • step S210 when it is detected that the user performs a touch operation, it is determined whether the touch operation belongs to the multi-finger sliding action. After the corresponding relationship is established in step S100, that is, after the user customizes the correspondence between the multi-finger sliding motion and the target program, it is detected whether the user performs the touch operation, and if the user does not perform the touch operation, the user continues to maintain Detection status. If it is detected that the user performs the touch operation, it is determined whether the current touch operation of the user belongs to the multi-finger sliding action. If it is not the multi-finger sliding motion, the detection state is returned, and the user continues to detect whether the touch operation is performed. If the result of the determination is that the touch operation being performed by the user belongs to the multi-finger swipe action, step S200 is performed, and the target program corresponding to the multi-finger swipe action is executed according to the correspondence relationship.
  • the step S210 can be implemented by the following process.
  • step S211 when the user performs a touch operation, the touch point and the sliding distance of the touch operation are calculated.
  • step S212 if the touch point of the touch operation is greater than or equal to 2, and each touch point is If the sliding distance is greater than a certain value, it is determined that the touch operation belongs to the multi-finger sliding motion. If the number of touch points of the touch operation is 1, or the sliding distance of the touch point is less than a certain value or even zero, it indicates that the touch operation is not a user-defined multi-finger sliding action, and then returns to the detection state. , continue to detect whether the user performs a touch operation.
  • the specific value of the sliding distance can be set according to the actual situation. The smaller the specific value of the set sliding distance is, the more sensitive the operation of executing the target program is, and the user can make specific settings according to personal preference and needs.
  • the embodiment of the present application further provides an apparatus for executing a target program by multi-finger sliding, and the apparatus includes: a correspondence establishing module 10 and a target program executing module 20.
  • the correspondence establishing module 10 is configured to preset at least one multi-finger sliding action, and associate each multi-finger sliding action with at least one target program.
  • the preset at least one multi-finger sliding action comprises setting any one or more of the following parameters of each multi-finger sliding motion: a touch point number, a sliding direction, a sliding distance, and a sliding speed.
  • the target program execution module 20 is configured to execute a target program corresponding to the multi-finger sliding action according to the corresponding relationship when detecting that the user performs the multi-finger sliding motion.
  • the target program includes any one or more of the following: a volume adjustment program, a brightness light parameter adjustment program, and a background application switching program.
  • the user can set the target program corresponding to the two fingers to slide up and down by the corresponding relationship establishing module 10 to adjust the volume, and the target program corresponding to the two fingers sliding is to switch the background application, and the three fingers are up and down.
  • the target program corresponding to the sliding is to adjust the brightness of the system, and the target program corresponding to the three-finger sliding is forward and return.
  • the target program execution module 20 correspondingly increases the volume according to the amplitude of the sliding (ie, the amount of sliding displacement), as long as the corresponding relationship establishing module 10 detects the user performing the action of the two-finger sliding.
  • the next application saved in the background is switched; if the user's three-finger is detected to slide up, the screen brightness is increased correspondingly; in the interface with forward and return operations (such as In the browser, setting, if a three-finger left slip is detected, a return operation is performed.
  • forward and return operations such as In the browser, setting, if a three-finger left slip is detected, a return operation is performed.
  • the target program execution module 20 includes an action determination sub-module 21 and a target program execution sub-module 22.
  • the action determining sub-module 21 is configured to determine whether the touch operation belongs to a multi-finger sliding action when detecting that the user performs a touch operation;
  • the target program execution sub-module 22 is configured to perform multi-finger if the user performs The sliding operation performs a target program corresponding to the multi-finger sliding motion according to the corresponding relationship.
  • the action judging sub-module 21 includes: a calculating unit 21a and a judging unit 21b.
  • the calculating unit 21a is configured to calculate the number of touch points and the sliding distance of the touch operation when the user performs the touch operation;
  • the determining unit 21b is configured to: if the touch point of the touch operation is greater than or equal to 2 And the sliding distance of each touch point is greater than a certain value, it is determined that the touch operation belongs to the multi-finger sliding action.
  • the embodiment of the present application further provides a computer program, including a program generation.
  • Code the program code is used to perform the following operations:
  • the target program corresponding to the multi-finger swipe action is executed according to the correspondence.
  • the embodiment of the present application further provides a storage medium for storing the above computer program.
  • an embodiment of the present application further provides an apparatus, including:
  • One or more processors are One or more processors;
  • One or more program modules are One or more program modules
  • the one or more program modules are stored in the memory, and when executed by the one or more processors, perform the following operations:
  • Step S100 preset at least one multi-finger sliding action, and establish a corresponding relationship between each multi-finger sliding motion and at least one target program;
  • Step S200 when detecting that the user performs the multi-finger sliding action, executing the target program corresponding to the multi-finger sliding action according to the correspondence relationship.
  • the method, the device, the computer program and the storage medium for executing the target program by the multi-finger sliding provided by the embodiment of the present application, the user can customize the correspondence between the multi-finger sliding motion and the target program, and after the setting is completed, only The corresponding target program can be run through the preset multi-finger sliding action, thereby completing the functions of quick start of various applications, quick adjustment of system parameters, etc., which greatly improves the convenience of interaction and optimizes the user experience.

Landscapes

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

Abstract

一种通过多指滑动执行目标程序的方法和装置。所述方法包括:预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系(S100);当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序(S200)。所述装置对应地包括:对应关系建立模块(10)和目标程序执行模块(20)。采用所述通过多指滑动执行目标程序的方法和装置,用户可以通过自定义设置多指滑动动作与目标程序之间的对应关系,设置完成后,只需要通过预设的多指滑动动作即可运行对应的目标程序,从而完成各种应用的快捷启动、系统参数的快捷调节等功能,极大地提高了交互操作的便捷性,优化了用户体验。

Description

一种通过多指滑动执行目标程序的方法和装置
交叉引用
本申请引用于2015年12月29日提交的专利名称为“一种通过多指滑动执行目标程序的方法和装置”的第2015110101925号中国专利申请。上述申请在此被引做参照。
技术领域
本申请实施例涉及电子设备的交互技术,特别是涉及一种通过多指滑动执行目标程序的方法和装置。
背景技术
随着技术的发展,手机和电脑等电子设备越来越普及,而触控操作逐渐成为电子设备的基本交互方式。目前,大部分的电子设备都支持触控操作,例如,用户可以点击电子设备屏幕上的图标来启动相应的应用程序,或者通过滑动操作来实现屏幕的切换等功能。
虽然触控的交互方式在很大程度上提高了电子设备操作的便捷性,但是在实现本申请过程中,发明人发现现有系统或应用交互中,主要还是通过单点的点击或滑动来实现各种交互功能。采用这种传统的单点点击或滑动的交互方式,在很多情况下需要用户进行非常繁琐的操作才能实现一些特定的交互功能。例如:在调节音量、亮度灯参数等交互过程中,用户首先需要通过按键或者通过点击系统中对应的设置图标来启动相应的设置界面,之后在设置界面中拖动相应的滑动条来实现;在切换后台程序的交互过程中,用户也需要先通过按键或通过对应的图标来启动后台界面,然后在后台界面中通过点击或滑动操作来进行应用程序的切换。由此可知,在很多特定的交互过程中,采用传统的单点点击或滑动实现交互操作的过程比较繁琐。
因此,非常有必要针对上述缺陷设计一种新的交互方式,以提高交互操作的便捷性,优化用户体验。
发明内容
有鉴于此,本申请实施例提供了一种新的交互方式,具体是一种通过多指滑动执行目标程序的方法和装置,旨在克服现有技术的缺陷,从而提高交互操作的便捷性,优化用户体验。
本申请实施例所提供的通过多指滑动执行目标程序的方法包括以下步骤:步骤S100,预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;步骤S200,当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
如上所述的通过多指滑动执行目标程序的方法,优选地,所述步骤S200包括:步骤S210,当检测到用户执行触控操作时,判断该触控操作是否属于多指滑动动作;步骤S220,若用户执行的是多指滑动动作,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
如上所述的通过多指滑动执行目标程序的方法,优选地,所述步骤S210包括:步骤S211,当检测到用户执行触控操作时,计算该触控操作的触控点数和滑动距离;步骤S212,若该触控操作的触控点数大于或等于2,并且每一个触控点的滑动距离均大于某特定值,则判断该触控操作属于多指滑动动作。
如上所述的通过多指滑动执行目标程序的方法,优选地,在步骤S100中,所述预设至少一种多指滑动动作,包括设定每一种多指滑动动作的以下任意一种或多种参数:触控点数、滑动方向、滑动距离、滑动速度。
如上所述的通过多指滑动执行目标程序的方法,优选地,所述目标程序包括以下任意一种或多种:音量调节程序、亮度灯参数调节程序、后台应用切换程序。
本申请实施例所提供的通过多指滑动执行目标程序的装置包括:对应关系建立模块,用于预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;目标程序执行模块,用于当检测到用户执行所述多指滑动动作时,根据所述 对应关系执行与该多指滑动动作相对应的目标程序。
如上所述的通过多指滑动执行目标程序的装置,优选地,所述目标程序执行模块包括:动作判断子模块,用于当检测到用户执行触控操作时,判断该触控操作是否属于多指滑动动作;目标程序执行子模块,用于若用户执行的是多指滑动动作,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
如上所述的通过多指滑动执行目标程序的装置,优选地,所述动作判断子模块包括:计算单元,用于当检测到用户执行触控操作时,计算该触控操作的触控点数和滑动距离;判断单元,用于若该触控操作的触控点数大于或等于2,并且每一个触控点的滑动距离均大于某特定值,则判断该触控操作属于多指滑动动作。
如上所述的通过多指滑动执行目标程序的装置,优选地,所述预设至少一种多指滑动动作,包括设定每一种多指滑动动作的以下任意一种或多种参数:触控点数、滑动方向、滑动距离、滑动速度。
如上所述的通过多指滑动执行目标程序的装置,优选地,所述目标程序包括以下任意一种或多种:音量调节程序、亮度灯参数调节程序、后台应用切换程序。
另一方面,本申请实施例还提供一种计算机程序,包括程序代码,所述程序代码用于执行如下操作:
预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
另一方面,本申请实施例还提供一种存储介质,用于存储上述的计算机程序。
另一方面,本申请实施例还提供一种装置,包括:
一个或多个处理器;
存储器;
一个或多个程序模块;
所述一个或多个程序模块存储在所述存储器中,当被所述一个或多个处理器执行时,进行如下操作:
步骤S100,预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
步骤S200,当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
采用本申请实施例所提供的通过多指滑动执行目标程序的方法和装置,用户可以通过自定义设置多指滑动动作与目标程序之间的对应关系,设置完成后,只需要通过预设的多指滑动动作即可运行对应的目标程序,从而完成各种应用的快捷启动、系统参数的快捷调节等功能,极大地提高了交互操作的便捷性,优化了用户体验。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请的通过多指滑动执行目标程序的方法的一种优选实施例。
图2是本申请的通过多指滑动执行目标程序的方法的一种优选实施例的流程图。
图3是本申请的通过多指滑动执行目标程序的装置的一种优选实施例。
具体实施方式
下面结合实施例对本申请进行详细说明。其中,滑动方向的“上”、“下”、“左”、“右”是指电子设备操作界面上的相对 方向,并不用于限定本申请的保护范围。
图1是本申请的通过多指滑动执行目标程序的方法的一种优选实施例。如图1所示,本申请实施例所提供的通过多指滑动执行目标程序的方法可以通过以下步骤实现。
步骤S100,预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系。所述多指滑动动作是触控操作的一种具体方式,具体是指用户通过多个手指同时接触操控界面(例如:屏幕),并在触控界面上进行滑动的操作方式。在优选实施例中,所述步骤100主要是用于定义每一种多指滑动动作的目标程序。
优选地,所述预设至少一种多指滑动动作,包括设定每一种多指滑动动作的以下任意一种或多种参数:触控点数、滑动方向、滑动距离、滑动速度。具体可以根据某中多指滑动动作的触控点数(即用户同时触摸操控界面的手指数)、滑动动作的位移量、滑动的方向、滑动的速度值等多个参数来定义该多指滑动动作。例如:某一种多指滑动动作是通过两个手指同时接触屏幕后向上滑动来完成,那么这种多指滑动动作的触控点数是2,滑动方向是向上;另一种多指滑动动作是通过三个手指同时接触屏幕后向右滑动屏幕宽度的一半的距离来完成,那么这种多指滑动动作的触控点数是3,滑动方向是向右,滑动动作的位移量是二分之一;等等。设定上述参数可以用于区分不同种类的多指滑动动作,以建立与目标程序之间的对应关系。
在步骤S100中,所述目标程序是指广义的程序,可以包括但不限于:系统中某应用的启动、特定应用中的参数调节、应用之间的切换等。优选地,所述目标程序包括以下任意一种或多种:音量调节程序、亮度灯参数调节程序、后台应用切换程序等。在优选实施例中,将每一种如上所述的多指滑动动作与具体的目标程序进行对应。例如:将两指向上滑动的动作与增大系统音量的目标程序进行对应,将三指向右滑动屏幕宽度的二分之一的滑动动作与切 换后台应用的目标程序进行对应,等。
在具体实施过程中,可以在手机或电脑的系统中增加相关的设置选项,使用户能够对各种多指滑动动作进行自定义,用户可以根据个人的操作习惯和偏好建立多指滑动动作与目标程序之间的对应关系。
步骤S200,当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
作为一种优选的实施方式,可以在操作系统中增加系统级的设置项,用户可以自定义多指上下左右滑动动作所对应的快捷功能。其中可以具体分为两指滑动动作、三指滑动动作等分别对应的目标程序。设置生效后,在用户进行触控操作时,系统会检测是否发生了对应的多指滑动动作,如果检测到了多指滑动动作,则根据用户预先设置好的功能做出响应,即执行该多指滑动动作所对应的目标程序。
例如:用户设定两指上下滑动的目标程序是调节音量,两指左右滑动的目标程序是切换后台应用,三指上下滑动的目标程序是调节系统亮度,三指左右滑动的目标程序是前进和返回。则在任意界面,只要检测到用户进行双指上滑的动作,则根据上滑的幅度(即滑动位移量)对应地增大音量;若检测到用户双指左滑,则切换到保存在后台的下一个应用程序;若检测到用户三指上滑,则对应增大屏幕亮度;在有前进和返回操作的界面(如浏览器,设置)中,若检测到三指左滑,则执行返回操作。
优选地,上述功能还可以支持在特定应用中进行单独的开启或关闭,可以通过增加开启和关闭的设置项来实现。当选择关闭上述功能时,则不再检测用户是否进行了多指滑动动作,或者即使检测到用户进行了多指滑动动作,也不执行相应的目标程序。这种设置考虑到个别应用(例如:某些游戏应用)的操作可能和定义的多指操作有冲突而设计的。
图2是本申请的通过多指滑动执行目标程序的方法的一种优 选实施例的流程图。结合图1和图2所示,本申请优选实施例所提供的通过多指滑动执行目标程序的方法通过以下步骤来实现。其中,步骤S100,预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系。该步骤已在上文中详细介绍,这里不再赘述。
步骤S210,当检测到用户执行触控操作时,判断该触控操作是否属于多指滑动动作。在步骤S100中的所述对应关系建立之后,即用户自定义设置好多指滑动动作与目标程序之间的对应关系后,检测用户是否执行触控操作,若用户没有执行触控操作,则继续保持检测状态。若检测到用户执行了触控操作,则判断用户当前的触控操作是否属于多指滑动动作,若不是多指滑动动作,则返回检测状态,继续检测用户是否执行了触控操作。若判断结果为:用户正在执行的触控操作属于多指滑动动作,则执行步骤S200,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
在一种优选实施例中,所述步骤S210可以通过以下过程来实现。步骤S211,当检测到用户执行触控操作时,计算该触控操作的触控点数和滑动距离;步骤S212,若该触控操作的触控点数大于或等于2,并且每一个触控点的滑动距离均大于某特定值,则判断该触控操作属于多指滑动动作。若该触控操作的触控点数是1,或者其触控点的滑动距离小于某特定值、甚至为零时,则说明该触控操作并不是用户定义的多指滑动动作,则返回检测状态,继续检测用户是否执行触控操作。其中,滑动距离的特定值可以根据实际情况进行设定,所设置的滑动距离的特定值越小,执行目标程序的操作越灵敏,用户可以根据个人的偏好和需求来进行具体的设置。
对应地,如图3所示,本申请实施例还提供了一种通过多指滑动执行目标程序的装置,所述装置包括:对应关系建立模块10和目标程序执行模块20。
所述对应关系建立模块10用于预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系。优 选地,所述预设至少一种多指滑动动作,包括设定每一种多指滑动动作的以下任意一种或多种参数:触控点数、滑动方向、滑动距离、滑动速度。
所述目标程序执行模块20用于当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。优选地,所述目标程序包括以下任意一种或多种:音量调节程序、亮度灯参数调节程序、后台应用切换程序。
在一个具体的实施例中,用户可以通过所述对应关系建立模块10设定两指上下滑动所对应的目标程序是调节音量,两指左右滑动所对应的目标程序是切换后台应用,三指上下滑动所对应的目标程序是调节系统亮度,三指左右滑动所对应的目标程序是前进和返回。则在任意界面,只要所述对应关系建立模块10检测到用户进行双指上滑的动作,则所述目标程序执行模块20根据上滑的幅度(即滑动位移量)对应地增大音量。同理,若检测到用户双指左滑,则切换到保存在后台的下一个应用程序;若检测到用户三指上滑,则对应增大屏幕亮度;在有前进和返回操作的界面(如浏览器,设置)中,若检测到三指左滑,则执行返回操作。
优选地,所述目标程序执行模块20包括:动作判断子模块21和目标程序执行子模块22。其中,所述动作判断子模块21用于当检测到用户执行触控操作时,判断该触控操作是否属于多指滑动动作;所述目标程序执行子模块22用于若用户执行的是多指滑动动作,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
优选地,所述动作判断子模块21包括:计算单元21a和判断单元21b。所述计算单元21a用于当检测到用户执行触控操作时,计算该触控操作的触控点数和滑动距离;所述判断单元21b用于若该触控操作的触控点数大于或等于2,并且每一个触控点的滑动距离均大于某特定值,则判断该触控操作属于多指滑动动作。
另一方面,本申请实施例还提供一种计算机程序,包括程序代 码,所述程序代码用于执行如下操作:
预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
另一方面,本申请实施例还提供一种存储介质,用于存储上述的计算机程序。
另一方面,本申请实施例还提供一种装置,包括:
一个或多个处理器;
存储器;
一个或多个程序模块;
所述一个或多个程序模块存储在所述存储器中,当被所述一个或多个处理器执行时,进行如下操作:
步骤S100,预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
步骤S200,当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
采用本申请实施例所提供的通过多指滑动执行目标程序的方法、装置、计算机程序及存储介质,用户可以通过自定义设置多指滑动动作与目标程序之间的对应关系,设置完成后,只需要通过预设的多指滑动动作即可运行对应的目标程序,从而完成各种应用的快捷启动、系统参数的快捷调节等功能,极大地提高了交互操作的便捷性,优化了用户体验。
最后应说明的是:以上实施例仅用以说明本申请实施例的技术方案,而非对其限制;尽管参照前述实施例对本申请实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (13)

  1. 一种通过多指滑动执行目标程序的方法,其特征在于,包括以下步骤:
    步骤S100,预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
    步骤S200,当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
  2. 根据权利要求1所述的通过多指滑动执行目标程序的方法,其特征在于,所述步骤S200包括:
    步骤S210,当检测到用户执行触控操作时,判断该触控操作是否属于多指滑动动作;
    步骤S220,若用户执行的是多指滑动动作,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
  3. 根据权利要求2所述的通过多指滑动执行目标程序的方法,其特征在于,所述步骤S210包括:
    步骤S211,当检测到用户执行触控操作时,计算该触控操作的触控点数和滑动距离;
    步骤S212,若该触控操作的触控点数大于或等于2,并且每一个触控点的滑动距离均大于某特定值,则判断该触控操作属于多指滑动动作。
  4. 根据权利要求1-3中任意一项所述的通过多指滑动执行目标程序的方法,其特征在于,在步骤S100中,所述预设至少一种多指滑动动作,包括设定每一种多指滑动动作的以下任意一种或多种参数:触控点数、滑动方向、滑动距离、滑动速度。
  5. 根据权利要求1-3中任意一项所述的通过多指滑动执行目标程序的方法,其特征在于,所述目标程序包括以下任意一种或多种:音量调节程序、亮度灯参数调节程序、后台应用切换程序。
  6. 一种通过多指滑动执行目标程序的装置,其特征在于,所述装置包括:
    对应关系建立模块,用于预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
    目标程序执行模块,用于当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
  7. 根据权利要求6所述的通过多指滑动执行目标程序的装置,其特征在于,所述目标程序执行模块包括:
    动作判断子模块,用于当检测到用户执行触控操作时,判断该触控操作是否属于多指滑动动作;
    目标程序执行子模块,用于若用户执行的是多指滑动动作,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
  8. 根据权利要求7所述的通过多指滑动执行目标程序的装置,其特征在于,所述动作判断子模块包括:
    计算单元,用于当检测到用户执行触控操作时,计算该触控操作的触控点数和滑动距离;
    判断单元,用于若该触控操作的触控点数大于或等于2,并且每一个触控点的滑动距离均大于某特定值,则判断该触控操作属于多指滑动动作。
  9. 根据权利要求6-8中任意一项所述的通过多指滑动执行目标程序的装置,其特征在于,所述预设至少一种多指滑动动作,包括设定每一种多指滑动动作的以下任意一种或多种参数:触控点数、滑动方向、滑动距离、滑动速度。
  10. 根据权利要求6-8中任意一项所述的通过多指滑动执行目标程序的装置,其特征在于,所述目标程序包括以下任意一种或多种:音量调节程序、亮度灯参数调节程序、后台应用切换程序。
  11. 一种计算机程序,其特征在于,包括程序代码,所述程序代码用于执行如下操作:
    预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
    当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
  12. 一种存储介质,其特征在于,用于存储权利要求11所述的计算机程序。
  13. 一种装置,其特征在于,包括:
    一个或多个处理器;
    存储器;
    一个或多个程序模块;
    所述一个或多个程序模块存储在所述存储器中,当被所述一个或多个处理器执行时,进行如下操作:
    步骤S100,预设至少一种多指滑动动作,并将每一种多指滑动动作与至少一种目标程序建立对应关系;
    步骤S200,当检测到用户执行所述多指滑动动作时,根据所述对应关系执行与该多指滑动动作相对应的目标程序。
PCT/CN2016/097963 2015-12-29 2016-09-02 一种通过多指滑动执行目标程序的方法和装置 Ceased WO2017113867A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201511010192.5 2015-12-29
CN201511010192.5A CN105892847A (zh) 2015-12-29 2015-12-29 一种通过多指滑动执行目标程序的方法和装置

Publications (1)

Publication Number Publication Date
WO2017113867A1 true WO2017113867A1 (zh) 2017-07-06

Family

ID=57002615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/097963 Ceased WO2017113867A1 (zh) 2015-12-29 2016-09-02 一种通过多指滑动执行目标程序的方法和装置

Country Status (2)

Country Link
CN (1) CN105892847A (zh)
WO (1) WO2017113867A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105892847A (zh) * 2015-12-29 2016-08-24 乐视移动智能信息技术(北京)有限公司 一种通过多指滑动执行目标程序的方法和装置
CN108228067A (zh) * 2016-12-22 2018-06-29 乐视汽车(北京)有限公司 人机交互方法、装置及电子设备
CN108733297A (zh) * 2018-05-06 2018-11-02 深圳市保千里电子有限公司 一种通过用户手势进行截屏的方法
CN109002252A (zh) * 2018-09-21 2018-12-14 武汉华中时讯科技有限责任公司 一种通过两点触摸滑动操作加载数据的方法及终端
CN109117077A (zh) * 2018-09-21 2019-01-01 武汉华中时讯科技有限责任公司 一种通过两点触摸滑动操作刷新列表视图元素的方法及终端
CN110427135B (zh) * 2019-08-14 2021-04-06 北京字节跳动网络技术有限公司 确定应用呼出的方法、装置、终端及存储介质
CN111309181A (zh) * 2020-02-11 2020-06-19 成都锐美动力科技有限公司 一种多点触控面板及其控制方法和控制系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135934A (zh) * 2013-03-06 2013-06-05 广东欧珀移动通信有限公司 一种快速切换应用程序的方法、装置及触摸屏移动设备
CN103218138A (zh) * 2013-04-19 2013-07-24 东莞宇龙通信科技有限公司 触控终端及其应用程序切换方法
CN103577107A (zh) * 2013-10-29 2014-02-12 广东欧珀移动通信有限公司 一种利用多点触控快速启动应用的方法及智能终端
CN103984427A (zh) * 2013-02-07 2014-08-13 北京三星通信技术研究有限公司 多点触控的方法及其设备
CN104298455A (zh) * 2013-07-15 2015-01-21 联想(北京)有限公司 一种快捷命令生成方法及电子设备
CN105892847A (zh) * 2015-12-29 2016-08-24 乐视移动智能信息技术(北京)有限公司 一种通过多指滑动执行目标程序的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984427A (zh) * 2013-02-07 2014-08-13 北京三星通信技术研究有限公司 多点触控的方法及其设备
CN103135934A (zh) * 2013-03-06 2013-06-05 广东欧珀移动通信有限公司 一种快速切换应用程序的方法、装置及触摸屏移动设备
CN103218138A (zh) * 2013-04-19 2013-07-24 东莞宇龙通信科技有限公司 触控终端及其应用程序切换方法
CN104298455A (zh) * 2013-07-15 2015-01-21 联想(北京)有限公司 一种快捷命令生成方法及电子设备
CN103577107A (zh) * 2013-10-29 2014-02-12 广东欧珀移动通信有限公司 一种利用多点触控快速启动应用的方法及智能终端
CN105892847A (zh) * 2015-12-29 2016-08-24 乐视移动智能信息技术(北京)有限公司 一种通过多指滑动执行目标程序的方法和装置

Also Published As

Publication number Publication date
CN105892847A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017113867A1 (zh) 一种通过多指滑动执行目标程序的方法和装置
US9575654B2 (en) Touch device and control method thereof
KR101930225B1 (ko) 터치스크린 동작모드의 제어방법 및 제어장치
CN109997348A (zh) 一种终端界面的显示方法及终端
TW201531895A (zh) 觸控介面多工切換方法、系統及電子裝置
WO2013181881A1 (zh) 触摸屏幕的控制方法及装置
KR20160149262A (ko) 터치 포인트 인식 방법 및 장치
WO2014029345A1 (zh) 控制终端设备的方法和装置
CN107329644B (zh) 一种图标移动方法以及装置
CN104808936A (zh) 界面操作方法与应用该方法的便携式电子装置
KR20140047515A (ko) 데이터 입력을 위한 전자 장치 및 그 운용 방법
CN103324420B (zh) 一种多点触控板输入操作识别方法及电子设备
TWI483172B (zh) 編排行動裝置用戶介面的方法和系統
CN103544973A (zh) 一种音乐播放器的歌曲控制方法和装置
WO2013178192A2 (zh) 触摸屏的单点控制方法、装置及移动终端
CN107870705B (zh) 一种应用菜单的图标位置的改变方法及装置
WO2016183912A1 (zh) 菜单布局方法及装置
CN106527903B (zh) 触摸控制方法及装置
CN105718204A (zh) 基于触摸手势的控制方法及装置
KR20130038785A (ko) 베젤을 이용한 터치스크린 제어방법
CN111338554A (zh) 一种基于大屏幕触控的悬浮球操作系统及方法
US20150153925A1 (en) Method for operating gestures and method for calling cursor
CN103576966A (zh) 一种电子设备及控制所述电子设备的方法及装置
US20160224111A1 (en) Method for controlling touch screen by detecting position of line of sight of user
CN106095322B (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: 16880660

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

Country of ref document: EP

Kind code of ref document: A1