USPatent applicationPatented

Method for transmitting touch panel data

Granted 10 Jun 2014 · 1 office action

Life of the application

8 dated events
⤢ drag to zoom20122014201620182020202220242026202820302032ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method for transmitting touch panel data is provided. The method is adapted for transmitting coordinate data of at least a touch point being touched on the touch panel and includes the following procedures. The at least coordinate data is compressed. A serial data transmission interface command and a serial data transmission interface client address are appended in front of the compressed at least coordinate data, such that the compressed at least coordinate data is encapsulated into a serial transmission data packet. In addition, the serial transmission data packet is transmitted through a serial data transmission channel.

Description

7 parts
›CROSS-REFERENCE TO RELATED APPLICATION

This application claims the priority benefit of Taiwan application serial no. 99133387, filed Sep. 30, 2010. The entirety of the above-mentioned patent application is hereby incorporated by reference herein and made a part of this specification.

›BACKGROUND

1. Field of the Invention

The invention relates to a method for transmitting touch panel data, and particularly, relates to a method for transmitting touch panel data capable of improving transmission efficiency of coordinate data of a multi-touch panel.

2. Description of Related Art

Operation application of a touch panel is developed towards a trend of multi-touch, which represents that a number of touch points supported by a control unit is increased, even increased by dozens to support operations of multiple users on a same touch panel. However, regarding a serial data transmission method used by the current touch panel, when a large amount of touch coordinate data is transmitted to an operating system of the touch panel device, the amount of the touch coordinate data is increased by multiple times, a communication time is correspondingly increased, so that operation performance of the touch panel device is decreased.

Moreover, since touch coordinate data transmission methods of the touch panels used by various manufactures apply different packet formats, developing time and labour cost for integrating the touch panel to an electronic device are increased. Therefore, it is an important issue to use a standardized packet format and a standardized communication protocol for transmitting touch coordinate data, so as to improve transmission efficiency of the coordinate data of the multi-touch panel.

›SUMMARY OF THE INVENTION

The invention is directed to a method for transmitting touch panel data, which can improve transmission efficiency of multi-touch coordinate data, and a standardized packet format and communication protocol can be used to reduce developing time and cost thereof.

According to an embodiment of the invention, a method for transmitting touch panel data is proposed, which is adapted for transmitting coordinate data of at least one touch point being touched on a touch panel, and includes the following procedures. Coordinate data is compressed. A serial data transmission interface command and a serial data transmission interface client address are appended in front of the compressed at least one coordinate data, such that the compressed coordinate data is encapsulated into a serial transmission data packet. In addition, the serial transmission data packet is transmitted through a serial data transmission channel.

In order to make the aforementioned and other features and advantages of the invention comprehensible, several exemplary embodiments accompanied with figures are described in detail below.

›BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings are included to provide a further understanding of the invention, and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

FIG. 1 is a schematic diagram illustrating a touch panel module and an electronic device according to an embodiment of the invention.

FIG. 2 is a flowchart illustrating a method for transmitting touch panel data according to an embodiment of the invention.

FIG. 3 is a flowchart illustrating a method for transmitting touch panel data according to another embodiment of the invention.

FIG. 4 is a flowchart illustrating a method for determining touch coordinate data according to an embodiment of the invention.

FIG. 5 is a flowchart illustrating a method for compressing coordinate data according to an embodiment of the invention.

FIG. 6 is a flowchart illustrating a method for transmitting a serial transmission data packet according to an embodiment of the invention.

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 1 of 3

FIG. 1 is a schematic diagram illustrating a touch panel module 110 and an electronic device 120 according to an embodiment of the invention. Referring to FIG. 1 , the touch panel module 110 at least includes a touch panel 112 , a control module 114 and a serial data transmission interface 116 . The electronic device 120 at least includes a serial data transmission interface 122 , a transceiver module 124 and an operating system 126 . The operating system 126 is stored in a memory module (not shown) of the electronic device 120 , and is executed by a processor module (not shown) of the electronic device 120 . The electronic device 120 is, for example, a computer, a mobile phone, a smart phone, a notebook computer, a television, a display screen or a display device, etc. The invention is not limited thereto, and in other embodiments, the touch panel module 110 and the electronic device 120 can be integrated into one device.

Referring to FIG. 1 , the touch panel 112 is configured for detecting touch operation of a user, and the touch operation is, for example, a finger touch. The control module 114 is coupled to the touch panel 112 for receiving real coordinates from the touch panel 112 , and determining whether or not to compress coordinate data of the true coordinates. The control module 114 further encapsulates the coordinate data or the compressed coordinate data into a serial transmission data packet. The control module 114 may include a processor (or a control chip) and may include a compression encoder chip or a software program, a firmware program or command which is used for determining whether the coordinate data is greater than a predetermined threshold.

By using the processor or the compression encoder chip to compress multi-touch coordinate data, a transmission efficiency of the multi-touch coordinate data within a fixed transmission time can be greatly improved. A data compression method supported by the control module 114 is, for example, a minimum redundancy coding method, a Shannon-Fano algorithm, or a Huffman algorithm. However the invention is not limited thereto, and in other embodiments, other data compression algorithms and dictionary methods (for example, a LZ77 algorithm) can be used to compress the coordinate data.

The serial data transmission interface 116 of the touch panel module 110 is connected to the serial data transmission interface 122 through a serial data transmission channel (or a serial data transmission bus) of the electronic device 120 .

The serial data transmission interface is, for example, an inter-integrated circuit (referred to as an I2C data transmission interface), a four-wire serial bus interface (referred to as a SPI data transmission interface) or a universal serial bus (USB) interface. The control module 114 encapsulates the compressed coordinate data or the uncompressed original coordinate data into a serial transmission data packet, and a format of the serial transmission data packet is introduced in accordance with Table I and Table II shown below.

As shown in the Table I, after the control module 114 has completed compressing the coordinate data, the compressed coordinate data is encapsulated (or integrated) into a serial transmission data packet. Such serial transmission data packet is a first type serial transmission data packet, and the serial data transmission interface client address thereof is, for example, 3 bytes, and each compressed coordinate data is, for example, 6 bytes. The compressed coordinate data is a plurality of coordinate data detected by the touch panel module 110 at a same time. For example, the user's 10 fingers touch the touch panel 112 at the same time to generate coordinate data of 10 touch points, and the control module 114 determines these coordinate data. After theses 10 coordinate data are determined to be compressed, the control module 114 appends the serial data transmission interface client address and the serial data transmission interface command in front of the compressed coordinate data, so as to produce the first type serial transmission data packet.

When the control module 114 does not compress the coordinate data, a format of the transmitted data is a second type serial transmission data packet shown in the Table II, and each of the uncompressed coordinate data is, for example, 10 bytes. However the invention is not limited thereto, and the serial transmission data packet may further include a parity check code to ensure correctness of the packet during the transmission.

The transceiver module 124 of the electronic device 120 is coupled to the control module 114 through the serial data transmission interface 116 and the serial data transmission interface 122 for receiving the coordinate data, decompresses the compressed coordinate data to obtain usable coordinate data, and provides a positive acknowledgement (ACK) or a negative ACK (NACK) to the control module 114 , so as to implement a packet retransmission mechanism. The transceiver module 124 may include a processor (or a control chip), and may include a processor chip, a decompression chip, a decoder chip, and a software program, a firmware program or command which is used for determining whether the serial transmission data packet is correct. Moreover, the transceiver module 124 is coupled to the operating system 126 , and provides the usable coordinate data to the operating system 126 , and the coordinate data is suitably processed by the operating system 126 or an application program (not shown) being operated in the operating system 126 .

FIG. 2 is a flowchart illustrating a method 200 for transmitting touch panel data according to an embodiment of the invention. Referring to FIG. 1 and FIG. 2 , the method 200 for transmitting touch panel data roughly includes following steps. The control module 114 determines touch coordinates on the touch panel 112 (step S 202 ). The control module 114 compresses the coordinate data (step S 204 ). The control module 114 encapsulates the compressed coordinate data into a serial transmission data packet (step S 206 ). The control module 114 transmits the serial transmission data packet through the serial data transmission channel (step S 208 ). The transceiver module 124 receives the serial transmission data packet, and decodes the compressed coordinate data (step S 210 ), and obtains usable coordinate data (step S 212 ). The compressed data packet is the serial transmission data packet shown in Table I.

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 2 of 3

FIG. 3 is a flowchart illustrating a method 300 for transmitting touch panel data according to another embodiment of the invention. Referring to FIG. 1 and FIG. 3 , the method 300 for transmitting touch panel data is similar to the method 200 for transmitting touch panel data, though a step of determining whether or not to compress the coordinate data is added. Therefore, when an amount of the coordinate data is relatively less, i.e., an amount of the coordinates being touched is relatively less, the control module 114 can transmit the coordinate data in an energy efficient approach. The uncompressed data packet is the serial transmission data packet shown in Table II.

The method 300 for transmitting touch panel data includes following steps. Started by a step S 302 , the control module 114 determines touch coordinates on the touch panel 112 (step S 302 ). The control module 114 determines whether an amount of data of the touch coordinates is greater than a data amount threshold (step S 304 ), and the data amount threshold is, for example, 30 bytes. If the amount of data of the touch coordinates is smaller than the data amount threshold, a step S 306 is executed after the step S 304 , i.e., the control module 114 does not compress the touch coordinate data, and encapsulates the touch coordinate data into a serial transmission data packet (the serial transmission data packet shown in Table II). The control module 114 transmits the serial transmission data packet having the uncompressed touch coordinate data through the serial data transmission channel (step S 310 ). The transceiver module 124 receives the serial transmission data packet (step S 312 ), and obtains usable coordinate data (step S 318 ). After the step S 318 , the method 300 for transmitting touch panel data is ended.

If the amount of data of the touch coordinates is greater than the data amount threshold, after the step S 304 , the steps S 308 , S 314 , S 316 and S 318 are executed, and the above steps are identical to the steps S 204 , S 206 , S 208 and S 210 of FIG. 1 , so that detailed descriptions thereof are not repeated.

FIG. 4 is a detailed flowchart illustrating a method 400 for determining touch coordinate data corresponding to the step S 202 of FIG. 2 and the step S 302 of FIG. 3 according to an embodiment of the invention. Referring to FIG. 1 to FIG. 4 , it is assumed that the touch panel 112 has a resolution of 5×6. The method 400 for determining touch panel data includes following steps. Positions Y 1 -Y 6 (positions along a vertical axis direction) on the touch panel 112 sequentially send pulse width modulation signals (step S 402 ). Positions X 1 -X 5 (positions along a horizontal axis direction) on the touch panel 112 sequentially read analog-to-digital conversion (ADC) signals (step S 404 ). The positions X 1 -X 5 on the touch panel 112 sequentially determine the ADC signals (step S 406 ), and the touch panel 112 determines whether the current ADC signal is greater than a trigger level (step S 408 ). If the current ADC signal is greater than the trigger level, the touch panel 112 sends the currently corresponding touch coordinate data (S 410 ), and the method 400 for determining touch panel data is ended. Conversely, if the current ADC signal is less than the trigger level, the method 400 returns to execute the step S 402 , and the touch panel 112 re-obtains ADC signal of a new cycle, where the cycle is, for example, 0.6 ms.

FIG. 5 is a detailed flowchart illustrating a method 500 for compressing coordinate data corresponding to the step S 204 of FIG. 2 and the step S 308 of FIG. 3 according to an embodiment of the invention. Referring to FIG. 1 to FIG. 5 , the method 500 includes following steps. The control module 114 obtains real coordinate data (Step S 502 ), and the real coordinate data is the at least one touch coordinate data sent by the touch panel 112 in the step S 410 . Then, the control module 114 determines whether the real coordinate data exceeds a detection range (step S 504 ), where the detection range is the resolution of the touch panel 112 . If the real coordinate data does not exceed the detection range, the control module 114 continues to execute the step of compressing the coordinate data (step S 506 ), and the method 500 for compressing coordinate data is ended. Conversely, if the real coordinate data exceeds the detection range, the touch panel 112 determines that such coordinate data as an error, and the method 50 returns to execute the step S 502 for re-obtaining the coordinate data of a new cycle.

