JP2005202705A - Automatic inspection apparatus and automatic inspection method - Google Patents

Automatic inspection apparatus and automatic inspection method Download PDF

Info

Publication number
JP2005202705A
JP2005202705A JP2004008579A JP2004008579A JP2005202705A JP 2005202705 A JP2005202705 A JP 2005202705A JP 2004008579 A JP2004008579 A JP 2004008579A JP 2004008579 A JP2004008579 A JP 2004008579A JP 2005202705 A JP2005202705 A JP 2005202705A
Authority
JP
Japan
Prior art keywords
peripheral device
inspection
data
computer
unit
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.)
Pending
Application number
JP2004008579A
Other languages
Japanese (ja)
Inventor
Kazuji Yamamoto
和司 山本
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004008579A priority Critical patent/JP2005202705A/en
Publication of JP2005202705A publication Critical patent/JP2005202705A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic inspection apparatus capable of shortening inspection time by inspection equipment of which the equipment and costs are saved as to inspection in the combination of a computer and a peripheral apparatus. <P>SOLUTION: The automatic inspection apparatus is provided with an inspection part 1 for forming connection data by setting the combination of one of four personal computers 4-7 which is to be inspected and one of four peripheral apparatuses 8-11 and setting control data to be transmitted from the personal computer to the peripheral apparatus, a switching part 3 connected between four personal computers 4-7 and four peripheral apparatuses 8-11 through interface cables and capable of mutually connecting the interface cables of the personal computer and the peripheral apparatus which are specified by the connection data of the inspection part 1 and a control part 2 for turning on power supplies for the peripheral apparatus and the personal computer which are specified by the connection data of the inspection part 1. The inspection part 1 is constituted so as to transmit control data to the personal computer when the power for the personal computer is turned on, allow data to be transmitted/received between the connected personal computer and peripheral apparatus and check the quality of connection by an evaluation result. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、コンピュータと周辺機器など、複数のユニットから構成されるシステムを検査、評価する自動検査装置および自動検査方法に関するものである。   The present invention relates to an automatic inspection apparatus and an automatic inspection method for inspecting and evaluating a system composed of a plurality of units such as a computer and peripheral devices.

近年、情報化時代によりさまざまな機種のコンピュータが製造され、これらコンピュータの周辺機器として、CDやDVDドライブ、プリンタ、スキャナ、デジタルカメラなどが製造されている。しかし、これら多機種のコンピュータと周辺機器との相性の問題で接続できないものも少なからず存在している。そのためこれらのコンピュータと周辺機器が不具合なく接続することが可能かあらかじめ検査、評価する必要があり、従来は複数のコンピュータと周辺機器を人手により接続しなおして検査、評価していた。   In recent years, various types of computers have been manufactured in the information age, and as peripheral devices for these computers, CDs, DVD drives, printers, scanners, digital cameras, and the like have been manufactured. However, there are not a few things that cannot be connected due to compatibility problems between these various types of computers and peripheral devices. For this reason, it is necessary to inspect and evaluate in advance whether or not these computers and peripheral devices can be connected without problems. Conventionally, a plurality of computers and peripheral devices are manually connected and inspected and evaluated.

また、従来の自動検査装置は、例えば、特許文献1に開示されているように、コンピュータと周辺機器によりユニットを形成し、検査部から検査用制御データを、各ユニットのインタフェース部の制御データ受信回路を介してそれぞれのユニットに送信し、各ユニットから出力する動作結果データをそれぞれインタフェース部の結果データ送信回路を介して検査部で受信し、検査部で期待データと動作結果データを比較して検査結果を判定している。
特開平5−268185号公報
Further, as disclosed in Patent Document 1, for example, a conventional automatic inspection apparatus forms a unit by a computer and peripheral devices, receives inspection control data from the inspection unit, and receives control data from the interface unit of each unit. The operation result data transmitted to each unit through the circuit and output from each unit is received by the inspection unit via the result data transmission circuit of the interface unit, and the inspection unit compares the expected data with the operation result data. The test result is judged.
JP-A-5-268185

上記特許文献1に開示された背景技術に基づいて構成された、ユニット(コンピュータと周辺機器)を接続して検査、評価する自動検査システム(装置)の構成図を図18に示す。   FIG. 18 shows a configuration diagram of an automatic inspection system (apparatus) configured to connect and inspect and evaluate a unit (computer and peripheral device) configured based on the background art disclosed in Patent Document 1.

図18に示すように、複数の各ユニットにおける、例えば4種類のコンピュータ(パソコン1,2,3,4)と4種類の周辺機器(周辺機器1,2,3,4)の接続を自動検査、評価する場合、検査対象として、16ユニット(=コンピュータ4種類×周辺機器4種類)が必要としている。今日、多くの種類のコンピュータや周辺機器が製造されており、これらの組み合わせた検査、評価をすることは、検査対象のユニット数(設備)が膨大になり、設備コストがかかるという課題がある。また、自動検査時、コンピュータと周辺機器のタイミングあわせを確実にするため、立ち上げ時間がかかり、検査時間が増大する。また異常が発生した場合、周辺機器の異常なのか、自動検査装置の異常なのか不具合箇所の区別を可能になるようにしなければならない。   As shown in FIG. 18, in each of a plurality of units, for example, the connection between four types of computers (PCs 1, 2, 3, 4) and four types of peripheral devices (peripheral devices 1, 2, 3, 4) is automatically inspected. In the case of evaluation, 16 units (= 4 types of computers × 4 types of peripheral devices) are required as inspection targets. Today, many types of computers and peripheral devices are manufactured, and the combination of these inspections and evaluations has the problem that the number of units to be inspected (equipment) becomes enormous and equipment costs are high. Also, during automatic inspection, startup time is required to ensure timing adjustment of the computer and peripheral devices, and inspection time increases. In addition, when an abnormality occurs, it is necessary to be able to distinguish a defective part from whether it is a peripheral device abnormality or an automatic inspection device abnormality.

そこで、本発明は、省設備、省コストな検査設備で、検査時間を短時間にし、異常原因が特定可能な自動検査装置および自動検査方法を提供することを目的としたものである。   SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an automatic inspection apparatus and an automatic inspection method that can reduce the inspection time and specify the cause of an abnormality with a facility-saving and cost-saving inspection facility.

前述した目的を達成するために、本発明のうち請求項1に記載の発明は、複数の機種のコンピュータと複数の機種の周辺機器をそれぞれ組み合わせて接続する際、不具合なくその接続が可能かどうかを検査する自動検査装置であって、
検査を行う前記複数の機種のコンピュータのうちの1台と前記複数の機種の周辺機器の1台の組み合わせを設定し前記コンピュータより周辺機器へ送信する検査用制御データを設定することにより接続データを形成し、前記接続データを出力する検査部と、前記複数の機種のコンピュータと前記周辺機器の機種との間にインタフェースケーブルで接続され、前記検査部の接続データにより指示されたコンピュータと周辺機器のインタフェースケーブルを接続する切り替え部と、前記検査部の接続データにより指示された周辺機器とコンピュータの電源を入れる制御部とを備え、
前記検査部は、前記制御部によりコンピュータの電源が入れられると、前記接続データのコンピュータに検査用制御データを送信して、前記切り替え部により接続されたコンピュータと周辺機器の間でデータ送受信させ、送受信データの評価結果をコンピュータから受信して、接続されたコンピュータと周辺機器の接続の良否を確認する構成としたことを特徴とするものである。
In order to achieve the above-mentioned object, the invention according to claim 1 of the present invention is capable of connection without failure when connecting a plurality of types of computers and a plurality of types of peripheral devices in combination. An automatic inspection device for inspecting
Connection data is set by setting a combination of one of the plurality of types of computers to be inspected and one of the plurality of types of peripheral devices, and setting control data for inspection transmitted from the computer to the peripheral devices. An inspection unit configured to output the connection data, and connected between the plurality of models of computers and the peripheral device models by an interface cable, and the computer and the peripheral device designated by the connection data of the inspection unit A switching unit for connecting the interface cable, a peripheral unit instructed by the connection data of the inspection unit, and a control unit for turning on the computer,
When the computer is turned on by the control unit, the inspection unit transmits control data for inspection to the computer of the connection data, and transmits / receives data between the computer connected to the switching unit and peripheral devices, The transmission / reception data evaluation result is received from the computer, and the connection between the connected computer and the peripheral device is confirmed.

上記構成によれば、多数の機種のコンピュータと周辺機器の接続の良否を確認する検査が、接続データによりその組み合わせを替えて実行される。よって、全ての組み合わせのコンピュータと周辺機器を揃えて検査する必要がなくなり、検査対象のユニット数が削減され、省設備、省コストな自動検査装置が提供される。   According to the above configuration, the inspection for confirming the quality of the connection between a large number of models of computers and peripheral devices is executed by changing the combination according to the connection data. Therefore, it is not necessary to inspect all combinations of computers and peripheral devices, the number of units to be inspected is reduced, and an automatic inspection apparatus with reduced equipment and cost is provided.

また請求項2に記載の発明は、上記請求項1に記載の発明であって、前記周辺機器に、前記制御部の指令信号により電源が入ると、この電源が入ったことを示す電源ステータスを前記検査部に送信する周辺機器送信部を備え、前記検査部は、前記電源ステータスを受信すると、前記制御部に指示して接続データにより選択されたコンピュータの電源を入れることを特徴とするものである。   The invention according to claim 2 is the invention according to claim 1, wherein when the peripheral device is turned on by a command signal from the control unit, a power status indicating that the power is turned on is displayed. A peripheral device transmitting unit for transmitting to the inspection unit is provided, and the inspection unit instructs the control unit to turn on the computer selected by connection data when receiving the power status. is there.

上記構成によれば、コンピュータと周辺機器との自動検査において、電源ステータスの確認でコンピュータの電源が入れられる。よって、周辺機器の電源入力時刻から十分な時間が経過した後にコンピュータの電源を入力しなくてもよく、周辺機器、コンピュータの電源立ち上げ時間が短縮され、検査時間が短縮される。   According to the above configuration, the computer is turned on by confirming the power status in the automatic inspection between the computer and the peripheral device. Therefore, it is not necessary to input the computer power after a sufficient time has elapsed from the power input time of the peripheral device, the power-on time of the peripheral device and the computer is shortened, and the inspection time is shortened.

また請求項3に記載の発明は、上記請求項2に記載の発明であって、前記検査部は、前記電源ステータスを一定時間経過しても受信しない場合、再び前記制御部に指示して周辺機器の電源を入れることを特徴とするものである。   The invention according to claim 3 is the invention according to claim 2, wherein the inspection unit instructs the control unit again when the power supply status is not received even after a predetermined time has elapsed. It is characterized by turning on the power of the device.

上記構成によれば、電源ステータスを一定時間経過しても受信せず、周辺機器の電源投入が失敗と判断したとき、再び周辺機器の電源が入れられる。よって、接続データにより接続されたコンピュータと周辺機器との接続の良否の検査がスキップされてしまうことが防止される。   According to the above configuration, the power supply status is not received even after a lapse of a certain time, and when it is determined that the peripheral device has failed to be turned on, the peripheral device is turned on again. Therefore, it is possible to prevent the inspection of the quality of the connection between the computer connected to the connection data and the peripheral device from being skipped.

また請求項4に記載の発明は、上記請求項1〜請求項3のいずれか1項に記載の発明であって、前記周辺機器に、周辺機器の異常を監視し、異常を検出するとその異常ステータスを前記検査部に送信する監視手段を備え、前記検査部は、前記異常ステータスを受信すると、前記制御部に指示して前回の接続データによる再検査を実行することを特徴とするものである。   The invention according to claim 4 is the invention according to any one of claims 1 to 3, wherein the peripheral device monitors the abnormality of the peripheral device and detects the abnormality when the abnormality is detected. And a monitoring unit that transmits a status to the inspection unit, and the inspection unit instructs the control unit to perform a re-inspection based on the previous connection data when receiving the abnormal status. .

上記構成によれば、周辺機器内部の異常が検知されると、前回の接続データによりコンピュータと周辺機器との接続の良否が再検査され、周辺機器内部の異常が確認される。また周辺機器内部の不具合の箇所が特定される。   According to the above configuration, when an abnormality in the peripheral device is detected, the connection between the computer and the peripheral device is checked again based on the previous connection data, and the abnormality in the peripheral device is confirmed. In addition, the location of the malfunction in the peripheral device is specified.

また請求項5に記載の発明は、上記請求項1〜請求項3のいずれか1項に記載の発明であって、前記検査部は、前記コンピュータから受信した評価結果が不良のとき、前記制御部に指示して前記周辺機器を再起動させて再検査を実行することを特徴とするものである。   The invention according to claim 5 is the invention according to any one of claims 1 to 3, wherein the inspection unit performs the control when the evaluation result received from the computer is defective. The peripheral device is instructed to restart the peripheral device, and the re-inspection is executed.

上記構成によれば、評価結果が不良のとき、周辺機器から再起動されて再検査されて、内部動作タイミングの問題で発生する偶然の異常のために評価不良との結果がでたのか、あるいは周辺機器が常に発生する機能的な異常のために評価不良との結果がでたのかが確認される。   According to the above configuration, when the evaluation result is bad, the peripheral device is restarted and re-inspected, and a result of a bad evaluation due to a coincidence abnormality caused by a problem of internal operation timing is obtained, or It is confirmed whether the result of poor evaluation is due to a functional abnormality that always occurs in peripheral devices.

また請求項6に記載の発明は、上記請求項5に記載の発明であって、前記検査部は、前記再起動した回数を数え、一定回数以下であるとき再び起動し、一定回数を超えた場合、次の組み合わせの接続データよる検査を実行することを特徴とするものである。   The invention according to claim 6 is the invention according to claim 5, wherein the inspection unit counts the number of restarts, and restarts when the number of restarts is less than a certain number of times, and exceeds the certain number of times. In this case, the inspection is performed by the following combination of connection data.

上記構成によれば、再起動の回数は、偶然の異常か機能的な異常かを判断できる一定回数に制限され、一定回数を超えると、次の接続データによりコンピュータと周辺機器との接続の良否の検査が実行される。   According to the above configuration, the number of restarts is limited to a fixed number of times that can be determined as an accidental accident or a functional abnormality, and if the predetermined number of times is exceeded, the connection between the computer and the peripheral device is determined by the next connection data. Inspection is performed.

また請求項7に記載の発明は、上記請求項6に記載の発明であって、前記検査部は、前記コンピュータから受信した評価結果の不良の回数によって機能異常なのか動作タイミング異常なのかを判別することを特徴とするものである。   The invention according to claim 7 is the invention according to claim 6, wherein the inspection unit determines whether the function is abnormal or the operation timing is abnormal depending on the number of evaluation result failures received from the computer. It is characterized by doing.

上記構成によれば、再検査の結果、受信した全数が評価結果の不良なら周辺機器が常に発生する機能的な異常であると判断し、OKを受信することがあれば、内部動作タイミングの問題でありOKと判断する。よって、異常原因が特定可能な自動検査装置が提供される。   According to the above configuration, if the total number received as a result of the retest is poor, it is determined that the peripheral device is a functional abnormality that always occurs, and if OK is received, there is a problem with internal operation timing. It is judged that it is OK. Therefore, an automatic inspection device that can identify the cause of the abnormality is provided.

また請求項8に記載の発明は、上記請求項1〜請求項7のいずれか1項に記載の発明であって、前記制御部は、前記切り替え部により接続されたコンピュータと周辺機器との間のインタフェース信号を観測し、その観測データを前記検査部に送信し、前記検査部は、前記観測データを受信するとこれを解析して、接続されたコンピュータと周辺機器の接続の良否を確認することを特徴とするものである。   The invention according to an eighth aspect is the invention according to any one of the first to seventh aspects, wherein the control unit is provided between the computer and the peripheral device connected by the switching unit. The observation signal is transmitted to the inspection unit, and the inspection unit receives the observation data and analyzes it to confirm the connection between the connected computer and the peripheral device. It is characterized by.

上記構成によれば、制御部により、コンピュータと周辺機器の間のインタフェースの信号が随時観測され、検査部により観測データを解析することにより、インタフェースのバスの異常が検知され、不具合の箇所が特定される。   According to the above configuration, the interface signal between the computer and the peripheral device is observed at any time by the control unit, and by analyzing the observation data by the inspection unit, an abnormality in the interface bus is detected and the location of the failure is identified. Is done.

また請求項9に記載の発明は、複数の機種のコンピュータと複数の機種の周辺機器をそれぞれ組み合わせて接続する際、不具合なくその接続が可能かどうかを検査する自動検査方法であって、
検査するコンピュータと周辺機器の番号と制御データを連続入力し、接続データを生成する第1ステップと、前記生成された接続データから接続するコンピュータと周辺機器のインタフェースを接続する第2ステップと、接続する周辺機器の電源を入れる第3ステップと、前記周辺機器の電源が入ると、接続するコンピュータの電源を入れる第4ステップと、前記コンピュータの電源が入ったことが通知されると、前記接続データの制御データを接続したコンピュータへ送信する第5ステップと、前記制御データを受信すると、この制御データにしたがってコンピュータと周辺機器との間でデータ送受信を実行し、その評価結果を送信する第6ステップと、前記制御データを送信したコンピュータから評価結果が受信するまで待ち、受信した評価結果を判定する第7ステップとを順に実行することを特徴とするものである。
The invention according to claim 9 is an automatic inspection method for inspecting whether or not connection is possible without any trouble when connecting a plurality of types of computers and a plurality of types of peripheral devices in combination.
A first step of continuously inputting the number of the computer to be inspected and the peripheral device and control data and generating connection data, a second step of connecting the interface of the computer and peripheral device to be connected from the generated connection data, and connection The third step of turning on the peripheral device, the fourth step of turning on the computer to be connected when the peripheral device is turned on, and the connection data when notified that the computer is turned on. A fifth step of transmitting the control data to the connected computer, and a sixth step of transmitting the evaluation result when the control data is received, performing data transmission / reception between the computer and the peripheral device according to the control data. And wait until the evaluation result is received from the computer that sent the control data. It is characterized in performing a seventh step of determining value results in order.

上記方法によれば、多数の機種のコンピュータと周辺機器の接続の良否を確認する検査が、接続データによりその組み合わせを替えて実行される。よって、全ての組み合わせのコンピュータと周辺機器を揃えて検査する必要がなくなり、検査対象のユニット数が削減され、省設備、省コストな自動検査方法が提供される。   According to the above method, the inspection for confirming the quality of connection between a large number of models of computers and peripheral devices is executed by changing the combination according to the connection data. Therefore, it is not necessary to inspect all combinations of computers and peripheral devices, the number of units to be inspected is reduced, and an automatic inspection method with reduced equipment and cost is provided.

また請求項10に記載の発明は、上記請求項9に記載の発明であって、前記第3ステップと第4ステップとの間に、前記周辺機器の電源が入ると、周辺機器の電源が入ったことを通知するステップを追加し、この周辺機器の電源が入ったことが通知されると前記第4ステップを実行し、前記第4ステップと第5ステップとの間に、前記コンピュータの電源が入ると、コンピュータの電源が入ったことを通知するステップを追加し、このコンピュータの電源が入ったことが通知されると前記第5ステップを実行することを特徴とするものである。   The invention described in claim 10 is the invention described in claim 9, wherein when the peripheral device is turned on between the third step and the fourth step, the peripheral device is turned on. A step of notifying that the peripheral device is powered on, the fourth step is executed, and the computer is powered between the fourth step and the fifth step. Upon entering, a step of notifying that the computer is turned on is added, and when the computer is notified that the power is turned on, the fifth step is executed.

上記方法によれば、コンピュータと周辺機器との自動検査において、周辺機器の電源が入ったことが通知されることによりコンピュータの電源が入れられる。よって、周辺機器の電源入力時刻から十分な時間が経過した後にパソコンの電源を入力しなくてもよく、周辺機器、コンピュータの電源立ち上げ時間が短縮され、検査時間が短縮される。またコンピュータの電源が入ったことが通知されることにより、接続データの制御データが接続したコンピュータへ送信される。   According to the above method, in the automatic inspection between the computer and the peripheral device, the computer is turned on by notifying that the peripheral device is turned on. Accordingly, it is not necessary to input the power supply of the personal computer after a sufficient time has elapsed from the power input time of the peripheral device, the power-on time of the peripheral device and the computer is shortened, and the inspection time is shortened. In addition, when it is notified that the computer is turned on, the control data of the connection data is transmitted to the connected computer.

また請求項11に記載の発明は、上記請求項9または請求項10に記載の発明であって、前記周辺機器の異常を監視し、異常が発生するとその異常を通知するステップと、前記周辺機器より異常通知を受信すると、第2ステップへ戻り、前回の接続データによる再検査を開始するステップを付加したことを特徴とするものである。   The invention according to claim 11 is the invention according to claim 9 or 10, wherein the abnormality of the peripheral device is monitored, and when the abnormality occurs, the abnormality is notified, and the peripheral device When an abnormality notification is further received, the process returns to the second step, and a step of starting a re-examination with the previous connection data is added.

上記方法によれば、周辺機器内部の異常が検知されると、前回の接続データによりコンピュータと周辺機器との接続の良否の再検査が実行され、周辺機器内部の異常が確認される。また周辺機器内部の不具合の箇所が特定される。   According to the above method, when an abnormality in the peripheral device is detected, a re-inspection of the connection between the computer and the peripheral device is executed based on the previous connection data, and the abnormality in the peripheral device is confirmed. In addition, the location of the malfunction in the peripheral device is specified.

また請求項12に記載の発明は、上記請求項9または請求項10に記載の発明であって、前記受信した評価結果が不良と判定すると、再度第3ステップへ戻り、前記周辺機器の再起動を開始するステップを付加したことを特徴とするものである。   The invention according to claim 12 is the invention according to claim 9 or 10, wherein when the received evaluation result is determined to be defective, the process returns to the third step and the peripheral device is restarted. The step of starting is added.

上記方法によれば、評価結果が不良のとき、周辺機器の再起動から再検査が行われ、内部動作タイミングの問題で発生する偶然の異常のために評価不良との結果がでたのか、あるいは周辺機器が常に発生する機能的な異常のために評価不良との結果がでたのかが確認される。   According to the above method, when the evaluation result is bad, re-inspection is performed from the restart of the peripheral device, and a result of bad evaluation due to a coincidence abnormality caused by a problem of internal operation timing is obtained, or It is confirmed whether the result of poor evaluation is due to a functional abnormality that always occurs in peripheral devices.

また請求項13に記載の発明は、上記請求項12に記載の発明であって、前記再起動の回数をカウントし、一定回数を超えると、第2ステップへ戻り、次の組み合わせの接続データによる検査を開始するステップを付加したことを特徴とするものである。   The invention according to claim 13 is the invention according to claim 12, wherein the number of restarts is counted, and when the number of restarts exceeds a predetermined number, the process returns to the second step and depends on connection data of the next combination. A step for starting the inspection is added.

上記方法によれば、再起動の回数は、偶然の異常か機能的な異常かを判断できる一定回数に制限され、一定回数を超えると、次の接続データにより選択されたコンピュータと周辺機器との接続検査が実行される。   According to the above method, the number of restarts is limited to a certain number of times that can be judged as a coincidence abnormality or a functional abnormality, and if the number exceeds a certain number, the computer and peripheral device selected by the next connection data A connection check is performed.

また請求項14に記載の発明は、上記請求項9〜請求項13のいずれか1項に記載の発明であって、接続されたコンピュータと周辺機器との間のインタフェース信号を観測し、その観測データを送信するステップと、前記観測データを受信するとこれを解析して、接続されたコンピュータと周辺機器の接続の良否を確認するステップを付加したことを特徴とするものである。   The invention according to claim 14 is the invention according to any one of claims 9 to 13, wherein the interface signal between the connected computer and the peripheral device is observed and observed. A step of transmitting data and a step of analyzing the reception of the observation data and confirming whether the connected computer and the peripheral device are connected are added.

上記方法によれば、コンピュータと周辺機器の間のインタフェース信号が観測され、この観測データが解析される。よって、インタフェースのバスの異常が検知され、不具合の箇所が特定される。   According to the above method, the interface signal between the computer and the peripheral device is observed, and the observed data is analyzed. Therefore, an abnormality in the interface bus is detected, and the location of the failure is specified.

本発明の自動検査装置は、上記構成を有し、多数の機種のコンピュータと周辺機器の接続の良否を確認する検査が、接続データによりその組み合わせを替えて実行されることにより、全ての組み合わせのコンピュータと周辺機器を揃えて検査する必要がなくなり、検査対象のユニット数を削減でき、省設備、省コストを実現できる。   The automatic inspection apparatus of the present invention has the above-described configuration, and inspections for confirming the quality of connection between a large number of models of computers and peripheral devices are executed by changing the combination according to connection data. This eliminates the need to inspect computers and peripheral devices, reduces the number of units to be inspected, and saves equipment and costs.

以下、本発明の実施の形態を、図面を参照しながら説明する。
[実施の形態1]
図1は本発明の実施の形態1における自動検査装置の構成図である。この自動検査装置は、複数の機種のコンピュータと複数の機種の周辺機器をそれぞれ組み合わせて接続する際、不具合なくその接続が可能かどうかを検査する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Embodiment 1]
FIG. 1 is a configuration diagram of an automatic inspection apparatus according to Embodiment 1 of the present invention. This automatic inspection apparatus inspects whether or not a plurality of models of computers and a plurality of models of peripheral devices can be connected without any trouble when they are connected in combination.

図1において、1は、検査を行う複数の機種のコンピュータのうちの1台と複数の機種の周辺機器の1台の組み合わせを設定し、さらにコンピュータより周辺機器へ送信する(検査用)制御データ(制御信号)を設定することにより接続データを形成し、これら接続データを出力する機能や後述する評価結果データを判定する機能などを有する検査部であり、この検査部1は、後述する制御部2から送られてきた評価結果データを判定する結果判定部12と、検査部1から接続データを出力し、また評価結果データを制御部2から取得するためのI/O(インタフェース部)13を備え、I/O13を介して接続データを出力し、また評価結果をI/O13を介して制御部2から取得し、結果判定部12で評価結果を判定する。この検査部1は、例えばパーソナルコンピュータまたは専用検査機器が相当する。またI/O13は、制御部2と、IDE、SCSI、USB、パラレルポート、RS232Cなどのシリアルポート、IEEE1394、シリアルATAなどのバスのいずれかで接続されている。I/O13のアドレスマップを図3(a)に示す。本実施の形態では図3(a)に示すようにIDE(セカンダリ)のI/Oを使用しているがプライマリでもかまわない。   In FIG. 1, reference numeral 1 designates a combination of one of a plurality of types of computers to be inspected and one of a plurality of types of peripheral devices, and further transmits control data from the computer to the peripheral devices (for inspection). (Control signal) is an inspection unit having a function of forming connection data and outputting the connection data and a function of determining evaluation result data described later. The inspection unit 1 is a control unit described later. A result determination unit 12 for determining the evaluation result data sent from 2, and an I / O (interface unit) 13 for outputting connection data from the inspection unit 1 and acquiring evaluation result data from the control unit 2. The connection data is output via the I / O 13, the evaluation result is obtained from the control unit 2 via the I / O 13, and the evaluation result is determined by the result determination unit 12. The inspection unit 1 corresponds to, for example, a personal computer or a dedicated inspection device. The I / O 13 is connected to the control unit 2 by any one of IDE, SCSI, USB, a parallel port, a serial port such as RS232C, and a bus such as IEEE 1394 and serial ATA. An address map of the I / O 13 is shown in FIG. In this embodiment, IDE (secondary) I / O is used as shown in FIG. 3A, but it may be primary.

また図1において、3は、複数の機種(図1では4機種)のパーソナルコンピュータ(コンピュータの一例;以下、パソコンと略す)4,5,6,7と複数の機種(図1では4機種)の周辺機器8,9,10,11との間にインタフェースケーブルで接続され、検査部1の接続データにより後述する制御部2から出力される制御信号によって各パソコン4〜7と各周辺機器8〜11間のインタフェースケーブルの接続を切り替える切り替え部であり、切り替え部3は、第1パソコン4と各周辺機器8〜11とのインタフェースを有効にするスイッチ23、第2パソコン5と各周辺機器8〜11とのインタフェースを有効にするスイッチ24、第3パソコン6と各周辺機器8〜11とのインタフェースを有効にするスイッチ25、第4パソコン7と各周辺機器8〜11とのインタフェースを有効にするスイッチ26、第1周辺機器8と各パソコン4〜7とのインタフェースを有効にするスイッチ27、第2周辺機器9と各パソコン4〜7とのインタフェースを有効にするスイッチ28、第3周辺機器10と各パソコン4〜7とのインタフェースを有効にするスイッチ29、第4周辺機器11と各パソコン4〜7とのインタフェースを有効にするスイッチ30から構成され、これら各スイッチ23〜30はそれぞれ図4(c)に示す制御部2の切り替えレジスタ17の各ビットに接続されている。また各スイッチ23〜26と各スイッチ27〜30間はそれぞれ、バス40,41,42,43により接続されている。また各スイッチ23〜30は実際にはリレー回路などによって実現される。   In FIG. 1, reference numeral 3 denotes a personal computer (an example of a computer; hereinafter abbreviated as a personal computer) 4, 5, 6, 7 and a plurality of models (four models in FIG. 1). The peripheral devices 8, 9, 10, and 11 are connected by an interface cable, and each of the personal computers 4 to 7 and the peripheral devices 8 to 8 are controlled by a control signal output from the control unit 2 described later by connection data of the inspection unit 1. 11 is a switching unit that switches the connection of interface cables between 11, and the switching unit 3 includes a switch 23 that enables an interface between the first personal computer 4 and each peripheral device 8 to 11, a second personal computer 5 and each peripheral device 8 to 11 for enabling the interface with the computer 11, the switch 25 for enabling the interface between the third personal computer 6 and the peripheral devices 8 to 11, and the fourth personal computer. And a switch 26 for enabling the interface between the peripheral devices 8 to 11, a switch 27 for enabling the interface between the first peripheral device 8 and the personal computers 4 to 7, the second peripheral device 9 and the personal computers 4 to 7. A switch 28 for enabling the interface of the third peripheral device 10, a switch 29 for enabling the interface between the third peripheral device 10 and the personal computers 4 to 7, and a switch 30 for enabling the interface between the fourth peripheral device 11 and the personal computers 4 to 7. Each of these switches 23 to 30 is connected to each bit of the switching register 17 of the control unit 2 shown in FIG. The switches 23 to 26 and the switches 27 to 30 are connected by buses 40, 41, 42, and 43, respectively. Each switch 23 to 30 is actually realized by a relay circuit or the like.

ここでのパソコン4〜7と周辺機器8〜11の間に接続されるインタフェースは、ATAPI、SCSI、IEEE1394、USB、シリアルATA、パラレルポート、シリアルポートなどがあげられる。本発明ではATAPIインタフェースを想定している。   Examples of the interface connected between the personal computers 4 to 7 and the peripheral devices 8 to 11 include ATAPI, SCSI, IEEE1394, USB, serial ATA, parallel port, and serial port. The present invention assumes an ATAPI interface.

また各パソコン4〜7はそれぞれ、評価結果データを送信する送信部31,33,35,37と、選択された周辺機器8〜11のいずれかに向けてデータを送受信し、周辺機器8〜11から受信したデータを比較して評価し、評価結果を前記送信部31,33,35,37へそれぞれ出力する評価部32,34,36,38を備えている。実際は送信部31,33,35,37と評価部32,34,36,38はそれぞれ、各パソコン4〜7にインストールされており、各評価部32,34,36,38は、選択された周辺機器8〜11のいずれかに向けて制御データを送信し、その結果周辺機器8〜11から送信されたデータを解析し評価結果を送信部31、33、35、37から送信させるタイプのソフトウエアや、送受信したデータを比較して一致していればOK、一致しなければNGの評価結果を送信するソフトウエアなどで実現される。   Each of the personal computers 4 to 7 transmits / receives data to the transmission units 31, 33, 35, and 37 that transmit the evaluation result data and any of the selected peripheral devices 8 to 11, and the peripheral devices 8 to 11 respectively. The evaluation units 32, 34, 36, and 38 are provided for comparing and evaluating the data received from each of them and outputting the evaluation results to the transmission units 31, 33, 35, and 37, respectively. Actually, the transmission units 31, 33, 35, and 37 and the evaluation units 32, 34, 36, and 38 are installed in the personal computers 4 to 7, respectively, and the evaluation units 32, 34, 36, and 38 are selected peripherals. A type of software that transmits control data to any one of the devices 8 to 11, analyzes the data transmitted from the peripheral devices 8 to 11 and transmits the evaluation results from the transmission units 31, 33, 35, and 37. Alternatively, it is realized by software that compares the transmitted and received data with each other and is OK if they match, and software that transmits an NG evaluation result if they do not match.

また周辺機器8〜11は、具体的にはDVDドライブ、CDドライブ、プリンタなどで構成されている。
また上記制御部2は、検査部1の接続データにより指示されたパソコン4〜7と周辺機器8〜11の電源を入れる機能などを有する制御部であり、電源制御部14、切り替えレジスタ17、ポートレジスタ18を備え、検査部1のI/O13と、ポートレジスタ18、電源制御部14、切り替えレジスタ17との間でデータ入出力制御を行っている。
The peripheral devices 8 to 11 are specifically configured with a DVD drive, a CD drive, a printer, and the like.
The control unit 2 is a control unit having a function of turning on the personal computers 4 to 7 and the peripheral devices 8 to 11 instructed by the connection data of the inspection unit 1, and includes a power control unit 14, a switching register 17, and a port. A register 18 is provided, and data input / output control is performed between the I / O 13 of the inspection unit 1, the port register 18, the power supply control unit 14, and the switching register 17.

前記制御部2の電源制御部14は、検査部1の接続データによって周辺機器8〜11の電源を入れた後に、パソコン4〜7の電源を入れる電源部であり、パソコン電源ポート15と周辺機器電源ポート16を備えている。   The power supply control unit 14 of the control unit 2 is a power supply unit that turns on the personal computers 4 to 7 after the peripheral devices 8 to 11 are turned on according to the connection data of the inspection unit 1. A power supply port 16 is provided.

パソコン電源ポート15は、電源制御部14の図4(a)に示すレジスタのビット0〜3(1でON;0でOFF)を設定することによりパソコン4〜7のいずれか1つのパソコンの電源をONしたり、リセットをかけたりを行い、また周辺機器電源ポート16は、電源制御部14の図4(b)に示すレジスタのビット(1でON;0でOFF)を設定することにより、周辺機器8〜11のいずれか1つの周辺機器の電源をONしたり、リセットをかけたりを行う。   The personal computer power port 15 sets the power of any one of the personal computers 4 to 7 by setting bits 0 to 3 (ON at 1; OFF at 0) of the register shown in FIG. The peripheral device power supply port 16 sets the bit (ON at 1; OFF at 0) of the register shown in FIG. The power of any one of the peripheral devices 8 to 11 is turned on or reset.

また前記切り替えレジスタ17は、切り替え部3の4つのスイッチ23〜26のうちの1つのスイッチと、4つのスイッチ27〜30うち1つのスイッチに接続されている図4(c)に示すレジスタであり、このレジスタのビット0〜3(1でON;0でOFF)を設定することにより、スイッチ23〜26のいずれか1つをONして4台のうちいずれか1台のパソコンのインタフェースを接続し、レジスタのビット4〜7(1でON;0でOFF)を設定することにより、スイッチ27〜30のいずれか1つをONして4台のうちいずれか1台の周辺機器のインタフェースを接続し、選択されたパソコンと周辺機器のインタフェースを接続する。   The switching register 17 is a register shown in FIG. 4C connected to one of the four switches 23 to 26 and one of the four switches 27 to 30 of the switching unit 3. By setting bits 0 to 3 (ON at 1; OFF at 0) of this register, any one of the switches 23 to 26 is turned ON to connect the interface of one of the four PCs. Then, by setting bits 4 to 7 (ON at 1; OFF at 0) of the register, one of the switches 27 to 30 is turned ON, and the interface of any one of the four peripheral devices is set. Connect and connect the interface of the selected personal computer and peripheral device.

また前記ポートレジスタ18は、第1ポート19、第2ポート20、第3ポート21、第4ポート22から構成され、各ポート19〜22はそれぞれ、パラレルポートによって第1パソコン4の送信部31、第2パソコン5の送信部33、第3パソコン6の送信部35、第4パソコン7の送信部37に接続され、各送信部31,33,35,37から送信される評価結果データを取得する。具体的には図4(e)にその仕様を示す。   The port register 18 includes a first port 19, a second port 20, a third port 21, and a fourth port 22. Each of the ports 19 to 22 is connected to the transmission unit 31 of the first personal computer 4 by a parallel port. The transmission unit 33 of the second personal computer 5, the transmission unit 35 of the third personal computer 6, and the transmission unit 37 of the fourth personal computer 7 are connected to acquire evaluation result data transmitted from the respective transmission units 31, 33, 35, 37. . Specifically, the specification is shown in FIG.

また図2に、検査部1に属する検査手段58の細部、各パソコン4〜7の評価部32,34,36,38のそれぞれに属する評価手段59の細部、各周辺機器8〜11のそれぞれに属する周辺機器評価手段60を示す。   2 shows details of the inspection means 58 belonging to the inspection section 1, details of the evaluation means 59 belonging to the evaluation sections 32, 34, 36, and 38 of the personal computers 4 to 7, and peripheral devices 8 to 11, respectively. The peripheral device evaluation means 60 to which it belongs is shown.

検査手段58は、検査部1で動作するプログラム、制御用ソフトウエアを指し、入力手段61、切り替え手段62、電源制御手段63、制御データ要求受信手段64、制御データ送信手段65、評価結果受信手段66、結果判定手段67を備えている。   The inspection unit 58 indicates a program and control software that operate in the inspection unit 1, and includes an input unit 61, a switching unit 62, a power supply control unit 63, a control data request reception unit 64, a control data transmission unit 65, and an evaluation result reception unit. 66, result determination means 67 is provided.

また評価手段59は、第1パソコン4、第2パソコン5、第3パソコン6、第4パソコン7それぞれにインストールされているプログラムであり、送信手段68、受信手段69、評価結果送信手段70を備えている。このプログラムは、パソコンと周辺機器の接続を評価するためのプログラムであり、例えば、パソコン側からコマンドを発行してその応答データやステータスを判定して評価するプログラムなどが考えられる。本例ではパソコン側からATAPI規格で定められているWriteコマンドを発行することによりデータを送信し、Readコマンド発行により同じデータを受信し、データ比較しエラーがないか、CRCエラーが発生していないかどうかを判定し、このWriteコマンドとReadコマンドを連続的に発行し、データとCRCエラーが発生するかどうかを判定するプログラムである。   The evaluation unit 59 is a program installed in each of the first personal computer 4, the second personal computer 5, the third personal computer 6, and the fourth personal computer 7, and includes a transmission unit 68, a reception unit 69, and an evaluation result transmission unit 70. ing. This program is a program for evaluating the connection between the personal computer and the peripheral device. For example, a program for issuing a command from the personal computer side and determining and evaluating the response data and status can be considered. In this example, the data is transmitted by issuing a Write command defined by the ATAPI standard from the personal computer side, the same data is received by issuing a Read command, the data is compared, there is no error, or no CRC error has occurred This is a program for determining whether or not a data and CRC error occurs by continuously issuing the Write command and the Read command.

また周辺機器評価手段60は、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11にそれぞれに内蔵され、各パソコン4〜7との間でデータ送受信するものであり、具体的にはパソコン4〜7から発行されるコマンドを受信しデータ転送を行う。   The peripheral device evaluation means 60 is incorporated in each of the first peripheral device 8, the second peripheral device 9, the third peripheral device 10, and the fourth peripheral device 11, and transmits / receives data to / from each of the personal computers 4-7. Specifically, it receives commands issued from the personal computers 4 to 7 and performs data transfer.

上記検査手段58の各手段について説明する。
前記検査手段58の入力手段61は、上記接続データ、すなわちパソコン4〜7と周辺機器8〜11を接続して検査するコンピュータの番号と周辺機器の番号と評価するための制御データを入力する手段である。具体的には図5に示すデータを入力する。図5(a)は接続検査を行う、パソコン番号と、周辺機器番号と、制御データが格納されているファイル名を示す。図5(b)、図5(c)、図5(d)はそれぞれファイル1、ファイル2、ファイル3に格納されているデータを示す。
Each means of the inspection means 58 will be described.
The input means 61 of the inspection means 58 inputs the above connection data, that is, the control data for evaluating the computer number to be inspected by connecting the personal computers 4 to 7 and the peripheral devices 8 to 11 and the peripheral device number. It is. Specifically, the data shown in FIG. 5 is input. FIG. 5A shows a personal computer number, a peripheral device number, and a file name in which control data is stored for connection inspection. FIGS. 5B, 5C, and 5D show data stored in file 1, file 2, and file 3, respectively.

また前記切り替え手段62は、第1パソコン4、第2パソコン5、第3パソコン6、第4パソコン7と、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11との間をインタフェースで接続されているバスを有効にする手段である。具体的には、図4(c)に示す切り替えレジスタ17にデータを設定する。   The switching means 62 includes the first personal computer 4, the second personal computer 5, the third personal computer 6, the fourth personal computer 7, the first peripheral device 8, the second peripheral device 9, the third peripheral device 10, and the fourth peripheral device. 11 is a means for enabling a bus connected to the terminal 11 by an interface. Specifically, data is set in the switching register 17 shown in FIG.

また前記電源制御手段63は、図4(a)に示すパソコン電源ポート15のビットを設定することにより、第1パソコン4、第2パソコン5、第3パソコン6、第4パソコン7のいずれか1台のパソコンの電源をONしたり、リセットをかけたりを行い、また図4(b)に示す周辺機器電源ポート16のビットを設定することにより、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11のいずれか1台の周辺機器の電源をONしたり、リセットをかけたりを行う処理を行う。   The power control means 63 sets any one of the first personal computer 4, the second personal computer 5, the third personal computer 6, and the fourth personal computer 7 by setting the bit of the personal computer power port 15 shown in FIG. The first peripheral device 8, the second peripheral device 9, and the like are set by turning on or resetting the power of the personal computer and setting the bit of the peripheral device power port 16 shown in FIG. Processing for turning on or resetting the power of any one of the third peripheral device 10 and the fourth peripheral device 11 is performed.

また前記制御データ要求受信手段64は、選択されたパソコンからの制御データ要求信号を待つ手段であり、具体的には選択されたパソコンに対応する、ポートレジスタ18のポート19,20,21,22のいずれかのレジスタ{図4(e)}に制御データ要求を示す値が設定されるまで待つ処理を行う。   The control data request receiving means 64 is a means for waiting for a control data request signal from the selected personal computer. Specifically, the ports 19, 20, 21, and 22 of the port register 18 corresponding to the selected personal computer. Is waited until a value indicating a control data request is set in any of the registers {FIG. 4 (e)}.

また前記制御データ送信手段65は、前記制御データ要求受信手段64が、制御データ要求信号を受信したら、制御部2に制御データを送信するものである。具体的には、図3(a)に示す、検査部1のI/O13のアドレス0x172から0x175に、選択されたパソコン4〜7のポートレジスタ18のポートアドレスを設定し、I/O13のアドレス0x170(0x171)に制御データを書き込む。   The control data transmitting means 65 transmits control data to the control unit 2 when the control data request receiving means 64 receives a control data request signal. Specifically, the port address of the port register 18 of the selected personal computers 4 to 7 is set to the address 0x172 to 0x175 of the I / O 13 of the inspection unit 1 shown in FIG. Write control data to 0x170 (0x171).

また前記評価結果受信手段66は、選択されたパソコン4〜7から評価結果を受信するものであり、選択されたパソコンのパラレルポートと接続されるポートレジスタ18のポートのアドレスを図3(a)に示す検査部1のI/O13のアドレス0x172から0x175に設定し、I/O13のアドレス0x170から評価結果データを読むことによって受信する。   The evaluation result receiving means 66 receives the evaluation result from the selected personal computers 4 to 7, and the address of the port of the port register 18 connected to the parallel port of the selected personal computer is shown in FIG. Are set to addresses 0x172 to 0x175 of the I / O 13 of the inspection unit 1 and are received by reading the evaluation result data from the address 0x170 of the I / O 13.

また前記結果判定手段67は、前記評価結果受信手段66で受信したデータにより、評価結果を出力するものである。具体的には図7(a)に示す結果データを出力する。
図7において、一列目が評価番号、二列目が接続するパソコン番号、三列目が接続する周辺機器番号、四列目が評価結果が格納される。
The result determination means 67 outputs an evaluation result based on the data received by the evaluation result receiving means 66. Specifically, the result data shown in FIG.
In FIG. 7, the first column stores the evaluation number, the second column stores the personal computer number, the third column stores the peripheral device number, and the fourth column stores the evaluation result.

次に上記評価手段59の各手段について説明する。
まず、前記評価手段59の送信手段68は、検査部1に対して、上述した制御データ要求信号を送信する手段であり、具体的には図3(b)に示すように、選択されたパソコンのパラレルポートのアドレス0x378に制御データ要求を示す値0x10(0x10は16進で10を示す)を設定する。
Next, each means of the evaluation means 59 will be described.
First, the transmission means 68 of the evaluation means 59 is a means for transmitting the control data request signal described above to the inspection unit 1, and specifically, as shown in FIG. A value 0x10 (0x10 indicates 10 in hexadecimal) indicating a control data request is set at address 0x378 of the parallel port.

また前記受信手段69は、検査部1から送信される制御データを受信するものであり、具体的には図3(b)に示すパラレルポートのアドレス0x37Aから制御データを順次読み込む。   The receiving means 69 receives control data transmitted from the inspection unit 1, and specifically reads the control data sequentially from the address 0x37A of the parallel port shown in FIG.

また前記評価結果送信手段70は、選択された周辺機器に向けて制御データを送信し、その結果周辺機器から送信されたデータを解析したり、あるいは送受信したデータを比較して一致していればOK、一致しなければNGと判定したり、CRCエラーが発生していないかを判定し、評価結果を検査部1に送信する。具体的には、選択されたパソコンのパラレルポートのアドレス0x378に評価結果OKかNGを示す値(0x00,または0x01)を設定する。   The evaluation result transmitting means 70 transmits control data to the selected peripheral device and, as a result, analyzes the data transmitted from the peripheral device, or compares the transmitted and received data and matches the data. If it does not match, it is determined as NG or whether a CRC error has occurred, and the evaluation result is transmitted to the inspection unit 1. Specifically, a value (0x00 or 0x01) indicating the evaluation result OK or NG is set to the address 0x378 of the parallel port of the selected personal computer.

また、検査部1と制御部2の通信は図3(a)に示すセカンダリIDEのI/Oレジスタの0x172から0x175に、図4に示す制御部2の各アドレスを書き、データを送信する場合はI/Oアドレス0x170,0x171にデータを書き込み、評価結果データを受信する場合はI/Oアドレス0x170、0x171からデータを読み込む。ここで書き込むアドレスは図4に示すように、それぞれアクセスするポートおよびレジスタのアドレスを設定する。例えば周辺機器電源ポート16を通じて第1周辺機器8の電源をONしたい場合は、図4(b)に示すように、周辺機器電源ポート16のアドレスは、0x0010に設定されているから、I/Oアドレス(下位)0x172=0x10、0x173=0x00、0x174=0x00、(上位)0x175=0x00を設定し、第1周辺機器8の電源ONは、[00000001]で設定されることから、I/Oアドレス0x170=0x01,0x171=0x00を書き込む。   Further, the communication between the inspection unit 1 and the control unit 2 is a case where each address of the control unit 2 shown in FIG. 4 is written to 0x172 to 0x175 of the secondary IDE I / O register shown in FIG. 3A and data is transmitted. Writes data to I / O addresses 0x170 and 0x171, and when receiving evaluation result data, reads data from I / O addresses 0x170 and 0x171. As the addresses to be written here, as shown in FIG. 4, the addresses of the ports and registers to be accessed are set. For example, when it is desired to turn on the power supply of the first peripheral device 8 through the peripheral device power port 16, as shown in FIG. 4B, the address of the peripheral device power port 16 is set to 0x0010. Since the address (lower) 0x172 = 0x10, 0x173 = 0x00, 0x174 = 0x00, (upper) 0x175 = 0x00 is set, and the power ON of the first peripheral device 8 is set with [00000001], the I / O address Write 0x170 = 0x01, 0x171 = 0x00.

また第1パソコン4から送信部31を通じてデータを送信するには送信部31において図3(b)のパラレルポートのアドレス0x378にデータを書き込む。これに対し、検査部1から、ポートレジスタ18の第1ポート19のレジスタ(アドレス0x0040)から読み込む。すなわち検査部1のI/Oアドレス0x172から0x175に第1ポート19のアドレスを示す0x00000040を書き込み、I/Oアドレス0x170からデータを読み出す。逆に、検査部1から送信し、第1パソコン4でデータを受信する場合はI/Oアドレスの0x172から0x175に第1ポート19のアドレスを示す0x00000040を書き、I/Oアドレスの0x170に制御データを書き込む。これに対し、第1パソコン4のパラレルポートのI/Oアドレス0x37A{図3(b)}からデータを読み出す。   In order to transmit data from the first personal computer 4 through the transmitting unit 31, the transmitting unit 31 writes data to the address 0x378 of the parallel port in FIG. On the other hand, it reads from the register (address 0x0040) of the first port 19 of the port register 18 from the inspection unit 1. That is, 0x00000040 indicating the address of the first port 19 is written to the I / O addresses 0x172 to 0x175 of the inspection unit 1, and the data is read from the I / O address 0x170. Conversely, when data is transmitted from the inspection unit 1 and received by the first personal computer 4, 0x00000040 indicating the address of the first port 19 is written from 0x172 to 0x175 of the I / O address, and control is performed to 0x170 of the I / O address. Write data. On the other hand, data is read from the I / O address 0x37A {FIG. 3 (b)} of the parallel port of the first personal computer 4.

前述のように構成された自動検査装置の動作を図8のフローチャートを用いて説明する。なお、予め検査部1には制御用ソフトウエア(検査手段58)、第1パソコン4、第2パソコン5、第3パソコン6、第4パソコン7にはそれぞれに評価ソフト(評価手段59)がインストールされ、検査部1は制御用ソフトウエアで実現され、評価部32、34、36、38は評価ソフトで実現されている。また、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11には標準のシステムコントローラ用プログラム(周辺機器評価手段60)が内蔵されている。
検査部(制御用ソフトウエア)の動作:
(S2001)検査部1の入力手段61が、図5(a)に示すような検査するパソコンと周辺機器番号と制御データが格納されたファイル名を連続入力し、接続データを生成する。
(S2002)切り替え手段62が入力された接続データから接続するパソコン、周辺機器の番号を取得する。
(S2003)全ての接続データによる検査、たとえば図5(a)に示す4つの接続データによる検査が終了したら、処理を終了し、そうでなければS2004に進む。
(S2004)切り替え手段62が、取得したパソコン、周辺機器の番号に対応するデータを切り替えレジスタ17に設定する。
(S2005)電源制御手段63が、取得した番号に対応するデータを周辺機器電源ポート16に設定する。
(S2006)十分な一定時間経過するまでアイドルループする。ここで、十分な一定時間とは、周辺機器の電源ONの立ち上がりに時間がかかるため、検査部1により周辺機器の電源をONしてから十分時間をあけてパソコンの電源をONしないと、周辺機器の電源がONして周辺機器が初期処理、コマンド受信状態にならないうちにパソコン側からコマンドを発行してしまうので、周辺機器の自動認識ができないという問題がある。また周辺機器の立ち上がり時間は周辺機器によってまちまちなので、周辺機器の電源ONからパソコンの電源ONの間を十分な時間(数m秒〜数秒)設ける必要がある。
(S2007)電源制御手段63が、取得したパソコンの番号に相当するデータをパソコン電源ポート15に設定する。
(S2008)制御データ要求受信手段63が、選択されたパソコンからの制御データ要求信号を待ち、受信したらS2009に進む。
(S2009)制御データ送信手段65が、選択されたパソコンに制御データを送信する。
(S2010)評価結果受信手段66が、取得したパソコンから評価結果が受信するまで待ち、受信すればS2011に進む。
(S2011)結果判定手段67が、受信した評価結果を判定し、S2002に戻る。
評価部(評価ソフト)の動作:
(S2012)S2007により選択されたパソコンの電源がONになる。
(S2013)パソコンのBIOSにより、図6(c)に示すIDENTIFY DEVICEコマンドが発行される。このIDENTIFY DEVICEコマンドはATAPI規格で定められたコマンドのひとつであり、周辺機器を認識する際に発行されるコマンドである。
The operation of the automatic inspection apparatus configured as described above will be described with reference to the flowchart of FIG. Note that control software (inspection means 58) is installed in the inspection unit 1 in advance, and evaluation software (evaluation means 59) is installed in each of the first personal computer 4, the second personal computer 5, the third personal computer 6, and the fourth personal computer 7. The inspection unit 1 is realized by control software, and the evaluation units 32, 34, 36, and 38 are realized by evaluation software. The first peripheral device 8, the second peripheral device 9, the third peripheral device 10, and the fourth peripheral device 11 incorporate a standard system controller program (peripheral device evaluation means 60).
Operation of the inspection unit (control software):
(S2001) The input means 61 of the inspection unit 1 successively inputs a personal computer to be inspected, a peripheral device number, and a file name storing control data as shown in FIG. 5A, and generates connection data.
(S2002) The switching means 62 acquires the number of the connected personal computer and peripheral device from the input connection data.
(S2003) When the inspection by all connection data, for example, the inspection by the four connection data shown in FIG. 5A is completed, the process is terminated. Otherwise, the process proceeds to S2004.
(S2004) The switching means 62 sets the data corresponding to the acquired personal computer and peripheral device numbers in the switching register 17.
(S2005) The power supply control means 63 sets the data corresponding to the acquired number in the peripheral device power supply port 16.
(S2006) An idle loop is made until a sufficient fixed time has elapsed. Here, the sufficient fixed time means that it takes time for the peripheral device to turn on. Therefore, the inspection unit 1 must turn on the peripheral device before turning on the computer. Since the personal computer issues a command before the device is turned on and the peripheral device is in the initial processing and command reception state, there is a problem that the peripheral device cannot be automatically recognized. Also, since the rise time of the peripheral device varies depending on the peripheral device, it is necessary to provide a sufficient time (several milliseconds to several seconds) between the power ON of the peripheral device and the power ON of the personal computer.
(S2007) The power supply control means 63 sets the data corresponding to the acquired personal computer number in the personal computer power port 15.
(S2008) The control data request receiving means 63 waits for a control data request signal from the selected personal computer, and if received, proceeds to S2009.
(S2009) The control data transmission means 65 transmits control data to the selected personal computer.
(S2010) The evaluation result receiving unit 66 waits until the evaluation result is received from the acquired personal computer, and if received, the process proceeds to S2011.
(S2011) The result determination unit 67 determines the received evaluation result, and returns to S2002.
Operation of the evaluation unit (evaluation software):
(S2012) The personal computer selected in S2007 is turned on.
(S2013) The IDENTIFY DEVICE command shown in FIG. 6C is issued by the BIOS of the personal computer. This IDENTIFY DEVICE command is one of the commands defined in the ATAPI standard, and is a command issued when recognizing a peripheral device.

ここで図6はATAPI規格で定められたコマンドの例を示したものであり、図6(a)はWriteコマンド、図6(b)はReadコマンド、図6(c)はIDENTIFY DEVICEコマンドである。   Here, FIG. 6 shows an example of a command defined by the ATAPI standard. FIG. 6A shows a Write command, FIG. 6B shows a Read command, and FIG. 6C shows an IDENTIFY DEVICE command. .

図6中の列80はWR(書き込み)かRD(読み込み)かを示し、列81はATAレジスタ名を示す。例えば、COMMANDはコマンドレジスタ、ALT STATはAlternate Statusレジスタ、DATAはデータレジスタ、STATUSはステータスレジスタを示す。列82はパソコンのI/Oアドレスを示す。列83はレジスタ値、列84はレジスタに設定された詳細を示す。   A column 80 in FIG. 6 indicates WR (write) or RD (read), and a column 81 indicates an ATA register name. For example, COMMAND indicates a command register, ALT STAT indicates an Alternate Status register, DATA indicates a data register, and STATUS indicates a status register. Column 82 shows the I / O address of the personal computer. Column 83 shows register values, and column 84 shows details set in the registers.

例えば、図6(a)の1行目のATAPI PACKET CMDは列83のA0がATAPIパケットコマンドであることを示す。2行目のRDY/DSC/DRQはSTATUSレジスタのDRDY(デバイスレディ)ビット、DSCビット、DRQ(データリクエスト)ビットが設定されていることを示す。図6(a)、図6(b)の4行目から9行目はパケットコマンドが設定されている。図6(c)はレジスタ値ECがIDENTIFY DEVICEコマンドであることを示す。
(S2014)評価手段59(評価ソフト)を起動する。
(S2015)送信手段68が検査部1に制御データ要求信号を出力する。
(S2016)受信手段69が検査部1から制御データを受信するまで待ち、受信すればS2017に進む。
(S2017)受信した制御データをファイルに格納する。
(S2018)評価手段59が、図6(a)に示すWriteコマンドを周辺機器に発行し、データを周辺機器に送信する。
(S2019)評価手段59が、図6(b)に示すReadコマンドを周辺機器に発行し、データを周辺機器から受信する。
(S2020)評価結果送信手段70が、送信したデータと受信したデータ、CRCチェックによりデータ比較エラーがないかどうかをチェックし、あればNG、なければOKを検査部1に送信する。
周辺機器の動作:
(S2021)S2005により選択された周辺機器の電源がONになり、周辺機器評価手段60が起動する。
(S2022)周辺機器評価手段60がコマンド受信待ち状態になり、図6(c)に示すIDENTIFY DEVICEコマンド受信したらS2023に進む。
(S2023)図6(c)に示すIDENTIFY DEVICEコマンドを受信したのでIDENTIFY DEVICEコマンド処理を実行し、パソコンと周辺機器の間で自動認識を開始する。
(S2024)周辺機器評価手段60がコマンド受信待ち状態になり、Writeコマンドを受信したらS2025に進む。
(S2025)Writeコマンド処理により選択されたパソコンからデータを受信する。
(S2026)周辺機器評価手段60がコマンド受信待ち状態になり、Readコマンドを受信したらS2027に進む。
(S2027)Readコマンド処理により選択されたパソコンへデータを送信する。
For example, ATAPI PACKET CMD in the first row of FIG. 6A indicates that A0 in column 83 is an ATAPI packet command. RDY / DSC / DRQ in the second row indicates that the DRDY (device ready) bit, DSC bit, and DRQ (data request) bit of the STATUS register are set. Packet commands are set in the fourth to ninth lines of FIGS. 6A and 6B. FIG. 6C shows that the register value EC is an IDENTIFY DEVICE command.
(S2014) The evaluation means 59 (evaluation software) is activated.
(S2015) The transmission means 68 outputs a control data request signal to the inspection unit 1.
(S2016) Wait until the receiving unit 69 receives control data from the inspection unit 1, and if received, the process proceeds to S2017.
(S2017) The received control data is stored in a file.
(S2018) The evaluation means 59 issues a Write command shown in FIG. 6A to the peripheral device and transmits data to the peripheral device.
(S2019) The evaluation means 59 issues a Read command shown in FIG. 6B to the peripheral device and receives data from the peripheral device.
(S2020) The evaluation result transmitting means 70 checks the transmitted data, the received data, and whether there is no data comparison error based on a CRC check.
Peripheral device operation:
(S2021) The peripheral device selected in S2005 is turned on, and the peripheral device evaluation means 60 is activated.
(S2022) When the peripheral device evaluation means 60 enters a command reception waiting state and receives the IDENTIFY DEVICE command shown in FIG. 6C, the processing proceeds to S2023.
(S2023) Since the IDENTIFY DEVICE command shown in FIG. 6C has been received, IDENTIFY DEVICE command processing is executed, and automatic recognition is started between the personal computer and the peripheral device.
(S2024) If the peripheral device evaluation unit 60 is in a command reception waiting state and receives a Write command, the process proceeds to S2025.
(S2025) Data is received from the personal computer selected by the Write command processing.
(S2026) When the peripheral device evaluation unit 60 enters a command reception waiting state and receives a Read command, the process proceeds to S2027.
(S2027) Data is transmitted to the personal computer selected by the Read command processing.

次に本発明の実施の形態1の自動検査装置における具体的動作について図8のフローチャートに基づいて説明する。
(SS1)S2001により図5(a)に示す接続データが入力される。図5(a)にはNo.1からNo.4まであるので4回の検査用の接続データが入力されている。ファイル1、ファイル2、ファイル3にはそれぞれ図5(b)、図5(c)、図5(d)に示されたデータが格納されている。
(SS2)S2002により図5(a)中の一番上位の行の接続データを取得する。この場合、Com1、Periph1、ファイル1を取得する。このCom1は第1パソコン4、Periph1は第1周辺機器8を接続することを示す。
(SS3)S2003により、1番目のデータなのでS2004に進む。
(SS4)S2004により、第1コンピュータ4と第1周辺機器8が選択されているので、切り替えレジスタ17(アドレス0x0020)に0x11を設定する。このときI/Oアドレスの0x172から0x175には0x00000020、0x170には0x11が出力される。その結果、図1のスイッチ23とスイッチ27がONされ第1パソコン4と第1周辺機器8のインタフェースが接続される。
(SS5)S2005により、第1周辺機器8が選択されているので、周辺機器電源ポート16(アドレス0x0010)に0x01を設定する。このときI/Oアドレス0x172〜0x175には0x00000010、0x170には0x01が出力される。この結果第1周辺機器8の電源がONされ、周辺機器の動作(S2021以下)が開始される。
(SS6)S2021により第1周辺機器8の電源がONされ、第1周辺機器8の初期処理が開始し立ち上がる。
(SS7)S2006により数m秒から数秒経過するまで待つ。この期間、第1周辺機器8が立ち上がり、コマンド受信待ち状態になる。
(SS8)S2007により、第1パソコン4が選択されているので、パソコン電源ポート15(アドレス0x0000)に0x01を設定する。このときI/Oアドレス0x172から0x175には0x00000000、アドレス0x170には0x01が出力される。この結果第1パソコン4の電源がONされ、評価部32の動作が開始される。検査部1は制御データ要求受信手段64により、S2008の制御データ要求受信待ち状態になる。このとき第1パソコン4が接続される第1ポート19(アドレス0x0040)を設定し、すなわちI/Oアドレスの0x172から0x175に0x00000040を設定し、アドレス0x170の値を読み続ける。
(SS9)S2012により第1パソコン4の電源がONされ、パソコンの標準OSが起動し、S2013に進む。
(SS10)S2013により、第1パソコン4が第1周辺機器8にコマンドを発行する。これにより周辺機器の動作はS2023に進み、評価部32はS2014に進む。
(SS11)周辺機器の動作はS2023により第1周辺機器8は受信したコマンド処理を行い、S2024の再びコマンド受信待ち状態になる。
(SS12)評価部32はS2014により、評価手段59を起動する。この評価手段59は、上述したようにパソコンと周辺機器の接続を評価するためのプログラムである。
(SS13)S2015により、第1パソコン4のパラレルポートに制御データ要求を示すデータを設定する。すなわちパソコンのI/Oアドレス0x378に0x10を設定する。これにより制御データ要求が送信部31を経て第1ポート19(アドレス0x0040)に0x10が設定される。
(SS14)S2008により、検査部1の制御データ要求受信手段64がI/Oアドレス0x172から0x175にアドレス0x00000040を設定し、I/Oアドレス0x170からデータを読み、0x00の間は何度も読み続け、0x10になったらポートレジスタの第1ポート19のアドレス0x0040に第1パソコン4へ送信する制御データを書きこむ。すなわち、最初に制御データの先頭を示す0xffffを書き込み、S2009により図5(b)に示すファイル1のデータを連続して書き込む。最後に制御データの終わりを示す0xffffを書き込む。
(SS15)評価手段59がS2016によりパラレルポートのI/Oアドレス0x37A、データの最後を示す0xffffが読めるまでデータを連続して読み続け、S2017により読み取った制御データをファイルに取得する。
(SS16)評価手段59がS2018により図6(a)に示すWriteコマンドを第1周辺機器8に発行する。このことによりファイル1のデータが第1周辺機器8にデータ送信される。
(SS17)第1周辺機器8がS2024によりWriteコマンドを受信したので、S2025で第1周辺機器8が評価部32から転送されてくるデータを受信する。
(SS18)評価手段59がS2019により図6(b)に示すReadコマンドを発行する。
(SS19)第1周辺機器8がS2026により、Readコマンドを受信したので、SS2025で受信したデータを第1パソコン4に送信する。
(SS20)評価手段59がS2020により第1周辺機器8からデータを受信し、送信したデータを比較し、結果をポートレジスタ18の第1ポート19に設定する。今回はOKを設定する。すなわち第1パソコン4のパラレルポートのI/Oアドレス0x378に0x00を設定する。
(SS21)検査部1の評価結果受信手段66はS2010により、I/Oアドレス0x172〜0x175に第1ポート19のアドレス0x0040を設定し、I/Oアドレス0x170、0x171を読み続け、0x00を受信したら、S2011により評価結果がOKと判定する。その結果、図7(a)の1行目となる。
(SS22)S2002に戻り、次のNo.2の接続データを読み取る。
Next, a specific operation of the automatic inspection apparatus according to the first embodiment of the present invention will be described based on the flowchart of FIG.
(SS1) The connection data shown in FIG. 5A is input in S2001. In FIG. 5A, No. 1 to No. 1 are shown. Since there are up to 4, connection data for four times of inspection is input. File 1, file 2, and file 3 store the data shown in FIGS. 5B, 5C, and 5D, respectively.
(SS2) The connection data of the uppermost row in FIG. In this case, Com1, Periph1, and file 1 are acquired. Com1 indicates that the first personal computer 4 is connected, and Periph1 indicates that the first peripheral device 8 is connected.
(SS3) By S2003, since it is the first data, the process proceeds to S2004.
(SS4) Since the first computer 4 and the first peripheral device 8 are selected in S2004, 0x11 is set in the switching register 17 (address 0x0020). At this time, 0x00000020 is output from 0x172 to 0x175 of the I / O address, and 0x11 is output to 0x170. As a result, the switch 23 and the switch 27 in FIG. 1 are turned on, and the interface between the first personal computer 4 and the first peripheral device 8 is connected.
(SS5) Since the first peripheral device 8 is selected in S2005, 0x01 is set to the peripheral device power supply port 16 (address 0x0010). At this time, 0x00000010 is output to the I / O addresses 0x172 to 0x175, and 0x01 is output to the 0x170. As a result, the power supply of the first peripheral device 8 is turned on, and the operation of the peripheral device (S2021 and subsequent steps) is started.
(SS6) The power supply of the first peripheral device 8 is turned on by S2021, and the initial processing of the first peripheral device 8 starts and starts up.
(SS7) Wait for several milliseconds to several seconds in S2006. During this period, the first peripheral device 8 starts up and enters a command reception waiting state.
(SS8) Since the first personal computer 4 is selected in S2007, 0x01 is set to the personal computer power port 15 (address 0x0000). At this time, 0x00000000 is output from the I / O addresses 0x172 to 0x175, and 0x01 is output to the address 0x170. As a result, the power supply of the first personal computer 4 is turned on, and the operation of the evaluation unit 32 is started. The inspection unit 1 enters the control data request reception waiting state of S2008 by the control data request reception means 64. At this time, the first port 19 (address 0x0040) to which the first personal computer 4 is connected is set, that is, the I / O address 0x172 to 0x175 is set to 0x00000040, and the value of the address 0x170 is continuously read.
(SS9) The power supply of the first personal computer 4 is turned on in S2012, the standard OS of the personal computer is activated, and the process proceeds to S2013.
(SS10) The first personal computer 4 issues a command to the first peripheral device 8 through S2013. Thereby, the operation of the peripheral device proceeds to S2023, and the evaluation unit 32 proceeds to S2014.
(SS11) As for the operation of the peripheral device, the first peripheral device 8 performs the received command processing in S2023, and again enters the command reception waiting state in S2024.
(SS12) The evaluation unit 32 activates the evaluation unit 59 in S2014. The evaluation means 59 is a program for evaluating the connection between the personal computer and the peripheral device as described above.
(SS13) In S2015, data indicating a control data request is set in the parallel port of the first personal computer 4. That is, 0x10 is set to the I / O address 0x378 of the personal computer. As a result, the control data request is set to 0x10 in the first port 19 (address 0x0040) via the transmission unit 31.
(SS14) By S2008, the control data request receiving means 64 of the inspection unit 1 sets the address 0x00000040 from the I / O address 0x172 to 0x175, reads the data from the I / O address 0x170, and continues reading many times during 0x00. When 0x10 is reached, control data to be transmitted to the first personal computer 4 is written at address 0x0040 of the first port 19 of the port register. That is, first, 0xffff indicating the head of the control data is written, and the data of the file 1 shown in FIG. Finally, 0xffff indicating the end of the control data is written.
(SS15) The evaluation means 59 continues to read the data continuously until the I / O address 0x37A of the parallel port and 0xffff indicating the end of the data can be read in S2016, and the control data read in S2017 is acquired in the file.
(SS16) The evaluation means 59 issues a Write command shown in FIG. 6A to the first peripheral device 8 in S2018. As a result, the data of the file 1 is transmitted to the first peripheral device 8.
(SS17) Since the first peripheral device 8 has received the Write command in S2024, the first peripheral device 8 receives the data transferred from the evaluation unit 32 in S2025.
(SS18) The evaluation means 59 issues a Read command shown in FIG.
(SS19) Since the first peripheral device 8 has received the Read command in S2026, the data received in SS2025 is transmitted to the first personal computer 4.
(SS20) The evaluation unit 59 receives data from the first peripheral device 8 in S2020, compares the transmitted data, and sets the result in the first port 19 of the port register 18. This time set OK. That is, 0x00 is set to the I / O address 0x378 of the parallel port of the first personal computer 4.
(SS21) The evaluation result receiving means 66 of the inspection unit 1 sets the address 0x0040 of the first port 19 to the I / O addresses 0x172 to 0x175, continues to read the I / O addresses 0x170 and 0x171, and receives 0x00 in S2010. , S2011 determines that the evaluation result is OK. As a result, the first line in FIG.
(SS22) Returning to S2002, the next No. 2 connection data is read.

以下同様の処理を繰り返す。その結果最終的に図7(a)の結果を得る。図7(a)ではNo.1からNo.4のそれぞれの組み合わせの評価結果が四列目に格納される。
以上のように本実施の形態1によれば、検査部1を、接続データに基づいて制御部2によりパソコンの電源が入れられると、接続データのパソコンに検査用制御データを送信して、切り替え部3により接続されたパソコンと周辺機器の間でデータ送受信させ、送受信データの評価結果データをパソコンから受信して、接続されたパソコンと周辺機器の接続の良否を確認する構成としたことにより、多数の機種のパソコンと周辺機器の接続の良否を確認する検査が、接続データによりその組み合わせを替えて実行でき、よって、全ての組み合わせのパソコンと周辺機器を揃えて検査する必要がなくなり、検査対象のユニット数を削減でき、省設備、省コストな自動検査装置を提供することができる。
[実施の形態2]
図9に本発明の実施の形態2における自動検査装置の構成図を示す。なお、上記実施の形態1の構成と同一の構成には同一の符号を付して説明を省略する。
Thereafter, the same processing is repeated. As a result, the result of FIG. 7A is finally obtained. In FIG. 1 to No. The evaluation results of each combination of 4 are stored in the fourth column.
As described above, according to the first embodiment, when the personal computer is turned on by the control unit 2 based on the connection data, the inspection data is transmitted to the personal computer of the connection data and switched. By sending and receiving data between the personal computer connected by the unit 3 and the peripheral device, receiving the evaluation result data of the transmitted / received data from the personal computer, and confirming the quality of the connection between the connected personal computer and the peripheral device, The inspection to confirm the quality of the connection between a large number of models and peripheral devices can be executed by changing the combination according to the connection data. Therefore, it is not necessary to inspect all the combinations of personal computers and peripheral devices. The number of units can be reduced, and an automatic inspection apparatus with reduced equipment and cost can be provided.
[Embodiment 2]
FIG. 9 shows a configuration diagram of an automatic inspection apparatus according to Embodiment 2 of the present invention. In addition, the same code | symbol is attached | subjected to the structure same as the structure of the said Embodiment 1, and description is abbreviate | omitted.

図9に示すように、制御部2に新たに、第2ポートレジスタ44を設けている。この第2ポートレジスタ44は、第5ポート45、第6ポート46、第7ポート47、第8ポート48から構成されている。   As shown in FIG. 9, a second port register 44 is newly provided in the control unit 2. The second port register 44 includes a fifth port 45, a sixth port 46, a seventh port 47, and an eighth port 48.

また第1周辺機器8には周辺機器評価部49と周辺機器送信部50が設けられ、第2周辺機器9には周辺機器評価部51と周辺機器送信部52が設けられ、第3周辺機器10には周辺機器評価部53と周辺機器送信部54が設けられ、第4周辺機器11には周辺機器評価部55と周辺機器送信部56が設けられている。   The first peripheral device 8 includes a peripheral device evaluation unit 49 and a peripheral device transmission unit 50, and the second peripheral device 9 includes a peripheral device evaluation unit 51 and a peripheral device transmission unit 52. Includes a peripheral device evaluation unit 53 and a peripheral device transmission unit 54, and the fourth peripheral device 11 includes a peripheral device evaluation unit 55 and a peripheral device transmission unit 56.

前記周辺機器評価部49,51,53,55は、それぞれ、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11に内蔵され、第1パソコン4、第2パソコン5、第3パソコン6、第4パソコン7とデータ送受信するものであり、また前記周辺機器送信部50,52,54,56は、それぞれ制御部2の指令信号により電源が入ると、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11から周辺機器の電源ONされたことを示す電源ステータスデータを第2ポートレジスタ44を経由して検査部1へ送信するものである。   The peripheral device evaluation units 49, 51, 53, and 55 are built in the first peripheral device 8, the second peripheral device 9, the third peripheral device 10, and the fourth peripheral device 11, respectively. Data is transmitted to and received from the personal computer 5, the third personal computer 6, and the fourth personal computer 7, and the peripheral device transmitters 50, 52, 54, and 56 are connected to each other when the power is turned on by a command signal from the controller 2, respectively. Power status data indicating that the peripheral device is turned on is transmitted from the peripheral device 8, the second peripheral device 9, the third peripheral device 10, and the fourth peripheral device 11 to the inspection unit 1 via the second port register 44. To do.

上記第2ポートレジスタ44の各ポート45〜48はそれぞれ、第1周辺機器8の周辺機器送信部50、第2周辺機器9の周辺機器送信部52、第3周辺機器10の周辺機器送信部54、第4周辺機器11の周辺機器送信部56に接続され、各周辺機器送信部から送信されるステータスデータが格納される。   The ports 45 to 48 of the second port register 44 are respectively a peripheral device transmitter 50 of the first peripheral device 8, a peripheral device transmitter 52 of the second peripheral device 9, and a peripheral device transmitter 54 of the third peripheral device 10. The status data transmitted from each peripheral device transmitter is stored in the peripheral device transmitter 56 of the fourth peripheral device 11.

図10に、検査部1に属する検査手段58の細部、第1パソコン4から第4パソコン7の評価部32,34,36,38のそれぞれに属する評価手段59の細部、第1周辺機器8から第4周辺機器11の周辺機器送信部50,52,54,56のそれぞれに属する周辺機器評価手段60を示す。以下、上記実施の形態1の各手段58,59,60(図2)と異なる点について説明する。
検査手段58は、図2に示した、入力手段61、切り替え手段62、制御データ要求受信手段64、制御データ送信手段65、評価結果受信手段66、結果判定手段67に加えて、周辺機器通知受信手段72とコンピュータ通知受信手段74を備え、電源制御手段63に代えて周辺機器電源制御手段71とコンピュータ電源制御手段73を備えている。
10 shows details of the inspection means 58 belonging to the inspection section 1, details of the evaluation means 59 belonging to each of the evaluation sections 32, 34, 36, and 38 of the first personal computer 4 to the fourth personal computer 7, and from the first peripheral device 8. The peripheral device evaluation means 60 belonging to each of the peripheral device transmitters 50, 52, 54, and 56 of the fourth peripheral device 11 is shown. Hereinafter, differences from the means 58, 59, 60 (FIG. 2) of the first embodiment will be described.
In addition to the input means 61, the switching means 62, the control data request receiving means 64, the control data transmitting means 65, the evaluation result receiving means 66, and the result judging means 67 shown in FIG. Means 72 and computer notification receiving means 74 are provided, and peripheral device power control means 71 and computer power control means 73 are provided in place of the power control means 63.

また評価手段59は、図2で示した送信手段68、受信手段69、評価結果送信手段70に加えて、通知手段75を備えている。
また周辺機器評価手段60は、周辺機器通知手段76と周辺機器データ転送手段77を備えている。
The evaluation unit 59 includes a notification unit 75 in addition to the transmission unit 68, the reception unit 69, and the evaluation result transmission unit 70 shown in FIG.
The peripheral device evaluation unit 60 includes a peripheral device notification unit 76 and a peripheral device data transfer unit 77.

上記検査手段58の周辺機器電源制御手段71は、図4(b)に示す周辺機器電源ポート16のビットを設定することにより、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11のいずれか1台の周辺機器の電源をONしたり、リセットをかけたりする。   The peripheral device power supply control means 71 of the inspection means 58 sets the bit of the peripheral device power supply port 16 shown in FIG. 4B, so that the first peripheral device 8, the second peripheral device 9, and the third peripheral device 10 are set. The power supply of any one of the fourth peripheral devices 11 is turned on or reset.

また検査手段58の周辺機器通知受信手段72は、選択された周辺機器から、電源OKが通知されるのを待つ手段であり、具体的には、検査部1のI/Oアドレス0x172から0x175に、図4(f)に示す第2ポートレジスタ44のポートアドレスを設定し、I/Oアドレス0x170からデータを読む。   The peripheral device notification receiving unit 72 of the inspection unit 58 is a unit that waits for notification of power supply OK from the selected peripheral device. Specifically, the peripheral unit notification reception unit 72 changes the I / O address 0x172 to 0x175 of the inspection unit 1. Then, the port address of the second port register 44 shown in FIG. 4F is set, and data is read from the I / O address 0x170.

また検査手段58のコンピュータ電源制御手段73は、図4(a)に示すパソコン電源ポート15のビットを設定することにより、第1パソコン4、第2パソコン5、第3パソコン6、第4パソコン7のいずれか1台のパソコンの電源をONしたり、リセットをかけたりする。   Further, the computer power control means 73 of the inspection means 58 sets the bit of the personal computer power port 15 shown in FIG. 4 (a), so that the first personal computer 4, the second personal computer 5, the third personal computer 6, and the fourth personal computer 7 are set. Turn on or reset any one of the computers.

また検査手段58のコンピュータ通知受信手段74は、選択されたパソコンから、電源OKが通知されるのを待つ手段であり、具体的には、検査部1のI/Oアドレス0x172から0x175に、図4(e)に示すポートレジスタ18のポートアドレスを設定し、I/Oアドレス0x170からデータを読む。   The computer notification receiving means 74 of the inspection means 58 is a means for waiting for the notification of power supply OK from the selected personal computer. Specifically, the I / O addresses 0x172 to 0x175 of the inspection unit 1 The port address of the port register 18 shown in 4 (e) is set, and data is read from the I / O address 0x170.

また上記評価手段59の通知手段75は、選択されたパソコンの電源がONされるとパソコンのパラレルポートのI/Oレジスタ0x378に電源OKを示す値を設定し、ポートレジスタ18の第1ポート19から第4ポート22のいずれかに反映する。   Further, the notification means 75 of the evaluation means 59 sets a value indicating power supply OK in the I / O register 0x378 of the parallel port of the personal computer when the power supply of the selected personal computer is turned on, and the first port 19 of the port register 18 is set. To any one of the fourth ports 22.

また上記周辺機器評価手段60の周辺機器通知手段76は、選択された周辺機器の電源がONされると第2ポートレジスタ44の第5ポート45から第8ポート48のいずれかに電源OKを示す電源ステータスを設定する。   Further, the peripheral device notifying unit 76 of the peripheral device evaluating unit 60 indicates the power supply OK to any of the fifth port 45 to the eighth port 48 of the second port register 44 when the power supply of the selected peripheral device is turned on. Set the power status.

また上記周辺機器評価手段60の周辺機器データ転送手段77は、評価手段59によって発行された図6(a)、(b)、(c)に示されたATAPIコマンドによってデータ転送する処理を行う。   The peripheral device data transfer means 77 of the peripheral device evaluation means 60 performs a data transfer process according to the ATAPI command shown in FIGS. 6 (a), 6 (b), and 6 (c) issued by the evaluation means 59.

前述のように構成された本実施の形態2における自動検査装置の動作を図11のフローチャートに示す。この動作において実施の形態1における自動検査装置の動作と異なる点を説明する。なお、予め、検査部1には制御用ソフトウエア(検査手段58)、第1パソコン4、第2パソコン5、第3パソコン6、第4パソコン7にはそれぞれに評価ソフト(評価手段59)がインストールされている。また、第1周辺機器8、第2周辺機器9、第3周辺機器10、第4周辺機器11にはフラッシュROMやRAMが内蔵され、標準のシステムコントローラ用プログラムに加えてステータスを送信する割り込み処理プログラムがフラッシュROMまたはRAM領域にダウンロードされている(周辺機器送信部50,52,54,56はこの割り込み処理プログラムに相当する)。   The operation of the automatic inspection apparatus according to the second embodiment configured as described above is shown in the flowchart of FIG. Differences in this operation from the operation of the automatic inspection apparatus in the first embodiment will be described. It should be noted that in advance, the inspection unit 1 has control software (inspection means 58), and the first personal computer 4, the second personal computer 5, the third personal computer 6, and the fourth personal computer 7 have evaluation software (evaluation means 59). Installed. The first peripheral device 8, the second peripheral device 9, the third peripheral device 10, and the fourth peripheral device 11 have a built-in flash ROM and RAM, and interrupt processing for transmitting a status in addition to a standard system controller program. The program has been downloaded to the flash ROM or RAM area (peripheral device transmitters 50, 52, 54, and 56 correspond to this interrupt processing program).

まず検査部1(制御用ソフトウエア)の動作において、ステップ(S2006)に代えて、(S2061)とステップ(S2062)を設けている。またステップ(S2007)と(S2008)との間に、ステップ(S2071)を挿入している。   First, in the operation of the inspection unit 1 (control software), instead of step (S2006), (S2061) and step (S2062) are provided. Step (S2071) is inserted between steps (S2007) and (S2008).

すなわち、ステップ(S2005)において周辺機器電源制御手段71が、取得した周辺機器の番号に対応するデータを周辺機器電源ポート16を設定して周辺機器の電源を入れられると、(S2061)へ進む。
(S2061)選択された周辺機器から、周辺機器の電源が正常にONしたことを示す電源OK通知(電源ステータスデータ)を待ち、受信すればS2007に進む。
(S2062)選択された周辺機器から、周辺機器の電源が正常にONしたことを示す電源OK通知(電源ステータスデータ)が一定時間経過しても受信しない場合、S2005へ戻り、再び周辺機器の電源を入れる、一定時間経過していないときはS2061へ戻り、電源OK通知を待つ。
That is, in step (S2005), when the peripheral device power control means 71 sets the peripheral device power port 16 with the data corresponding to the acquired peripheral device number and turns on the peripheral device, the process proceeds to (S2061).
(S2061) Wait for a power supply OK notification (power supply status data) indicating that the power supply of the peripheral device has been normally turned on from the selected peripheral device, and if received, proceed to S2007.
(S2062) If a power OK notification (power status data) indicating that the power of the peripheral device is normally turned on is not received from the selected peripheral device even after a predetermined time has passed, the process returns to S2005, and the power of the peripheral device is again If the fixed time has not elapsed, the process returns to S2061 and waits for a power OK notification.

またステップ(S2007)において、コンピュータ電源制御手段73が、取得したパソコンの番号に対応するデータをパソコン電源ポート15に設定すると、(S2071)へ進む。
(S2071)選択されたパソコンから、パソコンの電源が正常にONしたことを示す電源OK通知(電源ステータスデータ)を待ち、受信すればS2008に進む。
In step (S2007), when the computer power control means 73 sets the data corresponding to the acquired personal computer number in the personal computer power port 15, the process proceeds to (S2071).
(S2071) Waits for a power supply OK notification (power supply status data) indicating that the power supply of the personal computer is normally turned on from the selected personal computer, and if received, proceeds to S2008.

また評価部(評価ソフト)の動作において、ステップ(S2012)と(S2013)との間に、ステップ(S2121)を挿入している。
すなわち、ステップ(S2012)において、S2007により選択されたパソコンの電源がONになると、ステップ(S2121)へ進む。
(S2121)選択されたパソコンの送信部(31、33、35、37のいずれか)が、パソコンの電源が正常にONされたことを示す電源OK通知(電源ステータスデータ)を第2ポートレジスタ44を経由して検査部1に送信する。
In the operation of the evaluation unit (evaluation software), step (S2121) is inserted between steps (S2012) and (S2013).
That is, in step (S2012), when the personal computer selected in S2007 is turned on, the process proceeds to step (S2121).
(S2121) The transmission unit (any one of 31, 33, 35, and 37) of the selected personal computer sends a power OK notification (power status data) indicating that the power of the personal computer is normally turned on to the second port register 44. To the inspection unit 1 via.

また周辺機器の動作において、ステップ(S2021)と(S2022)との間に、ステップ(S2211)を挿入している。
すなわち、ステップ(S2021)において、S2005により選択された周辺機器の電源がONになり、周辺機器評価手段60が起動すると、ステップ(S2211)へ進む。
(S2211)選択された周辺機器の電源が正常にONしたことを示す電源OK通知(電源ステータスデータ)を検査部1に送信する。
In the operation of the peripheral device, step (S2211) is inserted between steps (S2021) and (S2022).
That is, in step (S2021), when the peripheral device selected in S2005 is turned on and the peripheral device evaluation means 60 is activated, the process proceeds to step (S2211).
(S2211) A power OK notification (power status data) indicating that the power supply of the selected peripheral device is normally turned on is transmitted to the inspection unit 1.

次に本実施の形態2の自動検査装置における具体的動作について、上記実施の形態1の具体的動作と異なる点を説明する。入力される接続データは、実施の形態1の自動検査装置における具体的動作で説明した図5(a)のものを使用する。   Next, the specific operation of the automatic inspection apparatus according to the second embodiment will be described while referring to differences from the specific operation of the first embodiment. As connection data to be input, the connection data shown in FIG. 5A described in the specific operation of the automatic inspection apparatus according to the first embodiment is used.

S2005により、第1周辺機器8が選択されて第1周辺機器8の電源がONされ、周辺機器の動作(S2021以下)が開始されると、S2211により、周辺機器通知手段76が、検査部1に電源OK通知(電源ステータスデータ)を送信する。すなわち、第1周辺機器8の送信部50が図4(f)に示す第2ポートレジスタ44の第5ポート45(アドレス0x0048)に電源OKを示す0x00を送信する。   When the first peripheral device 8 is selected in S2005, the power supply of the first peripheral device 8 is turned on, and the operation of the peripheral device (S2021 and subsequent steps) is started, the peripheral device notifying unit 76 sends the inspection unit 1 in S2211. A power OK notification (power status data) is transmitted. That is, the transmission unit 50 of the first peripheral device 8 transmits 0x00 indicating the power supply OK to the fifth port 45 (address 0x0048) of the second port register 44 illustrated in FIG.

周辺機器通知受信手段72は、S2061により電源OK通知(電源ステータスデータ)を受信するまで待つ。すなわち、I/Oアドレス0x172から0x175に第5ポート45のアドレスの0x00000048を設定し、I/Oアドレス0x170のデータが00になるまで読み続ける。また電源OK通知が一定時間経過しても受信しない場合、再び周辺機器の電源を入れ、一定時間経過していないときはS2061へ戻り、電源OK通知を待つ。   The peripheral device notification receiving unit 72 waits until a power supply OK notification (power supply status data) is received in S2061. That is, the address 0x00000008 of the fifth port 45 is set in the I / O addresses 0x172 to 0x175, and reading is continued until the data of the I / O address 0x170 becomes 00. If the power OK notification is not received even after a predetermined time has elapsed, the peripheral device is turned on again. If the predetermined time has not elapsed, the process returns to S2061 to wait for the power OK notification.

周辺機器通知受信手段72により電源OK通知が受信されると、コンピュータ電源制御手段72により第1パソコン4の電源がONされ、パソコンの標準OSが起動し、S2121に進み、通知手段75がS2121により第1パソコンの電源OK通知(電源ステータスデータ)を検査部1に送信する。すなわち、第1パソコン4のI/Oアドレス0x378に0x20を設定する。   When the power supply OK notification is received by the peripheral device notification receiving means 72, the power supply of the first personal computer 4 is turned on by the computer power control means 72, the standard OS of the personal computer is started, the process proceeds to S2121, and the notification means 75 is sent by S2121. A power OK notification (power status data) of the first personal computer is transmitted to the inspection unit 1. That is, 0x20 is set to the I / O address 0x378 of the first personal computer 4.

コンピュータ通知受信手段74は、S2071により電源OK通知(電源ステータスデータ)を受信するまで待つ。すなわち、I/Oアドレス0x172から0x175まで第1パソコン4のアドレスの0x00000040を設定し、I/Oアドレス0x170の値が第1パソコンが電源OKを示す0x20を受信するまで読み続ける。コンピュータ通知受信手段74により第1パソコン4の電源OKが受信されると、制御データ要求受信手段64により、S2008の制御データ要求受信待ち状態になる。すなわちI/Oアドレスの0x172から0x175に第1パソコン4のアドレスの0x00000040を設定し、アドレス0x170の値を読み続ける。   The computer notification receiving unit 74 waits until a power OK notification (power status data) is received in S2071. That is, the address 0x00000040 of the first personal computer 4 is set from the I / O address 0x172 to 0x175, and reading is continued until the value of the I / O address 0x170 receives 0x20 indicating that the power supply is OK. When the computer notification receiving means 74 receives the power OK of the first personal computer 4, the control data request receiving means 64 enters the control data request reception waiting state of S 2008. That is, the address 0x00000040 of the first personal computer 4 is set from 0x172 to 0x175 of the I / O address, and the value of the address 0x170 is continuously read.

このように、周辺機器の電源が入ると、この電源が入ったことを示す電源ステータスデータが周辺機器より検査部1に送信され、この電源ステータスデータに基づいてパソコンの電源を入れられ、さらにパソコンの電源が入ると、この電源が入ったことを示す電源ステータスデータが検査部1に送信される。また電源OK通知が一定時間経過しても受信しない場合、再び周辺機器の電源が入れられる。   As described above, when the peripheral device is turned on, the power status data indicating that the power is turned on is transmitted from the peripheral device to the inspection unit 1, and the personal computer is turned on based on the power status data. When the power is turned on, power status data indicating that the power is turned on is transmitted to the inspection unit 1. If the power OK notification is not received even after a predetermined time has passed, the peripheral device is turned on again.

実施の形態2において得た結果を図7(a)に示す。
以上のように本実施の形態2によれば、周辺機器の電源が入ると、この電源が入ったことを示す電源ステータスデータが周辺機器より検査部1に送信されることにより、周辺機器の電源入力時刻から十分な時間が経過した後にパソコンの電源を入力しなくてもよく、パソコンの電源立ち上げ時間を短縮でき、省設備、省コストな検査設備で、検査時間を短時間にできる自動検査装置を提供することができる。
The result obtained in the second embodiment is shown in FIG.
As described above, according to the second embodiment, when the peripheral device is turned on, the power status data indicating that the peripheral device is turned on is transmitted from the peripheral device to the inspection unit 1, thereby It is not necessary to input the power supply of the personal computer after a sufficient time has elapsed from the input time, the power-on time of the personal computer can be shortened, and the automatic inspection that can shorten the inspection time with the equipment saving and the cost saving An apparatus can be provided.

また電源OK通知が一定時間経過しても受信しない場合、周辺機器の電源投入が失敗した判定して、検査部が再起動することにより、選択されたパソコンと周辺機器との接続の良否の検査がスキップされてしまうことを防ぐことができる。
[実施の形態3]
本発明の実施の形態3における自動検査装置の構成は、実施の形態2の図9の自動検査装置と同一であり、図12に示すように、実施の形態2の自動検査手段(図10)の検査手段58に、再起動手段78を加え、周辺機器評価手段60に、監視手段79を加えている。
If the power OK notification is not received even after a certain period of time has passed, it is determined that the peripheral device has failed to power on, and the inspection unit restarts to check the connection between the selected personal computer and the peripheral device. Can be prevented from being skipped.
[Embodiment 3]
The configuration of the automatic inspection apparatus according to the third embodiment of the present invention is the same as that of the automatic inspection apparatus of FIG. 9 of the second embodiment, and as shown in FIG. 12, the automatic inspection means of the second embodiment (FIG. 10). A restarting means 78 is added to the inspection means 58, and a monitoring means 79 is added to the peripheral device evaluation means 60.

周辺機器評価手段60の監視手段79は、周辺機器の異常を監視し、異常を検出するとその異常ステータスデータを検査部1に送信する処理を行い、検査手段58の再起動手段78は、選択された周辺機器の監視手段79によって周辺機器の動作異常を示す異常ステータスデータを受信したとき、再度接続データの前回と同じ列目を読み出し、再起動する処理を行う。   The monitoring unit 79 of the peripheral device evaluation unit 60 monitors the abnormality of the peripheral device, and performs processing to transmit the abnormality status data to the inspection unit 1 when the abnormality is detected, and the restart unit 78 of the inspection unit 58 is selected. When the abnormal status data indicating the abnormal operation of the peripheral device is received by the peripheral device monitoring means 79, the same column as the previous time of the connection data is read again and restarted.

本実施の形態3における自動検査装置の第1の動作を図13のフローチャートに示す。この第1の動作において、実施の形態2における自動検査装置の動作(図11)と異なる点を説明する。   A first operation of the automatic inspection apparatus according to the third embodiment is shown in the flowchart of FIG. In the first operation, the difference from the operation (FIG. 11) of the automatic inspection apparatus in the second embodiment will be described.

まず、周辺機器の動作において、ステップ(S2025)と(S2026)との間に、ステップ(S2251)と(S2252)を挿入している。
(S2251)監視手段79が、周辺機器の異常発生を監視する。異常が発生していなければS2026に進む。
(S2252)周辺機器に動作異常が発生した場合、異常が発生したことを示すステータスを検査部1に送信する。すなわち、周辺機器に動作異常が発生したとき、異常割り込みが入り、その割り込み処理の中で、選択された周辺機器の図4(f)に示す第2ポートレジスタ44に異常があったことを示す0x01を設定する。
First, in the operation of the peripheral device, steps (S2251) and (S2252) are inserted between steps (S2025) and (S2026).
(S2251) The monitoring unit 79 monitors the occurrence of an abnormality in the peripheral device. If no abnormality has occurred, the process proceeds to S2026.
(S2252) When an operation abnormality occurs in the peripheral device, a status indicating that the abnormality has occurred is transmitted to the inspection unit 1. That is, when an abnormal operation occurs in the peripheral device, an abnormal interrupt is input, and the second port register 44 shown in FIG. 4 (f) of the selected peripheral device has an abnormality in the interrupt processing. Set 0x01.

また検査部1(制御用ソフトウエア)の動作において、ステップ(S2009)と(S2010)との間に、ステップ(S2091)を挿入している。
(S2091)再起動手段78が、選択された周辺機器の監視手段71によって周辺機器の動作異常を示すステータスを受信したとき、すなわちI/Oアドレス0x172から0x175に図4(f)の第2ポートレジスタの第5ポート46のアドレスを示す0x00000048を設定し、アドレス0x170からデータを読み出し、値が異常を示す0x0001ならS2002に戻る。
In the operation of the inspection unit 1 (control software), a step (S2091) is inserted between steps (S2009) and (S2010).
(S2091) When the restarting means 78 receives the status indicating the abnormal operation of the peripheral device by the monitoring means 71 of the selected peripheral device, that is, from the I / O address 0x172 to 0x175, the second port of FIG. 0x00000008 indicating the address of the fifth port 46 of the register is set, data is read from the address 0x170, and if the value is 0x0001 indicating abnormality, the process returns to S2002.

なお、このときステップ(S2002)では、図5(a)の接続データの前回と同じ列目を再度読み出す。すなわち、異常ステータスを受信すると、制御部2に指示して前回の接続データによる再検査を実行する。   At this time, in step (S2002), the same column as the previous connection data in FIG. 5A is read again. That is, when an abnormal status is received, the control unit 2 is instructed to perform a re-examination using the previous connection data.

次に実施の形態3の自動検査装置の第1の動作における具体的動作について上記実施の形態2の具体的動作と異なる点、すなわち周辺機器、たとえば第1周辺機器8に動作異常が発生した場合の動作の流れを説明する。入力される接続データは、実施の形態1の自動検査装置における具体的動作で説明した図5(a)のものを使用する。   Next, a specific operation in the first operation of the automatic inspection apparatus of the third embodiment is different from the specific operation of the second embodiment, that is, when an abnormal operation occurs in a peripheral device, for example, the first peripheral device 8. The operation flow will be described. As connection data to be input, the connection data shown in FIG. 5A described in the specific operation of the automatic inspection apparatus according to the first embodiment is used.

第1周辺機器8に動作異常が発生したとき、周辺機器評価手段60の監視手段79によって異常割り込みが入り、その割り込み処理の中で、図4(f)に示す第2ポートレジスタの第5ポート45(アドレス0x0048)に異常があったことを示す0x01が設定される。   When an operation abnormality occurs in the first peripheral device 8, an abnormal interrupt is input by the monitoring unit 79 of the peripheral device evaluation unit 60, and the fifth port of the second port register shown in FIG. 45 (address 0x0048) is set to 0x01 indicating that there is an abnormality.

検査手段58の再起動手段78は、選択された周辺機器の監視手段79によって周辺機器の動作異常を示すステータスを受信したとき、すなわちI/Oアドレス0x172から0x175に図4(f)の第2ポートレジスタの第5ポート46のアドレスを示す0x00000048を設定し、アドレス0x170からデータを読み出し、値が0x0001なら再び、図5(a)の制御データの前回と同じ列目を再度読み直し、S2002から繰り返す。これにより再起動される。   The restart unit 78 of the inspection unit 58 receives the status indicating the operation abnormality of the peripheral device by the monitoring unit 79 of the selected peripheral device, that is, from the I / O address 0x172 to 0x175, the second of FIG. 0x00000008 indicating the address of the fifth port 46 of the port register is set, data is read from the address 0x170, and if the value is 0x0001, the same column as the previous control data in FIG. 5A is read again, and the processing is repeated from S2002. . This restarts.

次に、本実施の形態3における自動検査装置の第2の動作を図14のフローチャートに示す。この第2の動作は、第1の動作のステップ(S2091)において周辺機器の動作異常を示すステータスを受信したときの処理、またはステップ(S2011)において判定した評価結果に基づく処理として、(S2114)と(S2115)を付加したものである。なお、検査手段58の再起動手段78は、選択された周辺機器の監視手段79によって周辺機器の動作異常(NG)を示すステータスを受信したとき、または結果判定手段67により判定された評価判定データがNG(不良)のとき、そのNG回数をカウントし、NG回数が一定回数未満のとき、再度周辺機器の電源立ち上げからやりなおし、一定回数以上となると、図5(a)に示す接続データの次の列目を読み出し、次の接続データにより起動する処理を行う。   Next, the second operation of the automatic inspection apparatus according to the third embodiment is shown in the flowchart of FIG. This second operation is a process when a status indicating abnormal operation of a peripheral device is received in the step (S2091) of the first operation, or a process based on the evaluation result determined in the step (S2011) (S2114). And (S2115). Note that the restarting means 78 of the inspection means 58 receives the status indicating the abnormal operation (NG) of the peripheral device by the selected peripheral device monitoring means 79 or the evaluation determination data determined by the result determination means 67. When NG is NG (defect), the number of NG is counted, and when the number of NG is less than a certain number, the power is turned on again from the peripheral device, and when the number exceeds the certain number, the connection data shown in FIG. The next column is read out, and a process of starting with the next connection data is performed.

ステップ(S2091)において、周辺機器の動作異常を示すステータスを受信したとき、またはステップ(S2011)において、結果判定手段67が、受信した評価結果を判定すると、S2114に進む。   When the status indicating the abnormal operation of the peripheral device is received in step (S2091) or when the result determination unit 67 determines the received evaluation result in step (S2011), the process proceeds to S2114.

(S2114)再起動手段78は、周辺機器の動作異常(NG)を示すステータスを受信してなく、かつ評価結果がOKならS2002に進み、いずれか一方がNGならS2115に進む。   (S2114) If the restart means 78 has not received the status indicating the abnormal operation (NG) of the peripheral device and the evaluation result is OK, the process proceeds to S2002, and if either one is NG, the process proceeds to S2115.

(S2115)NG回数をカウントし、NG回数が一定回数以上なら、この項目に関する評価はNGとして次の評価を行うためS2002に進み接続データの次の列目を読み出し、一定回数未満なら、再度周辺機器の電源立ち上げからやりなおすため、S2005に戻り、周辺機器の再起動から再検査を実行する。   (S2115) Count the number of NG, and if the number of NG is equal to or greater than a certain number, the evaluation for this item is NG and the next evaluation is performed to read the next column of connection data, and if less than the certain number, In order to start again from the power-on of the device, the process returns to S2005, and re-inspection is executed from the restart of the peripheral device.

次に実施の形態3の自動検査装置の第2の動作における具体的動作が上記実施の形態2の具体的動作と異なる点、すなわち周辺機器の動作異常と評価結果に基づく処理の動作の流れを説明する。なお、NG回数の一定回数、すなわちNGのとき、同じ接続データの検査(評価)を繰り返す回数を2回とする。入力される接続データは、実施の形態1の自動検査装置における具体的動作で説明した図5(a)のものを使用する。   Next, the specific operation in the second operation of the automatic inspection apparatus of the third embodiment is different from the specific operation of the second embodiment, that is, the flow of the processing operation based on the abnormal operation of the peripheral device and the evaluation result. explain. Note that when the number of NG times is constant, that is, NG, the number of times the same connection data is repeatedly inspected (evaluated) is set to two. As connection data to be input, the connection data shown in FIG. 5A described in the specific operation of the automatic inspection apparatus according to the first embodiment is used.

第1周辺機器8に動作異常が発生したとき、周辺機器の監視手段79によって異常割り込みが入り、その割り込み処理の中で、図4(f)に示す第2ポートレジスタの第5ポート45(アドレス0x0048)に異常があったことを示す0x01が設定される。   When an operation abnormality occurs in the first peripheral device 8, an abnormal interrupt is input by the peripheral device monitoring means 79, and the fifth port 45 (address) of the second port register shown in FIG. 0x01 indicating that there is an abnormality in 0x0048) is set.

再起動手段78は、選択された周辺機器の監視手段79による周辺機器の動作異常を示すステータスを受信したとき、すなわちI/Oアドレス0x172から0x175に図4(f)の第2ポートレジスタの第5ポート45のアドレスを示す0x00000048を設定し、アドレス0x170からデータを読み出し、値が0x0001ならNG回数(異常判定の回数)をカウントし、1回目なのでカウント1を保持する。また再起動手段78は、結果判定手段67により判定された評価判定データがNG(不良)のとき、NG回数をカウントし、1回目なのでカウント1を保持する。このようにカウント1のとき、S2005に進み、再度周辺機器の電源を立ち上げる。   The restarting means 78 receives the status indicating the abnormal operation of the peripheral device by the monitoring means 79 of the selected peripheral device, that is, from the I / O address 0x172 to 0x175, the second port register of FIG. 0x00000008 indicating the address of the 5 port 45 is set, data is read from the address 0x170, and if the value is 0x0001, the number of NG times (the number of times of abnormality determination) is counted. In addition, when the evaluation determination data determined by the result determination unit 67 is NG (defective), the restarting unit 78 counts the number of NG times and holds the count 1 because it is the first time. As described above, when the count is 1, the process proceeds to S2005, and the power of the peripheral device is turned on again.

上記再度周辺機器の電源の立ち上げが実行された後、再起動手段78が再度、選択された周辺機器の監視手段79によって周辺機器の動作異常を示すステータスを受信したとき、NG回数をカウントし、2回目なのでカウント2を保持する。また再起動手段78は、結果判定手段67により判定された評価判定データがNG(不良)のとき、NG回数ををカウントし、2回目なのでカウント2を保持する。このようにカウント2のとき、同じ項目の評価を繰り返す回数が2回なので、この項目の評価をNGと判定し、S2002に戻り、制御データの次の列目を読み取る(次の接続データによる検査を実行する)。   After the power-on of the peripheral device is executed again, the restarting unit 78 counts the number of NG when the monitoring unit 79 of the selected peripheral device receives the status indicating the operation abnormality of the peripheral device again. Since it is the second time, count 2 is held. In addition, when the evaluation determination data determined by the result determination unit 67 is NG (defective), the restarting unit 78 counts the number of NG times, and holds the count 2 because it is the second time. Thus, when the count is 2, the evaluation of the same item is repeated twice, so the evaluation of this item is determined as NG, and the process returns to S2002 to read the next row of control data (inspection by the next connection data) Run).

図5(a)に示す制御データによる評価の結果、最終的に得た結果を図7(b)に示す。図7(b)では、4列目の評価結果のうち、上段が1回目の結果、下段が2回目の結果である。この例ではNo.1が2回ともNG、No.2,No.4が1回目がNG、2回目がOK、No.3が1回目が異常通知、2回目がNGとなっている。   FIG. 7B shows the result finally obtained as a result of the evaluation based on the control data shown in FIG. In FIG. 7B, among the evaluation results in the fourth column, the upper row is the first result, and the lower row is the second result. In this example, no. 1 is NG, No. 2, no. 4 is NG for the first time, OK for the second time, No. 3 is an abnormality notification for the first time and NG for the second time.

このことにより、No.1の組み合わせでは常時NGなので機能的な不具合があることが予測できる。No.2、No.4は1回目はNGだが2回目でOKになっているので、周辺機器の内部動作タイミングにより、偶然発生する異常であることが予測できる。また、No.3は異常通知を受信しているので、周辺装置の異常割り込み要因を観測すれば不具合がわかる。   As a result, no. Since the combination of 1 is always NG, it can be predicted that there is a functional defect. No. 2, No. 4 is NG at the first time but is OK at the second time, so it can be predicted that it is an accident that occurs accidentally by the internal operation timing of the peripheral device. No. Since No. 3 has received an abnormality notification, the trouble can be understood by observing the abnormal interrupt factor of the peripheral device.

以上のように本実施の形態3によれば、周辺機器内部の異常が検知されると、前回の接続データによりパソコンと周辺機器との接続の良否検査が再実行されることにより、周辺機器内部の異常が存在するかどうかを確定することができる。   As described above, according to the third embodiment, when an abnormality inside the peripheral device is detected, the quality of the connection between the personal computer and the peripheral device is re-executed based on the previous connection data. It can be determined whether there is an abnormality.

またNGの発生によりパソコンおよび周辺機器が再起動されることにより、内部動作タイミングの問題で発生する偶然の異常のために評価不良との結果がでたのか、あるいは周辺機器が常に発生する機能的な異常のために評価不良との結果がでたのかを確認することができる。すなわち、再起動の結果、受信した全数が評価結果の不良なら周辺機器が常に発生する機能的な異常であると判断でき、OKを受信することがあれば、内部動作タイミングの問題でありOKと判断することができ、よって省設備、省コストな検査設備で、検査時間を短時間にし、異常原因が特定可能な自動検査装置を提供することができる。なお、再起動の回数は、偶然の異常か機能的な異常かを判断できる一定回数に制限され、一定回数を超えると、次の接続データにより選択されたパソコンと周辺機器との接続検査が実行される。
[実施の形態4]
図15は本発明の実施の形態4における自動検査装置の構成図である。なお、上記実施の形態2,3の構成(図9)と同一の構成には同一の符号を付して説明を省略する。また自動検査手段は、実施の形態3の構成(図12)と同一の構成としている。
In addition, if a personal computer and peripheral devices are restarted due to the occurrence of NG, a result of poor evaluation due to an accidental abnormality that occurs due to an internal operation timing problem, or a peripheral device that always occurs It is possible to confirm whether or not a result of poor evaluation was obtained due to an abnormal condition. That is, as a result of restarting, if the total number received is poor in the evaluation result, it can be determined that the peripheral device is a functional abnormality that always occurs. If OK is received, it is an internal operation timing problem and OK. Therefore, it is possible to provide an automatic inspection apparatus that can determine the cause of an abnormality by reducing the inspection time with a low-cost and low-cost inspection equipment. Note that the number of restarts is limited to a certain number that can be judged as an accidental accident or a functional abnormality. When the number exceeds a certain number, the connection check between the PC and the peripheral device selected by the next connection data is executed. Is done.
[Embodiment 4]
FIG. 15 is a configuration diagram of an automatic inspection apparatus according to Embodiment 4 of the present invention. In addition, the same code | symbol is attached | subjected to the structure same as the structure (FIG. 9) of the said Embodiment 2, 3, and description is abbreviate | omitted. Further, the automatic inspection means has the same configuration as that of the third embodiment (FIG. 12).

図15に示すように、制御部2に新たに、インタフェース測定部57を備えている。
このインタフェース測定部57は、選択されたパソコンと選択された周辺機器の間のインタフェースの信号を随時観測し、その観測データを検査部1に送信する。
As shown in FIG. 15, the control unit 2 is newly provided with an interface measurement unit 57.
The interface measurement unit 57 observes the interface signal between the selected personal computer and the selected peripheral device as needed, and transmits the observation data to the inspection unit 1.

本実施の形態4における自動検査装置の動作を図16のフローチャートに示す。この動作において、実施の形態3における自動検査装置の動作(図13)と異なる点を説明する。   The operation of the automatic inspection apparatus according to the fourth embodiment is shown in the flowchart of FIG. In this operation, differences from the operation (FIG. 13) of the automatic inspection apparatus in the third embodiment will be described.

まず、検査部1(制御用ソフトウエア)の動作において、ステップ(S2011)の後に、ステップ(S2111),(S2112),(S2113)を追加している。
(S2011)において、結果判定手段67が、受信した評価結果を判定すると、S2111へ進む。
(S2111)インタフェース信号のログ要求信号をインタフェース測定部57に送信する。
(S2112)インタフェース測定部57からログデータを受信するまで待ち、受信したらS113に進む。
(S2113)ログデータを解析し、接続されたパソコンと周辺機器の接続の良否を確認し(エラーがないかを判定し)、S2002に戻る。
First, in the operation of the inspection unit 1 (control software), steps (S2111), (S2112), and (S2113) are added after step (S2011).
In (S2011), when the result determination unit 67 determines the received evaluation result, the process proceeds to S2111.
(S2111) An interface signal log request signal is transmitted to the interface measurement unit 57.
(S2112) Wait until log data is received from the interface measurement unit 57, and if received, proceed to S113.
(S2113) The log data is analyzed to check whether the connected personal computer and the peripheral device are connected or not (determining whether there is an error), and the process returns to S2002.

またインタフェース測定部57の動作が追加されている。
インタフェース測定部の動作:
(S2028)選択された周辺機器とパソコンの電源がONされた時点から、パソコンと周辺機器の間のインタフェース信号を連続的に観測しログとして格納する。
(S2029)検査部1からログ要求信号を受信したら、S2030に進む。
(S2030)検査部1にインタフェース信号のログデータを送信する。
Further, the operation of the interface measurement unit 57 is added.
Operation of interface measurement unit:
(S2028) From the time when the selected peripheral device and the personal computer are turned on, the interface signal between the personal computer and the peripheral device is continuously observed and stored as a log.
(S2029) When the log request signal is received from the inspection unit 1, the process proceeds to S2030.
(S2030) The log data of the interface signal is transmitted to the inspection unit 1.

次に実施の形態4の自動検査装置の動作における具体的動作が上記実施の形態3の具体的動作と異なる点、すなわちインタフェース測定部57を設けたことによる動作の流れを説明する。なお、入力される接続データは、実施の形態1の自動検査装置における具体的動作で説明した図5(a)のものを使用する。   Next, the specific operation in the operation of the automatic inspection apparatus according to the fourth embodiment is different from the specific operation of the third embodiment, that is, the flow of the operation due to the provision of the interface measuring unit 57 will be described. As the input connection data, the connection data shown in FIG. 5A described in the specific operation of the automatic inspection apparatus according to the first embodiment is used.

インタフェース測定部57(アドレス0x0050)は、第1周辺機器8と第1パソコン4の電源がONすると、インタフェース測定部57は、第1パソコン4と第1周辺機器8の間のインタフェース信号を順次観測しログとして格納する。   When the first peripheral device 8 and the first personal computer 4 are turned on, the interface measuring unit 57 (address 0x0050) sequentially observes the interface signal between the first personal computer 4 and the first peripheral device 8. And store it as a log.

また検査部1は、結果判定手段67による評価結果の判定が終了すると、インタフェース測定部57にログ要求信号を送信する。すなわち、I/Oアドレス0x172から0x175にインタフェース測定部57のアドレスを示す0x00000050を設定し、I/Oアドレス0x170にログ要求信号を示す0x01を設定する。   The inspection unit 1 transmits a log request signal to the interface measurement unit 57 when the determination of the evaluation result by the result determination unit 67 is completed. That is, 0x00000050 indicating the address of the interface measurement unit 57 is set to the I / O addresses 0x172 to 0x175, and 0x01 indicating the log request signal is set to the I / O address 0x170.

インタフェース測定部57はログ要求信号を受信するまで待ち、受信したら取得したログを検査部1に送信する。その結果、図17に示すログを取得する。
検査部1は、パソコン4と周辺機器8のログを受信するまで待ち、受信したら受信したログを解析し結果判定する。この場合、図17のエラーが存在するのでNGと判定する。
The interface measurement unit 57 waits until a log request signal is received, and transmits the acquired log to the inspection unit 1 when received. As a result, the log shown in FIG. 17 is acquired.
The inspection unit 1 waits until the logs of the personal computer 4 and the peripheral device 8 are received, and when received, analyzes the received log and determines the result. In this case, since the error of FIG. 17 exists, it is determined as NG.

この後、S2002に戻り、次の制御データを読み取る。
以下同様の処理を繰り返す。その結果最終的に図7(c)の結果を得る。
図7(c)ではNo.1の制御データでは評価結果はOKだが、ログでNGと判定しているので、ログを解析する必要がある。No.2,No.4の制御データでは評価およびログともにOKなので問題はない。No.3の制御データでは異常通知を受信しているので周辺装置の異常割り込み要因を観測すれば不具合がわかる。
Thereafter, the process returns to S2002 and the next control data is read.
Thereafter, the same processing is repeated. As a result, the result of FIG. 7C is finally obtained.
In FIG. With the control data of 1, the evaluation result is OK, but it is determined that the log is NG, so it is necessary to analyze the log. No. 2, no. In the control data of 4, since both evaluation and log are OK, there is no problem. No. In the control data 3, an abnormality notification is received, so that the problem can be found by observing the abnormal interrupt factor of the peripheral device.

以上のように本実施の形態4によれば、制御部2にインタフェース測定部57を設けたことにより、パソコンと周辺機器の間のインタフェースの信号を随時観測でき、検査部1によりこの観測データを解析することにより、インタフェースのバスの異常を検知することができ、不具合の箇所を特定することができる。よって、省設備、省コストな検査設備で、検査時間を短時間にし、異常原因が特定可能な自動検査装置を提供することができる。   As described above, according to the fourth embodiment, by providing the interface measurement unit 57 in the control unit 2, the interface signal between the personal computer and the peripheral device can be observed at any time. By analyzing, an abnormality in the interface bus can be detected, and the location of the failure can be identified. Therefore, it is possible to provide an automatic inspection apparatus that can reduce the inspection time and identify the cause of the abnormality with the inspection equipment that saves equipment and costs.

本発明にかかる自動検査装置は、本発明の検査部1、制御部2、切り替え部3の機能を備えたインタフェースバスアナライザ、インタフェース信号を計測する計測器等としても有用である。またコンピュータや周辺機器の検査工程や、コンピュータ、周辺機器に搭載された半導体の検査工程の用途にも応用できる。   The automatic inspection apparatus according to the present invention is useful as an interface bus analyzer having the functions of the inspection unit 1, the control unit 2, and the switching unit 3 of the present invention, a measuring instrument for measuring interface signals, and the like. The present invention can also be applied to inspection processes for computers and peripheral devices, and inspection processes for semiconductors mounted on computers and peripheral devices.

本発明の実施の形態1における自動検査装置の構成図である。It is a block diagram of the automatic inspection apparatus in Embodiment 1 of this invention. 同自動検査装置における自動検査手段の構成図である。It is a block diagram of the automatic test | inspection means in the same automatic test | inspection apparatus. 同自動検査装置の検査部におけるI/Oポートとパソコンのパラレルポートのアドレスマップである。3 is an address map of an I / O port and a parallel port of a personal computer in the inspection unit of the automatic inspection apparatus. 同自動検査装置の制御部におけるレジスタマップである。It is a register map in the control part of the automatic inspection apparatus. 同自動検査装置における接続データを示す図である。It is a figure which shows the connection data in the automatic inspection apparatus. 同自動検査装置において検査されるパソコンから周辺機器に発行されるATAPIコマンドの一例を示す図である。It is a figure which shows an example of the ATAPI command issued to the peripheral device from the personal computer test | inspected in the same automatic test | inspection apparatus. 同自動検査装置における評価結果データを示す図である。It is a figure which shows the evaluation result data in the automatic inspection apparatus. 同自動検査装置の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of the automatic inspection apparatus. 本発明の実施の形態2における自動検査装置の構成図である。It is a block diagram of the automatic inspection apparatus in Embodiment 2 of this invention. 同自動検査装置における自動検査手段の構成図である。It is a block diagram of the automatic test | inspection means in the same automatic test | inspection apparatus. 同自動検査装置の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of the automatic inspection apparatus. 本発明の実施の形態3における自動検査手段の構成図である。It is a block diagram of the automatic test | inspection means in Embodiment 3 of this invention. 同自動検査装置の第1の動作を説明するフローチャートである。It is a flowchart explaining the 1st operation | movement of the same automatic inspection apparatus. 同自動検査装置の第2の動作を説明するフローチャートである。It is a flowchart explaining the 2nd operation | movement of the same automatic inspection apparatus. 本発明の実施の形態3における自動検査装置の構成図である。It is a block diagram of the automatic inspection apparatus in Embodiment 3 of this invention. 同自動検査装置の動作を説明するフローチャートである。It is a flowchart explaining operation | movement of the automatic inspection apparatus. 同自動検査装置で得られるログの一例を示す図である。It is a figure which shows an example of the log obtained with the same automatic inspection apparatus. 従来の自動検査装置の構成図である。It is a block diagram of the conventional automatic inspection apparatus.

符号の説明Explanation of symbols

1 検査部
2 制御部
3 切り替え部
4〜7 パソコン
8〜11 周辺機器
12 結果判定部
13 I/O
14 電源制御部
15 パソコン電源ポート
16 周辺機器電源ポート
17 切り替えレジスタ
18 ポートレジスタ
19〜22 ポートレジスタのポート
23〜30 スイッチ
31,33,35,37 送信部
32,34,36,38 評価部
40,41,42,43 バス
44 第2ポートレジスタ
45〜48 第2ポートレジスタのポート
49,51,53,55 周辺機器評価部
50,52,54,56 周辺機器送信部
57 インタフェース測定部
DESCRIPTION OF SYMBOLS 1 Test | inspection part 2 Control part 3 Switching part 4-7 Personal computer 8-11 Peripheral device 12 Result determination part 13 I / O
14 power control unit 15 personal computer power port 16 peripheral device power port 17 switching register 18 port register 19-22 port 23 to 30 switch 31, 33, 35, 37 transmission unit 32, 34, 36, 38 evaluation unit 40, 41, 42, 43 Bus 44 Second port register 45-48 Port of second port register 49, 51, 53, 55 Peripheral device evaluation unit 50, 52, 54, 56 Peripheral device transmission unit 57 Interface measurement unit

Claims (14)

複数の機種のコンピュータと複数の機種の周辺機器をそれぞれ組み合わせて接続する際、不具合なくその接続が可能かどうかを検査する自動検査装置であって、
検査を行う前記複数の機種のコンピュータのうちの1台と前記複数の機種の周辺機器の1台の組み合わせを設定し前記コンピュータより周辺機器へ送信する検査用制御データを設定することにより接続データを形成し、前記接続データを出力する検査部と、
前記複数の機種のコンピュータと前記周辺機器の機種との間にインタフェースケーブルで接続され、前記検査部の接続データにより指示されたコンピュータと周辺機器のインタフェースケーブルを接続する切り替え部と、
前記検査部の接続データにより指示された周辺機器とコンピュータの電源を入れる制御部と
を備え、
前記検査部は、前記制御部によりコンピュータの電源が入れられると、前記接続データのコンピュータに検査用制御データを送信して、前記切り替え部により接続されたコンピュータと周辺機器の間でデータ送受信させ、送受信データの評価結果をコンピュータから受信して、接続されたコンピュータと周辺機器の接続の良否を確認する構成としたこと
を特徴とする自動検査装置。
An automatic inspection device that inspects whether or not connection is possible without problems when connecting multiple types of computers and multiple types of peripheral devices in combination,
Connection data is set by setting a combination of one of the plurality of types of computers to be inspected and one of the plurality of types of peripheral devices, and setting control data for inspection transmitted from the computer to the peripheral devices. Forming and outputting the connection data;
A switching unit that is connected by an interface cable between the plurality of computer models and the peripheral device model, and connects the computer and the peripheral device interface cable specified by the connection data of the inspection unit;
A peripheral unit instructed by the connection data of the inspection unit and a control unit for turning on the computer,
When the computer is turned on by the control unit, the inspection unit transmits control data for inspection to the computer of the connection data, and transmits / receives data between the computer connected to the switching unit and peripheral devices, An automatic inspection apparatus configured to receive a transmission / reception data evaluation result from a computer and to confirm whether the connected computer and peripheral devices are connected or not.
前記周辺機器に、前記制御部の指令信号により電源が入ると、この電源が入ったことを示す電源ステータスを前記検査部に送信する周辺機器送信部を備え、
前記検査部は、前記電源ステータスを受信すると、前記制御部に指示して接続データにより選択されたコンピュータの電源を入れること
を特徴とする請求項1に記載の自動検査装置。
When the peripheral device is turned on by a command signal from the control unit, the peripheral device includes a peripheral device transmission unit that transmits a power status indicating that the power is turned on to the inspection unit,
The automatic inspection apparatus according to claim 1, wherein when the power supply status is received, the inspection unit instructs the control unit to turn on a computer selected by connection data.
前記検査部は、前記電源ステータスを一定時間経過しても受信しない場合、再び前記制御部に指示して周辺機器の電源を入れること
を特徴とする請求項2に記載の自動検査装置。
The automatic inspection apparatus according to claim 2, wherein the inspection unit instructs the control unit again to turn on the peripheral device when the power supply status is not received even after a predetermined time has elapsed.
前記周辺機器に、周辺機器の異常を監視し、異常を検出するとその異常ステータスを前記検査部に送信する監視手段を備え、
前記検査部は、前記異常ステータスを受信すると、前記制御部に指示して前回の接続データによる再検査を実行すること
を特徴とする請求項1〜請求項3のいずれか1項に記載の自動検査装置。
The peripheral device includes monitoring means for monitoring the abnormality of the peripheral device and transmitting the abnormality status to the inspection unit when the abnormality is detected,
The automatic inspection according to any one of claims 1 to 3, wherein when the inspection unit receives the abnormal status, the inspection unit instructs the control unit to perform a re-inspection based on previous connection data. Inspection device.
前記検査部は、前記コンピュータから受信した評価結果が不良のとき、前記制御部に指示して前記周辺機器を再起動させて再検査を実行すること
を特徴とする請求項1〜請求項3のいずれか1項に記載の自動検査装置。
4. The inspection unit according to claim 1, wherein when the evaluation result received from the computer is defective, the inspection unit instructs the control unit to restart the peripheral device and perform re-inspection. The automatic inspection apparatus of any one of Claims.
前記検査部は、前記再起動した回数を数え、一定回数以下であるとき再び起動し、一定回数を超えた場合、次の組み合わせの接続データよる検査を実行すること
を特徴とする請求項5に記載の自動検査装置。
6. The inspection unit according to claim 5, wherein the inspection unit counts the number of restarts and restarts when the number of restarts is less than a predetermined number of times. The automatic inspection device described.
前記検査部は、前記コンピュータから受信した評価結果の不良の回数によって機能異常なのか動作タイミング異常なのかを判別すること
を特徴とする請求項6に記載の自動検査装置。
The automatic inspection apparatus according to claim 6, wherein the inspection unit determines whether the function is abnormal or the operation timing is abnormal based on the number of defective evaluation results received from the computer.
前記制御部は、前記切り替え部により接続されたコンピュータと周辺機器との間のインタフェース信号を観測し、その観測データを前記検査部に送信し、
前記検査部は、前記観測データを受信するとこれを解析して、接続されたコンピュータと周辺機器の接続の良否を確認すること
を特徴とする請求項1〜請求項7のいずれか1項に記載の自動検査装置。
The control unit observes an interface signal between the computer and peripheral devices connected by the switching unit, and transmits the observation data to the inspection unit,
8. The inspection unit according to any one of claims 1 to 7, wherein when the observation data is received, the inspection unit analyzes the observation data to check whether the connected computer and the peripheral device are connected or not. Automatic inspection equipment.
複数の機種のコンピュータと複数の機種の周辺機器をそれぞれ組み合わせて接続する際、不具合なくその接続が可能かどうかを検査する自動検査方法であって、
検査するコンピュータと周辺機器の番号と制御データを連続入力し、接続データを生成する第1ステップと、
前記生成された接続データから接続するコンピュータと周辺機器のインタフェースを接続する第2ステップと、
接続する周辺機器の電源を入れる第3ステップと、
前記周辺機器の電源が入ると、接続するコンピュータの電源を入れる第4ステップと、
前記コンピュータの電源が入ったことが通知されると、前記接続データの制御データを接続したコンピュータへ送信する第5ステップと、
前記制御データを受信すると、この制御データにしたがってコンピュータと周辺機器との間でデータ送受信を実行し、その評価結果を送信する第6ステップと、
前記制御データを送信したコンピュータから評価結果が受信するまで待ち、受信した評価結果を判定する第7ステップと
を順に実行することを特徴とする自動検査方法。
An automatic inspection method for inspecting whether or not connection is possible without problems when connecting multiple types of computers and multiple types of peripheral devices in combination.
A first step of continuously inputting computer and peripheral device numbers and control data to be inspected to generate connection data;
A second step of connecting a computer and a peripheral device interface connected from the generated connection data;
A third step of turning on the peripherals to be connected;
A fourth step of turning on the computer to be connected when the peripheral device is turned on;
When notified that the computer is turned on, a fifth step of transmitting control data of the connection data to the connected computer;
When the control data is received, a sixth step of performing data transmission / reception between the computer and the peripheral device according to the control data and transmitting the evaluation result;
An automatic inspection method comprising waiting until an evaluation result is received from a computer that has transmitted the control data, and sequentially executing a seventh step of determining the received evaluation result.
前記第3ステップと第4ステップとの間に、前記周辺機器の電源が入ると、周辺機器の電源が入ったことを通知するステップを追加し、この周辺機器の電源が入ったことが通知されると前記第4ステップを実行し、
前記第4ステップと第5ステップとの間に、前記コンピュータの電源が入ると、コンピュータの電源が入ったことを通知するステップを追加し、このコンピュータの電源が入ったことが通知されると前記第5ステップを実行すること
を特徴とする請求項9に記載の自動検査方法。
Between the third step and the fourth step, when the peripheral device is turned on, a step of notifying that the peripheral device is turned on is added, and it is notified that the peripheral device is turned on. Then, the fourth step is executed,
When the computer is turned on, a step of notifying that the computer is turned on is added between the fourth step and the fifth step. The automatic inspection method according to claim 9, wherein the fifth step is executed.
前記周辺機器の異常を監視し、異常が発生するとその異常を通知するステップと、
前記周辺機器より異常通知を受信すると、第2ステップへ戻り、前回の接続データによる再検査を開始するステップを付加したこと
を特徴とする請求項9または請求項10に記載の自動検査方法。
Monitoring the abnormality of the peripheral device, and notifying the abnormality when the abnormality occurs;
11. The automatic inspection method according to claim 9, further comprising a step of returning to the second step when the abnormality notification is received from the peripheral device and starting a re-inspection based on the previous connection data.
前記受信した評価結果が不良と判定すると、再度第3ステップへ戻り、前記周辺機器の再起動を開始するステップを付加したこと
を特徴とする請求項9または請求項10に記載の自動検査方法。
11. The automatic inspection method according to claim 9, further comprising a step of returning to the third step and starting restart of the peripheral device when the received evaluation result is determined to be defective.
前記再起動の回数をカウントし、一定回数を超えると、第2ステップへ戻り、次の組み合わせの接続データによる検査を開始するステップ
を付加したことを特徴とする請求項12に記載の自動検査方法。
13. The automatic inspection method according to claim 12, further comprising the step of counting the number of restarts and returning to the second step when the predetermined number of times is exceeded, and starting an inspection based on connection data of the next combination. .
接続されたコンピュータと周辺機器との間のインタフェース信号を観測し、その観測データを送信するステップと、
前記観測データを受信するとこれを解析して、接続されたコンピュータと周辺機器の接続の良否を確認するステップ
を付加したことを特徴とする請求項9〜請求項13のいずれか1項に記載の自動検査方法。
Observing an interface signal between the connected computer and the peripheral device and transmitting the observation data;
14. The method according to claim 9, further comprising: a step of analyzing the observation data when received and confirming whether the connection between the connected computer and the peripheral device is good or not. Automatic inspection method.
JP2004008579A 2004-01-16 2004-01-16 Automatic inspection apparatus and automatic inspection method Pending JP2005202705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004008579A JP2005202705A (en) 2004-01-16 2004-01-16 Automatic inspection apparatus and automatic inspection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004008579A JP2005202705A (en) 2004-01-16 2004-01-16 Automatic inspection apparatus and automatic inspection method

Publications (1)

Publication Number Publication Date
JP2005202705A true JP2005202705A (en) 2005-07-28

Family

ID=34821859

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004008579A Pending JP2005202705A (en) 2004-01-16 2004-01-16 Automatic inspection apparatus and automatic inspection method

Country Status (1)

Country Link
JP (1) JP2005202705A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005250531A (en) * 2004-03-01 2005-09-15 Hitachi Ltd Method and system for inspection of computer unit
JP2007249761A (en) * 2006-03-17 2007-09-27 Fujitsu Ltd Computer device, activation control method and activation control program
JP2007323648A (en) * 2006-05-30 2007-12-13 Beijing Feitian Technologies Co Ltd Device and method for operating usb interface equipment
JP2015166957A (en) * 2014-03-04 2015-09-24 日本電気株式会社 Information processing apparatus, hardware test control method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005250531A (en) * 2004-03-01 2005-09-15 Hitachi Ltd Method and system for inspection of computer unit
JP2007249761A (en) * 2006-03-17 2007-09-27 Fujitsu Ltd Computer device, activation control method and activation control program
JP4746455B2 (en) * 2006-03-17 2011-08-10 富士通株式会社 Computer apparatus, start control method, and start control program
JP2007323648A (en) * 2006-05-30 2007-12-13 Beijing Feitian Technologies Co Ltd Device and method for operating usb interface equipment
JP2015166957A (en) * 2014-03-04 2015-09-24 日本電気株式会社 Information processing apparatus, hardware test control method, and program

Similar Documents

Publication Publication Date Title
US10929260B2 (en) Traffic capture and debugging tools for identifying root causes of device failure during automated testing
US8423829B2 (en) Failure analysis apparatus, method
TWI759719B (en) Flash memory controller and method used in flash memory controller
US20210173010A1 (en) Diagnostic tool for traffic capture with known signature database
CN102622188B (en) Signal conditioning package and control method
CN109710479B (en) Processing method, first device and second device
JP2005202705A (en) Automatic inspection apparatus and automatic inspection method
US8015448B2 (en) System and method for conducting BIST operations
US8732531B2 (en) Information processing apparatus, method of controlling information processing apparatus, and control program
CN101739336A (en) Debugging system, debugging method and debugging control program
CN117608883A (en) Method and system for detecting computer system start-up fault in prototype verification
JP6580279B2 (en) Test apparatus, test method and test program
CN103645866B (en) Control device and image forming system
US20080068036A1 (en) Semiconductor test system capable of virtual test and semiconductor test method thereof
JP5286814B2 (en) Semiconductor device, portable electronic device, self-diagnosis method, self-diagnosis program
JP2009223714A (en) Arithmetic circuit and failure analysis method of arithmetic circuit
US20200382655A1 (en) Image forming apparatus equipped with sata system, control method therefor, and storage medium
CN101311909A (en) System peculiarity diagnose method
US20190332506A1 (en) Controller and function testing method
CN113711209A (en) Electronic control device
JP2008134838A (en) Bus device
JP2009123108A (en) Information processor
JP3953467B2 (en) System for detecting and reporting defects in chips
JP2006277133A (en) Semiconductor integrated circuit and memory data checking method
JP2006293725A (en) Debugger for lsi system