WO2014023148A1 - Electronic equipment and method and device for controlling electronic device - Google Patents

Electronic equipment and method and device for controlling electronic device Download PDF

Info

Publication number
WO2014023148A1
WO2014023148A1 PCT/CN2013/079229 CN2013079229W WO2014023148A1 WO 2014023148 A1 WO2014023148 A1 WO 2014023148A1 CN 2013079229 W CN2013079229 W CN 2013079229W WO 2014023148 A1 WO2014023148 A1 WO 2014023148A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
gesture
instruction
electronic device
operation layer
Prior art date
Application number
PCT/CN2013/079229
Other languages
French (fr)
Chinese (zh)
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 WO2014023148A1 publication Critical patent/WO2014023148A1/en

Links

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
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to an electronic device and a method and apparatus for controlling the electronic device. Background technique
  • electronic devices using touch technology are beginning to appear more and more in people's lives.
  • electronic devices such as tablets, notebook computers, and mobile phones are beginning to use touch technology, using touch technology.
  • the operation of the electronic device can be made more intuitive, more convenient, more interactive, and the like, which increases the intimacy of direct interaction between the human and the human machine, and the electronic device is replaced by a touch screen instead of an input device such as a keyboard and a mouse.
  • the shape can be designed to be more fashionable and light, making people's lives better. For example, when using a tablet, you can use a finger or a special pen to click on the tablet's touch screen to open some applications on the electronic device, which is very convenient and fast.
  • the user needs to obtain the touch gesture of the user in a large range: Since the user needs to touch the corresponding icon or area on the touch screen of the electronic device when opening or using the application, the range of the touch gesture required by the user is large. The range may include every corner of the touch screen.
  • the electronic device needs to obtain the user's touch gesture in a wide range, so the user may be in a larger range when opening the application or after opening the application.
  • the touch gesture is input inside, so that the user is prone to fatigue in the process of using the electronic device, resulting in a bad user experience. 2.
  • the touch gesture is prone to conflict when executed: The touch gesture used by the system conflicts with the touch gesture used by the application in the electronic device.
  • the system uses the "long press screen” touch gesture to close Window, but the app itself uses “long press the screen” to open the application's help file.
  • the user long presses the screen on the touch screen and wants to open the application's help file, but the application window may be closed, or the user may actually When you want to close the window, the application's help documentation opens.
  • the embodiment of the present invention solves the technical problem that the touch gesture of the user needs to be acquired in a large range in the prior art by providing a method, a device, and an electronic device for controlling an electronic device.
  • An embodiment of the present invention provides a method for controlling an electronic device, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1.
  • the methods include:
  • the method before the obtaining the touch operation layer based on the triggering instruction, the method further includes: setting size information and location information of the touch operation layer.
  • the method before the obtaining the touch operation layer based on the triggering instruction, the method further includes: setting and saving a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device.
  • the method further includes: hiding the touch operation layer based on the hidden instruction.
  • the obtaining the touch operation layer based on the triggering instruction comprises: obtaining a triggering gesture; generating the triggering instruction in response to the triggering gesture; and generating, according to the triggering instruction, the graphic system of the electronic device The touch operation layer.
  • the operating the at least one of the M operating objects in response to the touch gesture on the first area specifically: responding to the touch gesture on the first area Determining whether the touch gesture is consistent with the first touch gesture corresponding to the first operation instruction; when consistent, obtaining the first operation instruction; executing the first operation instruction to the M operation object At least one of the operation objects in the operation.
  • the embodiment of the present invention further provides an apparatus for controlling an electronic device, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1.
  • the device includes:
  • the generating module is configured to generate a touch operation layer based on the triggering instruction, where the touch operation layer covers the first area of the touch screen;
  • a control module configured to respond to the touch gesture on the first area to operate on at least one of the M operation objects.
  • the embodiment of the present invention further provides an electronic device, the electronic device includes: a casing; a touch screen disposed on the casing, and including M operation objects on the touch screen, where M is greater than or equal to 1
  • the circuit board is disposed in the casing and connected to the touch screen; the first processor is disposed on the circuit board;
  • the first processor is configured to generate a touch operation layer based on the triggering instruction, the touch operation layer covers the first area of the touch screen, and responds to the touch on the first area Controlling a gesture, operating on at least one of the M operational objects.
  • the electronic device further includes: a second processor configured to set and save a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device.
  • the first processor is configured to generate the triggering command in response to a triggering gesture, and control a graphics system of the electronic device to generate the touch operating layer according to the triggering instruction.
  • the user's customary touch gestures are associated with the operation, and the setting is convenient, thereby reducing the unaccustomed phenomenon caused by the user's use of different electronic devices during the use process, so that the user adapts to the electronic device.
  • the time is greatly reduced, increasing the ease of use of electronic devices.
  • FIG. 1 is a flowchart of a method for controlling an electronic device according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a position of a touch operation layer according to an embodiment of the present invention.
  • FIG. 3 is a flow chart of a method for registering a touch gesture into a graphics system according to an embodiment of the present invention
  • FIG. 5 is a block diagram of an electronic device according to an embodiment of the present invention. detailed description
  • the embodiment of the present invention solves the technical problem that the touch gesture of the user needs to be acquired in a large range in the prior art by providing a method, a device, and an electronic device for controlling an electronic device.
  • the technical solution in the embodiment of the present invention is to solve the technical problem that the range of the user input touch gesture is large, and the general idea is as follows:
  • the touch screen of the electronic device includes M operation objects, and M is an integer greater than or equal to 1.
  • An embodiment of the present invention provides a method for controlling an electronic device, which is applied to an electronic device.
  • the electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1, please refer to FIG. 1
  • FIG. 1 is a flowchart of a method for controlling an electronic device according to an embodiment of the present invention, where the method includes:
  • Step S1 obtaining a touch operation layer based on the triggering instruction, where the touch operation layer covers the first area of the touch screen;
  • Step S2 responsive to the touch gesture on the first area, operating at least one of the M operation objects.
  • step S1 the touch operation layer is obtained based on the trigger instruction, specifically: obtaining a trigger gesture; generating the trigger instruction in response to the trigger gesture; and the graphics system of the electronic device according to the trigger instruction The touch operation layer is generated.
  • the triggering gesture may be a trigger gesture obtained by the user on the touch screen, and the trigger gesture may be a gesture preset by the user for triggering the touch operation layer.
  • the response triggering gesture generating the triggering instruction, which may be detecting user input
  • a trigger command is generated; or the touch input is detected in the first area covered by the touch operation layer or the cursor is moved into the first area, and a trigger instruction is generated; of course, in order not to affect the user in general
  • the touch input to the first area may also be configured to generate a trigger command when the user has touch input on the edge of the screen of the first area or the cursor moves to the edge of the screen of the first area; in practical applications, There are other ways to generate a trigger command.
  • the user clicks an icon on the touch screen on the touch screen, and the tablet generates a trigger command after detecting that the user clicks the icon, or can use a physical button to generate a trigger.
  • Instructions such as a user pressing a button on a tablet, can generate a trigger command, there are many other ways to implement the trigger command, and will not be described here.
  • the graphics system of the electronic device generates the touch operation layer according to the triggering instruction. Specifically, after receiving the trigger instruction, the graphic system of the tablet generates a touch according to the trigger instruction.
  • the operation layer covers the first area on the touch screen.
  • it can also be: After the boot, the graphics system of the tablet generates a touch operation layer, moves it to the touch screen, and after receiving the trigger command, moves the touch operation layer to The visible area of the touch screen is for the user to input a touch gesture.
  • step S2 in response to the touch gesture on the first area, operating at least one of the M operation objects may be: responding to a touch gesture on the first area, Determining whether the touch gesture is consistent with the first touch gesture corresponding to the first operation command; and when the touch gesture is consistent with the first touch gesture, obtaining the first operation instruction; An operation instruction to operate on at least one of the M operation objects.
  • the responsiveness of the touch gesture on the first area determines whether the touch gesture is consistent with the first touch gesture corresponding to the first operation instruction, and may be: after acquiring the touch gesture on the first area, The information of the touch gesture is collected, and the touch gesture is determined according to the information to be consistent with the touch gesture corresponding to the first operation instruction.
  • a "touch from left to right" touch gesture is input on the touch screen of the tablet as an example, after the user inputs a touch gesture of "sliding from left to right” on the first area, the tablet
  • the touch screen of the computer can obtain the starting point, duration, end point, sliding speed and the like of the "sliding from left to right” touch gesture information, and then judge the "from left to right” touch based on the information. Whether the gesture is consistent with the corresponding touch gesture of the first operation instruction.
  • the obtaining the first operation instruction when the touch gesture is consistent with the first touch gesture may be: determining, in the foregoing step, the "sliding from left to right" touch gesture and the first When the first touch gesture corresponding to the operation instruction is consistent, the first operation instruction is obtained, and if the first operation instruction is to switch the focus between the windows opened on the touch screen, the tablet computer is obtained on the touch screen.
  • the operation command to switch the focus between open windows may be: determining, in the foregoing step, the "sliding from left to right" touch gesture and the first When the first touch gesture corresponding to the operation instruction is consistent, the first operation instruction is obtained, and if the first operation instruction is to switch the focus between the windows opened on the touch screen, the tablet computer is obtained on the touch screen.
  • the operation command to switch the focus between open windows may be: determining, in the foregoing step, the "sliding from left to right" touch gesture and the first When the first touch gesture corresponding to the operation instruction is consistent, the first operation instruction is obtained, and if
  • the performing the first operation instruction to operate on the at least one of the M operation objects may be: performing an operation instruction of switching a focus between windows opened on the touch screen obtained in the foregoing step , you can switch the focus between the windows opened on the touch screen for the user to use the window he wants.
  • the operations corresponding to the gestures can also be performed, and the operation object on the touch screen can be operated, thereby reducing the range of the user inputting the touch gesture, so that the user is in the first An operation object other than the first area in the touch screen can be operated in one area.
  • operating at least one of the M operation objects includes a plurality of types of operations, such as at least one operation object being an application or a program module, and executing the operation instruction may operate the operation object to open the application.
  • the function corresponding to the program module is executed; for example, at least one operation object is one or more icons, and the icons can be hidden, dragged, displayed, etc., and the details of the description are omitted here.
  • the method provided by the embodiment further includes: setting size information and location information of the touch operation layer. It can be set the size and position of the touch operation layer in the graphics system layer, and can be based on actual applications. For the user's usage habits, set the touch operation layer to a suitable size and set the touch operation layer at a suitable position.
  • FIG. 2 is a schematic diagram showing the position of the touch operation layer, and the touch operation layer.
  • the size can be set to 100 pixels in length, 100 pixels in width, and the background color is translucent white.
  • the user can also increase the style of the touch operation layer according to his own habits or preferences, such as changing the background image, etc.
  • the position of the control operation layer can be set to be located in the lower right corner of the touch screen.
  • the user can also set the touch operation layer on other areas of the touch screen according to his own use condition, so that the user can be well satisfied. Use habits to increase the ease of use of electronic devices.
  • the method before the obtaining the touch operation layer based on the triggering instruction, the method further includes: setting a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device, and saving the Corresponding relationship, as shown in FIG. 3, FIG. 3 is a correspondence diagram of a touch gesture and an operation instruction according to the embodiment, which may be a correspondence between a gesture and an execution action in a graphics system of an electronic device, and the corresponding relationship is save.
  • FIG. 4 is a flowchart of a method for registering the touch gesture into the graphic system, and each touch is performed.
  • the registration process of the gesture is as follows: firstly, the correspondence between the touch gesture and the operation instruction is obtained, the correspondence is saved in the gesture manager, and then multiple event types and event processing functions in the touch gesture are bound to the graphics system.
  • Each touch gesture may include multiple event types, and each event type included in each touch gesture is stored in an event type array, and each event type included in each touch gesture corresponds to an event processing function.
  • a variety of different event types are categorized in the event handler so that each event type is associated with an execution action or a portion of the execution action.
  • the "long press" gesture requires mouse click, mouse release, mouse movement and timer multiple events to complete cooperation.
  • the timer is started, when the mouse is released or the movement event is triggered and the timer time is Off timer when not reached, execution and gesture when timer event is triggered.
  • the binding execution action since the types of the electronic devices are various, the touch gestures between the electronic devices may be different, and the technical solution provided by the embodiment may correspond to the touch gestures used by the user according to the user's usage habits, and the setting is convenient. Therefore, the unaccustomed phenomenon caused by the different electronic device settings during the use of the user can be reduced, the time for the user to adapt to the electronic device is greatly reduced, and the ease of use of the electronic device is increased.
  • the method further includes: hiding the touch operation layer based on the hidden instruction.
  • the hidden instruction may be generated when detecting that the user inputs a hidden gesture, or when the cursor moves outside the first area, or when detecting that the user receives the touch gesture outside the first area. Then execute the hidden command to close the touch operation layer or move the touch operation layer outside the visible area of the touch screen.
  • the technical solution provided by the embodiment can generate a hidden instruction according to a hidden gesture or other manner, the touch operation layer can be hidden, and the touch operation layer is separated from other display areas of the screen, and the normal use of the user is not affected.
  • the embodiment of the present invention further provides an apparatus for controlling an electronic device, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1.
  • the device includes:
  • the generating module is configured to generate a touch operation layer based on the triggering instruction, where the touch operation layer covers the first area of the touch screen;
  • a control module configured to respond to the touch gesture on the first area to operate on at least one of the M operation objects.
  • the device for controlling an electronic device in the embodiment and the foregoing method for controlling the electronic device are based on two aspects under the same inventive concept, and the implementation process of the method has been described in detail before. Therefore, those skilled in the art can clearly understand the implementation process of the device for controlling the electronic device in this embodiment according to the foregoing description. For the sake of brevity of the description, no further description is provided herein.
  • FIG. 5 is a block diagram of an electronic device according to the embodiment.
  • the electronic device includes: a casing 101; a touch screen 102, and the casing On the touch screen 102, M operation objects are included, and M is an integer greater than or equal to 1.
  • the circuit board 103 is disposed in the casing 101 and connected to the touch screen 102.
  • the first processor 104 disposed on the circuit board 103;
  • the first processor 104 is configured to generate a touch operation layer based on the triggering instruction, the touch operation layer covers the first area of the touch screen 102, and responds to the touch on the first area Controlling a gesture, operating on at least one of the M operational objects.
  • the electronic device may further include: a second processor configured to set a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device and save the corresponding relationship, in an actual application, the second
  • the processor and the first processor 104 may be different processors or the same processor, and are not limited herein.
  • the first processor 104 is configured to generate the trigger instruction in response to a trigger gesture, and control a graphics system of the electronic device to generate the touch operation layer according to the trigger instruction.
  • the electronic device in the embodiment and the foregoing method for controlling the electronic device are based on two aspects under the same inventive concept.
  • the implementation process of the method has been described in detail before, so those skilled in the art can clearly understand according to the foregoing description.
  • the structure and implementation process of the electronic device in this embodiment are known. For the sake of brevity of the description, details are not described herein again.
  • the user Since a touch operation layer covering the first area of the touch screen is used, the user only needs to input a touch gesture in the first area, and the operation object of other areas on the touch screen can be operated, thereby The user does not need to input the touch gesture in a large range, which reduces the range of the user inputting the touch gesture, thereby improving the user experience.
  • the user's customary touch gestures are associated with the operation, and the setting is convenient, thereby reducing the unaccustomed phenomenon caused by the user's use of different electronic devices during the use process, so that the user adapts to the electronic device. The time is greatly reduced, increasing the ease of use of electronic devices.
  • the touch operation layer can be easily triggered or hidden, the touch operation layer is separated from other display areas on the touch screen, and the normal use of the user is not affected.
  • embodiments of the present invention can be provided as a method, system, or computer program product.
  • the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware.
  • the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded into a computer or other programmable data processing device Having a series of operational steps performed on a computer or other programmable device to produce computer-implemented processing, such that instructions executed on a computer or other programmable device are provided for implementing a process or processes in a flowchart and/or Or block diagram the steps of a function specified in a box or multiple boxes.
  • An embodiment of the present invention provides an electronic device and a method and apparatus for controlling the electronic device.
  • a touch operation layer covering a first area of the touch screen is used, and only needs to be in the first area.
  • the operation object of other areas on the touch screen can be operated, so that the user does not need to input the touch gesture in a large range, thereby reducing the range of the user inputting the touch gesture, thereby improving The user experience.
  • the touch operation layer can be easily triggered or hidden, and separated from other display areas on the touch screen, without affecting the normal use of the user.

Abstract

Disclosed are an electronic equipment and a method and device for controlling the electronic device. The electronic equipment comprises a touch screen where M operation objects are comprised, wherein M is a integer which is greater than or equal to 1. The method comprises: obtaining a touch operation layer due to a trigger instruction, wherein the touch operation layer covers the first district of the touch screen; performing operations to at least one operation object of the M operation objects in response to touch gesture on the first district.

Description

一种电子设备及控制所述电子设备的方法及装置 技术领域  Electronic device and method and device for controlling the same
本申请涉及电子技术领域, 尤其涉及一种电子设备及控制所述电子设 备的方法及装置。 背景技术  The present application relates to the field of electronic technologies, and in particular, to an electronic device and a method and apparatus for controlling the electronic device. Background technique
随着科学技术的不断发展, 电子技术也得到了飞速的发展, 电子产品 的种类也越来越多, 人们也享受到了科技发展带来的各种便利。 现在人们 可以通过各种类型的电子设备, 享受随着科技发展带来的舒适生活。  With the continuous development of science and technology, electronic technology has also developed rapidly, and there are more and more types of electronic products. People also enjoy the convenience brought by the development of science and technology. Nowadays, people can enjoy the comfortable life brought by the development of science and technology through various types of electronic devices.
随着电子技术的不断发展, 使用触控技术的电子设备开始越来越多地 出现在人们的生活中, 比如平板电脑、 笔记本电脑、 手机等电子设备都开 始使用触控技术, 使用触控技术可以使得电子设备的操作具有更加直观、 更加便捷、 互动性更强等优点, 增加了人机直接交互的亲切感, 而且由于 以触控屏幕代替了键盘与鼠标等输入设备, 所以使得电子设备的外形可以 设计得更加时尚轻薄, 让人们的生活更加美好。 例如, 使用平板电脑时, 可以使用手指或专用笔点击平板电脑的触控屏幕, 就能够打开电子设备上 的一些应用, 十分的方便和快捷。  With the continuous development of electronic technology, electronic devices using touch technology are beginning to appear more and more in people's lives. For example, electronic devices such as tablets, notebook computers, and mobile phones are beginning to use touch technology, using touch technology. The operation of the electronic device can be made more intuitive, more convenient, more interactive, and the like, which increases the intimacy of direct interaction between the human and the human machine, and the electronic device is replaced by a touch screen instead of an input device such as a keyboard and a mouse. The shape can be designed to be more fashionable and light, making people's lives better. For example, when using a tablet, you can use a finger or a special pen to click on the tablet's touch screen to open some applications on the electronic device, which is very convenient and fast.
但本申请发明人发现上述技术至少存在如下技术问题:  However, the inventors of the present application found that the above technology has at least the following technical problems:
1、 需要在较大范围内获取用户的触控手势: 由于打开或使用应用的时 候, 需要用户触控电子设备触控屏幕上对应的图标或区域, 所以需要用户 输入触控手势的范围很大, 该范围可能会包括触控屏幕的每个角落, 电子 设备需要在较大范围内获取用户的触控手势, 所以用户在打开应用时或者 在打开应用后, 都可能会在一个较大的范围内去输入触控手势, 这样, 用 户在使用电子设备的过程中容易疲劳, 造成不好的用户体验。 2、 触控手势在执行的时候容易发生冲突: 系统使用的触控手势会与电 子设备中的应用使用的触控手势发生冲突, 比如, 系统使用 "长按屏幕" 这一触控手势来关闭窗口, 但应用本身使用 "长按屏幕" 来打开应用的帮 助文档, 这时用户在触控屏幕上长按屏幕希望打开应用的帮助文档, 但实 际可能会造成应用的窗口被关闭, 或者是用户希望关闭窗口时, 却打开了 应用的帮助文档。 发明内容 1. The user needs to obtain the touch gesture of the user in a large range: Since the user needs to touch the corresponding icon or area on the touch screen of the electronic device when opening or using the application, the range of the touch gesture required by the user is large. The range may include every corner of the touch screen. The electronic device needs to obtain the user's touch gesture in a wide range, so the user may be in a larger range when opening the application or after opening the application. The touch gesture is input inside, so that the user is prone to fatigue in the process of using the electronic device, resulting in a bad user experience. 2. The touch gesture is prone to conflict when executed: The touch gesture used by the system conflicts with the touch gesture used by the application in the electronic device. For example, the system uses the "long press screen" touch gesture to close Window, but the app itself uses "long press the screen" to open the application's help file. At this time, the user long presses the screen on the touch screen and wants to open the application's help file, but the application window may be closed, or the user may actually When you want to close the window, the application's help documentation opens. Summary of the invention
本发明实施例通过提供一种控制电子设备的方法、 装置及一种电子设 备, 解决了现有技术中需要在较大范围内获取用户的触控手势的技术问题。  The embodiment of the present invention solves the technical problem that the touch gesture of the user needs to be acquired in a large range in the prior art by providing a method, a device, and an electronic device for controlling an electronic device.
本发明实施例提供了一种控制电子设备的方法, 应用于电子设备, 所 述电子设备包括触控屏幕, 在所述触控屏幕上包括 M个操作对象, M为大 于等于 1的整数, 所述方法包括:  An embodiment of the present invention provides a method for controlling an electronic device, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1. The methods include:
基于触发指令, 获得触控操作层, 所述触控操作层覆盖于所述触控屏 幕的第一区域; 响应在所述第一区域上的触控手势, 对所述 M个操作对象 中的至少一个操作对象进行操作。  And obtaining, by the triggering instruction, the touch operation layer, the touch operation layer covering the first area of the touch screen; and responding to the touch gesture on the first area, to the M operation objects At least one operation object operates.
可选地, 在所述基于触发指令, 获得触控操作层之前, 所述方法还包 括: 设置所述触控操作层的大小信息与位置信息。  Optionally, before the obtaining the touch operation layer based on the triggering instruction, the method further includes: setting size information and location information of the touch operation layer.
可选地, 在所述基于触发指令, 获得触控操作层之前, 所述方法还包 括: 在所述电子设备的图形系统中, 设置并保存操作指令与触控手势之间 的对应关系。  Optionally, before the obtaining the touch operation layer based on the triggering instruction, the method further includes: setting and saving a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device.
可选地, 在所述基于触发指令, 获得触控操作层之后, 所述方法还包 括: 基于隐藏指令, 隐藏所述触控操作层。  Optionally, after the obtaining the touch operation layer based on the triggering instruction, the method further includes: hiding the touch operation layer based on the hidden instruction.
可选地, 所述基于触发指令, 获得触控操作层, 包括: 获得一触发手 势; 响应所述触发手势, 生成所述触发指令; 根据所述触发指令, 所述电 子设备的图形系统生成所述触控操作层。 可选地, 所述响应在所述第一区域上的触控手势, 对所述 M个操作对 象中的至少一个操作对象进行操作, 具体包括: 响应在所述第一区域上的 触控手势, 判断所述触控手势是否与第一操作指令对应的第一触控手势一 致; 当一致时, 获得所述第一操作指令; 执行所述第一操作指令, 以对所 述 M个操作对象中的至少一个操作对象进行操作。 Optionally, the obtaining the touch operation layer based on the triggering instruction comprises: obtaining a triggering gesture; generating the triggering instruction in response to the triggering gesture; and generating, according to the triggering instruction, the graphic system of the electronic device The touch operation layer. Optionally, the operating the at least one of the M operating objects in response to the touch gesture on the first area, specifically: responding to the touch gesture on the first area Determining whether the touch gesture is consistent with the first touch gesture corresponding to the first operation instruction; when consistent, obtaining the first operation instruction; executing the first operation instruction to the M operation object At least one of the operation objects in the operation.
本发明实施例还提供一种控制电子设备的装置, 应用于电子设备, 所 述电子设备包括触控屏幕, 在所述触控屏幕上包括 M个操作对象, M为大 于等于 1的整数, 所述装置包括:  The embodiment of the present invention further provides an apparatus for controlling an electronic device, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1. The device includes:
生成模块, 配置为基于触发指令, 生成触控操作层, 所述触控操作层 覆盖于所述触控屏幕的第一区域;  The generating module is configured to generate a touch operation layer based on the triggering instruction, where the touch operation layer covers the first area of the touch screen;
控制模块, 配置为响应在所述第一区域上的触控手势, 以对所述 M个 操作对象中的至少一个操作对象进行操作。  And a control module configured to respond to the touch gesture on the first area to operate on at least one of the M operation objects.
本发明实施例还提供一种电子设备, 所述电子设备包括: 机壳; 触控 屏幕, 设置与所述机壳上, 在所述触控屏幕上包括 M个操作对象, M为大 于等于 1 的整数; 电路板, 设置于所述机壳内, 与所述触控屏幕相连; 第 一处理器, 设置于所述电路板上;  The embodiment of the present invention further provides an electronic device, the electronic device includes: a casing; a touch screen disposed on the casing, and including M operation objects on the touch screen, where M is greater than or equal to 1 The circuit board is disposed in the casing and connected to the touch screen; the first processor is disposed on the circuit board;
其中, 所述第一处理器, 配置为基于触发指令, 生成触控操作层, 所 述触控操作层覆盖于所述触控屏幕的第一区域, 并响应在所述第一区域上 的触控手势, 对所述 M个操作对象中的至少一个操作对象进行操作。  The first processor is configured to generate a touch operation layer based on the triggering instruction, the touch operation layer covers the first area of the touch screen, and responds to the touch on the first area Controlling a gesture, operating on at least one of the M operational objects.
可选地, 所述电子设备还包括: 第二处理器, 配置为在所述电子设备 的图形系统中, 设置并保存操作指令与触控手势之间的对应关系。  Optionally, the electronic device further includes: a second processor configured to set and save a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device.
可选地, 所述第一处理器, 配置为响应一触发手势, 生成所述触发指 令, 并根据所述触发指令, 控制所述电子设备的图形系统生成所述触控操 作层。  Optionally, the first processor is configured to generate the triggering command in response to a triggering gesture, and control a graphics system of the electronic device to generate the touch operating layer according to the triggering instruction.
本申请实施例中提供的一个或多个技术方案, 至少具有如下技术效果 或优点: One or more technical solutions provided in the embodiments of the present application have at least the following technical effects. Or advantages:
1、 由于采用了一个覆盖在触控屏幕的第一区域的触控操作层, 用户只 需要在第一区域中输入触控手势, 就可以对触控屏幕上其他区域的操作对 象进行操作, 从而使得用户不需要在一个很大的范围去输入触控手势, 减 少了用户输入触控手势的范围, 进而提高了用户体验。  1. Since a touch operation layer covering the first area of the touch screen is used, the user only needs to input a touch gesture in the first area, and the operation object of other areas on the touch screen can be operated, thereby The user does not need to input the touch gesture in a large range, which reduces the range of the user inputting the touch gesture, thereby improving the user experience.
2、由于根据用户的使用习惯,将用户习惯的触控手势与操作对应起来, 设置方便, 从而可以减少用户在使用过程因不同的电子设备设置而造成的 不习惯的现象, 使得用户适应电子设备的时间大大减少, 增加电子设备的 易用性。  2. According to the user's usage habits, the user's customary touch gestures are associated with the operation, and the setting is convenient, thereby reducing the unaccustomed phenomenon caused by the user's use of different electronic devices during the use process, so that the user adapts to the electronic device. The time is greatly reduced, increasing the ease of use of electronic devices.
3、 由于触控操作层可以方便的触发或者隐藏, 触控操作层与触控屏幕 上其他显示区域分离, 不会影响用户的正常使用。 附图说明  3. Since the touch operation layer can be easily triggered or hidden, the touch operation layer is separated from other display areas on the touch screen, and the normal use of the user is not affected. DRAWINGS
图 1为本发明一实施例提供的控制电子设备的方法流程图;  FIG. 1 is a flowchart of a method for controlling an electronic device according to an embodiment of the present invention;
图 2为本发明一实施例提供的触控操作层的位置示意图;  2 is a schematic diagram of a position of a touch operation layer according to an embodiment of the present invention;
图 3为本发明一实施例提供的触控手势及操作指令对应关系图; 图 4为本发明一实施例提供的将触控手势注册到图形系统中的方法流 程图;  FIG. 3 is a flow chart of a method for registering a touch gesture into a graphics system according to an embodiment of the present invention; FIG.
图 5为本发明一实施例提供的电子设备模块图。 具体实施方式  FIG. 5 is a block diagram of an electronic device according to an embodiment of the present invention. detailed description
本发明实施例通过提供一种控制电子设备的方法、 装置及一种电子设 备, 解决了现有技术中需要在较大范围内获取用户的触控手势的技术问题。  The embodiment of the present invention solves the technical problem that the touch gesture of the user needs to be acquired in a large range in the prior art by providing a method, a device, and an electronic device for controlling an electronic device.
本发明实施例中的技术方案为解决上述用户输入触控手势的范围较大 的技术问题, 总体思路如下:  The technical solution in the embodiment of the present invention is to solve the technical problem that the range of the user input touch gesture is large, and the general idea is as follows:
电子设备的触控屏幕上包括 M个操作对象, M为大于等于 1的整数, 通过一个覆盖在触控屏幕的第一区域的触控操作层, 接收用户输入的触控 手势, 然后响应用户输入的触控手势, 从而对 M个操作对象中的至少一个 操作对象进行操作, 进而解决了现有技术中需要在较大范围内获取用户的 触控手势的技术问题, 使得用户在一个较小的触控范围内输入触控手势, 就可以对整个触控屏幕上的操作对象进行操作。 The touch screen of the electronic device includes M operation objects, and M is an integer greater than or equal to 1. Receiving a touch gesture input by the user through a touch operation layer covering the first area of the touch screen, and then operating at least one of the M operation objects in response to the touch gesture input by the user, and further The technical problem that the user needs to obtain the touch gesture of the user in a large range is solved, so that the user can input the touch gesture within a small touch range, and the operation object on the entire touch screen can be performed. operating.
为了更好的理解上述技术方案, 下面将结合说明书附图以及具体的实 施方式对上述技术方案进行详细的说明。  In order to better understand the above technical solutions, the above technical solutions will be described in detail below in conjunction with the drawings and specific embodiments.
本发明实施例提供一种电子设备的控制方法, 应用于电子设备, 电子 设备包括触控屏幕, 在所述触控屏幕上包括 M个操作对象, M为大于等于 1的整数, 请参考图 1, 图 1是本发明实施例提供的控制电子设备的方法流 程图, 所述方法包括:  An embodiment of the present invention provides a method for controlling an electronic device, which is applied to an electronic device. The electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1, please refer to FIG. 1 FIG. 1 is a flowchart of a method for controlling an electronic device according to an embodiment of the present invention, where the method includes:
步骤 S1 : 基于触发指令, 获得触控操作层, 所述触控操作层覆盖于所 述触控屏幕的第一区域;  Step S1: obtaining a touch operation layer based on the triggering instruction, where the touch operation layer covers the first area of the touch screen;
步骤 S2: 响应在所述第一区域上的触控手势, 对所述 M个操作对象中 的至少一个操作对象进行操作。  Step S2: responsive to the touch gesture on the first area, operating at least one of the M operation objects.
在接下来的描述中, 将以电子设备为平板电脑为例, 来进行详细的举 例描述。  In the following description, a detailed description will be made by taking an electronic device as a tablet as an example.
在步骤 S1中, 所述基于触发指令, 获得触控操作层, 具体为: 获得一 触发手势; 响应所述触发手势, 生成所述触发指令; 根据所述触发指令, 所述电子设备的图形系统生成所述触控操作层。  In step S1, the touch operation layer is obtained based on the trigger instruction, specifically: obtaining a trigger gesture; generating the trigger instruction in response to the trigger gesture; and the graphics system of the electronic device according to the trigger instruction The touch operation layer is generated.
其中, 所述获得一触发手势, 可以是在触控屏幕上获得用户输入的一 个触发手势, 该触发手势可以是用户预先设置的用于触发触控操作层的手 势, 在实际应用中, 可以是用户在平板电脑的触控屏幕上的点击或滑动等 等。  The triggering gesture may be a trigger gesture obtained by the user on the touch screen, and the trigger gesture may be a gesture preset by the user for triggering the touch operation layer. In practical applications, The user clicks or swipes on the touch screen of the tablet, and so on.
所述响应触发手势, 生成所述触发指令, 可以是在检测到用户输入的 触发手势后, 生成触发指令; 也可以是检测到在触控操作层覆盖的第一区 域触控输入或光标移动到了第一区域内, 就生成触发指令; 当然了, 为了 不影响用户在一般情况下对第一区域的触控输入, 也可以是检测到用户在 第一区域的屏幕边沿有触控输入或光标移动到了第一区域的屏幕边沿时, 生成触发指令; 在实际应用中, 还可以有其他方式生成触发指令, 比如, 用户在触控屏幕上点击触控屏幕上一个图标, 平板电脑在检测到用户点击 该图标后, 就生成触发指令, 或者也可以使用物理上的按键来生成触发指 令, 比如用户按下一个平板电脑上的一个按钮, 就可以生成触发指令, 实 现触发指令的其他方式还可以有许多, 在此就不赘述了。 The response triggering gesture, generating the triggering instruction, which may be detecting user input After the trigger gesture is generated, a trigger command is generated; or the touch input is detected in the first area covered by the touch operation layer or the cursor is moved into the first area, and a trigger instruction is generated; of course, in order not to affect the user in general The touch input to the first area may also be configured to generate a trigger command when the user has touch input on the edge of the screen of the first area or the cursor moves to the edge of the screen of the first area; in practical applications, There are other ways to generate a trigger command. For example, the user clicks an icon on the touch screen on the touch screen, and the tablet generates a trigger command after detecting that the user clicks the icon, or can use a physical button to generate a trigger. Instructions, such as a user pressing a button on a tablet, can generate a trigger command, there are many other ways to implement the trigger command, and will not be described here.
所述根据所述触发指令, 所述电子设备的图形系统生成所述触控操作 层, 具体来讲, 可以是: 在接收到触发指令后, 平板电脑的图形系统根据 触发指令, 生成一个触控操作层, 触控操作层覆盖于触控屏幕上的第一区 域。 当然了, 在实际应用中, 还可以是: 在开机后平板电脑的图形系统生 成触控操作层, 将其移动到触控屏幕外, 在接收到触发指令后, 再将触控 操作层移动到触控屏幕的可视区域内, 以供用户输入触控手势。  The graphics system of the electronic device generates the touch operation layer according to the triggering instruction. Specifically, after receiving the trigger instruction, the graphic system of the tablet generates a touch according to the trigger instruction. The operation layer, the touch operation layer covers the first area on the touch screen. Of course, in practical applications, it can also be: After the boot, the graphics system of the tablet generates a touch operation layer, moves it to the touch screen, and after receiving the trigger command, moves the touch operation layer to The visible area of the touch screen is for the user to input a touch gesture.
在步骤 S2中, 响应在所述第一区域上的触控手势, 对所述 M个操作 对象中的至少一个操作对象进行操作, 可以是: 响应在所述第一区域上的 触控手势, 判断所述触控手势是否与第一操作指令对应的第一触控手势一 致; 在所述触控手势与所述第一触控手势一致时, 获得所述第一操作指令; 执行所述第一操作指令, 以对所述 M个操作对象中的至少一个操作对象进 行操作。  In step S2, in response to the touch gesture on the first area, operating at least one of the M operation objects may be: responding to a touch gesture on the first area, Determining whether the touch gesture is consistent with the first touch gesture corresponding to the first operation command; and when the touch gesture is consistent with the first touch gesture, obtaining the first operation instruction; An operation instruction to operate on at least one of the M operation objects.
其中, 所述响应在第一区域上的触控手势, 判断触控手势是否与第一 操作指令对应的第一触控手势一致, 可以是: 在获取到第一区域上的触控 手势后, 采集该触控手势的信息, 根据该信息判断该触控手势是否与第一 操作指令对应的触控手势一致。 在实际应用中, 以在平板电脑的触控屏幕上输入一个 "由左向右滑动" 触控手势为例, 用户在第一区域上输入 "由左向右滑动" 的触控手势以后, 平板电脑通过触控屏幕就可以获取到该 "由左向右滑动" 的触控手势信息 的起点、 持续时间、 终点、 滑动速度等信息, 然后根据这些信息判断 "由 左向右" 这一触控手势是否与第一操作指令的对应触控手势一致。 The responsiveness of the touch gesture on the first area determines whether the touch gesture is consistent with the first touch gesture corresponding to the first operation instruction, and may be: after acquiring the touch gesture on the first area, The information of the touch gesture is collected, and the touch gesture is determined according to the information to be consistent with the touch gesture corresponding to the first operation instruction. In a practical application, a "touch from left to right" touch gesture is input on the touch screen of the tablet as an example, after the user inputs a touch gesture of "sliding from left to right" on the first area, the tablet The touch screen of the computer can obtain the starting point, duration, end point, sliding speed and the like of the "sliding from left to right" touch gesture information, and then judge the "from left to right" touch based on the information. Whether the gesture is consistent with the corresponding touch gesture of the first operation instruction.
所述在所述触控手势与所述第一触控手势一致时, 获得所述第一操作 指令, 可以是: 在前述步骤中判断 "由左向右滑动" 这一触控手势与第一 操作指令对应的第一触控手势一致时, 获得第一操作指令, 假设第一操作 指令是在触控屏幕上打开的窗口之间切换焦点, 则此时平板电脑就会获得 在触控屏幕上打开的窗口之间切换焦点的操作指令。  The obtaining the first operation instruction when the touch gesture is consistent with the first touch gesture may be: determining, in the foregoing step, the "sliding from left to right" touch gesture and the first When the first touch gesture corresponding to the operation instruction is consistent, the first operation instruction is obtained, and if the first operation instruction is to switch the focus between the windows opened on the touch screen, the tablet computer is obtained on the touch screen. The operation command to switch the focus between open windows.
所述执行所述第一操作指令, 以对所述 M个操作对象中的至少一个操 作对象进行操作可以是: 执行前述步骤中获得的在触控屏幕上打开的窗口 之间切换焦点的操作指令, 就可以在触控屏幕上打开的窗口之间切换焦点, 以供用户使用他想要的窗口。 当然了, 通过在第一区域上输入其他手势, 也可以执行这些手势对应的操作, 可以对触控屏幕上的操作对象进行操作, 从而减小了用户输入触控手势的范围, 使得用户在第一区域内就可以对触 控屏幕内第一区域以外的操作对象进行操作。  The performing the first operation instruction to operate on the at least one of the M operation objects may be: performing an operation instruction of switching a focus between windows opened on the touch screen obtained in the foregoing step , you can switch the focus between the windows opened on the touch screen for the user to use the window he wants. Of course, by inputting other gestures on the first area, the operations corresponding to the gestures can also be performed, and the operation object on the touch screen can be operated, thereby reducing the range of the user inputting the touch gesture, so that the user is in the first An operation object other than the first area in the touch screen can be operated in one area.
在实际应用中, 对 M个操作对象中的至少一个操作对象进行操作包括 许多种类的的操作, 比如至少一个操作对象是一个应用或者程序模块, 执 行操作指令可以对该操作对象进行操作以打开应用或执行程序模块对应的 功能; 又比如至少一个操作对象是一个或多个图标, 可以对这些图标进行 隐藏、 拖动、 显示等等操作, 在此为了说明书的简洁, 就不再赘述了。  In an actual application, operating at least one of the M operation objects includes a plurality of types of operations, such as at least one operation object being an application or a program module, and executing the operation instruction may operate the operation object to open the application. Or, the function corresponding to the program module is executed; for example, at least one operation object is one or more icons, and the icons can be hidden, dragged, displayed, etc., and the details of the description are omitted here.
在其他实施例中, 在所述基于触发指令, 获得触控操作层之前, 本实 施例提供的方法还包括: 设置所述触控操作层的大小信息与位置信息。 可 以是在图形系统层设置触控操作层的大小与位置, 在实际应用中可以根据 用户的使用习惯, 设置触控操作层为合适的大小并设置触控操作层在合适 的位置, 例如, 请参考图 2, 图 2为设置该触控操作层的位置示意图, 触控 操作层的大小可以设置长度为 100像素, 宽度为 100像素, 背景颜色为半 透明白色, 当然了, 用户也可以根据自己的使用习惯或者爱好增加触控操 作层的样式, 例如更换背景图片等等, 而触控操作层的位置可以将设置为 位于触控屏幕的右下角, 当然了, 用户也可以根据自己的使用情况, 将触 控操作层设置在触控屏幕的其他区域, 这样可以很好地满足用户的使用习 惯, 增加电子设备的易使用性。 In other embodiments, before the obtaining the touch operation layer based on the triggering instruction, the method provided by the embodiment further includes: setting size information and location information of the touch operation layer. It can be set the size and position of the touch operation layer in the graphics system layer, and can be based on actual applications. For the user's usage habits, set the touch operation layer to a suitable size and set the touch operation layer at a suitable position. For example, please refer to FIG. 2, FIG. 2 is a schematic diagram showing the position of the touch operation layer, and the touch operation layer. The size can be set to 100 pixels in length, 100 pixels in width, and the background color is translucent white. Of course, the user can also increase the style of the touch operation layer according to his own habits or preferences, such as changing the background image, etc. The position of the control operation layer can be set to be located in the lower right corner of the touch screen. Of course, the user can also set the touch operation layer on other areas of the touch screen according to his own use condition, so that the user can be well satisfied. Use habits to increase the ease of use of electronic devices.
在其他实施例中, 在所述基于触发指令, 获得触控操作层之前, 所述 方法还包括: 在所述电子设备的图形系统中设置操作指令与触控手势之间 的对应关系并保存所述对应关系, 如图 3所示, 图 3为本实施例提供的触 控手势及操作指令对应关系图, 可以是在电子设备的图形系统中设置手势 与执行动作的对应关系, 将该对应关系保存。  In other embodiments, before the obtaining the touch operation layer based on the triggering instruction, the method further includes: setting a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device, and saving the Corresponding relationship, as shown in FIG. 3, FIG. 3 is a correspondence diagram of a touch gesture and an operation instruction according to the embodiment, which may be a correspondence between a gesture and an execution action in a graphics system of an electronic device, and the corresponding relationship is save.
在实际应用中, 在保存了对应关系以后, 还需要将触控手势注册到图 形系统中,请参考图 4,图 4是将触控手势注册到图形系统中的方法流程图, 每个触控手势的注册过程为: 先获取触控手势与操作指令的对应关系, 将 该对应关系保存到手势管理器中, 然后将触控手势中多个事件类型及事件 处理函数绑定到图形系统中。  In the actual application, after the corresponding relationship is saved, the touch gesture needs to be registered in the graphic system. Please refer to FIG. 4, which is a flowchart of a method for registering the touch gesture into the graphic system, and each touch is performed. The registration process of the gesture is as follows: firstly, the correspondence between the touch gesture and the operation instruction is obtained, the correspondence is saved in the gesture manager, and then multiple event types and event processing functions in the touch gesture are bound to the graphics system.
其中, 每个触控手势可能包含多个事件类型, 每个触控手势包含的多 个事件类型一起存储在事件类型数组中, 每个触控手势包含的多个事件类 型对应一个事件处理函数, 在事件处理函数中对各种不同的事件类型进行 分类处理, 使得每个事件类型处理关联一个执行动作或执行动作的某部分。  Each touch gesture may include multiple event types, and each event type included in each touch gesture is stored in an event type array, and each event type included in each touch gesture corresponds to an event processing function. A variety of different event types are categorized in the event handler so that each event type is associated with an execution action or a portion of the execution action.
例如 "长按" 手势需要鼠标按下, 鼠标松开, 鼠标移动及定时器多个 事件合作完成, 当鼠标按下事件触发时启动定时器, 当鼠标松开或移动事 件触发时且定时器时间未到则关闭定时器, 定时器事件触发时执行与手势 绑定的执行动作。 由于电子设备种类多种多样, 但电子设备间的触控手势 可能会不一样, 而本实施例提供的技术方案可以根据用户的使用习惯, 将 用户习惯的触控手势与操作对应起来, 设置方便, 从而可以减少用户在使 用过程中因不同的电子设备设置而造成的不习惯的现象, 使得用户适应电 子设备的时间大大减少, 增加电子设备的易用性。 For example, the "long press" gesture requires mouse click, mouse release, mouse movement and timer multiple events to complete cooperation. When the mouse press event is triggered, the timer is started, when the mouse is released or the movement event is triggered and the timer time is Off timer when not reached, execution and gesture when timer event is triggered The binding execution action. Since the types of the electronic devices are various, the touch gestures between the electronic devices may be different, and the technical solution provided by the embodiment may correspond to the touch gestures used by the user according to the user's usage habits, and the setting is convenient. Therefore, the unaccustomed phenomenon caused by the different electronic device settings during the use of the user can be reduced, the time for the user to adapt to the electronic device is greatly reduced, and the ease of use of the electronic device is increased.
在其他实施例中, 在所述基于触发指令, 获得触控操作层之后, 所述 方法还包括: 基于隐藏指令, 隐藏所述触控操作层。  In other embodiments, after the obtaining the touch operation layer based on the triggering instruction, the method further includes: hiding the touch operation layer based on the hidden instruction.
可以是: 根据一触控手势, 生成一个隐藏指令, 执行隐藏指令, 然后 将触控操作层隐藏。 在实际应用中, 可以是在检测到用户输入一个隐藏手 势时, 或是在光标移动到第一区域以外时, 或是在检测到用户在第一区域 以外接收到触控手势时生成隐藏指令, 然后执行隐藏指令, 将触控操作层 关闭或将触控操作层移动到触控屏幕的可视区域外。  It can be: According to a touch gesture, generate a hidden instruction, execute a hidden instruction, and then hide the touch operation layer. In an actual application, the hidden instruction may be generated when detecting that the user inputs a hidden gesture, or when the cursor moves outside the first area, or when detecting that the user receives the touch gesture outside the first area. Then execute the hidden command to close the touch operation layer or move the touch operation layer outside the visible area of the touch screen.
当然了, 本领域的技术人员也可以根据实际情况, 选择其他合适的方 式来达到隐藏触控操作层的目的, 在此就不赘述了。 由于本实施例提供的 技术方案可以根据隐藏手势或其他方式生成隐藏指令, 可以隐藏触控操作 层, 触控操作层与屏幕其他显示区域分离, 不会影响用户的正常使用。  Of course, those skilled in the art can also select other suitable methods to achieve the purpose of hiding the touch operation layer according to the actual situation, and will not be described here. Since the technical solution provided by the embodiment can generate a hidden instruction according to a hidden gesture or other manner, the touch operation layer can be hidden, and the touch operation layer is separated from other display areas of the screen, and the normal use of the user is not affected.
本发明实施例还提供一种控制电子设备的装置, 应用于电子设备, 所 述电子设备包括触控屏幕, 在所述触控屏幕上包括 M个操作对象, M为大 于等于 1的整数, 所述装置包括:  The embodiment of the present invention further provides an apparatus for controlling an electronic device, which is applied to an electronic device, where the electronic device includes a touch screen, and the touch screen includes M operation objects, where M is an integer greater than or equal to 1. The device includes:
生成模块, 配置为基于触发指令, 生成触控操作层, 所述触控操作层 覆盖于所述触控屏幕的第一区域;  The generating module is configured to generate a touch operation layer based on the triggering instruction, where the touch operation layer covers the first area of the touch screen;
控制模块, 配置为响应在所述第一区域上的触控手势, 以对所述 M个 操作对象中的至少一个操作对象进行操作。  And a control module configured to respond to the touch gesture on the first area to operate on at least one of the M operation objects.
本实施例中控制电子设备的装置与前述控制电子设备的方法是基于同 一发明构思下的两个方面, 在前已经对方法的实施过程作了详细的描述, 所以本领域技术人员可根据前述描述清楚的了解本实施例中控制电子设备 的装置实施过程, 为了说明书的简洁, 在此就不再赘述了。 The device for controlling an electronic device in the embodiment and the foregoing method for controlling the electronic device are based on two aspects under the same inventive concept, and the implementation process of the method has been described in detail before. Therefore, those skilled in the art can clearly understand the implementation process of the device for controlling the electronic device in this embodiment according to the foregoing description. For the sake of brevity of the description, no further description is provided herein.
本发明实施例还提供一种电子设备,请参考图 5, 图 5为本实施例提供 的电子设备模块图, 所述电子设备包括: 机壳 101 ; 触控屏幕 102, 设置与 所述机壳上, 在所述触控屏幕 102上包括 M个操作对象, M为大于等于 1 的整数; 电路板 103, 设置于所述机壳 101内, 与所述触控屏幕 102相连; 第一处理器 104, 设置于所述电路板 103上;  The embodiment of the present invention further provides an electronic device. Please refer to FIG. 5. FIG. 5 is a block diagram of an electronic device according to the embodiment. The electronic device includes: a casing 101; a touch screen 102, and the casing On the touch screen 102, M operation objects are included, and M is an integer greater than or equal to 1. The circuit board 103 is disposed in the casing 101 and connected to the touch screen 102. The first processor 104, disposed on the circuit board 103;
所述第一处理器 104, 配置为基于触发指令, 生成触控操作层, 所述触 控操作层覆盖于所述触控屏幕 102 的第一区域, 并响应在所述第一区域上 的触控手势, 对所述 M个操作对象中的至少一个操作对象进行操作。  The first processor 104 is configured to generate a touch operation layer based on the triggering instruction, the touch operation layer covers the first area of the touch screen 102, and responds to the touch on the first area Controlling a gesture, operating on at least one of the M operational objects.
所述电子设备还可以包括: 第二处理器, 配置为在所述电子设备的图 形系统中设置操作指令与触控手势之间的对应关系并保存所述对应关系, 在实际应用中, 第二处理器与第一处理器 104可以是不同的处理器, 也可 以是同一个处理器, 在此不做限制。  The electronic device may further include: a second processor configured to set a correspondence between the operation instruction and the touch gesture in the graphic system of the electronic device and save the corresponding relationship, in an actual application, the second The processor and the first processor 104 may be different processors or the same processor, and are not limited herein.
所述第一处理器 104, 配置为响应一触发手势, 生成所述触发指令, 并 根据所述触发指令, 控制所述电子设备的图形系统生成所述触控操作层。  The first processor 104 is configured to generate the trigger instruction in response to a trigger gesture, and control a graphics system of the electronic device to generate the touch operation layer according to the trigger instruction.
本实施例中的电子设备与前述控制电子设备的方法是基于同一发明构 思下的两个方面, 在前已经对方法的实施过程作了详细的描述, 所以本领 域技术人员可根据前述描述清楚的了解本实施例中的电子设备的结构及实 施过程, 为了说明书的简洁, 在此就不再赘述了。  The electronic device in the embodiment and the foregoing method for controlling the electronic device are based on two aspects under the same inventive concept. The implementation process of the method has been described in detail before, so those skilled in the art can clearly understand according to the foregoing description. The structure and implementation process of the electronic device in this embodiment are known. For the sake of brevity of the description, details are not described herein again.
上述本申请实施例中的技术方案, 至少具有如下的技术效果或优点: The technical solutions in the foregoing embodiments of the present application have at least the following technical effects or advantages:
1、 由于采用了一个覆盖在触控屏幕的第一区域的触控操作层, 用户只 需要在第一区域中输入触控手势, 就可以对触控屏幕上其他区域的操作对 象进行操作, 从而使得用户不需要在一个很大的范围去输入触控手势, 减 少了用户输入触控手势的范围, 进而提高了用户体验。 2、由于根据用户的使用习惯,将用户习惯的触控手势与操作对应起来, 设置方便, 从而可以减少用户在使用过程因不同的电子设备设置而造成的 不习惯的现象, 使得用户适应电子设备的时间大大减少, 增加电子设备的 易用性。 1. Since a touch operation layer covering the first area of the touch screen is used, the user only needs to input a touch gesture in the first area, and the operation object of other areas on the touch screen can be operated, thereby The user does not need to input the touch gesture in a large range, which reduces the range of the user inputting the touch gesture, thereby improving the user experience. 2. According to the user's usage habits, the user's customary touch gestures are associated with the operation, and the setting is convenient, thereby reducing the unaccustomed phenomenon caused by the user's use of different electronic devices during the use process, so that the user adapts to the electronic device. The time is greatly reduced, increasing the ease of use of electronic devices.
3、 由于触控操作层可以方便的触发或者隐藏, 触控操作层与触控屏幕 上其他显示区域分离, 不会影响用户的正常使用。  3. Since the touch operation layer can be easily triggered or hidden, the touch operation layer is separated from other display areas on the touch screen, and the normal use of the user is not affected.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可采用完全硬件实施例、 完全软件实施 例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不 限于磁盘存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的 形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Thus, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流 程图和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中 的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专 用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个 机器, 使得通过计算机或其他可编程数据处理设备的处理器执行的指令产 生用于实现在流程图一个流程或多个流程和 /或方框图一个方框或多个方 框中指定的功能的装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart and/or block diagrams, and combinations of flows and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的 功能的步骤。 These computer program instructions can also be loaded into a computer or other programmable data processing device Having a series of operational steps performed on a computer or other programmable device to produce computer-implemented processing, such that instructions executed on a computer or other programmable device are provided for implementing a process or processes in a flowchart and/or Or block diagram the steps of a function specified in a box or multiple boxes.
显然, 本领域的技术人员可以对本申请进行各种改动和变型而不脱离 本申请的精神和范围。 这样, 倘若本申请的这些修改和变型属于本申请权 利要求及其等同技术的范围之内, 则本申请也意图包含这些改动和变型在 内。 工业实用性  It will be apparent that those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the application. Therefore, it is intended that the present invention cover the modifications and variations of the present invention. Industrial applicability
本发明实施例提供的一种电子设备及控制所述电子设备的方法及装 置, 本发明实施例由于采用了一个覆盖在触控屏幕的第一区域的触控操作 层, 只需要在第一区域中输入触控手势, 就可以对触控屏幕上其他区域的 操作对象进行操作, 从而使用户不需要在一个很大的范围去输入触控手势, 减少了用户输入触控手势的范围, 进而提高了用户体验。 通过将用户习惯 的触控手势与操作对应起来, 增加电子设备的易用性。 使用触控操作层可 以方便的触发或者隐藏, 与触控屏幕上其他显示区域分离, 不会影响用户 的正常使用。  An embodiment of the present invention provides an electronic device and a method and apparatus for controlling the electronic device. In the embodiment of the present invention, a touch operation layer covering a first area of the touch screen is used, and only needs to be in the first area. By inputting a touch gesture, the operation object of other areas on the touch screen can be operated, so that the user does not need to input the touch gesture in a large range, thereby reducing the range of the user inputting the touch gesture, thereby improving The user experience. Increasing the ease of use of electronic devices by correlating touch gestures that users are accustomed to. The touch operation layer can be easily triggered or hidden, and separated from other display areas on the touch screen, without affecting the normal use of the user.

Claims

权利要求书 claims
1、 一种控制电子设备的方法, 应用于电子设备, 所述电子设备包括触 控屏幕, 在所述触控屏幕上包括 M个操作对象, M为大于等于 1的整数, 所述方法包括: 1. A method of controlling electronic equipment, applied to electronic equipment. The electronic equipment includes a touch screen. The touch screen includes M operating objects. M is an integer greater than or equal to 1. The method includes:
基于触发指令, 获得触控操作层, 所述触控操作层覆盖于所述触控屏 幕的第一区域; Based on the triggering instruction, a touch operation layer is obtained, and the touch operation layer covers the first area of the touch screen;
响应在所述第一区域上的触控手势, 对所述 M个操作对象中的至少一 个操作对象进行操作。 In response to the touch gesture on the first area, at least one operation object among the M operation objects is operated.
2、 如权利要求 1所述的方法, 其中, 在所述基于触发指令, 获得触控 操作层之前, 所述方法还包括: 2. The method of claim 1, wherein before obtaining the touch operation layer based on the triggering instruction, the method further includes:
设置所述触控操作层的大小信息与位置信息。 Set the size information and position information of the touch operation layer.
3、 如权利要求 1所述的方法, 其中, 在所述基于触发指令, 获得触控 操作层之前, 所述方法还包括: 3. The method of claim 1, wherein before obtaining the touch operation layer based on the triggering instruction, the method further includes:
在所述电子设备的图形系统中, 设置并保存操作指令与触控手势之间 的对应关系。 In the graphics system of the electronic device, a correspondence relationship between operation instructions and touch gestures is set and saved.
4、 如权利要求 1所述的方法, 其中, 在所述基于触发指令, 获得触控 操作层之后, 所述方法还包括: 4. The method of claim 1, wherein after obtaining the touch operation layer based on the triggering instruction, the method further includes:
基于隐藏指令, 隐藏所述触控操作层。 Based on the hiding instruction, the touch operation layer is hidden.
5、 如权利要求 1所述的方法, 其中, 所述基于触发指令, 获得触控操 作层, 包括: 5. The method of claim 1, wherein the obtaining the touch operation layer based on the triggering instruction includes:
获得一触发手势; Get a trigger gesture;
响应所述触发手势, 生成所述触发指令; In response to the trigger gesture, generate the trigger instruction;
根据所述触发指令, 所述电子设备的图形系统生成所述触控操作层。 According to the triggering instruction, the graphics system of the electronic device generates the touch operation layer.
6、 如权利要求 1所述的方法, 其中, 所述响应在所述第一区域上的触 控手势, 对所述 M个操作对象中的至少一个操作对象进行操作, 包括: 响应在所述第一区域上的触控手势, 判断所述触控手势是否与第一操 作指令对应的第一触控手势一致; 6. The method of claim 1, wherein, in response to a touch gesture on the first area, operating at least one of the M operating objects includes: In response to the touch gesture on the first area, determine whether the touch gesture is consistent with the first touch gesture corresponding to the first operation instruction;
当一致时, 获得所述第一操作指令; 执行所述第一操作指令, 以对所 述 M个操作对象中的至少一个操作对象进行操作。 When consistent, the first operation instruction is obtained; and the first operation instruction is executed to operate at least one operation object among the M operation objects.
7、 一种控制电子设备的装置, 应用于电子设备, 所述电子设备包括触 控屏幕, 在所述触控屏幕上包括 M个操作对象, M为大于等于 1的整数, 所述装置包括: 7. A device for controlling electronic equipment, applied to electronic equipment. The electronic equipment includes a touch screen. The touch screen includes M operating objects. M is an integer greater than or equal to 1. The device includes:
生成模块, 配置为基于触发指令, 生成触控操作层, 所述触控操作层 覆盖于所述触控屏幕的第一区域; A generation module configured to generate a touch operation layer based on the trigger instruction, the touch operation layer covering the first area of the touch screen;
控制模块, 配置为响应在所述第一区域上的触控手势, 以对所述 M个 操作对象中的至少一个操作对象进行操作。 The control module is configured to respond to a touch gesture on the first area to operate at least one of the M operating objects.
8、 一种电子设备, 所述电子设备包括: 8. An electronic device, the electronic device includes:
机壳; casing;
触控屏幕,设置与所述机壳上,在所述触控屏幕上包括 M个操作对象, M为大于等于 1的整数; A touch screen is provided on the casing, and includes M operating objects on the touch screen, where M is an integer greater than or equal to 1;
电路板, 设置于所述机壳内, 与所述触控屏幕相连; A circuit board is provided in the casing and connected to the touch screen;
第一处理器, 设置于所述电路板上; The first processor is provided on the circuit board;
其中, 所述第一处理器, 配置为基于触发指令, 生成触控操作层, 所 述触控操作层覆盖于所述触控屏幕的第一区域, 并响应在所述第一区域上 的触控手势, 对所述 M个操作对象中的至少一个操作对象进行操作。 Wherein, the first processor is configured to generate a touch operation layer based on a trigger instruction, the touch operation layer covers the first area of the touch screen, and responds to a touch on the first area. Use a control gesture to operate at least one of the M operating objects.
9、 如权利要求 8所述的电子设备, 其中, 所述电子设备还包括: 第二 处理器, 配置为在所述电子设备的图形系统中, 设置并保存操作指令与触 控手势之间的对应关系。 9. The electronic device according to claim 8, wherein the electronic device further comprises: a second processor configured to set and save the relationship between the operation instruction and the touch gesture in the graphics system of the electronic device. Correspondence.
10、 如权利要求 8所述的电子设备, 其中, 所述第一处理器, 配置为 响应一触发手势, 生成所述触发指令, 并根据所述触发指令, 控制所述电 子设备的图形系统生成所述触控操作层。 10. The electronic device of claim 8, wherein the first processor is configured to respond to a trigger gesture, generate the trigger instruction, and control the electronic device according to the trigger instruction. The graphics system of the sub-device generates the touch operation layer.
PCT/CN2013/079229 2012-08-09 2013-07-11 Electronic equipment and method and device for controlling electronic device WO2014023148A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210282291.9A CN103576966A (en) 2012-08-09 2012-08-09 Electronic equipment and method and device for controlling electronic equipment
CN201210282291.9 2012-08-09

