Unlock instant, AI-driven research and patent intelligence for your innovation.

Shared pipeline based Android device debug method

A debugging method and pipeline technology, applied in the Android field, can solve problems affecting normal use of users, affecting user experience, unavailable adb, etc., to reduce the time of establishing and closing pipelines, avoid slowing down the response speed, and improve user experience Effect

Active Publication Date: 2016-07-27
CHENGDU TD TECH LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, when debugging an android device through the above-mentioned processing method, when the adb command is executed multiple times (more than 3000 times), the problems of high resource usage and slow response speed of the android device will occur, which will seriously affect the user experience and may eventually lead to The phenomenon that adb is unavailable affects the normal use of users

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
  • Shared pipeline based Android device debug method
  • Shared pipeline based Android device debug method
  • Shared pipeline based Android device debug method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings.

[0023] In the existing ADB command execution method, although it takes very little time to execute the command, the time required to establish the pipeline before execution and close the pipeline after execution is far greater than the time required to execute the command , causing more than 80% of the time to be wasted on the establishment and closure of the pipeline, and the establishment of the pipeline needs to consume more resources. It is precisely because of this that the system load increases, the resource occupation is high, time-consuming and inefficient.

[0024] At the same time, because the client program cannot control the normal release of resources on the server-side Android device after the command execution is completed, resulting in continuous ...

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 invention discloses a shared pipeline based Android device debug method. The method comprises the steps of after a target program service in a computer as a client is started, establishing a shared pipeline used for executing an ADB command; and in the running process of a target program, executing the ADB command by utilizing the shared pipeline, and when the target program service is stopped, closing the established shared pipeline and releasing corresponding resources. By applying the method, the system resources can be saved, the problem of low response speed after multi-time execution of the adb command is avoided, and the user experience is improved.

Description

technical field [0001] This application relates to the Android technology, in particular to a debugging method for an Android device based on a shared pipeline. Background technique [0002] AndroidDebugBridge, Android debug bridge, adb for short. The main functions of adb are: run the shell (command line) of the device, manage the port mapping of the emulator or device, upload / download files between the computer and the device, and install the local apk software to the emulator or android device. ADB is a client-server program, where the client is the computer used to operate, and the server is the android device. Debug the server-side android device by running ADB commands on the client's computer. [0003] At present, on the client's computer, a java program is usually used as an allowed environment for ADB commands. Specifically, in the java program, the runtime environment of the current JVM can be obtained through Runtime.getRuntime(), and the adb command can be exe...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/26G06F9/50
Inventor 张正迁陈宏亮肖昌伟
Owner CHENGDU TD TECH LTD