Connection method and device for test terminal and computer

A technology for testing terminals and connection methods, which is applied in the field of computer communication and can solve problems such as failure to connect a test mobile phone to a factory computer.

Pending Publication Date: 2020-07-07
CHENGDU TD TECH LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] In view of this, the main purpose of the present invention is to provide a method and device for connecting a test terminal to a computer, which can effectively solve the problem of failed connection between the test mobile phone and the factory computer

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
  • Connection method and device for test terminal and computer
  • Connection method and device for test terminal and computer
  • Connection method and device for test terminal and computer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0037] figure 1 It is a schematic flow diagram of the method of the embodiment of the present invention, such as figure 1 As shown, the connection method between the test terminal and the computer implemented in this embodiment mainly includes:

[0038] Step 101, when the computer detects that the corresponding Android platform debugging bridge ADB program fails to start after receiving the connection request from the test terminal, determine the port used by the ADB program, and determine the computer according to the current port scan results of the computer The program currently occupying the port used by the ADB program.

[0039] Specifically, the test terminal may be a test mobile phone, and the computer may be a factory execution ...

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 connection method and device for a test terminal and a computer. The method comprises the steps that: after the computer receives a connection request of the test terminal, when it is detected that a corresponding Android platform debugging bridge ADB program fails to be started, a port used by the ADB program is determined, and a program currently occupying the port usedby the ADB program in the computer is determined according to a port scanning result of the computer at present; the computer determines a current connection failure solving mode; and when the mode is to release the port, the computer kills all determined programs and processes corresponding to a corresponding associated process tree, and restarts the ADB program when detecting that the port usedby the ADB program is not occupied. According to the invention, the problem of connection failure between the test mobile phone and the factory computer can be effectively solved.

Description

technical field [0001] The invention relates to computer communication technology, in particular to a connection method and device between a test terminal and a computer. Background technique [0002] During terminal automation or manual testing, it is necessary to connect the executive machine for inputting test instructions. In this process, it is easy to appear that the default port for connecting the ADB program to the executive machine is low, and it is easy to be occupied by other programs on the executive machine, resulting in the failure of the connection between the mobile phone and the executive machine. In order to solve the problem of connection failure, the current processing methods are as follows: [0003] Method 1: Find the process that occupies the ADB default connection port by scanning the computer listening port, and then restore the ADB default port to be available by killing the occupied process. [0004] Method 2: Modify the connection port of the AD...

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/22G06F11/273
CPCG06F11/2221G06F11/2733
Inventor 柳达昕龚万春李宏梅
Owner CHENGDU TD TECH LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products