TW201523356A - Method for changing scanning frequency and electronic system - Google Patents

Method for changing scanning frequency and electronic system Download PDF

Info

Publication number
TW201523356A
TW201523356A TW102144101A TW102144101A TW201523356A TW 201523356 A TW201523356 A TW 201523356A TW 102144101 A TW102144101 A TW 102144101A TW 102144101 A TW102144101 A TW 102144101A TW 201523356 A TW201523356 A TW 201523356A
Authority
TW
Taiwan
Prior art keywords
frequency
active carrier
touch position
position signals
processor
Prior art date
Application number
TW102144101A
Other languages
Chinese (zh)
Inventor
Hsing-Lung Chung
Jian-Wei Lee
Original Assignee
Acer Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Acer Inc filed Critical Acer Inc
Priority to TW102144101A priority Critical patent/TW201523356A/en
Publication of TW201523356A publication Critical patent/TW201523356A/en

Links

Landscapes

  • Telephone Function (AREA)

Abstract

A method for changing a scanning frequency and an electronic system thereof are provided. The method is suitable for an electronic device, and the method includes: detecting a plurality of touch position signals; determining whether the plurality of touch position signals are conformed to a fiddling points rule; if the plurality of touch position signals are conformed to the fiddling points rule, changing the scanning frequency of the electronic device, which is configured to scan an active carrier wave transmitted by an input device.

Description

掃描頻率切換方法與電子系統 Scan frequency switching method and electronic system

本發明是有關於一種電子裝置的操作方法,且特別是有關於一種掃描頻率切換方法與電子系統。 The present invention relates to an operation method of an electronic device, and more particularly to a scanning frequency switching method and an electronic system.

觸控筆搭配觸控板(touch pad)或觸控螢幕(touch screen)一直是許多人喜愛的電子產品組合。使用者可以利用觸控筆在觸控板或觸控螢幕上進行繪畫及/或記事等操作。傳統的觸控筆就像人類的手指,使用者必須利用觸控筆來觸碰觸控板或觸控螢幕,以改變觸控板或觸控螢幕在觸碰發生的位置上的電容值或壓力值等,從而操作智慧型手機或平板電腦等電子裝置。近年來,可發射主動載波的觸控筆也逐漸普及,透過觸控筆發射的主動載波,電子裝置可以更精確地對觸控筆對應在其觸控板或觸控螢幕上的觸碰位置進行定位。此外,主動載波也可以夾帶部份來自觸控筆的訊息。 The stylus with touch pad or touch screen has always been a favorite electronic product combination. The user can use the stylus to perform painting and/or memo operations on the touchpad or touch screen. The traditional stylus is like a human finger. The user must use the stylus to touch the touchpad or touch screen to change the capacitance or pressure of the touchpad or touchscreen at the location where the touch occurs. Values, etc., to operate electronic devices such as smart phones or tablets. In recent years, styluses capable of transmitting active carriers have also become popular. Through the active carrier transmitted by the stylus, the electronic device can more accurately perform the touch position of the stylus corresponding to the touch panel or the touch screen. Positioning. In addition, the active carrier can also carry some of the messages from the stylus.

然而,在充斥著無線通訊產品與其發射出的無線電的環 境中,觸控筆所發射的主動載波很容易受到環境中的雜訊干擾,從而影響電子裝置所接收到的訊號正確性。 However, it is full of rings of wireless communication products and the radios they emit. In the environment, the active carrier transmitted by the stylus is easily interfered by noise in the environment, thereby affecting the correctness of the signal received by the electronic device.

本發明提供一種掃描頻率切換方法與電子系統,可降低環境雜訊對輸入裝置發射的主動載波造成的干擾。 The invention provides a scanning frequency switching method and an electronic system, which can reduce interference caused by environmental noise to an active carrier transmitted by an input device.

本發明提出一種掃描頻率切換方法,此方法適用於電子裝置,此方法包括:偵測多個觸碰位置訊號;判斷所述觸碰位置訊號是否符合亂報點規則;若所述觸碰位置訊號符合亂報點規則,切換電子裝置的掃描頻率,其中掃描頻率用來掃描由輸入裝置發射的主動載波。 The present invention provides a scanning frequency switching method, which is applicable to an electronic device. The method includes: detecting a plurality of touch position signals; determining whether the touch position signal conforms to a random report point rule; and if the touch position signal is In accordance with the rules of random reporting, the scanning frequency of the electronic device is switched, wherein the scanning frequency is used to scan the active carrier transmitted by the input device.

本發明另提出一種電子系統,此電子系統包括輸入裝置與電子裝置。輸入裝置包括主動載波發射器,其用以發射主動載波。電子裝置包括處理器與主動載波接收器,處理器耦接主動載波接收器。處理器用以偵測多個觸碰位置訊號,並且判斷所述觸碰位置訊號是否符合亂報點規則。若所述觸碰位置訊號符合亂報點規則,處理器切換主動載波接收器的掃描頻率,其中掃描頻率用來掃描由主動載波發射器發射的主動載波。 The invention further provides an electronic system comprising an input device and an electronic device. The input device includes an active carrier transmitter for transmitting an active carrier. The electronic device includes a processor and an active carrier receiver, and the processor is coupled to the active carrier receiver. The processor is configured to detect a plurality of touch position signals, and determine whether the touch position signal conforms to a random report point rule. If the touch position signal conforms to the random reporting point rule, the processor switches the scanning frequency of the active carrier receiver, wherein the scanning frequency is used to scan the active carrier transmitted by the active carrier transmitter.

基於上述,本發明提出的掃描頻率切換方法與電子系統,可透過切換電子裝置的掃描頻率來降低環境雜訊對由輸入裝置發射的主動載波造成的干擾。 Based on the above, the scanning frequency switching method and the electronic system proposed by the present invention can reduce the interference of the environmental noise on the active carrier transmitted by the input device by switching the scanning frequency of the electronic device.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉 實施例,並配合所附圖式作詳細說明如下。 In order to make the above features and advantages of the present invention more apparent, the following is a special The embodiments are described in detail below in conjunction with the drawings.

