Supercharge Your Innovation With Domain-Expert AI Agents!

ADB (Android Debug Bridge) remote-connection methods and devices, equipment and storage mediums

A technology for remote connection and equipment, applied in the field of communication, can solve the problems of inability to realize automatic reconnection, equipment disconnection, limited voltage stability of USB equipment, etc.

Active Publication Date: 2017-12-12
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, to achieve cross-segment connection in ADB wireless mode, it is necessary to rely on the forwarding function of the server, client, and USB port in USB mode to realize the ADB remote connection across network segments, but this process involves routing configuration, dynamic address binding, etc. A series of complex network topology configurations have relatively high development, management, and operation and maintenance costs, and are limited by the voltage stability of USB devices (duration will cause device disconnection and cannot be automatically reconnected, and the stability is not good. )

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • ADB (Android Debug Bridge) remote-connection methods and devices, equipment and storage mediums
  • ADB (Android Debug Bridge) remote-connection methods and devices, equipment and storage mediums
  • ADB (Android Debug Bridge) remote-connection methods and devices, equipment and storage mediums

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] This embodiment provides an ADB remote connection method, which is suitable for establishing a remote ADB connection between a debugging terminal and an Android device across a network segment. The method can be executed by the ADB remote connection device applied to a server provided in an embodiment of the present invention , the device can be implemented in software and / or hardware, and generally can be integrated into a server. Such as figure 1 As shown, the method in this embodiment specifically includes the following operations:

[0041] S110. The server acquires the first application layer connection request directed to the target Android device sent by the debugging terminal through the first network.

[0042] The server is connected to the debugging terminal through a first network (for example, a wide area network), where the debugging terminal may be, for example, a PC (Personal Computer, personal computer). When the debugging terminal and the target Androi...

Embodiment 2

[0055] On the basis of each of the above embodiments, the server constructs a second application layer connection request corresponding to the first application layer connection request; the second application layer connection request is sent to the target Android device through the second network, so as to control the target Android device in An ADB connection between the daemon process and the server is established in the second network.

[0056] At the same time, before the server constructs the second application layer connection request corresponding to the first application layer connection request, the server generates the second network address through the pre-built first virtual proxy server, and exposes the second network address to the second network , so that the target Android device establishes an ADB connection between the daemon process and the server according to the second network address used by the server in the second network;

[0057] Specifically, when t...

Embodiment 3

[0085] This embodiment provides an ADB remote connection method, which is suitable for establishing a remote ADB connection between a debugging terminal and an Android device across a network segment. Execution, the device can be implemented in the form of software and / or hardware, and can generally be integrated into an Android device. Such as image 3 As shown, the method in this embodiment specifically includes the following operations:

[0086] S310. The Android device establishes an ADB connection between the daemon process and the server in the second network.

[0087] Wherein, after the server obtains the first application layer connection request directed to the Android device sent by the debugging terminal through the first network, it controls the Android device to establish an ADB connection between the daemon process and itself in the second network.

[0088] Among them, the daemon process is used to perform specific system tasks. To establish an ADB connection w...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses ADB (Android Debug Bridge) remote-connection methods and devices, equipment and storage mediums. One of the methods includes: acquiring a first application layer connection request, which is sent by a debugging terminal and directed to a target Android device, by a server through a first network; controlling the target Android device by the server according to the first application layer connection request to establish ADB connection between an ADB daemon and the server in a second network; generating a first network address, which is used in the first network, by the server when successful ADB connection information sent by the target Android device is received, and providing the same to the debugging terminal; and establishing ADB connection with the debugging terminal by the server according to a debugging connection request which is sent by the debugging terminal and based on the first network address. According to the above-mentioned method, system costs and operation and maintenance costs of establishing ADB remote-connection are reduced, and the convenience of using ADBs to debug the Android device is improved.

Description

technical field [0001] Embodiments of the present invention relate to the field of communication technologies, and in particular, to an ADB remote connection method, device, equipment, and storage medium. Background technique [0002] ADB (Android Debug Bridge, Android Debug Bridge) is a multifunctional command-line tool, which is a client-server application program. Using ADB can realize the management and operation of the emulator or real device connected to the development computer. View logs, debug information, and use ADB to implement some automation and scripting functions. [0003] Using ADB to debug mobile devices mainly includes USB (Universal Serial Bus, Universal Serial Bus) mode and wireless mode. In USB mode, you need to use a USB data cable to establish a connection between the client and the mobile device; in wireless mode, if you use ADB’s default remote connection, you need to make the client and the mobile device on the same network segment, otherwise you ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36H04L12/26
CPCG06F11/3664H04L43/50
Inventor 陈鲁
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More