TW201447729A - Application executing method and terminal - Google Patents
Application executing method and terminal Download PDFInfo
- Publication number
- TW201447729A TW201447729A TW102120521A TW102120521A TW201447729A TW 201447729 A TW201447729 A TW 201447729A TW 102120521 A TW102120521 A TW 102120521A TW 102120521 A TW102120521 A TW 102120521A TW 201447729 A TW201447729 A TW 201447729A
- Authority
- TW
- Taiwan
- Prior art keywords
- touch
- terminal
- state
- touch input
- input signal
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 230000008569 process Effects 0.000 claims description 22
- 238000001514 detection method Methods 0.000 claims description 13
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 239000011159 matrix material Substances 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000003066 decision tree Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
本發明涉及觸摸和通訊技術領域,尤其是涉及一種應用程式的執行方法以及終端。 The present invention relates to the field of touch and communication technologies, and in particular, to an application execution method and a terminal.
目前市場主流的觸控式螢幕,如電容式觸控式螢幕(自電容/互電容)都支持基本的觸摸手勢,如按兩下,單點拖動,雙點縮放等;而且,上述觸摸手勢都是在電容式觸控式螢幕正常工作狀態時,針對圖片,網頁或應用程式的操作。 At present, mainstream touch screens, such as capacitive touch screens (self-capacitance/mutual capacitance), support basic touch gestures, such as two-click, single-drag, double-point zoom, etc.; It is the operation of images, web pages or applications when the capacitive touch screen is working normally.
但是,發明人在實現本發明實施例的過程中發現當觸摸晶片(touch IC)處於正常工作狀態,使用者想進入某個應用程式或對某個正在運行的應用程式進行操作時,使用者首先要找到對應操作的準確位置(例如功能表,圖示等),進行有效觸摸,觸摸晶片感知發生在觸控式螢幕的觸摸動作,其後向作業系統上報觸摸手勢,再由系統回應觸摸事件,使用者才能進入該應用程式進行操作,操作不夠簡便,任務回應也不夠及時;並且,如果當觸控式螢幕處於休眠狀態(如鎖屏或待機)時,就無法感知任何觸摸動作了,操作起來就更加不簡便了。 However, the inventor found in the process of implementing the embodiment of the present invention that when the touch IC is in a normal working state, when the user wants to enter an application or operate on a running application, the user first To find the exact location of the corresponding operation (such as function table, illustration, etc.), make an effective touch, touch the wafer to sense the touch action that occurs on the touch screen, then report the touch gesture to the operating system, and then the system responds to the touch event. The user can enter the application to operate, the operation is not simple enough, the task response is not timely enough; and, if the touch screen is in a sleep state (such as lock screen or standby), it can not sense any touch action, operation It is even more difficult to get up.
本發明實施例提供了一種應用程式的執行方法以及終端,用於快速執行及控制應用程式,或切換系統狀態,提高使用者體驗。 Embodiments of the present invention provide an application execution method and a terminal for quickly executing and controlling an application, or switching system states, and improving a user experience.
有鑑於此,本發明第一方面提供一種應用程式的執行方法,可包括:識別終端的當前狀態;當所述終端的當前狀態為N種預設狀態中的其中一種時,即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號,所述N不小於1;若確定出所述觸摸輸入信號為有效的觸摸輸入,則執行與所述觸摸輸入信號相對應的應用程式。 In view of this, the first aspect of the present invention provides a method for executing an application, which may include: identifying a current state of the terminal; and detecting the terminal immediately when the current state of the terminal is one of N preset states. a touch input signal acquired on the touch screen, the N is not less than 1; if it is determined that the touch input signal is a valid touch input, an application corresponding to the touch input signal is executed.
在某些實施方式中,所述N種預設狀態包括如下狀態中的任意兩種或兩種以上:鎖屏狀態、待機狀態、解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態、解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態。 In some embodiments, the N preset states include any two or more of the following states: a lock screen state, a standby state, an unlock state, and are in the main interface and are not running or running one or running in the background. The status of the application, the unlocked state, and the state of the non-gaming application running on the current interface of the terminal touch screen.
在某些實施方式中,當所述終端的當前狀態為鎖屏狀態或待機狀態時,所述方法還包括:限定所述終端觸控式螢幕上獲取觸摸輸入信號的區域。 In some embodiments, when the current state of the terminal is a lock screen state or a standby state, the method further includes: defining an area on the touch screen of the terminal for acquiring a touch input signal.
在某些實施方式中,所述執行與所述觸摸輸入信號相對應的應用程式之前,所述方法還包括: 根據所述終端觸控式螢幕上觸摸輸入信號的觸摸特徵資訊,確定出所述觸摸輸入信號是否為有效的觸摸輸入,所述觸摸特徵資訊包括觸摸起點座標位置、觸摸終點座標位置、觸摸過程中每一個點的峰值位置、觸摸區域的座標範圍、觸摸輸入第一筆與最後一筆的方向和長度、觸摸過程是否有回到起點的趨勢、觸摸區域最下方與最上方觸摸輸入的方向。 In some embodiments, before the executing the application corresponding to the touch input signal, the method further includes: Determining, according to the touch feature information of the touch input signal on the touch screen of the terminal, whether the touch input signal is a valid touch input, where the touch feature information includes a touch start coordinate position, a touch end coordinate position, and a touch process. The peak position of each point, the coordinate range of the touch area, the direction and length of the touch input first and last stroke, whether the touch process has a tendency to return to the starting point, the direction of the touch area at the bottom and the top touch input.
本發明第二方面還提供一種終端,可包括:識別模組,用於識別終端的當前狀態;檢測模組,用於當所述終端的當前狀態為N種預設狀態中的其中一種時,即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號,所述N不小於1;執行模組,用於若確定出所述觸摸輸入信號為有效的觸摸輸入,則執行與所述觸摸輸入信號相對應的應用程式。 A second aspect of the present invention provides a terminal, which may include: an identification module, configured to identify a current state of the terminal, and a detection module, configured to: when the current state of the terminal is one of N preset states, Instantly detecting a touch input signal acquired on the touch screen of the terminal, wherein the N is not less than 1; and executing a module, if the touch input signal is determined to be a valid touch input, performing the touch The application corresponding to the input signal.
在某些實施方式中,所述檢測模組具體用於:當所述終端的當前狀態為N種預設狀態中的其中一種時,即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號;其中,所述N種預設狀態包括如下狀態中的任意兩種或兩種以上:鎖屏狀態、待機狀態、解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態、解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態。 In some embodiments, the detecting module is configured to: when the current state of the terminal is one of N preset states, instantly detect the touch input acquired on the touch screen of the terminal. a signal; wherein the N preset states include any two or more of the following states: a lock screen state, a standby state, an unlock state, and are in a main interface and are not running in the background or running one or running multiple applications. The state, the unlocked state, and the state of the non-game application running on the current interface of the terminal touch screen.
在某些實施方式中,所述終端還包括控制模 組,所述控制模組用於當所述終端的當前狀態為鎖屏狀態或待機狀態時,限定所述終端觸控式螢幕上獲取觸摸輸入信號的區域。 In some embodiments, the terminal further includes a control mode The control module is configured to limit an area on the touch screen of the terminal to obtain a touch input signal when the current state of the terminal is a lock screen state or a standby state.
在某些實施方式中,所述終端還包括確定模組,用於根據所述終端觸控式螢幕上觸摸輸入信號的觸摸特徵資訊,確定出所述觸摸輸入信號是否為有效的觸摸輸入,所述觸摸特徵資訊包括觸摸起點座標位置、觸摸終點座標位置、觸摸過程中每一個點的峰值位置、觸摸區域的座標範圍、觸摸輸入第一筆與最後一筆的方向和長度、觸摸過程是否有回到起點的趨勢、觸摸區域最下方與最上方觸摸輸入的方向。 In some embodiments, the terminal further includes a determining module, configured to determine, according to the touch feature information of the touch input signal on the touch screen of the terminal, whether the touch input signal is a valid touch input. The touch feature information includes a touch start coordinate position, a touch end coordinate position, a peak position of each point in the touch process, a coordinate range of the touch area, a direction and a length of the first and last strokes of the touch input, and whether the touch process has returned. The trend of the starting point, the direction of the bottom of the touch area and the direction of the top touch input.
從以上技術方案可以看出,本發明實施例提供的一種應用程式的執行方法以及終端,將終端觸控式螢幕上的觸摸輸入認為是用戶的一種有意識的操作,在多種預設狀態下,根據即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號來判斷是否需要執行應用程式,以切換應用程式的狀態,或切換系統的工作狀態,操作簡單,方便快捷,提高了用戶體驗。 It can be seen from the above technical solution that an application execution method and a terminal provided by the embodiment of the present invention consider the touch input on the touch screen of the terminal to be a conscious operation of the user, and in various preset states, According to the instant detection of the touch input signal obtained on the touch screen of the terminal, it is determined whether the application needs to be executed, to switch the state of the application, or to switch the working state of the system, the operation is simple, convenient and fast, and the user experience is improved.
401‧‧‧識別模組 401‧‧‧identification module
402‧‧‧檢測模組 402‧‧‧Test module
403‧‧‧執行模組 403‧‧‧Executive Module
S101‧‧‧識別終端的當前狀態 S101‧‧‧ Identify the current status of the terminal
S102‧‧‧當終端的當前狀態為N種預設狀態中的其中一種時,即時檢測終端觸控式螢幕上獲取到的觸摸輸入信號,所述N不小於1 S102‧‧‧ When the current state of the terminal is one of N preset states, the touch input signal acquired on the touch screen of the terminal is detected instantaneously, and the N is not less than 1
S103‧‧‧若確定出所述觸摸輸入信號為有效的觸摸輸入,則執行與所述觸摸輸入信號相對應的應用程式 S103‧‧‧ If the touch input signal is determined to be a valid touch input, executing an application corresponding to the touch input signal
S201‧‧‧識別終端的當前狀態 S201‧‧‧ Identify the current status of the terminal
S202‧‧‧識別出終端的當前狀態為鎖屏狀態或待機狀態時,限定終端觸控式螢幕上獲取觸摸輸入信號的區域 S202‧‧‧When the current state of the terminal is recognized as the lock screen state or the standby state, the area on the touch screen of the terminal is obtained to obtain the touch input signal.
S203‧‧‧即時檢測終端觸控式螢幕限定區域內獲取到的觸摸輸入信號 S203‧‧‧Instantaneous detection of touch input signals acquired in the limited area of the touch screen
S204‧‧‧確定觸摸輸入信號是否為有效的觸摸輸入 S204‧‧‧ Determine if the touch input signal is a valid touch input
S205‧‧‧執行與觸摸輸入信號相對應的應用程式 S205‧‧‧ Execute the application corresponding to the touch input signal
第1圖為本發明實施例提供的一種應用程式的執行方法的流程示意圖。 FIG. 1 is a schematic flowchart diagram of an execution method of an application according to an embodiment of the present invention.
第2圖為本發明實施例提供的另一種應用程式的執行方法的流程示意圖。 FIG. 2 is a schematic flowchart diagram of another method for executing an application according to an embodiment of the present invention.
第3圖為本發明實施例提供的應用程式的執行方法中一種觸摸輸入的實例示意圖。 FIG. 3 is a schematic diagram of an example of a touch input in an execution method of an application according to an embodiment of the present invention.
第4圖為本發明實施例提供的一種終端的結構示意圖。 FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
本發明實施例提供了一種應用程式的執行方法以及終端,用於快速執行及控制應用程式,或切換系統狀態,提高使用者體驗。 Embodiments of the present invention provide an application execution method and a terminal for quickly executing and controlling an application, or switching system states, and improving a user experience.
下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚、完整地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其它實施例,都屬於本發明保護的範圍。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
以下分別進行詳細說明。 The details are described below separately.
第1圖為本發明實施例提供的一種應用程式的執行方法的流程示意圖,所述方法包括:S101、識別終端的當前狀態;S102、當所述終端的當前狀態為N種預設狀態中的其中一種時,即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號,所述N不小於1;S103、若確定出所述觸摸輸入信號為有效的觸摸輸入,則執行與所述觸摸輸入信號相對應的應用程式。 FIG. 1 is a schematic flowchart of a method for executing an application according to an embodiment of the present invention. The method includes: S101: identifying a current state of a terminal; and S102, when a current state of the terminal is in an N preset state. In one case, the touch input signal acquired on the touch screen of the terminal is detected in real time, and the N is not less than 1; S103, if it is determined that the touch input signal is a valid touch input, performing the touch The application corresponding to the input signal.
其中,所述應用程式的執行方法的執行主體可 以是終端,所述終端可以是具備觸摸功能的移動通信終端(手機)或平板電腦等小型觸摸電子設備等。 Wherein, the execution body of the execution method of the application may Therefore, the terminal may be a mobile communication terminal (mobile phone) having a touch function or a small touch electronic device such as a tablet computer.
可以理解的是,在實際操作中,所述應用程式可以是流覽器、微博、電子書、播放機、遊戲、資訊、鍵盤、連絡人、後臺運行的應用程式等中的一個或者多個的組合,此處不作具體限定。也就是說,在預設狀態中,所述終端上有效的觸摸輸入可以認為是這些應用程式的快捷進入方式。 It can be understood that, in actual operation, the application may be one or more of a browser, a microblog, an e-book, a player, a game, an information, a keyboard, a contact, an application running in the background, and the like. The combination is not specifically limited herein. That is to say, in the preset state, the effective touch input on the terminal can be regarded as a quick entry mode of these applications.
另容易想到的是,所述終端觸控式螢幕上獲取到的觸摸輸入信號由使用者通過觸控式螢幕輸入,該觸摸輸入信號可以是按兩下、單點拖動、雙點縮放等一系列的手勢輸入,也可以是一些手寫的筆劃輸入,如字母、數位、符號等等,此處不作具體限定。 It is also conceivable that the touch input signal acquired on the touch screen of the terminal is input by the user through the touch screen, and the touch input signal may be a double click, a single point drag, a double point zoom, etc. The series of gesture input can also be some handwritten stroke input, such as letters, digits, symbols, etc., which are not specifically limited herein.
由上述可知,本發明實施例提供的一種應用程式的執行方法,將終端觸控式螢幕上的觸摸輸入認為是用戶的一種有意識的操作,在多種預設狀態下,根據即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號來判斷是否需要執行應用程式,以切換應用程式的狀態,或切換系統的工作狀態,操作簡單,方便快捷,提高了用戶體驗。 It can be seen from the above that an implementation method of an application program according to an embodiment of the present invention considers a touch input on a touch screen of a terminal to be a conscious operation of the user, and in a plurality of preset states, the terminal is detected according to the instant. The touch input signal obtained on the touch screen determines whether the application needs to be executed to switch the state of the application or switch the working state of the system, and the operation is simple, convenient and fast, and the user experience is improved.
在某些實施方式中,所述N種預設狀態可以包括如下狀態中的任意兩種或兩種以上:鎖屏狀態、待機狀態、解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態、解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態。 In some embodiments, the N preset states may include any two or more of the following states: a lock screen state, a standby state, an unlock state, and are in the main interface and are not running or running one or running in the background. The status of multiple applications, the unlocked state, and the state of the non-game application running on the current interface of the terminal touch screen.
可以理解的是,使用者可以根據實際操作需要選擇是否開啟即時檢測並執行與所述觸摸輸入信號相對應的應用程式的功能;另外,本發明實施例中的所述N種預設狀態是由使用者預先設置在所述終端中的,在實際操作中,使用者可以根據需要設置更多的預設狀態,上述涉及的任意兩種或兩種以上組合的狀態並不對本發明構成限定。 It can be understood that the user can select whether to enable the instant detection and perform the function of the application corresponding to the touch input signal according to the actual operation requirement. In addition, the N preset states in the embodiment of the present invention are The user is preset in the terminal. In actual operation, the user can set more preset states as needed. The state of any two or more combinations mentioned above does not limit the present invention.
以下實施例場景中,基於某一種預設狀態對所述應用程式的執行方法進行分析說明,該方法執行主體為終端(如手機),該場景下假設所述終端開啟即時檢測並執行與所述觸摸輸入信號相對應的應用程式的功能,且所述終端的當前狀態為鎖屏狀態或待機狀態;如第2圖所示,第2圖為本發明實施例提供的該場景下應用程式的執行方法的流程圖; In the following embodiment, the execution method of the application is analyzed based on a certain preset state, where the execution subject is a terminal (such as a mobile phone), and the scenario assumes that the terminal starts instant detection and executes the Touching the function of the application corresponding to the input signal, and the current state of the terminal is a lock screen state or a standby state; as shown in FIG. 2, FIG. 2 is an execution of the application in the scenario provided by the embodiment of the present invention. Flow chart of the method;
S201、識別終端的當前狀態; S201. Identify a current state of the terminal.
S202、識別出所述終端的當前狀態為鎖屏狀態或待機狀態時,限定所述終端觸控式螢幕上獲取觸摸輸入信號的區域;可以理解的是,當終端的當前狀態為鎖屏狀態或待機狀態時,可以認為是一種休眠狀態,可以配置低功耗的掃描方式來喚醒或啟動系統;限定特定的區域D,例如單獨一個或幾個信號收發端,以節省功耗。在某些實施方式中,觸摸晶片(Touch IC)正常工作時,也可以不限定獲取觸摸輸入信號的區域,即可支援觸控式螢幕任意區域的 觸摸輸入。也就是說,本發明實施例中,觸摸晶片配置以正常和節約功耗兩種模式工作,而當觸摸晶片處於節約功耗模式時,觸摸晶片在終端觸控式螢幕上讀取觸摸輸入信號的區域做了限制,同時也限制了觸摸晶片的工作頻率/速度等,以達到節約功耗的目的。 S202. When it is determined that the current state of the terminal is a lock screen state or a standby state, the area of the touch screen on which the touch input signal is acquired is defined. It can be understood that when the current state of the terminal is a lock screen state or In the standby state, it can be considered as a sleep state, and a low-power scanning mode can be configured to wake up or start the system; a specific area D, for example, a single signal transmitter or a plurality of signal transceivers, is defined to save power. In some embodiments, when the touch IC is working normally, the area where the touch input signal is acquired may not be limited, and the touch screen may be supported in any area of the touch screen. Touch the input. That is to say, in the embodiment of the present invention, the touch wafer configuration works in two modes of normal and power saving, and when the touch wafer is in the power saving mode, the touch wafer reads the touch input signal on the touch screen of the terminal. The area is limited, and the operating frequency/speed of the touch chip is also limited to save power.
S203、即時檢測所述終端觸控式螢幕限定區域內獲取到的觸摸輸入信號;可以理解的是,現有技術中,所述鎖屏狀態和/或待機狀態通常是指使用者當前無法直接通過終端觸控式螢幕控制終端的狀態;而本發明實施例中,將終端觸控式螢幕上的觸摸輸入認為是用戶的一種有意識的操作;例如:可以識別按兩下、單點拖動、雙點縮放等一系列的手勢觸摸輸入,也可以識別單筆數位輸入:1,2,3,6,7,8,9;識別兩筆數位輸入:4,5;識別O,△,@,V,e,√等複雜的單筆輸入;識別X,Q等複雜的兩筆輸入,以實現喚醒,解鎖,輸入字元,應用切換等功能。需要說明的是,除去現有通用的手勢外,上述手寫輸入符合用戶的經驗和習慣,容易理解和使用,因此在本發明中著重聲明,在實際操作中均己得到實現;另外,該實施方式中所列舉的單筆和多筆觸摸輸入均為舉例示意,對本發明並不構成限定。 S203: Instantly detecting a touch input signal acquired in the limited area of the touch screen of the terminal; it can be understood that, in the prior art, the lock screen state and/or the standby state generally refer to that the user cannot directly pass the terminal at present. The touch screen controls the state of the terminal; in the embodiment of the present invention, the touch input on the touch screen of the terminal is regarded as a conscious operation of the user; for example, the button can be recognized by two times, single point drag, double A series of gesture touch inputs such as point zoom can also recognize single digit input: 1, 2, 3, 6, 7, 8, 9; recognize two digit digit inputs: 4, 5; identify O, △, @, V , e, √ and other complex single-stroke input; recognize X, Q and other complex two-stroke input to achieve wake-up, unlock, input characters, application switching and other functions. It should be noted that, in addition to the existing common gestures, the above handwriting input conforms to the user's experience and habits, and is easy to understand and use. Therefore, it is emphasized in the present invention that it has been realized in actual operation; in addition, in this embodiment, The enumerated single and multiple touch inputs are illustrative and are not intended to limit the invention.
S204、確定所述觸摸輸入信號是否為有效的觸摸輸入;優選地,在本發明實施方式中,基於以下步驟判斷所述觸摸輸入信號是否為有效的觸摸輸入:根據所述 終端觸控式螢幕上觸摸輸入信號的觸摸特徵資訊,確定出所述觸摸輸入信號是否為有效的觸摸輸入,所述觸摸特徵資訊包括觸摸起點座標位置、觸摸終點座標位置、觸摸過程中每一個點的峰值位置、觸摸區域的座標範圍、觸摸輸入第一筆與最後一筆的方向和長度、觸摸過程是否有回到起點的趨勢、觸摸區域最下方與最上方觸摸輸入的方向。 S204. Determine whether the touch input signal is a valid touch input. Preferably, in the embodiment of the present invention, determining whether the touch input signal is a valid touch input based on the following steps: The touch feature information of the touch input signal on the touch screen of the terminal determines whether the touch input signal is a valid touch input, and the touch feature information includes a touch start coordinate position, a touch end coordinate position, and each point in the touch process. The peak position, the coordinate range of the touch area, the direction and length of the touch input first and last stroke, whether the touch process has a tendency to return to the starting point, the direction of the touch area at the bottom and the top touch input.
可以理解的是,觸摸晶片通過讀取觸控式螢幕回饋的資料,提取出可能的觸摸資訊。觸控式螢幕回饋的資料由一個M*N的矩陣構成,其中M代表信號發送端(即激勵端)的個數(M大於或等於1),N代表信號接收端的個數(N大於或等於1)。每一個發送端與接收端構成一個感應電容(自電容或互電容),這個感應電容的變化大小,通過一定的電路轉換成數值,存入M*N矩陣中對應的位置,由觸摸晶片分析和處理。基本的判斷觸摸的條件是:M*N矩陣中某位置存在超過預設閾值,則表示該位置有可能發生了觸摸;其中,所述預設閾值可以定義為觸摸閾值,是由對該觸控式螢幕在各種條件下的觸摸數值大小做統計分析獲得。觸摸的峰值位置,指的是M*N矩陣中觸摸資料對應的位置,如(6,12);觸摸的座標位置是指將峰值位置轉化為系統可識別的顯示圖元對應的位置,如(368,750)。 It can be understood that the touch wafer extracts possible touch information by reading the data fed back by the touch screen. The data of the touch screen feedback is composed of a matrix of M*N, where M represents the number of signal transmitting ends (ie, the exciting end) (M is greater than or equal to 1), and N represents the number of signal receiving ends (N is greater than or equal to 1). Each of the transmitting end and the receiving end constitutes a sensing capacitor (self-capacitance or mutual capacitance), and the magnitude of the change of the sensing capacitor is converted into a value by a certain circuit and stored in a corresponding position in the M*N matrix, which is analyzed by the touch wafer and deal with. The basic condition for determining the touch is that a certain position in the M*N matrix exceeds a preset threshold, indicating that a touch may occur at the position; wherein the preset threshold may be defined as a touch threshold, which is determined by the touch. The screen is obtained by statistical analysis of the touch value under various conditions. The peak position of the touch refers to the position corresponding to the touch data in the M*N matrix, such as (6, 12); the coordinate position of the touch refers to the conversion of the peak position to the position corresponding to the display element recognizable by the system, such as ( 368,750).
優選地,本發明實施例中,當終端的當前狀態為鎖屏狀態或待機狀態時,可以利用按兩下手勢或滑動手勢去啟動或喚醒系統,或切換應用程式的狀態,也可以利 用手寫輸入去啟動或喚醒系統,或切換應用程式的狀態;進一步地,在按兩下或滑動手勢實施方式中,對於按兩下手勢判斷其是否為有效的觸摸輸入的要求可以是:在限定的區域D連續獲取到兩次單點觸摸,過程中,獲取單次觸摸超過觸摸閾值的持續時間,若兩次觸摸間隔時間少於預設定的第一時間間隔,且每次觸摸的持續時間少於某設定的時間長度,則可以確定出按兩下有效,類似地,識別多次點擊方法此處不作具體闡述;對於滑動手勢判斷其是否為有效的觸摸輸入的要求可以是:在限定的區域D內連續獲取到單點觸摸,過程中觸摸持續的時間大於預設定的第二時間間隔,小於預設定的第三時間間隔,且觸摸範圍超過一定預設範圍,則可以確定出滑動有效。 Preferably, in the embodiment of the present invention, when the current state of the terminal is the lock screen state or the standby state, the system can be started or awake by using a two-down gesture or a swipe gesture, or the state of the application is switched, and Use handwriting input to start or wake up the system, or switch the state of the application; further, in a two-down or swipe gesture implementation, the requirement for a touch input to determine whether it is valid by a double-down gesture may be: The area D continuously acquires two single touches in succession, in which the duration of the single touch exceeds the touch threshold is obtained, if the two touch intervals are less than the preset first time interval, and the duration of each touch is small For a set length of time, it can be determined that pressing twice is effective. Similarly, the method of identifying multiple clicks is not specifically described herein; the requirement for the sliding gesture to determine whether it is a valid touch input may be: in a limited area A single touch is continuously acquired in D, and the duration of the touch is greater than a preset second time interval, less than a preset third time interval, and the touch range exceeds a certain preset range, and the sliding can be determined to be valid.
更進一步地,在手寫輸入實施方式中,對於兩筆/多筆的手寫輸入,可以分解為若干單筆手寫輸入的組合,其中每一個單筆手寫輸入,類似地滿足有效單筆輸入的判斷條件可以是:(1)持續時間不能少於第一預設時間;(2)持續時間不能超過第二預設時間;(3)單筆佔據的面積不少於第一預設面積,不大於第二預設面積;(4)筆與筆之間的間隔時間不能少於第三預設時間。 Further, in the handwriting input embodiment, for two or more handwriting input, it can be decomposed into a combination of a plurality of single handwriting inputs, wherein each single handwriting input similarly satisfies the judgment condition of effective single input. It may be: (1) the duration may not be less than the first preset time; (2) the duration may not exceed the second preset time; (3) the area occupied by the single pen is not less than the first preset area, not greater than the first The second preset area; (4) the interval between the pen and the pen cannot be less than the third preset time.
其中,如果不滿足上述判斷條件,該觸摸輸入信號被認為是無效的,相對於現有的採用類似影像處理的方法進行判斷確定,本發明基於觸摸晶片的特點,即時地 在觸摸過程中對觸摸輸入進行辨識和特徵提取,將完整的輸入字元零散化,利用決策圖表(decision tree)進行決策判斷,觸摸結束即即時上報辨識結果。 Wherein, if the above-mentioned judgment condition is not satisfied, the touch input signal is considered to be invalid, and the determination is determined with respect to the existing method using similar image processing, and the present invention is based on the characteristics of the touch wafer, and instantly In the touch process, the touch input is identified and extracted, the complete input character is scattered, and the decision tree is used for decision making. The end of the touch immediately reports the identification result.
針對一個有效的單筆輸入(多筆輸入類似,即可認為多個單筆組合),可以提取的基本特徵資訊包括:(1)觸摸的起點座標位置(x0,y0);(2)觸摸的終點座標位置(xend,yend);(3)觸摸過程中每一個點的峰值位置(PeakXo,PeakYo),對應存入一個M*N的矩陣;(4)觸摸區域的座標範圍(xmin,xmax,ymin,ymax);(5)觸摸區域的座標在一個方向(X或Y)達到最大/最小值時,對應的另一個座標(Y或X)的數值;(6)觸摸輸入第一筆的手寫方向和長度;(7)觸摸輸入最後一筆的手寫方向和長度;(8)手寫過程中有無回到起點的趨勢(例如,判斷O,8等輸入);(9)經過觸摸區域最下方和最上方時的手寫方向。 For a valid single input (multiple input similar, you can think of multiple single combination), the basic feature information that can be extracted includes: (1) the starting coordinate position of the touch (x0, y0); (2) the touch End point coordinate position (xend, yend); (3) Peak position of each point in the touch process (PeakXo, PeakYo), corresponding to a matrix of M*N; (4) Coordinate range of the touch area (xmin, xmax, Ymin, ymax); (5) the coordinate of the touch area in one direction (X or Y) reaches the maximum/minimum value, the value of the corresponding other coordinate (Y or X); (6) the handwriting of the first input by touch Direction and length; (7) Touch the handwriting direction and length of the last stroke; (8) Whether there is a tendency to return to the starting point during the handwriting process (for example, to judge the input of O, 8, etc.); (9) The bottom and the most touched area Handwriting direction when above.
該實施方式中,可一併參考第3圖,第3圖為本發明實施例提供的一種應用程式的調出方法中觸摸輸入的實例示意圖,如在觸摸手寫輸入6的過程中,上述特徵(1),(2),(5),(6),(7),(9)標注出來,特徵(3)保留點經過軌跡峰值位置,形成一個M*N的矩陣,特徵(6)在尋找到X方向的最小值xmin,X方向的最大值xmax,Y方向的最小值ymin和X方向的最大值ymax的同時,保存 達到最大/最小值時另一坐標軸方向的數值,形成四個有效座標點:(xmin,y),(xmax,y’),(x,ymin),(x’,ymax)。需要注意的是,這四個點可能重合,如圖3中的“6”,起點(x0,y0),既是全域xmax點的位置,又是全域ymin點的位置。特徵(8)不存在,其判斷的標準是在輸入過程中是否有點與起點的距離小於一定預設範圍。以上提取的基本特徵經過組合,也能推導出新的特徵,例如根據第一筆起點和終點座標的位置,可以推導出該筆輸入是平滑還是陡峭,平滑的標準是X方向變化遠遠大於Y方向的變化(例如,X方向變化大於Y方向變化的四倍),陡峭則相反;類似能夠提取的數值特徵不僅限於以上幾點,但綜合演算法判斷的效率和觸摸晶片的工作效率,以上幾個特徵可以應對普通的單筆/兩筆手寫輸入。 In this embodiment, reference may be made to FIG. 3, which is a schematic diagram of an example of a touch input in an application calling method according to an embodiment of the present invention, such as in the process of touching the handwriting input 6, the above features ( 1), (2), (5), (6), (7), (9) are marked, feature (3) retains the point through the trajectory peak position to form a matrix of M*N, feature (6) is looking for The minimum value xmin in the X direction, the maximum value xmax in the X direction, the minimum value ymin in the Y direction, and the maximum value ymax in the X direction are saved. The value of the other coordinate axis direction when the maximum/minimum value is reached, forming four effective coordinate points: (xmin, y), (xmax, y'), (x, ymin), (x', ymax). It should be noted that these four points may overlap, as shown in Figure 3, "6", the starting point (x0, y0), both the position of the global xmax point and the location of the global ymin point. Feature (8) does not exist, and the criterion for its judgment is whether the distance from the starting point is less than a certain preset range during the input process. The basic features extracted above can be combined to derive new features. For example, according to the position of the first starting point and the ending point, it can be deduced whether the input is smooth or steep. The standard of smoothing is that the X direction changes much more than Y. The change in direction (for example, the change in the X direction is greater than four times the change in the Y direction), and the steepness is the opposite; similar numerical features that can be extracted are not limited to the above points, but the efficiency of the integrated algorithm and the working efficiency of the touch chip, the above Features can handle ordinary single/two handwriting input.
容易想到的是,對於其他單筆/兩筆手寫輸入也是同樣可以根據以上九個特徵判斷是否為有效輸入,此處不再作具體闡述,且上述舉例不構成對發明的限定。 It is easy to think that the other single/two handwriting input can also be judged as valid input according to the above nine features, and will not be specifically described herein, and the above examples do not constitute a limitation of the invention.
S205、若確定出所述觸摸輸入信號為有效的觸摸輸入,則調出與所述觸摸輸入信號相對應的應用程式;本發明實施例中,執行與所述觸摸輸入信號相對應的應用程式的一種可選實施方式為:終端根據獲取到的觸摸輸入信號,在預置的觸摸輸入信號和應用程式的關係對應表中查找,獲取並執行與所述觸摸輸入信號相對應的應用程式;可以理解的是,觸摸輸入信號和應用程式的關 係對應表是預先設置在終端中的;在本實施方式中,所述應用程式可以是流覽器、微博、電子書、播放機、遊戲、資訊、鍵盤、連絡人、後臺運行的應用程式等中的一個或者多個的組合,此處不作具體限定。 S205. If it is determined that the touch input signal is a valid touch input, an application corresponding to the touch input signal is called. In the embodiment of the present invention, executing an application corresponding to the touch input signal An optional implementation manner is: the terminal searches for, according to the acquired touch input signal, a preset touch input signal and an application correspondence table, and acquires and executes an application corresponding to the touch input signal; Is the touch input signal and the application's off The correspondence table is preset in the terminal; in this embodiment, the application may be a browser, a microblog, an e-book, a player, a game, an information, a keyboard, a contact, and an application running in the background. A combination of one or more of the items is not specifically limited herein.
例如,在該實施方式中,終端的當前狀態為鎖屏狀態或待機狀態,在終端觸控式螢幕上寫入@,可以直接喚醒系統,跳轉入電子郵件功能;跳入電子郵件後,在終端觸控式螢幕上寫入2,進入給“2”號連絡人發郵件的頁面等等。 For example, in this implementation manner, the current state of the terminal is a lock screen state or a standby state, and writing @ on the touch screen of the terminal can directly wake up the system and jump into the email function; after jumping into the email, at the terminal Write 2 on the touch screen, enter the page for sending emails to the "2" contact, and so on.
另外,本發明實施例還可以使用可延伸標記語言(Extensible Markup Language,XML)設定檔的方式來記錄觸摸輸入信號與應用程式的對應資訊,此處不作具體限定。 In addition, the embodiment of the present invention may also use the Extensible Markup Language (XML) profile to record the corresponding information of the touch input signal and the application, which is not specifically limited herein.
需要說明的是,本發明實施例中,用觸摸手寫輸入或觸摸手勢輸入的方法,可以實現切換系統狀態,如解鎖正常工作狀態、待機狀態、鎖屏狀態等,也可以執行或控制應用程式,如停止當前應用程式,進入另一個應用程式等。 It should be noted that, in the embodiment of the present invention, the method of touching the handwriting input or the touch gesture input may be used to switch the system state, such as unlocking the normal working state, the standby state, the lock screen state, etc., and may also execute or control the application. For example, stop the current application, enter another application, etc.
由上述可知,本發明實施例提供的一種應用程式的執行方法,將終端觸控式螢幕上的觸摸輸入認為是用戶的一種有意識的操作,在系統鎖屏狀態或待機狀態下,可配置觸摸晶片在正常或節約功耗模式的工作方式,在系統正常工作狀態下,可配置觸摸晶片在正常模式下工作。根據即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信 號來判斷是否需要執行應用程式,以切換應用程式的狀態,或切換系統的工作狀態;所述觸摸輸入信號可以是手勢觸摸輸入,也可以是手寫觸摸輸入,操作簡單,方便快捷,提高了用戶體驗。 It can be seen from the above that an implementation method of an application program according to an embodiment of the present invention considers a touch input on a touch screen of a terminal to be a conscious operation of the user, and can be configured to be touched in a system lock screen state or a standby state. The chip operates in a normal or power-saving mode, and the configurable touch die operates in normal mode during normal system operation. According to the instant detection of the touch input signal obtained on the touch screen of the terminal The number is used to determine whether the application needs to be executed to switch the state of the application, or to switch the working state of the system; the touch input signal can be a gesture touch input or a handwritten touch input, and the operation is simple, convenient and fast, and the user is improved. Experience.
在某些實施方式中,可以理解的是,當所述終端為解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態、或者是所述終端為解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態時,也可以按照上述應用程式的執行方法來檢測並執行與所述觸摸輸入信號相對應的應用程式;需要說明的是,當前介面上運行的應用程式是指當前介面上顯示的正在運行的應用程式,不包括使用者沒有關閉的、後臺運行的應用程式。 In some embodiments, it can be understood that when the terminal is in an unlocked state and is in the main interface and the background is not running or running one or running multiple applications, or the terminal is in an unlocked state and the When the current touch screen of the terminal touch screen is running the state of the non-game application, the application corresponding to the touch input signal may be detected and executed according to the execution method of the application; the current interface is required to be described. The application refers to the running application displayed on the current interface, and does not include applications that are not closed by the user and run in the background.
為了更加理解本發明應用程式的執行方法的技術方案,以下以兩個具體應用場景對該方法進行分析說明:可選地,在本發明實施例的一個應用場景中,若所述終端為手機,所述手機為解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態,當使用者需要使用手機流覽網頁,可以在手機觸控式螢幕上輸入e,該觸摸輸入e可以認為觸摸輸入信號,且所述觸摸輸入信號判斷有效,則所述手機當前介面上跳轉為流覽器介面,從而進入需要打開的網頁。 In order to further understand the technical solution of the method for executing the application of the present invention, the method is described in the following two specific application scenarios. Optionally, in an application scenario of the embodiment of the present invention, if the terminal is a mobile phone, The mobile phone is in an unlocked state and is in the state of the main interface, and the background is not running or running one or running multiple applications. When the user needs to use the mobile phone to browse the webpage, the user can input e on the touch screen of the mobile phone, and the touch input is input. e can think that the input signal is touched, and the touch input signal is judged to be valid, then the current interface of the mobile phone jumps to the browser interface, thereby entering the webpage that needs to be opened.
可選地,在本發明實施例的另一個應用場景 中,若所述終端為手機,所述手機為解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態,該非遊戲應用程式可以是使用者正在使用手機觀看視頻,若此時使用者需要發短信,只需在手機觸控式螢幕上輸入資訊對應的觸摸輸入信號m,且所述觸摸輸入信號m判斷有效,則手機觸控式螢幕跳轉到發短信的介面,進一步地,在跳轉到發短信的介面後,在手機觸控式螢幕上寫入2,進入給“2”號連絡人發短信的頁面等。 Optionally, another application scenario in the embodiment of the present invention If the terminal is a mobile phone, the mobile phone is in an unlocked state, and the terminal touch screen currently runs a non-game application state, the non-game application may be that the user is watching the video using the mobile phone, if The user needs to send a text message, and only needs to input the touch input signal m corresponding to the information on the touch screen of the mobile phone, and the touch input signal m is judged to be valid, then the touch screen of the mobile phone jumps to the interface for texting, further Ground, after jumping to the interface for sending text messages, write 2 on the touch screen of the mobile phone, and enter the page for sending text messages to the contact person of “2”.
容易想到的是,檢測並執行與所述觸摸輸入信號相對應的應用程式還可以應用在其他更多的應用場景,此處不作具體闡述,上述舉例不構成對本發明的限定;另可以理解的是,當所述手機為解鎖狀態且所述終端觸控式螢幕當前介面運行遊戲應用程式的狀態時,使用者可以根據實際操作需要選擇關閉即時檢測並執行與所述觸摸輸入信號相對應的應用程式的功能,例如:若所述終端為手機,當用戶正在使用手機玩遊戲時,即手機觸控式螢幕介面為該遊戲內容的介面,使用者可以選擇關閉即時檢測並執行與所述觸摸輸入信號相對應的應用程式的功能,即輸入的觸摸信號不再執行與該觸摸信號相對應的應用程式,以防止由於該遊戲的手勢觸摸輸入造成誤操作,從而提高用戶體驗。 It is easily conceivable that detecting and executing an application corresponding to the touch input signal can also be applied to other more application scenarios, which are not specifically described herein. The above examples do not constitute a limitation of the present invention; When the mobile phone is in an unlocked state and the terminal touch screen currently runs the game application, the user can select to close the instant detection and execute the application corresponding to the touch input signal according to actual operation requirements. The function is, for example, if the terminal is a mobile phone, when the user is playing a game using the mobile phone, that is, the mobile phone touch screen interface is the interface of the game content, the user can choose to turn off the instant detection and execute the input signal with the touch. The function of the corresponding application, that is, the input touch signal no longer executes the application corresponding to the touch signal, to prevent the erroneous operation caused by the gesture input of the game, thereby improving the user experience.
由上述可知,本發明實施例提供的一種應用程式的執行方法,將終端觸控式螢幕上的觸摸輸入認為是用戶的一種有意識的操作,在多種預設狀態下,如鎖屏狀態、 待機狀態、解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態、解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態等,根據即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號來判斷是否需要執行應用程式,以切換應用程式的狀態,或切換系統的工作狀態,操作簡單,方便快捷,提高了用戶體驗。 It can be seen from the above that an implementation method of an application program according to an embodiment of the present invention considers a touch input on a touch screen of a terminal to be a conscious operation of the user, in various preset states, such as a lock screen state, Standby state, unlocked state and in the main interface and no running or running one or running multiple applications in the background, unlocked state and the state of the terminal touch screen current interface running non-game application, etc., according to the instant detection The touch input signal obtained on the touch screen of the terminal determines whether the application needs to be executed to switch the state of the application or switch the working state of the system, and the operation is simple, convenient and fast, and the user experience is improved.
為便於更好的實施本發明實施例提供的應用程式的執行方法,本發明實施例還提供一種基於上述應用程式的執行方法的終端。其中名詞的含義與上述應用程式的執行方法中相同,具體實現細節可以參考方法實施例中的說明。 In order to facilitate the implementation of the application execution method provided by the embodiment of the present invention, the embodiment of the present invention further provides a terminal based on the execution method of the application program. The meaning of the noun is the same as that in the execution method of the above application. For specific implementation details, refer to the description in the method embodiment.
請參考第4圖,第4圖為本發明實施例提供的一種終端的結構示意圖,其中,所述終端包括:識別模組401,用於識別終端的當前狀態;檢測模組402,用於當所述終端的當前狀態為N種預設狀態中的其中一種時,即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號,所述N不小於1;執行模組403,用於若確定出所述觸摸輸入信號為有效的觸摸輸入,則執行與所述觸摸輸入信號相對應的應用程式。 Referring to FIG. 4, FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention, where the terminal includes: an identification module 401 for identifying a current state of the terminal; and a detection module 402 for When the current state of the terminal is one of N preset states, the touch input signal acquired on the touch screen of the terminal is detected, and the N is not less than 1; and the execution module 403 is used to When it is determined that the touch input signal is a valid touch input, an application corresponding to the touch input signal is executed.
可以理解的是,所述終端可以是具備觸摸功能的移動通信終端(手機)或平板電腦等小型觸摸電子設備等。在實際操作中,所述應用程式可以是流覽器、微博、電子書、遊戲、資訊、鍵盤、連絡人、後臺運行的應用程 式等中的一個或者多個的組合,此處不作具體限定。也就是說,在預設狀態中,所述終端上有效的觸摸輸入可以認為是這些應用程式的快捷進入方式。 It can be understood that the terminal may be a mobile communication terminal (mobile phone) with a touch function or a small touch electronic device such as a tablet computer. In actual operation, the application can be a browser, a microblog, an e-book, a game, an information, a keyboard, a contact, and an application running in the background. A combination of one or more of the formulas and the like is not specifically limited herein. That is to say, in the preset state, the effective touch input on the terminal can be regarded as a quick entry mode of these applications.
另容易想到的是,所述終端觸控式螢幕上獲取到的觸摸輸入信號由使用者通過觸控式螢幕輸入,該觸摸輸入信號可以是按兩下、單點拖動、雙點縮放等一系列的手勢輸入,也可以是一些手寫的筆劃輸入,如字母、數位、符號等等,此處不作具體限定。 It is also conceivable that the touch input signal acquired on the touch screen of the terminal is input by the user through the touch screen, and the touch input signal may be a double click, a single point drag, a double point zoom, etc. The series of gesture input can also be some handwritten stroke input, such as letters, digits, symbols, etc., which are not specifically limited herein.
由上述可知,本發明實施例提供的一種終端,將終端觸控式螢幕上的觸摸輸入認為是用戶的一種有意識的操作,在多種預設狀態下,根據即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號來判斷是否需要執行應用程式,以切換應用程式的狀態,或切換系統的工作狀態,操作簡單,方便快捷,提高了用戶體驗。 As described above, the terminal provided by the embodiment of the present invention considers the touch input on the touch screen of the terminal as a conscious operation of the user, and detects the touch screen of the terminal according to the instant detection in a plurality of preset states. The touch input signal obtained on the device determines whether the application needs to be executed to switch the state of the application or switch the working state of the system, and the operation is simple, convenient and fast, and the user experience is improved.
在某些實施方式中,所述檢測模組402可以具體用於:當所述終端的當前狀態為N種預設狀態中的其中一種時,即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號;其中,所述N種預設狀態包括如下狀態中的任意兩種或兩種以上:鎖屏狀態、待機狀態、解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態、解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態。 In some embodiments, the detecting module 402 may be specifically configured to: when the current state of the terminal is one of N preset states, immediately detect the acquired on the touch screen of the terminal. Touching an input signal; wherein the N preset states include any two or more of the following states: a lock screen state, a standby state, an unlock state, and are in a main interface and are not running in the background or running one or running multiple The state of the application, the unlocked state, and the state of the non-game application running on the current interface of the terminal touch screen.
在某些實施方式中,所述終端還可以包括控制模組,所述控制模組用於當所述終端的當前狀態為鎖屏狀 態或待機狀態時,限定所述終端觸控式螢幕上獲取觸摸輸入信號的區域。 In some embodiments, the terminal may further include a control module, where the control module is configured to: when the current state of the terminal is a lock screen In the state or the standby state, an area on the touch screen of the terminal for obtaining a touch input signal is defined.
在某些實施方式中,所述終端還可以包括確定模組,用於根據所述終端觸控式螢幕上觸摸輸入信號的觸摸特徵資訊,確定出所述觸摸輸入信號是否為有效的觸摸輸入,所述觸摸特徵資訊包括觸摸起點座標位置、觸摸終點座標位置、觸摸過程中每一個點的峰值位置、觸摸區域的座標範圍、觸摸輸入第一筆與最後一筆的方向和長度、觸摸過程是否有回到起點的趨勢、觸摸區域最下方與最上方觸摸輸入的方向。 In some embodiments, the terminal may further include a determining module, configured to determine, according to the touch feature information of the touch input signal on the touch screen of the terminal, whether the touch input signal is a valid touch input. The touch feature information includes a touch start coordinate position, a touch end coordinate position, a peak position of each point in the touch process, a coordinate range of the touch area, a direction and a length of the first and last strokes of the touch input, and whether the touch process has a back The trend to the starting point, the direction at the bottom of the touch area and the direction of the top touch input.
所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的終端以及終端中的單元模組的具體工作過程,可以參考前述應用程式的執行方法實施例中的對應過程,在此不再贅述。 A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the terminal and the unit module in the terminal described above can refer to the corresponding process in the implementation method of the foregoing application program. This will not be repeated here.
由上述可知,本發明實施例提供的一種終端,將終端觸控式螢幕上的觸摸輸入認為是用戶的一種有意識的操作,在多種預設狀態下,如鎖屏狀態、待機狀態、解鎖狀態且處於主介面且後臺無運行或運行一個或運行多個應用程式的狀態、解鎖狀態且所述終端觸控式螢幕當前介面運行非遊戲應用程式的狀態等,根據即時檢測所述終端觸控式螢幕上獲取到的觸摸輸入信號來判斷是否需要執行應用程式,以切換應用程式的狀態,或切換系統的工作狀態,操作簡單,方便快捷,提高了用戶體驗。 As described above, the terminal provided by the embodiment of the present invention considers the touch input on the touch screen of the terminal to be a conscious operation of the user, and in various preset states, such as a lock screen state, a standby state, and an unlock state. And in the state of the main interface and running in the background or running one or running multiple applications, unlocking state, and the state of the terminal touch screen current interface running non-game application, etc., according to the instant detection of the terminal touch type The touch input signal obtained on the screen determines whether the application needs to be executed to switch the state of the application or switch the working state of the system, and the operation is simple, convenient and fast, and the user experience is improved.
在本申請所提供的幾個實施例中,應該理解 到,所揭露的系統,裝置和方法,可以通過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,所述單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或元件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通信連接可以是通過一些介面,裝置或單元的間接耦合或通信連接,可以是電性,機械或其它的形式。 In the several embodiments provided in this application, it should be understood The disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的系統、裝置的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。 A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system and the device described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
所述作為分離部件說明的單元可以是或者也可以不是物理上分開的,作為單元顯示的部件可以是或者也可以不是物理單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本實施例方案的目的。 The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本發明各個實施例中的各功能單元可以集成在一個處理單元中,也可以是各個單元單獨物理存在,也可以兩個或兩個以上單元集成在一個單元中。上述集成的單元既可以採用硬體的形式實現,也可以採用軟體功能單元的形式實現。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of a hardware or a software functional unit.
所述集成的單元如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取存儲介質中。基於這樣的理解,本發明的技術方 案本質上或者說對現有技術做出貢獻的部分或者該技術方案的全部或部分可以以軟體產品的形式體現出來,該電腦軟體產品存儲在一個存儲介質中,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本發明各個實施例所述方法的全部或部分步驟。而前述的存儲介質包括:隨身碟、移動硬碟、唯讀記憶體(ROM,Read-Only Memory)、隨機存取記憶體(RAM,Random Access Memory)、磁碟或者光碟等各種可以存儲程式碼的介質。 The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical side of the present invention The part of the case, or the contribution to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, including a number of instructions for making a computer The device (which may be a personal computer, server, or network device, etc.) performs all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a flash drive, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, a random access memory), a magnetic disk, or a compact disk, and the like. Medium.
以上對本發明所提供的一種應用程式的執行方法以及終端進行了詳細介紹,對於本領域的一般技術人員,依據本發明實施例的思想,在具體實施方式及應用範圍上均會有改變之處,綜上所述,本說明書內容不應理解為對本發明的限制。 The foregoing describes an implementation method and a terminal of an application provided by the present invention. For those skilled in the art, according to the idea of the embodiment of the present invention, there are changes in the specific implementation manner and application scope. In summary, the content of the specification should not be construed as limiting the invention.
S101‧‧‧識別終端的當前狀態 S101‧‧‧ Identify the current status of the terminal
S102‧‧‧當終端的當前狀態為N種預設狀態中的其中一種時,即時檢測終端觸控式螢幕上獲取到的觸摸輸入信號,所述N不小於1 S102‧‧‧ When the current state of the terminal is one of N preset states, the touch input signal acquired on the touch screen of the terminal is detected instantaneously, and the N is not less than 1
S103‧‧‧若確定出所述觸摸輸入信號為有效的觸摸輸入,則執行與所述觸摸輸入信號相對應的應用程式 S103‧‧‧ If the touch input signal is determined to be a valid touch input, executing an application corresponding to the touch input signal
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW102120521A TWI522890B (en) | 2013-06-10 | 2013-06-10 | Application executing method and terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW102120521A TWI522890B (en) | 2013-06-10 | 2013-06-10 | Application executing method and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201447729A true TW201447729A (en) | 2014-12-16 |
| TWI522890B TWI522890B (en) | 2016-02-21 |
Family
ID=52707530
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW102120521A TWI522890B (en) | 2013-06-10 | 2013-06-10 | Application executing method and terminal |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI522890B (en) |
-
2013
- 2013-06-10 TW TW102120521A patent/TWI522890B/en active
Also Published As
| Publication number | Publication date |
|---|---|
| TWI522890B (en) | 2016-02-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101835188B1 (en) | Using pressure differences with a touch-sensitive display screen | |
| KR101545804B1 (en) | Using pressure differences with a touch-sensitive display screen | |
| TWI478041B (en) | Method of identifying palm area of a touch panel and a updating method thereof | |
| EP3336679B1 (en) | Method and terminal for preventing unintentional triggering of a touch key and storage medium | |
| CN105549813B (en) | A kind of method for controlling mobile terminal and mobile terminal | |
| CN103677615A (en) | Method and terminal for calling application program | |
| JP2017152015A (en) | System and method for input assist control by sliding operation in portable terminal equipment | |
| TWI505155B (en) | Touch-control method for capactive and electromagnetic dual-mode touch screen and handheld electronic device | |
| CN103034427A (en) | Touch screen page turning method and device and touch screen equipment | |
| CN105843525A (en) | Information displaying method based on mobile terminal and mobile terminal | |
| CN104182068A (en) | False touch recognition method and device | |
| CN107113349A (en) | The method of terminal device and identification fingerprint | |
| TWI463360B (en) | Management and application methods and systems for touch-sensitive devices, and computer program products thereof | |
| CN105892927A (en) | Mobile terminal control method and device | |
| WO2018177157A1 (en) | Character input method of mobile terminal and mobile terminal | |
| US20130044061A1 (en) | Method and apparatus for providing a no-tap zone for touch screen displays | |
| CN111782036A (en) | Input method, device, electronic device and storage medium | |
| CN105867822B (en) | Information processing method and electronic equipment | |
| US20140223328A1 (en) | Apparatus and method for automatically controlling display screen density | |
| CN107368205A (en) | A kind of hand-written inputting method and mobile terminal | |
| CN105739810B (en) | Mobile electronic device and user interface display method | |
| CN107203736A (en) | A kind of method, device and the terminal of use fingerprinting operation | |
| US10514843B2 (en) | Method for displaying virtual keypad overlapping an application and electronic device | |
| TWI522890B (en) | Application executing method and terminal | |
| CN104007916B (en) | A kind of information processing method and electronic equipment |