CN100354848C - Universal series bus system, composite device and method for setting composite device address - Google Patents

Universal series bus system, composite device and method for setting composite device address Download PDF

Info

Publication number
CN100354848C
CN100354848C CNB2004100687725A CN200410068772A CN100354848C CN 100354848 C CN100354848 C CN 100354848C CN B2004100687725 A CNB2004100687725 A CN B2004100687725A CN 200410068772 A CN200410068772 A CN 200410068772A CN 100354848 C CN100354848 C CN 100354848C
Authority
CN
China
Prior art keywords
serial bus
universal serial
usb
set composite
concentrator
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.)
Expired - Fee Related
Application number
CNB2004100687725A
Other languages
Chinese (zh)
Other versions
CN1746875A (en
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.)
KANGNAI SCI-TECH Co Ltd
Original Assignee
KANGNAI SCI-TECH 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 KANGNAI SCI-TECH Co Ltd filed Critical KANGNAI SCI-TECH Co Ltd
Priority to CNB2004100687725A priority Critical patent/CN100354848C/en
Publication of CN1746875A publication Critical patent/CN1746875A/en
Application granted granted Critical
Publication of CN100354848C publication Critical patent/CN100354848C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The present invention provides a universal series bus system which comprises at least one universal series bus concentrator, a universal series bus composite device and at least one universal series bus virtual device which are respectively connected with a downstream port of at least one universal series bus concentrator, wherein the universal series bus composite device comprises an upstream port, a plurality of universal series bus devices and a control unit which is used for setting the state of the universal series bus devices. When the state of one universal series bus device is arranged into an open state and is not designated with one address, the universal series bus device can be used for setting the address according to an address designation packet received by the upstream port of the universal series bus composite device.

Description

The method of USB system and set composite and setting composite device address
Technical field
The invention provides a USB (universal serial bus) set composite, one USB system that comprises this USB (universal serial bus) set composite with and control method, refer in particular to one and utilize a plurality of USB (universal serial bus) virtual benchs to set the USB (universal serial bus) set composite of the included a plurality of universal serial bus devices of a USB (universal serial bus) set composite, the USB system that comprises this USB (universal serial bus) set composite with and control method.
Background technology
(Universal Serial Bus is that very general computer interface connects standard USB) to USB (universal serial bus), and general personal computer all provides the USB (universal serial bus) connectivity port of at least one standard.Any one meets the peripherals of universal serial bus standard specification, can connect any personal computer with universal serial bus standard specification, with the mutual Data transmission of the digital signal of universal serial bus specification.Because of advantages such as the higher and plug and plays of transfer rate, it is very numerous and become general trend to have the product of universal serial bus standard specification interface on the market, common as digital camera, circumscribed USB (universal serial bus) flash memory card (Flash Memory Card), and external connected hand disk etc.Generally speaking, universal serial bus device must be connected to a downstream port of a universal serial bus concentrator (USB Hub) one to one, could be by USB host (USB Host) initialization correctly, set the address, and correctly be connected to a USB system.Some USB (universal serial bus) set composites (USB Compound Device) are arranged at present on the market, two or more universal serial bus devices have been comprised therein, for example similarly be the universal series bus key dish of a computing machine, and also comprise the function of trace ball on it.In the USB (universal serial bus) set composite inside of routine, all including a universal serial bus concentrator usually can normal operation with a plurality of universal serial bus devices of being responsible for allowing this USB (universal serial bus) set composite be comprised.
See also Fig. 1.Fig. 1 is the synoptic diagram of the conventional USB system that comprises the USB (universal serial bus) set composite.100 is a USB system, 110 is a USB host, 160 is a universal serial bus concentrator, and it comprises a USB (universal serial bus) upstream port 162, and one first universal serial bus downstream port one 641 and one second universal serial bus downstream port one 642.120 is the USB (universal serial bus) set composite of a routine, and it comprises a universal serial bus concentrator 130 and two universal serial bus devices 140 and 150.The function of universal serial bus concentrator 130 and structure promptly as universal serial bus concentrator, it comprises a USB (universal serial bus) upstream port 132, and a plurality of universal serial bus downstream ports, Fig. 1 for example in be one first universal serial bus downstream port one 341 and one second universal serial bus downstream port one 342; In USB (universal serial bus) set composite 120 inside, the downstream port 1341 of universal serial bus concentrator 130 is connected with 152 with 150 upstream port 142 with two universal serial bus devices 140 respectively with 1342; Whole USB (universal serial bus) set composite 120 externally then is connected with universal serial bus concentrator 160 with the upstream port 132 of universal serial bus concentrator 130.In the USB system 100 of Fig. 1, though do not need by another universal serial bus concentrator for the universal serial bus concentrator 130 that USB host 110 can be directly with USB (universal serial bus) set composite 120 is comprised links to each other, yet general USB host such as personal computer etc., all possess a universal serial bus concentrator that embeds, so still comprise universal serial bus concentrator 160 in the structure of the USB system 100 of Fig. 1.
See also Fig. 2.Fig. 2 is the method flow diagram of conventional USB host setting general-purpose serial bus set composite, this utilize the USB system 100 of routine shown in Figure 1 and each element of being comprised to clearly demonstrate conventional method flow.
Step 200: beginning;
Step 202: USB host 110 detects a new equipment 160;
Step 204: USB host 110 setting general-purpose serial bus hubs 160 are also obtained information;
Step 206: universal serial bus concentrator 160 detects a new equipment 130 and is connected in its first downstream port 1641;
Step 208: USB host 110 inquiry universal serial bus concentrators 160 are also obtained the information that its downstream port state changes;
Step 210: USB host 110 setting general-purpose serial bus hubs 130 are also obtained information;
Step 212: universal serial bus concentrator 130 detects a new equipment 140 and is connected in its first downstream port 1341;
Step 214: USB host 110 inquiry universal serial bus concentrators 130 are also obtained the information that its downstream port state changes;
Step 216: USB host 110 setting general-purpose serial bus devices 140 are also obtained information; USB host 110 given universal serial bus devices 140 1 unique addresses;
Step 218: universal serial bus concentrator 130 detects a new equipment 150 and is connected in its second downstream port 1342;
Step 220: USB host 110 inquiry universal serial bus concentrators 130 are also obtained the information that its downstream port state changes;
Step 222: USB host 110 setting general-purpose serial bus devices 150 are also obtained information; USB host 110 given universal serial bus devices 150 1 unique addresses;
Step 224: finish.
By the flow process of Fig. 2 as can be known, conventional USB (universal serial bus) set composite must be as USB (universal serial bus) set composite 120 shown in Figure 1, comprise one and embed universal serial bus concentrator, so that a plurality of universal serial bus devices that it comprised can be separately by USB host initialization correctly and setting address, USB host also could correctly be controlled a plurality of universal serial bus devices that this USB (universal serial bus) set composite is comprised, to its receiving and transmitting signal.Yet because conventional USB (universal serial bus) set composite must comprise a universal serial bus concentrator, its complex structure and make its cost improve naturally becomes a big shortcoming of manufacturing USB (universal serial bus) set composite in the routine techniques.
Summary of the invention
Therefore fundamental purpose of the present invention is to provide a USB (universal serial bus) set composite, one USB system that comprises this USB (universal serial bus) set composite with and control method, utilize a plurality of USB (universal serial bus) virtual benchs to set the included a plurality of universal serial bus devices of a USB (universal serial bus) set composite, to overcome the problem in the above-mentioned routine techniques.
The present invention discloses a USB (universal serial bus) (Universal Serial Bus, USB) system.This USB system comprises: at least one universal serial bus concentrator (USB Hub), a USB (universal serial bus) set composite (USB Compound Device), and the 4th a number USB (universal serial bus) virtual bench (USB dummy device).Wherein each universal serial bus concentrator comprises: a upstream port (upstream port) and a plurality of downstream port (downstream port), wherein this at least one universal serial bus concentrator is positioned at same one deck of this USB system, and this at least one universal serial bus concentrator comprises first number downstream port altogether.This USB (universal serial bus) set composite comprises: a upstream port, and one first downstream port that is used in first number downstream port with this at least one universal serial bus concentrator is connected; Second number universal serial bus device (USB device); And a control module, be used for setting the state of this second number universal serial bus device; Wherein this second number is not more than this first number, the state of each universal serial bus device in this second number universal serial bus device is set to unlatching in regular turn, and when wherein the state of a universal serial bus device was set as a unlatching and not designated as yet address, this universal serial bus device can be according to setting its address by the assigned address bag that upstream port received of this USB (universal serial bus) set composite.In first number downstream port of this at least one universal serial bus concentrator, the order that has the 3rd a number downstream port is positioned at after this first downstream port, and the 3rd number is not less than this second number and subtracts one.The 4th a number USB (universal serial bus) virtual bench is connected to respectively in first number downstream port of this at least one universal serial bus concentrator, be positioned at this first downstream port the 4th number downstream port afterwards, this USB (universal serial bus) virtual bench is used for when being connected in the downstream port of a universal serial bus concentrator, provide a link information (connection event) to this universal serial bus concentrator, wherein the 4th number subtracts one for this second number.
The present invention discloses a USB (universal serial bus) set composite in addition.This USB (universal serial bus) set composite comprises: a upstream port is used for being connected with a downstream port of a universal serial bus concentrator; A plurality of universal serial bus devices; One control module, be used for setting the state of these a plurality of universal serial bus devices, wherein the state of each universal serial bus device in these a plurality of universal serial bus devices is set to unlatching in regular turn, and when wherein the state of a universal serial bus device was set as a unlatching and not designated as yet address, this universal serial bus device can be according to setting its address by the assigned address bag that upstream port received of this USB (universal serial bus) set composite; And a USB (universal serial bus) virtual bench, be connected with a downstream port of second USB (universal serial bus) of universal serial bus concentrator with the USB (universal serial bus) upstream port that it was comprised, to provide a link information to this universal serial bus concentrator.
The present invention also discloses the method for the address of a setting general-purpose serial bus set composite.This method comprises: detect and connect a USB (universal serial bus) set composite of not setting and be connected in a downstream port; The detected USB (universal serial bus) set composite of initialization, and set this USB (universal serial bus) set composite one address; One first universal serial bus device that is comprised with this USB (universal serial bus) set composite of address setting of setting this USB (universal serial bus) set composite; With this USB (universal serial bus) set composite comprised one as yet not the state of the universal serial bus device of assigned address be made as unlatching; Detect a USB (universal serial bus) virtual bench of not setting and be connected in a downstream port; The detected USB (universal serial bus) virtual bench of initialization; And with this USB (universal serial bus) set composite of address setting of setting this detected USB (universal serial bus) virtual bench comprised one assigned address and state are not made as the universal serial bus device of unlatching as yet.
Since USB (universal serial bus) set composite provided by the present invention, USB system with and control method, utilize a plurality of USB (universal serial bus) virtual benchs to set the included a plurality of universal serial bus devices of a USB (universal serial bus) set composite, therefore made USB (universal serial bus) set composite of the present invention must as conventional technology, not embed a universal serial bus concentrator.The present invention has simplified the structure of USB (universal serial bus) set composite, has reduced the production cost of USB (universal serial bus) set composite.
Description of drawings
Fig. 1 is the synoptic diagram of the conventional USB system that comprises the USB (universal serial bus) set composite.
Fig. 2 sets the method flow diagram of a USB (universal serial bus) set composite for conventional USB system.
Fig. 3 is the synoptic diagram that comprises the USB system of USB (universal serial bus) set composite of the present invention.
Fig. 4 sets the method flow diagram of a USB (universal serial bus) set composite for USB system of the present invention.
Fig. 5 comprises the synoptic diagram of the USB system of USB (universal serial bus) set composite for of the present invention another.
Fig. 6 is the another synoptic diagram that comprises the USB system of USB (universal serial bus) set composite of the present invention.
Fig. 7 is of the present invention one synoptic diagram that comprises the USB (universal serial bus) set composite of wireless communication module.
The main element symbol description
100,300,500,600 USB systems
110,310,510,610 USB hosts
120,320,520,620,720 USB (universal serial bus) set composites
130,160,330,5310,5320, universal serial bus concentrator
5330,5340,630,730
140,150,340,350,540, universal serial bus device
55?0,580,64?0,650,740,750
132,142,152,162,322,332, the USB (universal serial bus) upstream port
342,352,372,522,5312,5322,
5332,5342,542,552,582,5712,
5722,642,652,632,622,672,
742,752,732,722,772
1341,1342,1641,1642, the universal serial bus downstream port
3341,3342,5314,5316,5324,
5326,5334,5336,5344,5346,
6341,6342,7341,7342
360,560,660,760 control modules
370,5710,5720,670,770 USB (universal serial bus) virtual benchs
700 radio universal serial bus set composites
690,790,890 wireless communication modules
Embodiment
See also Fig. 3.Fig. 3 is the synoptic diagram of USB system of the present invention.300 is a USB system, 310 is a USB host, 330 is a universal serial bus concentrator, and it comprises a USB (universal serial bus) upstream port 332, and one first universal serial bus downstream port 3341 and one second universal serial bus downstream port 3342.320 is USB (universal serial bus) set composite of the present invention, and it comprises 322, two universal serial bus devices 340 of a USB (universal serial bus) upstream port and 350, and a control module 360.As shown in Figure 3, the USB (universal serial bus) upstream port 322 that USB (universal serial bus) set composite 320 of the present invention is comprised is connected with the first universal serial bus downstream port 3341 of universal serial bus concentrator 330, and USB system of the present invention 300 is connected with the USB (universal serial bus) upstream port 372 that it was comprised a USB (universal serial bus) virtual bench 370 in addition with the second universal serial bus downstream port 3342 of universal serial bus concentrator 330.Because USB system is broadcasting (broadcast) signal system, therefore in USB (universal serial bus) set composite 320 inside, two universal serial bus devices 340 and 350 can both receive that USB host 310 is issued to the signal of USB (universal serial bus) upstream port 322 by universal serial bus concentrator 330, and control module 360 is used for being responsible for setting the state of two universal serial bus devices 340 and 350.Wherein, USB (universal serial bus) virtual bench 370 is used for when being connected in the downstream port of a universal serial bus concentrator, provides a link information (connection event) to this universal serial bus concentrator; Meaning is that USB host can detect a USB (universal serial bus) virtual bench, but in fact this USB (universal serial bus) virtual bench does not possess the function of any reality.Because USB (universal serial bus) set composite 320 of the present invention does not have the universal serial bus concentrator of embedding, therefore, when USB host 310 detects USB (universal serial bus) set composite 320, can whether not be connected with other universal serial bus devices toward lower floor again to its inquiry again with downstream port, and only can direct initialization and set an address and give USB (universal serial bus) set composite 320, continue detection and initialization afterwards again and be connected in universal serial bus concentrator 330 other universal serial bus devices of other downstream ports afterwards, promptly the USB (universal serial bus) virtual bench 370.In design of the present invention, first universal serial bus device 340 that USB (universal serial bus) set composite 320 is comprised can receive USB hosts 310 by its upstream port 342 and reach the signal of the upstream port 322 of USB (universal serial bus) set composite 320 by the downstream port 3341 of universal serial bus concentrator 330, and USB host 310 is established the address that is made as oneself to the address of USB (universal serial bus) set composite 320.All can receive each signal that USB host spreads out of owing to be positioned at arbitrary device of USB system, therefore second universal serial bus device 350 receives USB host 310 reaches the upstream port 322 of USB (universal serial bus) set composite 320 by the downstream port 3341 of universal serial bus concentrator 330 signal by its upstream port 352 equally, the state of each universal serial bus device that control module 360 then responsible control switching USB (universal serial bus) set composite 320 is comprised, make the state of second universal serial bus device 350 after first universal serial bus device 340 has been established the address, be set as unlatching, and USB host 310 is established the address that receives and be made as second universal serial bus device 350 to the address of USB (universal serial bus) virtual bench 370 this moment.After this, when USB host 310 thinks that itself and USB (universal serial bus) set composite 320 are linked up, first universal serial bus device 340 that USB (universal serial bus) set composite 320 is comprised is according to the specified address of signal, can be responded and links up with USB host 310; And when USB host 310 thinks that itself and USB (universal serial bus) virtual bench 370 are linked up, second universal serial bus device 350 that USB (universal serial bus) set composite 320 is comprised is promptly according to the specified address of signal, responded and links up with USB host 310.Meaning promptly is positioned at USB (universal serial bus) virtual bench 370 with one deck with one with USB (universal serial bus) set composite 320 by utilizing, and USB (universal serial bus) set composite 320 of the present invention must not embed a universal serial bus concentrator can make USB host 310 can correctly control this USB (universal serial bus) set composite 320 and link up mutually with each universal serial bus device that it is comprised.
See also Fig. 4.Fig. 4 is the method flow diagram of address of the setting general-purpose serial bus set composite of USB system of the present invention, this utilize USB system of the present invention 300 shown in Figure 3 and each element of being comprised to clearly demonstrate the method flow of setting general-purpose serial bus set composite of the present invention.
Step 400: beginning;
Step 410: USB host 310 detects a new equipment 330;
Step 420: USB host 310 setting general-purpose serial bus hubs 330 are also obtained information;
Step 430: universal serial bus concentrator 330 detects a new equipment 320 and is connected in its first downstream port 3341;
Step 440: USB host 310 inquiry universal serial bus concentrators 330 are also obtained the information that its downstream port state changes;
Step 450: USB host 310 setting general-purpose serial bus devices 340 are also obtained information; USB host 310 given universal serial bus devices 340 1 unique addresses; Control module 360 is made as unlatching with the state of universal serial bus device 350;
Step 460: universal serial bus concentrator 330 detects a new equipment 370 and is connected in its second downstream port 3342;
Step 470: USB host 310 inquiry universal serial bus concentrators 330 are also obtained the information that its downstream port state changes;
Step 480: USB host 310 setting general-purpose serial bus virtual benchs 370 are also obtained information; USB host 310 given USB (universal serial bus) virtual benchs 370 1 unique addresses; Universal serial bus device 350 receives the address of USB host 310 given USB (universal serial bus) virtual benchs 370 simultaneously and is made as the address of oneself;
Step 490: finish.
By the flow process of Fig. 4 as can be known, USB (universal serial bus) set composite of the present invention must not embed a universal serial bus concentrator, and can utilize a USB (universal serial bus) virtual bench that is external in one deck, make USB host correctly to set and to operate second universal serial bus device that USB (universal serial bus) set composite of the present invention is comprised with the address of given USB (universal serial bus) set composite and USB (universal serial bus) virtual bench.
USB (universal serial bus) set composite of the present invention can comprise two or more universal serial bus devices and must not embed universal serial bus concentrator, and the USB system that adopts USB (universal serial bus) set composite of the present invention need comprise in addition that the quantity of the universal serial bus device that the USB (universal serial bus) set composite is comprised subtracts one USB (universal serial bus) virtual bench, and these USB (universal serial bus) virtual benchs all are connected to and the downstream port of USB (universal serial bus) set composite with the universal serial bus concentrator of one deck, and wherein the ordering of the universal serial bus concentrator downstream port that connected of these USB (universal serial bus) virtual benchs is close to after the downstream port that the USB (universal serial bus) set composite is connected.
See also Fig. 5.Fig. 5 is the synoptic diagram of another preferred embodiment of USB system of the present invention.500 is a USB system, and 510 is a USB host.5310,5320,5330 and 5340 is four universal serial bus concentrators that are positioned at different layers, wherein 5312,5322,5332 and 5342 be respectively the USB (universal serial bus) upstream port that it comprises, and 5314,5316,5324,5326,5334,5336,5344 and 5346 are respectively the universal serial bus downstream port that it comprised in twos.520 is USB (universal serial bus) set composite of the present invention, and it comprises 522, three universal serial bus devices of a USB (universal serial bus) upstream port 540,550 and 580, and a control module 560.5710 and 5720 is two USB (universal serial bus) virtual benchs, respectively comprise a USB (universal serial bus) upstream port 5712 and 5722, and be connected to second downstream port 5336 of universal sequence hub 5330 and first downstream port 5344 of universal sequence hub 5340.As shown in Figure 5, the USB (universal serial bus) upstream port 522 that USB (universal serial bus) set composite 520 of the present invention is comprised is connected with the first universal serial bus downstream port 5334 of universal serial bus concentrator 5330, and is positioned at same one deck of USB system 500 with USB (universal serial bus) virtual bench 5710 and 5720.In USB (universal serial bus) set composite 520 inside, three universal serial bus devices 540,550 and 580 can both receive that USB host 510 is issued to the signal of USB (universal serial bus) upstream port 522 by each layer universal serial bus concentrator, and control module 560 is then set the state of three general serial bus devices 540,550 and 580.When USB host 510 detects USB (universal serial bus) set composite 520, can whether not be connected with other universal serial bus devices toward lower floor again to its inquiry again with downstream port, give USB (universal serial bus) set composite 520 and understand direct initialization and set an address, first universal serial bus device 540 that this moment, USB (universal serial bus) set composite 520 was comprised can receive the signal that USB hosts 510 transmit by its upstream port 542, and USB host 510 is established the address that is made as oneself to the address of USB (universal serial bus) set composite 520.Second universal serial bus device 550 and the 3rd general serial bus device 580 receive the signal that USB host 510 transmits by its upstream port 552 and 582 equally, but before first universal serial bus device 540 was not set the address as yet, the shape of second universal serial bus device 550 and the 3rd general serial bus device 580 can be set as closed and USB host 510 can not established the address that is made as oneself to the address of USB (universal serial bus) set composite 520.The state of each universal serial bus device that control module 560 responsible controls switching USB (universal serial bus) set composite 520 is comprised, control module 560 can be after the address setting of first universal serial bus device 540 be finished, with the state of second universal serial bus device 550 be made as open and the state with the 3rd general serial bus device 580 still kept for closing.USB host 510 begins to set the USB (universal serial bus) virtual bench 5710 that is connected in the downstream port of next cis-position of one deck after finishing setting general-purpose serial bus set composite 520; And second universal serial bus device 550 is set as at its state under the situation of unlatching promptly this moment, USB host 510 is established the address that receives and be made as oneself to the address of USB (universal serial bus) virtual bench 5710.In like manner, control module 560 can be after the address setting of second universal serial bus device 550 be finished, and the state of the 3rd general serial bus device 580 is made as unlatching; And USB host 510 is after finishing setting general-purpose serial bus virtual bench 5710, begins to set the USB (universal serial bus) virtual bench 5720 that is connected in the downstream port of next cis-position of one deck; And the 3rd general serial bus device 580 is set as at its state under the situation of unlatching promptly this moment, USB host 510 is established the address that receives and be made as oneself to the address of USB (universal serial bus) virtual bench 5720.After this, when USB host 510 thinks that itself and USB (universal serial bus) set composite 520 are linked up, first universal serial bus device 540 that USB (universal serial bus) set composite 520 is comprised is according to the specified address of signal, can be responded and links up with USB host 510; When USB host 510 thinks that itself and USB (universal serial bus) virtual bench 5710 are linked up, second universal serial bus device 550 that USB (universal serial bus) set composite 520 is comprised is promptly according to the specified address of signal, responded and links up with USB host 510; And when USB host 510 thinks that itself and USB (universal serial bus) virtual bench 5720 are linked up, the 3rd general serial bus device 580 that USB (universal serial bus) set composite 520 is comprised is promptly according to the specified address of signal, responded and links up with USB host 510.Example and above this explanation by Fig. 5 can be found out, to be positioned at USB (universal serial bus) virtual bench 5710 and 5720 with one deck with USB (universal serial bus) set composite 520 by utilizing, USB (universal serial bus) set composite 520 of the present invention must not embed a universal serial bus concentrator can make USB host 510 can correctly control this USB (universal serial bus) set composite 520 and link up mutually with each universal serial bus device that it is comprised; Again because USB system is handled the rule of downstream coupling arrangement, these USB (universal serial bus) virtual benchs must be positioned at one deck and be connected in cis-position and be right after downstream port after USB (universal serial bus) set composite 520 with USB (universal serial bus) set composite 520, the address that each universal serial bus device that USB (universal serial bus) set composite 520 is comprised could correctly be distributed to USB host 510 each USB (universal serial bus) virtual bench is made as the address of himself, and after initialization is finished, correctly link up mutually with USB host 510.
Along with the progress of various wireless technologys, at present computer peripheral also often utilize as radio frequency (RadioFrequency, RF) wireless mode such as technology is connected with main frame.Yet wireless communication module is the higher module of a cost, and in embedding one wireless communication module of USB (universal serial bus) set composite of the present invention, can help to reduce the quantity of the wireless communication module of whole required use, reduces the cost of computer peripheral.See also Fig. 6.Fig. 6 comprises a synoptic diagram of USB system with set composite of wireless communication module.600 is a USB system, and 610 is a USB host.630 is a universal serial bus concentrator, and it comprises a USB (universal serial bus) upstream port 632, one first universal serial bus downstream ports 6341 and one second universal serial bus downstream port 6342.620 are the USB (universal serial bus) set composite that possesses wireless communication module of the present invention, and it comprises 622, two universal serial bus devices 640 of a USB (universal serial bus) upstream port and 650, one control modules 660, and a wireless communication module 690.670 is a USB (universal serial bus) virtual bench, its function and in USB system 600 institute's role identical with the USB (universal serial bus) virtual bench 370 shown in Fig. 3.800 is a wireless set composite, and it comprises a wireless communication module 890, stream oriented device 810 and 820.In USB system 600, USB host 610 detects and detects identical with setting general-purpose serial bus hub 330, USB (universal serial bus) set composite 320 and USB (universal serial bus) virtual bench 370 with the method and the USB host shown in Fig. 3 310 of setting general-purpose serial bus hub 630, USB (universal serial bus) set composite 620 and USB (universal serial bus) virtual bench 670.And in Fig. 6, USB (universal serial bus) set composite 620 can be sent to by wireless communication module 690 these signals the wireless communication module 890 of wireless set composite 800 when the signal that receives USB host 610 two universal serial bus devices 640 and 650 passed to (being to receive the signal that USB host 610 is passed to universal serial bus device 640 and USB (universal serial bus) virtual bench 670 in fact) with wireless signal.Wireless set composite 800 can demodulate universal serial bus signal after its wireless communication module 890 receives wireless signal, again according to its device that is comprised 810 of this signal controlling and device 820.The device 810 that is comprised when wireless set composite 800 is with device 820 tendency to develop feed signals during to USB host 610, then send out the wireless communication module 690 of wireless signal to USB (universal serial bus) set composite 620 by wireless communication module 890, and again that it is the received wireless signal of wireless communication module 690 is demodulated into universal serial bus signal, its universal serial bus device that is comprised 640 and 650 of control of USB (universal serial bus) set composite 620 meeting certificates sends a signal to USB host 610 with the method described in Fig. 3 toward the upstream.From the above, USB (universal serial bus) set composite 620 of the present invention can help to reduce as the set composite of wireless set composite 800 quantity of needed wireless communication module.In Fig. 6, though wireless set composite 800 comprises multiple arrangement, yet because utilized the structure of USB (universal serial bus) set composite of the present invention, its only need use the single wireless communication module with USB (universal serial bus) set composite 620 of the present invention comprised the single wireless communication module and be connected to each other communication, can be connected to USB system 600.
As shown in Figure 6, utilize USB (universal serial bus) set composite 620 of the present invention to comprise single wireless communication module 690, collocation can make wireless set composite 800 only need use single wireless communication module 890 to get final product wireless connections in total system with a USB (universal serial bus) virtual bench 670; Wherein USB (universal serial bus) set composite 620 can use radio frequency, infrared ray with wireless set composite 800 or use the mutual wireless connections of wireless communication module of other wireless technologys.The USB (universal serial bus) set composite that comprises the single wireless communication module of the present invention still can be combined and become a single product with a universal serial bus concentrator and a USB (universal serial bus) virtual bench, with more convenient use.See also Fig. 7.700 is one in conjunction with USB (universal serial bus) set composite of the present invention, a USB (universal serial bus) virtual bench, a universal serial bus concentrator, and possesses the synoptic diagram of the radio universal serial bus set composite of a wireless communication module.730 is a universal serial bus concentrator, and it comprises a USB (universal serial bus) upstream port 732, one first universal serial bus downstream ports 7341 and one second universal serial bus downstream port 7342.720 are the USB (universal serial bus) set composite that possesses wireless communication module of the present invention, and it comprises 722, two universal serial bus devices 740 of a USB (universal serial bus) upstream port and 750, one control modules 760, and a wireless communication module 790.770 is a USB (universal serial bus) virtual bench.When desire is used a wireless set composite, the user can be connected to radio universal serial bus set composite 700 of the present invention a downstream port of a USB system, and then this USB system can use the wireless set composite wireless connections communication each other of same wireless technology by radio universal serial bus set composite 700 and this.Radio universal serial bus set composite 700 as shown in Figure 7 can be simplified the structure of whole USB system, make the user can be merely and easily realize the function of wireless connections, do not need manually external as the USB (universal serial bus) virtual bench etc. with this single product.For instance, one comprises the game console (Game Pad) of a voice communication assembly and a memory storage, it is a set composite, if desire is with this game console wireless penetration, then can utilize technology of the present invention, make a product with structure as shown in Figure 7, directly the device 700 of Fig. 7 is connected on the USB system to make things convenient for the consumer, can this wireless game controller of wireless connection control.Wherein, in Fig. 6 and system shown in Figure 7 and device, the wireless communication module that it comprised can use as radio frequency wireless interface standards such as blue bud or Wireless LANs, also can use other as wireless technologys such as infrared rays.
Compare with routine techniques, USB (universal serial bus) set composite of the present invention must not embed a universal serial bus concentrator, and be responsible for the state of a plurality of universal serial bus devices that the setting general-purpose serial bus set composite comprised with a control module, setting state that in regular turn will these a plurality of universal serial bus devices is for opening, make that this universal serial bus device can be according to setting its address by the assigned address bag that upstream port received of this USB (universal serial bus) set composite when wherein the state of a universal serial bus device is set as a unlatching and not designated as yet address; Arrange in pairs or groups again to be positioned at USB (universal serial bus) virtual bench with one deck with the USB (universal serial bus) set composite, the present invention promptly makes a plurality of universal serial bus devices that the USB (universal serial bus) set composite is comprised with this mechanism, can be respectively be used for setting address originally with USB host in regular turn, be made as the address of oneself and successfully correctly link up with this and USB host to the USB (universal serial bus) virtual bench.And based on the detection of USB system defined and the Cahn-Ingold-Prelog sequence rule of the following bed device of setting, among the present invention, each USB (universal serial bus) virtual bench need be connected in the downstream port of the same one deck that is next to USB (universal serial bus) set composite of the present invention, so that USB host can correctly be set.USB (universal serial bus) set composite of the present invention is still extendible and possess a wireless communication module, so that a set composite can be connected in USB system with wireless mode by the single wireless communication module; Be that the present invention can reduce the quantity of required wireless communication module effectively and can reduce cost.
In sum, the invention provides a USB (universal serial bus) set composite that need not embed universal serial bus concentrator, and utilize to be positioned at the USB (universal serial bus) set composite with the USB (universal serial bus) virtual bench of one deck so that each universal serial bus device that USB host can the setting general-purpose serial bus set composite be comprised, and can be correctly to its receiving and transmitting signal.USB (universal serial bus) set composite provided by the present invention has successfully been simplified the structure of USB (universal serial bus) set composite complexity in the routine techniques, thereby reduced the manufacturing cost of USB (universal serial bus) set composite, the popularization that helps the application of USB (universal serial bus) set composite is with universal, for example as the USB (universal serial bus) input media that includes USB (universal serial bus) trace ball and universal series bus key dish, wireless set composite, or picture uses the personal computer game control device of universal serial bus specification, all can must simplify and help its development because of design of the present invention.
The above only is preferred embodiment of the present invention, and all equivalences of carrying out according to claim of the present invention change and revise, and all should belong to covering scope of the present invention.

Claims (17)

1. USB system, it comprises:
At least one universal serial bus concentrator, wherein each universal serial bus concentrator comprises:
One upstream port; And
A plurality of downstream ports;
Wherein this at least one universal serial bus concentrator is positioned at same one deck of this USB system, and this at least one universal serial bus concentrator comprises first number downstream port altogether;
One USB (universal serial bus) set composite, it comprises:
One upstream port, one first downstream port that is used in first number downstream port with this at least one universal serial bus concentrator is connected;
Second number universal serial bus device, wherein this second number is not more than this first number; And
One control module, be used for setting the state of this second number universal serial bus device, wherein the state of each universal serial bus device in this second number universal serial bus device is set to unlatching in regular turn, and when wherein the state of a universal serial bus device was set as a unlatching and not designated as yet address, this universal serial bus device can be according to setting its address by the assigned address bag that upstream port received of this USB (universal serial bus) set composite;
Wherein, in first number downstream port of this at least one universal serial bus concentrator, the order that has the 3rd a number downstream port is positioned at after this first downstream port, and the 3rd number is not less than this second number and subtracts one; And
The 4th a number USB (universal serial bus) virtual bench, be connected to respectively in first number downstream port of this at least one universal serial bus concentrator, be positioned at this first downstream port the 4th number downstream port afterwards, this USB (universal serial bus) virtual bench is used for when being connected in the downstream port of a universal serial bus concentrator, provide a link information to this universal serial bus concentrator, wherein the 4th number subtracts one for this second number.
2. the system as claimed in claim 1, wherein second number universal serial bus device of this USB (universal serial bus) set composite comprises a universal series bus key dish and a USB (universal serial bus) trace ball.
3. the system as claimed in claim 1, wherein this first number is 2, this second number is that 2, the three numbers are 1, and the 4th number is 1.
4. the system as claimed in claim 1, wherein this USB (universal serial bus) set composite is a universal series bus computer or Console Game control device.
5. the system as claimed in claim 1, wherein second number universal serial bus device that comprised of this USB (universal serial bus) set composite comprises a USB (universal serial bus) memory bank and a USB (universal serial bus) communicator.
6. the system as claimed in claim 1, wherein second number universal serial bus device that comprised of this USB (universal serial bus) set composite comprises a USB (universal serial bus) game console and a USB (universal serial bus) communicator.
7. the system as claimed in claim 1, wherein this USB (universal serial bus) set composite also comprises a wireless communication module, is used for wireless connections one device.
8. system as claimed in claim 7, wherein this wireless communication module is a radio-frequency communication module, is used for this device of radiofrequency signal wireless connections.
9. USB (universal serial bus) set composite, it comprises:
One upstream port is used for being connected with a downstream port of first USB (universal serial bus) of a universal serial bus concentrator;
A plurality of universal serial bus devices;
One control module, be used for setting the state of these a plurality of universal serial bus devices, wherein the state of each universal serial bus device in these a plurality of universal serial bus devices is set to unlatching in regular turn, and when wherein the state of a universal serial bus device was set as a unlatching and not designated as yet address, this universal serial bus device can be according to setting its address by the assigned address bag that upstream port received of this USB (universal serial bus) set composite; And
One USB (universal serial bus) virtual bench is connected with a downstream port of second USB (universal serial bus) of universal serial bus concentrator with the USB (universal serial bus) upstream port that it was comprised, to provide a link information to this universal serial bus concentrator.
10. USB (universal serial bus) set composite as claimed in claim 9, wherein these a plurality of universal serial bus devices comprise a universal series bus key dish and a USB (universal serial bus) trace ball.
11. USB (universal serial bus) set composite as claimed in claim 9, it is a universal series bus computer or Console Game control device.
12. USB (universal serial bus) set composite as claimed in claim 9, wherein these a plurality of universal serial bus devices comprise a USB (universal serial bus) memory bank and a USB (universal serial bus) communicator.
13. USB (universal serial bus) set composite as claimed in claim 9, wherein these a plurality of universal serial bus devices comprise a USB (universal serial bus) game console and a USB (universal serial bus) communicator.
14. USB (universal serial bus) set composite as claimed in claim 9, it also comprises a wireless communication module, is used for wireless connections one device.
15. USB (universal serial bus) set composite as claimed in claim 14, wherein this wireless communication module is a radio-frequency communication module, is used for this device of radiofrequency signal wireless connections.
16. the method for the address of a setting general-purpose serial bus set composite, it comprises the following step:
(a) detect and connect a USB (universal serial bus) set composite of not setting and be connected in a downstream port;
(b) the detected USB (universal serial bus) set composite of initialization step (a), and set this USB (universal serial bus) set composite one address;
(c) one first universal serial bus device that is comprised with this USB (universal serial bus) set composite of address setting of setting this USB (universal serial bus) set composite;
(d) this USB (universal serial bus) set composite is comprised one as yet not the state of the universal serial bus device of assigned address be made as unlatching;
(e) detect a USB (universal serial bus) virtual bench of not setting and be connected in a downstream port;
(f) the detected USB (universal serial bus) virtual bench of initialization step (e); And
(g) with this USB (universal serial bus) set composite of address setting of setting the detected USB (universal serial bus) virtual bench of this step (e) comprised one assigned address and state are not made as the universal serial bus device of unlatching as yet.
17. method as claimed in claim 16, it also comprises the following step:
(h) universal serial bus signal received of the universal serial bus device that this USB (universal serial bus) set composite is comprised is modulated to wireless signal, is wirelessly transmitted to a set composite again; And
(i) wireless signal that this USB (universal serial bus) set composite is received is modulated to universal serial bus signal.
CNB2004100687725A 2004-09-06 2004-09-06 Universal series bus system, composite device and method for setting composite device address Expired - Fee Related CN100354848C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100687725A CN100354848C (en) 2004-09-06 2004-09-06 Universal series bus system, composite device and method for setting composite device address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100687725A CN100354848C (en) 2004-09-06 2004-09-06 Universal series bus system, composite device and method for setting composite device address

Publications (2)

Publication Number Publication Date
CN1746875A CN1746875A (en) 2006-03-15
CN100354848C true CN100354848C (en) 2007-12-12

Family

ID=36166416

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100687725A Expired - Fee Related CN100354848C (en) 2004-09-06 2004-09-06 Universal series bus system, composite device and method for setting composite device address

Country Status (1)

Country Link
CN (1) CN100354848C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5139579B2 (en) * 2009-07-08 2013-02-06 アライドテレシスホールディングス株式会社 Network concentrator and control method therefor
CN103052050A (en) * 2011-10-12 2013-04-17 艾欧互联有限公司 Concentrator device and method for establishing online automatically through the concentrator
TWI647571B (en) * 2017-09-20 2019-01-11 旺玖科技股份有限公司 Usb hub

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417985A (en) * 2001-11-08 2003-05-14 旺玖科技股份有限公司 Universal serial bus synthesizer and synthesis method
US20040133708A1 (en) * 2003-01-06 2004-07-08 Netchip Technology, Inc. Virtual endpoint for USB devices
US6769622B1 (en) * 2003-03-14 2004-08-03 Stmicroelectronics, Inc. System and method for simulating universal serial bus smart card device connected to USB host

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1417985A (en) * 2001-11-08 2003-05-14 旺玖科技股份有限公司 Universal serial bus synthesizer and synthesis method
US20040133708A1 (en) * 2003-01-06 2004-07-08 Netchip Technology, Inc. Virtual endpoint for USB devices
US6769622B1 (en) * 2003-03-14 2004-08-03 Stmicroelectronics, Inc. System and method for simulating universal serial bus smart card device connected to USB host

Also Published As

Publication number Publication date
CN1746875A (en) 2006-03-15

Similar Documents

Publication Publication Date Title
US11176071B2 (en) USB signal switch circuitry using standard USB hub and method of operation the same
CN101772955B (en) Operation of media interface to provide bidirectional communications
CN106815157A (en) A kind of data acquisition module and data collecting system
US7353315B2 (en) Bus controller with virtual bridge
CN103902488B (en) The method and system utilizing USB-OTG to extend other interfaces based on android system
CN107003970A (en) The transceiver interconnected by USB c-types is multiplexed
CN105955690B (en) A kind of computer multi-screen switching device and method
CN108885601A (en) The more host end point reflector hubs of USB
CA2521659A1 (en) System packet interface
US8935445B2 (en) Multi-computers network sharing system having plug-and-play interfaces
CN102665302B (en) A kind of wireless communication system
US7188206B2 (en) USB compound device without embedded hub and implement method in USB system
US20180220069A1 (en) Camera and integrated circuit board
CN100354848C (en) Universal series bus system, composite device and method for setting composite device address
CN107797951A (en) Display device and electronic apparatus switcher
CN102193503A (en) Industrial control mainboard and method thereof for identifying external device
CN101562571B (en) Kvm extender system and local, remote modules thereof
US20160246752A1 (en) Integrated Circuit and Associated Apparatus
CN104737141B (en) Condition configuration signal based on equipment
CN104900045B (en) A kind of method for transmitting signals, electronic equipment and control system
CN104133792B (en) RSB communication method and RSB communication system
CN201222250Y (en) Multicomputer switching device with data transmission function between computers
CN201213265Y (en) Shared interface device for Ethernet power supply and wireless network module
TWI621950B (en) Electronic device connecting system and method
CN105988555A (en) Mobile computer expansion device capable of switching wireless/wired transmission mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071212