CN1828562A - USB device, USB system and USB control method - Google Patents

USB device, USB system and USB control method Download PDF

Info

Publication number
CN1828562A
CN1828562A CN 200610008082 CN200610008082A CN1828562A CN 1828562 A CN1828562 A CN 1828562A CN 200610008082 CN200610008082 CN 200610008082 CN 200610008082 A CN200610008082 A CN 200610008082A CN 1828562 A CN1828562 A CN 1828562A
Authority
CN
China
Prior art keywords
usb device
principal computer
usb
identification number
type
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.)
Granted
Application number
CN 200610008082
Other languages
Chinese (zh)
Other versions
CN100585577C (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Publication of CN1828562A publication Critical patent/CN1828562A/en
Application granted granted Critical
Publication of CN100585577C publication Critical patent/CN100585577C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention provides a technology which is characterized in that: when inserting other USB device with the type same to that of used device, or inserting it into different port, there is no need to reassemble drive program and reset about it. When USB device 1 is connected with master computer 6, the identification code same to that of other USB device, together with producing source identification information and type identification information will be sent back, according to sending request from master computer 6. When other USB device of same type is connected with master computer, other identification code different from said common identification code will be sent back again, according to request from master computer, then master computer can distinguish the two devices.

Description

USB device, USB system and USB control method
Technical field
The present invention relates to be connected the USB device of operating, USB system and USB control method with principal computer by USB (Universal Serial Bus).
Background technology
Past is in the USB port by principal computer, when connecting the USB device of a plurality of same types, in corresponding USB device, has intrinsic identification number, when being connected, with this identification number notice principal computer with principal computer, thus, carry out the identification of corresponding USB device.
Such as, in the scheme of following patent documentation 1 (TOHKEMY 2001-144769 document), in corresponding USB device, setting makes it have intrinsic identification number by the body identification number setting apparatus that biserial switch, non-volatile ROM etc. form, when inserting each USB device, principal computer is with the body identification number, receive with manufacturing source identifying information, type identification information, according to it, the device of designated communication object.
In addition, in the scheme of following patent documentation 2 (TOHKEMY 2003-316720 document), the sequence number of the parts that corresponding USB device is adopted is as the identification number of USB device, when inserting each USB device, principal computer receives this identification number, according to it, the device of designated communication object.
Patent documentation 1:JP spy opens the 2001-144769 document
Patent documentation 2:JP spy opens the 2003-316720 document
The disclosure of an invention scheme
The problem that invention will solve
But, in above-mentioned USB device, if in 1 principal computer, adopt the USB device of its type and identical other that formerly uses, because this principal computer is identified as other equipment with them, thus necessarily require to carry out once more driver installation, reach various settings, complex operation.
On the other hand, can be not the identification number of corresponding device thereof not be returned to principal computer yet, so, then owing to the USB device with same type is identified as identical goods, even so under the situation of other USB device that inserts same type, still can not require one by one to carry out the installation of driver, various setting.But, even under the situation of same goods,, be identified as other goods owing to insert different ports, thus still require to carry out driver installation, reach various settings.
The objective of the invention is at such problem, even in computing machine, insert under the situation of its type and the USB device of identical other that formerly uses, or the USB device that will formerly use inserts under the situation of different ports, also needn't carry out installation, and the various settings of driver again.
Be used to solve the technical scheme of problem
In order to solve above-mentioned problem, the described invention of the application's claim 1 is characterised in that when being connected with principal computer, according to transmission request from principal computer, will be with making source identifying information, type identification information and returning with the common identification number of other USB device.
In addition, the described invention of the application's claim 2 relates to the described invention of claim 1, it is characterized in that under other USB device and the state that principal computer is connected of same type, when being connected with principal computer, behind the above-mentioned common identification number of passback, according to request from principal computer, passback and the above-mentioned common different identification number of identification number again.
In addition, the described invention of the application's claim 3 relates to the USB system, it is by the USB device, constitute with the principal computer that is connected this USB device, it is characterized in that above-mentioned USB device is when being connected with principal computer, transmission request according to principal computer, to make source identifying information, type identification information and return with the common identification number of other USB device, principal computer is according to the manufacturing source identifying information, type identification information and the identification number that receive from the USB device, and management is communicated by letter with the USB device.
Also have, the described invention of the application's claim 4 relates to a kind of by the USB device, the USB control method of the USB system that constitutes with the principal computer that is connected this USB device, it is characterized in that the USB device has following treatment step, promptly, when this USB device is connected with principal computer,, will makes source identifying information, type identification information and return with the common identification number of other USB device according to transmission request from principal computer.
The effect of invention
USB device of the present invention, USB system and USB control program have following such effect.
Promptly, in the described invention of claim 1, because when being connected with principal computer, according to transmission request, with making source identifying information, type identification information, identification number passback that will be common with other USB device from principal computer, therefore even with its type and the USB device insertion principal computer of used identical other formerly, perhaps, used USB device is formerly inserted different ports, also needn't carry out installation, and the various settings of driver again.
In addition, in the described invention of claim 2, because at the described USB device of claim 1, under other USB device and the state that principal computer is connected of same type, when being connected with principal computer, according to request from principal computer, passback and the above-mentioned common different identification number of identification number again, therefore even at the same time with under the USB device of 2 same types and the situation that principal computer is connected, principal computer also can be discerned corresponding device thereof.
In addition, in the described invention of claim 3, because above-mentioned USB device is when being connected with principal computer, according to transmission request from principal computer, with making source identifying information, type identification information, identification number passback that will be common with other USB device, principal computer is according to the manufacturing source identifying information, type identification information and the identification number that receive from the USB device, and management is communicated by letter with the USB device.Even, perhaps, the USB device that formerly uses is inserted under the situation of different ports so its type is inserted principal computer with other the identical USB device that formerly uses, also needn't carry out again driver installation, reach various settings.
Also have, in the described invention of claim 4, because when this USB device is connected with principal computer, according to transmission request from principal computer, with making source identifying information, type identification information, identification number passback that will be common with other USB device, even therefore its type is inserted principal computer with other the identical USB device that formerly uses, perhaps, the USB device that formerly uses is inserted under the situation of different ports, also needn't carry out installation, and the various settings of driver again.
Brief description of drawings:
Fig. 1 is the block scheme of the basic structure of expression USB system;
Processing flow chart when Fig. 2 connects the USB device for expression;
Processing flow chart when Fig. 3 connects the 2nd USB device for expression.
The explanation of label:
Label 1 expression USB device;
Label 2 expression CPU;
Label 3 expression RAM;
Label 4 expression ROM;
Label 5 expression USB controllers;
Label 6 expression principal computers;
Label 7,8 expression USB port;
Label 9 expression USB cables.
The preferred form that is used to carry out an invention
Below with reference to the accompanying drawings, embodiments of the invention are specifically described.Fig. 1 is the block scheme of the basic structure of expression USB system.Processing flow chart when Fig. 2 connects the USB device for expression.Processing flow chart when Fig. 3 connects the 2nd USB device for expression.
Embodiment
Fig. 1 is the block scheme of the basic structure of expression USB system.USB device 1 is connected with principal computer 6 by USB controller 5, USB cable 9.This USB device 1 comprises CPU2, RAM2, RAM3, ROM4 etc., by USB controller 5, USB cable 9 and USB port 7 (or 8), carries out and the communicating by letter of principal computer 6, and according to instruction from principal computer 6, the control action of stipulating.
In ROM4, preserve and make source identifying information VID, type identification information PID and whole common identification number of goods, such as " 0000000000 ".In addition, if the USB cable 9 of USB device 1 is inserted the USB port 7 of principal computer 6, then shown in the treatment scheme of Fig. 2, this principal computer 6 detects this, to USB device 1, device informations such as source identifying information VID, type identification information PID are made in request, and USB device 1 receives this request, the identification number that whole goods are common sends to principal computer 6 such as " 0000000000 " with making source identifying information VID, type identification information PID.
In principal computer 6, load special-purpose driver by making in the definite USB device 1 of source identifying information VID, type identification information PID and identification number, in addition, as required, receive various setting datas, in operating system, pack into as its a part of function, establishment and USB device 1 communicates to connect thus.
In addition, connect USB device 1, finish predetermined process, USB device 1 and principal computer 6 are cut off, then that type is identical with formerly USB device 1, but be different from the USB port 7 (or 8) of USB device insertion principal computer 6 of USB device 1 formerly.Same this moment, principal computer 6 is from the USB device, receipt source identifying information VID, type identification information PID and common identification number.At this moment and since source identifying information VID, type identification information PID and identification number with formerly from USB device 1 receive identical, so the same USB device of judgement principal computer 6 connections.In addition, owing to packed into the corresponding driving of this USB device etc., thus can be at this state, establish and the communicating to connect of USB device.
So, by sending the common identification number of whole goods, in principal computer 6, when inserting the USB device of its type and identical other that formerly uses, needn't carry out installation, and the various settings of driver again.So, be the operating room and between residence, carry portable personal computer, in the operating room with in residence, under the situation of the USB device of use same type, owing to be considered as identical device, even so under the situation of inserting any USB port, still can normally use.
But, when the USB device with 2 same types is connected with principal computer 6 simultaneously then following problems can take place.That is, if from principal computer 6, be considered as connecting simultaneously the USB device of 2 same identification numbers, so principal computer 6 can't be distinguished 2 devices.
So, under the situation of the USB device that connects passback manufacturing source identifying information VID, the type identification information PID identical, identification number with the USB device that is connected to principal computer 6, principal computer 6 as shown in Figure 3, the 2nd USB device to connecting sends Vender SpecificRequests.The USB device that receives its information is rewritten as next value " 0000000001 " with identification number, the two is low level to make DATA line (D+, D-), by connecting once more after the temporarily disconnected, become the different new USB device of identification number, then principal computer 6 can be discerned.
At this moment, the identification number of having rewritten is stored among the RAM3 as volatile memory, thus, and in next time, when connecting the 1st USB device, the identification number of rewriting deletion is returned as identification number, be stored in the number " 0000000000 " among the ROM4, thus, can be identified as the 1st.
In addition, in embodiment described above, the example that adopts Vender Specific Requests is described, the present invention is not limited to this, also can adopt the instruction that changes predetermined identification number, or notice is predetermined, the instruction that has connected the device of this identification number waits and realizes.
Promptly, when adopting Vender Specific Requests, use by Vender SpecificRequests, pre-defined sequence number alteration command, and transmit by control (Control) and to send the method that this order is changed, still, as other method, also can adopt by steering orders such as order (Prescribe), PJL, define the sequence number alteration command in the same manner, by sending the method that sends this order in batches.In the USB device, basic mode is generally to send transfer control instruction by control (Control), and by sending the transmission data in batches, the former is method commonly used, but also can be undertaken by the latter.

Claims (4)

1. a USB device is characterized in that when being connected with principal computer, according to the transmission request from principal computer, with making source identifying information, type identification information, identification number passback that will be common with other USB device.
2. USB device according to claim 1, it is characterized in that under other USB device and the state that principal computer is connected of same type, when being connected with principal computer, behind the above-mentioned common identification number of passback, according to request from principal computer, passback and the above-mentioned common different identification number of identification number again.
3. USB system, it is made of with the principal computer that is connected this USB device the USB device, it is characterized in that:
Above-mentioned USB device is when being connected with principal computer, transmission request according to principal computer, with making source identifying information, type identification information, identification number passback that will be common with other USB device, principal computer is according to the manufacturing source identifying information, type identification information and the identification number that receive from the USB device, and management is communicated by letter with the USB device.
4. one kind by the USB device, the USB control method of the USB system that constitutes with the principal computer that is connected this USB device, it is characterized in that the USB device has following treatment step, when promptly this USB device is connected with principal computer, according to transmission request from principal computer, with making source identifying information, type identification information, identification number passback that will be common with other USB device.
CN200610008082A 2005-03-02 2006-02-28 USB device, USB system and USB control method Expired - Fee Related CN100585577C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005056814A JP4666589B2 (en) 2005-03-02 2005-03-02 USB device, USB system and USB control program
JP2005056814 2005-03-02

Publications (2)

Publication Number Publication Date
CN1828562A true CN1828562A (en) 2006-09-06
CN100585577C CN100585577C (en) 2010-01-27

Family

ID=36946971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610008082A Expired - Fee Related CN100585577C (en) 2005-03-02 2006-02-28 USB device, USB system and USB control method

Country Status (2)

Country Link
JP (1) JP4666589B2 (en)
CN (1) CN100585577C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5451349B2 (en) * 2009-12-09 2014-03-26 キヤノン株式会社 Information processing apparatus, information processing method, and program
JP5604134B2 (en) * 2010-02-24 2014-10-08 京セラ株式会社 Portable electronic device and device system
JP2014178719A (en) * 2013-03-13 2014-09-25 Nec Access Technica Ltd Usb packet conversion device, usb packet conversion method and usb packet conversion program
CN104134033B (en) * 2014-07-29 2017-11-07 广州金山网络科技有限公司 A kind of method and device for recognizing user equipment
JP7027240B2 (en) * 2018-04-25 2022-03-01 株式会社東芝 Information equipment security system and its security method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4026948B2 (en) * 1997-09-29 2007-12-26 キヤノン株式会社 Network system, device, device control method, and storage medium
JP2001144769A (en) * 1999-11-11 2001-05-25 Sankyo Seiki Mfg Co Ltd Device adaptable to usb and its communication control method
JP2001222503A (en) * 2000-02-08 2001-08-17 Ricoh Co Ltd Peripheral equipment control system
JP2004062347A (en) * 2002-07-25 2004-02-26 Matsushita Electric Ind Co Ltd Usb device and usb system
JP2004094574A (en) * 2002-08-30 2004-03-25 Voice Interface:Kk System, device, method and program for collecting user need information

Also Published As

Publication number Publication date
CN100585577C (en) 2010-01-27
JP2006243988A (en) 2006-09-14
JP4666589B2 (en) 2011-04-06

Similar Documents

Publication Publication Date Title
CN1143211C (en) Autoconfigurable method and system having automated downloading
CN1828562A (en) USB device, USB system and USB control method
CN1276362C (en) Method and system for data transmission in multi-processor system
US6389495B1 (en) Dedicated circuit and method for enumerating and operating a peripheral device on a universal serial bus
CN1198218C (en) CPU accessory card capable of heat-exchanging on heat-exchange bus
CN1126044C (en) Add-in board with programmable configuration registers for PCI bus computer
CN100345415C (en) Method and apparatus for perfoming boot, maintenance, or install operations on a storage area network
CN1249593C (en) Method and device for filling accelerating input/output processing via superhigh speed buffer memory
CN101031897A (en) Establishing command order in an out of order dma command queue
CN85107028A (en) Data transmission system and control method thereof
CN1534685A (en) Flash storage including guiding program copy and equipment and method for protecting flash storage system
CN1156302A (en) Video frequency display equipment
CN1167018C (en) Universal input/output system with good adaptivity
CN108959135B (en) Data storage and processing system and operation method thereof
CN100343820C (en) Program processing device
CN1813246A (en) Prefetch control in a data processing system
US20200272532A1 (en) Communication apparatus, communication method, program, and communication system
CN1494002A (en) Method and device used in interrupted dynamic priority ordering
CN1706170A (en) Method for transmitting data on a bus
CN1679009A (en) Joshi Aniruddha,Lee John,Kwatra Atul
WO2005119974A1 (en) Data transfer method in a distributed process control system
CN1318166A (en) Software rewriting method and software rewriting device
CN1661579A (en) Bus arbiter based on dynamic priority and method for dynamic changing priority
CN1776614A (en) Apparatus, system, and method for integrating an enclosure
US20030149819A1 (en) Method and apparatus for ascertaining the status of multiple devices simultaneously over a data bus

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100127

Termination date: 20170228

CF01 Termination of patent right due to non-payment of annual fee