10‧‧‧電子系統 10‧‧‧Electronic system

11‧‧‧輸入裝置 11‧‧‧ Input device

112‧‧‧主動載波發射器 112‧‧‧Active Carrier Transmitter

114‧‧‧無線傳輸模組 114‧‧‧Wireless Transmission Module

116‧‧‧姿勢偵測單元 116‧‧‧Position detection unit

12‧‧‧電子裝置 12‧‧‧Electronic devices

122‧‧‧觸控螢幕 122‧‧‧ touch screen

124‧‧‧主動載波接收器 124‧‧‧Active Carrier Receiver

126‧‧‧處理器 126‧‧‧ processor

128‧‧‧無線傳輸模組 128‧‧‧Wireless Transmission Module

21‧‧‧主動載波 21‧‧‧Active carrier

22‧‧‧無線傳輸協定 22‧‧‧Wireless Transmission Agreement

S302、S304、S306‧‧‧本發明之一實施例的掃描頻率切換方法各步驟 S302, S304, S306‧‧‧ steps of scanning frequency switching method according to an embodiment of the present invention

圖1與圖2為根據本發明之一實施例所繪示的電子系統的示意圖。 1 and 2 are schematic diagrams of an electronic system according to an embodiment of the invention.

圖3為根據本發明之一實施例所繪示的掃描頻率切換方法的示意圖。 FIG. 3 is a schematic diagram of a scanning frequency switching method according to an embodiment of the invention.

圖1與圖2為根據本發明之一實施例所繪示的電子系統的示意圖。請參照圖1,電子系統10包括輸入裝置11與電子裝置12。輸入裝置11例如是觸控筆(stylus)或遙控器。 1 and 2 are schematic diagrams of an electronic system according to an embodiment of the invention. Referring to FIG. 1 , the electronic system 10 includes an input device 11 and an electronic device 12 . The input device 11 is, for example, a stylus or a remote controller.

在本實施例中,電子裝置12包括觸控螢幕(touch screen)122。觸控螢幕122可以是電阻式(resistive)觸控面板、電容式(capacitive)觸控面板、光學式(optical)觸控面板、聲波式(acoustic wave)觸控面板或電磁式(electromagnetic)觸控面板等,而具有觸控與顯示功能。例如,電子裝置12可以是智慧型手機、平板電腦、筆記型電腦、電視機或桌上型電腦等具有觸控螢幕的電子裝置。 In the embodiment, the electronic device 12 includes a touch screen 122. The touch screen 122 can be a resistive touch panel, a capacitive touch panel, an optical touch panel, an acoustic wave touch panel or an electromagnetic touch. Panels, etc., with touch and display capabilities. For example, the electronic device 12 may be an electronic device with a touch screen such as a smart phone, a tablet computer, a notebook computer, a television, or a desktop computer.

或者,在一實施例中,觸控螢幕122也可以是以不具有顯示功能的觸控板(touch pad)取代,並且電子裝置12可以是觸控板裝置或筆記型電腦等具有觸控板的電子裝置。 Alternatively, in an embodiment, the touch screen 122 may be replaced by a touch pad having no display function, and the electronic device 12 may be a trackpad device or a notebook computer or the like having a touch panel. Electronic device.

在本實施例中,使用者可以透過輸入裝置11在觸控螢幕122上執行點擊(touch)與滑動(drag)等操作,以輸入操作指令至電子裝置12,並且電子裝置12可根據使用者輸入的操作指令執行對應的操作,例如,控制觸控螢幕122顯示特定的畫面等。 In this embodiment, the user can perform operations such as touch and drag on the touch screen 122 through the input device 11 to input an operation command to the electronic device 12, and the electronic device 12 can input according to the user. The operation instruction performs a corresponding operation, for example, controlling the touch screen 122 to display a specific picture or the like.

特別是,在本實施例中,輸入裝置11可以發射主動載波至電子裝置12。例如,此主動載波可以用來對輸入裝置11對應在觸控螢幕122上的特定位置進行定位。例如,當輸入裝置11靠近或觸碰觸控螢幕122上的一個特定位置時,此時此特定位置會因接收到來自輸入裝置11的主動載波,而例如產生電壓波形的變化。電子裝置12可單獨根據此電壓波形的變化,對此特定位置進行定位。或者,電子裝置12也可以利用此電壓波形的變化搭配觸控螢幕122本身的定位機制,來輔助觸控螢幕122對此特定位置進行定位。 In particular, in the present embodiment, the input device 11 can transmit an active carrier to the electronic device 12. For example, the active carrier can be used to position the input device 11 corresponding to a particular location on the touch screen 122. For example, when the input device 11 approaches or touches a particular location on the touch screen 122, this particular location may, for example, result in a change in the voltage waveform due to receipt of the active carrier from the input device 11. The electronic device 12 can individually position this particular location based on changes in this voltage waveform. Alternatively, the electronic device 12 can also use the change of the voltage waveform to match the positioning mechanism of the touch screen 122 itself to assist the touch screen 122 to locate the specific position.

此外,在一實施例中,輸入裝置11發射的主動載波也會帶有特定資訊。例如,帶有由配置在輸入裝置11中的接近傳感器(proximity sensor)、加速度感應器(acceleration sensor)、電子羅盤(electronic compass)、陀螺儀(gyro)及/或震動感測元件等各式感測器所產生的姿勢資訊。電子裝置12可接收並分析此主動載波,而獲得這些姿勢資訊。 Moreover, in an embodiment, the active carrier transmitted by the input device 11 will also carry specific information. For example, with various senses such as a proximity sensor, an acceleration sensor, an electronic compass, a gyro, and/or a vibration sensing element disposed in the input device 11. Posture information generated by the detector. The electronic device 12 can receive and analyze the active carrier to obtain the posture information.

此外,電子裝置12是透過特定的掃描頻率來接收來自輸入裝置11的主動載波。當此特定的掃描頻率與主動載波的頻率(或稱為載波頻率、傳輸頻率)一致時,電子裝置12可接收此主動載 波。 In addition, the electronic device 12 receives the active carrier from the input device 11 through a specific scanning frequency. When the specific scanning frequency is consistent with the frequency of the active carrier (or referred to as carrier frequency, transmission frequency), the electronic device 12 can receive the active load. wave.

請參照圖2,輸入裝置11包括主動載波發射器112。主動載波發射器112用以發射主動載波21。電子裝置12包括觸控螢幕122、主動載波接收器124及處理器126。主動載波接收器124與觸控螢幕122分別耦接至處理器126。 Referring to FIG. 2, the input device 11 includes an active carrier transmitter 112. The active carrier transmitter 112 is configured to transmit the active carrier 21. The electronic device 12 includes a touch screen 122, an active carrier receiver 124, and a processor 126. The active carrier receiver 124 and the touch screen 122 are coupled to the processor 126, respectively.

主動載波接收器124用以透過一掃描頻率掃描或接收由主動載波發射器112發射的主動載波21。在本實施例中,主動載波接收器124可以單獨接收主動載波21。或者,在一實施例中,主動載波接收器124也可以與觸控螢幕122結合,而透過配置在觸控螢幕122上的接收線路接收主動載波21。 The active carrier receiver 124 is configured to scan or receive the active carrier 21 transmitted by the active carrier transmitter 112 through a scanning frequency. In this embodiment, the active carrier receiver 124 can receive the active carrier 21 separately. Alternatively, in an embodiment, the active carrier receiver 124 can also be combined with the touch screen 122 to receive the active carrier 21 through a receiving line disposed on the touch screen 122.

處理器126可以是中央處理器(CPU)、微處理器(micro-processor)或嵌入式控制器(embedded controller),本發明不對其限制。處理器126會偵測多個觸碰位置訊號。此些觸碰位置訊號例如是主動載波接收器124根據所接收的多個主動載波21而輸出的。其中,每一個觸碰位置訊號會對應至一個觸碰位置。此外,在周圍的無線通訊裝置較多及/或周圍無線電強度較強的環境中,此些觸碰位置訊號中的至少部份也有可能是主動載波接收器124根據環境雜訊(例如,由其餘的無線通訊裝置發出的頻率相近的電磁波)而產生的。因此,為了識別出此些觸碰位置訊號是否是基於環境雜訊而產生的,處理器126會判斷此些觸碰位置訊號是否符合一亂報點規則。 The processor 126 may be a central processing unit (CPU), a micro-processor, or an embedded controller, which is not limited by the present invention. The processor 126 detects a plurality of touch position signals. The touch position signals are, for example, output by the active carrier receiver 124 based on the received plurality of active carriers 21. Among them, each touch position signal will correspond to one touch position. In addition, in an environment where there are many surrounding wireless communication devices and/or strong surrounding radio intensity, at least part of the touch position signals may also be the active carrier receiver 124 according to environmental noise (for example, by the rest). The wireless communication device emits electromagnetic waves of similar frequency. Therefore, in order to identify whether the touch location signals are generated based on environmental noise, the processor 126 determines whether the touch location signals conform to a random loop rule.

舉例來說,由於環境雜訊是沒有規律的雜訊訊號,因此, 根據環境雜訊而產生的觸碰位置訊號對應在觸控螢幕122上的觸碰位置必然也是沒有規律的。因此,處理器126可以獲得此些觸碰位置訊號對應在觸控螢幕122上的多個觸碰位置,並且判斷此些觸碰位置的分佈是否符合亂報點分佈規則。例如,處理器126可以根據此些觸碰位置的座標,計算出可用來表示此些觸碰位置的分散程度的一離散程度值。此離散程度值與此些觸碰位置的分散程度成正比或正相關(positive correlation)。若此離散程度值越大,表示此些觸碰位置越分散。反之,若此離散程度值越小,表示此些觸碰位置越集中。 For example, because environmental noise is an irregular noise signal, The touch position signal generated according to the environmental noise corresponding to the touch position on the touch screen 122 is also inconsistent. Therefore, the processor 126 can obtain the plurality of touch positions corresponding to the touch position signals on the touch screen 122, and determine whether the distribution of the touch positions conforms to the random report point distribution rule. For example, the processor 126 can calculate a discrete degree value that can be used to indicate the degree of dispersion of the touch locations based on the coordinates of the touch locations. This degree of dispersion is proportional to or positively correlated with the degree of dispersion of such touch locations. If the value of the dispersion is larger, it indicates that the touch positions are more dispersed. Conversely, if the value of the dispersion is smaller, it means that the touch positions are more concentrated.

也就是說,在偵測到一預設數目的觸碰位置訊號後,或者對於在一預設時間範圍內偵測到的多個觸碰位置訊號,若此些觸碰位置訊號對應在觸控螢幕122上的觸碰位置的分佈狀態異於一般使用者的正常操作行為時,即表示此些觸碰位置訊號極有可能是因環境雜訊干擾產生的誤報點訊號,而非真正基於主動載波21而產生的。因此,處理器126可以設定一預設離散程度值,並且當所計算出的離散程度值大於此預設離散程度值時,判定此些觸碰位置的分佈符合亂報點分佈規則。當處理器126判定此些觸碰位置的分佈符合亂報點分佈規則時,即表示此些觸碰位置訊號符合亂報點規則。 That is, after detecting a preset number of touch position signals, or for a plurality of touch position signals detected within a preset time range, if the touch position signals correspond to the touch signals When the distribution state of the touch position on the screen 122 is different from the normal operation behavior of the general user, it means that the touch position signals are most likely to be false alarm points generated by environmental noise interference, instead of being based on the active carrier. 21 produced. Therefore, the processor 126 can set a preset discreteness value, and when the calculated discreteness value is greater than the preset discreteness value, determine that the distribution of the touched positions conforms to the randomized point distribution rule. When the processor 126 determines that the distribution of the touch positions conforms to the random report point distribution rule, it indicates that the touch position signals conform to the random report point rule.

