CN106339218A - Operation-control method and device based on intelligent terminal - Google Patents

Operation-control method and device based on intelligent terminal Download PDF

Info

Publication number
CN106339218A
CN106339218A CN201610687358.5A CN201610687358A CN106339218A CN 106339218 A CN106339218 A CN 106339218A CN 201610687358 A CN201610687358 A CN 201610687358A CN 106339218 A CN106339218 A CN 106339218A
Authority
CN
China
Prior art keywords
intelligent terminal
instruction
mobile terminal
coordinate value
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610687358.5A
Other languages
Chinese (zh)
Inventor
刘华英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610687358.5A priority Critical patent/CN106339218A/en
Publication of CN106339218A publication Critical patent/CN106339218A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to an operation-control method and device based on an intelligent terminal. The method comprises the steps that an ADB connection of a mobile terminal to be operated and an intelligent terminal is established; the screen size of the mobile terminal is obtained, and a simulation operation is performed on the screen size of the mobile terminal at the intelligent terminal; the intelligent terminal sends an instruction obtained in advance to the mobile terminal through the simulation operation, wherein the instruction obtained in advance refers to the instruction containing an operation-control click coordinate value generated according to a coordinate value for an operation-control click on the screen size of the mobile terminal. The operation-control method based on the intelligent terminal solves the technical problems of inconvenience in simulating click operation while having no touch screen, so that the click operation can be still realized through a mouse in the absence of the touch screen.

Description

Control method based on intelligent terminal and device
Technical field
The present invention relates to technical field is clicked in simulation, particularly to a kind of control method based on intelligent terminal and device.
Background technology
At present, prior art can realize clicking operation by order, but it is all to realize having of clicking operation by order Many defects, for example, because the actual coordinate of icon to be clicked on is unknown, therefore need to attempt repeatedly being only possible to obtain icon to be clicked on Actual coordinate, so wastes time and energy, and is not easy to operate.
Content of the invention
Based on this it is necessary to waste time and energy for mobile terminal clicking operation in prior art, and the problem being awkward, A kind of control method based on intelligent terminal under no touch screen and device are provided.
For realizing the object of the invention, there is provided a kind of control method based on intelligent terminal, comprising: by shifting to be operated Dynamic terminal is set up adb with described intelligent terminal and is connected;Obtain the screen size of described mobile terminal, and at described intelligent terminal Simulated operation is executed to the screen size of described mobile terminal;Described intelligent terminal is by the instruction obtaining in advance by described simulation Operation sends to described mobile terminal, and wherein, the described instruction obtaining in advance is in the screen size according to described mobile terminal The coordinate value that manipulation is clicked on generates and includes the instruction that coordinate value is clicked in manipulation.
Wherein in an embodiment, comprising: described mobile terminal to be operated and described intelligent terminal are set up adb Connect and include: described mobile terminal to be operated is passed through wifi with described intelligent terminal, is set up using adb and connect;Or Described mobile terminal to be operated is passed through usb with described intelligent terminal, is set up using adb and connect.
Wherein in an embodiment, described intelligent terminal by the instruction obtaining in advance by described simulated operation send to Described mobile terminal includes: obtains the coordinate value that in the screen size of described mobile terminal, mouse is clicked on;Calculated by Coordinate Conversion Coordinate value is converted into the executable described instruction containing mouse click coordinate value by method;By the executable described finger after conversion Order is sent to described mobile terminal by described simulated operation.
Wherein in an embodiment, the described instruction obtaining in advance instructs for xinput.
Wherein in an embodiment, described xinput instruction comprises to have x coordinate value and y-coordinate value at mouse click Tap sub-instructions.
A kind of actuation means based on intelligent terminal based on same inventive concept, comprising: link block, for being wanted The mobile terminal of operation is set up adb with described intelligent terminal and is connected;Simulated operation module, for obtaining the screen of described mobile terminal Curtain size, and at described intelligent terminal, simulated operation is executed to the screen size of described mobile terminal;Instruction sending module, uses In described intelligent terminal, the instruction obtaining in advance is sent to described mobile terminal by described simulated operation, wherein, described pre- The instruction first obtaining is that the coordinate value manipulating click in screen size according to described mobile terminal generates and includes manipulation and click on The instruction of coordinate value.
Wherein in an embodiment, comprising: described link block, also with by described mobile terminal to be operated and institute State intelligent terminal and pass through wifi, set up using adb and connect;Or by described mobile terminal to be operated and described intelligent terminal By usb, set up using adb and connect.
Wherein in an embodiment, described instruction sending module includes: acquisition module, for obtaining described mobile terminal Screen size in mouse click on coordinate value;Modular converter, for by coordinates transformation method by coordinate value be converted into containing The executable described instruction of mouse click coordinate value;Sending module, for passing through the executable described instruction after conversion Described simulated operation sends to described mobile terminal.
Wherein in an embodiment, the described instruction obtaining in advance instructs for xinput.
Wherein in an embodiment, described xinput instruction comprises to have x coordinate value and y-coordinate value at mouse click Tap sub-instructions.
A kind of control method based on intelligent terminal and device that the present invention provides, by mobile terminal to be operated and intelligence Terminal can set up adb connection;Obtain the screen size of mobile terminal, and at intelligent terminal, the screen size of mobile terminal is held Row simulated operation;The instruction obtaining in advance is sent to mobile terminal by intelligent terminal by simulated operation, wherein, obtains in advance Instruction is to be generated according to the coordinate value manipulating click in the screen size of mobile terminal to include the instruction that coordinate value is clicked in manipulation. The method solves the inconvenient technical problem of simulation clicking operation under no touch screen so that in the case of not having touch-screen still Clicking operation can be realized by mouse.
Brief description
Fig. 1 is the flow chart of steps of the control method based on intelligent terminal for one of the one embodiment of the invention;
Fig. 2 is the flow chart of steps of the control method based on intelligent terminal for one of the another embodiment of the present invention;With And
Fig. 3 is the structural representation of the actuation means based on intelligent terminal for one of the one embodiment of the invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention of greater clarity, with reference to specific embodiment and join According to accompanying drawing, the present invention is described in more detail.It should be understood that these descriptions are simply exemplary, and it is not intended to limit this Bright scope.Additionally, in the following description, eliminate the description to known features and technology, to avoid unnecessarily obscuring this The concept of invention.
As shown in figure 1, being the flow chart of steps of the control method based on intelligent terminal for one of the embodiment.Specifically Comprise the following steps:
Step 102, mobile terminal to be operated and intelligent terminal are set up adb (android debug bridge, peace Tall and erect debugging bridge joint) connect.
In the present embodiment, by mobile terminal to be operated and intelligent terminal set up adb be connected including: will be to be operated Mobile terminal passes through wifi with intelligent terminal, is set up using adb and connects;Or by mobile terminal to be operated and intelligent terminal By usb, set up using adb and connect.
Step 104, obtains the screen size of mobile terminal, and at intelligent terminal, the screen size of mobile terminal is executed Simulated operation.
Step 106, the instruction obtaining in advance is sent to mobile terminal by intelligent terminal by simulated operation, wherein, in advance The instruction obtaining is to be generated according to the coordinate value manipulating click in the screen size of mobile terminal to include manipulation click coordinate value Instruction.
In the present embodiment, the instruction obtaining in advance is sent by simulated operation and includes to mobile terminal by intelligent terminal: obtains Take the coordinate value that in the screen size of mobile terminal, mouse is clicked on;By coordinates transformation method, coordinate value is converted into containing mouse The executable instruction of click coordinate value;Executable instruction after conversion is sent to mobile terminal by simulated operation.Its In, the instruction obtaining in advance instructs for xinput, and xinput instruction comprises with x coordinate value and y-coordinate value at mouse click Tap sub-instructions.
In order to be better understood from and applying a kind of control method based on intelligent terminal that the present embodiment proposes, carry out following Preferred exemplary.As shown in Fig. 2 being the flow chart of steps of the control method based on intelligent terminal for one of another embodiment. Specifically include following steps:
Step 210, mobile phone is set up with intelligent terminal and is connected.
In the present embodiment, mobile phone terminal execute adb shell so that intelligent terminal, such as vr (virtual reality, Virtual reality) equipment or pc equipment sets up adb with mobile phone terminal and is connected.
Step 220, simulates mobile phone screen size in intelligent terminal.
In the present embodiment, obtain the screen size specification of mobile phone, such as 1080*720,1080p, simulate in intelligent terminal Mobile phone screen size.
Step 230, generates according to the coordinate value that mouse in mobile phone screen size is clicked on and includes mouse click coordinate value Instruction, and sent this instruction to mobile phone by intelligent terminal.
In the present embodiment, obtain the coordinate value that in mobile phone screen size, mouse is clicked on;By coordinates transformation method by coordinate Value is converted into the executable instruction containing mouse click coordinate value.This instruction is but is not limited only to xinput instruction, xinput Instruction comprises the tap sub-instructions with x coordinate value and y-coordinate value at mouse click;Executable instruction after conversion is sent To mobile phone, i.e. intelligent terminal, such as vr equipment, or pc equipment sends xinput instruction to mobile phone terminal, and mobile phone terminal execution should Xinput instruction, the x coordinate at taking-up mouse click from xinput instruction and y-coordinate simultaneously execute.
A kind of control method based on intelligent terminal that the present invention provides, by mobile terminal to be operated and intelligent terminal Set up adb to connect;Obtain the screen size of mobile terminal, and at intelligent terminal, simulation is executed to the screen size of mobile terminal Operation;The instruction obtaining in advance is sent to mobile terminal by intelligent terminal by simulated operation, and wherein, the instruction obtaining in advance is Coordinate value according to manipulating click in the screen size of mobile terminal generates and includes the instruction that coordinate value is clicked in manipulation.The method The technical problem of the simulation clicking operation inconvenience under solution no touch screen is so that still can lead in the case of not having touch-screen Cross mouse and realize clicking operation.
Based on same inventive concept, also provide a kind of actuation means based on intelligent terminal, due to this device solve problem Principle similar to a kind of aforementioned control method based on intelligent terminal, therefore, the enforcement of this device can be according to preceding method Concrete steps realize, repeat no more in place of repetition.
As shown in figure 3, being the structural representation of the actuation means based on intelligent terminal for one of the embodiment.This base Actuation means 10 in intelligent terminal include: link block 200, simulated operation module 400 and instruction sending module 600.
Wherein, link block 200 is connected for mobile terminal to be operated and intelligent terminal are set up adb;Simulation behaviour Make module 400 for obtaining the screen size of mobile terminal, and at intelligent terminal, mould is executed to the screen size of mobile terminal Intend operation;The instruction obtaining in advance is sent to mobile terminal by simulated operation by instruction sending module 600 for intelligent terminal, Wherein, the instruction obtaining in advance is to be generated according to the coordinate value manipulating click in the screen size of mobile terminal to include control point Hit the instruction of coordinate value.
In the present embodiment, link block 200 also with mobile terminal to be operated is passed through wifi with intelligent terminal, utilizes Adb sets up and connects;Or mobile terminal to be operated is passed through usb with intelligent terminal, is set up using adb and connect.Further , the instruction obtaining in advance instructs for xinput, and xinput instruction comprises with x coordinate value and y-coordinate value at mouse click Tap sub-instructions.
Further, instruction sending module 600 includes: acquisition module 610 (not shown) is used for obtaining mobile terminal Screen size in mouse click on coordinate value;Modular converter 620 (not shown), for being sat by coordinates transformation method Scale value is converted into the executable instruction containing mouse click coordinate value;Sending module 630 (not shown) is used for changing Executable instruction afterwards is sent to mobile terminal by simulated operation.
A kind of actuation means based on intelligent terminal that the present invention provides, by link block 200 by shifting to be operated Dynamic terminal is set up adb with intelligent terminal and is connected;Obtain the screen size of mobile terminal again by simulated operation module 400, and At intelligent terminal, simulated operation is executed to the screen size of mobile terminal;Make intelligence finally by instruction sending module 600 eventually The instruction obtaining in advance is sent to mobile terminal by end by simulated operation, and wherein, the instruction obtaining in advance is according to mobile whole The coordinate value manipulating click in the screen size at end generates the instruction including manipulation click coordinate value.This device solves no touch The technical problem of the simulation clicking operation inconvenience under screen is so that still can be realized by mouse in the case of not having touch-screen Clicking operation.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium In, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (read-only memory, rom) or random access memory (random access Memory, ram) etc..
Each technical characteristic of embodiment described above can arbitrarily be combined, for making description succinct, not to above-mentioned reality The all possible combination of each technical characteristic applied in example is all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all it is considered to be the scope of this specification record.
Embodiment described above only have expressed the several embodiments of the present invention, and its description is more concrete and detailed, but simultaneously Therefore the restriction to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, some deformation can also be made and improve, these broadly fall into the guarantor of the present invention Shield scope.Therefore, the protection domain of patent of the present invention should be defined by claims.

Claims (10)

1. a kind of control method based on intelligent terminal is it is characterised in that include:
Mobile terminal to be operated is set up adb with described intelligent terminal be connected;
Obtain the screen size of described mobile terminal, and at described intelligent terminal, the screen size of described mobile terminal is executed Simulated operation;
The instruction obtaining in advance is sent to described mobile terminal by described intelligent terminal by described simulated operation, wherein, described The instruction obtaining in advance is that the coordinate value manipulating click in screen size according to described mobile terminal generates and includes control point Hit the instruction of coordinate value.
2. the control method based on intelligent terminal according to claim 1 is it is characterised in that include: described will will grasp Mobile terminal and the described intelligent terminal made set up adb be connected including: by described mobile terminal to be operated and described intelligence Terminal passes through wifi, is set up using adb and connects;Or described mobile terminal to be operated and described intelligent terminal are passed through Usb, is set up using adb and connects.
3. the control method based on intelligent terminal according to claim 1 is it is characterised in that described intelligent terminal will in advance The instruction obtaining is sent by described simulated operation and includes to described mobile terminal:
Obtain the coordinate value that in the screen size of described mobile terminal, mouse is clicked on;
Coordinate value is converted into by the executable described instruction containing mouse click coordinate value by coordinates transformation method;
Executable described instruction after conversion is sent to described mobile terminal by described simulated operation.
4. the control method based on intelligent terminal according to claim 1 is it is characterised in that the described instruction obtaining in advance For xinput instruction.
5. the control method based on intelligent terminal according to claim 4 is it is characterised in that described xinput instruction comprises There are the tap sub-instructions of x coordinate value and y-coordinate value at mouse click.
6. a kind of actuation means based on intelligent terminal are it is characterised in that include:
Link block, is connected for mobile terminal to be operated is set up adb with described intelligent terminal;
Simulated operation module, for obtaining the screen size of described mobile terminal, and to described movement at described intelligent terminal The screen size execution simulated operation of terminal;
The instruction obtaining in advance is sent to described shifting by described simulated operation by instruction sending module for described intelligent terminal Dynamic terminal, wherein, the described instruction that obtains in advance is the coordinate value manipulating click in screen size according to described mobile terminal Generate and include the instruction that coordinate value is clicked in manipulation.
7. the actuation means based on intelligent terminal according to claim 6 are it is characterised in that include: described link block, Also with described mobile terminal to be operated is passed through wifi with described intelligent terminal, set up using adb and connect;Or
Described mobile terminal to be operated is passed through usb with described intelligent terminal, is set up using adb and connect.
8. the actuation means based on intelligent terminal according to claim 6 are it is characterised in that described instruction sending module bag Include:
Acquisition module, for obtaining the coordinate value that in the screen size of described mobile terminal, mouse is clicked on;
Modular converter, for being converted into the executable institute containing mouse click coordinate value by coordinates transformation method by coordinate value State instruction;
Sending module, for sending to described movement eventually the executable described instruction after conversion by described simulated operation End.
9. the actuation means based on intelligent terminal according to claim 6 are it is characterised in that the described instruction obtaining in advance For xinput instruction.
10. the actuation means based on intelligent terminal according to claim 9 are it is characterised in that described xinput instruction is wrapped Containing the tap sub-instructions with x coordinate value and y-coordinate value at mouse click.
CN201610687358.5A 2016-08-17 2016-08-17 Operation-control method and device based on intelligent terminal Pending CN106339218A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610687358.5A CN106339218A (en) 2016-08-17 2016-08-17 Operation-control method and device based on intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610687358.5A CN106339218A (en) 2016-08-17 2016-08-17 Operation-control method and device based on intelligent terminal

