CN1089916C - Method for reading identifier of interface of mini-computer system - Google Patents
Method for reading identifier of interface of mini-computer system Download PDFInfo
- Publication number
- CN1089916C CN1089916C CN97123166A CN97123166A CN1089916C CN 1089916 C CN1089916 C CN 1089916C CN 97123166 A CN97123166 A CN 97123166A CN 97123166 A CN97123166 A CN 97123166A CN 1089916 C CN1089916 C CN 1089916C
- Authority
- CN
- China
- Prior art keywords
- identifier
- computer system
- interface
- mini
- sampling
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Container, Conveyance, Adherence, Positioning, Of Wafer (AREA)
- Storage Device Security (AREA)
Abstract
The present invention relates to a method for reading device identification values of a small computer system interface (SCSI). The method can read identification values of the SCSI device multiple times, and the identification value of the highest occurrence frequency is the identification value of the device. When the system reads the identification values of the SCSI device, the system is free from the influence of electro-static discharge (ESD), has no need of adding additional metal sheets to guide the accidental current generated by the electro-static discharge, and can correctly read the identification values of the SCSI device at any time.
Description
The invention relates to and a kind ofly can correctly read the small computer system interface, promptly install the method for identifier, utilization is read the inferior identifier of plural number to interface of mini-computer system, and be the mode of this device identification value with the highest identifier of the frequency of occurrences, so that system is not subjected to (Electro-Static Discharge when reading identifier of interface of mini-computer system, be abbreviated as ESD) influence, also need not increase the burst current of extra sheet metal with this generation of static electricity of diversion.
Small computer system interface (Small Computer Systems Interface, be abbreviated as SCSI) series product extensively appear among the various computer apparatus, such as hard disk (Hard disk), CD-ROM (Compact Disk Read Only Memory, CD-ROM) etc. device spare all has the product that meets this interface to come out, and each device that meets the SCSI interface all has a unique identifier, gets device signal (information) to make things convenient for system's storage.
The generation of static electricity that burst is often arranged in physical environment, this static often produce the big electric current of moment.Static with Fig. 2 causes electric current and time relation figure, cooperating the static of four listed among Fig. 3 progression and the electric current of its initiation is example, no matter the electric charge size of static, at 0.7 to 1 part per billion second (Nano second, ns) in, cause electric current and will rise to peak, and along with the increase of time is successively decreased.For example (first current spike value of its initiation (the A point of Fig. 2) has 15 amperes (Ampere) big to 4 kilovolts for Kilo Volts, the electric current that static caused KV)! And the initiation electric current when 30 part per billion seconds (nano second, ns) the C point of the B point of Fig. 2 and 60ns Fig. 2) then is respectively 8 and 4 amperes, and this one causes electric current and strengthen along with the increase of electrostatic potential.
For extremely responsive current system, regular meeting is subjected to the interference of static and produces some unforeseen mistakes, is for example reading in this SCSI device identification value the interference of Chang Yinwei static and the device identification value that takes place to be read is the situation of misidentification value.Based on this shortcoming, traditional practice is to utilize a sheet metal to be wrapped in the outside of SCSI device, so the electric current that static caused is all discharged behind this additional suitable position that sheet metal is directed to.Yet this practice must be added a sheet metal, and more seriously this sheet metal takes place will not reach the effect of protection when damaged, thus need badly a kind of can be under the interference of static, the method for reading SCSI device identification value that still can be correct.
In view of above-mentioned background of invention, read in the conventional apparatus in this SCSI device identification value for overcoming, the interference of Chang Yinwei static and the situation of read error takes place, if utilize a sheet metal to be wrapped in the outside of SCSI device, to prevent that electrostatic influence from reading the mode of SCSI device identification value, then need an additional sheet metal, so the object of the present invention is to provide a kind of method that can all can correctly read SCSI device identification value at any time.
For achieving the above object, the read method of a kind of identifier of interface of mini-computer system of the present invention is characterized in: this method comprises the following step at least:
Obtain the sampling value of plural number time this identifier of interface of mini-computer system with sampling mode, described sampling mode carries out with 60 part per billion seconds cycle at least;
Find out frequency of occurrences soprano in this sampling value; And
With the highest sampling value of this frequency of occurrences is this identifier of interface of mini-computer system.
Said method, wherein, the described step of finding out this identifier that obtains repeatedly this interface of mini-computer system need be carried out three times at least.
Said method, wherein, described sampling mode carries out in 3 times the mode of taking a sample at least.
A kind of read method of identifier of interface of mini-computer system is characterized in: this method is protected at the bag that need not increase extra sheet metal, and is subjected under the environment of electrostatic influence, still can correctly read the identifier of small computer system interface, comprises the following step at least:
Obtain the sampling value of at least three these identifier of interface of mini-computer system in the mode of sampling, described sampling mode carries out with 60 part per billion seconds cycle at least;
Find out frequency of occurrences soprano in this sampling value; And
With the highest sampling value of this frequency of occurrences is this identifier of interface of mini-computer system.
Said method, wherein, described sampling mode is to carry out in 3 times the mode of taking a sample at least.
According to the above, the invention provides a kind of method that can correctly read SCSI device identification value, when reading the identifier of SCSI device in the mode of plural sub-sampling (Sampling), and be the mode of this device identification value with the highest identifier of the frequency of occurrences, need not increase under the burst current that extra sheet metal produced with this static of diversion, make system when reading SCSI device identification value, not be subjected to ESD to disturb influence with environment.
Preferred embodiment of the present invention will be aided with following accompanying drawing and do more detailed elaboration in comment backward:
Fig. 1 is that the present invention is at the operational flowchart that reads SCSI device identification value;
Fig. 2 is that typical static causes electric current and the graph of a relation of time; And
Fig. 3 is the correspondence graph of static and its initiation electric current.
Fig. 1 describes the present invention in the operating process that reads SCSI device identification value, when computer system reads its identifier to the SCSI device, to read identifier (step 101) many times in the mode of sampling, promptly the identifier of sampling is classified, the occurrence number (step 102) of statistical sampling value again, last again with the sampling value frequency of occurrences the highest be SCSI device identification value (step 103).
For instance, when computer system with sample period of 30ns sampling 10 times, when reading identifier and be 1 SCSI hard disk, just in time have static to cause electric current, so the identifier that computer system read in the step 101 is " 1,1,4,4,3,1,1,1,1,1 ".Add up after this sampling value occurrence number and find that " identifier 17 times, " identifier 4 " occur and 2 times, " identifier 3 " occur and 1 time (classification results of step 102) occur, so be the identifier of this SCSI hard disk with the frequency of occurrences the highest " identifier 1 ".Above-mentioned situation is if only read identifier mode once and carry out with commonly used, very likely reads wrong identifier (for example 3 or 4), and this misidentification value is with the serious consequence of initiating system when machine.
The above-mentioned sample period becomes with the sampling visual practical situation of number of times, but the sampling number of times needs cube that reference value is arranged at least, because in the statistical sampling value, if two situations that sampling value is different of a sampling value and other are arranged, still can utilize the identifier of the higher sampling value of the frequency of occurrences for this SCSI device, right under the situation that had a strong impact on by static, three take second place sampling value may be all different.Show according to experimental result, use the above sample period of 60ns at least and the result that obtained for 3 times of taking a sample at least best.And lacking extra sheet metal to stop under the static, system still can correctly read the SCSI identifier.
As for the mode of statistical sampling value, can utilize counter (Counter) or buffer zone (Buffer) to store the occurrence number of sampling value, in counter or buffer zone, find out again and the highest sampling value occurred in (Searching) mode of searching.And enforcement of the present invention can utilize the mode of software formula to reach, or utilize hardware to record operating process of the present invention, such as with the running program burning in ROM (read-only memory) (Read Only Memory, ROM), or be stored in non-volatility memory flash memory (Flash Memory), electronic type can remove the programmable ROM (read-only memory) (Electrically Erasable Programmable Read Only Memory, EEPROM) among.
Comprehensive the above, the present invention discloses a kind of method that can correctly read SCSI device identification value, utilization is read the inferior identifier of plural number to the SCSI device, and be the mode of this device identification value with the highest identifier of the frequency of occurrences, so that system isolates under the static not increasing extra sheet metal, still can correctly read SCSI device identification value.
Claims (5)
1. the read method of an identifier of interface of mini-computer system, it is characterized in that: this method comprises the following step at least:
Obtain the sampling value of plural number time this identifier of interface of mini-computer system with sampling mode, described sampling mode carries out with the cycle of 60ns at least;
Find out frequency of occurrences soprano in this sampling value; And
With the highest sampling value of this frequency of occurrences is this identifier of interface of mini-computer system.
2. the method for claim 1 is characterized in that, the described step of finding out this identifier that obtains repeatedly this interface of mini-computer system need be carried out three times at least.
3. the method for claim 1 is characterized in that, described sampling mode carries out in 3 times the mode of taking a sample at least.
4. the read method of an identifier of interface of mini-computer system, it is characterized in that: this method is protected at the bag that need not increase extra sheet metal, and be subjected under the environment of electrostatic influence, still can correctly read the identifier of small computer system interface, comprise the following step at least:
Obtain the sampling value of at least three these identifier of interface of mini-computer system in the mode of sampling, described sampling mode carries out with the cycle of 60nS at least;
Find out frequency of occurrences soprano in this sampling value; And
With the highest sampling value of this frequency of occurrences is this identifier of interface of mini-computer system.
5. method as claimed in claim 4 is characterized in that, described sampling mode is to carry out in 3 times the mode of taking a sample at least.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN97123166A CN1089916C (en) | 1997-11-20 | 1997-11-20 | Method for reading identifier of interface of mini-computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN97123166A CN1089916C (en) | 1997-11-20 | 1997-11-20 | Method for reading identifier of interface of mini-computer system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1218210A CN1218210A (en) | 1999-06-02 |
CN1089916C true CN1089916C (en) | 2002-08-28 |
Family
ID=5176979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN97123166A Expired - Fee Related CN1089916C (en) | 1997-11-20 | 1997-11-20 | Method for reading identifier of interface of mini-computer system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1089916C (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5598577A (en) * | 1991-12-26 | 1997-01-28 | Dell Usa, L.P. | Computer system with automatic drive model ID recognition and drive type adaptation |
US5630076A (en) * | 1995-05-05 | 1997-05-13 | Apple Computer, Inc. | Dynamic device matching using driver candidate lists |
-
1997
- 1997-11-20 CN CN97123166A patent/CN1089916C/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5598577A (en) * | 1991-12-26 | 1997-01-28 | Dell Usa, L.P. | Computer system with automatic drive model ID recognition and drive type adaptation |
US5630076A (en) * | 1995-05-05 | 1997-05-13 | Apple Computer, Inc. | Dynamic device matching using driver candidate lists |
Also Published As
Publication number | Publication date |
---|---|
CN1218210A (en) | 1999-06-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Saraceno et al. | Identification of story units in audio-visual sequences by joint audio and video processing | |
JPH07282088A (en) | Device and method for matching | |
Franta et al. | An efficient data structure for the simulation event set | |
JPH0612303A (en) | Method and apparatus for inspecting whether record is stored or not in computer system | |
CN103019707B (en) | The analyzing and processing method of call stack and device | |
AU762634B2 (en) | System and method for extracting index key data fields | |
CN1089916C (en) | Method for reading identifier of interface of mini-computer system | |
WO2010078629A1 (en) | A system for real time near-duplicate video detection | |
CN101079000A (en) | Automated test method and apparatus for quick positioning question | |
CN110927587B (en) | Method and device for generating battery pack charge and discharge test report | |
Ma et al. | Real-time dc pulsed power load monitoring using simplified k-nn algorithms | |
CN102542279A (en) | Method and device for extracting Uighur, Kazakh and Kirgiz text images by rows | |
CN114418147A (en) | Method and device for processing abnormity of main charging module, terminal and storage medium | |
CN110178041A (en) | For detecting the device and method of the quantity of static discharge | |
CN113010885B (en) | Method and device for detecting kernel thread disguised with start address | |
CN1091231A (en) | Data sending device | |
KR20220050094A (en) | Instantaneous voltage drop detection circuit and vehicle-mounted diagnostic system | |
CN109727106B (en) | Account checking file reorganizing method and device and electronic equipment | |
US6216253B1 (en) | Method and apparatus for verifying and electrical configuaration using a psuedo-element pattern | |
Liu et al. | Commercial recognition in TV streams using coarse-to-fine matching strategy | |
CN109344095B (en) | Flash memory thermal data identification method | |
CN117233659A (en) | Small-resistance grounding system fault identification method and device based on blanket dimension | |
Mohanta et al. | Detection of representative frames of a shot using multivariate wald-wolfowitz test | |
Döhring et al. | Fast frame-accurate mining for repeating video clips | |
CN1234077C (en) | Method for loading operating system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |