JPH04220736A - Sharing method for binary format data file between different kind of computers - Google Patents

Sharing method for binary format data file between different kind of computers

Info

Publication number
JPH04220736A
JPH04220736A JP40481790A JP40481790A JPH04220736A JP H04220736 A JPH04220736 A JP H04220736A JP 40481790 A JP40481790 A JP 40481790A JP 40481790 A JP40481790 A JP 40481790A JP H04220736 A JPH04220736 A JP H04220736A
Authority
JP
Japan
Prior art keywords
data
computers
memory
file
read
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
JP40481790A
Other languages
Japanese (ja)
Inventor
Masato Ichikawa
正人 市川
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP40481790A priority Critical patent/JPH04220736A/en
Publication of JPH04220736A publication Critical patent/JPH04220736A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To effectively utilize process data by making computers which have different memory boundary characteristics to read accurately file data of the opposite computers. CONSTITUTION:The different kind of computers A and B read data out of main memories 10 and 11 in order without considering the memory boundary and store them in a shared file memory 12 to generate shared file data previously, and when those shared data are read out of the computers A and B and written on their main memories 10 and 11, address assignment is performed corresponding to the memory boundary characteristics N of the corresponding computers to accurately read the file data of the different kind of computers.

Description

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

【0001】0001

【産業上の利用分野】本発明は、異なるメモリ境界特性
を有する異機種コンピュータ間でのバイナリ形式データ
ファイルの共有方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for sharing binary data files between heterogeneous computers having different memory boundary characteristics.

【0002】0002

【従来の技術】図3は異なるメモリ境界を有するコンピ
ュータA,Bそれぞれの主メモリ20,21におけるバ
イナリ形式データの記憶状態を示すもので、同図(A)
で示すコンピュータAのメモリ境界は4byte単位で
、0番地から4byte毎にメモリ境界を有し、同図(
B)で示すコンピュータBのメモリ境界は1byte単
位で、0番地から1byte毎にメモリ境界を有してい
る。
2. Description of the Related Art FIG. 3 shows the storage state of binary format data in the main memories 20 and 21 of computers A and B, respectively, which have different memory boundaries.
The memory boundary of computer A shown by is in units of 4 bytes, and there is a memory boundary every 4 bytes from address 0.
The memory boundaries of computer B, indicated by B), are in units of 1 byte, and there are memory boundaries every 1 byte from address 0.

【0003】図4は上記各コンピュータA,Bの主メモ
リ20,21に記憶されるデータ内容を示すもので、先
頭にはそのデータの属性を示す4byteに規定された
データ識別コードidが付され、例えば1byteの文
字型データcと4byteの整数型データiとが記憶さ
れる。
FIG. 4 shows the contents of data stored in the main memories 20 and 21 of each of the computers A and B, and a 4-byte data identification code ID indicating the attribute of the data is attached at the beginning. For example, 1 byte character type data c and 4 bytes integer type data i are stored.

【0004】すなわち、コンピュータAの場合には、そ
のメモリ境界特性が4byte単位であるため、4by
teのデータ識別コードidの後、4byte目から1
byteの文字型データcが記憶されると、3byte
分の空きエリアが設けられた後、8byte目から4b
yteの整数型データiが記憶される。これによりコン
ピュータAでは、上記データ識別コードidからそのデ
ータの属性とデータ長を判断することで、4byte目
のアドレスを指定すれば文字型データcが読出され、ま
た、8byte目のアドレスを指定すれば整数型データ
iが読出されることになる。一方、コンピュータBの場
合には、そのメモリ境界特性が1byte単位であるた
め、4byteのデータ識別コードidの後、4byt
e目から1byteの文字型データcが記憶されると、
続けて5byte目から4byteの整数型データiが
記憶される。これによりコンピュータBでは、上記同様
データ識別コードidからそのデータの属性とデータ長
を判断することで、4byte目のアドレスを指定すれ
ば文字型データcが読出され、また、5byte目のア
ドレスを指定すれば整数型データiが読出されることに
なる。
That is, in the case of computer A, since its memory boundary characteristics are in units of 4 bytes,
1 from the 4th byte after the data identification code id of te
When byte character type data c is stored, 3 bytes
4b from the 8th byte after the free area for
Integer type data i of yte is stored. As a result, on computer A, by determining the attribute and data length of the data from the data identification code id, specifying the 4th byte address reads character data c, and specifying the 8th byte address. In this case, integer type data i will be read. On the other hand, in the case of computer B, its memory boundary characteristics are in 1-byte units, so after the 4-byte data identification code ID, the 4-byte
When 1 byte of character type data c is stored from e-th,
Subsequently, 4 bytes of integer type data i are stored from the 5th byte. As a result, on computer B, by determining the attribute and data length of the data from the data identification code id in the same way as above, specifying the address of the 4th byte reads character data c, and specifying the address of the 5th byte. Then, integer type data i will be read out.

【0005】ここで、上記コンピュータA,Bにおいて
、主メモリ20,21に記憶されているデータを、磁気
ディスク等にファイルデータとして格納した場合には、
主メモリ20,21における格納イメージそのままのデ
ータ配列で格納されることになる。
[0005] Here, in the computers A and B, when the data stored in the main memories 20 and 21 is stored as file data on a magnetic disk or the like,
The stored image in the main memories 20 and 21 will be stored in the same data arrangement.

【0006】[0006]

【発明が解決しようとする課題】このように、異なるメ
モリ境界特性を有する異機種のコンピュータA,Bでは
、主メモリあるいはディスクメモリにおける記憶データ
の割付け形式が異なるため、例えばコンピュータAによ
りコンピュータBのファイルデータをそのまま利用しよ
うとしても、所望のデータの先頭アドレスを正しく指定
して読出すことができない。
[Problems to be Solved by the Invention] As described above, computers A and B of different models having different memory boundary characteristics have different allocation formats for stored data in the main memory or disk memory. Even if an attempt is made to use the file data as is, it is not possible to correctly specify the start address of the desired data and read it out.

【0007】すなわち、コンピュータAによりコンピュ
ータBのファイルデータからその先頭のデータ識別コー
ドidを読取った際に、まず1byte分の文字型デー
タc及び4byte分の整数型データiが存在すること
を認識し、次に4byte目のアドレスを指定して文字
型データcを読取った後に、上記整数型データiを読出
すべく4byte毎のメモリ境界特性に応じて8byt
e目のアドレスを指定しても、そのアドレス領域には該
整数型データiの先頭が位置しないので、異機種コンピ
ュータA,Bの相互間において相手方コンピュータのフ
ァイルデータをそのまま読出して利用することはできな
い。
That is, when computer A reads the first data identification code ID from the file data of computer B, it first recognizes that there are 1 byte of character type data c and 4 bytes of integer type data i. , Next, after specifying the address of the 4th byte and reading the character type data c, in order to read the above integer type data i, 8 bytes are read according to the memory boundary characteristics of each 4 byte.
Even if the e-th address is specified, the beginning of the integer type data i is not located in that address area, so it is not possible to read and use the file data of the other computer as it is between different types of computers A and B. Can not.

【0008】本発明は上記課題に鑑みなされたもので、
異なるメモリ境界特性を有するコンピュータ相互間にお
いて、相手方コンピュータのファイルデータを正確に読
出し、処理データの有効利用を図ることが可能になる異
機種コンピュータ間でのバイナリ形式データファイルの
共有方法を提供することを目的とする。
[0008] The present invention has been made in view of the above problems.
To provide a method for sharing binary format data files between computers of different types, which makes it possible to accurately read file data of a partner computer and effectively utilize processed data between computers having different memory boundary characteristics. With the goal.

【0009】[0009]

【課題を解決するため手段】すなわち、本発明に係わる
異機種コンピュータ間でのバイナリ形式データファイル
の共有方法は、異機種コンピュータのそれぞれにおいて
主メモリに記憶されたバイナリ形式のデータを各機種固
有のメモリ境界特性に関係なく順次詰めて格納するデー
タファイル手段と、このデータファイル手段により格納
されたファイルデータを読出す際に、読出しを図る機種
固有のメモリ境界特性に基づき主メモリに対する書込み
アドレスを設定するアドレス設定手段と、このアドレス
設定手段により設定された書込みアドレスに応じて上記
データファイル手段により格納されたファイルデータを
主メモリにロードするファイルデータロード手段とを備
えてなるものである。
[Means for Solving the Problems] That is, the method of sharing binary data files between different types of computers according to the present invention is to share binary data files stored in the main memory of each different type of computer in a manner unique to each model. A data file means that is sequentially packed and stored regardless of memory boundary characteristics, and when reading file data stored by this data file means, a write address for the main memory is set based on the memory boundary characteristics unique to the model to be read. and file data loading means for loading the file data stored by the data file means into the main memory in accordance with the write address set by the address setting means.

【0010】0010

【作用】つまり、異機種コンピュータのそれぞれにおい
て、主メモリに記憶されているデータをメモリ境界に関
係なく順次詰めて読出して格納したファイルデータを予
め共有データとして作成し、この共有データを異機種コ
ンピュータで読出してその主メモリに書込んだ際には、
該当機種のメモリ境界特性に応じたアドレス割付けが行
なわれることにより、異機種コンピュータのファイルデ
ータを正確に読出すことができる。
[Operation] In other words, in each of the different types of computers, file data stored in the main memory is sequentially packed and read out regardless of memory boundaries, and this shared data is created in advance as shared data. When read and written to main memory,
By assigning addresses in accordance with the memory boundary characteristics of the relevant model, file data from different models of computers can be read accurately.

【0011】[0011]

【実施例】以下図面により本発明の一実施例について説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0012】図1は異機種コンピュータ間でのバイナリ
形式データファイルの共有方法を説明するための概念図
であり、同図において、10は4byteのメモリ境界
特性を有するコンピュータAの主メモリ、11は1by
teのメモリ境界特性を有するコンピュータBの主メモ
リである。このコンピュータA,Bの主メモリ10,1
1には、それぞれ4byteのデータ識別コードidを
先頭にして、例えば1byteの文字型データc、4b
yteの整数型データi、3byteの文字型データa
rray,4byteの整数型データdが記憶されてい
る。ここで、上記データ識別コードidは、1byte
,2byte,4byte何れのメモリ境界特性にも対
応できるよう4byteに規定され、それに続くデータ
の属性c(文字型),i(整数型),array(文字
型),d(整数型)とそのデータ長とを示している。
FIG. 1 is a conceptual diagram for explaining a method of sharing binary data files between different types of computers. In the figure, 10 is the main memory of computer A having a 4-byte memory boundary characteristic, and 11 is the main memory of computer A. 1by
The main memory of computer B has a memory boundary characteristic of te. Main memory 10, 1 of this computer A, B
1 contains, for example, 1-byte character type data c, 4b, each with a 4-byte data identification code ID at the beginning.
yte integer type data i, 3 byte character type data a
rray, 4-byte integer type data d is stored. Here, the data identification code id is 1 byte.
, 2 bytes, and 4 bytes.The following data attributes c (character type), i (integer type), array (character type), d (integer type) and their data. It shows the length.

【0013】上記主メモリ10又は11に対応するデー
タファイルを作成する場合には、その何れの場合にも、
主メモリに記憶されたデータは各機種固有のメモリ境界
特性に関係なく、空きエリアは詰めて順次読出され共有
ファイルメモリ12に格納される。
When creating a data file corresponding to the main memory 10 or 11, in either case,
The data stored in the main memory is sequentially read out and stored in the shared file memory 12, with empty areas closed, regardless of the memory boundary characteristics specific to each model.

【0014】一方、コンピュータA及びコンピュータB
には、それぞれ各機種固有のメモリ境界特性Nを記述し
たハードウエア特性記述ファイル13A,13Bが備え
られる。この場合、コンピュータAのハードウエア特性
記述ファイル13Aには、そのメモリ境界特性N=4(
byte)がセットされ、また、コンピュータBのハー
ドウエア特性記述ファイル13Bには、そのメモリ境界
特性N=1(byte)がセットされる。
On the other hand, computer A and computer B
are provided with hardware characteristic description files 13A and 13B each describing memory boundary characteristics N unique to each model. In this case, the hardware characteristic description file 13A of computer A contains its memory boundary characteristic N=4 (
Byte) is set, and the memory boundary characteristic N=1 (byte) is set in the hardware characteristic description file 13B of computer B.

【0015】ここで、上記共有ファイルメモリ12に格
納されているファイルデータをコンピュータAの主メモ
リ10に読出して利用する場合には、該主メモリ10に
対するファイルデータの書込みアドレスは、このコンピ
ュータAに備えられた上記ハードウエア特性記述ファイ
ル13Aのメモリ境界特性N=4に基づき設定される。
Here, when the file data stored in the shared file memory 12 is read to the main memory 10 of the computer A for use, the write address of the file data to the main memory 10 is set to the computer A. It is set based on the memory boundary characteristic N=4 of the provided hardware characteristic description file 13A.

【0016】すなわち、上記主メモリ10に対する書込
み指定アドレスをWPとし、WPを含む下式1が成立す
る場合には、そのWPが示すアドレスにデータの書込み
を行ない、下式1が成立しない場合には、下式2により
新たな書込み指定アドレスWPを求めてデータの書込み
を行なう。 WP  mod N=0    …式1WP=WP+N
−(WP  mod N)    …式2但し、mod
 は剰余を求める演算を意味する。
In other words, if the address specified for writing to the main memory 10 is WP, and the following formula 1 including WP holds true, data is written to the address indicated by the WP, and if the following formula 1 does not hold, then calculates a new write designated address WP using the following equation 2 and writes data. WP mod N=0...Formula 1WP=WP+N
-(WP mod N) ...Formula 2, where mod
means an operation that calculates the remainder.

【0017】つまり、上記式1が成立してWPがメモリ
境界値N(=4)で割切れる場合には、4byte毎の
メモリ境界特性に対応することになるので、そのWPを
書込み指定アドレスとする。また、上記式1が成立せず
WPをメモリ境界値N(=4)で割った残りX(=WP
  mod N)が存在する場合には、該メモリ境界値
N(=4)から該残りXを引いた値を加算したWPを新
たな書込み指定アドレスとすることにより、4byte
毎のメモリ境界特性に対応することになる。
In other words, if the above formula 1 holds true and WP is divisible by the memory boundary value N (=4), it corresponds to the memory boundary characteristics of every 4 bytes, so the WP is designated as the write address. do. In addition, if the above formula 1 does not hold and the remainder X (=WP
mod N) exists, by adding WP, which is the value obtained by subtracting the remaining X from the memory boundary value N (=4), as a new write specified address, the 4-byte
This corresponds to the memory boundary characteristics of each memory.

【0018】図2は上記共有ファイルメモリ12に格納
されたファイルデータを所望のコンピュータの主メモリ
に読出す際の共有データロード処理を示すフローチャー
トであり、ここでは、コンピュータAの主メモリ10に
読出す場合について説明する。
FIG. 2 is a flowchart showing the shared data loading process when reading the file data stored in the shared file memory 12 to the main memory of a desired computer. I will explain when to issue it.

【0019】まず、主メモリ10に対する書込み指定ア
ドレスWPに主メモリ上に確保したデータエリアの先頭
アドレスを設定し、共有ファイルメモリ12に格納され
ているデータの読込みを行なう(ステップS1〜S3)
。そして、読込みデータの先頭に位置するデータ識別コ
ードidを主メモリ10の上記書込み指定アドレスWP
(=0)に書込むと共に、該データ識別コードidのデ
ータ長は4byteに規定されているので、上記書込み
指定アドレスWPに「4」を加算する(WP=4)(ス
テップS4〜S6)。ここで、主メモリ10に書込まれ
たデータ識別コードidに基づき、該データ識別コード
idに続いて読出されたデータ内容(データ属性及びデ
ータ長)を判断する(ステップS7)。この場合、デー
タ識別コードidに続く最初のデータは文字型データc
であるので、ステップS8を経て、該文字型データcを
主メモリ10の書込み指定アドレスWP(=4)に書込
むと共に、その書込みデータ長(1byte)に応じて
上記書込み指定アドレスWPを更新する(WP=5)(
ステップS9,S10)。そしてステップS16に進み
、上記書込みデータcに続く共有ファイルメモリ12か
らの読込みデータが存在する場合には、上記ステップS
7に戻り、主メモリ10に書込むべく次のデータ内容を
判断する。ここで、上記文字型データcに続く読込みデ
ータは整数型データiであるので、ステップS8を経て
ステップS11に進む。
First, the start address of the data area secured on the main memory is set as the write designated address WP for the main memory 10, and data stored in the shared file memory 12 is read (steps S1 to S3).
. Then, the data identification code ID located at the beginning of the read data is transferred to the write designated address WP of the main memory 10.
(=0), and since the data length of the data identification code id is specified as 4 bytes, "4" is added to the write designated address WP (WP=4) (steps S4 to S6). Here, based on the data identification code id written in the main memory 10, the content of the data (data attribute and data length) read out subsequent to the data identification code id is determined (step S7). In this case, the first data following the data identification code id is character type data c
Therefore, through step S8, the character type data c is written to the specified write address WP (=4) of the main memory 10, and the specified write address WP is updated according to the write data length (1 byte). (WP=5)(
Steps S9, S10). Then, the process proceeds to step S16, and if there is read data from the shared file memory 12 following the write data c, the process proceeds to step S16.
7, the next data content to be written into the main memory 10 is determined. Here, since the read data following the character type data c is integer type data i, the process advances to step S11 via step S8.

【0020】すると、まず、上記式1に基づき、主メモ
リ10に対する現在の書込み指定アドレスWP(=5)
が、このコンピュータAのハードウエア特性記述ファイ
ル13Aにセットされたメモリ境界値N(=4)で割切
れるか否か、つまり、ステップS11の剰余演算で得ら
れる残りXが“0”か否か判断する(ステップS12)
。この場合、X=1になり4byte毎のメモリ境界特
性に対応しないことになるのでステップS13に進み、
上記式2に基づき新たな書込み指定アドレスWP(8)
「=WP(5)+N(4)−X(1)」を求める。そし
て、上記整数型データiを主メモリ10の書込み指定ア
ドレスWP(=8)に書込むと共に、その書込みデータ
長(4byte)に応じて上記書込み指定アドレスWP
を更新する(WP=12)(ステップS14,S15)
。そしてステップS16に進み、上記書込みデータiに
続く共有ファイルメモリ12からの読込みデータが存在
する場合には、上記ステップS7に戻り、主メモリ10
に書込むべく次のデータ内容を判断する。ここで、上記
整数型データiに続く読込みデータは文字型データar
rayであるので、ステップS8を経てS9に進む。
Then, first, based on the above formula 1, the current designated write address WP (=5) for the main memory 10 is
is divisible by the memory boundary value N (=4) set in the hardware characteristic description file 13A of this computer A, that is, whether the remainder X obtained by the remainder calculation in step S11 is "0" or not. Determine (step S12)
. In this case, since X=1 and it does not correspond to the memory boundary characteristics of every 4 bytes, the process advances to step S13.
New write specified address WP(8) based on the above formula 2
Find "=WP(5)+N(4)-X(1)". Then, the integer type data i is written to the specified write address WP (=8) of the main memory 10, and the specified write address WP is written according to the write data length (4 bytes).
(WP=12) (steps S14, S15)
. Then, the process proceeds to step S16, and if there is read data from the shared file memory 12 following the write data i, the process returns to step S7, and the main memory 12
Determine the next data content to be written to. Here, the read data following the above integer type data i is character type data ar
ray, the process advances to step S9 via step S8.

【0021】上記文字型データarrayを主メモリ1
0の書込み指定アドレスWP(=12)に書込むと共に
、その書込みデータ長(3byte)に応じて上記書込
み指定アドレスWPを更新する(WP=15)(ステッ
プS9,S10)。そしてステップS16に進み、上記
書込みデータarrayに続く共有ファイルメモリ12
からの読込みデータが存在する場合には、再びステップ
S7に戻り、主メモリ10に書込むべく次のデータ内容
を判断する。ここで、上記文字型データarrayに続
く読込みデータは整数型データdであるので、ステップ
S8を経て再びステップS11に進む。
The above character type data array is stored in main memory 1.
The data is written to the specified write address WP (=12) of 0, and the write specified address WP is updated according to the write data length (3 bytes) (WP=15) (steps S9, S10). The process then proceeds to step S16, where the shared file memory 12 following the write data array is
If there is data to be read from the main memory 10, the process returns to step S7 to determine the next data content to be written into the main memory 10. Here, since the read data following the character type data array is integer type data d, the process returns to step S11 via step S8.

【0022】すると、上記同様まず式1に基づき、主メ
モリ10に対する現在の書込み指定アドレスWP(=1
5)が、このコンピュータAのハードウエア特性記述フ
ァイル13Aにセットされたメモリ境界値N(=4)で
割切れるか否か、つまり、ステップS11の剰余演算で
得られる残りXが“0”か否か判断する(ステップS1
2)。この場合、X=3になり4byte毎のメモリ境
界特性に対応しないことになるのでステップS13に進
み、上記式2に基づき新たな書込み指定アドレスWP(
16)「=WP(15)+N(4)−X(3)」を求め
る。そして、上記整数型データdを主メモリ10の書込
み指定アドレスWP(=16)に書込むと共に、その書
込みデータ長(4byte)に応じて上記書込み指定ア
ドレスWPを更新する(WP=20)(ステップS14
,S15)。そしてステップS16に進み、上記書込み
データdに続く共有ファイルメモリ12からの読込みデ
ータが存在しない場合には、前記ステップS11〜S1
4におけるアドレス設定処理と同様にして、4byte
毎のメモリ境界特性に対応した書込み指定アドレスWP
を設定した後、新たなファイルデータの読込み待機状態
になる。
Then, as above, first, based on equation 1, the current write designated address WP (=1
5) is divisible by the memory boundary value N (=4) set in the hardware characteristic description file 13A of this computer A, that is, whether the remainder X obtained by the remainder calculation in step S11 is "0". Determine whether or not (step S1
2). In this case, X=3, which means that it does not correspond to the memory boundary characteristics of every 4 bytes, so the process proceeds to step S13, and a new write designated address WP (
16) Find "=WP(15)+N(4)-X(3)". Then, the above-mentioned integer type data d is written to the specified write address WP (=16) of the main memory 10, and the above-mentioned write specified address WP is updated according to the write data length (4 bytes) (WP=20) (step S14
, S15). Then, the process proceeds to step S16, and if there is no read data from the shared file memory 12 following the write data d, the process proceeds to steps S11 to S1.
4 byte in the same way as the address setting process in 4.
Write specified address WP corresponding to memory boundary characteristics for each
After setting , it enters a waiting state for reading new file data.

【0023】したがって、上述したような異機種コンピ
ュータ間でのバイナリ形式データファイルの共有方法に
よれば、共有ファイルメモリ12に格納されたコンピュ
ータBのファイルデータを、コンピュータAのメモリ境
界特性に整合させて主メモリ10に正しく読出すことが
でき、異機種コンピュータのそれぞれにおいて構築され
たデータファイルを互いに有効利用することができる。
Therefore, according to the method of sharing binary data files between different types of computers as described above, the file data of computer B stored in the shared file memory 12 is made to match the memory boundary characteristics of computer A. data files can be correctly read into the main memory 10, and data files created in different types of computers can be used effectively.

【0024】なお、上記実施例における異機種コンピュ
ータ間でのバイナリ形式データファイルの共有方法は、
メモリ間における通常のデータ読出し,書込み処理の他
に、簡単な演算処理を付加するだけで実現することがで
き、複雑なシステム変換プログラム等を作成する必要は
ない。
[0024] The method for sharing binary format data files between different types of computers in the above embodiment is as follows:
This can be realized by simply adding simple arithmetic processing in addition to normal data reading and writing processing between memories, and there is no need to create a complicated system conversion program.

【0025】[0025]

【発明の効果】以上のように本発明によれば、異機種コ
ンピュータのそれぞれにおいて主メモリに記憶されたバ
イナリ形式のデータを各機種固有のメモリ境界特性に関
係なく順次詰めて格納するデータファイル手段と、この
データファイル手段により格納されたファイルデータを
読出す際に、読出しを図る機種固有のメモリ境界特性に
基づき主メモリに対する書込みアドレスを設定するアド
レス設定手段と、このアドレス設定手段により設定され
た書込みアドレスに応じて上記データファイル手段によ
り格納されたファイルデータを主メモリにロードするフ
ァイルデータロード手段とを備えてなるので、異なるメ
モリ境界特性を有するコンピュータ相互間において、相
手方コンピュータのファイルデータを正確に読出し、処
理データの有効利用を図ることが可能になる。
As described above, according to the present invention, there is provided a data file means for sequentially packing and storing binary format data stored in the main memory of each of different types of computers, regardless of the memory boundary characteristics specific to each model. and address setting means for setting a write address to the main memory based on memory boundary characteristics specific to the model to be read when reading file data stored by this data file means; and file data loading means for loading the file data stored by the data file means into the main memory according to the write address, so that the file data of the other computer can be accurately read between computers having different memory boundary characteristics. The processed data can be read out and used effectively.

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

【図1】本発明の一実施例に係わる異機種コンピュータ
間でのバイナリ形式データファイルの共有方法を説明す
るための概念図。
FIG. 1 is a conceptual diagram for explaining a method for sharing binary format data files between different types of computers according to an embodiment of the present invention.

【図2】上記実施例において共有ファイルメモリに格納
されたファイルデータを所望のコンピュータに読出す際
の共有データロード処理を示すフローチャート。
FIG. 2 is a flowchart showing shared data loading processing when reading file data stored in a shared file memory to a desired computer in the above embodiment.

【図3】異なるメモリ境界を有するコンピュータA,B
それぞれの主メモリにおけるバイナリ形式データの記憶
状態を示す図。
[Figure 3] Computers A and B with different memory boundaries
FIG. 3 is a diagram showing the storage state of binary format data in each main memory.

【図4】上記コンピュータA,Bの主メモリに記憶され
るデータ内容を示す図。
FIG. 4 is a diagram showing data contents stored in the main memories of the computers A and B.

【符号の説明】[Explanation of symbols]

10…コンピュータAの主メモリ、11…コンピュータ
Bの主メモリ、12…共有ファイルメモリ、13A,1
3B…ハードウエア特性記述ファイル。
10... Main memory of computer A, 11... Main memory of computer B, 12... Shared file memory, 13A, 1
3B...Hardware characteristics description file.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  異機種コンピュータのそれぞれにおい
て主メモリに記憶されたバイナリ形式のデータを各機種
固有のメモリ境界特性に関係なく順次詰めて格納するデ
ータファイル手段と、このデータファイル手段により格
納されたファイルデータを読出す際に、読出しを図る機
種固有のメモリ境界特性に基づき主メモリに対する書込
みアドレスを設定するアドレス設定手段と、このアドレ
ス設定手段により設定された書込みアドレスに応じて上
記データファイル手段により格納されたファイルデータ
を主メモリにロードするファイルデータロード手段とを
具備し、メモリ境界特性の異なる異機種コンピュータの
それぞれが有するデータを共有することを特徴とする異
機種コンピュータ間でのバイナリ形式データファイルの
共有方法。
[Claim 1] Data file means for sequentially packing and storing binary format data stored in the main memory of each of different types of computers, regardless of the memory boundary characteristics specific to each model; and When reading file data, an address setting means sets a write address for the main memory based on the memory boundary characteristics specific to the model to be read, and the data file means Binary format data between heterogeneous computers, characterized in that the data is shared between heterogeneous computers having different memory boundary characteristics, comprising a file data loading means for loading stored file data into main memory. How to share files.
JP40481790A 1990-12-21 1990-12-21 Sharing method for binary format data file between different kind of computers Pending JPH04220736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40481790A JPH04220736A (en) 1990-12-21 1990-12-21 Sharing method for binary format data file between different kind of computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40481790A JPH04220736A (en) 1990-12-21 1990-12-21 Sharing method for binary format data file between different kind of computers

Publications (1)

Publication Number Publication Date
JPH04220736A true JPH04220736A (en) 1992-08-11

Family

ID=18514477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40481790A Pending JPH04220736A (en) 1990-12-21 1990-12-21 Sharing method for binary format data file between different kind of computers

Country Status (1)

Country Link
JP (1) JPH04220736A (en)

Similar Documents

Publication Publication Date Title
US5740445A (en) Information processing apparatus for generating directory information to manage a file using directories
JPS6017130B2 (en) address control device
CN110908707A (en) Resource packaging method, device, server and storage medium
CN101430685B (en) Downloading method and system
JPS6122817B2 (en)
JPH04220736A (en) Sharing method for binary format data file between different kind of computers
WO2000070466A1 (en) Method of accessing i/o device and memory using virtual address and recorded medium having program for performing method of accessing i/o device and memory using virtual address
JP2545587B2 (en) Garbage collection method
JP2507399B2 (en) Database equipment
JPH02151944A (en) data processing equipment
JP3471838B2 (en) How to manage circular sequential files
JPS5994147A (en) Stack control system
JPS617874A (en) Display unit
JPS63237143A (en) Programmable controller
JP2988048B2 (en) Dictionary information resident access device
JP3789248B2 (en) Program loading method, program loading apparatus and recording medium therefor
JPH02257282A (en) Table preparation processor
JPS6144339B2 (en)
JPH02129722A (en) Data managing system
JPH01286053A (en) Data control system over plural types of computers
JPH03214335A (en) Computer system
JPH05233402A (en) Memory mapped file access system
JPS5837884A (en) Address converting system
JPS61166643A (en) Image information control system
JPS61156450A (en) Dynamic buffer control system