CN1260660C - Peripheral transmission interface controlling method and relevant device - Google Patents

Peripheral transmission interface controlling method and relevant device Download PDF

Info

Publication number
CN1260660C
CN1260660C CN 02103071 CN02103071A CN1260660C CN 1260660 C CN1260660 C CN 1260660C CN 02103071 CN02103071 CN 02103071 CN 02103071 A CN02103071 A CN 02103071A CN 1260660 C CN1260660 C CN 1260660C
Authority
CN
China
Prior art keywords
data
external device
transmission interface
main frame
configuration data
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
CN 02103071
Other languages
Chinese (zh)
Other versions
CN1437120A (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.)
Ali Corp
Original Assignee
Ali 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 Ali Corp filed Critical Ali Corp
Priority to CN 02103071 priority Critical patent/CN1260660C/en
Publication of CN1437120A publication Critical patent/CN1437120A/en
Application granted granted Critical
Publication of CN1260660C publication Critical patent/CN1260660C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The present invention provides a computer system peripheral device transmission interface controlling method and a relevant device, which is used for causing a computer system to be capable of transmitting data to a peripheral device. The peripheral device comprises a bridge circuit, a drive circuit and a storage, wherein the bridge circuit is used for controlling a transmission interface of the peripheral device; the drive circuit is used for controlling the operation of the peripheral device according to the output of the bridge circuit; the storage is electrically connected to the drive circuit and is used for storing data of the transmission interface. The computer system peripheral device transmission interface controlling method comprises that before the computer system obtains the data of the transmission interface, the computer system transmits a control order to the drive circuit by the bridge circuit so that the drive circuit causes the data of the transmission interface stored in the storage to be transmitted to the bridge circuit; in addition, the bridge circuit transmits the data of the transmission interface to the computer system so as to cause the computer system to be capable of transmitting other data to the bridge circuit according to the data of the transmission interface.

Description

External device transmission interface controlling method and relevant apparatus
Technical field
The present invention relates to the method and the relevant apparatus of transmission interface between a kind of controlling computer system and external device, relate in particular to a kind of with the transmission interface data storage in the device configuration data of external device, with the method and the relevant apparatus of simplifying the external device circuit.
Background technology
Along with the prosperity of information and the progress of computer technology, the volume of computer system day by day dwindles, and uses also day by day polynary.In order to expand the function of computer system, adapt to the different demand of each user, computer system external device miscellaneous also just arises at the historic moment.For instance, similarly be external connected hand disk or portable memory device (as storage card), can expand the originally limited memory capacity of computer system; External optical disk drive and cd-recorder then can expand the multimedia resource access facility of computer system, and the ability of high capacity data backup is provided; Also have IC smart card (smart card) and circumscribed network card or the like in addition.
If will expand the function of computer system, want between computer system and external device to intercourse data with external device.Please refer to Fig. 1.Fig. 1 is that a typical electrical brain system 10 cooperates known external device 20A, the functional block diagram of 20B.One main frame 11 is arranged: be provided with in the main frame 11 and be used for the central processing unit 12A of master control computer system arithmetic operation in the computer system 10, be used for the north bridge circuit 12B of bridge joint signal, south bridge circuit 12C, be used for the drafting card 12D of process graphics information, be used for the display 12E of display graphics information, be used for being the temporary access memory 12F of volatility data, be used for handling the adlib 14A of sound equipment signal, be used for the loudspeaker 14D of playing back music, allow the input media 14B of user's input instruction (as keyboard, mouse), be used for non-volatile data storage hard disk 14C and be used for connecting the external port 14E of external device.Central processing unit 12A transmits the data of north bridge circuit 12B access memory 12F faster by data, and with drafting card 12D fast processing graphical information, shows on display 12E.Central processing unit 12A just can be accepted user's instruction control by input media 14B by south bridge circuit 12C, and the data among the access hard disk 14C is handled the sound equipment signal with adlib 14A and played back by loudspeaker 14D.In addition, being used for connecting the external port 14E of main frame 11 and the first external device 20A, the second external device 20B, also is to be electrically connected in central processing unit 12A via south bridge circuit 12C, north bridge circuit 12B.
With regard to existing computer development trend, computer system 10 all has the ability that connects a plurality of external devices simultaneously usually: also be provided with a plurality of first links (drawing two among Fig. 1 as representative) 16A, 16B on the external port 14E: each first link is corresponding to an external device.As shown in fig. 1, the first external device 20A is connected in main frame 11 by the first link 16A; The second external device 20B then is connected in main frame 11 by the first link 16B.Be example promptly below, the structure and the operation situation of known external device is described with the first external device 20A.Corresponding to the first Port 16A, also be provided with the second Port 18A on the first external device 20A.In addition, also be provided with transmission interface control device 22, driving circuit 24B, nonvolatile storer 26B and core module 29 among the first external device 20A.Then be provided with bridgt circuit 24A and another non-volatility memorizer 26A in the transmission interface control device 22.Core module 29 is used for the function of the actual execution first external device 20A.For instance, if the first external device 20A is an external connected hand disk, then core module 29 is exactly a magnetic disc itself: if the first external device 20A is an external optical disk drive, then 29 of core modules include the data read head and drive motor of discs rotation or the like; If the first external device 20A is the circumscribed storage card, then 29 of core modules are flash memories.Driving circuit 24B then is used for controlling the running of core module 29.The storer 26B that is connected in driving circuit 24B then is used for storing the device configuration data 28B of the first external device 20A, just configuration (configuration) data of core module 29 itself.For instance, if the first external device 20A is a CD player, device configuration data 28B can comprise and main frame directmemoryaccess (DMA, Direct Memory Access) relevant item:, then install configuration data 28B and also can comprise capacity as external connected hand disk, magnetic post (cylinder), magnetic region (sector) or the like necessary related data and operating parameter in addition if the first external device 20A is external connected hand disk.Main frame 11 will obtain these data, could be correctly by transmission interface control device control external device.
In order to make main frame 11 can be connected in the external device of variety classes, function flexibly, the information industry can be worked out unified external port specification, for example is USB (USB (universal serial bus)) specification (hereinafter referred to as first form).Yet the driving circuit 24B of external device and core module 29 will could be controlled (hereinafter referred to as second form) with the instruction of another kind of specification.
For instance, if the first external device 20A is an external connected hand disk, be with its driving circuit of ATA (AT Attachment) instruction control; If the first external device 20A is an external optical disk drive, then will be with its driving circuit of ATAPI (ATAPacket Interface) instruction control.Because the document signal of first form, second form not only has different data structures, also has different characteristic electron (for example characteristic such as pulse, voltage), can control the first external device 20A smoothly by external port 14E in order to make main frame 11, be provided with bridgt circuit 24A among the first external device 20A, be used for changing external port 14E and the driving circuit 24B signal of different size between the two.Bridgt circuit 24A is provided with the first port 25A and the second port 25B, can be accepted data, the instruction of first form (as the USB specification) by the first port 25A, and is converted to data, the form of second form (as ATA or ATAPI specification), is exported by the second port 25B; Also can receive the second form data by the second port 25B transfers the first form data to and is exported by the first port 25A.That is to say that when main frame 11 will be controlled the first external device 20A, main frame 11 can transfer to the first external device 20A with steering order with the signal S1 that meets first form (as the USB specification) by external port 14E.Bridgt circuit 24A among the first external device 20A analyzes the steering order among the first form signal S1, accordingly steering order is transferred to driving circuit 24B with second form by the second port 25B again: driving circuit 24B just can control core module 29 and make the action of corresponding steering order (as reading data).On the other hand, core module 29 and driving circuit 24B will be back to the data of main frame 11, then transfer to the second port 25B of bridgt circuit 24A equally with second form, the signal that is converted into first form by bridgt circuit 24A is exported by the first port 25A, is back to the external port 14E of main frame 11 again via the second link 18A, the first link 16A.So, main frame 11 just can pass through transmission interface control device 22, exchange instruction, data smoothly.
Except the work of above-mentioned conversion signal specification, also stored transmission interface data 28A in the transmission interface control device 22 with nonvolatile storer 26A, it includes the exclusive identification data of bridgt circuit 24 (as manufacturer ID Vendor Identity, product ID Product Identity, the title Manufacture of manufacturer, product serial number Serial Number or the like).As previously mentioned, present main frame can both connect a plurality of external devices simultaneously, and the exclusive transmission interface data of bridgt circuit in each external device is used for identifying uniquely each corresponding external device exactly, so that main frame can be controlled a plurality of external devices simultaneously by external port.In other words, when main frame will transmit a certain instruction to a certain specific external device, can specify the exclusive transmission interface data of this specific external device via external port, make this instruction only can receive, can not disturb other external devices that are connected in external port mistakenly by this specific external device.
In gross, when main frame 11 came into operation (for example start), main frame 11 can be searched the external device that is connected in external port 14E.If there is external device to be connected in external port 14E (as the first external device 20A, 20B are arranged among Fig. 1), main frame 11 can the corresponding exclusive transmission interface data of each the first external device 20A, 20B transmission of uniform requirement be given main frame.With the first known external device 20A is example, in known transmission interface control device 22, receive the requirement of main frame 11 as bridgt circuit 24A after, bridgt circuit 24A can read transmission interface data 28A among the storer 26A by transmission interface control device 22, is back to main frame 11 by bridgt circuit 24A.After main frame 11 receives the transmission interface data of each external device passback, could be in the mode of given transmission interface data, normally with each external device exchange instruction, data.Then, when main frame 11 will be controlled each external device, also can require the device configuration data of each external device to external device.Be example with the first external device 20A again, when bridgt circuit 24A receives requiring of 11 pairs of devices of main frame configuration data, bridgt circuit 24A can transfer to driving circuit 24B with second form (ATA or ATAPI specification in this way) " device identification " (identify drive) instruction, driving circuit 24B just can read the device configuration data 28B among the storer 26B, be back to bridgt circuit 24A, will install configuration data 28B by bridgt circuit 24A with the first form signal again and be back to main frame 11.After main frame 11 gets the auto levelizer configuration data, just can handle the running of the first external device 20A with suitable parameter and instruction control driving circuit 24B according to the device configuration data.
The shortcoming of above-mentioned known technology is used for storer 26A also will being set in the transmission interface control device 22 in addition storing transmission interface data 28A the storer 26B of storage device configuration data 28B except driving circuit 24B exactly.Relating to parameters when device configuration data 28B and first external device 20A running, transmission interface data 28A is then relevant with the control of the first external device 20A and 11 transmission interfaces of main frame, and these two data all will store in nonvolatile mode.And will store above-mentioned two kinds of data respectively with two nonvolatile storer 26A, 26B in the known technology.Nonvolatile storer must will use ROM (read-only memory) (as EEPROM, electrically erasable programmable read-onlymemory) or flash memory (flash memory); Compare with general logical circuit or volatile storage, the structure of these storeies is special, have special peripheral circuit to cooperate, and cost is higher.This makes that also the transmission interface control device cost of known external device is higher, and is also comparatively complicated on the operative configuration.
Summary of the invention
Therefore, fundamental purpose of the present invention is to provide a kind of transmission interface controlling method and device of computer system external device, and the transmission interface control device structure in the external device is simplified, and cost reduces.
Method of the present invention is the reservation data field that the transmission interface data storage is just reserved originally in the device configuration data: in other words, device configuration data and transmission interface data all are stored in the same non-volatility memorizer of driving circuit, also so not need will in the transmission interface control device non-volatility memorizer be set as known technology.When main frame when external device requires the transmission interface data, the transmission interface control device can be read the transmission interface data in the reservation data field by the device configuration data to driving circuit claimed apparatus configuration data again with second form " device identification " instruction.
According to an aspect of the present invention, a kind of transmission interface controlling method of external device is provided, be used for making a computer system to be able to data transmission to this external device, this method comprises: step 1: whether the main frame scanning external device of computer system exists, if there is external device, require the transport interface data to described external device with the signal of first form; Step 2: after described external device receives the requirement of main frame, with the second form signal one " device identification " steering order is transferred to the driving circuit in the external device and checks described driving circuit whether to return the device configuration data, include a default reservation data field in the described device configuration data, and this transmission interface data storage keeps in the data field in this; Step 3: data then enter the subsequent processing steps step 5 if receive; If do not receive configuration data, then with the second form signal another " device identification " steering order is transferred to described driving circuit, and checks driving circuit whether to return the device configuration data again once more; Step 4: data then enter subsequent processing steps as if receiving, if still do not receive configuration data, then enter first exception and handle, external device sends the error messages main frame; Step 5: if received the device configuration data, whether the signed codevector in the device configuration data that described external device check is received is correct, and wherein said signed codevector also is stored in the described default reservation data field; If correct, enter subsequent processing steps, if incorrect, then enter the second exception processing and report an error; And step 6: if signed codevector is correct, then described transmission interface data is transferred to described main frame, described main frame nationality is set up by described transmission interface data and described external device and is got in touch.
According to a further aspect in the invention, a kind of transmission interface control device that is used for the external device of a computer system is provided, this transmission interface control device comprises the bridgt circuit with first port and second port, this bridgt circuit is used for that data with first form of this first port input is converted to the data of second form accordingly and by this second port output, and the data of second form of this second port input is converted to the data of this first form accordingly and by this first port output; This computer system includes: main frame is used for controlling the running of this computer system; And first link, be used for exporting and receiving the data that meets this first form; This external device includes: second link, be used for receiving the first form data that this first link transmits, and the data of transmission first form is to this first link; Wherein this second link is electrically connected in first port of this bridgt circuit: driving circuit, be electrically connected in second port of this bridgt circuit, being used for the data of second form that transmits according to this bridgt circuit controls the running of this external device, to described bridgt circuit passback one device configuration data; And storer, be electrically connected in this driving circuit, be used for storing a device configuration data, comprise a transmission interface data and a signed codevector in the described device configuration data, include a default reservation data field in the described device configuration data, and this transmission interface data storage keeps in the data field in this, described signed codevector also is stored in this reservation data field, described transmission interface data is transferred to described main frame when described signed codevector is correct, and this main frame transfers to this bridgt circuit with other data with this first form according to this transmission interface data
The technology that the present invention discloses can make the circuit of the transmission interface control device in the external device more simplify, and constructs more merely, also can save cost.
Description of drawings
Fig. 1 is the configuration schematic diagram that known external device is connected with a computer system.
The configuration schematic diagram that Fig. 2 is connected with a computer system for external device among the present invention.
Process flow diagram when Fig. 3 implements for the inventive method.
Embodiment
Please refer to Fig. 2.Fig. 2 is connected in the functional block diagram of a computer system 30 for external device 40A, 40B among the present invention.Be provided with main frame 31 in the computer system 30; Be provided with central processing unit 32A, north bridge circuit 32B, south bridge circuit 32C, drafting card 32D, display 32E, access memory 32F, adlib 34A, loudspeaker 34D, input media 34B and hard disk (or other non-volatile memory storage devices) 34C, external port 34E in the main frame 31.The computer system 10 that is equal to Fig. 1, the element of the same name in computer system 30 and the computer system 10 has identical functions, and the mode of each interelement overall operation also can be analogized and get.The external port 34E of computer system 30 (for example external port of USB specification) can have a plurality of first links (drawing two first link 36A, 36B among Fig. 2 as representative), each the first link 36A, 36B corresponds respectively to the first external device 40A, the second external device 40B, and with the signal transfer instruction of first form (for example USB specification), data to each external device 40A, 40B.
Below be example just with the first external device 40A, the structure of the external device among the present invention is described.Be provided with the second link 38A, transmission interface control device 42, driving circuit 44B, the non-volatility memorizer 46 that is connected in driving circuit 44B and core module 49 among the first external device 40A.Be similar to the known first external device 20A, core module 49 is used for the function of the actual execution first external device 40A; Driving circuit 44B then can accept second form (as ATA or ATAPI specification) instruction, the data of signal and control the operation of core module 49.In order to want the bridge joint first form signal and the second form signal, also be provided with bridgt circuit 44A in the transmission interface control device 42.The first port 45A and the second port 45B are arranged among the bridgt circuit 44A; Bridgt circuit 44A itself can be converted to the second form signal with the first form signal that the first port 45A receives, and is exported by the second port 45B: also can import the second form signal by the second port 45B, change and exported by the first port 45A.
Be similar to the situation among the known first external device 20A, the transmission interface data that main frame 31 will provide according to each external device could be correctly and each external device swap date, instruction.In addition, also store device configuration data 48B in the non-volatility memorizer 46 of driving circuit 44B, the call parameter when being used for writing down the relevant information of core module 49 and operation allows main frame 31 suitably be controlled core module 49 performance functions.In general, the specification of second form (as ATA or ATAPI specification) all can unify to be defined in the reservation data field that reservation is set in the device configuration data, is used for allowing external device manufacturing plant write down other extraneous informations: as the data field 50 of just withing a hook at the end among the device configuration data 48B among Fig. 2.Under normal circumstances, during the external device running, main frame does not need to keep the information that writes down in the data field.And the difference of the present invention and known technology, the reservation data field 50 that is exactly use device configuration data 48B writes down transmission interface data 48A.Be greater than transmission interface data 48A owing to keep the reserved storage space of data field 50, be used for writing down that transmission interface data 48A is ample that Yu arranged.In order to indicate the transmission interface data 48A in the reservation data field 50, the default bit position that keeps in the data field 50 also stores predefined signed codevector (signature) 52.Transmission interface data 48A is recorded among the device configuration data 48B, and just no longer needing to be provided with in addition nonvolatile storer has stored the transmission interface data in the transmission interface control device 42.
Just described as the front, when main frame 31 begins and will set up get in touch the time with the first external device 40A, main frame 31 can require the transmission interface data to external device 40A earlier.Bridgt circuit 44A receives after this requires, can be with " device identification " steering order of second form to driving circuit 44B claimed apparatus configuration data 48B; After bridgt circuit 44A receives the device configuration data 48B that driving circuit 44B reads by storer 46, just can keep and obtain transmission interface data 48A in the data field 50 by it, and passback main frame 31, main frame 31 can correctly be got in touch with its foundation according to the distinctive transmission interface data of the first external device 40A, and beginning and the first external device 40A exchange instruction, data, carry out the function of the first external device 40A, to expand the function of computer system 30.Please refer to Fig. 3, Fig. 3 sets up the process flow diagram of the flow process of carrying out when getting in touch for first external device 40A among the present invention and main frame 31.The following step is arranged in the process flow diagram of Fig. 3:
Step 62: beginning.Begin to set up when getting in touch when main frame 31 will add A with external device, will carry out the flow process of Fig. 3.As previously mentioned, when main frame 31 starts, whether the scanning external device exists earlier.If external port is connected with external device, main frame 31 will require to be specific to the transmission interface data of each external device by external port to each external device.The requirement meeting of main frame 31 reaches the bridgt circuit 44A of the first external device 40A via the first link 36A, the second link 38A with the signal of first form.
Step 64: after bridgt circuit 44A receives the requirement that main frame 31 transmits, can steering order " ata device identification " (ATA identify drive) be transferred to driving circuit 44B with the second form signal.This instruction existing regulation in the ATA specification, purpose is to want driving circuit 44B will install configuration data 48B by its storer 46 to read, and is back to bridgt circuit 44A.
Step 66: bridgt circuit 44A checks whether driving circuit 44B has returned device configuration data 48B.If bridgt circuit 44A has received device configuration data 48B, then proceed directly to step 72.If bridgt circuit 44B does not respond, then proceed to step 68.
Step 68: bridgt circuit 44A transfers to driving circuit 44B with steering order " identification of ATAPI device " (ATAPI identifydrive) again.In preferred embodiment of the present invention, the first external device 40A is external connected hand disk or external optical disk drive.The driving circuit of hard disk will receive " ata device identification " instruction just can read, return the device configuration data; The driving circuit of CD player then will receive " identification of ATAPI device " instruction just can read and return the device configuration data.Driving circuit 44B responds " ata device identification " instruction in step 66, represent that driving circuit, core module may be CD player, so this step bridgt circuit 44A can be again transferred to driving circuit 44B with the instruction " identification of ATAPI device " of CD player.On the whole, because will be common to various external device with same bridgt circuit 44A, bridgt circuit 44A can respond with the device configuration data with different " device identification " command request driving circuits one by one.In the present embodiment, suppose that bridgt circuit 44A is designed at external connected hand disk or CD player, require driving circuit 44B to respond so bridgt circuit 44A can send two kinds of different " device identification " instructions (being step 64,68) at most.
Step 70:, just proceed to step 72 if driving circuit 44B responds bridgt circuit 44A with device configuration data 48B.If driving circuit 44B does not respond yet, then proceed to step 78.
Step 72: represent that to this step bridgt circuit 44A is by driving circuit 44B acquisition device configuration data 48B.But whether signed codevector 52 is correct among the bridgt circuit 44A testing fixture configuration data 48B at this moment.As discussing the front, the default bit position among the present invention in the reservation data field 50 of device configuration data 48B records default signed codevector 52, be used for confirming transmission interface data 48A whether normal recordings in keeping data field 50.If find that at this step bridgt circuit 44A signed codevector 52 meets default signed codevector really, there has been transmission interface data 48A in the expression reservation data field 50; And can continue to step 74.If default bit position place record is not default signed codevector in the reservation data field 50, expression transmission interface data 48A also correctly is not recorded in the reservation data field: at this moment just proceed to step 80.
Step 74: the transmission interface data 48A among the bridgt circuit 44A acquisition device configuration data 48B.Bridgt circuit 44A can confirm to record among the device configuration data 48B transmission interface data 48A to this step, just can transmit it to main frame 31, main frame 31 can be come correctly to set up with external device 40A by transmission interface data 48A get in touch, and with external device 40A exchange instruction, data.
Step 76: finish.Main frame 31 just can be controlled the first external device 40A in subsequent step after obtaining the transmission interface data 48A of the first external device 40A, expand computer system 30 functions.
Step 78: exception is handled.By step 70 so far, the expression bridgt circuit 44A device configuration data that can't obtain responding by driving circuit 44B place.Can send an error messages to main frame 31 this moment by bridgt circuit 44A, can't normally be acted on by the main frame 31 prompting users first external device 40A, or carry out other remedial measuress.And whole flow process also so far finishes.
Step 80: exception is handled.By step 72 so far, though expression bridgt circuit 44A receives the device configuration data 48B that driving circuit 44B responds, find that the reservation data field 50 among the device configuration data 48B does not store transmission interface data 48A behind the inspection signed codevector 52.Bridgt circuit 44A can respond an error messages and interrupt flow process to main frame 31 this moment, or returned to main frame 31 with a default transmission interface data, and main frame 31 still can be got in touch according to this default transmission interface data and external device 40A foundation.
Bridgt circuit 44A among the present invention is except responding the device configuration data 48B with " device identification " instruction control driving circuit 44B when main frame 31 requires the transmission interface data, also can be in addition comes control Driver Circuit 44B to write transmission interface data 48A in its storer 46 with the instruction (to call " writing instruction " in the following text) of special definition.Cooperate this function of bridgt circuit 44A, main frame 31 places also can carry out the driver (as the form driver, window-based driver utility) of a correspondence.The user can be by this driver with the first form signal transfer instruction and the transmission interface data that will write to bridgt circuit 44A, " the writing instruction " that will include the transmission interface data with control bridgt circuit 44A transfers to driving circuit 44B; And driving circuit 44B will be in its nonvolatile storer 46, and reservation data field 50 places of corresponding intrument configuration data 48B note signed codevector 52 and transmission interface data 48A.Just can write by this way or updating device configuration data 48B in transmission interface data 48A.
In the transmission interface control device of known technology, the non-volatility memorizer that be provided with complicated high price stores the transmission interface data; In comparison, the present invention be with the transmission interface data logging in the device configuration data reservation data field in, make the transmission interface control device among the present invention need not be provided with non-volatility memorizer, thereby can reduce the cost of external device, simplify the circuit design of external device.Because the standard of general industry just is reserved with reservation data field in the device configuration data, so the present invention just can reach the purpose that reduces cost, simplifies circuit design not influencing fully under the situation of external device normal operation.
The above only is preferred embodiment of the present invention, and all equalizations of being done according to claims of the present invention claim required for protection change and modify, and all should belong to the covering scope of patent of the present invention.

Claims (22)

1. the transmission interface controlling method of an external device is used for making a computer system to be able to data transmission to this external device, and this method comprises:
Step 1: whether the main frame of computer system scanning external device exists, if there is external device, requires the transport interface data with the signal of first form to described external device;
Step 2: after described external device receives the requirement of main frame, with the second form signal one " device identification " steering order is transferred to the driving circuit in the external device and checks described driving circuit whether to return the device configuration data, include a default reservation data field in the described device configuration data, and this transmission interface data storage keeps in the data field in this;
Step 3: data then enter the subsequent processing steps step 5 if receive; If do not receive configuration data, then with the second form signal another " device identification " steering order is transferred to described driving circuit, and checks driving circuit whether to return the device configuration data again once more;
Step 4: data then enter subsequent processing steps as if receiving, if still do not receive configuration data, then enter first exception and handle, external device sends the error messages main frame;
Step 5: if received the device configuration data, whether the signed codevector in the device configuration data that described external device check is received is correct, and wherein said signed codevector also is stored in the described default reservation data field; If correct, enter subsequent processing steps, if incorrect, then enter the second exception processing and report an error; And
Step 6: if signed codevector is correct, then described transmission interface data is transferred to described main frame, described main frame nationality is set up by described transmission interface data and described external device and is got in touch.
2. the method for claim 1 is characterized in that, described first exception is treated to external device and informs that to main frame external device can't normally act on.
3. the method for claim 1 is characterized in that, described second exception is treated to external device and informs in the described reservation data field to main frame and do not preserve the transmission interface data.
4. the method for claim 1 is characterized in that, this external device is a portable memory device.
5. method as claimed in claim 4 is characterized in that, this external device is a hard disk.
6. method as claimed in claim 4 is characterized in that, this external device is an IC smart card.
7. method as claimed in claim 4 is characterized in that, this external device is a CD player.
8. the method for claim 1 is characterized in that, this first form meets the form of USB transmission line specification.
9. the method for claim 1 is characterized in that, this second form meets the form of ATA specification.
10. method as claimed in claim 9 is characterized in that, described one " device identification " steering order is " ata device identification " steering order.
11. the method for claim 1 is characterized in that, this second form meets the form of ATAPI specification.
12. method as claimed in claim 11 is characterized in that, described another " device identification " steering order is " identification of ATAPI device " steering order.
13. transmission interface control device that is used for the external device of a computer system, this transmission interface control device comprises the bridgt circuit with first port and second port, this bridgt circuit is used for that data with first form of this first port input is converted to the data of second form accordingly and by this second port output, and the data of second form of this second port input is converted to the data of this first form accordingly and by this first port output; This computer system includes:
Main frame is used for controlling the running of this computer system; And
First link is used for exporting and receiving the data that meets this first form;
This external device includes:
Second link is used for receiving the first form data that this first link transmits, and the data of transmission first form is to this first link; Wherein this second link is electrically connected in first port of this bridgt circuit:
Driving circuit is electrically connected in second port of this bridgt circuit, is used for the data of second form that transmits according to this bridgt circuit to control the running of this external device, to described bridgt circuit passback one device configuration data; And
Storer, be electrically connected in this driving circuit, be used for storing a device configuration data, comprise a transmission interface data and a signed codevector in the described device configuration data, include a default reservation data field in the described device configuration data, and this transmission interface data storage keeps in the data field in this, described signed codevector also is stored in this reservation data field, described transmission interface data is transferred to described main frame when described signed codevector is correct, and this main frame transfers to this bridgt circuit with other data with this first form according to this transmission interface data
14. transmission interface control device as claimed in claim 13 is characterized in that, this storer is a non-volatility memorizer.
15. transmission interface control device as claimed in claim 13 is characterized in that, stores a device configuration data in this storer in addition, this main frame is controlled this external device according to this device configuration data.
16. transmission interface control device as claimed in claim 13 is characterized in that, this external device is a portable memory device.
17. transmission interface control device as claimed in claim 16 is characterized in that, this external device is a hard disk.
18. transmission interface control device as claimed in claim 16 is characterized in that, this external device is an IC smart card.
19. transmission interface control device as claimed in claim 16 is characterized in that, this external device is a CD player.
20. transmission interface control device as claimed in claim 13 is characterized in that this first form meets the form of USB transmission line specification.
21. transmission interface control device as claimed in claim 13 is characterized in that this second form meets the form of ATA specification.
22. transmission interface control device as claimed in claim 13 is characterized in that this second form meets the form of ATAPI specification.
CN 02103071 2002-02-07 2002-02-07 Peripheral transmission interface controlling method and relevant device Expired - Fee Related CN1260660C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 02103071 CN1260660C (en) 2002-02-07 2002-02-07 Peripheral transmission interface controlling method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 02103071 CN1260660C (en) 2002-02-07 2002-02-07 Peripheral transmission interface controlling method and relevant device

Publications (2)

Publication Number Publication Date
CN1437120A CN1437120A (en) 2003-08-20
CN1260660C true CN1260660C (en) 2006-06-21

Family

ID=27627735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 02103071 Expired - Fee Related CN1260660C (en) 2002-02-07 2002-02-07 Peripheral transmission interface controlling method and relevant device

Country Status (1)

Country Link
CN (1) CN1260660C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100371850C (en) * 2004-12-17 2008-02-27 华为技术有限公司 Method for realizing compatibility of different clock circuits on printed circuit board

Also Published As

Publication number Publication date
CN1437120A (en) 2003-08-20

Similar Documents

Publication Publication Date Title
US5799168A (en) Standardized flash controller
US5875349A (en) Method and arrangement for allowing a computer to communicate with a data storage device
US7007127B2 (en) Method and related apparatus for controlling transmission interface between an external device and a computer system
CN101366182A (en) A nand flash memory controller exporting a nand interface
US20060064537A1 (en) Memory card having a storage cell and method of controlling the same
WO2002075745A1 (en) Storage device, storage device controlling method, and program
EP0806005A2 (en) Method and arrangement for operating a mass memory storage peripheral computer device connected to a host computer
CN101421705B (en) Multi media card with high storage capacity
CN1577252A (en) Method and equipment for automatic assembling equipment and driving program
US20110004719A1 (en) Memory Element
US20050092846A1 (en) Simulated smartmedia/XD-picture memory card capable of using various kinds on non-volatile memory
CN1260660C (en) Peripheral transmission interface controlling method and relevant device
CN1248094C (en) Mouse device capable of storing data
US5761168A (en) CD-ROM drive testing method
US7484036B2 (en) Apparatus system and method for managing control path commands in an automated data storage library
KR20050111594A (en) Recording medium recording control method and recording control device
US5469546A (en) Method for retrying recording information into a next logical block by sending sense data including address information to host computer and responding to command therefrom
CN1728284A (en) Method for seanning flash memory chip in flash memory disk
CN103870209A (en) Working mode switching method, memory controller and memory storage device
CN110209433B (en) Method for identifying concentrators of different models
US20080147966A1 (en) Flash memory device, update method and program search method thereof
JP2005044012A (en) Portable information storage device and method for automatically operating it
US5359623A (en) Magneto-optical disc control system and method for avoiding the need to initialize an entire surface of a storage medium on commencement of use
CN1254744C (en) Method for treating computer by sing access device to execute operating system
CN111858406B (en) Method, device, equipment and medium for making SPI master control compatible with flash chip

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20060621

Termination date: 20140207