[go: up one dir, main page]

CN1089916C - Method for reading identification value of interface device of small computer system - Google Patents

Method for reading identification value of interface device of small computer system Download PDF

Info

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
identification value
computer system
sampling
interface
identifier
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
CN97123166A
Other languages
Chinese (zh)
Other versions
CN1218210A (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.)
Transpacific IP Ltd
Original Assignee
Transpacific IP Ltd
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 Transpacific IP Ltd filed Critical Transpacific IP Ltd
Priority to CN97123166A priority Critical patent/CN1089916C/en
Publication of CN1218210A publication Critical patent/CN1218210A/en
Application granted granted Critical
Publication of CN1089916C publication Critical patent/CN1089916C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Container, Conveyance, Adherence, Positioning, Of Wafer (AREA)

Abstract

A method for reading Identification value (Device Identification) of Small Computer System Interface (SCSI) Device reads Identification value of SCSI Device for several times, and takes the Identification value with highest frequency as the Identification value of the Device, so that the system is not influenced by Static-Static Discharge (ESD) when reading the Identification value of SCSI Device, and no extra metal sheet is needed to increase to conduct the burst current generated by Static, thereby being a method for correctly reading Identification value of SCSI Device at any time.

Description

小电脑系统界面装置辨识值的读取方法Method for reading identification value of interface device of small computer system

本发明是关于一种能正确读取小电脑系统界面、即装置辨识值的方法,利用对小电脑系统界面装置读取复数次的辨识值,并以出现频率最高的辨识值为该装置辨识值的方式,以使系统在读取小电脑系统界面装置辨识值时不受(Electro-Static Discharge,缩写为ESD)的影响,亦不需增加额外的金属片以导离该静电产生的突发电流。The invention relates to a method for correctly reading the identification value of the interface of the small computer system, that is, the device. The identification value of the interface device of the small computer system is read multiple times, and the identification value of the device with the highest frequency of occurrence is used as the identification value of the device. In this way, the system will not be affected by (Electro-Static Discharge, abbreviated as ESD) when reading the identification value of the small computer system interface device, and there is no need to add additional metal sheets to conduct the sudden current generated by the static electricity .

小电脑系统界面(Small Computer Systems Interface,缩写为SCSI)系列的产品已广泛出现在各种电脑装置之中,诸如硬盘(Hard disk)、高容量只读存储器(Compact Disk Read Only Memory,CD-ROM)等装置件皆有符合该界面的产品问世,而每个符合SCSI界面的装置皆有一唯一的辨识值,以方便系统存储取装置信号(资讯)。Small Computer Systems Interface (SCSI) series products have been widely used in various computer devices, such as hard disk (Hard disk), high-capacity read-only memory (Compact Disk Read Only Memory, CD-ROM) ) and other devices have products that conform to the interface, and each device that conforms to the SCSI interface has a unique identification value to facilitate the system to store and retrieve device signals (information).

在自然环境中常有突发的静电产生,该静电往往产生瞬间的大电流。以图2之静电引发电流与时间的关系图,配合图3中所列出之四个级数的静电与其引发之电流为例,不论静电的电荷大小,在0.7至1十亿分之一秒(Nano second,ns)内,引发电流将升至最高点,并随着时间的增加递减。例如4千伏特(Kilo Volts,KV)的静电所引发的电流,其引发的第一个电流尖峰值(图2之A点)有15安培(Ampere)之大!而在30十亿分之一秒(nano second,ns)图2的B点与60ns图2的C点)时的引发电流则分别为8与4安培,此一引发电流并随着静电电压的增加而加大。In the natural environment, sudden static electricity is often generated, and the static electricity often generates instantaneous large currents. Take the relationship between the current and time induced by static electricity in Figure 2, and cooperate with the four levels of static electricity and its induced current listed in Figure 3 as an example. Regardless of the size of the static electricity charge, it is within 0.7 to 1 billionth of a second Within (Nano second, ns), the induced current will rise to the highest point and decrease with time. For example, the current caused by static electricity of 4 kilovolts (Kilo Volts, KV), the first current peak value (point A in Figure 2) caused by it is as large as 15 amperes (Ampere)! And at 30 billionths of a second (nano second, ns) point B in Figure 2 and point C in 60ns Figure 2), the induced currents are 8 and 4 amperes respectively, and this induced current increases with the electrostatic voltage increase and increase.

对于极度敏感的电流系统而言,常会受静电的干扰而产生一些无法预知的错误,例如在读取该SCSI装置辨识值之时,常因为静电的干扰而发生所读取的装置辨识值为错误辨识值的情形。基于此一缺点,传统的作法是利用一金属片包裹于SCSI装置的外部,所以静电所引发的电流皆被该附加的金属片所导引至适当部位后释放。然而此一作法必须附加一金属片,更严重的是该金属片发生破损时将达不到保护的效果,所以亟需一种能在静电的干扰下,仍能正确的读出SCSI装置辨识值的方法。For extremely sensitive current systems, some unpredictable errors are often caused by static electricity interference. For example, when reading the SCSI device identification value, the read device identification value is often wrong due to static electricity interference. The case of the identification value. Based on this shortcoming, the traditional method is to use a metal sheet to wrap the outside of the SCSI device, so the electric current caused by the static electricity is guided to the appropriate position by the additional metal sheet and then released. However, this method must add a metal sheet, and what is more serious is that the protective effect will not be reached when the metal sheet is damaged. Therefore, there is an urgent need for a method that can still read the SCSI device identification value correctly under the interference of static electricity. Methods.

鉴于上述的发明背景,为克服传统装置中读取该SCSI装置辨识值之时,常因为静电的干扰而发生读取错误的情形,若利用一金属片包裹于SCSI装置的外部,以防止静电影响读取SCSI装置辨识值的方式,则需要附加一金属片,所以本发明的目的在于提供一种能在任何时刻皆能正确读出SCSI装置辨识值的方法。In view of the above-mentioned background of the invention, in order to overcome the situation that reading errors often occur due to the interference of static electricity when reading the identification value of the SCSI device in the traditional device, if a metal sheet is used to wrap the outside of the SCSI device to prevent static electricity To read the identification value of the SCSI device, a metal sheet needs to be added, so the purpose of the present invention is to provide a method that can correctly read the identification value of the SCSI device at any time.

为实现上述目的,本发明一种小电脑系统界面装置辨识值的读取方法,其特点是:该方法至少包含下列步骤:In order to achieve the above object, the present invention provides a method for reading the identification value of a small computer system interface device, which is characterized in that the method at least includes the following steps:

以取样方式获取复数次该小电脑系统界面装置辨识值的取样值,所述的取样方式至少以60十亿分之一秒的周期进行;Obtain a plurality of sampling values of the identification value of the small computer system interface device in a sampling manner, and the sampling manner is performed at a period of at least 60 billionths of a second;

找出该取样值中出现频率最高者;及find the most frequent of the sampled values; and

以该出现频率最高的取样值为该小电脑系统界面装置辨识值。The identification value of the interface device of the small computer system is taken as the sampling value with the highest occurrence frequency.

上述方法,其中,所述找出该获取多次该小电脑系统界面装置的辨识值的步骤至少需执行三次。The above-mentioned method, wherein, the step of finding out the identification value of the small computer system interface device obtained multiple times needs to be performed at least three times.

上述方法,其中,所述的取样方式,至少以取样3次的方式进行。The above-mentioned method, wherein, the sampling method is performed at least three times.

一种小电脑系统界面装置辨识值的读取方法,其特点是:该方法在不需增加额外的金属片的包护,且受静电影响的环境下,仍能正确读取小电脑系统界面的辨识值,至少包含下列步骤:A method for reading the identification value of an interface device of a small computer system, which is characterized in that the method can still correctly read the interface of the small computer system without adding additional metal sheets for protection and in an environment affected by static electricity. Identify the value, at least including the following steps:

以取样的方式获取至少三次该小电脑系统界面装置辨识值的取样值,所述的取样方式至少以60十亿分之一秒的周期进行;Obtaining at least three sampling values of the identification value of the small computer system interface device in a sampling manner, and the sampling manner is performed at least at a period of 60 billionths of a second;

找出该取样值中出现频率最高者;及find the most frequent of the sampled values; and

以该出现频率最高的取样值为该小电脑系统界面装置辨识值。The identification value of the interface device of the small computer system is taken as the sampling value with the highest occurrence frequency.

上述方法,其中,所述取样方式,是以至少取样3次的方式进行。The above method, wherein the sampling method is performed at least three times.

根据以上所述,本发明提供了一种能正确读取SCSI装置辨识值的方法,在读取SCSI装置的辨识值时以复数次取样(Sampling)的方式,并以出现频率最高的辨识值为该装置辨识值之方式,在不需增加额外的金属片以导离该静电所产生的突发电流之下,使系统在读取SCSI装置辨识值时不受ESD干扰与环境的影响。According to the above, the present invention provides a method for correctly reading the identification value of the SCSI device. When reading the identification value of the SCSI device, multiple sampling (Sampling) is used, and the identification value with the highest frequency of occurrence The device identification method does not need to add additional metal sheets to conduct the sudden current generated by the static electricity, so that the system will not be affected by ESD interference and the environment when reading the SCSI device identification value.

本发明的较佳实施例将于往后的说明文字中辅以下列附图做更详细的阐述:Preferred embodiments of the present invention will be described in more detail with the help of the following drawings in the following description:

图1为本发明在读取SCSI装置辨识值的操作流程图;Fig. 1 is the operation flowchart of the present invention in reading SCSI device identification value;

图2是典型的静电引发电流与时间之关系图;及Fig. 2 is a typical electrostatic induction current versus time diagram; and

图3为静电与其引发电流的对应图表。Figure 3 is a corresponding chart of static electricity and its induced current.

图1描述本发明在读取SCSI装置辨识值的操作流程,当电脑系统对SCSI装置读取其辨识值时,将以取样的方式读取许多次辨识值(步骤101),即对取样的辨识值进行分类,再统计取样值的出现次数(步骤102),最后再以取样值出现频率最高的为SCSI装置辨识值(步骤103)。Fig. 1 describes the operation flow of the present invention in reading the identification value of the SCSI device. When the computer system reads the identification value of the SCSI device, it will read the identification value many times in the form of sampling (step 101), that is, the identification of the sampling Values are classified, and the occurrence times of the sampling values are counted (step 102), and finally the sampling value with the highest frequency of occurrence is the SCSI device identification value (step 103).

举例来说,当电脑系统以30ns的取样周期取样10次,来读取辨识值为1的SCSI硬盘时,正好有静电引发电流,于是步骤101中电脑系统所读取的辨识值即为“1,1,4,4,3,1,1,1,1,1”。统计该取样值出现次数之后发现“辨识值1出现7次、“辨识值4”出现2次、“辨识值3”出现1次(步骤102之分类结果),于是以出现频率最高的“辨识值1”为该SCSI硬盘的辨识值。上述的情形若以常用只读取辨识值一次的方式进行,极有可能读取到错误的辨识值(例如3或4),此一错误辨识值将引发系统当机的严重后果。For example, when the computer system samples 10 times with a sampling period of 30 ns to read the SCSI hard disk with an identification value of 1, there happens to be a current induced by static electricity, so the identification value read by the computer system in step 101 is "1". , 1, 4, 4, 3, 1, 1, 1, 1, 1". After counting the number of occurrences of the sampling value, it is found that "identification value 1 appears 7 times, "identification value 4" occurs 2 times, and "identification value 3" occurs 1 time (the classification result of step 102), so the "identification value" with the highest frequency of occurrence 1" is the identification value of the SCSI hard disk. If the above-mentioned situation is carried out in the usual way of only reading the identification value once, it is very likely to read a wrong identification value (such as 3 or 4), and this wrong identification value will cause Serious consequences of system crashes.

上述的取样周期与取样次数可视实际情形而变,但取样次数至少需三次方有参考价值,因为在统计取样值的时候,若有一个取样值与其他两个取样值不同的情形,仍可利用出现频率较高的取样值为该SCSI装置的辨识值,然在受静电严重影响的情形下,三次之取样值可能都不同。依据实验结果显示,使用至少60ns以上的取样周期且至少取样3次所获得的结果最好。而且在缺少额外的金属片以阻挡静电之下,系统仍可正确读取SCSI辨识值。The above-mentioned sampling period and sampling frequency can vary depending on the actual situation, but the sampling frequency needs to be at least cubic to have a reference value, because when counting the sampling values, if one sampling value is different from the other two sampling values, it can still be Use the sampling value with higher frequency to identify the SCSI device. However, in the case of severe static electricity, the sampling values of the three times may be different. According to the experimental results, the best result is obtained by using a sampling period of at least 60 ns and sampling at least three times. Moreover, the system can still read the SCSI identification value correctly without the extra metal sheet to block static electricity.

至于统计取样值的方式,可利用计数器(Counter)或缓冲区(Buffer)储存取样值的出现次数,再于计数器或缓冲区中以搜寻(Searching)方式找出出现了最高的取样值。而本发明的实施可以利用软体程式的方式来达成,或利用硬体录制本发明的操作流程,诸如将操作程序烧录于只读存储器(Read Only Memory,ROM),或储存于非挥发性记忆体快闪存储器(Flash Memory)、电子式可清除可程式只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)之中。As for the method of counting the sampled value, the counter or buffer can be used to store the occurrence times of the sampled value, and then the highest sampled value can be found by searching in the counter or buffer. And the implementation of the present invention can utilize the mode of software program to realize, or utilize hardware to record the operation process of the present invention, such as operating program is burnt in read-only memory (Read Only Memory, ROM), or is stored in non-volatile memory Among the bulk flash memory (Flash Memory), electronically erasable programmable read-only memory (Electrically Erasable Programmable Read Only Memory, EEPROM).

综合以上所述,本发明揭露一种能正确读取SCSI装置辨识值的方法,利用对SCSI装置读取复数次的辨识值,并以出现频率最高的辨识值为该装置辨识值的方式,以使系统在不需增加额外的金属片而隔离静电之下,仍可正确读SCSI装置辨识值。Based on the above, the present invention discloses a method for correctly reading the identification value of a SCSI device. By reading the identification value of the SCSI device multiple times and using the identification value with the highest frequency of occurrence as the identification value of the device, The system can still correctly read the identification value of the SCSI device without adding additional metal sheets to isolate static electricity.

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.
CN97123166A 1997-11-20 1997-11-20 Method for reading identification value of interface device of small computer system Expired - Fee Related CN1089916C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN97123166A CN1089916C (en) 1997-11-20 1997-11-20 Method for reading identification value of interface device of small 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 identification value of interface device of small 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 identification value of interface device of small computer system

Country Status (1)

Country Link
CN (1) CN1089916C (en)

Citations (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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
US11469453B2 (en) Open cell detection systems and methods
US5541942A (en) Method and system for testing memory utilizing specific bit patterns
CN1041042A (en) Excitation winding grounding automatic detector and steady arm
CN109496292A (en) Disk management method, disk management device and electronic device
CN106201774B (en) NAND FLASH storage chip data storage structure analysis method
CN108573172B (en) Data checking and storing method and device
KR100389987B1 (en) Distributed directory for information stored on voice memory devices
US6195767B1 (en) Data corruption detection apparatus and method
US20160172849A1 (en) Esd/eos detection
CN1089916C (en) Method for reading identification value of interface device of small computer system
JP6003681B2 (en) Surge protection circuit and communication device
CN118916640A (en) Lightning arrester performance data acquisition method and system
CN113805050B (en) Phase selection closing angle monitoring method and device, computer equipment and storage medium
CN1304089A (en) Tracking and Detection Method of Computer Virus Infected Files
CN110178041A (en) For detecting the device and method of the quantity of static discharge
CN108984422B (en) Method for saving memory based on NTFS and FAT32 file system cluster management
CN108897817B (en) Data storage method, detection method and system, storage medium and computer equipment
CN119224525A (en) Chip and chip detection method
US5740177A (en) Method of correcting error, suitable for storage device
Tanaka et al. CDM ESD test considered phenomena of division and reduction of high voltage discharge in the environment
CN109727106B (en) Account checking file reorganizing method and device and electronic equipment
Ashrafian et al. Detection of internal incipient faults in transformers during impulse test using hyperbolic S‐transform
CN113593628A (en) Circuit and method for recording electrostatic discharge event, integrated circuit, and micro control unit
CN113448599A (en) Detection method, detection device, electronic equipment and readable storage medium
JPS6122586A (en) Operation indicator of arrester

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