此外,在一實施例中,處理器126則會判斷在一預設時間範圍內此些觸碰位置訊號的出現次數是否大於次數臨界值。其中,此些觸碰位置訊號的出現次數例如是處理器126偵測到觸碰 位置訊號的次數。若在此預設時間範圍內此些觸碰位置訊號的出現次數大於此次數臨界值,處理器126會判定此些觸碰位置訊號符合亂報點規則。例如,假設在1秒內,處理器126偵測到10個對應在觸控螢幕122上相同或不同位置且不連續的觸碰位置訊號,由於使用者在正常情況下不可能會在1秒內對觸控螢幕122連續點擊10下或10下以上,因此可合理地推論此些觸碰位置訊號中的一大部份是由於環境雜訊造成的,此時處理器126會判定此些觸碰位置訊號符合亂報點規則。 In addition, in an embodiment, the processor 126 determines whether the number of occurrences of the touch position signals is greater than the threshold value within a predetermined time range. The number of occurrences of the touch position signals is, for example, that the processor 126 detects the touch. The number of position signals. If the number of occurrences of the touch position signals is greater than the critical value of the number of times within the preset time range, the processor 126 determines that the touch position signals conform to the random report point rule. For example, if the processor 126 detects 10 consecutive touch positions corresponding to the same or different positions on the touch screen 122 and is not continuous within 1 second, the user may not be within 1 second under normal circumstances. The touch screen 122 is continuously clicked 10 times or more, so it can be reasonably inferred that a large part of the touch position signals are caused by environmental noise, and the processor 126 determines the touches. The location signal complies with the rules of random reporting.

若處理器126判定此些觸碰位置訊號符合亂報點規則,則處理器126會切換主動載波接收器124的掃描頻率,以透過切換後的掃描頻率來掃描或接收由輸入裝置12發射的主動載波12。 If the processor 126 determines that the touch location signals conform to the random reporting point rule, the processor 126 switches the scanning frequency of the active carrier receiver 124 to scan or receive the active transmission by the input device 12 through the switched scanning frequency. Carrier 12.

特別是,由於電子裝置12只有在主動載波接收器124的掃描頻率與主動載波12的頻率一致時才能接收到主動載波12,因此,在一實施例中,當主動載波接收器124的掃描頻率被切換時,處理器126會控制觸控螢幕122顯示提示訊息或透過電子裝置12的揚聲器(未繪示)發出提示語音,以通知使用者主動載波接收器124的掃描頻率已經被切換,並且告知使用者其切換後的掃描頻率。然後,使用者即可根據主動載波接收器124切換後的掃描頻率來對應調整主動載波發射器112發射出的主動載波21的頻率。 In particular, since the electronic device 12 can receive the active carrier 12 only when the scanning frequency of the active carrier receiver 124 coincides with the frequency of the active carrier 12, in one embodiment, when the scanning frequency of the active carrier receiver 124 is When switching, the processor 126 controls the touch screen 122 to display a prompt message or sends a prompt voice through a speaker (not shown) of the electronic device 12 to notify the user that the scan frequency of the active carrier receiver 124 has been switched, and informs the use. The scanning frequency after switching. Then, the user can adjust the frequency of the active carrier 21 transmitted by the active carrier transmitter 112 according to the scan frequency after the active carrier receiver 124 switches.

此外,在一實施例中,輸入裝置11還會包括無線傳輸模組114,無線傳輸模組114耦接至主動載波發射器112,電子裝置12還會包括無線傳輸模組128,並且無線傳輸模組128耦接至處 理器126。 In addition, in an embodiment, the input device 11 further includes a wireless transmission module 114. The wireless transmission module 114 is coupled to the active carrier transmitter 112. The electronic device 12 further includes a wireless transmission module 128, and the wireless transmission module. Group 128 is coupled everywhere Processor 126.

在主動載波接收器124的掃描頻率被切換後,無線傳輸模組128會透過特定的無線傳輸協定22告知輸入裝置11同步將主動載波21的頻率切換為與主動載波接收器124切換後的掃描頻率一致。此特定的無線傳輸協定22可以是藍牙(Bluetooth,BT)、WiFi或近場通訊(Near Field Communication,NFC)協定等等,本發明不對其限制。藉此,使用者不需要手動調整,主動載波發射器112可自動地根據無線傳輸模組114接收到的訊息,將主動載波21的頻率切換為與主動載波接收器124切換後的掃描頻率一致,提昇使用上的便利性。 After the scanning frequency of the active carrier receiver 124 is switched, the wireless transmission module 128 informs the input device 11 through the specific wireless transmission protocol 22 to synchronously switch the frequency of the active carrier 21 to the scanning frequency after switching with the active carrier receiver 124. Consistent. This particular wireless transmission protocol 22 may be Bluetooth (BT), WiFi, or Near Field Communication (NFC) protocol, etc., and the invention is not limited thereto. Therefore, the user does not need manual adjustment, and the active carrier transmitter 112 can automatically switch the frequency of the active carrier 21 to be consistent with the scanning frequency after the active carrier receiver 124 is switched according to the message received by the wireless transmission module 114. Improve the convenience of use.

此外,在一實施例中,處理器126還會根據主動載波21的頻率或者主動載波21的頻率是否從一第一頻率切換至一第二頻率,來執行一預設操作。舉例來說,假設原先主動載波接收器124都是在200Hz下接收主動載波21,而在一特定時間點之後或者在此特定時間點後的一特定時間範圍內(例如,1~3秒),主動載波接收器124在200Hz下接收不到主動載波21。此時,處理器126會控制主動載波接收器124嘗試在500Hz下接收主動載波21。若主動載波接收器124在500Hz下即可順利接收到主動載波21,表示主動載波21的頻率已經被從200Hz切換至500Hz,因此,處理器126會控制主動載波接收器124同步將其掃描頻率切換至500Hz。反之,若在500Hz下主動載波接收器124還是無法順利接收到主動載波21,則處理器126可控制主動載波接收器124嘗試以其餘 的掃描頻率來接收主動載波21,直到其可順利接收到主動載波21為止。此外,當所有可切換的掃描頻率都嘗試過卻還是無法接收到主動載波21時,表示此時可能是環境雜訊太強或者是輸入裝置11與電子裝置12距離太遠,因此處理器126可控制觸控螢幕122顯示提示訊息,以告知使用者手動設定新的掃描頻率或提醒使用者將輸入裝置11移近電子裝置12等,或者處理器126還可例如是自動關閉主動載波接收器124的掃描功能,以節省無謂的電力消耗等等。 In addition, in an embodiment, the processor 126 also performs a preset operation according to whether the frequency of the active carrier 21 or the frequency of the active carrier 21 is switched from a first frequency to a second frequency. For example, assume that the original active carrier receiver 124 receives the active carrier 21 at 200 Hz, and after a certain time point or within a certain time range after the specific time point (for example, 1 to 3 seconds), The active carrier receiver 124 does not receive the active carrier 21 at 200 Hz. At this point, processor 126 controls active carrier receiver 124 to attempt to receive active carrier 21 at 500 Hz. If the active carrier receiver 124 can successfully receive the active carrier 21 at 500 Hz, indicating that the frequency of the active carrier 21 has been switched from 200 Hz to 500 Hz, the processor 126 controls the active carrier receiver 124 to synchronously switch its scanning frequency. Up to 500Hz. On the other hand, if the active carrier receiver 124 still fails to receive the active carrier 21 at 500 Hz, the processor 126 can control the active carrier receiver 124 to try to The scanning frequency is to receive the active carrier 21 until it can successfully receive the active carrier 21. In addition, when all the switchable scanning frequencies are tried but the active carrier 21 is still not received, it indicates that the environmental noise may be too strong or the input device 11 is too far away from the electronic device 12, so the processor 126 may The touch screen 122 is displayed to display a prompt message to inform the user to manually set a new scan frequency or to prompt the user to move the input device 11 closer to the electronic device 12 or the like, or the processor 126 may also automatically turn off the active carrier receiver 124, for example. Scanning features to save unnecessary power consumption and more.

此外,處理器126可以運行作業系統(OS),並且透過此作業系統運行應用程式。在一實施例中,處理器126還會根據主動載波21的頻率或者主動載波21的頻率是否從一第一頻率切換至一第二頻率,來切換處理器126當前運行的應用程式所對應的功能。例如,假設處理器126正在透過作業系統執行繪圖應用程式的一繪圖功能,且此時繪筆的筆跡為較細的筆跡。當處理器126發現主動載波21的頻率從200Hz切換至500Hz時,處理器126可將此繪筆的筆跡切換為較粗的筆跡,或者啟動繪圖應用程式的一儲存功能,以儲存所繪製的圖片。也就是說,根據主動載波21的頻率,處理器126可以從執行當前運行的應用程式的第一預設功能切換為執行當前運行的應用程式的第二預設功能,且第一預設功能與第二預設功能可對應於不同的應用程式而由使用者自行設定。此外,當前運行的應用程式例如是最前景(foreground)顯示的應用程式。 Additionally, the processor 126 can run an operating system (OS) and run the application through the operating system. In an embodiment, the processor 126 also switches the function corresponding to the application currently running by the processor 126 according to whether the frequency of the active carrier 21 or the frequency of the active carrier 21 is switched from a first frequency to a second frequency. . For example, assume that the processor 126 is executing a drawing function of the drawing application through the operating system, and at this time, the writing stroke of the pen is a thinner handwriting. When the processor 126 finds that the frequency of the active carrier 21 is switched from 200 Hz to 500 Hz, the processor 126 can switch the handwriting of the stylus to a thicker handwriting or start a storage function of the drawing application to store the drawn picture. . That is, according to the frequency of the active carrier 21, the processor 126 can switch from executing the first preset function of the currently running application to executing the second preset function of the currently running application, and the first preset function is The second preset function can be set by the user according to different applications. In addition, the currently running application is, for example, the application that is displayed in the foreground.

此外,在一實施例中,處理器126也可以預先定義預設功能的切換規則。例如,處理器126可以定義預設功能的切換規則為只要主動載波21的頻率被切換,就對應切換應用程式的預設功能。例如,接續上述範例,當處理器126發現主動載波21的頻率從500Hz切換回原先的200Hz時,處理器126可將此繪筆的筆跡切換為更粗的筆跡,或者重新開啟新的空白圖片等等,視實務上的需求而定。 In addition, in an embodiment, the processor 126 may also pre-define a switching rule of a preset function. For example, the processor 126 may define a switching rule of the preset function as to switch the preset function of the application as long as the frequency of the active carrier 21 is switched. For example, following the above example, when the processor 126 finds that the frequency of the active carrier 21 is switched from 500 Hz back to the original 200 Hz, the processor 126 can switch the handwriting of the stylus to a thicker handwriting, or reopen a new blank picture, etc. Etc., depending on the needs of the practice.

