JPH0425578B2 - - Google Patents

Info

Publication number
JPH0425578B2
JPH0425578B2 JP58040975A JP4097583A JPH0425578B2 JP H0425578 B2 JPH0425578 B2 JP H0425578B2 JP 58040975 A JP58040975 A JP 58040975A JP 4097583 A JP4097583 A JP 4097583A JP H0425578 B2 JPH0425578 B2 JP H0425578B2
Authority
JP
Japan
Prior art keywords
data
check
checking
section
items
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP58040975A
Other languages
Japanese (ja)
Other versions
JPS59167768A (en
Inventor
Tadashi Fukunaga
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 JP58040975A priority Critical patent/JPS59167768A/en
Publication of JPS59167768A publication Critical patent/JPS59167768A/en
Publication of JPH0425578B2 publication Critical patent/JPH0425578B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Input From Keyboards Or The Like (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

(a) 発明の技術分野 この発明はデータ処理システムにおけるデータ
のチエツク方式に関し、詳細には端末側とセンタ
側でそれぞれデータのチエツクする範囲を明確に
することにより、チエツク抜け、二重チエツクな
どを防止することのできるチエツク方式に係る。 (b) 技術の背景 データ処理システムが取り扱うデータ量の増
加・データの多様化に伴なつて、ホスト計算機の
負荷が増大するが、これに対処すべく端末装置に
データ処理機能をもたせた所謂インテリ型の端末
装置が普及しつつある。すなわち、端末装置にプ
ログラム機能をもたせることにより、端末側にて
データの演算・編集などを行ない、もつてホスト
計算機の負荷を軽減する。 一方、受注情報を端末装置にて入力し、ホスト
計算機に転送する場合を考えると、受注データの
うち品名、コード名、個数、単価などの各項目は
ある定義によつて入力しなければならない。例え
ば品名は英字・数字の混在を許すが、コード名は
英字のみ、個数・単価は数字のみで表現するよう
に定義され、各項目の桁数も定義され、あるいは
品名、コード名、個数についてはオペレータ入力
を必須とするが単価は選択入力可能とするなどで
ある。これら各項目の定義チエツクも従来はホス
ト計算機で行なつていたが、前記インテリ型の端
末装置の出現によつてデータチエツク機能につい
ても端末側とホスト側で分散することが考えられ
る。 (c) 従来技術とその問題点 このようにデータのチエツク機能を端末側とホ
スト側で分散して行なうことを考えたとき、その
担当範囲を明確にしないと、データチエツクが行
なわれなかつたり、あるいは端末側でもチエツク
し更にホスト側でもチエツクする所謂ダブルチエ
ツクの弊害が生じる。 (d) 発明の目的 この発明は転送データの各項目のうち、端末側
でチエツクする項目と、ホスト側でチエツクする
項目を明確にし、もつて、チエツク抜け、ダブル
チエツクを防止することのできるデータチエツク
方式を提供するものである。 (e) 発明の構成 そのために、本発明は端末側、ホスト側のデー
タ処理装置それぞれにデータチエツク部とチエツ
ク担当記憶部を設け、一方のチエツク担当記憶部
には自身がチエツクする項目を記憶させ、他方の
チエツク担当記憶部には前記項目以外の項目を記
憶させ、各データチエツク部はそれぞれのチエツ
ク担当記憶部に記憶された項目のみをチエツクす
るものである。 (f) 発明の実施例 以下、図面に沿つて本発明によるデータチエツ
ク方式を説明する。 図において、10は端末側のデータ処理装置、
例えばインテリ型端末装置、20はホスト側のデ
ータ処理装置、例えばホストコンピユータ、1
1,21は送受信制御部、12,22は送信バツ
フア、13,23は受信バツフア、14,24は
チエツク判定部、15,25はデータチエツク
部、16,26は送信データに関するチエツク担
当記憶部、17,27は受信データに関するチエ
ツク担当記憶部、30は回線を示す。 両送受信制御11,21間に接続された回線3
0によつて、データ処理装置10及び11は関連
づけられており、一方のデータ処理装置から他方
のデータ処理装置へデータを転送する。送信バツ
フア12,22は送信すべきデータを一時的に記
憶するものであり、受信バツフア13,23は受
信したデータを一時的に記憶するものである。こ
れら各バツフア12,22,13,23はその記
憶容量が複数の項目より構成され1つのレコード
を記憶できる容量に設定される。バツフア12,
13の記憶内容はチエツク判定部14に、バツフ
ア22,23の記憶内容はチエツク判定部24に
転送される。チエツク判定部14,24は送信デ
ータのチエツク担当記憶部16,26あるいは受
信データのチエツク担当記憶部17,27の記憶
内容にもとづいてデータチエツク部15,25を
制御する。各データチエツク部15,25はチエ
ツク判定部14,24を介して転送された、送信
データあるいは受信データの各内容についてチエ
ツクを行なうものであり、項目の有無をチエツク
するAチエツク部、項目の桁数をチエツクするB
チエツク部、形式をチエツクするCチエツク部よ
りなる。データチエツク部15,25にはチエツ
ク担当記憶部16,17および26,27より各
項目を定義した定義情報が供給される。 端末側のデータ処理装置におけるチエツク担当
記憶部16は送信データを構成する複数の項目の
うち端末側のデータ処理装置自身がチエツクする
項目を記憶している。一方ホスト側のデータ処理
装置における受信データのチエツク担当記憶部2
7は端末側から送信された受信データを構成する
複数の項目のうち前記端末側のチエツク担当記憶
部16に記憶された項目以外の項目がホスト側で
データチエツクする範囲として記憶している。 同様にして、ホスト側のチエツク担当記憶部2
6はホスト側から端末側へデータを転送する場合
に、ホスト側でチエツクの対象とする項目を記憶
し、端末側のチエツク担当記憶部17は送信され
てきた受信データに関して端末側でチエツクの対
象となる項目を記憶する。 表1及び表2を参照して、チエツク担当記憶部
16,27の記憶内容を更に詳細に説明する。端
末側のデータ処理装置10におけるチエツク担当
記憶部16は表1に示すように、1つのレコード
を構成する4個の項目毎に3個のチエツク内容と
それぞれに対応してフラグを有する。フラグがセ
ツトすなわち論理“1”に設定されている項はそ
のデータチエツクを端末側で行なうことを意味
し、フラグがリセツトすなわち論理“0”に設定
されている項はそのデータチエツクを端末側のデ
ータ処理装置では無視することを意味している。
尚、チエツク内容Aはその項目がレコードとして
必須な項目かどうかを定義しており、したがつ
て、これはデータチエツク部15におけるAチエ
ツク部に相当し、チエツク内容Bは同様にしてB
チエツク部に相当し、そしてチエツク内容CはC
チエツク部に相当する。フラグがセツトされてい
る項はその定義情報も併せて記憶しており、前述
の如く、データチエツク部15に送付される。 ホスト側のデータ処理装置におけるチエツク担
当記憶部27は表2に示すように、表1において
フラグがセツトされた項を除く全ての項のフラグ
がセツトされている。同様にしてフラグがセツト
された項にのみその項の定義情報が記憶されてお
り、前述の如く、データチエツク部25に送付さ
れる。端末側におけるチエツク担当記憶部17お
よびホスト側におけるチエツク担当記憶部26の
記憶内容については詳細な説明を省略するが、記
憶部16,27と同じように考えてよい。
(a) Technical Field of the Invention The present invention relates to a data checking method in a data processing system. Specifically, by clarifying the range of data to be checked on the terminal side and the center side, it is possible to avoid missing checks, double checks, etc. It concerns a check method that can prevent this. (b) Background of the technology As the amount of data handled by data processing systems increases and the data becomes more diverse, the load on host computers increases. type terminal devices are becoming popular. That is, by providing a terminal device with a program function, data calculations, editing, etc. can be performed on the terminal side, thereby reducing the load on the host computer. On the other hand, when order information is input on a terminal device and transferred to a host computer, each item of the order data, such as product name, code name, quantity, and unit price, must be entered according to certain definitions. For example, a product name may contain a mixture of letters and numbers, but a code name is defined to be expressed only by letters, a quantity/unit price is defined to be expressed only by numbers, the number of digits for each item is also defined, or a product name, code name, and quantity are For example, operator input is required, but unit price can be selectively input. Conventionally, the definition check for each of these items was performed by the host computer, but with the advent of the above-mentioned intelligent terminal devices, it is conceivable that the data check function will also be distributed between the terminal side and the host side. (c) Prior art and its problems When considering distributing the data checking function between the terminal side and the host side, if the scope of responsibility is not made clear, the data checking may not be performed. Alternatively, a so-called double check problem occurs in which the terminal side checks and then the host side checks as well. (d) Purpose of the invention This invention clarifies which items to check on the terminal side and the items to check on the host side among each item of transferred data, thereby preventing missing checks and double checks. This provides a check method. (e) Structure of the Invention For this purpose, the present invention provides a data checking unit and a checking storage unit in each of the data processing devices on the terminal side and the host side, and one of the checking storage units stores the items to be checked by itself. , the other checking storage section stores items other than the above-mentioned items, and each data checking section checks only the items stored in its respective checking storage section. (f) Embodiments of the Invention A data check system according to the present invention will be described below with reference to the drawings. In the figure, 10 is a data processing device on the terminal side;
For example, an intelligent terminal device 20 is a data processing device on the host side, such as a host computer, 1
1 and 21 are transmission and reception control units; 12 and 22 are transmission buffers; 13 and 23 are reception buffers; 14 and 24 are check determination units; 15 and 25 are data check units; 16 and 26 are storage units in charge of checking transmission data; Reference numerals 17 and 27 indicate storage units in charge of checking received data, and 30 indicates a line. Line 3 connected between both transmission and reception controls 11 and 21
By 0, data processing devices 10 and 11 are associated and data is transferred from one data processing device to the other. The transmission buffers 12 and 22 temporarily store data to be transmitted, and the reception buffers 13 and 23 temporarily store received data. The storage capacity of each of these buffers 12, 22, 13, and 23 is set to a capacity that can store one record made up of a plurality of items. Batsuhua 12,
The storage contents of buffers 22 and 23 are transferred to the check determination section 14, and the storage contents of buffers 22 and 23 are transferred to the check determination section 24. The check determining sections 14, 24 control the data checking sections 15, 25 based on the stored contents of the storage sections 16, 26 in charge of checking the transmitted data or the storage sections 17, 27 in charge of checking the received data. Each data check section 15, 25 checks each content of the transmitted data or received data transferred via the check determination section 14, 24, and includes an A check section that checks the presence or absence of an item, and an A check section that checks the presence or absence of an item. Check the number B
It consists of a check section and a C-check section that checks the format. Data checking units 15 and 25 are supplied with definition information defining each item from checking storage units 16 and 17 and 26 and 27, respectively. A checking storage unit 16 in the data processing device on the terminal side stores items to be checked by the data processing device on the terminal side among a plurality of items constituting the transmission data. On the other hand, a storage unit 2 in charge of checking received data in a data processing device on the host side
Reference numeral 7 stores items other than the items stored in the checking storage section 16 of the terminal side among a plurality of items constituting the received data transmitted from the terminal side as a range for data checking on the host side. Similarly, the storage unit 2 in charge of checking on the host side
6 stores items to be checked on the host side when data is transferred from the host side to the terminal side, and a storage unit 17 in charge of checking on the terminal side stores items to be checked on the terminal side regarding received data that has been transmitted. Memorize the items that become . With reference to Tables 1 and 2, the storage contents of the check storage units 16 and 27 will be explained in more detail. As shown in Table 1, the checking storage unit 16 in the data processing device 10 on the terminal side has three check contents and flags corresponding to each of the four items constituting one record. An item whose flag is set to logic ``1'' means that the data check is performed on the terminal side, and an item whose flag is reset or set to logic ``0'' means that the data check is performed on the terminal side. This means that it is ignored by the data processing device.
Note that check content A defines whether the item is an essential item for a record, and therefore corresponds to the A check part in the data check section 15, and check content B similarly corresponds to B.
Corresponds to the check part, and the check content C is C
Corresponds to the check section. Items for which flags are set also have their definition information stored, and are sent to the data check section 15 as described above. As shown in Table 2, in the checking storage unit 27 in the data processing device on the host side, flags are set for all items in Table 1 except for the items for which flags are set. Similarly, definition information for only the items for which flags have been set is stored, and is sent to the data check section 25 as described above. A detailed explanation of the storage contents of the check storage section 17 on the terminal side and the check storage section 26 on the host side will be omitted, but they may be considered in the same way as the storage sections 16 and 27.

【表】【table】

【表】 次に端末側よりホスト側にデータを転送する場
合の動作を説明する。 先ず、送信バツフア12に1レコード分の送信
データが記憶されると、チエツク判定部14は項
目1のデータをバツフア12より読み出し、かつ
チエツク担当記憶部16を参照する。これによつ
て、項目1についてはチエツク内容A、Bの項が
フラグをセツトされているので、チエツク判定部
14は記憶部16に対してその定義情報(この場
合は“可”及び“6”)をデータチエツク部15
に転送するように指示するとともに、データチエ
ツク部15に対してAチエツク部及びBチエツク
部が働くように指示する。この結果、項目1に対
してはチエツク内容A及びBが行なわれる。チエ
ツクの結果定義を満足するデータであればデータ
チエツク部15は送受信制御部11に対して送信
可の信号を送り、満足しない場合は送信不可の信
号を送付する。1つの項目に対するチエツクが終
了すると、次の項目がバツフア12より読み出さ
れ同様にしてチエツクが行なわれる。尚ある項目
について端末側で何らのチエツクを行なわない場
合すなわちチエツク内容A、B、Cのフラグが全
てリセツトされているときはチエツク判定部14
はデータチエツク部15を作動することなく、直
接送受信制御部11に対して送信可の信号を送
る。 ホスト側では端末側より送信されてきたデータ
は受信バツフア23に記憶される。チエツク判定
部24は項目1をバツフア23より読み出し、か
つチエツク担当記憶部27を参照する。この結果
項目1については項目形式のみをチエツクすれば
よいことがわかるので、チエツク判定部24は記
憶部27に対して定義情報(この場合は“数字”)
をデータチエツク部25に対して送出するように
指示し、データチエツク部25に対してはCチエ
ツク部のみ働くように指示する。これによつて、
データチエツク部25は項目1に対して項目形式
すなわち、項目1のデータに数字以外のデータが
入つていないかどうかをチエツクする。 今までの説明は端末側よりホスト側にデータを
転送することについて説明したが、ホスト側より
端末側にデータを転送する場合についても同様に
考えられる。 尚、各データ処理装置10,11において、送
信用のチエツク担当記憶部16,26と受信用の
チエツク担当記憶部17,27を別々に設けたが
この記憶部を各データ処理装置にそれぞれ1個と
し、送信と受信にこの1つの記憶部を兼用しても
よい。反対にまた、データチエツク部15,25
は送信、受信に兼用としたが、それぞれ独立して
設けてもよい。 (g) 発明の効果 以上説明したように、本発明によれば端末側、
ホスト側でそれぞれチエツクを担当すべき範囲を
規定した記憶部を設け、この記憶内容にもとづい
てデータチエツク部がチエツクを行なうものであ
るから、データのチエツク抜け、ダブルチエツク
などを防止することができ、正確なデータ処理を
行なうことが可能となる。
[Table] Next, the operation when transferring data from the terminal side to the host side will be explained. First, when transmission data for one record is stored in the transmission buffer 12, the check determination section 14 reads out the data of item 1 from the buffer 12 and refers to the storage section 16 in charge of checking. As a result, for item 1, the flags are set for the check contents A and B, so the check determination section 14 stores the definition information (in this case, "OK" and "6") in the storage section 16. ) to the data check section 15
It also instructs the data check section 15 to operate the A check section and B check section. As a result, check contents A and B are performed for item 1. If the data satisfies the check result definition, the data check section 15 sends a signal indicating that transmission is possible to the transmission/reception control section 11, and if the data does not satisfy the definition, it sends a signal indicating that transmission is not possible. When the check for one item is completed, the next item is read out from the buffer 12 and checked in the same manner. In addition, when no check is performed on the terminal side for a certain item, that is, when the flags of check contents A, B, and C are all reset, the check determination unit 14
directly sends a transmission enable signal to the transmission/reception control section 11 without activating the data check section 15. On the host side, data transmitted from the terminal side is stored in the reception buffer 23. The check determining unit 24 reads item 1 from the buffer 23 and refers to the checking storage unit 27. As a result, it can be seen that only the item format needs to be checked for item 1, so the check determination section 24 sends the definition information (in this case "number") to the storage section 27.
It instructs the data check section 25 to send the C check section, and instructs the data check section 25 to operate only the C check section. By this,
The data check unit 25 checks the item format of item 1, that is, whether or not the data of item 1 contains data other than numbers. The explanation so far has been about transferring data from the terminal side to the host side, but the same can be considered for transferring data from the host side to the terminal side. Note that each data processing device 10, 11 is provided with separate check storage units 16, 26 for transmission and check storage units 17, 27 for reception, but each data processing device has one storage unit. This one storage unit may also be used for both transmission and reception. On the contrary, the data check sections 15, 25
are used for both transmission and reception, but they may be provided independently. (g) Effects of the invention As explained above, according to the present invention, the terminal side,
Since the host side has a memory section that defines the range to be checked, and the data check section performs the check based on the stored contents, it is possible to prevent data from being checked or double-checked. , it becomes possible to perform accurate data processing.

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

図面は本発明によるデータ処理システムの主要
部を示すブロツクダイヤグラムである。 図中、10は端末側のデータ処理装置、11は
ホスト側のデータ処理装置、12,22は送信バ
ツフア、13,23は受信バツフア、14,24
はチエツク判定部、15,25はデータチエツク
部、16,17,26,27はチエツク担当記憶
部である。
The drawing is a block diagram showing the main parts of a data processing system according to the present invention. In the figure, 10 is a data processing device on the terminal side, 11 is a data processing device on the host side, 12 and 22 are transmission buffers, 13 and 23 are reception buffers, and 14 and 24 are
15 and 25 are data check units, and 16, 17, 26, and 27 are check storage units.

Claims (1)

【特許請求の範囲】[Claims] 1 第1のデータ処理装置10と第2のデータ処
理装置20との間において、複数の項目よりなる
データの転送を行なうデータ処理システムにおい
て、一方のデータ処理装置10は送信データをチ
エツクするデータチエツク部15と送信データの
複数の項目の自身がチエツクする項目を記憶した
チエツク担当記憶部16を有し、かつ、他方のデ
ータ処理装置20は受信データをチエツクするデ
ータチエツク部25と、受信した複数の項目のう
ち送信側でチエツクされた項目以外の項目を記憶
したチエツク担当記憶部27を有し、各データチ
エツク部15,25はそれぞれのチエツク担当記
憶部16,27に記憶された項目のみをチエツク
することを特徴としたデータチエツク方式。
1 In a data processing system that transfers data consisting of a plurality of items between a first data processing device 10 and a second data processing device 20, one data processing device 10 has a data check function that checks transmitted data. The other data processing device 20 has a data checking section 25 that checks received data, and a checking storage section 16 that stores items to be checked by itself among a plurality of items of transmitted data. The data checking section 15, 25 has a checking storage section 27 that stores items other than those checked on the sending side among the items, and each data checking section 15, 25 only stores the items stored in the respective checking storage sections 16, 27. A data check method characterized by checking.
JP58040975A 1983-03-11 1983-03-11 Data checking system Granted JPS59167768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58040975A JPS59167768A (en) 1983-03-11 1983-03-11 Data checking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58040975A JPS59167768A (en) 1983-03-11 1983-03-11 Data checking system

Publications (2)

Publication Number Publication Date
JPS59167768A JPS59167768A (en) 1984-09-21
JPH0425578B2 true JPH0425578B2 (en) 1992-05-01

Family

ID=12595441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58040975A Granted JPS59167768A (en) 1983-03-11 1983-03-11 Data checking system

Country Status (1)

Country Link
JP (1) JPS59167768A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4864492A (en) * 1986-09-17 1989-09-05 International Business Machines Corporation System and method for network configuration

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56172128U (en) * 1980-05-21 1981-12-19
JPS5719832A (en) * 1980-07-07 1982-02-02 Tamura Electric Works Ltd General data input device

Also Published As

Publication number Publication date
JPS59167768A (en) 1984-09-21

Similar Documents

Publication Publication Date Title
US6295564B1 (en) Storage medium having electronic circuit and computer system having the storage medium
GB1119421A (en) Data processing system
US8429314B2 (en) FIFO system and operating method thereof
GB1316807A (en) Data processing system input-output
JPH0425578B2 (en)
JPS59133638A (en) Terminal output system
JPS58103043A (en) Stack forming method
JP2884943B2 (en) Address arbitration circuit
JPH0342777B2 (en)
JP2687679B2 (en) Program development equipment
JPH01108629A (en) System for managing decentralized arrangement of picture
JPH05120207A (en) Data transfer method
KR950001929B1 (en) Relay control device of multi-stage transmission / reception data and its method
JP3458383B2 (en) Bus connection method
JP2980163B2 (en) Data transfer method
JPS61269545A (en) Computer system
JPH0212448A (en) Composite electronic computer system
JPH04127227A (en) memory control system
JPS6048774B2 (en) Data file management method
JPS60245338A (en) Data processing system
JPS63249292A (en) Transaction processor
GB2271652A (en) Efficient computer system processing operations
JPS5831437A (en) Data receiver
JPS6373345A (en) File transfer system
JPH02103655A (en) Request buffer control system