CN111629016A - Control method, device and system - Google Patents

Control method, device and system Download PDF

Info

Publication number
CN111629016A
CN111629016A CN201910153056.3A CN201910153056A CN111629016A CN 111629016 A CN111629016 A CN 111629016A CN 201910153056 A CN201910153056 A CN 201910153056A CN 111629016 A CN111629016 A CN 111629016A
Authority
CN
China
Prior art keywords
client
target terminal
target
port address
proxy server
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
CN201910153056.3A
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910153056.3A priority Critical patent/CN111629016A/en
Publication of CN111629016A publication Critical patent/CN111629016A/en
Pending legal-status Critical Current

Links

Images

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a control method, a control device and a control system. The control system comprises at least one proxy server, a web server, at least one terminal and a client; the client responds to the selection operation aiming at least one terminal, determines a target terminal and sends a control request to the web server; the web server distributes network port addresses of the target proxy server and the target proxy device based on the control request; feeding back the network port address to a target terminal and a client; the target proxy server establishes connection with the target terminal and the client respectively based on the network port address; determining a debugging port address of a target terminal, and establishing a port mapping relation between the debugging port address and a network port address; establishing a network channel between the client and the target terminal based on the port mapping relation; the client-side carries out remote control on the target terminal through the network channel. The technical scheme of the application reduces the remote control difficulty and improves the communication performance of the remote control.

Description

Control method, device and system
Technical Field
The embodiment of the application relates to the technical field of computer application, in particular to a control method, device and system.
Background
The Internet of things (IoT) is an important component of a new generation of information technology, and refers to a huge network formed by combining various IoT terminals, which collect various required information such as any object or process needing monitoring, connection and interaction in real time, and the Internet. As the technology of the physical network is further developed, the IoT terminal is also implemented by using the smart terminal, and therefore, the IoT terminal needs to be remotely controlled, for example, by synchronizing screen information of the IoT terminal to the control device, and by using a screen operation event, remote operation of the IoT terminal is implemented.
At present, the IoT terminal is remotely controlled mainly by a wired connection manner, and the control device is connected to the IoT terminal in a wired manner, so that the IoT terminal is remotely controlled by the control device.
Disclosure of Invention
The embodiment of the application provides a method, a device and a mobile terminal, which are used for solving the technical problems that remote control in the prior art does not have universality and is difficult to control.
In a first aspect, an embodiment of the present application provides a control system, including at least one proxy server, a web server, at least one terminal, and a client;
the client is used for responding to the selection operation of the at least one terminal, determining a selected target terminal and sending a control request to the web server;
the web server is used for distributing a target proxy server and the network port address of the target proxy based on the control request; feeding back the network port address to the target terminal and the client;
the target proxy server is used for respectively establishing connection with the target terminal and the client based on the network port address; determining a debugging port address of the target terminal, and establishing a port mapping relation between the debugging port address and the network port address; establishing a network channel between the client and the target terminal based on the port mapping relation;
and the client is used for remotely controlling the target terminal through the network channel.
In a second aspect, an embodiment of the present application provides a control method, including:
the client responds to the selection operation aiming at least one terminal, and determines a selected target terminal;
sending a control request to the web server to enable the web server to distribute a target proxy server and a network port address thereof;
receiving a network port address of a target proxy server fed back by the web server;
establishing a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
and remotely controlling the target terminal through the network channel.
In a third aspect, an embodiment of the present application provides a control method, including:
the target proxy server establishes connection with the client and the target terminal respectively based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
determining a debugging port address of the target terminal;
establishing a port mapping relation between the debugging port address and the network port address;
establishing a network channel between the client and the target terminal according to the port mapping relation;
and the network channel is used for the client to realize the remote control of the target terminal.
In a fourth aspect, an embodiment of the present application provides a control method, including:
the method comprises the steps that a web server receives a control request aiming at a target terminal, which is sent by a client;
allocating a target proxy server and a network port address of the target proxy server;
feeding the network port address back to the client and the target terminal respectively so that the client establishes connection with the target proxy server based on the network port address and the target terminal establishes connection with the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
In a fifth aspect, an embodiment of the present application provides a control method, including:
the target terminal receives the network port address of the target proxy server fed back by the web server;
and after the connection between the network port address and a client is established, a network channel between the client and the target terminal is established based on the port mapping relation, so that the client can remotely control the target terminal through the network channel.
In a sixth aspect, an embodiment of the present application provides a control apparatus, including:
a terminal determination module for determining a selected target terminal in response to a selection operation for at least one terminal;
the control request module is used for sending a control request to the web server so that the web server can distribute a target proxy server and a network port address thereof;
the address receiving module is used for receiving the network port address of the target proxy server fed back by the web server;
a first connection establishing module, configured to establish a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
and the remote control module is used for remotely controlling the target terminal through the network channel.
In a seventh aspect, an embodiment of the present application provides a control apparatus, including:
the second connection establishing module is used for respectively establishing connection with the client and the target terminal based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
the address determination module is used for determining the debugging port address of the target terminal;
the port mapping module is used for establishing a port mapping relation between the debugging port address and the network port address;
the channel establishing module is used for establishing a network channel between the client and the target terminal according to the port mapping relation;
and the network channel is used for the client to realize the remote control of the target terminal.
In an eighth aspect, an embodiment of the present application provides a control apparatus, including:
the request receiving module is used for receiving a control request aiming at a target terminal and sent by a client;
the port distribution module is used for distributing a target proxy server and a network port address of the target proxy server;
the configuration issuing module is used for respectively feeding back the network port address to the client and the target terminal so as to establish connection between the client and the target proxy server based on the network port address and establish connection between the target terminal and the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
In a ninth aspect, an embodiment of the present application provides a control apparatus, including:
the configuration receiving module is used for receiving the network port address of the target proxy server fed back by the web server;
and the third connection establishing module is used for establishing connection with the target proxy server based on the network port address so that the target proxy server establishes a port mapping relation between a debugging port address of the terminal and the network port address, and after establishing connection with a client based on the network port address, a network channel between the client and the terminal is established based on the port mapping relation so that the client can remotely control the terminal through the network channel.
In a tenth aspect, an embodiment of the present application provides an electronic device, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
in response to a selection operation for at least one terminal, determining a selected target terminal;
sending a control request to the web server to enable the web server to distribute a target proxy server and a network port address thereof;
receiving a network port address of a target proxy server fed back by the web server;
establishing a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
and remotely controlling the target terminal through the network channel.
In an eleventh aspect, an embodiment of the present application provides a proxy server, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing connection with the client and the target terminal respectively based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
determining a debugging port address of the target terminal;
establishing a port mapping relation between the debugging port address and the network port address;
establishing a network channel between the client and the target terminal according to the port mapping relation;
and the network channel is used for the client to realize the remote control of the target terminal.
In a twelfth aspect, an embodiment of the present application provides a web server, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving a control request aiming at a target terminal sent by a client;
allocating a target proxy server and a network port address of the target proxy server;
feeding the network port address back to the client and the target terminal respectively so that the client establishes connection with the target proxy server based on the network port address and the target terminal establishes connection with the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
In a thirteenth aspect, an embodiment of the present application provides a terminal, including a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving a network port address of a target proxy server fed back by a web server;
and after the connection between the network port address and a client is established, a network channel between the client and the terminal is established based on the port mapping relation, so that the client can remotely control the terminal through the network channel.
In the embodiment of the application, a control system is provided, which comprises at least one proxy server, a web server, at least one terminal and a client; the client responds to the selection operation aiming at the at least one terminal, determines a selected target terminal and sends a control request to the web server; the web server allocates a target proxy server and a network port address of the target proxy based on the control request; feeding back the network port address to the target terminal and the client; the target proxy server establishes connection with the target terminal and the client respectively based on the network port address; determining a debugging port address of the target terminal, and establishing a port mapping relation between the debugging port address and the network port address; establishing a network channel between the client and the target terminal based on the port mapping relation; the client can remotely control the target terminal through the network channel. The embodiment of the application adopts a wireless connection mode, realizes remote control through a wide area network, reduces the difficulty of remote control and improves the universality of remote control.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram illustrating an embodiment of a control system provided herein;
fig. 2a and fig. 2b respectively show interaction diagrams of the embodiment of the present application in a practical application;
FIG. 3 is a flow chart illustrating one embodiment of a control method provided herein;
FIG. 4 illustrates a flow chart of yet another embodiment of a control method provided herein;
FIG. 5 illustrates a flow chart of yet another embodiment of a control method provided herein;
FIG. 6 illustrates a flow chart of yet another embodiment of a control method provided herein;
FIG. 7 is a schematic diagram illustrating an embodiment of a control device provided herein;
FIG. 8 is a schematic diagram illustrating an embodiment of an electronic device provided by the present application;
FIG. 9 is a schematic structural diagram illustrating a further embodiment of a control device provided herein;
FIG. 10 is a schematic diagram illustrating an embodiment of a proxy server provided by the present application;
FIG. 11 is a schematic structural diagram illustrating a further embodiment of a control device provided herein;
FIG. 12 is a schematic diagram illustrating an embodiment of a web server provided by the present application;
FIG. 13 is a schematic structural diagram illustrating a further embodiment of a control device provided herein;
fig. 14 is a schematic structural diagram illustrating an embodiment of a terminal provided in the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
In some of the flows described in the specification and claims of this application and in the above-described figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, the number of operations, e.g., 101, 102, etc., merely being used to distinguish between various operations, and the number itself does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The technical scheme is mainly applied to the Internet of things (IoT) scene to realize remote control of the IoT terminal, and of course, the technical scheme can also be applied to other application scenes needing to remotely control any terminal.
Taking an IoT scenario as an example, an IoT terminal is usually an edge node of an IoT system, deployed in a remote place. In many practical applications, the IoT terminal needs to be remotely controlled, for example, many intelligent terminals are used as the IoT terminal in a new retail scene, such as an offline large screen, an intelligent container, a POS machine, and the IoT terminal needs to be remotely operated and maintained to solve a problem that the IoT terminal may have. As described in the background art, the existing methods all use a wired connection method, for example, the IoT terminal is connected through a USB (Universal Serial Bus) data line, which requires complicated wiring, increases control difficulty for the IoT terminal deployed at a remote location, and has no universality.
In order to improve the simplification of a remote control mode and the universality of remote control, the inventor provides the technical scheme of the application through a series of researches. In an embodiment of the present application, a control system is provided, which comprises at least one proxy server, a web (web page) server, at least one terminal, and a client; the client responds to the selection operation aiming at the at least one terminal, determines a selected target terminal and sends a control request to the web server; the web server allocates a target proxy server and a network port address of the target proxy based on the control request; feeding back the network port address to the target terminal and the client; the target proxy server establishes connection with the target terminal and the client respectively based on the network port address; determining a debugging port address of the target terminal, and establishing a port mapping relation between the debugging port address and the network port address; establishing a network channel between the client and the target terminal based on the port mapping relation; the client can remotely control the target terminal through the network channel. By adopting a wireless connection mode, the remote control is realized through a wide area network, the remote control difficulty is reduced, and the remote control universality is improved.
In the embodiment of the application, the port mapping is carried out through the proxy server, so that the client can access the debugging port of the terminal, and the terminal can be remotely controlled. Although the terminal can be accessed to the internet in the scene of the internet of things, the terminal can only transmit messages, cannot access a debugging port of the terminal, and cannot realize higher-level remote control. Even if the terminal is located in the local area network, the intranet penetration can be realized by carrying out port mapping through the proxy server, and therefore the remote control of the terminal can be realized through the wide area network.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic structural diagram of an embodiment of a control system provided in an embodiment of the present application, where the control system may include at least one proxy server 101, a web server 102, a client 103, and at least one terminal 104.
When at least one proxy server comprises a plurality of proxy servers, a proxy server cluster is formed. In fig. 1, only one proxy server and one terminal are drawn for convenience of understanding.
The client 103 is used for responding to the selection operation of the at least one terminal, determining a selected target terminal 104 and sending a control request to the web server 102;
the web server 102 is configured to allocate network port addresses of the target proxy server 101 and the target proxy 101 based on the control request; feeding back the network port address to the target terminal 104 and the client 103;
the target proxy server 101 is configured to establish connections with the target terminal 104 and the client 103 based on the network port address; determining a debugging port address of the target terminal 104, and establishing a port mapping relation between the debugging port address and the network port address; establishing a network channel between the client 103 and the target terminal 104 based on the port mapping relationship;
the client 103 is configured to remotely control the target terminal 104 through the network channel.
In an IoT scenario, the at least one terminal may be an IoT terminal, and the web server may be a server that the at least one IoT terminal accesses to the internet, and in the IoT scenario, the IoT terminal generally establishes an mqtt connection with the web server through an mqtt (Message queue telemetry Transport) protocol, but the mqtt connection can only perform Message passing, and the web server cannot directly access a debug port of the IoT terminal, so that remote control of the IoT terminal cannot be achieved.
Http (hypertext transfer protocol) and hypertext transfer protocol) connection is established between the client 103 and the web server 104, the web server 104 may send a control page to the client 103, the control page may include control prompt information of the at least one terminal, and the client 103 displays the control page. The selection operation for the at least one terminal may specifically refer to a selection operation for at least one control guidance message, so that the corresponding target terminal 104 may be determined according to the selected control guidance message. The target terminal 104 is any terminal that the user wants to remotely control.
The client 103 may be a browser (web browser), an application installed in the electronic device, or the like.
After the web server 102 receives the control request, it may determine the target proxy server 101, and when the system includes only one proxy server, the one proxy server is the target proxy server, and when the system includes a plurality of proxy servers, any one of the proxy servers that is idle or has a small load may be selected as the proxy server. Network ports may be allocated after the target proxy server is determined, and an unused port of the target proxy server may be selected as a network port, thereby obtaining a network port address. Alternatively, the network port address may include an ip address of the destination proxy server, a port number of the network port, and the like.
The web server 102 may respectively feed back the allocated network port addresses to the target terminal 104 and the client 103, and optionally, the target terminal 104 may issue a debugging instruction including the network port addresses, and issue a connection instruction including the network port addresses to the client 103.
The target terminal 104 may thus request to establish a connection with the target proxy server 101 based on the network port address in response to the debug instruction; the client 103 may request to establish a connection with the target proxy server 101 based on the network port address in response to the connection instruction.
Specifically, after the target terminal 104 obtains the debug instruction, it may determine a debug port, which is a non-80 port, so as to implement remote control of the target terminal through access to the debug port. The target terminal 104 may send a first connection request to the target proxy server 101, where the first connection request may include the debug port address of the target terminal 104 and the network port address. The target proxy server 101 thus establishes a port connection with the target terminal 104 based on the debug port address and the network port address. Optionally, the port connection established between the target proxy server 101 and the target terminal 104 is specifically a socket connection, and the debug port may be accessed through the socket connection.
The client 103 may send a second connection request including the network port address of the target terminal 104 to the target proxy server 101, and the client may establish a socket connection with the target proxy server 101 using the temporary port so that the network port may be accessed through the socket connection.
When the client is deployed in the electronic device of the Android system, the client can be connected with the target proxy server through an adb (Android Debug Bridge) tool.
Since the web server cannot directly access the debug port of the IoT terminal in the IoT scenario, the remote control of the IoT terminal cannot be realized. That is, the web server can perform message transmission with the terminal, but cannot implement remote control, and the terminal is located in the local area network, so that the proxy server is adopted, the proxy server adopts an intranet penetration technology, and address conversion is implemented through port mapping, so as to establish a network channel between the client and the terminal.
Therefore, in this embodiment of the present application, the target proxy server 101 establishes a port mapping relationship between the debug port address and the network port address, so that when the client 103 accesses the network port, the client forwards the debug port based on the port mapping relationship, thereby implementing access of the client to the debug port of the client 103, and further implementing remote control on the target terminal 104.
The proxy server can be embodied as an intranet-penetrating server, an intranet-penetrating client can be operated in the terminal, and the proxy server can realize that the client accesses the target terminal and the target terminal accesses the client through port mapping.
Optionally, intranet penetration may be implemented by using an frp technology, the proxy server may be an frp server, and the frp client is operated in the terminal, which may be implemented.
In the embodiment, the remote control of the terminal through the wide area network is realized through the proxy server, the wired connection is not needed, the remote control difficulty is reduced, the proxy server can be suitable for the terminal deployed in any area, and the universality of the remote control is improved.
In practical applications, the remote control of the target terminal may include acquiring service data or log information of the target terminal, and controlling the target terminal to perform corresponding operations, such as starting or closing an application program on the terminal.
In addition, the remote control of the target terminal can be usually realized through a screen operation event, that is, the screen information of the target terminal is synchronously displayed, and the corresponding control of the target terminal is realized through the screen operation event of the screen information.
Therefore, in some embodiments, the client performing remote control on the target terminal through the network channel may include:
acquiring screen information sent by the target terminal through the network channel;
displaying the screen information;
detecting a screen operation event aiming at the screen information, and generating a corresponding control instruction;
and sending the control instruction to the target terminal through the network channel so that the target terminal can execute the control instruction to realize corresponding control.
For example, the screen operation event is a click event, the click event may be represented as (X, Y, action-click), and the generated control command may be to issue a click event to the coordinates of the screen (X, Y) by parsing the click event, or, for example, the screen operation event is a slide event (X1, Y1, X2, Y2, predetermined duration, action-slide), and the generated control command may be that it takes a predetermined duration from the screen (X1, Y1) to (X2, Y2) when the screen operation event is a slide event (X1, Y1, Y2).
The remote control of the target terminal can be realized through a target proxy server, namely the target proxy server is used for receiving related data sent by a client, and determining an actually accessed debugging port based on a port mapping relation, so as to forward the debugging port to the target terminal; or receiving related data sent by the target terminal, determining a client accessing the network port address based on the port mapping relation, and forwarding the client to the client.
Therefore, in some embodiments, the obtaining, by the client, the screen information of the target terminal through the network channel may specifically be receiving, by the target proxy server, the screen information sent by the target terminal and forwarded based on the port mapping relationship; and displaying the screen information.
That is, the target terminal is used for sending the screen information to the target proxy server, and the target proxy server forwards the screen information to the client based on the port mapping relation.
The screen information sent by the target terminal may be a video generated by capturing a screen of the target terminal in real time, and optionally, in order to reduce the data volume, the screen capture obtained by capturing the screen in real time may be converted into a video in an h.256 (video coding standard) format.
The sending, by the client, the control instruction to the target terminal through the network channel may specifically be sending the control instruction to the target proxy server, so that the proxy server forwards the control instruction to the target terminal based on the port mapping relationship.
For convenience of understanding, fig. 2a and 2b show schematic diagrams of remote control through a network channel, in fig. 2a, a target terminal 104 sends screen information to a client 103 through a target server 101; in fig. 2b, the client 103 sends a control command to the target terminal 104 via the target server 101.
In connection with the control system described in fig. 1, the following describes the technical solution of the present application from the perspective of executing the control method by different executing bodies.
Fig. 3 is a flowchart of an embodiment of a control method provided in an embodiment of the present application, and the embodiment is described from a client perspective, where the method may include the following steps:
301: in response to a selection operation for at least one terminal, a selected target terminal is determined.
Optionally, before step 301, the method may further include:
acquiring a control page sent by a web server;
displaying the control page; and the control page comprises control prompt information corresponding to the at least one terminal respectively.
The selection operation for at least one terminal may be a selection operation for the at least one control guidance information, so that the corresponding target terminal is determined according to the selected control guidance information.
302: and sending a control request to the web server so that the web server can distribute a target proxy server and a network port address thereof.
303: and receiving the network port address of the target proxy server fed back by the web server.
304: establishing a connection with the target proxy server based on the network port address.
The target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
alternatively, a socket connection may be established with the target proxy server.
Specifically, the second connection request may be sent to the target proxy server, where the second connection request includes the network port address, and may further include a client temporary port address, so that the target proxy server establishes a socket connection with the client.
305: and remotely controlling the target terminal through the network channel.
For specific operations executed by the client, reference may be made to the explanation of the client in the control system, which is not described herein again.
In some embodiments, the remotely controlling the target terminal through the network channel may include:
acquiring screen information of the target terminal through the network channel;
displaying the screen information;
detecting a screen operation event aiming at the screen information, and generating a corresponding control instruction;
and sending the control instruction to the target terminal through the network channel so that the target terminal can execute the control instruction to realize corresponding control.
In some embodiments, the obtaining of the screen information of the target terminal through the network channel may include:
receiving screen information sent by the target terminal and forwarded by the target proxy server based on the port mapping relation;
and displaying the screen information.
In some embodiments, the sending the control instruction to the target terminal through the network channel may include:
and sending the control instruction to the target proxy server, so that the proxy server forwards the control instruction to the target terminal based on the port mapping relation.
Fig. 4 is a flowchart of another embodiment of a control method provided in an embodiment of the present application, which is described in the perspective of a target proxy server, where the determination of the target proxy server may be described in the embodiment shown in fig. 1, and the method may include the following steps:
401: and respectively establishing connection with the client and the target terminal based on the network port address.
The network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
optionally, the establishing the connection with the client and the target terminal respectively based on the network port address may include:
receiving a first connection request sent by the target terminal based on the network port address, and establishing socket connection with the target terminal; the first connection request is sent after the target terminal receives a network port address issued by the web server;
receiving a second connection request sent by the client based on the network port address, and establishing socket connection with the client; and the second connection request is sent after the client receives a network port address sent by the web server.
402: and determining the debugging port address of the target terminal.
403: and establishing a port mapping relation between the debugging port address and the network port address.
404: and establishing a network channel between the client and the target terminal according to the port mapping relation.
And the network channel is used for the client to realize the remote control of the target terminal.
In some embodiments, the method may further comprise:
receiving screen information sent by the target terminal;
and forwarding the screen information to the client according to the port mapping relation so that the client can display the screen information.
In some embodiments, the method may further comprise:
receiving a control instruction sent by the client; wherein the control instruction is generated by the client detecting a screen operation event aiming at the screen information;
and forwarding the control instruction to the target terminal according to the port mapping relation so that the target terminal can execute the control instruction.
Fig. 5 is a flowchart of another embodiment of a control method provided in an embodiment of the present application, which is described from the perspective of a web server, where the method may include the following steps:
501: and receiving a control request aiming at the target terminal sent by the client.
502: a target proxy server and a network port address of the target proxy server are assigned.
503: and feeding back the network port address to the client and the target terminal respectively.
So that the client can establish a connection with the target proxy server based on the network port address, and the target terminal can establish a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
In some embodiments, the method may further comprise:
and sending a cancel instruction to the target terminal so that the target terminal can be disconnected from the target proxy server.
In some embodiments, the feeding back the network port address to the client and the target terminal respectively may include:
sending a connection instruction carrying the network port address to the client;
and issuing a debugging instruction carrying the network port address to the target terminal.
In addition, the debug instruction may further include a debug time deadline.
The target terminal may disconnect the connection with the target proxy server if the current time exceeds the debug time limit based on the debug time limit.
Fig. 6 is a flowchart of another embodiment of a control method provided in an embodiment of the present application, which is described from the perspective of a target terminal, where the method may include the following steps:
601: and receiving the network port address of the target proxy server fed back by the web server.
602: establishing a connection with the target proxy server based on the network port address.
Therefore, the target proxy server establishes a port mapping relation between the debugging port address of the target terminal and the network port address, and establishes a network channel between the client and the target terminal based on the port mapping relation after establishing connection with the client based on the network port address, so that the client can remotely control the target terminal through the network channel.
Alternatively, it may specifically be to establish a socket connection with the target proxy server.
In some embodiments, the method may further comprise:
sending screen information to a target proxy server for the target proxy server to forward to the client based on the port mapping relation;
receiving a control instruction forwarded by the target proxy server; the control instruction is generated by detecting a screen operation event aiming at the screen information and is sent to the target proxy server;
and executing the control instruction to realize corresponding control operation.
In some embodiments, the method may further comprise:
and receiving a canceling instruction sent by the web server, and disconnecting the canceling instruction from the target proxy server.
In some embodiments, the network port address of the target proxy server receiving the web server feedback may include:
and receiving a debugging instruction which is sent by a web server and comprises the network port address.
Then specifically in response to the debug instruction, a connection is established with the target proxy server based on the network port address.
In addition, the debug instruction may further include a debug time deadline.
The target terminal may also disconnect from the target proxy server when the debug time deadline is reached based on the debug time deadline.
Fig. 7 is a schematic structural diagram of an embodiment of a control device provided in the present application, where the control device may be implemented as a client in the control system shown in fig. 1, and the control device may include:
a terminal determining module 701, configured to determine a selected target terminal in response to a selection operation for at least one terminal;
a control request module 702, configured to send a control request to the web server, so that the web server allocates a target proxy server and a network port address thereof;
an address receiving module 703, configured to receive a network port address of the target proxy server fed back by the web server;
a first connection establishing module 704, configured to establish a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
a remote control module 705, configured to perform remote control on the target terminal through the network channel.
In some embodiments, the remote control module is specifically configured to obtain screen information of the target terminal through the network channel; displaying the screen information; detecting a screen operation event aiming at the screen information, and generating a corresponding control instruction; and sending the control instruction to the target terminal through the network channel so that the target terminal can execute the control instruction to realize corresponding control.
In some embodiments, the remote control module obtains, through the network channel, the screen information of the target terminal, specifically, receives the screen information sent by the target terminal and forwarded by the target proxy server based on the port mapping relationship; and displaying the screen information.
In some embodiments, the remote control module sends the control instruction to the target terminal through the network channel, specifically, sends the control instruction to the target proxy server, so that the proxy server forwards the control instruction to the target terminal based on the port mapping relationship.
The control device shown in fig. 7 may execute the control method shown in the embodiment shown in fig. 3, and the implementation principle and the technical effect are not repeated. The specific manner in which each module and unit of the control device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the embodiment of the present application further provides an electronic device, which may be configured with a client in the control system shown in fig. 1, as shown in fig. 8, and may include a storage component 801 and a processing component 802;
the storage component 801 stores one or more computer instructions for execution invoked by the processing component 802.
The processing component 802 is configured to:
in response to a selection operation for at least one terminal, determining a selected target terminal;
sending a control request to the web server to enable the web server to distribute a target proxy server and a network port address thereof;
receiving a network port address of a target proxy server fed back by the web server;
establishing a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
and remotely controlling the target terminal through the network channel.
The processing component 802 may include one or more processors executing computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 801 is configured to store various types of data to support operations at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the electronic device may of course also comprise other components, such as input/output interfaces, communication components, etc.
In addition, the electronic device may further include a display component; the processing component may control the target terminal remotely through the network channel by:
acquiring screen information of the target terminal through the network channel;
displaying the screen information through the display component;
detecting a screen operation event aiming at the screen information, and generating a corresponding control instruction;
and sending the control instruction to the target terminal through the network channel so that the target terminal can execute the control instruction to realize corresponding control.
In addition, the display component can be further configured to display a control page sent by the web server, where the control page includes control prompt information of the at least one terminal. The selection operation for the at least one terminal may specifically be a selection operation for the at least one control guidance message, so that the corresponding target terminal is determined according to the selected control guidance message.
The display element may be an Electroluminescent (EL) element, a liquid crystal display or a microdisplay with a similar structure, or a laser scanning display where the retina can directly display or the like.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the control method of the embodiment shown in fig. 3 may be implemented.
Fig. 9 is a schematic structural diagram of another embodiment of a control device according to an embodiment of the present application, where the control device may be configured in a proxy server shown in fig. 1, and may include:
a second connection establishing module 901, configured to establish connections with the client and the target terminal respectively based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
an address determining module 902, configured to determine a debug port address of the target terminal;
a port mapping module 903, configured to establish a port mapping relationship between the debug port address and the network port address;
a channel establishing module 904, configured to establish a network channel between the client and the target terminal according to the port mapping relationship;
and the network channel is used for the client to realize the remote control of the target terminal.
In some embodiments, the second connection establishing module is specifically configured to receive a first connection request sent by the target terminal based on the network port address, and establish a socket connection with the target terminal; the first connection request is sent after the target terminal receives a network port address issued by the web server;
receiving a second connection request sent by the client based on the network port address, and establishing socket connection with the client; and the second connection request is sent after the client receives a network port address sent by the web server.
In some embodiments, the apparatus may further comprise:
the first forwarding module is used for receiving the screen information sent by the target terminal; and forwarding the screen information to the client according to the port mapping relation so that the client can display the screen information.
In some embodiments, the apparatus may further comprise:
the second forwarding module is used for receiving the control instruction sent by the client; wherein the control instruction is generated by the client detecting a screen operation event aiming at the screen information; and forwarding the control instruction to the target terminal according to the port mapping relation so that the target terminal can execute the control instruction.
The control device shown in fig. 9 can execute the control method described in the embodiment shown in fig. 4, and the implementation principle and technical effect are not described again. The specific manner in which each module and unit of the control device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the control apparatus shown in fig. 9 may be implemented as the proxy server shown in fig. 1, as shown in fig. 10, and the embodiment of the present application further provides a proxy server, which may include a storage component 1001 and a processing component 1002;
the storage component 1001 stores one or more computer instructions for the processing component 1002 to invoke for execution.
The processing component 1002 is configured to:
establishing connection with the client and the target terminal respectively based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
determining a debugging port address of the target terminal;
establishing a port mapping relation between the debugging port address and the network port address;
establishing a network channel between the client and the target terminal according to the port mapping relation;
and the network channel is used for the client to realize the remote control of the target terminal.
Among other things, the processing component 1002 may include one or more processors to execute computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1001 is configured to store various types of data to support operations at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the electronic device may of course also comprise other components, such as input/output interfaces, communication components, etc.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the control method of the embodiment shown in fig. 4 can be implemented.
Fig. 11 is a schematic structural diagram of another embodiment of a control device provided in the present application, where the control device may be configured in a web server as shown in fig. 1, and may include:
a request receiving module 1101, configured to receive a control request for a target terminal sent by a client;
a port allocating module 1102, configured to allocate a target proxy server and a network port address of the target proxy server;
a configuration issuing module 1103, configured to feed back the network port address to the client and the target terminal, respectively, so that the client establishes a connection with the target proxy server based on the network port address, and the target terminal establishes a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
In some embodiments, it may further include:
and the cancellation triggering module is used for sending a cancellation instruction to the target terminal so that the target terminal can be disconnected from the target proxy server.
The control device shown in fig. 11 may execute the control method described in the embodiment shown in fig. 5, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the control device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the control apparatus shown in fig. 11 may be implemented as a web server shown in fig. 1, as shown in fig. 12, and the present application embodiment further provides a web server, which may include a storage component 1201 and a processing component 1202;
the storage component 1201 stores one or more computer instructions for the processing component 1202 to invoke for execution.
The processing component 1202 is configured to:
receiving a control request aiming at a target terminal sent by a client;
allocating a target proxy server and a network port address of the target proxy server;
feeding the network port address back to the client and the target terminal respectively so that the client establishes connection with the target proxy server based on the network port address and the target terminal establishes connection with the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
The processing component 1202 may include one or more processors executing computer instructions to perform all or part of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1201 is configured to store various types of data to support operations at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the electronic device may of course also comprise other components, such as input/output interfaces, communication components, etc.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the control method of the embodiment shown in fig. 5 may be implemented.
Fig. 13 is a schematic structural diagram of another embodiment of a control device provided in the present application, where the control device may be configured in a terminal as shown in fig. 1, and may include:
a configuration receiving module 1301, configured to receive a network port address of the target proxy server fed back by the web server;
a third connection establishing module 1302, configured to establish a connection with the target proxy server based on the network port address, so that the target proxy server establishes a port mapping relationship between a debugging port address of a terminal and the network port address, and after establishing a connection with a client based on the network port address, establishes a network channel between the client and the terminal based on the port mapping relationship, so that the client performs remote control on the terminal through the network channel.
The control device shown in fig. 13 may execute the control method described in the embodiment shown in fig. 6, and the implementation principle and the technical effect are not described again. The specific manner in which each module and unit of the control device in the above embodiments perform operations has been described in detail in the embodiments related to the method, and will not be elaborated herein.
In one possible design, the control apparatus shown in fig. 13 may be implemented as the terminal shown in fig. 1, as shown in fig. 14, and the present application embodiment further provides a terminal, which may include a storage component 1401 and a processing component 1402;
the storage component 1401 stores one or more computer instructions, wherein the one or more computer instructions are invoked for execution by the processing component 1402.
The processing component 1402 is configured to:
receiving a network port address of a target proxy server fed back by a web server;
and after the connection between the network port address and a client is established, a network channel between the client and the terminal is established based on the port mapping relation, so that the client can remotely control the terminal through the network channel.
Among other things, the processing component 1402 may include one or more processors to execute computer instructions to perform all or some of the steps of the methods described above. Of course, the processing elements may also be implemented as one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components configured to perform the above-described methods.
The storage component 1401 is configured to store various types of data to support the operation at the terminal. The memory components may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Of course, the electronic device may of course also comprise other components, such as input/output interfaces, communication components, etc.
An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a computer, the control method of the embodiment shown in fig. 6 may be implemented.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (24)

1. A control system is characterized by comprising at least one proxy server, a web server, at least one terminal and a client;
the client is used for responding to the selection operation of the at least one terminal, determining a selected target terminal and sending a control request to the web server;
the web server is used for distributing a target proxy server and the network port address of the target proxy based on the control request; feeding back the network port address to the target terminal and the client;
the target proxy server is used for respectively establishing connection with the target terminal and the client based on the network port address; determining a debugging port address of the target terminal, and establishing a port mapping relation between the debugging port address and the network port address; establishing a network channel between the client and the target terminal based on the port mapping relation;
and the client is used for remotely controlling the target terminal through the network channel.
2. The system of claim 1, wherein the target terminal is specifically configured to send a first connection request to the target proxy server; the first connection request comprises the network port address and the debugging port address;
and the target proxy server establishes socket connection with the target terminal based on the network port address and the debugging port address.
3. The system of claim 1, wherein the client remotely controlling the target terminal through the network channel comprises:
acquiring screen information of the target terminal through the network channel;
displaying the screen information;
detecting a screen operation event aiming at the screen information, and generating a corresponding control instruction;
and sending the control instruction to the target terminal through the network channel so that the target terminal can execute the control instruction to realize corresponding control.
4. A control method, comprising:
the client responds to the selection operation aiming at least one terminal, and determines a selected target terminal;
sending a control request to the web server to enable the web server to distribute a target proxy server and a network port address thereof;
receiving a network port address of a target proxy server fed back by the web server;
establishing a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
and remotely controlling the target terminal through the network channel.
5. The method of claim 4, wherein the remotely controlling the target terminal through the network channel comprises:
acquiring screen information of the target terminal through the network channel;
displaying the screen information;
detecting a screen operation event aiming at the screen information, and generating a corresponding control instruction;
and sending the control instruction to the target terminal through the network channel so that the target terminal can execute the control instruction to realize corresponding control.
6. The method according to claim 5, wherein the obtaining the screen information of the target terminal through the network channel comprises:
receiving screen information sent by the target terminal and forwarded by the target proxy server based on the port mapping relation;
and displaying the screen information.
7. The method of claim 5, wherein the sending the control instruction to the target terminal through the network channel comprises:
and sending the control instruction to the target proxy server, so that the proxy server forwards the control instruction to the target terminal based on the port mapping relation.
8. A control method, comprising:
the target proxy server establishes connection with the client and the target terminal respectively based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
determining a debugging port address of the target terminal;
establishing a port mapping relation between the debugging port address and the network port address;
establishing a network channel between the client and the target terminal according to the port mapping relation;
and the network channel is used for the client to realize the remote control of the target terminal.
9. The method of claim 8, wherein establishing connections with the client and the target terminal respectively based on the network port addresses comprises:
receiving a first connection request sent by the target terminal based on the network port address, and establishing socket connection with the target terminal; the first connection request is sent after the target terminal receives a network port address issued by the web server;
receiving a second connection request sent by the client based on the network port address, and establishing socket connection with the client; and the second connection request is sent after the client receives a network port address sent by the web server.
10. The method of claim 8, further comprising:
receiving screen information sent by the target terminal;
and forwarding the screen information to the client according to the port mapping relation so that the client can display the screen information.
11. The method of claim 10, further comprising:
receiving a control instruction sent by the client; wherein the control instruction is generated by the client detecting a screen operation event aiming at the screen information;
and forwarding the control instruction to the target terminal according to the port mapping relation so that the target terminal can execute the control instruction.
12. A control method, comprising:
the method comprises the steps that a web server receives a control request aiming at a target terminal, which is sent by a client;
allocating a target proxy server and a network port address of the target proxy server;
feeding the network port address back to the client and the target terminal respectively so that the client establishes connection with the target proxy server based on the network port address and the target terminal establishes connection with the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
13. The method of claim 12, further comprising:
and sending a cancel instruction to the target terminal so that the target terminal can be disconnected from the target proxy server.
14. A control method, comprising:
the target terminal receives the network port address of the target proxy server fed back by the web server;
and after the connection between the network port address and a client is established, a network channel between the client and the target terminal is established based on the port mapping relation, so that the client can remotely control the target terminal through the network channel.
15. The method of claim 14, further comprising:
sending screen information to a target proxy server for the target proxy server to forward to the client based on the port mapping relation;
receiving a control instruction forwarded by the target proxy server; the control instruction is generated by detecting a screen operation event aiming at the screen information and is sent to the target proxy server;
and executing the control instruction to realize corresponding control operation.
16. The method of claim 14, further comprising:
and receiving a canceling instruction sent by the web server, and disconnecting the canceling instruction from the target proxy server.
17. A control device, comprising:
a terminal determination module for determining a selected target terminal in response to a selection operation for at least one terminal;
the control request module is used for sending a control request to the web server so that the web server can distribute a target proxy server and a network port address thereof;
the address receiving module is used for receiving the network port address of the target proxy server fed back by the web server;
a first connection establishing module, configured to establish a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
and the remote control module is used for remotely controlling the target terminal through the network channel.
18. A control device, comprising:
the second connection establishing module is used for respectively establishing connection with the client and the target terminal based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
the address determination module is used for determining the debugging port address of the target terminal;
the port mapping module is used for establishing a port mapping relation between the debugging port address and the network port address;
the channel establishing module is used for establishing a network channel between the client and the target terminal according to the port mapping relation;
and the network channel is used for the client to realize the remote control of the target terminal.
19. A control device, comprising:
the request receiving module is used for receiving a control request aiming at a target terminal and sent by a client;
the port distribution module is used for distributing a target proxy server and a network port address of the target proxy server;
the configuration issuing module is used for respectively feeding back the network port address to the client and the target terminal so as to establish connection between the client and the target proxy server based on the network port address and establish connection between the target terminal and the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
20. A control device, comprising:
the configuration receiving module is used for receiving the network port address of the target proxy server fed back by the web server;
and the third connection establishing module is used for establishing connection with the target proxy server based on the network port address so that the target proxy server establishes a port mapping relation between a debugging port address of the terminal and the network port address, and after establishing connection with a client based on the network port address, a network channel between the client and the terminal is established based on the port mapping relation so that the client can remotely control the terminal through the network channel.
21. An electronic device comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
in response to a selection operation for at least one terminal, determining a selected target terminal;
sending a control request to the web server to enable the web server to distribute a target proxy server and a network port address thereof;
receiving a network port address of a target proxy server fed back by the web server;
establishing a connection with the target proxy server based on the network port address; the target proxy server is used for establishing a network channel between the client and the target terminal based on a port mapping relation between the network port address and a debugging port address of the target terminal;
and remotely controlling the target terminal through the network channel.
22. A proxy server, comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
establishing connection with the client and the target terminal respectively based on the network port address; the network port address is distributed by the web server in response to a control request sent by a client terminal aiming at the target terminal;
determining a debugging port address of the target terminal;
establishing a port mapping relation between the debugging port address and the network port address;
establishing a network channel between the client and the target terminal according to the port mapping relation;
and the network channel is used for the client to realize the remote control of the target terminal.
23. A web server comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving a control request aiming at a target terminal sent by a client;
allocating a target proxy server and a network port address of the target proxy server;
feeding the network port address back to the client and the target terminal respectively so that the client establishes connection with the target proxy server based on the network port address and the target terminal establishes connection with the target proxy server based on the network port address; the target proxy server is used for establishing a port mapping relation between the network port address and the debugging port address of the target terminal, and establishing a network channel between the client and the target terminal through the port mapping relation.
24. A terminal, comprising a processing component and a storage component;
the storage component stores one or more computer instructions; the one or more computer instructions to be invoked for execution by the processing component;
the processing component is to:
receiving a network port address of a target proxy server fed back by a web server;
and after the connection between the network port address and a client is established, a network channel between the client and the terminal is established based on the port mapping relation, so that the client can remotely control the terminal through the network channel.
CN201910153056.3A 2019-02-28 2019-02-28 Control method, device and system Pending CN111629016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910153056.3A CN111629016A (en) 2019-02-28 2019-02-28 Control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910153056.3A CN111629016A (en) 2019-02-28 2019-02-28 Control method, device and system

Publications (1)

Publication Number Publication Date
CN111629016A true CN111629016A (en) 2020-09-04

Family

ID=72273145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910153056.3A Pending CN111629016A (en) 2019-02-28 2019-02-28 Control method, device and system

Country Status (1)

Country Link
CN (1) CN111629016A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437161A (en) * 2020-11-27 2021-03-02 北京达佳互联信息技术有限公司 Network agent control method, device and computer readable storage medium
CN112449023A (en) * 2020-10-29 2021-03-05 广州彩熠灯光股份有限公司 Intelligent configuration method, system, controller and medium for network decoder
CN113660419A (en) * 2021-08-12 2021-11-16 北京智芯原动科技有限公司 Parking area remote debugging system
CN115514750A (en) * 2021-06-21 2022-12-23 北京字节跳动网络技术有限公司 Electronic device remote control method, server, system, medium, and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610320A (en) * 2003-06-06 2005-04-27 微软公司 Architecture of connecting remote customer to local customer desk
CN103685467A (en) * 2013-11-15 2014-03-26 伏治军 Interconnection and internetworking platform of Internet of things, and communication method thereof
CN107463499A (en) * 2017-08-08 2017-12-12 百度在线网络技术(北京)有限公司 The long-range connection methods of ADB, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610320A (en) * 2003-06-06 2005-04-27 微软公司 Architecture of connecting remote customer to local customer desk
CN103685467A (en) * 2013-11-15 2014-03-26 伏治军 Interconnection and internetworking platform of Internet of things, and communication method thereof
CN107463499A (en) * 2017-08-08 2017-12-12 百度在线网络技术(北京)有限公司 The long-range connection methods of ADB, device, equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112449023A (en) * 2020-10-29 2021-03-05 广州彩熠灯光股份有限公司 Intelligent configuration method, system, controller and medium for network decoder
CN112449023B (en) * 2020-10-29 2023-01-10 广州彩熠灯光股份有限公司 Intelligent configuration method, system, controller and medium for network decoder
CN112437161A (en) * 2020-11-27 2021-03-02 北京达佳互联信息技术有限公司 Network agent control method, device and computer readable storage medium
CN112437161B (en) * 2020-11-27 2024-04-30 北京达佳互联信息技术有限公司 Network proxy control method, device and computer readable storage medium
CN115514750A (en) * 2021-06-21 2022-12-23 北京字节跳动网络技术有限公司 Electronic device remote control method, server, system, medium, and device
CN113660419A (en) * 2021-08-12 2021-11-16 北京智芯原动科技有限公司 Parking area remote debugging system

Similar Documents

Publication Publication Date Title
CN111629016A (en) Control method, device and system
CN106572139B (en) Multi-terminal control method, terminal, server and system
CN112838952B (en) Data transmission method of baseboard management controller, BMC, server and medium
US10863312B2 (en) Moving track sharing method and apparatus, and storage medium
CN111625810B (en) Equipment login method, equipment and system
US20230161541A1 (en) Screen projection method and system
CN105516261A (en) Web page loading control method and load balancer
CN110933170A (en) Multi-device linkage control method and device of ZigBee gateway and storage medium
US20160100025A1 (en) Ui framework support for portal systems
CN113799135A (en) Robot control method, system, server, storage medium and mechanical arm
CN102802041B (en) Implement method for intelligent streaming media server supporting a plurality of real-time dynamic data sources
KR101857020B1 (en) Apparatas and method for managing service of providing server in a terminal
CN101707622A (en) Method for realizing remote data monitoring
CN116633991B (en) User interface display control method and system for remote scene
KR102114374B1 (en) Cloud-based device for processing data, and user device
CN112800604B (en) Simulation method, device, equipment and storage medium applied to industrial detection
KR101591061B1 (en) Library Apparatus for Real-time Processing and Transmitting/Receiving Method thereof
CN115309545A (en) Access processing method and computer equipment
CN104468645A (en) Control method, electronic equipment, and information transmission method and device
CN104516883A (en) Webpage sharing method, device and system
EP3236635A1 (en) Data communication method and device
KR102198799B1 (en) Conferencing apparatus and method for sharing content thereof
EP2739007A1 (en) System and method for implementing multiple network resource sharing on standalone machine
CN103458011A (en) Network interface controller binding method of multi-NIC computers in remote control
CN104065682B (en) Data transmission method

Legal Events

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

Application publication date: 20200904