Method for controlling USB concentrator port switch through network protocol

文档序号:153082 发布日期:2021-10-26 浏览:37次 中文

阅读说明:本技术 一种通过网络协议控制usb集线器端口开关的方法 (Method for controlling USB concentrator port switch through network protocol ) 是由 李贲 伍世元 周书孟 于 2021-07-26 设计创作,主要内容包括:本发明涉及USB集线器技术领域,且公开了一种通过网络协议控制USB集线器端口开关的方法,包括多个USB5807C、一个MT7628DAN和一个RJ45网络接口,所述USB5807C是一个7端口、超高速(SS)、低功耗、可配置的USB3.1Genl模块,完全符合USB-IF的USB3.1Genl规范(TID1595),所述USB5807C支持USB链路电源管理,符合IETF RFC 4122的128位UUID,兼容Windows XP7、MSX 10及以上版本的驱动程序;通过一种通过网络远程控制USB集线器内一个或多个USB口开关的方法,解决在PC(上位机)有限盘符下无法扩展USB接口所存在的问题,能由PC(上位机)通过网络指令来开启或关闭一个或多个插入到USB端口的设备的数据传输开关,实现自动执行切换USB端口的功能,解决手工插拔USB外部设备的不便之处,在释放双手同时提升了工作效率。(The invention relates to the technical field of USB hubs, and discloses a method for controlling a port switch of a USB hub through a network protocol, which comprises a plurality of USB5807C, an MT7628DAN and an RJ45 network interface, wherein the USB5807C is a 7-port, ultra-high speed (SS), low-power consumption and configurable USB3.1Genl module, and completely conforms to the USB3.1Genl specification (TID1595) of USB-IF, the USB5807C supports USB link power management, conforms to 128-bit UUID of IETF RFC 4122, and is compatible with XP7, MSX 10 and drivers of the versions above; the method for remotely controlling the on-off of one or more USB ports in the USB concentrator through a network solves the problem that the USB interface cannot be expanded under the condition of a limited drive letter of a PC (host computer), can open or close the data transmission switch of one or more devices inserted into the USB port through a network instruction by the PC (host computer), realizes the function of automatically executing and switching the USB port, solves the inconvenience of manually plugging and unplugging USB external devices, and improves the working efficiency while releasing both hands.)

1. A method for controlling USB hub port switching via network protocols, comprising a plurality of USB5807C, an MT7628DAN and an RJ45 network interface, characterized in that: the USB5807C is a 7-port, ultra-high speed (SS), low-power consumption, configurable USB3.1Genl module, fully conforms to USB3.1Genl specification (TID1595) of USB-IF, the USB5807C supports USB link power management, conforms to 128-bit UUID of IETF RFC 4122, is compatible with drivers of Windows XP7, MSX 10 and above versions, the MT7628DAN module integrates 2T2R 802.11.11 n Wi-Fi radio,5-port fast Ethernet PHY, AES128/256 security engine, USB2.0 host, PCIe host and abundant slow IO to connect different sensors, the MT7628DAN module includes everything needed to construct AP router from a single chip, the embedded high-performance CPU can easily handle advanced applications such as routing, security and VoIP;

each USB5807C provides 7 USB3.0 ports, the 7 USB5807 is merged into a main USB5807C, the main USB5807C is communicated with a PC (upper computer), the conversion from the upper USB port of the PC (upper computer) to the 49 port is realized, the USB5807C supports I2C management, the MT7628DAN can control each USB5807C through I2C, for example, each USB port is switched on and off, the network is accessed through the RJ45 network interface, and the PC (upper computer) can use HTTP API to manage the USB5807C through the MT7628DAN so as to control the actually accessed USB port.

