CN201035568Y - USB equipment logical numbering and physical numbering mapping device - Google Patents
USB equipment logical numbering and physical numbering mapping device Download PDFInfo
- Publication number
- CN201035568Y CN201035568Y CNU2006200166915U CN200620016691U CN201035568Y CN 201035568 Y CN201035568 Y CN 201035568Y CN U2006200166915 U CNU2006200166915 U CN U2006200166915U CN 200620016691 U CN200620016691 U CN 200620016691U CN 201035568 Y CN201035568 Y CN 201035568Y
- Authority
- CN
- China
- Prior art keywords
- usb
- point
- hub
- numbering
- equipment
- 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
Links
- 238000013507 mapping Methods 0.000 title claims abstract description 20
- 230000003760 hair shine Effects 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 101000785712 Homo sapiens Zinc finger protein 282 Proteins 0.000 description 3
- 102100026417 Zinc finger protein 282 Human genes 0.000 description 3
- 101100225042 Arabidopsis thaliana ECI3 gene Proteins 0.000 description 2
- 101150093676 HUB2 gene Proteins 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The utility model discloses a device of USB equipment which the logical number and the physical number are mapped, and the device comprises a USB main controller which is integrated in a host computer; the USB and HUB is connected with the USB main controller point to point through a data line; each USB and HUB terminal port is connected with the external equipment point to point; the one-to-one mapping of the logical number and the physical number of the USB equipment can be achieved by enumerating each terminal port of the HUB. The logical number which is matched with each USB line is unnecessarily memorized by line producing worker, thus the burden of workers can be lightened, and the production efficiency is improved; the operation of other equipment which download can not be affected because of the downloading failure of certain equipment, thus the cost is reduced, and the scale of production is increased.
Description
Technical field
The utility model relates to the usb hub technology, relates in particular to the device of a kind of USB device logical number and physics numbering mapping.
Background technology
Generally speaking, handset production line is by the UART mobile phone program download.Along with development in science and technology, smart mobile phone is more and more universal, the smart mobile phone function from strength to strength, data downloaded is also increasing, more than the possible 50M.At this moment, use UART to download, maximum download rate reaches 192600bps, will reduce production efficiency, though the UART apparatus logic number is all fixed with port numbers, promptly shines upon one by one.Existing use USB device, minimum-rate can reach 1.2Mbps.Have 4 interfaces such as USB HUB equipment, USB HUB equipment is connected on the computer, and each port in the USB HUB equipment all is sequential.Each port connects the download line from USB HUB equipment, compiles successively and goes up sequence number A, B, C, D, forms the physics numbering.
To download line at every turn and be connected with the mobile phone bare board, computer is installed the USB device driver automatically, and the index that can enumerate based on 0 beginning this moment visits logical device, sets up downloading and being connected of PC program in the mobile phone.
General, will connect the mobile phone bare board from the download line that port A, B, C, D connect in turn, will produce the index information 0,1,2,3 of logical device in turn, set up mapping relations A<-0 like this, B<-1, C<-2, D<-3.If in the downloading process, B, D interface have been downloaded and finished, the index information 1,3 of logical device will be released, and waits for rebuliding contact when connecting next time.If the D port connects the mobile phone bare board earlier, the B port connects the mobile phone bare board more then, will set up new mapping relations A<-0 like this, B<-3, C<-2, D<-1.At this moment, produce the mapping relations that lineman people must remember dynamic change constantly, certain mobile phone-downloaded failure on the line is produced in so easy identification, not so all mobile phone all will stop to download, all need download once more, influence production efficiency greatly, also increase the workload of producing lineman people simultaneously greatly.
Summary of the invention
The technical problems to be solved in the utility model provides the device of a kind of USB device logical number and the mapping of physics numbering, make mobile phone produce line the time by the USB device mobile phone program download, need not to produce the logical number that lineman's man-hour engraves every USB line correspondence, also can not influence the equipment operation that other is being downloaded simultaneously because of certain device downloads failure.
For solving the problems of the technologies described above, the purpose of this utility model is achieved through the following technical solutions.
The device of a kind of USB device logical number and the mapping of physics numbering comprises:
Be integrated in the USB master controller in the host computer;
USB HUB is connected with the USB master controller is point-to-point by data line; Each USB HUB port is connected with external equipment is point-to-point; And, realize the mapping one by one of USB device logical number and physics numbering by enumerating each port of HUB.
Wherein, described USB master controller is by data line and point-to-point connection of one or more USB HUB.
Wherein, described USB master controller port directly is connected with external equipment is point-to-point.
Wherein, described USB master controller is with HCD1, and HCD2 names.
In the utility model, device by the mapping of USB device logical number and physics numbering makes realizes that when mobile phone program download USB logical number and physics numbering shine upon one by one, thereby need not to produce the logical number that lineman's man-hour engraves every USB line correspondence, alleviate workman's burden, enhance productivity;
Owing to realized the mapping one by one of USB logical number and physics numbering, making can not influence the equipment operation that other is being downloaded because of certain device downloads failure in downloading process, thereby reduces cost, improves production scale.
Description of drawings
Fig. 1 is the utility model structural drawing;
Embodiment
For ease of the utility model is further understood, now in conjunction with the accompanying drawings the utility model is described in detail.
See also the utility model structural drawing shown in Figure 1, comprising: be integrated in have on USB master controller 101 in the main frame, the USB master controller 101 a plurality of tie points respectively with HUB1, HUB2,1 point-to-point connection of equipment; HUB1 and 102 point-to-point connections of equipment complex; HUB2 and equipment 2,3 point-to-point connections of equipment; By enumerating USB controller 101-〉enumerate USB HUB1, USBHUB2-on this controller〉enumerate each port of HUB, check whether each port of HUB connects, with the index of port numbers as logical device, visit the USB logical device in this way, realize the mapping one by one of port numbers and logical device index.
The USB master controller is with HCD1 in the utility model, and names such as HCD2 by the controller title, are opened the USB master controller.Use DeviceIoControl to obtain its driver name, and the title of the HUB that is connected with it and identifier, according to identifier visit USB HUB equipment, obtain the HUB relevant information then.Whether enumerate the facility information that each port of HUB can obtain to connect again, analyzing is USBHUB or USB device.If USB device, by the facility information that connects, as the USB device title, whether be the USB device of mobile phone-downloaded, so can obtain port numbers, be the numbering of benchmark based on index 0 promptly if analyzing.So just can realize the mapping one by one of port numbers and logical device index.If HUB also needs to continue to enumerate the facility information that each port of HUB can obtain to connect.Until having enumerated all of the port information that belongs to this HUB.
Now further specify in conjunction with specific embodiments, when handset production line is passed through USB master controller mobile phone program download, supposing has a USB HUB under the USB master controller, this equipment has 4 ports, each interface connects a mobile phone bare board, and compile successively and go up sequence number A, B, C, D formation physics numbering, obtaining each port connection mobile phone bare board information by enumerating this each port of USB HUB, is 0,1 thereby obtain index information, 2,3 numbering is set up mapping relations A<-0, B<-1 like this, C<-2, D<-3.If in the downloading process, B, D interface have been downloaded and finished, the index information 1,3 of logical device will be released, and waits for rebuliding contact when connecting next time.If the D port connects the mobile phone bare board earlier, the B port connects the mobile phone bare board more then, then earlier obtain identifier by the D port of enumerating USB HUB, obtaining index information that the D port connects the mobile phone bare board according to this identifier is 3 numbering, obtain identifier by the B port of enumerating USB HUB equally again, obtaining index information that the B port connects the mobile phone bare board according to this identifier is 1 numbering, the mapping relations that rebulid so still are A<-0, B<-1, C<-2, D<-3, thereby realize the mapping one by one of USB device logical number and physics numbering, need not to produce the logical number that lineman's man-hour engraves every USB line correspondence, if and certain mobile phone bare board failed download in the downloading process, only need take off this mobile phone bare board, change a new mobile phone bare board again or insert this mobile phone bare board again and get final product, need not to close current other mobile phone bare board of downloading.
More than the device of a kind of USB device logical number provided by the utility model and physics numbering mapping is described in detail, used specific case herein principle of the present utility model and embodiment are set forth, the explanation of above embodiment just is used for helping to understand core concept of the present utility model; Simultaneously, for one of ordinary skill in the art, according to thought of the present utility model, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as restriction of the present utility model.
Claims (3)
1. the device of USB device logical number and physics numbering mapping is characterized in that, comprising:
Be integrated in the USB master controller in the host computer;
USB HUB is connected with the USB master controller is point-to-point by data line; Each USB HUB port is connected with external equipment is point-to-point; And, realize the mapping one by one of USB device logical number and physics numbering by enumerating each port of HUB.
2. USB device logical number and physics are numbered the device that shines upon according to claim 1, it is characterized in that described USB master controller is by data line and point-to-point connection of one or more USB HUB.
3. USB device logical number and physics are numbered the device that shines upon according to claim 1, it is characterized in that described USB master controller port directly is connected with external equipment is point-to-point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2006200166915U CN201035568Y (en) | 2006-12-22 | 2006-12-22 | USB equipment logical numbering and physical numbering mapping device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNU2006200166915U CN201035568Y (en) | 2006-12-22 | 2006-12-22 | USB equipment logical numbering and physical numbering mapping device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN201035568Y true CN201035568Y (en) | 2008-03-12 |
Family
ID=39196459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNU2006200166915U Expired - Fee Related CN201035568Y (en) | 2006-12-22 | 2006-12-22 | USB equipment logical numbering and physical numbering mapping device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN201035568Y (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751349B (en) * | 2008-12-01 | 2012-04-18 | 海华科技股份有限公司 | Virtual USB interface coding method and computer readable medium thereof |
CN103546704A (en) * | 2013-07-02 | 2014-01-29 | Tcl集团股份有限公司 | Method and television for recognizing USB (universal serial bus) devices plugged in television |
CN104182298A (en) * | 2014-07-10 | 2014-12-03 | 汉柏科技有限公司 | Method for generating name of USB (universal serial bus) equipment and computer |
CN104182369A (en) * | 2013-05-23 | 2014-12-03 | 中兴通讯股份有限公司 | Method for searching terminal on upper computer and upper computer |
CN104281457A (en) * | 2013-07-02 | 2015-01-14 | 安凯(广州)微电子技术有限公司 | Data downloading method and device |
CN103955442B (en) * | 2014-05-04 | 2016-09-28 | 飞天诚信科技股份有限公司 | A kind of method of work of USB device process units |
CN107992435A (en) * | 2017-12-01 | 2018-05-04 | 深圳航天信息有限公司 | The method that can access more tax control special equipments |
CN108829623A (en) * | 2018-06-20 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of USB port adaptation method and device |
CN110795378A (en) * | 2019-09-20 | 2020-02-14 | 深圳震有科技股份有限公司 | Equipment number distribution method of serial equipment, intelligent terminal and storage medium |
-
2006
- 2006-12-22 CN CNU2006200166915U patent/CN201035568Y/en not_active Expired - Fee Related
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101751349B (en) * | 2008-12-01 | 2012-04-18 | 海华科技股份有限公司 | Virtual USB interface coding method and computer readable medium thereof |
CN104182369A (en) * | 2013-05-23 | 2014-12-03 | 中兴通讯股份有限公司 | Method for searching terminal on upper computer and upper computer |
CN103546704A (en) * | 2013-07-02 | 2014-01-29 | Tcl集团股份有限公司 | Method and television for recognizing USB (universal serial bus) devices plugged in television |
CN104281457A (en) * | 2013-07-02 | 2015-01-14 | 安凯(广州)微电子技术有限公司 | Data downloading method and device |
CN103955442B (en) * | 2014-05-04 | 2016-09-28 | 飞天诚信科技股份有限公司 | A kind of method of work of USB device process units |
CN104182298A (en) * | 2014-07-10 | 2014-12-03 | 汉柏科技有限公司 | Method for generating name of USB (universal serial bus) equipment and computer |
CN107992435A (en) * | 2017-12-01 | 2018-05-04 | 深圳航天信息有限公司 | The method that can access more tax control special equipments |
CN108829623A (en) * | 2018-06-20 | 2018-11-16 | 郑州云海信息技术有限公司 | A kind of USB port adaptation method and device |
CN110795378A (en) * | 2019-09-20 | 2020-02-14 | 深圳震有科技股份有限公司 | Equipment number distribution method of serial equipment, intelligent terminal and storage medium |
CN110795378B (en) * | 2019-09-20 | 2023-03-21 | 深圳震有科技股份有限公司 | Equipment number distribution method of serial equipment, intelligent terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN201035568Y (en) | USB equipment logical numbering and physical numbering mapping device | |
CN101901539B (en) | Electric energy meter reading method for customizing meter reading contents based on configuration file | |
CN103595717B (en) | Household appliance control protocol conversion method and control terminal | |
CN102014118B (en) | Method for reading multiple electric energy meters generally | |
CN111563075B (en) | Service verification system, method and equipment and storage medium | |
CN103605359A (en) | Automobile diagnostic system and method | |
CN105259834B (en) | A kind of data in mobile phone acquisition controller of firmware restructural | |
CN103471656B (en) | One realizes sensor multilevel cascade connection device and method | |
CN102609222A (en) | Flash memory control method based on command descriptors | |
CN104010005A (en) | Method and system supporting access of sensors of different types | |
CN106095376A (en) | A kind of implementation method of quick configuration monitoring picture | |
CN102801818A (en) | Universal sensor interface acquisition system based on ZigBee technology | |
CN204331878U (en) | Control circuit in a kind of managing system of car parking | |
CN102929817A (en) | Heterogeneous model information automatic configuring method based on GPIO (general purpose input/output) | |
CN104516736A (en) | Development platform of after-sale diagnosis system | |
CN100403039C (en) | Method for checking circuit schematic diagram | |
CN101788946B (en) | Method and device for sintering firmware connected with E2PROM (Electrically Erasable Programmable Read-Only Memory) on CPLD (Complex Programable Logic Device) | |
CN203219328U (en) | Multiplex communication protocol converter | |
CN101908985B (en) | A kind of method of message checking and device | |
CN103856466A (en) | Acquisition terminal device capable of configuring protocols automatically | |
CN110532010A (en) | A kind of method of the volume production device upgrading solid state hard disk of band USB | |
CN103345413A (en) | Method and device for updating codes and electronic equipment | |
CN203894594U (en) | Control device for multi-interface communication, environment control device and functional board | |
CN116095191A (en) | Wireless communication method, system and storage medium of zigbee bridging data | |
CN107636632B (en) | Method and system for identifying liquid crystals of different manufacturers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20080312 Termination date: 20111222 |