TWI817840B - Touch trajectory optimization method, touch device and information processing device - Google Patents

Touch trajectory optimization method, touch device and information processing device Download PDF

Info

Publication number
TWI817840B
TWI817840B TW111144876A TW111144876A TWI817840B TW I817840 B TWI817840 B TW I817840B TW 111144876 A TW111144876 A TW 111144876A TW 111144876 A TW111144876 A TW 111144876A TW I817840 B TWI817840 B TW I817840B
Authority
TW
Taiwan
Prior art keywords
coordinates
touch
touch point
distance
point
Prior art date
Application number
TW111144876A
Other languages
Chinese (zh)
Other versions
TW202422302A (en
Inventor
邊火丁
Original Assignee
大陸商北京集創北方科技股份有限公司
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 大陸商北京集創北方科技股份有限公司 filed Critical 大陸商北京集創北方科技股份有限公司
Priority to TW111144876A priority Critical patent/TWI817840B/en
Application granted granted Critical
Publication of TWI817840B publication Critical patent/TWI817840B/en
Publication of TW202422302A publication Critical patent/TW202422302A/en

Links

Images

Landscapes

  • Electrotherapy Devices (AREA)

Abstract

一種觸摸軌跡優化方法,係實現於一觸控電路中,且其包含以下步驟: 感測一觸控屏之一當前觸摸點座標;以及在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生。A touch trajectory optimization method is implemented in a touch circuit and includes the following steps: sensing the coordinates of a current touch point on a touch screen; and before sensing the coordinates of a touch point under the touch screen. Sequentially sending an interpolation point coordinate and the current touch point coordinate to an application processor; wherein the interpolation point coordinate system is located on a circular trajectory between a previous touch point coordinate and the current touch point coordinate. on a circular arc, and the circular trajectory is generated based on the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point.

Description

觸摸軌跡優化方法、觸控裝置及資訊處理裝置Touch trajectory optimization method, touch device and information processing device

本發明係關於觸控輸入,尤指一種觸摸軌跡優化方法。The present invention relates to touch input, and in particular, to a touch trajectory optimization method.

目前的觸控屏一般係以固定的掃描頻率對一感測陣列進行採樣以獲得一幀感測資料,再將該幀感測資料中大於一閾值之感測值的觸摸點座標發送到一應用處理器。Current touch screens generally sample a sensing array at a fixed scanning frequency to obtain a frame of sensing data, and then send the touch point coordinates of the sensing value greater than a threshold in the frame of sensing data to an application. processor.

然而由於掃描頻率不可能無限提高,感測值和座標計算會有一定誤差,而用戶操作也會有一定抖動,致使在螢幕上呈現的觸摸軌跡並不平滑,存在明顯的尖角、彎折等問題。However, since the scanning frequency cannot be increased infinitely, there will be certain errors in sensing values and coordinate calculations, and there will also be a certain amount of jitter in user operations, resulting in the touch trajectory presented on the screen not being smooth, with obvious sharp corners, bends, etc. problem.

為解決上述的問題,本領域亟需一種新穎的觸摸軌跡優化方案。In order to solve the above problems, a novel touch trajectory optimization solution is urgently needed in this field.

本發明之一目的在於揭露一種觸摸軌跡優化方法,其可藉由當前觸摸點座標、前一觸摸點座標和前前一觸摸點座標決定連接該當前觸摸點座標和該前一觸摸點座標之一段圓弧,並在該段圓弧中找出一個內插點座標,以使該前一觸摸點座標、該內插點座標和該當前觸摸點座標之兩個間距的比例等於該前前一觸摸點座標、該前一觸摸點座標和該當觸摸點座標之兩個間距的比例,從而使該內插點座標的位置能夠隨觸摸軌跡的快、慢變化調整,而優化顯示的觸摸軌跡的平滑度。One object of the present invention is to disclose a touch trajectory optimization method, which can determine a segment connecting the current touch point coordinates and the previous touch point coordinates by using the current touch point coordinates, the previous touch point coordinates and the previous touch point coordinates. Arc, and find an interpolation point coordinate in the arc, so that the ratio of the two distances between the previous touch point coordinate, the interpolation point coordinate and the current touch point coordinate is equal to the previous touch point coordinate. The ratio of the distance between the point coordinates, the coordinates of the previous touch point and the coordinates of the current touch point, so that the position of the interpolated point coordinates can be adjusted with the fast and slow changes of the touch trajectory, and the smoothness of the displayed touch trajectory is optimized. .

本發明之另一目的在於揭露一種觸控裝置,其可藉由前述的方法優化顯示的觸摸軌跡的平滑度。Another object of the present invention is to disclose a touch device that can optimize the smoothness of displayed touch traces through the aforementioned method.

本發明之又一目的在於揭露一種資訊處理裝置,其可藉由前述的觸控裝置優化顯示的觸摸軌跡的平滑度。Another object of the present invention is to disclose an information processing device that can optimize the smoothness of displayed touch traces through the aforementioned touch device.

為達到前述目的,一種觸摸軌跡優化方法乃被提出,其係實現於一觸控電路中,且其包含以下步驟: 感測一觸控屏之一當前觸摸點座標;以及 在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器; 其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生。 In order to achieve the aforementioned goals, a touch trajectory optimization method is proposed, which is implemented in a touch circuit and includes the following steps: sensing the current touch point coordinates of one of the touch screens; and Sequentially sending an interpolation point coordinate and the current touch point coordinate to an application processor before sensing the coordinates of a touch point under the touch screen; Wherein, the interpolation point coordinate system is located on an arc of a circular trajectory between the coordinates of a previous touch point and the coordinates of the current touch point, and the circular trajectory is based on the coordinates of a previous touch point. , the coordinates of the previous touch point and the coordinates of the current touch point are generated.

在一實施例中,該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。In one embodiment, there is a first distance and a second distance respectively between the coordinates of the previous touch point and the coordinates of the previous touch point and the coordinates of the current touch point, and the interpolation point coordinates and the previous touch point There is a third distance and a fourth distance respectively between the coordinates and the coordinates of the current touch point, and the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance.

在一實施例中,該觸控屏係一電容式觸控屏。In one embodiment, the touch screen is a capacitive touch screen.

為達到前述目的,本發明進一步提出一種觸控裝置,其具有一觸控屏及一觸控電路,該觸控電路係用以執行一觸摸軌跡優化程序,且該程序包含以下步驟: 感測該觸控屏之一當前觸摸點座標;以及 在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器; 其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生。 In order to achieve the above object, the present invention further proposes a touch device, which has a touch screen and a touch circuit. The touch circuit is used to execute a touch trajectory optimization program, and the program includes the following steps: sensing the current touch point coordinates of one of the touch screens; and Sequentially sending an interpolation point coordinate and the current touch point coordinate to an application processor before sensing the coordinates of a touch point under the touch screen; Wherein, the interpolation point coordinate system is located on an arc of a circular trajectory between the coordinates of a previous touch point and the coordinates of the current touch point, and the circular trajectory is based on the coordinates of a previous touch point. , the coordinates of the previous touch point and the coordinates of the current touch point are generated.

在一實施例中,該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。In one embodiment, there is a first distance and a second distance respectively between the coordinates of the previous touch point and the coordinates of the previous touch point and the coordinates of the current touch point, and the interpolation point coordinates and the previous touch point There is a third distance and a fourth distance respectively between the coordinates and the coordinates of the current touch point, and the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance.

在一實施例中,該觸控屏係一電容式觸控屏。In one embodiment, the touch screen is a capacitive touch screen.

為達到前述目的,本發明進一步提出一種資訊處理裝置,其具有一觸控裝置、一顯示模組及一應用處理器,該觸控裝置具有一觸控屏及一觸控電路,該觸控電路係用以執行一觸摸軌跡優化程序,該程序包含以下步驟: 感測該觸控屏之一當前觸摸點座標;以及 在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至該應用處理器,使該應用處理器據以驅動該顯示模組以顯示一觸摸軌跡; 其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生。 In order to achieve the above object, the present invention further proposes an information processing device, which has a touch device, a display module and an application processor. The touch device has a touch screen and a touch circuit. The touch circuit It is used to execute a touch trajectory optimization program, which includes the following steps: sensing the current touch point coordinates of one of the touch screens; and Before sensing the coordinates of a touch point under the touch screen, an interpolation point coordinate and the current touch point coordinate are sent to the application processor in sequence, so that the application processor drives the display module to display a touch trajectory; trajectory Wherein, the interpolation point coordinate system is located on an arc of a circular trajectory between the coordinates of a previous touch point and the coordinates of the current touch point, and the circular trajectory is based on the coordinates of a previous touch point. , the coordinates of the previous touch point and the coordinates of the current touch point are generated.

在一實施例中,該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。In one embodiment, there is a first distance and a second distance respectively between the coordinates of the previous touch point and the coordinates of the previous touch point and the coordinates of the current touch point, and the interpolation point coordinates and the previous touch point There is a third distance and a fourth distance respectively between the coordinates and the coordinates of the current touch point, and the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance.

在一實施例中,該觸控屏係一電容式觸控屏。In one embodiment, the touch screen is a capacitive touch screen.

在可能的實施例中,所述之資訊處理裝置可為一攜帶型電腦、一智慧型手機或一車用電腦。In possible embodiments, the information processing device may be a portable computer, a smart phone or a car computer.

本發明的原理在於(請參照圖1):The principle of the present invention is (please refer to Figure 1):

(一)以一段圓弧代表連接當前觸摸點座標P3、前一觸摸點座標P2和前前一觸摸點座標P1之一段軌跡;以及(1) Use an arc to represent a trajectory connecting the current touch point coordinate P3, the previous touch point coordinate P2, and the previous touch point coordinate P1; and

(二)在該段圓弧中找出一個內插點座標Q2(Q1為前一個內插點座標),以使該前一觸摸點座標P2、該內插點座標Q2和該當前觸摸點座標P3之兩個間距的比例(= )等於該前前一觸摸點座標P1、該前一觸摸點座標P2和該當觸摸點座標P3之兩個間距的比例(= )。 (2) Find an interpolation point coordinate Q2 (Q1 is the previous interpolation point coordinate) in the arc, so that the previous touch point coordinate P2, the interpolation point coordinate Q2 and the current touch point coordinate The ratio of the two spacings of P3 (= ) is equal to the ratio of the two distances between the previous touch point coordinate P1, the previous touch point coordinate P2 and the current touch point coordinate P3 (= ).

依此,本發明即可使每個內插點座標的位置隨觸摸軌跡的快、慢變化調整,從而優化顯示的觸摸軌跡的平滑度。Accordingly, the present invention can adjust the position of each interpolation point coordinate according to the fast and slow changes of the touch trajectory, thereby optimizing the smoothness of the displayed touch trajectory.

請參照圖2,其繪示本發明之觸控裝置之一實施例之方塊圖。如圖2所示,一觸控裝置100具有一觸控屏110及用以驅動觸控屏110之一觸控電路120,其中觸控電路120係用以執行一觸摸軌跡優化程序,該程序包含以下步驟: (一)觸控電路120感測觸控屏110之一當前觸摸點座標;以及 (二)觸控電路120在感測觸控屏110之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器130;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生。 Please refer to FIG. 2 , which illustrates a block diagram of an embodiment of the touch device of the present invention. As shown in Figure 2, a touch device 100 has a touch screen 110 and a touch circuit 120 for driving the touch screen 110. The touch circuit 120 is used to execute a touch trajectory optimization program, which includes Following steps: (1) The touch circuit 120 senses the current touch point coordinates of one of the touch screens 110; and (2) The touch circuit 120 sequentially sends an interpolation point coordinate and the current touch point coordinate to an application processor 130 before sensing the coordinates of a touch point under the touch screen 110; wherein, the interpolation point coordinate system is located on an arc of a circular trajectory between the coordinates of a previous touch point and the coordinates of the current touch point, and the circular trajectory is based on the coordinates of a previous touch point, the coordinates of the previous touch point and The coordinates of the current touch point are generated.

在上述的步驟中,該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。In the above steps, there is a first distance and a second distance respectively between the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point, and the interpolation point coordinates and the previous touch point There is a third distance and a fourth distance respectively between the coordinates and the coordinates of the current touch point, and the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance.

另外,觸控屏110可為一電容式觸控屏。In addition, the touch screen 110 may be a capacitive touch screen.

詳細而言,假設P 3座標為 ,P 2座標為 ,P 1座標為 ,則可以求得三點組成的圓軌跡的圓心座標為: ,其中, ;且圓軌跡半徑為 ,即圓軌跡方程為 In detail, assume that the coordinates of P 3 are , the P 2 coordinate is , the coordinates of P 1 are , then the center coordinates of the circular trajectory composed of three points can be obtained as: , ,in, , ; And the radius of the circular trajectory is , that is, the circular trajectory equation is .

Q2點座標需要滿足在圓軌跡上並滿足相應比例,即由以下方程組即可求得Q2點座標:The coordinates of the Q2 point need to be on the circular trajectory and meet the corresponding proportions. That is, the coordinates of the Q2 point can be obtained from the following equations:

.

另外,圓心與圓軌跡之計算亦可採取其他方法。例如: ,其中, ,且圓軌跡半徑為 In addition, other methods can also be used to calculate the circle center and circle trajectory. For example: , ,in, , , , , and the radius of the circular trajectory is .

由上述的說明可知,本發明提出了一種觸摸軌跡優化方法。請參照圖3,其繪示本發明之觸摸軌跡優化方法之一實施例的流程圖,其係實現於一觸控電路中。如圖3所示,該方法包含以下步驟:感測一觸控屏之一當前觸摸點座標(步驟a);以及在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生(步驟b)。As can be seen from the above description, the present invention proposes a touch trajectory optimization method. Please refer to FIG. 3 , which illustrates a flow chart of an embodiment of the touch trajectory optimization method of the present invention, which is implemented in a touch circuit. As shown in Figure 3, the method includes the following steps: sensing the coordinates of a current touch point on a touch screen (step a); and sequentially sending an interpolation before sensing the coordinates of the next touch point on the touch screen. point coordinates and the current touch point coordinates to an application processor; wherein the interpolation point coordinate system is located on an arc of a circular trajectory between a previous touch point coordinate and the current touch point coordinate, And the circular trajectory is generated based on the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point (step b).

在上述的步驟中,該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。In the above steps, there is a first distance and a second distance respectively between the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point, and the interpolation point coordinates and the previous touch point There is a third distance and a fourth distance respectively between the coordinates and the coordinates of the current touch point, and the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance.

另外,該觸控屏可為一電容式觸控屏。In addition, the touch screen can be a capacitive touch screen.

依上述的說明,本發明進一步提出一種資訊處理裝置。請參照圖4,其繪示本發明之資訊處理裝置之一實施例之方塊圖。如圖4所示,一資訊處理裝置200具有一觸控裝置210、一顯示模組220及一應用處理器230,其中,觸控裝置210具有一觸控屏211及一觸控電路212,觸控電路212係用以執行一觸摸軌跡優化程序,該程序包含以下步驟: (一)感測觸控屏211之一當前觸摸點座標;以及 (二)在感測該觸控屏211之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至應用處理器230,使應用處理器230據以驅動顯示模組220以顯示一觸摸軌跡;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生。 According to the above description, the present invention further provides an information processing device. Please refer to FIG. 4 , which illustrates a block diagram of an embodiment of the information processing device of the present invention. As shown in Figure 4, an information processing device 200 has a touch device 210, a display module 220 and an application processor 230. The touch device 210 has a touch screen 211 and a touch circuit 212. The control circuit 212 is used to execute a touch trajectory optimization program, which includes the following steps: (1) Sensing the current touch point coordinates of one of the touch screens 211; and (2) Before sensing the coordinates of a touch point under the touch screen 211, sequentially send an interpolation point coordinate and the current touch point coordinate to the application processor 230, so that the application processor 230 drives the display module 220 accordingly. To display a touch trajectory; wherein, the interpolation point coordinate system is located on an arc of a circular trajectory between a previous touch point coordinate and the current touch point coordinate, and the circular trajectory is based on a Generated from the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point.

在上述的步驟中,該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值;且觸控屏211可為一電容式觸控屏。。另外,資訊處理裝置200可為一攜帶型電腦、一智慧型手機或一車用電腦。In the above steps, there is a first distance and a second distance respectively between the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point, and the interpolation point coordinates and the previous touch point There is a third distance and a fourth distance respectively between the coordinates and the coordinates of the current touch point, and the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance; and the touch screen 211 It can be a capacitive touch screen. . In addition, the information processing device 200 can be a portable computer, a smart phone or a car computer.

藉由前述所揭露的設計,本發明乃具有以下的優點:Through the design disclosed above, the present invention has the following advantages:

一、本發明之觸摸軌跡優化方法可藉由當前觸摸點座標、前一觸摸點座標和前前一觸摸點座標決定連接該當前觸摸點座標和該前一觸摸點座標之一段圓弧,並在該段圓弧中找出一個內插點座標,以使該前一觸摸點座標、該內插點座標和該當前觸摸點座標之兩個間距的比例等於該前前一觸摸點座標、該前一觸摸點座標和該當觸摸點座標之兩個間距的比例,從而使該內插點座標的位置能夠隨觸摸軌跡的快、慢變化調整,而優化顯示的觸摸軌跡的平滑度。1. The touch trajectory optimization method of the present invention can determine an arc connecting the coordinates of the current touch point and the coordinates of the previous touch point based on the coordinates of the current touch point, the coordinates of the previous touch point, and the coordinates of the previous touch point, and then Find an interpolation point coordinate in this arc, so that the ratio of the two distances between the previous touch point coordinates, the interpolation point coordinates and the current touch point coordinates is equal to the previous touch point coordinates, the previous touch point coordinates, and the current touch point coordinates. The ratio of the distance between the coordinates of a touch point and the coordinates of the touch point, so that the position of the interpolated point coordinates can be adjusted with the fast and slow changes of the touch trajectory, thereby optimizing the smoothness of the displayed touch trajectory.

二、本發明之觸控裝置可藉由前述的方法優化顯示的觸摸軌跡的平滑度。2. The touch device of the present invention can optimize the smoothness of the displayed touch trajectory through the aforementioned method.

三、本發明之資訊處理裝置可藉由前述的觸控裝置優化顯示的觸摸軌跡的平滑度。3. The information processing device of the present invention can optimize the smoothness of the displayed touch trajectory through the aforementioned touch device.

本案所揭示者,乃較佳實施例,舉凡局部之變更或修飾而源於本案之技術思想而為熟習該項技藝之人所易於推知者,俱不脫本案之專利權範疇。What is disclosed in this case is a preferred embodiment. Any partial changes or modifications derived from the technical ideas of this case and easily inferred by those familiar with the art will not deviate from the scope of the patent rights of this case.

綜上所陳,本案無論目的、手段與功效,皆顯示其迥異於習知技術,且其首先發明合於實用,確實符合發明之專利要件,懇請 貴審查委員明察,並早日賜予專利俾嘉惠社會,是為至禱。To sum up, regardless of the purpose, means and effects of this case, it shows that it is completely different from the conventional technology, and that the invention is practical first, and indeed meets the patent requirements for inventions. I sincerely ask the review committee to take a clear look and grant the patent as soon as possible for your benefit. Society is a prayer for the Supreme Being.

100:觸控裝置 110:觸控屏 120:觸控電路 200:資訊處理裝置 210:觸控裝置 211:觸控屏 212:觸控電路 220:顯示模組 230:應用處理器 步驟a:感測一觸控屏之一當前觸摸點座標;以及在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器。 步驟b:在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生。 100:Touch device 110:Touch screen 120:Touch circuit 200:Information processing device 210:Touch device 211:Touch screen 212:Touch circuit 220:Display module 230:Application processor Step a: Sensing the coordinates of a current touch point on a touch screen; and sequentially sending an interpolation point coordinate and the coordinate of the current touch point to an application processor before sensing the coordinates of a touch point under the touch screen. . Step b: Sending an interpolation point coordinate and the current touch point coordinate to an application processor in sequence before sensing the coordinates of the next touch point on the touch screen; wherein the interpolation point coordinate system is located on a circular trajectory on an arc between the coordinates of the previous touch point and the coordinates of the current touch point, and the circular trajectory is based on the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point produced.

圖1為本發明以一段圓弧代表連接當前觸摸點座標、前一觸摸點座標和前前一觸摸點座標之一示意圖。 圖2繪示本發明之觸控裝置之一實施例之方塊圖。 圖3繪示本發明之觸摸軌跡優化方法之一實施例的流程圖。 圖4繪示本發明之資訊處理裝置之一實施例之方塊圖。 Figure 1 is a schematic diagram of the present invention using an arc to represent the connection between the coordinates of the current touch point, the coordinates of the previous touch point and the coordinates of the previous touch point. FIG. 2 is a block diagram of an embodiment of the touch device of the present invention. FIG. 3 illustrates a flow chart of an embodiment of the touch trajectory optimization method of the present invention. FIG. 4 is a block diagram of an embodiment of the information processing device of the present invention.

步驟a:感測一觸控屏之一當前觸摸點座標;以及在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器 Step a: Sensing the coordinates of a current touch point on a touch screen; and sequentially sending an interpolation point coordinate and the coordinate of the current touch point to an application processor before sensing the coordinates of a touch point under the touch screen.

步驟b:在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生 Step b: Sending an interpolation point coordinate and the current touch point coordinate to an application processor in sequence before sensing the coordinates of the next touch point on the touch screen; wherein the interpolation point coordinate system is located on a circular trajectory on an arc between the coordinates of the previous touch point and the coordinates of the current touch point, and the circular trajectory is based on the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point produced

Claims (7)

一種觸摸軌跡優化方法,係實現於一觸控電路中,且其包含以下步驟:感測一觸控屏之一當前觸摸點座標;以及在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生;以及該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。 A touch trajectory optimization method is implemented in a touch circuit and includes the following steps: sensing the coordinates of a current touch point on a touch screen; and before sensing the coordinates of a touch point under the touch screen. Sequentially sending an interpolation point coordinate and the current touch point coordinate to an application processor; wherein the interpolation point coordinate system is located on a circular trajectory between a previous touch point coordinate and the current touch point coordinate. on a circular arc, and the circular trajectory is generated based on the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point; and the coordinates of the previous touch point and the coordinates of the previous touch point There is a first distance and a second distance respectively between the current touch point coordinates, a third distance and a fourth distance respectively between the interpolation point coordinates, the previous touch point coordinates and the current touch point coordinates, And the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance. 如請求項1所述之觸摸軌跡優化方法,其中,該觸控屏係一電容式觸控屏。 The touch trajectory optimization method as described in claim 1, wherein the touch screen is a capacitive touch screen. 一種觸控裝置,具有一觸控屏及一觸控電路,該觸控電路係用以執行一觸摸軌跡優化程序,該程序包含以下步驟:感測該觸控屏之一當前觸摸點座標;以及在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至一應用處理器;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一 觸摸點座標及該當前觸摸點座標所產生;以及該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。 A touch device has a touch screen and a touch circuit. The touch circuit is used to execute a touch trajectory optimization program. The program includes the following steps: sensing the coordinates of a current touch point on the touch screen; and Before sensing the coordinates of a touch point under the touch screen, an interpolation point coordinate and the current touch point coordinate are sequentially sent to an application processor; wherein the interpolation point coordinate system is located between a circular trajectory and on a circular arc between the coordinates of the previous touch point and the coordinates of the current touch point, and the circular trajectory is based on the coordinates of the previous touch point and the coordinates of the previous touch point. The coordinates of the touch point and the coordinates of the current touch point are generated; and there is a first distance and a second distance respectively between the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point, and the interpolation point There is a third distance and a fourth distance respectively between the coordinates, the coordinates of the previous touch point and the coordinates of the current touch point, and the ratio of the first distance to the second distance is equal to the third distance and the fourth distance. ratio. 如請求項3所述之觸控裝置,其中,該觸控屏係一電容式觸控屏。 The touch device according to claim 3, wherein the touch screen is a capacitive touch screen. 一種資訊處理裝置,其具有一觸控裝置、一顯示模組及一應用處理器,該觸控裝置具有一觸控屏及一觸控電路,該觸控電路係用以執行一觸摸軌跡優化程序,該程序包含以下步驟:感測該觸控屏之一當前觸摸點座標;以及在感測該觸控屏之下一觸摸點座標之前依序送出一內插點座標及該當前觸摸點座標至該應用處理器,使該應用處理器據以驅動該顯示模組以顯示一觸摸軌跡;其中,該內插點座標係位於一圓形軌跡之介於一前一觸摸點座標和該當前觸摸點座標之間的一圓弧上,且該圓形軌跡係依一前前一觸摸點座標、該前一觸摸點座標及該當前觸摸點座標所產生;以及該前一觸摸點座標和該前前一觸摸點座標、該當前觸摸點座標之間分別有一第一距離和一第二距離,該內插點座標和該前一觸摸點座標、該當前觸摸點座標之間分別有一第三距離和一第四距離,且該第一距離和該第二距離之比值等於該第三距離和該第四距離之比值。 An information processing device, which has a touch device, a display module and an application processor. The touch device has a touch screen and a touch circuit. The touch circuit is used to execute a touch trajectory optimization program. , the program includes the following steps: sensing the coordinates of a current touch point on the touch screen; and sequentially sending an interpolation point coordinate and the coordinate of the current touch point to before sensing the coordinates of the next touch point on the touch screen. The application processor enables the application processor to drive the display module to display a touch trajectory; wherein the interpolation point coordinate system is located on a circular trajectory between a previous touch point coordinate and the current touch point. on an arc between the coordinates, and the circular trajectory is generated based on the coordinates of the previous touch point, the coordinates of the previous touch point and the coordinates of the current touch point; and the coordinates of the previous touch point and the previous touch point There is a first distance and a second distance respectively between a touch point coordinate and the current touch point coordinate. There is a third distance and a second distance between the interpolation point coordinate and the previous touch point coordinate and the current touch point coordinate respectively. The fourth distance, and the ratio of the first distance to the second distance is equal to the ratio of the third distance to the fourth distance. 如請求項5所述之資訊處理裝置,其中,該觸控屏係一電容式觸控屏。 The information processing device as claimed in claim 5, wherein the touch screen is a capacitive touch screen. 如請求項5至6中任一項所述之資訊處理裝置,其係由一攜帶型電腦、一智慧型手機和一車用電腦所組成群組所選擇的一種裝置。 The information processing device as described in any one of claims 5 to 6 is a device selected from a group consisting of a portable computer, a smart phone and a car computer.
TW111144876A 2022-11-23 2022-11-23 Touch trajectory optimization method, touch device and information processing device TWI817840B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111144876A TWI817840B (en) 2022-11-23 2022-11-23 Touch trajectory optimization method, touch device and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111144876A TWI817840B (en) 2022-11-23 2022-11-23 Touch trajectory optimization method, touch device and information processing device

Publications (2)

Publication Number Publication Date
TWI817840B true TWI817840B (en) 2023-10-01
TW202422302A TW202422302A (en) 2024-06-01

Family

ID=89858021

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111144876A TWI817840B (en) 2022-11-23 2022-11-23 Touch trajectory optimization method, touch device and information processing device

Country Status (1)

Country Link
TW (1) TWI817840B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106687891A (en) * 2014-09-15 2017-05-17 微软技术许可有限责任公司 Smooothing and GPU-enabled rendering of digital ink
TW202013139A (en) * 2018-09-19 2020-04-01 大陸商北京集創北方科技股份有限公司 Method for improving touch trajectory smoothness of touch and display driver integration system and touch display device using the same using software algorithm to effectively increase the touch reporting rate

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106687891A (en) * 2014-09-15 2017-05-17 微软技术许可有限责任公司 Smooothing and GPU-enabled rendering of digital ink
TW202013139A (en) * 2018-09-19 2020-04-01 大陸商北京集創北方科技股份有限公司 Method for improving touch trajectory smoothness of touch and display driver integration system and touch display device using the same using software algorithm to effectively increase the touch reporting rate

Similar Documents

Publication Publication Date Title
US8581938B2 (en) Information processing apparatus, information processing method and program for magnifying a screen and moving a displayed content
US8836649B2 (en) Information processing apparatus, information processing method, and program
JP4752921B2 (en) Information processing apparatus, animation adding method, and program
US8847978B2 (en) Information processing apparatus, information processing method, and information processing program
US8614682B2 (en) Touchscreen panel unit, scrolling control method, and recording medium
US20080170752A1 (en) Information Processing Device, Image Movement Instructing Method, and Information Storage Medium
KR101119373B1 (en) Operating method of hybrid touch panel
US8659566B2 (en) Touch sensing method and electronic apparatus using the same
US20060066587A1 (en) Electronic apparatus and touch pad device
JP2012009009A (en) Digital assistant, screen component display method, program and recording medium
CN105824531A (en) Method and device for adjusting numbers
CN102736757A (en) Method and apparatus for touch control identification
WO2015131630A1 (en) Replacement method and device for desktop icon
JP2008003823A (en) Line shape processing device, line shape processing method, and program
TWI817840B (en) Touch trajectory optimization method, touch device and information processing device
TWI685771B (en) Method for improving touch track smoothness of touch and display driving integrated system and touch display device using the same
JP2008003825A (en) Line shape processing device, line shape processing method, and program
US9146666B2 (en) Touch sensor navigation
TW202422302A (en) Touch trajectory optimization method, touch device and information processing device
TWI446238B (en) Positioning method and driving apparatus for touch panel
TWI768407B (en) Prediction control method, input system and computer readable recording medium
TWI623869B (en) Touch display device and touch signal processing method thereof
WO2020107231A1 (en) Touch keyboard adjustment method, electronic device and computer readable storage medium
US20230060045A1 (en) Systems and methods for grid-aligned inking
KR20040048396A (en) Information processing apparatus and program