JPH0363740A - Data transfer system - Google Patents

Data transfer system

Info

Publication number
JPH0363740A
JPH0363740A JP19988589A JP19988589A JPH0363740A JP H0363740 A JPH0363740 A JP H0363740A JP 19988589 A JP19988589 A JP 19988589A JP 19988589 A JP19988589 A JP 19988589A JP H0363740 A JPH0363740 A JP H0363740A
Authority
JP
Japan
Prior art keywords
data
memory
memories
selector
external information
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.)
Ceased
Application number
JP19988589A
Other languages
Japanese (ja)
Inventor
Yoshikazu Nakanishi
中西 芳和
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 JP19988589A priority Critical patent/JPH0363740A/en
Publication of JPH0363740A publication Critical patent/JPH0363740A/en
Ceased legal-status Critical Current

Links

Abstract

PURPOSE:To make data transfer operation follow up write operation from an I/O part and to reduce operation by a software at an irreducible minimum by monitoring information, which are written from the I/O part, and the idle area of a memory, switching the memory and holding external information data. CONSTITUTION:Plural memories 5-1 and 5-2, a selector 3 to select the memories 5-1 and 5-2 and a transfer control circuit 4 to control the switch of the selector 3 are provided. The data write states, etc., of the memories 5-1 and 5-2 are monitored by the transfer control circuit 4 and it is detected that the external information data are written into all memory spaces. Then, the selector 3 is controlled, an access memory is switched and the external information data are successively written into the memories 5-1 and 5-2 and held. Thus, it is not necessary to rewrite the data stored in the memories 5-1 and 5-2 and the processing by the software is reduced at the irreducible minimum. The data can be efficiently held at high speed.

Description

【発明の詳細な説明】 〔目次〕 概要 産業上の利用分野 従来の技術(第3図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作用 実施例(第2図) 発明の効果 〔概要〕 データ転送方式に関し、 メモリに格納されているデータの書き換えを無くし、ソ
フトウェアによる処理を最少限にして、データの保持を
効率良く、且つ高速で実現できるようにすると共に、高
信頼性をも達成できるようにすることを目的とし、 送られてきた外部情報データを絶えず更新してメモリに
保持するデータ転送方式において、複数個のメモリと、
メモリを選択するセレクタと、セレクタの切り換えを制
御する転送制御回路とを設け、転送制御回路により、メ
モリのデータ書き込み状態等を監視し、全メモリ空間に
外部情報ブタが書き込まれたことを検出して、セレクタ
を制御し、アクセスメモリを切り換えることにより、順
次、メモリへ外部情報データを書き込んで保持するよう
に構成する。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figure 3) Means for solving the problems to be solved by the invention (Figure 1) Working examples (Figure 2) ) Effects of the invention [Summary] Regarding the data transfer method, the present invention eliminates the need to rewrite data stored in memory, minimizes processing by software, and realizes data retention efficiently and at high speed. With the aim of achieving high reliability, the data transfer method uses multiple memories and
A selector that selects the memory and a transfer control circuit that controls switching of the selector are provided, and the transfer control circuit monitors the data writing state of the memory and detects that an external information block has been written to the entire memory space. By controlling the selector and switching the access memory, external information data is sequentially written into the memory and held.

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

本発明はデータ転送方式に関し、 更に詳しくいえば、送られてきた外部情報データを絶え
ず更新して保持する計測システムなどに利用され、特に
、外部情報データの保持を、高速でかつ効率良く実行で
きるようにしたデータ転送方式に関する。
The present invention relates to a data transfer method, and more specifically, the present invention is used in a measurement system that constantly updates and retains sent external information data, and in particular, it is capable of storing external information data at high speed and efficiently. The present invention relates to a data transfer method.

〔従来の技術] 近年、計測処理装置の高速化、高信頼化が課題となって
いる。
[Prior Art] In recent years, increasing the speed and reliability of measurement processing devices has become an issue.

このため、送られてきた外部情報データを絶えず更新し
て保持する計測システムにおいては、ある時間的変化等
を知るために、更新前のデータを保持する必要がある。
Therefore, in a measurement system that constantly updates and retains sent external information data, it is necessary to retain data before updating in order to know certain temporal changes.

現在では、前記のようなデータ保持をソフトウェアで補
っているため、効率が悪く、これを高速化する必要があ
る。
Currently, data retention as described above is supplemented by software, which is inefficient and needs to be made faster.

第3図は、従来のデータ転送方式のブロック図であり、
1はCPU (中央処理装置)、2はT10部(入出力
部)、6はバス、7は一時格納用メモリ、8はデータ転
送用メモリを示す。
FIG. 3 is a block diagram of a conventional data transfer method.
1 is a CPU (central processing unit), 2 is a T10 unit (input/output unit), 6 is a bus, 7 is a temporary storage memory, and 8 is a data transfer memory.

110部2に入力する外部情報データ(例えばセンサか
らの計測データ)は、CPU 1によりバス6を介して
一時格納用メモリ7に格納する。
External information data (for example, measurement data from a sensor) input to the 110 section 2 is stored in the temporary storage memory 7 via the bus 6 by the CPU 1.

これを、例えば一定時間毎に繰返してデータを絶えず更
新する場合は、先ず、先に一時格納用メモリ7に格納さ
れているデータを、CPU 1によりデータ転送用メモ
9日へ書き換えて保持し、その後、110部2へ人力し
た外部情報データを一時格納用メモリ7へ格納する。
If this is to be repeated, for example, at regular intervals to constantly update the data, first, the CPU 1 rewrites the data stored in the temporary storage memory 7 into a data transfer memo for the 9th day and holds it. Thereafter, the external information data manually entered into the 110 section 2 is stored in the temporary storage memory 7.

即ち、外部情報データを、−時格納用メモリ7へ次々と
書き込んだ場合には、前のデータは消滅してしまう。
That is, if external information data is written one after another into the -time storage memory 7, the previous data will disappear.

このため、−時格納用メモリ7に格納されているデータ
を、データ転送用メモリ8へ書き換えて保持した後に、
新しいデータを一時格納用メモリ7へ格納する必要があ
る。
Therefore, after the data stored in the - hour storage memory 7 is rewritten and held in the data transfer memory 8,
It is necessary to store new data in the temporary storage memory 7.

この場合、外部情報データの一時格納用メモリ7への書
き込みサイクル時間をTl、−時格納用メモリ7からデ
ータ転送用メモリ8へのデータ転送サイクル時間をT2
とすると、T2≦T1の関係(T2はT1と同速度また
は、T2はT1より高速)がなければならない。
In this case, the write cycle time of external information data to the temporary storage memory 7 is Tl, and the data transfer cycle time from the storage memory 7 to the data transfer memory 8 is T2.
Then, there must be a relationship of T2≦T1 (T2 is the same speed as T1, or T2 is faster than T1).

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

上記のような従来のものにおいては次のような欠点があ
った。
The above-mentioned conventional devices had the following drawbacks.

(1)従来のデータ転送方式では、−時格納用メモリか
らデータ転送用メモリへのデータの書き換えを行う必要
があり、しかもこの書き換えは、ソフトウェアによる処
理で行っていた。
(1) In the conventional data transfer method, it is necessary to rewrite data from the -time storage memory to the data transfer memory, and this rewriting is performed by software processing.

このため、バス使用権の調停時間等、余計な時間を費や
していた。
For this reason, extra time was wasted for arbitration of bus usage rights.

(2)−時格納用メモリへの書き込みサイクル時間Tl
と、−時格納用メモリからデータ転送用メモリへのデー
タ転送サイクル時間Tlとの間にはT?≦T1なる関係
が必要である。
(2) - Write cycle time Tl to time storage memory
and the data transfer cycle time Tl from the -time storage memory to the data transfer memory. A relationship of ≦T1 is required.

従って、必然的に外部情報データの書き込み速度が、ソ
フトウェアのスピードに制約を受ける。
Therefore, the writing speed of external information data is inevitably limited by the speed of the software.

本発明は、このような従来の欠点を解消し、メモリに格
納されているデータの書き換えを無<シ、ソフトウェア
による処理を最少限にして、データの保持を効率良く、
かつ高速で実現できるようにすると共に、高信頼性をも
達成できるようにすることを目的とする。
The present invention eliminates these conventional drawbacks, eliminates the need to rewrite data stored in memory, minimizes software processing, and efficiently retains data.
The purpose is to make it possible to realize this at high speed and also to achieve high reliability.

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

第1図は本発明の原理図であり、以下、この図に基づい
て本発明の詳細な説明する。
FIG. 1 is a diagram showing the principle of the present invention, and the present invention will be explained in detail below based on this diagram.

図において、■はcpu (中央処理装置)、2は11
0部(人出力部)、3はセレクタ、4は転送制御回路、
5−1.5−2はメモリ、6はバスを示す。
In the figure, ■ is CPU (central processing unit), 2 is 11
Part 0 (human output part), 3 is the selector, 4 is the transfer control circuit,
5-1 and 5-2 are memories, and 6 is a bus.

本発明は、110部2に入力する外部情報ブタの保持を
行うために、複数個のメモリS−t、5−2を設けると
共に、これらのメモリの内、いずれか1つのメモリを選
択するセレクタ3と、このセレクタの切り替え制御をす
る転送制御回路4とを設けたものである。
The present invention provides a plurality of memories S-t, 5-2 in order to hold the external information input to the 110 section 2, and a selector for selecting any one of these memories. 3 and a transfer control circuit 4 that controls switching of this selector.

転送制御回路4は、バス6の状態を監視することにより
、メモリの書き込み状態を監視し、セレクタ3に対して
切り換え信号を送出すると共に、メモリ5−1.5−2
に対するデータの書き込み制御、読み出し制御を行うも
のである。
The transfer control circuit 4 monitors the writing state of the memory by monitoring the state of the bus 6, sends a switching signal to the selector 3, and also sends a switching signal to the memory 5-1, 5-2.
It performs data write control and read control for the data.

今、セレクタ3が図示実線のように接続されてメモリ5
−1がアクセスメモリとして選択されているとする。
Now, selector 3 is connected as shown in the solid line and memory 5 is connected as shown in the solid line.
-1 is selected as the access memory.

この状態で110部2に入力した外部情報データは、メ
モリ5−1に書き込まれて保持される。
The external information data input to the 110 section 2 in this state is written to the memory 5-1 and held there.

この時、転送制御回路4でメぞり5−1への書き込み状
態の監視を行い、全データの書き込み終了を検出すると
、セレクタ3へ切り換え信号を送出して図示点線位置へ
切り換える。
At this time, the transfer control circuit 4 monitors the state of writing to the blank 5-1, and when it detects that all data has been written, it sends a switching signal to the selector 3 to switch to the position shown in the dotted line.

この切り換えにより、メモリ5−1は切り離され、メモ
リ5−2がセレクトされてアクセスメモリとなる。
By this switching, the memory 5-1 is disconnected and the memory 5-2 is selected and becomes the access memory.

この状態で次の外部情報データは、メモリ52へ書き込
まれて保持される。メモリ5−2へのデータ書き込みが
終了すると、転送制御回路4は再びセレクタへ切り換え
信号を送出し、メモリ5−2を切り離してメモリ5−1
をセレクトする。
In this state, the next external information data is written to the memory 52 and held. When data writing to the memory 5-2 is completed, the transfer control circuit 4 sends a switching signal to the selector again, disconnects the memory 5-2, and switches the memory 5-1 to the memory 5-1.
Select.

このように、複数のメモリを順次切り換えて外部情報デ
ータの書き込みを行う。また保持されているデータの読
み出し時にも、メモリを選択して任意に読み出しが可能
である。
In this way, external information data is written by sequentially switching between a plurality of memories. Also, when reading the stored data, it is possible to select the memory and read the data as desired.

〔作用〕[Effect]

本発明は上記のように、110部からの書き込み情報、
及びメモリ空き領域を監視し、メモリを切り換えること
により外部情報データの保持を行っている。
As described above, the present invention includes writing information from the 110th copy,
The external information data is maintained by monitoring the memory space and switching the memory.

従って、データ転送動作が110部からの書き込み動作
に追従する形となり、ソフトウェアによる操作を最少限
に減らすことができる。
Therefore, the data transfer operation follows the write operation from part 110, and the number of software operations can be reduced to a minimum.

すなわち、外部情報データを所定の時間毎に取り込んで
絶えず更新して保持するような場合、転送制御回路によ
りアクセスメモリを切り換えて書き込むので、従来のよ
うなメモリ間でのデータの書き換えが不要であり、デー
タ保持用の転送動作の効率を良くし、高速化を実現でき
る。
In other words, when external information data is fetched at predetermined intervals and constantly updated and stored, the transfer control circuit switches the access memory and writes it, so there is no need to rewrite data between memories as in the past. , it is possible to improve the efficiency of transfer operations for data retention and achieve faster speeds.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて説明する。 Embodiments of the present invention will be described below based on the drawings.

第2図は、本発明の1実施例のブロック図であり、第1
図と同符号は同一のものを示す。
FIG. 2 is a block diagram of one embodiment of the present invention.
The same reference numerals as in the figure indicate the same parts.

この例では、メモリ5−1.5−2.5−3の3個のメ
モリ(例えば半導体メモリ)を用い、セレクタ3により
順次切り換えてデータの書き込み、保持を行う。
In this example, three memories (for example, semiconductor memories), ie, memories 5-1, 5-2, and 5-3, are used and are sequentially switched by the selector 3 to write and hold data.

また、これらのメモリへのデータライト、データリード
は、ソフトウェアによらず、転送制御回路4からの制御
信号で行うものである。
Further, data writing and data reading to these memories is performed by control signals from the transfer control circuit 4, without using software.

転送MjH回路4は、バス6の状態を監視しており、所
定のタイミングで転送制御回路4からブタ書き込み信号
Wlを送出する。
The transfer MjH circuit 4 monitors the state of the bus 6, and sends out the pig write signal Wl from the transfer control circuit 4 at a predetermined timing.

この時、セレクタ3により、メモリ5−1がセレクトさ
れていると、110部2からの外部情報データはWl信
号により、メモリ5−1へ書き込まれて保持される。
At this time, if the memory 5-1 is selected by the selector 3, the external information data from the 110 section 2 is written to the memory 5-1 and held by the Wl signal.

また、転送制御回路4では、メモリ5−1のメモリ領域
を監視し、全領域にデータの書き込みが終了すると、セ
レクタ3を切り換えてメモリ52をセレクトする。
Further, the transfer control circuit 4 monitors the memory area of the memory 5-1, and when data has been written to the entire area, switches the selector 3 to select the memory 52.

この状態で書き込み信号W2を送出すると、110部2
からの外部情報データは、メモリ5−2に書き込まれて
保持される。メモリ5−2の全領域にデータの書き込み
が終了すると、セレクタ3を切り換えてメモリ5−3を
セレクトし、書き込み信号W3によってメモリ5−3に
外部情報デ夕を書き込み、保持を行う。
When the write signal W2 is sent in this state, 110 copies 2
The external information data from is written to and held in the memory 5-2. When data has been written to the entire area of the memory 5-2, the selector 3 is switched to select the memory 5-3, and the external information data is written and held in the memory 5-3 by the write signal W3.

続いてメモリ5−3へのデータ書き込みが終了すると、
再びメモリ5−1がセレクトされ、以後、上記のように
して順次メモリ5−2.5−3と書き込みを行う。この
ようにして、3種類までのデータ保持が可能となる。
Subsequently, when data writing to the memory 5-3 is completed,
The memory 5-1 is selected again, and thereafter, data is sequentially written to the memories 5-2, 5-3, and the like as described above. In this way, it is possible to hold up to three types of data.

また、CPUIが保持されているデータの読み出しを行
う時は、転送制御回路4から出される信号により、セレ
クタ3でデータの選択を行い、リード信号をメモリに送
出してデータを読み出す。
Furthermore, when the CPUI reads data held by the CPU, the data is selected by the selector 3 in response to a signal output from the transfer control circuit 4, and a read signal is sent to the memory to read the data.

読み出されたデータはバス6に出力されるから、このデ
ータを取り込めばよい。
Since the read data is output to the bus 6, it is sufficient to capture this data.

なお、上記実施例においては、3個のメモリを使用して
、3種類のデータ保持ができる例について説明したが、
本発明は、このような例に限らず、例えば4個、5個、
あるいはそれ以上のメモリを使用して、順次切り換え、
データの保持をすることも可能である。
In the above embodiment, an example was explained in which three types of data can be held using three memories.
The present invention is not limited to such examples, but for example, four, five,
Or use more memory to switch sequentially,
It is also possible to retain data.

また、メモリへのリード又はライトを、転送制御回路か
らの信号により行う例について説明したが、これは、C
PtJにより実行してもよい。
In addition, an example was explained in which reading or writing to the memory is performed using a signal from the transfer control circuit, but this
It may also be executed by PtJ.

転送制御回路でリードまたはライトを行うと、CPUの
負荷が軽くなるため、その分CPUが他の作業等を実行
できると共に、これらの処理はソフトウェアによらない
ため、処理の高速化ができる。
When the transfer control circuit performs read or write, the load on the CPU is lightened, allowing the CPU to perform other tasks, and since these processes do not depend on software, the processing speed can be increased.

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

以上説明したように、本発明によれば次のような効果が
ある。
As explained above, the present invention has the following effects.

(1)複数個のメモリを順次切り換えて外部情報データ
の保持をするので、従来のように、メモリ間でデータの
書き換えをする必要がなく、その分データ保持を効率良
く、しかも高速で実現できる。
(1) Since external information data is retained by sequentially switching multiple memories, there is no need to rewrite data between memories as in the past, and data retention can be achieved efficiently and at high speed. .

(2)メモリを切り換えて、順次新しいデータを書き込
むようにしたので、前のデータを消すことがなく、計測
処理装置等において信頼性の向上が可能となる。
(2) Since the memory is switched and new data is sequentially written, the previous data is not erased, making it possible to improve the reliability of the measurement processing device and the like.

(3)転送制御回路でメモリのライト信号、リード信号
を作成したり、メモリの領域監視をしたりしても、これ
らはソフトウェアによる制御ではないから、処理の高速
化が計れると共に、CPUの負担も軽減できる。
(3) Even if the transfer control circuit creates memory write and read signals and monitors the memory area, these are not controlled by software, so processing speed can be increased and the burden on the CPU is reduced. can also be reduced.

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

第1図は本発明に係るデータ転送方式の原理図、第2図
は本発明の1実施例のブロック図、第3図は従来例のブ
ロック図である。 i−c p U (中央処理装置) 2−I10部(入出力部) 3−セレクタ 4−転送制御部 5−1.5−2−メモリ 6−バス
FIG. 1 is a principle diagram of a data transfer system according to the present invention, FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is a block diagram of a conventional example. i-c p U (central processing unit) 2-I10 section (input/output section) 3-selector 4-transfer control section 5-1.5-2-memory 6-bus

Claims (1)

【特許請求の範囲】 送られてきた外部情報データを絶えず更新してメモリに
保持するデータ転送方式において、複数個のメモリ(5
−1、5−2)と、 前記メモリを選択するセレクタ(3)と、 前記セレクタの切り換えを制御する転送制御回路(4)
とを設け、 前記転送制御回路により、メモリのデータ書き込み状態
等を監視し、 全メモリ空間に外部情報データが書き込まれたことを検
出して、上記セレクタを制御し、アクセスメモリを切り
換えることにより、順次、メモリへ外部情報データを書
き込んで保持することを特徴とするデータ転送方式。
[Claims] In a data transfer method in which sent external information data is constantly updated and held in memory, a plurality of memories (5
-1, 5-2), a selector (3) that selects the memory, and a transfer control circuit (4) that controls switching of the selector.
The transfer control circuit monitors the data write state of the memory, detects that external information data has been written to the entire memory space, controls the selector, and switches the access memory. A data transfer method characterized by sequentially writing and retaining external information data in memory.
JP19988589A 1989-08-01 1989-08-01 Data transfer system Ceased JPH0363740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19988589A JPH0363740A (en) 1989-08-01 1989-08-01 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19988589A JPH0363740A (en) 1989-08-01 1989-08-01 Data transfer system

Publications (1)

Publication Number Publication Date
JPH0363740A true JPH0363740A (en) 1991-03-19

Family

ID=16415227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19988589A Ceased JPH0363740A (en) 1989-08-01 1989-08-01 Data transfer system

Country Status (1)

Country Link
JP (1) JPH0363740A (en)

Similar Documents

Publication Publication Date Title
JPH05173932A (en) Data transfer device
JPS63175287A (en) Storage device
JPH06103460B2 (en) Program transfer method
JP3028932B2 (en) Input/Output Buffer Memory Circuit
EP0787326B1 (en) System and method for processing of memory data and communication system comprising such system
JP3699003B2 (en) Data processing apparatus and method
JPS592058B2 (en) Storage device
JP2002341908A (en) controller
JPH06103026A (en) Memory system
KR100827130B1 (en) Multiple Register Interface Unit for Code Division Multiple Access Modem
JP2581144B2 (en) Bus control device
JPH0261749A (en) Data transfer device
JPH06214939A (en) DMA controller
JPH01263850A (en) Memory space extending system
JPH02105385A (en) memory device
JPS63503101A (en) data storage and transfer equipment
JPH04205518A (en) Disk device control system
JPH05210615A (en) Dma device
JPH0553906A (en) Register access method
JPH0693232B2 (en) Cache memory
JPS6488853A (en) Memory mechanism for high speed arithmetic unit
JPH05204847A (en) Data transfer controller
JPH06274416A (en) Cache memory device
JPS5856123B2 (en) Sequence control device
JPS647143A (en) Write back system for cache system