CN106385464A - Method and system for remotely controlling terminal - Google Patents

Method and system for remotely controlling terminal Download PDF

Info

Publication number
CN106385464A
CN106385464A CN201610974099.4A CN201610974099A CN106385464A CN 106385464 A CN106385464 A CN 106385464A CN 201610974099 A CN201610974099 A CN 201610974099A CN 106385464 A CN106385464 A CN 106385464A
Authority
CN
China
Prior art keywords
test machine
test
child servers
central server
control operation
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
CN201610974099.4A
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.)
Western Hills Residence Guangzhou Shi You Network Technology Co Ltd
Zhuhai Kingsoft Online Game Technology Co Ltd
Original Assignee
Western Hills Residence Guangzhou Shi You Network Technology Co Ltd
Zhuhai Kingsoft Online Game Technology Co Ltd
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 Western Hills Residence Guangzhou Shi You Network Technology Co Ltd, Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Western Hills Residence Guangzhou Shi You Network Technology Co Ltd
Priority to CN201610974099.4A priority Critical patent/CN106385464A/en
Publication of CN106385464A publication Critical patent/CN106385464A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Abstract

The invention discloses a method and a system for remotely controlling a terminal. The system comprises a notification transmitting unit, a screen real-time display unit, an operation monitoring unit and an operation application unit. The method comprises the steps of acquiring a screen picture of a selected tester by a sub-server, transmitting the screen picture to a central server, and displaying the screen picture in a preset display area; monitoring a control instruction which is executed in the display area, and transmitting the control instruction to the sub-server; and applying the control operation on the selected tester by the sub-server. The method and the system according to the invention have advantages of greatly improving convenience and flexibility in the control operation, reducing workload of testing personnel, and improving testing efficiency. The method and the system for remotely controlling the terminal can be widely applied in the field of software application testing.

Description

A kind of method and system of remote control terminal
Technical field
The present invention relates to terminal control technology, more particularly, to a kind of method and system that terminal is carried out with remotely control.
Background technology
At present, intelligent mobile terminal has become as people's daily life and one of the requisite electronic equipment that works, it Can be as computer(PC)Various types of software application are equally installed, to meet the different demands of different user.And for should Software application on intelligent mobile terminal, its software developer is when carrying out its exploitation, in order that the software of oneself Normal operation on equipment miscellaneous, then need to carry out substantial amounts of test, it just can be made almost to be adapted to and all account on the market There is the intelligent mobile terminal model that rate is higher.But in this test process, when tester needs test machine is carried out During control, tester is only capable of multiple test machines being controlled operating one by one in person in machine room, i.e. control operation behavior needs It is repeated several times, and traditional rate-determining steps are also complex, therefore so not only reduce the convenience and flexibly of control operation Property, but also increase the work load of tester, and reduce work efficiency.
Content of the invention
In order to solve above-mentioned technical problem, it is an object of the invention to provide a kind of method of remote control terminal.
It is a further object of the present invention to provide a kind of system of remote control terminal.
The technical solution adopted in the present invention is:A kind of method of remote control terminal, the method comprises the step of:
Central server sends equipment to the child servers that selected test machine is located and is rented notice;
Child servers are uploaded to central server after obtaining the screen-picture of selected test machine in real time, and by this screen-picture It is illustrated in default viewing area;
Monitoring performed control operation in this viewing area, thus obtaining corresponding control operation information, then will obtain The control operation information obtaining sends in real time to child servers;
Child servers are according to the control operation information receiving, thus corresponding control operation is applied in selected test On machine.
Further, described central server sends equipment to the child servers that selected test machine is located and is rented notice The step for before be provided with test machine and select step, described test machine selects step to include:
Logged in using client from test machine register list, after central server, choose the test machine needing to carry out applying test.
Further, described test machine is provided with test machine registration step, described test machine registration step bag before selecting step Include:
Test machine is connected to child servers;
The connection request of registration test machine when child servers listen to the connection of test machine, is then sent to central server, and to The unique identifier of this test machine asked by central server, thus the connection to this test machine is registered, so that this test machine Test machine register list shows.
Further, the step for choose, the described register list from test machine, the test machine needing to carry out applying test, its Specifically include:
Initiate list request to obtain described test machine register list, choose from the test machine register list obtaining need into The test machine of row application test.
Further, described control operation information includes operational order and this operational order execution position in viewing area Put.
Another technical scheme of the present invention is:A kind of system of remote control terminal, this system includes:
Notify transmitting element, rented to the child servers transmission equipment that selected test machine is located for central server logical Know;
Screen real-time exhibition unit, is uploaded to center after the screen-picture obtaining selected test machine for child servers in real time Server, and this screen-picture is illustrated in default viewing area;
Operation monitoring unit, for monitoring performed control operation in this viewing area, thus obtain corresponding control Operation information, then sends the control operation information of acquisition to child servers in real time;
Operation applying unit, for child servers according to the control operation information receiving, thus by corresponding control operation Apply on selected test machine.
Further, it is provided with for being logged in after central server from test machine using client before described notice transmitting element The test machine select unit needing to carry out the test machine applying test is chosen in register list.
Further, it is provided with test machine registering unit, described test machine registering unit bag before described test machine select unit Include:
Communication link block, for being connected to child servers by test machine;
Registering modules, listen to for child servers test machine connection when, then send registration test machine to central server Connection request, and the unique identifier of this test machine is asked to central server, thus the connection to this test machine is registered, So that this test machine shows in test machine register list.
Further, choose the test machine needing to carry out applying test the described register list from test machine, it specifically includes:
Initiate list request to obtain described test machine register list, choose from the test machine register list obtaining need into The test machine of row application test.
Further, described control operation information includes operational order and this operational order execution position in viewing area Put.
The invention has the beneficial effects as follows:By using the method for the present invention, central server can be made to obtain in real time and to be chosen The screen-picture of test machine and be illustrated in default viewing area, then pass through monitoring held in this viewing area The control operation of row, and these operations are returned to child servers in real time, these operations just can be applied to selected by child servers On the test machine selected, to realize remotely control, so when tester needs test machine is controlled, then need not arrive in person In machine room, carry out identical control operation one by one without to multiple test machines, and its control operation step is also very simple Convenient, therefore can greatly improve convenience and the motility of control operation, and the workload of mitigation tester, improve test Work efficiency.
Another beneficial effect of the present invention is:The system of the present invention can make central server obtain selected test in real time The screen-picture of machine is simultaneously illustrated in default viewing area, then passes through to monitor performed control in this viewing area System operation, and these operations are returned to child servers in real time, these operations just can be applied to selected survey by child servers On test-run a machine, to realize remotely control, so when tester needs test machine is controlled, then need not arrive machine room in person In, carry out identical control operation one by one without to multiple test machines, and its control operation step be also very simple and convenient, The workload of tester therefore can not only be mitigated, improve test job efficiency, and control operation can also be greatly enhanced Convenience and motility.
Brief description
Below in conjunction with the accompanying drawings the specific embodiment of the present invention is described further:
Fig. 1 is a kind of flow chart of steps of the method for remote control terminal of the present invention;
Fig. 2 is an a kind of specific embodiment flow chart of steps of method of remote control terminal of the present invention;
Fig. 3 is a kind of structural frames schematic diagram of the system of remote control terminal of the present invention;
Fig. 4 is an a kind of specific embodiment structural frames schematic diagram of system of remote control terminal of the present invention.
Specific embodiment
As shown in figure 1, a kind of method of remote control terminal, the method comprises the step of:
Central server sends equipment to the child servers that selected test machine is located and is rented notice;
Child servers are uploaded to central server after obtaining the screen-picture of selected test machine in real time, and by this screen-picture It is illustrated in default viewing area;
Monitoring performed control operation in this viewing area, thus obtaining corresponding control operation information, then will obtain The control operation information obtaining sends in real time to child servers;
Child servers are according to the control operation information receiving, thus corresponding control operation is applied in selected test On machine.
The son being located to selected test machine as the preferred implementation of this method embodiment, described central server Server is provided with test machine and selects step before sending the step for equipment is rented notice, described test machine selects step bag Include:
Logged in using client from test machine register list, after central server, choose the test machine needing to carry out applying test. Specifically, central server is logged in for described utilization client, it can be logged in using client browser or client end AP P Central server.
As the preferred implementation of this method embodiment, described test machine is provided with test machine registration step before selecting step Suddenly, described test machine registration step includes:
Test machine is connected to child servers;
The connection request of registration test machine when child servers listen to the connection of test machine, is then sent to central server, and to The unique identifier of this test machine asked by central server, thus the connection to this test machine is registered, so that this test machine Test machine register list shows.
As the preferred implementation of this method embodiment, choose needs the described register list from test machine and applied The step for test machine of test, it specifically includes:
Initiate list request to obtain described test machine register list, choose from the test machine register list obtaining need into The test machine of row application test.
As the preferred implementation of this method embodiment, described control operation information includes operational order and this operation Execution position in viewing area for the instruction.
The inventive method one specific embodiment
In this method embodiment, log in central server using client browser, and described default viewing area is It is used for showing the region of test machine screen-picture for certain in browser.Wherein, described client can be PC, smart mobile phone Deng.In addition, for described test machine, it can be mobile terminal, such as smart mobile phone or IPAD etc..
As shown in Fig. 2 a kind of method of remote control terminal, the step that it specifically includes has:
S101, test machine registration step, specifically include:
Test machine is connected to child servers by data wire;
When child servers listen to the connection of test machine, then to central server send registration test machine connection request, that is, to The connection of central server registration test machine, and the unique identifier of this test machine is asked to central server, thus to this survey The connection of test-run a machine is registered, and after so succeeding in registration, this test machine shows in test machine register list;
After S102, tester utilize client browser to log in central server, initiate list request to obtain described survey Test-run a machine register list, from the test machine register list obtaining, shown registered successful test machine is chosen needs and is carried out answering Test machine with test;
The child servers that S103, central server are located to selected test machine, the son being connected with selected test machine Server, transmission equipment is rented notice;
It is uploaded to center service in real time after the screen-picture of S104 and then the triggering child servers selected test machine of real-time acquisition Device, and this screen-picture is illustrated in certain region of browser;
The performed control operation in this viewing area of S105, browser monitoring, the such as operation such as the click of mouse, dragging, from And obtain corresponding control operation information, then the control operation information of acquisition is sent in real time to child servers;
S106, child servers are according to the control operation information receiving, thus corresponding control operation is applied being chosen Test machine on, to realize remotely control to test machine.
For the remote terminal control method of the present embodiment, one concrete application embodiment is remotely control on a web browser Semen setariae 5, concrete steps include:
The first step:Semen setariae 5 is connected to the child servers being positioned over machine room with data wire;
Second step:The connection of Semen setariae 5 when child servers listen to the connection of Semen setariae 5, is then registered to central server, and to center The unique identifier of this test machine of server request, such as 0ead176b7d3e8332faa8828d7532abea;
3rd step:Tester is logged in after central server using PC browser, initiates list request to obtain described test Machine register list, chooses Semen setariae 5 from the test machine register list obtaining;
4th step:Central server notifies the child servers Semen setariae 5 being connected with Semen setariae 5 to be rented;
5th step:Child servers obtain the screen-picture of Semen setariae 5, are returned to central server in real time, and are illustrated in browser Certain region(Depending on Pages Design);
6th step:Show when having monitored click or drag operation in Semen setariae 5 screen-picture region in a browser, by this Child servers are passed in a little operations in real time;
7th step:The operation receiving is realized on Semen setariae 5 by child servers in real time one by one, to realize the remotely control of Semen setariae 5.
Technical characteristic described in said method embodiment is all be applied to following system embodiment.
Long-range control method based on above-mentioned terminal and the system set up, i.e. a kind of system of terminal remote control, such as Fig. 3 With shown in Fig. 4, it includes:
Notify transmitting element 202, send equipment for central server to the child servers that selected test machine is located and rented With notifying;
Screen real-time exhibition unit 203, is uploaded to after the screen-picture obtaining selected test machine for child servers in real time Central server, and this screen-picture is illustrated in default viewing area;
Operation monitoring unit 204, for monitoring performed control operation in this viewing area, thus obtain corresponding control Operation information processed, then sends the control operation information of acquisition to child servers in real time;
Operation applying unit 205, for child servers according to the control operation information receiving, thus corresponding control is grasped Apply on selected test machine.
As the preferred implementation of the system embodiment, it is provided with for using visitor before described notice transmitting element 202 Family end is chosen after logging in central server from test machine register list needs to carry out the test machine choosing of the test machine applying test Select unit 201.
As the preferred implementation of the system embodiment, before described test machine select unit 201, it is provided with test machine note Volume unit 200, described test machine registering unit 200 includes:
Communication link block 2001, for being connected to child servers by test machine;
Registering modules 2002, listen to for child servers test machine connection when, then to central server send registration test The connection request of machine, and ask the unique identifier of this test machine to central server, thus the connection to this test machine is carried out Registration, so that this test machine shows in test machine register list.
As the preferred implementation of the system embodiment, choose needs the described register list from test machine and applied The test machine of test, it specifically includes:
Initiate list request to obtain described test machine register list, choose from the test machine register list obtaining need into The test machine of row application test.
As the preferred implementation of the system embodiment, described control operation information includes operational order and this operation Execution position in viewing area for the instruction.
Obtained by above-mentioned, by using the method for the present invention and system, can remotely test machine be selected, and make Central server obtains the screen-picture of selected test machine in real time and is illustrated in default viewing area, then passes through Monitor performed control operation in this viewing area, and these operations are returned to child servers in real time, child servers are just These operations can be applied on selected test machine, to realize remotely control, so when tester needs to test machine When being controlled, then need not carry out identical one by one without the test machine that multiple needs are controlled in person in machine room Control operation, and the rate-determining steps of the present invention also very simple, therefore can greatly improve the convenience and flexibly of control operation Property, and the workload of mitigation tester, improve test job efficiency, but also enable the efficient pipe of all test machines Reason.
It is more than that the preferable enforcement to the present invention is illustrated, but the invention is not limited to described enforcement Example, those of ordinary skill in the art also can make a variety of equivalent variations without prejudice on the premise of present invention spirit or replace Change, and technical staff also can be applied in the terminal remote control technical scheme involved by other fields, these are equal to Deformation or replacement, application be all contained in the application claim limited range.

Claims (10)

1. a kind of method of remote control terminal it is characterised in that:The method comprises the step of:
Central server sends equipment to the child servers that selected test machine is located and is rented notice;
Child servers are uploaded to central server after obtaining the screen-picture of selected test machine in real time, and by this screen-picture It is illustrated in default viewing area;
Monitoring performed control operation in this viewing area, thus obtaining corresponding control operation information, then will obtain The control operation information obtaining sends in real time to child servers;
Child servers are according to the control operation information receiving, thus corresponding control operation is applied in selected test On machine.
2. according to claim 1 a kind of method of remote control terminal it is characterised in that:Described central server is to selected The child servers that the test machine selected is located are provided with test machine and select step before sending the step for equipment is rented notice, described Test machine selects step to include:
Logged in using client from test machine register list, after central server, choose the test machine needing to carry out applying test.
3. according to claim 2 a kind of method of remote control terminal it is characterised in that:Described test machine select step it Before be provided with test machine registration step, described test machine registration step includes:
Test machine is connected to child servers;
The connection request of registration test machine when child servers listen to the connection of test machine, is then sent to central server, and to The unique identifier of this test machine asked by central server, thus the connection to this test machine is registered, so that this test machine Test machine register list shows.
4. according to claim 2 a kind of method of remote control terminal it is characterised in that:Described from test machine register list Middle selection needs to carry out the step for apply the test machine tested, and it specifically includes:
Initiate list request to obtain described test machine register list, choose from the test machine register list obtaining need into The test machine of row application test.
5. according to any one of claim 1-4 a kind of method of remote control terminal it is characterised in that:Described control operation Information includes operational order and this operational order execution position in viewing area.
6. a kind of system of remote control terminal it is characterised in that:This system includes:
Notify transmitting element, rented to the child servers transmission equipment that selected test machine is located for central server logical Know;
Screen real-time exhibition unit, is uploaded to center after the screen-picture obtaining selected test machine for child servers in real time Server, and this screen-picture is illustrated in default viewing area;
Operation monitoring unit, for monitoring performed control operation in this viewing area, thus obtain corresponding control Operation information, then sends the control operation information of acquisition to child servers in real time;
Operation applying unit, for child servers according to the control operation information receiving, thus by corresponding control operation Apply on selected test machine.
7. according to claim 6 a kind of system of remote control terminal it is characterised in that:Before described notice transmitting element It is provided with and choose, for logging in using client, the survey needing to carry out applying test after central server from test machine register list The test machine select unit of test-run a machine.
8. according to claim 7 a kind of system of remote control terminal it is characterised in that:Described test machine select unit it Before be provided with test machine registering unit, described test machine registering unit includes:
Communication link block, for being connected to child servers by test machine;
Registering modules, listen to for child servers test machine connection when, then send registration test machine to central server Connection request, and the unique identifier of this test machine is asked to central server, thus the connection to this test machine is registered, So that this test machine shows in test machine register list.
9. according to claim 7 a kind of system of remote control terminal it is characterised in that:Described from test machine register list Middle selection needs to carry out applying the test machine tested, and it specifically includes:
Initiate list request to obtain described test machine register list, choose from the test machine register list obtaining need into The test machine of row application test.
10. according to any one of claim 6-9 a kind of system of remote control terminal it is characterised in that:Described control is grasped Include operational order and this operational order execution position in viewing area as information.
CN201610974099.4A 2016-11-04 2016-11-04 Method and system for remotely controlling terminal Pending CN106385464A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610974099.4A CN106385464A (en) 2016-11-04 2016-11-04 Method and system for remotely controlling terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610974099.4A CN106385464A (en) 2016-11-04 2016-11-04 Method and system for remotely controlling terminal

Publications (1)

Publication Number Publication Date
CN106385464A true CN106385464A (en) 2017-02-08

Family

ID=57956822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610974099.4A Pending CN106385464A (en) 2016-11-04 2016-11-04 Method and system for remotely controlling terminal

Country Status (1)

Country Link
CN (1) CN106385464A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168841A (en) * 2017-05-25 2017-09-15 北京云测信息技术有限公司 The remote test method and device of a kind of mobile device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834887A (en) * 2010-03-25 2010-09-15 黄卫 Internet-based method and system for providing remote service for mobile terminal
CN102571840A (en) * 2010-12-16 2012-07-11 卓望数码技术(深圳)有限公司 Remote terminal test method, system and proxy server
CN103778053A (en) * 2012-10-18 2014-05-07 周玲玲 Remote real machine test system and method of mobile terminals
CN105824726A (en) * 2015-01-07 2016-08-03 展讯通信(上海)有限公司 Remote automatic test system and method of mobile terminals
CN106021095A (en) * 2016-05-06 2016-10-12 北京邮电大学 A push mechanism-based Android application automated testing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101834887A (en) * 2010-03-25 2010-09-15 黄卫 Internet-based method and system for providing remote service for mobile terminal
CN102571840A (en) * 2010-12-16 2012-07-11 卓望数码技术(深圳)有限公司 Remote terminal test method, system and proxy server
CN103778053A (en) * 2012-10-18 2014-05-07 周玲玲 Remote real machine test system and method of mobile terminals
CN105824726A (en) * 2015-01-07 2016-08-03 展讯通信(上海)有限公司 Remote automatic test system and method of mobile terminals
CN106021095A (en) * 2016-05-06 2016-10-12 北京邮电大学 A push mechanism-based Android application automated testing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168841A (en) * 2017-05-25 2017-09-15 北京云测信息技术有限公司 The remote test method and device of a kind of mobile device
CN107168841B (en) * 2017-05-25 2020-05-12 北京云测信息技术有限公司 Remote testing method and device for mobile equipment

Similar Documents

Publication Publication Date Title
CN106790523B (en) A kind of information push method and server
CN104579822A (en) Automatic performance test system and method of mobile application based on Http protocol
US10277475B2 (en) System and method for dynamically testing networked target systems
CN103338247B (en) Power system remote image retrieval method based on Web service mode
CN103236960A (en) Method and system for data interaction between home server and plurality of terminals
CN105794152B (en) The system and method and device of the interaction based on web are carried out with building automatic
CN104598369B (en) The software supervision method and apparatus realized in a mobile device
CN106464746A (en) Computer system to support failover in event stream processing system
CN106161145A (en) A kind of monitoring method and system of server system operation status information
CN112954311B (en) Performance test method and system for live streaming media
CN104200644B (en) Equipment remote-control method, function terminal and intelligent terminal
CN106850717A (en) A kind of method of the monitoring industrial data collection gateway real time data based on webpage
CN105183299A (en) Human-computer interface service processing system and method
CN105812406B (en) Information transferring method and device based on WEB emulation terminal system
CN108306911A (en) A kind of Internet of Things event monitoring method and apparatus
CN104935639A (en) Intelligent terminal, and applied distributed exploitation system and method
CN106776286A (en) Mobile terminal APP remote detecting methods, mobile terminal and client
CN104484094A (en) Implementation method of tunnel monitoring multi-webpage interface on basis of multi-screen workstation
CN103905260A (en) Terminal device network traffic monitoring method and device
CN108093068A (en) Terminal monitoring method and device, computer storage media, terminal
CN103973484A (en) Operation and maintenance management system based on network topological structure
CN105930249A (en) Application monitoring method and apparatus
CN103532932B (en) A kind of ability open system, method for processing business and equipment
CN106385464A (en) Method and system for remotely controlling terminal
CN106294119A (en) Test dispatching system, method and terminal unit

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170208