或者,在一實施例中,處理器126也可以將主動載波21可切換的各個頻率分別與某應用程式的各預設功能相互對應。例如,當處理器126發現主動載波21的頻率從200Hz切換為500Hz時,處理器126可透過一設定程式開啟無線傳輸模組128的藍牙功能。當處理器126發現主動載波21的頻率從500Hz切換為200Hz時,處理器126可透過此設定程式關閉無線傳輸模組128的藍牙功能,並開啟其WiFi功能等等,且主動載波21可切換的頻率之數目與其對應的功能皆可視實務上的需求調整。例如,在一實施例中,當處理器126發現主動載波21的頻率從500Hz切換為700Hz時,處理器126可透過此設定程式關閉無線傳輸模組128的WiFi功能,並且開啟其飛航模式。 Alternatively, in an embodiment, the processor 126 may also respectively associate each frequency that the active carrier 21 can switch with each preset function of an application. For example, when the processor 126 finds that the frequency of the active carrier 21 is switched from 200 Hz to 500 Hz, the processor 126 can enable the Bluetooth function of the wireless transmission module 128 through a setting program. When the processor 126 finds that the frequency of the active carrier 21 is switched from 500 Hz to 200 Hz, the processor 126 can disable the Bluetooth function of the wireless transmission module 128 and enable its WiFi function and the like through the setting program, and the active carrier 21 can be switched. The number of frequencies and their corresponding functions can be adjusted according to the actual needs. For example, in an embodiment, when the processor 126 finds that the frequency of the active carrier 21 is switched from 500 Hz to 700 Hz, the processor 126 can disable the WiFi function of the wireless transmission module 128 and turn on its flight mode through the setting program.

又例如,當處理器126發現主動載波21的頻率從200Hz切換為500Hz時,處理器126可將主動載波接收器124的掃描頻率從200Hz切換為500Hz。當處理器126發現主動載波21的頻率從500Hz切換為200Hz時,處理器126可將主動載波接收器124 的掃描頻率從500Hz切換為200Hz。 For another example, when processor 126 finds that the frequency of active carrier 21 is switched from 200 Hz to 500 Hz, processor 126 can switch the scanning frequency of active carrier receiver 124 from 200 Hz to 500 Hz. When the processor 126 finds that the frequency of the active carrier 21 is switched from 500 Hz to 200 Hz, the processor 126 may place the active carrier receiver 124 The scanning frequency is switched from 500 Hz to 200 Hz.

此外,在一實施例中,輸入裝置11還包括姿勢偵測單元116。姿勢偵測單元116的數量可以是一個或多個。姿勢偵測單元116耦接主動載波發射器112,並且用以偵測輸入裝置11的姿勢,並根據此姿勢產生姿勢資訊。例如,姿勢偵測單元116可以包括接近傳感器、加速度感應器、電子羅盤、陀螺儀及震動感測元件的至少其中之一或其組合,以偵測輸入裝置11的姿勢,並產生姿勢資訊。然後,主動載波發射器112根據此姿勢資訊切換主動載波21的頻率。 Moreover, in an embodiment, the input device 11 further includes a gesture detecting unit 116. The number of gesture detection units 116 may be one or more. The posture detecting unit 116 is coupled to the active carrier transmitter 112 and configured to detect the posture of the input device 11 and generate posture information according to the posture. For example, the posture detecting unit 116 may include at least one of a proximity sensor, an acceleration sensor, an electronic compass, a gyroscope, and a vibration sensing element, or a combination thereof, to detect the posture of the input device 11 and generate posture information. The active carrier transmitter 112 then switches the frequency of the active carrier 21 based on this posture information.

藉此,使用者可以透過握住或按壓輸入裝置11的特定位置、轉動輸入裝置11以改變輸入裝置11的重心、搖晃輸入裝置11超過一預設擺動幅度、震動輸入裝置11超過一預設振動頻率等方式,來切換主動載波21的頻率。 Thereby, the user can change the center of gravity of the input device 11 by holding or pressing the specific position of the input device 11, rotating the input device 11, shaking the input device 11 beyond a predetermined swing amplitude, and the vibration input device 11 exceeds a predetermined vibration. Frequency, etc., to switch the frequency of the active carrier 21.

此外,在一實施例中,輸入裝置11上設置有一實體按鈕(未繪示)。當此實體按鈕被按壓時,其會送出一按壓訊號,並且主動載波發射器112會根據此按壓訊號切換主動載波21的頻率。 In addition, in an embodiment, a physical button (not shown) is disposed on the input device 11. When the physical button is pressed, it sends a pressing signal, and the active carrier transmitter 112 switches the frequency of the active carrier 21 according to the pressing signal.

也就是說,使用者可以根據當前的環境雜訊是否影響到電子裝置12對於主動載波21的接收及/或是否想要使電子裝置12執行預設功能,而切換主動載波21的頻率,並且使電子裝置12根據主動載波21的頻率或其頻率的切換,來執行上述預設操作。 That is, the user can switch the frequency of the active carrier 21 according to whether the current environmental noise affects the reception of the electronic device 12 for the active carrier 21 and/or whether the electronic device 12 is required to perform a preset function, and The electronic device 12 performs the above-described preset operation according to the switching of the frequency of the active carrier 21 or its frequency.

值得一提的是,在一實施例中,處理器126可以在任一時間點根據主動載波21的頻率或者主動載波21的頻率是否從第 一頻率切換至第二頻率執行預設操作。或者,在一實施例中,處理器126則是會在判斷上述觸碰位置訊號不符合亂報點規則時,才會根據主動載波21的頻率或者主動載波21的頻率是否從第一頻率切換至第二頻率而對應執行預設操作,從而區隔輸入裝置11是因電子裝置12主動切換其掃描頻率而同步切換主動載波21的頻率之情形以及輸入裝置11主動切換主動載波21的頻率之情形。 It is worth mentioning that, in an embodiment, the processor 126 can be based on the frequency of the active carrier 21 or the frequency of the active carrier 21 at any point in time. A frequency is switched to the second frequency to perform a preset operation. Alternatively, in an embodiment, the processor 126 may switch from the first frequency to the frequency of the active carrier 21 or the frequency of the active carrier 21 according to whether the touch position signal does not meet the random reporting point rule. The second frequency corresponds to the execution of the preset operation, so that the segment input device 11 is a case where the frequency of the active carrier 21 is synchronously switched due to the electronic device 12 actively switching its scanning frequency and the case where the input device 11 actively switches the frequency of the active carrier 21.

