[go: up one dir, main page]

TWI871919B - Method and electronic device for dynamically adjusting display setting - Google Patents

Method and electronic device for dynamically adjusting display setting Download PDF

Info

Publication number
TWI871919B
TWI871919B TW113105603A TW113105603A TWI871919B TW I871919 B TWI871919 B TW I871919B TW 113105603 A TW113105603 A TW 113105603A TW 113105603 A TW113105603 A TW 113105603A TW I871919 B TWI871919 B TW I871919B
Authority
TW
Taiwan
Prior art keywords
cursor
signal
display setting
value
electronic device
Prior art date
Application number
TW113105603A
Other languages
Chinese (zh)
Other versions
TW202534492A (en
Inventor
陳冠中
李安正
林威任
邱聖霖
陳恩芯
洪英士
Original Assignee
宏碁股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宏碁股份有限公司 filed Critical 宏碁股份有限公司
Priority to TW113105603A priority Critical patent/TWI871919B/en
Application granted granted Critical
Publication of TWI871919B publication Critical patent/TWI871919B/en
Publication of TW202534492A publication Critical patent/TW202534492A/en

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A method for dynamically adjusting display setting and an electronic device are provided. The method for dynamically adjusting display setting is adapted to the electronic device coupling to input device and a display. The method includes: obtaining a hardware information of the electronic device; collecting cursor signal; performing signal preprocessing on the cursor signal to generate cursor frequency signal set; according to a preset range, analyzing the cursor frequency signal set to acquire operating environment information corresponding to the cursor frequency signal set; in respond to the operating environment information being glossy surface information, adjusting display setting of the input device according to the hardware information, a preset parameter, and present display setting.

Description

動態調整顯示設定的方法與電子裝置Method and electronic device for dynamically adjusting display settings

本揭露是有關於依據電子裝置的尺寸以及參數動態調整顯示設定的方法與電子裝置,且特別是有關於一種動態調整顯示設定的方法與電子裝置。The present disclosure relates to a method and an electronic device for dynamically adjusting display settings according to the size and parameters of the electronic device, and more particularly to a method and an electronic device for dynamically adjusting display settings.

使用者在使用筆記型電腦時,經常會遇到滑鼠或其他輸入裝置的操作環境無法讓使用者精準地操控顯示器中的游標。其中一個情況是,由於桌面光滑的導致游標會大幅度飄移。然而,當使用者將滑鼠放置於筆記型電腦觸控板單側(例如左側或是右側)的機殼部分時由於可操作滑鼠的剩餘機殼區域小於標準滑鼠墊,導致使用者需要經常將滑鼠重新放置於機殼剩餘區域的中心,造成使用者無法便利以及精準地操作電子裝置的游標。When using a laptop, users often encounter an operating environment where the mouse or other input device cannot accurately control the cursor on the display. One of the situations is that the cursor will move significantly due to the smoothness of the desktop. However, when the user places the mouse on the case on one side (e.g., the left or right side) of the laptop touchpad, the remaining case area where the mouse can be operated is smaller than the standard mouse pad, resulting in the user frequently having to reposition the mouse to the center of the remaining case area, making it impossible for the user to conveniently and accurately operate the cursor of the electronic device.

有鑑於此,本揭露提出一種動態調整顯示設定的方法與電子裝置,其可解決上述技術問題。In view of this, the present disclosure provides a method and an electronic device for dynamically adjusting display settings, which can solve the above technical problems.

本揭露實施例提供一種動態調整顯示設定的方法,適用於耦接顯示器以及輸入裝置的電子裝置,所述方法包括下列步驟。處理器取得電子裝置的硬體資訊。處理器收集游標訊號,其中游標訊號相關於輸入裝置所輸入的訊號。處理器對游標訊號執行訊號預處理,以產生游標頻率訊號組,其中訊號預處理包括將游標訊號從時域訊號轉換成頻域訊號。依據預設範圍以分析游標頻率訊號組的分布範圍,處理器獲得對應游標頻率訊號組的操作環境資訊。響應於操作環境資訊為光滑環境資訊,處理器依據硬體資訊、預設參數以及當前顯示設定值調整對應輸入裝置的顯示設定值。The disclosed embodiment provides a method for dynamically adjusting display settings, which is applicable to an electronic device coupled to a display and an input device, and the method includes the following steps. The processor obtains hardware information of the electronic device. The processor collects a cursor signal, wherein the cursor signal is related to a signal input by the input device. The processor performs signal preprocessing on the cursor signal to generate a cursor frequency signal group, wherein the signal preprocessing includes converting the cursor signal from a time domain signal to a frequency domain signal. The processor analyzes the distribution range of the cursor frequency signal group according to a preset range, and obtains operating environment information corresponding to the cursor frequency signal group. In response to the operating environment information being the smooth environment information, the processor adjusts the display setting value corresponding to the input device according to the hardware information, the preset parameters and the current display setting value.

本揭露實施例提供一種電子裝置,其包括儲存器以及處理器。處理器耦接顯示器以及輸入裝置,並執行儲存器所儲存的多個模組。硬體資訊收集模組取得該電子裝置的硬體資訊。操作訊號收集模組收集游標訊號。訊號預處理模組對游標訊號執行訊號預處理,以產生游標頻率訊號組。訊號分析模組依據預設範圍以分析該游標頻率訊號組的分布範圍以獲得對應該游標頻率訊號組的操作環境資訊。響應於操作環境資訊為光滑環境資訊,顯示設定估算模組依據硬體資訊、預設參數以及當前顯示設定值調整顯示設定值。The disclosed embodiment provides an electronic device, which includes a memory and a processor. The processor is coupled to a display and an input device, and executes multiple modules stored in the memory. The hardware information collection module obtains the hardware information of the electronic device. The operation signal collection module collects the cursor signal. The signal pre-processing module performs signal pre-processing on the cursor signal to generate a cursor frequency signal group. The signal analysis module analyzes the distribution range of the cursor frequency signal group according to a preset range to obtain operating environment information corresponding to the cursor frequency signal group. In response to the operating environment information being smooth environment information, the display setting estimation module adjusts the display setting value according to the hardware information, the preset parameters and the current display setting value.

基於上述,本揭露實施例的動態調整顯示設定的方法與電子裝置透過預處理游標訊號以及分析頻域訊號的分布範圍,進而判斷出游標訊號的操作環境資訊是否為光滑桌面,以達到自動偵測以及提示使用者當前操作環境。並且,透過適合的演算法計算出當前電子裝置的所適合的顯示設定調整值,以避免滑鼠操作於光滑桌面上,導致使用者無法精準操作游標的情形發生,進而提高使用者體驗的滿意度以及便利性。Based on the above, the method and electronic device for dynamically adjusting display settings of the disclosed embodiment pre-processes the cursor signal and analyzes the distribution range of the frequency domain signal to determine whether the operating environment information of the cursor signal is a smooth desktop, so as to automatically detect and prompt the user of the current operating environment. In addition, the appropriate display setting adjustment value of the current electronic device is calculated through a suitable algorithm to avoid the situation where the mouse is operated on a smooth desktop, resulting in the user being unable to accurately operate the cursor, thereby improving the user experience satisfaction and convenience.

為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above features and advantages of the present disclosure more clearly understood, embodiments are specifically cited below and described in detail with reference to the accompanying drawings.

本揭露的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本揭露的一部份,並未揭示所有本揭露的可實施方式。更確切的說,這些實施例只是本揭露的專利申請範圍中的方法與裝置的範例。Some embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. When the same element symbols appear in different drawings, they will be regarded as the same or similar elements. These embodiments are only part of the present disclosure and do not disclose all possible implementations of the present disclosure. More precisely, these embodiments are only examples of methods and devices within the scope of the patent application of the present disclosure.

圖1是依照本揭露一實施例的電子裝置的方塊圖。電腦系統100可包括輸入裝置、以及電子裝置,其中電子裝置可包括顯示器130、處理器110以及儲存器120。在一實施例中,電腦系統100為具有基本輸入輸出系統(BIOS)的一電腦裝置,例如是筆記型電腦或桌上型電腦等等。在一實施例中,電子裝置的處理器110耦接顯示器130以及儲存器120,並且電子裝置耦接輸入裝置。在另一實施例中,電子裝置包括處理器110以及儲存器120,電子裝置耦接輸入裝置以及顯示器130。FIG1 is a block diagram of an electronic device according to an embodiment of the present disclosure. A computer system 100 may include an input device and an electronic device, wherein the electronic device may include a display 130, a processor 110, and a memory 120. In one embodiment, the computer system 100 is a computer device having a basic input and output system (BIOS), such as a laptop or a desktop computer. In one embodiment, the processor 110 of the electronic device is coupled to the display 130 and the memory 120, and the electronic device is coupled to the input device. In another embodiment, the electronic device includes the processor 110 and the memory 120, and the electronic device is coupled to the input device and the display 130.

電子裝置100的儲存器120可以是系統記憶體,此系統記憶體例如是任意型式的揮發性隨機存取記憶體(random access memory,RAM)。輸入裝置用以接收使用者輸入的使用者命令/指令。輸入裝置130可以是鍵盤、滑鼠、或觸控裝置等等,本揭露對此不限制。The memory 120 of the electronic device 100 may be a system memory, such as any type of volatile random access memory (RAM). The input device is used to receive user commands/instructions input by the user. The input device 130 may be a keyboard, a mouse, or a touch device, etc., and the present disclosure is not limited thereto.

處理器110例如是中央處理單元(central processing unit,CPU)、應用處理器(application processor,AP),或是其他可程式化之一般用途或特殊用途的微處理器(microprocessor)、數位訊號處理器(digital signal processor,DSP)或其他類似裝置、積體電路及其組合。處理器110可存取並執行記錄在基本輸入輸出系統裝置110與系統記憶體中的程式碼、代碼或指令,以實現本揭露實施例中的動態調整顯示設定的方法。The processor 110 is, for example, a central processing unit (CPU), an application processor (AP), or other programmable general-purpose or special-purpose microprocessor, a digital signal processor (DSP), or other similar devices, integrated circuits, and combinations thereof. The processor 110 can access and execute program codes, codes, or instructions recorded in the basic input and output system device 110 and the system memory to implement the method of dynamically adjusting display settings in the disclosed embodiment.

顯示器130用以顯示資訊、設定介面與操作介面。於不同實施例中,上述顯示器130可以是液晶顯示器(Liquid Crystal Display,LCD)、發光二極體(Light Emitting Diode,LED)顯示器、有機發光二極體(Organic Light Emitting Diode,OLED)等各類型的顯示器,本揭露對此不限制。The display 130 is used to display information, setting interface and operation interface. In different embodiments, the display 130 can be a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, etc., and the present disclosure is not limited thereto.

圖2是依照本揭露一實施例的動態調整顯示設定的方法的流程圖,而圖2的方法流程可以由圖1的電子裝置100實現。請參照圖1至圖2,以下即搭配圖1中電子裝置100的各項元件,說明本實施例的動態調整顯示設定的方法的步驟。FIG2 is a flow chart of a method for dynamically adjusting display settings according to an embodiment of the present disclosure, and the method flow of FIG2 can be implemented by the electronic device 100 of FIG1. Please refer to FIG1 and FIG2, and the steps of the method for dynamically adjusting display settings of the present embodiment will be described below with reference to the components of the electronic device 100 of FIG1.

於步驟S210,處理器110取得電子裝置的硬體資訊。硬體資訊包括作業系統的登錄值、顯示器資訊、觸控板大小、機殼扣除觸控板的單側可使用範圍以及尺寸、製造商資訊、產品型以及顯示面板尺寸的至少其中之一。舉例而言,處理器110讀取Windows作業系統中的登錄值,進而取得電子裝置的觸控板大小、觸控板位置以及機殼尺寸,進而計算出單側機殼扣除觸控板後的剩餘範圍(即外殼可使用範圍)。具體來說,處理器110可依據各作業系統讀取裝置中的裝置資訊,例如Windows 作業系統中的硬體開發人員檔案(Hardware Developer Documentation),進而取得電子裝置的硬體資訊。In step S210, the processor 110 obtains the hardware information of the electronic device. The hardware information includes at least one of the operating system registry value, display information, touch panel size, the usable range and size of one side of the case minus the touch panel, manufacturer information, product model, and display panel size. For example, the processor 110 reads the registry value in the Windows operating system, and then obtains the touch panel size, touch panel position, and case size of the electronic device, and then calculates the remaining range of one side of the case minus the touch panel (i.e., the usable range of the case). Specifically, the processor 110 may read device information in the device according to each operating system, such as the Hardware Developer Documentation in the Windows operating system, and thereby obtain the hardware information of the electronic device.

於步驟S220,處理器110收集游標訊號。游標訊號相關於輸入裝置所輸入的訊號。於一實施例中,處理器110基於耦接輸入裝置而接收輸入裝置所傳送的游標訊號。舉例而言,輸入裝置為滑鼠,並且使用者移動滑鼠、按壓滑鼠按鍵、以及使用滑鼠滾輪之時,滑鼠皆會輸出訊號至電子裝置之中,如此處理器110收集這些訊號,進而收集游標訊號。In step S220, the processor 110 collects cursor signals. The cursor signals are related to the signals input by the input device. In one embodiment, the processor 110 receives the cursor signals transmitted by the input device based on coupling with the input device. For example, the input device is a mouse, and when the user moves the mouse, presses the mouse button, and uses the mouse wheel, the mouse will output signals to the electronic device, so the processor 110 collects these signals and further collects the cursor signals.

於步驟S230,處理器110將游標訊號執行訊號預處理,以產生游標頻率訊號組。訊號預處理包括將游標訊號從時域訊號轉換成頻域訊號。在一實施例中,處理器110透過傅立葉轉換將游標時域訊號轉換為游標頻域訊號,以獲得游標頻率訊號組。In step S230, the processor 110 performs signal preprocessing on the cursor signal to generate a cursor frequency signal set. Signal preprocessing includes converting the cursor signal from a time domain signal to a frequency domain signal. In one embodiment, the processor 110 converts the cursor time domain signal to a cursor frequency domain signal through Fourier transformation to obtain the cursor frequency signal set.

於步驟S240,處理器110執行訊號分析模組125,以使訊號分析模組125依據預設範圍以分析游標頻率訊號組的分布範圍,獲得對應游標頻率訊號組的操作環境資訊。在一實施例中,訊號分析模組125分析游標頻率訊號組的頻率分布範圍的分布廣度小於頻率的預設範圍,則訊號分析模組125判斷游標頻率訊號組的操作環境資訊為光滑環境資訊。相反地,當游標頻率訊號組的頻率分布範圍的分布廣度大於預設範圍,則訊號分析模組125判斷游標頻率訊號組的操作環境資訊為非光滑操作環境。具體來說,訊號分析模組125透過判斷游標頻率訊號組的分布範圍的廣度,進而分析游標頻率訊號組是否為使用於光滑桌面上的游標訊號,進而判斷出滑鼠(輸入裝置)是否在光滑操作環境下移動(即操作環境資訊屬於光滑環境資訊)。In step S240, the processor 110 executes the signal analysis module 125, so that the signal analysis module 125 analyzes the distribution range of the cursor frequency signal group according to the preset range to obtain the operating environment information corresponding to the cursor frequency signal group. In one embodiment, when the distribution width of the frequency distribution range of the cursor frequency signal group analyzed by the signal analysis module 125 is less than the preset range of the frequency, the signal analysis module 125 determines that the operating environment information of the cursor frequency signal group is smooth environment information. On the contrary, when the distribution width of the frequency distribution range of the cursor frequency signal group is greater than the preset range, the signal analysis module 125 determines that the operating environment information of the cursor frequency signal group is a non-smooth operating environment. Specifically, the signal analysis module 125 determines the width of the distribution range of the cursor frequency signal group, and then analyzes whether the cursor frequency signal group is a cursor signal used on a smooth desktop, and then determines whether the mouse (input device) moves in a smooth operating environment (that is, the operating environment information belongs to smooth environment information).

在另一實施例中,依據電子裝置的儲存器所儲存的多個歷史游標資料,訊號分析模組125通過執行運算演算法分析游標頻率訊號組的操作環境資訊。舉例而言,訊號分析模組125根據多個歷史游標資料中的光滑操作環境的歷史游標訊號以及非光滑操作環境的歷史游標訊號,分析出當前的游標頻率訊號組的操作環境資訊為光滑操作環境或是非光滑操作環境。In another embodiment, based on a plurality of historical cursor data stored in the memory of the electronic device, the signal analysis module 125 analyzes the operating environment information of the cursor frequency signal set by executing an operation algorithm. For example, the signal analysis module 125 analyzes the operating environment information of the current cursor frequency signal set as a smooth operating environment or a non-smooth operating environment based on the historical cursor signals of the smooth operating environment and the historical cursor signals of the non-smooth operating environment in the plurality of historical cursor data.

於步驟S250,處理器110執行顯示設定估算模組126,以使顯示設定估算模組126響應於操作環境資訊為光滑環境資訊,依據硬體資訊、預設參數以及當前顯示設定值調整對應輸入裝置的顯示設定值。詳細來說,顯示設定估算模組126依據硬體資訊、預設參數以及當前顯示設定值計算出對應電子裝置的顯示設定調整值,進而將當前的顯示設定值設定為顯示設定調整值。如此設置,動態調整顯示設定的方法以及電子裝置可判斷輸入裝置(例如滑鼠)是否操作於光滑環境上,並且根據電子裝置的當前顯示設定以及電子裝置的剩餘可操作範圍位置,以計算出顯示設定調整值,進而動態地將顯示設定值調整成對應於電子裝置的顯示設定調整值。In step S250, the processor 110 executes the display setting estimation module 126, so that the display setting estimation module 126 adjusts the display setting value of the corresponding input device according to the hardware information, the preset parameters and the current display setting value in response to the operating environment information being the smooth environment information. Specifically, the display setting estimation module 126 calculates the display setting adjustment value of the corresponding electronic device according to the hardware information, the preset parameters and the current display setting value, and then sets the current display setting value as the display setting adjustment value. In this way, the method for dynamically adjusting the display setting and the electronic device can determine whether the input device (such as a mouse) is operated in a smooth environment, and calculate the display setting adjustment value based on the current display setting of the electronic device and the remaining operable range position of the electronic device, and then dynamically adjust the display setting value to correspond to the display setting adjustment value of the electronic device.

在一實施例中,預設參數包括預設的標準滑鼠操作範圍(即預設標準滑鼠墊的尺寸)、預設係數上限值以及顯示設定上限值,並且硬體資訊包括外殼可使用範圍(即機殼剩餘大小)。處理器110執行顯示設定估算模組125以依據硬體資訊中的外殼可使用範圍、調整係數最大值、標準操作範圍計算出顯示設定的調整係數。In one embodiment, the preset parameters include a preset standard mouse operating range (i.e., a preset standard mouse pad size), a preset coefficient upper limit, and a display setting upper limit, and the hardware information includes a usable range of the housing (i.e., the remaining size of the housing). The processor 110 executes the display setting estimation module 125 to calculate the adjustment coefficient of the display setting according to the usable range of the housing, the maximum adjustment coefficient, and the standard operating range in the hardware information.

計算顯示設定調整值的具體步驟如下所示,顯示設定估算模組125依據標準滑鼠操作範圍以及外殼可使用範圍,獲得調整係數。由於常見的電子裝置的機殼剩餘大小不大於標準滑鼠墊大小,因此本實施例中的調整係數相關於標準滑鼠操作範圍與外殼可使用範圍的長寬比例,並且調整係數的數值介於1至該預設係數上限值之間以確保機殼剩餘大小不會大於標準滑鼠墊大小,進而避免機殼剩餘大小的估算錯誤的情形。調整係數的計算方式,如以下方程式(1)以及方程式(2)所示: ……(1) ……(2) The specific steps of calculating the display setting adjustment value are as follows. The display setting estimation module 125 obtains the adjustment coefficient according to the standard mouse operating range and the usable range of the housing. Since the remaining size of the housing of a common electronic device is not larger than the standard mouse pad size, the adjustment coefficient in this embodiment is related to the length-width ratio of the standard mouse operating range and the usable range of the housing, and the value of the adjustment coefficient is between 1 and the preset coefficient upper limit value to ensure that the remaining size of the housing is not larger than the standard mouse pad size, thereby avoiding the situation of misestimation of the remaining size of the housing. The calculation method of the adjustment coefficient is shown in the following equations (1) and (2): ……(1) ……(2)

W l為滑鼠墊長度(length)影響權重,W w為滑鼠墊寬度(width)影響權重,P l為自定義標準滑鼠墊長度,P w為自定義標準滑鼠墊寬度,V l為虛擬滑鼠墊長度,V w為虛擬滑鼠墊寬度,S為滑鼠敏感度調整係數,S max為滑鼠敏感度調整係數上限值。 W l is the weight of the mouse pad length (length), W w is the weight of the mouse pad width (width), P l is the custom standard mouse pad length, P w is the custom standard mouse pad width, V l is the virtual mouse pad length, V w is the virtual mouse pad width, S is the mouse sensitivity adjustment coefficient, and S max is the upper limit of the mouse sensitivity adjustment coefficient.

接著,顯示設定估算模組125依據預設係數上限值、顯示設定上限值、調整係數以及當前顯示設定值,獲得顯示設定調整值。顯示設定調整值相關於調整係數與預設係數上限值的比例,顯示設定調整值不大於顯示設定上限值。調整後滑鼠靈敏度(即顯示設定調整值)調整係數的計算方式,如以下方程式(3)以及方程式(4)所示: ……(3) ……(4) Then, the display setting estimation module 125 obtains the display setting adjustment value according to the preset coefficient upper limit value, the display setting upper limit value, the adjustment coefficient and the current display setting value. The display setting adjustment value is related to the ratio of the adjustment coefficient to the preset coefficient upper limit value, and the display setting adjustment value is not greater than the display setting upper limit value. The calculation method of the adjustment coefficient of the mouse sensitivity after adjustment (i.e., the display setting adjustment value) is shown in the following equations (3) and (4): ……(3) ……(4)

M out為調整後滑鼠靈敏度,S為滑鼠敏感度調整係數設定 ,S max為滑鼠敏感度調整係數上限值,M max為作業系統設定中滑鼠敏感度最大設定值,M input為作業系統設定中當前滑鼠敏感度設定值。調整後滑鼠靈敏度會四捨五入至個位數,且設定值不超過作業系統中最大的滑鼠敏感度設定值。 M out is the mouse sensitivity after adjustment, S is the mouse sensitivity adjustment coefficient setting, S max is the upper limit of the mouse sensitivity adjustment coefficient, M max is the maximum mouse sensitivity setting value in the operating system settings, and M input is the current mouse sensitivity setting value in the operating system settings. The mouse sensitivity after adjustment will be rounded to the unit, and the setting value will not exceed the maximum mouse sensitivity setting value in the operating system.

如此設置,透過上述所計算出的調整後滑鼠靈敏度,顯示設定估算模組125可在步驟S250以及步驟S805中,將當前顯示設定值調整為顯示設定調整值(即調整後滑鼠靈敏度),以調整對應輸入裝置的顯示設定值。In this way, through the above-calculated adjusted mouse sensitivity, the display setting estimation module 125 can adjust the current display setting value to the display setting adjustment value (ie, the adjusted mouse sensitivity) in step S250 and step S805 to adjust the display setting value of the corresponding input device.

圖3是依照本揭露一實施例的讀取系統參數以獲得機殼剩餘大小的流程圖。顯示設定值包括一游標移動速度,且該預設參數包括標準操作範圍。標準操作範圍可以是預設的標準滑鼠墊長度以及寬度,例如標準長度預設為26公分,以及標準寬度預設為22公分。請參照圖3,處理器110透過執行硬體資訊收集模組122以取得輸入裝置的硬體資訊的步驟之中,處理器110更用以執行步驟S301至步驟S307。FIG. 3 is a flow chart of reading system parameters to obtain the remaining size of the housing according to an embodiment of the present disclosure. The display setting value includes a cursor movement speed, and the default parameter includes a standard operating range. The standard operating range can be a default standard mouse pad length and width, for example, the standard length is defaulted to 26 cm, and the standard width is defaulted to 22 cm. Referring to FIG. 3, the processor 110 executes the hardware information collection module 122 to obtain the hardware information of the input device, and the processor 110 is further used to execute steps S301 to S307.

於步驟S301,硬體資訊收集模組122讀取電子裝置的作業系統的登錄值;該登錄值相關於該電子裝置的該觸控板資訊。舉例而言,作業系統為Windows,則處理器110根據微軟線上公開的指南(guideline)得知電子裝置的讀取觸控板的大小應記錄於報告描述元(Report Descriptor)的實體最大值(PHYSICAL_MAXIMUM)的欄位,以讀取到觸控板大小。另外,觸控板位置資訊在登錄路徑“HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad”,如此處理器110進而讀取上述登錄路徑中“HorizontalOffset、HorizontalOffsetIsNeg、SpaceBarOffset”的登錄值,以獲得電子裝置的觸控板的位置。In step S301, the hardware information collection module 122 reads the register value of the operating system of the electronic device; the register value is related to the touch panel information of the electronic device. For example, if the operating system is Windows, the processor 110 learns from the guidelines published online by Microsoft that the size of the read touch panel of the electronic device should be recorded in the field of the physical maximum value (PHYSICAL_MAXIMUM) of the report descriptor to read the touch panel size. In addition, the touchpad position information is in the registry path “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\PrecisionTouchPad”, so the processor 110 further reads the registry values of “HorizontalOffset, HorizontalOffsetIsNeg, SpaceBarOffset” in the above registry path to obtain the position of the touchpad of the electronic device.

於步驟S302,響應於未讀取到登錄值,硬體資訊收集模組122讀取電子裝置的系統資訊。在本案中,系統資訊包括製造商資訊、產品型號以及顯示器尺寸的至少其中之一。舉例而言,在Windows的作業系統中,硬體資訊收集模組122可執行指令“msinfo32.exe”以查看系統資訊,進而獲得製造商資訊。並且,硬體資訊收集模組122可在電子裝置中執行指令“msinfo32.exe”查看系統資訊,進而獲得產品型號資訊。同樣地,硬體資訊收集模組122透過讀取作業系統中的“Extended Display Identification Data (EDID)”獲得某筆記型電腦的顯示面板大小。In step S302, in response to not reading the registered value, the hardware information collection module 122 reads the system information of the electronic device. In this case, the system information includes at least one of the manufacturer information, the product model, and the display size. For example, in the Windows operating system, the hardware information collection module 122 can execute the command "msinfo32.exe" to view the system information, thereby obtaining the manufacturer information. In addition, the hardware information collection module 122 can execute the command "msinfo32.exe" in the electronic device to view the system information, thereby obtaining the product model information. Similarly, the hardware information collection module 122 obtains the display panel size of a laptop computer by reading the "Extended Display Identification Data (EDID)" in the operating system.

於步驟S303,依據系統資訊搜尋資料庫中的資料,硬體資訊收集模組122獲得電子裝置的外殼可使用範圍。也就是說,硬體資訊收集模組122以步驟S302所獲得的系統資訊為索引查詢資料庫。舉例而言,資料庫中儲存有多筆電子裝置的觸控板單側可操作範圍的資訊。如此設置,硬體資訊收集模組122根據在步驟S302所獲得的系統資訊(例如製造商資訊以及產品型號)從資料庫中搜尋匹配的資料,進而獲得此電子裝置的可操作範圍。In step S303, the hardware information collection module 122 obtains the usable range of the outer shell of the electronic device based on the system information search database. That is, the hardware information collection module 122 uses the system information obtained in step S302 as an index to query the database. For example, the database stores information about the operable range of a single side of a touch panel of a plurality of electronic devices. In this way, the hardware information collection module 122 searches for matching data from the database based on the system information (such as manufacturer information and product model) obtained in step S302, and thereby obtains the operable range of the electronic device.

於步驟S304以及步驟S305,響應於資料庫中未儲存有電子裝置的外殼可使用範圍,硬體資訊收集模組122讀取電子裝置中顯示器的尺寸資訊,進而計算出電子裝置的觸控板資訊。也就是說,當資料庫中未儲存有此電子裝置的資料時,硬體資訊收集模組122根據預設計算參數計算出電子裝置的顯示面板大小以及觸控板大小(即觸控板資訊)。預設計算參數可以為硬體資訊參數與顯示面板尺寸的關係,預設計算參數如下所表1所示,示例了一組預設計算參數(即觸控板、機殼邊框以及顯示面板的尺寸關係參數),其參數中觸控板尺寸可以為顯示面板的百分之20至百分之60,邊框的尺寸可以是顯示面板加上1至5公分,因此本案不應以此為限制。舉例而言,步驟S302中所讀取到的顯示面板的長寬為31公分與17公分,接著硬體資訊收集模組122根據預設計算參數計算出觸控板的長寬為10.23公分與6.8公分。 觸控板長度 為顯示面板長度的百分之33 觸控板寬度 為顯示面板寬度的百分之40 邊框長度 為顯示面板長度加2公分 邊框寬度 為顯示面板寬度的加5公分 表1 In step S304 and step S305, in response to the database not storing the usable range of the housing of the electronic device, the hardware information collection module 122 reads the size information of the display in the electronic device, and then calculates the touch panel information of the electronic device. In other words, when the database does not store the data of the electronic device, the hardware information collection module 122 calculates the display panel size and the touch panel size (i.e., the touch panel information) of the electronic device according to the preset calculation parameters. The preset calculation parameters can be the relationship between the hardware information parameters and the display panel size. The preset calculation parameters are shown in Table 1 below, which illustrates a set of preset calculation parameters (i.e., the size relationship parameters of the touch panel, the chassis frame, and the display panel). In the parameters, the touch panel size can be 20% to 60% of the display panel, and the frame size can be the display panel plus 1 to 5 cm, so this case should not be limited to this. For example, the length and width of the display panel read in step S302 are 31 cm and 17 cm, and then the hardware information collection module 122 calculates the length and width of the touch panel as 10.23 cm and 6.8 cm according to the preset calculation parameters. Touch panel length 33% of the display panel length Touch panel width 40 percent of the display panel width Border length Add 2 cm to the display panel length Border width Add 5 cm to the width of the display panel Table 1

於步驟S306,依據顯示器130的尺寸資訊以及觸控板資訊,硬體資訊收集模組122計算出外殼可使用範圍。舉例而言,硬體資訊收集模組122將步驟S305所計算出的機殼大小減去觸控板大小,進而獲得觸控板旁單側的機殼剩餘大小,其中機殼剩餘大小為與觸控板同一平面的機殼扣除掉觸控板後單側可操作滑鼠的範圍。如此設置,硬體資訊收集模組122可透過資料庫以及作業系統登錄值其中之一的方式,讀取電子裝置的硬體資訊,以獲得電子裝置的機殼剩餘大小。另外,於步驟S307,硬體資訊收集模組122將步驟S306以及步驟301所獲得的硬體資訊以及機殼剩餘大小儲存至資料庫之中,進而提升下次計算機殼剩餘大小的速度。資料庫是雲端資料庫以及本地儲存裝置的其中之一。In step S306, based on the size information of the display 130 and the touch panel information, the hardware information collection module 122 calculates the usable range of the housing. For example, the hardware information collection module 122 subtracts the touch panel size from the housing size calculated in step S305 to obtain the remaining housing size on one side of the touch panel, wherein the remaining housing size is the range of the housing on the same plane as the touch panel that can operate the mouse on one side after deducting the touch panel. In this way, the hardware information collection module 122 can read the hardware information of the electronic device through one of the database and the operating system registration value to obtain the remaining housing size of the electronic device. In addition, in step S307, the hardware information collection module 122 stores the hardware information and the remaining size of the chassis obtained in step S306 and step 301 in the database, thereby increasing the speed of calculating the remaining size of the chassis next time. The database is one of the cloud database and the local storage device.

圖4是依照本揭露一實施例的讀取以及處理游標訊號的流程圖。請參照圖4,處理器更用以執行操作訊號收集模組以執行步驟S401至步驟S406。於步驟S401,操作訊號收集模組123初始化游標訊號變數組。也就是說,操作訊號收集模組123將游標訊號變數組內的變數值都設為零。在本實施例中,游標訊號變數組由兩個變數所組成,分別是移動計數器以及位置陣列,進而用來記錄所分析的滑鼠/游標資訊。移動計數器用以紀錄目前收集到幾個連續的游標移動事件,其預設為整數變數。游標移動事件包括游標移動以及游標離開顯示畫面。滑鼠/游標位置陣列用以紀錄目前收集到連續類移動事件中每一組的位置資訊,其預設為二維整數陣列。FIG. 4 is a flow chart of reading and processing cursor signals according to an embodiment of the present disclosure. Referring to FIG. 4 , the processor is further used to execute the operation signal collection module to execute steps S401 to S406. In step S401, the operation signal collection module 123 initializes the cursor signal variable set. That is, the operation signal collection module 123 sets all variable values in the cursor signal variable set to zero. In this embodiment, the cursor signal variable set is composed of two variables, namely a movement counter and a position array, which are used to record the analyzed mouse/cursor information. The movement counter is used to record the number of continuous cursor movement events currently collected, and is set to an integer variable by default. Cursor movement events include cursor movement and cursor leaving the display screen. The mouse/cursor position array is used to record the position information of each group of continuous movement events currently collected. It is set to a two-dimensional integer array by default.

於步驟S402,操作訊號收集模組123接收輸入裝置所輸入的訊號。在一實施例中,操作訊號收集模組123透過電子裝置的通訊器接收輸入裝置所發出的訊號。於步驟S403,操作訊號收集模組123依序分別判斷這些訊號的訊號分類,進而判斷訊號是否為游標移動事件。訊號分類包括滑鼠移動事件(即游標移動)、滑鼠按鍵事件(例如按下左鍵、釋放左鍵)、滾輪滾動事件(例如游標在網頁瀏覽器中上下滾動頁面)以及游標離開事件,其中滑鼠移動事件以及游標離開事件被歸類於游標移動事件。In step S402, the operation signal collection module 123 receives the signal input by the input device. In one embodiment, the operation signal collection module 123 receives the signal sent by the input device through the communicator of the electronic device. In step S403, the operation signal collection module 123 sequentially determines the signal classification of these signals, and then determines whether the signal is a cursor movement event. Signal classification includes mouse movement events (i.e., cursor movement), mouse button events (such as pressing the left button, releasing the left button), scroll wheel scrolling events (such as the cursor scrolling up and down the page in the web browser) and cursor leaving events, among which mouse movement events and cursor leaving events are classified as cursor movement events.

在步驟S404,響應於訊號為非游標移動事件(即滑鼠按鍵事件以及滾輪滾動事件的其中之一),操作訊號收集模組123重複執行步驟S401,以歸零計數器的數值並且清空該游標訊號變數組的記錄。In step S404, in response to the signal being a non-cursor movement event (i.e., one of a mouse button event and a scroll wheel event), the operation signal collection module 123 repeatedly executes step S401 to reset the counter value and clear the record of the cursor signal variable set.

於步驟S404,響應於訊號為游標移動訊號(即游標移動以及游標離開畫面的其中之一),操作訊號收集模組123將計數器的計數器值加一,並且將游標位置資料記錄為游標訊號變數組。也就是說,操作訊號收集模組123將此事件內的滑鼠位置資訊擷取出來,存入滑鼠/游標位置陣列之中。In step S404, in response to the signal being a cursor movement signal (i.e., one of the cursor movement and the cursor leaving the screen), the operation signal collection module 123 increases the counter value of the counter by one and records the cursor position data as a cursor signal variable set. In other words, the operation signal collection module 123 extracts the mouse position information in this event and stores it in the mouse/cursor position array.

於步驟S405,響應於計數值到達一預設計數值(可以是3次至50次之間,例如10次、15次或是30次,本案不應以此為限),操作訊號收集模組123將游標訊號變數組作為游標訊號。換句話說,當滑鼠移動計數器的值超過一給定門檻值(即預設計數值),可以解讀為使用者於一定時間內未做正常滑鼠操作,即代表滑鼠可能使用於光滑桌面上,因此將滑鼠位置陣列(即游標訊號變數組)輸出於至訊號預處理模組124,以進行進一步的計算(步驟S406)。In step S405, in response to the count value reaching a preset count value (which may be between 3 and 50 times, such as 10, 15 or 30 times, but the present invention should not be limited thereto), the operation signal collection module 123 uses the cursor signal variable set as the cursor signal. In other words, when the value of the mouse movement counter exceeds a given threshold value (i.e., the preset count value), it can be interpreted as the user has not performed normal mouse operations within a certain period of time, which means that the mouse may be used on a smooth desktop, so the mouse position array (i.e., the cursor signal variable set) is output to the signal pre-processing module 124 for further calculation (step S406).

圖5是依照本揭露一實施例的游標訊號處理為游標頻率訊號組的流程圖。圖6A以及圖6B是依照本揭露一實施例的非光滑桌面資訊的水平軸訊號、水平軸頻率訊號、垂直軸訊號以及垂直軸頻率訊號的示意圖。圖7A以及圖7B是依照本揭露一實施例的光滑桌面資訊的水平軸訊號、水平軸頻率訊號、垂直軸訊號以及垂直軸頻率訊號的示意圖。請參照圖5,處理器110執行訊號預處理模組124以進行步驟S501至步驟S509。FIG. 5 is a flow chart of processing a cursor signal into a cursor frequency signal set according to an embodiment of the present disclosure. FIG. 6A and FIG. 6B are schematic diagrams of a horizontal axis signal, a horizontal axis frequency signal, a vertical axis signal, and a vertical axis frequency signal of non-smooth desktop information according to an embodiment of the present disclosure. FIG. 7A and FIG. 7B are schematic diagrams of a horizontal axis signal, a horizontal axis frequency signal, a vertical axis signal, and a vertical axis frequency signal of smooth desktop information according to an embodiment of the present disclosure. Referring to FIG. 5 , the processor 110 executes the signal pre-processing module 124 to perform steps S501 to S509.

於步驟S501,訊號預處理模組124讀取游標位置陣列(即游標訊號變數組中的位置陣列)。游標訊號包括游標位置陣列,游標位置陣列包括游標水平軸訊號以及游標垂直軸訊號。於步驟S502以及步驟S505,訊號預處理模組124從游標位置陣列中分別擷取游標水平軸數據流以及游標垂直軸數據流。換言之,訊號預處理模組124先將滑鼠游標位置陣列中水平軸(即X軸)與垂直軸(即Y軸)的數據流分開。In step S501, the signal pre-processing module 124 reads the cursor position array (i.e., the position array in the cursor signal variable group). The cursor signal includes the cursor position array, and the cursor position array includes the cursor horizontal axis signal and the cursor vertical axis signal. In steps S502 and S505, the signal pre-processing module 124 respectively captures the cursor horizontal axis data stream and the cursor vertical axis data stream from the cursor position array. In other words, the signal pre-processing module 124 first separates the data streams of the horizontal axis (i.e., the X axis) and the vertical axis (i.e., the Y axis) in the mouse cursor position array.

接著,在步驟503以及步驟S506中,訊號預處理模組124依據擷取設置參數擷取游標水平/垂直軸訊號(即數據流)中的多個游標水平/垂直軸訊號框。擷取設置參數可以是擷取範圍參數以及每隔多少訊號點擷取訊號的設置參數。也就是說,訊號預處理模組124依據擷取設置參數,擷取游標垂直軸訊號中的多個游標垂直軸訊號框,以及擷取游標水平軸訊號中的多個游標水平軸訊號框。具體來說,訊號預處理模組124分別對水平軸以及垂直軸的數據流每隔固定取樣點(例如,192個取樣點)(即擷取設置參數),擷取固定數量的取樣點(例如,256個取樣點)(即擷取設置參數)為一個分析單位,以分別作為游標水平軸訊號框(Frame)以及游標垂直軸訊號框。Next, in step 503 and step S506, the signal pre-processing module 124 captures multiple cursor horizontal/vertical axis signal frames in the cursor horizontal/vertical axis signal (i.e., data stream) according to the capture setting parameters. The capture setting parameters may be capture range parameters and setting parameters for capturing the signal at a certain interval of signal points. In other words, the signal pre-processing module 124 captures multiple cursor vertical axis signal frames in the cursor vertical axis signal and captures multiple cursor horizontal axis signal frames in the cursor horizontal axis signal according to the capture setting parameters. Specifically, the signal pre-processing module 124 captures a fixed number of sampling points (e.g., 256 sampling points) (i.e., captures setting parameters) of the data streams of the horizontal axis and the vertical axis, respectively, every fixed sampling point (e.g., 192 sampling points) (i.e., captures setting parameters) as an analysis unit, which are used as a cursor horizontal axis signal frame (Frame) and a cursor vertical axis signal frame, respectively.

在步驟S504以及步驟S507中,訊號預處理模組124以步驟S503以及步驟S506所擷取到的訊號框為單位做傅立葉轉換,將各軸的時域訊號轉換為頻域訊號。具體來說,於步驟S504以及步驟S507中,訊號預處理模組124將多個游標水平軸訊號框以及多個游標垂直軸訊號框透過傅立葉轉換分別從時域訊號轉換成頻域訊號,以獲得多個垂直軸頻率訊號以及多個水平軸頻率訊號。In step S504 and step S507, the signal pre-processing module 124 performs Fourier transform on the signal frames captured in step S503 and step S506, and converts the time domain signals of each axis into frequency domain signals. Specifically, in step S504 and step S507, the signal pre-processing module 124 converts multiple cursor horizontal axis signal frames and multiple cursor vertical axis signal frames from time domain signals into frequency domain signals through Fourier transform, respectively, to obtain multiple vertical axis frequency signals and multiple horizontal axis frequency signals.

如圖6A以及圖7A所示,左方為游標X軸(水平軸)訊號框的時域訊號,經過訊號預處理模組124對其做傅立葉轉換後獲得如圖6A以及圖7A右方所示游標X軸頻域訊號。同樣地,如圖6B以及圖7B所示,左方為游標Y軸(垂直軸)訊號框的時域訊號,經過訊號預處理模組124對其做傅立葉轉換後獲得如圖6B以及圖7B右方所示游標Y軸頻域訊號。圖6A以及圖6B的游標訊號為滑鼠在一般桌面(非光滑)操作環境下的操作訊號,圖7A以及圖7B的游標訊號為滑鼠在光滑操作環境下的操作訊號。As shown in FIG6A and FIG7A, the left side is the time domain signal of the cursor X-axis (horizontal axis) signal frame, and after the signal pre-processing module 124 performs Fourier transformation on it, the cursor X-axis frequency domain signal as shown in FIG6A and the right side of FIG7A is obtained. Similarly, as shown in FIG6B and FIG7B, the left side is the time domain signal of the cursor Y-axis (vertical axis) signal frame, and after the signal pre-processing module 124 performs Fourier transformation on it, the cursor Y-axis frequency domain signal as shown in FIG6B and the right side of FIG7B is obtained. The cursor signals of FIG6A and FIG6B are operation signals of the mouse in a general desktop (non-smooth) operation environment, and the cursor signals of FIG7A and FIG7B are operation signals of the mouse in a smooth operation environment.

從圖6A至圖7B可以得知,當滑鼠使用於一般桌面時,滑鼠位置座標X、Y軸在時間軸上的變化比較平順,在訊號預處理模組124對其進行傅立葉轉換後,可以看出其訊號的頻率分布範圍較廣(如圖6A以及圖6B右方的圖)。當滑鼠使用於光滑桌面時,滑鼠位置座標X、Y軸在時間軸上的變化比較驟變非平順,在訊號預處理模組124對其進行傅立葉轉換後,可看出其訊號的頻率分布範圍較窄(如圖7A以及圖7B右方的圖)。也就是說,滑鼠在光滑操作環境下的游標頻域訊號具有較窄的分布範圍。如此一來,訊號分析模組125透過比對游標頻域訊號的分布範圍與預設範圍的大小,進而判斷當前游標訊號的操作環境資訊(即光滑桌面或非光滑桌面)。補充說明的是,圖6A、圖6B、圖7A以及圖7B中左方的圖其X軸單位為時間,以及其Y軸單位為振幅;右方的圖其X軸單位為頻率,以及其Y軸單位為振幅。From FIG. 6A to FIG. 7B , it can be seen that when the mouse is used on a general desktop, the changes of the mouse position coordinates X and Y axes on the time axis are relatively smooth. After the signal pre-processing module 124 performs Fourier transformation on it, it can be seen that the frequency distribution range of its signal is relatively wide (as shown in FIG. 6A and the right figure of FIG. 6B ). When the mouse is used on a smooth desktop, the changes of the mouse position coordinates X and Y axes on the time axis are relatively abrupt and non-smooth. After the signal pre-processing module 124 performs Fourier transformation on it, it can be seen that the frequency distribution range of its signal is relatively narrow (as shown in FIG. 7A and the right figure of FIG. 7B ). In other words, the cursor frequency domain signal of the mouse in a smooth operating environment has a narrow distribution range. In this way, the signal analysis module 125 determines the operating environment information of the current cursor signal (i.e., smooth desktop or non-smooth desktop) by comparing the distribution range of the cursor frequency domain signal with the size of the preset range. It is additionally explained that the X-axis unit of the left graph in FIG6A, FIG6B, FIG7A and FIG7B is time, and the Y-axis unit is amplitude; the X-axis unit of the right graph is frequency, and the Y-axis unit is amplitude.

於步驟S508,訊號預處理模組124將該多個垂直軸頻率訊號依序組成垂直軸頻率訊號組,並且訊號預處理模組124將該多個水平軸頻率訊號依序組成水平軸頻率訊號組。具體來說,訊號預處理模組124將多個垂直軸頻率訊號以及多個水平軸頻率訊號組分別依序頭尾相接。並且,訊號預處理模組124將垂直軸頻率訊號組以及相對應時間的水平軸頻率訊號組作為游標頻率訊號組。於步驟S509,訊號預處理模組124輸出游標頻率訊號組。如此設置,訊號預處理模組124擷取滑鼠位置座標信號,並做適當的預處理以確保可有效地分析所收集的游標訊號。In step S508, the signal preprocessing module 124 sequentially groups the multiple vertical axis frequency signals into a vertical axis frequency signal group, and the signal preprocessing module 124 sequentially groups the multiple horizontal axis frequency signals into a horizontal axis frequency signal group. Specifically, the signal preprocessing module 124 sequentially connects the multiple vertical axis frequency signals and the multiple horizontal axis frequency signal groups. In addition, the signal preprocessing module 124 uses the vertical axis frequency signal group and the horizontal axis frequency signal group at the corresponding time as the cursor frequency signal group. In step S509, the signal preprocessing module 124 outputs the cursor frequency signal group. In this configuration, the signal pre-processing module 124 captures the mouse position coordinate signal and performs appropriate pre-processing to ensure that the collected cursor signal can be effectively analyzed.

由於每種演算法的所需運算量以及準確度皆不同,用不適合的演算法恐導致電子裝置當機或是準確度不高。在一實施例中,儲存器120更儲存有效能評估模組121,效能評估模組121用於判斷當前的處理器110所適合的演算法,以提高處理器110在執行其他步驟時的運算效率。效能評估模組121分別透過多個演算法執行同一預測程式,以獲得多個執行時間。效能評估模組121將該多個演算法中具有最短執行時間的演算法作為電子裝置的運算演算法。如此一來,效能評估模組121可即時根據電子裝置的效能,獲得最適合電子裝置的演算法。演算法可以是深層類神經網路、統計模型演算法(例如隱藏式馬可夫模型)或是集群分析演算法(例如K-means),本案不應以此為限。Since the amount of computation required and the accuracy of each algorithm are different, using an inappropriate algorithm may cause the electronic device to crash or have low accuracy. In one embodiment, the memory 120 further stores a performance evaluation module 121, which is used to determine the algorithm suitable for the current processor 110 to improve the computational efficiency of the processor 110 when executing other steps. The performance evaluation module 121 executes the same prediction program through multiple algorithms to obtain multiple execution times. The performance evaluation module 121 uses the algorithm with the shortest execution time among the multiple algorithms as the operation algorithm of the electronic device. In this way, the performance evaluation module 121 can obtain the most suitable algorithm for the electronic device in real time according to the performance of the electronic device. The algorithm can be a deep neural network, a statistical model algorithm (such as a hidden Markov model) or a cluster analysis algorithm (such as K-means), but the present invention should not be limited to this.

在一實施例中,效能評估模組121所選定的演算法為深層類神經網路。在步驟S250中,訊號分析模組125執行深層類神經網路以基於多個歷史游標資料分析游標頻率訊號組的分布範圍,進而獲得對應游標頻率訊號組的操作環境資訊。操作環境資訊相關於多個歷史游標資料的歷史操作資訊以及歷史頻率訊號組。訊號分析模組125可根據歷史游標資料判斷當前的游標頻率訊號組的操作環境資訊。In one embodiment, the algorithm selected by the performance evaluation module 121 is a deep neural network. In step S250, the signal analysis module 125 executes the deep neural network to analyze the distribution range of the cursor frequency signal group based on multiple historical cursor data, thereby obtaining the operating environment information corresponding to the cursor frequency signal group. The operating environment information is related to the historical operation information of the multiple historical cursor data and the historical frequency signal group. The signal analysis module 125 can determine the operating environment information of the current cursor frequency signal group based on the historical cursor data.

圖8是依照本揭露一實施例的判斷滑鼠是否使用於光滑桌面以及調整敏感度的流程圖。請參照圖8,電子裝置100的處理器110可執行步驟S801至步驟S808。於步驟S801,處理器110根據步驟S240的步驟判斷滑鼠(即輸入裝置)是否使用於光滑桌面上。於步驟S802,響應於滑鼠的操作環境資訊為光滑桌面,處理器110於顯示器130上顯示提示視窗。提示視窗可以是包括“滑鼠是否於光滑平面上,是否要於機殼上操作滑鼠?”或“偵測到滑鼠在光滑表面上,是否將滑鼠置於觸控板旁,並且提高滑鼠靈敏度?”的內容,並且包括確認鍵以及取消鍵。如此設置,處理器110透過提示視窗提示使用者可將滑鼠放置於電子裝置的觸控板旁的剩餘機殼處,並且自動將滑鼠敏感度調整至可操作於機殼上的設定值(即顯示設定調整值)。FIG8 is a flow chart of determining whether the mouse is used on a smooth desktop and adjusting the sensitivity according to an embodiment of the present disclosure. Referring to FIG8 , the processor 110 of the electronic device 100 may execute steps S801 to S808. In step S801, the processor 110 determines whether the mouse (i.e., the input device) is used on a smooth desktop according to step S240. In step S802, in response to the operating environment information of the mouse being a smooth desktop, the processor 110 displays a prompt window on the display 130. The prompt window may include content such as "Is the mouse on a smooth surface? Do you want to operate the mouse on the case?" or "The mouse is detected to be on a smooth surface. Do you want to place the mouse next to the touchpad and increase the mouse sensitivity?" and include a confirmation key and a cancel key. In this way, the processor 110 prompts the user through the prompt window to place the mouse on the remaining case next to the touchpad of the electronic device, and automatically adjusts the mouse sensitivity to a setting value that can be operated on the case (i.e., displays the setting adjustment value).

於步驟S803,處理器110判斷是否接收到調整指令(即使用者點擊步驟S802中顯示視窗的確認鍵)。於步驟S804,處理器110響應於操作環境資訊為光滑環境資訊,並且接收到調整指令。處理器110讀取敏感度設定值。也就是說,處理器110讀取在步驟S250中根據顯示設定的調整係數、調整係數最大值、最大設定值、最小設定值以及當前顯示設定值所獲得的顯示設定調整值。In step S803, the processor 110 determines whether an adjustment command is received (i.e., the user clicks the confirmation button of the display window in step S802). In step S804, the processor 110 responds to the fact that the operating environment information is smooth environment information and an adjustment command is received. The processor 110 reads the sensitivity setting value. In other words, the processor 110 reads the display setting adjustment value obtained in step S250 according to the display setting adjustment coefficient, the maximum value of the adjustment coefficient, the maximum setting value, the minimum setting value, and the current display setting value.

於步驟S805,處理器110將電子裝置的當前顯示設定值調整為調整顯示設定值,進而設定滑鼠敏感度。於步驟S806,處理110結束此流程。於步驟S807,處理器110判斷當前顯示設定值是否等於預設值。在步驟S808,響應於操作環境資訊為非光滑環境資訊,並且當前顯示設定值不等於預設值,則處理器110將當前顯示設定值調整成顯示設定的預設值。In step S805, the processor 110 adjusts the current display setting value of the electronic device to the adjusted display setting value, thereby setting the mouse sensitivity. In step S806, the processor 110 ends this process. In step S807, the processor 110 determines whether the current display setting value is equal to the default value. In step S808, in response to the operating environment information being the non-smooth environment information and the current display setting value not being equal to the default value, the processor 110 adjusts the current display setting value to the default value of the display setting.

綜上所述,於本揭露的實施例中,動態調整顯示設定的方法與電子裝置根據預處理以及分析頻域訊號的分布範圍,進而判斷出游標訊號的操作環境資訊,以達到自動偵測以及提示使用者當前操作環境。並且,動態調整顯示設定的方法及其電子裝置計算出當前電子裝置的觸控板旁可操作滑鼠的範圍,以調整滑鼠敏感度。如此,動態調整顯示設定的方法與電子裝置可透過適合的演算法計算出適合當前電子裝置的顯示設定調整值,並且提示使用者是否採用調整過後的滑鼠靈敏度以及將滑鼠放置於機殼上操作,以提高使用者體驗的滿意度以及便利性。In summary, in the embodiments disclosed herein, the method and electronic device for dynamically adjusting display settings pre-process and analyze the distribution range of frequency domain signals to determine the operating environment information of the cursor signal, so as to automatically detect and prompt the user of the current operating environment. In addition, the method and electronic device for dynamically adjusting display settings calculate the range of the mouse that can be operated next to the touch panel of the current electronic device to adjust the mouse sensitivity. In this way, the method and electronic device for dynamically adjusting display settings can calculate the display setting adjustment value suitable for the current electronic device through a suitable algorithm, and prompt the user whether to adopt the adjusted mouse sensitivity and place the mouse on the housing for operation, so as to improve the user experience satisfaction and convenience.

雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露,任何所屬技術領域中具有通常知識者,在不脫離本揭露的精神和範圍內,當可作些許的更動與潤飾,故本揭露的保護範圍當視後附的申請專利範圍所界定者為準。Although the present disclosure has been disclosed as above by way of embodiments, it is not intended to limit the present disclosure. Any person having ordinary knowledge in the relevant technical field may make some changes and modifications without departing from the spirit and scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the definition of the attached patent application scope.

100:電腦系統 110:處理器 120:儲存器 130:顯示器 121:效能評估模組 122:硬體資訊收集模組 123:操作訊號收集模組 124:訊號預處理模組 125:訊號分析模組 126:顯示設定估算模組 S210~S250、S301~307、S401~S406、S501~S509、S801~S808:步驟100: Computer system 110: Processor 120: Memory 130: Display 121: Performance evaluation module 122: Hardware information collection module 123: Operation signal collection module 124: Signal pre-processing module 125: Signal analysis module 126: Display setting estimation module S210~S250, S301~307, S401~S406, S501~S509, S801~S808: Steps

圖1是依照本揭露一實施例的電子裝置的方塊圖。 圖2是依照本揭露一實施例的動態調整顯示設定的方法的流程圖。 圖3是依照本揭露一實施例的讀取系統參數以獲得機殼剩餘大小的流程圖。 圖4是依照本揭露一實施例的讀取以及處理游標訊號的流程圖。 圖5是依照本揭露一實施例的游標訊號處理為游標頻率訊號組的流程圖。 圖6A以及圖6B是依照本揭露一實施例的非光滑桌面資訊的水平軸訊號、水平軸頻率訊號、垂直軸訊號以及垂直軸頻率訊號的示意圖。 圖7A以及圖7B是依照本揭露一實施例的光滑桌面資訊的水平軸訊號、水平軸頻率訊號、垂直軸訊號以及垂直軸頻率訊號的示意圖。 圖8是依照本揭露一實施例的判斷滑鼠是否使用於光滑桌面以及調整敏感度的流程圖。 FIG. 1 is a block diagram of an electronic device according to an embodiment of the present disclosure. FIG. 2 is a flow chart of a method for dynamically adjusting display settings according to an embodiment of the present disclosure. FIG. 3 is a flow chart of reading system parameters to obtain the remaining size of the housing according to an embodiment of the present disclosure. FIG. 4 is a flow chart of reading and processing cursor signals according to an embodiment of the present disclosure. FIG. 5 is a flow chart of processing cursor signals into cursor frequency signal groups according to an embodiment of the present disclosure. FIG. 6A and FIG. 6B are schematic diagrams of horizontal axis signals, horizontal axis frequency signals, vertical axis signals, and vertical axis frequency signals of non-smooth desktop information according to an embodiment of the present disclosure. FIG. 7A and FIG. 7B are schematic diagrams of the horizontal axis signal, the horizontal axis frequency signal, the vertical axis signal, and the vertical axis frequency signal of the smooth desktop information according to an embodiment of the present disclosure. FIG. 8 is a flow chart of determining whether the mouse is used on a smooth desktop and adjusting the sensitivity according to an embodiment of the present disclosure.

S210~S250:步驟 S210~S250: Steps

Claims (20)

一種動態調整顯示設定的方法,適用於耦接一顯示器以及一輸入裝置的電子裝置,所述方法包括: 取得該電子裝置的硬體資訊; 收集游標訊號,其中該游標訊號相關於該輸入裝置所輸入的訊號; 對該游標訊號執行訊號預處理,以產生游標頻率訊號組,其中該訊號預處理包括將該游標訊號從時域訊號轉換成頻域訊號; 依據預設範圍以分析該游標頻率訊號組的分布範圍,獲得對應該游標頻率訊號組的操作環境資訊;以及 響應於該操作環境資訊為光滑環境資訊,依據該硬體資訊、預設參數以及當前顯示設定值調整對應該輸入裝置的顯示設定值。 A method for dynamically adjusting display settings is applicable to an electronic device coupled to a display and an input device, the method comprising: Obtaining hardware information of the electronic device; Collecting a cursor signal, wherein the cursor signal is related to a signal input by the input device; Performing signal preprocessing on the cursor signal to generate a cursor frequency signal set, wherein the signal preprocessing includes converting the cursor signal from a time domain signal to a frequency domain signal; Analyzing the distribution range of the cursor frequency signal set according to a preset range to obtain operating environment information corresponding to the cursor frequency signal set; and In response to the operating environment information being smooth environment information, the display setting value corresponding to the input device is adjusted according to the hardware information, the default parameters and the current display setting value. 如請求項1所述的動態調整顯示設定的方法,其中該顯示設定值包括一游標移動速度,且該預設參數包括標準操作範圍, 其中調整對應該輸入裝置的該顯示設定值的步驟更包括: 依據該硬體資訊中的外殼可使用範圍、調整係數最大值、該標準操作範圍,計算出顯示設定的調整係數; 響應於該操作環境資訊為該光滑環境資訊,並且接收到調整指令,依據該顯示設定的該調整係數、該調整係數最大值、最大設定值、最小設定值以及該當前顯示設定值調整該顯示設定值;以及 響應於該操作環境資訊為非光滑環境資訊,並且該當前顯示設定值非預設值,將該當前顯示設定值調整為該預設值。 A method for dynamically adjusting display settings as described in claim 1, wherein the display setting value includes a cursor movement speed, and the default parameter includes a standard operating range, wherein the step of adjusting the display setting value corresponding to the input device further includes: Calculating the adjustment coefficient of the display setting based on the usable range of the housing, the maximum value of the adjustment coefficient, and the standard operating range in the hardware information; In response to the operating environment information being the smooth environment information and receiving an adjustment instruction, adjusting the display setting value based on the adjustment coefficient of the display setting, the maximum value of the adjustment coefficient, the maximum setting value, the minimum setting value, and the current display setting value; and In response to the operating environment information being non-smooth environment information and the current display setting value being non-default value, the current display setting value is adjusted to the default value. 如請求項1所述的動態調整顯示設定的方法,其中取得該輸入裝置的該硬體資訊的步驟之前,所述方法還包括: 讀取該電子裝置的作業系統的登錄值; 響應於未讀取到該登錄值,讀取該電子裝置的系統資訊; 依據該系統資訊搜尋資料庫中的資料,獲得該電子裝置的外殼可使用範圍; 響應於該資料庫中未儲存有該電子裝置的該外殼可使用範圍,讀取該電子裝置中該顯示器的尺寸資訊,進而計算出該電子裝置的觸控板資訊;以及 依據該顯示器的該尺寸資訊以及該觸控板資訊,計算出該外殼可使用範圍。 The method for dynamically adjusting display settings as described in claim 1, wherein before the step of obtaining the hardware information of the input device, the method further includes: Reading a register value of the operating system of the electronic device; In response to not reading the register value, reading the system information of the electronic device; Searching for data in a database based on the system information to obtain a usable range of the outer shell of the electronic device; In response to not storing the usable range of the outer shell of the electronic device in the database, reading the size information of the display in the electronic device, and then calculating the touch panel information of the electronic device; and Calculating the usable range of the outer shell based on the size information of the display and the touch panel information. 如請求項3所述的動態調整顯示設定的方法,其中該登錄值相關於該電子裝置的該觸控板資訊,其中該系統資訊包括製造商資訊、產品型號以及顯示器尺寸。A method for dynamically adjusting display settings as described in claim 3, wherein the registration value is related to the touch panel information of the electronic device, wherein the system information includes manufacturer information, product model, and display size. 如請求項1所述的動態調整顯示設定的方法,其中收集該游標訊號的步驟包括: 初始化游標訊號變數組; 接收該輸入裝置所輸入的該訊號; 響應於該訊號為游標移動訊號,將計數器的計數器值加一,並且將游標位置資料記錄為該游標訊號變數組; 響應於該訊號為游標事件訊號,歸零該計數器的該計數器值並且清空該游標訊號變數組的記錄;以及 響應於該計數器值到達一預設計數值,將該游標訊號變數組作為該游標訊號。 A method for dynamically adjusting display settings as described in claim 1, wherein the step of collecting the cursor signal comprises: Initializing a cursor signal variable set; Receiving the signal input by the input device; In response to the signal being a cursor movement signal, increasing the counter value of the counter by one, and recording the cursor position data as the cursor signal variable set; In response to the signal being a cursor event signal, zeroing the counter value of the counter and clearing the record of the cursor signal variable set; and In response to the counter value reaching a preset count value, using the cursor signal variable set as the cursor signal. 如請求項1所述的動態調整顯示設定的方法,其中該游標訊號包括游標水平軸訊號以及游標垂直軸訊號, 其中對該游標訊號執行訊號預處理的步驟包括: 依據擷取設置參數擷取該游標水平軸訊號中的多個游標水平軸訊號框; 依據擷取設置參數擷取該游標垂直軸訊號中的多個游標垂直軸訊號框; 將該多個游標水平軸訊號框以及該多個游標垂直軸訊號框透過傅立葉轉換從該時域訊號轉換成該頻域訊號,以獲得多個垂直軸頻率訊號以及多個水平軸頻率訊號; 將該多個垂直軸頻率訊號依序組成垂直軸頻率訊號組,並且將該多個水平軸頻率訊號依序組成水平軸頻率訊號組;以及 將該垂直軸頻率訊號組以及該水平軸頻率訊號組作為該游標頻率訊號組。 A method for dynamically adjusting display settings as described in claim 1, wherein the cursor signal includes a cursor horizontal axis signal and a cursor vertical axis signal, wherein the step of performing signal preprocessing on the cursor signal includes: capturing multiple cursor horizontal axis signal frames in the cursor horizontal axis signal according to a capture setting parameter; capturing multiple cursor vertical axis signal frames in the cursor vertical axis signal according to a capture setting parameter; converting the multiple cursor horizontal axis signal frames and the multiple cursor vertical axis signal frames from the time domain signal to the frequency domain signal through Fourier transform to obtain multiple vertical axis frequency signals and multiple horizontal axis frequency signals; The multiple vertical axis frequency signals are sequentially grouped into a vertical axis frequency signal group, and the multiple horizontal axis frequency signals are sequentially grouped into a horizontal axis frequency signal group; and The vertical axis frequency signal group and the horizontal axis frequency signal group are used as the cursor frequency signal group. 如請求項1所述的動態調整顯示設定的方法,其中該預設參數包括預設的標準滑鼠操作範圍、預設係數上限值以及顯示設定上限值,並且該硬體資訊包括外殼可使用範圍,其中依據該硬體資訊、該預設參數以及該當前顯示設定值調整對應該輸入裝置的該顯示設定值的步驟包括: 依據該標準滑鼠操作範圍以及該外殼可使用範圍,獲得調整係數,其中該調整係數相關於該標準滑鼠操作範圍與該外殼可使用範圍的長寬比例,該調整係數的數值介於1至該預設係數上限值之間; 依據該預設係數上限值、該顯示設定上限值、該調整係數以及該當前顯示設定值,獲得顯示設定調整值,其中該顯示設定調整值相關於該調整係數與該預設係數上限值的比例,其中該顯示設定調整值不大於該顯示設定上限值;以及 將該當前顯示設定值調整為該顯示設定調整值,以調整對應該輸入裝置的該顯示設定值。 A method for dynamically adjusting display settings as described in claim 1, wherein the preset parameters include a preset standard mouse operating range, a preset coefficient upper limit value, and a display setting upper limit value, and the hardware information includes a usable range of the shell, wherein the step of adjusting the display setting value corresponding to the input device according to the hardware information, the preset parameters, and the current display setting value includes: According to the standard mouse operating range and the usable range of the shell, an adjustment coefficient is obtained, wherein the adjustment coefficient is related to the length-width ratio of the standard mouse operating range to the usable range of the shell, and the value of the adjustment coefficient is between 1 and the preset coefficient upper limit value; According to the preset coefficient upper limit value, the display setting upper limit value, the adjustment coefficient and the current display setting value, a display setting adjustment value is obtained, wherein the display setting adjustment value is related to the ratio of the adjustment coefficient to the preset coefficient upper limit value, wherein the display setting adjustment value is not greater than the display setting upper limit value; and Adjusting the current display setting value to the display setting adjustment value to adjust the display setting value corresponding to the input device. 如請求項1所述的動態調整顯示設定的方法,其中執行該訊號預處理的步驟之前,所述方法還包括: 透過多個演算法分別執行預測程式,以獲得多個執行時間;以及 將該多個演算法中具有最短執行時間的演算法作為該電子裝置的運算演算法。 The method for dynamically adjusting display settings as described in claim 1, wherein before executing the signal preprocessing step, the method further includes: Executing a prediction program through multiple algorithms respectively to obtain multiple execution times; and Using the algorithm with the shortest execution time among the multiple algorithms as the operation algorithm of the electronic device. 如請求項8所述的動態調整顯示設定的方法,其中依據該預設範圍以分析該游標頻率訊號組的該分布範圍,獲得對應該操作環境資訊的步驟包括: 依據該電子裝置的儲存器中的多個歷史游標資料,以通過執行該運算演算法分析該游標頻率訊號組的該操作環境資訊, 其中該運算演算法為深層類神經網路、統計模型演算法以及集群分析的其中之一。 The method for dynamically adjusting display settings as described in claim 8, wherein the step of analyzing the distribution range of the cursor frequency signal group according to the preset range to obtain the corresponding operating environment information includes: Analyzing the operating environment information of the cursor frequency signal group by executing the operation algorithm according to multiple historical cursor data in the memory of the electronic device, wherein the operation algorithm is one of a deep neural network, a statistical model algorithm, and a cluster analysis. 如請求項9所述的動態調整顯示設定的方法,其中依據該儲存器中的該多個歷史游標資料,以通過執行該運算演算法分析該游標頻率訊號組的該操作環境資訊的步驟包括: 執行該深層類神經網路以基於該多個歷史游標資料分析該游標頻率訊號組的該分布範圍,進而獲得對應該游標頻率訊號組的該操作環境資訊,其中該操作環境資訊相關於該多個歷史游標資料的歷史操作資訊以及歷史頻率訊號組。 The method for dynamically adjusting display settings as described in claim 9, wherein the step of analyzing the operating environment information of the cursor frequency signal group by executing the operation algorithm based on the multiple historical cursor data in the memory includes: Executing the deep neural network to analyze the distribution range of the cursor frequency signal group based on the multiple historical cursor data, thereby obtaining the operating environment information corresponding to the cursor frequency signal group, wherein the operating environment information is related to the historical operation information of the multiple historical cursor data and the historical frequency signal group. 一種電子裝置,包括: 一儲存器,儲存多個模組;以及 一處理器,耦接於一顯示器以及一輸入裝置,並載入且執行該儲存器所儲存的該些模組,該些模組包括: 硬體資訊收集模組,取得該電子裝置的硬體資訊; 操作訊號收集模組,收集游標訊號,其中該游標訊號相關於該輸入裝置所輸入的訊號; 訊號預處理模組,對該游標訊號執行訊號預處理,以產生游標頻率訊號組;其中該訊號預處理包括將該游標訊號從時域訊號轉換成頻域訊號; 訊號分析模組,依據預設範圍以分析該游標頻率訊號組的分布範圍,以獲得對應該游標頻率訊號組的操作環境資訊;以及 顯示設定估算模組,響應於該操作環境資訊為光滑環境資訊,該顯示設定估算模組依據該硬體資訊、預設參數以及當前顯示設定值調整對應該輸入裝置的顯示設定值。 An electronic device includes: A memory storing a plurality of modules; and A processor coupled to a display and an input device, and loading and executing the modules stored in the memory, wherein the modules include: A hardware information collection module for obtaining hardware information of the electronic device; An operation signal collection module for collecting a cursor signal, wherein the cursor signal is related to a signal input by the input device; A signal preprocessing module for performing signal preprocessing on the cursor signal to generate a cursor frequency signal set; wherein the signal preprocessing includes converting the cursor signal from a time domain signal to a frequency domain signal; A signal analysis module analyzes the distribution range of the cursor frequency signal group according to a preset range to obtain operating environment information corresponding to the cursor frequency signal group; and a display setting estimation module, in response to the operating environment information being smooth environment information, the display setting estimation module adjusts the display setting value corresponding to the input device according to the hardware information, the preset parameters and the current display setting value. 如請求項11所述的電子裝置,其中該顯示設定值包括一游標移動速度,且該預設參數包括標準操作範圍, 其中該處理器執行該顯示設定估算模組以: 依據該硬體資訊中的外殼可使用範圍、調整係數最大值以及該標準操作範圍,該顯示設定估算模組計算出顯示設定的調整係數;以及 響應於該操作環境資訊為該光滑環境資訊,並且該顯示設定估算模組接收到調整指令,依據該顯示設定的該調整係數、該調整係數最大值、最大設定值、最小設定值以及該當前顯示設定值,該顯示設定估算模組調整該顯示設定值;以及 響應於該操作環境資訊為非光滑環境資訊,並且該當前顯示設定值非預設值,該顯示設定估算模組將該當前顯示設定值調整為該預設值。 An electronic device as described in claim 11, wherein the display setting value includes a cursor movement speed, and the default parameter includes a standard operating range, wherein the processor executes the display setting estimation module to: According to the usable range of the housing, the maximum value of the adjustment coefficient and the standard operating range in the hardware information, the display setting estimation module calculates the adjustment coefficient of the display setting; and In response to the operating environment information being the smooth environment information, and the display setting estimation module receiving an adjustment instruction, according to the adjustment coefficient of the display setting, the maximum value of the adjustment coefficient, the maximum setting value, the minimum setting value and the current display setting value, the display setting estimation module adjusts the display setting value; and In response to the operating environment information being non-smooth environment information and the current display setting value being non-default value, the display setting estimation module adjusts the current display setting value to the default value. 如請求項11所述的電子裝置,其中該硬體資訊收集模組取得該輸入裝置的該硬體資訊之中,該處理器更執行該硬體資訊收集模組以: 讀取該電子裝置的作業系統的登錄值; 響應於未讀取到該登錄值,讀取該電子裝置的系統資訊; 依據該系統資訊搜尋資料庫中的資料,獲得該電子裝置的外殼可使用範圍; 響應於該資料庫中未儲存有該電子裝置的該外殼可使用範圍,讀取該電子裝置中該顯示器的尺寸資訊,進而計算出該電子裝置的觸控板資訊;以及 依據該顯示器的該尺寸資訊以及該觸控板資訊,該處理器計算出該外殼可使用範圍。 The electronic device as described in claim 11, wherein the hardware information collection module obtains the hardware information of the input device, and the processor further executes the hardware information collection module to: Read the registration value of the operating system of the electronic device; In response to not reading the registration value, read the system information of the electronic device; Search the data in the database based on the system information to obtain the usable range of the outer shell of the electronic device; In response to not storing the usable range of the outer shell of the electronic device in the database, read the size information of the display in the electronic device, and then calculate the touch panel information of the electronic device; and Based on the size information of the display and the touch panel information, the processor calculates the usable range of the housing. 如請求項13所述的電子裝置,其中該登錄值相關於該電子裝置的該觸控板資訊,其中該系統資訊包括製造商資訊、產品型號以及顯示器尺寸。An electronic device as described in claim 13, wherein the registration value is related to the touch panel information of the electronic device, wherein the system information includes manufacturer information, product model, and display size. 如請求項11所述的電子裝置,該處理器更執行該操作訊號收集模組以: 初始化游標訊號變數組; 接收該輸入裝置所輸入的該訊號,並且判斷該訊號的訊號分類; 響應於該訊號為游標移動訊號,將計數器的計數器值加一,並且將游標位置資料記錄為該游標訊號變數組; 響應於該訊號為游標事件訊號,歸零該計數器的該計數器值並且清空該游標訊號變數組的記錄;以及 響應於該計數器值到達一預設計數值,將該游標訊號變數組作為該游標訊號。 In the electronic device as described in claim 11, the processor further executes the operation signal collection module to: initialize the cursor signal variable group; receive the signal input by the input device and determine the signal classification of the signal; in response to the signal being a cursor movement signal, increase the counter value of the counter by one and record the cursor position data as the cursor signal variable group; in response to the signal being a cursor event signal, reset the counter value of the counter and clear the record of the cursor signal variable group; and in response to the counter value reaching a preset count value, use the cursor signal variable group as the cursor signal. 如請求項11所述的電子裝置,其中該游標訊號包括游標水平軸訊號以及游標垂直軸訊號, 其中該處理器更執行該訊號預處理模組以: 依據擷取設置參數擷取該游標水平軸訊號中的多個游標水平軸訊號框; 依據擷取設置參數擷取該游標垂直軸訊號中的多個游標垂直軸訊號框; 將該多個游標水平軸訊號框以及該多個游標垂直軸訊號框透過傅立葉轉換從該時域訊號轉換成該頻域訊號,以獲得多個垂直軸頻率訊號以及多個水平軸頻率訊號; 將該多個垂直軸頻率訊號依序組成垂直軸頻率訊號組,並且將該多個水平軸頻率訊號依序組成水平軸頻率訊號組;以及 將該垂直軸頻率訊號組以及該水平軸頻率訊號組作為該游標頻率訊號組。 An electronic device as described in claim 11, wherein the cursor signal includes a cursor horizontal axis signal and a cursor vertical axis signal, wherein the processor further executes the signal pre-processing module to: Capture multiple cursor horizontal axis signal frames in the cursor horizontal axis signal according to the capture setting parameter; Capture multiple cursor vertical axis signal frames in the cursor vertical axis signal according to the capture setting parameter; Convert the multiple cursor horizontal axis signal frames and the multiple cursor vertical axis signal frames from the time domain signal to the frequency domain signal through Fourier transformation to obtain multiple vertical axis frequency signals and multiple horizontal axis frequency signals; The multiple vertical axis frequency signals are sequentially grouped into a vertical axis frequency signal group, and the multiple horizontal axis frequency signals are sequentially grouped into a horizontal axis frequency signal group; and The vertical axis frequency signal group and the horizontal axis frequency signal group are used as the cursor frequency signal group. 如請求項11所述的電子裝置,其中該預設參數包括預設的標準滑鼠操作範圍、預設係數上限值以及顯示設定上限值,並且該硬體資訊包括外殼可使用範圍,其中該處理器更執行該顯示設定估算模組以: 依據該標準滑鼠操作範圍以及該外殼可使用範圍,獲得調整係數,其中該調整係數相關於該標準滑鼠操作範圍與該外殼可使用範圍的長寬比例,該調整係數的數值介於1至該預設係數上限值之間; 依據該預設係數上限值、該顯示設定上限值、該調整係數以及該當前顯示設定值,獲得顯示設定調整值,其中該顯示設定調整值相關於該調整係數與該預設係數上限值的比例,其中該顯示設定調整值不大於該顯示設定上限值;以及 將該當前顯示設定值調整為該顯示設定調整值,以調整對應該輸入裝置的該顯示設定值。 An electronic device as described in claim 11, wherein the preset parameters include a preset standard mouse operating range, a preset coefficient upper limit value, and a display setting upper limit value, and the hardware information includes a usable range of the shell, wherein the processor further executes the display setting estimation module to: According to the standard mouse operating range and the usable range of the shell, obtain an adjustment coefficient, wherein the adjustment coefficient is related to the length-width ratio of the standard mouse operating range to the usable range of the shell, and the value of the adjustment coefficient is between 1 and the preset coefficient upper limit value; According to the preset coefficient upper limit value, the display setting upper limit value, the adjustment coefficient and the current display setting value, a display setting adjustment value is obtained, wherein the display setting adjustment value is related to the ratio of the adjustment coefficient to the preset coefficient upper limit value, wherein the display setting adjustment value is not greater than the display setting upper limit value; and Adjusting the current display setting value to the display setting adjustment value to adjust the display setting value corresponding to the input device. 如請求項11所述的電子裝置,其中該儲存器更儲存效能評估模組,該處理器執行該效能評估模組, 其中該效能評估模組基於多個演算法分別執行預測程式,以獲得多個執行時間; 其中該效能評估模組將該多個演算法中具有最短執行時間的演算法作為該電子裝置的運算演算法。 An electronic device as described in claim 11, wherein the memory further stores a performance evaluation module, and the processor executes the performance evaluation module, wherein the performance evaluation module executes prediction programs based on multiple algorithms respectively to obtain multiple execution times; wherein the performance evaluation module uses the algorithm with the shortest execution time among the multiple algorithms as the operation algorithm of the electronic device. 如請求項18所述的電子裝置,其中依據該預設範圍以分析該游標頻率訊號組的該分布範圍,該處理器更執行該訊號分析模組以: 依據該電子裝置的儲存器中的多個歷史游標資料,以通過執行該運算演算法分析該游標頻率訊號組的該操作環境資訊, 其中該運算演算法為深層類神經網路、統計模型演算法以及集群分析的其中之一。 The electronic device as described in claim 18, wherein the distribution range of the cursor frequency signal group is analyzed according to the preset range, and the processor further executes the signal analysis module to: Analyze the operating environment information of the cursor frequency signal group by executing the operation algorithm according to multiple historical cursor data in the memory of the electronic device, wherein the operation algorithm is one of a deep neural network, a statistical model algorithm, and a cluster analysis. 如請求項19所述的電子裝置,其中該處理器更執行該訊號分析模組以: 執行該深層類神經網路以基於該多個歷史游標資料分析該游標頻率訊號組的該分布範圍,進而獲得對應該游標頻率訊號組的該操作環境資訊,其中該操作環境資訊相關於該多個歷史游標資料的歷史操作資訊以及歷史頻率訊號組。 The electronic device as described in claim 19, wherein the processor further executes the signal analysis module to: Execute the deep neural network to analyze the distribution range of the cursor frequency signal group based on the multiple historical cursor data, thereby obtaining the operating environment information corresponding to the cursor frequency signal group, wherein the operating environment information is related to the historical operating information of the multiple historical cursor data and the historical frequency signal group.
TW113105603A 2024-02-17 2024-02-17 Method and electronic device for dynamically adjusting display setting TWI871919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113105603A TWI871919B (en) 2024-02-17 2024-02-17 Method and electronic device for dynamically adjusting display setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113105603A TWI871919B (en) 2024-02-17 2024-02-17 Method and electronic device for dynamically adjusting display setting

Publications (2)

Publication Number Publication Date
TWI871919B true TWI871919B (en) 2025-02-01
TW202534492A TW202534492A (en) 2025-09-01

Family

ID=95557134

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113105603A TWI871919B (en) 2024-02-17 2024-02-17 Method and electronic device for dynamically adjusting display setting

Country Status (1)

Country Link
TW (1) TWI871919B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201423499A (en) * 2012-12-07 2014-06-16 Geoffrey Wen-Chieh Lee Optical mouse with cursor rotating ability, the motion detector and method thereof
US20220147163A1 (en) * 2019-02-13 2022-05-12 Xinlin CAO System and method for processing commands in a computer-graphics software environment
TWI792613B (en) * 2021-10-15 2023-02-11 致伸科技股份有限公司 Adjustment method of data report rate

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201423499A (en) * 2012-12-07 2014-06-16 Geoffrey Wen-Chieh Lee Optical mouse with cursor rotating ability, the motion detector and method thereof
US20220147163A1 (en) * 2019-02-13 2022-05-12 Xinlin CAO System and method for processing commands in a computer-graphics software environment
TWI792613B (en) * 2021-10-15 2023-02-11 致伸科技股份有限公司 Adjustment method of data report rate

Also Published As

Publication number Publication date
TW202534492A (en) 2025-09-01

Similar Documents

Publication Publication Date Title
US7474772B2 (en) System and method for a miniature user input device
US8260740B2 (en) System to associate a demographic to a user of an electronic system
CN107710111B (en) Determining the pitch angle for proximity sensitive interactions
CN104516499B (en) Apparatus and method for utilizing events of a user interface
CN111598149B (en) A loop detection method based on attention mechanism
WO2012063560A1 (en) Image processing system, image processing method, and storage medium storing image processing program
CN115951783A (en) A computer human-computer interaction method based on gesture recognition
CN119311122A (en) Cloud game virtual reality gesture interaction method, device and storage medium based on adaptive multimodal fusion
CN108664348B (en) Fast variable point detection method and device based on CUDA (compute unified device architecture) and storage medium
Wen et al. UbiTouch: Ubiquitous smartphone touchpads using built-in proximity and ambient light sensors
TWI871919B (en) Method and electronic device for dynamically adjusting display setting
CN107729144B (en) Application control method and device, storage medium and electronic equipment
Yen et al. Adaptive indoor people-counting system based on edge ai computing
CN113743295A (en) Fall detection method, device, equipment and storage medium
CN120449922B (en) Reliability analysis method and system for body model, medium, equipment and product
CN118276608B (en) A scene sensing pan/tilt motor adjustment system
CN118711249A (en) A human body recognition method and system based on digital skills
TWI879573B (en) Method and electronic device for dynamically adjusting cursor display
JP2022081159A (en) Inference device, learning device, object counting method, and program
KR20210029753A (en) Method and apparatus for recognizing gesture
CN118968566B (en) Fall event identification method, device and medium
TW202546616A (en) Method and electronic device for dynamically adjusting cursor display
CN111797859A (en) Feature processing method, device, storage medium and electronic device
CN111797866A (en) Feature extraction method and device, storage medium and electronic equipment
JP7792150B2 (en) Information processing method, information processing device, and computer program