[go: up one dir, main page]

CN101593060B - Touch operation method and operation method of electronic device - Google Patents

Touch operation method and operation method of electronic device Download PDF

Info

Publication number
CN101593060B
CN101593060B CN200910159103A CN200910159103A CN101593060B CN 101593060 B CN101593060 B CN 101593060B CN 200910159103 A CN200910159103 A CN 200910159103A CN 200910159103 A CN200910159103 A CN 200910159103A CN 101593060 B CN101593060 B CN 101593060B
Authority
CN
China
Prior art keywords
menu
predetermined time
touched
touch
floating
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.)
Expired - Fee Related
Application number
CN200910159103A
Other languages
Chinese (zh)
Other versions
CN101593060A (en
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.)
AUO Corp
Original Assignee
AU Optronics Corp
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 AU Optronics Corp filed Critical AU Optronics Corp
Priority to CN200910159103A priority Critical patent/CN101593060B/en
Publication of CN101593060A publication Critical patent/CN101593060A/en
Application granted granted Critical
Publication of CN101593060B publication Critical patent/CN101593060B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

A touch operation method and an operation method of an electronic device are provided, the touch operation method includes judging whether an object to be selected displayed on a touch screen is touched. Secondly, when the object to be selected is touched for a first preset time, outputting a corresponding floating menu according to the attribute of the object to be selected. Then, judging whether one of the menu fields on the floating menu is selected, and executing a corresponding first instruction according to the selected menu field when one of the menu fields on the floating menu is selected. In addition, when the selected menu domain is selected for a second preset time, the second instruction corresponding to the selected menu domain is executed. Because the floating menu is output when the touch screen is touched, a user can easily operate the object without reciting the operation gesture of the electronic device, thereby not only reducing the misoperation during gesture operation, but also effectively improving the use convenience of the touch screen.

Description

触碰操作方法与电子装置的操作方法Touch operation method and operation method of electronic device

技术领域 technical field

本发明是有关于一种触控屏幕的操作方法,且特别是有关于一种触碰操作方法与电子装置的操作方法。The present invention relates to an operating method of a touch screen, and in particular relates to a touch operating method and an operating method of an electronic device.

背景技术 Background technique

在现今各式消费性电子产品的市场中,个人数字助理(PDA)、移动电话(mobile Phone)、笔记型电脑(notebook)及平板电脑(tablet PC)等便携式电子产品皆已广泛的使用触控式面板(touch panel)作为其数据沟通的界面工具。此外,由于目前电子产品的设计皆以轻、薄、短、小为方向,因此在产品上无足够空间容纳如键盘、鼠标等传统输入装置,尤其在讲求人性化设计的平板电脑需求的带动下,触控式面板已经一跃成为关键的零组件的一。而且触控式面板除了符合可作多层次选单设计要求外,亦能同时拥有键盘,鼠标等的功能及手写输入等人性化的操作方式,尤其将输入与输出整合在同一介面(屏幕)的特质,更是其他传统输入装置所不及之处。In today's market of various consumer electronics products, portable electronic products such as personal digital assistants (PDAs), mobile phones (mobile phones), notebook computers (notebooks) and tablet computers (tablet PCs) have widely used touch The touch panel is used as an interface tool for data communication. In addition, since the current design of electronic products is light, thin, short, and small, there is not enough space on the product to accommodate traditional input devices such as keyboards and mice, especially driven by the demand for tablet computers that emphasize humanized design. , The touch panel has become one of the key components. Moreover, the touch panel can not only meet the requirements of multi-level menu design, but also have the functions of keyboard, mouse and other humanized operation methods such as handwriting input, especially the characteristics of integrating input and output in the same interface (screen). , which is beyond the reach of other traditional input devices.

在现有的触控屏幕中,使用者在对电子装置内的文件进行操作时可以例如是对触控屏幕上所显示的选单进行选择或是利用电子装置上配置的硬件操作键进行操作。因此,现有的触控屏幕上仅能列出一般文件或文件共同的固定式功能选单,而无法针对不同属性的文件或文件有不同的功能选单。而使用者在操作时,则需要反复的移动于选单与对象间,若是过程中有不慎误触的情况,甚至可能得一切重来。In the existing touch screen, the user can, for example, select a menu displayed on the touch screen or use hardware operation keys configured on the electronic device to operate when operating files in the electronic device. Therefore, only general files or fixed function menus common to files can be listed on the existing touch screen, but different function menus cannot be provided for files with different attributes or files. When the user is operating, he needs to repeatedly move between the menu and the object. If there is an accidental touch during the process, he may even have to start all over again.

为了改善以上的缺点,如美国专利公告号第7479949号所述,其触控屏幕的操作方法为利用单点或多点触控的方式来对触控屏幕进行操作。以多点触控为例,使用者可以利用两根手指头在触控屏幕上的移动轨迹来对触控屏幕上的照片进行放大与缩小;以单点触控为例时,使用者可以利用手指的向左滑动来观看上一页的文件或是向右滑动来观看上一页的文件。如此的设计的确给使用者带来了使用上的便利性,但缺点就是使用者必须先熟记多组操作的手势,而且电子装置在判断手势时也可能因为物体触碰的力道不足或方向有所偏差导致误判,而使得使用者得重新再作一次手势。In order to improve the above shortcomings, as described in US Patent No. 7479949, the method for operating the touch screen is to operate the touch screen by means of single-point or multi-touch. Taking multi-touch as an example, the user can zoom in and out the photos on the touch screen by using the moving track of two fingers on the touch screen; taking single-touch as an example, the user can use Slide your finger to the left to view the previous page of documents or slide to the right to view the previous page of documents. Such a design does bring convenience to the user, but the disadvantage is that the user must first memorize multiple sets of operation gestures, and the electronic device may also have insufficient force or direction of the object when judging the gestures. The deviation leads to misjudgment, and the user has to make a gesture again.

发明内容 Contents of the invention

本发明的目的就是在提供一种触碰操作方法,其是在触控屏幕被触控时输出浮动选单,以让使用者轻易地即可操作对象,而减少手势操作时误动作。The purpose of the present invention is to provide a touch operation method, which is to output a floating menu when the touch screen is touched, so that the user can easily operate objects and reduce false actions during gesture operations.

本发明的再一目的是提供一种电子装置的操作方法,其可让使用者无须背诵电子装置的操作手势,还能让使用者能顺利的操作此电子装置,因此可有效提升触控屏幕使用便利性。Another object of the present invention is to provide a method for operating an electronic device, which allows the user to operate the electronic device smoothly without having to memorize the operation gestures of the electronic device, so that the use of the touch screen can be effectively improved convenience.

本发明提出一种触碰操作方法,其适用于触控屏幕上。此触碰操作方法包括判断显示于触控屏幕上的一待选对象是否被触碰。其次,当待选对象被触碰达第一预定时间时,则根据待选对象的属性输出相对应的浮动选单。接着,判断浮动选单上的多数个选单域其中之一是否被选定,并于当该浮动选单上的选单域其中之一被选定时,则根据被选定的选单域执行相对应的对所述待选对象进行操作的第一指令。另外,当被选定的选单域被选定达第二预定时间时,则执行被选定的选单域所对应的对所述待选对象进行操作的第二指令。The invention proposes a touch operation method, which is suitable for a touch screen. The touch operation method includes judging whether a candidate object displayed on the touch screen is touched. Secondly, when the object to be selected is touched for a first predetermined time, a corresponding floating menu is output according to the attribute of the object to be selected. Next, it is judged whether one of the multiple menu fields on the floating menu is selected, and when one of the menu fields on the floating menu is selected, then the corresponding corresponding response is performed according to the selected menu field. The first instruction for the operation of the object to be selected. In addition, when the selected menu field is selected for a second predetermined time, a second instruction for operating the object to be selected corresponding to the selected menu field is executed.

在本发明的较佳实施例中,上述的输出浮动选单的步骤包括以待选对象被触碰的点为基础而输出浮动选单;判断所述浮动选单上的所述这些选单域其中之一是否被选定的步骤包括:检测被触碰的点的一侧向压力;对所述侧向压力作一方向指标运算,并得到一方向指标;以及根据所述方向指标以定义相对应的所述这些选单域其中之一为所述被选定的选单域。In a preferred embodiment of the present invention, the above step of outputting a floating menu includes outputting a floating menu based on the point where the object to be selected is touched; judging whether one of the menu fields on the floating menu is The selected steps include: detecting a lateral pressure of the touched point; performing a direction index operation on the lateral pressure to obtain a direction index; and defining the corresponding One of these menu fields is the selected menu field.

在本发明的较佳实施例中,上述的当被选定的选单域被选定达第二预定时间时,则执行被选定的选单域所对应的第二指令的步骤包括判断被选定的选单域在被选定达第二预定时间后是否仍不中断地被选定,然而当被选定的选单域仍不中断地被选定时,则以预定时间间隔重复执行第二指令。In a preferred embodiment of the present invention, when the above-mentioned selected menu field is selected for the second predetermined time, the step of executing the second instruction corresponding to the selected menu field includes judging that the selected menu field is selected Whether the selected menu field is still selected without interruption after being selected for a second predetermined time, but when the selected menu field is still selected without interruption, the second instruction is repeatedly executed at predetermined time intervals.

本发明另提出一种电子装置的操作方法,此电子装置包括触控屏幕,且触控屏幕上显示有至少一个待选对象。该电子装置的操作方法包括当待选对象被触碰达第一预定时间时,则根据待选对象的属性,以所述待选对象被触碰的点为基础而输出相对应的浮动选单。其次,判断所述浮动选单上的所述这些选单域其中之一是否被选定;当浮动选单上的多数个选单域其中之一被选定未达第二预定时间时,则根据被选定的选单域执行相对应的对所述待选对象进行操作的第一指令,而当被选定的选单域被选定达第二预定时间时,则执行被选定的选单域所对应的对所述待选对象进行操作的第二指令。其中,第一预定时间小于第二预定时间;判断所述浮动选单上的所述这些选单域其中之一是否被选定的步骤包括:检测被触碰的点的一侧向压力;对所述侧向压力作一方向指标运算,并得到一方向指标;以及根据所述方向指标以定义相对应的所述这些选单域其中之一为所述被选定的选单域。The present invention further provides a method for operating an electronic device, the electronic device includes a touch screen, and at least one object to be selected is displayed on the touch screen. The operation method of the electronic device includes outputting a corresponding floating menu based on the touched point of the object to be selected according to the attribute of the object to be selected when the object to be selected is touched for a first predetermined time. Secondly, it is judged whether one of the menu fields on the floating menu is selected; The corresponding first instruction for operating the object to be selected is executed in the menu field, and when the selected menu field is selected for the second predetermined time, the corresponding object of the selected menu field is executed. A second instruction for the operation of the object to be selected. Wherein, the first predetermined time is less than the second predetermined time; the step of judging whether one of the menu fields on the floating menu is selected includes: detecting a side pressure of the touched point; The lateral pressure is calculated as a direction index to obtain a direction index; and according to the direction index, one of the corresponding menu fields is defined as the selected menu field.

本发明因在触控屏幕被触控时输出浮动选单,使用者则无须背诵电子装置的操作手势即可轻易地操作对象,不但能减少手势操作时的误动作,还可有效提升触控屏幕使用便利性。Because the present invention outputs a floating menu when the touch screen is touched, the user can easily operate the object without memorizing the operation gestures of the electronic device, which can not only reduce false actions during gesture operations, but also effectively improve the use of the touch screen convenience.

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1绘示本发明一实施例的触碰操作方法的步骤流程图。FIG. 1 is a flow chart showing the steps of a touch operation method according to an embodiment of the present invention.

图2绘示本发明一实施例的触碰操作方法中的判断待选对象是否被触碰的步骤流程图。FIG. 2 is a flow chart of steps for determining whether an object to be selected is touched in a touch operation method according to an embodiment of the present invention.

图3A绘示本发明一实施例的于触控屏幕上输出浮动选单的示意图。FIG. 3A is a schematic diagram of outputting a floating menu on a touch screen according to an embodiment of the present invention.

图3B绘示本发明一实施例的浮动选单的选单域被选定并执行对应指令的示意图。FIG. 3B is a schematic diagram illustrating that a menu field of a floating menu is selected and a corresponding command is executed according to an embodiment of the present invention.

图4A绘示本发明另一实施例的触控屏幕上输出多个待选对象的示意图。FIG. 4A is a schematic diagram of outputting multiple objects to be selected on the touch screen according to another embodiment of the present invention.

图4B绘示本发明另一实施例的触控屏幕上出现浮动选单的示意图。FIG. 4B is a schematic diagram of a floating menu appearing on the touch screen according to another embodiment of the present invention.

图4C绘示本发明另一实施例的执行选单域对应指令的示意图。FIG. 4C is a schematic diagram of executing an instruction corresponding to a menu field according to another embodiment of the present invention.

图4D绘示本发明另一实施例的执行选单域另一对应指令的示意图。FIG. 4D is a schematic diagram of executing another command corresponding to the menu field according to another embodiment of the present invention.

附图标号Reference number

302、402:触控屏幕302, 402: touch screen

304、306、308、310、404、406、408、410:待选对象304, 306, 308, 310, 404, 406, 408, 410: objects to be selected

312、412a、412b、412c、412d:浮动选单312, 412a, 412b, 412c, 412d: floating menu

314、414:手指314, 414: fingers

S102~S128:各个步骤流程S102~S128: Flow of each step

S202~S210:各个步骤流程S202~S210: Flow of each step

具体实施方式 Detailed ways

请参照图1,其绘示根据本发明一实施例的触碰操作方法的步骤流程图。在本实施例中,此触碰操作方法为适用于电子装置的触控屏幕上,当电子装置被致能后,电子装置则于触控屏幕上显示至少一个待选对象(步骤S102),或是当使用者于触控屏幕上任一处触碰后,触控屏幕上即显示至少一个待选对象,亦可以是电子装置或触控屏幕上有某个特定的功能键,当此功能键被按下时,触控屏幕即上显示至少一个待选对象。当然,显示待选对象的方式,自当不以此为限。Please refer to FIG. 1 , which shows a flowchart of steps of a touch operation method according to an embodiment of the present invention. In this embodiment, the touch operation method is applicable to the touch screen of the electronic device. When the electronic device is enabled, the electronic device displays at least one object to be selected on the touch screen (step S102), or It means that when the user touches anywhere on the touch screen, at least one object to be selected will be displayed on the touch screen, or there may be a specific function key on the electronic device or touch screen. When pressed, at least one object to be selected is displayed on the touch screen. Certainly, the manner of displaying the objects to be selected should not be limited thereto.

在本发明的较佳实施例中,此待选对象可以例如是照片、影音文件、文档文件、电子邮件或是其他可由使用者进行观赏或编辑的文件。In a preferred embodiment of the present invention, the object to be selected can be, for example, a photo, an audio-visual file, a document file, an email or other files that can be viewed or edited by the user.

在本实施例中,当待选对象被输出至触控屏幕后,电子装置则判断待选对象是否被触碰(步骤S104)。请参照图2,其绘示根据本发明一实施例的触碰操作方法中的判断待选对象是否被触碰的步骤流程图。在图2中,当电子装置接收到触碰位置数据(步骤S202)后,则对触碰位置数据作坐标转换运算(步骤S204)。其中,在触控屏幕的显示画面上,其本身已有定义的坐标规格,因此电子装置将触碰位置数据换算成已定义的坐标规格后,得到触碰点相对应的坐标位置。由于在触控屏幕上所显示的待选对象具有一范围,以四边形的待选对象为例,其将具有代表其范围的四个坐标位置。因此,电子装置于得到触碰点的坐标位置后即根据此坐标位置与触控屏幕上的每个待选对象的范围作匹配,藉此判断触碰点的坐标位置落于哪个待选对象的范围中(步骤S206)。In this embodiment, after the object to be selected is output to the touch screen, the electronic device determines whether the object to be selected is touched (step S104 ). Please refer to FIG. 2 , which shows a flow chart of the steps of judging whether an object to be selected is touched in the touch operation method according to an embodiment of the present invention. In FIG. 2 , when the electronic device receives the touch location data (step S202 ), it performs a coordinate transformation operation on the touch location data (step S204 ). Wherein, the display screen of the touch screen already has a defined coordinate specification, so the electronic device converts the touch position data into the defined coordinate specification to obtain the coordinate position corresponding to the touch point. Since the candidate object displayed on the touch screen has a range, taking a quadrilateral candidate object as an example, it will have four coordinate positions representing its range. Therefore, after the electronic device obtains the coordinate position of the touch point, it matches the coordinate position with the range of each candidate object on the touch screen, thereby judging which candidate object the touch point falls in. range (step S206).

当触碰点的坐标位置落于某个待选对象的范围中时,电子装置则定义此待选对象已被使用者选定(步骤S210),并回到步骤S104。反之,当触碰点的坐标位置未落于任何一个待选对象的范围中时,电子装置则定义使用者未选定任何待选对象,并回到步骤S202。When the coordinate position of the touch point falls within the range of a candidate object, the electronic device defines that the candidate object has been selected by the user (step S210 ), and returns to step S104 . On the contrary, when the coordinate position of the touch point does not fall within the range of any object to be selected, the electronic device defines that the user has not selected any object to be selected, and returns to step S202.

