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

A docker engine-based multi-task android performance test method and a system for executing the method

A test method and multi-task technology, applied in the field of android performance testing, can solve problems such as adb task execution failure, and achieve the effect of avoiding multi-thread defects

Pending Publication Date: 2019-05-31
杭州茂财网络技术有限公司
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But resetting adb will also cause all adb tasks on the current server to fail

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
  • A docker engine-based multi-task android performance test method and a system for executing the method
  • A docker engine-based multi-task android performance test method and a system for executing the method
  • A docker engine-based multi-task android performance test method and a system for executing the method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] For clarity, definitions of specific words or phrases used in the present invention are first provided.

[0031] adb: Android Debug Bridge, generally referred to as adb, is mainly stored in the platform-tools folder under the sdk installation directory. It is a very powerful command-line tool through which you can interact with your android device. adb consists of three parts: adb server running on the PC side, adb client and adbd running on the android device side. The operating principle of adb is that the adb server on the PC side establishes a connection with the daemon process adbd on the mobile phone side, and then the adb client on the PC side forwards commands through the adb server , adbd parses and runs after receiving the command. The communication between adbclient and adb server is through socket. The connection between adb server and adbd is established by specifying the network port of adb server, and the default network port of adb server is [5037].

...

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 relates to a docker engine-based android performance testing method and a system for executing the method. The method comprises the following steps: equipment monitors a timing task; When it is detected that a new android device is accessed, one container is mirrored from the mirror image fork, and the corresponding usb device is mapped into the container; Wherein the sdk environmentis preinstalled in the mirror image; a container is started, after the container is started, a deamon process is started, the deamon process continuously polls and actively obtains an execution task,when the task is obtained, the task is executed immediately, and an equipment active destruction task is restarted after execution is finished. The system comprises a host carrying a dockermanager and a docker, a usb interface and an external interface used for receiving a task list. And the task issuing device is used for sending a task list to the host carrying the dockermanager and the docker.By reconstructing the whole system, one-key deployment of the environment can be realized, and the problem of adb multi-thread defects can be avoided.

Description

technical field [0001] The invention relates to the field of android performance testing, in particular to an android performance testing method based on a docker engine and a system for executing the method. Background technique [0002] In the process of enterprise-level android performance testing, if the CS design architecture is used, due to the large number of models and complex business scenarios, it is bound to use a distributed method to split the test tasks, so the same slave node accesses multiple One android device is the norm. When a traditional server is connected to multiple devices to perform tasks, it usually uses adb to control the connected devices to achieve different tasks. However, the multi-threading limitation of adb's own architecture can easily lead to unstable adb task execution in a parallel state. [0003] Such as figure 1 Shown is the existing distributed task scheduling architecture, using the CS design architecture, the user schedules tasks ...

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/34G06F11/30
Inventor 廖述峰
Owner 杭州茂财网络技术有限公司
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