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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com