JPH0340042A - Multiple accessing device - Google Patents

Multiple accessing device

Info

Publication number
JPH0340042A
JPH0340042A JP1176620A JP17662089A JPH0340042A JP H0340042 A JPH0340042 A JP H0340042A JP 1176620 A JP1176620 A JP 1176620A JP 17662089 A JP17662089 A JP 17662089A JP H0340042 A JPH0340042 A JP H0340042A
Authority
JP
Japan
Prior art keywords
data
editing
copy
copying
generating
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
JP1176620A
Other languages
Japanese (ja)
Inventor
Keiton Ki
季 恵敦
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1176620A priority Critical patent/JPH0340042A/en
Publication of JPH0340042A publication Critical patent/JPH0340042A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To efficiently prevent the data loss caused by a multiple access by generating two copying bodies of data at the time of reference, and comparing the data to be updated with the copying body which is not edited. CONSTITUTION:The subject device is provided with a generating means 2 for generating editing copying body data and non-editing copying body data, respectively, an editing means 6 for editing and storing the editing copy body data and an editing copying body storage part 4, a comparing means 7 for comparing the contents of the non- editing copy body data with the contents of the data on a data storage part 3 being a copy origin of this non-editing copy body data, an updating means 8 for substituting the editing copying body data for the contents of the data of the data storage part 3 when the result of its comparison shows the coincidence, and a warning means 9 for generating a warning when the result of comparison shows the discordance. In this state, at the time of reference, two copying bodies of the data are generated, the edition of the data is executed only to one copying body, and at the time of updating, the data and the copying body which is not edited are compared, and only when updating of the data is not executed before its time point by other user, updating is permitted. In such a manner, the data loss at the time of multiple access can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子計算機のデータアクセス手段に利用する
。特に、データに対し多数の利用者が同時に入出力を行
ういわゆる多重アクセス時のデータ喪失を防止する手段
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention is applied to data access means of an electronic computer. In particular, the present invention relates to means for preventing data loss during so-called multiple accesses in which a large number of users simultaneously input and output data.

〔概要〕〔overview〕

本発明は、多数の利用者がデータに対して同時に入出力
を行う多重アクセス手段において、参照時にデータの複
写体を二つ生成し、更新するデータと編集されていない
複写体と比較することにより、 多重アクセスによるデータ喪失を効率的に防止すること
ができるようにしたものである。
In a multiple access means in which a large number of users input/output data at the same time, the present invention generates two copies of data at the time of reference, and compares the data to be updated with the unedited copy. , it is possible to efficiently prevent data loss due to multiple accesses.

〔従来の技術〕[Conventional technology]

従来例では、利用者ごとにデータアクセスの初期時にデ
ータへのアクセスが参照かまたは更新かを宣言し、参照
アクセスを行う利用者のみの場合だけ多重アクセスを許
し、更新アクセスを行う宣言を利用者がした時点でデー
タをロックして他の利用者による参照更新を排除するこ
とで多重アクセスによるデータ喪失を防止していた。
In the conventional example, each user declares whether the data will be accessed for reference or update at the initial stage of data access, multiple accesses are allowed only for users who perform reference access, and users declare update access. This prevents data loss due to multiple accesses by locking the data and preventing other users from updating it.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来例には次のような欠点がある。 Such conventional examples have the following drawbacks.

(1)更新の宣言が解除されるまで他の利用者はデータ
にアクセスが行えない、 (2)データアクセスの初期時に参照か更新かを決める
必要がある。
(1) Other users cannot access the data until the update declaration is canceled. (2) It is necessary to decide whether to refer or update at the initial stage of data access.

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

本発明は、データを記憶するデータ記憶部と、このデー
タ記憶部に記憶されたデータの参照を指令する第一指令
および更新を指令する第二指令を入力する複数の入力手
段とを備えた多重アクセス装置において、第一指令で参
照されるデータの複写体である編集用複写体データおよ
び無編集複写体データをそれぞれ生成する生成手段と、
この生成手段で生成された編集用複写体データを編集し
て記憶する編集記憶手段と、第二指令に応じて無編集複
写体データの内容とこの無編集複写体データの複写元で
あるデータ記憶部上のデータの内容とを比較する比較手
段と、この比較手段の比較結果が一致を示すときに、上
記データ記憶部に記憶されたデータの内容を上記編集記
憶手段に記憶された編集用複写体データで置換する更新
手段と、上記比較手段の比較結果が不一致を示すときに
警告を発生する警告手段とを備えたことを特徴とする。
The present invention provides a data storage unit for storing data, and a plurality of input means for inputting a first command to refer to the data stored in the data storage unit and a second command to update the data. In the access device, generating means for respectively generating editing copy data and non-editing copy data that are copies of the data referenced in the first command;
an editing storage means that edits and stores the editing copy data generated by the generation means; and a data storage that stores the contents of the unedited copy data and the source of the unedited copy data according to a second command. a comparison means for comparing the contents of the data on the copying section; and when the comparison result of the comparison means shows a match, the contents of the data stored in the data storage section are copied into an editing copy stored in the editing storage means; The present invention is characterized in that it comprises an updating means for replacing the data with body data, and a warning means for issuing a warning when the comparison result of the comparing means shows a discrepancy.

〔作用〕[Effect]

利用者から発行された参照指示に従いデータから編集用
複写体と無編集複写体の二つの複写体を生成し、さらに
、編集用複写体の内容を編集する。
Two copies, an editing copy and an unedited copy, are generated from the data according to a reference instruction issued by the user, and the contents of the editing copy are further edited.

発行された更新指示に従いデータと無編集複写体との違
いを調べ、データの内容を編集用複写体の内容で置き換
える。また、利用者へ他の利用者によりデータが更新さ
れていることを知らせる。
Check the differences between the data and the non-edited copy according to the issued update instructions, and replace the data content with the content of the edited copy. It also notifies the user that the data has been updated by another user.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面を参照して説明す
る。この実施例は、本発明をエディタに応用した場合の
一例である。
An embodiment of the present invention will be described below with reference to the drawings. This embodiment is an example in which the present invention is applied to an editor.

第1図はこの実施例の構成を示すブロック構成図である
。この実施例は、第1図に示すように、利用者がデータ
の参照更新の指示を行う入力手段1と、入力手段1から
結線10を通して入力された参照指示に従い第2図に示
すデータ記憶部3のデータを結線11を通して入力し、
データと全く同じ内容の複写体を生成し、結線12を通
して編集用複写体記憶部4と結線13を通して無編集複
写体記憶部5とへ格納する生成手段2と、結線■4を通
して入力した編集用複写体記憶部4の内容に例えば追加
・削除・置換などの編集を行い、結線15を通して編集
用複写体記憶部4へ格納する編集手段6と、入力手段1
から結線16を通して入力された更新指示に従い結線1
7を通して入力されたデータ記憶部3の内容と結線18
を通して人力された無編集複写体記憶部5の内容とを比
較し、両方の内容に違いが無ければ結線19を通して更
新手段8へ指示を発行し、両方のデータに違いが有れば
結線20を通して警告手段9へ指示を発行する比較手段
7と、比較手段7から結線19を通して入力された指示
に従い結線21を通して入力された編集用複写体記憶部
4の内容を結線22を通してデータ記憶部3へ格納する
更新手段8と、例えばブザー鳴動および警告文表示など
の方法により他の利用者によりデータ記憶部3のデータ
が更新されていることを利用者へ知らせる警告手段9と
を備える。
FIG. 1 is a block diagram showing the configuration of this embodiment. As shown in FIG. 1, this embodiment includes an input means 1 through which a user issues an instruction to refer to and update data, and a data storage section shown in FIG. Input the data of 3 through connection 11,
A generation means 2 that generates a copy with exactly the same content as the data and stores it in the editing copy storage section 4 through the connection 12 and the unedited copy storage section 5 through the connection 13, and the editing copy input through the connection 4. an editing means 6 for editing the contents of the copy storage section 4, such as adding, deleting, replacing, etc., and storing the edited copy storage section 4 through a connection 15; and an input means 1;
connection 1 according to the update instruction input through connection 16 from
The contents of the data storage unit 3 input through 7 and the connection 18
If there is no difference between the two contents, an instruction is issued to the update means 8 through the connection 19, and if there is a difference between the two data, an instruction is issued to the update means 8 through the connection 20. A comparison means 7 issues an instruction to the warning means 9, and the contents of the editing copy storage section 4 input through a connection 21 are stored in the data storage section 3 through a connection 22 in accordance with an instruction inputted from the comparison means 7 through a connection 19. and a warning means 9 for notifying the user that the data in the data storage section 3 has been updated by another user by, for example, sounding a buzzer or displaying a warning message.

すなわち、この実施例は、データを記憶するデータ記憶
部3と、このデータ記憶部3に記憶されたデータの参照
を指令する第一指令および更新を指令する第二指令を入
力する複数の入力手段1とを備え、さらに、本発明の特
徴とする手段として、第一指令で参照されるデータの複
写体である編集用複写体データおよび無編集複写体デー
タをそれぞれ生成する生成手段2と、この生成手段2で
生威された編集用複写体データを編集して記憶する編集
記憶手段である編集手段6および編集用複写体記憶部4
と、第二指令に応じて無編集複写体データの内容とこの
無編集複写体データの複写元であるデータ記憶部上のデ
ータの内容とを比較する比較手段7と、この比較手段7
の比較結果が一致を示すときに、データ記憶部3に記憶
されたデータの内容を上記編集記憶手段に記憶された編
集用複写体データで置換する更新手段8と、比較手段7
の比較結果が不一致を示すときに警告を発生する警告手
段9とを備える。
That is, this embodiment includes a data storage unit 3 that stores data, and a plurality of input means that input a first command to refer to the data stored in the data storage unit 3 and a second command to update the data. 1, and further includes a generating means 2 for generating editing copy data and non-editing copy data, which are copies of the data referred to in the first command, respectively; An editing means 6 and an editing copy storage section 4 are editing storage means for editing and storing the editing copy data generated by the generation means 2.
and a comparing means 7 for comparing the content of the unedited copy data with the content of the data on the data storage section from which the unedited copy data is copied according to the second command;
an updating means 8 for replacing the content of the data stored in the data storage section 3 with the editing copy data stored in the editing storage means when the comparison result shows a match; and a comparison means 7
and a warning means 9 which issues a warning when the comparison results of the two show a discrepancy.

第2図は利用者がエディタを使用してデータをアクセス
するときの処理手順を示す。次に、この実施例の動作を
第2図に基づき説明する。
FIG. 2 shows the processing procedure when a user accesses data using an editor. Next, the operation of this embodiment will be explained based on FIG.

人力手段1から参照指示が発行されると、生成手段2で
データと全く同じ内容の編集用複写体と無編集複写体の
二つの複写体が生成される(ステップ35およびS2)
。次に、編集手段6は編集用複写体を編集する(ステッ
プS3)。編集が終了すると、入力手段1から更新指示
が発行されないときにはエディタ処理は終了する(ステ
ップS4でNO)。更新指示が発行されると(ステップ
S4でYES)、比較手段7はデータと無編集複写体と
の相違を調べ、相違が無ければ(ステップ35でNO)
更新手段8は前記データの内容を編集用複写体の内容で
置き換える(ステップS6)。
When a reference instruction is issued from the human power means 1, the generation means 2 generates two copies, an editing copy and an unedited copy, with exactly the same content as the data (steps 35 and S2).
. Next, the editing means 6 edits the copy for editing (step S3). When the editing is completed, if no update instruction is issued from the input means 1, the editor processing ends (NO in step S4). When the update instruction is issued (YES in step S4), the comparison means 7 checks the difference between the data and the unedited copy, and if there is no difference (NO in step S35).
The updating means 8 replaces the contents of the data with the contents of the editing copy (step S6).

相違があれば(ステップS5でYES)警告手段9は警
告を発行する(ステップS7)。
If there is a difference (YES in step S5), the warning means 9 issues a warning (step S7).

第3図はデータ記憶部3の内容を示し、データには、例
えば文字や数字の列が格納されている。
FIG. 3 shows the contents of the data storage section 3, and the data includes, for example, strings of characters and numbers.

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

本発明は、以上説明したように、参照時にデータの複写
体を二つ生成し、データの編集は片方の複写体にのみ行
い、更新時にデータと編集していない方の複写体とを比
較して、他の利用者によりその時点までにデータの更新
が行われていないときだけ更新を許すので、データがロ
ックされる時間を物理的な書き込み時間だけに圧縮する
ことができ、また、データアクセスの初期時に参照か更
新かを決めなくても多重アクセスすることができる効果
がある。
As explained above, the present invention generates two copies of data at the time of reference, edits the data only in one copy, and compares the data with the unedited copy at the time of update. Since the data is only allowed to be updated if it has not been updated by another user up to that point, the time the data is locked can be reduced to just the physical writing time, and data access This has the effect of allowing multiple accesses without having to decide whether to reference or update at the initial stage.

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

第1図は本発明実施例の構成を示すブロック構成図。 第2図は本発明実施例の動作を示すフローチャート。 第3図は第1図に示したデータ記憶部の構成図。 1・・・人力手段、2・・・生成手段、3・・・データ
記憶部、4・・・編集用複写体記憶部、5・・・無編集
複写体記憶部、6・・・編集手段、7・・・比較手段、
8・・・更新手段、9・・・警告手段。
FIG. 1 is a block configuration diagram showing the configuration of an embodiment of the present invention. FIG. 2 is a flowchart showing the operation of the embodiment of the present invention. FIG. 3 is a configuration diagram of the data storage section shown in FIG. 1. DESCRIPTION OF SYMBOLS 1... Human power means, 2... Generating means, 3... Data storage section, 4... Editing copy storage section, 5... Unedited copy storage section, 6... Editing means , 7... comparison means,
8...Updating means, 9...Warning means.

Claims (1)

【特許請求の範囲】 1、データを記憶するデータ記憶部と、 このデータ記憶部に記憶されたデータの参照を指令する
第一指令および更新を指令する第二指令を入力する複数
の入力手段と を備えた多重アクセス装置において、 第一指令で参照されるデータの複写体である編集用複写
体データおよび無編集複写体データをそれぞれ生成する
生成手段と、 この生成手段で生成された編集用複写体データを編集し
て記憶する編集記憶手段と、 第二指令に応じて無編集複写体データの内容とこの無編
集複写体データの複写元であるデータ記憶部上のデータ
の内容とを比較する比較手段と、この比較手段の比較結
果が一致を示すときに、上記データ記憶部に記憶された
データの内容を上記編集記憶手段に記憶された編集用複
写体データで置換する更新手段と、 上記比較手段の比較結果が不一致を示すときに警告を発
生する警告手段と を備えたことを特徴とする多重アクセス装置。
[Claims] 1. A data storage unit that stores data; and a plurality of input means that input a first command to refer to the data stored in the data storage unit and a second command to update the data. a multiple access device comprising: generating means for respectively generating editing copy data and non-editing copy data that are copies of the data referred to in the first command; and editing copies generated by the generating means. an editing storage means for editing and storing the original data, and comparing the content of the unedited copy data with the content of the data on the data storage unit from which the unedited copy data is copied according to the second command. a comparing means; and an updating means for replacing the contents of the data stored in the data storage section with the editing copy data stored in the editing storage means when the comparison result of the comparing means indicates a match; 1. A multiple access device comprising: warning means for generating a warning when the comparison result of the comparison means shows a mismatch.
JP1176620A 1989-07-06 1989-07-06 Multiple accessing device Pending JPH0340042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1176620A JPH0340042A (en) 1989-07-06 1989-07-06 Multiple accessing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1176620A JPH0340042A (en) 1989-07-06 1989-07-06 Multiple accessing device

Publications (1)

Publication Number Publication Date
JPH0340042A true JPH0340042A (en) 1991-02-20

Family

ID=16016762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1176620A Pending JPH0340042A (en) 1989-07-06 1989-07-06 Multiple accessing device

Country Status (1)

Country Link
JP (1) JPH0340042A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8706760B2 (en) 2003-02-28 2014-04-22 Microsoft Corporation Method to delay locking of server files on edit

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5537618A (en) * 1978-09-06 1980-03-15 Fujitsu Ltd Memory controller
JPS6186831A (en) * 1984-10-03 1986-05-02 Ricoh Co Ltd Data processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5537618A (en) * 1978-09-06 1980-03-15 Fujitsu Ltd Memory controller
JPS6186831A (en) * 1984-10-03 1986-05-02 Ricoh Co Ltd Data processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8706760B2 (en) 2003-02-28 2014-04-22 Microsoft Corporation Method to delay locking of server files on edit
US9280553B2 (en) 2003-02-28 2016-03-08 Microsoft Technology Licensing, Llc Method to delay locking of server files on edit
US9594925B2 (en) 2003-02-28 2017-03-14 Microsoft Technology Licensing, Llc Method to delay locking of server files on edit

Similar Documents

Publication Publication Date Title
US6826604B2 (en) Input/output device information management system for multi-computer system
US5678040A (en) Method for managing a hierarchical design transaction
EP0339901B1 (en) Improved version management tool
US5758340A (en) System and method for controlled, multi-tiered subsetting of a data model
JPH0863342A (en) Program management method and device therefor
Brosda et al. Update and retrieval in a relational database through a universal schema interface
JPH08328933A (en) File access control system for parallel processing system
US5379407A (en) Error handling in a state-free system
JP3186117B2 (en) Automatic program generation system using data-centric software components
JPS63273961A (en) Management system for plural versions
JPH0340042A (en) Multiple accessing device
JPH04344955A (en) Temporary change method for access right
Goldstein et al. Layered Networks as a Tool for Software Development.
JPH03241440A (en) System for automatically preparing dump layout file
Ekanadham et al. Conditional capabilities
Chimenti et al. The SALAD cookbook: A user's guide
JPS63118838A (en) Method for preventing use of program duplicate
Claybrook et al. Language extensions for specifying program access control policies in programming languages
JPH02195438A (en) Recursive access detecting system in microdevelopment
Huang The implementation of relational data base management systems on micro-computers
JPH05342070A (en) File information managing method
JPH0268622A (en) Program specializing system
JPH06110763A (en) File system
Bates et al. Computerised software documentation options on the NORD-10
JPH01296346A (en) Partial compiling system by error information file