A port binding method and device

A port binding and port technology, applied in the direction of digital transmission systems, data exchange networks, electrical components, etc., can solve the problems of manual configuration, etc., to achieve the effect of automatic binding, save test time, and reduce the number of times

Inactive Publication Date: 2018-01-26
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the purpose of the present invention is to propose a port binding method and device to solve the problem of having to manually configure the test channel port number, save test time, reduce the number of times that test exceptions occur, and realize the port number and test channel. Automatic binding of ports

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 port binding method and device
  • A port binding method and device
  • A port binding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 1 It is a schematic flowchart of a port binding method provided in Embodiment 1 of the present invention. The method is suitable for automatically assigning a port number to the test channel where the product to be tested is located when testing a product, and automatically binding the test channel to the port number. The method can be executed by a port binding device, and the device can It is set in the computer and can be implemented in the form of software and / or hardware. like figure 1 As shown, the method includes:

[0024] Step 110, determine the port type of the current test channel.

[0025] Wherein, the port type may include a USB port and a serial port.

[0026] Exemplarily, when the product to be tested is connected to the test channel through a port, the port binding device can determine the port type of the current test channel by identifying the attribute information of the port. The attribute information of the port may be the name of the por...

Embodiment 2

[0046] figure 2 It is a schematic flowchart of port binding and product testing during parallel testing provided by Embodiment 2 of the present invention. This embodiment is based on the above-mentioned embodiments, and further performs the following operations before determining the port type of the current test channel:

[0047]Multiple threads are created, and each thread executes step 110-step 140 in Embodiment 1 of the present invention in parallel.

[0048] Among them, each thread corresponds to a test channel, which can bind the ports of multiple test channels at the same time, and test the products under test of multiple test channels at the same time, and the binding and testing process do not affect each other.

[0049] Specifically, see figure 2 , creating a total of N threads, thread 1, thread 2, ..., thread N, and each thread performs the same operation: after the product to be tested is connected to the test channel, determine the port type of the test channe...

Embodiment 3

[0055] image 3 It is a structural block diagram of the device for binding ports provided in Embodiment 3 of the present invention. like image 3 As shown, the device includes: a port type determination module 10 , a test mode determination module 11 , a port judgment module 12 and a port binding module 13 .

[0056] Port type determining module 10, for determining the port type of current test channel;

[0057] The test mode determination module 11 is used to determine the test mode of the current test channel according to the product information to be tested of the current test channel;

[0058] Port judging module 12, is used for judging whether the port of current test channel is bound port number;

[0059] The port binding module 13 is used to bind the port number of the port of the current test channel according to the preset binding method according to the port type and the test mode if the port of the current test channel is not bound to the port number.

[0060] I...

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 port binding method and a port binding device. The port binding method comprises an A step of determining a port type of a current test channel; a B step of determining a test mode of the current test channel according to the information of a product to be tested of the current test channel; a C step of judging whether a port of the current test channel is bound with a port number; and a D step of binding a port number for the port of the current test channel according to the port type, the test mode and a preset binding mode if the port of the current test channel is not bound with a port number. According to the invention, the method and the device solve the problem of manually configuring the test channel port number, save the test time, reduce the occurrence of test exceptions and realize the automatic binding of the port number and the port of the test channel.

Description

technical field [0001] The invention relates to the field of product testing, in particular to a port binding method and device. Background technique [0002] At present, in the field of testing, products are mainly tested through a Universal Serial Bus (USB) or a serial cable. When using multi-channel testing, especially parallel testing, it is necessary to assign the corresponding USB or serial port number of each test channel. For this, the currently commonly used method is to manually configure the port of each test channel before testing. This brings great inconvenience to the production test. When the production line changes computers, stations or products of different models, it is necessary to manually reconfigure the port number, otherwise it may lead to an abnormal situation where the port cannot be found. , wasting a lot of manpower, material resources and production testing costs. Contents of the invention [0003] In view of this, the purpose of the present ...

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 Patents(China)
IPC IPC(8): H04L12/26
CPCH04L43/50
Inventor 雷宏斌
Owner GUANGDONG OPPO MOBILE TELECOMM CORP 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