[go: up one dir, main page]

CN106201300A - Touch signal processing method and computer system - Google Patents

Touch signal processing method and computer system Download PDF

Info

Publication number
CN106201300A
CN106201300A CN201510333181.4A CN201510333181A CN106201300A CN 106201300 A CN106201300 A CN 106201300A CN 201510333181 A CN201510333181 A CN 201510333181A CN 106201300 A CN106201300 A CN 106201300A
Authority
CN
China
Prior art keywords
driver
packet
computer system
touch
processing unit
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.)
Pending
Application number
CN201510333181.4A
Other languages
Chinese (zh)
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.)
Elan Microelectronics Corp
Original Assignee
Elan Microelectronics 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 Elan Microelectronics Corp filed Critical Elan Microelectronics Corp
Publication of CN106201300A publication Critical patent/CN106201300A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a processing method of touch signals and a computer system, wherein the processing method comprises the steps of receiving at least one touch signal packet, wherein the at least one touch signal packet is in response to the operation of at least one object on a touch device; performing a determination procedure according to at least one of the at least one touch signal packet and an application currently being executed by the computer system; providing at least one first packet to a first driver or providing at least one second packet to a second driver provided by an operating system according to the result of the judging program; when the first driver receives the at least one first packet, the first driver generates a first command according to the at least one first packet; when the second driver receives the at least one second packet, the second driver generates a second command according to the at least one second packet.

Description

触控信号的处理方法及电脑系统Touch signal processing method and computer system

技术领域technical field

本发明涉及一种触控信号的处理方法及电脑系统,尤其涉及一种可依使用情况选择合适的驱动器的触控信号的处理方法及电脑系统。The invention relates to a touch signal processing method and a computer system, in particular to a touch signal processing method and a computer system capable of selecting a suitable driver according to usage conditions.

背景技术Background technique

各种具有触控输入界面的电子产品被普遍的使用,如笔记本电脑,智能手机、个人数码助理(PDA)、平板电脑(tablet PC)等。触控输入功能提供了更自然且直觉化的人机互动模式。触控装置感应检测使用者的在触控装置上的动作或手势并产生相对应的触控信号。目前的触控手势愈来愈多且复杂,处理触控信号的架构需要被改进,以提供更佳的效能。Various electronic products with touch input interfaces are widely used, such as notebook computers, smart phones, personal digital assistants (PDAs), and tablet computers (tablet PCs). The touch input function provides a more natural and intuitive human-computer interaction mode. The touch device senses and detects a user's action or gesture on the touch device and generates a corresponding touch signal. The current touch gestures are more and more complicated, and the architecture for processing touch signals needs to be improved to provide better performance.

发明内容Contents of the invention

因此,本发明的主要目的在于提供一种可选择驱动器的触控信号的处理方法及电脑系统,以解决上述问题。Therefore, the main objective of the present invention is to provide a touch signal processing method and a computer system with optional drivers to solve the above problems.

本发明公开了一种触控信号的处理方法,包含有:接收至少一个触控信号封包,该至少一个触控信号封包因应于至少一个物件在触控装置上的操作;根据该至少一个触控信号封包以及电脑系统目前正执行中的应用程序的当中至少一者进行判断程序;以及根据该判断程序的结果,提供至少一个第一封包至第一驱动器或提供至少一个第二封包至操作系统提供的第二驱动器;其中该至少一个第一封包与该至少一个第二封包的内容与该至少一个触控信号封包的内容有关;其中,当该第一驱动器接收到该至少一个第一封包时,该第一驱动器根据该至少一个第一封包产生第一指令;当该第二驱动器接收到该至少一个第二封包时,该第二驱动器根据该至少一个第二封包产生第二指令。The invention discloses a touch signal processing method, which includes: receiving at least one touch signal packet, the at least one touch signal packet is corresponding to the operation of at least one object on the touch device; according to the at least one touch At least one of the signal packet and the application program currently being executed by the computer system performs a judgment procedure; and according to the result of the judgment procedure, at least one first packet is provided to the first driver or at least one second packet is provided to the operating system to provide the second driver; wherein the at least one first packet is related to the content of the at least one second packet and the content of the at least one touch signal packet; wherein, when the first driver receives the at least one first packet, The first driver generates a first instruction according to the at least one first packet; when the second driver receives the at least one second packet, the second driver generates a second instruction according to the at least one second packet.

本发明还公开了一种电脑系统,包含有:触控装置,因应至少一个物件进行操作,产生至少一个触控信号封包;第一驱动器;第二驱动器,由该电脑系统的操作系统提供;处理单元,耦接该第一驱动器与该第二驱动器,该处理单元接收该至少一个触控信号封包,并根据该至少一个触控信号封包以及该电脑系统目前正执行中的应用程序的当中至少一者进行判断程序,该判断程序的结果被用来决定输出至少一个第一封包至该第一驱动器或输出至少一个第二封包至该第二驱动器;其中该至少一个第一封包与该至少一个第二封包的内容与该至少一个触控信号封包的内容有关;其中,当该第一驱动器接收到该至少一个第一封包时,该第一驱动器根据该至少一个第一封包产生第一指令;当该第二驱动器接收到该至少一个第二封包时,该第二驱动器根据该至少一个第二封包产生第二指令。The present invention also discloses a computer system, comprising: a touch device, which generates at least one touch signal packet in response to the operation of at least one object; a first driver; a second driver, provided by the operating system of the computer system; processing A unit, coupled to the first driver and the second driver, the processing unit receives the at least one touch signal packet, and according to at least one of the at least one touch signal packet and the application program currently being executed by the computer system Or carry out a judgment procedure, the result of the judgment procedure is used to decide to output at least one first packet to the first driver or output at least one second packet to the second driver; wherein the at least one first packet and the at least one first packet The content of the second packet is related to the content of the at least one touch signal packet; wherein, when the first driver receives the at least one first packet, the first driver generates a first instruction according to the at least one first packet; when When the second driver receives the at least one second packet, the second driver generates a second command according to the at least one second packet.

本发明还公开了一种触控信号的处理方法,包含有:a.接收至少一个物件在触控装置上的操作;b.根据该操作以及电脑系统目前正执行中的应用程序的当中至少一者,判断由第一驱动器或第二驱动器产生与该操作相应的指令;以及c.根据该指令在应用程序执行动作。The present invention also discloses a touch signal processing method, including: a. receiving the operation of at least one object on the touch device; b. according to the operation and at least one of the application programs currently being executed by the computer system Or, judging that the first driver or the second driver generates an instruction corresponding to the operation; and c. executing an action in the application program according to the instruction.

本发明还公开了一种电脑系统,包含有:触控装置,接收至少一个物件在触控装置上的操作;第一驱动器;第二驱动器,由该电脑系统的操作系统提供;处理单元,耦接该第一驱动器与该第二驱动器,该处理单元根据该操作以及该电脑系统目前正执行中的应用程序的当中至少一者,判断由第一驱动器或第二驱动器产生与该操作相应的指令;以及执行单元,根据该指令在该应用程序执行动作。The present invention also discloses a computer system, which includes: a touch device for receiving the operation of at least one object on the touch device; a first driver; a second driver provided by the operating system of the computer system; a processing unit coupled to The first driver and the second driver are connected, and the processing unit judges that the instruction corresponding to the operation is generated by the first driver or the second driver according to at least one of the operation and the application program currently being executed by the computer system. ; and an execution unit for executing actions in the application program according to the instruction.

附图说明Description of drawings

图1为本发明实施例电脑系统的示意图。FIG. 1 is a schematic diagram of a computer system according to an embodiment of the present invention.

图2为本发明实施例的流程的示意图。Fig. 2 is a schematic diagram of the process of the embodiment of the present invention.

图3为本发明实施例的选择驱动器的运作示意图。FIG. 3 is a schematic diagram of the operation of the selection driver according to the embodiment of the present invention.

图4为本发明实施例电脑系统的另一示意图。FIG. 4 is another schematic diagram of a computer system according to an embodiment of the present invention.

图5为本发明实施例的流程的另一示意图。Fig. 5 is another schematic diagram of the process of the embodiment of the present invention.

主要部件附图标记:Main component reference signs:

10、40 电脑系统10, 40 Computer system

102、402 触控装置102, 402 touch device

104、404 处理单元104, 404 processing unit

106、108、406、408 驱动器106, 108, 406, 408 drives

110、410 执行单元110, 410 execution unit

20、50 流程20, 50 process

200、202、204、206、208、302、 步骤200, 202, 204, 206, 208, 302, steps

304、306、308、310、500、502、304, 306, 308, 310, 500, 502,

504、506、508、510504, 506, 508, 510

P 触控信号封包P Touch signal packet

P1 第一封包P1 first packet

P2 第二封包P2 second packet

具体实施方式detailed description

请参照图1,图1为本发明实施例电脑系统10的示意图。电脑系统10包含触控装置102、处理单元104、驱动器106、108及执行单元110。触控装置102因应至少一个物件进行操作,产生至少一个触控信号封包P。该至少一个触控信号封包P因应于至少一个物件在触控装置上的操作。触控装置102可以是通过有线或无线的方式连接处理单元104。在一般情况下,触控装置持续送出触控信号封包P,触控信号封包P可以包括例如物件的接触座标,接触物件的感应量,接触物件的数量等等的接触信息。触控装置102可以是电容式触控模组包括触控输入界面连接控制器(图中未示出),控制器检测在触控输入界面上操作的接触物件以产生触控信号封包P。在本实施例中,驱动器108是由电脑系统10的操作系统所提供驱动程序,内建在该操作系统中,驱动器106则是外挂在操作系统的驱动程序,由触控装置102的提供者提供。在不同实施例中,驱动器106与108也可以都是内建在操作系统的两个驱动程序,或者是外挂在操作系统的两个驱动程序。处理单元104耦接驱动器106与驱动器108,用来进行判断程序,以决定输出至少一个第一封包P1至驱动器106或输出至少一个第二封包P2至驱动器108。其中,第一封包P1的内容以及第二封包P2的内容与触控信号封包P的内容有关。例如第一封包P1的内容可与触控信号封包P的内容相同。第二封包P2的内容可与触控信号封包P的内容相同。也就是说,处理单元104将接收到的触控信号封包P转送到驱动器106或108。在另一个实施例中,第一封包P1的内容可与触控信号封包P的部份内容相同。第二封包P2的内容可与触控信号封包P的部份内容相同,但不以此为限。也就是说,处理单元104根据接收到的触控信号封包P的内容,进行处理程序产生封包P1或P2,这个处理程序可以是例如在触控信号封包P中增加或删除触控信息,或者改变触控信号封包P的格式。触控信号封包P可以与第一封包P1或P2具有一些相同的触控信息,例如代表接触物件(例如手指)的识别码(ID),座标,或是接触物件的种类。Please refer to FIG. 1 , which is a schematic diagram of a computer system 10 according to an embodiment of the present invention. The computer system 10 includes a touch device 102 , a processing unit 104 , drivers 106 , 108 and an execution unit 110 . The touch device 102 generates at least one touch signal packet P in response to at least one object being operated. The at least one touch signal packet P is corresponding to the operation of at least one object on the touch device. The touch device 102 may be connected to the processing unit 104 in a wired or wireless manner. In general, the touch device continuously sends touch signal packets P, and the touch signal packets P may include touch information such as the contact coordinates of the object, the sensing value of the touched object, the number of touched objects, and so on. The touch device 102 may be a capacitive touch module including a touch input interface connected to a controller (not shown in the figure), and the controller detects a contact object operated on the touch input interface to generate a touch signal packet P. In this embodiment, the driver 108 is a driver program provided by the operating system of the computer system 10, built in the operating system, and the driver 106 is a driver program plugged into the operating system, provided by the provider of the touch device 102 . In different embodiments, the drivers 106 and 108 can also be two drivers built in the operating system, or two drivers plugged into the operating system. The processing unit 104 is coupled to the driver 106 and the driver 108 , and is used for performing a judgment process to determine to output at least one first packet P1 to the driver 106 or to output at least one second packet P2 to the driver 108 . Wherein, the contents of the first packet P1 and the second packet P2 are related to the contents of the touch signal packet P. For example, the content of the first packet P1 may be the same as that of the touch signal packet P. The content of the second packet P2 may be the same as that of the touch signal packet P. That is to say, the processing unit 104 forwards the received touch signal packet P to the driver 106 or 108 . In another embodiment, the content of the first packet P1 may be the same as part of the content of the touch signal packet P. The content of the second packet P2 may be the same as part of the content of the touch signal packet P, but not limited thereto. That is to say, the processing unit 104 performs a processing procedure to generate a packet P1 or P2 according to the content of the received touch signal packet P. This processing procedure can be, for example, adding or deleting touch information in the touch signal packet P, or changing The format of the touch signal packet P. The touch signal packet P may have the same touch information as the first packet P1 or P2 , such as an identification code (ID) representing a touch object (such as a finger), a coordinate, or a type of touch object.

当驱动器106接收到第一封包P1时,驱动器106根据第一封包P1产生第一指令。当驱动器108接收到第二封包P2时,驱动器108根据第二封包P2产生第二指令。执行单元110用来根据第一指令或第二指令在电脑系统10目前正执行中的应用程序执行动作。When the driver 106 receives the first packet P1, the driver 106 generates a first command according to the first packet P1. When the driver 108 receives the second packet P2, the driver 108 generates a second command according to the second packet P2. The execution unit 110 is used for performing actions on the application currently being executed by the computer system 10 according to the first instruction or the second instruction.

关于处理单元104的运作方式,请参照图2,图2为本发明一实施例的流程20的示意图。根据流程20,当使用者利用触控物件(如触控笔、手指、手掌、脸颊)在触控装置102上进行触控操作时,触控装置102感测物件的操作并据以产生相应的触控信号封包P。触控信号封包P会被传送至处理单元104。在步骤202中,处理单元104接收来自于触控装置102的触控信号封包P。接着,处理单元104根据触控信号封包P和/或电脑系统10目前正执行中的应用程序进行判断程序(步骤204)。处理单元104根据判断程序的结果决定输出第一封包P1至驱动器106(步骤206)或输出第二封包P2至驱动器108(步骤208)。进一步地,若驱动器106接收到第一封包P1,驱动器106会据以产生第一指令。若驱动器108接收到第二封包P2,驱动器108会据以产生第二指令。简言之,通过处理单元104可决定将相关于触控信号封包P的第一封包P1传送至驱动器106或是将相关于触控信号封包P的第二封包P2传送至由电脑系统10的操作系统所提供的驱动器108,以产生相关的指令。Regarding the operation of the processing unit 104 , please refer to FIG. 2 , which is a schematic diagram of a process 20 according to an embodiment of the present invention. According to the process 20, when the user uses a touch object (such as a stylus, finger, palm, cheek) to perform a touch operation on the touch device 102, the touch device 102 senses the operation of the object and generates a corresponding Touch signal packet P. The touch signal packet P is sent to the processing unit 104 . In step 202 , the processing unit 104 receives a touch signal packet P from the touch device 102 . Next, the processing unit 104 performs a determination process according to the touch signal packet P and/or the application program currently being executed by the computer system 10 (step 204 ). The processing unit 104 decides to output the first packet P1 to the driver 106 (step 206 ) or output the second packet P2 to the driver 108 (step 208 ) according to the result of the determination procedure. Further, if the driver 106 receives the first packet P1, the driver 106 will generate the first command accordingly. If the driver 108 receives the second packet P2, the driver 108 generates a second command accordingly. In short, the processing unit 104 can decide whether to send the first packet P1 related to the touch signal packet P to the driver 106 or to send the second packet P2 related to the touch signal packet P to the operation of the computer system 10 The driver 108 provided by the system is used to generate related commands.

在一实施例中,驱动器106或108根据接收到的封包内容解译出使用者的手势,再进而根据此手势产生对应的功能指令。在另一实施例中,处理单元104根据接收到的触控信号封包P解译出使用者的手势,并且通过第一封包P1或P2传送给驱动器106或108。也就是说,第一封包P1或P2包括使用者的手势信息,驱动器106与108可直接利用封包中的手势信息产生对应的功能指令。In one embodiment, the driver 106 or 108 interprets the user's gesture according to the received packet content, and then generates a corresponding function command according to the gesture. In another embodiment, the processing unit 104 interprets the user's gesture according to the received touch signal packet P, and transmits the gesture to the driver 106 or 108 through the first packet P1 or P2. That is to say, the first package P1 or P2 includes gesture information of the user, and the drivers 106 and 108 can directly use the gesture information in the package to generate corresponding function commands.

此外,在步骤204中,处理单元104在进行判断程序之后,可转换触控信号封包P的格式以获得第一封包P1或第二封包P2。In addition, in step 204 , after performing the determination procedure, the processing unit 104 may convert the format of the touch signal packet P to obtain the first packet P1 or the second packet P2 .

以下进一步说明在步骤204中所执行的判断程序。在本发明的一实施例中,处理单元104根据触控信号封包P判断出正在进行操作的触控物件数量,并将所判断出的触控物件数量与预设值TH进行比较。处理单元104再根据比较结果来决定输出至少一个第一封包P1至驱动器106或是输出至少一第二封包P2至电脑系统10的操作系统所提供的驱动器108。也就是说,处理单元104可依据正在操作的物件的数量来判断由驱动器106或是操作系统所提供的驱动器108来产生相应的指令。举例来说,预设值TH为2,处理单元104判断触控物件数量大于(或等于)2时,则输出第一封包P1至驱动器106,小于2时(例如1个触控物件),则输出第二封包P2给驱动器108。这表示处理单元会将两支手指以上的操作交由驱动器106来产生指令,单手指的操作则交由驱动器108来产生指令。对于多指操作的领域,触控装置102的提供者通常比操作系统的提供者更为熟悉,由触控装置102的提供者所开发的驱动器106来处理多指手势,有助于提供使用者更佳的使用经验。The judging procedure executed in step 204 is further described below. In an embodiment of the present invention, the processing unit 104 determines the number of touch objects being operated according to the touch signal packet P, and compares the determined number of touch objects with a preset value TH. The processing unit 104 then decides to output at least one first packet P1 to the driver 106 or output at least one second packet P2 to the driver 108 provided by the operating system of the computer system 10 according to the comparison result. That is to say, the processing unit 104 can determine the driver 106 or the driver 108 provided by the operating system according to the number of objects being operated to generate corresponding commands. For example, the default value TH is 2. When the processing unit 104 judges that the number of touch objects is greater than (or equal to) 2, it outputs the first packet P1 to the driver 106. When it is less than 2 (for example, 1 touch object), then Output the second packet P2 to the driver 108 . This means that the processing unit will transfer the operation of more than two fingers to the driver 106 to generate instructions, and the operation of one finger to the driver 108 to generate instructions. For the field of multi-finger operation, the provider of the touch device 102 is generally more familiar than the provider of the operating system, and the driver 106 developed by the provider of the touch device 102 can handle multi-finger gestures, which is helpful to provide users with Better user experience.

在本发明的一实施例中,处理单元104根据一个或多个触控信号封包P,判断出手势。并且处理单元104判断该手势是否相应于驱动器106的可支持手势列表。处理单元104根据前述判断结果来决定是否输出至少一个第一封包P1至驱动器106。也就是说,处理单元104可依据物件在触控装置102上操作的手势来判断由驱动器106或是操作系统所提供的驱动器108来产生相应的指令。例如,若该手势相应于驱动器106的可支持手势列表,则处理单元104输出该至少一个第一封包P1至驱动器106。驱动器106根据该至少一个第一封包P1来产生第一指令。若该手势不相应于驱动器106的可支持手势列表,则处理单元104输出至少一个第二封包P2至驱动器108。驱动器108根据该至少一个第二封包P2来产生第二指令,如果驱动器108也不支持该手势,则驱动器108忽略该手势操作,也就是说,电脑系统10不对该手势操作产生回应。此外,可以预先定义出驱动器106的可支持手势列表并将它储存。例如,将驱动器106可支持的手势或是想通过驱动器106进行处理的手势预先定义在驱动器106的可支持手势列表之中。在其他实施例中,处理单元104也可以预先判断驱动器106或108是否支持该手势,并传送封包至有支持该手势的驱动器。如果处理单元104判断驱动器106及108都不支持该手势,则处理单元104可以直接忽略该触控封包P,而不进行任何处理。In an embodiment of the present invention, the processing unit 104 determines the gesture according to one or more touch signal packets P. And the processing unit 104 judges whether the gesture corresponds to the gesture list supported by the driver 106 . The processing unit 104 determines whether to output at least one first packet P1 to the driver 106 according to the aforementioned determination result. That is to say, the processing unit 104 can determine the driver 106 or the driver 108 provided by the operating system according to the gesture of the object operated on the touch device 102 to generate corresponding instructions. For example, if the gesture corresponds to the gesture list supported by the driver 106 , the processing unit 104 outputs the at least one first packet P1 to the driver 106 . The driver 106 generates a first command according to the at least one first packet P1. If the gesture does not correspond to the supported gesture list of the driver 106 , the processing unit 104 outputs at least one second packet P2 to the driver 108 . The driver 108 generates the second command according to the at least one second packet P2. If the driver 108 does not support the gesture, the driver 108 ignores the gesture operation, that is, the computer system 10 does not respond to the gesture operation. In addition, a list of gestures supported by the driver 106 can be predefined and stored. For example, the gestures supported by the driver 106 or the gestures to be processed by the driver 106 are predefined in the gesture list supported by the driver 106 . In other embodiments, the processing unit 104 may also pre-determine whether the driver 106 or 108 supports the gesture, and transmit the packet to the driver that supports the gesture. If the processing unit 104 determines that neither the drivers 106 nor 108 support the gesture, the processing unit 104 may directly ignore the touch packet P without performing any processing.

在本发明的一实施例中,在接收到触控信号封包P后,处理单元104可判断电脑系统10目前正执行中的应用程序是否相应于驱动器106的可支持应用程序列表。处理单元104根据前述判断结果来决定是否输出至少一个第一封包P1至驱动器106。也就是说,处理单元104可依据电脑系统10目前正执行中的应用程序来判断由驱动器106或是操作系统所提供的驱动器108来处理该触控操作以产生相应的指令。例如,若电脑系统10目前正执行中的应用程序相应于驱动器106的可支持应用程序列表,这表示驱动器106可以支持电脑系统10目前正在执行的应用程序,则处理单元104输出该至少一个第一封包P1至驱动器106。驱动器106根据该至少一个第一封包P1来产生第一指令。若电脑系统10目前正执行中的应用程序不相应于驱动器106的可支持应用程序列表,则处理单元104输出至少一个第二封包P2至驱动器108。驱动器108根据该至少一个第二封包P2来产生第二指令。此外,可以预先定义出驱动器106的可支持应用程序列表并将它储存。在其他实施例中,处理单元104也可以预先判断驱动器106或108是否支持该目前电脑系统10正在执行的应用程序,并传送封包至有支持该应用程序的驱动器。如果处理单元104判断驱动器106及108都不支持该应用程序,则处理单元104可以直接忽略该触控封包P,而不进行任何处理。In an embodiment of the present invention, after receiving the touch signal packet P, the processing unit 104 can determine whether the application currently being executed by the computer system 10 corresponds to the supported application list of the driver 106 . The processing unit 104 determines whether to output at least one first packet P1 to the driver 106 according to the aforementioned determination result. That is to say, the processing unit 104 can determine the driver 106 or the driver 108 provided by the operating system to process the touch operation according to the application program currently being executed by the computer system 10 to generate corresponding instructions. For example, if the application program currently being executed by the computer system 10 corresponds to the supported application program list of the driver 106, which means that the driver 106 can support the application program currently being executed by the computer system 10, the processing unit 104 outputs the at least one first The packet P1 is sent to the driver 106 . The driver 106 generates a first command according to the at least one first packet P1. If the application currently being executed by the computer system 10 does not correspond to the supported application list of the driver 106 , the processing unit 104 outputs at least one second packet P2 to the driver 108 . The driver 108 generates a second instruction according to the at least one second packet P2. In addition, a list of supported applications for the driver 106 can be pre-defined and stored. In other embodiments, the processing unit 104 may also pre-determine whether the driver 106 or 108 supports the application currently being executed by the computer system 10, and transmit the packet to the driver that supports the application. If the processing unit 104 determines that neither the drivers 106 nor 108 support the application, the processing unit 104 may directly ignore the touch packet P without performing any processing.

在本发明的一实施例中,处理单元104可根据触控信号封包P,判断出物件的种类并判断该物件的种类是否为第一预设种类。处理单元104根据前述判断结果来决定是否输出至少一个第一封包P1至驱动器106。也就是说,处理单元104可依据物件的种类来判断由驱动器106或是操作系统所提供的驱动器108来产生相应的指令。例如,第一预设种类为触控笔,若处理单元104判断接触物件的种类为触控笔时,则输出至少一个第一封包P1至驱动器106,以产生指令。若处理单元104判断接触物件的种类不为触控笔,则输出至少一个第二封包P2至驱动器108。从上述实施例可以了解,本发明的处理单元104可以根据接触物件的种类决定由驱动器106或驱动器108来处理该接触物件在触控装置102上的操作。例如,处理单元104判断接触物件是触控笔时,则输出第一封包P1给驱动器106,处理单元104判断接触物件是手指时,则输出第二封包P2给驱动器108。In an embodiment of the present invention, the processing unit 104 can determine the type of the object according to the touch signal packet P and determine whether the type of the object is the first preset type. The processing unit 104 determines whether to output at least one first packet P1 to the driver 106 according to the aforementioned determination result. That is to say, the processing unit 104 can determine the driver 106 or the driver 108 provided by the operating system according to the type of the object to generate corresponding commands. For example, the first preset type is a stylus, and if the processing unit 104 determines that the type of the contact object is a stylus, then output at least one first packet P1 to the driver 106 to generate a command. If the processing unit 104 determines that the type of the contact object is not a stylus, it outputs at least one second packet P2 to the driver 108 . It can be understood from the above-mentioned embodiments that the processing unit 104 of the present invention may decide to use the driver 106 or the driver 108 to process the operation of the contact object on the touch device 102 according to the type of the contact object. For example, when the processing unit 104 determines that the contact object is a stylus, it outputs the first packet P1 to the driver 106 , and when the processing unit 104 determines that the contact object is a finger, it outputs the second packet P2 to the driver 108 .

综合以上说明,关于步骤204中所执行的判断程序,处理单元104可依据在触控装置102上操作的物件的数量、物件的种类、手势及电脑系统10目前正执行中的应用程序当中的至少其中之一或其组合来判断由驱动器106或是操作系统所提供的驱动器108来产生相应的指令。举例来说,请参照图3,处理单元104可依据在触控装置102上操作的物件的数量及正执行中的应用程序来判断由哪一个驱动器产生相应的指令。如图3所示,若使用者利用手指在触控装置102上进行触控操作,触控装置102感测手指的操作并据以产生相应的触控信号封包P。处理单元104接收(步骤302)并解析接收到的一个或多个触控信号封包P。处理单元104根据触控信号封包P判断正在进行操作的手指的数量是否大于预设值TH(步骤304),关于手指的数量可以是被包括在触控信号封包P中,或者是由处理单元104根据触控信号封包P的内容来判断。若步骤304的判断结果为是,进入步骤306。若否,进入步骤308。在步骤306中,处理单元104输出至少一个第一封包P1至驱动器106。驱动器106根据该至少一个第一封包P1来产生第一指令。在步骤308中,处理单元104检测电脑系统10目前正执行中的应用程序,并且判断目前正执行中的应用程序是否相应于驱动器106的可支持应用程序列表。若是的话,进入步骤306。若否的话,进入步骤310。在步骤310中,处理单元104输出至少一个第二封包P2至驱动器108。驱动器108根据该至少一个第二封包P2来产生第二指令。Based on the above description, regarding the determination procedure executed in step 204, the processing unit 104 may base on at least one of the number of objects operated on the touch device 102, the types of objects, gestures, and the application program currently being executed by the computer system 10. One or a combination thereof determines whether the driver 106 or the driver 108 provided by the operating system generates corresponding instructions. For example, referring to FIG. 3 , the processing unit 104 can determine which driver generates the corresponding command according to the number of objects operated on the touch device 102 and the application program being executed. As shown in FIG. 3 , if the user uses a finger to perform a touch operation on the touch device 102 , the touch device 102 senses the operation of the finger and generates a corresponding touch signal packet P accordingly. The processing unit 104 receives (step 302 ) and parses the received one or more touch signal packets P. The processing unit 104 judges whether the number of fingers being operated is greater than a preset value TH according to the touch signal packet P (step 304). The number of fingers may be included in the touch signal packet P, or by the processing unit 104 It is judged according to the content of the touch signal packet P. If the judgment result of step 304 is yes, go to step 306 . If not, go to step 308 . In step 306 , the processing unit 104 outputs at least one first packet P1 to the driver 106 . The driver 106 generates a first command according to the at least one first packet P1. In step 308 , the processing unit 104 detects the currently executing application program of the computer system 10 and determines whether the currently executing application program corresponds to the supported application program list of the driver 106 . If yes, go to step 306. If not, go to step 310 . In step 310 , the processing unit 104 outputs at least one second packet P2 to the driver 108 . The driver 108 generates a second instruction according to the at least one second packet P2.

简言之,处理单元104可根据触控信号封包P1和/或电脑系统10目前正执行中的应用程序来决定将相关于触控信号封包的封包传送至驱动器106或电脑系统10的操作系统所提供的驱动器108,以产生相关的指令。In short, the processing unit 104 can decide to transmit the packet related to the touch signal packet to the driver 106 or the operating system of the computer system 10 according to the touch signal packet P1 and/or the application program currently being executed by the computer system 10. A driver 108 is provided to generate related commands.

请参照图4,图4为本发明实施例电脑系统40的示意图。值得注意的是,由于图4的电脑系统40与图1的电脑系统10中具有相同名称的元件具有类似的运作方式与功能,因此为求说明书内容简洁起见,详细说明便在此省略,该些元件的连接关系如图4所示,在此不再赘述。电脑系统40包含触控装置402、处理单元404、驱动器406、408及执行单元410。触控装置402接收至少一个物件在触控装置上的操作。处理单元404耦接驱动器406与驱动器408,用来判断由驱动器406或驱动器408产生与该操作相应的指令。执行单元410根据与该操作相应的指令在目前正执行中的应用程序执行热键(Hot-key)的对应处理,这个应用程序可以是例如影像处理软体,或者文书处理软体,这个热键的功能可以是例如影像/文件的放大,缩小,换页等等。在一实施例中,执行单元410根据该指令在热键资料库中找出对应的热键,再执行该热键所对应的功能。这表示电脑系统40将使用者在触控装置402上的操作模拟成热键,并且执行该热键的功能。Please refer to FIG. 4 , which is a schematic diagram of a computer system 40 according to an embodiment of the present invention. It is worth noting that since the computer system 40 in FIG. 4 has similar operation modes and functions to the components with the same name in the computer system 10 in FIG. The connection relationship of the components is shown in FIG. 4 , which will not be repeated here. The computer system 40 includes a touch device 402 , a processing unit 404 , drivers 406 , 408 and an execution unit 410 . The touch device 402 receives an operation of at least one object on the touch device. The processing unit 404 is coupled to the driver 406 and the driver 408 for determining whether the driver 406 or the driver 408 generates an instruction corresponding to the operation. The execution unit 410 executes the corresponding processing of the hot-key (Hot-key) in the application program currently being executed according to the instruction corresponding to the operation. This application program can be, for example, image processing software or word processing software. The function of the hot-key It can be, for example, zooming in, zooming out, changing pages, etc. of an image/file. In one embodiment, the execution unit 410 finds the corresponding hotkey in the hotkey database according to the instruction, and then executes the function corresponding to the hotkey. This means that the computer system 40 simulates the user's operation on the touch device 402 as a hotkey, and executes the function of the hotkey.

本发明的精神可以表现如图5所示,图5为本发明一实施例的流程50的示意图,适用于图1或图4所示的实施例。根据流程50,当使用者利用至少一个触控物件在触控装置402上进行触控操作时,触控装置402接收该至少一个触控物件在触控装置402上的操作(步骤502)。接着,处理单元404根据该操作和/或电脑系统10目前正执行中的应用程序进行判断程序。该判断程序的结果被用来决定由驱动器406或驱动器408产生与该操作相应的指令(步骤504)。若该判断程序的结果表示由驱动器406产生指令,则由驱动器406产生与该操作相应的指令,并传送至执行单元410(步骤506)。若该判断程序的结果表示由电脑系统40的操作系统所提供的驱动器408来产生指令,则由驱动器408产生与该操作相应的指令,以传送至执行单元410(步骤508)。进一步地,若执行单元410接收与该操作相应的指令,执行单元410会根据该指令在应用程序执行相应动作(步骤510)。简言之,通过处理单元404可决定由驱动器406或由电脑系统40的操作系统所提供的驱动器408产生与该操作相应的指令,以提供至执行单元410。图5以不同于图2的方式来描述本发明,因为物件在触控装置上的操作会使得触控装置产生相对应的触控信号封包P,因此步骤504实质上与图2的步骤204所要表现的技术思想相同。The spirit of the present invention can be expressed as shown in FIG. 5 , which is a schematic diagram of a process 50 of an embodiment of the present invention, which is applicable to the embodiment shown in FIG. 1 or FIG. 4 . According to the process 50, when the user uses at least one touch object to perform a touch operation on the touch device 402, the touch device 402 receives the operation of the at least one touch object on the touch device 402 (step 502). Next, the processing unit 404 performs a determination procedure according to the operation and/or the application program currently being executed by the computer system 10 . The result of the determination procedure is used to determine whether to generate a command corresponding to the operation by the driver 406 or the driver 408 (step 504). If the result of the judgment procedure indicates that the driver 406 generates an instruction, the driver 406 generates an instruction corresponding to the operation and sends it to the execution unit 410 (step 506 ). If the result of the judgment procedure indicates that the driver 408 provided by the operating system of the computer system 40 generates an instruction, the driver 408 generates an instruction corresponding to the operation and sends it to the execution unit 410 (step 508 ). Further, if the execution unit 410 receives an instruction corresponding to the operation, the execution unit 410 will execute a corresponding action in the application program according to the instruction (step 510 ). In short, the processing unit 404 may determine that the driver 406 or the driver 408 provided by the operating system of the computer system 40 generates an instruction corresponding to the operation to provide to the execution unit 410 . FIG. 5 describes the present invention in a manner different from FIG. 2, because the operation of the object on the touch device will cause the touch device to generate a corresponding touch signal packet P, so step 504 is essentially the same as step 204 in FIG. The technical thinking of the performance is the same.

以下进一步说明在步骤504中所执行的判断程序,在本发明的一实施例中,处理单元404根据触控物件在触控装置402上的操作计算出正执行该操作的触控物件数量,并将所计算出的触控物件数量与预设值TH进行比较。处理单元404再根据比较的结果判断由该第一驱动器或该第二驱动器产生与该操作相应的指令。也就是说,处理单元404可依据正在操作的物件的数量来判断由驱动器406或是操作系统所提供的驱动器408来产生相应的指令。举例来说,预设值TH为2,处理单元判断触控物件数量大于(或等于)2时,则决定由驱动器406产生与该操作相应的指令,小于2时(例如1个触控物件),则决定由驱动器408产生与该操作相应的指令。这表示处理单元会将两支手指以上的操作交由驱动器406来产生指令,单手指的操作则交由驱动器408来产生指令。对于多指操作的领域,触控装置402的提供者通常比操作系统的提供者更为熟悉,由触控装置402的提供者所开发的驱动器406来处理多指手势,有助于提供使用者更佳的使用经验。The determination procedure executed in step 504 is further described below. In one embodiment of the present invention, the processing unit 404 calculates the number of touch objects that are performing the operation according to the operation of the touch objects on the touch device 402, and The calculated number of touch objects is compared with a preset value TH. The processing unit 404 then determines according to the comparison result that the first driver or the second driver generates a command corresponding to the operation. That is to say, the processing unit 404 can determine the driver 406 or the driver 408 provided by the operating system according to the number of objects being operated to generate corresponding commands. For example, the default value TH is 2. When the processing unit determines that the number of touch objects is greater than (or equal to) 2, it determines that the driver 406 generates a command corresponding to the operation. When it is less than 2 (for example, 1 touch object) , then it is determined that the driver 408 generates an instruction corresponding to the operation. This means that the processing unit will transfer the operation of more than two fingers to the driver 406 to generate instructions, and the operation of one finger to the driver 408 to generate instructions. For the field of multi-finger operation, the provider of the touch device 402 is generally more familiar than the provider of the operating system, and the driver 406 developed by the provider of the touch device 402 can handle multi-finger gestures, which is helpful to provide users with Better user experience.

在本发明的一实施例中,处理单元404根据触控物件在触控装置402上的操作,判断出该操作所对应的手势。处理单元404判断该手势是否相应于驱动器406的可支持手势列表。处理单元404根据前述判断结果判断是否由驱动器406产生与该操作相应的指令。也就是说,处理单元404可依据物件在触控装置402上所操作的手势来判断由驱动器406或是操作系统所提供的驱动器408来产生相应的指令。例如,若该操作所对应的手势相应于驱动器406的可支持手势列表,驱动器406产生与该操作相应的指令。若该操作所对应的手势不相应于驱动器406的可支持手势列表,则由驱动器408产生与该操作相应的指令,如果驱动器408也不支持该手势,则驱动器408忽略该手势操作,也就是说,电脑系统40不对该手势操作产生回应。此外,可以预先定义出可驱动器406的可支持手势列表并将它储存。例如,将驱动器406可支持的手势或是想通过驱动器406进行处理的手势预先定义在驱动器406的可支持手势列表之中。在其他实施例中,处理单元404也可以预先判断驱动器406或408是否支持该手势,并传送封包至有支持该手势的驱动器。如果处理单元404判断驱动器406及408都不支持该手势,则处理单元404可以直接忽略该触控信号封包P,而不进行任何处理。In an embodiment of the present invention, the processing unit 404 determines the gesture corresponding to the operation according to the operation of the touch object on the touch device 402 . The processing unit 404 determines whether the gesture corresponds to the list of supported gestures of the driver 406 . The processing unit 404 judges whether the driver 406 generates an instruction corresponding to the operation according to the foregoing judgment result. That is to say, the processing unit 404 can determine the driver 406 or the driver 408 provided by the operating system according to the gesture of the object on the touch device 402 to generate corresponding instructions. For example, if the gesture corresponding to the operation corresponds to the supported gesture list of the driver 406, the driver 406 generates an instruction corresponding to the operation. If the gesture corresponding to the operation does not correspond to the supported gesture list of the driver 406, the driver 408 generates an instruction corresponding to the operation, and if the driver 408 does not support the gesture, the driver 408 ignores the gesture operation, that is to say , the computer system 40 does not respond to the gesture operation. In addition, a list of gestures supported by the driver 406 can be predefined and stored. For example, the gestures supported by the driver 406 or the gestures to be processed by the driver 406 are predefined in the gesture list supported by the driver 406 . In other embodiments, the processing unit 404 may also pre-determine whether the driver 406 or 408 supports the gesture, and send the packet to the driver that supports the gesture. If the processing unit 404 determines that neither the drivers 406 nor 408 support the gesture, the processing unit 404 may directly ignore the touch signal packet P without performing any processing.

在本发明的一实施例中,处理单元404可判断电脑系统40目前正执行中的应用程序是否相应于驱动器406的可支持应用程序列表。处理单元404根据前述判断结果判断是否由驱动器406产生与该操作相应的指令。也就是说,处理单元404可依据电脑系统40目前正执行中的应用程序来判断由驱动器406或是操作系统所提供的驱动器408来处理该触控操作以产生相应的指令。例如,若电脑系统40目前正执行中的应用程序相应于驱动器406的可支持应用程序列表,这表示驱动器406可以支持电脑系统40目前正在执行的应用程序,驱动器406产生与该操作相应的指令。若电脑系统40目前正执行中的应用程序不相应于驱动器406的可支持应用程序列表,则由驱动器408产生与该操作相应的指令。此外,可以预先定义出驱动器406的可支持应用程序列表并将它储存。在其他实施例中,处理单元404也可以预先判断驱动器406或408是否支持该目前电脑系统40正在执行的应用程序,并传送封包至有支持该应用程序的驱动器。如果处理单元404判断驱动器406及408都不支持该应用程序,则处理单元404可以直接忽略该触控信号封包P,而不进行任何处理。In an embodiment of the present invention, the processing unit 404 can determine whether the application currently being executed by the computer system 40 corresponds to the supported application list of the driver 406 . The processing unit 404 judges whether the driver 406 generates an instruction corresponding to the operation according to the foregoing judgment result. That is to say, the processing unit 404 can determine the driver 406 or the driver 408 provided by the operating system to process the touch operation according to the application program currently being executed by the computer system 40 to generate corresponding instructions. For example, if the application program currently being executed by the computer system 40 corresponds to the supported application program list of the driver 406, it means that the driver 406 can support the application program currently being executed by the computer system 40, and the driver 406 generates commands corresponding to the operation. If the application currently being executed by the computer system 40 does not correspond to the supported application list of the driver 406 , the driver 408 generates an instruction corresponding to the operation. In addition, a list of supported applications for the driver 406 can be pre-defined and stored. In other embodiments, the processing unit 404 may also pre-determine whether the driver 406 or 408 supports the application currently being executed by the computer system 40, and transmit the packet to the driver that supports the application. If the processing unit 404 determines that both the drivers 406 and 408 do not support the application program, the processing unit 404 may directly ignore the touch signal packet P without performing any processing.

