CN106354677A - Usb hub - Google Patents

Usb hub Download PDF

Info

Publication number
CN106354677A
CN106354677A CN201610715555.3A CN201610715555A CN106354677A CN 106354677 A CN106354677 A CN 106354677A CN 201610715555 A CN201610715555 A CN 201610715555A CN 106354677 A CN106354677 A CN 106354677A
Authority
CN
China
Prior art keywords
interface
usb hub
external equipment
hub
detection
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
Application number
CN201610715555.3A
Other languages
Chinese (zh)
Inventor
冯健旭
谢小锋
刘理学
黎国俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kingteller ATM Technology Co Ltd
Original Assignee
Guangzhou Kingteller ATM Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Kingteller ATM Technology Co Ltd filed Critical Guangzhou Kingteller ATM Technology Co Ltd
Priority to CN201610715555.3A priority Critical patent/CN106354677A/en
Publication of CN106354677A publication Critical patent/CN106354677A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention discloses a USB HUB. The USB HUB comprises an HUB chipset achieving a traditional USB HUB central function, a detection module and a control module; the HUB chipset is communicated with an upper computer through an upstream interface and communicated with external equipment through a downstream interface; the detection module is used for detecting the state of the external equipment through the downstream interface and transmitting detection data to the upper computer through the upstream interface; the control module is used for receiving a control signal of the upper computer through the upstream interface and sending the control signal to specified external equipment through the downstream interface. The USB HUB has the advantages that pure central equipment is transformed into a USB expansion device with detection and control functions, and the function that the upper computer directly completes detection and control over the external equipment through a USB interface is effectively achieved. Compared with traditional serial interface connection, the USB HUB is more convenient and rapid, other peripheral detection is not needed, and the cost is reduced.

Description

A kind of usb hub
Technical field
The present invention relates to a kind of usb hub.
Background technology
In the system of the atm/crs of vtm, stm and a new generation, the data transfer central role that usb hub serves as, usb The property relationship of hub to the performance of whole system, so, system transfer rate to be improved and sophisticated systems, traditional usb hub is not Can complete.Atm master controller mainly controls paper money door module, panel ledss by master devices, DC motor Driver module, movement Control module, sensor detection module, relay control module, audio-frequency module, serial communication modular and usb communication module and Power module forms.These modules are only used as communication backbone by usb hub, are not controlled.Vtm, stm and new one simultaneously During the atm/crs in generation uses, in order to improve communication speed further, so replaced traditional in such devices with usb bus Serial bus, and industry control whole machine usb interface quantity is limited, needs to extend using usb hub, and traditional usb hub only has It is confined to the extension of usb it is impossible to adapt to the function interface of vtm, stm and the demand of aspect of performance.
Content of the invention
In order to solve above-mentioned technical problem, present invention aim at offer is a kind of and can detecting and control ancillary equipment usb hub.
A kind of usb hub of the present invention, including the hub chipset realizing traditional usb hub maincenter function, hub core Piece group is communicated with host computer by Upstream Interface, is communicated it is characterised in that also including with external equipment by downstream interface:
Detection module, for detecting external equipment state by downstream interface;By Upstream Interface, detection data is transferred to Position machine;
Control module, for receiving the control signal of host computer by Upstream Interface;By downstream interface, control signal is sent To specified external equipment.
A kind of usb hub of the present invention, has an advantage in that, simple maincenter scrap build is with detection control The usb expanding unit of function, effectively realizes the work(that host computer directly completes to external equipment to detect and control by usb interface Energy.It is more conveniently and quickly, without other periphery detections more cost-effective than traditional serial ports connects.
Described inspection module by downstream interface detect external equipment parameter include: voltage, electric current, working condition, Transfer rate, driving condition.
Described control module is included by the control signal that downstream interface exports to external equipment: wake-up signal, hang-up Signal, Restart Signal, stopping signal.
Brief description
Fig. 1 is a kind of structural representation of usb hub of the present invention.
Fig. 2 is a kind of workflow diagram of sub hub of the present invention.
Specific embodiment
According to Fig. 1, a kind of usb hub of the present invention, including the hub realizing traditional usb hub maincenter function Chipset, hub chipset is communicated with host computer by Upstream Interface, is communicated with external equipment by downstream interface;Also include: inspection Survey module, for external equipment state is detected by downstream interface;Detection data is transferred to by host computer by Upstream Interface;Control Molding block, for receiving the control signal of host computer by Upstream Interface;Send control signals to specify by downstream interface External equipment.
Described inspection module by downstream interface detect external equipment parameter include: voltage, electric current, working condition, Transfer rate, driving condition.Described control module is included by the control signal that downstream interface exports to external equipment: wakes up Signal, pending signal, Restart Signal, stopping signal.
A kind of described usb hub can be extended from the usb2517i of microchip, and this chip supports that 1 drags 7 Mouth usb2.0, the design innovative point is to the addition of detection and control module, when using usb hub extension ancillary equipment, Can be by using usb hub testing equipment running status and working condition.Detection module can adopt st company Stm32f103r8t6 is master controller, can accomplish, to usb Data Detection and state-detection, external equipment is such as detected and be in During over-current state, send control signal and soft protection is carried out to external equipment.This error message is reported to the police by detection module simultaneously upwards, By information Real-time Feedback to host computer.In external equipment free time, usb hub can set output pending signal to external, make Power consumption is minimum in an idle state to obtain whole equipment, decreases the power consumption of whole system simultaneously.
When main frame normally connects the work of (movement, strip printer, code keypad, paper money door, card reader etc.) external equipment, Usb hub singly may only not provide sufficient usb mouth to expand to these equipment, can also be right during external equipment uses These equipment are detected and are controlled, such as card reader, can detect by usb hub whether card reader working condition normal, Whether external equipment drives and connects, runs the parameters such as whether power current is normal, whether transmitted data rates are normal to judge it Whether work exception.If there is exception, host computer sends termination order by usb hub and external equipment is made by force Reset or terminate operation, then carry out, to error feedback, allowing customer service carry out Emergency Maintenance by host computer background server, with When whether normal condition can be in real-time watch device so that machine is more reliable and intelligent, in its idle condition, upper Machine sends pending signal to external equipment and is changed into suspended state, reduces power consumption, right again after external equipment is operated again External equipment sends wake-up signal and is waken up.
Usb hub of the present invention is carried to operation principle on stm and flow process as shown in Fig. 2 sub hub and stm Hardware is initialized, and then hub connects host computer and drives, and whether downstream interface is in place to equipment cycle detection.Equipment is in place After detection normally, normally whether detection data speed and equipment run, if normally, host computer carries out data acquisition, controls display Idle hang-up and maintenance with equipment.If improper, display device/communication port error notifies host computer to show and safeguards shape State.
For a person skilled in the art, can technical scheme as described above and design, make other each Plant corresponding change and deformation, and all these change and deformation all should belong to the protection model of the claims in the present invention Within enclosing.

Claims (3)

1. a kind of usb hub, including the hub chipset realizing traditional usb hub maincenter function, hub chipset is connect by upstream Mouth is communicated with host computer, is communicated it is characterised in that also including with external equipment by downstream interface:
Detection module, for detecting external equipment state by downstream interface;By Upstream Interface, detection data is transferred to Position machine;
Control module, for receiving the control signal of host computer by Upstream Interface;By downstream interface, control signal is sent To specified external equipment.
2. usb hub according to claim 1 is it is characterised in that described inspection module is outer by downstream interface detection The parameter connecing equipment includes: voltage, electric current, working condition, transfer rate, driving condition.
3. usb hub according to claim 1 is it is characterised in that described control module passes through downstream interface to external The control signal of equipment output includes: wake-up signal, pending signal, Restart Signal, stopping signal.
CN201610715555.3A 2016-08-25 2016-08-25 Usb hub Pending CN106354677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610715555.3A CN106354677A (en) 2016-08-25 2016-08-25 Usb hub

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610715555.3A CN106354677A (en) 2016-08-25 2016-08-25 Usb hub

Publications (1)

Publication Number Publication Date
CN106354677A true CN106354677A (en) 2017-01-25

Family

ID=57844041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610715555.3A Pending CN106354677A (en) 2016-08-25 2016-08-25 Usb hub

Country Status (1)

Country Link
CN (1) CN106354677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229465A (en) * 2017-04-21 2017-10-03 北京小鸟看看科技有限公司 Method, device and VR main frames for the wake-up head-mounted display of VR main frames

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630191A (en) * 2009-08-26 2010-01-20 中兴通讯股份有限公司 Power-saving device and method for universal serial bus modem
CN102147779A (en) * 2011-04-07 2011-08-10 广东金赋信息科技有限公司 USB (universal serial bus) peripheral processing unit and USB peripheral processing method
CN103117490A (en) * 2011-08-30 2013-05-22 瑞萨电子株式会社 USB hub and control method of USB hub
CN103389957A (en) * 2012-03-31 2013-11-13 中国普天信息产业股份有限公司 Multi-interface communication device and method
CN105870742A (en) * 2016-03-31 2016-08-17 惠州市德赛西威汽车电子有限公司 USB hub and vehicle-mounted USB multimedia system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630191A (en) * 2009-08-26 2010-01-20 中兴通讯股份有限公司 Power-saving device and method for universal serial bus modem
CN102147779A (en) * 2011-04-07 2011-08-10 广东金赋信息科技有限公司 USB (universal serial bus) peripheral processing unit and USB peripheral processing method
CN103117490A (en) * 2011-08-30 2013-05-22 瑞萨电子株式会社 USB hub and control method of USB hub
CN103389957A (en) * 2012-03-31 2013-11-13 中国普天信息产业股份有限公司 Multi-interface communication device and method
CN105870742A (en) * 2016-03-31 2016-08-17 惠州市德赛西威汽车电子有限公司 USB hub and vehicle-mounted USB multimedia system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107229465A (en) * 2017-04-21 2017-10-03 北京小鸟看看科技有限公司 Method, device and VR main frames for the wake-up head-mounted display of VR main frames
CN107229465B (en) * 2017-04-21 2021-02-05 北京小鸟看看科技有限公司 Method and device for waking up head-mounted display of VR (virtual reality) host and VR host

Similar Documents

Publication Publication Date Title
CN106882671A (en) A kind of elevator operation monitoring system and its monitoring method
CN104660440A (en) Blade server management system and control method thereof
CN107239422A (en) A kind of lossless method for receiving bursty data of TTL serial ports under low-power consumption mode
CN203084167U (en) A counter capable of predicting the service life of an electric actuating mechanism
CN106354677A (en) Usb hub
CN201825631U (en) Missing step detection device of escalator
CN106652206A (en) Electricity utilization interaction terminal
CN206353315U (en) Circuit that is electric and sending 3B command signals on a kind of automatic detection chip
CN101782777B (en) Off-line detection system
CN101329595A (en) Emulator of low power consumption mode
CN106843019A (en) A kind of IC-card gas meter, flow meter
CN206696414U (en) A kind of voltage and current signal acquisition monitoring device
CN206863567U (en) The starting trouble-shooter of elevator
CN202965529U (en) Integrated control system for motor and printer
CN201667028U (en) Informatization constant feeder and its electric control system
CN207974049U (en) A kind of intelligent parking lot anticollision stop rod
CN201269995Y (en) Communication management apparatus
CN208737226U (en) Paper paper-advance unit and control system are taken for image forming apparatus dilatation frame
CN201114166Y (en) Pump intelligence control system based on PROFIBUS-DP communication interface
CN202935897U (en) Sudden-stop lock switch position recognition device of belt conveyor
CN206833238U (en) A kind of antenna servo mechanism detection device
CN205785450U (en) A kind of network belted electronic balance
CN207690209U (en) A kind of wireless self-help formula charging pile
CN206060601U (en) Motor drive interface conversion module
CN201355442Y (en) Embedded numerical control device of carton printer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170125

WD01 Invention patent application deemed withdrawn after publication