For example, it is assumed that the touch panel 112 has a resolution of 5×6, though the received coordinates data is (8, 10), which obviously exceeds a range of a predetermined touch area of the touch panel 112 , so that the control module 114 can determine the received coordinate data as an error. Since the touch panel 112 is liable to be influenced by other electronic devices, processing and transmitting of an erroneous coordinate data can be avoided by executing the method 500 for compressing coordinate data, so as to improve data transmission efficiency.

FIG. 6 is a detailed flowchart illustrating a method 600 for transmitting serial transmission data packets corresponding to the steps S 206 and S 208 of FIG. 2 and the steps S 314 and S 316 of FIG. 3 according to an embodiment of the invention. Referring to FIG. 1 to FIG. 6 , the method 600 includes following steps. The control module 114 appends the serial data transmission interface command in front of the compressed coordinate data (step S 602 ), appends the serial data transmission interface client address in front of the compressed coordinate data (step S 604 ), and determines whether the serial data transmission channel is available for transmitting data (step S 606 ).

Since the serial data transmission channel is shared by the electronic device 120 or a plurality of modules (for example, an audio module, a power management module or a communication protocol processing module) connected to the electronic device 120 , it is not always in an idle state. Only when the control module 114 detects whether the serial data transmission channel is available for transmitting data, the control module 114 transmits the serial transmission data packet through the serial data transmission channel (step S 608 ) and the control module 114 determines whether a message replied by a receiver is a positive acknowledgement (ACK) or a negative ACK (NACK) (step S 610 ). When the control module 114 detects that the serial data transmission channel is not available for transmitting data, the control module 114 keeps waiting or continually detects whether the serial data transmission channel is available for transmitting data.

›DETAILED DESCRIPTION OF DISCLOSED EMBODIMENTS · 3 of 3

When the control module 114 receives the ACK in the step S 610 , the control muddle 114 continues to transmit the serial transmission data packet (step S 612 ), and the method 600 for transmitting the serial transmission data packet is ended. When the control module 114 receives the NACK in the step S 610 , a step S 614 is executed after the step S 610 , in which the control module 114 retransmits the same serial transmission data packet, and the method 600 returns to execute the step S 608 .

A processing flow of the transceiver module 124 is roughly in a reversed order to that of the control module 114 , for example, the transceiver module 124 checks whether the serial data transmission interface client address and the serial data transmission interface command in the received serial transmission data packet are correct, and detects whether the received, decoded or decompressed coordinate value exceeds the predetermined detection range. Since a decompression method is already known by those skilled in the art, detailed description thereof is not repeated.

In summary, according to the method for transmitting touch panel data of the invention, the coordinate data is compressed to reduce a data transmission amount and a transmission time, so as to improve data transmission efficiency of the touch panel. Based on a standardized serial transmission data packet format, developing time and cost can be reduced, and it can be expanded to touch panels of more touch points. Moreover, by determining whether the data amount or the number of coordinates of the coordinate data is greater than a predetermined threshold, it is determined whether the coordinate data is compressed, so as to achieve a power-saving effect when the amount of data transmission is relatively less.

It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the invention cover modifications and variations of this invention provided they fall within the scope of the following claims and their equivalents.

›Tables in the description — 2
TABLE I
Serial data transmissionSerial data transmissionCompressed coordinate
interface client addressinterface commanddata
TABLE II
Serial data transmissionSerial data transmissionUncompressed original
interface client addressinterface commandcoordinate data

Claims as granted

8 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

3 codes
IPC · International Patent Classification
Section G — Physics
  • G06F3/01
USPC · US Patent Classification
710/68710/34

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2011Jul 2011Jan 2012Jul 2012Jan 2013Jul 2013Jan 2014Jul 2014USPTOApplicantNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
3.2 y
1,180 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Cheng-Yuan Tseng
art unit 2184 · TC 2100
Citations: 20 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20122014201620182020202220242026202820302032Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock