[go: up one dir, main page]

TWI564753B - Terminal equipment and remote controlling method thereof - Google Patents

Terminal equipment and remote controlling method thereof Download PDF

Info

Publication number
TWI564753B
TWI564753B TW104142151A TW104142151A TWI564753B TW I564753 B TWI564753 B TW I564753B TW 104142151 A TW104142151 A TW 104142151A TW 104142151 A TW104142151 A TW 104142151A TW I564753 B TWI564753 B TW I564753B
Authority
TW
Taiwan
Prior art keywords
remote control
terminal device
list
key value
operation command
Prior art date
Application number
TW104142151A
Other languages
Chinese (zh)
Other versions
TW201721368A (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 TW104142151A priority Critical patent/TWI564753B/en
Application granted granted Critical
Publication of TWI564753B publication Critical patent/TWI564753B/en
Publication of TW201721368A publication Critical patent/TW201721368A/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

終端設備及其遙控方法 Terminal device and remote control method thereof

本發明涉及嵌入式設備,特別是涉及一種終端設備及其遙控方法。 The present invention relates to an embedded device, and more particularly to a terminal device and a remote control method thereof.

與智慧手機相似,智慧電視是通過在電視或機上盒中安裝作業系統,使電視在完成傳統的節目播放的同時,還能安裝和卸載應用程式、遊戲,並實現網路連接。對於傳統的電視,一般是通過遙控器對電視進行控制。然而在智慧電視中,隨著功能越來越豐富,用戶可執行的操作多種多樣,通過傳統遙控器已經無法滿足人機交互的需要。 Similar to smart phones, smart TV installs operating systems on TVs or set-top boxes, allowing TVs to install and uninstall applications, games, and network connections while completing traditional program playback. For traditional TVs, the TV is usually controlled by a remote control. However, in smart TV, as the functions become more and more abundant, the operations that the user can perform are various, and the needs of human-computer interaction cannot be met by the conventional remote controller.

現有的一種解決方式是在智慧手機或PAD中安裝對應的程式,通過與智慧電視匹配的無線通訊協定,如TCP/IP、紅外或藍牙,實現通過智慧手機或PAD的觸控式螢幕,對智慧電視進行控制和操作。 One existing solution is to install a corresponding program in a smart phone or a PAD, and realize a smart screen through a smart phone or a PAD through a wireless communication protocol matched with a smart TV, such as TCP/IP, infrared or Bluetooth. The TV is controlled and operated.

然而這種控制方式匹配性差,且需要使用者擁有較為高端的配套設備,如智慧手機或PAD。並且,雖然智慧手機或PAD具有解析度較高的觸控式螢幕,然而與尺寸較大的智慧電視,通過觸控方式進行輸入的精度仍較低,用戶體驗較差。另外,在滿足於對電視進行新穎的觸摸式輸入的同時,用戶仍然習慣通過遙控器進行簡單的頻道切換和音量調節,而手機或PAD若要實現這一功能需要安裝複雜的軟體和調試,進一步降低了用 戶的體驗性。另外一種遙控方法是在電視上顯示虛擬鍵盤的方法,但是現有技術中的虛擬鍵盤在控制尺寸較大的智慧電視時常常會給客戶帶來不方便的體驗,比如使用虛擬鍵盤的方式開啟智慧電視的網頁流覽功能時,往往不能迅速將遊標定位到目標位置。 However, this control method has poor matching and requires users to have relatively high-end supporting equipment such as smart phones or PADs. Moreover, although the smart phone or the PAD has a high-resolution touch screen, the input precision of the smart TV with a larger size is still lower, and the user experience is poor. In addition, while satisfying the novel touch input of the TV, the user is still accustomed to simple channel switching and volume adjustment through the remote controller, and the mobile phone or PAD needs to install complicated software and debugging to implement this function, further Reduced use User experience. Another remote control method is a method of displaying a virtual keyboard on a television, but the virtual keyboard in the prior art often brings an inconvenient experience to a client when controlling a large-sized smart TV, such as using a virtual keyboard to turn on the smart TV. When the web browsing function is used, it is often impossible to quickly position the cursor to the target location.

本發明主要解決的技術問題是提供一種終端設備及其遙控方法,能夠在終端設備上實現遙控終端模擬滑鼠的輸入操作,增強用戶體驗。 The technical problem to be solved by the present invention is to provide a terminal device and a remote control method thereof, which can implement a remote terminal to simulate a mouse input operation on the terminal device, thereby enhancing the user experience.

為解決上述技術問題,本發明採用的一個技術方案是:提供一種終端設備的遙控方法,所述方法包括:接收一第一遙控信號;解析所述第一遙控信號以確定所述第一遙控信號對應的第一鍵值資訊;根據所述第一鍵值資訊在一第一清單中查找所述第一鍵值資訊對應的操作命令;根據所述操作命令判斷開啟滑鼠操作模式;以及當所述終端設備處於滑鼠操作模式時,接收一第二遙控信號;解析所述第二遙控信號以確定所述第二遙控信號對應的第二鍵值資訊;根據所述第二鍵值資訊在一第二清單中查找所述第二鍵值資訊對應的操作命令;根據所述操作命令對所述終端設備進行處理;其中,所述第一列表和所述第二列表預先設定在所述終端設備上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係,所述第二清單用於記錄第二鍵值資訊與操作命令的對應關係。 In order to solve the above technical problem, a technical solution adopted by the present invention is to provide a remote control method for a terminal device, the method comprising: receiving a first remote control signal; and parsing the first remote control signal to determine the first remote control signal Corresponding first key value information; searching for an operation command corresponding to the first key value information in a first list according to the first key value information; determining, according to the operation command, an open mouse operation mode; Receiving a second remote control signal when the terminal device is in the mouse operation mode; analyzing the second remote control signal to determine second key value information corresponding to the second remote control signal; Searching, in the second list, an operation command corresponding to the second key value information; processing the terminal device according to the operation command; wherein the first list and the second list are preset in the terminal device The first list is used to record a correspondence between the first key value information and the operation command, and the second list is used to record the second key value information and the operation command. Should the relationship.

為解決上述技術問題,本發明採用的另一個技術方案是:提供一種終端設備的遙控方法,所述方法包括:接收一第一遙控信號;解析所述第一遙控信號以確定所述第一遙控信號對應的第一鍵值資訊;根據所 述第一鍵值資訊在一第一清單中查找所述第一鍵值資訊對應的操作命令;根據所述操作命令判斷開啟滑鼠操作模式;以及當所述終端設備處於滑鼠操作模式時,在一第一預定時間內依次接收第一組第二遙控信號;解析所述第一組第二遙控信號以確定所述第一組第二遙控信號對應的複數個相同的第二鍵值資訊;根據所述複數個第二鍵值資訊在一第二清單中查找所述複數個相同的第二鍵值資訊對應的操作命令;根據所述操作命令對所述終端設備進行處理;其中,所述第一列表和所述第二列表預先設定在所述終端設備上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係,所述第二清單用於記錄複數個第二鍵值資訊與操作命令的對應關係。 In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a remote control method for a terminal device, the method comprising: receiving a first remote control signal; and parsing the first remote control signal to determine the first remote control The first key value information corresponding to the signal; The first key value information is used to search for an operation command corresponding to the first key value information in a first list; determining, according to the operation command, a mouse operation mode to be turned on; and when the terminal device is in a mouse operation mode, Receiving a first set of second remote control signals in sequence for a first predetermined time; and analyzing the first set of second remote control signals to determine a plurality of identical second key value information corresponding to the first set of second remote control signals; Obtaining, according to the plurality of second key value information, an operation command corresponding to the plurality of identical second key value information in a second list; processing the terminal device according to the operation command; wherein The first list and the second list are preset on the terminal device, the first list is used for recording a correspondence between the first key value information and the operation command, and the second list is used for recording a plurality of second The correspondence between key information and operation commands.

為解決上述技術問題,本發明採用的另一個技術方案是:提供一種終端設備,所述設備包括:接收器,用於接收一第一遙控信號和一第二遙控信號;記憶體,用於存儲一第一清單和一第二列表;處理器,耦接於所述接收器和所述記憶體,用於進行下列步驟:解析所述第一遙控信號以確定在所述第一遙控信號對應的第一鍵值資訊,根據所述第一鍵值資訊在所述第一清單中查找所述第一鍵值資訊對應的操作命令,根據所述操作命令判斷所述終端設備是否開啟滑鼠操作模式;解析所述第二遙控信號以確定在所述第二遙控信號對應的第二鍵值資訊;根據所述第二鍵值資訊在所述第二清單中查找所述第二鍵值資訊對應的操作命令;以及根據所述操作命令對所述終端設備進行處理;其中,所述第一列表和所述第二列表預先設定在所述記憶體上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係,所述第二清單用於記錄第二鍵值資訊與操作命令的對應關係。 In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a terminal device, the device comprising: a receiver for receiving a first remote control signal and a second remote control signal; and a memory for storing a first list and a second list; a processor coupled to the receiver and the memory, configured to: parse the first remote control signal to determine a corresponding one of the first remote control signals The first key value information is used to search for an operation command corresponding to the first key value information in the first list according to the first key value information, and determine, according to the operation command, whether the terminal device starts the mouse operation mode. Parsing the second remote control signal to determine second key value information corresponding to the second remote control signal; searching for the second key value information corresponding to the second list according to the second key value information And operating the terminal device according to the operation command; wherein the first list and the second list are preset on the memory, and the first list is used A first corresponding relationship between the recording information and operation command key, the second key list for recording information with a second corresponding relationship between the operation command.

本發明的有益效果是:區別於現有技術的情況,提供一種終端設備及其遙控方法,通過預先建立遙控終端的鍵值資訊與操作命令的對應關係,在終端設備處於滑鼠操作模式時將接收到的遙控終端發送的遙控信號的鍵值資訊所對應的操作命令作為滑鼠事件進行處理,從而在終端設備上實現模擬滑鼠的輸入操作,迅速將遊標定位到目標位置,增強使用者體驗。 The beneficial effects of the present invention are: different from the prior art, a terminal device and a remote control method thereof are provided, and the correspondence between the key value information of the remote control terminal and the operation command is established in advance, and the terminal device is received when it is in the mouse operation mode. The operation command corresponding to the key value information of the remote control signal sent by the remote control terminal is processed as a mouse event, thereby realizing the input operation of the simulated mouse on the terminal device, and quickly positioning the cursor to the target position, thereby enhancing the user experience.

S10~S17、S161、S162、S171、S172‧‧‧流程步驟 S10~S17, S161, S162, S171, S172‧‧‧ process steps

30‧‧‧終端設備 30‧‧‧ Terminal equipment

31‧‧‧接收器 31‧‧‧ Receiver

32‧‧‧處理器 32‧‧‧ processor

33‧‧‧記憶體 33‧‧‧ memory

34‧‧‧繪圖器 34‧‧‧Plotter

圖1是本發明實施方式中的終端設備的遙控方法的流程示意圖。 1 is a schematic flow chart of a remote control method of a terminal device in an embodiment of the present invention.

圖2是圖1所示的步驟S16和步驟S17具體實施方式的流程示意圖。 FIG. 2 is a schematic flow chart of the specific embodiment of step S16 and step S17 shown in FIG. 1.

圖3是是本發明實施方式中遙控信號的格式。 3 is a format of a remote control signal in an embodiment of the present invention.

圖4是本發明實施方式中的終端設備的結構示意圖。 4 is a schematic structural diagram of a terminal device in an embodiment of the present invention.

為詳細說明本發明的技術內容、構造特徵、所實現目的及效果,以下結合附圖和實施例對本發明進行詳細說明。 The present invention will be described in detail below with reference to the accompanying drawings and embodiments.

請參閱圖1,為本發明實施方式中的終端設備的遙控方法的流程示意圖。該實施方式示出的遙控方法,包括如下步驟: FIG. 1 is a schematic flowchart diagram of a remote control method of a terminal device according to an embodiment of the present invention. The remote control method shown in this embodiment includes the following steps:

步驟S10,接收遙控終端發送的第一遙控信號。 Step S10: Receive a first remote control signal sent by the remote control terminal.

在本實施方式中,該終端設備為智慧電視機,該遙控終端為用於遙控該智慧電視機的遙控器。在步驟S10中,終端設備接收遙控終端因觸發對應按鍵而發出的第一遙控信號,該遙控信號可以是紅外信號、射頻信號等。 In this embodiment, the terminal device is a smart TV, and the remote control terminal is a remote controller for remotely controlling the smart TV. In step S10, the terminal device receives the first remote control signal sent by the remote control terminal by triggering the corresponding button, and the remote control signal may be an infrared signal, a radio frequency signal, or the like.

步驟S11,解析該第一遙控信號以確定在該第一遙控信號對應的鍵值資訊。 Step S11, parsing the first remote control signal to determine key information corresponding to the first remote control signal.

在步驟S11中,當遙控終端發出的第一遙控信號是紅外信號時,終端設備對該紅外信號進行解碼分析,以確定對應的第一鍵值資訊,鍵值資訊是多位元的二進位碼。具體地,終端設備根據紅外信號的高低電平的脈衝持續時間和數量來確定紅外信號中包含的鍵值資訊。當遙控終端發出的第一遙控信號是射頻信號時,終端設備對該射頻信號進行解碼以確定對應的第一鍵值資訊。具體地,終端設備與一射頻信號接收器連接,或者終端設備內設有射頻信號接收器,該接收器接收到射頻信號後對該射頻信號進行解碼而得到射頻信號中包含的第一鍵值資訊。 In step S11, when the first remote control signal sent by the remote control terminal is an infrared signal, the terminal device decodes and analyzes the infrared signal to determine a corresponding first key value information, and the key value information is a multi-bit binary code. . Specifically, the terminal device determines the key value information included in the infrared signal according to the pulse duration and the number of the high and low levels of the infrared signal. When the first remote control signal sent by the remote control terminal is a radio frequency signal, the terminal device decodes the radio frequency signal to determine a corresponding first key value information. Specifically, the terminal device is connected to a radio frequency signal receiver, or the radio frequency signal receiver is disposed in the terminal device, and the receiver receives the radio frequency signal and decodes the radio frequency signal to obtain the first key value information included in the radio frequency signal. .

步驟S12,根據所述第一鍵值資訊,在第一清單中查找該第一鍵值資訊所對應的操作命令。 Step S12: Searching, according to the first key value information, an operation command corresponding to the first key value information in the first list.

其中,該第一清單預先設定用於記錄第一鍵值資訊與操作命令的對應關係進一步地,該操作命令包括開啟滑鼠模式與關閉滑鼠模式。在一實施例中,終端設備用查表的方式來確定該第一鍵值資訊對應的是哪種操作命令。 The first list is preset for recording a correspondence between the first key value information and the operation command, and the operation command includes turning on the mouse mode and turning off the mouse mode. In an embodiment, the terminal device uses a lookup table to determine which operation command corresponds to the first key value information.

當在該第一清單中查找該鍵值資訊所對應的操作命令是開啟滑鼠模式時,則進入滑鼠操作模式,並回應該開啟滑鼠模式事件顯示遊標。 When the operation command corresponding to the key information is found to be in the mouse mode, the mouse operation mode is entered, and the mouse mode event cursor is displayed.

具體地,終端設備顯示的畫面由多個圖層組成,終端設備在進入滑鼠操作模式時,遊標會單獨顯示在第一圖層上,該第一圖層不同於顯示當前圖像的第二圖層。因此,在終端設備進行滑鼠操作模式的切換時, 並不會對其顯示的當前圖像產生影響。在進行滑鼠操作模式的切換時,只需要通過控制第一圖層而實現遊標的顯示與隱藏。 Specifically, the screen displayed by the terminal device is composed of multiple layers. When the terminal device enters the mouse operation mode, the cursor is separately displayed on the first layer, and the first layer is different from the second layer displaying the current image. Therefore, when the terminal device performs the switching of the mouse operation mode, It does not affect the current image displayed. When switching the mouse operation mode, it is only necessary to control the display and hiding of the cursor by controlling the first layer.

具體地,該遙控終端上可以單獨設置一按鍵用於控制終端設備的滑鼠模式的開啟/關閉,還可以通過對已有的按鍵進行符合預設條件的操作控制終端設備的滑鼠模式的開啟/關閉,例如,長按“靜音”按鍵控制終端設備的滑鼠模式的開啟/關閉,操作時間超過500ms可以被識別為長按操作。 Specifically, a button may be separately set on the remote control terminal for controlling the opening/closing of the mouse mode of the terminal device, and the mouse mode of the terminal device may be controlled by performing operations corresponding to the preset conditions on the existing button. / Off, for example, long press the "Mute" button to control the opening/closing of the mouse mode of the terminal device, and the operation time exceeding 500ms can be recognized as a long press operation.

步驟S13,根據所述操作命令判斷是否開啟滑鼠操作模式。如果所述操作命令為開啟滑鼠模式,那就開啟滑鼠操作模式,並接著進行步驟S14;如果所述操作命令為關閉滑鼠模式,那麼關閉滑鼠模式事件,則進入標準遙控器模式,並回到步驟S10。 Step S13, determining whether to open the mouse operation mode according to the operation command. If the operation command is to enable the mouse mode, then the mouse operation mode is turned on, and then step S14 is performed; if the operation command is to turn off the mouse mode, then the mouse mode event is turned off, and the standard remote control mode is entered. And return to step S10.

步驟S14,當所述終端設備處於滑鼠操作模式時,接收一第二遙控信號。 Step S14: Receive a second remote control signal when the terminal device is in the mouse operation mode.

步驟S15,解析所述第二遙控信號以確定所述第二遙控信號對應的第二鍵值資訊。 Step S15: Parsing the second remote control signal to determine second key value information corresponding to the second remote control signal.

本步驟中解析所述第二遙控信號以確定所述第二遙控信號對應的第二鍵值資訊的方式與步驟S11相同,在此不加贅述。 The manner of parsing the second remote control signal to determine the second key value information corresponding to the second remote control signal is the same as that of step S11, and no further details are provided herein.

步驟S16,根據所述第二鍵值資訊在一第二清單中查找所述第二鍵值資訊對應的操作命令。 Step S16: Searching, according to the second key value information, an operation command corresponding to the second key value information in a second list.

步驟S17,根據所述操作命令對所述終端設備進行處理。 Step S17, processing the terminal device according to the operation command.

在一實施例中,所述第一列表和第二列表預先設定在所述終端設備上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係, 所述第二清單用於記錄第二鍵值資訊與操作命令的對應關係。 In an embodiment, the first list and the second list are preset on the terminal device, and the first list is used to record a correspondence between the first key value information and the operation command, The second list is used to record a correspondence between the second key value information and the operation command.

本發明實施方式中的終端設備的遙控方法,通過預先建立遙控終端的鍵值資訊與操作命令的對應關係,在終端設備處於滑鼠操作模式時將接收到的遙控終端發送的遙控信號的鍵值資訊所對應的操作命令作為滑鼠事件進行處理,從而在終端設備上實現模擬滑鼠的輸入操作,增強用戶體驗。 The remote control method of the terminal device in the embodiment of the present invention, by pre-establishing the correspondence between the key value information of the remote control terminal and the operation command, and the key value of the remote control signal sent by the received remote control terminal when the terminal device is in the mouse operation mode The operation command corresponding to the information is processed as a mouse event, thereby implementing an analog mouse input operation on the terminal device to enhance the user experience.

請參閱圖2,為本發明的實施方式的步驟S16和步驟S17具體實施方式的流程示意圖。 Please refer to FIG. 2 , which is a schematic flowchart of a specific implementation manner of step S16 and step S17 according to an embodiment of the present invention.

步驟S16,根據所述第二鍵值資訊在一第二清單中查找所述第二鍵值資訊對應的操作命令,具體包括:步驟S161,在該終端設備處於滑鼠操作模式時,根據該第二鍵值資訊以及該第二清單判斷對應的操作命令為第一滑鼠事件還是第二滑鼠事件。如果判斷結果為對應的操作命令為第一滑鼠事件,那麼進行步驟S162;反之,則直接進行步驟S172。 Step S16, searching for an operation command corresponding to the second key value information in a second list according to the second key value information, specifically: Step S161, when the terminal device is in a mouse operation mode, according to the The second key value information and the second list determine whether the corresponding operation command is a first mouse event or a second mouse event. If the result of the determination is that the corresponding operation command is the first mouse event, then step S162 is performed; otherwise, step S172 is directly performed.

其中,該第一滑鼠事件為控制游標向上、下、左或右移動的動作,第二滑鼠事件為確定動作。 The first mouse event is an action of controlling the cursor to move up, down, left or right, and the second mouse event is a determining action.

步驟S162,在所述第二列表中查找一預設距離和一預定速度;步驟S17,根據所述操作命令對所述終端設備進行處理,具體包括以下步驟S171和步驟S172:步驟S171,若判斷該操作命令為第一滑鼠事件,則控制遊標按照該預定速度向該第一滑鼠事件指示的一方向移動該預設距離。 Step S162, searching for a preset distance and a predetermined speed in the second list; step S17, processing the terminal device according to the operation command, specifically including the following steps S171 and S172: step S171, if The operation command is a first mouse event, and then the control cursor moves the preset distance in a direction indicated by the first mouse event according to the predetermined speed.

其中,該預設距離和該預定速度為預先設定的。 The preset distance and the predetermined speed are preset.

例如,終端設備處於滑鼠操作模式時,當解析第二遙控信號而確定在遙控終端上對應的第二鍵值資訊為“0000 1000 1000 1111 0000 1000 1000 1111”時,終端設備在第二列表中查找該鍵值資訊“0000 1000 1000 1111 0000 1000 1000 1111”所對應的第一滑鼠事件為“向上移動”,則控制遊標按照1個圖元/ms的速度向上移動10個圖元。其中,預定速度為1個圖元/ms,預設距離為10個圖元,方向為“上”。 For example, when the terminal device is in the mouse operation mode, when the second remote control signal is parsed to determine that the corresponding second key value information on the remote control terminal is “0000 1000 1000 1111 0000 1000 1000 1111”, the terminal device is in the second list. If the first mouse event corresponding to the key information "0000 1000 1000 1111 0000 1000 1000 1111" is "moved up", the control cursor is moved upward by 10 primitives at a speed of 1 primitive/ms. The predetermined speed is 1 picture element/ms, the preset distance is 10 picture elements, and the direction is “up”.

步驟S172,若判斷該操作命令為第二滑鼠事件,則回應該第二滑鼠事件執行與遊標當前位置對應的功能。 Step S172, if it is determined that the operation command is a second mouse event, the second mouse event is returned to perform a function corresponding to the current position of the cursor.

例如,終端設備處於滑鼠操作模式時,當解析第二遙控信號而確定在遙控終端上對應的第二鍵值資訊為“0000 1000 1000 1111 0000 1000 1000 1100”時,終端設備在第二列表中查找該鍵值資訊“0000 1000 1000 1111 0000 1000 1000 1100”所對應的第二滑鼠事件為“確定”,則根據遊標當前所在的位置執行相應的功能。如,遊標當前位於終端設備顯示介面上的“播放”位置處,則此時執行播放功能。用戶可以通過如圖1-3所述的終端設備的遙控方法將遊標從其他位置移動到“播放”位置處,並在遙控終端上再次觸發“確定”按鍵,控制終端設備執行播放功能。 For example, when the terminal device is in the mouse operation mode, when the second remote control signal is parsed to determine that the corresponding second key value information on the remote control terminal is “0000 1000 1000 1111 0000 1000 1000 1100”, the terminal device is in the second list. If the second mouse event corresponding to the key information "0000 1000 1000 1111 0000 1000 1000 1100" is "OK", the corresponding function is executed according to the current position of the cursor. For example, if the cursor is currently located at the “play” position on the display interface of the terminal device, the playback function is executed at this time. The user can move the cursor from other positions to the "play" position through the remote control method of the terminal device as shown in FIG. 1-3, and trigger the "OK" button on the remote control terminal again to control the terminal device to perform the play function.

進一步地,該操作命令還包括“拖動”滑鼠事件,即,將選定的內容拖動到指定位置的滑鼠事件。具體地,當終端設備在預定時間內接收到連續地、且對應不同鍵值資訊的第二遙控信號時,例如,在3s的時間內,終端設備先後接收到的第二遙控信號為“確定”、“向上移動”、則判斷將“確定”時遊標所在位置的物件向上移動20個圖元。本發明可以 通過發送多個不同第二遙控信號來快速將遊標“拖動”到目標位置。“確定”以及移動的工作原理請參見上文的相關內容,在此不加贅述。 Further, the operation command further includes a "drag" mouse event, that is, a mouse event that drags the selected content to the specified position. Specifically, when the terminal device receives the second remote control signal that continuously and corresponds to different key value information within a predetermined time, for example, the second remote control signal received by the terminal device in succession is “determined” within 3 seconds. , "Move up", then judge the object at the position of the cursor when "OK" is moved up 20 elements. The invention can Quickly "drag" the cursor to the target location by sending a number of different second remote control signals. Please refer to the above for the “determination” and the working principle of the mobile, and I will not repeat them here.

在另一實施例中,如果在第一預定時間接收到連續的複數個的第二遙控信號,解析該複數個第二遙控信號,若該複數個第二遙控信號具有相同的第二鍵值資訊,則確定該複數個第二鍵值資訊對應複數個操作命令,並回應該複數個操作命令。當終端設備在第一預定時間內接收到連續地複數個相同的第二遙控信號時,說明此時使用者在連續地對遙控終端上的一個按鍵(比如電視遙控器的向上鍵)進行操作,如,持續點擊。 In another embodiment, if a plurality of consecutive second remote control signals are received at the first predetermined time, the plurality of second remote control signals are parsed, if the plurality of second remote control signals have the same second key value information And determining that the plurality of second key value information corresponds to the plurality of operation commands, and responding to the plurality of operation commands. When the terminal device receives a plurality of consecutive second remote control signals continuously within the first predetermined time, it indicates that the user continuously operates a button on the remote control terminal (such as the up button of the television remote controller). For example, keep clicking.

第二列表預先對應地保存了第一預定時間、預設距離或預定速度。例如,該第二清單保存如下資訊: The second list stores the first predetermined time, the preset distance, or the predetermined speed in advance correspondingly. For example, the second list holds the following information:

當終端設備在300ms內連續地接收到2個以上相同的第二遙控信號(通過鍵值資訊判斷第二遙控信號是否相同),即,連續地短按,比如,鍵值為“0000 1000 1000 1111 0000 1000 1000 1111”根據第二清單確定該鍵值資訊對應的第一滑鼠事件為“向上移動”,另外根據第二清單確定對應的預定速度為1個圖元/ms,預設距離為5個圖元。因此,終端設備在執行第一滑鼠事件時,每收到一個第二遙控信號就控制遊標以1個圖元/ms的速度向上移動5個圖元。本列表中第一預定時間、預設距離或預定速度的值均為舉例說明,本領域技術人員應該知道第一預定時間、預設距離或預定 速度的值不以此為限制。 When the terminal device continuously receives two or more identical second remote control signals within 300 ms (determining whether the second remote control signals are the same through the key value information), that is, continuously pressing short, for example, the key value is "0000 1000 1000 1111" 0000 1000 1000 1111", according to the second list, determining that the first mouse event corresponding to the key value information is "moving up", and further determining that the corresponding predetermined speed is one primitive/ms according to the second list, and the preset distance is 5 Elements. Therefore, when the terminal device performs the first mouse event, the cursor is controlled to move up five primitives at a rate of one primitive/ms every time a second remote control signal is received. The values of the first predetermined time, the preset distance or the predetermined speed in the list are all examples, and those skilled in the art should know the first predetermined time, the preset distance or the predetermined time. The value of speed is not limited by this.

在另一實施例中,該第二列表還可以通過保存第二遙控信號的數量與遊標的移動距離之間的關係來確定短按時遊標的移動距離,其中,該關係通過如下公式表示:Y=5n;其中,n為第二遙控信號的數量,Y為遊標每次的移動距離。隨著第二遙控信號數量的增加,每次遊標移動的距離都會遞增。本發明僅以此公式表示關係為例,並不以此為限制。 In another embodiment, the second list may further determine a moving distance of the short-time cursor by saving a relationship between the number of the second remote control signals and the moving distance of the cursor, wherein the relationship is expressed by the following formula: Y =5n; where n is the number of second remote control signals and Y is the moving distance of the cursor each time. As the number of second remote control signals increases, the distance each time the cursor moves will increase. The present invention is merely an example of a relationship represented by this formula, and is not limited thereto.

在另一實施例中,在終端設備第一次收到第二遙控信號後,就將游標向上移動5個圖元,第二次收到相同的第二遙控信號時,就將游標向上移動10個圖元,依次類推,將游標依次向上移動15,20,25…個圖元。隨著第二遙控信號數量的增加,遊標每次的移動距離越來越大,如此一來,帶給用戶的感覺就是,用戶通過多次短按遙控器方向鍵就能快速將遊標定位到目標位置,可大大提升用戶體驗。 In another embodiment, after the terminal device receives the second remote control signal for the first time, the cursor is moved upward by 5 primitives, and when the second remote control signal is received for the second time, the cursor is moved upward 10 The primitives, and so on, move the cursor up by 15, 20, 25... elements. As the number of second remote control signals increases, the cursor moves more and more each time. As a result, the user feels that the user can quickly position the cursor to the target by pressing the remote control direction button several times. Location can greatly enhance the user experience.

在一實施例中,在收到一組連續的第二遙控信號之後,如果收到另一組連續的第二遙控信號,就解析該另一組連續的第二遙控信號,確定該另一組第二遙控信號對應的操作命令,如果該操作命令為第一滑鼠事件,就在第二清單中查找預定速度和預設距離,回應該另一組第二遙控信號對應的操作命令。比如,該另一組連續的第二遙控信號所對應的操作命令為“向右移動”,那麼以上個段落的例子來說,遊標在依次向上移動到25個圖元時,終端設備收到另一組連續的第二遙控信號中的第一個信號,就將遊標向右移動5個圖元,接著收到另一組連續的第二遙控信號中的 第二個信號,就將遊標向右移動10個圖元,依次類推,每收到一個另一組連續的第二遙控信號中的一個信號後,就將遊標向右移動15,20,25…個圖元。 In an embodiment, after receiving a continuous second remote control signal, if another continuous second remote control signal is received, the another set of consecutive second remote control signals is parsed to determine the other group. The operation command corresponding to the second remote control signal, if the operation command is the first mouse event, finds the predetermined speed and the preset distance in the second list, and responds to the operation command corresponding to the other group of the second remote control signals. For example, the operation command corresponding to the other consecutive second remote control signals is “moving to the right”. In the example of the above paragraph, when the cursor moves up to 25 primitives in turn, the terminal device receives another The first of a set of consecutive second remote control signals, the cursor is moved to the right by 5 primitives, and then received by another set of consecutive second remote control signals. The second signal moves the cursor to the right by 10 primitives, and so on. After receiving one of the other consecutive second remote control signals, the cursor is moved to the right by 15, 20, 25... Elements.

根據使用者的不同需求,如,使用者需要將遙控終端觸發次數累加到一定次數後,遊標移動的距離就變為恒定值不再隨著第二遙控信號的數量增加而變化,或者其他需求等,演算法和公式都可以依據實際情況做更改。 According to the different needs of the user, for example, after the user needs to add the number of triggers of the remote control terminal to a certain number of times, the distance moved by the cursor becomes a constant value and does not change with the increase of the number of the second remote control signals, or other requirements, etc. Algorithms and formulas can be changed according to actual conditions.

在另一實施例中,如果接收到一持續時間大於或等於第二預定時間的該第二遙控信號時,解析該第二遙控信號以確定在該遙控終端上對應的第二鍵值資訊。 In another embodiment, if the second remote control signal having a duration greater than or equal to the second predetermined time is received, the second remote control signal is parsed to determine a corresponding second key value information on the remote control terminal.

當終端設備接收到一第二遙控信號且該第二遙控信號持續時間大於或等於第二預定時間時,說明此時使用者在長按遙控終端上的一個按鍵。第二列表預先對應地保存了第二預定時間、預設距離或預定速度。例如,該第二清單保存如下資訊: When the terminal device receives a second remote control signal and the second remote control signal duration is greater than or equal to the second predetermined time, it indicates that the user is long pressing a button on the remote control terminal. The second list stores the second predetermined time, the preset distance, or the predetermined speed in advance correspondingly. For example, the second list holds the following information:

當終端設備在500ms內持續地接收到1個遙控信號(通過鍵值資訊判斷遙控信號是否相同),則確定該遙控信號的鍵值為“0000 1000 1000 1111 0000 1000 1000 1111”同時,根據第一清單確定對應的第一滑鼠事件為“上”,根據第二清單確定對應的預定速度為2個圖元/ms,預設距 離為20個圖元。因此,終端設備在執行第一滑鼠事件時,控制遊標以2個圖元/ms的速度向上移動20個圖元。本列表中第一預定時間、預設距離或預定速度的值均為舉例說明,本領域技術人員應該知道第一預定時間、預設距離或預定速度的值不以此為限制。 When the terminal device continuously receives one remote control signal within 500ms (determining whether the remote control signal is the same through the key value information), determining that the key value of the remote control signal is "0000 1000 1000 1111 0000 1000 1000 1111", according to the first The list determines that the corresponding first mouse event is "up", and determines that the corresponding predetermined speed is 2 primitives/ms according to the second list, the preset distance It is 20 elements. Therefore, when the terminal device performs the first mouse event, the control cursor moves the upward movement of 20 primitives at a speed of 2 primitives/ms. The values of the first predetermined time, the preset distance or the predetermined speed in the list are all examples, and those skilled in the art should know that the values of the first predetermined time, the preset distance or the predetermined speed are not limited thereto.

進一步地,該持續時間與該預設距離或該預定速度的關係呈線性、階梯狀或曲線變化。即,隨著第持續時間的增加,對應的預設距離或預定速度呈線性、階梯狀或曲線變化,如此一來,帶給用戶的感覺就是,隨著時間的增加,遊標移動的速度越來越快,使用者通過長按遙控器方向鍵就能快速將遊標定位到目標位置,可大大提升用戶體驗。 Further, the relationship between the duration and the preset distance or the predetermined speed changes linearly, stepwise or curved. That is, as the duration of the first time increases, the corresponding preset distance or the predetermined speed changes linearly, stepwise or curvedly, so that the feeling brought to the user is that as the time increases, the speed of the cursor moves. The faster the user can quickly position the cursor to the target position by long pressing the remote control direction key, which greatly enhances the user experience.

例如,第二預定時間與該預設距離的呈線性關係,可以表示為step=at,其中,step為該預設距離,t為該持續時間,a為線性係數。當持續時間增加時,預設距離也相應地增加。 For example, a linear relationship between the second predetermined time and the preset distance may be expressed as step=at, where step is the preset distance, t is the duration, and a is a linear coefficient. As the duration increases, the preset distance also increases accordingly.

進一步地,在收到複數個持續時間大於或等於第二預定時間的第二遙控信號的情況下,該第二清單還可以通過保存複數個第二遙控信號的數量與遊標的移動距離之間的關係來確定長按時遊標的移動距離,其中,該關係通過如下公式表示:Y=10[n(n+1)/2];其中,n為第二遙控信號的數量,Y為遊標每次的移動距離。 Further, in the case that a plurality of second remote control signals whose duration is greater than or equal to the second predetermined time are received, the second list may also be saved by saving the number of the plurality of second remote control signals and the moving distance of the cursor The relationship determines the moving distance of the long-time cursor, wherein the relationship is expressed by the following formula: Y=10[n(n+1)/2]; wherein n is the number of second remote control signals, and Y is the cursor each time The distance traveled.

根據使用者的不同需求,如,使用者需要將遙控終端觸發時間累加到一定時長後,遊標移動的距離就變為恒定值,或者其他需求等,演算法和公式都可以依據實際情況做更改。 According to the different needs of the user, for example, after the user needs to add the trigger time of the remote control terminal to a certain length of time, the distance moved by the cursor becomes a constant value, or other requirements, and the algorithms and formulas can be changed according to actual conditions.

請參考圖3,為本發明實施方式中遙控信號的格式。每次短 按遙控器按鍵所觸發的遙控信號都包含一幀108ms的編碼脈衝,該脈衝包含一頭碼,一資料碼和一結束碼。其中,該頭碼標識脈衝的起始,該結束碼標識脈衝的結束,並且該資料碼對應解析後的鍵值資訊。而每次長按遙控器按鍵觸發的遙控信號的第一幀為一108ms的編碼脈衝(包含頭碼,資料碼和結束碼),在持續時間內收到的其他幀脈衝均不包含資料碼,其原因是第一幀108ms的編碼脈衝中已包含對應解析後的鍵值資訊的資料碼,在後續幀中無需設置資料碼,這樣一來,可大大節省解析遙控信號的時間,提高效率。 Please refer to FIG. 3, which is a format of a remote control signal according to an embodiment of the present invention. Every short The remote control signal triggered by pressing the remote control button contains a frame of 108 ms code pulse, and the pulse includes a header code, a data code and an end code. Wherein, the header code identifies a start of the pulse, the end code identifies the end of the pulse, and the data code corresponds to the parsed key value information. The first frame of the remote control signal triggered by long press of the remote control button is a 108 ms code pulse (including the header code, the data code and the end code), and the other frame pulses received during the duration do not include the data code. The reason is that the code pulse of the first frame 108ms already contains the data code corresponding to the parsed key value information, and the data code is not required to be set in the subsequent frame, so that the time for parsing the remote control signal can be greatly saved, and the efficiency is improved.

請參閱圖4,為本發明實施方式中的終端設備的結構示意圖。該實施方式中的終端設備可以是電視機、個人電腦、平板電腦、筆記型電腦等。該終端設備30包括接收器31、處理器32、記憶體33以及繪圖器34。 Please refer to FIG. 4 , which is a schematic structural diagram of a terminal device according to an embodiment of the present invention. The terminal device in this embodiment may be a television, a personal computer, a tablet, a notebook, or the like. The terminal device 30 includes a receiver 31, a processor 32, a memory 33, and a plotter 34.

該接收器31用於接收第一遙控信號和第二遙控信號。 The receiver 31 is configured to receive a first remote control signal and a second remote control signal.

該記憶體33用於存儲一第一清單和一第二列表。 The memory 33 is used to store a first list and a second list.

該處理器32耦接於所述接收器31和所述記憶體33,用於控制終端設備30的操作,該處理器32還可以成為CPU(Central Processing Unit,中央處理單元)。該處理器32可以是一種積體電路晶片,具有信號的處理能力。處理器32還可以是通用處理器、數位訊號處理器(DSP)、專用積體電路(ASIC)、現成可程式設計閘陣列(FPGA)或者其他可程式設計邏輯器件、分立門或者電晶體邏輯器件、分立硬體元件。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。 The processor 32 is coupled to the receiver 31 and the memory 33 for controlling the operation of the terminal device 30. The processor 32 can also be a CPU (Central Processing Unit). The processor 32 can be an integrated circuit chip with signal processing capabilities. The processor 32 can also be a general purpose processor, a digital signal processor (DSP), an application integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or a transistor logic device. , separate hardware components. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.

進一步地,該處理器32通過調用記憶體33存儲的操作指令 (該操作指令可存儲在作業系統中),執行如下操作:當該接收器31接收一遙控終端發送的該第一遙控信號,該處理器32解析該第一遙控信號以確定在該遙控終端上對應的第一鍵值資訊,以及在第一清單中查找該第一鍵值資訊所對應的操作命令,並根據該第一鍵值資訊所對應的操作命令來判斷是否開啟滑鼠操作模式。如果結果為開啟滑鼠操作模式,當該接收器31接收該遙控終端發送的該第二遙控信號時,該處理器32解析該第二遙控信號以確定在該遙控終端上對應的第二鍵值資訊,以及在第二清單中查找該第二鍵值資訊所對應的操作命令。所述第一鍵值資訊與操作命令的對應關係預先保存在第一列表中,所述第二鍵值資訊與操作命令的對應關係預先保存在第二列表中。 Further, the processor 32 calls the operation instruction stored in the memory 33. (The operation command can be stored in the operating system), and the following operation is performed: when the receiver 31 receives the first remote control signal sent by a remote control terminal, the processor 32 parses the first remote control signal to determine on the remote control terminal. Corresponding first key value information, and an operation command corresponding to the first key value information in the first list, and determining whether to open the mouse operation mode according to the operation command corresponding to the first key value information. If the result is the mouse-on operation mode, when the receiver 31 receives the second remote control signal sent by the remote control terminal, the processor 32 parses the second remote control signal to determine a corresponding second key value on the remote control terminal. Information, and an operation command corresponding to the second key value information in the second list. The correspondence between the first key value information and the operation command is pre-stored in the first list, and the correspondence between the second key value information and the operation command is pre-stored in the second list.

其中,該遙控終端為用於遙控該智慧電視機的遙控器。 The remote control terminal is a remote controller for remotely controlling the smart television.

該終端設備30接收遙控終端因觸發對應按鍵而發出的遙控信號,該遙控信號可以是紅外信號、射頻信號等。 The terminal device 30 receives a remote control signal sent by the remote control terminal by triggering a corresponding button, and the remote control signal may be an infrared signal, a radio frequency signal, or the like.

當遙控終端發出的第一遙控信號是紅外信號時,終端設備30對該紅外信號進行解碼分析,以確定對應的第一鍵值資訊。具體地,處理器32根據紅外信號的高低電平的脈衝持續時間和數量來確定紅外信號中包含的第一鍵值資訊,然後用查表的方式來確定該第一鍵值資訊對應的是哪種操作命令,如,是否開啟模擬滑鼠輸入功能。 When the first remote control signal sent by the remote control terminal is an infrared signal, the terminal device 30 performs decoding analysis on the infrared signal to determine a corresponding first key value information. Specifically, the processor 32 determines the first key value information included in the infrared signal according to the pulse duration and the number of the high and low levels of the infrared signal, and then uses a lookup table to determine which of the first key value information corresponds to An operation command, such as whether to enable the analog mouse input function.

當遙控終端發出的遙控信號是射頻信號時,處理器32對該射頻信號進行解碼以確定對應的鍵值資訊。具體地,終端設備30與一用於射頻信號接收器連接或者該終端設備30包含一射頻信號接收器,該接收器接收到射頻信號後對該射頻信號進行解碼而得到射頻信號中包含的第一鍵值 資訊,該處理器32根據該設備產生的鍵值資訊進行查表,以確定該鍵值資訊對應的是哪種操作命令。 When the remote control signal sent by the remote control terminal is a radio frequency signal, the processor 32 decodes the radio frequency signal to determine corresponding key value information. Specifically, the terminal device 30 is connected to a radio frequency signal receiver or the terminal device 30 includes a radio frequency signal receiver. After receiving the radio frequency signal, the receiver decodes the radio frequency signal to obtain the first radio frequency signal. Key value Information, the processor 32 performs a lookup table according to the key value information generated by the device to determine which operation command corresponds to the key value information.

進一步地,該操作命令包括開啟滑鼠模式事件與關閉滑鼠模式事件。 Further, the operation command includes an open mouse mode event and a close mouse mode event.

可選地,當該處理器32在該第一列表中查找該第一鍵值資訊所對應的操作命令是開啟滑鼠模式事件時,則進入滑鼠操作模式,並回應該開啟滑鼠模式事件顯示遊標。 Optionally, when the processor 32 searches for the operation command corresponding to the first key value information in the first list, the mouse mode is entered, and the mouse mode is turned on. Show cursor.

繪圖器34耦接於所述處理器32,用於根據處理器32的處理來進行繪圖操作。 The plotter 34 is coupled to the processor 32 for performing a drawing operation according to the processing of the processor 32.

具體地,終端設備顯示的畫面由多個圖層組成,終端設備在進入滑鼠模式時會顯示遊標,繪圖器34將遊標單獨繪製在第一圖層上,該第一圖層不同於顯示當前圖像的第二圖層。因此,在終端設備進行滑鼠操作模式的切換時,並不會對其顯示的圖像產生影響。在進行滑鼠操作模式的切換時,只需要通過控制第一圖層而實現遊標的顯示與隱藏。 Specifically, the screen displayed by the terminal device is composed of multiple layers, the terminal device displays the cursor when entering the mouse mode, and the plotter 34 draws the cursor separately on the first layer, the first layer is different from the current image. The second layer. Therefore, when the terminal device performs the switching of the mouse operation mode, it does not affect the image displayed thereon. When switching the mouse operation mode, it is only necessary to control the display and hiding of the cursor by controlling the first layer.

當該處理器32在該第一列表中查找該第一鍵值資訊所對應的操作命令是關閉滑鼠模式事件,則進入標準遙控器模式。 When the processor 32 searches for the operation command corresponding to the first key value information in the first list to turn off the mouse mode event, the standard remote controller mode is entered.

具體地,該遙控終端上可以單獨設置一按鍵用於控制終端設備的滑鼠模式的開啟/關閉,還可以通過對已有的按鍵進行符合預設條件的操作控制終端設備的滑鼠模式的開啟/關閉,例如,長按“靜音”按鍵控制終端設備的滑鼠模式的開啟/關閉,操作時間超過500ms可以被識別為長按操作。 Specifically, a button may be separately set on the remote control terminal for controlling the opening/closing of the mouse mode of the terminal device, and the mouse mode of the terminal device may be controlled by performing operations corresponding to the preset conditions on the existing button. / Off, for example, long press the "Mute" button to control the opening/closing of the mouse mode of the terminal device, and the operation time exceeding 500ms can be recognized as a long press operation.

可選地,該處理器32在第二列表中查找該第二鍵值資訊所對 應的操作命令,並在該終端設備處於滑鼠操作模式時,根據該第二鍵值資訊以及該第二清單確定對應的操作命令為第一滑鼠事件,以及回應該第一滑鼠事件控制遊標按照預定速度向一方向移動預設距離。其中,該第一滑鼠事件為控制游標向上、下、左或右移動的動作,繪圖器34會根據處理器32的處理,在第一圖層上繪製遊標。 Optionally, the processor 32 searches for the second key value information in the second list. The operation command, and when the terminal device is in the mouse operation mode, determining the corresponding operation command as the first mouse event according to the second key value information and the second list, and responding to the first mouse event control The cursor moves the preset distance in one direction at a predetermined speed. The first mouse event is an action of controlling the cursor to move up, down, left or right, and the plotter 34 draws the cursor on the first layer according to the processing of the processor 32.

該記憶體還用於保存該第二列表,該第二清單還用於記錄該第一預定時間與該預設距離或該預定速度的關係,或者,該第二遙控信號的持續時間與該預設距離或該預定速度的關係。 The memory is further configured to save the second list, the second list is further configured to record a relationship between the first predetermined time and the preset distance or the predetermined speed, or the duration of the second remote control signal and the pre- Set the relationship between the distance or the predetermined speed.

可選地,該處理器32在第一預定時間接收到連續地若干個第二遙控信號或接收到一持續時間大於或等於第二預定時間的遙控信號時,解析該第二遙控信號以確定在該遙控終端上對應的第二鍵值資訊。 Optionally, when the processor 32 receives a plurality of consecutive second remote control signals for a first predetermined time or receives a remote control signal having a duration greater than or equal to a second predetermined time, parsing the second remote control signal to determine The corresponding second key value information on the remote control terminal.

進一步地,該第二預定時間與該預設距離或該預定速度的關係呈線性、階梯狀或曲線變化。即,隨著第二預定時間的增加,對應的預設距離或預定速度呈線性、階梯狀或曲線變化。 Further, the relationship between the second predetermined time and the preset distance or the predetermined speed changes linearly, stepwise or curved. That is, as the second predetermined time increases, the corresponding preset distance or predetermined speed changes linearly, stepwise, or curved.

如此一來,用戶通過多次短按遙控器方向鍵或長按遙控器方向鍵就能快速將遊標定位到目標位置,可大大提升用戶體驗。 In this way, the user can quickly position the cursor to the target position by briefly pressing the remote control direction key or long pressing the remote control direction key, which can greatly enhance the user experience.

可選地,該處理器32在第二列表中查找該第二鍵值資訊所對應的操作命令,並在該終端設備處於滑鼠操作模式時,根據該第二鍵值資訊以及該第二清單確定對應的第二滑鼠事件。其中,該第二滑鼠事件為確認動作,以及回應該第二滑鼠事件執行與遊標當前位置對應的功能,繪圖器34會根據處理器32的處理,在第一圖層上繪製遊標所選位置進行確認的圖像。 Optionally, the processor 32 searches the second list for an operation command corresponding to the second key value information, and when the terminal device is in the mouse operation mode, according to the second key value information and the second list. Determine the corresponding second mouse event. The second mouse event is a confirmation action, and the second mouse event is executed to perform a function corresponding to the current position of the cursor, and the plotter 34 draws the selected position of the cursor on the first layer according to the processing of the processor 32. The image to be confirmed.

本發明提供的一種終端設備及其遙控方法,通過預先建立遙控終端的鍵值資訊與操作命令的對應關係,使終端設備處於滑鼠操作模式時將接收到的遙控終端發送的遙控信號的鍵值資訊所對應的操作命令作為滑鼠事件進行處理,從而在終端設備上實現模擬滑鼠的輸入操作,增強用戶體驗。 The terminal device and the remote control method thereof provide the key value of the remote control signal sent by the remote control terminal when the terminal device is in the mouse operation mode by pre-establishing the correspondence between the key value information of the remote control terminal and the operation command. The operation command corresponding to the information is processed as a mouse event, thereby implementing an analog mouse input operation on the terminal device to enhance the user experience.

以上所述僅為本發明的實施方式,並非因此限制本發明的專利範圍,凡是利用本發明說明書及附圖內容所作的等效結構或等效流程變換,或直接或間接運用在其他相關的技術領域,均同理包括在本發明的專利保護範圍內。 The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

S10~S17‧‧‧流程步驟 S10~S17‧‧‧ Process steps

Claims (20)

一種終端設備的遙控方法,其特徵在於,所述方法包括:接收一第一遙控信號;解析所述第一遙控信號以確定所述第一遙控信號對應的第一鍵值資訊;根據所述第一鍵值資訊在一第一清單中查找所述第一鍵值資訊對應的操作命令;根據所述操作命令判斷開啟滑鼠操作模式;以及當所述終端設備處於滑鼠操作模式時,接收一第二遙控信號;解析所述第二遙控信號以確定所述第二遙控信號對應的第二鍵值資訊;根據所述第二鍵值資訊在一第二清單中查找所述第二鍵值資訊對應的操作命令;根據所述操作命令對所述終端設備進行處理;其中,所述第一列表和所述第二列表預先設定在所述終端設備上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係,所述第二清單用於記錄第二鍵值資訊與操作命令的對應關係。 A remote control method for a terminal device, the method comprising: receiving a first remote control signal; analyzing the first remote control signal to determine first key value information corresponding to the first remote control signal; The key value information is used to search for an operation command corresponding to the first key value information in a first list; determining, according to the operation command, an open mouse operation mode; and receiving, when the terminal device is in a mouse operation mode, receiving one a second remote control signal; analyzing the second remote control signal to determine second key value information corresponding to the second remote control signal; searching for the second key value information in a second list according to the second key value information Corresponding operation command; processing the terminal device according to the operation command; wherein the first list and the second list are preset on the terminal device, and the first list is used to record the first The correspondence between the key value information and the operation command, and the second list is used to record the correspondence between the second key value information and the operation command. 如申請專利範圍第1項所述的終端設備的遙控方法,其特徵在於,根據所述第二鍵值資訊在所述第二清單中查找所述第二鍵值資訊對應的操作命令具體包括:根據該第二鍵值資訊以及該第二清單判斷對應的操作命令為第一滑鼠事件還是第二滑鼠事件;以及 所述操作命令為第一滑鼠事件,所述第一滑鼠事件為控制游標向上、下、左或右移動的動作,在所述第二列表中查找一預設距離和一預定速度;其中,所述預設距離和所述預定速度是預先保存在所述第二列表中。 The remote control method of the terminal device according to the first aspect of the present invention, wherein the operating command corresponding to the second key value information in the second list according to the second key value information comprises: Determining, according to the second key value information and the second list, whether the corresponding operation command is a first mouse event or a second mouse event; The operation command is a first mouse event, and the first mouse event is an action of controlling the cursor to move up, down, left or right, and searching for a preset distance and a predetermined speed in the second list; The preset distance and the predetermined speed are pre-stored in the second list. 如申請專利範圍第2項所述的終端設備的遙控方法,其特徵在於,所述根據所述操作命令對所述終端設備進行處理的步驟具體包括:當所述操作命令為第一滑鼠事件時,控制遊標按照所述預定速度向該第一滑鼠事件指示的一方向移動所述預設距離;以及當所述操作命令為第二滑鼠事件時,執行與遊標當前位置對應的功能。 The remote control method of the terminal device according to the second aspect of the invention, wherein the step of processing the terminal device according to the operation command comprises: when the operation command is a first mouse event And controlling the cursor to move the preset distance to a direction indicated by the first mouse event according to the predetermined speed; and when the operation command is a second mouse event, performing a function corresponding to a current position of the cursor. 如申請專利範圍第2項所述的終端設備的遙控方法,其特徵在於,接收到的所述第二遙控信號的一持續時間大於或等於一第二預定時間,所述第二遙控信號的持續時間與所述預設距離或所述預定速度的對應關係預先保存在所述第二列表中。 The remote control method of the terminal device according to claim 2, wherein the received second remote control signal has a duration greater than or equal to a second predetermined time, and the second remote control signal continues A correspondence between the time and the preset distance or the predetermined speed is previously saved in the second list. 如申請專利範圍第4項所述的終端設備的遙控方法,其特徵在於,所述第二遙控信號的持續時間與所述預設距離或所述預定速度的關係呈線性、階梯狀或曲線變化。 The remote control method of the terminal device according to claim 4, wherein the relationship between the duration of the second remote control signal and the preset distance or the predetermined speed is linear, stepwise or curved. . 如申請專利範圍第1項所述的終端設備的遙控方法,其特徵在於,所述方法還包括:根據所述第一鍵值資訊以及所述第一清單確定對應的操作命令為關閉滑鼠模式時,所述終端設備進入標準遙控器模式。 The remote control method of the terminal device according to claim 1, wherein the method further comprises: determining, according to the first key value information and the first list, a corresponding operation command to turn off the mouse mode The terminal device enters the standard remote control mode. 一種終端設備的遙控方法,其特徵在於,所述方法包括:接收一第一遙控信號;解析所述第一遙控信號以確定所述第一遙控信號對應的第一鍵值資 訊;根據所述第一鍵值資訊在一第一清單中查找所述第一鍵值資訊對應的操作命令;根據所述操作命令判斷開啟滑鼠操作模式;以及當所述終端設備處於滑鼠操作模式時,在一第一預定時間內依次接收第一組第二遙控信號;解析所述第一組第二遙控信號以確定所述第一組第二遙控信號對應的複數個相同的第二鍵值資訊;根據所述複數個第二鍵值資訊在一第二清單中查找所述複數個相同的第二鍵值資訊對應的操作命令;根據所述操作命令對所述終端設備進行處理;其中,所述第一列表和所述第二列表預先設定在所述終端設備上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係,所述第二清單用於記錄複數個第二鍵值資訊與操作命令的對應關係。 A remote control method for a terminal device, the method comprising: receiving a first remote control signal; parsing the first remote control signal to determine a first key value corresponding to the first remote control signal And searching for an operation command corresponding to the first key value information in a first list according to the first key value information; determining, according to the operation command, an open mouse operation mode; and when the terminal device is in a mouse In the operation mode, the first group of second remote control signals are sequentially received in a first predetermined time; the first group of second remote control signals are parsed to determine a plurality of identical seconds corresponding to the first group of second remote control signals Key operation information; searching for an operation command corresponding to the plurality of identical second key value information in a second list according to the plurality of second key value information; processing the terminal device according to the operation command; The first list and the second list are preset on the terminal device, and the first list is used to record a correspondence between the first key value information and an operation command, and the second list is used for recording The correspondence between the plurality of second key value information and the operation command. 如申請專利範圍第7項所述的終端設備的遙控方法,其特徵在於,所述操作命令為一第一滑鼠事件,所述第一滑鼠事件為控制游標向上、下、左或右移動的動作,所述方法還包括:在所述第二列表中查找所述第一預定時間與一預定速度和一預設距離的對應關係。 The remote control method of the terminal device according to claim 7, wherein the operation command is a first mouse event, and the first mouse event is to control the cursor to move up, down, left or right. And the method further includes: searching, in the second list, a correspondence between the first predetermined time and a predetermined speed and a preset distance. 如申請專利範圍第8項所述的終端設備的遙控方法,其特徵在於,所述根據所述操作命令對所述終端設備進行處理的步驟具體包括:每接收所述第一組的第二遙控信號之一時,根據得到的該預定速度和該預設距離控制遊標按照所述預定速度向該第一滑鼠事件指示的一方向移動所述預設距離。 The remote control method of the terminal device according to the eighth aspect of the invention, wherein the step of processing the terminal device according to the operation command specifically includes: receiving, by each second remote control of the first group And in one of the signals, controlling the cursor to move the preset distance to a direction indicated by the first mouse event according to the predetermined speed according to the obtained predetermined speed and the preset distance. 如申請專利範圍第9項所述的終端設備的遙控方法,其特徵在於,隨著所述第一組第二遙控信號的依次接收,遊標移動的所述預設距離遞增。 The remote control method of the terminal device according to claim 9, wherein the preset distance of the cursor movement is incremented as the first group of second remote control signals are sequentially received. 一種終端設備,其特徵在於,所述設備包括:接收器,用於接收一第一遙控信號和一第二遙控信號;記憶體,用於存儲一第一清單和一第二列表;處理器,耦接於所述接收器和所述記憶體,用於進行下列步驟:解析所述第一遙控信號以確定在所述第一遙控信號對應的第一鍵值資訊,根據所述第一鍵值資訊在所述第一清單中查找所述第一鍵值資訊對應的操作命令,根據所述操作命令判斷所述終端設備是否開啟滑鼠操作模式;解析所述第二遙控信號以確定在所述第二遙控信號對應的第二鍵值資訊;根據所述第二鍵值資訊在所述第二清單中查找所述第二鍵值資訊對應的操作命令;以及根據所述操作命令對所述終端設備進行處理;其中,所述第一列表和所述第二列表預先設定在所述記憶體上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係,所述第二清單用於記錄第二鍵值資訊與操作命令的對應關係。 A terminal device, comprising: a receiver, configured to receive a first remote control signal and a second remote control signal; a memory for storing a first list and a second list; a processor, And coupled to the receiver and the memory, configured to: parse the first remote control signal to determine first key value information corresponding to the first remote control signal, according to the first key value Searching, in the first list, an operation command corresponding to the first key value information, determining, according to the operation command, whether the terminal device starts a mouse operation mode; and parsing the second remote control signal to determine a second key value information corresponding to the second remote control signal; searching for an operation command corresponding to the second key value information in the second list according to the second key value information; and the terminal according to the operation command The device performs processing; wherein the first list and the second list are preset on the memory, and the first list is used to record a correspondence between the first key value information and an operation command, where The second list for the corresponding relationship record key information and the second operation command. 如申請專利範圍第11項所述的終端設備,其特徵在於,所述設備還包括一繪圖器,用於根據處理器的處理繪製遊標。 The terminal device of claim 11, wherein the device further comprises a plotter for drawing a cursor according to processing by the processor. 如申請專利範圍第11項所述的終端設備,其特徵在於,當所述處理器確定對應的操作命令為第一滑鼠事件,以及所述第一滑鼠事件為控制游標向上、下、左或右移動的動作時,所述處理器還回應所述第一滑鼠事件控制 遊標按照一預定速度向一方向移動預設距離。 The terminal device of claim 11, wherein the processor determines that the corresponding operation command is a first mouse event, and the first mouse event is a control cursor up, down, and left. Or the right movement action, the processor also responds to the first mouse event control The cursor moves the preset distance in one direction at a predetermined speed. 如申請專利範圍第13項所述的終端設備,其特徵在於,所述接收器接收到的所述第二遙控信號的一持續時間大於或等於一第二預定時間,並且所述第二遙控信號的持續時間與所述預設距離或所述預定速度的對應關係預先保存在所述第二列表中。 The terminal device of claim 13, wherein a duration of the second remote control signal received by the receiver is greater than or equal to a second predetermined time, and the second remote control signal The correspondence between the duration of the duration and the preset distance or the predetermined speed is previously saved in the second list. 如申請專利範圍第14項所述的終端設備,其特徵在於,所述持續時間與所述預設距離或所述預定速度的關係呈線性、階梯狀或曲線變化。 The terminal device according to claim 14, wherein the relationship between the duration and the preset distance or the predetermined speed is linear, stepped or curved. 如申請專利範圍第11項所述的終端設備,其特徵在於,當所述接收器在一第一預定時間內依次接收第一組第二遙控信號,所述處理器還用於:解析所述第一組第二遙控信號以確定在所述第二遙控信號對應的複數個相同的第二鍵值資訊;根據所述複數個第二鍵值資訊在所述第二清單中查找所述複數個相同的第二鍵值資訊對應的操作命令;以及根據所述操作命令對所述終端設備進行遙控處理;所述第一列表和所述第二列表預先設定在所述終端設備上,所述第一清單用於記錄第一鍵值資訊與操作命令的對應關係,所述第二清單用於記錄複數個第二鍵值資訊與操作命令的對應關係。 The terminal device of claim 11, wherein the receiver sequentially receives the first group of second remote control signals within a first predetermined time, the processor is further configured to: parse the a first set of second remote control signals to determine a plurality of identical second key value information corresponding to the second remote control signal; searching for the plurality of the second list based on the plurality of second key value information An operation command corresponding to the same second key value information; and remotely processing the terminal device according to the operation command; the first list and the second list are preset on the terminal device, the first A list is used for recording the correspondence between the first key value information and the operation command, and the second list is used for recording the correspondence between the plurality of second key value information and the operation command. 如申請專利範圍第16項所述的終端設備,其特徵在於,所述操作命令為第一滑鼠事件,所述第一滑鼠事件為控制游標向上、下、左或右移動的動作,所述處理器還在所述第二列表中查找所述第一預定時間與一預定速度和一預設距離的對應關係。 The terminal device of claim 16, wherein the operation command is a first mouse event, and the first mouse event is an action of controlling a cursor to move up, down, left or right. The processor further searches for the correspondence between the first predetermined time and a predetermined speed and a preset distance in the second list. 如申請專利範圍第17項所述的終端設備,其特徵在於,所述處理器在每 接收所述第一組的第二遙控信號之一時,就根據得到的該預定速度和該預設距離控制遊標按照所述預定速度向該第一滑鼠事件指示的一方向移動所述預設距離。 The terminal device according to claim 17, wherein the processor is in each Receiving one of the second remote control signals of the first group, controlling the cursor to move the preset distance to a direction indicated by the first mouse event according to the predetermined speed according to the obtained predetermined speed and the preset distance . 如申請專利範圍第18項所述的終端設備,其特徵在於,隨著第二遙控信號數量的增加,遊標移動預設距離遞增。 The terminal device according to claim 18, wherein the preset distance of the cursor movement increases as the number of the second remote control signals increases. 如申請專利範圍第11項所述的終端設備,其特徵在於,當所述處理器確定的操作命令為開啟滑鼠模式時,所述終端設備進入滑鼠操作模式;以及當所述處理器確定對應的操作命令為關閉滑鼠模式時,所述終端設備進入標準遙控器模式。 The terminal device of claim 11, wherein when the operation command determined by the processor is the mouse-on mode, the terminal device enters a mouse operation mode; and when the processor determines When the corresponding operation command is to turn off the mouse mode, the terminal device enters the standard remote controller mode.
TW104142151A 2015-12-15 2015-12-15 Terminal equipment and remote controlling method thereof TWI564753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104142151A TWI564753B (en) 2015-12-15 2015-12-15 Terminal equipment and remote controlling method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104142151A TWI564753B (en) 2015-12-15 2015-12-15 Terminal equipment and remote controlling method thereof

Publications (2)

Publication Number Publication Date
TWI564753B true TWI564753B (en) 2017-01-01
TW201721368A TW201721368A (en) 2017-06-16

Family

ID=58407777

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104142151A TWI564753B (en) 2015-12-15 2015-12-15 Terminal equipment and remote controlling method thereof

Country Status (1)

Country Link
TW (1) TWI564753B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI646835B (en) * 2017-06-06 2019-01-01 晨星半導體股份有限公司 Television program playing method and related terminal device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309854B (en) * 2017-07-26 2021-06-01 深圳市中兴微电子技术有限公司 System and method for automatically switching remote control mode and mouse mode based on scene

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100214218A1 (en) * 2009-02-20 2010-08-26 Nokia Corporation Virtual mouse
US20120013538A1 (en) * 2010-07-16 2012-01-19 Sunplus Technology Co., Ltd. Coordinated virtual input system
CN103197770A (en) * 2013-04-01 2013-07-10 深圳数字电视国家工程实验室股份有限公司 Method and device for TV (television) remote control simulating operation of mouse
CN103399705A (en) * 2013-07-19 2013-11-20 北京小米科技有限责任公司 Method, device and equipment for remotely controlling terminal equipment
TWM506315U (en) * 2015-03-26 2015-08-01 Agtop Technology Corp Input control system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100214218A1 (en) * 2009-02-20 2010-08-26 Nokia Corporation Virtual mouse
US20120013538A1 (en) * 2010-07-16 2012-01-19 Sunplus Technology Co., Ltd. Coordinated virtual input system
CN103197770A (en) * 2013-04-01 2013-07-10 深圳数字电视国家工程实验室股份有限公司 Method and device for TV (television) remote control simulating operation of mouse
CN103399705A (en) * 2013-07-19 2013-11-20 北京小米科技有限责任公司 Method, device and equipment for remotely controlling terminal equipment
TWM506315U (en) * 2015-03-26 2015-08-01 Agtop Technology Corp Input control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI646835B (en) * 2017-06-06 2019-01-01 晨星半導體股份有限公司 Television program playing method and related terminal device

Also Published As

Publication number Publication date
TW201721368A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
US10708534B2 (en) Terminal executing mirror application of a peripheral device
WO2017161904A1 (en) Method and device for displaying wallpaper image
US20120162101A1 (en) Control system and control method
US20120242577A1 (en) Method for positioning a cursor on a screen
US10089006B2 (en) Display apparatus and the method thereof
WO2017012378A1 (en) System for operating computer, wearable device and method for operating computer thereof
WO2013182089A1 (en) Object suspension realizing method and device
WO2015062437A1 (en) Browser-based method and device for indicating mode switch
KR101325026B1 (en) Control method for application execution terminal based on android platform using smart-terminal, and computer-readable recording medium for the same
CN108476339B (en) Remote control method and terminal
CN106325663A (en) Mobile terminal and screen capturing method thereof
US20130127754A1 (en) Display apparatus and control method thereof
CN108737888A (en) Display equipment, display system and the method for controlling display equipment
US20150046294A1 (en) Display apparatus, the method thereof and item providing method
CN105763904A (en) Method and apparatus for operating video play and control buttons of smart television set by using directional hand gestures
CN106254911A (en) A kind of control method and electronic equipment, control system
CN112328158A (en) Interactive method, display device, transmitting device, interactive system and storage medium
CN104881225A (en) Control method and device for adjusting bar
WO2016078251A1 (en) Projector playing control method, device, and computer storage medium
WO2017215671A1 (en) Method, apparatus and system for controlling access device
CN109600644B (en) Method for remotely controlling television browser, related equipment and computer program product
TWI564753B (en) Terminal equipment and remote controlling method thereof
KR20220100437A (en) Display apparatus and the control method thereof
CN105242865A (en) Input processing method, input processing apparatus and mobile terminal comprising apparatus
US20140215347A1 (en) Portable device and control method thereof

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees