JPH04100338A - Check system for transmission data - Google Patents

Check system for transmission data

Info

Publication number
JPH04100338A
JPH04100338A JP21781990A JP21781990A JPH04100338A JP H04100338 A JPH04100338 A JP H04100338A JP 21781990 A JP21781990 A JP 21781990A JP 21781990 A JP21781990 A JP 21781990A JP H04100338 A JPH04100338 A JP H04100338A
Authority
JP
Japan
Prior art keywords
data
transmission
record
transmitted
memory
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
JP21781990A
Other languages
Japanese (ja)
Inventor
Kazuo Ozawa
小澤 和男
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP21781990A priority Critical patent/JPH04100338A/en
Publication of JPH04100338A publication Critical patent/JPH04100338A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To find out a transmission error by inputting a same nonreproducible data to a head record and a final record of a transmission data and comparing the head record and the final record at reception so as to confirm the coincidence. CONSTITUTION:When a data generating command is outputted from a reception means 20 to a transmission means 10, a host computer 1 latches a non- reproducible data such as a current date and extracts a designated data from a main memory 9 and writes it to a work memory 11. In this case, the non- reproducibility is written in the head record and the final record and a data transmission command is sent from the reception means 20 to activate a serial loop controller 3 and to send a data and the non-reproducible data written in the head record and the final record are compared at the reception means 20 and when they are dissident, it is discriminated to be a transmission error. Thus, when a fault takes place on the way of the transmission and a data of a prescribed number of items is not sent, the transmission error is found out.

Description

【発明の詳細な説明】 〔概要〕 電子機器間のデータ伝送におけるチェックシステムに関
し、 伝送途中で障害が発生して所定の件数のデータが伝送さ
れていないときに伝送エラーを発見することができる伝
送データのチェックシステムを提供することを目的とし
、 電子機器間のデータ伝送において、伝送データの先頭レ
コードと最終レコードに同一の非再出現性データを付加
して送信する送信手段と、先頭レコードと最終レコード
に付加された上記非再出現性データが同一であるか否か
をチェックする受信手段とを備えた構成とした。
[Detailed Description of the Invention] [Summary] Regarding a check system for data transmission between electronic devices, a transmission error can be detected when a predetermined number of data is not transmitted due to a failure occurring during transmission. The purpose of the present invention is to provide a data checking system, and to provide a transmission means for transmitting data by adding the same non-recurrence data to the first and last records of transmitted data in data transmission between electronic devices. and receiving means for checking whether the non-reappearance data added to the records are the same.

〔産業上の利用分野〕[Industrial application field]

この発明は電子機器間のデータ伝送におけるチェックシ
ステムに関し、特に、プリント配線板の部品搭載に必要
なデータを伝送する場合の伝送データのチェックシステ
ムに関するものである。
The present invention relates to a checking system for data transmission between electronic devices, and particularly to a checking system for transmitted data when transmitting data necessary for mounting components on a printed wiring board.

〔従来技術〕[Prior art]

プリント配線板に部品を搭載する際に使用する搭載袋W
(マウンタ)には、設計過程で決められた部品の種類、
位置、方向等のデータが必要とされる。この部品搭H装
置の持つべきデータは、例えば、ホストコンピュータの
メインメモリに収納された多数のデータの中の必要な部
分を回線を使用してデータ伝送することがなされている
Mounting bag W used when mounting components on printed wiring boards
(Mounter) includes the type of parts determined during the design process,
Data such as position and direction are required. The data to be held by this component mounting device is, for example, a necessary portion of a large amount of data stored in the main memory of a host computer, which is transmitted using a line.

第3図は、ホストコンピュータから部品搭載装置にデー
タ伝送するためのネットを示す概念図である。メインメ
モリ9を備えたホストコンピュータ1と、ループ状に直
列に結ばれた複数の各部品搭載袋22 (各搭載装置を
区別するため図面上a。
FIG. 3 is a conceptual diagram showing a network for transmitting data from a host computer to a component mounting device. A host computer 1 equipped with a main memory 9 and a plurality of component mounting bags 22 connected in series in a loop shape (indicated by a in the drawing to distinguish each mounting device).

b・・・のサフィックスを付している)のネットを伝送
制御するシリアルループコントローラ3によって送信手
段10を構成する。
A transmitting means 10 is constituted by a serial loop controller 3 that controls transmission of the nets (with suffixes ``b...'').

上記、各部品搭載装置2側には、ホストコンビエータ1
よりのデータを受信制御するMPU4(各MPUを区別
するため図面上a、b・・・のサフィックスを付してい
る)。ホストコンピュータ1より伝送されてきたデータ
を収納するメモリ5(各メモリを区別するため図面上a
、b・・・のサフィックスを付している)を備えて受信
手段20を構成する。
Above, on the side of each component mounting device 2, there is a host combinator 1.
MPU 4 (in order to distinguish each MPU, suffixes a, b, etc. are given in the drawing). Memory 5 that stores data transmitted from the host computer 1 (indicated by a in the drawing to distinguish each memory)
, b, . . . ) are included in the receiving means 20.

第4図は上記構成のネットにおけゐデータ伝送手順を示
すフロー図である。受信手段10側の操作ボードからの
データ作成指示(第4図、511)に基づいてホストコ
ンピュータ1のメインメモリ9から要求されたデータを
読み出し、該データをホストコンピュータ1に付随する
ワークメモリ11に一旦書き込む(第4図、Fil)。
FIG. 4 is a flow diagram showing the data transmission procedure in the network configured as described above. Based on the data creation instruction (FIG. 4, 511) from the operation board on the receiving means 10 side, the requested data is read from the main memory 9 of the host computer 1, and the data is stored in the work memory 11 attached to the host computer 1. Write it once (FIG. 4, FIL).

ここで部品搭載装置2に適合したデータに変換するとと
もに、後に説明する伝送エラーチェックのために、デー
タの先頭レコードに総件数を書き込んだり、あるいは各
データに通番を付す等のデータ加工がなされる(第4図
、F12)。このようなデータ作成作業が完了すると、
受信手段20にその旨通知しく第4図、F1a)、受信
手段20からの伝送指示(第4図、512)をもってシ
リアルループコントローラ3を介して受信手段20にデ
ータ伝送がなされ、受信側のメモリ5に収納される。
Here, in addition to converting the data into data compatible with the component mounting device 2, data processing is performed such as writing the total number of items in the first record of the data or assigning a serial number to each piece of data in order to check for transmission errors, which will be explained later. (Figure 4, F12). Once this data creation work is completed,
In order to notify the receiving means 20 of this, data is transmitted to the receiving means 20 via the serial loop controller 3 in response to a transmission instruction from the receiving means 20 (FIG. 4, 512), and the data is stored in the memory of the receiving side. It is stored in 5.

このようにして伝送されるデータを受ける受信手段20
では、受は取ったデータが正しいデータか否かをチェッ
クする必要がある。そこで、先頭レコードに総件数が付
されている場合には、該総件数と実際に受は取ったデー
タ数を比較して伝送エラーがあったかどうかを確認する
。あるいは各データに通番が付されている場合には、該
通番にに抜けがないことを確認することによって、受は
取ったデータが正しいか否かのチェックを行う(第4図
、F14→F15)。
Receiving means 20 for receiving data transmitted in this manner
Now, the receiver needs to check whether the received data is correct or not. Therefore, if a total number is attached to the first record, the total number is compared with the number of data actually received to check whether there is a transmission error. Alternatively, if a serial number is attached to each data, the receiver checks whether the received data is correct by confirming that there are no omissions in the serial number (Fig. 4, F14 → F15 ).

また、伝送エラーチェックの方法として上記の他に更に
、送信時に総件数を先頭レコードに付すとともに、各デ
ータに通番を付しておいて、受信時に上記総件数と通番
の両方をチェックする方法もある。
In addition to the above method for checking transmission errors, there is also a method of adding the total number of items to the first record at the time of transmission, adding a serial number to each data, and checking both the total number of items and the serial number when receiving the data. be.

更に、同じデータ群を2回受信し、受は取った2つのデ
ータ群を比較して双方が同じであれば伝送エラーがなか
った確率が高いことになり、双方を比較して異なってい
る場合には誤っている確率が高いとする、いわゆる2通
伝送方式によるチェックがなされることがある。
Furthermore, if the same data group is received twice, the receiver compares the two data groups and if they are the same, there is a high probability that there was no transmission error. In some cases, a check is performed using a so-called two-transmission method, which has a high probability of being incorrect.

伝送データのチェックは上記のように回線を介してのデ
ータ伝送の場合だけでなく、ファイル渡しによるデータ
伝送においてもなされる。第5図はマルチジョブO8下
でのファイル渡しによるデータ伝送の概念図である。ホ
ストコンピュータ1は複数種の仕事が可能であり、その
仕事に必要な、あるいはその仕事の結果のデータがメイ
ンメモリ9に収納されている。下位の仕事(例えばプリ
ンタ6)よりデータ伝送要求があったとき、メインメモ
リ9から一旦中間メモリ8に要求されたデータを書き込
んで、ここでプリンタ6に適合するデータに加工されて
プリンタ6に渡される。ホストコンピュータ1は中間メ
モリ8にデータを渡した後は他の仕事要求に沿った動作
をし、プリンタ6に専有されることはない。
Transmission data is checked not only when transmitting data via a line as described above, but also when transmitting data by passing files. FIG. 5 is a conceptual diagram of data transmission by file passing under multi-job O8. The host computer 1 is capable of performing multiple types of work, and the main memory 9 stores data necessary for the work or the results of the work. When a data transmission request is received from a lower-level job (for example, the printer 6), the requested data is written from the main memory 9 to the intermediate memory 8, where it is processed into data suitable for the printer 6, and then passed to the printer 6. It will be done. After the host computer 1 passes the data to the intermediate memory 8, it operates according to other work requirements and is not monopolized by the printer 6.

このようなファイル渡しによるデータ伝送においても、
ホストコンピュータ1の側(フォーグランドという)か
ら、中間メモリ8あるいは中間メモリ8からプリンタ6
の側(バックグラウンドという)に正しくデータが伝送
されたか否かをチェックするためには、上記のようなチ
ェック方法が用いられる。
Even in data transmission by passing files like this,
From the host computer 1 side (referred to as foreground) to the intermediate memory 8 or from the intermediate memory 8 to the printer 6
In order to check whether data has been correctly transmitted to the background side (referred to as background), the above-mentioned checking method is used.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

第4図に示す例において上記通番をチェックする場合に
は、あるデータ伝送のとき受信手段20のメモリ5に、
例えば10件のデータが伝送されて記憶されている状態
であって、次のデータ伝送において全8件のデータが伝
送される途中で何等かの障害が発生して3件のみが受信
された場合を想定する。この場合メモリ5内では新しく
伝送されてきたデータの通番と前回から残っているデー
タの通番との間に連続性が保たれているので、通番をチ
ェックする方法では伝送エラーは発見されない。
In the example shown in FIG. 4, when checking the serial number, the memory 5 of the receiving means 20 at the time of a certain data transmission,
For example, if 10 items of data have been transmitted and stored, but in the next data transmission, some kind of failure occurs while all 8 items of data are being transmitted, and only 3 items are received. Assume that In this case, within the memory 5, continuity is maintained between the serial number of newly transmitted data and the serial number of data remaining from the previous time, so no transmission error will be discovered by the method of checking the serial numbers.

また、総件数をチェックする方法あるいは総件数のチェ
ックと通番のチェックを併用した方法において、前回に
伝送されたデータが10件であって、しかも新たに伝送
されるべき全データも10件のとき、何等かの障害の発
生によって3件迄のデータが受信された場合も、送信エ
ラーの発見は不可能である。
Also, in the method of checking the total number or the method of checking the total number and checking the serial number, if the data transmitted last time was 10, and the total data to be transmitted is also 10, Even if up to three pieces of data are received due to the occurrence of some kind of failure, it is impossible to discover a transmission error.

このような場合において、伝送を受ける側か上記のよう
に部品搭載装W、2である場合、本来ある1つの基板に
ついての搭載データを得るべきことろ、上記前回から残
っている4件目以降のデータは目的とする基板のデータ
でないことになり不都合である。また、上記2通伝送方
式による伝送エラーチェックの方法は、伝送エラーを発
見できる確率は高いが、時間がかかる欠点がある。
In such a case, if the side receiving the transmission is the component mounting system W, 2 as described above, it is necessary to obtain the mounting data for one board, but the 4th item remaining from the previous time and onwards should be obtained. This data is inconvenient because it is not the data of the target board. Furthermore, although the transmission error checking method using the two-transmission method described above has a high probability of detecting transmission errors, it has the disadvantage that it takes time.

この発明は上記従来の事情に鑑みて提案されたものであ
って、伝送途中で障害が発生して所定の件数のデータが
伝送されていないときに伝送エラーを発見することがで
きる伝送データのチェックシステムを提供することを目
的とするものである。
This invention has been proposed in view of the above-mentioned conventional circumstances, and is a check of transmitted data that can detect transmission errors when a predetermined number of data is not transmitted due to a failure occurring during transmission. The purpose is to provide a system.

〔課題を解決するための手段〕[Means to solve the problem]

この発明は上記目的を達成するために以下の手段を採用
している。すなわち、電子機器間のデータ伝送において
、伝送データDsの先頭レコードRtと最終レコードR
bに同一の非再出現性データDpを付加して送信する送
信手段10と、先頭レコードRtと最終レコードRbに
付加された上記非再出現性データDpが同一であるか否
かをチェックする受信手段20とを備えたものである。
This invention employs the following means to achieve the above object. That is, in data transmission between electronic devices, the first record Rt and the last record R of the transmission data Ds
a transmitting means 10 that adds the same non-reoccurring data Dp to b and transmits the same; and a receiving device that checks whether the non-reoccurring data Dp added to the first record Rt and the last record Rb are the same. It is equipped with means 20.

〔作用〕[Effect]

上記構成により先頭レコードRtと最終レコードRbに
書込まれた非再現性データDpは、受信手段20で比較
され、一致していない場合には伝送エラーとされる。
The non-reproducible data Dp written in the first record Rt and the last record Rb with the above configuration are compared by the receiving means 20, and if they do not match, a transmission error is determined.

〔実施例〕〔Example〕

第1図はこの発明の原理を示す概念図であり、第2図は
この発明の一実施例を示すフロー図である。装置構成自
体は第3図に示した従来の構成と変わりないが、以下の
ように動作手順が異なってくる。
FIG. 1 is a conceptual diagram showing the principle of the invention, and FIG. 2 is a flow diagram showing an embodiment of the invention. Although the device configuration itself is the same as the conventional configuration shown in FIG. 3, the operating procedure is different as follows.

受信手段20の操作ボードから送信手段10にデータ作
成指示が出されると(第2図、Sl)、ホストコンピュ
ータ1はまず内蔵する所定のレジスタ12に非再出現性
データ、例えば現在の日付を保持した後、指定されたデ
ータをメインメモリ10より抽出してワークメモリ11
に書き込んでおく (第2図、F1→F2)。
When a data creation instruction is issued to the transmitting means 10 from the operation board of the receiving means 20 (FIG. 2, Sl), the host computer 1 first stores non-reoccurring data, such as the current date, in a predetermined built-in register 12. After that, the specified data is extracted from the main memory 10 and stored in the work memory 11.
(Figure 2, F1 → F2).

