[go: up one dir, main page]

CN102890597A - Input data processing method and related input data management system - Google Patents

Input data processing method and related input data management system Download PDF

Info

Publication number
CN102890597A
CN102890597A CN201110205364XA CN201110205364A CN102890597A CN 102890597 A CN102890597 A CN 102890597A CN 201110205364X A CN201110205364X A CN 201110205364XA CN 201110205364 A CN201110205364 A CN 201110205364A CN 102890597 A CN102890597 A CN 102890597A
Authority
CN
China
Prior art keywords
input data
data
original input
application program
touch
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
CN201110205364XA
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.)
Acer Inc
Original Assignee
Acer Inc
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 Acer Inc filed Critical Acer Inc
Priority to CN201110205364XA priority Critical patent/CN102890597A/en
Publication of CN102890597A publication Critical patent/CN102890597A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention provides an input data processing method and a related input data management system. The processing method of the input data is suitable for an electronic device with a touch input unit, wherein the electronic device runs a window operating system. The processing method of the input data comprises the following steps: receiving original input data of an application program; before executing a core processing program of the window operating system, determining whether to execute the core processing program of the window operating system on original input data according to a data type of the original input data; and when the data type of the original input data represents touch data, determining not to execute the core processing program and directly sending the original input data to the application program. The touch data is generated by a touch input unit. The invention can reduce the reaction time for obtaining the multi-point touch data.

Description

输入数据的处理方法及相关输入数据管理系统Input data processing method and related input data management system

技术领域 technical field

本发明涉及一种输入数据管理系统及其输入数据的处理方法,特别是涉及一种可适用于具有触控式输入装置且运行一视窗作业系统的电子装置的输入数据管理系统及其输入数据的处理方法。The present invention relates to an input data management system and its input data processing method, in particular to an input data management system applicable to an electronic device having a touch input device and running a windows operating system and its input data processing method Approach.

背景技术 Background technique

一般而言,使用者可以利用一些控制工具例如滑鼠、轨迹球、键盘等来输入数据,进而执行对应的应用程序或打开对应的文件档案。Generally speaking, the user can use some control tools such as mouse, trackball, keyboard, etc. to input data, and then execute the corresponding application program or open the corresponding file file.

近年来,随着控制工具的种类愈来愈多,使用者在进行各项输入时,除了运用一般输入装置如通用序列总线(Universal Serial Bus,以下简称USB)光学滑鼠,更可采用触碰式的控制方式(例如触碰式装置)来进行输入。In recent years, with more and more types of control tools, users can not only use general input devices such as Universal Serial Bus (hereinafter referred to as USB) optical mouse, but also use touch when performing various inputs. Typed control methods (such as touch devices) for input.

于执行视窗作业系统(window operation system,window OS)的现有电子装置中,各种输入数据,不论是经由触控式装置所得到的触控数据或是一般的键盘、滑鼠所产生的输入数据等都会经过视窗作业系统的一连串复杂的核心(kernel)处理程序之后,才会将已处理过的数据送到应用程序,应用程序再利用接收到的已处理过的数据进行后续操作。然而,当使用者在使用一些特定应用程序例如多点触控相关应用程序时,由于硬件或软件的反应速度不够快,这样的处理方式会使得应用程序的反应时间以及反应速度无法满足需求,可能无法及时作出反应,造成使用上的不便。In the existing electronic devices that execute the window operation system (window operation system, window OS), various input data, whether it is the touch data obtained through the touch device or the input generated by the general keyboard and mouse After the data, etc. will pass through a series of complex kernel (kernel) processing procedures of the Windows operating system, the processed data will be sent to the application program, and the application program will use the received processed data to perform subsequent operations. However, when the user is using some specific applications such as multi-touch related applications, due to the insufficient response speed of the hardware or software, such a processing method will make the response time and response speed of the application programs unable to meet the requirements, and may Unable to respond in time, causing inconvenience in use.

因此,需要一种可减少取得多点触控数据的反应时间的方法及电子装置。Therefore, there is a need for a method and electronic device capable of reducing the response time for obtaining multi-touch data.

发明内容 Contents of the invention

有鉴于此,本发明提供一种输入数据管理系统及其输入数据的处理方法,以解决上述的问题。In view of this, the present invention provides an input data management system and its input data processing method to solve the above problems.

本发明实施例提供一种输入数据的处理方法,适用于具有一触控式输入单元的一电子装置,其中电子装置运行一视窗作业系统。输入数据的处理方法包括下列步骤:接收一应用程序的一原始输入数据;于视窗作业系统的一核心处理程序执行之前,依据原始输入数据的一数据类型,决定是否对原始输入数据执行视窗作业系统的核心处理程序;以及于原始输入数据的数据类型表示一触控数据时,决定不执行核心处理程序,直接将原始输入数据送至应用程序。其中,触控数据通过触控式输入单元产生。An embodiment of the present invention provides a method for processing input data, which is suitable for an electronic device with a touch input unit, wherein the electronic device runs a Windows operating system. The input data processing method comprises the following steps: receiving an original input data of an application program; before executing a core processing program of the Windows operating system, deciding whether to execute the Windows operating system on the original input data according to a data type of the original input data core processing program; and when the data type of the original input data represents a touch data, it is decided not to execute the core processing program, and directly send the original input data to the application program. Wherein, the touch data is generated by the touch input unit.

本发明实施例另提供一种输入数据管理系统,适用于具有一触控式输入单元的一电子装置,至少包括一视窗作业系统、一应用程序、一输入单元以及一过滤单元。视窗作业系统执行一核心处理程序。输入单元产生相应应用程序的一原始输入数据。过滤单元耦接至该输入单元、视窗作业系统以及应用程序,用以接收原始输入数据,于视窗作业系统的一核心处理程序执行之前,依据原始输入数据的一数据类型,决定是否对原始输入数据执行该视窗作业系统的核心处理程序,并于原始输入数据的数据类型表示一触控数据时,决定不执行核心处理程序,直接将原始输入数据送至应用程序。其中,输入单元至少包括触控式输入单元并且触控数据通过触控式输入单元产生。The embodiment of the present invention further provides an input data management system, which is suitable for an electronic device with a touch input unit, and at least includes a window operating system, an application program, an input unit and a filter unit. The Windows operating system executes a kernel processing program. The input unit generates an original input data corresponding to the application program. The filter unit is coupled to the input unit, the window operating system and the application program, and is used to receive the original input data, and before a core processing program of the window operating system is executed, it is determined whether to process the original input data according to a data type of the original input data Executing the core processing program of the window operating system, and when the data type of the original input data represents a touch data, it is decided not to execute the core processing program, and directly send the original input data to the application program. Wherein, the input unit includes at least a touch input unit, and the touch data is generated through the touch input unit.

本发明上述方法可以通过程序码方式存在。当程序码被机器载入且执行时,机器变成用以实行本发明的装置。The above method of the present invention may exist in the form of program code. When the program code is loaded and executed by the machine, the machine becomes a device for implementing the present invention.

本发明的方法及电子装置可减少取得多点触控数据的反应时间。The method and electronic device of the present invention can reduce the response time for obtaining multi-touch data.

为使本发明的上述和其他目的、特征、和优点能更明显易懂,下文特举出优选实施例,并配合附图,作详细说明如下。In order to make the above and other objects, features, and advantages of the present invention more comprehensible, preferred embodiments are listed below and described in detail in conjunction with the accompanying drawings.

附图说明 Description of drawings

图1显示依据本发明实施例的输入数据管理系统的示意图。FIG. 1 shows a schematic diagram of an input data management system according to an embodiment of the present invention.

图2显示一依据本发明实施例的输入数据的处理方法的流程图。FIG. 2 shows a flow chart of a method for processing input data according to an embodiment of the invention.

图3显示依据本发明另一实施例的输入数据管理系统的示意图。FIG. 3 is a schematic diagram of an input data management system according to another embodiment of the present invention.

图4显示依据本发明另一实施例的输入数据的处理方法的流程图。FIG. 4 shows a flowchart of a method for processing input data according to another embodiment of the present invention.

其中,附图标记说明如下:Wherein, the reference signs are explained as follows:

100、100’~输入数据管理系统;100, 100'~ input data management system;

110~输入单元;110~input unit;

120~过滤单元;120~filter unit;

130~作业系统;130~operating system;

140~应用程序;140 ~ application program;

150~通用界面连接单元;150~universal interface connection unit;

160~动态连结数据库界面单元;160~dynamic link database interface unit;

S202-S206~步骤;S202-S206~steps;

S402-S410~步骤。S402-S410~steps.

具体实施方式 Detailed ways

图1显示依据本发明实施例的输入数据管理系统的示意图。如图1所示,输入数据管理系统100可适用于一电子装置,如个人电脑与可携式装置如个人数字助理、智能手机、行动电话、行动上网装置(Mobile Internet Device,MID)、笔记本电脑或迷你笔记本电脑(Netbook)等等,但不限于此。依据本发明实施例的输入数据管理系统100至少包括一输入单元110、一过滤单元120、一视窗作业系统130以及至少一应用程序140。输入单元110可用以接收一使用者输入。举例来说,输入单元110可为一USB光学滑鼠、一触碰控制单元、或是一键盘等等,但不限于此。使用者可借由操作输入单元110来输入一应用程序所需的原始输入数据,以便执行应用程序。于本实施例中,输入单元110至少包括一触控式输入单元(未示出)以及其他常用的输入装置,例如键盘、滑鼠等等。其中,触控式输入单元是结合一触碰感应装置(未显示)的屏幕。触碰感应装置具有包括至少一维的感应器的触摸式表面,用以检测输入工具,如手指或触控笔等在其表面上的接触与移动。触控式输入单元可以显示相关数据、和/或相关图示与界面等。举例来说,触控式输入单元可为结合一多点触碰感应装置的屏幕,允许使用者通过输入工具如手指或触控笔等进行多点触控输入。特别来说,使用者可通过上述输入工具于触控式输入单元上进行输入,产生一数据类型为一“触控数据”(touch data)的原始输入数据(raw input data)。FIG. 1 shows a schematic diagram of an input data management system according to an embodiment of the present invention. As shown in FIG. 1, the input data management system 100 is applicable to an electronic device, such as a personal computer and portable devices such as personal digital assistants, smart phones, mobile phones, mobile Internet devices (Mobile Internet Device, MID), notebook computers Or a mini-notebook (Netbook), etc., but not limited thereto. The input data management system 100 according to the embodiment of the present invention at least includes an input unit 110 , a filter unit 120 , a windows operating system 130 and at least one application program 140 . The input unit 110 is configured to receive a user input. For example, the input unit 110 can be a USB optical mouse, a touch control unit, or a keyboard, etc., but not limited thereto. The user can input original input data required by an application program by operating the input unit 110 so as to execute the application program. In this embodiment, the input unit 110 includes at least a touch input unit (not shown) and other commonly used input devices, such as a keyboard, a mouse, and so on. Wherein, the touch input unit is a screen combined with a touch sensing device (not shown). The touch sensing device has a touch surface including at least one-dimensional sensors for detecting contact and movement of an input tool, such as a finger or a stylus, on the surface. The touch input unit can display related data, and/or related icons and interfaces. For example, the touch input unit can be a screen combined with a multi-touch sensing device, allowing users to perform multi-touch input through input tools such as fingers or stylus. In particular, the user can input on the touch-sensitive input unit through the above-mentioned input tool to generate a raw input data (raw input data) whose data type is a “touch data”.

过滤单元120耦接至输入单元110,可通过输入单元110接收相应一应用程序的原始输入数据,并且随后依据原始输入数据的数据类型,决定对原始输入数据后续的处理方式。原始输入数据可分为“触控数据”以及触控数据以外的“非触控数据”,其中触控数据表示与触控式输入单元有关的输入数据,亦即通过触控式输入单元所输入的数据。注意的是,由于触控式输入单元上可有各种手势输入行为,为了减少误判机率,可仅对特定的应用程序进行输入数据的过滤。因此,过滤单元120可进一步依据应用程序的一类型,决定是否对原始输入数据执行视窗作业系统的该核心处理程序。过滤单元120可还具有一存储空间,可于判断出一原始输入数据表示一触控数据时,存储上述原始输入数据,以供应用程序140进行存取。视窗作业系统130耦接于过滤单元120,其可执行一核心处理程序,用以将原始输入数据转换为应用程序140所需的数据格式,得到一处理过数据,以当作应用程序140的输入数据。视窗作业系统130可为支援多点触控的视窗作业系统,例如:微软(MicrosoftTM)的Window 7。应用程序140可接收来自过滤单元120的未处理过的原始输入数据或视窗作业系统130的处理过数据,并依据接收到的资讯进行后续的运算处理。过滤单元120可用以执行本申请的输入数据的处理方法,其细节将于后进行说明。The filter unit 120 is coupled to the input unit 110, and can receive the original input data corresponding to an application through the input unit 110, and then determine the subsequent processing method for the original input data according to the data type of the original input data. The original input data can be divided into "touch data" and "non-touch data" other than touch data, wherein the touch data refers to the input data related to the touch input unit, that is, the input data through the touch input unit The data. It should be noted that since various gesture input behaviors can be performed on the touch input unit, in order to reduce the probability of misjudgment, the input data can only be filtered for a specific application program. Therefore, the filtering unit 120 can further determine whether to execute the core processing program of the Windows operating system on the original input data according to a type of the application program. The filter unit 120 may also have a storage space, which can store the above-mentioned original input data for access by the application program 140 when it is determined that the original input data represents a touch data. The Windows operating system 130 is coupled to the filtering unit 120, which can execute a core processing program to convert the original input data into the data format required by the application program 140, and obtain a processed data to be used as the input of the application program 140 data. The Windows operating system 130 may be a Windows operating system supporting multi-touch, such as Windows 7 of Microsoft . The application program 140 can receive unprocessed raw input data from the filtering unit 120 or processed data from the Windows operating system 130, and perform subsequent operations according to the received information. The filtering unit 120 can be used to implement the input data processing method of the present application, the details of which will be described later.

图2显示一依据本发明实施例的输入数据的处理方法的流程图。请同时参照图1与图2。依据本发明实施例的输入数据的处理方法可以应用于输入数据管理系统100上,用以通过通用对原始输入数据进行进一步的判断以及相关管理。FIG. 2 shows a flow chart of a method for processing input data according to an embodiment of the invention. Please refer to Figure 1 and Figure 2 at the same time. The input data processing method according to the embodiment of the present invention can be applied to the input data management system 100 for further judgment and related management on the original input data through general use.

首先,如步骤S202,过滤单元120接收到一应用程序的一原始输入数据。举例来说,输入单元110可产生相应应用程序140的一原始输入数据并传送至过滤单元120,使得过滤单元120可接收上述原始输入数据。First, in step S202, the filtering unit 120 receives a raw input data of an application program. For example, the input unit 110 can generate a raw input data corresponding to the application program 140 and send it to the filtering unit 120 so that the filtering unit 120 can receive the raw input data.

接着,如步骤S204,过滤单元120于视窗作业系统130的一核心处理程序执行之前,依据原始输入数据的一数据类型,决定是否对原始输入数据执行视窗作业系统130的核心处理程序。于此步骤中,过滤单元120可依据原始输入数据的数据类型,判断原始输入数据是否为一触控数据。其中,原始输入数据可还具有一标示数据,用以标示其是否为一触控数据。过滤单元120可依据此标示数据,决定原始输入数据是否表示一触控数据。于一实施例中,触控数据是指多点触控数据。于一实施例中,过滤单元120也可依据应用程序的类型,决定是否对原始输入数据执行上述核心处理程序,可仅对特定的应用程序进行输入数据的过滤。于判定原始输入数据的数据类型表示一触控数据时,如步骤S206,过滤单元120决定不执行上述核心处理程序,直接将未处理过的原始输入数据送至应用程序140(步骤S406)。因此,应用程序140可直接利用原始输入数据进行后续的处理。由于过程中无须经由作业系统的核心处理程序的复杂处理,因此可减少应用程序取得触控数据的反应时间,使应用程序可快速地取得触控数据。Next, in step S204, the filtering unit 120 determines whether to execute the core processing program of the Windows operating system 130 on the original input data according to a data type of the original input data before executing a kernel processing program of the Windows operating system 130. In this step, the filtering unit 120 can determine whether the original input data is touch data according to the data type of the original input data. Wherein, the original input data may further have a mark data for marking whether it is a touch data. The filtering unit 120 can determine whether the original input data represents a touch data according to the marking data. In one embodiment, the touch data refers to multi-touch data. In an embodiment, the filtering unit 120 may also determine whether to execute the above-mentioned core processing program on the original input data according to the type of the application program, and may only filter the input data for a specific application program. When it is determined that the data type of the original input data represents a touch data, in step S206, the filter unit 120 decides not to execute the above core processing program, and directly sends the unprocessed original input data to the application program 140 (step S406). Therefore, the application program 140 can directly use the original input data for subsequent processing. Since the process does not need to go through the complicated processing of the core processing program of the operating system, the reaction time for the application program to obtain the touch data can be reduced, so that the application program can quickly obtain the touch data.

反之,若判定原始输入数据的数据类型表示触控数据之外的数据时,例如一滑鼠或键盘输入数据等,过滤单元120便决定依据正常的程序,通知视窗作业系统130执行上述核心处理程序,以得到一处理过数据,之后,视窗作业系统130再将上述处理过数据送至应用程序140,作为应用程序140的输入数据。因此,应用程序140可利用处理过数据进行后续的处理。Conversely, if it is determined that the data type of the original input data represents data other than touch data, such as a mouse or keyboard input data, etc., the filtering unit 120 determines to notify the Windows operating system 130 to execute the above-mentioned core processing program according to a normal procedure. , to obtain a processed data, and then the Windows operating system 130 sends the processed data to the application program 140 as input data of the application program 140 . Therefore, the application program 140 can utilize the processed data for subsequent processing.

于一实施例中,输入数据管理系统100可更提供一通用界面连接单元,用以连接具有相同界面的输入单元110。举例来说,于一实施例中,通用界面连接单元为一USB界面的连接器,用以连接具有相同USB界面的触控式输入单元及其他输入单元例如USB键盘或滑鼠等,而输入单元110为具有USB界面的一触控式输入单元。此外,于判定原始输入数据的数据类型表示触控数据时,过滤单元120可进一步存储原始输入数据于其存储空间中,以供应用程序140进行存取。于一些实施例中,输入数据管理系统100可更提供一个动态连结数据库(DLL)界面单元,使得应用程序140可通过此动态连结数据库界面单元所提供的界面产生一独立执行线程,并借由一些既定的输入/输出控制命令,以与过滤单元120进行即时通信。请参照图3。In one embodiment, the input data management system 100 may further provide a universal interface connection unit for connecting the input unit 110 with the same interface. For example, in one embodiment, the universal interface connection unit is a USB interface connector for connecting a touch input unit with the same USB interface and other input units such as a USB keyboard or mouse, and the input unit 110 is a touch input unit with a USB interface. In addition, when determining that the data type of the original input data represents touch data, the filtering unit 120 may further store the original input data in its storage space for access by the application program 140 . In some embodiments, the input data management system 100 can further provide a dynamic link database (DLL) interface unit, so that the application program 140 can generate an independent execution thread through the interface provided by the dynamic link database interface unit, and through some Predetermined input/output control commands for instant communication with the filter unit 120 . Please refer to Figure 3.

图3显示依据本发明另一实施例的输入数据管理系统的示意图。图3的输入数据管理系统100’与图1的输入数据管理系统100相似,差别在于输入数据管理系统100’多了一通用界面连接单元150以及一动态连结数据库界面单元160。其中,通用界面连接单元150介于输入单元110以及过滤单元120之间,其具有一通用界面,用以连接具有相同通用界面的输入单元110,并使过滤单元120得到具有相应通用界面的一特定数据格式的输入数据。其中,原始输入数据可于过滤单元120接收之前,先经由通用界面连接单元150的通用界面驱动程序例如USB驱动程序,指定原始输入数据的数据类型。于本实施例中,通用界面驱动程序可将数据分为“触控数据”以及触控数据以外的“非触控数据”,其中触控数据表示与触控式输入单元有关的输入数据,亦即通过触控式输入单元所输入的数据。FIG. 3 is a schematic diagram of an input data management system according to another embodiment of the present invention. The input data management system 100' of FIG. 3 is similar to the input data management system 100 of FIG. Wherein, the universal interface connection unit 150 is interposed between the input unit 110 and the filter unit 120, and has a universal interface for connecting the input unit 110 with the same universal interface, and enables the filter unit 120 to obtain a specific interface with the corresponding universal interface. Input data in data format. Wherein, before the original input data is received by the filter unit 120 , the data type of the original input data can be specified through the universal interface driver of the universal interface connection unit 150 , such as a USB driver. In this embodiment, the universal interface driver can divide the data into "touch data" and "non-touch data" other than touch data, wherein the touch data represents the input data related to the touch input unit, and also That is, the data input through the touch input unit.

动态连结数据库界面单元160介于过滤单元120以及应用程序140之间,以使得应用程序140可与过滤单元120进行即时通信。于一实施例中,应用程序140可通过一拉取方式(pulling)与过滤单元120进行通信,亦即,应用程序140会持续检测过滤单元120的存储空间,当一发现有检测到“触控数据”时便会主动进行提取。于另一实施例中,应用程序140可通过一轮询方式(polling)与过滤单元120进行通信,亦即,应用程序140可周期性地于固定时间检测过滤单元120的存储空间是否有任何待读取的“触控数据”,并且于发现有待读取的“触控数据”时主动进行提取。于又一实施例中,过滤单元120可于检测到“触控数据”时,主动发出一触发信号告知应用程序140来提取,致使应用程序140相应此触发信号而由过滤单元120的存储空间中读出“触控数据”。The dynamic link database interface unit 160 is interposed between the filtering unit 120 and the application program 140 so that the application program 140 can communicate with the filtering unit 120 in real time. In one embodiment, the application program 140 can communicate with the filter unit 120 through a pulling method (pulling), that is, the application program 140 will continuously detect the storage space of the filter unit 120, and when a "touch data" will be actively extracted. In another embodiment, the application program 140 can communicate with the filter unit 120 by polling, that is, the application program 140 can periodically check at a fixed time whether the storage space of the filter unit 120 has any pending The read "touch data" is actively extracted when the "touch data" to be read is found. In yet another embodiment, when the filtering unit 120 detects the “touch data”, it can actively send a trigger signal to inform the application program 140 to extract it, so that the application program 140 corresponding to the trigger signal will be stored in the storage space of the filtering unit 120. Read out "touch data".

图4显示依据本发明另一实施例的输入数据的处理方法的流程图。请同时参照图3与图4。依据本发明实施例的输入数据的处理方法可以应用于输入数据管理系统100’上,用以通过通用界面连接单元接收原始输入数据并且进行进一步的判断以及相关管理。FIG. 4 shows a flowchart of a method for processing input data according to another embodiment of the present invention. Please refer to Figure 3 and Figure 4 at the same time. The input data processing method according to the embodiment of the present invention can be applied to the input data management system 100' to receive the original input data through the universal interface connection unit and perform further judgment and related management.

首先,如步骤S402,过滤单元120通过通用界面连接单元150接收到一应用程序的一原始输入数据。举例来说,输入单元110可产生相应应用程序140的一特定界面格式的原始输入数据,而过滤单元120可通过通用界面连接单元150接收符合上述特定界面格式的上述原始输入数据。First, in step S402 , the filtering unit 120 receives a raw input data of an application program through the universal interface connection unit 150 . For example, the input unit 110 can generate original input data corresponding to a specific interface format of the application program 140 , and the filter unit 120 can receive the above-mentioned original input data conforming to the specific interface format through the universal interface connection unit 150 .

接着,如步骤S404,过滤单元120依据原始输入数据的数据类型,判断原始输入数据是否为一触控数据。其中,原始输入数据可还具有一标示数据,用以标示其是否为一触控数据。过滤单元120可依据此标示数据,决定原始输入数据是否表示一触控数据。于一实施例中,触控数据是指多点触控数据。若判定原始输入数据的数据类型表示一触控数据时(步骤S404的是),过滤单元120便不执行上述核心处理程序,直接通过动态连结数据库界面单元160的界面来与应用程序140进行互动,将原始输入数据送至应用程序140(步骤S406),作为应用程序140的输入数据。举例来说,过滤单元120以及应用程序140可通过动态连结数据库界面单元160以上述的拉取方式、轮询方式或触发方式来彼此进行通信。因此,应用程序140可直接利用原始输入数据进行后续的处理。由于过程中无须经由作业系统的核心处理程序的复杂处理,因此可减少应用程序取得触控数据的反应时间,使应用程序可快速地取得触控数据。Next, in step S404, the filtering unit 120 determines whether the original input data is touch data according to the data type of the original input data. Wherein, the original input data may further have a mark data for marking whether it is a touch data. The filtering unit 120 can determine whether the original input data represents a touch data according to the marking data. In one embodiment, the touch data refers to multi-touch data. If it is determined that the data type of the original input data represents a touch data (Yes in step S404), the filter unit 120 does not execute the above-mentioned core processing program, and directly interacts with the application program 140 through the interface of the dynamic link database interface unit 160, Send the original input data to the application program 140 (step S406 ), as the input data of the application program 140 . For example, the filtering unit 120 and the application program 140 can communicate with each other through the dynamic link database interface unit 160 in the above-mentioned pulling method, polling method or triggering method. Therefore, the application program 140 can directly use the original input data for subsequent processing. Since the process does not need to go through the complicated processing of the core processing program of the operating system, the reaction time for the application program to obtain the touch data can be reduced, so that the application program can quickly obtain the touch data.

反之,若判定原始输入数据的数据类型表示触控数据之外的数据时(步骤S404的否),例如一滑鼠或键盘输入数据等,过滤单元120便依据正常的程序,通知视窗作业系统130执行上述核心处理程序,以得到一处理过数据(步骤S408),之后,视窗作业系统130再将上述处理过数据送至应用程序140(步骤S410),作为应用程序140的输入数据。因此,应用程序140可利用处理过数据进行后续的处理。On the contrary, if it is determined that the data type of the original input data represents data other than touch data (No in step S404), such as a mouse or keyboard input data, etc., the filtering unit 120 will notify the Windows operating system 130 according to the normal procedure Execute the core processing program to obtain a processed data (step S408 ), and then the Windows operating system 130 sends the processed data to the application program 140 (step S410 ), as the input data of the application program 140 . Therefore, the application program 140 can utilize the processed data for subsequent processing.

以下列举一实施例,用以辅助说明依据本发明的输入数据的处理方法细节,但本发明并不限于此。于以下实施例,假设输入数据管理系统100中至少包括一USB界面的一多点触控式输入单元以及一USB滑鼠的输入单元110,而输入单元110可用以产生相应应用程序140的一原始输入数据,但不限于此。于本实施例中,当使用者通过USB滑鼠进行输入时,过滤单元120将接收到一数据类型为“非触控数据”的原始输入数据,于是,便依据正常的程序,通知视窗作业系统130执行一核心处理程序,以得到一处理过数据,再将处理过的数据送至应用程序140。反之,当使用者通过多点触控式输入单元进行输入时,过滤单元120将接收到一数据类型为“触控数据”的原始输入数据,于是,便决定不执行视窗作业系统130的一核心处理程序,直接将原始输入数据送至应用程序140。An example is listed below to help explain the details of the input data processing method according to the present invention, but the present invention is not limited thereto. In the following embodiments, it is assumed that the input data management system 100 includes at least a multi-touch input unit of a USB interface and an input unit 110 of a USB mouse, and the input unit 110 can be used to generate an original of the corresponding application program 140 Enter data, but not limited to. In this embodiment, when the user inputs through the USB mouse, the filter unit 120 will receive a raw input data whose data type is "non-touch data", and then notify the Windows operating system according to the normal procedure 130 executes a core processing program to obtain processed data, and then sends the processed data to the application program 140 . Conversely, when the user inputs through the multi-touch input unit, the filter unit 120 will receive a raw input data whose data type is “touch data”, and then decide not to execute a kernel of the Windows operating system 130 The processing program sends the raw input data directly to the application program 140 .

因此,依据本发明的输入数据的处理方法及其相关的输入数据管理系统,可于接收到来自电子装置(例如:多点触控装置)的输入信号时,依据其数据类型标示数据,判断是否为一“触控数据”,若是,则直接将其存储于过滤单元的存储空间内,并且通过过滤单元将触控数据传送至应用程序当作输入数据进行进一步处理,过程中无须经由视窗作业系统的核心处理程序,使得应用程序可以很快地得到触控数据进行进一步的运算,可有效缩短其反应时间,快速地取得多点触控数据。Therefore, according to the input data processing method and the related input data management system of the present invention, when receiving an input signal from an electronic device (for example: a multi-touch device), it can judge whether the data is marked according to its data type. If it is a "touch data", it will be directly stored in the storage space of the filter unit, and the touch data will be sent to the application program as input data through the filter unit for further processing, without going through the Windows operating system in the process The core processing program of the application program can quickly obtain the touch data for further calculation, which can effectively shorten its response time and quickly obtain multi-touch data.

本发明的方法,或特定型态或其部份,可以以程序码的型态存在。程序码可以包含于实体媒体,如软盘、光盘、硬盘、或是任何其他机器可读取(如电脑可读取)存储媒体,亦或不限于外在形式的电脑程序产品,其中,当程序码被机器,如电脑载入且执行时,此机器变成用以参与本发明的装置。程序码也可通过一些传送媒体,如电线或电缆、光纤、或是任何传输型态进行传送,其中,当程序码被机器,如电脑接收、载入且执行时,此机器变成用以参与本发明的装置。当在一般用途处理单元实作时,程序码结合处理单元提供一操作类似于应用特定逻辑电路的独特装置。The method of the present invention, or specific forms or parts thereof, may exist in the form of program codes. The program code may be contained in a physical medium, such as a floppy disk, a CD, a hard disk, or any other machine-readable (such as a computer-readable) storage medium, or a computer program product not limited to an external form, wherein, when the program code When loaded and executed by a machine, such as a computer, the machine becomes a device for participating in the present invention. The program code may also be transmitted through some transmission medium, such as wire or cable, optical fiber, or any transmission type in which when the program code is received, loaded, and executed by a machine, such as a computer, the machine becomes used to participate in the Device of the present invention. When implemented on a general-purpose processing unit, the program code combines with the processing unit to provide a unique device that operates similarly to application-specific logic circuits.

虽然本发明已以优选实施例揭示如上,然而其并非用以限定本发明,任何本领域技术人员,在不脱离本发明的精神和范围内,当可做些许更动与润饰,因此本发明的保护范围当视随附的权利要求所界定的范围为准。Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection should be determined by the scope defined by the appended claims.

Claims (16)

1. disposal route of inputting data is applicable to have an electronic installation of a touch input block, and wherein this electronic installation moves a windows workspace system, and it comprises the following steps:
Receive an original input data of an application program;
Before a core processing program of this windows workspace system is carried out, according to a data type of this original input data, determine whether this original input data to be carried out this core processing program of this windows workspace system; And
When these data types to express one touch-control data of this original input data, determine not carry out this core processing program, directly this original input data is delivered to this application program;
Wherein this touch-control data communication device is crossed this touch input block generation.
2. the disposal route of input data as claimed in claim 1 also comprises:
According to a type of this application program, determine whether this original input data to be carried out this core processing program of this windows workspace system.
3. the disposal route of input data as claimed in claim 1 also comprises:
During data outside these touch-control data of this data types to express of this original input data, determine to carry out this core processing program, processed data to obtain one, and this was processed data deliver to this application program.
4. the disposal route of input data as claimed in claim 1 or 2 also comprises:
When these touch-control data of this data types to express of this original input data, store this original input data in a storage space of a filter element.
5. the disposal route of input data as claimed in claim 4, wherein this step of directly this original input data being delivered to this application program comprises:
This application program checks periodically with a polling mode in this storage space of this filter element whether this original input data to be read is arranged, if read immediately this original input data.
6. the disposal route of input data as claimed in claim 4, wherein this step of directly this original input data being delivered to this application program comprises:
In this storage space of this filter element of the lasting detection of this application program whether any this original input data to be read is arranged, if read immediately this original input data.
7. the disposal route of input data as claimed in claim 6 also comprises:
One dynamic link database interface unit is provided, with so that this application program is passed through an independent execution thread, in this storage space of lasting this filter element of detection whether this original input data to be read is arranged.
8. the disposal route of input data as claimed in claim 4, wherein this step of directly this original input data being delivered to this application program comprises:
When these touch-control data of this data types to express of this original input data, this filter element sends a trigger pip to this application program, causes this application program should trigger pip read this original input data to this storage space of this filter element mutually.
9. input data management system for one kind, be applicable to have an electronic installation of a touch input block, comprising:
One windows workspace system is in order to carry out a core processing program;
One application program;
One input block, in order to produce mutually should application program an original input data; And
One filter element, be coupled to this input block, this windows workspace system and this application program, in order to receive this original input data, before a core processing program of this windows workspace system is carried out, data type according to this original input data, determine whether this original input data to be carried out this core processing program of this windows workspace system, and when these data types to express one touch-control data of this original input data, determine not carry out this core processing program, directly this original input data is delivered to this application program, wherein this input block comprises that at least this touch input block and this touch-control data communication device cross this touch input block and produce.
10. input data management system as claimed in claim 9, wherein this filter element is more during the data outside these touch-control data of this data types to express of this original input data, notify this windows workspace system to carry out this core processing program, processed data to obtain one, and this was processed data deliver to this application program.
11. such as claim 9 or 10 described input data management systems, wherein this filter element more when these touch-control data of this data types to express of this original input data, is stored this original input data in a storage space of this filter element.
12. input data management system as claimed in claim 11, also comprise a dynamic link database interface unit, between this filter element and this application program, with so that this application program by an independent execution thread, in this storage space of lasting this filter element of detection whether this original input data to be read is arranged, if read immediately this original input data.
13. such as claim 9 or 10 described input data management systems, also comprise a General Purpose Interface linkage unit, between this filter element and this input block, it has a General Purpose Interface, have this input block of this General Purpose Interface in order to connection, and make this filter element obtain having mutually this original input data of a format that should General Purpose Interface.
14. input data management system as claimed in claim 13, wherein this General Purpose Interface linkage unit comprises a USB connector.
15. such as claim 9 or 10 described input data management systems, wherein this windows workspace system is the windows workspace system of a support multi-point touch.
16. input data management system as claimed in claim 9, wherein this filter element is also according to a type of this application program, determines whether this original input data to be carried out this core processing program of this windows workspace system.
CN201110205364XA 2011-07-18 2011-07-18 Input data processing method and related input data management system Pending CN102890597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110205364XA CN102890597A (en) 2011-07-18 2011-07-18 Input data processing method and related input data management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110205364XA CN102890597A (en) 2011-07-18 2011-07-18 Input data processing method and related input data management system

Publications (1)

Publication Number Publication Date
CN102890597A true CN102890597A (en) 2013-01-23

Family

ID=47534115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110205364XA Pending CN102890597A (en) 2011-07-18 2011-07-18 Input data processing method and related input data management system

Country Status (1)

Country Link
CN (1) CN102890597A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86108498A (en) * 1986-01-17 1987-08-05 国际商用机器公司 Virtual terminal monitor mode
CN101118472A (en) * 2006-07-31 2008-02-06 联想移动通信科技有限公司 Device and method supporting hand-written input and keyboard input
CN101498973A (en) * 2008-01-30 2009-08-05 义隆电子股份有限公司 Touch interpretation framework and method for touch application program through multi-finger gesture
CN101887336A (en) * 2010-07-15 2010-11-17 汉王科技股份有限公司 Multipoint touch device and method for carrying out multipoint touch detection on same
US20110080360A1 (en) * 2009-10-02 2011-04-07 Dedo Interactive Inc. Universal touch input driver

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN86108498A (en) * 1986-01-17 1987-08-05 国际商用机器公司 Virtual terminal monitor mode
CN101118472A (en) * 2006-07-31 2008-02-06 联想移动通信科技有限公司 Device and method supporting hand-written input and keyboard input
CN101498973A (en) * 2008-01-30 2009-08-05 义隆电子股份有限公司 Touch interpretation framework and method for touch application program through multi-finger gesture
US20110080360A1 (en) * 2009-10-02 2011-04-07 Dedo Interactive Inc. Universal touch input driver
CN101887336A (en) * 2010-07-15 2010-11-17 汉王科技股份有限公司 Multipoint touch device and method for carrying out multipoint touch detection on same

Similar Documents

Publication Publication Date Title
US8355007B2 (en) Methods for use with multi-touch displays for determining when a touch is processed as a mouse event
CN102004576B (en) Information processing apparatus, information processing method, and program
US9152529B2 (en) Systems and methods for dynamically altering a user interface based on user interface actions
US9632693B2 (en) Translation of touch input into local input based on a translation profile for an application
US20120304199A1 (en) Information processing apparatus, information processing method, and computer program
EP3736722B1 (en) Screen capturing method and apparatus
CN102207812B (en) Touch electronic device and multi-window management method thereof
CN102422264A (en) Event recognition
CN104808942A (en) Touch Event Processing for Web Pages
JP2013025797A (en) Gesture recognition method and touch system for achieving the method
CN104123180A (en) Interrupt control method and electronic system thereof
CN109766196A (en) A task scheduling method, device and equipment
CN102768595B (en) A kind of method and device identifying touch control operation instruction on touch-screen
US20180164912A1 (en) Simulating multi-touch events on a browser system
US11204653B2 (en) Method and device for handling event invocation using a stylus pen
US20090256803A1 (en) System and method for providing simulated mouse drag and click functions for an electronic device
CN116483246A (en) An input control method, device, electronic equipment and storage medium
CN104252254A (en) Method for selecting touch input source and electronic device
US20120013551A1 (en) Method for interacting with an application in a computing device comprising a touch screen panel
CN108628529B (en) Method and apparatus for spot angular orientation identification in a touch device
TWI638282B (en) Mobile device, computer input system and computer program product
CN102890597A (en) Input data processing method and related input data management system
CN101667111B (en) Display device and control method thereof
US10809850B2 (en) Touch event processing method and touchscreen apparatus
WO2015093044A1 (en) Information processing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130123