在本发明的一实施例中,处理单元404可根据触控物件在触控装置402上的操作(或输入),判断出物件的种类并判断该物件的种类是否为第一预设种类。处理单元404根据前述判断结果决定是否由驱动器406产生与该操作相应的指令。也就是说,处理单元404可依据物件的种类来判断由驱动器406或是操作系统所提供的驱动器408来产生相应的指令。例如,第一预设种类为触控笔,若处理单元404判断接触物件的种类为触控笔时,驱动器406产生与该操作相应的指令。若处理单元404判断接触物件的种类不为触控笔,则由驱动器408产生与该操作相应的指令。从上述实施例可以了解,本发明的处理单元404可以根据接触物件的种类决定由驱动器406或驱动器408来处理该接触物件在触控装置402上的操作。例如,处理单元404判断接触物件是触控笔时,则决定由驱动器406来处理该接触物件在触控装置402上的操作,以产生与该操作相应的指令,处理单元404判断接触物件是手指时,则决定由驱动器408来处理该接触物件在触控装置402上的操作,以产生与该操作相应的指令。现有技术中已存在多种判断接触物件的种类的方法,例如根据触接触物件的接触面积,移动速度来判断触控笔。触控装置402也可以根据接收到主动式触控笔的信号,来判断接触物件为触控笔。In an embodiment of the present invention, the processing unit 404 can determine the type of the object according to the operation (or input) of the touch object on the touch device 402 and determine whether the type of the object is the first preset type. The processing unit 404 determines whether the driver 406 generates an instruction corresponding to the operation according to the aforementioned determination result. That is to say, the processing unit 404 can determine the driver 406 or the driver 408 provided by the operating system according to the type of the object to generate corresponding commands. For example, the first preset type is a stylus, and if the processing unit 404 determines that the type of the contact object is a stylus, the driver 406 generates an instruction corresponding to the operation. If the processing unit 404 determines that the type of the contact object is not a stylus, the driver 408 generates an instruction corresponding to the operation. It can be understood from the above embodiments that the processing unit 404 of the present invention may decide to use the driver 406 or the driver 408 to process the operation of the contact object on the touch device 402 according to the type of the contact object. For example, when the processing unit 404 determines that the contact object is a stylus, it determines that the driver 406 will process the operation of the contact object on the touch device 402 to generate a command corresponding to the operation, and the processing unit 404 determines that the contact object is a finger , the driver 408 is determined to process the operation of the contact object on the touch device 402 to generate a command corresponding to the operation. In the prior art, there are many methods for judging the type of the contact object, such as judging the stylus according to the contact area and moving speed of the touch object. The touch device 402 may also determine that the contact object is a stylus according to the signal received from the active stylus.

此外,关于步骤504中所执行的判断程序,处理单元504可依据在触控装置102上操作的物件的数量、物件的种类、手势及电脑系统10目前正执行中的应用程序当中的至少其中之一或其组合来判断由驱动器106或是操作系统所提供的驱动器108产生与该操作相应的指令。In addition, regarding the determination procedure executed in step 504, the processing unit 504 may base on at least one of the number of objects operated on the touch device 102, the types of objects, gestures, and the applications currently being executed by the computer system 10. One or a combination thereof is used to determine whether the driver 106 or the driver 108 provided by the operating system generates an instruction corresponding to the operation.

在上述实施例中,电脑系统可为具有触控功能的电子装置,如智能手机、平板电脑、智能电视、穿戴式装置等,但不以此为限。触控装置可为触控板或触控面板。上述的触控物件可为触控笔、手指、手掌、脸颊或是任何可在触控装置上执行触控操作的元件。驱动器106、406可由触控装置的制造商所提供或是外挂驱动器。驱动器108、408可为电脑系统的操作系统所提供。In the above embodiments, the computer system may be an electronic device with a touch function, such as a smart phone, a tablet computer, a smart TV, a wearable device, etc., but is not limited thereto. The touch device can be a touch pad or a touch panel. The above-mentioned touch object can be a stylus, a finger, a palm, a cheek or any element capable of performing a touch operation on a touch device. The drivers 106 and 406 can be provided by the touch device manufacturer or can be plug-in drivers. The drivers 108, 408 can be provided by the operating system of the computer system.

综上所述,本发明实施例根据使用者在触控装置上的操作以及正执行中的应用程序来选择驱动器以产生相应的指令,也就是说,本发明可根据使用情况选择合适的驱动器以产生相应的指令,进而使人机互动的界面达到最佳化的表现效果。To sum up, the embodiment of the present invention selects the driver according to the user's operation on the touch device and the application program being executed to generate the corresponding command, that is, the present invention can select the appropriate driver according to the usage Corresponding instructions are generated to optimize the performance of the human-computer interaction interface.

以上所述仅为本发明的较佳实施例,凡依本发明权利要求书限定的内容所做的均等变化与修饰,都应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the content defined in the claims of the present invention shall fall within the scope of the present invention.

Claims (30)

1.一种触控信号的处理方法,包含有:1. A method for processing a touch signal, comprising: 接收至少一个触控信号封包,该至少一个触控信号封包因应于至少一个物件在触控装置上的操作;receiving at least one touch signal packet corresponding to the operation of at least one object on the touch device; 根据该至少一个触控信号封包以及电脑系统目前正执行中的应用程序的当中至少一者进行判断程序;以及performing a judging process according to at least one of the at least one touch signal packet and the application program currently being executed by the computer system; and 根据该判断程序的结果,提供至少一个第一封包至第一驱动器或提供至少一个第二封包至操作系统提供的第二驱动器;其中该至少一个第一封包与该至少一个第二封包的内容与该至少一个触控信号封包的内容有关;According to the result of the judgment procedure, at least one first package is provided to the first driver or at least one second package is provided to the second driver provided by the operating system; wherein the contents of the at least one first package and the at least one second package are consistent with The content of the at least one touch signal packet is related; 其中,当该第一驱动器接收到该至少一个第一封包时,该第一驱动器根据该至少一个第一封包产生第一指令;当该第二驱动器接收到该至少一个第二封包时,该第二驱动器根据该至少一个第二封包产生第二指令。Wherein, when the first driver receives the at least one first packet, the first driver generates a first instruction according to the at least one first packet; when the second driver receives the at least one second packet, the first The second driver generates a second instruction according to the at least one second packet. 2.如权利要求1所述的方法,其中该第一封包与该触控信号封包相同。2. The method of claim 1, wherein the first packet is the same as the touch signal packet. 3.如权利要求1所述的方法,其中该第二封包与该触控信号封包相同。3. The method of claim 1, wherein the second packet is the same as the touch signal packet. 4.如权利要求1所述的方法,其中在该判断程序之后,还包括转换该触控信号封包的格式以获得该第一封包。4. The method of claim 1, further comprising converting the format of the touch signal packet to obtain the first packet after the determining procedure. 5.如权利要求1所述的方法,其中该判断程序包含有:5. The method according to claim 1, wherein the judging procedure comprises: 根据该触控信号封包,判断出正在进行操作的触控物件数量;以及According to the touch signal packet, determine the number of touch objects being operated; and 将该触控物件数量与预设值比较。Compare the number of touch objects with the default value. 6.如权利要求1所述的方法,其中该判断程序包含有:6. The method according to claim 1, wherein the judging procedure comprises: 根据该触控信号封包,判断手势;以及Judging the gesture according to the touch signal packet; and 判断该手势是否相应于该第一驱动器的可支持手势列表;judging whether the gesture corresponds to the gesture list supported by the first driver; 其中,根据判断该手势相应于该可支持手势列表,提供该至少一个第一封包至该第一驱动器。Wherein, according to judging that the gesture corresponds to the list of supported gestures, providing the at least one first packet to the first driver. 7.如权利要求1或5所述的方法,其中该判断程序包含有:7. The method according to claim 1 or 5, wherein the judging procedure comprises: 判断该电脑系统执行中的应用程序是否相应于该第一驱动器的可支持应用程序列表;judging whether the application program being executed by the computer system corresponds to the list of supported application programs of the first driver; 其中,根据判断该电脑系统执行中的应用程序相应于该可支持应用程序列表,提供该至少一个第一封包至该第一驱动器。Wherein, the at least one first package is provided to the first driver according to judging that the running application of the computer system corresponds to the supportable application list. 8.如权利要求1所述的方法,其中该判断程序包含有:8. The method as claimed in claim 1, wherein the judging procedure comprises: 根据该触控信号封包,判断该物件的种类;Determine the type of the object according to the touch signal packet; 其中,根据判断该物件的种类为第一预设种类,提供该至少一个第一封包给该第一驱动器。Wherein, according to judging that the type of the object is a first preset type, the at least one first packet is provided to the first driver. 9.如权利要求1所述的方法,其中该触控装置为触控板或触控面板。9. The method as claimed in claim 1, wherein the touch device is a touch pad or a touch panel. 10.一种电脑系统,包含有:10. A computer system comprising: 触控装置,因应至少一个物件进行操作,产生至少一个触控信号封包;The touch device generates at least one touch signal packet in response to the operation of at least one object; 第一驱动器;first drive; 第二驱动器,由该电脑系统的操作系统提供;a second driver provided by the operating system of the computer system; 处理单元,耦接该第一驱动器与该第二驱动器,该处理单元接收该至少一个触控信号封包,并根据该至少一个触控信号封包以及该电脑系统目前正执行中的应用程序的当中至少一者进行判断程序,该判断程序的结果被用来决定输出至少一个第一封包至该第一驱动器或输出至少一个第二封包至该第二驱动器;其中该至少一个第一封包与该至少一个第二封包的内容与该至少一个触控信号封包的内容有关;A processing unit, coupled to the first driver and the second driver, the processing unit receives the at least one touch signal packet, and according to the at least one touch signal packet and at least one of the application programs currently being executed by the computer system One carries out a judging procedure, and the result of the judging procedure is used to decide to output at least one first packet to the first driver or to output at least one second packet to the second driver; wherein the at least one first packet and the at least one The content of the second packet is related to the content of the at least one touch signal packet; 其中,当该第一驱动器接收到该至少一个第一封包时,该第一驱动器根据该至少一个第一封包产生第一指令;当该第二驱动器接收到该至少一个第二封包时,该第二驱动器根据该至少一个第二封包产生第二指令。Wherein, when the first driver receives the at least one first packet, the first driver generates a first instruction according to the at least one first packet; when the second driver receives the at least one second packet, the first The second driver generates a second instruction according to the at least one second packet. 11.如权利要求10所述的电脑系统,其中该第一封包与该触控信号封包相同。11. The computer system according to claim 10, wherein the first packet is the same as the touch signal packet. 12.如权利要求10所述的电脑系统,其中该第二封包与该触控信号封包相同。12. The computer system according to claim 10, wherein the second packet is the same as the touch signal packet. 13.如权利要求10所述的电脑系统,其中该处理单元在进行该判断程序之后,转换该触控信号封包的格式以获得该第一封包。13. The computer system according to claim 10, wherein the processing unit converts the format of the touch signal packet to obtain the first packet after performing the determination procedure. 14.如权利要求10所述的电脑系统,其中该处理单元根据该触控信号封包判断出正在进行操作的触控物件数量,将该触控物件数量与预设值进行比较,并据以决定输出该至少一个第一封包至该第一驱动器或输出该至少一个第二封包至该第二驱动器。14. The computer system according to claim 10, wherein the processing unit determines the number of touch objects being operated according to the touch signal packet, compares the number of touch objects with a preset value, and determines accordingly Outputting the at least one first packet to the first driver or outputting the at least one second packet to the second driver. 15.如权利要求10所述的电脑系统,其中该处理单元根据该触控信号封包判断手势且判断该手势是否相应于该第一驱动器的可支持手势列表,以及根据判断该手势相应于该可支持手势列表,输出该至少一个第一封包至该第一驱动器。15. The computer system according to claim 10, wherein the processing unit judges a gesture according to the touch signal packet and judges whether the gesture corresponds to the gesture list supported by the first driver, and judges that the gesture corresponds to the gesture list supported by the first driver. A gesture list is supported, and the at least one first packet is output to the first driver. 16.如权利要求10或14所述的电脑系统,其中该处理单元判断该电脑系统执行中的应用程序是否相应于该第一驱动器的可支持应用程序列表,以及根据判断该电脑系统执行中的应用程序相应于该可支持应用程序列表,输出该至少一个第一封包至该第一驱动器。16. The computer system according to claim 10 or 14, wherein the processing unit determines whether the application program being executed by the computer system corresponds to the list of supported application programs of the first driver, and according to the judgment of the application program being executed by the computer system The application program outputs the at least one first packet to the first driver corresponding to the list of supported applications. 17.如权利要求10所述的电脑系统,其中该处理单元根据该触控信号封包判断该物件的种类,以及根据判断该物件的种类为第一预设种类,输出该至少一个第一封包至该第一驱动器。17. The computer system according to claim 10, wherein the processing unit determines the type of the object according to the touch signal packet, and outputs the at least one first packet to the first drive. 18.如权利要求10所述的电脑系统,其中该触控装置为触控板或触控面板。18. The computer system as claimed in claim 10, wherein the touch device is a touch pad or a touch panel. 19.一种触控信号的处理方法,包含有:19. A method for processing a touch signal, comprising: a.接收至少一个物件在触控装置上的操作;a. receiving an operation of at least one object on the touch device; b.根据该操作以及电脑系统目前正执行中的应用程序的当中至少一者,判断由第一驱动器或第二驱动器产生与该操作相应的指令;以及b. According to at least one of the operation and the application program currently being executed by the computer system, it is determined that the instruction corresponding to the operation is generated by the first driver or the second driver; and c.根据该指令在应用程序执行动作。c. Execute actions in the application program according to the instruction. 20.如权利要求19所述的方法,其中步骤b包含有:20. The method of claim 19, wherein step b comprises: 计算正执行该操作的触控物件数量,并将该触控物件数量与预设值比较,以产生比较结果;以及calculating the number of touch objects that are performing the operation, and comparing the number of touch objects with a default value to generate a comparison result; and 根据该比较结果,判断由该第一驱动器或该第二驱动器产生与该操作相应的指令。According to the comparison result, it is determined that the command corresponding to the operation is generated by the first driver or the second driver. 21.如权利要求19所述的方法,其中该步骤b包含有:21. The method of claim 19, wherein the step b comprises: 判断该操作所对应的手势;Determine the gesture corresponding to the operation; 判断该手势是否相应于该第一驱动器的可支持手势列表;以及determining whether the gesture corresponds to a list of gestures supported by the first driver; and 根据判断该手势相应于该可支持手势列表,判断由该第一驱动器产生与该操作相应的指令。According to judging that the gesture corresponds to the list of supported gestures, it is judged that the first driver generates an instruction corresponding to the operation. 22.如权利要求19所述的方法,其中该步骤b包含有:22. The method of claim 19, wherein step b comprises: 判断该电脑系统执行中的应用程序是否相应于该第一驱动器的可支持应用程序列表;以及judging whether the application program being executed by the computer system corresponds to the list of supported application programs of the first driver; and 根据判断该电脑系统执行中的应用程序相应于该可支持应用程序列表,判断由该第一驱动器产生与该操作相应的指令。According to judging that the application being executed by the computer system corresponds to the list of supported applications, it is judged that the first driver generates an instruction corresponding to the operation. 23.如权利要求19所述的方法,其中该步骤b包含有:23. The method of claim 19, wherein step b comprises: 判断该物件的种类;以及determine the type of the thing; and 根据判断该物件的种类为第一预设种类,判断由该第一驱动器产生与该操作相应的指令。According to judging that the type of the object is the first preset type, it is judged that the first driver generates a command corresponding to the operation. 24.如权利要求19所述的方法,其中该触控装置为触控板或触控面板。24. The method as claimed in claim 19, wherein the touch device is a touch pad or a touch panel. 25.一种电脑系统,包含有:25. A computer system comprising: 触控装置,接收至少一个物件在触控装置上的操作;a touch device for receiving an operation of at least one object on the touch device; 第一驱动器;first drive; 第二驱动器,由该电脑系统的操作系统提供;a second driver provided by the operating system of the computer system; 处理单元,耦接该第一驱动器与该第二驱动器,该处理单元根据该操作以及该电脑系统目前正执行中的应用程序的当中至少一者,判断由第一驱动器或第二驱动器产生与该操作相应的指令;以及A processing unit, coupled to the first driver and the second driver, the processing unit judges that the first driver or the second driver is related to the operate the corresponding instruction; and 执行单元,根据该指令在该应用程序执行动作。The execution unit executes actions on the application program according to the instruction. 26.如权利要求25所述的电脑系统,其中该处理单元计算目前正执行该操作的该至少一个物件的数量,将该数量与预设值比较以产生比较结果,以及根据该比较结果判断由该第一驱动器或该第二驱动器产生与该操作相应的指令。26. The computer system as claimed in claim 25, wherein the processing unit calculates the quantity of the at least one object currently performing the operation, compares the quantity with a preset value to generate a comparison result, and judges based on the comparison result The first driver or the second driver generates an instruction corresponding to the operation. 27.如权利要求25所述的电脑系统,其中该处理单元判断相应于该操作的手势是否相应于该第一驱动器的可支持手势列表,以及根据判断该手势相应于该可支持手势列表,判断由该第一驱动器产生与该操作相应的指令。27. The computer system according to claim 25, wherein the processing unit determines whether the gesture corresponding to the operation corresponds to the list of supported gestures of the first driver, and according to determining that the gesture corresponds to the list of supported gestures, determines A command corresponding to the operation is generated by the first driver. 28.如权利要求25所述的电脑系统,其中该处理单元判断该电脑系统执行中的应用程序是否相应于该第一驱动器的可支持应用程序列表,以及根据判断该电脑系统执行中的应用程序相应于该可支持应用程序列表,判断由该第一驱动器产生与该操作相应的指令。28. The computer system as claimed in claim 25 , wherein the processing unit determines whether the application program being executed by the computer system corresponds to the list of supported application programs of the first driver, and determines whether the application program being executed by the computer system Corresponding to the list of supported applications, it is determined that the first driver generates an instruction corresponding to the operation. 29.如权利要求25所述的电脑系统,其中该处理单元判断该物件的种类,以及根据判断该物件的种类为第一预设种类,判断由该第一驱动器产生与该操作相应的指令。29. The computer system as claimed in claim 25, wherein the processing unit determines the type of the object, and according to determining that the type of the object is a first preset type, determines that the command corresponding to the operation is generated by the first driver. 30.如权利要求25所述的电脑系统,其中该触控装置为触控板或触控面板。30. The computer system as claimed in claim 25, wherein the touch device is a touch pad or a touch panel.
CN201510333181.4A 2014-12-11 2015-06-16 Touch signal processing method and computer system Pending CN106201300A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201462090375P 2014-12-11 2014-12-11
US62/090,375 2014-12-11
TW104114649A TWI578213B (en) 2014-12-11 2015-05-08 Processing method for touch signal and computer system thereof
TW104114649 2015-05-08

Publications (1)

Publication Number Publication Date
CN106201300A true CN106201300A (en) 2016-12-07

Family

ID=56755466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510333181.4A Pending CN106201300A (en) 2014-12-11 2015-06-16 Touch signal processing method and computer system

Country Status (2)

Country Link
CN (1) CN106201300A (en)
TW (1) TWI578213B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101498973A (en) * 2008-01-30 2009-08-05 义隆电子股份有限公司 Touch interpretation framework and method for touch application program through multi-finger gesture
US20100146458A1 (en) * 2008-12-04 2010-06-10 Nvidia Corporation Operating System Providing Multi-Touch Support For Applications In A Mobile Device
CN102801409A (en) * 2011-05-23 2012-11-28 郎济东 Gesture-recognition-based intelligent switch
CN102902469A (en) * 2011-07-25 2013-01-30 宸鸿光电科技股份有限公司 Gesture recognition method and touch system
US20130106707A1 (en) * 2011-10-26 2013-05-02 Egalax_Empia Technology Inc. Method and device for gesture determination
CN103186264A (en) * 2011-12-28 2013-07-03 深圳富泰宏精密工业有限公司 Touch control electronic device and touch control method thereof
CN103218067A (en) * 2012-01-19 2013-07-24 群康科技(深圳)有限公司 Touch device and gesture unlocking method thereof
CN103309482A (en) * 2012-03-12 2013-09-18 富泰华工业(深圳)有限公司 Electronic equipment and touch control method and touch control device thereof
CN103902080A (en) * 2012-12-27 2014-07-02 华硕电脑股份有限公司 Touch device and touch processing method
CN103914646A (en) * 2013-01-08 2014-07-09 三星电子株式会社 Touch event processing method and portable device implementing the same
US20140264034A1 (en) * 2013-03-14 2014-09-18 Qualcomm Mems Technologies, Inc. Near-field optical sensing system
CN104169874A (en) * 2012-03-15 2014-11-26 微软公司 Input data type profiles

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200949638A (en) * 2008-05-22 2009-12-01 Novatek Microelectronics Corp Touch detecting device capable of saving electricity
US8466879B2 (en) * 2008-10-26 2013-06-18 Microsoft Corporation Multi-touch manipulation of application objects
TWI434207B (en) * 2010-03-25 2014-04-11 Novatek Microelectronics Corp Touch sensing system, electronic touch apparatus, and touch sensing method
US9557846B2 (en) * 2012-10-04 2017-01-31 Corning Incorporated Pressure-sensing touch system utilizing optical and capacitive systems
CN203455794U (en) * 2013-08-07 2014-02-26 东元奈米应材股份有限公司 Touch control display device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101498973A (en) * 2008-01-30 2009-08-05 义隆电子股份有限公司 Touch interpretation framework and method for touch application program through multi-finger gesture
US20100146458A1 (en) * 2008-12-04 2010-06-10 Nvidia Corporation Operating System Providing Multi-Touch Support For Applications In A Mobile Device
CN102801409A (en) * 2011-05-23 2012-11-28 郎济东 Gesture-recognition-based intelligent switch
CN102902469A (en) * 2011-07-25 2013-01-30 宸鸿光电科技股份有限公司 Gesture recognition method and touch system
US20130106707A1 (en) * 2011-10-26 2013-05-02 Egalax_Empia Technology Inc. Method and device for gesture determination
CN103186264A (en) * 2011-12-28 2013-07-03 深圳富泰宏精密工业有限公司 Touch control electronic device and touch control method thereof
CN103218067A (en) * 2012-01-19 2013-07-24 群康科技(深圳)有限公司 Touch device and gesture unlocking method thereof
CN103309482A (en) * 2012-03-12 2013-09-18 富泰华工业(深圳)有限公司 Electronic equipment and touch control method and touch control device thereof
CN104169874A (en) * 2012-03-15 2014-11-26 微软公司 Input data type profiles
CN103902080A (en) * 2012-12-27 2014-07-02 华硕电脑股份有限公司 Touch device and touch processing method
CN103914646A (en) * 2013-01-08 2014-07-09 三星电子株式会社 Touch event processing method and portable device implementing the same
US20140264034A1 (en) * 2013-03-14 2014-09-18 Qualcomm Mems Technologies, Inc. Near-field optical sensing system

Also Published As

Publication number Publication date
TWI578213B (en) 2017-04-11
TW201621600A (en) 2016-06-16

Similar Documents

Publication Publication Date Title
CN101488063B (en) Electronic device control method and control system thereof
KR101341737B1 (en) Apparatus and method for controlling terminal using touch the back of the terminal
CN103105963B (en) Touch device and control method thereof
US20120304199A1 (en) Information processing apparatus, information processing method, and computer program
EP2825955B1 (en) Input data type profiles
EP3418867A1 (en) Touch operation method based on interactive electronic white board and system thereof
CN104303145B (en) Touch input is changed into local input by the conversion configuration file according to application
US20130201118A1 (en) Method for touch processing and mobile terminal
CN104272240A (en) Systems and methods for modifying virtual keyboards on a user interface
CN107562345B (en) Information storage method and mobile terminal
CN108064368A (en) Control method and device for flexible display device
WO2014118602A1 (en) Emulating pressure sensitivity on multi-touch devices
US20110199323A1 (en) Touch sensing method and system using the same
CN104252254A (en) Method for selecting touch input source and electronic device
CN103513822A (en) Method for improving touch recognition and electronic device thereof
CN104024991B (en) Different event models are supported using single input source
TWI617971B (en) System and method for turning pages of an object through gestures
CN103593123A (en) Method of searching for playback location of multimedia application and electronic device thereof
CN116700586A (en) An event processing method and device
CN103605460B (en) Gesture recognition method and related terminal
US10521108B2 (en) Electronic apparatus for detecting touch, method of controlling the same, and display apparatus including touch controller
US8120593B2 (en) Method of positioning coordinate
CN107357747B (en) Identification method of external equipment interface and mobile terminal
TWI578213B (en) Processing method for touch signal and computer system thereof
US20160170552A1 (en) Processing method for touch signal and computer system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161207

WD01 Invention patent application deemed withdrawn after publication