Publications (1)

Publication Number Publication Date
WO2014023148A1 true WO2014023148A1 (en) 2014-02-13

Family

ID=50048894

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/079229 WO2014023148A1 (en) 2012-08-09 2013-07-11 Electronic equipment and method and device for controlling electronic device

Country Status (2)

Country Link
CN (1) CN103576966A (en)
WO (1) WO2014023148A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104866083B (en) 2014-02-25 2020-03-17 中兴通讯股份有限公司 Gesture recognition method, device and system
CN104866084B (en) 2014-02-25 2021-04-30 中兴通讯股份有限公司 Gesture recognition method, device and system
CN105760019B (en) * 2016-02-22 2019-04-09 广州视睿电子科技有限公司 Touch operation method and its system based on interactive electric whiteboard
CN108379839B (en) * 2018-03-23 2019-12-10 网易(杭州)网络有限公司 Control response method and device and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546233A (en) * 2009-05-05 2009-09-30 上海华勤通讯技术有限公司 Identification and operation method of touch screen interface gestures
CN101782927A (en) * 2010-01-12 2010-07-21 广东欧珀移动通信有限公司 File management method of hand-hold equipment
CN102129312A (en) * 2010-01-13 2011-07-20 联想(新加坡)私人有限公司 Virtual touchpad for a touch device
CN102750099A (en) * 2012-06-20 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8230359B2 (en) * 2003-02-25 2012-07-24 Microsoft Corporation System and method that facilitates computer desktop use via scaling of displayed objects with shifts to the periphery
US8358281B2 (en) * 2009-12-15 2013-01-22 Apple Inc. Device, method, and graphical user interface for management and manipulation of user interface elements

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546233A (en) * 2009-05-05 2009-09-30 上海华勤通讯技术有限公司 Identification and operation method of touch screen interface gestures
CN101782927A (en) * 2010-01-12 2010-07-21 广东欧珀移动通信有限公司 File management method of hand-hold equipment
CN102129312A (en) * 2010-01-13 2011-07-20 联想(新加坡)私人有限公司 Virtual touchpad for a touch device
CN102750099A (en) * 2012-06-20 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal control method

