CN113553282A - Method for controlling USB concentrator port switch through network protocol - Google Patents
Method for controlling USB concentrator port switch through network protocol Download PDFInfo
- Publication number
- CN113553282A CN113553282A CN202110845359.9A CN202110845359A CN113553282A CN 113553282 A CN113553282 A CN 113553282A CN 202110845359 A CN202110845359 A CN 202110845359A CN 113553282 A CN113553282 A CN 113553282A
- Authority
- CN
- China
- Prior art keywords
- usb
- usb5807c
- port
- mt7628dan
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004891 communication Methods 0.000 claims description 9
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000004377 microelectronic Methods 0.000 claims description 3
- 238000004806 packaging method and process Methods 0.000 claims description 3
- 230000002093 peripheral effect Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000001072 colon Anatomy 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
- G06F13/285—Halt processor DMA
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0016—Inter-integrated circuit (I2C)
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- Information Transfer Systems (AREA)
Abstract
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.
Description
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.
Claims (7)
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110845359.9A CN113553282A (en) | 2021-07-26 | 2021-07-26 | Method for controlling USB concentrator port switch through network protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110845359.9A CN113553282A (en) | 2021-07-26 | 2021-07-26 | Method for controlling USB concentrator port switch through network protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113553282A true CN113553282A (en) | 2021-10-26 |
Family
ID=78132817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110845359.9A Pending CN113553282A (en) | 2021-07-26 | 2021-07-26 | Method for controlling USB concentrator port switch through network protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113553282A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114297122A (en) * | 2021-12-27 | 2022-04-08 | 杭州海康威视数字技术股份有限公司 | Universal Serial Bus (USB) interface circuit and electronic equipment |
CN117407347A (en) * | 2023-12-15 | 2024-01-16 | 成都电科星拓科技有限公司 | PCIe switching chip, control method thereof and electronic equipment |
-
2021
- 2021-07-26 CN CN202110845359.9A patent/CN113553282A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114297122A (en) * | 2021-12-27 | 2022-04-08 | 杭州海康威视数字技术股份有限公司 | Universal Serial Bus (USB) interface circuit and electronic equipment |
CN117407347A (en) * | 2023-12-15 | 2024-01-16 | 成都电科星拓科技有限公司 | PCIe switching chip, control method thereof and electronic equipment |
CN117407347B (en) * | 2023-12-15 | 2024-03-12 | 成都电科星拓科技有限公司 | PCIe switching chip, control method thereof and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102681481B (en) | Programmable logic controller (PLC) communication method based on universal serial bus (USB) | |
CN202602678U (en) | Expansion circuit with multiple CAN (Controller Area Network) channel interfaces | |
US8838865B2 (en) | Hot plug ad hoc computer resource allocation | |
CN113553282A (en) | Method for controlling USB concentrator port switch through network protocol | |
CN202795350U (en) | Management device for USB ports | |
CN201039395Y (en) | A radio network router | |
US20130173838A1 (en) | Bridge between a peripheral component interconnect express interface and a universal serial bus 3.0 device | |
CN109634397A (en) | A kind of system and method for realizing intelligent network adapter or more Electricity Functional | |
CN105117319A (en) | Method for realizing real-time monitoring of multi-channel MDIO (Management Data Input Output) devices based on FPGA | |
CN104318301A (en) | TF card having communication function | |
CN105653461B (en) | A kind of single USB interfaces turn the converting system of more UART debugging interfaces | |
CN203933666U (en) | A kind of CAN bus repeater | |
CN204423111U (en) | A kind of SOC (system on a chip) be applied in intelligent grid concentrator | |
CN110708227A (en) | A test method for automatic replay attack in fieldbus | |
CN101794267A (en) | USB (Universal Serial Bus) switching device and realizing method thereof | |
CN101493806B (en) | Data-transmission method of communication adapter | |
CN202535385U (en) | Network security isolation device | |
CN203311193U (en) | Can and Modbus protocol conversion module and intelligent circuit breaker | |
CN108206715B (en) | Unmanned vehicles formation flight control data chain system based on ethernet | |
CN103092111B (en) | There is the intelligent breaker of the protocol conversion module of Can and Modbus | |
CN202282863U (en) | Remote opening and closing control device of computer | |
CN102023959A (en) | Communication conversion bridge set based on USB-HID (universal serial bus-human input device) protocol | |
CN2659038Y (en) | Inserted network interface circuit | |
CN1581126A (en) | IIC bus control system and method for realizing same | |
CN204302969U (en) | The USB/RS232-CAN translation debugging device of various configurations mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |