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

A port control method, device and medium

A port control and device control technology, applied in the computer field, can solve the problems of increased labor costs, low connection control efficiency, and the inability to connect mobile phones to PCs, etc., to achieve the effect of reducing labor costs and improving connection control efficiency

Active Publication Date: 2021-08-24
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the test, the mobile phone needs to run independently, and the mobile phone cannot be plugged into the PC, but the connection between the mobile phone and the PC must be disconnected, otherwise the performance test results will be affected
At present, the connection control of USB devices, such as the connection control in the process of performance testing, is through manual USB plugging and unplugging operations to realize the connection or disconnection of mobile phones and PCs. The connection control efficiency of mobile phones and other USB devices is low. and increased labor costs

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 control method, device and medium
  • A port control method, device and medium
  • A port control method, device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In the embodiment of the present application, for the scene where connection control of the connected device connected to the USB is required, the present application can send instructions such as port control instructions to the corresponding USB control device, so that the USB control device can control the corresponding port according to the port control instruction. The USB port is switched on and off to realize the automatic on-off of the USB and realize the connection control based on the USB between the devices. The following describes in conjunction with the framework of the present application.

[0046] See figure 1 , is a system architecture diagram provided in the embodiment of the present application. Such as figure 1As shown, the system may include a host computer, a USB hub, a control device, an electronic switch and at least one connection device, and the host computer and each connection device may be connected through USB (such as the USB hub). Where...

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 embodiment of the present application discloses a port control method, device, and medium, wherein the method includes: obtaining device information of a target device; determining connection information of the target device according to the device information, and the connection information includes the target device The identification of the corresponding target USB hub and the identification of the target USB port; according to the identification of the target USB hub, send a port control instruction to the control device corresponding to the target USB hub, and the port control instruction is used to instruct the control device according to The electronic switch corresponding to the identifier of the target USB port performs switch processing on the target USB port. Adopting the embodiment of the present application helps to improve the connection control efficiency of devices and reduce labor costs.

Description

technical field [0001] The present application relates to the computer field, in particular to a port control method, device and medium. Background technique [0002] At present, there are many scenarios where a USB device such as a mobile phone needs to be plugged and unplugged, so as to control the connection of the USB device as required. For example, in a performance test scenario for a mobile phone, it is necessary to plug the mobile phone into a PC through a USB, so as to realize the connection between the mobile phone and the PC, and prepare for the test. During the test, the mobile phone needs to run independently, and the mobile phone cannot be plugged into the PC, but the connection between the mobile phone and the PC must be disconnected, otherwise the performance test results will be affected. At present, the connection control of USB devices, such as the connection control in the performance test process, is performed manually through USB plugging and unpluggin...

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): G06F3/038G06F13/40G06F13/42
CPCG06F3/038G06F13/4081G06F13/4282
Inventor 贺国睿朱忠凯韩尹波曹斌孙大伟方亮荆彦青
Owner TENCENT TECH (SHENZHEN) CO LTD