CN108476339B - A remote control method and terminal - Google Patents
A remote control method and terminal Download PDFInfo
- Publication number
- CN108476339B CN108476339B CN201780004723.0A CN201780004723A CN108476339B CN 108476339 B CN108476339 B CN 108476339B CN 201780004723 A CN201780004723 A CN 201780004723A CN 108476339 B CN108476339 B CN 108476339B
- Authority
- CN
- China
- Prior art keywords
- terminal
- interface
- control
- display interface
- remote control
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/44—Receiver circuitry for the reception of television signals according to analogue transmission standards
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Selective Calling Equipment (AREA)
Abstract
本发明实施例提供一种遥控方法和终端。所述方法包括:第一终端显示第一控制界面,第一控制界面与第二终端当前输出的第一显示界面相一致,第二终端为被第一终端遥控的终端;第一显示界面显示至少两个图标;第一终端接收在第一控制界面上输入的第一触摸操作,第一触摸操作包括对第一控制界面中的第一图标的选择操作;第一终端根据第一触摸操作生成第一遥控指令,并将第一遥控指令发送给第二终端,第一遥控指令用于指示第二终端选择第一显示界面中与第一图标对应的图标;在接收到第一触摸操作之后,第一终端显示第二控制界面,第二控制界面与第二终端执行第一遥控指令之后输出的第二显示界面相一致。本实施例能够提高遥控操作的效率和便捷性。
Embodiments of the present invention provide a remote control method and terminal. The method includes: the first terminal displays a first control interface, the first control interface is consistent with the first display interface currently output by the second terminal, the second terminal is a terminal remotely controlled by the first terminal; the first display interface displays at least two icons; the first terminal receives a first touch operation input on the first control interface, where the first touch operation includes a selection operation on the first icon in the first control interface; the first terminal generates a first touch operation according to the first touch operation a remote control command, and send the first remote control command to the second terminal, where the first remote control command is used to instruct the second terminal to select the icon corresponding to the first icon in the first display interface; after receiving the first touch operation, the A terminal displays a second control interface, and the second control interface is consistent with the second display interface output after the second terminal executes the first remote control command. This embodiment can improve the efficiency and convenience of remote control operation.
Description
本申请要求于2016年12月30日提交中国专利局、申请号为201611265792.0、发明名称为“一种智能终端遥控电视的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 30, 2016 with the application number 201611265792.0 and the title of the invention is "a method and device for remote control of a TV by an intelligent terminal", the entire contents of which are incorporated by reference in in this application.
技术领域technical field
本发明实施例涉及通信技术,尤其涉及一种遥控方法和终端。Embodiments of the present invention relate to communication technologies, and in particular, to a remote control method and terminal.
背景技术Background technique
随着网络技术的发展,用户可以通过智能电视或者网络协议电视(InternetProtocol Television,简称为:IPTV)或者机顶盒观看到丰富的视频内容,并可以对视频内容进行点播、回看或者管理。With the development of network technology, users can watch rich video content through smart TV or Internet Protocol Television (IPTV for short) or set-top box, and can on-demand, review or manage the video content.
在对视频内容进行点播、回看或管理时,通常需要使用遥控器操作电视或者机顶盒。现有技术中,遥控器一般包括一些功能按键和方向按键。当用户希望从给一个电视界面切换到另一个电视界面时,或者当用户希望从多个节目选项中选择一个节目时,通常需要对遥控器的按键进行多次操作。由此使得遥控器的操作繁琐,给用户造成操作不便。When on-demand, playback or management of video content, it is usually necessary to use a remote control to operate a TV or a set-top box. In the prior art, a remote control generally includes some function buttons and direction buttons. When the user wants to switch from one TV interface to another TV interface, or when the user wants to select a program from multiple program options, it is usually necessary to perform multiple operations on the keys of the remote control. As a result, the operation of the remote controller is complicated, and the operation is inconvenient for the user.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种遥控方法和终端,能够提高遥控操作的效率和便捷性。Embodiments of the present invention provide a remote control method and terminal, which can improve the efficiency and convenience of remote control operations.
第一方面,本发明实施例提供一种遥控方法,所述方法应用于具有触摸屏的第一终端。所述第一终端通过所述方法遥控所述第二终端。所述方法包括:所述第一终端显示第一控制界面,所述第一控制界面与第二终端当前输出的第一显示界面相一致;所述第一显示界面显示至少两个图标,所述第一控制界面显示的图标的数量和排布方式分别与所述第一显示界面显示的图标的数量和排布方式相同;且所述第一控制界面显示的图标与所述第一显示界面显示的图标一一对应;所述第一终端接收在所述第一控制界面上输入的第一触摸操作,所述第一触摸操作至少包括对所述第一控制界面中的第一图标的选择操作;所述第一终端根据所述第一触摸操作生成第一遥控指令;所述第一终端将所述第一遥控指令发送给所述第二终端,所述第一遥控指令用于指示所述第二终端选择所述第一显示界面中与所述第一图标对应的图标;在接收到所述第一触摸操作之后,所述第一终端显示第二控制界面,所述第二控制界面与所述第二终端输出的第二显示界面相一致,所述第二显示界面为所述第二终端执行所述第一遥控指令之后输出的显示界面。第一终端显示的控制界面可以跟随第二终端输出的显示界面的变化而变化,并且所述控制界面的布局是与当前的显示界面相一致的,由此用户可以在控制界面上通过少量的触摸操作即可控制第二终端的显示界面,从而使得遥控器的使用更加方便。In a first aspect, an embodiment of the present invention provides a remote control method, and the method is applied to a first terminal having a touch screen. The first terminal remotely controls the second terminal through the method. The method includes: the first terminal displays a first control interface, the first control interface is consistent with the first display interface currently output by the second terminal; the first display interface displays at least two icons, the The number and arrangement of icons displayed on the first control interface are respectively the same as the number and arrangement of icons displayed on the first display interface; and the icons displayed on the first control interface are the same as those displayed on the first display interface. One-to-one correspondence between the icons; the first terminal receives a first touch operation input on the first control interface, and the first touch operation at least includes a selection operation on the first icon in the first control interface ; the first terminal generates a first remote control command according to the first touch operation; the first terminal sends the first remote control command to the second terminal, and the first remote control command is used to instruct the The second terminal selects the icon corresponding to the first icon in the first display interface; after receiving the first touch operation, the first terminal displays a second control interface, the second control interface and the The second display interface output by the second terminal is consistent, and the second display interface is the display interface output after the second terminal executes the first remote control command. The control interface displayed by the first terminal can change with the change of the display interface output by the second terminal, and the layout of the control interface is consistent with the current display interface, so that the user can touch the control interface with a small amount of touch. The display interface of the second terminal can be controlled by the operation, thereby making the use of the remote controller more convenient.
可选的,所述第一终端根据所述第一触摸操作生成第一遥控指令具体包括:所述第一终端获取所述第一图标被选择之前的光标初始位置,然后根据所述光标初始位置和所述第一图标所在的位置,生成所述第一遥控指令。Optionally, the generating, by the first terminal, the first remote control command according to the first touch operation specifically includes: the first terminal acquiring the initial position of the cursor before the first icon is selected, and then obtaining the initial position of the cursor according to the initial position of the cursor. and the position where the first icon is located to generate the first remote control instruction.
可选的,所述第一触摸操作还包括在所述第一图标被选择之前,所述光标初始位置对应的第二图标被选择的操作,所述第二图标包含在所述第一控制界面中;所述光标初始位置为所述第一显示界面上的光标初始位置。光标初始位置的获取方式可以有多种。Optionally, the first touch operation further includes an operation of selecting a second icon corresponding to the initial position of the cursor before the first icon is selected, and the second icon is included in the first control interface in; the initial position of the cursor is the initial position of the cursor on the first display interface. There are many ways to obtain the initial position of the cursor.
可选的,所述第二显示界面为可编辑的输入界面,所述第二控制界面为包括软键盘的输入界面。所述第二控制界面中的所述软键盘的界面布局与所述第二显示界面中的软键盘的界面布局相同或不同。所述第二控制界面中可以包括与第二显示界面相同的软键盘,也可以包括不同的软键盘,例如第二控制界面可以包括更方便操作的软键盘。Optionally, the second display interface is an editable input interface, and the second control interface is an input interface including a soft keyboard. The interface layout of the soft keyboard in the second control interface is the same as or different from the interface layout of the soft keyboard in the second display interface. The second control interface may include the same soft keyboard as the second display interface, or may include different soft keyboards. For example, the second control interface may include a soft keyboard that is more convenient to operate.
可选的,所述方法还包括:所述第一终端接收在所述第二控制界面的软键盘上输入的第二触摸操作,所述第二触摸操作包括对所述第二控制界面的软键盘上的第一字符的选择操作;所述第一终端根据所述第二触摸操作生成第二遥控指令;所述第一终端将所述第二遥控指令发送给所述第二终端,所述第二遥控指令用于指示所述第二终端在所述第二显示界面中输入所述第一字符。通过在第一终端的软键盘上的触摸操作,可以方便的在第二终端中输入字符。Optionally, the method further includes: receiving, by the first terminal, a second touch operation input on a soft keyboard of the second control interface, where the second touch operation includes a soft touch operation on the second control interface. selection operation of the first character on the keyboard; the first terminal generates a second remote control command according to the second touch operation; the first terminal sends the second remote control command to the second terminal, the The second remote control instruction is used to instruct the second terminal to input the first character in the second display interface. Through the touch operation on the soft keyboard of the first terminal, characters can be conveniently input in the second terminal.
可选的,所述在接收到所述第一触摸操作之后,所述第一终端显示第二控制界面,具体包括:所述第一终端从所述第一终端的存储器中获取所述第一触摸操作对应的所述第二控制界面;所述第一终端显示所述第二控制界面。所述第一终端中可以预先存储所述第二控制界面。Optionally, after the first touch operation is received, the first terminal displays a second control interface, which specifically includes: the first terminal acquires the first control interface from a memory of the first terminal. The second control interface corresponding to the touch operation; the first terminal displays the second control interface. The second control interface may be pre-stored in the first terminal.
可选的,在所述第一终端将所述第一遥控指令发送给所述第二终端之后,所述方法还包括:所述第一终端向所述第二终端发送界面信息请求;所述第一终端接收所述第二终端发送的所述第二显示界面的界面信息;所述第一终端根据所述界面信息显示所述第二控制界面。当所述第一终端总没有预先存储所述第二控制界面时,可以向第二终端请求该第二控制界面。Optionally, after the first terminal sends the first remote control instruction to the second terminal, the method further includes: the first terminal sends an interface information request to the second terminal; the The first terminal receives the interface information of the second display interface sent by the second terminal; the first terminal displays the second control interface according to the interface information. When the first terminal does not store the second control interface in advance, the second control interface may be requested from the second terminal.
可选的,在所述第一终端将所述第一遥控指令发送给所述第二终端之后,所述方法还包括:所述第一终端接收用于启动拍照的操作;所述第一终端通过拍照获取具有所述第二显示界面的图片;所述第一终端识别所述第二显示界面的图片中的内容,并将识别出的所述内容作为所述第二控制界面进行显示。当所述第一终端总没有预先存储所述第二控制界面时,第一终端可以通过拍照的方式获取该第二控制界面。Optionally, after the first terminal sends the first remote control command to the second terminal, the method further includes: the first terminal receiving an operation for starting a photograph; the first terminal A picture with the second display interface is acquired by taking a photo; the first terminal identifies the content in the picture of the second display interface, and displays the identified content as the second control interface. When the first terminal does not store the second control interface in advance, the first terminal may acquire the second control interface by taking a picture.
可选的,所述第二控制界面与所述第二终端输出的第二显示界面相一致具体包括以下任意一种。第一种:当所述第二显示界面包括至少两个图标时,所述第二控制界面显示的图标的数量与所述第二显示界面显示的图标的数量相同,所述第二控制界面显示的图标的排布方式与所述第二显示界面显示的图标的排布方式相同,所述第二控制界面显示的图标与所述第二显示界面显示的图标一一对应。第二种:当所述第二显示界面为可编辑的输入界面时,所述第二控制界面为包括软键盘的输入界面。第三种:当所述第二显示界面为音视频播放界面时,所述第二控制界面包括以下任意一种或多种:音量控制项、播放进度控制项、播放/停止控制项。Optionally, the second control interface that is consistent with the second display interface output by the second terminal specifically includes any one of the following. The first type: when the second display interface includes at least two icons, the number of icons displayed on the second control interface is the same as the number of icons displayed on the second display interface, and the second control interface displays The arrangement of the icons is the same as the arrangement of the icons displayed on the second display interface, and the icons displayed on the second control interface are in one-to-one correspondence with the icons displayed on the second display interface. The second type: when the second display interface is an editable input interface, the second control interface is an input interface including a soft keyboard. The third type: when the second display interface is an audio and video playback interface, the second control interface includes any one or more of the following: volume control items, playback progress control items, and play/stop control items.
可选的,所述方法还包括:在所述第一终端显示所述第一控制界面之前,所述第一终端显示至少两个控制界面的缩略图或者图标;所述第一终端接收第三触摸操作;所述第一终端根据所述第三触摸操作,从所述至少两个控制界面中选择所述第一控制界面进行显示。可以通过所述第三触摸操作来触发所述第一终端显示所述第一控制界面。Optionally, the method further includes: before the first terminal displays the first control interface, the first terminal displays thumbnail images or icons of at least two control interfaces; the first terminal receives a third touch operation; the first terminal selects the first control interface from the at least two control interfaces to display according to the third touch operation. The first terminal may be triggered to display the first control interface through the third touch operation.
可选的,当第二终端为电视或类似的显示设备时,所述第一显示界面和所述第二显示界面由所述第二终端显示。当第二终端为机顶盒或类似的设备时,所述第一显示界面和所述第二显示界面由所述第二终端输出给外接设备进行显示,该外界设备可以为电视、电脑或类似的显示设备。Optionally, when the second terminal is a television or a similar display device, the first display interface and the second display interface are displayed by the second terminal. When the second terminal is a set-top box or similar device, the first display interface and the second display interface are output by the second terminal to an external device for display, and the external device may be a TV, a computer or similar display equipment.
可选的,所述第一终端通过以下任一通信方式向所述第二终端发送所述遥控指令:红外、蓝牙、Wi-Fi和NFC。Optionally, the first terminal sends the remote control instruction to the second terminal through any one of the following communication modes: infrared, Bluetooth, Wi-Fi and NFC.
可选的,所述第一终端为手机或平板电脑,所述第二终端为电视或机顶盒。Optionally, the first terminal is a mobile phone or a tablet computer, and the second terminal is a TV or a set-top box.
可选的,所述方法还包括:所述第一终端识别用户的手势,所述第一终端将所述手势转换为第三遥控指令,并将所述第三遥控指令发送给所述第二终端。即所述第一终端在遥控第二终端的过程中,可以通过识别用户的手势来执行相应的遥控操作。Optionally, the method further includes: the first terminal recognizes the user's gesture, the first terminal converts the gesture into a third remote control command, and sends the third remote control command to the second terminal. That is, during the process of remotely controlling the second terminal, the first terminal may perform a corresponding remote control operation by recognizing the user's gesture.
可选的,所述方法还包括:所述第一终端识别用户的语音,所述第一终端将所述语音转换为第四遥控指令,并将所述第四遥控指令发送给所述第二终端。所述第一终端还可以通过用户的语音来控制第二终端。Optionally, the method further includes: the first terminal recognizes the user's voice, the first terminal converts the voice into a fourth remote control command, and sends the fourth remote control command to the second terminal. The first terminal may also control the second terminal through the user's voice.
第二方面,本发明实施例提供一种第一终端,所述第一终端用于遥控第二终端,所述第一终端包括:触摸屏;一个或多个处理器;一个或多个存储器,所述一个或多个存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述第一终端执行时,使得所述第一终端执行上述第一方面中所述的任一方法。In a second aspect, an embodiment of the present invention provides a first terminal, where the first terminal is used to remotely control a second terminal, and the first terminal includes: a touch screen; one or more processors; One or more computer programs are stored in the one or more memories, and the one or more computer programs include instructions that, when the instructions are executed by the first terminal, cause the first terminal to execute the above-mentioned first terminal. Any of the methods described in the aspects.
第三方面,本发明实施例提供一种图形用户界面(GUI),所述GUI存储在第一终端中。所述第一终端包括触摸屏、一个或多个存储器、一个或多个处理器,所述一个或多个处理器用于执行存储在所述一个或多个存储器中的一个或多个计算机程序。所述GUI包括:在所述触摸屏显示的第一GUI,所述第一GUI与第二终端当前输出的第一显示界面相一致,所述第二终端为被所述第一终端遥控的终端;所述第一显示界面显示至少两个图标,所述第一GUI显示的图标的数量与所述第一显示界面显示的图标的数量相同,所述第一GUI显示的图标的排布方式与所述第一显示界面显示的图标的排布方式相同,所述第一GUI显示的图标与所述第一显示界面显示的图标一一对应;响应于用户在所述触摸屏上的第一手势,根据所述第一手势生成第一遥控指令,并将所述第一遥控指令发送给所述第二终端;所述第一手势包括对所述第一GUI中的第一图标的选择操作,所述第一遥控指令用于指示所述第二终端选择所述第一显示界面中与所述第一图标对应的图标;响应于用户在所述触摸屏上的所述第一手势或第三手势,在所述触摸屏中显示第二GUI,所述第二GUI与所述第二终端输出的第二显示界面相一致,所述第二显示界面为所述第二终端执行所述第一遥控指令之后输出的显示界面。In a third aspect, an embodiment of the present invention provides a graphical user interface (GUI), where the GUI is stored in the first terminal. The first terminal includes a touch screen, one or more memories, and one or more processors for executing one or more computer programs stored in the one or more memories. The GUI includes: a first GUI displayed on the touch screen, the first GUI is consistent with a first display interface currently output by a second terminal, and the second terminal is a terminal remotely controlled by the first terminal; The first display interface displays at least two icons, the number of icons displayed on the first GUI is the same as the number of icons displayed on the first display interface, and the arrangement of the icons displayed on the first GUI is the same as that of the icons displayed on the first GUI. The icons displayed on the first display interface are arranged in the same manner, and the icons displayed on the first GUI correspond one-to-one with the icons displayed on the first display interface; in response to the user's first gesture on the touch screen, according to The first gesture generates a first remote control command, and sends the first remote control command to the second terminal; the first gesture includes a selection operation on a first icon in the first GUI, the The first remote control instruction is used to instruct the second terminal to select an icon corresponding to the first icon in the first display interface; in response to the user's first gesture or third gesture on the touch screen, A second GUI is displayed on the touch screen, the second GUI is consistent with the second display interface output by the second terminal, and the second display interface is output after the second terminal executes the first remote control command display interface.
可选的,所述第二显示界面为可编辑的输入界面,所述第二GUI为包括软键盘的输入界面。所述第二GUI中的所述软键盘的界面布局与所述第二显示界面中的软键盘的界面布局相同或不同。Optionally, the second display interface is an editable input interface, and the second GUI is an input interface including a soft keyboard. The interface layout of the soft keyboard in the second GUI is the same as or different from the interface layout of the soft keyboard in the second display interface.
可选的,所述GUI还包括:响应于用户在所述第二GUI的软键盘上输入的第二手势,根据所述第二手势生成第二遥控指令,并将所述第二遥控指令发送给所述第二终端;所述第二手势包括对所述第二GUI的软键盘上的第一字符的选择操作,所述第二遥控指令用于指示所述第二终端在所述第二显示界面中输入所述第一字符。Optionally, the GUI further includes: in response to a second gesture input by the user on the soft keyboard of the second GUI, generating a second remote control instruction according to the second gesture, and sending the second remote control instruction to the user. sending an instruction to the second terminal; the second gesture includes a selection operation on a first character on the soft keyboard of the second GUI, and the second remote control instruction is used to instruct the second terminal to The first character is input in the second display interface.
可选的,所述第二GUI与所述第二终端输出的第二显示界面相一致。具体可以参见前述关于第二控制界面与所述第二终端输出的第二显示界面相一致的描述。Optionally, the second GUI is consistent with the second display interface output by the second terminal. For details, refer to the foregoing description that the second control interface is consistent with the second display interface output by the second terminal.
第四方面,本发明实施例提供一种第一终端,其特征在于,所述第一终端用于遥控第二终端,所述第一终端包括:显示单元、输入单元、控制单元和发送单元。所述显示单元,用于显示第一控制界面,所述第一控制界面与第二终端当前输出的第一显示界面相一致,所述第二终端为被所述第一终端遥控的终端;所述第一显示界面显示至少两个图标,所述第一控制界面显示的图标的数量与所述第一显示界面显示的图标的数量相同,所述第一控制界面显示的图标的排布方式与所述第一显示界面显示的图标的排布方式相同,所述第一控制界面显示的图标与所述第一显示界面显示的图标一一对应。所述输入单元,用于接收在所述第一控制界面上输入的第一触摸操作,所述第一触摸操作包括对所述第一控制界面中的第一图标的选择操作。所述控制单元,用于根据所述输入单元接收的所述第一触摸操作生成第一遥控指令。所述发送单元,用于将所述第一遥控指令发送给所述第二终端,所述第一遥控指令用于指示所述第二终端选择所述第一显示界面中与所述第一图标对应的图标。所述显示单元还用于,在接收到所述第一触摸操作之后,显示第二控制界面,所述第二控制界面与所述第二终端输出的第二显示界面相一致,所述第二显示界面为所述第二终端执行所述第一遥控指令之后输出的显示界面。所述第一终端包括的各个单元用于实现上述第一方面中的各方法,所述各个单元可以通过硬件或软件实现。In a fourth aspect, an embodiment of the present invention provides a first terminal, wherein the first terminal is used to remotely control a second terminal, and the first terminal includes: a display unit, an input unit, a control unit, and a sending unit. the display unit is configured to display a first control interface, the first control interface is consistent with the first display interface currently output by the second terminal, and the second terminal is a terminal remotely controlled by the first terminal; The first display interface displays at least two icons, the number of icons displayed on the first control interface is the same as the number of icons displayed on the first display interface, and the icons displayed on the first control interface are arranged in the same manner as The icons displayed on the first display interface are arranged in the same manner, and the icons displayed on the first control interface are in one-to-one correspondence with the icons displayed on the first display interface. The input unit is configured to receive a first touch operation input on the first control interface, where the first touch operation includes a selection operation of a first icon in the first control interface. The control unit is configured to generate a first remote control instruction according to the first touch operation received by the input unit. The sending unit is configured to send the first remote control command to the second terminal, where the first remote control command is used to instruct the second terminal to select the first icon in the first display interface and the first icon corresponding icon. The display unit is further configured to, after receiving the first touch operation, display a second control interface, where the second control interface is consistent with the second display interface output by the second terminal, and the second control interface is consistent with the second display interface output by the second terminal. The display interface is a display interface output after the second terminal executes the first remote control command. Each unit included in the first terminal is used to implement each method in the first aspect, and each unit may be implemented by hardware or software.
第五方面,本发明实施例提供一种遥控装置,包含在第一终端中,该装置具有实现上述第一方面所述的各方法中第一终端行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块或单元。In a fifth aspect, an embodiment of the present invention provides a remote control device included in a first terminal, where the device has a function of implementing the behavior of the first terminal in each method described in the first aspect. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
第六方面,本发明实施例提供一种包含指令的计算机程序产品,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行上述第一方面所述的方法。In a sixth aspect, an embodiment of the present invention provides a computer program product including instructions, which, when the computer program product runs on an electronic device, causes the electronic device to execute the method described in the first aspect.
第七方面,本发明实施例提供一种计算机可读存储介质,包括指令,当所述指令在电子设备上运行时,使得所述电子设备执行上述第一方面所述的方法。In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, including instructions, which, when the instructions are executed on an electronic device, cause the electronic device to execute the method described in the first aspect.
第八方面,本发明实施例还提供了一种数据处理系统,包括用于执行上述第一方面提供的各方法的模块。In an eighth aspect, an embodiment of the present invention further provides a data processing system, including modules for executing the methods provided in the first aspect.
附图说明Description of drawings
图1为本发明实施例提供的终端的部分结构框图;1 is a partial structural block diagram of a terminal provided by an embodiment of the present invention;
图2A为本发明实施例提供的遥控方法的场景示意图;2A is a schematic diagram of a scene of a remote control method provided by an embodiment of the present invention;
图2B为本发明实施例提供的一种遥控方法的流程图;2B is a flowchart of a remote control method provided by an embodiment of the present invention;
图3为本发明实施例提供的第一终端的界面示意图;3 is a schematic interface diagram of a first terminal provided by an embodiment of the present invention;
图4A-图4E为本发明实施例提供的遥控界面的示意图;4A-4E are schematic diagrams of a remote control interface provided by an embodiment of the present invention;
图5为本发明实施例提供的一种遥控方法的界面示意图;5 is a schematic interface diagram of a remote control method provided by an embodiment of the present invention;
图6为本发明实施例提供的另一种遥控界面的示意图;6 is a schematic diagram of another remote control interface provided by an embodiment of the present invention;
图7为本发明实施例提供的另一种遥控界面的示意图;7 is a schematic diagram of another remote control interface provided by an embodiment of the present invention;
图8A和图8B为本发明实施例提供的另一种遥控界面的示意图;8A and 8B are schematic diagrams of another remote control interface provided by an embodiment of the present invention;
图9为本发明实施例提供的另一种遥控界面的示意图;9 is a schematic diagram of another remote control interface provided by an embodiment of the present invention;
图10为本发明实施例提供的另一种遥控界面的示意图;10 is a schematic diagram of another remote control interface provided by an embodiment of the present invention;
图11为本发明实施例提供的另一种遥控方法的流程图;11 is a flowchart of another remote control method provided by an embodiment of the present invention;
图12为本发明实施例提供的一种通过手势进行遥控的方法的流程图。FIG. 12 is a flowchart of a method for remote control through gestures provided by an embodiment of the present invention.
具体实施方式Detailed ways
在使用电视、机顶盒或者其它类似终端观看音视频节目时,现有一般通过普通的遥控器来控制电视、机顶盒或其它类似终端。通过本发明各实施例提供的遥控方法,可以使用一个具有触摸屏的终端代替普通遥控器对电视、机顶盒或类似的终端进行控制。该终端例如可以为:移动电话、平板电脑(Tablet Personal Computer)、膝上型电脑(LaptopComputer)、数码相机、个人数字助理(personal digital assistant,简称PDA)、导航装置、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。When using a TV, a set-top box, or other similar terminals to watch audio and video programs, conventional remote controls are generally used to control the TV, the set-top box, or other similar terminals. With the remote control methods provided by the embodiments of the present invention, a terminal with a touch screen can be used to control a TV, a set-top box or a similar terminal instead of a common remote control. The terminal may be, for example, a mobile phone, a Tablet Personal Computer, a Laptop Computer, a digital camera, a personal digital assistant (PDA), a navigation device, a Mobile Internet Device , MID) or wearable device (Wearable Device), etc.
图1为本发明实施例提供的终端的部分结构框图。该终端以手机100为例进行说明。参考图1,手机100包括:射频(Radio Frequency,RF)电路110、电源120、处理器130、存储器140、输入单元150、显示单元160、摄像头165、传感器170、音频电路180、无线保真(wireless fidelity,Wi-Fi)模块190、红外发射器192、以及蓝牙模块194等部件。本领域技术人员可以理解,图1中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 1 is a partial structural block diagram of a terminal provided by an embodiment of the present invention. The terminal is described by taking the
下面结合图1对手机100的各个构成部件进行具体的介绍:In the following, each component of the
RF电路110可用于收发信息或在通话过程中进行信号的接收和发送。例如:RF电路110可以将从基站接收的下行数据发送给处理器130处理,并把上行数据发送给基站。通常,RF电路包括但不限于RF芯片、天线、至少一个放大器、收发信机、耦合器、低噪声放大器(LowNoise Amplifier,LNA)、双工器、射频开关等。此外,RF电路110还可以与网络和其他设备进行无线通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General PacketRadio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The
存储器140可用于存储软件程序以及模块,处理器130通过运行存储在存储器140的软件程序以及模块,从而执行手机100的各种功能应用以及数据处理。存储器140可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图象播放功能等)等;存储数据区可存储根据手机100的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器140可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
输入单元150可用于接收输入的数字或字符信息,以及产生与手机100的用户设置以及功能控制有关的键信号输入。具体地,输入单元150可包括触控面板151以及其他输入设备152。触控面板151,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板151上或在触控面板151附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板151可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器130,并能接收处理器130发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板151。除了触控面板151,输入单元150还可以包括其他输入设备152。具体地,其他输入设备152可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The
显示单元160可用于显示由用户输入的信息或提供给用户的信息以及手机100的各种菜单和界面。显示单元160可包括显示面板161,可选的,可以采用液晶显示屏(liquidcrystal display,简称为LCD)、机电激光显示(organic light-emitting diode,简称为OLED)等形式来配置显示面板161。进一步的,触控面板151可覆盖显示面板161,当触控面板151检测到在其上或附近的触摸操作后,传送给处理器130以确定触摸事件的类型,随后处理器130根据触摸事件的类型在显示面板161上提供相应的视觉输出。虽然在图1中,触控面板151与显示面板161是作为两个独立的部件来实现手机100的输入和输入功能,但是在某些实施例中,可以将触控面板151与显示面板161集成而实现手机100的输入和输出功能。The
手机100还可包括一个或多个摄像头165。摄像头165可用于捕捉和拍摄图像。手机100中可以包括一个或多个前置摄像头以及一个或多个后置摄像头。
手机100还可包括至少一种传感器170,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板161的亮度,接近传感器可在手机100移动到耳边时,关闭显示面板161和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。手机100还可以配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The
音频电路180、扬声器181、麦克风182可提供用户与手机100之间的音频接口。音频电路180可将接收到的音频数据转换后的电信号,传输到扬声器181,由扬声器181转换为声音信号输出;另一方面,麦克风182将收集的声音信号转换为电信号,由音频电路180接收后转换为音频数据,再将音频数据输出至RF电路110以发送给比如另一手机,或者将音频数据输出至存储器140以便进一步处理。The
Wi-Fi、红外和蓝牙均属于短距离无线传输技术。手机100通过Wi-Fi模块190可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。手机100可以通过红外发射器192在一定范围内向外发射红外光。手机可以通过蓝牙模块194与外部设备进行通信。Wi-Fi, infrared and Bluetooth are all short-range wireless transmission technologies. Through the Wi-
处理器130是手机100的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器140内的软件程序和/或模块,以及调用存储在存储器140内的数据,执行手机100的各种功能和处理数据,从而实现基于手机的多种业务。可选的,处理器130可包括一个或多个处理单元;优选的,处理器130可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器130中。The
本发明实施例中,处理器130可以执行存储器140中存储的程序指令,使得手机作为第一终端执行以下任一实施例所示的方法。In this embodiment of the present invention, the
手机100还包括给各个部件供电的电源120(比如电池),优选的,电源可以通过电源管理系统与处理器130逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗等功能。The
下面结合附图,对本发明实施例提供的遥控方法进行详细说明。其中,将上述能够替代遥控器的终端称为第一终端,将上述被遥控的电视、机顶盒或类似的终端称为第二终端。图2A为本发明实施例提供的遥控方法的场景示意图。图2B为本发明实施例提供的一种遥控方法的流程图。The remote control method provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The above-mentioned terminal that can replace the remote control is called the first terminal, and the above-mentioned remote-controlled TV, set-top box or similar terminal is called the second terminal. FIG. 2A is a schematic diagram of a scenario of a remote control method provided by an embodiment of the present invention. FIG. 2B is a flowchart of a remote control method provided by an embodiment of the present invention.
如图2A所示,第一终端100可以通过本发明实施例提供的遥控方法对第二终端200进行控制。需要说明的是,本发明实施例提供的遥控方法与已有的遥控方法并不冲突,即所述第二终端200也可以同时被普通遥控器300进行控制。As shown in FIG. 2A , the
图3为本发明实施例提供的第一终端的界面示意图。图4A-图4E为本发明实施例提供的遥控界面的示意图。如图3所示,第一终端上可以安装多个应用程序,其中可以包括遥控应用程序400。在该遥控应用程序400被打开之后,第一终端可以使用该遥控应用程序400对第二终端进行控制。如图2B所示,在使用第一终端遥控第二终端时,该遥控方法包括以下步骤。FIG. 3 is a schematic interface diagram of a first terminal according to an embodiment of the present invention. 4A-4E are schematic diagrams of a remote control interface provided by an embodiment of the present invention. As shown in FIG. 3 , a plurality of application programs may be installed on the first terminal, which may include a remote
步骤201、所述第一终端显示第一控制界面。如图4D所示,所述第二终端当前输出所述第一显示界面401,所述第一显示界面显示至少两个图标402。图4D中示例性的显示6个图标402。其中,所述第一控制界面410与所述第一显示界面401相一致,具体可以为:所述第一控制界面410显示的图标412的数量与所述第一显示界面401显示的图标402的数量相同;所述第一控制界面410显示的图标的排布方式与所述第一显示界面401显示的图标的排布方式相同;并且,所述第一控制界面显示的图标与所述第一显示界面显示的图标一一对应。其中,由于所述第一控制界面和所述第一显示界面的大小和形状可能差别很大,所以第一控制界面中显示的内容相对于所述第一显示界面中显示的内容,可以进行缩放或尺寸的适配。并且所述第一控制界面410中的图标的标识与所述第一显示界面401中的图标的标识可以相同(如图4D所示),也可以不同(如图4E所示)。所述第一显示界面可以有多种形式,图4D仅为示例性说明。例如:如图9所述,第一显示界面901可以为别的形式,相应的第一控制界面910是与第一显示界面901相对应的形式。通过图9所示的界面,可以对1月1日-1月7日这七天内播放的节目进行回看。Step 201: The first terminal displays a first control interface. As shown in FIG. 4D , the second terminal currently outputs the
需要说明的是,基于所述第一显示界面,所述第一终端上显示所述第一控制界面。也就是说,本发明实施例并不是将第一终端上显示的界面投屏到第二终端上。并且,在使用所述第一终端对所述第二终端进行控制时,第二终端也可以同时被普通的遥控器所控制,如图2A所示。It should be noted that, based on the first display interface, the first control interface is displayed on the first terminal. That is to say, the embodiment of the present invention does not project the interface displayed on the first terminal to the second terminal. Moreover, when using the first terminal to control the second terminal, the second terminal can also be controlled by an ordinary remote controller at the same time, as shown in FIG. 2A .
步骤202、所述第一终端接收在所述第一控制界面上输入的第一触摸操作。其中,所述第一触摸操作可以包括对所述第一控制界面中的第一图标的选择操作。所述第一触摸操作可以为一个或多个触摸操作。即,用户可以在所述第一控制界面上进行一个或多个触摸操作。Step 202: The first terminal receives a first touch operation input on the first control interface. Wherein, the first touch operation may include a selection operation of a first icon in the first control interface. The first touch operation may be one or more touch operations. That is, the user can perform one or more touch operations on the first control interface.
步骤203、所述第一终端根据所述第一触摸操作生成第一遥控指令,并将所述第一遥控指令发送给所述第二终端。其中,所述第一遥控指令用于指示所述第二终端选择所述第一显示界面中与所述第一图标对应的图标。Step 203: The first terminal generates a first remote control instruction according to the first touch operation, and sends the first remote control instruction to the second terminal. The first remote control instruction is used to instruct the second terminal to select an icon corresponding to the first icon in the first display interface.
具体的,所述第一终端生成所述第一遥控指令的过程可以包括:所述第一终端获取所述第一图标被选择之前的光标初始位置;然后所述第一终端根据所述光标初始位置和所述第一图标所在的位置,生成所述第一遥控指令。如图5(a)所示的所述第一显示界面401,光标初始位置在图标4021处。所述第二终端可以将所述光标初始位置在所述第一显示界面401中的相对位置发送给所述第一终端,使得所述第一终端获取到所述光标初始位置在所述第一控制界面上对应第二图标4121;或者,所述第一终端可以接收用户在第二图标4121上的触摸操作,以识别出所述光标初始位置对应该第二图标4121;或者,在进入所述第一控制界面410时,所述光标初始位置默认为在第二图标4121处,第一终端在进入所述第一控制界面410时可以获取到该默认的位置。所述第二终端获取所述光标初始位置对应第二图标4121之后,可以在所述第一控制界面410上显示所述光标初始位置,如图5(b)所示。当用户希望选择所述第一显示界面中的图标4023时,用户可以在所述第一控制界面410上选择与所述图标4023对应的第一图标4123,如图5(c)所示。所述第一终端获取到所述第一图标4123被选择之后,根据所述初始位置和所述第一图标4123所在的位置,生成所述第一遥控指令,并将所述第一遥控指令发送给所述第二终端。所述第二终端根据所述第一遥控指令,选择所述图标4023,如图5(d)所示。所述第二图标包含在所述第一控制界面中。所述光标初始位置指的是在进入所述第一显示界面时,光标所在的位置。或者,所述光标初始位置指的是所述第二终端在接收到所述第一遥控指令之前,光标所在的位置。由于所述第一控制界面与所述第一显示界面的图标分布方式相同,所以所述第一控制界面包括与所述光标初始位置对应的图标。Specifically, the process for the first terminal to generate the first remote control instruction may include: the first terminal obtains, by the first terminal, the initial position of the cursor before the first icon is selected; and then the first terminal according to the initial cursor position The position and the position where the first icon is located to generate the first remote control instruction. As shown in the
其中,所述第一触摸操作可以为不同的形式。Wherein, the first touch operation may be in different forms.
当所述第一终端根据用户的触摸操作来识别所述光标初始位置时,所述第一触摸操作可以具有先后顺序的以下两个操作:首先,对所述光标初始位置对应的第二图标的触摸操作,然后对所述第一图标的选择操作;例如:对所述第二图标的触摸操作可以为点击操作;对所述第一图标的选择操作可以为点击、双击、长按或者重按,或者在点击、双击、长按或者重按之后,还包括对确定按钮的触摸操作。也就是说,可以只通过点击、双击、长按或者重按所述第一图标,实现对所述第一图标的选择,也可以所述第一控制界面410中还包括确定按钮,通过点击、双击、长按或者重按所述第一图标之后,再点击或触摸所述确定按钮,实现对所述第一图标的选择。When the first terminal recognizes the initial position of the cursor according to the user's touch operation, the first touch operation may have the following two operations in sequence: firstly, on the second icon corresponding to the initial position of the cursor touch operation, and then a selection operation on the first icon; for example: the touch operation on the second icon can be a click operation; the selection operation on the first icon can be a click, double-click, long-press or re-press , or after clicking, double-clicking, long-pressing, or re-pressing, the touch operation of the OK button is also included. That is to say, the selection of the first icon can be realized only by clicking, double-clicking, long-pressing or re-pressing the first icon. After double-clicking, long-pressing or re-pressing the first icon, click or touch the OK button again to realize the selection of the first icon.
当所述第二终端将所述光标初始位置发送给所述第一终端时,或者,当所述第一终端在进入所述第一控制界面410时可以获取到默认的光标初始位置时,所述第一触摸操作可以只包括对所述第一图标的选择操作。When the second terminal sends the initial cursor position to the first terminal, or when the first terminal can obtain the default initial cursor position when entering the
所述第一遥控指令可以有多种形式。The first remote control command may have various forms.
一种为:所述第一终端可以把所述第一触摸操作转换为普通的一个或多个遥控指令。例如:所述第一终端根据光标初始位置对应的第二图标4121的坐标和所述第一图标4123的坐标信息,获取到需要将光标向右移动两次,由此,所述第一终端将所述第一触摸操作转换为两个向右移动一次的遥控指令,每个遥控指令表示向右移动一次。这种方式下,所述第二终端可以使用现有的电视或机顶盒,即无需对现有的第二终端进行改进,即可使用本发明实施例提供的遥控方法对所述第二终端进行控制。One is: the first terminal can convert the first touch operation into one or more common remote control commands. For example, the first terminal obtains that the cursor needs to be moved to the right twice according to the coordinates of the
另一种:所述第一终端可以把所述第一触摸操作转换为表示光标移动位移的一个遥控指令。例如:所述第一终端根据光标初始位置对应的第二图标4121的坐标信息和所述第一图标4123的坐标信息,获取到需要将光标向右移动两次,由此,所述第一终端将所述第一触摸操作转换为一个表示向右移动两次的遥控指令。所述第二终端接收并解析所述第一遥控指令,然后控制光标向右移动两次。该方式下,所述第一终端和所述第二终端中可以预先设置相同的数据库,使得所述第二终端能够正确解析所述第一终端发送的遥控指令。Another way: the first terminal may convert the first touch operation into a remote control command representing the movement and displacement of the cursor. For example, according to the coordinate information of the
第三种:所述第一终端可以把所述第一触摸操作转换为表示触摸屏坐标变化的遥控指令。例如:所述第一终端将所述光标初始位置对应的第二图标4121的坐标信息和所述第一图标4123的坐标信息作为所述第一遥控指令发送给所述第二终端;或者将所述第一图标4123相对于所述第二图标4121的坐标信息作为所述第一遥控指令发送给所述第二终端。所述第二终端接收并解析所述第一遥控指令,然后控制光标向右移动两次。该方式下,所述第一终端和所述第二终端中也可以预先设置相同的数据库,使得所述第二终端能够正确解析所述第一终端发送的遥控指令。The third type: the first terminal may convert the first touch operation into a remote control instruction representing the coordinate change of the touch screen. For example: the first terminal sends the coordinate information of the
步骤204、在接收到所述第一触摸操作之后,所述第一终端显示第二控制界面。所述第二控制界面与所述第二终端输出的第二显示界面相一致,所述第二显示界面为所述第二终端执行所述第一遥控指令之后输出的显示界面。Step 204: After receiving the first touch operation, the first terminal displays a second control interface. The second control interface is consistent with the second display interface output by the second terminal, and the second display interface is a display interface output after the second terminal executes the first remote control command.
需要说明的是,本实施例并不限定步骤203和步骤204的执行顺序,步骤204可以在步骤203之后执行,步骤204也可以与步骤203并行执行。It should be noted that this embodiment does not limit the execution order of
所述第二终端执行所述第一遥控指令之后输出所述第二显示界面,所以第一终端也将所述第一控制界面切换为与所述第二显示界面相一致的所述第二控制界面,使得所述第一终端可以继续控制所述第二终端。The second terminal outputs the second display interface after executing the first remote control command, so the first terminal also switches the first control interface to the second control interface consistent with the second display interface interface, so that the first terminal can continue to control the second terminal.
其中,所述第一终端中可以预先存储所述第一触摸操作执行之后对应的所述第二控制界面。当所述第一终端接收到所述第一触摸操作之后,所述第一终端可以从存储器中获取所述第二控制界面的信息,然后显示所述第二控制界面。例如:在所述第二终端接收到所述第一遥控指令之后,由图5(d)的界面切换到图6所示的第二显示界面601。所述第一终端中预先存储了与所述第二显示界面601对应的第二控制界面610,则所述第一终端自动切换为显示所述第二控制界面610,如图6所示。The second control interface corresponding to the execution of the first touch operation may be pre-stored in the first terminal. After the first terminal receives the first touch operation, the first terminal may acquire the information of the second control interface from the memory, and then display the second control interface. For example, after the second terminal receives the first remote control command, the interface of FIG. 5(d) is switched to the
进一步的,如果所述第一终端中没有预先存储所述第二控制界面,则所述方法在步骤203之后还可以包括如下步骤:所述第一终端向所述第二终端发送界面信息请求;所述第一终端接收所述第二终端发送的所述第二显示界面的界面信息。然后在步骤204中,所述第一终端可以根据所述界面信息获取并显示所述第二控制界面。具体的,如图5(c)所示,在所述第一图标4123被选择之后,用户可以通过点击按钮420来请求所述第二控制界面的界面信息。所述第一终端在检测到所述按钮420被触摸之后,向所述第二终端发送界面信息请求;所述第二终端在接收到所述界面信息请求之后,获取所述第二终端当前输出的所述第二显示界面601的界面信息,例如可以对所述第二显示界面601进行截屏或者直接获取所述第二显示界面601对应的显示数据;然后所述第二终端将所述第二显示界面的界面信息发送给所述第一终端;所述第一终端对所述界面信息进行处理之后,输出所述第二控制界面610。Further, if the second control interface is not pre-stored in the first terminal, the method may further include the following steps after step 203: the first terminal sends an interface information request to the second terminal; The first terminal receives the interface information of the second display interface sent by the second terminal. Then in
另一种可选的方式,如果所述第一终端中没有预先存储所述第二控制界面,则所述方法在步骤203之后还可以包括如下步骤:所述第一终端接收用于启动拍照的操作;所述第一终端通过拍照获取具有所述第二显示界面的图片;所述第一终端识别所述第二显示界面的图片中的内容,并将识别出的所述内容作为所述第二控制界面进行显示。具体的,如图5(c)所示,其中的按钮420可以被替换为拍照按钮,在所述第一图标4123被选择之后,用户可以通过点击拍照按钮来对所述第二显示界面进行拍照。所述第一终端获取到所述第二显示界面的图片之后,对该图片进行图标识别和裁剪,然后输出所述第二控制界面。In another optional manner, if the second control interface is not pre-stored in the first terminal, after
需要说明的是,在通过拍照或者向所述第二终端进行请求的方式获取到所述第二控制界面之后,所述第一终端可以保存所述第二控制界面,使得下次操作时,所述第二控制界面可以自动的被显示出来。It should be noted that, after acquiring the second control interface by taking a photo or making a request to the second terminal, the first terminal can save the second control interface, so that the The second control interface can be displayed automatically.
所述第二控制界面与所述第二显示界面相一致具体可以包括以下任意一种或多种情形。Consistency between the second control interface and the second display interface may specifically include any one or more of the following situations.
第一种:当所述第二显示界面为可编辑的输入界面时,所述第二控制界面为包括软键盘的输入界面。可以通过所述第二控制界面中的软键盘实现在所述第二显示界面上的输入和编辑。其中,所述第二控制界面中的软键盘的界面布局与所述第二显示界面中的软键盘的界面布局可以相同,如图8A所示。或者,所述第二控制界面中的软键盘的界面布局与所述第二显示界面中的软键盘的界面布局也可以不相同,如图8B所示。The first type: when the second display interface is an editable input interface, the second control interface is an input interface including a soft keyboard. Input and editing on the second display interface can be implemented through a soft keyboard in the second control interface. The interface layout of the soft keyboard in the second control interface may be the same as the interface layout of the soft keyboard in the second display interface, as shown in FIG. 8A . Alternatively, the interface layout of the soft keyboard in the second control interface and the interface layout of the soft keyboard in the second display interface may also be different, as shown in FIG. 8B .
第二种:当所述第二显示界面包括至少两个图标时,例如当所述第二显示界面与图4D、图4E、图5或图6中所示的第一显示界面或第二显示界面相同或相似时,所述第二控制界面显示的图标的数量与所述第二显示界面显示的图标的数量相同,所述第二控制界面显示的图标的排布方式与所述第二显示界面显示的图标的排布方式相同,所述第二控制界面显示的图标与所述第二显示界面显示的图标一一对应。即,所述第二控制界面与图4D、图4E、图5或图6中所示的第一控制界面或第二控制界面相同或相似。The second type: when the second display interface includes at least two icons, for example, when the second display interface is the same as the first display interface or the second display shown in FIG. 4D , FIG. 4E , FIG. 5 or FIG. 6 When the interfaces are the same or similar, the number of icons displayed on the second control interface is the same as the number of icons displayed on the second display interface, and the arrangement of the icons displayed on the second control interface is the same as the number of icons displayed on the second display interface. The icons displayed on the interface are arranged in the same manner, and the icons displayed on the second control interface are in one-to-one correspondence with the icons displayed on the second display interface. That is, the second control interface is the same as or similar to the first control interface or the second control interface shown in FIG. 4D , FIG. 4E , FIG. 5 or FIG. 6 .
第三种:当所述第二显示界面为音视频播放界面时,所述第二控制界面包括以下任意一项或多项:音量控制项、播放进度控制项、播放/停止控制项。如图10所示,当所述第二终端在播放音视频节目时,所述第一终端呈现第二控制界面1010,其中包括音量控制项1012、播放进度控制项1013和播放/停止控制项1015。可以通过所述第一终端的控制界面来控制音量、播放进度或者控制节目播放或暂停。需要说明的是,播放进度控制项1013和播放/停止控制项1015一般用于控制非直播的音视频节目。对于直播的音视频节目,所述第二控制界面中可以不包括播放进度控制项和播放/停止控制项,或者播放进度控制项和播放/停止控制项是无效图标。The third type: when the second display interface is an audio and video playback interface, the second control interface includes any one or more of the following: a volume control item, a playback progress control item, and a play/stop control item. As shown in FIG. 10 , when the second terminal is playing an audio and video program, the first terminal presents a
进一步的,在步骤204之后,当所述第二显示界面为可编辑的输入界面,所述第二控制界面为包括软键盘的输入界面时,所述方法还可以包括以下步骤205和步骤206。例如:如图7和图8A、图8B所示,所述第一控制界面410上的搜索按钮480被点击之后,所述第一终端呈现出第二控制界面810A或810B。Further, after
步骤205、所述第一终端接收在所述第二控制界面的软键盘上输入的第二触摸操作。所述第二触摸操作包括对所述第二控制界面的软键盘上的第一字符的选择操作。Step 205: The first terminal receives a second touch operation input on the soft keyboard of the second control interface. The second touch operation includes a selection operation of a first character on a soft keyboard of the second control interface.
所述第一终端显示的第二控制界面上包括软键盘。当用户需要在所述第二显示界面中输入信息时,可以直接在所述第二控制界面上的软键盘中进行触摸输入,所述的触摸输入即为所述第二触摸操作。所述第二触摸操作可以为对所述软键盘上的第一字符的触摸操作,例如对所述第一字符进行点击、双击、长按或重按操作。The second control interface displayed by the first terminal includes a soft keyboard. When the user needs to input information in the second display interface, he can directly perform touch input in the soft keyboard on the second control interface, and the touch input is the second touch operation. The second touch operation may be a touch operation on the first character on the soft keyboard, for example, a click, double-click, long-press or re-press operation on the first character.
步骤206、所述第一终端根据所述第二触摸操作生成第二遥控指令,并将所述第二遥控指令发送给所述第二终端,所述第二遥控指令用于指示所述第二终端在所述第二显示界面中输入所述第一字符。Step 206: The first terminal generates a second remote control command according to the second touch operation, and sends the second remote control command to the second terminal, where the second remote control command is used to instruct the second remote control command. The terminal inputs the first character in the second display interface.
所述第一终端可以根据所述第二触摸操作生成多种第二遥控指令,具体为:The first terminal may generate a variety of second remote control instructions according to the second touch operation, specifically:
第一种:所述第一终端先后接收到多个所述第二触摸操作,每个第二触摸操作对应一个字符;所述第一终端根据相邻的两个第二触摸操作可以得出所述两个第二触摸操作分别对应的字符的相对位置,然后将所述相对位置转换为普通的一个或多个遥控指令,所述一个或多个遥控指令用于表示光标移动的位移。例如:如图8A所示,所述第一终端先接收到针对字符H的第二触摸操作811,然后接收到针对字符A的第二触摸操作814,所述第一终端根据第二触摸操作811和第二触摸操作814,可以得出两个字符的相对位置,即光标在字符H处时,将光标向左移动7次即可得到字符A;然后将该相对位置转换为七个向左移动一次的遥控指令,每个遥控指令表示向右移动一次。需要说明的是,在执行本次输入操作的过程中,每次的第二触摸操作以上一个第二触摸操作为基准。第一次的第二触摸操作以光标初始位置所对应的字符为基准。其中,光标初始位置指的是所述第二终端刚进入所述第二显示界面时光标所在的位置。光标初始位置可以由所述第二终端发送给所述第一终端,也可以由所述第一终端在存储器中获取默认值,或者还可以由用户在开始进行输入操作之前,先根据所述第二终端中呈现的光标初始位置,在所述第二控制界面中对所述光标初始位置对应的字符进行触摸操作。The first type: the first terminal receives a plurality of the second touch operations successively, and each second touch operation corresponds to a character; the first terminal can obtain the result according to two adjacent second touch operations. The relative positions of the characters corresponding to the two second touch operations respectively are converted, and then the relative positions are converted into one or more ordinary remote control commands, and the one or more remote control commands are used to represent the displacement of the cursor movement. For example, as shown in FIG. 8A , the first terminal first receives a
第二种:所述第一终端先后接收到多个所述第二触摸操作,每个第二触摸操作对应一个字符;所述第一终端根据相邻的两个第二触摸操作可以得出所述两个第二触摸操作分别对应的字符的相对位置,然后将所述相对位置转换为一个用于表示光标移动位移的遥控指令。例如:如图8A所示,所述第一终端先接收到的第二触摸操作811和后接收到的第二触摸操作814,可以得出将光标向左移动7次即可得到字符A;然后将该相对位置转换为一个向左移动七次的遥控指令。所述第二终端接收并解析所述第二遥控指令,然后控制光标向左移动七次。该方式下,所述第一终端和所述第二终端中可以预先设置相同的数据库,使得所述第二终端能够正确解析所述第一终端发送的遥控指令。与第一种方式相同,在执行本次输入操作的过程中,每次的第二触摸操作以上一个第二触摸操作为基准,第一次的第二触摸操作以光标初始位置所对应的字符为基准。The second type: the first terminal receives a plurality of the second touch operations successively, and each second touch operation corresponds to a character; the first terminal can obtain the result according to two adjacent second touch operations. The relative positions of the characters corresponding to the two second touch operations are converted into a remote control command for representing the movement and displacement of the cursor. For example, as shown in FIG. 8A , the
第三种:所述第一终端可以把相邻两次的第二触摸操作转换为表示触摸屏坐标变化的遥控指令。例如:如图8A所示,所述第一终端将字符H的坐标信息和字符A的坐标信息作为所述第二遥控指令发送给所述第二终端,或者将字符H相对于字符A的坐标信息作为所述第二遥控指令发送给所述第二终端。所述第二终端接收并解析所述第二遥控指令,然后控制光标向左移动七次。该方式下,所述第一终端和所述第二终端中也可以预先设置相同的数据库,使得所述第二终端能够正确解析所述第一终端发送的遥控指令。与第一种方式相同,在执行本次输入操作的过程中,每次的第二触摸操作以上一个第二触摸操作为基准,第一次的第二触摸操作以光标初始位置所对应的字符为基准。The third type: the first terminal can convert two adjacent second touch operations into a remote control command representing the coordinate change of the touch screen. For example, as shown in FIG. 8A , the first terminal sends the coordinate information of the character H and the coordinate information of the character A to the second terminal as the second remote control command, or sends the coordinate information of the character H relative to the character A to the second terminal. The information is sent to the second terminal as the second remote control command. The second terminal receives and parses the second remote control command, and then controls the cursor to move to the left seven times. In this manner, the same database may also be preset in the first terminal and the second terminal, so that the second terminal can correctly parse the remote control command sent by the first terminal. In the same way as the first method, in the process of executing this input operation, each second touch operation is based on the previous second touch operation, and the first second touch operation is based on the character corresponding to the initial position of the cursor as benchmark.
第四种:所述第一终端直接把第二触摸操作对应的字符作为第二遥控指令发送给所述第二终端,所述第二终端直接将所述字符识别并显示出来。该方式下,可以不依赖于光标初始位置和上一次的第二触摸操作,而直接根据本次的第二触摸操作即可使得所述第二终端获取到相应的字符。The fourth type: the first terminal directly sends the character corresponding to the second touch operation as a second remote control command to the second terminal, and the second terminal directly recognizes and displays the character. In this manner, the second terminal can obtain the corresponding character directly according to the current second touch operation without depending on the initial position of the cursor and the last second touch operation.
进一步的,在步骤204之后,当所述第二显示界面包括至少两个图标,所述第二控制界面中的图标的布局(即数量和排布方式)与所述第二显示界面中的图标的布局相同时,所述方法还可以包括以下步骤207。例如:在图5(c)中,第一图标4123被选择之后,如图6所示,所述第二终端显示第二显示界面601,且所述第一终端显示第二控制界面610。Further, after
步骤207、所述第一终端接收在所述第二控制界面上输入的触摸操作,并根据所述触摸操作生成遥控指令,然后将所述遥控指令发送给所述第二终端,以控制所述第二终端。所述的第二显示界面与前述的第一显示界面相同或相似,所述的第二控制界面与前述的第一控制界面相同或相似,由此,所述步骤207的具体步骤可以参见上述步骤201-步骤203中的描述,在此不再赘述。例如图6所示,光标初始位置与图标电影1相对应,当图标电影8被选择之后,所述第一终端可以发送遥控指令给所述第二终端,使得所述第二终端将光标向右移动三次向且下移动一次。Step 207: The first terminal receives the touch operation input on the second control interface, generates a remote control command according to the touch operation, and then sends the remote control command to the second terminal to control the second terminal. The second display interface is the same as or similar to the aforementioned first display interface, and the second control interface is the same as or similar to the aforementioned first control interface. Therefore, the specific steps of the
进一步的,在步骤204之后,当所述第二显示界面为音视频播放界面时,所述第二控制界面包括以下任意一项或多项:音量控制项、播放进度控制项、播放/停止控制项,所述方法还可以包括以下步骤208和所述步骤209。Further, after
步骤208、所述第一终端接收在所述第二控制界面上输入的触摸操作。该触摸操作可以为单击、双击、长按、重按或滑动操作。例如:如图10所示,当所述第二终端在播放音视频节目时,用户可以通过在滑动条912上左右滑动来调节音量的大小,也可以通过在滑动条913上左右滑动来调节播放进度,还可以通过对按钮915的单击、双击、长按或重按,来控制节目的播放和暂停。Step 208: The first terminal receives a touch operation input on the second control interface. The touch operation can be a single-click, double-click, long-press, heavy-press or slide operation. For example, as shown in FIG. 10 , when the second terminal is playing an audio and video program, the user can adjust the volume by sliding left and right on the slider 912 , or adjust the playback by sliding left and right on the slider 913 The progress can also be controlled by clicking, double-clicking, long-pressing or re-pressing the button 915 to control the play and pause of the program.
步骤209、所述第一终端根据步骤208中的触摸操作生成遥控指令,并将所述遥控指令发送给所述第二终端,所述遥控指令用于控制当前播放的节目的音量、进度和/或播放状态。具体的,所述第一终端可以根据触摸滑动的方向和距离来生成音量或播放进度的遥控指令,也可以根据对播放按钮(例如按钮915)的点击状态来生成控制播放状态的遥控指令。
需要说明的是,步骤201的所述第一控制界面可以有多种方式被触发显示。例如,在步骤201之前,本发明实施例还可以包括以下步骤220、步骤230以及步骤240A、步骤240B或者步骤240C。It should be noted that, the first control interface in
步骤220、所述第一终端在进入遥控界面后,显示至少两个控制界面的缩略图或者图标。如图3和图4A所示,在图3中点击遥控图标300之后,可以进入图4A所示的遥控界面430。该遥控界面430可以包括多个控制界面的缩略图或图标,如菜单一、菜单二和菜单三。此时,所述第二终端显示所述第一显示界面,例如图4D中的第一显示界面401。Step 220: After entering the remote control interface, the first terminal displays thumbnails or icons of at least two control interfaces. As shown in FIG. 3 and FIG. 4A , after clicking the
步骤230、所述第一终端接收第三触摸操作。其中,所述第三触摸操作可以是对所述遥控界面430所示的缩略图或图标的选择,或者,所述第三触摸操作可以触发所述第一终端向所述第二终端发送界面信息请求,或者,所述第三触摸操作可以触发所述第一终端对所述第二终端当前输出的第一显示界面进行拍照。当所述第一终端预先存储有与所述第二终端当前输出的第一显示界面相对应的控制界面时,在步骤230之后执行步骤240A。当所述第一终端中没有存储与所述第二终端当前输出的第一显示界面相对应的控制界面时,在步骤230之后执行步骤240B或者步骤240C。Step 230: The first terminal receives a third touch operation. The third touch operation may be a selection of a thumbnail image or an icon displayed on the
步骤240A、所述第一终端根据所述第三触摸操作,从所述至少两个控制界面中选择所述第一控制界面,然后在步骤201中所述第一终端显示所述第一控制界面。由于所述第一终端中预先存储有所述第一控制界面,则用户从所述遥控界面430中选择与所述第一控制界面相对应的缩略图或图标即可进入所述第一控制界面。例如:所述第一终端中预先存储的菜单一为所述第一控制界面,则选择菜单一即可进入所述第一控制界面410,如图4A和图4D所示。Step 240A, the first terminal selects the first control interface from the at least two control interfaces according to the third touch operation, and then in
步骤240B、所述第一终端根据所述第三触摸操作,向所述第二终端发送界面信息请求;所述第一终端接收所述第二终端发送的所述第一显示界面的界面信息。然后在步骤201中,所述第一终端可以根据所述界面信息获取并显示所述第一控制界面。例如:如图4A所示,所述遥控界面430包括请求按钮440。当所述第一终端中没有所述第一控制界面,即菜单一、菜单二、菜单三均不是所述第一控制界面,则可以通过点击所述请求按钮440向所述第二终端请求所述第一显示界面的界面信息。然后所述第一终端根据所述第一显示界面的界面信息生成所述第一控制界面,并可以在遥控界面430上显示与所述第一控制界面对应的菜单四460,如图4C所示。然后通过对菜单四460的选择即可进入所述第一控制界面。Step 240B: The first terminal sends an interface information request to the second terminal according to the third touch operation; the first terminal receives the interface information of the first display interface sent by the second terminal. Then in
步骤240C、所述第一终端根据所述第三触摸操作启动拍照;所述第一终端通过拍照获取具有所述第一显示界面的图片;所述第一终端识别所述第一显示界面的图片中的内容,然后在步骤201中将识别出的所述内容作为所述第一控制界面进行显示。例如:如图4B所示,所述遥控界面430包括拍照按钮450。当所述第一终端中没有所述第一控制界面,通过点击所述拍照按钮450即可启动拍照。所述第一终端获取到所述第一控制界面的信息之后,可以在遥控界面430上显示与所述第一控制界面对应的菜单四,如图4C所示。然后通过对菜单四的选择即可进入所述第一控制界面。Step 240C: The first terminal starts to take pictures according to the third touch operation; the first terminal acquires a picture with the first display interface by taking pictures; the first terminal identifies the picture of the first display interface and then display the identified content as the first control interface in
其中,步骤240B、步骤240C中所述第一终端获取所述第一控制界面的过程与前述获取所述第二控制界面的过程类似。The process of acquiring the first control interface by the first terminal in steps 240B and 240C is similar to the foregoing process of acquiring the second control interface.
需要说明的是,本实施例中的所述第一控制界面,可以是所述第一终端进入遥控程序之后的首个控制界面,也可以是所述第一终端进入遥控程序之后的任意一个控制界面。It should be noted that the first control interface in this embodiment may be the first control interface after the first terminal enters the remote control program, or may be any control interface after the first terminal enters the remote control program interface.
本发明各实施例所述的第二终端可以是智能电视或网络电视,即可以进行音视频节目点播的电视。在该情况下,所述第一显示界面和第二显示界面是由所述第二终端输出并显示的。The second terminal described in the embodiments of the present invention may be a smart TV or an Internet TV, that is, a TV that can perform on-demand audio and video programs. In this case, the first display interface and the second display interface are output and displayed by the second terminal.
在其它实施方式中,本发明各实施例所述的第二终端可以为机顶盒,该机顶盒与电视或其它显示设备配合进行音视频界面的播放,通过该机顶盒可以进行音视频节目的点播。在该情况下,所述第一显示界面和第二显示界面由所述第二终端输出给外接设备例如电视,然后由所述外接设备显示。In other implementations, the second terminal described in the embodiments of the present invention may be a set-top box, which cooperates with a TV or other display device to play audio and video interfaces, and can perform on-demand audio and video programs through the set-top box. In this case, the first display interface and the second display interface are output by the second terminal to an external device such as a TV, and then displayed by the external device.
本发明实施例提供的遥控方法,第一终端显示的控制界面可以跟随第二终端输出的显示界面的变化而变化,并且所述控制界面的布局是与当前的显示界面相一致的,由此用户可以在控制界面上通过少量的触摸操作即可控制第二终端的显示界面,从而使得遥控器的使用更加方便。而在现有技术中,通过普通遥控器遥控电视时,需要更多次的操作方向键或者其它类似按键才能完成与本发明实施例相同的遥控操作。并且,现有技术中使用手机充当遥控器的方案中,手机显示与普通遥控器的按键完全相同的虚拟按键,然后使用与普通遥控器相同的操作方式遥控电视。与现有技术相比,本发明实施例提供的遥控方法更简单便捷。In the remote control method provided by the embodiment of the present invention, the control interface displayed by the first terminal can change with the change of the display interface output by the second terminal, and the layout of the control interface is consistent with the current display interface, so that the user The display interface of the second terminal can be controlled by a small amount of touch operations on the control interface, thereby making the use of the remote control more convenient. However, in the prior art, when the TV is remotely controlled by a common remote control, it requires more operations of the direction keys or other similar keys to complete the same remote control operation as the embodiment of the present invention. In addition, in the prior art solution of using a mobile phone as a remote control, the mobile phone displays virtual keys identical to those of an ordinary remote control, and then uses the same operation method as the ordinary remote control to control the TV. Compared with the prior art, the remote control method provided by the embodiment of the present invention is simpler and more convenient.
本发明实施例提供的遥控方法主要应用于遥控电视或者类似的显示设备。而第一终端可以作为多种电器的遥控器。即,当所述第一终端打开遥控应用之后,可以在界面上显示分别对应多种电器的遥控界面,用户可以从中选择与待遥控的电器相匹配的遥控界面。例如:第一终端可以显示用于遥控电视、机顶盒、DVD、空调、电风扇等电器。The remote control method provided by the embodiment of the present invention is mainly applied to the remote control of a television or a similar display device. The first terminal can be used as a remote controller for various electrical appliances. That is, after the first terminal opens the remote control application, remote control interfaces corresponding to various electrical appliances can be displayed on the interface, and the user can select a remote control interface matching the electrical appliance to be remotely controlled. For example, the first terminal may display electrical appliances used for remote control of TVs, set-top boxes, DVDs, air conditioners, and electric fans.
图11为本发明实施例提供的另一种遥控方法的流程图。该方法中的第一终端以手机为例,第二终端以机顶盒为例,第二终端输出的界面可以通过电视、电脑或其它显示设备进行显示,本方法以电视为例。本方法以前述图1-图10所述的实施例为基础。如图11所示,所述方法包括:FIG. 11 is a flowchart of another remote control method provided by an embodiment of the present invention. In this method, the first terminal takes a mobile phone as an example, and the second terminal takes a set-top box as an example. The interface output by the second terminal can be displayed on a TV, computer or other display device. This method takes a TV as an example. The method is based on the embodiments described above with reference to FIGS. 1-10 . As shown in Figure 11, the method includes:
步骤1101、手机打开预置的遥控应用。
步骤1102、根据电视屏幕需要操作的场景选择对应的控制界面。其中,可以由用户根据电视屏幕当前的显示内容手动在所述手机中选择对应的控制界面,也可以由机顶盒将电视当前显示的内容发送给手机,由手机自动选择对应的控制界面。如果当前的电视界面显示的是菜单界面,则执行步骤1103;如果当前的电视界面显示的是可编辑的输入界面,则执行步骤1108;如果当前的电视界面在播放音视频界面,则执行步骤1110。Step 1102: Select a corresponding control interface according to a scene that needs to be operated on the TV screen. Wherein, the user can manually select the corresponding control interface in the mobile phone according to the current display content of the TV screen, or the set-top box can send the content currently displayed on the TV to the mobile phone, and the mobile phone can automatically select the corresponding control interface. If the current TV interface displays a menu interface, go to
步骤1103、手机进入遥控应用的菜单控制界面。根据手机中是否存储有与当前电视的显示界面对应的控制界面,在步骤1103之后,分别可以执行步骤1104、步骤1105和步骤1106。
步骤1104、手机根据用户的选择操作从预先存储的控制界面中选择一个与当前电视显示界面对应的控制界面。当手机中存储有与当前电视的显示界面对应的控制界面时,用户可以直接在手机上选择该控制界面。Step 1104: The mobile phone selects a control interface corresponding to the current TV display interface from the pre-stored control interfaces according to the user's selection operation. When a control interface corresponding to the display interface of the current TV is stored in the mobile phone, the user can directly select the control interface on the mobile phone.
步骤1105、手机根据用户触发的启动拍照的操作,对电视屏幕进行拍照,然后对所拍照片进行自动裁剪与分析,识别出照片中的菜单选项,然后生成相应的控制界面。Step 1105: The mobile phone takes a picture of the TV screen according to the operation triggered by the user to start taking pictures, and then automatically cuts and analyzes the taken picture, identifies the menu options in the picture, and generates a corresponding control interface.
步骤1106、手机根据用户的触发向机顶盒发送界面信息请求,然后接收机顶盒发送的当前电视的界面信息,并根据所述界面信息生成相应的控制界面。在步骤1105或步骤1106之后,手机可以保存生成的控制界面,以备在下次使用时用户可以直接选择该控制界面,而无需再拍照或向机顶盒请求。Step 1106: The mobile phone sends an interface information request to the set-top box according to the user's trigger, and then receives the interface information of the current TV sent by the set-top box, and generates a corresponding control interface according to the interface information. After
步骤1104、步骤1105和步骤1106之后,所述方法执行步骤1107。After
步骤1107、手机获取用户在手机屏幕上的触摸操作,然后将该触摸操作转换为遥控指令。例如:手机遥控应用将触摸操作F1通过指令库A1转换成遥控指令O1=A1(F1)。在手机生成遥控指令之后,所述方法执行步骤1112。Step 1107: The mobile phone acquires the user's touch operation on the screen of the mobile phone, and then converts the touch operation into a remote control command. For example, the mobile phone remote control application converts the touch operation F1 into the remote control instruction O1=A1(F1) through the instruction library A1. After the mobile phone generates the remote control command, the method executes
步骤1108、手机进入遥控应用的输入界面。
步骤1109、手机接收用户输入的英文或者拼音字母等字符,然后将该字符F2通过指令库A2转换成遥控指令O2=A2(F2),之后执行步骤1112。
步骤1110、手机进入遥控应用的音量/播放调节界面。
步骤1111、手机接收用户在音量/播放调节界面上的滑动或点击操作,将该滑动或点击操作F3通过指令库A3转换成遥控指令O3=A3(F3),之后执行步骤1112。Step 1111: The mobile phone receives the user's sliding or clicking operation on the volume/play adjustment interface, and converts the sliding or clicking operation F3 into a remote control command O3=A3(F3) through the instruction library A3, and then executes
步骤1112、手机将生成的遥控指令O1、O2或O3发送给机顶盒。
步骤1113、机顶盒接收到该遥控指令后,通过与指令库A1相匹配的指令库,将O1,O2或O3指令解析出对应的操作,然后执行相应的操作,实现菜单跳转、音量调节、播放控制或者输入字符。Step 1113: After receiving the remote control command, the set-top box parses the O1, O2 or O3 command into a corresponding operation through the command library matching the command library A1, and then executes the corresponding operation to realize menu jump, volume adjustment, and playback. Control or enter characters.
在步骤1112之后,所述方法还可以包括以下步骤:After
步骤1114、手机根据电视的菜单跳转执行控制界面的跳转。其中,可以是用户根据电视的界面变化在手机上选择相应的控制界面。也可以由手机自动实现控制界面的跳转。还可以由手机向机顶盒请求跳转后的界面或者手机对跳转后的界面进行拍照。并且,手机可以记录跳转前的界面,并记录该触摸操作F1与跳转后的界面的对应关系,以备下一次进行相同的触摸操作F1时,手机可以实现界面的自动跳转,减少再次拍照操作或减少向机顶盒请求的次数。
在步骤1107、步骤1112之后,电视可能跳转到可编辑的输入界面,此时,相应的,手机可以跳转到步骤1108所述的输入界面。After
步骤1107、步骤1109和步骤1111中将触摸操作转换为遥控指令的过程可以参见前述各实施例中的具体描述。For the process of converting a touch operation into a remote control command in
在前述各实施例的基础上,本发明实施例还可以提供一种通过手势进行遥控的方法。手机支持多种手势操作,利用手势操作的优势可以提高遥控操作效率、提升用户操作体验。本发明实施例列举了几种手势操作,但实际不限于这几种手势操作,凡是手机支持的手势操作均可应用于遥控操作,且用户可以按照自己的喜好配置各种手势来实现的遥控操作。在上述各实施例所述的遥控方法中,可以进一步通过图12所示的方法实现通过手势的遥控。图12为本发明实施例提供的一种通过手势进行遥控的方法的流程图。如图12所示,所述方法包括:On the basis of the foregoing embodiments, an embodiment of the present invention may further provide a method for remote control through gestures. The mobile phone supports a variety of gesture operations. Using the advantages of gesture operations can improve the efficiency of remote control operations and improve user operation experience. The embodiment of the present invention enumerates several gesture operations, but is not limited to these gesture operations. All gesture operations supported by mobile phones can be applied to remote control operations, and users can configure various gesture operations according to their own preferences. . In the remote control methods described in the above embodiments, the remote control by gestures may be further implemented by the method shown in FIG. 12 . FIG. 12 is a flowchart of a method for remote control through gestures provided by an embodiment of the present invention. As shown in Figure 12, the method includes:
步骤1201、手机打开遥控应用。
步骤1202、手机的遥控应用识别用户的手势操作,将该手势转换成相应的遥控指令。其中可以预先设置手势操作与遥控指令的对应关系。该对应关系可以是手机出厂时的默认设置,也可以由用户进行设置和编辑。Step 1202: The remote control application of the mobile phone recognizes the user's gesture operation, and converts the gesture into a corresponding remote control command. The correspondence between gesture operations and remote control commands may be preset. The corresponding relationship may be the default setting of the mobile phone when it leaves the factory, or may be set and edited by the user.
步骤1203、手机将遥控指令发送给机顶盒。
步骤1204、机顶盒接收该遥控指令并将该遥控指令转换成可执行的操作指令,并执行该操作指令对应的操作。例如:机顶盒可以根据用户的手势操作执行返回上一层、关机、音视频快进或快退、返回主菜单等操作。其中,该用户的手势操作可以为各种容易识别且不容易误判的操作,例如画圈操作、折线操作或其他特定图形的操作。需要说明的是,用户的手势可以为接触手机的触摸屏的手势,也可以为非接触手机触摸屏的手势。Step 1204: The set-top box receives the remote control instruction, converts the remote control instruction into an executable operation instruction, and executes the operation corresponding to the operation instruction. For example, the set-top box can perform operations such as returning to the previous layer, shutting down, fast forwarding or rewinding audio and video, and returning to the main menu according to the user's gesture operation. Wherein, the user's gesture operation may be various operations that are easy to recognize and not easily misjudged, such as a circle drawing operation, a polyline operation, or an operation of other specific graphics. It should be noted that the user's gesture may be a gesture of contacting the touch screen of the mobile phone, and may also be a gesture of non-contacting the touch screen of the mobile phone.
本发明各实施例提供的第一终端还可以具有语音识别功能。在遥控的过程中,可以启动语音识别功能,将用户发出的语音转换为遥控指令来遥控第二终端。The first terminal provided in each embodiment of the present invention may also have a voice recognition function. In the process of remote control, the voice recognition function can be activated to convert the voice issued by the user into a remote control command to remotely control the second terminal.
本发明各实施例中,第一终端和第二终端之间的通信方式可以为红外、蓝牙、Wi-Fi或NFC。即第一终端可以通过红外、蓝牙、Wi-Fi或NFC技术将遥控指令发送给第二终端,第二终端在向第一终端发送界面信息时,也可以使用这些通信方式中的任意一种。In each embodiment of the present invention, the communication mode between the first terminal and the second terminal may be infrared, Bluetooth, Wi-Fi, or NFC. That is, the first terminal can send the remote control command to the second terminal through infrared, Bluetooth, Wi-Fi or NFC technology, and the second terminal can also use any one of these communication methods when sending interface information to the first terminal.
本发明实施例可以采用使用广泛的手持终端实现触屏遥控机顶盒或电视的操作,减少对普通遥控器的依赖,降低硬件成本。In the embodiment of the present invention, a widely used handheld terminal can be used to realize the operation of a touch-screen remote control of a set-top box or a TV, thereby reducing dependence on a common remote control and reducing hardware costs.
本发明实施例针对不同使用场景提供简单快捷的触屏遥控操作方法,提升用户遥控操作效率和体验。The embodiments of the present invention provide a simple and quick touch-screen remote control operation method for different usage scenarios, so as to improve the user's remote control operation efficiency and experience.
本发明实施例还提供一种图形用户界面(GUI),所述GUI存储在第一终端中,所述第一终端包括触摸屏、一个或多个存储器、一个或多个处理器,所述一个或多个处理器用于执行存储在所述一个或多个存储器中的一个或多个计算机程序。其中,所述GUI包括:An embodiment of the present invention further provides a graphical user interface (GUI), where the GUI is stored in a first terminal, where the first terminal includes a touch screen, one or more memories, and one or more processors, the one or more A plurality of processors for executing one or more computer programs stored in the one or more memories. Wherein, the GUI includes:
在所述触摸屏显示的第一GUI,所述第一GUI与第二终端当前输出的第一显示界面相一致,所述第二终端为被所述第一终端遥控的终端;所述第一显示界面显示至少两个图标,所述第一GUI显示的图标的数量与所述第一显示界面显示的图标的数量相同,所述第一GUI显示的图标的排布方式与所述第一显示界面显示的图标的排布方式相同,所述第一GUI显示的图标与所述第一显示界面显示的图标一一对应;The first GUI displayed on the touch screen is consistent with the first display interface currently output by the second terminal, and the second terminal is a terminal remotely controlled by the first terminal; the first display The interface displays at least two icons, the number of icons displayed on the first GUI is the same as the number of icons displayed on the first display interface, and the icons displayed on the first GUI are arranged in the same manner as the first display interface. The displayed icons are arranged in the same manner, and the icons displayed on the first GUI correspond one-to-one with the icons displayed on the first display interface;
响应于用户在所述触摸屏上的第一手势,根据所述第一手势生成第一遥控指令,并将所述第一遥控指令发送给所述第二终端;所述第一手势包括对所述第一GUI中的第一图标的选择操作,所述第一遥控指令用于指示所述第二终端选择所述第一显示界面中与所述第一图标对应的图标;In response to the user's first gesture on the touch screen, a first remote control instruction is generated according to the first gesture, and the first remote control instruction is sent to the second terminal; the first gesture includes a selection operation of a first icon in the first GUI, where the first remote control command is used to instruct the second terminal to select an icon corresponding to the first icon in the first display interface;
响应于用户在所述触摸屏上的所述第一手势或第三手势,在所述触摸屏中显示第二GUI,所述第二GUI与所述第二终端输出的第二显示界面相一致,所述第二显示界面为所述第二终端执行所述第一遥控指令之后输出的显示界面。In response to the user's first gesture or third gesture on the touch screen, a second GUI is displayed on the touch screen, and the second GUI is consistent with the second display interface output by the second terminal, so The second display interface is a display interface output after the second terminal executes the first remote control command.
其中,所述第二显示界面为可编辑的输入界面,所述第二GUI为包括软键盘的输入界面。所述第二GUI中的所述软键盘的界面布局与所述第二显示界面中的软键盘的界面布局相同或不同。Wherein, the second display interface is an editable input interface, and the second GUI is an input interface including a soft keyboard. The interface layout of the soft keyboard in the second GUI is the same as or different from the interface layout of the soft keyboard in the second display interface.
进一步的,所述GUI还包括:响应于用户在所述第二GUI的软键盘上输入的第二手势,根据所述第二手势生成第二遥控指令,并将所述第二遥控指令发送给所述第二终端;所述第二手势包括对所述第二GUI的软键盘上的第一字符的选择操作,所述第二遥控指令用于指示所述第二终端在所述第二显示界面中输入所述第一字符。Further, the GUI further includes: in response to a second gesture input by the user on the soft keyboard of the second GUI, generating a second remote control instruction according to the second gesture, and converting the second remote control instruction sent to the second terminal; the second gesture includes a selection operation on the first character on the soft keyboard of the second GUI, and the second remote control instruction is used to instruct the second terminal to The first character is input in the second display interface.
需要说明的是,本实施例中所述的第一GUI相当于前述各实施例中的第一控制界面,所述第二GUI相当于前述各实施例中的第二控制界面。本实施例中的第一手势和第二手势分别相当于前述各实施例中的第一触摸操作和第二触摸操作。本实施例中的第三手势相当于前述各实施例中的界面信息请求操作或启动拍照的操作。关于该GUI的详细内容可以参见前述各实施例中的描述,在此不再赘述。It should be noted that the first GUI described in this embodiment is equivalent to the first control interface in the foregoing embodiments, and the second GUI is equivalent to the second control interface in the foregoing embodiments. The first gesture and the second gesture in this embodiment are respectively equivalent to the first touch operation and the second touch operation in the foregoing embodiments. The third gesture in this embodiment is equivalent to the operation of requesting interface information or the operation of initiating photographing in the foregoing embodiments. For details of the GUI, reference may be made to the descriptions in the foregoing embodiments, and details are not repeated here.
本发明实施例还提供一种遥控装置,包含在第一终端中,该遥控装置具有实现上述各方法实施例中第一终端行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块或单元。An embodiment of the present invention further provides a remote control device, which is included in the first terminal, and the remote control device has a function of implementing the behavior of the first terminal in the foregoing method embodiments. The functions can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外,任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线电和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。From the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by hardware, firmware, or a combination thereof. When implemented in software, the functions described above may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage medium can be any available medium that a computer can access. By way of example and not limitation, computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage media or other magnetic storage devices, or be capable of carrying or storing instructions or data structures in the form of desired program code and any other medium that can be accessed by a computer. Also, any connection can be a computer-readable medium as appropriate. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the fusing of the pertinent medium. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc, where disks usually reproduce data magnetically, and discs Lasers are used to optically copy data. Combinations of the above should also be included within the scope of computer-readable media.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.
Claims (26)
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611265792 | 2016-12-30 | ||
| CN2016112657920 | 2016-12-30 | ||
| PCT/CN2017/093038 WO2018120768A1 (en) | 2016-12-30 | 2017-07-14 | Remote control method and terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108476339A CN108476339A (en) | 2018-08-31 |
| CN108476339B true CN108476339B (en) | 2020-12-01 |
Family
ID=62707748
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201780004723.0A Active CN108476339B (en) | 2016-12-30 | 2017-07-14 | A remote control method and terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN108476339B (en) |
| WO (1) | WO2018120768A1 (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109254665A (en) * | 2018-09-20 | 2019-01-22 | 江苏电力信息技术有限公司 | The method for connecting large-size screen monitors touch gestures by touch-control blank |
| CN111586320A (en) * | 2020-04-30 | 2020-08-25 | 北京盛世辉科技有限公司 | Method and device for switching signal source and remote controller |
| CN112218144B (en) * | 2020-10-09 | 2023-04-18 | 三星电子(中国)研发中心 | Screen projection control method and device, electronic equipment and computer readable medium |
| CN120179126A (en) * | 2020-10-31 | 2025-06-20 | 华为技术有限公司 | Device communication method, system and apparatus |
| CN116266871B (en) * | 2021-12-17 | 2024-09-24 | 广州视臻信息科技有限公司 | Control mode switching method and device of Android device, storage medium and electronic device |
| CN114679616A (en) * | 2022-03-28 | 2022-06-28 | 京东方科技集团股份有限公司 | Method for controlling display device and related device |
| CN115547316A (en) * | 2022-08-11 | 2022-12-30 | 岚图汽车科技有限公司 | Remote vehicle control system and method based on mobile terminal |
| CN120215720A (en) * | 2023-12-25 | 2025-06-27 | 中兴通讯股份有限公司 | Input method, device, electronic device and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101945255A (en) * | 2010-09-20 | 2011-01-12 | 中国联合网络通信集团有限公司 | Implement method, device and system of IPTV service |
| CN104866103A (en) * | 2015-06-01 | 2015-08-26 | 联想(北京)有限公司 | Relative position determining method, wearable electronic equipment and terminal equipment |
| CN105204742A (en) * | 2015-09-28 | 2015-12-30 | 小米科技有限责任公司 | Control method and device of electronic equipment and terminal |
| CN105635776A (en) * | 2014-11-06 | 2016-06-01 | 深圳Tcl新技术有限公司 | Virtual operation interface remote control method and system |
| CN105843595A (en) * | 2014-10-27 | 2016-08-10 | 中兴通讯股份有限公司 | Method, device, and terminal for interface display |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8896764B2 (en) * | 2007-03-13 | 2014-11-25 | Sony Corporation | System and method for effectively performing a remote control configuration procedure |
| CN101656847A (en) * | 2009-08-21 | 2010-02-24 | 中兴通讯股份有限公司 | Remote control device, set top box and remote control system |
| US20110157024A1 (en) * | 2009-12-29 | 2011-06-30 | Gary Chao | System-expandable remote control with touch panel, and method for expanding systems |
| KR101715380B1 (en) * | 2010-03-15 | 2017-03-10 | 삼성전자 주식회사 | Remote controller and control method thereof, display device and control method thereof, display system and control method thereof |
| CN103093594B (en) * | 2011-11-01 | 2016-04-13 | 北京红云融通技术有限公司 | Touch-type remote-controller |
| CN102510458B (en) * | 2011-12-29 | 2014-06-25 | Tcl集团股份有限公司 | Method and system for controlling television |
| US9367144B2 (en) * | 2013-03-13 | 2016-06-14 | Google Inc. | Methods, systems, and media for providing a remote control interface for a media playback device |
| CN103281580A (en) * | 2013-05-31 | 2013-09-04 | 杨臧健 | Television set remote control method for separating user interface and system thereof |
| CN103634645A (en) * | 2013-12-10 | 2014-03-12 | 青岛海尔软件有限公司 | Method for controlling smart television by using mobile phone |
| KR20150074389A (en) * | 2013-12-24 | 2015-07-02 | 삼성전자주식회사 | the display apparatus and the method for displaying thereof |
| CN105335120A (en) * | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Multi-screen input/output control method, device and system |
| CN105282587A (en) * | 2015-07-13 | 2016-01-27 | 深圳市美贝壳科技有限公司 | Synchronous visualized intelligent television control method based on mobile phone |
-
2017
- 2017-07-14 WO PCT/CN2017/093038 patent/WO2018120768A1/en not_active Ceased
- 2017-07-14 CN CN201780004723.0A patent/CN108476339B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101945255A (en) * | 2010-09-20 | 2011-01-12 | 中国联合网络通信集团有限公司 | Implement method, device and system of IPTV service |
| CN105843595A (en) * | 2014-10-27 | 2016-08-10 | 中兴通讯股份有限公司 | Method, device, and terminal for interface display |
| CN105635776A (en) * | 2014-11-06 | 2016-06-01 | 深圳Tcl新技术有限公司 | Virtual operation interface remote control method and system |
| CN104866103A (en) * | 2015-06-01 | 2015-08-26 | 联想(北京)有限公司 | Relative position determining method, wearable electronic equipment and terminal equipment |
| CN105204742A (en) * | 2015-09-28 | 2015-12-30 | 小米科技有限责任公司 | Control method and device of electronic equipment and terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2018120768A1 (en) | 2018-07-05 |
| CN108476339A (en) | 2018-08-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108476339B (en) | A remote control method and terminal | |
| US11221747B2 (en) | Method and apparatus for operating function in touch device | |
| US10708534B2 (en) | Terminal executing mirror application of a peripheral device | |
| AU2013237690B2 (en) | Method and apparatus for performing preset operation mode using voice recognition | |
| KR102064952B1 (en) | Electronic device for operating application using received data | |
| KR101276846B1 (en) | Method and apparatus for streaming control of media data | |
| JP6253639B2 (en) | Method and apparatus for performing content auto-naming, and recording medium | |
| JP6448900B2 (en) | Information providing method based on status information, system thereof, and recording medium thereof | |
| WO2016066092A1 (en) | Multimedia playing controlling method and device, and storage medium | |
| WO2019001270A1 (en) | Mobile terminal and split screen control method thereof, and computer readable storage medium | |
| CN106375179B (en) | Method and device for displaying instant communication message | |
| CN108055569A (en) | Method and device for sending barrage in live broadcast room, and corresponding terminal | |
| WO2018157812A1 (en) | Method and apparatus for implementing video branch selection and playback | |
| WO2021169954A1 (en) | Search method and electronic device | |
| US20140282204A1 (en) | Key input method and apparatus using random number in virtual keyboard | |
| JP2018504798A (en) | Gesture control method, device, and system | |
| CN108769822A (en) | A kind of image display method and terminal device | |
| US20140333421A1 (en) | Remote control device, display apparatus, and method for controlling the remote control device and the display apparatus thereof | |
| KR101876394B1 (en) | Method and device for playing media data on a terminal | |
| WO2021104268A1 (en) | Content sharing method, and electronic apparatus | |
| US12229354B2 (en) | Context-sensitive customization of remote-control unit | |
| KR20130106691A (en) | Agent service method, electronic device, server, and computer readable recording medium thereof | |
| KR20150007569A (en) | Device and method for providing dynamic widget | |
| KR102303286B1 (en) | Terminal device and operating method thereof | |
| KR102867534B1 (en) | Display device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |