TWI469099B - Handheld electronic device having universal remote control mechanism and operation method of the same - Google Patents

Handheld electronic device having universal remote control mechanism and operation method of the same Download PDF

Info

Publication number
TWI469099B
TWI469099B TW102101173A TW102101173A TWI469099B TW I469099 B TWI469099 B TW I469099B TW 102101173 A TW102101173 A TW 102101173A TW 102101173 A TW102101173 A TW 102101173A TW I469099 B TWI469099 B TW I469099B
Authority
TW
Taiwan
Prior art keywords
code
instruction
electronic device
processing unit
codes
Prior art date
Application number
TW102101173A
Other languages
Chinese (zh)
Other versions
TW201428700A (en
Inventor
Yihsien Wu
Chienlung Chou
Abhishek Saxena
Chenhuang Fan
Chiawei Chen
Hsinti Chueh
Original Assignee
Htc Corp
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 Htc Corp filed Critical Htc Corp
Priority to TW102101173A priority Critical patent/TWI469099B/en
Publication of TW201428700A publication Critical patent/TW201428700A/en
Application granted granted Critical
Publication of TWI469099B publication Critical patent/TWI469099B/en

Links

Description

具萬用遙控機制之手持式電子裝置及其操作方法Handheld electronic device with universal remote control mechanism and operation method thereof

本揭示內容是有關於一種萬用遙控技術,且特別是有關於一種具萬用遙控機制之手持式電子裝置及其操作方法。The present disclosure relates to a universal remote control technology, and more particularly to a handheld electronic device having a universal remote control mechanism and an operation method thereof.

家庭中為增加生活便利性或滿足娛樂需求,常購置各式各樣的家用電器。其中,許多電器如電視、錄放影機、音響、冷氣等,均配置有相對應獨立的遙控器。當電器數目愈多,遙控器數量亦隨之增加,因而常有混淆、遺失或損壞的問題,造成使用家用電器上的不便性。In order to increase the convenience of living or meet the entertainment needs in the family, various household appliances are often purchased. Among them, many electrical appliances such as televisions, video recorders, audio, air-conditioning, etc., are equipped with corresponding independent remote controls. As the number of electrical appliances increases, the number of remote controls also increases, which often causes confusion, loss or damage, resulting in inconvenience in the use of household appliances.

當遙控器遺失或損壞時,使用者常購買萬用遙控器來取代原本的遙控器。為使萬用遙控器能夠對電器進行操作,萬用遙控器必需內建有不同廠牌、類型與型號的裝置碼,並經過繁複的測試流程,以找到正確的裝置碼進行操控。然而一般市面上所見的遙控器,沒有直覺的顯示機制提示使用者流程執行的狀況,使用者不但需要逐一嘗試各個裝置碼,且必需要隨時注意所選擇測試的功能鍵為何。除需要極大的專注力外,效率低的測試流程亦使整個過程相當耗時費力。When the remote control is lost or damaged, the user often purchases a universal remote control to replace the original remote control. In order to enable the universal remote control to operate the appliance, the universal remote controller must have built-in device codes of different brands, types and models, and undergo a complicated testing process to find the correct device code for manipulation. However, the remote controllers generally seen on the market do not have an intuitive display mechanism to prompt the user to execute the process. The user not only needs to try each device code one by one, but also needs to pay attention to the function keys of the selected test at any time. In addition to the need for great concentration, the inefficient test process makes the entire process time consuming and labor intensive.

因此,如何設計一個具有直覺顯示機制,而又能快速找到對應的裝置碼的手持式電子裝置及其操作方法,乃為此一業界亟待解決的問題。Therefore, how to design a handheld electronic device with an intuitive display mechanism and quickly find the corresponding device code and its operation method is an urgent problem to be solved in the industry.

因此,本揭示內容之一態樣是在提供一種萬用遙控(universal remote control)操作方法,應用於手持式電子裝置,手持式電子裝置包含觸控顯示單元、儲存單元、處理單元以及無線傳輸單元,萬用遙控操作方法包含:使觸控顯示單元接收裝置資訊,並據以顯示包含複數虛擬功能鍵之使用者介面;使處理單元自儲存單元擷取裝置碼區別表,包含分別對應特定型號裝置之複數列裝置碼,複數列裝置碼各包含以命中率進行排序之複數指令碼;以及使處理單元啟始測試流程,測試流程包含:(a)使裝置碼區別表之特定裝置碼之指令碼中具有最高命中率者做為第一指令碼;(b)控制觸控顯示單元自虛擬功能鍵其中之一特定虛擬功能鍵接收輸入,其中特定虛擬功能鍵對應於第一指令碼;(c)使處理單元依據輸入以及第一指令碼控制無線傳輸單元傳送功能指令至待控電子裝置;(d)使處理單元判斷待控電子裝置是否依據功能指令運作;(e)當待控電子裝置未依據功能指令運作,處理單元係排除特定裝置碼以及複數列裝置碼中具有相同之第一指令碼者,以使剩下之複數列裝置碼其中之一做為特定裝置碼以重複步驟(a)-(d)進行測試;(f)當待控電子裝置依據功能指令運作,處理單元更判斷第一指令碼是否為特定裝置碼之最後指令碼,以於第一指令碼不為最後指令碼時,使特定裝置碼中,第一指令碼後之第二指令碼做為第一指令碼以重複步驟(b)-(d)進行測試;以及(g)當待控電子裝置依據功能指令運作,且第一指令碼為最後指令碼時,處理單元結 束測試流程,並以特定裝置碼控制待控電子裝置。Therefore, one aspect of the present disclosure is to provide a universal remote control operation method for a handheld electronic device including a touch display unit, a storage unit, a processing unit, and a wireless transmission unit. The universal remote operation method comprises: causing the touch display unit to receive the device information, and displaying the user interface including the plurality of virtual function keys; and causing the processing unit to extract the device code difference table from the storage unit, respectively, corresponding to the specific model device The plurality of column device codes, the plurality of column device codes each comprising a plurality of instruction codes sorted by a hit ratio; and the processing unit initiating a test flow, the test flow comprising: (a) a code of a specific device code for distinguishing the device code table The person with the highest hit rate as the first instruction code; (b) controlling the touch display unit to receive input from one of the virtual function keys, wherein the specific virtual function key corresponds to the first instruction code; (c) And causing the processing unit to control the wireless transmission unit to transmit the function instruction to the electronic device to be controlled according to the input and the first instruction code (d) causing the processing unit to determine whether the electronic device to be controlled operates according to the function instruction; (e) when the electronic device to be controlled does not operate according to the function instruction, the processing unit excludes the specific device code and the first instruction in the plurality of column device codes The coder performs the test by repeating steps (a)-(d) by making one of the remaining plurality of device code codes as a specific device code; (f) when the electronic device to be controlled operates according to the function instruction, the processing unit further judges Whether the first instruction code is the last instruction code of the specific device code, so that when the first instruction code is not the last instruction code, the second instruction code after the first instruction code is used as the first instruction code in the specific device code. Repeat steps (b)-(d) to perform the test; and (g) when the electronic device to be controlled operates according to the function instruction, and the first instruction code is the last instruction code, the processing unit knot The test procedure is bundled and the electronic device to be controlled is controlled by a specific device code.

依據本揭示內容一實施例,其中指令碼中具有最高之命中率者為複數列裝置碼間之指令碼中相似度最高者。According to an embodiment of the present disclosure, wherein the highest hit rate among the instruction codes is the highest degree of similarity among the instruction codes between the plurality of column device codes.

依據本揭示內容另一實施例,其中於步驟(b)更包含使處理單元控制觸控顯示單元依據第一指令碼,於特定虛擬功能鍵產生第一提示資訊,以使觸控顯示單元接收輸入。於步驟(f)更包含使處理單元控制觸控顯示單元使第一指令碼對應之特定虛擬功能鍵產生第二提示資訊。第一提示資訊以及第二提示資訊由觸控顯示單元使特定虛擬功能鍵進行閃爍或顏色變化產生。According to another embodiment of the present disclosure, the step (b) further includes: causing the processing unit to control the touch display unit to generate the first prompt information on the specific virtual function key according to the first instruction code, so that the touch display unit receives the input. . The step (f) further includes: causing the processing unit to control the touch display unit to generate the second prompt information by using the specific virtual function key corresponding to the first instruction code. The first prompt information and the second prompt information are generated by the touch display unit to cause a specific virtual function key to blink or change color.

依據本揭示內容又一實施例,於步驟(f)更包含使處理單元判斷剩下之指令碼中,是否在特定裝置碼以及複數列裝置碼中具有相同之第一指令碼者間重複,以於重複時判斷重複之指令碼可使待控電子裝置依據功能指令運作,處理單元進一步使指令碼中未重複者其中之一做為第一指令碼以重複步驟(b)-(d)進行測試。According to still another embodiment of the present disclosure, the step (f) further includes: causing the processing unit to determine whether the remaining instruction code has the same first instruction code in the specific device code and the plurality of column device codes, to Determining the repeated instruction code during repetition may cause the electronic device to be controlled to operate according to the function instruction, and the processing unit further causes one of the non-repeating ones of the instruction code to be the first instruction code to repeat the steps (b)-(d) for testing. .

依據本揭示內容再一實施例,其中於步驟(d),更包含下列步驟:使處理單元判斷觸控顯示單元是否接收到確認輸入;以及當接收到確認輸入時判斷待控電子裝置依據功能指令運作。According to still another embodiment of the present disclosure, in the step (d), the method further includes the following steps: causing the processing unit to determine whether the touch display unit receives the confirmation input; and determining that the electronic device to be controlled is in accordance with the function instruction when receiving the confirmation input Operation.

依據本揭示內容更具有之一實施例,其中於步驟(g)更包含依據環境資訊記錄特定裝置碼與待控電子裝置之對應關係。環境資訊為待控電子裝置周圍之無線存取點訊號強度、垂直高度或對應方位。According to the disclosure, there is a further embodiment, wherein the step (g) further comprises recording the correspondence between the specific device code and the electronic device to be controlled according to the environmental information. The environmental information is the wireless access point signal strength, vertical height or corresponding orientation around the electronic device to be controlled.

依據本揭示內容再具有之一實施例,其中裝置資訊包 含裝置廠牌以及裝置類別。According to the disclosure, there is still another embodiment, wherein the device information package Includes device label and device category.

本揭示內容之一態樣是在提供一種手持式電子裝置,具有萬用遙控機制,包含:觸控顯示單元、儲存單元、無線傳輸單元以及處理單元。觸控顯示單元接收裝置資訊,並據以顯示包含複數虛擬功能鍵之使用者介面。儲存單元儲存裝置碼區別表,包含分別對應特定型號裝置之複數列裝置碼,複數列裝置碼各包含以命中率進行排序之複數指令碼。處理單元自儲存單元擷取裝置碼區別表,並啟始測試流程,其中測試流程包含:(a)處理單元使裝置碼區別表之特定裝置碼之指令碼中具有最高命中率者做為第一指令碼;(b)處理單元控制觸控顯示單元自虛擬功能鍵其中之特定虛擬功能鍵接收輸入,其中特定虛擬功能鍵對應於第一指令碼;(c)處理單元依據輸入以及第一指令碼控制無線傳輸單元傳送功能指令至待控電子裝置;(d)處理單元判斷待控電子裝置是否依據功能指令運作;(e)當待控電子裝置未依據功能指令運作,處理單元係排除特定裝置碼以及複數列裝置碼中具有相同之第一指令碼者,以使剩下之複數列裝置碼其中之一做為特定裝置碼以重複步驟(a)-(d)進行測試;(f)當待控電子裝置依據功能指令運作,處理單元更判斷第一指令碼是否為特定裝置碼之最後指令碼,以於第一指令碼不為最後指令碼時,使特定裝置碼中,第一指令碼後之第二指令碼做為第一指令碼以重複步驟(b)-(d)進行測試;以及(g)當待控電子裝置依據功能指令運作,且第一指令碼為最後指令碼時,處理單元結束測試流程,並以特定裝置碼控制待控電子裝置。One aspect of the present disclosure is to provide a handheld electronic device having a universal remote control mechanism, including: a touch display unit, a storage unit, a wireless transmission unit, and a processing unit. The touch display unit receives device information and displays a user interface including a plurality of virtual function keys. The storage unit storage device code difference table includes a plurality of column device codes corresponding to the specific model devices, and the plurality of column device codes each include a plurality of instruction codes sorted by a hit rate. The processing unit extracts the device code difference table from the storage unit, and starts the testing process, wherein the testing process includes: (a) the processing unit makes the highest hit rate among the instruction codes of the specific device code of the device code difference table as the first a command code; (b) the processing unit controls the touch display unit to receive input from a specific virtual function key of the virtual function key, wherein the specific virtual function key corresponds to the first instruction code; (c) the processing unit is based on the input and the first instruction code Controlling the wireless transmission unit to transmit the function instruction to the electronic device to be controlled; (d) the processing unit determines whether the electronic device to be controlled operates according to the function instruction; (e) when the electronic device to be controlled does not operate according to the function instruction, the processing unit excludes the specific device code And having the same first instruction code in the plurality of column device codes, such that one of the remaining plurality of column device codes is used as a specific device code to repeat steps (a)-(d) for testing; (f) The control electronic device operates according to the function instruction, and the processing unit further determines whether the first instruction code is the last instruction code of the specific device code, so that when the first instruction code is not the last instruction code, In the specific device code, the second instruction code after the first instruction code is used as the first instruction code to repeat steps (b)-(d); and (g) when the electronic device to be controlled operates according to the function instruction, and When the first instruction code is the last instruction code, the processing unit ends the testing process and controls the electronic device to be controlled with a specific device code.

依據本揭示內容一實施例,其中指令碼中具有最高之命中率者為複數列裝置碼間之指令碼中相似度最高者。According to an embodiment of the present disclosure, wherein the highest hit rate among the instruction codes is the highest degree of similarity among the instruction codes between the plurality of column device codes.

依據本揭示內容另一實施例,其中於步驟(b)更包含由處理單元控制觸控顯示單元依據第一指令碼,於特定虛擬功能鍵產生第一提示資訊,以使觸控顯示單元接收輸入。於步驟(f)更包含處理單元控制觸控顯示單元使第一指令碼對應之特定虛擬功能鍵產生第二提示資訊。第一提示資訊以及第二提示資訊由觸控顯示單元使特定虛擬功能鍵進行閃爍或顏色變化產生。According to another embodiment of the present disclosure, the step (b) further includes: controlling, by the processing unit, the touch display unit to generate the first prompt information on the specific virtual function key according to the first instruction code, so that the touch display unit receives the input. . The step (f) further includes the processing unit controlling the touch display unit to generate the second prompt information by using the specific virtual function key corresponding to the first instruction code. The first prompt information and the second prompt information are generated by the touch display unit to cause a specific virtual function key to blink or change color.

依據本揭示內容又一實施例,於步驟(f)更包含使處理單元判斷剩下之指令碼中,是否在特定裝置碼以及複數列裝置碼中具有相同之第一指令碼者間重複,以於重複時判斷重複之指令碼可使待控電子裝置依據功能指令運作,處理單元進一步使指令碼中未重複者其中之一做為第一指令碼以重複步驟(b)-(d)進行測試。According to still another embodiment of the present disclosure, the step (f) further includes: causing the processing unit to determine whether the remaining instruction code has the same first instruction code in the specific device code and the plurality of column device codes, to Determining the repeated instruction code during repetition may cause the electronic device to be controlled to operate according to the function instruction, and the processing unit further causes one of the non-repeating ones of the instruction code to be the first instruction code to repeat the steps (b)-(d) for testing. .

依據本揭示內容再一實施例,其中於步驟(d),更包含下列步驟:處理單元判斷觸控顯示單元是否接收到確認輸入;以及當接收到確認輸入時判斷待控電子裝置依據功能指令運作。According to still another embodiment of the present disclosure, in the step (d), the method further includes the following steps: the processing unit determines whether the touch display unit receives the confirmation input; and determines that the electronic device to be controlled operates according to the function instruction when receiving the confirmation input .

依據本揭示內容更具有之一實施例,其中於步驟(g)更包含依據一環境資訊記錄特定裝置碼與待控電子裝置之對應關係。環境資訊為待控電子裝置周圍之無線存取點訊號強度、垂直高度或對應方位。According to the disclosure, there is a further embodiment, wherein the step (g) further comprises recording a correspondence between the specific device code and the electronic device to be controlled according to an environmental information. The environmental information is the wireless access point signal strength, vertical height or corresponding orientation around the electronic device to be controlled.

依據本揭示內容再具有之一實施例,其中裝置資訊包含裝置廠牌以及裝置類別。According to still another embodiment of the present disclosure, the device information includes a device brand and a device category.

應用本揭示內容之優點係在於藉由處理單元自儲存單元擷取的裝置碼區別表,依裝置碼中指令碼的命中率高低進行測試,將可快速地找到待控電子裝置對應的裝置碼並進行遙控,而輕易地達到上述之目的。The advantage of applying the disclosure is that the device code distinguishing table captured by the processing unit from the storage unit is tested according to the hit rate of the instruction code in the device code, and the device code corresponding to the electronic device to be controlled can be quickly found and Remote control is easily achieved for the above purposes.

請同時參照第1圖及第2圖。第1圖為本發明一實施例中,一種手持式電子裝置1之方塊圖。第2圖為本發明一實施例中,一種手持式電子裝置1之俯視圖。手持式電子裝置1具有萬用遙控機制,於不同實施例中,可為如智慧型手機、平板電腦或其他手持式電子裝置。手持式電子裝置1包含:觸控顯示單元10、儲存單元12、無線傳輸單元14以及處理單元16。Please refer to both Figure 1 and Figure 2. 1 is a block diagram of a handheld electronic device 1 in accordance with an embodiment of the present invention. 2 is a top plan view of a handheld electronic device 1 in accordance with an embodiment of the present invention. The handheld electronic device 1 has a universal remote control mechanism. In various embodiments, it can be, for example, a smart phone, a tablet or other handheld electronic device. The handheld electronic device 1 includes a touch display unit 10, a storage unit 12, a wireless transmission unit 14, and a processing unit 16.

觸控顯示單元10用以接收裝置資訊11,於一實施例中,裝置資訊11包含裝置的廠牌以及裝置的類型。舉例來說,使用者可在觸控顯示單元10輸入例如,但不限於Sony的電視機,或是Toshiba的冷氣機,以做為裝置資訊11。觸控顯示單元10將根據裝置資訊11顯示包含如第2圖所示之使用者介面20。使用者介面20包含複數虛擬功能鍵22。The touch display unit 10 is configured to receive the device information 11. In an embodiment, the device information 11 includes the device label and the type of the device. For example, the user can input, for example, but not limited to, a Sony television set or a Toshiba air conditioner to the touch display unit 10 as the device information 11. The touch display unit 10 will display the user interface 20 as shown in FIG. 2 according to the device information 11. User interface 20 includes a plurality of virtual function keys 22.

以電視機為例,虛擬功能鍵22可包括例如,但不限於電源鍵、音量調整鍵(如第2圖中的音量+與音量-)、頻道調整鍵(如第2圖中的頻道+與頻道-)、選單鍵、靜音鍵及數字鍵等等。Taking a television as an example, the virtual function keys 22 may include, for example, but are not limited to, a power button, a volume adjustment button (such as volume + and volume in FIG. 2), and a channel adjustment button (such as channel + in FIG. 2). Channel-), menu button, mute button and number button, etc.