2. The method of claim 1, wherein the method further comprises the step of: the I2C (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS corporation, is used for connecting a microcontroller and peripheral devices thereof, is a bus standard widely adopted in the field of microelectronic communication control, is a special form of synchronous communication, and has the advantages of few interface wires, simple control mode, small device packaging form, high communication rate and the like.

3. The method of claim 1, wherein the method further comprises the step of: the method can expand 49 USB ports at most, defaults all the USB ports to be in a closed state, and only can the USB ports be started by sending an opening instruction to I2C through an HTTP API (hyper text transport protocol API) by a PC (host computer).

4. The method of claim 1, wherein the method further comprises the step of: the USB port in the method is compatible with USB3.0 and USB2.0, and the single-port USB rate is not lower than 9M/S.

5. The method of claim 1, wherein the method further comprises the step of: the method does not need to install a driver, and is compatible with operating systems such as Windows, Android, Linux and the like.

6. The method of claim 1, wherein the method further comprises the step of: the method can inquire the opening or closing state of all USB ports through HTTP API.

7. The method of claim 1, wherein the method further comprises the step of: the method can inquire the opening or closing operation logs of all USB ports through the HTTP API.

Technical Field

The invention relates to the technical field of USB hubs, in particular to a method for controlling the opening and closing of a port of a USB hub through a network protocol.

Background

A USB hub is a device that can expand one USB interface into a plurality of interfaces and can make the interfaces simultaneously used. After the external device is connected with the interface of the USB concentrator, a drive letter of the computer is occupied, and generally 26 english characters plus a colon are used to identify the drive letter, because "a: "and" B: "these two drive symbols are used to denote floppy drives," C: "drive letter" is used to indicate a system drive, so that a USB hub can only extend 23 interfaces at most. All adopt the USB concentrator of many mouthfuls to carry out equipment charging and data transmission on the present law enforcement data acquisition equipment, when law enforcement unit personnel surpassed USB concentrator interface number, current USB concentrator can't satisfy the user demand, needs manual intervention interface to open or close, and it is very inconvenient to use, and is inefficient moreover.

Disclosure of Invention

Technical problem to be solved

Aiming at the defects of the prior art, the invention provides a method for controlling the port switch of a USB concentrator through a network protocol, which solves the problems that when the number of interfaces of the USB concentrator is exceeded by law enforcement officer, the existing USB concentrator cannot meet the use requirement, manual intervention is needed to open or close the interfaces, the use is very inconvenient, and the efficiency is low.

(II) technical scheme

In order to achieve the purpose, the invention provides the following technical scheme: a method for controlling the port switch of a USB hub by a network protocol comprises a plurality of USB5807C, an MT7628DAN and an RJ45 network interface, wherein the USB5807C is a 7-port, ultra-high speed (SS), low-power consumption, configurable USB3.1Genl module, completely conforms to the USB3.1Genl specification (TID1595) of USB-IF, the USB5807C supports USB link power management, conforms to 128-bit UUID of IETF RFC 4122, is compatible with Windows XP7, MSX 10 and the above versions of drivers, the MT7628DAN module integrates 2T2R 802.11.11 n Wi-Fi radio,24KEcTMCPU, 5-port fast Ethernet PHY, AES128/256 security engine, USB2.0 host, PCIe host and rich slow IO to connect different sensors, the MT7628DAN module includes everything needed to build AP router from single chip, embedded high performance CPU can easily handle routing, data processing, and data processing,Advanced applications such as security and VoIP;

each USB5807C provides 7 USB3.0 ports, the 7 USB5807 is merged into a main USB5807C, the main USB5807C is communicated with a PC (upper computer), the conversion from the upper USB port of the PC (upper computer) to the 49 port is realized, the USB5807C supports I2C management, the MT7628DAN can control each USB5807C through I2C, for example, each USB port is switched on and off, the network is accessed through the RJ45 network interface, and the PC (upper computer) can use HTTP API to manage the USB5807C through the MT7628DAN so as to control the actually accessed USB port.

Preferably, the I2C (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS, is used for connecting a microcontroller and peripheral devices thereof, is a bus standard widely used in the field of microelectronic communication control, is a special form of synchronous communication, and has the advantages of few interface lines, simple control mode, small device packaging form, high communication rate, and the like.

Preferably, the method can expand 49 USB ports at most, defaults all USB ports to be in a closed state, and only can the USB ports be enabled by sending an open instruction to I2C through an HTTP API by a PC (host computer).

Preferably, the USB port in the method is compatible with USB3.0 and USB2.0, and the single-port USB rate is not lower than 9M/S.

Preferably, the method does not need to install a driver, and is compatible with operating systems such as Windows, Android, Linux and the like.

Preferably, the method may query the on or off states of all USB ports through the HTTP API.

Preferably, the method can query the on or off operation logs of all USB ports through the HTTP API.

(III) advantageous effects

The invention provides a method for controlling the opening and closing of a port of a USB concentrator through a network protocol, which has the following beneficial effects:

the invention solves the problem that the USB interface can not be expanded under the condition that a PC (upper computer) has a limited drive letter, can open or close the data transmission switch of one or more devices inserted into the USB port by the PC (upper computer) through a network instruction, realizes the function of automatically executing and switching the USB port, solves the inconvenience of manually plugging and unplugging USB external devices, and improves the working efficiency while releasing both hands.

Drawings

Fig. 1 is a schematic diagram of the working principle of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

As shown in fig. 1, the present invention provides a technical solution: a method for controlling the port switch of USB hub by network protocol includes multiple USB5807C, an MT7628DAN and an RJ45 network interface, USB5807C is a 7-port, ultra-high speed (SS), low-power consumption, configurable USB3.1Genl module, fully conforming to USB3.1Genl specification (TID1595) of USB-IF, USB5807C supports USB link power management, conforming to 128-bit UUID of IETF RFC 4122, driver compatible with Windows XP7, MSX 10 and above versions, MT7628DAN module integrates 2T2R 802.11 Fi 802.11n Wi-radio,24KEcTMthe CPU, the 5-port fast Ethernet PHY, the AES128/256 security engine, the USB2.0 host, the PCIe host and the abundant slow IO are connected to connect different sensors, the MT7628DAN module comprises all the needed parts for constructing the AP router from a single chip, and the embedded high-performance CPU can easily process high-level applications such as routing, security, VoIP and the like;

each USB5807C provides 7 USB3.0 ports, the 7 USB5807 is imported into a main USB5807C, the main USB5807C is communicated with a PC (upper computer), the conversion from the upper USB port of the PC (upper computer) to 49 ports is realized, the USB5807C supports I2C management, MT7628DAN can control each USB5807C through I2C, for example, each USB port is switched on and off, the network is accessed through an RJ45 network interface, and the PC (upper computer) can use HTTP API to manage the USB5807C through the MT7628DAN so as to control the actually accessed USB port.

Further, an I2C (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS corporation, is used for connecting a microcontroller and peripheral devices thereof, is a bus standard widely used in the field of microelectronic communication control, is a special form of synchronous communication, and has the advantages of few interface lines, simple control mode, small device packaging form, high communication rate, and the like.

Furthermore, the method can expand 49 USB ports at most, defaults all the USB ports to be in a closed state, and only can the USB ports be started by sending an opening instruction to I2C through an HTTP API (hyper text transport protocol API) by a PC (host computer).

Furthermore, the USB port in the method is compatible with USB3.0 and USB2.0, and the single-port USB rate is not lower than 9M/S.

Furthermore, the method does not need to install a driver and is compatible with operating systems such as Windows, Android, Linux and the like.

Further, the method may query the open or closed status of all USB ports through the HTTP API.

Further, the method may query the on or off operation logs of all USB ports through the HTTP API.

It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.

Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

6页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:双路服务器及其通连方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!