WO2017206378A1 - 终端控制方法及装置 - Google Patents
终端控制方法及装置 Download PDFInfo
- Publication number
- WO2017206378A1 WO2017206378A1 PCT/CN2016/096871 CN2016096871W WO2017206378A1 WO 2017206378 A1 WO2017206378 A1 WO 2017206378A1 CN 2016096871 W CN2016096871 W CN 2016096871W WO 2017206378 A1 WO2017206378 A1 WO 2017206378A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- layout file
- terminal
- interface
- file
- controlled terminal
- 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.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Definitions
- the present invention relates to the field of terminal control technologies, and in particular, to a terminal control method and apparatus.
- terminals such as smart TVs, smart phones, and PADs (tablets) can interact to achieve intelligent control.
- the smart TV will display the currently displayed UI interface (User Interface, user interface) screenshot, and transfer the cut picture to the smart phone, the smart phone displays the received picture, and sends corresponding operation instructions to the smart TV according to the displayed picture to perform the control operation.
- UI interface User Interface, user interface
- the control needs to continuously transfer pictures, and usually each picture has at least hundreds of KB, the picture transmission speed is low, which causes the smartphone to lag, which leads to low efficiency of control operations.
- the main object of the present invention is to provide a terminal control method and apparatus, which aim to solve the technical problem of low efficiency of controlling operations on a terminal in the prior art.
- the present invention provides a terminal control method, where the terminal control method includes the following steps:
- the control terminal sends a layout file request to the controlled terminal, so that the controlled terminal sends the layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal when receiving the layout file request ;
- the step of displaying the corresponding first UI interface according to the layout file when the layout file sent by the controlled terminal is received includes:
- the first file link of the preset type is replaced with the second file link of the preset type to modify the layout file;
- the first UI interface corresponding to the modified layout file is displayed.
- the layout file is an XML file.
- the step of sending the layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal includes:
- the controlled terminal When receiving the layout file request sent by the control terminal, the controlled terminal acquires a layout file save address corresponding to the second UI interface currently displayed by the controlled terminal;
- the obtained layout file is sent to the control terminal.
- the controlled terminal after receiving the layout file request sent by the control terminal, the step of transmitting the layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal, the controlled terminal further includes:
- the updated layout file corresponding to the second UI interface is sent to the control terminal, and the step of detecting whether the second UI interface is updated is continued.
- the present invention further provides a terminal control method, where the terminal control method includes the following steps:
- the control terminal When receiving the layout file sent by the controlled terminal, the control terminal displays a corresponding first UI interface according to the layout file, where the layout file is a layout file corresponding to the second UI interface currently displayed by the controlled terminal. ;
- the layout file is an XML file.
- the step of displaying the corresponding first UI interface according to the layout file includes:
- the control terminal When receiving the layout file sent by the controlled terminal, the control terminal searches for a first file link of a preset type included in the layout file;
- the first file link of the preset type is replaced with the second file link of the preset type to modify the layout file;
- the first UI interface corresponding to the modified layout file is displayed.
- the step of the control terminal displaying the corresponding first UI interface according to the layout file when receiving the layout file sent by the controlled terminal further includes:
- the control terminal sends a layout file request to the controlled terminal, so that the controlled terminal sends the layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal when receiving the layout file request .
- the step of sending the layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal includes:
- the controlled terminal When receiving the layout file request sent by the control terminal, the controlled terminal acquires a layout file save address corresponding to the second UI interface currently displayed by the controlled terminal;
- the obtained layout file is sent to the control terminal.
- the controlled terminal after receiving the layout file request sent by the control terminal, the step of transmitting the layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal, the controlled terminal further includes:
- the updated layout file corresponding to the second UI interface is sent to the control terminal, and the step of detecting whether the second UI interface is updated is continued.
- the present invention further provides a terminal control apparatus, where the terminal control apparatus includes:
- a processing module configured to: when the control terminal receives the layout file sent by the controlled terminal, display a corresponding first UI interface according to the layout file, where the layout file is a second UI currently displayed by the controlled terminal The layout file corresponding to the interface;
- control module configured to send an operation instruction corresponding to the preset touch operation to the controlled terminal when the preset touch operation based on the first UI interface is received, where the controlled terminal is configured according to the The operation instruction performs the corresponding operation.
- the processing module comprises:
- a searching unit configured to: when receiving the layout file sent by the controlled terminal, searching for a first file link of a preset type included in the layout file;
- a processing unit configured to replace the first file link of the preset type with a second file link of a preset type when the first file link of the preset type is found, to modify the layout file;
- a display unit configured to display, after the modification of the layout file is completed, a first UI interface corresponding to the modified layout file.
- the terminal control device further includes:
- a first sending module configured to send a layout file request to the controlled terminal
- a second sending module configured to send, by the controlled terminal, a layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal, when receiving the layout file request.
- the second sending module includes:
- a first acquiring unit configured to acquire, by the controlled terminal, a layout file storage address corresponding to a second UI interface currently displayed by the controlled terminal, when receiving the layout file request;
- a second acquiring unit configured to acquire a layout file that is saved corresponding to the save address of the layout file
- a sending unit configured to send the acquired layout file to the control terminal.
- the terminal control method and device provided by the present invention when receiving the layout file sent by the controlled terminal, the control terminal displays a corresponding first UI interface according to the layout file, and then receives a preset touch operation based on the first UI interface.
- the control terminal sends an operation instruction corresponding to the preset touch operation to the controlled terminal, and the controlled terminal performs a corresponding operation according to the received operation instruction, thereby implementing the control terminal to perform a control operation on the controlled terminal. Since the layout files are generally small, usually only a few to a few thousand KB, the transfer speed of the layout file is very fast, and the efficiency of controlling the terminal is improved compared to the manner of controlling operations by transmitting pictures.
- FIG. 1 is a schematic flowchart of a first embodiment of a terminal control method according to the present invention
- FIG. 2 is a schematic diagram of a refinement process of displaying a corresponding first UI interface according to the layout file when the control terminal receives the layout file sent by the controlled terminal according to the second embodiment of the terminal control method of the present invention
- FIG. 3 is a schematic diagram of functional modules of a first embodiment of a terminal control apparatus according to the present invention.
- FIG. 4 is a schematic diagram of a refinement function module of a processing module in a second embodiment of the terminal control apparatus according to the present invention.
- the terminal in the present invention includes, but is not limited to, a smart TV, a smart phone, a PAD (tablet computer) and the like.
- a smart TV a smart phone
- a PAD tablet computer
- FIG. 1 is a schematic flowchart diagram of a first embodiment of a terminal control method according to the present invention.
- the terminal control method includes the following steps:
- step S10 the control terminal displays a corresponding first UI interface according to the layout file when receiving the layout file sent by the controlled terminal, where the layout file is the second UI interface currently displayed by the controlled terminal.
- Layout file
- the smart TV and the smart phone first establish a wireless communication connection through WIFI, Bluetooth, and the like.
- an APP application with a remote control smart TV is installed on the smart phone.
- the smart phone establishes a wireless communication connection with the smart TV through WIFI.
- the first UI interface currently displayed by the smart phone is matched with the second UI interface currently displayed by the smart TV, thereby facilitating the user to control the current display of the smart phone.
- the smart TV can be remotely controlled by a UI interface.
- the smart TV sends the layout file corresponding to the currently displayed second UI interface to the smart phone.
- the smart phone When the smart phone receives the layout file sent by the smart TV, the smart phone loads and parses the layout file, and displays the first UI interface corresponding to the layout file.
- the layout file of Android system is XML (Extensible Markup Language, Extensible Markup Language) files are written, the layout file is an XML file, and the layout of the components corresponding to the UI interface is defined into an XML file.
- the smartphone receives the XML file, the component of the XML file is parsed into a visual view component and displayed, that is, the first UI interface is displayed.
- step S20 when receiving a preset touch operation based on the first UI interface, sending an operation instruction corresponding to the preset touch operation to the controlled terminal, for the controlled terminal to follow the operation instruction. Perform the appropriate action.
- the preset touch operation may include one or more touch operations; when the preset touch operation includes multiple touch operations, the smart phone determines whether the received touch operation is one of the touch operations of the preset touch operation, and if And determining that the received touch operation is a preset touch operation; otherwise, determining that the received touch operation is not a preset touch operation.
- the smartphone does not perform response processing. If it is determined that the received touch operation is a preset touch operation, at this time, the smart phone sends the operation instruction corresponding to the preset touch operation to the smart TV.
- the smart TV receives the operation instruction, the corresponding operation is performed according to the operation instruction. For example, when the user performs an upward sliding touch operation on the first UI interface displayed by the smart phone, the smart phone transmits an operation command for increasing the volume corresponding to the upward sliding touch operation to the smart television. When the smart TV receives the operation command for increasing the volume, an operation of increasing the volume is performed.
- the smart phone displays the first UI interface corresponding to the layout file when receiving the layout file sent by the smart TV, and then sends the smart phone when receiving the preset touch operation based on the first UI interface.
- the preset operation operation corresponding to the touch operation is to the smart TV, and the smart TV performs a corresponding operation according to the received operation instruction, thereby realizing the remote control of the smart phone by the smart phone. Since the layout files are generally small, usually only a few to a few thousand KB, the speed of sending the layout file to the smartphone is very fast, which improves the efficiency of the smart phone remote control smart TV.
- the step S10 includes:
- Step S11 The control terminal searches for a first file link of a preset type included in the layout file when receiving the layout file sent by the controlled terminal.
- step S12 when the first file link of the preset type is found, the first file link of the preset type is replaced with the second file link of the preset type to modify the layout file.
- step S13 when the modification of the layout file is completed, the first UI interface corresponding to the modified layout file is displayed.
- the smart phone when the smart phone receives the layout file sent by the smart TV, the smart phone parses the layout file to find a first file link of a preset type included in the layout file.
- the first file link of the preset type includes a file link of a text type, a file link of a picture type, and the like.
- the smart phone replaces the first file link of the preset type found with the second file link of the preset type, and the first file link of the preset type found. Make modifications. For example, still take the Android smart TV and smart phone as an example.
- the second file link for the image type: android:src ”@drawable/mobile_picture”.
- the method further includes:
- Step a the control terminal sends a layout file request to the controlled terminal
- step b the controlled terminal sends a layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal when receiving the layout file request.
- the smart phone can automatically send the layout file request to the smart TV, or send the layout file request to the smart TV when receiving the touch operation of the user triggering the layout file request.
- the trigger mode for sending the layout file request to the smart TV by the smart phone is not limited.
- the smart TV receives the layout file request sent by the smart phone, the smart TV sends the layout file corresponding to the currently displayed second UI interface to the smart phone.
- the step b includes:
- step b1 the controlled terminal acquires a layout file save address corresponding to the second UI interface currently displayed by the controlled terminal when receiving the layout file request sent by the control terminal;
- Step b2 Obtain a layout file corresponding to the save address of the layout file
- step b3 the obtained layout file is sent to the control terminal.
- the smart TV When the smart TV receives the layout file request sent by the smart phone, the smart TV first obtains the layout file save address corresponding to the currently displayed second UI interface, and then obtains the layout file corresponding to the save address according to the obtained save address. And send the obtained layout file to the smartphone.
- the smart phone When the smart phone receives the layout file sent by the smart TV, the smart phone loads and parses the layout file, and displays the first UI interface corresponding to the layout file.
- the layout file of Android system is XML (Extensible Markup Language, Extensible Markup Language) files are written to define the layout of the components corresponding to the UI interface into an XML file.
- the smartphone receives the XML file, the component of the XML file is parsed into a visual view component and displayed, that is, the first UI interface is displayed.
- the smart phone when the smart phone receives the layout file sent by the smart TV, the smart phone performs corresponding modification processing on the received layout file, for example, replacing the first file link of the preset type included in the layout file with the preset type.
- the second file link When the modification processing of the layout file is completed, the first UI interface corresponding to the modified layout file is displayed. Then, when the user performs a preset touch operation based on the first UI interface displayed by the smart phone, the smart phone sends an operation instruction corresponding to the preset touch operation to the smart TV.
- the smart TV When the smart TV receives an operation command sent by the smart phone, the smart TV performs a corresponding operation according to the operation instruction. For example, when the user performs an upward sliding touch operation on the first UI interface displayed by the smart phone, the smart phone transmits an operation command for increasing the volume corresponding to the upward sliding touch operation to the smart television. When the smart TV receives the operation command for increasing the volume, an operation of increasing the volume is performed.
- the method further includes:
- Step c detecting whether the second UI interface is updated
- step d when the second UI interface is updated, the updated layout file corresponding to the second UI interface is sent to the control terminal, and the step c is continued.
- the smart TV After the smart TV sends the layout file corresponding to the currently displayed second UI interface to the smart phone, the smart TV detects whether the currently displayed second UI interface is updated. When the second UI interface update is detected, the smart TV sends the updated layout file corresponding to the second UI interface to the smart phone. For example, after the smart TV performs the corresponding operation according to the operation instruction sent by the smart phone, the second UI interface currently displayed by the smart TV is switched and updated. At this time, the smart TV sends the updated layout file corresponding to the second UI interface to the smart device. Mobile phone.
- the smart phone When the smart phone receives the updated layout file corresponding to the second UI interface, the smart phone replaces the first UI interface currently displayed by the smart phone with the UI interface corresponding to the layout file, and updates the currently displayed first UI interface.
- the smart phone sends an operation instruction corresponding to the preset touch operation to the smart TV.
- the smart TV When receiving the operation instruction sent by the smart phone, the smart TV performs a corresponding operation according to the operation instruction.
- the smart TV After transmitting the layout file corresponding to the updated second UI interface to the smart phone, the smart TV continues to detect whether the currently displayed second UI interface is updated, and performs the above operation cyclically, each time detecting the currently displayed second UI interface.
- the updated layout file corresponding to the second UI interface is sent to the smart phone, so that the smart phone updates the currently displayed first UI interface, thereby ensuring that the first UI interface currently displayed by the smart phone and the current display of the smart TV are The second UI interface corresponds to the match.
- the smart phone when the smart phone receives the layout file sent by the smart TV, the smart phone searches for the first file link of the preset type included in the layout file, and modifies the first file link of the preset type that is found.
- the second file link of the preset type is displayed, and the first UI interface corresponding to the modified layout file is displayed, so that the first UI interface is more suitable for display on the control terminal, thereby further facilitating the user to perform control based on the first UI interface. Operation improves the user experience.
- FIG. 3 is a schematic diagram of functional modules of a first embodiment of a terminal control device according to the present invention.
- the terminal control device is applied to the smartphone side, and the terminal control device includes:
- the processing module 10 is configured to: when the control terminal receives the layout file sent by the controlled terminal, display a corresponding first UI interface according to the layout file, where the layout file is the second currently displayed by the controlled terminal.
- the smart TV and the smart phone first establish a wireless communication connection through WIFI, Bluetooth, and the like.
- an APP application with a remote control smart TV is installed on the smart phone.
- the smart phone establishes a wireless communication connection with the smart TV through WIFI.
- the first UI interface currently displayed by the smart phone is matched with the second UI interface currently displayed by the smart TV, thereby facilitating the user to control the current display of the smart phone.
- the smart TV can be remotely controlled by a UI interface.
- the smart TV sends the layout file corresponding to the currently displayed second UI interface to the smart phone.
- the processing module 10 loads and parses the layout file, and displays the first UI interface corresponding to the layout file.
- the layout file of Android system is XML (Extensible Markup Language, Extensible Markup Language) files are written, the layout file is an XML file, and the layout of the components corresponding to the UI interface is defined into an XML file.
- the processing module 10 parses the components of the XML file into a visual view component and displays it, that is, displays the first UI interface.
- the control module 20 is configured to, when receiving a preset touch operation based on the first UI interface, send an operation instruction corresponding to the preset touch operation to the controlled terminal, where the controlled terminal is configured according to the The operation instructions perform the corresponding operations.
- the control module 20 determines whether the received touch operation is a preset touch operation.
- the preset touch operation may include one or more touch operations; when the preset touch operation includes multiple touch operations, the control module 20 determines whether the received touch operation is one of the touch operations of the preset touch operation. If yes, it is determined that the received touch operation is a preset touch operation; otherwise, it is determined that the received touch operation is not a preset touch operation.
- the control module 20 does not perform a response process. If it is determined that the received touch operation is a preset touch operation, at this time, the control module 20 sends an operation instruction corresponding to the preset touch operation to the smart TV. When the smart TV receives the operation instruction, the corresponding operation is performed according to the operation instruction. For example, when the user performs an upward sliding touch operation on the first UI interface displayed by the smart phone, the control module 20 sends an operation command for increasing the volume corresponding to the upward sliding touch operation to the smart television. When the smart TV receives the operation command for increasing the volume, an operation of increasing the volume is performed.
- the processing module 10 displays the corresponding first UI interface according to the received layout file sent by the smart TV, and then, when receiving the preset touch operation based on the first UI interface, the control module 20 sends
- the preset operation operation corresponding to the touch operation is to the smart TV, and the smart TV performs a corresponding operation according to the received operation instruction, thereby realizing the remote control of the smart phone by the smart phone.
- the layout files are generally small, usually only a few to a few thousand KB, the speed of sending the layout file to the smartphone is very fast, which improves the efficiency of the smart phone remote control smart TV.
- the processing module 10 includes:
- the searching unit 11 is configured to control, when receiving the layout file sent by the controlled terminal, the first file link of the preset type included in the layout file.
- the processing unit 12 is configured to replace the first file link of the preset type with a second file link of a preset type when the first file link of the preset type is found, to modify the layout file;
- the display unit 13 is configured to display, after the modification of the layout file is completed, the first UI interface corresponding to the modified layout file.
- the searching unit 11 when receiving the layout file sent by the smart TV, parses the layout file to find a first file link of a preset type included in the layout file.
- the first file link of the preset type includes a file link of a text type, a file link of a picture type, and the like.
- the processing unit 12 replaces the first file link of the preset type that is found with the second file link of the preset type, for the preset type of the found type.
- the first file link is modified.
- the terminal control device further includes:
- a first sending module configured to send a layout file request to the controlled terminal
- a second sending module configured to send, by the controlled terminal, a layout file corresponding to the second UI interface currently displayed by the controlled terminal to the control terminal, when receiving the layout file request.
- the first sending module may automatically send a layout file request to the smart TV, or send a layout file request to the touch operation when the user triggers the layout file request.
- the trigger mode for sending the layout file request to the smart TV by the first sending module is not limited.
- the second sending module sends the layout file corresponding to the currently displayed second UI interface to the smart phone.
- the second sending module includes:
- a first acquiring unit configured to acquire, by the controlled terminal, a layout file storage address corresponding to a second UI interface currently displayed by the controlled terminal, when receiving the layout file request;
- a second acquiring unit configured to acquire a layout file that is saved corresponding to the save address of the layout file
- a sending unit configured to send the acquired layout file to the control terminal.
- the first acquiring unit first acquires the layout file save address corresponding to the currently displayed second UI interface, and then the second obtaining unit obtains the save address according to the obtained save address.
- the sending unit sends the obtained layout file to the smartphone.
- the processing module 10 loads and parses the layout file, and displays the first UI interface corresponding to the layout file.
- the terminal control apparatus further includes:
- a detecting module configured to detect whether the second UI interface is updated
- the second sending module is further configured to: when the second UI interface is updated, send the updated layout file corresponding to the second UI interface to the control terminal, where the control terminal acquires the updated location A layout file corresponding to the second UI interface.
- the detecting module detects whether the currently displayed second UI interface is updated.
- the second sending module sends the updated layout file corresponding to the second UI interface to the smart phone. For example, after the smart TV performs the corresponding operation according to the operation instruction sent by the smart phone, the second UI interface currently displayed by the smart TV is switched and updated. At this time, the second sending module sends the updated layout file corresponding to the second UI interface. To the smartphone.
- the processing module 10 replaces the first UI interface currently displayed by the smart phone with the UI interface corresponding to the layout file, and updates the currently displayed first UI interface.
- the control module 20 sends an operation instruction corresponding to the preset touch operation to the smart TV.
- the smart TV performs a corresponding operation according to the operation instruction.
- the detecting module continues to detect whether the currently displayed second UI interface is updated.
- the second sending module sends the updated layout file corresponding to the second UI interface to the smart phone, and the processing module 10 updates the currently displayed first UI interface. Therefore, it is ensured that the first UI interface currently displayed by the smart phone matches the second UI interface currently displayed by the smart TV.
- the searching unit 11 searches for the first file link of the preset type included in the layout file
- the processing unit 12 searches for the first file of the preset type.
- the link is modified to a second file link of a preset type
- the display unit 13 displays the first UI interface corresponding to the modified layout file, so that the first UI interface is more suitable for display on the control terminal, thereby further facilitating the user to be based on the first
- the UI interface performs control operations to improve the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
一种终端控制方法和装置,所述方法包括以下步骤:控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面,其中,所述布局文件为所述被控终端当前显示的第二UI界面对应的布局文件(S10);在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作(S20)。该方法提高了对终端进行控制操作的效率。
Description
技术领域
本发明涉及终端控制技术领域,尤其涉及一种终端控制方法及装置。
背景技术
随着科技的发展,智能电视、智能手机、PAD(平板电脑)等终端之间可以进行交互,实现智能控制。例如,在通过智能手机控制操作智能电视时,智能电视将当前显示的UI界面(User
Interface,用户界面)截图,并将截下的图片传输至智能手机,智能手机显示接收到的图片,并根据显示的图片发送相应的操作指令至智能电视来执行控制操作。由于控制操作中需要不断地传输图片,并且通常每张图片至少会有上百KB,图片传输速度低,会使智能手机出现滞后的问题,从而导致控制操作的效率低。
发明内容
本发明的主要目的在于提出一种终端控制方法及装置,旨在解决现有技术中对终端进行控制操作的效率低的技术问题。
为实现上述目的,本发明提供一种终端控制方法,所述终端控制方法包括以下步骤:
控制终端发送布局文件请求至被控终端,以供所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端;
在接收到所述被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面;
在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作;
其中,所述在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面的步骤包括:
在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接;
在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;
在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
优选地,所述布局文件为XML文件。
优选地,所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤包括:
被控终端在接收到控制终端发送的布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;
获取所述布局文件保存地址对应保存的布局文件;
将获取的所述布局文件发送至所述控制终端。
优选地,所述被控终端在接收到控制终端发送的布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤之后,还包括:
侦测所述第二UI界面是否更新;
在所述第二UI界面更新时,将更新的所述第二UI界面对应的布局文件发送至所述控制终端,并继续执行所述侦测所述第二UI界面是否更新的步骤。
此外,为实现上述目的,本发明还提出一种终端控制方法,所述终端控制方法包括以下步骤:
控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面,其中,所述布局文件为所述被控终端当前显示的第二UI界面对应的布局文件;
在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作。
优选地,所述布局文件为XML文件。
优选地,所述控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面的步骤包括:
控制终端在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接;
在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;
在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
优选地,所述控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面的步骤之前,还包括:
控制终端发送布局文件请求至被控终端,以供所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端。
优选地,所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤包括:
被控终端在接收到控制终端发送的布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;
获取所述布局文件保存地址对应保存的布局文件;
将获取的所述布局文件发送至所述控制终端。
优选地,所述被控终端在接收到控制终端发送的布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤之后,还包括:
侦测所述第二UI界面是否更新;
在所述第二UI界面更新时,将更新的所述第二UI界面对应的布局文件发送至所述控制终端,并继续执行所述侦测所述第二UI界面是否更新的步骤。
此外,为实现上述目的,本发明还提出一种终端控制装置,所述终端控制装置包括:
处理模块,用于控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面,其中,所述布局文件为所述被控终端当前显示的第二UI界面对应的布局文件;
控制模块,用于在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作。
优选地,所述处理模块包括:
查找单元,用于控制终端在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接;
处理单元,用于在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;
显示单元,用于在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
优选地,所述终端控制装置还包括:
第一发送模块,用于发送布局文件请求至被控终端;
第二发送模块,用于所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端。
优选地,所述第二发送模块包括:
第一获取单元,用于所述被控终端在接收到所述布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;
第二获取单元,用于获取所述布局文件保存地址对应保存的布局文件;
发送单元,用于将获取的所述布局文件发送至所述控制终端。
本发明提出的终端控制方法和装置,控制终端在接收到被控终端发送的布局文件时,根据布局文件显示对应的第一UI界面,之后,当接收到基于第一UI界面的预设触摸操作时,控制终端发送该预设触摸操作对应的操作指令至被控终端,被控终端根据接收到的操作指令执行相应的操作,从而实现控制终端对被控终端进行控制操作。由于布局文件一般都很小,通常只有几到十几KB,因此,布局文件的传输速度非常快,相比于通过传输图片进行控制操作的方式,提高了对终端进行控制操作的效率。
附图说明
图1为本发明终端控制方法第一实施例的流程示意图;
图2为本发明终端控制方法第二实施例中控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面的细化流程示意图;
图3为本发明终端控制装置第一实施例的功能模块示意图;
图4为本发明终端控制装置第二实施例中处理模块的细化功能模块示意图。
本发明目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明中的终端包括但不限于智能电视、智能手机、PAD(平板电脑)等设备,下面以控制终端为智能手机、被控终端为智能电视的情景为例对本发明各实施例进行详细说明。本领域技术人员可以理解的是,本发明各实施例还可以应用在其他情景,例如,控制终端可以为PAD、被控终端可以为台式计算机等。
本发明提供一种终端控制方法,参照图1,图1为本发明终端控制方法第一实施例的流程示意图。
在该实施例中,所述终端控制方法包括以下步骤:
步骤S10,控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面,其中,所述布局文件为所述被控终端当前显示的第二UI界面对应的布局文件;
本实施例中,智能电视与智能手机首先通过WIFI、蓝牙等建立无线通信连接。例如,智能手机上安装有遥控智能电视的APP应用,当用户开启该应用时,智能手机通过WIFI与智能电视建立无线通信连接。
当智能电视与智能手机建立了无线通信连接后,为了实现智能手机当前显示的第一UI界面与智能电视当前显示的第二UI界面是对应匹配的,从而方便用户通过操控智能手机当前显示的第一UI界面即可遥控智能电视,本实施例中,在智能电视与智能手机建立了无线通信连接后,智能电视将当前显示的第二UI界面对应的布局文件发送至智能手机。
当智能手机接收到智能电视发送的布局文件时,智能手机对该布局文件进行加载、解析,显示该布局文件对应的第一UI界面。以安卓系统的智能电视和智能手机为例,安卓系统的布局文件是以XML(Extensible
Markup
Language,可扩展标记语言)文件进行编写,布局文件为XML文件,将UI界面对应的组件的布局定义到XML文件中。智能手机在接收到XML文件时,将XML文件的组件解析成可视化的视图组件,并显示出来,也即显示第一UI界面。
步骤S20,在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作。
之后,当用户基于智能手机显示的第一UI界面执行触摸操作时,判断接收到的触摸操作是否是预设触摸操作。其中,预设触摸操作可以包括一种或多种触摸操作;当预设触摸操作包括多种触摸操作时,智能手机判断接收到的触摸操作是否是预设触摸操作的其中一种触摸操作,若是,则判断接收到的触摸操作是预设触摸操作,否则,判断接收到的触摸操作不是预设触摸操作。
若判断接收到的触摸操作不是预设触摸操作,此时,智能手机不进行响应处理。若判断接收到的触摸操作是预设触摸操作,此时,智能手机将该预设触摸操作对应的操作指令发送至智能电视。当智能电视接收到该操作指令时,根据该操作指令执行相应的操作。例如,当用户在智能手机显示的第一UI界面上执行了向上滑动触摸操作时,智能手机发送该向上滑动触摸操作对应的增大音量的操作指令至智能电视。当智能电视接收到该增大音量的操作指令时,执行增大音量的操作。
本实施例提供的方案,智能手机在接收到智能电视发送的布局文件时,显示布局文件对应的第一UI界面,之后,当接收到基于第一UI界面的预设触摸操作时,智能手机发送该预设触摸操作对应的操作指令至智能电视,智能电视根据接收到的操作指令执行相应的操作,从而实现智能手机对智能电视的遥控。由于布局文件一般都很小,通常只有几到十几KB,因此,将布局文件发送至智能手机的速度非常快,从而提高了智能手机遥控智能电视的效率。
进一步地,如图2所示,基于第一实施例提出本发明终端控制方法第二实施例,在本实施例中,所述步骤S10包括:
步骤S11,控制终端在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接;
步骤S12,在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;
步骤S13,在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
本实施例中,当智能手机接收到智能电视发送的布局文件时,智能手机对布局文件进行解析,查找布局文件中包含的预设类型的第一文件链接。其中,预设类型的第一文件链接包括文字类型的文件链接、图片类型的文件链接等。当查找到预设类型的第一文件链接时,智能手机将查找到的预设类型的第一文件链接替换为预设类型的第二文件链接,对查找到的预设类型的第一文件链接进行修改处理。例如,仍以安卓系统智能电视和智能手机为例,若从布局文件中查找到文字类型的第一文件链接:android:text=”电视文字”时,将文字类型的第一文件链接:android:text=”电视文字”修改为文字类型的第二文件链接:android:text=”手机文字”。若从布局文件中查找到图片类型的第一文件链接:android:src=”@drawable/TV_picture”时,则智能手机将图片类型的第一文件链接:android:src=”@drawable/TV_picture”修改为图片类型的第二文件链接:android:src=”@drawable/mobile_picture”。当智能手机完成对查找到的每个预设类型的第一文件链接进行修改处理后,将修改处理后的布局文件保存于指定路径,并显示修改后的布局文件对应的第一UI界面。
进一步地,所述步骤S10之前,还包括:
步骤a,控制终端发送布局文件请求至被控终端;
步骤b,所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端。
本实施例中,在智能电视与智能手机建立无线通信连接后,智能手机可自动发送布局文件请求至智能电视,或者在接收到用户触发布局文件请求的触摸操作时,发送布局文件请求至智能电视,本实施例中,对智能手机发送布局文件请求至智能电视的触发方式不作限制。当智能电视接收到智能手机发送的布局文件请求时,智能电视将当前显示的第二UI界面对应的布局文件发送至智能手机。
具体地,本实施例中,所述步骤b包括:
步骤b1,被控终端在接收到控制终端发送的布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;
步骤b2,获取所述布局文件保存地址对应保存的布局文件;
步骤b3,将获取的所述布局文件发送至所述控制终端。
当智能电视接收到智能手机发送的布局文件请求时,智能电视首先获取当前显示的第二UI界面对应的布局文件保存地址,然后根据获取到的保存地址获取到该保存地址下对应保存的布局文件,并将获取的布局文件发送至智能手机。
当智能手机接收到智能电视发送的布局文件时,智能手机对该布局文件进行加载、解析,显示该布局文件对应的第一UI界面。以安卓系统的智能电视和智能手机为例,安卓系统的布局文件是以XML(Extensible
Markup
Language,可扩展标记语言)文件进行编写,将UI界面对应的组件的布局定义到XML文件中。智能手机在接收到XML文件时,将XML文件的组件解析成可视化的视图组件,并显示出来,也即显示第一UI界面。
进一步地,当智能手机接收到智能电视发送的布局文件时,智能手机对接收到的布局文件进行相应修改处理,例如,将布局文件中包含的预设类型的第一文件链接替换为预设类型的第二文件链接。在对布局文件进行修改处理完成时,显示修改处理后的布局文件对应的第一UI界面。之后,当用户基于智能手机显示的第一UI界面执行预设触摸操作时,智能手机发送该预设触摸操作对应的操作指令至智能电视。
当智能电视接收到智能手机发送的操作指令时,智能电视根据该操作指令执行相应的操作。例如,当用户在智能手机显示的第一UI界面上执行了向上滑动触摸操作时,智能手机发送该向上滑动触摸操作对应的增大音量的操作指令至智能电视。当智能电视接收到该增大音量的操作指令时,执行增大音量的操作。
进一步地,本实施例中,所述步骤b之后,还包括:
步骤c,侦测所述第二UI界面是否更新;
步骤d,在所述第二UI界面更新时,将更新的所述第二UI界面对应的布局文件发送至所述控制终端,并继续执行所述步骤c。
当智能电视将当前显示的第二UI界面对应的布局文件发送至智能手机后,智能电视侦测当前显示的第二UI界面是否更新。在侦测到第二UI界面更新时,智能电视将更新的第二UI界面对应的布局文件发送至智能手机。例如,当智能电视根据智能手机发送的操作指令执行相应的操作后,智能电视当前显示的第二UI界面进行了切换更新,此时,智能电视发送更新的第二UI界面对应的布局文件至智能手机。当智能手机接收到更新的第二UI界面对应的布局文件时,智能手机以该布局文件对应的UI界面替换智能手机当前显示的第一UI界面,对当前显示的第一UI界面进行更新。当用户基于更新的第一UI界面执行预设触摸操作时,智能手机发送该预设触摸操作对应的操作指令至智能电视。智能电视在接收到智能手机发送的操作指令时,根据该操作指令执行相应的操作。
智能电视在将更新的第二UI界面对应的布局文件发送至智能手机之后,继续侦测当前显示的第二UI界面是否更新,循环执行上述操作,在每次侦测当前显示的第二UI界面更新时,将更新的第二UI界面对应的布局文件发送至智能手机,使智能手机更新当前显示的第一UI界面,从而保证了智能手机当前显示的第一UI界面与智能电视当前显示的第二UI界面对应匹配。
本实施例提供的方案,当智能手机接收到智能电视发送的布局文件时,智能手机查找布局文件中包含的预设类型的第一文件链接,将查找到的预设类型的第一文件链接修改为预设类型的第二文件链接,并显示修改后的布局文件对应的第一UI界面,使得第一UI界面更适宜于在控制终端上显示,从而更进一步方便用户基于第一UI界面执行控制操作,提高了用户体验。
本发明提供一种终端控制装置,参照图3,图3为本发明终端控制装置第一实施例的功能模块示意图。
在该实施例中,终端控制装置应用于智能手机侧,该终端控制装置包括:
处理模块10,用于控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面,其中,所述布局文件为所述被控终端当前显示的第二UI界面对应的布局文件;
本实施例中,智能电视与智能手机首先通过WIFI、蓝牙等建立无线通信连接。例如,智能手机上安装有遥控智能电视的APP应用,当用户开启该应用时,智能手机通过WIFI与智能电视建立无线通信连接。
当智能电视与智能手机建立了无线通信连接后,为了实现智能手机当前显示的第一UI界面与智能电视当前显示的第二UI界面是对应匹配的,从而方便用户通过操控智能手机当前显示的第一UI界面即可遥控智能电视,本实施例中,在智能电视与智能手机建立了无线通信连接后,智能电视将当前显示的第二UI界面对应的布局文件发送至智能手机。
当智能手机接收到智能电视发送的布局文件时,处理模块10对该布局文件进行加载、解析,显示该布局文件对应的第一UI界面。以安卓系统的智能电视和智能手机为例,安卓系统的布局文件是以XML(Extensible
Markup
Language,可扩展标记语言)文件进行编写,布局文件为XML文件,将UI界面对应的组件的布局定义到XML文件中。智能手机在接收到XML文件时,处理模块10将XML文件的组件解析成可视化的视图组件,并显示出来,也即显示第一UI界面。
控制模块20,用于在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作。
之后,当用户基于智能手机显示的第一UI界面执行触摸操作时,控制模块20判断接收到的触摸操作是否是预设触摸操作。其中,预设触摸操作可以包括一种或多种触摸操作;当预设触摸操作包括多种触摸操作时,控制模块20判断接收到的触摸操作是否是预设触摸操作的其中一种触摸操作,若是,则判断接收到的触摸操作是预设触摸操作,否则,判断接收到的触摸操作不是预设触摸操作。
若判断接收到的触摸操作不是预设触摸操作,此时,控制模块20不进行响应处理。若判断接收到的触摸操作是预设触摸操作,此时,控制模块20将该预设触摸操作对应的操作指令发送至智能电视。当智能电视接收到该操作指令时,根据该操作指令执行相应的操作。例如,当用户在智能手机显示的第一UI界面上执行了向上滑动触摸操作时,控制模块20发送该向上滑动触摸操作对应的增大音量的操作指令至智能电视。当智能电视接收到该增大音量的操作指令时,执行增大音量的操作。
本实施例提供的方案,处理模块10根据接收到的智能电视发送的布局文件,显示对应的第一UI界面,之后,当接收到基于第一UI界面的预设触摸操作时,控制模块20发送该预设触摸操作对应的操作指令至智能电视,智能电视根据接收到的操作指令执行相应的操作,从而实现智能手机对智能电视的遥控。由于布局文件一般都很小,通常只有几到十几KB,因此,将布局文件发送至智能手机的速度非常快,从而提高了智能手机遥控智能电视的效率。
进一步地,如图4所示,基于第一实施例提出本发明终端控制装置第二实施例,在本实施例中,所述处理模块10包括:
查找单元11,用于控制终端在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接
处理单元12,用于在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;
显示单元13,用于在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
本实施例中,当接收到智能电视发送的布局文件时,查找单元11对布局文件进行解析,查找布局文件中包含的预设类型的第一文件链接。其中,预设类型的第一文件链接包括文字类型的文件链接、图片类型的文件链接等。当查找单元11查找到预设类型的第一文件链接时,处理单元12将查找到的预设类型的第一文件链接替换为预设类型的第二文件链接,对查找到的预设类型的第一文件链接进行修改处理。例如,仍以安卓系统智能电视和智能手机为例,若从布局文件中查找到文字类型的第一文件链接:android:text=”电视文字”时,处理单元12将文字类型的第一文件链接:android:text=”电视文字”修改为文字类型的第二文件链接:android:text=”手机文字”。若从布局文件中查找到图片类型的第一文件链接:android:src=”@drawable/TV_picture”时,则处理单元12将图片类型的第一文件链接:android:src=”@drawable/TV_picture”修改为图片类型的第二文件链接:android:src=”@drawable/mobile_picture”。当处理单元12完成对查找到的每个预设类型的第一文件链接进行修改处理后,将修改处理后的布局文件保存于指定路径,显示单元13显示修改后的布局文件对应的第一UI界面。
进一步地,所述终端控制装置还包括:
第一发送模块,用于发送布局文件请求至被控终端;
第二发送模块,用于所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端。
本实施例中,在智能电视与智能手机建立无线通信连接后,第一发送模块可自动发送布局文件请求至智能电视,或者在接收到用户触发布局文件请求的触摸操作时,发送布局文件请求至智能电视,本实施例中,对第一发送模块发送布局文件请求至智能电视的触发方式不作限制。当智能电视接收到智能手机发送的布局文件请求时,第二发送模块将当前显示的第二UI界面对应的布局文件发送至智能手机。
具体地,本实施例中,所述第二发送模块包括:
第一获取单元,用于所述被控终端在接收到所述布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;
第二获取单元,用于获取所述布局文件保存地址对应保存的布局文件;
发送单元,用于将获取的所述布局文件发送至所述控制终端。
当智能电视接收到智能手机发送的布局文件请求时,第一获取单元首先获取当前显示的第二UI界面对应的布局文件保存地址,然后第二获取单元根据获取到的保存地址获取到该保存地址下对应保存的布局文件,发送单元将获取的布局文件发送至智能手机。
当智能手机接收到智能电视发送的布局文件时,处理模块10对该布局文件进行加载、解析,显示该布局文件对应的第一UI界面。
进一步地,本实施例中,所述终端控制装置还包括:
检测模块,用于侦测所述第二UI界面是否更新;
所述第二发送模块,还用于在所述第二UI界面更新时,将更新的所述第二UI界面对应的布局文件发送至所述控制终端,以供所述控制终端获取更新的所述第二UI界面对应的布局文件。
当第二发送模块将当前显示的第二UI界面对应的布局文件发送至智能手机后,检测模块侦测当前显示的第二UI界面是否更新。在侦测到第二UI界面更新时,第二发送模块将更新的第二UI界面对应的布局文件发送至智能手机。例如,当智能电视根据智能手机发送的操作指令执行相应的操作后,智能电视当前显示的第二UI界面进行了切换更新,此时,第二发送模块发送更新的第二UI界面对应的布局文件至智能手机。当智能手机接收到更新的第二UI界面对应的布局文件时,处理模块10以该布局文件对应的UI界面替换智能手机当前显示的第一UI界面,对当前显示的第一UI界面进行更新。当用户基于更新的第一UI界面执行预设触摸操作时,控制模块20发送该预设触摸操作对应的操作指令至智能电视。智能电视在接收到智能手机发送的操作指令时,根据该操作指令执行相应的操作。
第二发送模块在将更新的第二UI界面对应的布局文件发送至智能手机之后,检测模块继续侦测当前显示的第二UI界面是否更新。在每次检测模块侦测当前显示的第二UI界面更新时,第二发送模块将更新的第二UI界面对应的布局文件发送至智能手机,使处理模块10更新当前显示的第一UI界面,从而保证了智能手机当前显示的第一UI界面与智能电视当前显示的第二UI界面对应匹配。
本实施例提供的方案,当接收到智能电视发送的布局文件时,查找单元11查找布局文件中包含的预设类型的第一文件链接,处理单元12将查找到的预设类型的第一文件链接修改为预设类型的第二文件链接,显示单元13显示修改后的布局文件对应的第一UI界面,使得第一UI界面更适宜于在控制终端上显示,从而更进一步方便用户基于第一UI界面执行控制操作,提高了用户体验。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。
Claims (15)
- 一种终端控制方法,其特征在于,所述终端控制方法包括步骤:控制终端发送布局文件请求至被控终端,以供所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端;在接收到所述被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面;在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作;其中,所述在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面的步骤包括:在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接;在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
- 如权利要求1所述的终端控制方法,其特征在于,所述布局文件为XML文件。
- 如权利要求1所述的终端控制方法,其特征在于,所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤包括:被控终端在接收到控制终端发送的布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;获取所述布局文件保存地址对应保存的布局文件;将获取的所述布局文件发送至所述控制终端。
- 如权利要求3所述的终端控制方法,其特征在于,所述被控终端在接收到控制终端发送的布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤之后,还包括:侦测所述第二UI界面是否更新;在所述第二UI界面更新时,将更新的所述第二UI界面对应的布局文件发送至所述控制终端,并继续执行所述侦测所述第二UI界面是否更新的步骤。
- 一种终端控制方法,其特征在于,所述终端控制方法包括步骤:控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面,其中,所述布局文件为所述被控终端当前显示的第二UI界面对应的布局文件;在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作。
- 如权利要求5所述的终端控制方法,其特征在于,所述布局文件为XML文件。
- 如权利要求5所述的终端控制方法,其特征在于,所述控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面的步骤包括:控制终端在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接;在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
- 如权利要求5所述的终端控制方法,其特征在于,所述控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面的步骤之前,还包括:控制终端发送布局文件请求至被控终端,以供所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端。
- 如权利要求8所述的终端控制方法,其特征在于,所述被控终端在接收到控制终端发送的布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤之后,还包括:侦测所述第二UI界面是否更新;在所述第二UI界面更新时,将更新的所述第二UI界面对应的布局文件发送至所述控制终端,并继续执行所述侦测所述第二UI界面是否更新的步骤。
- 如权利要求8所述的终端控制方法,其特征在于,所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤包括:被控终端在接收到控制终端发送的布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;获取所述布局文件保存地址对应保存的布局文件;将获取的所述布局文件发送至所述控制终端。
- 如权利要求10所述的终端控制方法,其特征在于,所述被控终端在接收到控制终端发送的布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端的步骤之后,还包括:侦测所述第二UI界面是否更新;在所述第二UI界面更新时,将更新的所述第二UI界面对应的布局文件发送至所述控制终端,并继续执行所述侦测所述第二UI界面是否更新的步骤。
- 一种终端控制装置,其特征在于,所述终端控制装置包括:处理模块,用于控制终端在接收到被控终端发送的布局文件时,根据所述布局文件显示对应的第一UI界面,其中,所述布局文件为所述被控终端当前显示的第二UI界面对应的布局文件;控制模块,用于在接收到基于所述第一UI界面的预设触摸操作时,发送所述预设触摸操作对应的操作指令至所述被控终端,以供所述被控终端根据所述操作指令执行相应的操作。
- 如权利要求12所述的终端控制装置,其特征在于,所述处理模块包括:查找单元,用于控制终端在接收到被控终端发送的布局文件时,查找所述布局文件中包含的预设类型的第一文件链接;处理单元,用于在查找到预设类型的第一文件链接时,将所述预设类型的第一文件链接替换为预设类型的第二文件链接,以修改所述布局文件;显示单元,用于在所述布局文件修改完成时,显示修改后的所述布局文件对应的第一UI界面。
- 如权利要求12所述的终端控制装置,其特征在于,所述终端控制装置还包括:第一发送模块,用于发送布局文件请求至被控终端;第二发送模块,用于所述被控终端在接收到所述布局文件请求时,发送所述被控终端当前显示的第二UI界面对应的布局文件至所述控制终端。
- 如权利要求14所述的终端控制装置,其特征在于,所述第二发送模块包括:第一获取单元,用于所述被控终端在接收到所述布局文件请求时,获取所述被控终端当前显示的第二UI界面对应的布局文件保存地址;第二获取单元,用于获取所述布局文件保存地址对应保存的布局文件;发送单元,用于将获取的所述布局文件发送至所述控制终端。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610379202.0 | 2016-05-31 | ||
| CN201610379202.0A CN106095304A (zh) | 2016-05-31 | 2016-05-31 | 终端控制方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2017206378A1 true WO2017206378A1 (zh) | 2017-12-07 |
Family
ID=57229754
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/096871 Ceased WO2017206378A1 (zh) | 2016-05-31 | 2016-08-26 | 终端控制方法及装置 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106095304A (zh) |
| WO (1) | WO2017206378A1 (zh) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113625641B (zh) * | 2021-08-17 | 2023-02-28 | 华帝股份有限公司 | 基于厨电设备的控制端动态更新方法、系统、设备及介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102799473A (zh) * | 2012-06-18 | 2012-11-28 | Tcl集团股份有限公司 | 一种管理智能显示设备第三方应用的方法及装置 |
| CN103488422A (zh) * | 2013-09-12 | 2014-01-01 | 深圳市同洲电子股份有限公司 | 一种用于控制终端显示界面的方法及设备 |
| CN104281363A (zh) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | 一种界面操作的方法 |
| CN105491428A (zh) * | 2015-12-08 | 2016-04-13 | 深圳Tcl新技术有限公司 | 智能电视的控制方法及系统 |
| CN105611375A (zh) * | 2016-01-05 | 2016-05-25 | 青岛海信传媒网络技术有限公司 | 基于http协议的智能电视遥控方法及终端 |
-
2016
- 2016-05-31 CN CN201610379202.0A patent/CN106095304A/zh active Pending
- 2016-08-26 WO PCT/CN2016/096871 patent/WO2017206378A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102799473A (zh) * | 2012-06-18 | 2012-11-28 | Tcl集团股份有限公司 | 一种管理智能显示设备第三方应用的方法及装置 |
| CN103488422A (zh) * | 2013-09-12 | 2014-01-01 | 深圳市同洲电子股份有限公司 | 一种用于控制终端显示界面的方法及设备 |
| CN104281363A (zh) * | 2014-09-24 | 2015-01-14 | 深圳市金立通信设备有限公司 | 一种界面操作的方法 |
| CN105491428A (zh) * | 2015-12-08 | 2016-04-13 | 深圳Tcl新技术有限公司 | 智能电视的控制方法及系统 |
| CN105611375A (zh) * | 2016-01-05 | 2016-05-25 | 青岛海信传媒网络技术有限公司 | 基于http协议的智能电视遥控方法及终端 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106095304A (zh) | 2016-11-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019051902A1 (zh) | 终端控制方法、空调器及计算机可读存储介质 | |
| WO2016058258A1 (zh) | 终端远程控制方法和系统 | |
| WO2015109865A1 (zh) | 空调运行模式自定义控制方法及系统 | |
| WO2016029594A1 (zh) | 终端连接显示设备的方法及系统 | |
| WO2018126888A1 (zh) | 电视功能的快捷启动设置方法及装置 | |
| WO2014187158A1 (zh) | 终端数据云分享的控制方法、服务器及终端 | |
| WO2017121066A1 (zh) | 应用程序显示方法和系统 | |
| WO2018113187A1 (zh) | 一种显示控制方法及显示装置 | |
| WO2016000560A1 (en) | File transmission method, file transmission apparatus, and file transmission system | |
| WO2017201943A1 (zh) | 显示屏驱动方法及装置 | |
| WO2013159482A1 (zh) | 图标智能显示的方法和装置 | |
| WO2018036057A1 (zh) | 软件后台自适应升级方法及装置 | |
| WO2017206377A1 (zh) | 同步播放节目的方法和装置 | |
| WO2016187998A1 (zh) | 动态调整背光方法及装置 | |
| WO2017036208A1 (zh) | 显示界面中的信息提取方法及系统 | |
| WO2018006581A1 (zh) | 智能电视的播放方法及装置 | |
| WO2019210574A1 (zh) | 消息处理方法、装置、设备及可读存储介质 | |
| WO2017024877A1 (zh) | 电视主界面的切换方法及装置 | |
| WO2018223602A1 (zh) | 显示终端、画面对比度提高方法及计算机可读存储介质 | |
| WO2017071223A1 (zh) | 电视应用的控制方法及装置 | |
| WO2019051684A1 (zh) | 图片编辑方法、移动终端以及可读储存介质 | |
| WO2017024871A1 (zh) | 应用显示的方法及电视机 | |
| WO2019051901A1 (zh) | 终端控制方法、装置及计算机可读存储介质 | |
| WO2017185482A1 (zh) | 多媒体会话方法及装置 | |
| WO2019091128A1 (zh) | 新接入信源的信号预览方法及电视机 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16903760 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16903760 Country of ref document: EP Kind code of ref document: A1 |