CN107026764B - Remote debugging method, device, server and system - Google Patents

Remote debugging method, device, server and system Download PDF

Info

Publication number
CN107026764B
CN107026764B CN201610072665.2A CN201610072665A CN107026764B CN 107026764 B CN107026764 B CN 107026764B CN 201610072665 A CN201610072665 A CN 201610072665A CN 107026764 B CN107026764 B CN 107026764B
Authority
CN
China
Prior art keywords
data
remote debugging
debugging
adb
preset port
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.)
Active
Application number
CN201610072665.2A
Other languages
Chinese (zh)
Other versions
CN107026764A (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610072665.2A priority Critical patent/CN107026764B/en
Publication of CN107026764A publication Critical patent/CN107026764A/en
Application granted granted Critical
Publication of CN107026764B publication Critical patent/CN107026764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3648Software debugging using additional hardware
    • G06F11/3656Software debugging using additional hardware using a specific debug interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a remote debugging method, which comprises the following steps: after connection with an android mobile terminal is established through a data line, monitoring a first preset port and a second preset port; the first preset port is used for transmitting local data aiming at a local adb client, and the second preset port is used for transmitting remote debugging data aiming at a network adb client; when the fact that the second preset port receives remote debugging data sent by the network side adb client is monitored, the remote debugging data are sent to the android mobile terminal for debugging, and a debugging result is returned to the network side adb client through the second preset port. The invention also discloses remote debugging equipment, a server and a system, and by adopting the remote debugging equipment, the server and the system, the android mobile terminal can be remotely debugged by connecting the USB with the android mobile terminal, and meanwhile, the USB transmission channel can be shared to communicate with the android mobile terminal, so that the remote debugging problem and the using problem of the android mobile terminal caused by using a WIFI communication module are avoided.

Description

Remote debugging method, device, server and system
Technical Field
The invention relates to the field of computer internet, in particular to a remote debugging method, remote debugging equipment, a remote debugging server and a remote debugging system.
Background
Currently, most remote debugging schemes for an Android (Android) mobile terminal (e.g., an Android phone) change a connection mode between the Android mobile terminal and a debugging device (e.g., a personal computer) from a Universal Serial Bus (USB) mode to a Transmission Control Protocol (TCP) mode, such as an adb work structure diagram of the prior art shown in fig. 1, and then connect to an IP or a port of the externally exposed Android mobile terminal in an Android Debug Bridge (adb) connection (connect) mode.
However, when the mobile terminal is connected to the android mobile terminal in a TCP/IP manner, a Wireless Fidelity (WIFI) communication module of the android mobile terminal needs to be used, but in the process of performing an android test on the android mobile terminal, a WIFI module also needs to be used for performing a simulation test in the network aspect, such as changing a network speed and a packet loss rate, so that a remote debugging is affected. Moreover, when a plurality of android mobile terminals are simultaneously accessed into WIFI for large-data-volume transmission, network connection is unstable, transmission speed is high and low, and normal use of functions of the android mobile terminals is affected.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a remote debugging method, a remote debugging device, a remote debugging server and a remote debugging system, which can realize remote debugging of an android mobile terminal and simultaneously avoid the remote debugging problem caused by using a WIFI communication module and the normal use problem of the android mobile terminal in the prior art.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention discloses a remote debugging method, including:
after connection with an android mobile terminal is established through a data line, monitoring a first preset port and a second preset port; the first preset port is used for transmitting local end data aiming at a local end android debug bridge adb client, and the second preset port is used for transmitting remote debug data aiming at a network end adb client;
when the second preset port is monitored to receive remote debugging data sent by a network side adb client, the remote debugging data are sent to the android mobile terminal for debugging, and a debugging result is returned to the network side adb client through the second preset port.
With reference to the first aspect, in a first possible implementation manner, data frame formats of the remote debugging data and the local data include a preset identification field; when monitoring that the second preset port receives remote debugging data sent by a network side adb client, sending the remote debugging data to the android mobile terminal for debugging, the method comprises the following steps:
analyzing the preset identification field of the received data;
when the preset identification field is analyzed to include a first identification used for indicating that the data is remote debugging data, the fact that the second preset port receives the remote debugging data sent by a network side adb client is monitored, and the received data are sent to the android mobile terminal for debugging.
With reference to the first aspect, in a second possible implementation manner, when receiving an adb connection instruction, an a _ CNXN command initiated by the local adb client is intercepted, and an authentication procedure is not performed.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner, a connection is established with at least two android mobile terminals through a data line; the preset identification field comprises a second identification used for indicating the android mobile terminal corresponding to the received data.
The second aspect of the embodiment of the invention discloses a remote debugging method, which comprises the following steps:
the method comprises the steps that a second preset port of first equipment is connected, and remote debugging data of a network-side android debugging bridge adb client side are sent to the first equipment through the second preset port; the first device is connected with the android mobile terminal through a data line, and is provided with a first preset port and a second preset port, wherein the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client;
and receiving a debugging result returned by the first equipment through the second preset port, and sending the debugging result to second equipment, wherein the second equipment runs with the network side adb client.
With reference to the second aspect, in a first possible implementation manner, before connecting a second preset port of the first device and sending remote debugging data of the network-side android debug bridge adb client to the first device through the second preset port, the method includes:
and setting a single service port, and uniformly receiving an adb connection request initiated by the second equipment by monitoring the single service port.
The third aspect of the embodiments of the present invention discloses a remote debugging method, including:
sending the remote debugging data to a server so that the server sends the remote debugging data to first equipment through a second preset port connected with the first equipment;
the first equipment is connected with the android mobile terminal through a data line, the first equipment is provided with a first preset port and a second preset port, the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client.
With reference to the third aspect, in a first possible implementation manner, the sending remote debugging data to a server includes:
inputting a token on a preset user side tool, and sending the token to the server to indicate to initiate a remote debugging request with the android mobile terminal; the tokens correspond to the android mobile terminals one by one, and the user side tool encapsulates adb background operation;
and after the remote debugging connection is established with the android mobile terminal, the remote debugging data is sent to a server.
A fourth aspect of the embodiments of the present invention discloses a remote debugging device, including:
the monitoring module is used for monitoring the first preset port and the second preset port after the connection with the android mobile terminal is established through the data line; the first preset port is used for transmitting local end data aiming at a local end android debug bridge adb client, and the second preset port is used for transmitting remote debug data aiming at a network end adb client;
and the sending module is used for sending the remote debugging data to the android mobile terminal for debugging when monitoring that the second preset port receives the remote debugging data sent by the network side adb client, and returning a debugging result to the network side adb client through the second preset port.
With reference to the fourth aspect, in a first possible implementation manner, the data frame formats of the remote debugging data and the local data include a preset identification field; the sending module comprises:
the analysis unit is used for analyzing the preset identification field of the received data;
and the sending unit is used for indicating that the second preset port receives the remote debugging data sent by the network side adb client when the preset identification field is analyzed to comprise the first identification used for indicating that the data is the remote debugging data, and sending the received data to the android mobile terminal for debugging.
With reference to the fourth aspect, in a second possible implementation manner, the method further includes:
and the intercepting module is used for intercepting an A _ CNXN command initiated by the local adb client when receiving the adb connection instruction, and not executing the authentication process.
With reference to the first possible implementation manner of the fourth aspect, in a third possible implementation manner, the device establishes a connection with at least two android mobile terminals through a data line; the preset identification field comprises a second identification used for indicating the android mobile terminal corresponding to the received data.
The fifth aspect of the embodiments of the present invention discloses a remote debugging server, including:
the connection module is used for connecting a second preset port of the first equipment;
the sending module is used for sending the remote debugging data of the network-side android debugging bridge adb client to the first equipment through the second preset port; the first device is connected with the android mobile terminal through a data line, and is provided with a first preset port and a second preset port, wherein the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client;
the receiving module is used for receiving a debugging result returned by the first equipment through the second preset port;
the sending module is further configured to send the debugging result to a second device, where the second device runs the network adb client.
With reference to the fifth aspect, in a first possible implementation manner, the method further includes:
and the monitoring module is arranged and used for setting a single service port before the connecting module is connected with the second preset port of the first equipment, and uniformly receiving an adb connection request initiated by the second equipment by monitoring the single service port.
A sixth aspect of the embodiments of the present invention discloses a remote debugging device, including:
the remote debugging device comprises a sending module, a processing module and a processing module, wherein the sending module is used for sending remote debugging data to a server so that the server sends the remote debugging data to first equipment through a second preset port connected with the first equipment;
the first equipment is connected with the android mobile terminal through a data line, the first equipment is provided with a first preset port and a second preset port, the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client.
With reference to the sixth aspect, in a first possible implementation manner, the sending module includes:
the input unit is used for inputting a token on a preset user side tool; the tokens correspond to the android mobile terminals one by one, and the user side tool encapsulates adb background operation;
the sending unit is used for sending the token to the server so as to indicate to initiate a remote debugging request with the android mobile terminal; and after the remote debugging connection is established with the android mobile terminal, the remote debugging data is sent to a server.
A seventh aspect of the present invention discloses an event execution system, including a first device, a second device, a server, and an android mobile terminal, where the first device is, for example, a remote debugging device in the fourth aspect, or a first possible implementation manner of the fourth aspect, or a second possible implementation manner of the fourth aspect, or a third possible implementation manner of the fourth aspect; the second device is the remote debugging server in the fifth aspect or the first possible implementation manner of the fifth aspect; the second device is a remote debugging device as in the sixth aspect, or in the first possible implementation manner of the sixth aspect.
An eighth aspect of the present embodiment discloses a computer storage medium, where the computer storage medium stores a program, and the program includes all steps of the remote debugging method in the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect.
A ninth aspect of the present embodiment discloses a computer storage medium, where the computer storage medium stores a program, and the program includes all the steps of the remote debugging method in the second aspect or the first possible implementation manner of the second aspect of the present embodiment when executed.
A tenth aspect of the present embodiment discloses a computer storage medium, where the computer storage medium stores a program, and the program includes all the steps of the remote debugging method in the third aspect or the first possible implementation manner of the third aspect of the present embodiment when executed.
By implementing the embodiment of the invention, the second preset port specially used for transmitting the remote debugging data aiming at the network side adb client is arranged, and when the second preset port is monitored to receive the remote debugging data transmitted by the network side adb client, the remote debugging data is transmitted to the corresponding android mobile terminal for debugging, namely, the remote debugging data and the local common adb data are processed in the same adb service, so that the USB transmission channel can be shared to communicate with the android mobile terminal while the android mobile terminal is connected through the USB for remote debugging, and the remote debugging problem caused by using a WIFI communication module and the normal use problem of the android mobile terminal in the prior art are avoided; moreover, the remote debugging data and the local terminal data are distinguished by analyzing the preset identification field, and an A _ CNXN command initiated by the local terminal adb client is intercepted, so that quick, stable and reliable remote service can be further provided; in addition, the server is provided with a single service port, all adb connection requests initiated by the second equipment are uniformly received by monitoring the single service port, the control capability of remote debugging is greatly improved, adb background operation is encapsulated through a user side tool, a user can complete initiating of a remote debugging request to the android mobile terminal and establishment of remote debugging service only by inputting token, the use threshold of the user is reduced, and the remote debugging is more convenient for the user; in addition, the external IP and the port of the server are not displayed on the android mobile terminal which is debugged remotely, the exposure of the service IP is avoided, the risk is reduced, and the IP connected with the adb is dynamically returned by the server, so that the configurability and the expansibility of the server are further increased.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of a prior art adb operational architecture;
FIG. 2 is a diagram of a remote debugging system architecture provided by an embodiment of the present invention;
fig. 3 is a schematic flowchart of a remote debugging method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a preset identification field according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating another embodiment of a remote debugging method according to the present invention;
fig. 6 is a schematic system architecture diagram of a remote debugging method according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating another embodiment of a remote debugging method according to the present invention;
fig. 8 is a diagram of a debugging interface of a client tool according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a remote debugging device provided in an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a sending module according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of another embodiment of a remote debugging device provided in the present invention;
fig. 12 is a schematic structural diagram of a remote debugging server provided in an embodiment of the present invention;
FIG. 13 is a schematic structural diagram of another embodiment of a remote debugging server provided in the present invention;
fig. 14 is a schematic structural diagram of another embodiment of the remote debugging device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
Each embodiment of the invention can be implemented based on the remote debugging system architecture diagram provided by the embodiment of the invention shown in fig. 2, the android mobile terminal can be connected with the remote debugging equipment at the local end of the android mobile terminal through data lines such as a USB (universal serial bus), the remote debugging equipment at the local end can be connected with the server at the network end through the internet, and the server at the network end is also connected with the remote debugging equipment at the remote end through the internet; the user who has the debugging demand can come to carry out remote debugging to this android mobile terminal through the remote debugging equipment of this far-end, and the remote debugging equipment of this end can be transmitted through the disconnected server of this network to the remote debugging equipment of this end to send by the remote debugging equipment of this end through the data line for this android mobile terminal, in order to establish remote debugging service or carry out remote debugging.
It should be noted that, in each embodiment of the present invention, the remote debugging device includes, but is not limited to, a personal computer, a mobile computer, and the like, and the remote debugging device can run an adb client, that is, the remote debugging device at the remote end runs a network-side adb client, and the remote debugging device at the local end runs a local-side adb client; the android mobile terminal in the embodiment of the present invention includes, but is not limited to, a Personal Digital Assistant (PDA), a media player, an intelligent mobile device (including a mobile phone, a mobile computer, a tablet computer, an intelligent television, an intelligent watch, an intelligent glasses, an intelligent bracelet, and the like), and other terminals or devices running an android operating system.
The following describes in detail a specific implementation of the event execution method according to the present invention with reference to the embodiments of fig. 3 to 8:
as shown in fig. 3, a flowchart of the remote debugging method provided in the embodiment of the present invention is that a technical solution of the remote debugging method is described from a remote debugging device side of a home terminal, and the method includes:
step S300: after connection with an android mobile terminal is established through a data line, monitoring a first preset port and a second preset port;
specifically, the remote debugging device at the local end (near end or local side) of the android mobile terminal can be connected with the android mobile terminal needing remote debugging through data lines such as a USB (universal serial bus), after connection, the remote debugging device at the local end can run an adb client through the local end (local end) and communicate with adb service of the local end (local end) so as to complete user-specified operation, the adb service of the remote debugging device at the local end can manage the android mobile terminal of the connection, and a command initiated by the adb client is transmitted to the android mobile terminal to complete corresponding functions. It can be understood that the local adb client is a client tool running on the local remote debugging device, and the local adb service is a service process running on the local remote debugging device.
In this embodiment of the present invention, the remote debugging device of the home terminal is provided with a first preset port (for example, a 5037 port of the self adb service) and a second preset port (for example, a 5040 port of the self adb service), and the first preset port is configured in advance for transmitting home terminal data of the home terminal adb client, and the second preset port is configured for transmitting remote debugging data of the network terminal adb client; therefore, through setting the second preset port specially used for transmitting the remote debugging data aiming at the network side adb client, the remote debugging data and the local end common adb data are processed in the same adb service, and therefore when the android mobile terminal is connected through the USB for remote debugging, the USB transmission channel can be shared to communicate with the android mobile terminal, so that the remote debugging problem caused by using a WIFI communication module and the normal use problem of the android mobile terminal in the prior art are avoided.
Step S302: when the second preset port is monitored to receive remote debugging data sent by a network side adb client, the remote debugging data are sent to the android mobile terminal for debugging, and a debugging result is returned to the network side adb client through the second preset port.
Specifically, when a user sends remote debugging data to an android mobile terminal through a network side adb client, the remote debugging data is sent to a server of the network side through modes such as a TCP (transmission control protocol) and the like, then the server of the network side sends the remote debugging data to a second preset port of remote debugging equipment of the local side, then adb service of the remote debugging equipment of the local side can monitor that the second preset port receives the remote debugging data sent by the adb client of the network side, the remote debugging data is sent to the android mobile terminal for debugging, a debugging result is returned to the server of the network side through the second preset port in modes such as a TCP and the like, and the server of the network side sends the debugging result to a network side adb client running in the remote debugging equipment of the remote side.
It can be understood that when the adb service of the remote debugging device of the home terminal monitors that the first preset port receives the common data initiated by the home terminal adb client, the common data can be directly sent to the android mobile terminal through the data line.
Further, the data frame formats of the remote debugging data and the local data in the embodiment of the present invention may include a preset identification field; the preset identification field may be used to distinguish the remote debugging data from the local data, and optionally, a data transmission protocol of the adb service and the adb daemon may be as follows:
Figure BDA0000920612960000081
Figure BDA0000920612960000091
then, the preset identification field in the embodiment of the present invention may be a local _ id (local _ id) of 32 bits inside the adb service, and may be a field arg0 in the above protocol, as shown in the schematic structural diagram of the preset identification field provided in the embodiment of the present invention shown in fig. 4, for example, bits 0 to 3 may be a differentiated part of the remote debug data and the non-remote debug data (including the local data, etc.), such as "1111" is negotiated in advance, that is, all 1 indicates that the data is the remote debug data, and non "1111" indicates that the data is not the remote debug data.
It should be noted that the present invention preferably distinguishes remote debugging data from non-remote debugging data by using the first 0 to 3 bits, but is not limited to the first 0 to 3 bits, and may also be the first 0 to 2 bits, 0 to 1 bit, etc., and the present invention is not limited thereto.
In the step S302, when it is monitored that the second preset port receives remote debugging data sent by a network adb client, the remote debugging data is sent to the android mobile terminal for debugging, which may specifically include: analyzing the preset identification field of the received data; when the preset identification field is analyzed to include a first identification used for indicating that the data is remote debugging data, the fact that the second preset port receives the remote debugging data sent by a network side adb client is monitored, and the received data are sent to the android mobile terminal for debugging.
Specifically, the adb service of the remote debugging device at the home terminal monitors a first preset port and a second preset port, after receiving data, analyzes a preset identification field in the data, distinguishes remote debugging data from non-remote debugging data by using bits 0 to 3 in the above embodiments, and negotiates "1111" in advance, that is, all bits are 1, that is, it indicates that the data is the remote debugging data, then when the first 4 bits of the preset identification field of the analyzed received data are "1111", it indicates that the preset identification field includes a first identification ("1111") indicating that the data is the remote debugging data, that the second preset port receives the remote debugging data sent by the network adb client, and thus sends the received data to the android mobile terminal for debugging. It can be understood that when the first 4 bits of the preset identification field of the received data are analyzed to be not "1111", that is, the preset identification field does not include the first identification ("1111") for indicating that the data is remote debugging data, it indicates that the remote debugging data sent by the network side adb client received by the second preset port is not monitored, and if it is further determined that the local side data or the instruction sent by the local side adb client received by the first preset port is received, the received data may be sent to the android mobile terminal, or the android mobile terminal may be operated according to the instruction.
And further, when receiving the adb connection instruction, the remote debugging equipment of the local terminal intercepts an A _ CNXN command initiated by the local terminal adb client and does not execute an authentication process.
Specifically, when the local-end remote debugging device receives an adb connect instruction input by a user, the local-end adb client of the local-end remote debugging device initiates an a _ CNXN command, and then the adb service of the local-end remote debugging device intercepts the a _ CNXN command, that is, the authentication process is skipped, so that the problem that the command channel established by the local USB is disconnected when the adb client sends the a _ CNXN command is avoided, and the user can use the android mobile terminal as long as connecting the android mobile terminal without clicking an authorization window on the android mobile terminal.
Furthermore, the remote debugging equipment at the home terminal can be connected with at least two android mobile terminals through a data line; the preset identification field in the embodiment of the invention comprises a second identification used for indicating the android mobile terminal corresponding to the received data.
Specifically, as shown in the structure of the preset identification field in fig. 4, bits 4 to 11 may be a part for distinguishing android mobile terminals inside the debug channel, that is, 255 android mobile terminals are supported to debug at most simultaneously, that is, the bits 4 to 11 may be combined into the second identification, which may indicate the android mobile terminal to which the received data corresponds. It can be understood that bits 12 to 31 of the structure of the preset identification field can be occupied parts of different commands in an android mobile terminal.
After the technical solution of the remote debugging method is described from the remote debugging device side of the home terminal, the following describes the technical solution of the remote debugging method from the server side of the network terminal in combination with the flowchart of another embodiment of the remote debugging method provided by the present invention shown in fig. 5, and includes:
step S500: the method comprises the steps that a second preset port of first equipment is connected, and remote debugging data of a network-side android debugging bridge adb client side are sent to the first equipment through the second preset port;
specifically, the first device in the embodiment of the present invention is the remote debugging device of the home terminal in the embodiment of fig. 3, that is, the first device establishes a connection with the android mobile terminal through a data line, the first device is provided with a first preset port and a second preset port, the first preset port is used for transmitting home terminal data for the home terminal adb client, and the second preset port is used for transmitting remote debugging data for the network terminal adb client; the server of the network end is connected with a second preset port of the first device, when a user sends remote debugging data to the android mobile terminal through the network end adb client, the remote debugging data are sent to the server of the network end in a TCP mode and the like, and then the server of the network end sends the remote debugging data of the network end android debugging bridge adb client to the first device through the second preset port.
Step S502: and receiving a debugging result returned by the first equipment through the second preset port, and sending the debugging result to the second equipment.
Specifically, after the android mobile terminal completes the debugging, the adb service of the first device returns a debugging result to the server of the network end through the second preset port, and the server of the network end sends the debugging result to the second device, wherein the adb client of the network end runs on the second device. The second device in the embodiment of the present invention is the remote debugging device in the embodiment of fig. 3.
Further, before the step S500, the method may further include: and setting a single service port, and uniformly receiving an adb connection request initiated by the second equipment by monitoring the single service port.
Specifically, by setting a single service port (e.g. 10000), the server at the network end can receive connection requests of all users by monitoring the unique port, that is, as shown in the schematic diagram of the system architecture of the remote debugging method provided in the embodiment of the present invention shown in fig. 6, the server at the network end also unifies adb services on the remote debugging devices at multiple local ends and corresponding android mobile terminals, connects the debugging ports of the adb services on the remote debugging devices at the local ends where the android mobile terminals to be remotely debugged are located, sets serial numbers (equivalent to the second identifiers in the above embodiments) of the android mobile terminals at the same time, and then communicates with the remote debugging devices at the remote ends through the single service port, thereby greatly improving the management and control capability of remote debugging of the server.
In order to better understand the technical solution of the remote debugging method of the present invention, the following description is made with reference to a local remote debugging device, a remote debugging device, a server, and an android mobile terminal, and as shown in fig. 7, a flowchart of another embodiment of the remote debugging method provided by the present invention includes:
step S700: remote debugging equipment at a remote end sends remote debugging data to a server;
specifically, the remote debugging device may be preset (or configured and installed) with a user side tool, such as a user side tool like Eclipse, and the user side tool may encapsulate all adb background operations in advance, that is, the user may use the remote debugging service without knowing the adb, thereby reducing the user usage threshold; a user can input a token on the preset user side tool, the token is a unique token which is dynamically generated in advance by a server to identify current connection, the tokens correspond to the android mobile terminal one by one, and the user side tool sends the token to the server to indicate to initiate a remote debugging request with the android mobile terminal; and then the remote debugging equipment at the far end sends the remote debugging data to the server after establishing remote debugging connection with the android mobile terminal.
Step S702: the server is connected with a second preset port of the remote debugging equipment of the home terminal, and the remote debugging data of the android debugging bridge adb client of the network terminal is sent to the remote debugging equipment of the home terminal through the second preset port;
step S704: the remote debugging equipment of the local terminal monitors that the second preset port receives remote debugging data sent by a network terminal adb client, and sends the remote debugging data to the android mobile terminal for debugging;
step S706: after the android mobile terminal is debugged, returning a debugging result to the remote debugging equipment of the local terminal;
step S708: the remote debugging equipment of the home terminal returns a debugging result to the network terminal adb client through the second preset port;
step S710: and after receiving the debugging result, the server sends the debugging result to the remote debugging equipment at the remote end.
Specifically, as shown in fig. 8, a debugging interface diagram of a client tool provided in the embodiment of the present invention is shown, and fig. 8 is described by taking client tool Eclipse as an example.
By implementing the embodiment of the invention, the second preset port specially used for transmitting the remote debugging data aiming at the network side adb client is arranged, and when the second preset port is monitored to receive the remote debugging data transmitted by the network side adb client, the remote debugging data is transmitted to the corresponding android mobile terminal for debugging, namely, the remote debugging data and the local common adb data are processed in the same adb service, so that the USB transmission channel can be shared to communicate with the android mobile terminal while the android mobile terminal is connected through the USB for remote debugging, and the remote debugging problem caused by using a WIFI communication module and the normal use problem of the android mobile terminal in the prior art are avoided; moreover, the remote debugging data and the local terminal data are distinguished by analyzing the preset identification field, and an A _ CNXN command initiated by the local terminal adb client is intercepted, so that quick, stable and reliable remote service can be further provided; in addition, the server is provided with a single service port, all adb connection requests initiated by the second equipment are uniformly received by monitoring the single service port, the control capability of remote debugging is greatly improved, adb background operation is encapsulated through a user side tool, a user can complete initiating of a remote debugging request to the android mobile terminal and establishment of remote debugging service only by inputting token, the use threshold of the user is reduced, and the remote debugging is more convenient for the user; in addition, the external IP and the port of the server are not displayed on the android mobile terminal which is debugged remotely, the exposure of the service IP is avoided, the risk is reduced, and the IP connected with the adb is dynamically returned by the server, so that the configurability and the expansibility of the server are further increased.
In order to better implement the above solution of the embodiment of the present invention, the present invention further provides a remote debugging device, and as shown in fig. 9, the remote debugging device 90 may include: a listening module 900 and a sending module 902, wherein
The monitoring module 900 is configured to monitor a first preset port and a second preset port after establishing a connection with the android mobile terminal through a data line; the first preset port is used for transmitting local end data aiming at a local end android debug bridge adb client, and the second preset port is used for transmitting remote debug data aiming at a network end adb client;
the sending module 902 is configured to send the remote debugging data to the android mobile terminal for debugging when it is monitored that the second preset port receives the remote debugging data sent by the network adb client, and return a debugging result to the network adb client through the second preset port.
Specifically, the data frame formats of the remote debugging data and the local data include a preset identification field; as shown in fig. 10, which is a schematic structural diagram of a sending module according to an embodiment of the present invention, the sending module 902 may include: parsing a single 9020 and sending a single 9022, wherein,
the parsing unit 9020 is configured to parse the preset identifier field of the received data;
the sending unit 9022 is configured to, when it is analyzed that the preset identifier field includes a first identifier used for indicating that the data is remote debugging data, indicate that the remote debugging data sent by the network side adb client is received by monitoring the second preset port, and send the received data to the android mobile terminal for debugging.
Further, as shown in fig. 11, in a schematic structural diagram of another embodiment of the remote debugging device provided by the present invention, the remote debugging device 90 includes a monitoring module 900, a sending module 902, and may further include an intercepting module 904, configured to intercept an a _ CNXN command initiated by the local adb client when receiving an adb connection instruction, and not perform an authentication procedure.
Furthermore, the remote debugging device 90 establishes connection with at least two android mobile terminals through a data line; the preset identification field comprises a second identification used for indicating the android mobile terminal corresponding to the received data.
It should be noted that the remote debugging device 90 in the embodiment of the present invention includes, but is not limited to, a personal computer, a mobile computer, and the like, where the remote debugging device 90 is a local remote debugging device in the above embodiment of the method, and functions of each functional module of the remote debugging device 90 may be specifically implemented according to the method in the above embodiment of the method, and a specific implementation process of the method may refer to relevant descriptions of the above embodiment of the method, and is not described herein again.
As shown in fig. 12, which is a schematic structural diagram of a remote debugging server provided in an embodiment of the present invention, the remote debugging server 120 may include: a connection module 1200, a transmission module 1202, and a reception module 1204, wherein,
the connection module 1200 is configured to connect to a second preset port of the first device;
the sending module 1202 is configured to send the remote debugging data of the network-side android debugging bridge adb client to the first device through the second preset port; the first device is connected with the android mobile terminal through a data line, and is provided with a first preset port and a second preset port, wherein the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client;
the receiving module 1204 is configured to receive a debugging result returned by the first device through the second preset port;
the sending module 1202 is further configured to send the debugging result to a second device, where the second device runs the network adb client.
Specifically, as shown in fig. 13, which is a schematic structural diagram of another embodiment of the remote debugging server provided by the present invention, the remote debugging server 120 includes a connection module 1200, a sending module 1202 and a receiving module 1204, and may further include a monitoring module 1206, configured to set a single service port before the connection module 1200 connects to the second preset port of the first device, and uniformly receive the adb connection request initiated by the second device by monitoring the single service port.
It should be noted that, the remote debugging server 120 in the embodiment of the present invention is a server at a network end in the above method embodiment, and functions of each functional module of the remote debugging server 120 may be specifically implemented according to the method in the above method embodiment, and a specific implementation process of the function module may refer to related description of the above method embodiment, which is not described herein again.
As shown in fig. 14, which is a schematic structural diagram of another embodiment of the remote debugging device provided by the present invention, the remote debugging device 140 may include a sending module 1400, configured to send remote debugging data to a server, so that the server sends the remote debugging data to a first device through a second preset port connected to the first device;
the first device is connected with the android mobile terminal through a data line, and is provided with a first preset port and a second preset port, the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client.
The transmitting module 1400 may include an input unit 14000 and a transmitting unit 14002, wherein,
the input unit 14000 is used for inputting a token on a preset user side tool; the token corresponds to the android mobile terminal one by one, and the user side tool encapsulates the adb background operation;
the sending unit 14002 is configured to send the token to the server to indicate to initiate a remote debugging request with the android mobile terminal; and after the remote debugging connection is established with the android mobile terminal, the remote debugging data is sent to the server.
It should be noted that the remote debugging device 140 in the embodiment of the present invention includes, but is not limited to, a personal computer, a mobile computer, and the like, where the remote debugging device 140 is a remote debugging device in the above embodiment of the method, and the functions of each functional module of the remote debugging device 140 may be specifically implemented according to the method in the above embodiment of the method, and the specific implementation process may refer to the description related to the above embodiment of the method, and is not described here again.
Still further, the present invention also provides a remote debugging system, including a first device, a second device, a server and an android mobile terminal, where the first device is a remote debugging device at the local end in fig. 2, and a remote debugging device 90 in the embodiments of fig. 9 to 11; the server is the server on the network side in fig. 3, and the remote debugging server 120 in the embodiment of fig. 12 to 13; this second device is the remote debugging device at the far end in fig. 2, and the remote debugging device 140 in the embodiment of fig. 14. How the remote debugging system realizes remote debugging is not described herein.
In summary, by implementing the embodiment of the present invention, by setting the second preset port specially used for transmitting the remote debugging data for the network side adb client, and sending the remote debugging data to the corresponding android mobile terminal for debugging when monitoring that the second preset port receives the remote debugging data sent by the network side adb client, it is realized that the remote debugging data and the local side common adb data are processed in the same adb service, so that the USB transmission channel can be shared to communicate with the android mobile terminal while the android mobile terminal is connected for remote debugging through the USB, thereby avoiding the remote debugging problem caused by using the WIFI communication module and the normal use problem of the android mobile terminal in the prior art; moreover, the remote debugging data and the local terminal data are distinguished by analyzing the preset identification field, and an A _ CNXN command initiated by the local terminal adb client is intercepted, so that quick, stable and reliable remote service can be further provided; in addition, the server is provided with a single service port, all adb connection requests initiated by the second equipment are uniformly received by monitoring the single service port, the control capability of remote debugging is greatly improved, adb background operation is encapsulated through a user side tool, a user can complete initiating of a remote debugging request to the android mobile terminal and establishment of remote debugging service only by inputting token, the use threshold of the user is reduced, and the remote debugging is more convenient for the user; in addition, the external IP and the port of the server are not displayed on the android mobile terminal which is debugged remotely, the exposure of the service IP is avoided, the risk is reduced, and the IP connected with the adb is dynamically returned by the server, so that the configurability and the expansibility of the server are further increased.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (18)

1. A remote debugging method is characterized by comprising the following steps:
after the remote debugging equipment of the home terminal is connected with the android mobile terminal of the home terminal through a data line, monitoring a first preset port and a second preset port; the first preset port is used for transmitting local end data aiming at a local end android debug bridge adb client, and the second preset port is used for transmitting remote debug data aiming at a network end adb client;
when the adb service of the remote debugging equipment of the home terminal monitors that the second preset port receives remote debugging data sent by an adb client of a network terminal, the remote debugging equipment of the home terminal sends the remote debugging data to an android mobile terminal of the home terminal through the data line for debugging, and returns a debugging result to the adb client of the network terminal through the second preset port;
and when the adb service of the remote debugging equipment of the local terminal monitors that the first preset port receives local terminal data initiated by the local terminal adb client, the local terminal data is sent to the android mobile terminal of the local terminal through the data line.
2. The method of claim 1, wherein the data frame format of the remote debugging data and the local data comprises a preset identification field; when the adb service of the remote debugging device of the local terminal monitors that the second preset port receives the remote debugging data sent by the network terminal adb client, the remote debugging device of the local terminal sends the remote debugging data to the data line to the android mobile terminal of the local terminal for debugging, including:
analyzing the preset identification field of the received data;
when the preset identification field is analyzed to include a first identification used for indicating that the data is remote debugging data, it is indicated that the second preset port is monitored to receive the remote debugging data sent by the network adb client, and the remote debugging equipment of the home terminal sends the received data to the android mobile terminal of the home terminal for debugging through the data line.
3. The method of claim 1, wherein when receiving an adb connection command, intercepting an a _ CNXN command initiated by the home adb client, and not performing an authentication procedure.
4. The method of claim 2, wherein a connection is established with at least two android mobile terminals through a data line; the preset identification field comprises a second identification used for indicating the android mobile terminal corresponding to the received data.
5. A remote debugging method is characterized by comprising the following steps:
the method comprises the steps that a server of a network end is connected with a second preset port of first equipment, and remote debugging data of an android debugging bridge adb client of the network end are sent to the first equipment through the second preset port; the first device is connected with the android mobile terminal through a data line, and is provided with a first preset port and a second preset port, wherein the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client;
and receiving a debugging result returned by the first equipment through the second preset port, and sending the debugging result to second equipment, wherein the second equipment runs with the network side adb client.
6. The method of claim 5, wherein before connecting the second preset port of the first device and sending the remote debugging data of the network-side android debugging bridge adb client to the first device through the second preset port, the method comprises:
and setting a single service port, and uniformly receiving an adb connection request initiated by the second equipment by monitoring the single service port.
7. A remote debugging method is characterized by comprising the following steps:
remote debugging equipment at a remote end sends remote debugging data to a server so that the server sends the remote debugging data to first equipment through a second preset port connected with the first equipment;
the first device is connected with the android mobile terminal through a data line, and is provided with a first preset port and a second preset port, wherein the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client; when the adb service of the first device monitors that the second preset port receives remote debugging data sent by a network side adb client, the first device sends the remote debugging data to the android mobile terminal of the local terminal through the data line for debugging, and returns a debugging result to the network side adb client through the second preset port; and when the adb service of the first device monitors that the first preset port receives the home terminal data initiated by the home terminal adb client, sending the home terminal data to the android mobile terminal of the home terminal through the data line.
8. The method of claim 7, wherein sending remote debug data to a server comprises:
inputting a token on a preset user side tool, and sending the token to the server to indicate to initiate a remote debugging request with the android mobile terminal; the tokens correspond to the android mobile terminals one by one, and the user side tool encapsulates adb background operation;
and after the remote debugging connection is established with the android mobile terminal, the remote debugging data is sent to a server.
9. The remote debugging device is characterized in that the remote debugging device is a local remote debugging device and comprises:
the monitoring module is used for monitoring a first preset port and a second preset port after establishing connection with an android mobile terminal of the local terminal through a data line; the first preset port is used for transmitting local end data aiming at a local end android debug bridge adb client, and the second preset port is used for transmitting remote debug data aiming at a network end adb client;
the sending module is used for sending the remote debugging data to the android mobile terminal for debugging through the data line when the adb service of the remote debugging equipment of the local terminal monitors that the second preset port receives the remote debugging data sent by the network terminal adb client, and returning a debugging result to the network terminal adb client through the second preset port; and when the adb service of the remote debugging equipment of the local terminal monitors that the first preset port receives local terminal data initiated by the local terminal adb client, the local terminal data is sent to the android mobile terminal of the local terminal through the data line.
10. The device of claim 9, wherein a data frame format of the remote debugging data and the local data comprises a preset identification field; the sending module comprises:
the analysis unit is used for analyzing the preset identification field of the received data;
and the sending unit is used for indicating that the second preset port receives the remote debugging data sent by the network side adb client when the preset identification field is analyzed to comprise the first identification used for indicating that the data is the remote debugging data, and sending the received data to the android mobile terminal for debugging.
11. The apparatus of claim 9, further comprising:
and the intercepting module is used for intercepting an A _ CNXN command initiated by the local adb client when receiving the adb connection instruction, and not executing the authentication process.
12. The device of claim 10, wherein the device establishes a connection with at least two android mobile terminals over a data line; the preset identification field comprises a second identification used for indicating the android mobile terminal corresponding to the received data.
13. A remote debugging server, comprising:
the connection module is used for connecting a second preset port of the first equipment;
the sending module is used for sending the remote debugging data of the network-side android debugging bridge adb client to the first equipment through the second preset port; the first device is connected with the android mobile terminal through a data line, and is provided with a first preset port and a second preset port, wherein the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client;
the receiving module is used for receiving a debugging result returned by the first equipment through the second preset port;
the sending module is further configured to send the debugging result to a second device, where the second device runs the network adb client.
14. The server of claim 13, further comprising:
and the monitoring module is arranged and used for setting a single service port before the connecting module is connected with the second preset port of the first equipment, and uniformly receiving an adb connection request initiated by the second equipment by monitoring the single service port.
15. A remote debugging device, wherein the remote debugging device is a remote debugging device, comprising:
the remote debugging device comprises a sending module, a processing module and a processing module, wherein the sending module is used for sending remote debugging data to a server so that the server sends the remote debugging data to first equipment through a second preset port connected with the first equipment;
the first equipment is connected with the android mobile terminal through a data line, the first equipment is provided with a first preset port and a second preset port, the first preset port is used for transmitting local end data of a local end adb client, and the second preset port is used for transmitting remote debugging data of a network end adb client.
16. The device of claim 15, wherein the sending module comprises:
the input unit is used for inputting a token on a preset user side tool; the tokens correspond to the android mobile terminals one by one, and the user side tool encapsulates adb background operation;
the sending unit is used for sending the token to the server so as to indicate to initiate a remote debugging request with the android mobile terminal; and after the remote debugging connection is established with the android mobile terminal, the remote debugging data is sent to a server.
17. A remote debugging system is characterized by comprising a first device, a second device, a server and an android mobile terminal, wherein,
the first device is a device according to any one of claims 9-12; the server is a remote debugging server according to claim 13 or 14; the second device is a device as claimed in claim 15 or 16.
18. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to carry out the method according to any one of claims 1-8.
CN201610072665.2A 2016-02-02 2016-02-02 Remote debugging method, device, server and system Active CN107026764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610072665.2A CN107026764B (en) 2016-02-02 2016-02-02 Remote debugging method, device, server and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610072665.2A CN107026764B (en) 2016-02-02 2016-02-02 Remote debugging method, device, server and system

Publications (2)

Publication Number Publication Date
CN107026764A CN107026764A (en) 2017-08-08
CN107026764B true CN107026764B (en) 2020-01-14

Family

ID=59524594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610072665.2A Active CN107026764B (en) 2016-02-02 2016-02-02 Remote debugging method, device, server and system

Country Status (1)

Country Link
CN (1) CN107026764B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107590036A (en) * 2017-08-11 2018-01-16 北京奇虎科技有限公司 Remote debugging method, server and the system of Android device
CN109413010B (en) * 2017-08-18 2021-01-05 深圳兆日科技股份有限公司 Terminal authentication method, device and system
CN107734042B (en) * 2017-10-24 2023-12-26 上海电器科学研究所(集团)有限公司 Low-cost remote debugging system and method
CN108845946B (en) * 2018-06-29 2022-02-08 上海商米科技集团股份有限公司 Terminal, debugging system and terminal debugging method
CN110752963B (en) * 2018-07-24 2022-02-22 腾讯科技(深圳)有限公司 Event processing method and device, storage medium and electronic device
CN109189629B (en) * 2018-08-14 2022-04-12 福建天泉教育科技有限公司 Method for realizing terminal remote control based on USB device and storage medium
CN109388562A (en) * 2018-09-21 2019-02-26 北京辰森世纪科技股份有限公司 Debug method and device, the system, storage medium, electronic device of pos machine
CN111092780A (en) * 2018-10-23 2020-05-01 山东华软金盾软件股份有限公司 Method and system for dynamically debugging android system
CN109831496B (en) * 2019-01-22 2021-06-15 卢建超 Terminal data debugging method
CN110086889B (en) * 2019-05-16 2022-02-18 北京字节跳动网络技术有限公司 Terminal device debugging method and device
CN110830326A (en) * 2019-11-08 2020-02-21 国网四川省电力公司雅安供电公司 Portable computer lab network equipment remote debugging system
CN110995815B (en) * 2019-11-27 2022-08-05 大连民族大学 Information transmission method based on Gaia big data analysis system
CN111723042B (en) * 2020-07-02 2022-05-10 宏远智控科技(北京)有限公司 Remote high-speed USB transparent transmission method, device and equipment
CN112491970B (en) * 2020-11-09 2022-06-21 山东星宏电讯有限责任公司 Remote debugging end deployment method based on virtual network link
CN116132490A (en) * 2023-01-13 2023-05-16 支付宝(杭州)信息技术有限公司 Remote debugging method and device of equipment and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902358A (en) * 2014-03-18 2014-07-02 北京领通科技有限公司 Mobile terminal remote debugging method and system and mobile terminal
CN104967585A (en) * 2014-04-15 2015-10-07 腾讯科技(深圳)有限公司 Method for remote debugging of mobile terminal and apparatus thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101027971B1 (en) * 2010-12-10 2011-04-13 (주)헬릭스테크 Mobile communication terminal capable of testing application and method thereof
CN103902900A (en) * 2013-05-03 2014-07-02 哈尔滨安天科技股份有限公司 External extraction type detecting device and method for mobile terminal malicious code
CN103279706B (en) * 2013-06-07 2016-06-22 北京奇虎科技有限公司 Intercept the method and apparatus installing Android application program in the terminal
CN103369037A (en) * 2013-06-28 2013-10-23 深圳市掌讯通讯设备有限公司 Method for automatically synchronizing data among Android intelligent equipment
CN103559435B (en) * 2013-10-17 2017-07-07 华为技术有限公司 The debugging port controlling method and apparatus of terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902358A (en) * 2014-03-18 2014-07-02 北京领通科技有限公司 Mobile terminal remote debugging method and system and mobile terminal
CN104967585A (en) * 2014-04-15 2015-10-07 腾讯科技(深圳)有限公司 Method for remote debugging of mobile terminal and apparatus thereof

Also Published As

Publication number Publication date
CN107026764A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN107026764B (en) Remote debugging method, device, server and system
EP3300331B1 (en) Response method, apparatus and system in virtual network computing authentication, and proxy server
US8700820B2 (en) Method for accessing USB device attached to home gateway, home gateway and terminal
US20200169932A1 (en) Network Handover Method and Apparatus
CN105338529B (en) Wireless network connection method and system
CN110740460A (en) device network access method, device, network device and storage medium
US7363483B2 (en) System for rebooting relay apparatus based on detection of completely no communication establishment data presence
CN113271592B (en) Data transmission method and device and electronic equipment
WO2020199686A1 (en) Method and system for providing edge service, and computing device
CN107528923B (en) Data transmission method of network adapter and network adapter
CN107566513B (en) Test equipment DOS environmental data acquisition method and system
CN109116832A (en) Vehicle diagnostic data wireless communication method
CN111786932B (en) Account login method and device, electronic equipment and computer storage medium
CN104079634A (en) Method, device and system for displaying device interface
CN111737084A (en) Information monitoring method and device, intelligent equipment, computer equipment and medium
CN114338477B (en) Communication link monitoring method, device, equipment and storage medium
CN113709142B (en) Hot spot distribution network method and device, intelligent terminal and storage medium
CN112769845B (en) Vulnerability testing method and device, electronic device and computer equipment
CN108055660A (en) The method and internet-of-things terminal of data are transmitted in network channel
CN113438749A (en) Multi-public-network connection driving method and device, computer equipment and storage medium
CN113726608A (en) Data processing method and device
CN109885519B (en) Connection switching method for serial port of main control board and main control board
CN107102874B (en) Application concurrent installation method and system
CN111314108A (en) Data transmission method, device, equipment, storage medium and front-end system
CN114363063A (en) Data transmission method, device and system

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
GR01 Patent grant
GR01 Patent grant