WO2017088429A1 - Method and system for controlling touchscreen application program in display terminal by mobile terminal - Google Patents

Method and system for controlling touchscreen application program in display terminal by mobile terminal Download PDF

Info

Publication number
WO2017088429A1
WO2017088429A1 PCT/CN2016/084268 CN2016084268W WO2017088429A1 WO 2017088429 A1 WO2017088429 A1 WO 2017088429A1 CN 2016084268 W CN2016084268 W CN 2016084268W WO 2017088429 A1 WO2017088429 A1 WO 2017088429A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinate
mobile terminal
display terminal
button
click
Prior art date
Application number
PCT/CN2016/084268
Other languages
French (fr)
Chinese (zh)
Inventor
周勇
Original Assignee
深圳Tcl数字技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017088429A1 publication Critical patent/WO2017088429A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to the field of intelligent control technologies, and in particular, to a method and system for a mobile terminal to control a touch screen application on a display terminal.
  • touch operation functions have become the basic functions of most mobile terminals, and more and more touch screen applications can be used by mobile terminals. Due to the versatility of the mobile terminal and the display terminal platform, many mobile terminal-based touch screen applications can be directly installed and run on the display terminal. However, the touch screen application is operated and controlled based on the touch screen, and The display terminal does not have a touch screen function or is inconvenient to touch the display terminal due to the distance being too far. The user is inconvenient to directly perform touch control on the display terminal when using the touch screen application on the display terminal. Since the mobile terminal can access and control the display terminal very conveniently through the home wireless local area network, there is an urgent need for a method for controlling the touch screen application running on the display terminal through the mobile terminal.
  • a main object of the present invention is to provide a method and system for controlling a touch screen application on a display terminal by a mobile terminal, and aims to control a touch screen application running on the display terminal through the mobile terminal.
  • the present invention provides a method for a mobile terminal to control a touch screen application on a display terminal, the method comprising the following steps:
  • the mobile terminal When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application;
  • the mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
  • the mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button;
  • the display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information
  • the display terminal controls the currently running touch screen application according to the click instruction.
  • the step of acquiring the coordinate information corresponding to the preset universal button that the user clicks includes:
  • the preset coordinate information corresponding to the preset universal button is acquired.
  • the step of the display terminal identifying the click instruction on the second coordinate position of the display terminal according to the coordinate information comprises:
  • the display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
  • the step of the mobile terminal acquiring the coordinate percentage of the coordinate point in the screenshot, and setting the correspondence between the coordinate percentage and the preset universal button comprises:
  • the resolution of the mobile terminal is W1*H1
  • the resolution of the display terminal is W2*H2
  • the coordinate point is (X1, Y1)
  • the step of the display terminal identifying the click command on the second coordinate position of the display terminal according to the coordinate information further includes:
  • the display terminal calculates a second coordinate position on the display terminal according to the coordinate percentage P, and simulates a click action on the second coordinate position, injects into the system, and identifies the second coordinate position. Clicking on the instruction, wherein the coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
  • the present invention also provides a method for a mobile terminal to control a touch screen application on a display terminal, the method comprising the following steps:
  • the mobile terminal When the mobile terminal detects the click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with a mapping relationship between different common buttons and different coordinate information. ;
  • the display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information
  • the display terminal controls the currently running touch screen application according to the click instruction.
  • the step of acquiring the coordinate information corresponding to the preset universal button that the user clicks includes:
  • the preset coordinate information corresponding to the preset universal button is acquired.
  • the step of the display terminal identifying the click instruction on the second coordinate position of the display terminal according to the coordinate information comprises:
  • the display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
  • the step of obtaining the coordinate information corresponding to the preset universal button clicked by the user when the mobile terminal detects the click operation of the preset universal button further includes:
  • the mobile terminal When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application;
  • the mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
  • the mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button.
  • the step of the mobile terminal acquiring the coordinate percentage of the coordinate point in the screenshot, and setting the correspondence between the coordinate percentage and the preset universal button comprises:
  • the resolution of the mobile terminal is W1*H1
  • the resolution of the display terminal is W2*H2
  • the coordinate point is (X1, Y1)
  • the step of the display terminal identifying the click command on the second coordinate position of the display terminal according to the coordinate information further includes:
  • the display terminal calculates a second coordinate position on the display terminal according to the coordinate percentage P, and simulates a click action on the second coordinate position, injects into the system, and identifies the second coordinate position. Clicking on the instruction, wherein the coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
  • the present invention further provides a system for a mobile terminal to control a touch screen application on a display terminal, the system comprising: a mobile terminal and a display terminal, wherein
  • the mobile terminal When the mobile terminal detects a click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with different common buttons and different coordinate information. Mapping relationship; sending the coordinate information to the display terminal;
  • the display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information; and controls the currently running touch screen application according to the click instruction.
  • the mobile terminal is further configured to:
  • the coordinate information preset corresponding to the preset universal button is acquired.
  • the display terminal is further configured to:
  • the mobile terminal is further configured to:
  • Receiving, by the user, a calibration instruction of the preset universal button on the mobile terminal acquiring a screenshot of the control button on the display terminal that includes the currently running touch screen application; displaying the screenshot and acquiring the user's display on the mobile terminal The coordinate point of the click control operation in the area where the control button is located in the screenshot; the coordinate percentage of the coordinate point in the screenshot is obtained, and the correspondence between the coordinate percentage and the preset universal button is set.
  • the mobile terminal is further configured to:
  • the resolution of the mobile terminal is W1*H1
  • the resolution of the display terminal is W2*H2
  • the coordinate point is (X1, Y1)
  • the display terminal is further configured to:
  • the invention provides a method and a system for controlling a touch screen application program on a display terminal by using a mobile terminal, and using the mobile terminal to acquire a preset universal button clicked by the user on the mobile terminal, and setting coordinate information corresponding to the preset universal button Sending to the display terminal, the display terminal can acquire the second coordinate position on the display terminal according to the coordinate information, and identify a click instruction on the second coordinate position to touch the touch screen application currently running on the display terminal Take control.
  • the display terminal can convert and recognize the click instruction on the second coordinate position of the display terminal according to the coordinate information corresponding to the preset universal button, and therefore, the user A corresponding click command may be generated in the display terminal by performing a click operation on the mobile terminal, so that the display terminal controls the touch screen application according to the click instruction, thereby implementing the touch screen application running on the display terminal by the mobile terminal.
  • FIG. 1 is a schematic flowchart of a first embodiment of a method for a mobile terminal to control a touch screen application on a display terminal according to the present invention
  • FIG. 2 is a schematic flowchart of a second embodiment of a method for a mobile terminal to control a touch screen application on a display terminal according to the present invention
  • FIG. 3 is a schematic structural diagram of a system for controlling a touch screen application program on a display terminal of a mobile terminal according to the present invention.
  • the invention provides a method for a mobile terminal to control a touch screen application on a display terminal.
  • FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for a mobile terminal to control a touch screen application on a display terminal according to the present invention.
  • the method for the mobile terminal to control the touch screen application on the display terminal includes:
  • step S10 when the mobile terminal detects the click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with different common buttons and different coordinate information. Mapping relationship;
  • the mobile terminal is provided with a plurality of common buttons commonly used in virtual handles, such as above, lower, left, right, hit, jump, etc., to meet button support in the touch screen application running on the display terminal.
  • a plurality of common buttons commonly used in virtual handles such as above, lower, left, right, hit, jump, etc.
  • Real-time monitoring of the user's touch screen operation on the mobile terminal such as a click operation on the preset universal button, and when detecting the user's click operation on the preset universal button on the mobile terminal, acquiring the preset universal button corresponding to the user click Coordinate information.
  • the mapping relationship between different common buttons and different coordinate information is pre-set on the mobile terminal.
  • the coordinate information may be information such as a specific coordinate point position, a coordinate percentage, and the like, such as an abscissa of the coordinate point, a width of the ordinate relative to the width of the touch screen area, a percentage of the length, and the like.
  • the preset coordinate information corresponding to the universal button is only related to the position of the control button of the currently running touch screen application on the display terminal, and is independent of the position of the universal button on the mobile terminal. .
  • the coordinate information is taken as a coordinate point position.
  • the user needs to use the preset universal button B on the mobile terminal to control
  • the mapping relationship between the universal button B and the coordinate point position a may be preset on the mobile terminal. In this way, when the mobile terminal detects the click operation of the universal button B by the user, the coordinate information corresponding to the common button B clicked by the user, that is, the coordinate point position a can be acquired.
  • Step S20 the mobile terminal sends the coordinate information to the display terminal
  • the mobile terminal sends the coordinate information corresponding to the preset universal button obtained by the user when the user clicks the preset universal button operation to the display terminal by using the home wireless local area network, the UPnP protocol, or the like.
  • the coordinate point position a corresponding to the acquired universal button B clicked by the user can be sent to the display terminal.
  • Step S30 the display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information
  • the second coordinate position on the display terminal may be calculated and obtained according to the coordinate information, such as the coordinate point position sent by the display terminal according to the mobile terminal.
  • the control target A in the touch screen application currently running in the display terminal corresponding to the coordinate point position a can be identified, the control target A is also the second coordinate position, and a mouse click is simulated according to the second coordinate position.
  • the action is input to the display terminal system as a touch screen event, and the display terminal can recognize the click command at the second coordinate position of the display terminal, that is, the control target A.
  • the display terminal is configured to recognize the second coordinate position on the display terminal according to the coordinate information corresponding to the preset universal button sent by the mobile terminal, so the user clicks on the mobile terminal It is assumed that the relative position of the universal button in the mobile terminal can be completely different from the second coordinate position. In this way, the user can perform a click operation on different common buttons on the mobile terminal according to the target point that needs to be controlled on the display terminal, so that the display terminal can obtain coordinate information corresponding to different common buttons of the click. To identify click commands for different control targets on the display terminal.
  • Step S40 The display terminal controls the currently running touch screen application according to the click instruction.
  • the display terminal may respond to the recognized click command, and directly respond to the click operation effect on the display terminal, thereby responding to the click command.
  • the display terminal may respond to the recognized click command, and directly respond to the click operation effect on the display terminal, thereby responding to the click command.
  • the mobile terminal is used to acquire a preset universal button that is clicked by the user on the mobile terminal, and the coordinate information corresponding to the preset universal button is sent to the display terminal, and the display terminal can acquire the display terminal according to the coordinate information. And a second coordinate position on the second coordinate position and identifying a click command at the second coordinate position to control a touch screen application currently running on the display terminal.
  • the display terminal can convert and recognize the click instruction on the second coordinate position of the display terminal according to the coordinate information corresponding to the preset universal button, and therefore, the user A corresponding click command may be generated in the display terminal by performing a click operation on the mobile terminal, so that the display terminal controls the touch screen application according to the click instruction, thereby implementing the touch screen application running on the display terminal by the mobile terminal.
  • step S10 may include:
  • the preset coordinate information corresponding to the preset universal button is acquired.
  • the display terminal may identify a click instruction at the second coordinate position of the display terminal according to the coordinate information, and control the currently running touch screen application.
  • the user only needs to click on any coordinate point within the range of the preset universal button on the mobile terminal to perform the same control on the touch screen application currently running on the display terminal, which is more convenient for the user to pass the mobile terminal. Controls the touch screen application running on the display terminal.
  • step S30 may include:
  • the display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
  • the display terminal acquires the second coordinate position on the display terminal according to the coordinate information
  • further, if the second coordinate position falls within the range of the control button on the display terminal it is recognized as a click command to the control button on the display terminal.
  • the click command of a target point in the touch screen application running on the display terminal through the mobile terminal, but also recognize the click command of a button in the touch screen application running on the display terminal, which is applicable. More broad and more flexible.
  • a second embodiment of the present invention provides a method for a mobile terminal to control a touch screen application on a display terminal.
  • the method further includes:
  • Step S50 When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application.
  • Step S60 the mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
  • Step S70 The mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button.
  • the embodiment further includes a calibration operation for presetting a universal button on the mobile terminal, and a virtual handle may be preset on the mobile terminal, where the virtual handle includes a plurality of common preset buttons, as above, below, and left. Right button, menu, selection and other function buttons, some common preset buttons in the virtual handle can meet the needs of buttons in most touch screen applications.
  • the preset universal button in the mobile terminal is first calibrated to be in the touch screen application in the display terminal. The corresponding control buttons are controlled accurately and efficiently.
  • the mobile terminal When receiving the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a full-screen screenshot of the control button on the display terminal that includes the currently running touch screen application, and the screenshot includes the current running touch screen application. All the control buttons used.
  • the mobile terminal also displays the screenshot in full screen, and the user may perform a click operation on the control button in the screenshot according to the screenshot displayed on the mobile terminal, and acquire a control button in the screenshot displayed by the user on the mobile terminal. Performing a coordinate point of the click operation, acquiring a coordinate percentage of the coordinate point in the screenshot, and setting a correspondence relationship between the coordinate percentage and the preset universal button, and saving the coordinate percentage and the preset
  • the correspondence of the universal buttons can complete the calibration of the preset universal buttons on the mobile terminal.
  • the preset universal button After the preset universal button is calibrated on the mobile terminal, in the subsequent operation, if the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset may be acquired.
  • the universal button corresponds to the preset coordinate information, that is, the coordinate percentage, in the calibration operation, and the display terminal can obtain the control button that the user selects the click in the screenshot in the calibration operation according to the coordinate information, thereby realizing the user clicking on the mobile terminal.
  • the universal button is preset, a click command for the control button selected by the user in the screenshot is recognized on the display terminal, thereby controlling the current operation of the touch screen application on the display terminal according to the preset universal button on the mobile terminal The corresponding control button in .
  • the coordinate point of the click is converted into coordinate information such as a coordinate percentage, and the coordinate percentage is associated with the universal button on the virtual handle, and in subsequent operations, the user Click the preset universal button on the virtual handle to send the coordinate percentage corresponding to the preset universal button to the display terminal.
  • the display terminal restores the coordinate percentage to the coordinate point according to the resolution of the screen, and then according to the The coordinate point simulates the action of a mouse click and is injected into the system to recognize the click command for the coordinate point.
  • the resolution of the mobile terminal is assumed to be W1*H1
  • the display terminal resolution is W2*H2.
  • the universal button B on the mobile terminal When the universal button B on the mobile terminal is calibrated, if the user clicks on the screenshot on the mobile terminal, the coordinate point P1 obtained by the control button A is (X1, Y1), the calculated coordinate percentage is P (X1) /W1,Y1 /H1), and set the correspondence between the coordinate percentage P and the universal button B.
  • the preset coordinate percentage P corresponding to the universal button B can be acquired, and the coordinate percentage P is obtained.
  • the display terminal can obtain the second coordinate position on the display terminal, that is, the coordinate point P2 (X1) according to the coordinate percentage P.
  • the touch screen application is a game application that is operated by a touch button. Since the game application is mostly operated based on the touch screen button, since the display terminal generally has a larger screen, better stereo sound and the like than the mobile terminal, playing the game on the display terminal can bring the player with respect to the mobile terminal. For more sense of presence and realism, in this embodiment, the game application can be run on the display terminal and the buttons in the game application can be controlled and operated by the mobile terminal, which can bring better game effects to the user.
  • the present invention further provides a system in which a mobile terminal controls a touch screen application on a display terminal.
  • the mobile terminal may be a terminal having a touch function such as a mobile phone or a pad
  • the display terminal may be a television, a computer, or the like, which is not limited herein.
  • FIG. 3 is a schematic structural diagram of a system for controlling a touch screen application program on a display terminal of a mobile terminal according to the present invention.
  • system for controlling the touch screen application on the display terminal by the mobile terminal comprises:
  • the mobile terminal 1 When the mobile terminal 1 detects the click operation of the preset universal button, the mobile terminal 1 acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal 1 is pre-set with a mapping relationship between different common buttons and different coordinate information. Sending the coordinate information to the display terminal 2;
  • the display terminal 2 identifies a click command at the second coordinate position of the display terminal 2 based on the coordinate information; and controls the currently running touch screen application according to the click command.
  • the mobile terminal 1 is provided with a plurality of common buttons commonly used in virtual handles, such as above, below, left, right, hit, jump, etc., to meet the touch screen application running on the display terminal 2.
  • Button support Real-time monitoring of the user's touch screen operation on the mobile terminal 1 such as a click operation on the preset universal button, and when detecting the user's click operation on the preset universal button on the mobile terminal 1, acquiring the preset universal clicked by the user The coordinate information corresponding to the button.
  • the mapping relationship between different common buttons and different coordinate information is preset on the mobile terminal 1.
  • the coordinate information may be information such as a specific coordinate point position, a coordinate percentage, and the like, such as an abscissa of the coordinate point, a width of the ordinate relative to the width of the touch screen area, a percentage of the length, and the like.
  • the preset coordinate information corresponding to the universal button is only related to the position of the control button of the touch screen application currently running on the display terminal 2, and the universal button is on the mobile terminal 1. Position is irrelevant. For example, the coordinate information is taken as a coordinate point position. If the coordinate point position of the control target A of the touch screen application currently running on the display terminal 2 is a, the user needs to use the preset universal button B on the mobile terminal 1.
  • the mapping relationship between the universal button B and the coordinate point position a can be preset on the mobile terminal 1. In this way, when the mobile terminal 1 detects the click operation of the universal button B by the user, the coordinate point position a corresponding to the common button B clicked by the user can be acquired.
  • the mobile terminal 1 transmits the coordinate information corresponding to the preset universal button acquired by the user when the user clicks the preset universal button operation to the display terminal 2 through the home wireless local area network, the UPnP protocol, or the like.
  • the coordinate point position a corresponding to the acquired universal button B clicked by the user can be sent to the display terminal 2.
  • the second coordinate position on the display terminal 2 can be calculated according to the coordinate information, and the display terminal 2 can recognize the coordinate position a according to the coordinate terminal sent by the mobile terminal 1.
  • the coordinate point position a corresponds to the control target A in the touch screen application currently running on the display terminal 2, the control target A is also the second coordinate position, and simulates a mouse click action according to the second coordinate position as a time
  • the touch screen event is input to the display terminal 2 system, and the display terminal 2 can recognize the click command at the second coordinate position of the display terminal 2, that is, the control target A.
  • the display terminal 2 calculates the second coordinate position recognized on the display terminal 2 according to the coordinate information corresponding to the preset universal button transmitted by the mobile terminal 1, the preset universal button clicked by the user on the mobile terminal 1 is The relative position in the mobile terminal 1 and the second coordinate position may be completely different. In this way, the user can click on the different common buttons on the mobile terminal 1 according to the target point that is controlled on the display terminal 2, so that the display terminal 2 can recognize the coordinate information corresponding to the different common buttons that are clicked. Click commands for different control targets on the display terminal 2.
  • the display terminal 2 After the display terminal 2 recognizes the click command on the second coordinate position of the display terminal 2, it can respond to the recognized click command, and directly responds to the click operation effect on the display terminal 2, thereby displaying the response in response to the click command.
  • the touch screen application currently running on terminal 2 is controlled.
  • the mobile terminal 1 is used to acquire a preset universal button that is clicked by the user on the mobile terminal 1, and the coordinate information corresponding to the preset universal button is sent to the display terminal 2.
  • the display terminal 2 can obtain the coordinate information according to the coordinate information.
  • a second coordinate position on the terminal 2 is displayed, and a click command at the second coordinate position is recognized to control the touch screen application currently running on the display terminal 2.
  • the display terminal 2 can convert and recognize the click command on the second coordinate position of the display terminal 2 according to the coordinate information corresponding to the preset universal button.
  • the user can generate a corresponding click instruction in the display terminal 2 by performing a click operation on the mobile terminal 1 for the display terminal 2 to control the touch screen application according to the click instruction, thereby implementing control of the display terminal 2 by the mobile terminal 1.
  • Touchscreen app is used to acquire a preset universal button that is clicked by the user on the mobile terminal 1, and the coordinate information corresponding to the preset universal button is sent to the display terminal 2.
  • the display terminal 2 can obtain the coordinate information according to
  • the mobile terminal 1 can be used to:
  • the coordinate information preset corresponding to the preset universal button is acquired.
  • the display terminal 2 can recognize the click command at the second coordinate position of the display terminal 2 based on the coordinate information, and control the currently operating touch screen application.
  • the user only needs to click on any coordinate point within the range of the preset universal button on the mobile terminal 1 to perform the same control on the touch screen application currently running on the display terminal 2, which is more convenient for the user to pass the mobile terminal. 1 controls the display of the touch screen application running on the terminal 2.
  • the display terminal 2 can be used to:
  • the display terminal 2 acquires the second coordinate position on the display terminal 2 according to the coordinate information, further, if the second coordinate position falls within the range of the control button on the display terminal 2, It is recognized as a click command to the control button on the display terminal 2.
  • the control button on the display terminal 2 not only the user can recognize the click command of a target point in the touch screen application running on the display terminal 2 through the mobile terminal 1, but also recognize the click of a button in the touch screen application running on the display terminal 2.
  • the instructions are more applicable and more flexible.
  • the mobile terminal 1 can also be used to:
  • Receiving a calibration instruction of the preset universal button on the mobile terminal 1 by the user acquiring a screenshot of the control button on the display terminal 2 including the currently running touch screen application; displaying the screenshot and acquiring the user's display to the mobile terminal 1 In the screenshot, the coordinate point of the area where the control button is located is clicked; the coordinate percentage of the coordinate point in the screenshot is obtained, and the correspondence between the coordinate percentage and the preset universal button is set.
  • the calibration operation of the preset universal button on the mobile terminal 1 is further included, and the virtual handle can be set in advance on the mobile terminal 1, and the virtual handle includes a plurality of common preset buttons, as above, below, left, and right. Direction buttons, menus, selections, and other function buttons. Several common preset buttons in the virtual handle can meet the needs of buttons in most touch screen applications.
  • the preset universal button in the mobile terminal 1 is first calibrated to touch the touch screen in the display terminal 2. The corresponding control buttons in the application are controlled accurately and efficiently.
  • the mobile terminal 1 When receiving the calibration instruction of the preset universal button on the mobile terminal 1 , the mobile terminal 1 acquires a full-screen screenshot of the control button on the display terminal 2 including the currently running touch screen application, and the screenshot includes the currently running touch screen application. All the control buttons you need.
  • the mobile terminal 1 also displays the screenshot in full screen, and the user can perform a click operation on the control button in the screenshot according to the screenshot displayed on the mobile terminal 1, and obtain a click operation on the control button in the screenshot displayed by the mobile terminal 1 by the user. And a coordinate percentage of the coordinate point in the screenshot, and setting a correspondence between the coordinate percentage and the preset universal button, and saving the coordinate percentage and the preset universal button Corresponding relationship, the calibration of the preset universal button on the mobile terminal 1 can be completed.
  • the preset universal button After the preset universal button is calibrated on the mobile terminal 1, in the subsequent operation, if the mobile terminal 1 detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset may be acquired.
  • the universal button corresponds to the preset coordinate information, that is, the coordinate percentage, in the calibration operation, and the display terminal 2 can obtain the control button that the user selects the click in the screenshot in the calibration operation according to the coordinate information, thereby realizing the user in the mobile terminal 1
  • a click command for the control button selected by the user in the screenshot is recognized on the display terminal 2, thereby controlling the current operation on the display terminal 2 according to the preset universal button on the mobile terminal 1. Run the appropriate control button in the touchscreen application.
  • the coordinate points of the click are converted into coordinate information such as a coordinate percentage, and the coordinate percentage is associated with the universal button on the virtual handle, in subsequent operations.
  • the display terminal 2 restores the coordinate percentage to the coordinate point according to the resolution of the screen. Then, according to the coordinate point to simulate a mouse click action, injected into the system, the click command for the coordinate point can be recognized.
  • the display terminal 2 has a resolution of W2*H2.
  • the universal button B on the mobile terminal 1 is calibrated, if the user clicks on the screenshot on the mobile terminal 1 the coordinate point P1 obtained by the control button A is (X1, Y1), the calculated coordinate percentage is P (X1) /W1,Y1 /H1), and set the correspondence between the coordinate percentage P and the universal button B.
  • the preset coordinate percentage P corresponding to the common button B can be acquired, and the coordinates are obtained.
  • the percentage P is sent to the display terminal 2; after obtaining the coordinate percentage P, the display terminal 2 can obtain the second coordinate position on the display terminal 2, that is, the coordinate point P2 (X1) according to the coordinate percentage P. /W1*W2, Y1 /H1* H2), and a click command on the second coordinate position of the display terminal 2, that is, the coordinate point P2, that is, a click command for controlling the button A on the display terminal 2 is recognized, thereby controlling the currently operating touch screen application.
  • the touch screen application is a game application that is operated by a touch button. Since the game application is mostly operated based on the touch screen button, since the display terminal 2 generally has a larger screen, better stereo sound and the like than the mobile terminal 1, the game is played on the display terminal 2 with respect to the mobile terminal 1 The player can bring more sense of presence and realism to the player.
  • the game application can be run on the display terminal 2, and the button in the game application can be controlled and operated by the mobile terminal 1, which can bring the user Better game effects.
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • a storage medium such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

A method for controlling a touchscreen application program in a display terminal by a mobile terminal comprises the following steps: when detecting a click operation of a user on a preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button clicked by the user, a mapping relationship between different universal buttons and different coordinate information being preset in the mobile terminal (S10); the mobile terminal sends the coordinate information to a display terminal (S20); the display terminal identifies a click instruction in a second coordinate position of the display terminal according to the coordinate information (S30); and the display terminal controls a currently-running touchscreen application program according to the click instruction (S40). A system for controlling a touchscreen application program in a display terminal by a mobile terminal. A touchscreen application program running in a display terminal is controlled by means of a mobile terminal.

Description

移动终端控制显示终端上触屏应用程序的方法及系统  Method and system for controlling touch screen application on display terminal by mobile terminal
技术领域Technical field
本发明涉及智能控制技术领域,尤其涉及一种移动终端控制显示终端上触屏应用程序的方法及系统。The present invention relates to the field of intelligent control technologies, and in particular, to a method and system for a mobile terminal to control a touch screen application on a display terminal.
背景技术Background technique
随着移动终端的发展,触摸操作功能已成为大多数移动终端的基本功能,越来越多的触屏应用程序可被移动终端使用。由于移动终端和显示终端平台的通用性,很多基于移动终端的触屏应用程序可以直接安装和运行于显示终端上,然而,触屏应用程序都是基于触屏进行操作和控制的,而由于有的显示终端不具备触屏功能或因距离太远不方便对显示终端进行触摸操作等原因,用户在显示终端上使用触屏应用程序时不方便直接在显示终端上进行触摸控制。而由于移动终端能通过家庭无线局域网非常方便地与显示终端进行相互访问和控制,因此,急需一种能通过移动终端来控制显示终端上运行的触屏应用程序的方法。With the development of mobile terminals, touch operation functions have become the basic functions of most mobile terminals, and more and more touch screen applications can be used by mobile terminals. Due to the versatility of the mobile terminal and the display terminal platform, many mobile terminal-based touch screen applications can be directly installed and run on the display terminal. However, the touch screen application is operated and controlled based on the touch screen, and The display terminal does not have a touch screen function or is inconvenient to touch the display terminal due to the distance being too far. The user is inconvenient to directly perform touch control on the display terminal when using the touch screen application on the display terminal. Since the mobile terminal can access and control the display terminal very conveniently through the home wireless local area network, there is an urgent need for a method for controlling the touch screen application running on the display terminal through the mobile terminal.
发明内容Summary of the invention
本发明的主要目的在于提供一种移动终端控制显示终端上触屏应用程序的方法及系统,旨在通过移动终端来控制显示终端上运行的触屏应用程序。A main object of the present invention is to provide a method and system for controlling a touch screen application on a display terminal by a mobile terminal, and aims to control a touch screen application running on the display terminal through the mobile terminal.
为实现上述目的,本发明提供的一种移动终端控制显示终端上触屏应用程序的方法,所述方法包括以下步骤:To achieve the above objective, the present invention provides a method for a mobile terminal to control a touch screen application on a display terminal, the method comprising the following steps:
移动终端接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图;When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application;
所述移动终端显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;The mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系;The mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button;
移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息;When the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, acquiring the coordinate information preset corresponding to the preset universal button;
所述移动终端将所述坐标信息发送至显示终端;Transmitting, by the mobile terminal, the coordinate information to a display terminal;
所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令;The display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information;
所述显示终端根据所述点击指令对当前运行的触屏应用程序进行控制。The display terminal controls the currently running touch screen application according to the click instruction.
优选地,所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息的步骤包括:Preferably, when the mobile terminal detects the click operation of the preset universal button, the step of acquiring the coordinate information corresponding to the preset universal button that the user clicks includes:
移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。When the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset coordinate information corresponding to the preset universal button is acquired.
优选地,所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤包括:Preferably, the step of the display terminal identifying the click instruction on the second coordinate position of the display terminal according to the coordinate information comprises:
所述显示终端根据所述坐标信息获取所述显示终端上的第二坐标位置,并识别对所述显示终端上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。The display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
优选地,所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系的步骤包括:Preferably, the step of the mobile terminal acquiring the coordinate percentage of the coordinate point in the screenshot, and setting the correspondence between the coordinate percentage and the preset universal button comprises:
若所述移动终端的分辨率为W1*H1,所述显示终端的分辨率为W2*H2,所述坐标点为(X1,Y1),则计算所述坐标点在所述截图中的坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与所述预设通用按钮的对应关系;If the resolution of the mobile terminal is W1*H1, the resolution of the display terminal is W2*H2, and the coordinate point is (X1, Y1), calculate the coordinate percentage of the coordinate point in the screenshot. For P (X1) /W1, Y1 / H1), and set a correspondence relationship between the coordinate percentage P and the preset universal button;
所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤还包括:The step of the display terminal identifying the click command on the second coordinate position of the display terminal according to the coordinate information further includes:
所述显示终端根据所述坐标百分比P计算获取所述显示终端上的第二坐标位置,并模拟一次对所述第二坐标位置的点击动作,注入至系统,识别对所述第二坐标位置的点击指令,其中,所述第二坐标位置的坐标为(X1 /W1*W2,Y1 /H1* H2)。The display terminal calculates a second coordinate position on the display terminal according to the coordinate percentage P, and simulates a click action on the second coordinate position, injects into the system, and identifies the second coordinate position. Clicking on the instruction, wherein the coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
本发明还提供一种移动终端控制显示终端上触屏应用程序的方法,所述方法包括以下步骤:The present invention also provides a method for a mobile terminal to control a touch screen application on a display terminal, the method comprising the following steps:
移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息,其中,所述移动终端上预设有不同通用按钮与不同坐标信息的映射关系;When the mobile terminal detects the click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with a mapping relationship between different common buttons and different coordinate information. ;
所述移动终端将所述坐标信息发送至显示终端;Transmitting, by the mobile terminal, the coordinate information to a display terminal;
所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令;The display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information;
所述显示终端根据所述点击指令对当前运行的触屏应用程序进行控制。The display terminal controls the currently running touch screen application according to the click instruction.
优选地,所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息的步骤包括:Preferably, when the mobile terminal detects the click operation of the preset universal button, the step of acquiring the coordinate information corresponding to the preset universal button that the user clicks includes:
移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。 When the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset coordinate information corresponding to the preset universal button is acquired.
优选地,所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤包括:Preferably, the step of the display terminal identifying the click instruction on the second coordinate position of the display terminal according to the coordinate information comprises:
所述显示终端根据所述坐标信息获取所述显示终端上的第二坐标位置,并识别对所述显示终端上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。 The display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
优选地,所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息的步骤之前还包括:Preferably, the step of obtaining the coordinate information corresponding to the preset universal button clicked by the user when the mobile terminal detects the click operation of the preset universal button further includes:
移动终端接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图;When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application;
所述移动终端显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;The mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系。 The mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button.
优选地,所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系的步骤包括:Preferably, the step of the mobile terminal acquiring the coordinate percentage of the coordinate point in the screenshot, and setting the correspondence between the coordinate percentage and the preset universal button comprises:
若所述移动终端的分辨率为W1*H1,所述显示终端的分辨率为W2*H2,所述坐标点为(X1,Y1),则计算所述坐标点在所述截图中的坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与所述预设通用按钮的对应关系;If the resolution of the mobile terminal is W1*H1, the resolution of the display terminal is W2*H2, and the coordinate point is (X1, Y1), calculate the coordinate percentage of the coordinate point in the screenshot. For P (X1) /W1, Y1 / H1), and set a correspondence relationship between the coordinate percentage P and the preset universal button;
所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤还包括:The step of the display terminal identifying the click command on the second coordinate position of the display terminal according to the coordinate information further includes:
所述显示终端根据所述坐标百分比P计算获取所述显示终端上的第二坐标位置,并模拟一次对所述第二坐标位置的点击动作,注入至系统,识别对所述第二坐标位置的点击指令,其中,所述第二坐标位置的坐标为(X1 /W1*W2,Y1 /H1* H2)。 The display terminal calculates a second coordinate position on the display terminal according to the coordinate percentage P, and simulates a click action on the second coordinate position, injects into the system, and identifies the second coordinate position. Clicking on the instruction, wherein the coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
此外,为实现上述目的,本发明还提供一种移动终端控制显示终端上触屏应用程序的系统,所述系统包括:移动终端及显示终端,其中,In addition, in order to achieve the above object, the present invention further provides a system for a mobile terminal to control a touch screen application on a display terminal, the system comprising: a mobile terminal and a display terminal, wherein
所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息,其中,所述移动终端上预设有不同通用按钮与不同坐标信息的映射关系;将所述坐标信息发送至所述显示终端;When the mobile terminal detects a click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with different common buttons and different coordinate information. Mapping relationship; sending the coordinate information to the display terminal;
所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令;根据所述点击指令对当前运行的触屏应用程序进行控制。The display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information; and controls the currently running touch screen application according to the click instruction.
优选地,所述移动终端还用于:Preferably, the mobile terminal is further configured to:
检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。 When it is detected that the first coordinate position clicked by the user falls within the range of the preset universal button, the coordinate information preset corresponding to the preset universal button is acquired.
优选地,所述显示终端还用于:Preferably, the display terminal is further configured to:
根据所述坐标信息获取所述显示终端上的第二坐标位置,并识别对所述显示终端上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。 Obtaining a second coordinate position on the display terminal according to the coordinate information, and identifying a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
优选地,所述移动终端还用于:Preferably, the mobile terminal is further configured to:
接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图;显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系。 Receiving, by the user, a calibration instruction of the preset universal button on the mobile terminal, acquiring a screenshot of the control button on the display terminal that includes the currently running touch screen application; displaying the screenshot and acquiring the user's display on the mobile terminal The coordinate point of the click control operation in the area where the control button is located in the screenshot; the coordinate percentage of the coordinate point in the screenshot is obtained, and the correspondence between the coordinate percentage and the preset universal button is set.
优选地,所述移动终端还用于:Preferably, the mobile terminal is further configured to:
若所述移动终端的分辨率为W1*H1,所述显示终端的分辨率为W2*H2,所述坐标点为(X1,Y1),则计算所述坐标点在所述截图中的坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与所述预设通用按钮的对应关系;If the resolution of the mobile terminal is W1*H1, the resolution of the display terminal is W2*H2, and the coordinate point is (X1, Y1), calculate the coordinate percentage of the coordinate point in the screenshot. For P (X1) /W1, Y1 / H1), and set a correspondence relationship between the coordinate percentage P and the preset universal button;
所述显示终端还用于:The display terminal is further configured to:
根据所述坐标百分比P计算获取所述显示终端上的第二坐标位置,并模拟一次对所述第二坐标位置的点击动作,注入至系统,识别对所述第二坐标位置的点击指令,其中,所述第二坐标位置的坐标为(X1 /W1*W2,Y1 /H1* H2)。 Calculating a second coordinate position on the display terminal according to the coordinate percentage P, and simulating a click action on the second coordinate position, injecting into the system, and identifying a click instruction on the second coordinate position, wherein The coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
本发明提出的一种移动终端控制显示终端上触屏应用程序的方法及系统,利用移动终端来获取用户在移动终端上点击的预设通用按钮,并将与预设通用按钮对应设置的坐标信息发送至显示终端,显示终端根据所述坐标信息可获取所述显示终端上的第二坐标位置,并识别在第二坐标位置上的点击指令以对所述显示终端上当前运行的触屏应用程序进行控制。由于用户在移动终端上点击预设通用按钮时,显示终端可根据所述预设通用按钮对应设定的坐标信息来转换识别为对所述显示终端第二坐标位置上的点击指令,因此,用户可通过对移动终端进行点击操作来在显示终端中产生相应的点击指令,以供显示终端根据该点击指令控制触屏应用程序,从而实现通过移动终端来控制显示终端上运行的触屏应用程序。The invention provides a method and a system for controlling a touch screen application program on a display terminal by using a mobile terminal, and using the mobile terminal to acquire a preset universal button clicked by the user on the mobile terminal, and setting coordinate information corresponding to the preset universal button Sending to the display terminal, the display terminal can acquire the second coordinate position on the display terminal according to the coordinate information, and identify a click instruction on the second coordinate position to touch the touch screen application currently running on the display terminal Take control. When the user clicks the preset universal button on the mobile terminal, the display terminal can convert and recognize the click instruction on the second coordinate position of the display terminal according to the coordinate information corresponding to the preset universal button, and therefore, the user A corresponding click command may be generated in the display terminal by performing a click operation on the mobile terminal, so that the display terminal controls the touch screen application according to the click instruction, thereby implementing the touch screen application running on the display terminal by the mobile terminal.
附图说明DRAWINGS
图1为本发明移动终端控制显示终端上触屏应用程序的方法第一实施例的流程示意图;1 is a schematic flowchart of a first embodiment of a method for a mobile terminal to control a touch screen application on a display terminal according to the present invention;
图2为本发明移动终端控制显示终端上触屏应用程序的方法第二实施例的流程示意图;2 is a schematic flowchart of a second embodiment of a method for a mobile terminal to control a touch screen application on a display terminal according to the present invention;
图3为本发明移动终端控制显示终端上触屏应用程序的系统一实施例的结构示意图。FIG. 3 is a schematic structural diagram of a system for controlling a touch screen application program on a display terminal of a mobile terminal according to the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
本发明提供一种移动终端控制显示终端上触屏应用程序的方法。The invention provides a method for a mobile terminal to control a touch screen application on a display terminal.
参照图1,图1为本发明移动终端控制显示终端上触屏应用程序的方法第一实施例的流程示意图。Referring to FIG. 1, FIG. 1 is a schematic flowchart diagram of a first embodiment of a method for a mobile terminal to control a touch screen application on a display terminal according to the present invention.
在第一实施例中,该移动终端控制显示终端上触屏应用程序的方法包括:In the first embodiment, the method for the mobile terminal to control the touch screen application on the display terminal includes:
步骤S10,移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息,其中,所述移动终端上预设有不同通用按钮与不同坐标信息的映射关系; In step S10, when the mobile terminal detects the click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with different common buttons and different coordinate information. Mapping relationship;
本实施例中,移动终端上设置有若干虚拟手柄中常见的通用按钮,如上、下、左、右、击打、跳跃等按钮,以满足对显示终端上运行的触屏应用程序中的按键支持。实时监听用户在移动终端上的触屏操作如对预设通用按钮的点击操作,当检测到用户在移动终端上对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息。其中,所述移动终端上预设有不同通用按钮与不同坐标信息的映射关系。该坐标信息可以是特定的坐标点位置、坐标百分比等信息,如坐标点的横坐标、纵坐标相对于触摸屏区域的宽度、长度的百分比等。需要说明的是,本实施例中,与通用按钮对应预设的坐标信息只跟显示终端上当前运行的触屏应用程序的控制按钮的位置相关,而跟该通用按钮在移动终端上的位置无关。如以该坐标信息为坐标点位置为例进行说明,若显示终端上当前运行的触屏应用程序的控制目标A的坐标点位置为a,用户需要利用移动终端上的预设通用按钮B来操控控制目标A,则可在所述移动终端上预先设定好通用按钮B与坐标点位置为a的映射关系。这样,在移动终端检测到用户对通用按钮B的点击操作时,即可获取用户点击的通用按钮B对应的坐标信息即坐标点位置a。In this embodiment, the mobile terminal is provided with a plurality of common buttons commonly used in virtual handles, such as above, lower, left, right, hit, jump, etc., to meet button support in the touch screen application running on the display terminal. . Real-time monitoring of the user's touch screen operation on the mobile terminal, such as a click operation on the preset universal button, and when detecting the user's click operation on the preset universal button on the mobile terminal, acquiring the preset universal button corresponding to the user click Coordinate information. The mapping relationship between different common buttons and different coordinate information is pre-set on the mobile terminal. The coordinate information may be information such as a specific coordinate point position, a coordinate percentage, and the like, such as an abscissa of the coordinate point, a width of the ordinate relative to the width of the touch screen area, a percentage of the length, and the like. It should be noted that, in this embodiment, the preset coordinate information corresponding to the universal button is only related to the position of the control button of the currently running touch screen application on the display terminal, and is independent of the position of the universal button on the mobile terminal. . For example, the coordinate information is taken as a coordinate point position. If the coordinate point position of the control target A of the touch screen application currently running on the display terminal is a, the user needs to use the preset universal button B on the mobile terminal to control When the target A is controlled, the mapping relationship between the universal button B and the coordinate point position a may be preset on the mobile terminal. In this way, when the mobile terminal detects the click operation of the universal button B by the user, the coordinate information corresponding to the common button B clicked by the user, that is, the coordinate point position a can be acquired.
步骤S20,所述移动终端将所述坐标信息发送至显示终端;Step S20, the mobile terminal sends the coordinate information to the display terminal;
所述移动终端通过家庭无线局域网、UPnP协议等将用户点击预设通用按钮操作时获取的所述预设通用按钮对应的坐标信息发送至显示终端。如可将获取的用户点击的通用按钮B对应的坐标点位置a发送至显示终端。The mobile terminal sends the coordinate information corresponding to the preset universal button obtained by the user when the user clicks the preset universal button operation to the display terminal by using the home wireless local area network, the UPnP protocol, or the like. For example, the coordinate point position a corresponding to the acquired universal button B clicked by the user can be sent to the display terminal.
步骤S30,所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令;Step S30, the display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information;
所述显示终端获取到所述移动终端发送的坐标信息后,可根据该坐标信息计算获取所述显示终端上的第二坐标位置,如所述显示终端根据所述移动终端发送的坐标点位置a即可识别出与坐标点位置a对应的在显示终端当前运行的触屏应用程序中的控制目标A,该控制目标A也即第二坐标位置,并根据该第二坐标位置模拟一次鼠标点击的动作,作为一次触屏事件输入到显示终端系统,显示终端即可识别到在所述显示终端第二坐标位置也即控制目标A上的点击指令。After the display terminal obtains the coordinate information sent by the mobile terminal, the second coordinate position on the display terminal may be calculated and obtained according to the coordinate information, such as the coordinate point position sent by the display terminal according to the mobile terminal. The control target A in the touch screen application currently running in the display terminal corresponding to the coordinate point position a can be identified, the control target A is also the second coordinate position, and a mouse click is simulated according to the second coordinate position. The action is input to the display terminal system as a touch screen event, and the display terminal can recognize the click command at the second coordinate position of the display terminal, that is, the control target A.
由于所述显示终端是根据所述移动终端发送的与预设通用按钮对应的坐标信息来计算识别出在所述显示终端上的第二坐标位置,因此,用户在所述移动终端上点击的预设通用按钮在移动终端中的相对位置与所述第二坐标位置可以完全不同。这样,用户即可根据需要在所述显示终端上进行控制的目标点相应地对所述移动终端上的不同通用按钮进行点击操作,以使所述显示终端根据点击的不同通用按钮对应的坐标信息来识别出在所述显示终端上不同控制目标的点击指令。The display terminal is configured to recognize the second coordinate position on the display terminal according to the coordinate information corresponding to the preset universal button sent by the mobile terminal, so the user clicks on the mobile terminal It is assumed that the relative position of the universal button in the mobile terminal can be completely different from the second coordinate position. In this way, the user can perform a click operation on different common buttons on the mobile terminal according to the target point that needs to be controlled on the display terminal, so that the display terminal can obtain coordinate information corresponding to different common buttons of the click. To identify click commands for different control targets on the display terminal.
步骤S40,所述显示终端根据所述点击指令对当前运行的触屏应用程序进行控制。Step S40: The display terminal controls the currently running touch screen application according to the click instruction.
所述显示终端识别到在所述显示终端第二坐标位置上的点击指令后,可对识别的点击指令进行响应,与直接响应在所述显示终端的点击操作效果一致,从而响应所述点击指令来对所述显示终端上当前运行的触屏应用程序进行控制。After the display terminal recognizes the click command on the second coordinate position of the display terminal, the display terminal may respond to the recognized click command, and directly respond to the click operation effect on the display terminal, thereby responding to the click command. To control the touch screen application currently running on the display terminal.
本实施例利用移动终端来获取用户在移动终端上点击的预设通用按钮,并将与预设通用按钮对应设置的坐标信息发送至显示终端,显示终端根据所述坐标信息可获取所述显示终端上的第二坐标位置,并识别在第二坐标位置上的点击指令以对所述显示终端上当前运行的触屏应用程序进行控制。由于用户在移动终端上点击预设通用按钮时,显示终端可根据所述预设通用按钮对应设定的坐标信息来转换识别为对所述显示终端第二坐标位置上的点击指令,因此,用户可通过对移动终端进行点击操作来在显示终端中产生相应的点击指令,以供显示终端根据该点击指令控制触屏应用程序,从而实现通过移动终端来控制显示终端上运行的触屏应用程序。In this embodiment, the mobile terminal is used to acquire a preset universal button that is clicked by the user on the mobile terminal, and the coordinate information corresponding to the preset universal button is sent to the display terminal, and the display terminal can acquire the display terminal according to the coordinate information. And a second coordinate position on the second coordinate position and identifying a click command at the second coordinate position to control a touch screen application currently running on the display terminal. When the user clicks the preset universal button on the mobile terminal, the display terminal can convert and recognize the click instruction on the second coordinate position of the display terminal according to the coordinate information corresponding to the preset universal button, and therefore, the user A corresponding click command may be generated in the display terminal by performing a click operation on the mobile terminal, so that the display terminal controls the touch screen application according to the click instruction, thereby implementing the touch screen application running on the display terminal by the mobile terminal.
进一步地,在其他实施例中,上述步骤S10可以包括:Further, in other embodiments, the foregoing step S10 may include:
移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。When the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset coordinate information corresponding to the preset universal button is acquired.
本实施例中,当检测到用户在移动终端上的点击操作并获取用户点击的第一坐标位置时,若判断所述第一坐标位置落入移动终端上预设通用按钮的范围内,则获取与所述预设通用按钮对应预设的坐标信息。其中,所述预设通用按钮预先设定有对应的坐标信息,这样,只要用户在移动终端上预设通用按钮的范围内任一坐标点进行点击,都可获取到相同的与该预设通用按钮对应的坐标信息,所述显示终端即可根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令,并对当前运行的触屏应用程序进行控制。本实施例中用户只需对移动终端上预设通用按钮的范围内任一坐标点进行点击即可对所述显示终端上当前运行的触屏应用程序进行相同的控制,更加方便用户通过移动终端对显示终端上运行的触屏应用程序的控制。In this embodiment, when the user clicks on the mobile terminal and obtains the first coordinate position of the user click, if the first coordinate position is determined to fall within the range of the preset universal button on the mobile terminal, Corresponding coordinate information corresponding to the preset universal button. The preset universal button is preset with corresponding coordinate information, so that the same universal and the preset can be obtained as long as the user clicks on any coordinate point within the range of the preset universal button on the mobile terminal. The coordinate information corresponding to the button, the display terminal may identify a click instruction at the second coordinate position of the display terminal according to the coordinate information, and control the currently running touch screen application. In this embodiment, the user only needs to click on any coordinate point within the range of the preset universal button on the mobile terminal to perform the same control on the touch screen application currently running on the display terminal, which is more convenient for the user to pass the mobile terminal. Controls the touch screen application running on the display terminal.
进一步地,在其他实施例中,上述步骤S30可以包括:Further, in other embodiments, the foregoing step S30 may include:
所述显示终端根据所述坐标信息获取所述显示终端上的第二坐标位置,并识别对所述显示终端上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。The display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
本实施例中,所述显示终端根据所述坐标信息获取所述显示终端上的第二坐标位置后,进一步地,若所述第二坐标位置落入所述显示终端上所述控制按钮的范围内,则识别为对所述显示终端上控制按钮的点击指令。这样,不仅能识别出用户通过移动终端对显示终端上运行的触屏应用程序中一目标点的点击指令,还能识别出对显示终端上运行的触屏应用程序中一按钮的点击指令,适用性更广,更加灵活。In this embodiment, after the display terminal acquires the second coordinate position on the display terminal according to the coordinate information, further, if the second coordinate position falls within the range of the control button on the display terminal Then, it is recognized as a click command to the control button on the display terminal. In this way, not only the user can recognize the click command of a target point in the touch screen application running on the display terminal through the mobile terminal, but also recognize the click command of a button in the touch screen application running on the display terminal, which is applicable. More broad and more flexible.
如图2所示,本发明第二实施例提出一种移动终端控制显示终端上触屏应用程序的方法,在上述实施例的基础上,在上述步骤S10之前还包括:As shown in FIG. 2, a second embodiment of the present invention provides a method for a mobile terminal to control a touch screen application on a display terminal. On the basis of the foregoing embodiment, before the step S10, the method further includes:
步骤S50,移动终端接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图; Step S50: When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application.
步骤S60,所述移动终端显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;Step S60, the mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
步骤S70,所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系。Step S70: The mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button.
本实施例中还包括对所述移动终端上预设通用按钮的校准操作,可预先在所述移动终端上设定虚拟手柄,该虚拟手柄中包括若干通用的预设按钮,如上、下、左、右方向按钮,菜单、选择等功能按钮,该虚拟手柄中的若干通用的预设按钮能满足绝大多数触屏应用程序中按钮的需求。在使用移动终端中的预设通用按钮来对显示终端中的触屏应用程序进行控制时,先要对移动终端中的预设通用按钮进行校准,以对显示终端中的触屏应用程序中的相应控制按钮进行准确有效地控制。The embodiment further includes a calibration operation for presetting a universal button on the mobile terminal, and a virtual handle may be preset on the mobile terminal, where the virtual handle includes a plurality of common preset buttons, as above, below, and left. Right button, menu, selection and other function buttons, some common preset buttons in the virtual handle can meet the needs of buttons in most touch screen applications. When using the preset universal button in the mobile terminal to control the touch screen application in the display terminal, the preset universal button in the mobile terminal is first calibrated to be in the touch screen application in the display terminal. The corresponding control buttons are controlled accurately and efficiently.
移动终端在接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的全屏截图,该截图中包含当前运行触屏应用程序需用到的所有控制按钮。所述移动终端也全屏显示所述截图,用户可根据所述移动终端上显示的所述截图对所述截图中控制按钮进行点击操作,获取用户对所述移动终端显示的所述截图中控制按钮进行点击操作的坐标点,同时获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系,保存所述坐标百分比与所述预设通用按钮的对应关系,即可完成所述移动终端上预设通用按钮的校准。When receiving the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a full-screen screenshot of the control button on the display terminal that includes the currently running touch screen application, and the screenshot includes the current running touch screen application. All the control buttons used. The mobile terminal also displays the screenshot in full screen, and the user may perform a click operation on the control button in the screenshot according to the screenshot displayed on the mobile terminal, and acquire a control button in the screenshot displayed by the user on the mobile terminal. Performing a coordinate point of the click operation, acquiring a coordinate percentage of the coordinate point in the screenshot, and setting a correspondence relationship between the coordinate percentage and the preset universal button, and saving the coordinate percentage and the preset The correspondence of the universal buttons can complete the calibration of the preset universal buttons on the mobile terminal.
对所述移动终端上预设通用按钮进行校准后,在后续操作中,若移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,则可获取与所述预设通用按钮在校准操作中对应预设的坐标信息即坐标百分比,而显示终端即可根据该坐标信息获取在校准操作中用户在所述截图中选择点击的控制按钮,从而实现用户在移动终端上点击预设通用按钮时,在显示终端上识别出对用户在所述截图中选择的控制按钮的点击指令,从而根据移动终端上的预设通用按钮来控制操作在显示终端上当前运行触屏应用程序中的相应控制按钮。After the preset universal button is calibrated on the mobile terminal, in the subsequent operation, if the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset may be acquired. The universal button corresponds to the preset coordinate information, that is, the coordinate percentage, in the calibration operation, and the display terminal can obtain the control button that the user selects the click in the screenshot in the calibration operation according to the coordinate information, thereby realizing the user clicking on the mobile terminal. When the universal button is preset, a click command for the control button selected by the user in the screenshot is recognized on the display terminal, thereby controlling the current operation of the touch screen application on the display terminal according to the preset universal button on the mobile terminal The corresponding control button in .
具体地,由于显示终端分辨率和移动终端分辨率可能不一致,因此把点击的坐标点转化为坐标信息如坐标百分比,并把该坐标百分比与虚拟手柄上的通用按钮对应起来,后续操作中,用户点击虚拟手柄上的预设通用按钮,即把该预设通用按钮对应的坐标百分比发送到显示终端,显示终端接收到坐标百分比后,根据自身屏幕分辨率将坐标百分比恢复成坐标点,然后根据该坐标点模拟一次鼠标点击的动作,注入到系统,即可识别对坐标点的点击指令。具体地在坐标点与坐标百分比进行数据换算时,若假定移动终端分辨率为 W1*H1,显示终端分辨率为W2*H2,在针对移动终端上的通用按钮B进行校准时,若用户在移动终端上点击所述截图上控制按钮A获取到的坐标点P1为(X1,Y1),则计算坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与通用按钮B的对应关系。当用户通过移动终端控制显示终端上的触屏应用程序时,若检测到用户对通用按钮B的点击操作,则可获取预先设定的与通用按钮B对应的坐标百分比P,并将坐标百分比P发送至显示终端;显示终端在获取到坐标百分比为P后,即可根据坐标百分比P计算获取所述显示终端上的第二坐标位置即坐标点P2(X1 /W1*W2,Y1 /H1* H2),并识别在所述显示终端第二坐标位置即坐标点P2上的点击指令,也即识别在所述显示终端上控制按钮A的点击指令,从而对当前运行的触屏应用程序进行控制。Specifically, since the resolution of the display terminal and the resolution of the mobile terminal may be inconsistent, the coordinate point of the click is converted into coordinate information such as a coordinate percentage, and the coordinate percentage is associated with the universal button on the virtual handle, and in subsequent operations, the user Click the preset universal button on the virtual handle to send the coordinate percentage corresponding to the preset universal button to the display terminal. After receiving the coordinate percentage, the display terminal restores the coordinate percentage to the coordinate point according to the resolution of the screen, and then according to the The coordinate point simulates the action of a mouse click and is injected into the system to recognize the click command for the coordinate point. Specifically, when data conversion is performed between coordinate points and coordinate percentages, if the resolution of the mobile terminal is assumed to be W1*H1, the display terminal resolution is W2*H2. When the universal button B on the mobile terminal is calibrated, if the user clicks on the screenshot on the mobile terminal, the coordinate point P1 obtained by the control button A is (X1, Y1), the calculated coordinate percentage is P (X1) /W1,Y1 /H1), and set the correspondence between the coordinate percentage P and the universal button B. When the user controls the touch screen application on the display terminal through the mobile terminal, if the user clicks the click operation on the universal button B, the preset coordinate percentage P corresponding to the universal button B can be acquired, and the coordinate percentage P is obtained. Sending to the display terminal; after obtaining the coordinate percentage P, the display terminal can obtain the second coordinate position on the display terminal, that is, the coordinate point P2 (X1) according to the coordinate percentage P. /W1*W2, Y1 /H1* H2), and identifying a click command on the second coordinate position of the display terminal, that is, the coordinate point P2, that is, identifying a click command of the control button A on the display terminal, thereby controlling the currently running touch screen application .
进一步地,在其他实施例中,所述触屏应用程序为通过触摸按钮操作的游戏应用程序。由于游戏应用程序大多是基于触屏按钮操作的,而由于显示终端相对移动终端一般具有更大的屏幕、更好的立体音效等特性,因此在显示终端上玩游戏相对于移动终端能给玩家带来更多的临场感和真实感,本实施例中可在显示终端上运行游戏应用程序而通过移动终端来控制、操作该游戏应用程序中的按钮,能给用户带来更好的游戏效果。Further, in other embodiments, the touch screen application is a game application that is operated by a touch button. Since the game application is mostly operated based on the touch screen button, since the display terminal generally has a larger screen, better stereo sound and the like than the mobile terminal, playing the game on the display terminal can bring the player with respect to the mobile terminal. For more sense of presence and realism, in this embodiment, the game application can be run on the display terminal and the buttons in the game application can be controlled and operated by the mobile terminal, which can bring better game effects to the user.
本发明进一步提供一种移动终端控制显示终端上触屏应用程序的系统。The present invention further provides a system in which a mobile terminal controls a touch screen application on a display terminal.
需要说明的是,本发明实施例中,该移动终端可以是手机、pad等具有触摸功能的终端,显示终端可以是电视、电脑等,在此不作限定。It should be noted that, in the embodiment of the present invention, the mobile terminal may be a terminal having a touch function such as a mobile phone or a pad, and the display terminal may be a television, a computer, or the like, which is not limited herein.
参照图3,图3为本发明移动终端控制显示终端上触屏应用程序的系统一实施例的结构示意图。Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a system for controlling a touch screen application program on a display terminal of a mobile terminal according to the present invention.
在一实施例中,该移动终端控制显示终端上触屏应用程序的系统包括:In an embodiment, the system for controlling the touch screen application on the display terminal by the mobile terminal comprises:
移动终端1及显示终端2,其中,a mobile terminal 1 and a display terminal 2, wherein
移动终端1检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息,其中,移动终端1上预设有不同通用按钮与不同坐标信息的映射关系;将所述坐标信息发送至显示终端2;When the mobile terminal 1 detects the click operation of the preset universal button, the mobile terminal 1 acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal 1 is pre-set with a mapping relationship between different common buttons and different coordinate information. Sending the coordinate information to the display terminal 2;
显示终端2根据所述坐标信息识别在显示终端2第二坐标位置上的点击指令;根据所述点击指令对当前运行的触屏应用程序进行控制。The display terminal 2 identifies a click command at the second coordinate position of the display terminal 2 based on the coordinate information; and controls the currently running touch screen application according to the click command.
本实施例中,移动终端1上设置有若干虚拟手柄中常见的通用按钮,如上、下、左、右、击打、跳跃等按钮,以满足对显示终端2上运行的触屏应用程序中的按键支持。实时监听用户在移动终端1上的触屏操作如对预设通用按钮的点击操作,当检测到用户在移动终端1上对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息。其中,移动终端1上预设有不同通用按钮与不同坐标信息的映射关系。该坐标信息可以是特定的坐标点位置、坐标百分比等信息,如坐标点的横坐标、纵坐标相对于触摸屏区域的宽度、长度的百分比等。需要说明的是,本实施例中,与通用按钮对应预设的坐标信息只跟显示终端2上当前运行的触屏应用程序的控制按钮的位置相关,而跟该通用按钮在移动终端1上的位置无关。如以该坐标信息为坐标点位置为例进行说明,若显示终端2上当前运行的触屏应用程序的控制目标A的坐标点位置为a,用户需要利用移动终端1上的预设通用按钮B来操控控制目标A,则可在移动终端1上预先设定好通用按钮B与坐标点位置为a的映射关系。这样,在移动终端1检测到用户对通用按钮B的点击操作时,即可获取用户点击的通用按钮B对应的坐标信息即坐标点位置a。In this embodiment, the mobile terminal 1 is provided with a plurality of common buttons commonly used in virtual handles, such as above, below, left, right, hit, jump, etc., to meet the touch screen application running on the display terminal 2. Button support. Real-time monitoring of the user's touch screen operation on the mobile terminal 1 such as a click operation on the preset universal button, and when detecting the user's click operation on the preset universal button on the mobile terminal 1, acquiring the preset universal clicked by the user The coordinate information corresponding to the button. The mapping relationship between different common buttons and different coordinate information is preset on the mobile terminal 1. The coordinate information may be information such as a specific coordinate point position, a coordinate percentage, and the like, such as an abscissa of the coordinate point, a width of the ordinate relative to the width of the touch screen area, a percentage of the length, and the like. It should be noted that, in this embodiment, the preset coordinate information corresponding to the universal button is only related to the position of the control button of the touch screen application currently running on the display terminal 2, and the universal button is on the mobile terminal 1. Position is irrelevant. For example, the coordinate information is taken as a coordinate point position. If the coordinate point position of the control target A of the touch screen application currently running on the display terminal 2 is a, the user needs to use the preset universal button B on the mobile terminal 1. To control the control target A, the mapping relationship between the universal button B and the coordinate point position a can be preset on the mobile terminal 1. In this way, when the mobile terminal 1 detects the click operation of the universal button B by the user, the coordinate point position a corresponding to the common button B clicked by the user can be acquired.
移动终端1通过家庭无线局域网、UPnP协议等将用户点击预设通用按钮操作时获取的所述预设通用按钮对应的坐标信息发送至显示终端2。如可将获取的用户点击的通用按钮B对应的坐标点位置a发送至显示终端2。The mobile terminal 1 transmits the coordinate information corresponding to the preset universal button acquired by the user when the user clicks the preset universal button operation to the display terminal 2 through the home wireless local area network, the UPnP protocol, or the like. For example, the coordinate point position a corresponding to the acquired universal button B clicked by the user can be sent to the display terminal 2.
显示终端2获取到移动终端1发送的坐标信息后,可根据该坐标信息计算获取显示终端2上的第二坐标位置,如显示终端2根据移动终端1发送的坐标点位置a即可识别出与坐标点位置a对应的在显示终端2当前运行的触屏应用程序中的控制目标A,该控制目标A也即第二坐标位置,并根据该第二坐标位置模拟一次鼠标点击的动作,作为一次触屏事件输入到显示终端2系统,显示终端2即可识别到在显示终端2第二坐标位置也即控制目标A上的点击指令。After the display terminal 2 acquires the coordinate information sent by the mobile terminal 1, the second coordinate position on the display terminal 2 can be calculated according to the coordinate information, and the display terminal 2 can recognize the coordinate position a according to the coordinate terminal sent by the mobile terminal 1. The coordinate point position a corresponds to the control target A in the touch screen application currently running on the display terminal 2, the control target A is also the second coordinate position, and simulates a mouse click action according to the second coordinate position as a time The touch screen event is input to the display terminal 2 system, and the display terminal 2 can recognize the click command at the second coordinate position of the display terminal 2, that is, the control target A.
由于显示终端2是根据移动终端1发送的与预设通用按钮对应的坐标信息来计算识别出在显示终端2上的第二坐标位置,因此,用户在移动终端1上点击的预设通用按钮在移动终端1中的相对位置与所述第二坐标位置可以完全不同。这样,用户即可根据需要在显示终端2上进行控制的目标点相应地对移动终端1上的不同通用按钮进行点击操作,以使显示终端2根据点击的不同通用按钮对应的坐标信息来识别出在显示终端2上不同控制目标的点击指令。Since the display terminal 2 calculates the second coordinate position recognized on the display terminal 2 according to the coordinate information corresponding to the preset universal button transmitted by the mobile terminal 1, the preset universal button clicked by the user on the mobile terminal 1 is The relative position in the mobile terminal 1 and the second coordinate position may be completely different. In this way, the user can click on the different common buttons on the mobile terminal 1 according to the target point that is controlled on the display terminal 2, so that the display terminal 2 can recognize the coordinate information corresponding to the different common buttons that are clicked. Click commands for different control targets on the display terminal 2.
显示终端2识别到在显示终端2第二坐标位置上的点击指令后,可对识别的点击指令进行响应,与直接响应在显示终端2的点击操作效果一致,从而响应所述点击指令来对显示终端2上当前运行的触屏应用程序进行控制。After the display terminal 2 recognizes the click command on the second coordinate position of the display terminal 2, it can respond to the recognized click command, and directly responds to the click operation effect on the display terminal 2, thereby displaying the response in response to the click command. The touch screen application currently running on terminal 2 is controlled.
本实施例利用移动终端1来获取用户在移动终端1上点击的预设通用按钮,并将与预设通用按钮对应设置的坐标信息发送至显示终端2,显示终端2根据所述坐标信息可获取显示终端2上的第二坐标位置,并识别在第二坐标位置上的点击指令以对显示终端2上当前运行的触屏应用程序进行控制。由于用户在移动终端1上点击预设通用按钮时,显示终端2可根据所述预设通用按钮对应设定的坐标信息来转换识别为对显示终端2第二坐标位置上的点击指令,因此,用户可通过对移动终端1进行点击操作来在显示终端2中产生相应的点击指令,以供显示终端2根据该点击指令控制触屏应用程序,从而实现通过移动终端1来控制显示终端2上运行的触屏应用程序。In this embodiment, the mobile terminal 1 is used to acquire a preset universal button that is clicked by the user on the mobile terminal 1, and the coordinate information corresponding to the preset universal button is sent to the display terminal 2. The display terminal 2 can obtain the coordinate information according to the coordinate information. A second coordinate position on the terminal 2 is displayed, and a click command at the second coordinate position is recognized to control the touch screen application currently running on the display terminal 2. When the user clicks the preset universal button on the mobile terminal 1, the display terminal 2 can convert and recognize the click command on the second coordinate position of the display terminal 2 according to the coordinate information corresponding to the preset universal button. The user can generate a corresponding click instruction in the display terminal 2 by performing a click operation on the mobile terminal 1 for the display terminal 2 to control the touch screen application according to the click instruction, thereby implementing control of the display terminal 2 by the mobile terminal 1. Touchscreen app.
进一步地,在其他实施例中,移动终端1可以用于:Further, in other embodiments, the mobile terminal 1 can be used to:
检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。When it is detected that the first coordinate position clicked by the user falls within the range of the preset universal button, the coordinate information preset corresponding to the preset universal button is acquired.
本实施例中,当检测到用户在移动终端1上的点击操作并获取用户点击的第一坐标位置时,若判断所述第一坐标位置落入移动终端1上预设通用按钮的范围内,则获取与所述预设通用按钮对应预设的坐标信息。其中,所述预设通用按钮预先设定有对应的坐标信息,这样,只要用户在移动终端1上预设通用按钮的范围内任一坐标点进行点击,都可获取到相同的与该预设通用按钮对应的坐标信息,显示终端2即可根据所述坐标信息识别在显示终端2第二坐标位置上的点击指令,并对当前运行的触屏应用程序进行控制。本实施例中用户只需对移动终端1上预设通用按钮的范围内任一坐标点进行点击即可对显示终端2上当前运行的触屏应用程序进行相同的控制,更加方便用户通过移动终端1对显示终端2上运行的触屏应用程序的控制。In this embodiment, when the user clicks on the mobile terminal 1 and obtains the first coordinate position clicked by the user, if it is determined that the first coordinate position falls within the range of the preset universal button on the mobile terminal 1, And acquiring coordinate information preset corresponding to the preset universal button. The preset universal button is preset with corresponding coordinate information, so that the same and the preset can be obtained as long as the user clicks on any coordinate point within the range of the preset universal button on the mobile terminal 1. The coordinate information corresponding to the universal button, the display terminal 2 can recognize the click command at the second coordinate position of the display terminal 2 based on the coordinate information, and control the currently operating touch screen application. In this embodiment, the user only needs to click on any coordinate point within the range of the preset universal button on the mobile terminal 1 to perform the same control on the touch screen application currently running on the display terminal 2, which is more convenient for the user to pass the mobile terminal. 1 controls the display of the touch screen application running on the terminal 2.
进一步地,在其他实施例中,显示终端2可以用于:Further, in other embodiments, the display terminal 2 can be used to:
根据所述坐标信息获取显示终端2上的第二坐标位置,并识别对显示终端2上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。Acquiring a second coordinate position on the display terminal 2 according to the coordinate information, and identifying a click command to the control button on the display terminal 2, the second coordinate position being within the range of the control button.
本实施例中,显示终端2根据所述坐标信息获取显示终端2上的第二坐标位置后,进一步地,若所述第二坐标位置落入显示终端2上所述控制按钮的范围内,则识别为对显示终端2上控制按钮的点击指令。这样,不仅能识别出用户通过移动终端1对显示终端2上运行的触屏应用程序中一目标点的点击指令,还能识别出对显示终端2上运行的触屏应用程序中一按钮的点击指令,适用性更广,更加灵活。In this embodiment, after the display terminal 2 acquires the second coordinate position on the display terminal 2 according to the coordinate information, further, if the second coordinate position falls within the range of the control button on the display terminal 2, It is recognized as a click command to the control button on the display terminal 2. In this way, not only the user can recognize the click command of a target point in the touch screen application running on the display terminal 2 through the mobile terminal 1, but also recognize the click of a button in the touch screen application running on the display terminal 2. The instructions are more applicable and more flexible.
进一步地,在其他实施例中,移动终端1还可以用于:Further, in other embodiments, the mobile terminal 1 can also be used to:
接收到用户对移动终端1上预设通用按钮的校准指令时,获取显示终端2上包含当前运行触屏应用程序的控制按钮的截图;显示所述截图并获取用户对移动终端1显示的所述截图中控制按钮所在区域进行点击操作的坐标点;获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系。Receiving a calibration instruction of the preset universal button on the mobile terminal 1 by the user, acquiring a screenshot of the control button on the display terminal 2 including the currently running touch screen application; displaying the screenshot and acquiring the user's display to the mobile terminal 1 In the screenshot, the coordinate point of the area where the control button is located is clicked; the coordinate percentage of the coordinate point in the screenshot is obtained, and the correspondence between the coordinate percentage and the preset universal button is set.
本实施例中还包括对移动终端1上预设通用按钮的校准操作,可预先在移动终端1上设定虚拟手柄,该虚拟手柄中包括若干通用的预设按钮,如上、下、左、右方向按钮,菜单、选择等功能按钮,该虚拟手柄中的若干通用的预设按钮能满足绝大多数触屏应用程序中按钮的需求。在使用移动终端1中的预设通用按钮来对显示终端2中的触屏应用程序进行控制时,先要对移动终端1中的预设通用按钮进行校准,以对显示终端2中的触屏应用程序中的相应控制按钮进行准确有效地控制。In this embodiment, the calibration operation of the preset universal button on the mobile terminal 1 is further included, and the virtual handle can be set in advance on the mobile terminal 1, and the virtual handle includes a plurality of common preset buttons, as above, below, left, and right. Direction buttons, menus, selections, and other function buttons. Several common preset buttons in the virtual handle can meet the needs of buttons in most touch screen applications. When the touch screen application in the display terminal 2 is controlled by using the preset universal button in the mobile terminal 1, the preset universal button in the mobile terminal 1 is first calibrated to touch the touch screen in the display terminal 2. The corresponding control buttons in the application are controlled accurately and efficiently.
移动终端1在接收到用户对移动终端1上预设通用按钮的校准指令时,获取显示终端2上包含当前运行触屏应用程序的控制按钮的全屏截图,该截图中包含当前运行触屏应用程序需用到的所有控制按钮。移动终端1也全屏显示所述截图,用户可根据移动终端1上显示的所述截图对所述截图中控制按钮进行点击操作,获取用户对移动终端1显示的所述截图中控制按钮进行点击操作的坐标点,同时获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系,保存所述坐标百分比与所述预设通用按钮的对应关系,即可完成移动终端1上预设通用按钮的校准。When receiving the calibration instruction of the preset universal button on the mobile terminal 1 , the mobile terminal 1 acquires a full-screen screenshot of the control button on the display terminal 2 including the currently running touch screen application, and the screenshot includes the currently running touch screen application. All the control buttons you need. The mobile terminal 1 also displays the screenshot in full screen, and the user can perform a click operation on the control button in the screenshot according to the screenshot displayed on the mobile terminal 1, and obtain a click operation on the control button in the screenshot displayed by the mobile terminal 1 by the user. And a coordinate percentage of the coordinate point in the screenshot, and setting a correspondence between the coordinate percentage and the preset universal button, and saving the coordinate percentage and the preset universal button Corresponding relationship, the calibration of the preset universal button on the mobile terminal 1 can be completed.
对移动终端1上预设通用按钮进行校准后,在后续操作中,若移动终端1检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,则可获取与所述预设通用按钮在校准操作中对应预设的坐标信息即坐标百分比,而显示终端2即可根据该坐标信息获取在校准操作中用户在所述截图中选择点击的控制按钮,从而实现用户在移动终端1上点击预设通用按钮时,在显示终端2上识别出对用户在所述截图中选择的控制按钮的点击指令,从而根据移动终端1上的预设通用按钮来控制操作在显示终端2上当前运行触屏应用程序中的相应控制按钮。After the preset universal button is calibrated on the mobile terminal 1, in the subsequent operation, if the mobile terminal 1 detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset may be acquired. The universal button corresponds to the preset coordinate information, that is, the coordinate percentage, in the calibration operation, and the display terminal 2 can obtain the control button that the user selects the click in the screenshot in the calibration operation according to the coordinate information, thereby realizing the user in the mobile terminal 1 When the preset universal button is clicked, a click command for the control button selected by the user in the screenshot is recognized on the display terminal 2, thereby controlling the current operation on the display terminal 2 according to the preset universal button on the mobile terminal 1. Run the appropriate control button in the touchscreen application.
具体地,由于显示终端2分辨率和移动终端1分辨率可能不一致,因此把点击的坐标点转化为坐标信息如坐标百分比,并把该坐标百分比与虚拟手柄上的通用按钮对应起来,后续操作中,用户点击虚拟手柄上的预设通用按钮,即把该预设通用按钮对应的坐标百分比发送到显示终端2,显示终端2接收到坐标百分比后,根据自身屏幕分辨率将坐标百分比恢复成坐标点,然后根据该坐标点模拟一次鼠标点击的动作,注入到系统,即可识别对坐标点的点击指令。具体地在坐标点与坐标百分比进行数据换算时,若假定移动终端1分辨率为 W1*H1,显示终端2分辨率为W2*H2,在针对移动终端1上的通用按钮B进行校准时,若用户在移动终端1上点击所述截图上控制按钮A获取到的坐标点P1为(X1,Y1),则计算坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与通用按钮B的对应关系。当用户通过移动终端1控制显示终端2上的触屏应用程序时,若检测到用户对通用按钮B的点击操作,则可获取预先设定的与通用按钮B对应的坐标百分比P,并将坐标百分比P发送至显示终端2;显示终端2在获取到坐标百分比为P后,即可根据坐标百分比P计算获取显示终端2上的第二坐标位置即坐标点P2(X1 /W1*W2,Y1 /H1* H2),并识别在显示终端2第二坐标位置即坐标点P2上的点击指令,也即识别在显示终端2上控制按钮A的点击指令,从而对当前运行的触屏应用程序进行控制。Specifically, since the resolution of the display terminal 2 and the resolution of the mobile terminal 1 may be inconsistent, the coordinate points of the click are converted into coordinate information such as a coordinate percentage, and the coordinate percentage is associated with the universal button on the virtual handle, in subsequent operations. The user clicks the preset universal button on the virtual handle, that is, sends the coordinate percentage corresponding to the preset universal button to the display terminal 2. After receiving the coordinate percentage, the display terminal 2 restores the coordinate percentage to the coordinate point according to the resolution of the screen. Then, according to the coordinate point to simulate a mouse click action, injected into the system, the click command for the coordinate point can be recognized. Specifically, when data conversion is performed between the coordinate point and the coordinate percentage, if the resolution of the mobile terminal 1 is assumed to be W1*H1, the display terminal 2 has a resolution of W2*H2. When the universal button B on the mobile terminal 1 is calibrated, if the user clicks on the screenshot on the mobile terminal 1 the coordinate point P1 obtained by the control button A is (X1, Y1), the calculated coordinate percentage is P (X1) /W1,Y1 /H1), and set the correspondence between the coordinate percentage P and the universal button B. When the user controls the touch screen application on the display terminal 2 through the mobile terminal 1, if the user clicks the click operation on the universal button B, the preset coordinate percentage P corresponding to the common button B can be acquired, and the coordinates are obtained. The percentage P is sent to the display terminal 2; after obtaining the coordinate percentage P, the display terminal 2 can obtain the second coordinate position on the display terminal 2, that is, the coordinate point P2 (X1) according to the coordinate percentage P. /W1*W2, Y1 /H1* H2), and a click command on the second coordinate position of the display terminal 2, that is, the coordinate point P2, that is, a click command for controlling the button A on the display terminal 2 is recognized, thereby controlling the currently operating touch screen application.
进一步地,在其他实施例中,所述触屏应用程序为通过触摸按钮操作的游戏应用程序。由于游戏应用程序大多是基于触屏按钮操作的,而由于显示终端2相对移动终端1一般具有更大的屏幕、更好的立体音效等特性,因此在显示终端2上玩游戏相对于移动终端1能给玩家带来更多的临场感和真实感,本实施例中可在显示终端2上运行游戏应用程序而通过移动终端1来控制、操作该游戏应用程序中的按钮,能给用户带来更好的游戏效果。Further, in other embodiments, the touch screen application is a game application that is operated by a touch button. Since the game application is mostly operated based on the touch screen button, since the display terminal 2 generally has a larger screen, better stereo sound and the like than the mobile terminal 1, the game is played on the display terminal 2 with respect to the mobile terminal 1 The player can bring more sense of presence and realism to the player. In this embodiment, the game application can be run on the display terminal 2, and the button in the game application can be controlled and operated by the mobile terminal 1, which can bring the user Better game effects.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述方法包括以下步骤: A method for a mobile terminal to control a touch screen application on a display terminal, the method comprising the steps of:
    移动终端接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图;When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application;
    所述移动终端显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;The mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
    所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系;The mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button;
    移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息;When the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, acquiring the coordinate information preset corresponding to the preset universal button;
    所述移动终端将所述坐标信息发送至显示终端;Transmitting, by the mobile terminal, the coordinate information to a display terminal;
    所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令;The display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information;
    所述显示终端根据所述点击指令对当前运行的触屏应用程序进行控制。 The display terminal controls the currently running touch screen application according to the click instruction.
  2. 如权利要求1所述的移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息的步骤包括:The method for controlling a touch screen application on a display terminal of the mobile terminal according to claim 1, wherein when the mobile terminal detects a click operation of the preset universal button, the mobile terminal acquires the preset universal click clicked by the user The steps of the coordinate information corresponding to the button include:
    移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。When the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset coordinate information corresponding to the preset universal button is acquired.
  3. 如权利要求2所述的移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤包括:The method for controlling a touch screen application on a display terminal of the mobile terminal according to claim 2, wherein the step of the display terminal identifying the click command at the second coordinate position of the display terminal according to the coordinate information comprises: :
    所述显示终端根据所述坐标信息获取所述显示终端上的第二坐标位置,并识别对所述显示终端上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。The display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
  4. 如权利要求1所述的移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系的步骤包括:The method for controlling a touch screen application on a display terminal of the mobile terminal according to claim 1, wherein the mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets the coordinate percentage and The step of the corresponding relationship of the preset universal buttons includes:
    若所述移动终端的分辨率为W1*H1,所述显示终端的分辨率为W2*H2,所述坐标点为(X1,Y1),则计算所述坐标点在所述截图中的坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与所述预设通用按钮的对应关系;If the resolution of the mobile terminal is W1*H1, the resolution of the display terminal is W2*H2, and the coordinate point is (X1, Y1), calculate the coordinate percentage of the coordinate point in the screenshot. For P (X1) /W1, Y1 / H1), and set a correspondence relationship between the coordinate percentage P and the preset universal button;
    所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤还包括:The step of the display terminal identifying the click command on the second coordinate position of the display terminal according to the coordinate information further includes:
    所述显示终端根据所述坐标百分比P计算获取所述显示终端上的第二坐标位置,并模拟一次对所述第二坐标位置的点击动作,注入至系统,识别对所述第二坐标位置的点击指令,其中,所述第二坐标位置的坐标为(X1 /W1*W2,Y1 /H1* H2)。The display terminal calculates a second coordinate position on the display terminal according to the coordinate percentage P, and simulates a click action on the second coordinate position, injects into the system, and identifies the second coordinate position. Clicking on the instruction, wherein the coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
  5. 一种移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述方法包括以下步骤:A method for a mobile terminal to control a touch screen application on a display terminal, the method comprising the steps of:
    移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息,其中,所述移动终端上预设有不同通用按钮与不同坐标信息的映射关系;When the mobile terminal detects the click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with a mapping relationship between different common buttons and different coordinate information. ;
    所述移动终端将所述坐标信息发送至显示终端;Transmitting, by the mobile terminal, the coordinate information to a display terminal;
    所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令;The display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information;
    所述显示终端根据所述点击指令对当前运行的触屏应用程序进行控制。The display terminal controls the currently running touch screen application according to the click instruction.
  6. 如权利要求5所述的移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息的步骤包括:The method for controlling a touch screen application on a display terminal of the mobile terminal according to claim 5, wherein when the mobile terminal detects a click operation of the preset universal button, the mobile terminal acquires the preset universal click clicked by the user The steps of the coordinate information corresponding to the button include:
    移动终端检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。When the mobile terminal detects that the first coordinate position clicked by the user falls within the range of the preset universal button, the preset coordinate information corresponding to the preset universal button is acquired.
  7. 如权利要求6所述的移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤包括:The method for controlling a touch screen application on a display terminal of the mobile terminal according to claim 6, wherein the step of the display terminal identifying the click command at the second coordinate position of the display terminal according to the coordinate information comprises: :
    所述显示终端根据所述坐标信息获取所述显示终端上的第二坐标位置,并识别对所述显示终端上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。The display terminal acquires a second coordinate position on the display terminal according to the coordinate information, and identifies a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
  8. 如权利要求7所述的移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息的步骤之前还包括:The method for controlling a touch screen application on a display terminal of the mobile terminal according to claim 7, wherein when the mobile terminal detects a click operation of the preset universal button, the mobile terminal acquires the preset universal click clicked by the user The steps of the coordinate information corresponding to the button also include:
    移动终端接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图;When the mobile terminal receives the calibration instruction of the preset universal button on the mobile terminal, the mobile terminal acquires a screenshot of the control button on the display terminal that includes the currently running touch screen application;
    所述移动终端显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;The mobile terminal displays the screenshot and acquires a coordinate point of the user performing a click operation on the area where the control button is located in the screenshot displayed by the mobile terminal;
    所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系。The mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets a correspondence between the coordinate percentage and the preset universal button.
  9. 如权利要求8所述的移动终端控制显示终端上触屏应用程序的方法,其特征在于,所述移动终端获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系的步骤包括:The method for controlling a touch screen application on a display terminal of a mobile terminal according to claim 8, wherein the mobile terminal acquires a coordinate percentage of the coordinate point in the screenshot, and sets the coordinate percentage and The step of the corresponding relationship of the preset universal buttons includes:
    若所述移动终端的分辨率为W1*H1,所述显示终端的分辨率为W2*H2,所述坐标点为(X1,Y1),则计算所述坐标点在所述截图中的坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与所述预设通用按钮的对应关系;If the resolution of the mobile terminal is W1*H1, the resolution of the display terminal is W2*H2, and the coordinate point is (X1, Y1), calculate the coordinate percentage of the coordinate point in the screenshot. For P (X1) /W1, Y1 / H1), and set a correspondence relationship between the coordinate percentage P and the preset universal button;
    所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令的步骤还包括:The step of the display terminal identifying the click command on the second coordinate position of the display terminal according to the coordinate information further includes:
    所述显示终端根据所述坐标百分比P计算获取所述显示终端上的第二坐标位置,并模拟一次对所述第二坐标位置的点击动作,注入至系统,识别对所述第二坐标位置的点击指令,其中,所述第二坐标位置的坐标为(X1 /W1*W2,Y1 /H1* H2)。The display terminal calculates a second coordinate position on the display terminal according to the coordinate percentage P, and simulates a click action on the second coordinate position, injects into the system, and identifies the second coordinate position. Clicking on the instruction, wherein the coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
  10. 一种移动终端控制显示终端上触屏应用程序的系统,其特征在于,所述系统包括:移动终端及显示终端,其中,A system for controlling a touch screen application on a display terminal of a mobile terminal, wherein the system comprises: a mobile terminal and a display terminal, wherein
    所述移动终端检测到用户对预设通用按钮的点击操作时,获取用户点击的所述预设通用按钮对应的坐标信息,其中,所述移动终端上预设有不同通用按钮与不同坐标信息的映射关系;将所述坐标信息发送至所述显示终端;When the mobile terminal detects a click operation of the preset universal button, the mobile terminal acquires coordinate information corresponding to the preset universal button that the user clicks, wherein the mobile terminal is pre-set with different common buttons and different coordinate information. Mapping relationship; sending the coordinate information to the display terminal;
    所述显示终端根据所述坐标信息识别在所述显示终端第二坐标位置上的点击指令;根据所述点击指令对当前运行的触屏应用程序进行控制。The display terminal identifies a click instruction on the second coordinate position of the display terminal according to the coordinate information; and controls the currently running touch screen application according to the click instruction.
  11. 如权利要求10所述的移动终端控制显示终端上触屏应用程序的系统,其特征在于,所述移动终端还用于:The system for controlling a touch screen application on a display terminal of the mobile terminal according to claim 10, wherein the mobile terminal is further configured to:
    检测到用户点击的第一坐标位置落入预设通用按钮的范围内时,获取与所述预设通用按钮对应预设的坐标信息。When it is detected that the first coordinate position clicked by the user falls within the range of the preset universal button, the coordinate information preset corresponding to the preset universal button is acquired.
  12. 如权利要求11所述的移动终端控制显示终端上触屏应用程序的系统,其特征在于,所述显示终端还用于:The system for controlling a touch screen application on a display terminal of the mobile terminal according to claim 11, wherein the display terminal is further configured to:
    根据所述坐标信息获取所述显示终端上的第二坐标位置,并识别对所述显示终端上控制按钮的点击指令,所述第二坐标位置在所述控制按钮的范围内。Obtaining a second coordinate position on the display terminal according to the coordinate information, and identifying a click instruction on a control button on the display terminal, where the second coordinate position is within a range of the control button.
  13. 如权利要求11所述的移动终端控制显示终端上触屏应用程序的系统,其特征在于,所述移动终端还用于:The system for controlling a touch screen application on a display terminal of the mobile terminal according to claim 11, wherein the mobile terminal is further configured to:
    接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图;显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系。Receiving, by the user, a calibration instruction of the preset universal button on the mobile terminal, acquiring a screenshot of the control button on the display terminal that includes the currently running touch screen application; displaying the screenshot and acquiring the user's display on the mobile terminal The coordinate point of the click control operation in the area where the control button is located in the screenshot; the coordinate percentage of the coordinate point in the screenshot is obtained, and the correspondence between the coordinate percentage and the preset universal button is set.
  14. 如权利要求12所述的移动终端控制显示终端上触屏应用程序的系统,其特征在于,所述移动终端还用于:The system for controlling a touch screen application on a display terminal of the mobile terminal according to claim 12, wherein the mobile terminal is further configured to:
    接收到用户对所述移动终端上预设通用按钮的校准指令时,获取显示终端上包含当前运行触屏应用程序的控制按钮的截图;显示所述截图并获取用户对所述移动终端显示的所述截图中控制按钮所在区域进行点击操作的坐标点;获取所述坐标点在所述截图中的坐标百分比,并设定所述坐标百分比与所述预设通用按钮的对应关系。Receiving, by the user, a calibration instruction of the preset universal button on the mobile terminal, acquiring a screenshot of the control button on the display terminal that includes the currently running touch screen application; displaying the screenshot and acquiring the user's display on the mobile terminal The coordinate point of the click control operation in the area where the control button is located in the screenshot; the coordinate percentage of the coordinate point in the screenshot is obtained, and the correspondence between the coordinate percentage and the preset universal button is set.
  15. 如权利要求13所述的移动终端控制显示终端上触屏应用程序的系统,其特征在于,所述移动终端还用于:The system for controlling a touch screen application on a display terminal of the mobile terminal according to claim 13, wherein the mobile terminal is further configured to:
    若所述移动终端的分辨率为W1*H1,所述显示终端的分辨率为W2*H2,所述坐标点为(X1,Y1),则计算所述坐标点在所述截图中的坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与所述预设通用按钮的对应关系;If the resolution of the mobile terminal is W1*H1, the resolution of the display terminal is W2*H2, and the coordinate point is (X1, Y1), calculate the coordinate percentage of the coordinate point in the screenshot. For P (X1) /W1, Y1 / H1), and set a correspondence relationship between the coordinate percentage P and the preset universal button;
    所述显示终端还用于:The display terminal is further configured to:
    根据所述坐标百分比P计算获取所述显示终端上的第二坐标位置,并模拟一次对所述第二坐标位置的点击动作,注入至系统,识别对所述第二坐标位置的点击指令,其中,所述第二坐标位置的坐标为(X1 /W1*W2,Y1 /H1* H2)。Calculating a second coordinate position on the display terminal according to the coordinate percentage P, and simulating a click action on the second coordinate position, injecting into the system, and identifying a click instruction on the second coordinate position, wherein The coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
  16. 如权利要求14所述的移动终端控制显示终端上触屏应用程序的系统,其特征在于,所述移动终端还用于:The system for controlling a touch screen application on a display terminal of the mobile terminal according to claim 14, wherein the mobile terminal is further configured to:
    若所述移动终端的分辨率为W1*H1,所述显示终端的分辨率为W2*H2,所述坐标点为(X1,Y1),则计算所述坐标点在所述截图中的坐标百分比为P(X1 /W1,Y1 /H1),并设定所述坐标百分比P与所述预设通用按钮的对应关系;If the resolution of the mobile terminal is W1*H1, the resolution of the display terminal is W2*H2, and the coordinate point is (X1, Y1), calculate the coordinate percentage of the coordinate point in the screenshot. For P (X1) /W1, Y1 / H1), and set a correspondence relationship between the coordinate percentage P and the preset universal button;
    所述显示终端还用于:The display terminal is further configured to:
    根据所述坐标百分比P计算获取所述显示终端上的第二坐标位置,并模拟一次对所述第二坐标位置的点击动作,注入至系统,识别对所述第二坐标位置的点击指令,其中,所述第二坐标位置的坐标为(X1 /W1*W2,Y1 /H1* H2)。Calculating a second coordinate position on the display terminal according to the coordinate percentage P, and simulating a click action on the second coordinate position, injecting into the system, and identifying a click instruction on the second coordinate position, wherein The coordinates of the second coordinate position are (X1) /W1*W2, Y1 /H1* H2).
PCT/CN2016/084268 2015-11-23 2016-06-01 Method and system for controlling touchscreen application program in display terminal by mobile terminal WO2017088429A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510821593.2A CN105487856A (en) 2015-11-23 2015-11-23 Method and system for controlling touch screen application in display terminal by mobile terminal
CN201510821593.2 2015-11-23

Publications (1)

Publication Number Publication Date
WO2017088429A1 true WO2017088429A1 (en) 2017-06-01

Family

ID=55674856

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084268 WO2017088429A1 (en) 2015-11-23 2016-06-01 Method and system for controlling touchscreen application program in display terminal by mobile terminal

Country Status (2)

Country Link
CN (1) CN105487856A (en)
WO (1) WO2017088429A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487856A (en) * 2015-11-23 2016-04-13 深圳Tcl数字技术有限公司 Method and system for controlling touch screen application in display terminal by mobile terminal
CN106658106A (en) * 2016-11-29 2017-05-10 深圳众思科技有限公司 Signal control method, system, electronic equipment and equipment to be controlled
CN108803669B (en) * 2018-07-05 2021-08-24 北京淳中科技股份有限公司 Cloud deck steering control method and device, electronic equipment and storage medium
CN113031843A (en) * 2021-04-25 2021-06-25 歌尔股份有限公司 Watch control method, display terminal and watch

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404641A (en) * 2011-12-06 2012-04-04 深圳Tcl新技术有限公司 Method and system for remotely controlling television by using smart phone
CN102625010A (en) * 2012-03-06 2012-08-01 清华大学 Eye-Free control method of television by using touch screen phone
CN103000015A (en) * 2012-12-13 2013-03-27 深圳Tcl新技术有限公司 Precise display equipment remote control method and device based on wireless screen transmission
CN103024457A (en) * 2012-12-20 2013-04-03 四川长虹电器股份有限公司 Method and device for controlling server touch screen
CN103281575A (en) * 2013-03-28 2013-09-04 四川长虹电器股份有限公司 Novel control method of intelligent television
CN104185000A (en) * 2014-08-11 2014-12-03 惠州华阳通用电子有限公司 Automatic calibration method for cross screen interactions
CN104918073A (en) * 2015-05-27 2015-09-16 深圳市金立通信设备有限公司 Image display method and terminal
CN105487856A (en) * 2015-11-23 2016-04-13 深圳Tcl数字技术有限公司 Method and system for controlling touch screen application in display terminal by mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6203637B2 (en) * 2010-11-09 2017-09-27 コーニンクレッカ フィリップス エヌ ヴェKoninklijke Philips N.V. User interface with haptic feedback
CN103067566B (en) * 2012-04-24 2015-01-07 曾昭兴 Mouse input method and touch-screen mobile phone control device
CN103888801A (en) * 2012-12-21 2014-06-25 鸿富锦精密工业(深圳)有限公司 Television set, remote-control device and menu display method
CN104252228B (en) * 2013-06-28 2019-08-23 三星电子株式会社 Display device and the method for controlling display device
CN103530149A (en) * 2013-09-27 2014-01-22 深圳市同洲电子股份有限公司 Configuration method for gamepad simulation configuration file and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404641A (en) * 2011-12-06 2012-04-04 深圳Tcl新技术有限公司 Method and system for remotely controlling television by using smart phone
CN102625010A (en) * 2012-03-06 2012-08-01 清华大学 Eye-Free control method of television by using touch screen phone
CN103000015A (en) * 2012-12-13 2013-03-27 深圳Tcl新技术有限公司 Precise display equipment remote control method and device based on wireless screen transmission
CN103024457A (en) * 2012-12-20 2013-04-03 四川长虹电器股份有限公司 Method and device for controlling server touch screen
CN103281575A (en) * 2013-03-28 2013-09-04 四川长虹电器股份有限公司 Novel control method of intelligent television
CN104185000A (en) * 2014-08-11 2014-12-03 惠州华阳通用电子有限公司 Automatic calibration method for cross screen interactions
CN104918073A (en) * 2015-05-27 2015-09-16 深圳市金立通信设备有限公司 Image display method and terminal
CN105487856A (en) * 2015-11-23 2016-04-13 深圳Tcl数字技术有限公司 Method and system for controlling touch screen application in display terminal by mobile terminal

Also Published As

Publication number Publication date
CN105487856A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
WO2015109865A1 (en) Customized control method and system for air conditioner operation mode
WO2019119771A1 (en) Voice interaction method, device and computer readable storage medium
WO2016173192A1 (en) Television stability test method and device
WO2018018681A1 (en) Video programme previewing method and device
WO2017088429A1 (en) Method and system for controlling touchscreen application program in display terminal by mobile terminal
WO2019051902A1 (en) Terminal control method, air conditioner and computer-readable storage medium
WO2017084305A1 (en) Terminal control method and system
WO2019051887A1 (en) Method and device for controlling home appliance, and computer-readable storage medium
WO2017041538A1 (en) Terminal user interface controlled display method and device
WO2017036203A1 (en) Play control method for media application, remote control device and television system
WO2016058258A1 (en) Terminal remote control method and system
WO2017036208A1 (en) Method and system for extracting information in display interface
WO2018113187A1 (en) Display control method and display device
WO2019051897A1 (en) Terminal operating parameter adjustment method and device, and computer readable storage medium
WO2017084303A1 (en) Switching method for launcher and switching control system
WO2015144052A1 (en) Method and apparatus for collecting statistics on network information
WO2018126888A1 (en) Method and apparatus for configuring a shortcut for a television function
WO2018006581A1 (en) Smart-television playback method and apparatus
WO2019051901A1 (en) Terminal control method and device, and computer readable storage medium
WO2017071223A1 (en) Control method and device for television application
WO2017059686A1 (en) Desktop displaying method and device
WO2017041546A1 (en) Television bluetooth connection method and apparatus
WO2018082186A1 (en) Emi positioning method and device for television
WO2017177523A1 (en) Intelligent television and icon control method therefor
WO2017161697A1 (en) Method and apparatus for synchronously previewing multiple terminal programs

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: 16867657

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07/09/2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16867657

Country of ref document: EP

Kind code of ref document: A1