JP2537862B2 - Display data reading control method - Google Patents

Display data reading control method

Info

Publication number
JP2537862B2
JP2537862B2 JP62107773A JP10777387A JP2537862B2 JP 2537862 B2 JP2537862 B2 JP 2537862B2 JP 62107773 A JP62107773 A JP 62107773A JP 10777387 A JP10777387 A JP 10777387A JP 2537862 B2 JP2537862 B2 JP 2537862B2
Authority
JP
Japan
Prior art keywords
data
screen
display
data buffer
buffer
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
JP62107773A
Other languages
Japanese (ja)
Other versions
JPS63271496A (en
Inventor
均 安達
博和 砂山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP62107773A priority Critical patent/JP2537862B2/en
Publication of JPS63271496A publication Critical patent/JPS63271496A/en
Application granted granted Critical
Publication of JP2537862B2 publication Critical patent/JP2537862B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔概要〕 ファイル記憶装置からデータバッファにデータを読込
んで画面表示している場合,画面移動操作に基づく次画
面の表示データがデータバッファ上にないと,ファイル
記憶装置からデータを読込む入出力処理が必要となる。
本発明では,画面移動に伴い発生する入出力処理の回数
を削減するため,各出入出力処理ごとに,データバッフ
ァ上での次画面データの位置が中央になるようにして,
さらに次の画面移動に対応できるようにしたものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Outline] When data is read from a file storage device to a data buffer and is displayed on the screen, if there is no display data for the next screen based on the screen movement operation on the data buffer, the file storage device I / O processing to read data is required.
In the present invention, in order to reduce the number of input / output processings that occur due to screen movement, the position of the next screen data on the data buffer is centered for each input / output processing.
Furthermore, it is designed to be compatible with the next screen movement.

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

本発明は,データ処理装置における表示データの読込
み制御方式に関するものであり,特に画面スクロールや
頁送りなどの画面移動操作に伴うファイル記憶装置から
データバッファへのデータ読込み制御方式に関する。
The present invention relates to a display data read control system in a data processing device, and more particularly to a data read control system from a file storage device to a data buffer accompanying a screen movement operation such as screen scrolling or page turning.

〔従来の技術〕[Conventional technology]

第4図は,本発明が対象とする従来の一般的なデータ
処理装置の概略構成を示したものである。図において,1
はデータ処理装置,2は主記憶装置,3はデータバッファ,4
はファイル記憶装置,5はデータファイル,6は表示装置で
ある。
FIG. 4 shows a schematic configuration of a conventional general data processing device to which the present invention is applied. In the figure, 1
Is a data processor, 2 is a main memory, 3 is a data buffer, 4
Is a file storage device, 5 is a data file, and 6 is a display device.

ここで,表示装置6の画面の表示容量はたとえば20行
(20レコード),データバッファ3の容量は表示装置6
の画面の表示容量の数倍の大きさでたとえば100レコー
ド分の大きさ,またファイル記憶装置4に格納されてい
るデータファイル5は,表示装置6の画面の表示容量に
くらべて格段に大きなものであるとする。
Here, the display capacity of the screen of the display device 6 is, for example, 20 lines (20 records), and the capacity of the data buffer 3 is the display device 6.
Is several times as large as the display capacity of the screen of, for example, 100 records, and the data file 5 stored in the file storage device 4 is significantly larger than the display capacity of the screen of the display device 6. Suppose

このような場合,利用者が表示装置6を介してデータ
ファイル5の広い範囲をアクセスするためには上下の画
面スクロールや,前頁や次頁へ頁送りなどの画面移動操
作を行って,画面表示されるデータを逐次切り換える必
要がある。
In such a case, in order for the user to access a wide range of the data file 5 via the display device 6, the user can perform screen scrolling operations such as scrolling up and down or moving to the previous page or the next page. It is necessary to sequentially switch the displayed data.

しかし表示装置6に表示されるデータは,ファイル記
憶装置4からデータバッファ3にレコード単位で読込ま
れ,ここに一旦格納されるため,画面操作により,要求
された次画面の表示データがデータバッファ3上に存在
していない場合には,それらの表示データを,ファイル
記憶装置4からデータバッファ3に読込む入出力処理が
行われる。
However, the data displayed on the display device 6 is read from the file storage device 4 into the data buffer 3 on a record-by-record basis and temporarily stored therein, so that the requested display data of the next screen is changed by the screen operation. If they do not exist, the input / output processing of reading the display data from the file storage device 4 into the data buffer 3 is performed.

第5図は,従来の表示データの読込み制御方式を説明
するフローであり,第6図は,それに基づく具体例であ
る。
FIG. 5 is a flow for explaining a conventional display data reading control system, and FIG. 6 is a specific example based on the flow.

これによれば,画面を上移動する場合(たとえば上ス
クロール)には,次画面の先頭行がデータバッファ3の
最小レコードとなるように,不足のデータのレコードを
読込み,データバッファを作成する。
According to this, when moving up the screen (for example, scrolling up), the record of the insufficient data is read and the data buffer is created so that the first line of the next screen becomes the minimum record of the data buffer 3.

また画面を下移動する場合(下スクロール)には,次
画面の最終行がデータバッファ3の最大レコードとなる
ように,不足のデータのレコードを読込み,データバッ
ファを作成する。
When moving down the screen (scrolling down), the record of the insufficient data is read and the data buffer is created so that the last line of the next screen becomes the maximum record of the data buffer 3.

たとえば第6図の例では,図(a)に示すように,現
データバッファにレコード番号101ないし200のレコード
が格納されており,そのうち現画面には,レコード番号
181ないし200のレコードのデータが表示されている。こ
こで画面を下スクロールし,図(b)に示すように次画
面にレコード番号200ないし219のレコードのデータを表
示させた場合,データバッファの内容は,レコード番号
219のレコードが次画面の最大レコード,すなわち最終
行となるように更新されている(レコード番号101ない
し119がレコード番号201ないし219で更新される)。
For example, in the example of FIG. 6, as shown in FIG. 6A, the records of record numbers 101 to 200 are stored in the current data buffer, and the record number is stored in the current screen.
Data for records 181 to 200 are displayed. If you scroll down the screen and display the data of the records with record numbers 200 to 219 on the next screen as shown in Figure (b), the contents of the data buffer will be the record number.
The record 219 is updated to be the maximum record on the next screen, that is, the last line (record numbers 101 to 119 are updated to record numbers 201 to 219).

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

従来の表示データ読込み制御方式では,データバッフ
ァのレコード境界を超えて画面移動が行われた場合,デ
ータバッファの更新は,画面移動の行われた側の不足の
データを補充するだけに限られている。このため,次の
画面でさらに画面移動要求が発生した場合,再びデータ
バッファの更新が必要となる。
In the conventional display data read control method, when the screen is moved beyond the record boundary of the data buffer, the data buffer is updated only by replenishing the insufficient data on the side where the screen is moved. There is. For this reason, if a screen move request is made on the next screen, the data buffer must be updated again.

このように従来の方式では,上または下の方向に続け
て画面移動が行われると,そのたびにデータバッファの
更新が行われ,入出力処理回数が増加して処理速度が低
下するという問題があった。
As described above, in the conventional method, when the screen is continuously moved in the upward or downward direction, the data buffer is updated every time, and the number of input / output processing increases, which causes a problem of decreasing the processing speed. there were.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は,画面移動により必要となった表示データが
データバッファ上になく,データバッファの更新が必要
となったとき,次画面の表示データが,データバッファ
の中央部にくるようにファイル記憶装置から新しいデー
タを補充することにより,再画面移動が発生したときに
表示データがデータバッファ上に存在している可能性を
高めるものである。
According to the present invention, when the display data necessary for moving the screen is not on the data buffer and the data buffer needs to be updated, the display data for the next screen is placed in the center of the data buffer. By replenishing new data from, it is possible to increase the possibility that the display data will be present in the data buffer when the re-screen movement occurs.

第1図に,本発明の原理的説明図を示す。 FIG. 1 shows a principle explanatory diagram of the present invention.

図において,3は7レコード分の記憶容量をもつデータ
バッファ,5はデータファイル,6は表示容量が3レコード
分の大きさの表示装置であり,また図(a)は現在の状
態,図(b)は上スクロールにより画面移動された状態
を表している。
In the figure, 3 is a data buffer having a storage capacity of 7 records, 5 is a data file, 6 is a display device having a display capacity of 3 records, and FIG. b) shows a state in which the screen is moved by scrolling up.

図(a)の現在の状態において,データバッファ3に
は,レコード番号8ないし14のレコードが格納されてお
り,そのうち表示装置6の画面にはレコード番号10,11,
12のレコードのデータが表示されている。ここで上スク
ロールによりレコード番号7,8,9のレコードのデータ表
示が要求されるが,レコード番号7のレコードはデータ
バッファ3上に存在していない。
In the current state of FIG. 3A, the data buffer 3 stores the records of record numbers 8 to 14, of which the screen of the display device 6 has record numbers 10, 11,
Data for 12 records are displayed. Here, the data display of the records of record numbers 7, 8 and 9 is requested by the upward scroll, but the record of record number 7 does not exist in the data buffer 3.

図(b)のスクロール後の状態において,データバッ
ファ3には,レコード番号7,8,9のレコードがデータバ
ッファ5上の論理的なレコード番号配列内で中央にくる
ように,データファイル5からレコード番号5,6,7のレ
コードが読込まれている。
In the state after scrolling in the figure (b), the data buffer 3 is moved from the data file 5 so that the records of the record numbers 7, 8 and 9 are centered in the logical record number array on the data buffer 5. Records with record numbers 5, 6 and 7 have been read.

なお,図(a)のデータバッファ3では,格納されて
いる全データの論理的なデータ配列と物理的なデータ配
列とは同じで,レコード番号配列は8,9,10,11,12,13,14
となっている。一方図(b)では,データバッファ3の
全データの論理的なデータ配列は5,6,7,8,9,10,11であ
るが,物理的なデータ配列は図示されているように8,9,
10,11,5,6,7となり,一致しない。このため,データバ
ッファ3を論理的にはエンドレス構造として扱い,論理
的なデータ配列の先頭データの位置を管理して,論理的
なデータ配列の中央部のデータ7,8,9が容易に読出せる
ようにしている。
In the data buffer 3 of FIG. 10A, the logical data array of all the stored data is the same as the physical data array, and the record number arrays are 8, 9, 10, 11, 12, 13, ,14
Has become. On the other hand, in the figure (b), the logical data array of all the data in the data buffer 3 is 5,6,7,8,9,10,11, but the physical data array is 8 as shown. , 9,
It becomes 10,11,5,6,7 and does not match. Therefore, the data buffer 3 is logically treated as an endless structure, the position of the leading data of the logical data array is managed, and the data 7, 8, 9 in the central part of the logical data array is easily read. I am trying to put it out.

〔作用〕[Action]

本発明によれば,上下スクロールなどによる画面移動
の際,次画面で必要となる表示データのうちデータバッ
ファ上に存在していないデータ(レコード)は,データ
ファイルから読込まれるが,従来方式とは異なり,本発
明では,次画面の表示データがデータバッファ上で論理
的に中央に位置するように新しいデータが余分に読込ま
れる。
According to the present invention, when the screen is moved by scrolling up and down, the data (records) that does not exist in the data buffer among the display data required for the next screen is read from the data file. In contrast, in the present invention, new data is additionally read so that the display data of the next screen is logically centered on the data buffer.

このため,スクロール操作が繰り返されるような場合
に,表示データがデータバッファ上に存在する確率が高
まり,レコード読込みの入出力処理回数や転送レコード
総量の削減が可能となる。
Therefore, when the scroll operation is repeated, the probability that the display data exists in the data buffer increases, and the number of input / output processings for reading records and the total transfer record amount can be reduced.

〔実施例〕〔Example〕

第2図は,本発明の1実施例の機能構成を示す。 FIG. 2 shows a functional configuration of one embodiment of the present invention.

図において,1はデータ処理装置,2は主記憶装置,3はデ
ータバッファ,4はファイル記憶装置,5はデータファイ
ル,6は表示装置,7はキー入力装置,8は画面バッファ,9は
表示制御部,10はコマンド解析部,11は画面移動制御部,1
2は入出力処理部である。
In the figure, 1 is a data processing device, 2 is a main storage device, 3 is a data buffer, 4 is a file storage device, 5 is a data file, 6 is a display device, 7 is a key input device, 8 is a screen buffer, and 9 is a display. Control unit, 10 is command analysis unit, 11 is screen movement control unit, 1
2 is an input / output processing unit.

主記憶装置2のデータバッファ3には,入出力処理部
12の制御のもとに,ファイル記憶装置4のデータファイ
ル5からレコード単位にデータが読込まれる。
The data buffer 3 of the main storage device 2 includes an input / output processing unit.
Under the control of 12, data is read from the data file 5 of the file storage device 4 in record units.

表示装置6へ表示されるデータは,データバッファ3
から画面バッファ8へ移され,表示制御部9によって画
面出力される。
The data displayed on the display device 6 is the data buffer 3
Is transferred to the screen buffer 8 and the screen is output by the display control unit 9.

キー入力装置7から指示される画面移動のためのコマ
ンド,たとえば上,下の画面スクロールを指示するカー
ソルキー入力は,コマンド解析部10で解析され,画面の
移動方向や移動量などの情報が,画面移動制御部11に渡
される。
A command for screen movement instructed from the key input device 7, for example, a cursor key input for instructing scrolling up and down, is analyzed by the command analysis unit 10, and information such as the moving direction and moving amount of the screen is displayed. It is passed to the screen movement control unit 11.

画面移動制御部11は,現画面の表示データと,画面の
移動方向および移動量から,次画面の表示データの範囲
(レコード番号の範囲)を算出し,それがデータバッフ
ァ3上に存在するならば,直ちに画面バッファ8を更新
し,画面表示を変更する。
The screen movement control unit 11 calculates the range of the display data of the next screen (the range of record numbers) from the display data of the current screen, the moving direction and the movement amount of the screen, and if the range exists in the data buffer 3. For example, the screen buffer 8 is immediately updated to change the screen display.

しかし,次画面の表示データの一部でもデータバッフ
ァ3上に存在しなければ,ファイル記憶装置4のデータ
ファイル5からデータを読込み,データバッファ3を更
新する。第3図にその制御フローを示す。
However, if even a part of the display data of the next screen does not exist in the data buffer 3, the data is read from the data file 5 of the file storage device 4 and the data buffer 3 is updated. The control flow is shown in FIG.

第3図において, :次画面の表示データが全てデータバッファ3上に存
在すれば終了し,一部でもデータバッファ3に存在しな
い場合にはステップを実行する。
In FIG. 3 ,: If all the display data of the next screen exists in the data buffer 3, the process ends, and if some of them do not exist in the data buffer 3, the step is executed.

:次画面の真中に位置するデータ行を算出し,対応す
るレコードの番号を求める。
: Calculate the data line located in the middle of the next screen and find the corresponding record number.

:次画面の真中に位置するデータ行のレコード番号が
データバッファ3の真中に位置するレコード番号配列を
作成し,ファイル記憶装置4から読込みが必要なレコー
ドの番号を求め,またそのために書き替える(上書きす
る)データバッファ3上の位置を求める。
: A record number array in which the record number of the data line located in the middle of the next screen is located in the middle of the data buffer 3 is created, the number of the record that needs to be read is obtained from the file storage device 4, and is rewritten for that ( The position on the data buffer 3 is obtained.

:入出力処理部12に依頼して,必要な番号のレコード
を,ファイル記憶装置4からデータバッファ3の指定し
た位置に読込ませる。
: Request the input / output processing unit 12 to read the record of the required number from the file storage device 4 to the specified position of the data buffer 3.

このようにして,第2図の画面移動制御部11は,ファ
イル記憶装置4からデータを読込む必要が生じるたび
に,データバッファ3上で次画面の表示データが中央位
置にくるように最適化する。
In this way, the screen movement control unit 11 in FIG. 2 optimizes the display data of the next screen on the data buffer 3 to the central position every time it is necessary to read data from the file storage device 4. To do.

〔発明の効果〕〔The invention's effect〕

本発明によれば,画面移動操作が繰り返される場合に
次画面の表示データがデータバッファ上に存在する確率
が格段に高められるので,データファイルからデータバ
ッファにレコードを読込む入出力処理の回数を減少させ
ることができ,処理速度の改善を図ることができる。
According to the present invention, when the screen movement operation is repeated, the probability that the display data of the next screen exists in the data buffer is significantly increased. Therefore, the number of input / output processes for reading records from the data file into the data buffer can be reduced. The processing speed can be reduced and the processing speed can be improved.

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

第1図は本発明による表示データの読込み制御方式の原
理説明図,第2図は本発明の1実施例の機能構成図,第
3図は第2図における画面移動制御部の要部の制御フロ
ー図,第4図は従来のデータ処理装置の概略構成図,第
5図は従来の表示データ読込み制御方式のフロー図,第
6図は従来方式による画面移動の説明図である。 第1図中, 3:データバッファ 5:データファイル 6:表示装置
FIG. 1 is an explanatory view of the principle of a display data reading control system according to the present invention, FIG. 2 is a functional block diagram of one embodiment of the present invention, and FIG. 3 is a control of main parts of a screen movement control unit in FIG. A flow chart, FIG. 4 is a schematic configuration diagram of a conventional data processing device, FIG. 5 is a flow chart of a conventional display data reading control system, and FIG. 6 is an explanatory diagram of screen movement by the conventional system. In Figure 1, 3: Data buffer 5: Data file 6: Display device

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】表示装置(6)と,表示装置(6)の画面
表示容量よりも大きい記憶容量をもつデータバッファ
(3)と,ファイル記憶装置(4)とをそなえ,ファイ
ル記憶装置(4)に格納されているデータをレコード単
位にデータバッファ(3)に読込み,表示装置(6)に
表示できるデータ処理装置(1)において, 画面移動によって指定された次の画面のデータの一部あ
るいは全部がデータバッファ(3)上に存在しない場
合,ファイル記憶装置(4)からデータバッファ(3)
に必要な側のデータを読込み, その際ファイル記憶装置(4)からデータバッファ
(3)へ読込むべきデータは,該データが読込まれた結
果のデータバッファ(3)上の全データが論理的に順序
付けられたデータ配列を有するとともに次の画面に表示
すべきデータがその論理的に順序付けられたデータ配列
中の中央部に位置づけられるようにするために不足とな
るデータ配列部分のデータであることを特徴とする表示
データ読込み制御方式。
1. A file storage device (4) comprising a display device (6), a data buffer (3) having a storage capacity larger than the screen display capacity of the display device (6), and a file storage device (4). In the data processing device (1) that can read the data stored in () into the data buffer (3) in record units and display the data on the display device (6), a part of the data of the next screen specified by the screen movement or If not all exist in the data buffer (3), the file storage (4) to the data buffer (3)
The data to be read from the file storage device (4) to the data buffer (3) is the logical data of all the data in the data buffer (3) that is the result of reading the data. Has a data array that is ordered in the following, and the data that is to be displayed on the next screen is the data of the data array portion that is insufficient to allow the data to be positioned at the center of the logically ordered data array. Display data reading control method characterized by.
JP62107773A 1987-04-30 1987-04-30 Display data reading control method Expired - Lifetime JP2537862B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62107773A JP2537862B2 (en) 1987-04-30 1987-04-30 Display data reading control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62107773A JP2537862B2 (en) 1987-04-30 1987-04-30 Display data reading control method

Publications (2)

Publication Number Publication Date
JPS63271496A JPS63271496A (en) 1988-11-09
JP2537862B2 true JP2537862B2 (en) 1996-09-25

Family

ID=14467648

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62107773A Expired - Lifetime JP2537862B2 (en) 1987-04-30 1987-04-30 Display data reading control method

Country Status (1)

Country Link
JP (1) JP2537862B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS575089A (en) * 1980-06-11 1982-01-11 Nippon Electric Co Display system

Also Published As

Publication number Publication date
JPS63271496A (en) 1988-11-09

Similar Documents

Publication Publication Date Title
US5896548A (en) Data transferring system having foreground and background modes and upon detecting significant pattern of access in foreground mode to change background mode control parameters
JP3686457B2 (en) Disk array subsystem
JPH06110926A (en) Information retrieving device
JPH03160534A (en) Access control system for shared file
US5133066A (en) Method for selecting multiple versions of data in a reduced record units text editing system
US4704679A (en) Addressing environment storage for accessing a stack-oriented memory
JP2537862B2 (en) Display data reading control method
US5170479A (en) File block managing system using next record header position data and delete history data from block header and record headers to locate requested record block
JPH09223049A (en) Disk array system
JPH05189286A (en) System and method for controlling disk cache
JP2994917B2 (en) Storage system
JPH0239225A (en) Filing system
JP2570853B2 (en) Database processing system
JPH0296277A (en) Picture data control system
JPH0351912A (en) Spool area return system for each data set
JP2650803B2 (en) Full screen editor control processor
JPH02257282A (en) Table preparation processor
JPH02199533A (en) Dynamic link system for core part of operating system
JPS63280356A (en) Buffer management system for virtual disk device
JPS6269321A (en) Process switching system
JPH03141438A (en) Reorganization system for data base file
JPS62229345A (en) File multiplexing system
JPH04310143A (en) Automatic recomposition processor for multi-index order composition file
JPH0410292A (en) Hard disk device
JPH03251942A (en) Information processor