请继续参照图1,当待选对象被选定后,电子装置接着判断使用者于待选对象上的触碰是否达到第一预定时间(步骤S106)。在此判断中,可利用上述的触碰点的坐标位置是否一直落于相同的待选对象的范围内作判断。当判断得知于待选对象上的触碰尚未达到第一预定时间时,则判断电子装置是否不中断地收到触碰位置数据(步骤S108)。亦即,判断所收到的触碰位置数据于转换成坐标位置后,是否均落于相同的待选对象的范围内。当判断得知持续收到的触碰位置数据均落于相同的待选对象的范围内时,则定义为不中断地收到触碰位置数据,并回到步骤S106。反之,当前后的触碰位置数据落于不同的待选对象的范围内时,则回到步骤S104。Please continue to refer to FIG. 1 , when the object to be selected is selected, the electronic device then determines whether the user's touch on the object to be selected reaches a first predetermined time (step S106 ). In this judgment, whether the above-mentioned coordinate position of the touch point always falls within the range of the same candidate object can be used for judgment. When it is determined that the touch on the candidate object has not reached the first predetermined time, then it is determined whether the electronic device receives the touch position data without interruption (step S108 ). That is, it is determined whether the received touch position data are all within the range of the same candidate object after being converted into coordinate positions. When it is determined that the continuously received touch position data all fall within the range of the same candidate object, it is defined as receiving touch position data without interruption, and the process returns to step S106. On the contrary, when the previous and subsequent touch position data fall within the range of different candidate objects, the process returns to step S104.

在本实施例中,在确认被触碰的待选对象后,则根据待选对象的属性至电子装置的数据库中寻找与此待选对象相对应的浮动选单(步骤S110)。其中,不同属性的待选对象将会有不同的浮动选单,以照片文件与影音文件作比较,照片文件将会有放大、缩小、旋转的功能,但影音文件则可能没有相应的功能。反之,影音文件将会有播放、快转、倒退的功能,而照片文件则可能没有相应的功能。In this embodiment, after confirming the touched object to be selected, the database of the electronic device is searched for a floating menu corresponding to the object to be selected according to the attribute of the object to be selected (step S110 ). Among them, there will be different floating menus for the objects to be selected with different attributes. Compared with photo files and video files, photo files will have the functions of zooming in, zooming out, and rotating, but video files may not have corresponding functions. Conversely, video files will have the functions of playing, fast forwarding, and rewinding, while photo files may not have the corresponding functions.

电子装置于寻找到相对应的浮动选单后,则输出浮动选单至触控屏幕上(步骤S112)。输出浮动选单的方式则可以例如是以待选对象被触碰的点为基础而输出浮动选单、将浮动选单输出至触控屏幕的中心位置或是将浮动选单上的选单域分别输出至触控屏幕的各角落。其中,浮动选单一般可以具有多个选单域。接着,电子装置则判断浮动选单上的任一个选单域是否被选定(步骤S114)。After finding the corresponding floating menu, the electronic device outputs the floating menu to the touch screen (step S112 ). The way of outputting the floating menu can be, for example, outputting the floating menu based on the point where the object to be selected is touched, outputting the floating menu to the center of the touch screen, or outputting the menu fields on the floating menu to the touch screen respectively. corners of the screen. Wherein, the floating menu can generally have multiple menu fields. Next, the electronic device determines whether any menu field on the floating menu is selected (step S114 ).

在步骤S114中,一种可能的做法是当输出浮动选单时以触碰点为原点,使用者于选择选单域不必特别用手指去触碰选单域,只需于原点上施予侧向压力即可选择不同的选单域。例如,最初时原点所代表的位置为浮动选单的中心位置,亦即浮动选单中位于中间的选单域(可采反白表示,以使用者知道目前的位置)。当对原点施予的压力被判定为是施力方向往画面下缘的侧向压力时,则电子装置将认为使用者所选择的是位于中间选单域下方的选单域(具体是哪一个域则视侧向压力的存在时间以及电子装置每隔多久进行一次判断而定)。因此,使用者可以利用各种方向的侧向压力来选择不同的选单域。其中,当电子装置于检测原点的侧向压力时,则对此侧向压力作方向指标运算(calculation of direction)并得到一个方向指标。接着,即根据方向指标所指的方向以及按压的时间长度来定义相对应的选单域为被选定的选单域。In step S114, a possible method is to use the touch point as the origin when the floating menu is output, and the user does not need to touch the menu field with his finger when selecting the menu field, and only needs to exert lateral pressure on the origin point. Different menu fields can be selected. For example, the position initially represented by the origin is the center position of the floating menu, that is, the menu field in the middle of the floating menu (it can be displayed in reverse so that the user knows the current position). When the pressure exerted on the origin is judged to be a lateral pressure from the direction of the applied force to the lower edge of the screen, the electronic device will consider that what the user selects is the menu field below the middle menu field (the specific field depends on Depends on how long the side pressure exists and how often the electronics makes a judgment). Therefore, the user can use lateral pressure in various directions to select different menu fields. Wherein, when the electronic device detects the lateral pressure at the origin, it performs a calculation of direction on the lateral pressure and obtains a direction index. Next, define the corresponding menu field as the selected menu field according to the direction pointed by the direction indicator and the pressing time.

在步骤S114中确认被选定的选单域时,电子装置即根据此选单域所代表的功能执行相对应的第一指令(步骤S116)。其次,则判断是否选定原选单域(步骤S117),亦即电子装置将判断使用者是否持续选择相同的选单域。当使用者持续选择相同的选单域时,电子装置将进一步判断被选定的选单域被选定是否达第二预定时间(步骤S118)。When the selected menu field is confirmed in step S114, the electronic device executes the corresponding first command according to the function represented by the menu field (step S116). Next, it is judged whether the original menu field is selected (step S117 ), that is, the electronic device will judge whether the user continues to select the same menu field. When the user continues to select the same menu field, the electronic device will further determine whether the selected menu field has been selected for a second predetermined time (step S118 ).

其中,判断是否选定原选单域的步骤可以是电子装置收到触碰位置数据后,则对触碰位置数据进行坐标转换,以得到目前触碰点的坐标位置。接着判断目前触碰点的坐标位置是否落于已执行第一指令的选单域的范围内。当判断得知目前触碰点的坐标位置落于已执行第一指令的选单域的范围内时,则定义为原选单域持续被选定。另外,当目前触碰点的坐标位置未落于已执行第一指令的选单域的范围内时,电子装置则仅执行第一指令,并回到步骤S114。当浮动选单未被触碰且时间达到第三预定时间时,则关闭浮动选单(步骤S122),并回到步骤S104。反之,当浮动选单未被触碰的时间未达到第三预定时间时,则回到步骤S114,并判断是否有选单域被选定。如无选单域被选定时,则至步骤S120。Wherein, the step of judging whether the original selection field is selected may be that after the electronic device receives the touch position data, it performs coordinate transformation on the touch position data to obtain the coordinate position of the current touch point. Then it is judged whether the coordinate position of the current touch point falls within the range of the menu field where the first command has been executed. When it is determined that the coordinate position of the current touch point falls within the range of the menu field that has executed the first command, it is defined as the original menu field is continuously selected. In addition, when the current coordinate position of the touch point does not fall within the range of the menu field where the first command has been executed, the electronic device only executes the first command and returns to step S114. When the floating menu is not touched and the time reaches the third predetermined time, close the floating menu (step S122 ), and return to step S104. On the contrary, when the floating menu has not been touched for less than the third predetermined time, return to step S114 and determine whether there is a menu field selected. If no menu field is selected, go to step S120.

在本实施例中,当被选定的选单域被选定达第二预定时间时,电子装置则执行被选定域相对应的第二指令(步骤S124)。其中,第一指令可以例如是与第二指令相同,亦可不同,其视设计者的需要而定。In this embodiment, when the selected menu field is selected for a second predetermined time, the electronic device executes a second instruction corresponding to the selected field (step S124 ). Wherein, the first instruction may be, for example, the same as the second instruction, or different, depending on the needs of the designer.

电子装置于执行第二指令后,则不中断地判断被选定的选单域是否持续被选定(步骤S126)。其中,判断方式为电子装置收到触碰位置数据后,则对触碰位置数据进行坐标转换,以得到目前触碰点的坐标位置。接着判断目前触碰点的坐标位置是否落于被选定的选单域的范围内。当判断得知目前触碰点的坐标位置落于被选定的选单域的范围内时,则以一预定时间间隔重复执行第二指令(步骤S128)。反之,当被选定的选单域未持续被选定时,则到步骤S120。After the electronic device executes the second instruction, it continuously determines whether the selected menu field is continuously selected (step S126 ). Wherein, the judging method is that after the electronic device receives the touch position data, coordinate conversion is performed on the touch position data to obtain the current coordinate position of the touch point. Then determine whether the coordinate position of the current touch point falls within the range of the selected menu field. When it is determined that the coordinate position of the current touch point falls within the range of the selected menu field, the second instruction is repeatedly executed at a predetermined time interval (step S128 ). On the contrary, when the selected menu field is not continuously selected, go to step S120.

请参照图3A与3B,其分别绘示本发明一实施例的于触控屏幕上输出浮动选单的示意图以及本发明一实施例的浮动选单的选单域被选定并执行对应指令的示意图。在图3A中,触控屏幕302上显示有待选对象304~310以及浮动选单312。其中,如触控屏幕302上的手指314触碰到待选对象304之后,电子装置则进行如图1的步骤S104~S112,以将浮动选单312显示于触控屏幕302上。其中,浮动选单312具有多个选单域,且可以例如是电子邮件、缩小(zoom out)、全屏幕(full screen)、逆时针旋转(rotate CCW)、取消(cancel)、顺时针旋转(rotate CW)、删除(delete)、放大(zoom in)以及编辑(edit)。Please refer to FIGS. 3A and 3B , which respectively illustrate a schematic diagram of outputting a floating menu on a touch screen according to an embodiment of the present invention and a schematic diagram of a menu field of the floating menu being selected and executing corresponding commands according to an embodiment of the present invention. In FIG. 3A , objects 304 - 310 to be selected and a floating menu 312 are displayed on the touch screen 302 . Wherein, after the finger 314 on the touch screen 302 touches the object 304 to be selected, the electronic device performs steps S104 - S112 as shown in FIG. 1 to display the floating menu 312 on the touch screen 302 . Wherein, the floating menu 312 has a plurality of menu fields, and can be e-mail, zoom out, full screen (full screen), rotate counterclockwise (rotate CCW), cancel (cancel), rotate clockwise (rotate CW) ), delete (delete), zoom in (zoom in), and edit (edit).

请继续参照图3B,当手指314触碰逆时针旋转(rotate CCW)的选单域时,则电子装置执行图1的步骤S116,使待选对象304逆时针旋转。当手指314持续触碰逆时针旋转(rotate CCW)的选单域,且时间达第二预定时间时,则电子装置执行图1的步骤S124。其中,第一指令可能是使待选对象304逆时针旋转45度,而第二指令亦可以是使待选对象304逆时针旋转45度或1度。而在手指314触碰逆时针旋转(rotate CCW)的选单域的时间达第二预定时间后,则电子装置可以例如是每0.5秒就使待选对象304逆时针旋转45度或1度,直至手指314离开触控屏幕302为止,但均不以此为限。Please continue to refer to FIG. 3B. When the finger 314 touches the menu field of rotate CCW (rotate CCW), the electronic device executes step S116 in FIG. 1 to rotate the object 304 to be selected counterclockwise. When the finger 314 continues to touch the menu field that rotates counterclockwise (rotate CCW) for a second predetermined time, the electronic device executes step S124 of FIG. 1 . Wherein, the first command may be to rotate the candidate object 304 counterclockwise by 45 degrees, and the second command may be to rotate the candidate object 304 counterclockwise by 45 degrees or 1 degree. And after the time when the finger 314 touches the menu field of counterclockwise rotation (rotate CCW) reaches the second predetermined time, the electronic device can, for example, rotate the object 304 to be selected counterclockwise by 45 degrees or 1 degree every 0.5 seconds until until the finger 314 leaves the touch screen 302 , but not limited thereto.

请参照图4A~4D,其分别绘示本发明另一实施例的触控屏幕上输出多个待选对象的示意图、本发明另一实施例的触控屏幕上出现浮动选单的示意图、本发明另一实施例的执行选单域对应指令的示意图以及本发明另一实施例的执行选单域另一对应指令的示意图。在图4A中,触控屏幕402上具有待选对象404~410以及手指414。当手指414触碰到待选对象404时,电子装置则将图3A的浮动选单拆散,而将选单域412a~412d分别输出至触控屏幕402的四个角落(如图4B所示)。其中,为方便说明,本实施例仅以四个选单域412a~412d为例作说明,但实际上自当不以此为限。Please refer to FIGS. 4A-4D , which respectively depict a schematic diagram of outputting multiple objects to be selected on a touch screen according to another embodiment of the present invention, a schematic diagram of a floating menu appearing on a touch screen according to another embodiment of the present invention, and a schematic diagram of a floating menu appearing on a touch screen according to another embodiment of the present invention. A schematic diagram of executing an instruction corresponding to the menu field in another embodiment and a schematic diagram of executing another instruction corresponding to the menu field in another embodiment of the present invention. In FIG. 4A , there are objects 404 - 410 and a finger 414 to be selected on the touch screen 402 . When the finger 414 touches the object 404 to be selected, the electronic device disassembles the floating menu in FIG. 3A , and outputs the menu fields 412 a - 412 d to the four corners of the touch screen 402 (as shown in FIG. 4B ). Wherein, for the convenience of description, this embodiment only takes the four menu fields 412a-412d as an example for illustration, but it should not be limited to this in practice.

在本实施例中,在输出选单域412a~412d的同时,电子装置亦将待选对象404移至触控屏幕402的中心位置,并将待选对象406~410移至边缘处,此仅为本发明的一实施例,但实际上仍须视设计者的需求而定。In this embodiment, while outputting the menu fields 412a-412d, the electronic device also moves the object to be selected 404 to the center of the touch screen 402, and the objects to be selected 406-410 to the edge. An embodiment of the present invention, but actually still depends on the designer's needs.

在图4C中,当手指414触碰选单域412a(rotate CCW)时,则电子装置执行图1的步骤S116,使待选对象404逆时针旋转。当手指414持续触碰选单域412a,且时间达第二预定时间时,则电子装置执行图1的步骤S124。而在手指414触碰选单域412a的时间达第二预定时间后,则电子装置即执行图1的步骤S128。In FIG. 4C, when the finger 414 touches the menu field 412a (rotate CCW), the electronic device executes step S116 of FIG. 1 to rotate the object 404 to be selected counterclockwise. When the finger 414 continues to touch the menu field 412a for a second predetermined time, the electronic device executes step S124 of FIG. 1 . After the finger 414 touches the menu field 412a for a second predetermined time, the electronic device executes step S128 of FIG. 1 .

在图4D中,当手指414触碰选单域412d(zoom in)时,则电子装置执行图1的步骤S116,使待选对象404放大。当手指414持续触碰选单域412a,且时间达第二预定时间时,则电子装置执行图1的步骤S124。而在手指414触碰选单域412a的时间达第二预定时间后,则电子装置即执行图1的步骤S128。In FIG. 4D , when the finger 414 touches the menu field 412d (zoom in), the electronic device executes step S116 of FIG. 1 to enlarge the object 404 to be selected. When the finger 414 continues to touch the menu field 412a for a second predetermined time, the electronic device executes step S124 of FIG. 1 . After the finger 414 touches the menu field 412a for a second predetermined time, the electronic device executes step S128 of FIG. 1 .

综上所述,在本发明的触碰操作方法与电子装置的操作方法,其是在触控屏幕被触控时输出一浮动选单,因此使用者无须背诵电子装置的操作手势即可轻易地操作对象,不但能减少手势操作时的误动作,还可有效提升触控屏幕使用便利性。To sum up, in the touch operation method and the operation method of the electronic device of the present invention, a floating menu is output when the touch screen is touched, so the user can easily operate the electronic device without reciting the operation gestures Objects can not only reduce false actions during gesture operations, but also effectively improve the convenience of using the touch screen.

虽然本发明已以较佳实施例揭露如上,然其并非用以限定本发明,任何熟习此技术者,在不脱离本发明的精神和范围内,当可作些许的更动与润饰,因此本发明的保护范围当以权利要求书所界定的为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The protection scope of the invention should be defined by the claims.

Claims (10)

1.一种触碰操作方法,适用于一触控屏幕上,其特征在于,所述触碰操作方法包括:1. A touch operation method, applicable to a touch screen, characterized in that, the touch operation method comprises: 判断显示于所述触控屏幕上的一待选对象是否被触碰;judging whether a candidate object displayed on the touch screen is touched; 当所述待选对象被触碰达一第一预定时间时,则根据所述待选对象的一属性,以所述待选对象被触碰的点为基础而输出相对应的一浮动选单;When the object to be selected is touched for a first predetermined time, output a corresponding floating menu based on the point where the object to be selected is touched according to an attribute of the object to be selected; 判断所述浮动选单上的至少一个选单域其中之一是否被选定;judging whether one of at least one menu field on the floating menu is selected; 当所述浮动选单上的所述选单域其中之一被选定时,则根据所述被选定的选单域执行相对应的对所述待选对象进行操作的第一指令;以及When one of the menu fields on the floating menu is selected, execute a corresponding first instruction for operating the object to be selected according to the selected menu field; and 当所述被选定的选单域被选定达一第二预定时间时,则执行所述被选定的选单域所对应的对所述待选对象进行操作的第二指令;When the selected menu field is selected for a second predetermined time, execute a second instruction corresponding to the selected menu field to operate on the object to be selected; 判断所述浮动选单上的所述选单域其中之一是否被选定的步骤包括:The step of judging whether one of the menu fields on the floating menu is selected includes: 检测被触碰的点的一侧向压力;Detect lateral pressure on the touched point; 对所述侧向压力作一方向指标运算,并得到一方向指标;以及performing a directional index operation on the lateral pressure to obtain a directional index; and 根据所述方向指标以定义相对应的所述选单域其中之一为所述被选定的选单域。One of the corresponding menu fields is defined as the selected menu field according to the direction indicator. 2.如权利要求1所述的触碰操作方法,其特征在于,判断所述待选对象是否被触碰的步骤包括:2. The touch operation method according to claim 1, wherein the step of judging whether the object to be selected is touched comprises: 接收一触碰位置数据;Receive a touch location data; 对所述触碰位置数据作一坐标转换运算,并得到一坐标位置;performing a coordinate conversion operation on the touch position data, and obtaining a coordinate position; 判断所述坐标位置是否位于所述待选对象的范围内;以及judging whether the coordinate position is within the range of the object to be selected; and 当所述坐标位置位于所述待选对象的范围内时,则定义所述待选对象已被接触。When the coordinate position is within the range of the object to be selected, it is defined that the object to be selected has been touched. 3.如权利要求2所述的触碰操作方法,其特征在于,所述方法还包括:3. The touch operation method according to claim 2, further comprising: 当所述待选对象被触碰未达所述第一预定时间时,则判断是否不中断地收到所述触碰位置数据;When the object to be selected has not been touched for the first predetermined time, it is judged whether the touch position data is received without interruption; 当未收到所述触碰位置数据时,则判断所述待选对象是否被触碰;以及When the touch position data is not received, it is judged whether the object to be selected is touched; and 当不中断地收到所述触碰位置数据时,则判断所述待选对象是否被触碰达所述第一预定时间。When the touch position data is received without interruption, it is judged whether the object to be selected is touched for the first predetermined time. 4.如权利要求1所述的触碰操作方法,其特征在于,当所述被选定的选单域被选定达所述第二预定时间时,则执行所述被选定的选单域所对应的所述第二指令的步骤包括:4. The touch operation method according to claim 1, characterized in that, when the selected menu field is selected for the second predetermined time, the selected menu field is executed. The steps corresponding to the second instruction include: 判断所述被选定的选单域在被选定达所述第二预定时间后是否仍不中断地被选定;以及judging whether the selected menu field is still selected without interruption after being selected for the second predetermined time; and 当所述被选定的选单域仍不中断地被选定时,则以一预定时间间隔重复执行所述第二指令。When the selected menu field is still selected without interruption, the second instruction is repeatedly executed at a predetermined time interval. 5.如权利要求1所述的触碰操作方法,其特征在于,当所述触控屏幕上的另一待选对象被触碰时,则关闭所述浮动选单。5. The touch operation method according to claim 1, wherein when another object to be selected on the touch screen is touched, the floating menu is closed. 6.如权利要求1所述的触碰操作方法,其特征在于,所述方法还包括:6. The touch operation method according to claim 1, further comprising: 当所述选单域皆未被选定时,则判断所述选单域皆未被选定的时间是否达一第三预定时间;以及When none of the menu fields is selected, it is judged whether the time for which the menu fields are not selected reaches a third predetermined time; and 当所述选单域皆未被选定达所述第三预定时间时,则关闭所述浮动选单。When none of the menu fields is selected for the third predetermined time, the floating menu is closed. 7.一种电子装置的操作方法,其特征在于,所述电子装置包括一触控屏幕,且所述触控屏幕上显示有至少一待选对象,所述电子装置的操作方法包括:7. A method for operating an electronic device, wherein the electronic device includes a touch screen, and at least one object to be selected is displayed on the touch screen, and the method for operating the electronic device includes: 当所述待选对象被触碰达一第一预定时间时,则根据所述待选对象的一属性,以所述待选对象被触碰的点为基础而输出相对应的一浮动选单;以及When the object to be selected is touched for a first predetermined time, output a corresponding floating menu based on the point where the object to be selected is touched according to an attribute of the object to be selected; as well as 判断所述浮动选单上的至少一个选单域其中之一是否被选定;judging whether one of at least one menu field on the floating menu is selected; 当所述浮动选单上的所述选单域其中之一被选定未达一第二预定时间时,则根据所述被选定的选单域执行相对应的对所述待选对象进行操作的第一指令,而当所述被选定的选单域被选定达所述第二预定时间时,则执行所述被选定的选单域所对应的对所述待选对象进行操作的第二指令;When one of the menu fields on the floating menu is selected for less than a second predetermined time, execute the corresponding first operation on the object to be selected according to the selected menu field An instruction, and when the selected menu field is selected for the second predetermined time, execute the second instruction corresponding to the selected menu field to operate the object to be selected ; 其中,所述第一预定时间小于所述第二预定时间;Wherein, the first predetermined time is less than the second predetermined time; 判断所述浮动选单上的所述选单域其中之一是否被选定的步骤包括:The step of judging whether one of the menu fields on the floating menu is selected includes: 检测被触碰的点的一侧向压力;Detect lateral pressure on the touched point; 对所述侧向压力作一方向指标运算,并得到一方向指标;以及performing a directional index operation on the lateral pressure to obtain a directional index; and 根据所述方向指标以定义相对应的所述选单域其中之一为所述被选定的选单域。One of the corresponding menu fields is defined as the selected menu field according to the direction indicator. 8.如权利要求7所述的电子装置的操作方法,其特征在于,当所述被选定的选单域被选定达所述第二预定时间时,则执行所述被选定的选单域所对应的所述第二指令的步骤包括:8. The operation method of the electronic device according to claim 7, wherein when the selected menu field is selected for the second predetermined time, the selected menu field is executed The corresponding steps of the second instruction include: 判断所述被选定的选单域在被选定达所述第二预定时间后是否仍不中断地被选定;以及judging whether the selected menu field is still selected without interruption after being selected for the second predetermined time; and 当所述被选定的选单域仍不中断地被选定时,则以一预定时间间隔重复执行所述第二指令。When the selected menu field is still selected without interruption, the second instruction is repeatedly executed at a predetermined time interval. 9.如权利要求7所述的电子装置的操作方法,其特征在于,当所述触控屏幕上的另一待选对象被触碰时,则关闭所述浮动选单。9. The operating method of the electronic device according to claim 7, wherein when another object to be selected on the touch screen is touched, the floating menu is closed. 10.如权利要求7所述的电子装置的操作方法,其特征在于,所述方法还包括:10. The method for operating an electronic device according to claim 7, further comprising: 当所述选单域皆未被选定时,则判断所述选单域皆未被选定的时间是否达一第三预定时间;以及When none of the menu fields is selected, it is judged whether the time for which the menu fields are not selected reaches a third predetermined time; and 当所述选单域皆未被选定达所述第三预定时间时,则关闭所述浮动选单。When none of the menu fields is selected for the third predetermined time, the floating menu is closed.
CN200910159103A 2009-07-06 2009-07-06 Touch operation method and operation method of electronic device Expired - Fee Related CN101593060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910159103A CN101593060B (en) 2009-07-06 2009-07-06 Touch operation method and operation method of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910159103A CN101593060B (en) 2009-07-06 2009-07-06 Touch operation method and operation method of electronic device

Publications (2)

Publication Number Publication Date
CN101593060A CN101593060A (en) 2009-12-02
CN101593060B true CN101593060B (en) 2012-10-03

Family

ID=41407740

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910159103A Expired - Fee Related CN101593060B (en) 2009-07-06 2009-07-06 Touch operation method and operation method of electronic device

Country Status (1)

Country Link
CN (1) CN101593060B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8583401B2 (en) 2009-10-09 2013-11-12 Egalax—Empia Technology Inc. Method and device for analyzing positions
US8643613B2 (en) 2009-10-09 2014-02-04 Egalax—Empia Technology Inc. Method and device for dual-differential sensing
US9483152B2 (en) 2009-10-09 2016-11-01 Egalax_Empia Technology Inc. Method and device for dual-differential sensing

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI400645B (en) * 2010-04-01 2013-07-01 Mstar Semiconductor Inc Touch determining method and touch gesture determining method thereof
CN102253709A (en) * 2010-05-19 2011-11-23 禾瑞亚科技股份有限公司 Gesture judgment method and device
CN102929479A (en) * 2012-09-27 2013-02-13 东莞宇龙通信科技有限公司 Application icon display method and communication terminal
CN104156146A (en) * 2013-05-13 2014-11-19 中兴通讯股份有限公司 Processing method and device for objects in application and touch screen terminal
JP7081048B2 (en) * 2018-09-30 2022-06-06 華為技術有限公司 System navigation bar display method, system navigation bar control method, graphical user interface, and electronic devices
CN114327109B (en) 2020-09-30 2023-12-19 明基智能科技(上海)有限公司 Touch operation method and touch operation system
CN114546145B (en) 2020-11-24 2024-03-01 明基智能科技(上海)有限公司 Cursor control method and touch display device applying cursor control method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957320A (en) * 2004-03-30 2007-05-02 诺基亚公司 Navigation method, electronic device, user interface and computer program product

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957320A (en) * 2004-03-30 2007-05-02 诺基亚公司 Navigation method, electronic device, user interface and computer program product

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8583401B2 (en) 2009-10-09 2013-11-12 Egalax—Empia Technology Inc. Method and device for analyzing positions
US8600698B2 (en) 2009-10-09 2013-12-03 Egalax—Empia Technology Inc. Method and device for analyzing positions
US8643613B2 (en) 2009-10-09 2014-02-04 Egalax—Empia Technology Inc. Method and device for dual-differential sensing
US8890821B2 (en) 2009-10-09 2014-11-18 Egalax—Empia Technology Inc. Method and device for dual-differential sensing
US9141216B2 (en) 2009-10-09 2015-09-22 Egalax—Empia Technology Inc. Method and device for dual-differential sensing
US9483152B2 (en) 2009-10-09 2016-11-01 Egalax_Empia Technology Inc. Method and device for dual-differential sensing

Also Published As

Publication number Publication date
CN101593060A (en) 2009-12-02

Similar Documents

Publication Publication Date Title
CN101593060B (en) Touch operation method and operation method of electronic device
US10768804B2 (en) Gesture language for a device with multiple touch surfaces
EP3008575B1 (en) Natural quick function gestures
US8159469B2 (en) User interface for initiating activities in an electronic device
EP3198391B1 (en) Multi-finger touchpad gestures
TWI441051B (en) Electronic device and information display method thereof
EP2252926B1 (en) Interpreting ambiguous inputs on a touch-screen
KR101072762B1 (en) Gesturing with a multipoint sensing device
US20100162181A1 (en) Interpreting Gesture Input Including Introduction Or Removal Of A Point Of Contact While A Gesture Is In Progress
US20120131490A1 (en) Touch-controlled device and method for displaying a virtual keyboard on the touch-controlled device thereof
KR101343479B1 (en) Electronic device and method of controlling same
US20120180001A1 (en) Electronic device and method of controlling same
US20070198950A1 (en) Method and system for improving interaction with a user interface
US20090096749A1 (en) Portable device input technique
US20080211785A1 (en) Gestures for touch sensitive input devices
EP2613247B1 (en) Method and apparatus for displaying a keypad on a terminal having a touch screen
WO2018166434A1 (en) Icon processing method and mobile terminal
KR20140078629A (en) User interface for editing a value in place
CN102902469A (en) Gesture recognition method and touch system
US20110173533A1 (en) Touch Operation Method and Operation Method of Electronic Device
US20120120004A1 (en) Touch control device and touch control method with multi-touch function
CN106104450A (en) The method selecting a graphic user interface part
CN101907970B (en) Electronic device, its desktop browsing method and computer program product
US20160026309A1 (en) Controller
CN106527937A (en) Mobile terminal widget adding method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121003

Termination date: 20200706