圖3為根據本發明之一實施例所繪示的掃描頻率切換方法的示意圖。 FIG. 3 is a schematic diagram of a scanning frequency switching method according to an embodiment of the invention.

請同時參照圖2與圖3,在步驟S302中,由處理器126偵測多個觸碰位置訊號。接著,在步驟S304中,由處理器126判斷所述觸碰位置訊號是否符合亂報點規則。若所述觸碰位置訊號符合亂報點規則,在步驟S304中,由處理器126切換主動載波接收器124的掃描頻率,其中此掃描頻率用來掃描由輸入裝置11發射的主動載波21。此外,在步驟S304中,若所述觸碰位置訊號不符合亂報點規則,則步驟S302例如是被重複執行。 Referring to FIG. 2 and FIG. 3 simultaneously, in step S302, the processor 126 detects a plurality of touch position signals. Next, in step S304, the processor 126 determines whether the touch position signal conforms to the random report point rule. If the touch position signal conforms to the random report point rule, in step S304, the scan frequency of the active carrier receiver 124 is switched by the processor 126, wherein the scan frequency is used to scan the active carrier 21 transmitted by the input device 11. In addition, in step S304, if the touch position signal does not comply with the random report point rule, step S302 is repeatedly executed, for example.

綜上所述,本發明提出的掃描頻率切換方法與電子系統,除了可透過同步切換電子裝置的掃描頻率與來自輸入裝置的主動載波的頻率來降低環境雜訊的干擾外,還可以根據輸入裝置的主動載波的頻率切換來執行預設操作,大幅提升利用輸入裝置來操作電子裝置時的便利性。 In summary, the scanning frequency switching method and the electronic system proposed by the present invention can reduce the interference of environmental noise by synchronously switching the scanning frequency of the electronic device and the frequency of the active carrier from the input device, and can also be based on the input device. The frequency switching of the active carrier performs a preset operation, which greatly improves the convenience when the electronic device is operated by the input device.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的 精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art without departing from the invention. In the spirit and scope, the scope of protection of the present invention is subject to the definition of the appended patent application.

S302、S304、S306‧‧‧掃描頻率切換方法各步驟 S302, S304, S306‧‧‧ scan frequency switching method steps

Claims (10)

一種掃描頻率切換方法,適用於一電子裝置,該方法包括:偵測多個觸碰位置訊號;判斷該些觸碰位置訊號是否符合一亂報點規則;以及若該些觸碰位置訊號符合該亂報點規則,切換該電子裝置的一掃描頻率,其中該掃描頻率用來掃描由一輸入裝置發射的一主動載波。 A scanning frequency switching method is applicable to an electronic device, the method comprising: detecting a plurality of touch position signals; determining whether the touch position signals meet a random report rule; and if the touch position signals meet the The random reporting rule switches a scanning frequency of the electronic device, wherein the scanning frequency is used to scan an active carrier transmitted by an input device. 如申請專利範圍第1項所述的掃描頻率切換方法,其中判斷該些觸碰位置訊號是否符合該亂報點規則的步驟包括:獲得該些觸碰位置訊號對應在該觸控螢幕上的多個觸碰位置;判斷該些觸碰位置的一分佈是否符合一亂報點分佈規則;以及若該些觸碰位置的該分佈符合該亂報點分佈規則,判定該些觸碰位置訊號符合該亂報點規則。 The scanning frequency switching method of claim 1, wherein the step of determining whether the touch position signals meet the random reporting point rule comprises: obtaining the touch position signals corresponding to the touch screen a touch position; determining whether a distribution of the touch positions conforms to a random report distribution rule; and if the distribution of the touch positions conforms to the random report point distribution rule, determining that the touch position signals comply with the Indiscriminate reporting rules. 如申請專利範圍第1項所述的掃描頻率切換方法,其中判斷該些觸碰位置訊號是否符合該亂報點規則的步驟包括:判斷在一預設時間範圍內該些觸碰位置訊號的一出現次數是否大於一次數臨界值;以及若在該預設時間範圍內該些觸碰位置訊號的該出現次數大於該次數臨界值,判定該些觸碰位置訊號符合該亂報點規則。 The scanning frequency switching method of claim 1, wherein the step of determining whether the touch position signals meet the random reporting point rule comprises: determining one of the touch position signals within a preset time range Whether the number of occurrences is greater than a threshold number of times; and if the number of occurrences of the touch position signals is greater than the critical value of the number of times within the preset time range, determining that the touch position signals comply with the irregularity rule. 如申請專利範圍第1項所述的掃描頻率切換方法,其中在 切換該電子裝置的該掃描頻率之後,該方法更包括:透過一無線傳輸協定告知該輸入裝置將該主動載波的一頻率切換為與切換後的該掃描頻率一致。 The scanning frequency switching method as described in claim 1 of the patent application, wherein After switching the scanning frequency of the electronic device, the method further comprises: informing the input device to switch a frequency of the active carrier to be consistent with the scanning frequency after the switching by using a wireless transmission protocol. 如申請專利範圍第1項所述的掃描頻率切換方法,更包括:若該些觸碰位置訊號不符合該亂報點規則,則判斷該主動載波的一頻率是否被從一第一頻率切換為一第二頻率;以及若該主動載波的該頻率被從該第一頻率切換為該第二頻率,執行一預設操作。 The scanning frequency switching method of claim 1, further comprising: if the touch position signals do not meet the random reporting point rule, determining whether a frequency of the active carrier is switched from a first frequency to a a second frequency; and if the frequency of the active carrier is switched from the first frequency to the second frequency, performing a predetermined operation. 一種電子系統,包括:一輸入裝置,包括一主動載波發射器,用以發射一主動載波;以及一電子裝置,包括一處理器與一主動載波接收器,該處理器耦接該主動載波接收器,其中該處理器用以偵測多個觸碰位置訊號,並且判斷該些觸碰位置訊號是否符合一亂報點規則,若該些觸碰位置訊號符合該亂報點規則,該處理器切換該主動載波接收器的一掃描頻率,其中該掃描頻率用來掃描由該主動載波發射器發射的該主動載波。 An electronic system comprising: an input device comprising an active carrier transmitter for transmitting an active carrier; and an electronic device comprising a processor and an active carrier receiver coupled to the active carrier receiver The processor is configured to detect a plurality of touch position signals, and determine whether the touch position signals meet a random report rule, and if the touch position signals meet the random report rule, the processor switches the A scanning frequency of the active carrier receiver, wherein the scanning frequency is used to scan the active carrier transmitted by the active carrier transmitter. 如申請專利範圍第6項所述的電子系統,其中該電子裝置更包括一無線傳輸模組,該無線傳輸模組耦接該處理器,其中該無線傳輸模組透過一無線傳輸協定告知該輸入裝置將該主動載波發射器的該主動載波的一頻率切換為與該主動載波接 收器切換後的該掃描頻率一致。 The electronic system of claim 6, wherein the electronic device further comprises a wireless transmission module coupled to the processor, wherein the wireless transmission module informs the input through a wireless transmission protocol The device switches a frequency of the active carrier of the active carrier transmitter to be connected to the active carrier The scanning frequency after the switch is switched is the same. 如申請專利範圍第6項所述的電子系統,其中該輸入裝置包括至少一姿勢偵測單元,該至少一姿勢偵測單元耦接該主動載波發射器,其中該至少一姿勢偵測單元用以偵測該輸入裝置的一姿勢,並且根據該姿勢產生一姿勢資訊,其中該主動載波發射器更用以根據該姿勢資訊將該主動載波的一頻率從一第一頻率切換為一第二頻率。 The electronic system of claim 6, wherein the input device comprises at least one gesture detecting unit, wherein the at least one gesture detecting unit is coupled to the active carrier transmitter, wherein the at least one gesture detecting unit is configured to: Detecting a posture of the input device, and generating a posture information according to the posture, wherein the active carrier transmitter is further configured to switch a frequency of the active carrier from a first frequency to a second frequency according to the posture information. 如申請專利範圍第6項所述的電子系統,其中若該些觸碰位置訊號不符合該亂報點規則,則該處理器更透過該主動載波接收器判斷該主動載波的一頻率是否被從一第一頻率切換為一第二頻率,若該主動載波的該頻率被從該第一頻率切換為該第二頻率,該處理器執行一預設操作。 The electronic system of claim 6, wherein if the touch position signals do not comply with the random reporting point rule, the processor further determines, by the active carrier receiver, whether a frequency of the active carrier is from A first frequency is switched to a second frequency, and if the frequency of the active carrier is switched from the first frequency to the second frequency, the processor performs a predetermined operation. 如申請專利範圍第9項所述的電子系統,其中該處理器更用以運行一作業系統,並且透過該作業系統運行一應用程式,其中該處理器從執行該應用程式的一第一預設功能切換為執行該應用程式的一第二預設功能。 The electronic system of claim 9, wherein the processor is further configured to run an operating system and run an application through the operating system, wherein the processor executes a first preset of the application The function switches to execute a second preset function of the application.
TW102144101A 2013-12-02 2013-12-02 Method for changing scanning frequency and electronic system TW201523356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102144101A TW201523356A (en) 2013-12-02 2013-12-02 Method for changing scanning frequency and electronic system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102144101A TW201523356A (en) 2013-12-02 2013-12-02 Method for changing scanning frequency and electronic system

Publications (1)

Publication Number Publication Date
TW201523356A true TW201523356A (en) 2015-06-16

Family

ID=53935683

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102144101A TW201523356A (en) 2013-12-02 2013-12-02 Method for changing scanning frequency and electronic system

Country Status (1)

Country Link
TW (1) TW201523356A (en)

Similar Documents

Publication Publication Date Title
CN106131345B (en) Control method and device of proximity sensor and mobile terminal
US9978261B2 (en) Remote controller and information processing method and system
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
CN107734175B (en) Notification message prompting method and mobile terminal
US10073493B2 (en) Device and method for controlling a display panel
US20170199662A1 (en) Touch operation method and apparatus for terminal
AU2013276998B2 (en) Mouse function provision method and terminal implementing the same
US20200371666A1 (en) Icon Display Method, and Apparatus
US20200059543A1 (en) Screen lighting method for dual-screen terminal and terminal
CN106445340B (en) Method and device for displaying stereoscopic image by double-screen terminal
CN109800045B (en) Display method and terminal
CN109542279B (en) Terminal device control method and terminal device
US11625164B2 (en) Display method and terminal device
CN107219951B (en) Touch screen control method and device, storage medium and terminal equipment
CN109407949B (en) Display control method and terminal
WO2014206138A1 (en) Webpage data update method, apparatus and terminal device
CN108108113B (en) Webpage switching method and device
CN106951143B (en) Method and device for hiding application icons
KR20220123036A (en) Touch keys, control methods and electronics
WO2019047973A1 (en) Terminal operating method and terminal, and computer readable storage medium
WO2015074387A1 (en) Sliding operation response method, apparatus and terminal device
WO2015016025A1 (en) Terminal device
CN109933267B (en) Method for controlling terminal equipment and terminal equipment
CN110673761A (en) Detection method of touch key and terminal equipment thereof
TW201523356A (en) Method for changing scanning frequency and electronic system