Publications (1)

Publication Number Publication Date
CN106339218A true CN106339218A (en) 2017-01-18

Family

ID=57824213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610687358.5A Pending CN106339218A (en) 2016-08-17 2016-08-17 Operation-control method and device based on intelligent terminal

Country Status (1)

Country Link
CN (1) CN106339218A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107297073A (en) * 2017-06-15 2017-10-27 广州华多网络科技有限公司 Analogy method, device and the electronic equipment of peripheral hardware input signal
CN109670292A (en) * 2018-12-12 2019-04-23 北京云测信息技术有限公司 A kind of ios device gesture operation implementation method for prototype test

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750146A (en) * 2012-06-07 2012-10-24 惠州Tcl移动通信有限公司 Method for realizing simulated mouse control in intelligent terminal and intelligent terminal
US20130097668A1 (en) * 2011-10-18 2013-04-18 Samsung Electronics Co., Ltd. Method and apparatus for operating mobile terminal
CN104144184A (en) * 2013-05-08 2014-11-12 华为终端有限公司 Method for controlling far-end device and electronic devices
CN105975174A (en) * 2016-04-26 2016-09-28 乐视控股(北京)有限公司 System and method for simulating click operation under situation of no touch screens

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130097668A1 (en) * 2011-10-18 2013-04-18 Samsung Electronics Co., Ltd. Method and apparatus for operating mobile terminal
CN102750146A (en) * 2012-06-07 2012-10-24 惠州Tcl移动通信有限公司 Method for realizing simulated mouse control in intelligent terminal and intelligent terminal
CN104144184A (en) * 2013-05-08 2014-11-12 华为终端有限公司 Method for controlling far-end device and electronic devices
CN105975174A (en) * 2016-04-26 2016-09-28 乐视控股(北京)有限公司 System and method for simulating click operation under situation of no touch screens

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107297073A (en) * 2017-06-15 2017-10-27 广州华多网络科技有限公司 Analogy method, device and the electronic equipment of peripheral hardware input signal
CN107297073B (en) * 2017-06-15 2022-11-01 广州华多网络科技有限公司 Method and device for simulating peripheral input signal and electronic equipment
CN109670292A (en) * 2018-12-12 2019-04-23 北京云测信息技术有限公司 A kind of ios device gesture operation implementation method for prototype test

Similar Documents

Publication Publication Date Title
US20130031514A1 (en) Gestures for Presentation of Different Views of a System Diagram
CN104484273A (en) Test method for application program, device and system
CN105302950A (en) Software and hardware cooperation based cross-linking simulation test method for programmable logic device
CN103744787A (en) Cellphone automated testing method
CN102053911A (en) Automated testing method and system based on Android and mobile terminal
CN105653438B (en) The striding course automated testing method and device of Android device
CN103970591B (en) Matlab-ATP (Matrix Laboratory-Array Transform Processor) integrated automation calling method
CN106557351B (en) The data processing method and device of built-in application program
CN105224456A (en) A kind of test script generates methods, devices and systems
CN102999419B (en) A kind of Android test incident record back method and device
Wang et al. Automatic Android GUI traversal with high coverage
US20120026173A1 (en) Transitioning Between Different Views of a Diagram of a System
CN104267931A (en) Electronic equipment and method for processing information
CN102929688B (en) The simulator of a kind of simulated touch screen realizes method and this simulator
CN106339218A (en) Operation-control method and device based on intelligent terminal
CN102968245A (en) Method and device for cooperatively controlling mouse touch and method and system for smart television interaction
Walker et al. A simulation environment for ITER PCS development
CN106528936B (en) A kind of the submodel test device and method of dynamic system simulation
CN104423792A (en) Method and device for changing positions of icons of touch screen terminal and mobile terminal
CN103677833A (en) Implementation method for open type software platform of microwave measurement instrument
CN111901155B (en) Internet of things debugging method, device and system and storage medium
CN101339530A (en) Touch control type touch screen analog input test system and method
Fu et al. Design of experiment platform for digital substation based on IEC 61850
CN104239202A (en) Non-Root testing method and system of interactive intelligent equipment
CN102081521A (en) General development platform of military hardware operation interface

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170118