儲存單元12儲存裝置碼區別表120。裝置碼區別表120 用以儲存分別對應特定型號裝置之複數裝置碼。處理單元16可依據裝置資訊11,自儲存單元12擷取裝置碼區別表120後,對待控電子裝置18,亦即對應前述使用者所輸入之裝置資訊11的電子裝置,進行測試,以得知裝置碼中,何者可對此待控電子裝置18進行操控。其中,此測試的流程中,可由處理單元16依據裝置碼區別表120產生指令後,控制無線傳輸單元14傳送指令至待控電子裝置18進行測試。於一實施例中,無線傳輸單元14可為例如,但不限於紅外線傳輸單元,以使待控電子裝置18相對應的接收模組(未繪示)接收此指令。The storage unit 12 stores the device code difference table 120. Device code difference table 120 It is used to store the multiple device codes corresponding to the specific model devices. The processing unit 16 can test the electronic device 18, that is, the electronic device corresponding to the device information 11 input by the user, after the device code difference table 120 is retrieved from the storage unit 12 according to the device information 11. Among the device codes, which can be controlled by the electronic device 18 to be controlled. In the process of the test, after the processing unit 16 generates an instruction according to the device code difference table 120, the wireless transmission unit 14 is controlled to transmit an instruction to the electronic device 18 to be tested for testing. In an embodiment, the wireless transmission unit 14 can be, for example, but not limited to, an infrared transmission unit, such that a receiving module (not shown) corresponding to the electronic device 18 to be controlled receives the instruction.

請參照第3圖。第3圖為本發明一實施例中,裝置碼區別表120之示意圖。Please refer to Figure 3. FIG. 3 is a schematic diagram of a device code difference table 120 according to an embodiment of the present invention.

於本實施例中,裝置碼區別表120包含複數列裝置碼,分別以001、002、003、...、006進行編號。各裝置碼對應一個特定型號的裝置。各列裝置碼中包含複數指令碼。舉例來說,編號為001的裝置碼中,電源鍵的指令碼為10h、頻道調增(頻道+)鍵的指令碼為20h、頻道調減(頻道-)鍵的指令碼為30h,以此類推。需注意的是,本實施例所示之裝置碼區別表120僅為一範例,其所包含的裝置碼數量以及各裝置碼中包含的指令碼數量均可依實際情形進行調整。In this embodiment, the device code difference table 120 includes a plurality of column device codes, which are numbered by 001, 002, 003, ..., 006, respectively. Each device code corresponds to a particular model of device. Each column of device code contains a plurality of instruction codes. For example, in the device code numbered 001, the command code of the power button is 10h, the command code of the channel up (channel +) button is 20h, and the command code of the channel down (channel-) button is 30h. analogy. It should be noted that the device code difference table 120 shown in this embodiment is only an example, and the number of device codes included in the device code and the number of command codes included in each device code can be adjusted according to actual conditions.

於本實施例中,每個裝置碼中的指令碼是以命中率(hit rate)進行排序。「命中率」一詞於本實施例中與各裝置碼間之指令碼中的相似度相關。意即,命中率高的指令碼為各裝置碼間,指令碼重複次數最多的。換言之,指令碼可 以命中率之相對意義,即辨識率(discrimination rate)來進行排序。意即,辨識率愈低者,命中率愈高。舉例來說,如一個指令碼在多組裝置碼中重複出現,則較難以此指令碼對不同的裝置碼進行辨識,辨識率將較低。然而,由於具有符合此指令碼的裝置碼較多,因此命中率較高。另一方面,如一個指令碼僅在一組裝置碼中出現,則此指令碼可以輕易地使該組裝置碼與其他裝置碼間進行區別,辨識率較高。然而,由於具有符合此指令碼的裝置碼僅為一個,因此命中率偏低。In this embodiment, the instruction codes in each device code are sorted by a hit rate. The term "hit rate" is used in this embodiment to correlate similarities in the instruction codes between the respective device codes. That is to say, the instruction code with a high hit rate is between the code of each device, and the instruction code repeats the most. In other words, the instruction code can The ordering is performed by the relative meaning of the hit rate, that is, the discrimination rate. That is to say, the lower the recognition rate, the higher the hit rate. For example, if an instruction code is repeated in multiple sets of device codes, it is more difficult for the instruction code to identify different device codes, and the recognition rate will be lower. However, since there are many device codes that conform to this instruction code, the hit rate is high. On the other hand, if an instruction code appears only in a group of device codes, the instruction code can easily distinguish the set of device codes from other device codes, and the recognition rate is high. However, since there is only one device code that conforms to this instruction code, the hit rate is low.

以第3圖繪示的裝置碼區別表120為例,電源鍵在六個裝置碼中有三個裝置碼具有相同的指令碼10h,因此電源鍵的命中率為最高。同樣地,頻道調增(頻道+)鍵、頻道調減(頻道-)鍵、音量調增(音量+)鍵與音量調減(音量-)的命中率亦為最高。因此,這幾個指令碼將優先排序,於本實施例中是優先排序於表格的左側。於一實施例中,各列裝置碼間,亦可如第3圖所示,優先將相似度高的幾個裝置碼歸類於同一群組。Taking the device code difference table 120 shown in FIG. 3 as an example, the power button has three device codes having the same command code 10h among the six device codes, so the power button has the highest hit rate. Similarly, the channel up (channel +) button, channel down (channel -) button, volume up (volume +) button, and volume down (volume -) hit rate are also highest. Therefore, these instruction codes will be prioritized, which in this embodiment is prioritized on the left side of the table. In an embodiment, between the columns of device codes, as shown in FIG. 3, several device codes with high similarity are preferentially classified into the same group.

因此,第1圖中的處理單元16將在擷取裝置碼區別表120後,以此表格的排序方式進行測試流程。請同時參照第1圖及第4A圖至第4C圖。第4A圖至第4C圖分別為本發明一實施例中,進行測試流程中的手持式電子裝置1的俯視圖。Therefore, the processing unit 16 in FIG. 1 will perform the test flow in the sorting manner of the table after the device code difference table 120 is captured. Please refer to Figure 1 and Figure 4A to Figure 4C at the same time. 4A to 4C are plan views of the handheld electronic device 1 in the test flow, respectively, according to an embodiment of the present invention.

測試流程在初始時,處理單元16將於步驟(a)使裝置碼區別表120中一個特定裝置碼的指令碼中具有最高命中率者做為第一指令碼。以第3圖中的裝置碼區別表120 為例,處理單元16可優先以編號為001的裝置碼做為此特定裝置碼,並以電源鍵的指令碼10h做為第一指令碼。At the beginning of the test flow, the processing unit 16 will, in step (a), make the highest hit rate among the instruction codes of a particular device code in the device code discrimination table 120 as the first instruction code. Distinguish the table 120 with the device code in FIG. For example, the processing unit 16 may preferentially use the device code numbered 001 as the specific device code, and use the command code 10h of the power button as the first command code.

處理單元16在步驟(b)將控制觸控顯示單元10自虛擬功能鍵22其中之一特定虛擬功能鍵接收輸入13,其中特定虛擬功能鍵對應於第一指令碼。於本實施例中,由於第一指令碼為電源鍵的指令碼10h,故此特定虛擬功能鍵為電源鍵。The processing unit 16 in step (b) will control the touch display unit 10 to receive an input 13 from one of the virtual function keys 22, wherein the specific virtual function key corresponds to the first instruction code. In this embodiment, since the first instruction code is the instruction code 10h of the power key, the specific virtual function key is a power key.

如第4A圖所示,於一實施例中,處理單元16可先根據第一指令碼,即對應於電源鍵的指令碼10h,在特定虛擬功能鍵(如本實施例中的電源鍵)產生第一提示資訊。第一提示資訊可為閃爍或是顏色改變,以提示使用者現在將測試電源鍵。在使用者觸碰電源鍵後,處理單元16將可接收到此輸入13。As shown in FIG. 4A, in an embodiment, the processing unit 16 may first generate a specific virtual function key (such as the power key in this embodiment) according to the first instruction code, that is, the instruction code 10h corresponding to the power key. The first prompt information. The first prompt information can be flashing or color changing to prompt the user to test the power button now. The processing unit 16 will receive this input 13 after the user touches the power button.

處理單元16在步驟(c)依據輸入以及第一指令碼控制無線傳輸單元14傳送功能指令15至待控電子裝置18。The processing unit 16 controls the wireless transmission unit 14 to transmit the function instruction 15 to the electronic device to be controlled 18 in accordance with the input and the first instruction code in step (c).

處理單元16在步驟(d)中判斷待控電子裝置18是否依據功能指令15運作。於一實施例中,如無線傳輸單元14為如紅外線傳輸單元類型的單向傳輸單元,則處理單元16需要判斷觸控顯示單元10是否接收到使用者的確認輸入(未繪示),以判斷待控電子裝置18是否已根據功能指令15運作。於一實施例中,處理單元16可產生虛擬選擇鍵供使用者選擇「是」或「否」,以在接收到「否」的輸入時判斷待控電子裝置18並未依據功能指令15運作。於另一實施例中,當處理單元16在一特定時間內沒有接收到確認輸入,即判斷待控電子裝置18並未依據功能指令15運 作。The processing unit 16 determines in step (d) whether the electronic device 18 to be controlled is operating in accordance with the function instruction 15. In an embodiment, if the wireless transmission unit 14 is a unidirectional transmission unit of the infrared transmission unit type, the processing unit 16 needs to determine whether the touch display unit 10 receives the confirmation input (not shown) of the user to determine Whether the electronic device 18 to be controlled has operated according to the function command 15. In one embodiment, the processing unit 16 can generate a virtual selection button for the user to select "Yes" or "No" to determine that the electronic device 18 to be controlled does not operate according to the function instruction 15 when receiving the "No" input. In another embodiment, when the processing unit 16 does not receive the confirmation input within a certain time, it is determined that the electronic device 18 to be controlled is not operated according to the function instruction 15 Work.

當待控電子裝置18未依據功能指令15運作時,處理單元在步驟(e)將排除此特定裝置碼以及其他裝置碼中,具有相同之第一指令碼者。於本實施例中,電源鍵指令碼為10h者,意即編號為001的裝置碼以及編號為002和003的裝置碼均被排除。When the electronic device 18 to be controlled does not operate according to the function instruction 15, the processing unit will exclude the first device code in the specific device code and other device codes in step (e). In this embodiment, the power key command code is 10h, that is, the device code numbered 001 and the device code numbers 002 and 003 are excluded.

處理單元16進一步使剩下的裝置碼其中之一做為特定裝置碼以重複步驟(a)-(d)進行測試。舉例來說,如依據電源鍵指令碼10h所產生的功能指令15無法令待控電子裝置18運作,則處理單元16將排除編號001-003的裝置碼,進一步以編號為004的裝置碼做為特定裝置碼,並進行步驟(a)-(d)的測試。如果仍不符合,則將再找尋下一個合適的裝置碼進行測試。Processing unit 16 further causes one of the remaining device codes to be tested as a particular device code to repeat steps (a)-(d). For example, if the function command 15 generated according to the power key command code 10h fails to operate the electronic device 18 to be controlled, the processing unit 16 will exclude the device code of the number 001-003, and further use the device code numbered 004 as Specific device code and perform the tests of steps (a)-(d). If it still does not match, it will find the next suitable device code for testing.

當處理單元16在步驟(d)中判斷待控電子裝置18依據功能指令15運作時,處理單元16於步驟(f)更判斷第一指令碼是否為特定裝置碼之最後指令碼。以本實施例為例,如電源鍵指令碼10h所產生的功能指令15可使待控電子裝置18運作,則處理單元16將判斷其不為最後一個指令碼,而將以第一指令碼後的第二指令碼做為第一指令碼,並重複步驟(b)-(d)進行測試。意即,處理單元16可選擇頻道調增(頻道+)鍵的指令碼20h做為下一個測試的指令碼。When the processing unit 16 determines in step (d) that the electronic device 18 to be controlled operates according to the function instruction 15, the processing unit 16 further determines in step (f) whether the first instruction code is the last instruction code of the specific device code. Taking the embodiment as an example, if the function command 15 generated by the power key command code 10h can make the electronic device 18 to be controlled operate, the processing unit 16 will judge that it is not the last instruction code, but will be after the first instruction code. The second instruction code is used as the first instruction code, and steps (b)-(d) are repeated for testing. That is, the processing unit 16 can select the instruction code 20h of the channel up (channel +) key as the instruction code of the next test.

然而,於一實施例中,處理單元16更可判斷剩下之指令碼中,是否在特定裝置碼(編號為001者)以及其他裝置碼中具有相同之第一指令碼者(編號為002及003者) 間重複。意即,處理單元16可判斷編號為001、002及003的裝置碼間,其他的指令碼是否重複。於本實施例中,頻道調增(頻道+)鍵、頻道調減(頻道-)鍵、音量調增(音量+)鍵與音量調減(音量-)鍵均為重複,因此處理單元16可直接判斷這些重複的指令碼可以使待控電子裝置18依據其產生的功能指令15運作,而不再予以測試。處理單元16可使指令碼中未重複者其中之一,如靜音鍵的指令碼60h做為第一指令碼以重複步驟(b)-(d)進行測試,以加速測試流程。However, in an embodiment, the processing unit 16 can further determine whether the remaining instruction code has the same first instruction code in the specific device code (numbered 001) and other device codes (number 002 and 003) Repeat between. That is, the processing unit 16 can determine whether the other instruction codes are repeated between the device codes numbered 001, 002, and 003. In this embodiment, the channel up (channel +) button, the channel down (channel -) button, the volume up (volume +) button, and the volume down (volume -) button are all repeated, so the processing unit 16 can Directly determining these repeated instruction codes can cause the electronic device 18 to be controlled to operate according to the function instructions 15 it generates, and will not be tested. The processing unit 16 may perform one of the non-repeating ones of the instruction code, such as the instruction code 60h of the mute key, as the first instruction code to repeat the steps (b)-(d) to speed up the test procedure.

於一實施例中,如第4B圖所示,處理單元16可控制觸控顯示單元10,使通過測試的虛擬功能鍵以一第二提示資訊顯示。於本實施例中,第二提示資訊顯示為一顏色的改變,以提示使用者此虛擬功能鍵已通過測試。In an embodiment, as shown in FIG. 4B, the processing unit 16 can control the touch display unit 10 to display the virtual function key that passes the test with a second prompt information. In this embodiment, the second prompt information is displayed as a color change to prompt the user that the virtual function key has passed the test.

於一實施例中,當特定裝置碼中已有數個指令碼通過測試,卻遇到下一個指令碼未通過測試時,處理單元16可自剩下的裝置碼中選取與特定裝置碼相似度最高者進行測試,並可直接跳過重複且通過測試的指令碼,直接測試剩下的指令碼。In an embodiment, when a plurality of instruction codes in a specific device code pass the test but encounter the next instruction code failing the test, the processing unit 16 may select the highest similarity to the specific device code from the remaining device codes. The test is performed, and the remaining instruction code can be directly tested by directly skipping the instruction code that is repeated and passed the test.

如第4C圖所示,當處理單元16在步驟(d)中判斷待控電子裝置18依據功能指令15運作,且於步驟(f)判斷第一指令碼裝置碼中的最後一個指令碼時,處理單元16於步驟(g)將結束測試流程,並以此特定裝置碼控制待控電子裝置18。以本實施例來說,當處理單元16在測試到編號為001的裝置碼的上鍵指令碼90h並判斷其已通過測試時,將結束測試流程,並將以此特定裝置碼控制待控電子 裝置18。As shown in FIG. 4C, when the processing unit 16 determines in step (d) that the electronic device 18 to be controlled operates according to the function instruction 15, and determines the last instruction code in the code of the first instruction code device in step (f), The processing unit 16 will end the test flow in step (g) and control the electronic device 18 to be controlled with this specific device code. In this embodiment, when the processing unit 16 tests the up key instruction code 90h of the device code numbered 001 and judges that it has passed the test, the test flow will be ended, and the control device will be controlled by the specific device code. Device 18.

因此,利用指令碼命中率進行排序的裝置碼區別表,本發明的手持式電子裝置將可以快速地查找裝置碼並進行測試,以有效率且快速地找到待控電子裝置對應的裝置碼並進行遙控。Therefore, the device code distinguishing table sorted by the command code hit ratio, the handheld electronic device of the present invention can quickly find the device code and perform testing to efficiently and quickly find the device code corresponding to the electronic device to be controlled and perform remote control.

於一實施例中,處理單元16更可利用待控電子裝置18的環境資訊,記錄特定裝置碼與待控電子裝置18之對應關係。舉例來說,環境資訊可為待控電子裝置18周圍的無線存取點訊號強度、垂直高度或對應方位,處理單元16可藉由無線傳輸模組、水平儀與電子羅盤(E-compass)等內建的模組獲得相關的環境資訊並予以記錄。當日後使用者將手持式電子裝置1攜帶至對應的環境中,處理單元16即可得知該選用的裝置碼為何,以更快速地對待控電子裝置18進行操作。In an embodiment, the processing unit 16 can further record the correspondence between the specific device code and the electronic device 18 to be controlled by using the environmental information of the electronic device 18 to be controlled. For example, the environmental information may be the wireless access point signal strength, vertical height, or corresponding orientation around the electronic device 18 to be controlled, and the processing unit 16 may be implemented by a wireless transmission module, a level, an electronic compass, or the like. The built module obtains relevant environmental information and records it. When the user carries the handheld electronic device 1 to the corresponding environment, the processing unit 16 can know the selected device code to operate the electronic device 18 more quickly.

請參照第5A圖至第5C圖。第5A圖至第5C圖分別為本發明一實施例中,具有使用者介面50、52及54的手持式電子裝置1之俯視圖。需注意的是,第2圖所示的使用者介面20僅為一範例,於其他實施例中,虛擬功能鍵22的數目以及版面配置均可視裝置資訊11的不同,而予以顯示不同配置方式的使用者介面。Please refer to pictures 5A to 5C. 5A through 5C are top views of the handheld electronic device 1 having user interfaces 50, 52, and 54, respectively, in accordance with one embodiment of the present invention. It should be noted that the user interface 20 shown in FIG. 2 is only an example. In other embodiments, the number of virtual function keys 22 and the layout configuration may be different according to the device information 11, and different configurations may be displayed. user interface.

請參照第6圖。第6圖為本發明一實施例中,一種萬用遙控操作方法600之流程圖。萬用遙控操作方法600可應用於如第1圖所示之手持式電子裝置1。萬用遙控操作方法600包含下列步驟(應瞭解到,在本實施方式中所提及的步驟,除特別敘明其順序者外,均可依實際需要調整 其前後順序,甚至可同時或部分同時執行)。Please refer to Figure 6. FIG. 6 is a flow chart of a universal remote operation method 600 according to an embodiment of the present invention. The universal remote operation method 600 can be applied to the handheld electronic device 1 as shown in FIG. The universal remote operation method 600 includes the following steps (it should be understood that the steps mentioned in the embodiment can be adjusted according to actual needs except for the specific order. The order is even before or at the same time).

於步驟601,使觸控顯示單元10接收裝置資訊11,並據以顯示包含複數虛擬功能鍵22之使用者介面20。In step 601, the touch display unit 10 receives the device information 11 and displays the user interface 20 including the plurality of virtual function keys 22.

於步驟602,使處理單元16自儲存單元12擷取裝置碼區別表120。In step 602, the processing unit 16 causes the device code difference table 120 to be retrieved from the storage unit 12.

於步驟603,使處理單元16啟始測試流程。第7圖為本發明一實施例中,測試流程700之流程圖。如第7圖所示,測試流程700包含:步驟(a)使裝置碼區別表120之特定裝置碼之指令碼中具有最高命中率者做為第一指令碼;步驟(b)控制觸控顯示單元10自虛擬功能鍵22其中之一特定虛擬功能鍵接收輸入13,其中特定虛擬功能鍵對應於第一指令碼;步驟(c)使處理單元16依據輸入13以及第一指令碼控制無線傳輸單元14傳送功能指令15至待控電子裝置18;步驟(d)使處理單元16判斷待控電子裝置18是否依據功能指令運作;當待控電子裝置18未依據功能指令15運作,處理單元16於步驟(e)係排除特定裝置碼以及複數列裝置碼中具有相同之第一指令碼者,以使剩下之複數列裝置碼其中之一做為特定裝置碼以重複步驟(a)-(d)進行測試;當待控電子裝置18依據功能指令15運作,處理單元16更於步驟(d1)判斷第一指令碼是否為特定裝置碼之最後指令碼,以於第一指令碼不為最後指令碼時,於步驟(f)使特定裝置碼中,第一指令碼後之第二指令碼做為第一指 令碼以重複步驟(b)-(d)進行測試;以及於步驟(g)當待控電子裝置18依據功能指令15運作,且第一指令碼為最後指令碼時,處理單元16結束測試流程,並以特定裝置碼控制待控電子裝置18。At step 603, the processing unit 16 is caused to initiate the test flow. FIG. 7 is a flow chart of a test flow 700 in accordance with an embodiment of the present invention. As shown in FIG. 7, the test flow 700 includes: step (a) making the highest hit rate among the instruction codes of the specific device code of the device code difference table 120 as the first instruction code; and (b) controlling the touch display. The unit 10 receives an input 13 from one of the virtual function keys 22, wherein the specific virtual function key corresponds to the first instruction code; and (c) causes the processing unit 16 to control the wireless transmission unit according to the input 13 and the first instruction code. 14 transmits the function command 15 to the electronic device 18 to be controlled; the step (d) causes the processing unit 16 to determine whether the electronic device 18 to be controlled operates according to the function instruction; when the electronic device 18 to be controlled does not operate according to the function command 15, the processing unit 16 performs the step (e) excluding the specific device code and the same first instruction code in the plurality of column device codes, so that one of the remaining plurality of column device codes is used as the specific device code to repeat steps (a)-(d) When the electronic device 18 is to be operated according to the function instruction 15, the processing unit 16 further determines in step (d1) whether the first instruction code is the last instruction code of the specific device code, so that the first instruction code is not the last instruction code. Time In step (f) means a specific code, the first instruction after the second instruction code as the first code means The code is repeated in steps (b)-(d); and in step (g) when the electronic device 18 to be controlled operates according to the function instruction 15, and the first instruction code is the last instruction code, the processing unit 16 ends the testing process. And controlling the electronic device 18 to be controlled with a specific device code.

雖然本揭示內容已以實施方式揭露如上,然其並非用以限定本揭示內容,任何熟習此技藝者,在不脫離本揭示內容之精神和範圍內,當可作各種之更動與潤飾,因此本揭示內容之保護範圍當視後附之申請專利範圍所界定者為準。The present disclosure has been disclosed in the above embodiments, but it is not intended to limit the disclosure, and any person skilled in the art can make various changes and refinements without departing from the spirit and scope of the disclosure. The scope of protection of the disclosure is subject to the definition of the scope of the patent application.

1‧‧‧手持式電子裝置1‧‧‧Handheld electronic device

10‧‧‧觸控顯示單元10‧‧‧Touch display unit

11‧‧‧裝置資訊11‧‧‧Device Information

12‧‧‧儲存單元12‧‧‧ storage unit

120‧‧‧裝置碼區別表120‧‧‧Device code difference table

13‧‧‧輸入13‧‧‧Enter

14‧‧‧無線傳輸單元14‧‧‧Wireless transmission unit

15‧‧‧功能指令15‧‧‧Functional Instructions

16‧‧‧處理單元16‧‧‧Processing unit

18‧‧‧待控電子裝置18‧‧‧Controlled electronic devices

20‧‧‧使用者介面20‧‧‧User interface

22‧‧‧虛擬功能鍵22‧‧‧Virtual function keys

50、52、54‧‧‧使用者介面50, 52, 54‧‧‧ user interface

600‧‧‧萬用遙控操作方法600‧‧ million remote control method

601-603‧‧‧步驟601-603‧‧‧Steps

700‧‧‧測試流程700‧‧‧Test procedure

為讓本揭示內容之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:第1圖為本發明一實施例中,一種手持式電子裝置之方塊圖;第2圖為本發明一實施例中,一種手持式電子裝置之俯視圖;第3圖為本發明一實施例中,裝置碼區別表之示意圖;第4A圖至第4C圖分別為本發明一實施例中,進行測試流程中的手持式電子裝置的俯視圖;第5A圖至第5C圖分別為本發明一實施例中,具有使用者介面的手持式電子裝置之俯視圖;第6圖為本發明一實施例中,一種萬用遙控操作方法之流程圖;以及第7圖為本發明一實施例中,測試流程之流程圖。The above and other objects, features, advantages and embodiments of the present disclosure will be more apparent and understood. The description of the drawings is as follows: FIG. 1 is a block diagram of a handheld electronic device according to an embodiment of the present invention. 2 is a top view of a handheld electronic device according to an embodiment of the present invention; FIG. 3 is a schematic diagram of a device code difference table according to an embodiment of the present invention; and FIGS. 4A to 4C are respectively a first embodiment of the present invention; In the embodiment, a top view of the handheld electronic device in the test flow is performed; and FIGS. 5A to 5C are top views of the handheld electronic device having a user interface according to an embodiment of the present invention; FIG. 6 is the present invention In one embodiment, a flow chart of a universal remote operation method; and FIG. 7 is a flow chart of a test flow in an embodiment of the present invention.

1‧‧‧手持式電子裝置1‧‧‧Handheld electronic device

10‧‧‧觸控顯示單元10‧‧‧Touch display unit

11‧‧‧裝置資訊11‧‧‧Device Information

12‧‧‧儲存單元12‧‧‧ storage unit

120‧‧‧裝置碼區別表120‧‧‧Device code difference table

13‧‧‧輸入13‧‧‧Enter

14‧‧‧無線傳輸單元14‧‧‧Wireless transmission unit

15‧‧‧功能指令15‧‧‧Functional Instructions

16‧‧‧處理單元16‧‧‧Processing unit

18‧‧‧待控電子裝置18‧‧‧Controlled electronic devices

Claims (20)

