TWI787042B - Touch data transmission method, touch data transmission control circuit and information processing device - Google Patents
Touch data transmission method, touch data transmission control circuit and information processing device Download PDFInfo
- Publication number
- TWI787042B TWI787042B TW111100394A TW111100394A TWI787042B TW I787042 B TWI787042 B TW I787042B TW 111100394 A TW111100394 A TW 111100394A TW 111100394 A TW111100394 A TW 111100394A TW I787042 B TWI787042 B TW I787042B
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- interrupt signal
- data transmission
- touch data
- host
- Prior art date
Links
Images
Landscapes
- Communication Control (AREA)
- Position Input By Displaying (AREA)
Abstract
一種觸控裝置之觸控數據傳輸方法,其包括:使一觸控晶片藉由一第一中斷信號線發出一第一中斷信號至一主機;該主機在接到該第一中斷信號後自該觸控晶片讀取觸控資料;以及該主機在接收完該觸控資料時藉由至少一第二中斷信號線發出一第二中斷信號至該觸控晶片。 A touch data transmission method of a touch device, which includes: making a touch chip send a first interrupt signal to a host through a first interrupt signal line; The touch chip reads touch data; and the host sends a second interrupt signal to the touch chip through at least one second interrupt signal line after receiving the touch data.
Description
本發明係有關於觸控裝置,特別是關於一種觸控裝置之觸控數據傳輸方法。The present invention relates to a touch device, in particular to a touch data transmission method of a touch device.
請參照圖1,其為一現有觸控晶片 10與一主機20間之觸控數據傳輸方式之示意圖。如圖1所示,當觸控晶片 10在偵測到一螢幕上有觸控操作而需要報點的時候,觸控晶片 10會使一中斷信號INT呈作用狀態以通知主機20讀取觸控資料,而主機20在監測到中斷信號INT呈作用狀態時即通過I
2C(inter-integrated circuit;積體匯流排電路)或SPI( serial peripheral interface; 串列週邊介面)通信線路自觸控晶片 10讀取該觸控資料。
Please refer to FIG. 1 , which is a schematic diagram of a touch data transmission method between a
然而,在上述的整個通信過程中,若主機20端不能及時回應中斷信號INT的中斷請求,或者在觸控資料的傳輸過程中出現錯誤導致死結(deadlock),觸控晶片 10都無從得知該些資訊,從而降低通信效率。However, in the above-mentioned entire communication process, if the
為解決上述的問題,本領域亟需一新穎的觸控裝置之觸控數據傳輸方法。In order to solve the above problems, there is an urgent need in the art for a novel touch data transmission method of a touch device.
本發明之主要目的在於揭露一種觸控裝置之觸控數據傳輸方法,其可藉由使觸控晶片和主機間以雙向中斷的方式完成觸控資料的傳輸,以避免長時間的等待或死結,從而提升通信效率。The main purpose of the present invention is to disclose a touch data transmission method of a touch device, which can complete the transmission of touch data by bidirectional interruption between the touch chip and the host, so as to avoid long-term waiting or deadlock. Thereby improving communication efficiency.
本發明之另一目的在於揭露一種觸控數據傳輸控制電路,其可藉由上述的觸控數據傳輸方法避免和主機間發生長時間等待或死結的狀況,從而提升通信效率。Another object of the present invention is to disclose a touch data transmission control circuit, which can avoid long-time waiting or deadlock with the host through the above touch data transmission method, thereby improving communication efficiency.
本發明之又一目的在於揭露一種資訊處理裝置,其可藉由上述的觸控數據傳輸控制電路提供操作者平順的觸控體驗。Another object of the present invention is to disclose an information processing device, which can provide the operator with a smooth touch experience through the above-mentioned touch data transmission control circuit.
為達前述目的,一種觸控裝置之觸控數據傳輸方法乃被提出,其包括:To achieve the aforementioned purpose, a touch data transmission method of a touch device is proposed, which includes:
使一觸控晶片藉由一第一中斷信號線發出一第一中斷信號至一主機;making a touch chip send a first interrupt signal to a host through a first interrupt signal line;
該主機在接到該第一中斷信號後自該觸控晶片讀取觸控資料;以及The host reads touch data from the touch chip after receiving the first interrupt signal; and
該主機在接收完該觸控資料時藉由至少一第二中斷信號線發出一第二中斷信號至該觸控晶片。When the host finishes receiving the touch data, it sends a second interrupt signal to the touch chip through at least one second interrupt signal line.
在一實施例中,當該主機在偵測到該觸控資料發生資料傳輸錯誤時,藉由所述至少一第二中斷信號線發出一第三中斷信號至該觸控晶片。In one embodiment, when the host detects that a data transmission error occurs in the touch data, it sends a third interrupt signal to the touch chip through the at least one second interrupt signal line.
在一實施例中,該第一中斷信號和該第二中斷信號均為脈衝信號。In one embodiment, both the first interrupt signal and the second interrupt signal are pulse signals.
在一實施例中,該第二中斷信號包含一第一數目之脈衝,該第三中斷信號包含一第二數目之脈衝,且該第一數目不同於該第二數目。In one embodiment, the second interrupt signal includes a first number of pulses, the third interrupt signal includes a second number of pulses, and the first number is different from the second number.
在一實施例中,該第二中斷信號包含一第一寬度之脈衝,該第三中斷信號包含一第二寬度之脈衝,且該第一寬度不同於該第二寬度。In one embodiment, the second interrupt signal includes a pulse of a first width, the third interrupt signal includes a pulse of a second width, and the first width is different from the second width.
為達前述目的,本發明進一步提出一種觸控數據傳輸控制電路,其具有一觸控晶片及一主機以實現一觸控數據傳輸方法,該方法包括:To achieve the aforementioned purpose, the present invention further proposes a touch data transmission control circuit, which has a touch chip and a host to implement a touch data transmission method, the method comprising:
使該觸控晶片藉由一第一中斷信號線發出一第一中斷信號至該主機;making the touch chip send a first interrupt signal to the host through a first interrupt signal line;
該主機在接到該第一中斷信號後自該觸控晶片讀取觸控資料;以及The host reads touch data from the touch chip after receiving the first interrupt signal; and
該主機在接收完該觸控資料時藉由至少一第二中斷信號線發出一第二中斷信號至該觸控晶片。When the host finishes receiving the touch data, it sends a second interrupt signal to the touch chip through at least one second interrupt signal line.
在一實施例中,當該主機在偵測到該觸控資料發生資料傳輸錯誤時,藉由所述至少一第二中斷信號線發出一第三中斷信號至該觸控晶片。In one embodiment, when the host detects that a data transmission error occurs in the touch data, it sends a third interrupt signal to the touch chip through the at least one second interrupt signal line.
在一實施例中,該第一中斷信號和該第二中斷信號均為脈衝信號。In one embodiment, both the first interrupt signal and the second interrupt signal are pulse signals.
在一實施例中,該第二中斷信號包含一第一數目之脈衝,該第三中斷信號包含一第二數目之脈衝,且該第一數目不同於該第二數目。In one embodiment, the second interrupt signal includes a first number of pulses, the third interrupt signal includes a second number of pulses, and the first number is different from the second number.
在一實施例中,該第二中斷信號包含一第一寬度之脈衝,該第三中斷信號包含一第二寬度之脈衝,且該第一寬度不同於該第二寬度。In one embodiment, the second interrupt signal includes a pulse of a first width, the third interrupt signal includes a pulse of a second width, and the first width is different from the second width.
為達前述目的,本發明進一步提出一種資訊處理裝置,其具有一觸控顯示裝置,其中,該觸控顯示裝置具有一觸控模組、一顯示模組及如前述之觸控數據傳輸控制電路。To achieve the aforementioned purpose, the present invention further proposes an information processing device, which has a touch display device, wherein, the touch display device has a touch module, a display module and the aforementioned touch data transmission control circuit .
在可能的實施例中,該顯示模組可為一微發光二極體顯示模組、一迷你發光二極體顯示模組、一量子點發光二極體顯示模組或一有機發光二極體顯示模組。In a possible embodiment, the display module can be a micro light emitting diode display module, a mini light emitting diode display module, a quantum dot light emitting diode display module or an organic light emitting diode Display mods.
在可能的實施例中,所述之資訊處理裝置可為一智慧型手機、一可攜式電腦、一車載電腦、一穿戴式電子裝置或一廣告看板。In a possible embodiment, the information processing device may be a smart phone, a portable computer, a vehicle computer, a wearable electronic device or an advertising billboard.
為使 貴審查委員能進一步瞭解本發明之結構、特徵及其目的,茲附以圖式及較佳具體實施例之詳細說明如後。In order to enable your review committee members to further understand the structure, features and purpose of the present invention, drawings and detailed descriptions of preferred specific embodiments are hereby attached.
請參照圖2,其為本發明之觸控數據傳輸控制電路之一實施例之方塊圖。如圖2所示,一觸控數據傳輸控制電路100具有一觸控晶片110及一主機120以執行一觸控數據傳輸程序,該觸控數據傳輸程序包括:Please refer to FIG. 2 , which is a block diagram of an embodiment of the touch data transmission control circuit of the present invention. As shown in FIG. 2 , a touch data
(一)使觸控晶片110藉由一第一中斷信號線111發出一第一中斷信號INT1至主機120;(1) Make the
(二)主機120在接到該第一中斷信號INT1後自觸控晶片110讀取觸控資料;以及(2) The
(三)主機120在接收完該觸控資料時藉由至少一第二中斷信號線121發出一第二中斷信號INT2至觸控晶片110以告知觸控晶片110其已接收完該觸控資料。(3) After receiving the touch data, the
另外,當主機120在偵測到該觸控資料發生資料傳輸錯誤時,可藉由所述至少一第二中斷信號線121發出一第三中斷信號INT3至觸控晶片110以告知觸控晶片110資料有誤。In addition, when the
另外,該第一中斷信號INT1和該第二中斷信號INT2均可為脈衝信號。In addition, both the first interrupt signal INT1 and the second interrupt signal INT2 can be pulse signals.
另外,該第二中斷信號INT2可包含一第一數目之脈衝,該第三中斷信號INT3可包含一第二數目之脈衝,且該第一數目不同於該第二數目。In addition, the second interrupt signal INT2 may include a first number of pulses, the third interrupt signal INT3 may include a second number of pulses, and the first number is different from the second number.
另外,該第二中斷信號INT2可包含一第一寬度之脈衝,該第三中斷信號INT3可包含一第二寬度之脈衝,且該第一寬度不同於該第二寬度。In addition, the second interrupt signal INT2 may include a pulse of a first width, the third interrupt signal INT3 may include a pulse of a second width, and the first width is different from the second width.
依上述的說明可知,本發明提出了一種觸控裝置之觸控數據傳輸方法。請參照圖3,其繪示本發明之觸控裝置之觸控數據傳輸方法之一實施例之流程圖。如圖3所示,該方法包括:使一觸控晶片藉由一第一中斷信號線發出一第一中斷信號至一主機(步驟a);該主機在接到該第一中斷信號後自該觸控晶片讀取觸控資料(步驟b);以及該主機在接收完該觸控資料時藉由至少一第二中斷信號線發出一第二中斷信號至該觸控晶片(步驟c)。According to the above description, the present invention provides a touch data transmission method of a touch device. Please refer to FIG. 3 , which shows a flow chart of an embodiment of the touch data transmission method of the touch device of the present invention. As shown in Figure 3, the method includes: making a touch chip send a first interrupt signal to a host through a first interrupt signal line (step a); The touch chip reads touch data (step b); and the host sends a second interrupt signal to the touch chip through at least one second interrupt signal line after receiving the touch data (step c).
另外,在步驟c中,當該主機在偵測到該觸控資料發生資料傳輸錯誤時,其可藉由所述至少一第二中斷信號線發出一第三中斷信號至該觸控晶片以告知該觸控晶片資料有誤。In addition, in step c, when the host detects that a data transmission error occurs in the touch data, it can send a third interrupt signal to the touch chip through the at least one second interrupt signal line to notify The touch chip data is incorrect.
另外,在上述的步驟中,該第一中斷信號和該第二中斷信號和該第三中斷信號均可為脈衝信號。In addition, in the above steps, the first interrupt signal, the second interrupt signal, and the third interrupt signal may all be pulse signals.
另外,在上述的步驟中,該第二中斷信號可包含一第一數目之脈衝,該第三中斷信號可包含一第二數目之脈衝,且該第一數目不同於該第二數目。In addition, in the above steps, the second interrupt signal may include a first number of pulses, the third interrupt signal may include a second number of pulses, and the first number is different from the second number.
另外,在上述的步驟中,該第二中斷信號可包含一第一寬度之脈衝,該第三中斷信號可包含一第二寬度之脈衝,且該第一寬度不同於該第二寬度。In addition, in the above steps, the second interrupt signal may include a pulse of a first width, the third interrupt signal may include a pulse of a second width, and the first width is different from the second width.
依上述的說明,本發明進一步提出一種12。請參照圖4,其繪示本發明之資訊處理裝置之一實施例的方塊圖。如圖4所示,一資訊處理裝置200具有一觸控顯示裝置210,其中,觸控顯示裝置210具有一觸控模組211、一顯示模組212及一觸控數據傳輸控制電路213,其中,觸控數據傳輸控制電路213係由觸控數據傳輸控制電路100實現。According to the above description, the present invention further proposes a 12 . Please refer to FIG. 4 , which shows a block diagram of an embodiment of an information processing device of the present invention. As shown in FIG. 4, an
另外,觸控模組211可為一電容式或光學式觸控模組,顯示模組212可為一微發光二極體顯示模組、一迷你發光二極體顯示模組、一量子點發光二極體顯示模組或一有機發光二極體顯示模組,且觸控模組211可整合在顯示模組212中;以及資訊處理裝置200可為一智慧型手機、一可攜式電腦、一車載電腦、一穿戴式電子裝置或一廣告看板。In addition, the
藉由前述所揭露的設計,本發明乃具有以下的優點:With the design disclosed above, the present invention has the following advantages:
一、本發明之觸控裝置之觸控數據傳輸方法可藉由使觸控晶片和主機間以雙向中斷的方式完成觸控資料的傳輸,以避免長時間的等待或死結,從而提升通信效率。1. The touch data transmission method of the touch device of the present invention can complete the transmission of touch data between the touch chip and the host in a bidirectional interrupt mode, so as to avoid long-term waiting or deadlock, thereby improving communication efficiency.
二、本發明之觸控數據傳輸控制電路可藉由上述的觸控數據傳輸方法避免和主機間發生長時間等待或死結的狀況,從而提升通信效率。2. The touch data transmission control circuit of the present invention can avoid long-time waiting or deadlock with the host through the above touch data transmission method, thereby improving communication efficiency.
三、本發明的資訊處理裝置可藉由上述的觸控數據傳輸控制電路提供操作者平順的觸控體驗。3. The information processing device of the present invention can provide the operator with a smooth touch experience through the above-mentioned touch data transmission control circuit.
本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。What is disclosed in this case is a preferred embodiment. For example, any partial changes or modifications derived from the technical ideas of this case and easily deduced by those who are familiar with the technology are within the scope of the patent right of this case.
綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請 貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。To sum up, regardless of the purpose, means and efficacy of this case, it shows that it is very different from the conventional technology, and its first invention is practical, and it does meet the patent requirements of the invention. I implore your review committee to understand it clearly and grant a patent as soon as possible. Society is for the Most Prayer.
10:觸控晶片 20:主機 100:觸控數據傳輸控制電路 110:觸控晶片 111:第一中斷信號線 120:主機 121:第二中斷信號線 200:資訊處理裝置 210:觸控顯示裝置 211:觸控模組 212:顯示模組 213:觸控數據傳輸控制電路 步驟a:使一觸控晶片藉由一第一中斷信號線發出一第一中斷信號至一主機 步驟b:該主機在接到該第一中斷信號後自該觸控晶片讀取觸控資料 步驟c:該主機在接收完該觸控資料時藉由至少一第二中斷信號線發出一第二中斷信號至該觸控晶片10: Touch chip 20: Host 100: Touch data transmission control circuit 110: Touch chip 111: the first interrupt signal line 120: Host 121: The second interrupt signal line 200: information processing device 210: touch display device 211:Touch module 212: Display module 213: Touch data transmission control circuit Step a: Make a touch chip send a first interrupt signal to a host through a first interrupt signal line Step b: the host reads touch data from the touch chip after receiving the first interrupt signal Step c: the host sends a second interrupt signal to the touch chip through at least one second interrupt signal line after receiving the touch data
圖1為一現有觸控晶片與一主機間之觸控數據傳輸方式之示意圖。 圖2為本發明之觸控數據傳輸控制電路之一實施例之方塊圖。 圖3繪示本發明之觸控裝置之觸控數據傳輸方法之一實施例之流程圖。 圖4繪示本發明之資訊處理裝置之一實施例的方塊圖。 FIG. 1 is a schematic diagram of a touch data transmission method between a conventional touch chip and a host. FIG. 2 is a block diagram of an embodiment of a touch data transmission control circuit of the present invention. FIG. 3 is a flowchart of an embodiment of a touch data transmission method of a touch device according to the present invention. FIG. 4 is a block diagram of an embodiment of an information processing device of the present invention.
步驟a:使一觸控晶片藉由一第一中斷信號線發出一第一中斷信號至一主機 Step a: Make a touch chip send a first interrupt signal to a host through a first interrupt signal line
步驟b:該主機在接到該第一中斷信號後自該觸控晶片讀取觸控資料 Step b: the host reads touch data from the touch chip after receiving the first interrupt signal
步驟c:該主機在接收完該觸控資料時藉由至少一第二中斷信號線發出一第二中斷信號至該觸控晶片 Step c: the host sends a second interrupt signal to the touch chip through at least one second interrupt signal line after receiving the touch data
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111100394A TWI787042B (en) | 2022-01-05 | 2022-01-05 | Touch data transmission method, touch data transmission control circuit and information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW111100394A TWI787042B (en) | 2022-01-05 | 2022-01-05 | Touch data transmission method, touch data transmission control circuit and information processing device |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI787042B true TWI787042B (en) | 2022-12-11 |
TW202328882A TW202328882A (en) | 2023-07-16 |
Family
ID=85795050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW111100394A TWI787042B (en) | 2022-01-05 | 2022-01-05 | Touch data transmission method, touch data transmission control circuit and information processing device |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI787042B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1266569C (en) * | 2003-12-16 | 2006-07-26 | 威盛电子股份有限公司 | Interrupt signal control method |
TW200809515A (en) * | 2006-02-03 | 2008-02-16 | Standard Microsyst Smc | Method for a slave device to convey an interrupt and interrupt source information to a master device |
TW200928906A (en) * | 2007-12-28 | 2009-07-01 | Mitac Int Corp | Touch panel processing apparatus and method |
TWI322381B (en) * | 2003-05-01 | 2010-03-21 | Ibm | Method, system, and computer program product for locking and deadlock management |
CN103324296A (en) * | 2012-03-20 | 2013-09-25 | 宏达国际电子股份有限公司 | Keypad module and detecting method for keypad matrix |
TW201715392A (en) * | 2015-10-19 | 2017-05-01 | 群聯電子股份有限公司 | Memory control circuit unit, data transmitting method and memory storage apparatus |
US20190278358A1 (en) * | 2006-07-10 | 2019-09-12 | Samsung Electronics Co., Ltd. | Apparatus for driving a touch pad and a portable terminal having the same |
-
2022
- 2022-01-05 TW TW111100394A patent/TWI787042B/en active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI322381B (en) * | 2003-05-01 | 2010-03-21 | Ibm | Method, system, and computer program product for locking and deadlock management |
CN1266569C (en) * | 2003-12-16 | 2006-07-26 | 威盛电子股份有限公司 | Interrupt signal control method |
TW200809515A (en) * | 2006-02-03 | 2008-02-16 | Standard Microsyst Smc | Method for a slave device to convey an interrupt and interrupt source information to a master device |
US20190278358A1 (en) * | 2006-07-10 | 2019-09-12 | Samsung Electronics Co., Ltd. | Apparatus for driving a touch pad and a portable terminal having the same |
TW200928906A (en) * | 2007-12-28 | 2009-07-01 | Mitac Int Corp | Touch panel processing apparatus and method |
CN103324296A (en) * | 2012-03-20 | 2013-09-25 | 宏达国际电子股份有限公司 | Keypad module and detecting method for keypad matrix |
TW201715392A (en) * | 2015-10-19 | 2017-05-01 | 群聯電子股份有限公司 | Memory control circuit unit, data transmitting method and memory storage apparatus |
Also Published As
Publication number | Publication date |
---|---|
TW202328882A (en) | 2023-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10552696B2 (en) | Electronic device having a biometric sensor | |
EP3054399A1 (en) | Electronic device with touch sensor and driving method therefor | |
US8659566B2 (en) | Touch sensing method and electronic apparatus using the same | |
CN108509849B (en) | Electronic device and method for recognizing sensor position using pixels of display | |
CN103069363A (en) | Methods and apparatus for interacting with an electronic device application by moving an object in the air over an electronic device display | |
WO2021017815A1 (en) | Fingerprint recognition method and related product | |
CN112765082B (en) | Multi-host arbitration method, device and readable storage medium | |
US11861121B2 (en) | Electronic device comprising metal mesh touch electrode | |
CN104021101A (en) | USB interface system and implementation method based on LPC1768 platform | |
EP3905005A1 (en) | Verified high-power transition and fast charging with pre-boot scaling | |
JP7391154B2 (en) | Daisy chain SPI integrated circuit and its method of operation | |
TW202205149A (en) | Fingerprint sensing device and operation method thereof | |
TWI787042B (en) | Touch data transmission method, touch data transmission control circuit and information processing device | |
CN103576955A (en) | Mutual capacitance type touch panel and touch system | |
CN110402442A (en) | A kind of fingerprint input method and terminal | |
CN107066860A (en) | A kind of fingerprint identification method and mobile terminal | |
CN109885201A (en) | Touch screen touches area detection method, electronic device and computer readable storage medium | |
CN103593085B (en) | Touch event is detected using the first touch interface and the second touch interface | |
CN111338495B (en) | Method and device for determining touch point | |
CN106933576A (en) | A kind of terminal unlock method, device and computer equipment | |
CN112654019B (en) | WIFI sharing method, system, computer-readable storage medium and server | |
US10261618B2 (en) | Touch driving circuit and touch sensitive display panel | |
US20150136450A1 (en) | Touch panel and method of manufacturing the same | |
CN111033455A (en) | Manufacturing method of lead in touch screen, touch screen and electronic equipment | |
TWI724906B (en) | Intelligent TFT touch sensing device and information processing device using it |