このようにしてワークメモリ11に書き込まれたデータ
は、受信手段20のMPU4に対応するように加工され
、データ作成が終わると、作成終了が受信手段20に通
知される(第2図、F3−F4) この作成終了を待って受信手段20の操作ボードからデ
ータ伝送指示を出しく第2図、S2)、シリアルループ
コントローラ3を作動させ、データ伝送を閉始する(第
2図、F5)。このとき、上記レジスタ12に保持され
た日付がまず読み出され、次に、ワークメモリ11から
のデータが読み出され、最後に再び上記レジスタ12に
保持された日付が読み出されて順次受信手段20側に伝
送される。これによって第1図に示す伝送データDsが
形成されることになる。尚、上記データ抽出、加工(F
2→F4)のステップで抽出したデータをワークメモリ
11に書き込む際に、先頭レコードRtと最終レコード
Rbに上記非再出現性データDpを書き込んでおき、伝
送の際には該ワークメモリ11の内容を順次読み出すよ
うにしてもよい。
The data written in the work memory 11 in this way is processed to correspond to the MPU 4 of the receiving means 20, and when the data creation is completed, the receiving means 20 is notified of the completion of the creation (FIG. 2, F3- F4) Waiting for the completion of this creation, issue a data transmission instruction from the operation board of the receiving means 20 (FIG. 2, S2), activate the serial loop controller 3, and start data transmission (FIG. 2, F5). At this time, the date held in the register 12 is first read out, then the data from the work memory 11 is read out, and finally the date held in the register 12 is read out again in order. It is transmitted to the 20 side. As a result, the transmission data Ds shown in FIG. 1 is formed. In addition, the above data extraction and processing (F
When writing the data extracted in step 2→F4) to the work memory 11, the non-reappearance data Dp is written to the first record Rt and the last record Rb, and the contents of the work memory 11 are written at the time of transmission. may be read out sequentially.

受信手段20側では、まず最初に伝送される先頭レコー
ドRtの内容である非再出現性データ(日付データ)D
pを図示しないレジスタ等に保持しておき、部品に関す
るデータは別の大容量のメモリ5に収納する。そして、
最終レコードRbが伝送されてきたときに上記のように
レジスタに保持された最初の非再出現性データDpと該
最終の非再出現性データDpを比較する(第1図、F6
、F7、F8)。
On the receiving means 20 side, first, non-reoccurrence data (date data) D, which is the content of the first record Rt that is transmitted.
p is held in a register or the like (not shown), and data regarding the parts is stored in another large-capacity memory 5. and,
The first non-reoccurring data Dp held in the register as described above when the final record Rb was transmitted is compared with the final non-reoccurring data Dp (FIG. 1, F6
, F7, F8).

この比較によって両データが一致するときには、伝送エ
ラーはなかったと判定し、両データが一致しないときは
伝送エラーが発生していることと判定することができる
When both data match as a result of this comparison, it can be determined that no transmission error has occurred, and when both data do not match, it can be determined that a transmission error has occurred.

以上回線を用いたデータ伝送についてのみ説明したが、
この発明はマルチジョブO8下のファイル渡しによるデ
ータ伝送にも適用することができる。
I have only explained data transmission using lines above, but
This invention can also be applied to data transmission by file passing under multi-job O8.

〔発明の効果〕〔Effect of the invention〕

以上説明したようにこの発明は、伝送データの先頭レコ
ードと最終レコードに同じ非再出現性データを入れるよ
うにし、受信時に該先頭レコードと最終レコードを比較
して一致を確認するようにしているので、伝送途中で障
害が発生して所定の件数のデータが伝送されなかったと
きに伝送エラーを発見することができる。
As explained above, in this invention, the same non-reoccurring data is included in the first record and the last record of the transmission data, and the first record and the last record are compared at the time of reception to confirm a match. A transmission error can be detected when a predetermined number of data items are not transmitted due to a failure occurring during transmission.

【図面の簡単な説明】[Brief explanation of drawings]

第1図はこの発明の原理説明図、第2図はこの発明の一
実施例フロー図、第3図はこの発明が適用される伝送シ
ステムの1例概念図、第4図は従来フロー図、第5図は
ファイル渡しデータ伝送概念図である。 図中、 Ds・・・伝送データ、 Rt・・・先頭レコード、 Rh・・・最終レコード、 Dp・・・非再出現性データ、 10・・・送信手段、 20・・・受信手段。 Δ Δ
FIG. 1 is a diagram explaining the principle of this invention, FIG. 2 is a flow diagram of an embodiment of the invention, FIG. 3 is a conceptual diagram of an example of a transmission system to which this invention is applied, and FIG. 4 is a conventional flow diagram. FIG. 5 is a conceptual diagram of file-passing data transmission. In the figure, Ds...transmission data, Rt...first record, Rh...last record, Dp...non-reappearance data, 10...transmission means, 20...reception means. Δ Δ

Claims (1)

【特許請求の範囲】 〔1〕電子機器間のデータ伝送において、 伝送データ(Ds)の先頭レコード(Rt)と最終レコ
ード(Rb)に同一の非再出現性データ(Dp)を付加
して送信する送信手段(10)と、先頭レコード(Rt
)と最終レコード(Rb)に付加された上記非再出現性
データ(Dp)が同一であるか否かをチェックする受信
手段(20)とを備えた伝送データのチェックシステム
[Claims] [1] In data transmission between electronic devices, the same non-recurrence data (Dp) is added to the first record (Rt) and the last record (Rb) of the transmission data (Ds) and then transmitted. a transmitting means (10) for transmitting data, and a first record (Rt
) and a receiving means (20) for checking whether or not the non-reoccurring data (Dp) added to the final record (Rb) are the same.
JP21781990A 1990-08-17 1990-08-17 Check system for transmission data Pending JPH04100338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21781990A JPH04100338A (en) 1990-08-17 1990-08-17 Check system for transmission data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21781990A JPH04100338A (en) 1990-08-17 1990-08-17 Check system for transmission data

Publications (1)

Publication Number Publication Date
JPH04100338A true JPH04100338A (en) 1992-04-02

Family

ID=16710242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21781990A Pending JPH04100338A (en) 1990-08-17 1990-08-17 Check system for transmission data

Country Status (1)

Country Link
JP (1) JPH04100338A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6829739B1 (en) * 2000-08-10 2004-12-07 Siemens Information And Communication Networks, Inc. Apparatus and method for data buffering

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6829739B1 (en) * 2000-08-10 2004-12-07 Siemens Information And Communication Networks, Inc. Apparatus and method for data buffering

Similar Documents

Publication Publication Date Title
CN1693921B (en) Robust for detecting physical system model
GB2073459A (en) Information storing method by use of past record
CN105446856B (en) The detection method of electronic equipment interfaces, device
US5500797A (en) Device for making use of information related to the breakdown detected by one or more central units of an aircraft
CN1635480A (en) MAC address burning method
JPH0546435A (en) Method and device for automatic test
JPH04100338A (en) Check system for transmission data
US20070171150A1 (en) Burning apparatus
US4254464A (en) Common data buffer system
JP3986898B2 (en) Memory simulated fault injection device
JP2613297B2 (en) Test method of printed circuit board
US5146458A (en) Data transfer checking system
JPS58191021A (en) Fault detecting system of interface
JP2857479B2 (en) Electronic equipment for bus interface inspection
CN101149418A (en) Display integrated circuit error detection device and its method
JP2006338425A (en) Controller
JP3326546B2 (en) Computer system failure detection method
EP0725343B1 (en) Error prevention in computer systems
JPH079636B2 (en) Bus diagnostic device
JPH04194672A (en) Apparatus for detecting erroneous connection of printed circuit board
JPH08153017A (en) Port connection recognizing method
JPS6161427B2 (en)
Tsiang et al. Automatic trouble diagnosis of complex logic circuits
JPS61815A (en) Faulty area detecting device of sequence circuit
JPH10302010A (en) Checking device for editing data