CN100397371C - Method for identifying bridge - Google Patents

Method for identifying bridge Download PDF

Info

Publication number
CN100397371C
CN100397371C CNB2006100072467A CN200610007246A CN100397371C CN 100397371 C CN100397371 C CN 100397371C CN B2006100072467 A CNB2006100072467 A CN B2006100072467A CN 200610007246 A CN200610007246 A CN 200610007246A CN 100397371 C CN100397371 C CN 100397371C
Authority
CN
China
Prior art keywords
bridge
identifying
software program
identified parameters
standard
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.)
Active
Application number
CNB2006100072467A
Other languages
Chinese (zh)
Other versions
CN1808410A (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.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
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 Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2006100072467A priority Critical patent/CN100397371C/en
Publication of CN1808410A publication Critical patent/CN1808410A/en
Application granted granted Critical
Publication of CN100397371C publication Critical patent/CN100397371C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to a method for identifying a bridge, which inputs an undefined command to a standard interface device coupled with the bridge through a software program. After performing the undefined command, the standard interface device generates output information of failing performance. The output information comprises a plurality of invalid output parameters to state the invalid output parameters as identification parameters, the software program reads and judges the identification parameters, and therefore, the identity of the bridge is identified. In addition, the present invention can also input the undefined command to the bridge through the software program, after the bridge judges the undefined command, output information indicating that the undefined command can not be identified is generated, and invalid output parameters outputting the information are stated as identification parameters. Thus, the software program reads and judges the identification parameters so as to identify the identity of the bridge. When the software program performing, the present invention makes the software program firstly identify the bridge for ensuring the software program only support bridges which are made by manufacturers, the situation that the software program is used by users without authorization is avoided, and the present invention is very practical.

Description

The method of identifying bridge
Technical field
The present invention relates to a kind of discrimination method, particularly relate to a kind of method of confirming the identifying bridge of bridging device identity.
Background technology
Computing machine (is a computer, below all be called computing machine) system from the development since, for supplying the user with the standard interfare device, (data is data to carry out data to be coupled to computer system as hard disk drive, CD-ROM device and soft disk drive etc., below all be called data) management and data storage, advance rank technology attachment specification (Advanced Technology Attachment; ATA) with advance rank technology attachment specification package interface (AT Attachment Packet Interface; ATAPI) standard interface specification be under this demand in response to and give birth to.In computer system, as long as by providing this standard interface can reach the purpose that couples use standard interfare device.
In the existing computer system of commonly using, with the relevant apparatus that the standard interfare device couples, its relation statement is described as follows: a console controller (Host Controller) is coupled to a bridge, and bridge then is coupled to a standard interfare device.When the user (is a software by a software, below all abbreviate software as) formula desire input one order to the standard interfare device when ordering about the action of standard interfare device, must transfer commands to bridge via console controller, the form that can read for the standard interfare device for the bridge conversion command is resent to the standard interfare device, and the tendency to develop of standard interfare device is delivered to the information of console controller and also must be passed through bridge and be converted to the form that console controller can read and be resent to console controller.Below be that relevent information with user's desire acquisition standard interfare device is an example, illustrate that input command to standard interfare device carries out action and transmit the flow process of information to console controller with the standard interfare device.
At first, the user can be by software program input device for identifying (IDENTIFY DEVICE) standard commands to the standard interfare device, relevent information with acquisition standard interfare device, the order that software program is imported is can be sent to console controller earlier, to be sent to bridge by console controller, bridge can be changed the form that the order that received can read for the standard interfare device and transfer to the standard interfare device this moment, and so the standard interfare device can be detected and fill order.After the standard interfare device detects the device for identifying standard commands, promptly can the relevent information of acquisition own and to be sent to bridge be the form that console controller can read to change this information, be resent to console controller afterwards and read, to learn its identity of relevent information identification of standard interfare device for software program.
But manufacturer is the software program that can be designed for bridge voluntarily in the whether normal operation or in order to improve the effective utilization of bridge of Pretesting bridge of dispatching from the factory now.Yet, always there is the part dealer can divert its factory's designed software formula and is used for the bridge of oneself manufacturer, be quite unjust so for the manufacturer that endeavours in the design software formula.So if the identity that software program can first identifying bridge when carrying out by supporting the execution that just continues when manufacturer is produced, so can avoid software program stolen to confirm bridge.For example test the software program of usefulness and before the test bridge, confirm the identity of bridge earlier, just bridge is carried out the test analysis of debug and usefulness when developing, so can effectively stop to usurp problem for supporting manufacturer if confirm bridge.But, the standard interface specification is only to provide device for identifying and identification packaging system (IDENTIFY PACKET DEVICE) two standard commands now, be coupled to the relevent information and then the appreciative standard interfare device of the standard interfare device of bridge with acquisition, yet do not provide the standard commands of identifying bridge, so still can't effectively avoid taking place the problem that software program is usurped now.
This shows that the method for above-mentioned existing identifying bridge obviously still has inconvenience and defective, and demands urgently further being improved in method and use.The problem that exists for the method that solves identifying bridge, relevant manufacturer there's no one who doesn't or isn't seeks solution painstakingly, but do not see always that for a long time suitable design finished by development, and conventional method does not have appropriate method to address the above problem, and this obviously is the problem that the anxious desire of relevant dealer solves.Therefore how to found a kind of method of new identifying bridge, just become the current industry utmost point to need improved target.
Because the defective that the method for above-mentioned existing identifying bridge exists, the inventor is based on being engaged in this type of product design manufacturing abundant for many years practical experience and professional knowledge, and the utilization of cooperation scientific principle, actively studied innovation, in the hope of founding a kind of method of new identifying bridge, can improve the method for general existing identifying bridge, make it have more practicality.Through constantly research, design, and after studying repeatedly and improving, create the present invention who has practical value finally.
Therefore, the present invention promptly proposes a kind of method of identifying bridge at the problems referred to above, and it both can improve the shortcoming of the identity that tradition can't identifying bridge, can reach the purpose of the software program of protection bridge again, solves all above-mentioned problems.
Summary of the invention
Fundamental purpose of the present invention is, overcome the defective of the method existence of existing identifying bridge, and provide a kind of method of new identifying bridge, technical matters to be solved is to allow the software program can first identifying bridge when carrying out, to guarantee that software program only is used to support the bridge that manufacturer is developed, avoid the non-user who authorizes to utilize this software program, thereby be suitable for practicality more.
Another object of the present invention is to, a kind of method of new identifying bridge is provided, technical matters to be solved is that to make it be by undefined the order to standard interfare device or bridge of software program input, carry out the output information that failure maybe can't be discerned this undefined order and produce expression, and be identified parameters by the invalid output parameter that bridge is set the output information, and can judge the identified parameters of exporting information and then the purpose of reaching identifying bridge, thereby be suitable for practicality more for software program.
The object of the invention to solve the technical problems realizes by the following technical solutions.The method of a kind of identifying bridge that proposes according to the present invention, it comprises the following steps: to import undefined order to a standard interfare device; This standard interfare device is carried out this undefined order, then produces output information to a bridge when carrying out failure, and this output information comprises plural groups invalid (no-available) output parameter; It is an identified parameters that this bridge is set at least one this invalid output parameter; And by judging whether this identified parameters is corresponding with this bridge, with this bridge of identification.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
The method of aforesaid identifying bridge, wherein it is to use this undefined order of software program input, and this software program can be used for this bridge or this standard interfare device.
The method of aforesaid identifying bridge, wherein be in this undefined order of input to this standard interfare device, should undefined order be sent to a console controller earlier, this console controller transmits this undefined order to this standard interfare device by this bridge.
The method of aforesaid identifying bridge wherein is to transmit this undefined order to this standard interfare device at this bridge, the format conversion that this bridge earlier will this undefined order by this standard interfare device the form of energy identification.
The method of aforesaid identifying bridge wherein is a plurality of output working storages that the invalid output parameter of plural groups that this output information is comprised are stored in this standard interfare device respectively.
The method of aforesaid identifying bridge after wherein said this invalid output parameter of bridge setting is this identified parameters, is that this this output information that comprises identified parameters is sent to a console controller, reads for a software program.
The method of aforesaid identifying bridge wherein is that this output information that will comprise this identified parameters is sent to before this console controller, this bridge will export information be converted to this console controller can identification form.
The method of aforesaid identifying bridge, wherein said output information are to comprise a wrong parameter and a failure parameter, and this bridge is this identified parameters according to this wrong parameter and this this invalid output parameter of failure parameter setting.
The method of aforesaid identifying bridge wherein is to judge this identified parameters by use one software program, and for judging, promptly this bridge is not supported by this software program as if this identified parameters, and then this software program interrupts continuing to carry out.
The method of aforesaid identifying bridge, wherein said identified parameters are particular values default in this bridge.
The method of aforesaid identifying bridge, but wherein said undefined order for this standard interfare device of this bridge identification can't identification order.
The method of aforesaid identifying bridge, wherein said bridge are the bridges of rank technology attachment specification (Advanced Technology Attachment) into.
The method of aforesaid identifying bridge, wherein said bridge are the bridges of rank technology attachment specification package interface (Advanced Technology Attachment Packet Interface) into.
The object of the invention to solve the technical problems also realizes by the following technical solutions.The method of a kind of identifying bridge that proposes according to the present invention, it comprises the following steps: to import undefined order to a bridge; This bridge is judged this undefined order, and produces the output information that expression can't be discerned this undefined order, and this output information comprises plural groups invalid (no-available) output parameter; At least one this invalid output parameter of setting this output information is an identified parameters; And by judging whether this identified parameters is corresponding with this bridge, with this bridge of identification.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
The method of aforesaid identifying bridge, wherein it is to use this undefined order of software program input, and this software program can be used for this bridge.
The method of aforesaid identifying bridge, wherein be in this undefined order of input to this bridge, should undefined order be sent to a console controller earlier, this console controller should undefined order be sent to this bridge.
The method of aforesaid identifying bridge after this this invalid output parameter of bridge setting is this identified parameters, is that this this output information that comprises identified parameters is sent to a console controller wherein, reads for a software program.
The method of aforesaid identifying bridge, this output information that wherein will comprise this identified parameters is sent to before this console controller, be by this bridge will export information be converted to this console controller can identification form.
The method of aforesaid identifying bridge, wherein said output information are to comprise a wrong parameter and a failure parameter, and this bridge is this identified parameters according to this wrong parameter and this this invalid output parameter of failure parameter setting.
The method of aforesaid identifying bridge wherein is to judge this identified parameters by use one software program, and for judging, promptly this bridge is not supported by this software program as if this identified parameters, and then this software program interrupts continuing to carry out.
The method of aforesaid identifying bridge, wherein said identified parameters are particular values default in this bridge.
The method of aforesaid identifying bridge, wherein said undefined order for this bridge can't identification order.
The method of aforesaid identifying bridge, wherein said bridge are the bridges of rank technology attachment specification (Advanced Technology Attachment) into.
The method of aforesaid identifying bridge, wherein said bridge are the bridges of rank technology attachment specification package interface (Advanced Technology Attachment Packet Interface) into.
The present invention compared with prior art has tangible advantage and beneficial effect.By above technical scheme as can be known, major technique of the present invention thes contents are as follows:
The method of identifying bridge of the present invention, it is by input one undefined order to a console controller, by a bridge undefined order is sent to the standard interfare device for console controller, standard interfare device detecting and carry out undefined order after, produce the output information that failure is carried out in expression, and to be sent to bridge be an identified parameters with at least one invalid output parameter of setting the output information, and the output information that transmission comprises identified parameters reads to judge the identity of identified parameters and then identifying bridge for software program to console controller.
In addition, this method also can produce the output information that this undefined order of expression can't be discerned by bridge, it is undefined the order to console controller of input, to transmit undefined the order to bridge by console controller, bridge is judged the order of undefined order for discerning, produce the output information that expression can't be discerned this undefined order immediately, and the invalid output parameter of setting the output information is an identified parameters, and be sent to console controller and read for software program and judge this identified parameters, and then reach the purpose of identifying bridge.
Via as can be known above-mentioned, the invention relates to a kind of method of identifying bridge, it imports a undefined order to a standard interfare device that couples with a bridge by software program, after the standard interfare device is carried out undefined order, produce an output information of carrying out failure, it comprises plural invalid output parameter, is identified parameters to set invalid output parameter, make software program read and judge identified parameters, and then the identity of identifying bridge.In addition, the present invention also can import undefined the order to bridge by software program, after bridge is judged undefined order, can produce the output information that expression can't be discerned this undefined order, to set the invalid output parameter of exporting information is identified parameters, so, make software program read and judge the identity of this identified parameters with identifying bridge.
By technique scheme, the method for identifying bridge of the present invention has following advantage at least:
The method of identifying bridge of the present invention is to allow the software program can first identifying bridge when carrying out, and to guarantee that software program only is used to support the bridge that manufacturer is developed, avoids the non-user who authorizes to utilize this software program, thereby is suitable for practicality more.
In addition, the method of identifying bridge of the present invention, be by undefined order of software program input to standard interfare device or bridge, carry out the output information that failure maybe can't be discerned this undefined order and produce expression, and be identified parameters by the invalid output parameter that bridge is set the output information, and can judge the identified parameters of exporting information and then the purpose of reaching identifying bridge, thereby be suitable for practicality more for software program.
In sum, the method of the identifying bridge of novelty of the present invention, can avoid software program to be usurped, can reach by the present invention does not need additionally to formulate the purpose that a standard commands can identifying bridge, it has above-mentioned plurality of advantages and practical value, no matter bigger improvement is all being arranged on the method or on the function, have technically than much progress, and produced handy and practical effect, and the method for more existing identifying bridge has the effect of enhancement, thereby being suitable for practicality more, and having the extensive value of industry, really is a novelty, progressive, practical new design.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above-mentioned and other purposes, feature and advantage of the present invention can be become apparent, below especially exemplified by preferred embodiment, and conjunction with figs., be described in detail as follows.
Description of drawings
Fig. 1 is the calcspar that standard interfare device of the present invention couples the computer system relevant apparatus.
Fig. 2 is the process flow diagram of a preferred embodiment of the present invention.
Fig. 3 is the process flow diagram of another preferred embodiment of the present invention.
Fig. 4 is the process flow diagram of embodiments of the invention.
10: standard interfare device 15: console controller
20: bridge 25: software program
Embodiment
Reach technological means and the effect that predetermined goal of the invention is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, its embodiment of method, method, step, feature and the effect thereof of the identifying bridge that foundation the present invention is proposed, describe in detail as after.
In existing known method, the problem at identifying bridge does not provide solution, the method of identifying bridge provided by the present invention, be to produce the mode of an output information by the undefined order of input, the invalid output parameter that orders about bridge setting output information is an identified parameters, judges the identity of this identified parameters and then this bridge of identification for software program.
Seeing also shown in Figure 1ly, is the calcspar that standard interfare device of the present invention couples the computer system relevant apparatus.As shown in the figure, be provided with a bridge 20 between one a standard interfare device 10 and the console controller 15 (HostController), this bridge 20 is used to change the order that transmitted between console controller 15 and the standard interfare device 10 or the form of information, 25 of one software programs are used for importing standard commands to console controller 15, and are sent to standard interfare device 10 by bridge 20.
Seeing also shown in the following table one, is the form shfft that the present invention responds the output information of undefined order.
Table one
The standard interfare device all can produce an output information and it is written in plural number output working storage of standard interfare device after executing any order, learn state after the standard interfare device fill order for computer system or user.Order when the standard interfare device is carried out when software program input is undefined, the standard interfare device is because of distinguishing that this undefined order is so can't carry out, be stored in the corresponding output working storage so can produce the output information of carrying out failure and this is exported information, this output information is also represented the order of undefined order for discerning.Shown in top table one, the output information of responding undefined order includes the plural groups output parameter, and it is respectively a mistake (Error) working storage parameter, magnetic region counting (Sector Count) working storage parameter, low level metalogic block addressing (LBALow) working storage parameter, meta metalogic block addressing (LBA Mid) working storage parameter, high-order metalogic block addressing (LBA High) working storage parameter, device (Device) working storage parameter and a state (Status) working storage parameter.
When the standard interfare device is carried out undefined order failure, the bit 2 of mistake (Error) working storage of mistake (Error) working storage parameter correspondence (failure (ABRT)) will be set to 1, expression standard interfare device is carried out this undefined order failure, wherein the bit 2 of wrong (Error) working storage is the failure parameter, and output parameter can be any number and all the other bits are all invalid (no-available); Magnetic region counting (Sector Count) working storage parameter, low level metalogic block addressing (LBA Low) working storage parameter, meta metalogic block addressing (LBA Mid) working storage parameter and high-order metalogic block addressing (LBA High) working storage parameter are responded in the output information of carrying out undefined order failure at the standard interfare device and are all invalid output parameter, so the standard interfare device can be inserted any number in the pairing output working storage of above-mentioned invalid output parameter.
Device (Device) working storage parameter, the standard interfare device is according to the regulation of responding undefined order, write the output parameter of correspondence at the bit 4 of device (Device) working storage, and bit 5 and bit 7 are to be discarded (obsolete, obs), all the other bits are all invalid output parameter, promptly insert numerical value arbitrarily; State (Status) working storage parameter, the standard interfare device is the regulation of bad command according to responding undefined order, the bit 0 of set condition (Status) working storage (mistake (ERR)) is 1, with expression fill order mistake, wherein the bit 0 of state (Status) working storage is wrong parameter.In addition, standard interfare device and according to the output parameter that bit 3, bit 5, bit 6 and bit 7 are inserted correspondence that is defined in of responding undefined order, and all the other bits are all invalid output parameter and can insert numerical value arbitrarily.
Software program of the present invention is the identity of the first identifying bridge of meeting when carrying out, if just continue execution during the identity that software program can identifying bridge, if stop during identity that can't identifying bridge carrying out, can prevent that so the non-user who authorizes from usurping the software program of his factory.
Seeing also shown in Figure 2ly, is the process flow diagram of a preferred embodiment of the present invention.This embodiment is by undefined the order to the standard interfare device of input, carry out to produce the output information that failure is carried out in expression for the standard interfare device, the invalid output parameter of setting the output information for bridge is an identified parameters, to allow software program can reach the purpose of identifying bridge by the judgement identified parameters.
The method of identifying bridge of the present invention, at first shown in step S10, software program is imported undefined an order to console controller, this undefined order be the standard interfare device can't identification order; Then, carry out step S11, console controller is sent to bridge with undefined order; Afterwards, carry out step S12, the undefined command conversion that bridge will receive become the standard interfare device can identification form, and the undefined order after will changing is sent to the standard interfare device, wherein undefined order is the recognizable order of bridge; Subsequently, carry out step S13, the standard interfare device is carried out the undefined order after the conversion that has received, because the standard interfare device can't be confirmed the meaning of undefined order representative, carries out the result who fails so certainly lead to one.When carrying out this undefined order failure, then produce one and carry out the output information of failure, and will export information and be stored in the corresponding output working storage, return this afterwards and export information to bridge.
Then, carry out step S14, bridge can be judged the failure parameter (ABRT) and wrong parameter (ERR) that has received the output information.When bridge judges that the failure parameter is all 1 with wrong parameter, represent the information that this output information is produced when carrying out undefined order failure for the standard interfare device, bridge can be set this, and to export the contained invalid output parameter of information be identified parameters.Seeing also shown in the following table two, is the form shfft that the present invention comprises the output information of identified parameters.
Figure C20061000724600131
Table two
As shown in Table 2, invalid output parameter among this embodiment comprises magnetic region counting (SectorCount) working storage parameter, one low level metalogic block addressing (LBA Low) working storage parameter, one meta metalogic block addressing (LBA Mid) working storage parameter and high-order metalogic block addressing (LBAHigh) working storage parameter, the bridge of this embodiment is with magnetic region counting (Sector Count) working storage parameter, low level metalogic block addressing (LBA Low) working storage parameter, meta metalogic block addressing (LBAMid) working storage parameter and high-order metalogic block addressing (LBA High) working storage parameter are made as the particular value that is preset in the bridge respectively with as identified parameters, and the default specific value of this embodiment is the 01h of sexadecimal (Hexadecimal) numerical value (please provide the Chinese define name of h), 02h, 03h and 04h.Subsequently, the output information that comprises identified parameters after bridge is finished setting be converted to console controller can identification form.
Then, shown in step S15, the output information that will comprise identified parameters after bridge will be changed is back to console controller; At last, carry out step S16, software program reads the output information that console controller has received, and judges the contained identified parameters of this output information, to confirm whether bridge is the bridge of being supported.If software program is judged magnetic region counting (Sector Count) working storage parameter, low level metalogic block addressing (LBA Low) working storage parameter, meta metalogic block addressing (LBA Mid) working storage parameter and high-order metalogic block addressing (LBA High) when the working storage parameter is respectively 01h, 02h, 03h and 04h, the execution but the i.e. identity of expression identification this bridge and developed making by supporting manufacturer, software program can continue; If when judging magnetic region counting (Sector Count) working storage parameter, low level metalogic block addressing (LBA Low) working storage parameter, meta metalogic block addressing (LBA Mid) working storage parameter and high-order metalogic block addressing (LBA High) working storage parameter not for 01h, 02h, 03h and 04h, expression can't this bridge of identification identity, and developed making by other manufacturers that can't support, so, software program promptly can stop to carry out and avoids being usurped.
Seeing also shown in Figure 3ly, is the process flow diagram of another preferred embodiment of the present invention.Another embodiment of Fig. 3 and the above-mentioned first embodiment difference are, the undefined order that Fig. 3 embodiment is imported can be distinguished the order that the standard interfare device can't be distinguished for bridge, and produce the output information that failure is carried out in expression by the standard interfare device, and the order that first embodiment is imported is the order that bridge can't be distinguished, and produce the output information that expression can't be discerned this undefined order by bridge, this output information is same as the output information that failure is carried out in expression.According to this embodiment, existing method statement with identifying bridge of the present invention is described as follows:
At first, shown in step S20, the undefined order of software program input to console controller, this undefined order is that bridge institute can't identification; Then, carry out step S21, console controller is sent to bridge with undefined order; Afterwards, carry out step S22, bridge judges that the undefined order received is order that can't identification, and produces the output information that expression can't be discerned this undefined order; Subsequently, carry out step S23, bridge will be exported invalid output parameter contained in the information and be set at identified parameters, and change this output information by console controller the form of energy identification; Continue, carry out step S24, the output information that bridge will comprise identified parameters is back to console controller; At last, carry out step S25, software program reads the output information that console controller has received, and judges the contained identified parameters of this output information, to confirm whether bridge is the bridge of being supported.
In addition, but if the undefined order of input for bridge identification standard interfare device can't identification order the time, bridge also can judge undefined order and learn this undefined order for the standard interfare device can't identification order produce output information that expression can't discern this undefined order at once to set identified parameters, so do not need to transmit again undefined the order to the standard interfare device, produce the output information of carrying out failure, get final product the identity of identifying bridge.
In sum, the method for identifying bridge of the present invention sees also shown in Figure 4ly, is the process flow diagram of embodiments of the invention.Now its flow process of method with identifying bridge of the present invention specifies as follows: at first, carry out step S30, the undefined order that input standard interfare device or bridge can not be distinguished; Then, carry out step S31, the standard interfare device carries out undefined order or bridge is judged undefined order; Afterwards, carry out step S32, output information or bridge that the standard interfare device produces expression execution failure produce the output information that expression can't be discerned this undefined order; Then, carry out step S33, the invalid output parameter that bridge is set the output information is an identified parameters; At last, carry out step S34, read the output information judging the identity of identified parameters and then identifying bridge, but if during the identity of software program identifying bridge, if executions that promptly continue can't identification the time, promptly stops execution for software program.So, can avoid software program to be usurped.Hence one can see that, and can reach by discrimination method of the present invention does not need additionally to formulate the purpose that a standard commands gets final product identifying bridge.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the technology contents that can utilize above-mentioned announcement is made a little change or is modified to the equivalent embodiment of equivalent variations, in every case be not break away from the technical solution of the present invention content, according to technical spirit of the present invention to any simple modification that above embodiment did, equivalent variations and modification all still belong in the scope of technical solution of the present invention.

Claims (24)

1. the method for an identifying bridge is characterized in that it comprises the following steps:
Import undefined order to a standard interfare device;
This standard interfare device is carried out this undefined order, then produces output information to a bridge when carrying out failure, and this output information comprises the invalid output parameter of plural groups;
It is an identified parameters that this bridge is set at least one this invalid output parameter; And
By judging whether this identified parameters is corresponding with this bridge, with this bridge of identification.
2. the method for identifying bridge according to claim 1 it is characterized in that wherein being to use this undefined order of software program input, and this software program can be used for this bridge or this standard interfare device.
3. the method for identifying bridge according to claim 1, it is characterized in that wherein be in this undefined order of input to this standard interfare device, should undefined order be sent to a console controller earlier, this console controller transmits this undefined order to this standard interfare device by this bridge.
4. the method for identifying bridge according to claim 3, it is characterized in that it wherein being to transmit this undefined order to this standard interfare device at this bridge, the format conversion that this bridge earlier will this undefined order by this standard interfare device the form of energy identification.
5. the method for identifying bridge according to claim 1 is characterized in that it wherein being a plurality of output working storages that the invalid output parameter of plural groups that this output information is comprised are stored in this standard interfare device respectively.
6. the method for identifying bridge according to claim 1, it is characterized in that wherein said this invalid output parameter of bridge setting is for after this identified parameters, be that this this output information that comprises identified parameters is sent to a console controller, read for a software program.
7. according to the method for the described identifying bridge of claim 6, it is characterized in that it wherein being that this output information that will comprise this identified parameters is sent to before this console controller, this bridge will export information be converted to this console controller can identification form.
8. the method for identifying bridge according to claim 1, it is characterized in that wherein said output information is to comprise a wrong parameter and a failure parameter, this bridge is this identified parameters according to this wrong parameter and this this invalid output parameter of failure parameter setting.
9. the method for identifying bridge according to claim 1, it is characterized in that it wherein being by using a software program to judge this identified parameters, if this identified parameters is for judging, promptly this bridge is not supported by this software program, and then this software program interrupts continuing to carry out.
10. the method for identifying bridge according to claim 1 is characterized in that wherein said identified parameters is a particular value default in this bridge.
11. the method for identifying bridge according to claim 1, but it is characterized in that wherein said undefined order for this standard interfare device of this bridge identification can't identification order.
12. the method for identifying bridge according to claim 1 is characterized in that wherein said bridge is the bridge of rank technology attachment specification into.
13. the method for identifying bridge according to claim 1 is characterized in that wherein said bridge is the bridge of rank technology attachment specification package interface into.
14. the method for an identifying bridge is characterized in that it comprises the following steps:
Import undefined order to a bridge;
This bridge is judged this undefined order, and produces the output information that expression can't be discerned this undefined order, and this output information comprises the invalid output parameter of plural groups;
At least one this invalid output parameter of setting this output information is an identified parameters; And
By judging whether this identified parameters is corresponding with this bridge, with this bridge of identification.
15. the method for identifying bridge according to claim 14 it is characterized in that wherein being to use this undefined order of software program input, and this software program can be used for this bridge.
16. the method for identifying bridge according to claim 14, it is characterized in that wherein be in this undefined order of input to this bridge, should undefined order be sent to a console controller earlier, this console controller should undefined order be sent to this bridge.
17. the method for identifying bridge according to claim 14, it is characterized in that wherein after this this invalid output parameter of bridge setting is this identified parameters, be that this this output information that comprises identified parameters is sent to a console controller, read for a software program.
18. the method for identifying bridge according to claim 17, it is characterized in that this output information that wherein will comprise this identified parameters is sent to before this console controller, be by this bridge will export information be converted to this console controller can identification form.
19. the method for identifying bridge according to claim 14, it is characterized in that wherein said output information is to comprise a wrong parameter and a failure parameter, this bridge is this identified parameters according to this wrong parameter and this this invalid output parameter of failure parameter setting.
20. the method for identifying bridge according to claim 14, it is characterized in that it wherein being by using a software program to judge this identified parameters, if this identified parameters is for judging, promptly this bridge is not supported by this software program, and then this software program interrupts continuing to carry out.
21. the method for identifying bridge according to claim 14 is characterized in that wherein said identified parameters is a particular value default in this bridge.
22. the method for identifying bridge according to claim 14, it is characterized in that wherein said undefined order for this bridge can't identification order.
23. the method for identifying bridge according to claim 14 is characterized in that wherein said bridge is the bridge of rank technology attachment specification into.
24. the method for identifying bridge according to claim 14 is characterized in that wherein said bridge is the bridge of rank technology attachment specification package interface into.
CNB2006100072467A 2006-02-15 2006-02-15 Method for identifying bridge Active CN100397371C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100072467A CN100397371C (en) 2006-02-15 2006-02-15 Method for identifying bridge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100072467A CN100397371C (en) 2006-02-15 2006-02-15 Method for identifying bridge

Publications (2)

Publication Number Publication Date
CN1808410A CN1808410A (en) 2006-07-26
CN100397371C true CN100397371C (en) 2008-06-25

Family

ID=36840315

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100072467A Active CN100397371C (en) 2006-02-15 2006-02-15 Method for identifying bridge

Country Status (1)

Country Link
CN (1) CN100397371C (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1032224A2 (en) * 1999-02-22 2000-08-30 Selex Communications LLC. Method and apparatus for providing quasi mobile telephone service
CN1622066A (en) * 2004-12-13 2005-06-01 威盛电子股份有限公司 Method for actuating standard interface devices perform non-standard events
CN1700197A (en) * 2005-06-22 2005-11-23 威盛电子股份有限公司 Method for reading and writing non-standard temporary register in standard interface devices
CN1725504A (en) * 2004-07-09 2006-01-25 精工电子有限公司 Photoelectric converter, image sensor, and signal reading circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1032224A2 (en) * 1999-02-22 2000-08-30 Selex Communications LLC. Method and apparatus for providing quasi mobile telephone service
CN1725504A (en) * 2004-07-09 2006-01-25 精工电子有限公司 Photoelectric converter, image sensor, and signal reading circuit
CN1622066A (en) * 2004-12-13 2005-06-01 威盛电子股份有限公司 Method for actuating standard interface devices perform non-standard events
CN1700197A (en) * 2005-06-22 2005-11-23 威盛电子股份有限公司 Method for reading and writing non-standard temporary register in standard interface devices

Also Published As

Publication number Publication date
CN1808410A (en) 2006-07-26

Similar Documents

Publication Publication Date Title
CN101819550A (en) Interface testing system for serial connecting small computer system
CN104965700A (en) Method and system for implementing driving on SPI equipment under VxWorks operating system
CN103516557A (en) Method and system for testing
CN115080398A (en) Automatic interface test system and method
CN104021101A (en) USB interface system and implementation method based on LPC1768 platform
TW201027338A (en) External storage device having a self-contained security function
CN114138333B (en) Program loading method and related device
CN100397371C (en) Method for identifying bridge
CN104346306B (en) The system and method for high integrality dma operation
CN109901664A (en) Method, apparatus, system, equipment and the readable storage medium storing program for executing of clock signal are provided
CN106302061A (en) A kind of communication means based on FlexRay bus, Apparatus and system
US20050015679A1 (en) Simulated error injection system in target device for testing host system
CN112711462A (en) Cloud platform virtual CPU hot binding method and device and computer readable storage medium
CN112256513A (en) Method and device for debugging multiplexing of serial port and data serial port and controller
CN107678891A (en) The dual control method, apparatus and readable storage medium storing program for executing of a kind of storage system
CN105159714B (en) A kind of PMIC initial method and electronic equipment
CN106330595B (en) Heartbeat detection method and device for distributed platform
CN115080191B (en) Method, device, equipment and readable medium for managing I2C link
CN107229858B (en) PECI bus master-slave machine verification system and method supporting crc8 verification
CN110058973A (en) The test macro of data memory device and the test method of data memory device
JP5794266B2 (en) USB host device and program for USB host device
CN115167343A (en) Fault code (DTC) storage and readback optimization method
CN102841836B (en) Testing method and programmable processor
CN110175146A (en) Hard disk information acquisition methods and the device for obtaining hard disk information
CN106776186B (en) Method and system for debugging CPU running state under multi-CPU architecture

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