一種萬用遙控(universal remote control)操作方法,應用於一手持式電子裝置,該手持式電子裝置包含一觸控顯示單元、一儲存單元、一處理單元以及一無線傳輸單元,該萬用遙控操作方法包含:使該觸控顯示單元接收一裝置資訊,並據以顯示包含複數虛擬功能鍵之一使用者介面;使該處理單元自該儲存單元擷取一裝置碼區別表,包含分別對應一特定型號裝置之複數列裝置碼,該複數列裝置碼各包含以一命中率進行排序之複數指令碼;以及使該處理單元啟始一測試流程,該測試流程包含:(a)使該裝置碼區別表之一特定裝置碼之該等指令碼中具有一最高命中率者做為一第一指令碼;(b)控制該觸控顯示單元自該等虛擬功能鍵其中之一特定虛擬功能鍵接收一輸入,其中該特定虛擬功能鍵對應於該第一指令碼;(c)使該處理單元依據該輸入以及該第一指令碼控制該無線傳輸單元傳送一功能指令至一待控電子裝置;(d)使該處理單元判斷該待控電子裝置是否依據該功能指令運作;(e)當該待控電子裝置未依據該功能指令運作,該處理單元係排除該特定裝置碼以及該複數列裝置碼中具有相同之該第一指令碼者,以使剩下之該複數列裝置碼其中之一做為該特定裝置碼以重複步驟(a)- (d)進行測試;(f)當該待控電子裝置依據該功能指令運作,該處理單元更判斷該第一指令碼是否為該特定裝置碼之一最後指令碼,以於該第一指令碼不為該最後指令碼時,使該特定裝置碼中,該第一指令碼後之一第二指令碼做為該第一指令碼以重複步驟(b)-(d)進行測試;以及(g)當該待控電子裝置依據該功能指令運作,且該第一指令碼為該最後指令碼時,該處理單元結束該測試流程,並以該特定裝置碼控制該待控電子裝置。A universal remote control operation method is applied to a handheld electronic device. The handheld electronic device includes a touch display unit, a storage unit, a processing unit and a wireless transmission unit. The method includes: causing the touch display unit to receive a device information, and displaying a user interface including a plurality of virtual function keys; and causing the processing unit to extract a device code difference table from the storage unit, respectively, corresponding to a specific a plurality of device codes of the model device, the plurality of device codes each comprising a plurality of instruction codes sorted by a hit rate; and causing the processing unit to initiate a test flow, the test flow comprising: (a) making the device code region One of the instruction codes of the specific device code has a highest hit rate as a first instruction code; (b) controlling the touch display unit to receive one of the virtual function keys from the virtual function keys. Input, wherein the specific virtual function key corresponds to the first instruction code; (c) causing the processing unit to control the input according to the input and the first instruction code The line transmission unit transmits a function command to a to-be-controlled electronic device; (d) causing the processing unit to determine whether the electronic device to be controlled operates according to the function instruction; (e) when the electronic device to be controlled does not operate according to the function instruction, The processing unit excludes the specific device code and the same first instruction code in the plurality of column device codes, so that one of the remaining plurality of column device codes is used as the specific device code to repeat the step (a )- (d) performing a test; (f) when the electronic device to be controlled operates according to the function instruction, the processing unit further determines whether the first instruction code is one of the last instruction codes of the specific device code, and the first instruction code When the last instruction code is not, the second instruction code of the first instruction code is used as the first instruction code to repeat the steps (b)-(d) for testing; and (g) When the electronic device to be controlled operates according to the function instruction, and the first instruction code is the last instruction code, the processing unit ends the testing process, and controls the electronic device to be controlled with the specific device code. 如請求項1所述之萬用遙控操作方法,其中該等指令碼中具有最高之該命中率者為該複數列裝置碼間之該等指令碼中相似度最高者。The universal remote operation method of claim 1, wherein the one of the instruction codes having the highest hit rate is the one with the highest similarity among the instruction codes between the plurality of serial device codes. 如請求項1所述之萬用遙控操作方法,其中於該步驟(b)更包含使該處理單元控制該觸控顯示單元依據該第一指令碼,於該特定虛擬功能鍵產生一第一提示資訊,以使該觸控顯示單元接收該輸入。The universal remote operation method of claim 1, wherein the step (b) further comprises: causing the processing unit to control the touch display unit to generate a first prompt according to the first instruction code. Information such that the touch display unit receives the input. 如請求項3所述之萬用遙控操作方法,其中於該步驟(f)更包含使該處理單元控制該觸控顯示單元使該第一指令碼對應之該特定虛擬功能鍵產生一第二提示資訊。The universal remote operation method of claim 3, wherein the step (f) further comprises: causing the processing unit to control the touch display unit to generate a second prompt for the specific virtual function key corresponding to the first instruction code. News. 如請求項4所述之萬用遙控操作方法,其中該第 一提示資訊以及該第二提示資訊由該觸控顯示單元使該特定虛擬功能鍵進行一閃爍或一顏色變化產生。The universal remote operation method as claimed in claim 4, wherein the first The prompt information and the second prompt information are generated by the touch display unit to cause the specific virtual function key to perform a blinking or a color change. 如請求項1所述之萬用遙控操作方法,其中於該步驟(f)更包含使該處理單元判斷剩下之該等指令碼中,是否在該特定裝置碼以及該複數列裝置碼中具有相同之該第一指令碼者間重複,以於重複時判斷重複之該等指令碼可使該待控電子裝置依據該功能指令運作,該處理單元進一步使該等指令碼中未重複者其中之一做為該第一指令碼以重複步驟(b)-(d)進行測試。The universal remote operation method of claim 1, wherein the step (f) further comprises: causing the processing unit to determine whether the remaining instruction codes have the specific device code and the plurality of column device codes. The first instruction code is repeated between the first instruction code, so that the repeated execution of the instruction code can make the electronic device to be controlled operate according to the function instruction, and the processing unit further makes the instruction code not overlap. One is tested as the first instruction code by repeating steps (b)-(d). 如請求項1所述之萬用遙控操作方法,其中於該步驟(d),更包含下列步驟:使該處理單元判斷該觸控顯示單元是否接收到一確認輸入;以及當接收到該確認輸入時判斷該待控電子裝置依據該功能指令運作。The universal remote operation method of claim 1, wherein the step (d) further comprises the step of: causing the processing unit to determine whether the touch display unit receives a confirmation input; and when receiving the confirmation input It is determined that the electronic device to be controlled operates according to the function instruction. 如請求項1所述之萬用遙控操作方法,其中於該步驟(g)更包含依據一環境資訊記錄該特定裝置碼與該待控電子裝置之一對應關係。The universal remote operation method of claim 1, wherein the step (g) further comprises recording, according to an environmental information, a correspondence between the specific device code and one of the electronic devices to be controlled. 如請求項8所述之萬用遙控操作方法,其中該環境資訊為該待控電子裝置周圍之一無線存取點訊號強度、一垂直高度或一對應方位。The universal remote operation method of claim 8, wherein the environmental information is a wireless access point signal strength, a vertical height or a corresponding orientation around the electronic device to be controlled. 如請求項1所述之萬用遙控操作方法,其中該裝置資訊包含一裝置廠牌以及一裝置類別。The universal remote operation method of claim 1, wherein the device information comprises a device label and a device category. 一種手持式電子裝置,具有一萬用遙控機制,包含:一觸控顯示單元,用以接收一裝置資訊,並據以顯示包含複數虛擬功能鍵之一使用者介面;一儲存單元,用以儲存一裝置碼區別表,包含分別對應一特定型號裝置之複數列裝置碼,該複數列裝置碼各包含以一命中率進行排序之複數指令碼;一無線傳輸單元;以及一處理單元,用以自該儲存單元擷取該裝置碼區別表,並啟始一測試流程,其中該測試流程包含:(a)該處理單元使該裝置碼區別表之一特定裝置碼之該等指令碼中具有一最高命中率者做為一第一指令碼;(b)該處理單元控制該觸控顯示單元自該等虛擬功能鍵其中之一特定虛擬功能鍵接收一輸入,其中該特定虛擬功能鍵對應於該第一指令碼;(c)該處理單元依據該輸入以及該第一指令碼控制該無線傳輸單元傳送一功能指令至一待控電子裝置;(d)該處理單元判斷該待控電子裝置是否依據該功能指令運作; (e)當該待控電子裝置未依據該功能指令運作,該處理單元係排除該特定裝置碼以及該複數列裝置碼中具有相同之該第一指令碼者,以使剩下之該複數列裝置碼其中之一做為該特定裝置碼以重複步驟(a)-(d)進行測試;(f)當該待控電子裝置依據該功能指令運作,該處理單元更判斷該第一指令碼是否為該特定裝置碼之一最後指令碼,以於該第一指令碼不為該最後指令碼時,使該特定裝置碼中,該第一指令碼後之一第二指令碼做為該第一指令碼以重複步驟(b)-(d)進行測試;以及(g)當該待控電子裝置依據該功能指令運作,且該第一指令碼為該最後指令碼時,該處理單元結束該測試流程,並以該特定裝置碼控制該待控電子裝置。。A handheld electronic device having a 10,000 remote control mechanism includes: a touch display unit for receiving a device information, and displaying a user interface including a plurality of virtual function keys; and a storage unit for storing A device code difference table includes a plurality of column device codes respectively corresponding to a specific type of device, the plurality of column device codes each comprising a plurality of instruction codes sorted by a hit rate; a wireless transmission unit; and a processing unit for self The storage unit retrieves the device code difference table, and initiates a test process, where the test process includes: (a) the processing unit causes the device code distinguishing table to have a highest one of the instruction codes of the specific device code. The hit rate is used as a first instruction code; (b) the processing unit controls the touch display unit to receive an input from one of the virtual function keys, wherein the specific virtual function key corresponds to the first An instruction code; (c) the processing unit controls the wireless transmission unit to transmit a function instruction to a to-be-controlled electronic device according to the input and the first instruction code; (d) the The processing unit determines whether the operation of the electronic device to be controlled according to the function instruction; (e) when the electronic device to be controlled does not operate according to the function instruction, the processing unit excludes the specific device code and the same first instruction code in the plurality of column device codes, so that the remaining plurality of columns One of the device codes is tested as the specific device code by repeating steps (a)-(d); (f) when the electronic device to be controlled operates according to the function instruction, the processing unit further determines whether the first instruction code is Is the last instruction code of the specific device code, so that the first instruction code is not the last instruction code, and the second instruction code of the first instruction code is the first instruction code The instruction code is tested by repeating steps (b)-(d); and (g) when the electronic device to be controlled operates according to the function instruction, and the first instruction code is the last instruction code, the processing unit ends the test And controlling the electronic device to be controlled with the specific device code. . 如請求項11所述之手持式電子裝置,其中該等指令碼中具有最高之該命中率者為該複數列裝置碼間之該等指令碼中相似度最高者。The handheld electronic device of claim 11, wherein the one of the instruction codes having the highest hit rate is the one with the highest similarity among the instruction codes between the plurality of serial device codes. 如請求項11所述之手持式電子裝置,其中於該步驟(b)更包含由該處理單元控制該觸控顯示單元依據該第一指令碼,於該特定虛擬功能鍵產生一第一提示資訊,以使該觸控顯示單元接收該輸入。The handheld electronic device of claim 11, wherein the step (b) further comprises: controlling, by the processing unit, the touch display unit to generate a first prompt message according to the first command code according to the first command code. So that the touch display unit receives the input. 如請求項13所述之手持式電子裝置,其中於該步 驟(f)更包含該處理單元控制該觸控顯示單元使該第一指令碼對應之該特定虛擬功能鍵產生一第二提示資訊。The handheld electronic device of claim 13, wherein the step is The step (f) further includes the processing unit controlling the touch display unit to generate a second prompt information for the specific virtual function key corresponding to the first instruction code. 如請求項14所述之手持式電子裝置,其中該第一提示資訊以及該第二提示資訊由該觸控顯示單元使該特定虛擬功能鍵進行一閃爍或一顏色變化產生。The handheld electronic device of claim 14, wherein the first prompt information and the second prompt information are generated by the touch display unit to cause a blinking or a color change of the specific virtual function key. 如請求項11所述之手持式電子裝置,其中於該步驟(f)更包含使該處理單元判斷剩下之該等指令碼中,是否在該特定裝置碼以及該複數列裝置碼中具有相同之該第一指令碼者間重複,以於重複時判斷重複之該等指令碼可使該待控電子裝置依據該功能指令運作,該處理單元進一步使該等指令碼中未重複者其中之一做為該第一指令碼以重複步驟(b)-(d)進行測試。The handheld electronic device of claim 11, wherein the step (f) further comprises: causing the processing unit to determine whether the remaining instruction codes have the same in the specific device code and the plurality of column device codes. The first instruction code is repeated between the two, so that the repeated execution of the instruction code can cause the electronic device to be controlled to operate according to the function instruction, and the processing unit further makes one of the instruction codes not duplicated. As the first instruction code, the test is repeated by repeating steps (b)-(d). 如請求項11所述之手持式電子裝置,其中於該步驟(d),更包含下列步驟:該處理單元判斷該觸控顯示單元是否接收到一確認輸入;以及當接收到該確認輸入時判斷該待控電子裝置依據該功能指令運作。The handheld electronic device of claim 11, wherein the step (d) further comprises the steps of: determining, by the processing unit, whether the touch display unit receives a confirmation input; and determining when the confirmation input is received The electronic device to be controlled operates according to the function instruction. 如請求項11所述之手持式電子裝置,其中於該步驟(g)更包含依據一環境資訊記錄該特定裝置碼與該待控電子裝置之一對應關係。The handheld electronic device of claim 11, wherein the step (g) further comprises recording a correspondence between the specific device code and the electronic device to be controlled according to an environmental information. 如請求項11所述之手持式電子裝置,其中該環境資訊為該待控電子裝置周圍之一無線存取點訊號強度、一垂直高度或一對應方位。The handheld electronic device of claim 11, wherein the environmental information is a wireless access point signal strength, a vertical height, or a corresponding orientation around the electronic device to be controlled. 如請求項11所述之手持式電子裝置,其中該裝置資訊包含一裝置廠牌以及一裝置類別。The handheld electronic device of claim 11, wherein the device information comprises a device label and a device category.
TW102101173A 2013-01-11 2013-01-11 Handheld electronic device having universal remote control mechanism and operation method of the same TWI469099B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102101173A TWI469099B (en) 2013-01-11 2013-01-11 Handheld electronic device having universal remote control mechanism and operation method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102101173A TWI469099B (en) 2013-01-11 2013-01-11 Handheld electronic device having universal remote control mechanism and operation method of the same

Publications (2)

Publication Number Publication Date
TW201428700A TW201428700A (en) 2014-07-16
TWI469099B true TWI469099B (en) 2015-01-11

Family

ID=51726145

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102101173A TWI469099B (en) 2013-01-11 2013-01-11 Handheld electronic device having universal remote control mechanism and operation method of the same

Country Status (1)

Country Link
TW (1) TWI469099B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200714071A (en) * 2005-09-05 2007-04-01 Hon Hai Prec Ind Co Ltd Remote controller and digital information system employing the same
US20090239587A1 (en) * 2008-03-19 2009-09-24 Universal Electronics Inc. System and method for appliance control via a personal communication or entertainment device
EP2145326B1 (en) * 2007-01-26 2012-02-01 Sony Ericsson Mobile Communications AB User interface for an electronic device used as a home controller
CN202443574U (en) * 2012-03-01 2012-09-19 王琦凡 System and external equipment for controlling household appliances by means of mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200714071A (en) * 2005-09-05 2007-04-01 Hon Hai Prec Ind Co Ltd Remote controller and digital information system employing the same
EP2145326B1 (en) * 2007-01-26 2012-02-01 Sony Ericsson Mobile Communications AB User interface for an electronic device used as a home controller
US20090239587A1 (en) * 2008-03-19 2009-09-24 Universal Electronics Inc. System and method for appliance control via a personal communication or entertainment device
CN202443574U (en) * 2012-03-01 2012-09-19 王琦凡 System and external equipment for controlling household appliances by means of mobile terminal

Also Published As

Publication number Publication date
TW201428700A (en) 2014-07-16

Similar Documents

Publication Publication Date Title
US10254937B2 (en) Graphical user interface and data transfer methods in a controlling device
KR101379118B1 (en) System and method for capturing remote control device command signals
US7777649B2 (en) Advanced control device for home entertainment utilizing three dimensional motion technology
JP5723462B2 (en) Method and system for multimodal and gesture control
US8106750B2 (en) Method for recognizing control command and control device using the same
US20120068857A1 (en) Configurable remote control
US10616636B2 (en) Setting integrated remote controller of display device
US20160334988A1 (en) Display device and method for providing recommended characters from same
CN106797504B (en) Remote control device and operation method thereof
US7400998B2 (en) Test apparatus and test method
US20160048311A1 (en) Augmented reality context sensitive control system
CN105829998B (en) Device is tied to calculating equipment
TWI469099B (en) Handheld electronic device having universal remote control mechanism and operation method of the same
US9247281B2 (en) Handheld electronic device having universal remote control mechanism and operation method of the same
US20150109096A1 (en) Handheld electronic device and operation method of the same
US9640067B1 (en) Determining commands on a media device interface
JP2003208329A (en) Electronic test system and method for controlling execution of electronic test
KR101805204B1 (en) An unified remote controller and a control method the same
CN103927859B (en) Handheld electronic apparatus having universal remote control mechanism, and operation method thereof
TWI514198B (en) Handheld electronic device and operation method of the same
TWI605427B (en) Learning pairing system and its learning matching method
KR20180086653A (en) Display apparatus and control method thereof
CN104240489A (en) Signal set control system and method for virtual remote controller
US20110173661A1 (en) Interactive system
TW201716976A (en) Method of simulating remote controller providing a mobile device for simulating a remote controller similar to the appearance and key arrangement or an original remote controller