Also Published As

Publication number Publication date
CN103576966A (en) 2014-02-12

Similar Documents

Publication Publication Date Title
TWI603254B (en) Method and apparatus for multitasking
JP6141300B2 (en) Indirect user interface interaction
TWI486868B (en) Electrionic device with shortcut function and control method thereof
TWI564781B (en) In the mobile operating system of the application window method and apparatus
CN102722334B (en) The control method of touch screen and device
US9886108B2 (en) Multi-region touchpad
TWI597652B (en) Method and apparatus for quickly launching a windowed application in a mobile operating system
CN105511781B (en) Start the method, apparatus and user equipment of application program
TW201109994A (en) Method for controlling the display of a touch screen, user interface of the touch screen, and electronics using the same
WO2016041469A1 (en) Touch control method, touch control device, touch control terminal and computer readable storage medium
CN104063128B (en) A kind of information processing method and electronic equipment
WO2016138661A1 (en) Processing method for user interface of terminal, user interface and terminal
EP3321791B1 (en) Gesture control and interaction method and device based on touch-sensitive surface and display
CN103513817A (en) Touch control equipment and method and device for controlling touch control equipment to configure operation mode
CN107577415A (en) Touch operation response method and device
CN103853481A (en) Method and system for simulating touch screen mobile terminal keys
WO2014023148A1 (en) Electronic equipment and method and device for controlling electronic device
US9542764B2 (en) Displaying contents of a file in different regions
WO2016183912A1 (en) Menu layout arrangement method and apparatus
TWI553543B (en) Control system and control method for virtual mouse
US20150153925A1 (en) Method for operating gestures and method for calling cursor
WO2014176976A1 (en) Method and device for parsing and displaying interface function, and computer storage medium
CN109739422B (en) Window control method, device and equipment
CN106502530A (en) A kind of terminal system control group display packing and device
CN110538460B (en) Mobile device

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

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

Country of ref document: EP

Kind code of ref document: A1