JP3711210B2 - Document editing system and program recording medium - Google Patents

Document editing system and program recording medium Download PDF

Info

Publication number
JP3711210B2
JP3711210B2 JP06627599A JP6627599A JP3711210B2 JP 3711210 B2 JP3711210 B2 JP 3711210B2 JP 06627599 A JP06627599 A JP 06627599A JP 6627599 A JP6627599 A JP 6627599A JP 3711210 B2 JP3711210 B2 JP 3711210B2
Authority
JP
Japan
Prior art keywords
editing
document
range
update
display
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 - Fee Related
Application number
JP06627599A
Other languages
Japanese (ja)
Other versions
JP2000259623A (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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP06627599A priority Critical patent/JP3711210B2/en
Publication of JP2000259623A publication Critical patent/JP2000259623A/en
Application granted granted Critical
Publication of JP3711210B2 publication Critical patent/JP3711210B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、ワードプロセッサ等の文書編集機能を有する文書編集装置がネットワークを介して接続されている文書編集システム、および、文書編集処理プログラムが記録されたプログラム記録媒体に関する。
【0002】
【従来の技術】
従来、複数の文書編集装置がネットワークで接続されてこのネットワーク上に存在する文書データを共有する文書編集システムの場合には、基本的に、文書データを排他制御するのが普通である。ここで、上記「文書データを排他制御する」とは、既に文書データがある文書編集装置によって編集されている場合には、他の文書編集装置によってその文書データを編集できないようにする制御のことである。
【0003】
しかしながら、新聞や複数の章からなる文書等、編集形態によっては複数の文書処理装置によって複数のユーザが同時に編集を行なうことが可能な文書も存在する。しかしながら、上記文書編集システムでは文書データを排他制御するために、複数の文書編集装置が平行して同一文書データに対して編集することはできない。そこで、上述のような複数の文書処理装置による平行編集が可能な編集形態を有する文書データの場合には、複数の文書編集装置が平行して編集を行うことができる文書編集システムの出現が要求されている。
【0004】
このような要求に対し、一つの文書データを各ユーザが担当する部分毎に別々の文書データに分解し、各ユーザが夫々独自に編集を行う方法が考えられる。ところが、各自の編集過程を参照することができない。また、最後に、各ユーザの編集結果を一つにまとめあげる管理作業を要する等の問題がある。
【0005】
これらの問題を解決する技術として、例えば特開平5−28138号公報に開示されているような文書編集システムが提案されている。この文書編集システムにおいては、文書を特定の編集単位で編集することを宣言し、その編集単位で同時編集の制御を行うようにしている。その場合、文書の同一箇所が同時に更新された場合に、文書データが矛盾しないように制御するようにしている。そして、文書編集システムを使用しているユーザに対して、各文書編集単位がどのような状態であるかを表示するようにしている。
【0006】
【発明が解決しようとする課題】
しかしながら、上記従来の文書編集システムにおいては、ユーザはある編集単位での編集を行うために、編集単位での編集を開始することを宣言する何らかの操作を必要とする。さらに、ユーザがある編集単位の更新を行うために、当該編集単位の編集を終了し、更新することを宣言する何らかの操作を必要とする。これらの宣言は、一般的な編集処理を行う操作とは明らかに異なる操作であるために、ユーザに対して操作の煩雑さと戸惑いを与え、文書編集システムを利用し難いものにしているという問題がある。
【0007】
また、上記文書編集システムにおいては、同時編集の制御を行うための編集単位は文書データの論理構造であり、章やページ等のある程度の大きさを有する単位としている。しかしながら、この編集単位が大き過ぎると、同時編集時においては問題となる場合もある。すなわち、図15に示すように、ユーザCがユーザAおよびユーザBよりも早く更新を終了しても(時点T1)、実際には他のユーザの更新結果を待たなければユーザCは自分の更新を確定できず他のユーザ全員が更新を終了すると(時点T2)自分の更新が終了する場合がある。このような場合に編集単位が大きいと、その編集単位の更新に掛る時間が長くなり、既に編集中の他のユーザによる各編集単位の更新を待つ時間が長くなることになる。尚、編集単位が大きいと言うことは、ネットワークを介して送る文書更新情報等のサイズも大きくなることを意味する。
【0008】
また、上記文書編集システムにおいては、ある文書編集装置の画面上で、他文書編集装置で編集中の編集単位を判別する方法として、色別に表示することによって行っている。しかしながら、一般的なワードプロセッサ等は編集機能として文字や背景に色属性を付加できる機能を有しているため、編集単位を判別するために付けられた色と編集機能によって付けられた色との区別が困難であるという問題が発生する。
【0009】
さらに、上述のような文書編集システムにおいては、ユーザは常に文書データの最新の状態を確認しつつ文書編集を行う必要がある。そして、そのためには、文書データが自動的に更新されることに呼応して表示されている文書内容を更新する必要がある。ところで、その際に、編集作業を行っている最中のユーザは、表示文書上でカーソルの位置を視認している。そのために、このカーソル位置が表示文書上で移動しないように表示されている文書内容を更新する必要がある。ところが、上記特開平5−28138号公報には、この表示文書内容の更新の処理に関しては何ら記述されてはいない。
【0010】
そこで、この発明の目的は、特殊な操作を行うことなく自動的に編集制限範囲の設定と文書更新の通知を行うことができ、編集単位が小さく、編集中の編集単位を色に因らずに表示でき、カーソル位置を移動させずに表示文書を更新できる文書編集システム、および、文書編集処理プログラムが記録されたプログラム記録媒体を提供することにある。
【0011】
【課題を解決するための手段】
上記目的を達成するため、請求項1に係る発明は、文書編集を行うための複数の文書編集装置と文書格納手段をネットワークに接続してなり,上記文書格納手段に格納された同一文書に対して上記各文書編集装置によって同時に編集可能な文書編集システムであって、上記文書編集装置は、上記ネットワークとの接続を制御して,上記ネットワークを介して他の文書編集装置に対してデータを送受する通信処理手段と、上記通信処理手段を介して上記文書格納手段から読み出された文書データを編集する文書編集処理手段と、上記文書編集処理手段によって編集位置が更新された場合に,最新の編集位置に基づいて編集位置情報を作成し,上記通信処理手段に他の文書編集装置へ通知させる編集位置通知手段と、上記通信処理手段を介して通知された編集位置情報に基づいて,通信元の文書編集装置による編集位置を含めた編集範囲を生成する編集範囲生成手段と、上記編集範囲生成手段から受け取った編集範囲が他の文書編集装置における編集範囲である場合に,上記受け取った編集範囲を編集禁止領域に指定して,上記指定内容を上記文書編集処理手段に通知する編集制御手段を備えたことを特徴としている。
【0012】
上記構成によれば、文書編集処理手段による文書編集の結果更新された編集位置に基づいて、編集位置通知手段によって編集位置情報が生成され、通信処理手段によって他の文書編集装置に通知される。この編集位置情報の通知処理は、ユーザによる文書編集の過程で自動的に行われる。そして、通信処理手段によって他の文書編集装置から通知された編集位置情報を受信すると、編集範囲生成手段によって、受信した編集位置情報に基づいて通信元の文書編集装置による編集範囲が生成される。そして、編集制御手段によって、この生成された編集範囲が編集禁止領域として指定されて上記文書編集処理手段に通知される。
【0013】
こうして、各文書編集装置間で編集位置情報を送受することによって、総ての文書編集装置の編集範囲が把握され、自動的に他の文書編集装置の編集範囲が自文書編集装置の編集禁止領域と設定される。
【0014】
また、請求項2に係る発明は、文書編集を行うための複数の文書編集装置と文書格納手段をネットワークに接続してなり,上記文書格納手段に格納された同一文書に対して上記各文書編集装置によって同時に編集可能な文書編集システムであって、上記文書編集装置は、上記ネットワークとの接続を制御して,上記ネットワークを介して他の文書編集装置に対してデータを送受する通信処理手段と、上記通信処理手段を介して上記文書格納手段から読み出された文書データを編集する文書編集処理手段と、上記文書編集処理手段によって編集位置が更新された場合に,最新の編集位置に基づいて編集位置情報を作成し,上記通信処理手段に他の文書編集装置へ通知させる編集位置通知手段と、上記通信処理手段を介して通知された編集位置情報に基づいて通信元の文書編集装置による編集位置を含めた編集範囲を生成して保持する編集範囲生成手段と、上記文書編集処理手段によって更新された編集位置が直前の編集位置に基づく現在の編集範囲を越えた場合に,上記文書編集処理手段によって更新された文書データに基づいて文書更新情報を生成し,上記通信処理手段に他の文書編集装置へ通知させる更新通知手段と、上記通信処理手段を介して通知された文書更新情報が他の文書編集装置の文書更新情報である場合に,当該文書更新情報に基づいて更新文書データを得ると共に,上記保持されている当該文書編集装置の現在の編集範囲を得,上記得られた現在の編集範囲の文書データに対する上記得られた更新文書データによる更新処理を上記文書編集処理手段に指示する文書更新手段を備えたことを特徴としている。
【0015】
上記構成によれば、文書編集処理手段による編集位置が編集範囲生成手段によって保持されている現在の編集範囲を越えると、更新通知手段によって文書更新情報が生成され、通信処理手段によって他の文書編集装置に通知される。この文書更新情報の通知処理は、ユーザによる文書編集の過程で自動的に行われる。そして、通信処理手段によって他の文書編集装置から通知された文書更新情報を受信すると、文書更新手段の指示に従って文書編集処理手段によって、編集範囲生成手段によって生成されて保持されている当該文書編集装置の編集範囲に相当する文書データが、上記受信された文書更新情報に基づく更新文書データで更新される。
【0016】
こうして、各文書編集装置間で文書更新情報を送受することによって、自動的に他の文書編集装置による文書データ更新結果が自文書編集装置によって保持されている文書データに反映される。
【0017】
また、請求項3に係る発明は、請求項1あるいは請求項2に係る発明の文書編集システムにおいて、上記編集範囲生成手段は、上記文書データ中から上記編集位置の前後に位置する改行間の文書データを抽出して上記編集範囲とする編集範囲抽出手段を備えたことを特徴としている。
【0018】
上記構成によれば、上記編集範囲生成手段の編集範囲抽出手段によって、通知された編集位置より前後の改行が検索されて改行間の文書データが抽出され、編集の単位となる上記編集範囲が生成される。その結果、章やページを編集範囲とする場合よりも上記文書更新情報のサイズが小さくなり、ネットワークの負荷が軽減される。
【0019】
また、請求項4に係る発明は、請求項1に係る発明の文書編集システムにおいて、上記文書編集装置は、文書を表示する表示手段と、上記表示手段に表示された文書中における現在の編集位置を求め,全文書データ中における現在の編集位置が上記編集禁止領域内に在る場合には,上記表示文書中における現在の編集位置に上記編集禁止領域であることを示す表示形態でカーソルを表示する一方,上記編集禁止領域内に無い場合には,上記表示文書中における現在の編集位置に上記編集禁止領域でないことを示す表示形態でカーソルを表示するカーソル表示手段を備えたことを特徴としている。
【0020】
上記構成によれば、カーソル表示手段によって、全文書データ中における現在の編集位置が上記編集禁止領域内に在る場合にはその旨を示す表示形態でカーソルが表示手段に表示される。一方、上記編集禁止領域内に無い場合にはその旨を示す表示形態でカーソルが表示される。こうして、編集禁止領域か否かが色によらずに識別される。
【0021】
また、請求項5に係る発明は、請求項2あるいは請求項3の何れか一つに係る発明の文書編集システムにおいて、上記文書編集装置は、文書を表示する表示手段と、上記通信処理手段を介して通知された文書更新情報が他の文書編集装置の文書更新情報である場合に,上記文書編集処理手段による編集の前後における文書データ長の差を求め,この差の値を用いて,上記表示手段に現在表示されているカーソルの位置が変動しないように上記文書データのスクロール位置を補正して,上記表示手段の表示文書を更新する表示文書更新手段を備えたことを特徴としている。
【0022】
上記構成によれば、上記通信処理手段によって他の文書編集装置から通知された文書更新情報を受信すると、表示文書更新手段によって、編集前後における文書データ長の差の値を用いて、現在表示されているカーソルの位置が変動しないように上記文書データのスクロール位置が補正されて上記表示手段の表示文書が更新される。こうして、上記表示手段上のカーソル位置が見掛け上動かないように表示文書が更新される。
【0023】
また、請求項6に係る発明は、ネットワークに接続された複数の文書編集装置によって同一文書に対する編集処理を同時に行うコンピュータプログラムが記憶された記憶媒体において、上記文書編集装置を、最新の編集位置に基づく編集位置情報を他の文書編集装置へ通知する編集位置通知手段と、他の文書編集装置から通知された編集位置情報を受信して,受信した編集位置情報に基づく編集位置を含めた編集範囲を編集禁止領域と指定する編集制御手段として機能させる文書編集プログラムが記憶されていることを特徴としている。
【0024】
上記構成によれば、請求項1に係る発明の場合と同様に、各文書編集装置間で編集位置情報が送受されて、総ての文書編集装置の編集範囲が把握され、自動的に他の文書編集装置の編集範囲が自文書編集装置の編集禁止領域と設定される。
【0025】
また、請求項7に係る発明は、ネットワークに接続された複数の文書編集装置によって同一文書に対する編集処理を同時に行うコンピュータプログラムが記憶された記憶媒体において、上記文書編集装置を、編集位置が直前の編集位置に基づく編集範囲を越えた場合に,更新文書データに基づく文書更新情報を他の文書編集装置へ通知する更新通知手段と、他の文書編集装置から通知された文書更新情報を受信して,受信した文書更新情報に基づく更新文書データを用いて保持している文書データを更新する文書更新手段として機能させる文書編集プログラムが記憶されていることを特徴としている。
【0026】
上記構成によれば、請求項2に係る発明の場合と同様に、各文書編集装置間で文書更新情報が送受されて、自動的に他の文書編集装置による文書データ更新結果が自文書編集装置によって保持されている文書データに反映される。
【0027】
【発明の実施の形態】
以下、この発明を図示の実施の形態により詳細に説明する。図2は、本実施の形態の文書編集システムにおける構成を示すブロック図である。また、図3は、図2におけるネットワーク1に接続された一つのコンピュータ2の構成を示すブロック図である。また、図1は、図3におけるマイクロプロセッサ5の機能ブロック図である。
【0028】
先ず、図2および図3に従って、本実施の形態における文書編集システムの概要を説明する。本文書編集システムは、図2に示すように、ネットワーク1を介して複数のコンピュータ2と共有ディスク4とが接続されている。そして、各コンピュータ2による編集の対象となる文書データ3は共有ディスク4に保存されており、各コンピュータ2によって参照可能になっている。尚、各コンピュータ2をネットワーク1に接続する方法に付いては、本実施の形態とは無関係であるので、ここでは触れない。また、ネットワーク1に接続するコンピュータ2は特に3台に限定するものではない。また、文書データ3を保存している共有ディスク4がネットワーク1上において如何様に管理されているかも本実施の形態とは無関係であるため、ここでは触れない。
【0029】
上記ネットワーク1に接続された一つのコンピュータ2は、図3に示すような構成を有している。マイクロプロセッサ5は、メモリ6に格納されている文書編集処理等のプログラムに基づいてメモリ6,ディスプレイ7,キーボード8およびネットワークコントローラ9を制御して、文書編集処理等を実行する。メモリ6は、文書データやプログラムおよびマイクロプロセッサ5が一時的に保持するデータ等を格納する。ディスプレイ7には、文書データの内容や編集状態等が表示される。キーボード8は、ユーザによって操作されて文字や編集指示等を入力する。尚、本実施の形態においては入力手段としてキーボード8を用いているが、この発明は特にキーボード8に限定されるものではなく、マウス等のポインティングデバイスも含めて入力手段として用いることも可能である。ネットワークコントローラ9は、ネットワーク1への接続を行い、他コンピュータ2とのデータ通信を行う。
【0030】
図1は、上記マイクロプロセッサ5の機能ブロック図である。マイクロプロセッサ5における各機能部は、各プログラム単位で夫々独立に動作を行うことができ、他機能部からのイベントメッセージ等の指示に基づいて動作を行うようになっている。
【0031】
表示処理部11は、表示制御部12の制御の下に、文書編集を行うためにユーザが必要とする編集画面をディスプレイ7に表示する。また、表示制御部12からの指示に従って、カーソルの表示やスクロール位置の文書データの表示等の処理を行う。上記表示制御部12は、表示処理部11に対して表示内容の更新等の処理を指示する。また、文書編集処理部13等から上記処理に必要な情報を取得する。入力処理部14は、キーボード8から入力される文書編集を行うための文字や操作指示等を処理して文書編集処理部13に渡す。
【0032】
上記文書編集処理部13は、上記入力処理部14からの入力や表示制御部12への出力を処理し、文書データ保存部15および通信処理部16と連動することによってメモリ6に読み出されたネットワーク1上の文書データ3を編集する一般的な編集処理を実行する。また、編集位置通知部18,編集制御部19,更新通知部20および文書更新部21と連動することによって、ネットワーク1上の他のコンピュータ2と同一文書を同時編集する一連の処理を実行する。文書データ保存部15は、メモリ6を制御して、文書編集処理部13の指示に従って通信処理部16を介して読み込まれた編集対象の文書データを保持する。編集範囲管理部17は、ネットワーク1に接続されている各コンピュータ2の現在のカーソル位置を受け取り、そのカーソル位置から段落間の抽出を行って各コンピュータ2の現在の編集範囲を得、その編集範囲を管理する。
【0033】
上記編集位置通知部18は、上記文書編集処理部13から自コンピュータ2における現在のカーソル位置を受け取り、編集位置情報を生成し、通信処理部16を介して他コンピュータ2に通知する。編集制御部19は、編集範囲管理部17から上記他のコンピュータ2の編集範囲を受け取り、文書編集処理部13を制御する。更新通知部20は、文書編集処理部13から現在のカーソル位置を受け取り、カーソル位置から現在の編集範囲の編集を終えたことを判断する。そうすると、その編集範囲の文書更新情報を作成し、通信処理部16を介して他のコンピュータ2に通知する。文書更新部21は、通信処理部16を介して他のコンピュータ2の文書更新情報を取得し、編集範囲管理部17からの情報に従って他のコンピュータ2の編集範囲の文書データを更新文書データで置き換える。通信処理部16は、ネットワークコントローラ9を制御することによってネットワーク1との接続を制御し、文書編集処理部13等からの指示に従ってネットワーク1を介して他のコンピュータ2に対してデータを送受する。
【0034】
上記構成の文書編集システムにおいては、上記文書編集処理部13によって、ネットワーク1上の文書データ3を通信処理部16を介して読み込み、文書データ保存部15の制御の下にメモリ6に格納する。また、文書編集処理部13は、キーボード8からユーザによって入力された文字や編集操作指示を受け取り、メモリメモリ6に格納されている文書データを更新する。さらに、文書編集処理部13は、ユーザに対して現在の編集状態を提示するために、表示制御部12に対して文書が更新されたことを通知する。そうすると、表示制御部12は、表示処理部11に対して文書データの表示位置やカーソルの表示位置を指示する。そして、表示処理部11は、上記指示に従ってディスプレイ7に文書やカーソルを表示する。この一連の編集処理に付いては、これまで実現されている通常の文書編集システムによる文書編集と何ら変わらないため、詳細な説明は省略する。
【0035】
以下、特に本実施の形態において特徴的な編集範囲管理部17,編集位置通知部18および編集制御部19の動作、および、文書編集処理部13との関連に付いて、詳細に説明する。
【0036】
上記編集範囲管理部17は、後述のごとく自他コンピュータ2の編集位置通知部18から通知された編集位置情報がネットワーク1から取得されたときに、通信処理部16からの指示によって動作する。また、メモリ6上に、コンピュータ2の識別子,そのコンピュータ2のカーソル位置,そのコンピユータ2の編集範囲を記憶するテーブルを確保している。図4は、編集範囲管理部17の処理動作を示すフロチヤートである。以下、図4に従って、編集範囲管理部17の処理動作について説明する。
【0037】
ステップS1で、取得した編集位置情報から、通知してきたコンピュータ2の識別子と現在のカーソル位置が取得される。ステップS2で、上記取得したカーソル位置を開始点にして前方向に改行が検索される。ステップS3で、上記取得したカーソル位置を開始点にして後方向に改行が検索される。ステップS4で、検索された前改行位置から後改行位置までが編集範囲として確定される。ステップS5で、上記得られた編集範囲が、上記メモリ6上のテーブルに確保されている該当コンピュータ2の編集範囲と一致するか否かが判別される。その結果、一致していればステップS8に進み、そうでなければステップS6に進む。
【0038】
ステップS6で、上記得られた編集範囲が、該当コンピュータ2の最新編集範囲としてメモリ6に格納される。ステップS7で、編集制御部19に対して該当コンピュータ2による編集範囲の更新が通知される。ステップS8で、上記ステップS1において取得されたカーソル位置が、該当コンピュータ2の最新カーソル位置としてメモリ6に格納される。そうした後、イベントが終了される。
【0039】
図5は、通知されたカーソル位置と、上記編集範囲管理部17の動作によって求められた編集範囲との関係を示している。この例では、図5(a)に示すように指定されたカーソル31の位置から、図5(b)に示すように前方向へ改行を検索して改行32を取得する一方、後方向へ改行を検索して改行33を取得でき、両改行32,33間の下線領域34が編集範囲として確定されるのである。
【0040】
上記編集範囲管理部17は、後述する編集位置通知部18からの通知を自他コンピュータ2の区別なく処理する。したがって、編集範囲管理部17によって、同じ文書データを編集している総てのコンピュータ2に関する現在のカーソル位置および編集範囲が管理されるのである。
【0041】
上記編集位置通知部18は、ユーザによって何らかの編集操作が行われたときに、文書編集処理部13からの指示によって動作する。図6は、編集位置通知部18の処理動作を示すフロチャートである。以下、図6に従って編集位置通知部18の処理動作について説明する。
【0042】
ステップS11で、上記文書編集処理部13から、編集操作後の最新のカーソル位置が取得される。ステップS12で、取得された最新のカーソル位置は編集範囲管理部17に格納されている現在のカーソル位置とは異なるか(つまり更新されたか)否かが判別される。その結果、異なる場合にはステップS13に進み、そうでなければイベントが終了される。ステップS13で、最新のカーソル位置に基づいて編集位置情報が作成される。ステップS14で、通信処理部16に対して、ネットワーク1に接続された総てのコンピュータ2ヘ上記作成された編集位置情報を通知するように指示される。そうした後、イベントが終了される。その場合、他コンピュータ2ヘ通知するカーソル位置は、結果的に自コンピュータ2に対する通知にもなり、上述したごとく、編集範囲管理部17によって処理されることになる。
【0043】
上記編集制御部19は、上記編集範囲管理部17の処理動作によって編集範囲が更新された際に、編集範囲管理部17からの指示で動作する。図7は、編集制御部19によって行われる処理動作を示すフロチャートである。以下、図7に従って編集処理部19の処理動作について説明する。
【0044】
ステップS21で、上記編集範囲管理部17から、更新された他コンピュータ2の編集範囲が取得される。ステップS22で、上記ステップS21において取得された編集範囲が編集禁止領域として指定され、文書編集処理部13に通知される。そうした後、イベントが終了される。尚、任意の範囲を編集禁止にする編集処理は、既に実例があるのでここでは説明を省略する。
【0045】
以上のごとく、上記編集範囲管理部17,編集位置通知部18および編集制御部19の処理動作によって、各コンピュータ2間で現在のカーソル位置を互いに通知し、編集領域を把握することができる。こうすることによって、他のコンピュータ2の編集領域を、宣言等の特殊な操作を必要とせずに、自動的に自コンピュータの編集禁止領域として処理することができるのである。
【0046】
次に、上記更新通知部20および文書更新部21の処理動作と、文書編集処理部13との関連について詳細に説明する。
【0047】
上記更新通知部20は、ユーザによって何らかの編集操作が行われたときに、文書編集処理部13からの指示によって動作する。図8は、更新通知部20によって行われる処理動作を示すフロチャートである。以下、図8に従って更新通知部20の処理動作について説明する。
【0048】
ステップS31で、上記文書編集処理部13から、編集操作後の最新のカーソル位置が取得される。ステップS32で、上記取得された最新のカーソル位置が、編集範囲管理部17で管理されている自コンピュータ2の現在の編集範囲を越えているか否かが判別される。その結果、越えていればステップS33に進み、そうでなければイベントが終了される。ステップS33で、更新された文書データから上記現在の編集範囲内の更新データが文書更新情報として取得される。ステップS34で、上記得られた文書更新情報をネットワーク1上のコンピュータ2ヘ通知するように、通信処理部16に対して指示される。そうした後、イベントが終了される。
【0049】
ここで、上記ステップS33における文書の更新データは、例えば、図5において編集範囲34が示す領域のデータをそのまま切り出したものとする。このように、本実施の形態においては段落間を編集範囲としているため、章やページを編集範囲とする場合よりも文書更新情報のサイズを小さくすることができ、ネットワーク1の負荷を軽減できるのである。また、ネットワーク1上へ転送するデータをさらに小さくするために、変更された部分のみを抽出して差分情報として作成することも考えられる。
【0050】
尚、この更新通知部20の動作は、上記編集位置通知部18の動作よりも時間的に先に実行される必要がある。これは、編集位置通知部18の動作によって編集範囲管理部17の持つ現在の編集範囲が、編集操作後の最新のカーソル位置で更新されてしまうためである。したがって、上記文書編集処理部13は、ユーザ操作により文書データの更新を伴った(つまり、現在の編集範囲を越える)カーソル位置の更新が発生すると、更新通知部20への通知を行った後に、編集位置通知部18への通知を行うことになる。
【0051】
上記文書更新部21は、上記更新通知部20によって通知された文書更新情報がネットワーク1から取得されたときに、通信処理部16の指示によって動作する。図9は、文書更新部21の処理動作を示すフロチャートである。以下、図9にしたがって文書更新部21の処理動作について説明する。
【0052】
ステップS41で、取得された文書更新情報から更新データが取得される。ステップS42で、上記編集範囲管理部17から、そのコンピュータ2の現在の編集範囲が得られる。ステップS43で、上記取得した更新データでその編集範囲部分を置き換えるように、文書編集処理部13に指示が出される。そうした後、イベントが終了される。
【0053】
上記文書データの置き換えに付いては、上記更新通知部20の処理動作で説明したように、文書更新情報によって通知される更新文書データは格納されている文書データと同じ形式であるため、範囲指定のカット&ペースト処理と全く同等の処理を行うことで実現できる。尚、上記カット&ペースト処理は一般的な処理であるため、ここでは説明を省略する。
【0054】
以上のごとく、上記更新通知部20及び文書更新部21の処理動作によって、各コンピュータ2間で文書データの更新データをやり取りして、宣言等の特殊な操作を必要とせずに、自動的に、他コンピュータ2による文書の更新を自コンピュータ2の文書データに反映させることができるのである。
【0055】
次に、上記表示制御部12におけるカーソル表示の処理動作について詳細に説明する。表示制御部12は、図10に示すように、文書データの総長さLaと、現在ディスプレイ7に表示されている文書データの位置(すなわち、先頭からのスクロール量Ls)とを、メモリ6に格納して保持している。図11に、表示制御部12がカーソルを表示する処理動作のフロチャートを示す。以下、図11に従って、表示制御部のカーソル表示処理動作について説明する。
【0056】
ステップS51で、上記編集範囲管理部17から、自コンピュータ2のカーソル位置(文書先頭からの行数)が得られる。ステップS52で、上記カーソル位置に基づいて、カーソルの文書先頭からの距離Lcが求められる。これは、通常、上記カーソル位置を表す行数等から求められる。ステップS53で、カーソル位置のディスプレイ7上における表示位置Ld(=Lc−Ls)が求められる。ステップS54で、カーソル位置と、編集範囲管理部17によって管理されている他コンピュータ2の編集範囲(すなわち、編集禁止範囲)とが比較される。この比較は、編集範囲管理部17によって管理されている総てのコンピュータ2に係る編集禁止範囲に対して行われる。ステップS35で、上記ステップS54での比較の結果、少なくとも一つの編集禁止範囲内にカーソル位置が入っていればステップS56に進み、そうでなければステップS57に進む。ステップS56で、上記ステップS53において求められたディスプレイ7上のカーソル位置Ldにカーソルが編集禁止状態で表示される。そうした後、イベントが終了される。ステップS57で、上記ディスプレイ7上のカーソル位置Ldにカーソルが編集可能状態で表示される。そうした後、イベントが終了される。
【0057】
以上のごとく、上記表示制御部12の処理動作によって、カーソル表示を、例えば図12に示すように、編集可能状態では黒いブロックで表示する一方、編集禁止状態では中空のブロックで表示することによって、色表示によらずに編集可能状態と編集禁止状態とを視覚的に区別できるよう表示することができるのである。
【0058】
さらに、上記表示制御部12によって実行される表示更新の処理動作について説明する。表示制御部12におけるスクロールは、上述の更新通知部18における処理動作において、文書データが更新されたときに、文書編集処理部13の指示によって動作する。表示制御部12による表示更新の処理動作のフローチャートを図13に示す。以下、図13に従って表示制御部12の表示更新処理動作について説明する。
【0059】
ステップS61で、上記文書編集処理部13から、文書データが更新された編集範囲(すなわち、更新範囲の情報)が受け取られる。ステップS62で、上記得られた更新範囲が現在のカーソル位置よりも前か否かが判別される。その結果、前であればステップS63に進み、そうでなければステップS66に進む。ステップS63で、表示更新によってスクロールが発生するためにスクロール量Lsをそのままにして表示更新を行うと画面上におけるカーソル表示位置Ldがずれてしまう。そこで、本ステップにおいて、更新された文書データの長さLa'が文書編集処理部13から取得される。ステップS64で、更新前の文書データの長さLaとの差Ldf(=La'−La)が求められる。ステップS65で、上記求められた差の値Ldfがスクロール量Lsに加算され、その加算値が新たなスクロール量Ls'(=Ls+Ldf)に補正される。ステップS66で、表示更新によってスクロールが発生することはないので、更新範囲の表示が更新される。そうした後、イベントが終了される。尚、表示更新の方法については、過去様々な方法が実現されており、本実施の形態の場合もスクロールが発生しない場合は上記方法らと何ら変わりがないため、ここでは言及しない。
【0060】
図14は、上述の処理動作を、文書データの観点から図示したものである。但し、図11(a)は更新前状態であり、図11(b)は通常の更新処理による更新後の状態であり、図11(b)は本実施の形態による更新後の状態である。図11(a)において文書更新領域(斜線部分)が更新される場合を考える。そうすると、通常の表示更新処理では、図14(b)に示すように、ディスプレイ7上のカーソル位置Ld'が、文書更新による差分Ldfだけずれてしまう。従つて、表示更新は斜線の部分に止まらず、ディスプレイ7の表示領域総てを更新しなければならない。しかしながら、上述の処理動作によってスクロール量Ls'を求め、そのスクロール量Ls'で表示更新を行えば、ディスプレイ7の表示画面上におけるカーソル位置Ld'は、Ld'=Lc'−Ls'=Lc'−Ls−Ldfである。ところが、文書データ更新後は現在のカーソル位置もやはりLdfだけ移動しており、その更新後のカーソル表示位置Lc'は、Lc'=Lc+Ldfとなる。したがって、更新後のカーソル表示位置は、Ld'=Lc'−Ls'=Lc−Lsとなり、ディスプレイ7の表示画面上のカーソル位置は、図14(c)に示すように動いていないように見えるのである。また、この場合におけるディスプレイ36上で更新しなければならない領域は、斜線の部分のみでよいことになる。
【0061】
以上のように、上記表示制御部12の表示更新処理動作によって、自動的に、文書データの更新が発生する場合でも、ユーザがディスプレイ36上で視認しているカーソル位置を表示画面上移動することなく行うことができ、ユーザの思考を中断させることなく編集を行うことができるのである。
【0062】
ところで、上記実施の形態におけるマイクロプロセッサ5による上記通信処理手段,文書編集処理手段,編集位置通知手段,編集範囲生成手段,編集制御手段,更新通知手段,文書更新手段,カーソル表示手段および表示文書更新手段としての機能は、プログラム記録媒体に記録された文書編集処理プログラムによって実現される。上記実施の形態における上記プログラム記録媒体は、図1におけるメモリ6でなるプログラムメディアである。あるいは、外部補助記憶装置が設けられている場合には、その外部補助記憶装置に装着されて読み出されるプログラムメディアであってもよい。尚、何れの場合においても、上記プログラムメディアから文書編集処理プログラムを読み出すプログラム読み出し手段は、上記プログラムメディアに直接アクセスして読み出す構成を有していてもよいし、メモリ6に設けられたプログラム記憶エリア(図示せず)にダウンロードし、上記プログラム記憶エリアにアクセスして読み出す構成を有していてもよい。尚、上記プログラムメディアからメモリ6の上記プログラム記憶エリアにダウンロードするためのダウンロードプログラムは、予め本体装置に格納されているものとする。
【0063】
ここで、上記プログラムメディアとは、本体側と分離可能に構成され、磁気テープやカセットテープ等のテープ系、フロッピーディスク,ハードディスク等の磁気ディスクやCD(コンパクトディスク)−ROM,MO(光磁気)ディスク,MD(ミニディスク),DVD(ディジタルビデオディスク)等の光ディスクのディスク系、IC(集積回路)カードや光カード等のカード系、マスクROM,EPROM(紫外線消去型ROM),EEPROM(電気的消去型ROM),フラッシュROM等の半導体メモリ系を含めた、固定的にプログラムを坦持する媒体である。
【0064】
また、上記実施の形態における文書編集システムは、インターネットを含む通信ネットワークと接続可能なシステム構成を有している。したがって、上記プログラムメディアは、通信ネットワークからのダウンロード等によって流動的にプログラムを坦持する媒体であっても差し支えない。尚、その場合における上記通信ネットワークからダウンロードするためのダウンロードプログラムは、予め本体装置に格納されているものとする。あるいは、別の記録媒体からインストールされるものとする。
【0065】
尚、上記記録媒体に記録されるものはプログラムのみに限定されるものではなく、データも記録することが可能である。
【0066】
上述のように、本実施の形態においては、ネットワーク1に接続された複数のコンピュータ2と文書データ3を保存する共有ディスク4とで構成される文書編集システムにおける上記コンピュータ2のマイクロプロセッサ5は、編集範囲管理部17,編集位置通知部18および編集制御部19を有している。そして、編集位置通知部18によって、カーソル位置が移動して編集位置が更新されると、最新カーソル位置から編集位置情報を作成して通信処理部16よりネットワーク1を介して自他総てのコンピュータ2に通知する。さらに、編集範囲管理部17によって、自コンピュータ2あるいは他コンピュータ2から通知された編集位置情報からカーソル位置を得、このカーソル位置の前後の改行で挟まれた領域を編集範囲として得る。そして、編集位置情報から得られるコンピュータ識別子に基づく通知コンピュータ2の保持編集範囲と一致しない場合には、新たな編集範囲をメモリ6に記憶すると共に、編集制御部19に通知する。また、最新のカーソル位置をメモリ6に記憶する。さらに、編集制御部19によって、編集範囲管理部17から通知された新たな編集範囲が他コンピュータ2に係るものである場合には、当該新たな編集範囲を編集禁止領域に指定するようにしている。
【0067】
したがって、上記編集範囲管理部17,編集位置通知部18および編集制御部19を搭載した各コンピュータ2間で現在のカーソル位置を互いに通知し合い、全コンピュータ2の編集領域を把握して、自動的に他コンピュータ2の編集範囲を自コンピュータ2の編集禁止領域とすることができる。すなわち、本実施の形態によれば、編集の開始時に宣言等の一般的な編集処理操作とは異なる操作を必要とはせず、自動的に編集禁止範囲の設定を行うことができるのである。
【0068】
その場合、上記編集範囲管理部17によって設定される編集範囲は新たなカーソル位置の前後の改行で挟まれた段落間の領域である。したがって、編集単位を段落単位とすることができ、上記文書更新情報のサイズを小さくしてネットワーク1の負荷を軽減できる。
【0069】
また、上記マイクロプロセッサ5は、更新通知部20および文書更新部21を有している。そして、更新通知部20によって、最新のカーソル位置が現在の編集範囲を越えた場合には、現在の編集範囲の文書データで文書更新情報を作成して通信処理部16よりネットワーク1を介して自他総てのコンピュータ2に通知する。さらに、文書更新部21によって、上記通知された文書更新情報を取得すると、取得した文書更新情報から更新文書データを得る。そして、通知したコンピュータ2の現在の編集範囲を上記更新文書データで置き換えるように、文書編集処理部13に指示ようにしている。
【0070】
したがって、上記更新通知部20および文書更新部21を搭載した各コンピュータ2間で更新文書データを互いに通知し合い、他コンピュータ2の文書更新を把握して、自動的に他コンピュータ2の文書更新内容を自コンピュータ2の文書データに反映させることができる。すなわち、本実施の形態によれば、編集領域の更新時に宣言等の一般的な編集処理操作とは異なる操作を必要とはせず、自動的に編集範囲の更新を行うことができる。
【0071】
また、上記マイクロプロセッサ5は表示制御部12を有している。そして、表示制御部12によって、取得した現在のカーソル位置に基づいてディスプレイ7上のカーソル位置と文書データの先頭からのカーソル位置とを求める。そして、上記文書データ上のカーソル位置が編集禁止範囲内にある場合には、上記ディスプレイ7上のカーソル位置に中空ブロックのカーソル38を表示する。一方、上記編集禁止範囲外にある場合には黒ブロックのカーソル37を表示するようにしている。
【0072】
したがって、本実施の形態によれば、色によらずに、カーソル位置が編集禁止範囲内であるか否かを表示することができる。したがって、文書データ中に色属性が付加されていてもカーソル位置が編集禁止範囲内に在るか否かを容易にカーソルによって識別することができる。
【0073】
また、上記表示制御部12によって、文書データの更新範囲がカーソル位置よりも前である場合に、更新前後における文書データの長さの差Ldfを求め、スクロール量LsをLs'(=Ls+Ldf)に補正するようにしている。
【0074】
したがって、文書データの更新によって文書データの長さがLdfだけ長くなった場合には、カーソル位置もLdfだけ後退する。ところが、スクロール量もLdfだけ後退するので、ディスプレイ7上におけるカーソル位置を動かすことなくディスプレイ7上の表示内容を更新できる。
【0075】
尚、本実施の形態は、上記ネットワーク1に接続されたコンピュータ2の具体的な形態については特に限定するものではなく、ワークステーションであってもワードプロセッサであっても構わない。
【0076】
【発明の効果】
以上より明らかなように、請求項1に係る発明の文書編集システムは、ネットワークに接続されて上記ネットワーク1上の同一文書に対して同時に編集可能な個々の文書編集装置に、最新の編集位置に基づいて編集位置情報を生成して通信処理手段で他の文書編集装置に通知させる編集位置通知手段と、他の文書編集装置から通知された編集位置情報に基づいて通信元の文書編集装置による編集範囲を生成する編集範囲生成手段と、この生成された編集範囲を編集禁止領域として指定して文書編集処理手段に通知する編集制御手段を備えたので、複数の文書編集装置によって上記ネットワーク上の同一の文書を同時に編集する際に、宣言等のユーザによる特別な操作を必要とせずに、自動的に、他の文書編集装置の編集範囲を自文書編集装置の編集禁止領域にすることができる。
【0077】
また、請求項2に係る発明の文書編集システムは、ネットワークに接続されて上記ネットワーク1上の同一文書に対して同時に編集可能な個々の文書編集装置に、文書編集処理手段による編集位置が編集範囲生成手段で保持されている現在の編集範囲を越えると文書更新情報を生成して通信処理手段で他の文書編集装置に通知させる更新通知手段と、他の文書編集装置から通知された文書更新情報を受信すると、当該文書編集装置の編集範囲に相当する文書データの上記受信された文書更新情報に基づく更新文書データによる更新を文書編集処理手段に指示する文書更新手段を備えたので、複数の文書編集装置によって上記ネットワーク上の同一の文書を同時に編集する際に、宣言等のユーザによる特別な操作を必要とせずに、自動的に、他の文書編集装置による文書データ更新結果を自文書編集装置が保持している文書データに反映させることができる。
【0078】
また、請求項3に係る発明の文書編集システムにおける上記編集範囲生成手段は、上記文書データ中から上記編集位置の前後に位置する改行間の文書データをを抽出して上記編集範囲とする編集範囲抽出手段を有するので、改行間の文書データを単位として上記編集範囲を設定できる。したがって、章やページを編集範囲とする場合よりも上記文書更新情報のサイズを小さくでき、ネットワークの負荷を軽減できる。
【0079】
また、請求項4に係る発明の文書編集システムにおける上記文書編集装置に、文書を表示する表示手段と、全文書データ中における現在の編集位置が上記編集禁止領域内に在る場合にはその旨を示す表示形態でカーソルを表示手段に表示する一方、上記編集禁止領域内に無い場合にはその旨を示す表示形態でカーソルを表示するカーソル表示手段を備えたので、編集しようとする領域が編集禁止領域であるか否かを、色によらずにカーソルの表示形態で識別できる。
【0080】
したがって、表示手段に表示されている文書に他の機能によって色属性が付加されていても編集禁止領域か否かを容易に判別できる。
【0081】
また、請求項5に係る発明の文書編集システムにおける上記文書編集装置に、文書を表示する表示手段と、他の文書編集装置の文書更新情報が通知された場合に、編集の前後における文書データ長の差の値を用いて現在表示されているカーソルの位置が変動しないように上記文書データのスクロール位置を補正して上記表示手段の表示文書を更新する表示文書更新手段を備えたので、上記表示手段上のカーソル位置が見掛け上動かないように、上記表示手段上の表示文書を更新できる。
【0082】
したがって、複数の文書編集装置によって上記ネットワーク上の同一の文書を同時に編集する際に、他の文書編集装置による編集に伴って自文書編集装置の表示文書が更新された場合に、位置がずれたカーソルを元の位置に戻す煩わしさが無く、ユーザの思考を中断させることがない。
【0083】
また、請求項6に係る発明の記憶媒体は、ネットワークに接続された文書編集装置を、最新の編集位置に基づく編集位置情報を他の文書編集装置へ通知する編集位置通知手段と、他の文書編集装置から通知された編集位置情報を受信して、受信した編集位置情報に基づく編集位置を含めた編集範囲を編集禁止領域と指定する編集制御手段として機能させる文書編集プログラムを記憶しているので、請求項1に係る発明の場合と同様に、複数の文書編集装置によって上記ネットワーク上の同一の文書を同時に編集する際に、宣言等のユーザによる特別な操作を必要とせずに、自動的に、他の文書編集装置の編集範囲を自文書編集装置の編集禁止領域にすることができる。
【0084】
また、請求項7に係る発明の記憶媒体は、ネットワークに接続された文書編集装置を、編集位置が直前の編集位置に基づく編集範囲を越えた場合に更新文書データに基づく文書更新情報を他の文書編集装置へ通知する更新通知手段と、他の文書編集装置から通知された文書更新情報を受信して、受信した文書更新情報に基づく更新文書データを用いて保持している文書データを更新する文書更新手段として機能させる文書編集プログラムを記憶しているので、請求項2に係る発明の場合と同様に、複数の文書編集装置によって上記ネットワーク上の同一の文書を同時に編集する際に、宣言等のユーザによる特別な操作を必要とせずに、自動的に、他の文書編集装置による文書データ更新結果を自文書編集装置が保持している文書データに反映させることができる。
【図面の簡単な説明】
【図1】 この発明の文書編集システムを構成するコンピュータにおけるマイクロプロセッサの機能ブロック図である。
【図2】 この発明の文書編集システムにおける構成を示すブロック図である。
【図3】 図2におけるネットワークに接続された一つのコンピュータの構成を示すブロック図である。
【図4】 図1における編集範囲管理部の処理動作を示すフロチヤートである。
【図5】 カーソル位置と求められる編集範囲の関係を示す図である。
【図6】 図1における文書編集処理部の処理動作を示すフロチャートである。
【図7】 図1における編集制御部によって行われる処理動作を示すフロチャートである。
【図8】 図1における更新通知部によって行われる処理動作を示すフロチャートである。
【図9】 図1における文書更新部の処理動作を示すフロチャートである。
【図10】 文書データの総長さと表示されている文書データの位置(スクロール量)との関係を示す図である。
【図11】 表示制御部によるカーソル表示処理動作のフローチャートである。
【図12】 編集可能状態でのカーソル表示例と編集禁止状態でのカーソル表示例を示す図である。
【図13】 表示制御部による表示更新制御動作のフローチャートである。
【図14】 更新前と通常の更新処理後と本実施の形態による更新処理後とのディスプレイと文書データとの状態を示す図である。
【図15】 従来の文書編集システムにおける文書更新のタイミングの一例を示す図である。
【符号の説明】
1…ネットワーク、
2…コンピュータ、 4…共有ディスク、
5…マイクロプロセッサ、 6…メモリ、
7…ディスプレイ、 8…キーボード、
9…ネットワークコントローラ、 12…表示制御部、
13…文書編集処理部、 15…文書データ保存部、
16…通信処理部、 17…編集範囲管理部、
18…編集位置通知部、 19…編集制御部、
20…更新通知部、 21…文書更新部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a document editing system in which a document editing device having a document editing function such as a word processor is connected via a network, and a program recording medium on which a document editing processing program is recorded.
[0002]
[Prior art]
Conventionally, in the case of a document editing system in which a plurality of document editing apparatuses are connected via a network and share document data existing on the network, basically, exclusive control of the document data is generally performed. Here, “exclusive control of document data” refers to a control that prevents document data from being edited by another document editing device when the document data has already been edited by a document editing device. It is.
[0003]
However, there are documents that can be edited simultaneously by a plurality of users by a plurality of document processing apparatuses depending on the editing mode, such as a newspaper or a document composed of a plurality of chapters. However, since the document editing system exclusively controls document data, a plurality of document editing devices cannot edit the same document data in parallel. Therefore, in the case of document data having an editing form that can be edited in parallel by a plurality of document processing devices as described above, the appearance of a document editing system that can be edited in parallel by a plurality of document editing devices is required. Has been.
[0004]
In response to such a request, a method is conceivable in which one piece of document data is decomposed into separate pieces of document data for each part handled by each user, and each user performs editing independently. However, I cannot refer to my editing process. Finally, there is a problem that a management operation for collecting the editing results of each user is required.
[0005]
As a technique for solving these problems, for example, a document editing system as disclosed in Japanese Patent Laid-Open No. 5-28138 has been proposed. In this document editing system, a document is declared to be edited in a specific editing unit, and simultaneous editing is controlled in that editing unit. In this case, control is performed so that the document data does not contradict when the same part of the document is updated at the same time. Then, the state of each document editing unit is displayed to the user using the document editing system.
[0006]
[Problems to be solved by the invention]
However, in the above-described conventional document editing system, in order to perform editing in a certain editing unit, the user needs some operation for declaring the start of editing in the editing unit. Furthermore, in order to update a certain editing unit, the user needs some operation to finish editing the editing unit and declare updating. Since these declarations are operations that are clearly different from operations that perform general editing processing, there is a problem in that it complicates and confuses the user and makes it difficult to use the document editing system. is there.
[0007]
In the document editing system, an editing unit for controlling simultaneous editing is a logical structure of document data, and is a unit having a certain size such as a chapter or a page. However, if this editing unit is too large, there may be a problem in simultaneous editing. That is, as shown in FIG. 15, even if the user C finishes updating earlier than the users A and B (time T1), the user C does not actually wait for the update results of other users. When all other users finish updating (time T2), their updating may end. In such a case, if the editing unit is large, the time required for updating the editing unit becomes long, and the time for waiting for the updating of each editing unit by another user who is already editing becomes long. Note that a large editing unit means that the size of document update information or the like sent via the network also increases.
[0008]
Further, in the document editing system, as a method for discriminating an editing unit being edited by another document editing apparatus on a screen of a certain document editing apparatus, display is performed by color. However, general word processors and the like have a function that can add a color attribute to characters and backgrounds as an editing function. Therefore, a distinction is made between the color assigned to determine the editing unit and the color assigned by the editing function. The problem that is difficult occurs.
[0009]
Further, in the document editing system as described above, the user needs to always edit the document while confirming the latest state of the document data. For this purpose, it is necessary to update the displayed document contents in response to the document data being automatically updated. Incidentally, at that time, the user who is performing the editing work visually recognizes the position of the cursor on the display document. Therefore, it is necessary to update the displayed document contents so that the cursor position does not move on the displayed document. However, Japanese Patent Laid-Open No. 5-28138 does not describe any processing for updating the display document content.
[0010]
Accordingly, an object of the present invention is to automatically set an editing restriction range and notify a document update without performing a special operation, and the editing unit is small, and the editing unit being edited is independent of the color. It is possible to provide a document editing system that can display a document and update a displayed document without moving the cursor position, and a program recording medium in which a document editing processing program is recorded.
[0011]
[Means for Solving the Problems]
In order to achieve the above object, the invention according to claim 1 comprises a plurality of document editing devices for document editing and a document storage means connected to a network for the same document stored in the document storage means. A document editing system capable of simultaneously editing by each of the document editing devices, wherein the document editing device controls connection to the network and transmits / receives data to / from other document editing devices via the network. Communication processing means, document editing processing means for editing document data read from the document storage means via the communication processing means, and the latest editing position when the editing position is updated by the document editing processing means. Edit position information is created based on the edit position and notified to the other document editing device by the communication processing means and the communication processing means. Editing range generation means for generating an editing range including an editing position by the communication source document editing apparatus based on the editing position information, and the editing range received from the editing range generation means is an editing range in another document editing apparatus. In this case, an editing control means is provided that designates the received editing range as an editing prohibited area and notifies the document editing processing means of the designated content.
[0012]
According to the above configuration, editing position information is generated by the editing position notifying unit based on the editing position updated as a result of document editing by the document editing processing unit, and notified to other document editing apparatuses by the communication processing unit. This editing position information notification process is automatically performed in the course of document editing by the user. When the editing position information notified from the other document editing apparatus by the communication processing means is received, the editing range generating means generates an editing range by the communication source document editing apparatus based on the received editing position information. Then, the editing control means designates the generated editing range as an editing prohibited area and notifies the document editing processing means.
[0013]
Thus, by sending and receiving editing position information between each document editing device, the editing range of all the document editing devices is grasped, and the editing range of other document editing devices is automatically set to the editing prohibited area of its own document editing device. Is set.
[0014]
According to a second aspect of the present invention, a plurality of document editing apparatuses and document storage means for performing document editing are connected to a network, and each document editing is performed on the same document stored in the document storage means. A document editing system that can be edited simultaneously by a device, wherein the document editing device controls communication with the network and transmits and receives data to and from other document editing devices via the network. A document editing processing means for editing the document data read from the document storage means via the communication processing means, and when the editing position is updated by the document editing processing means, based on the latest editing position. Edit position information is created and the communication processing means is notified to other document editing devices, and the edit position information notified via the communication processing means is based on the edit position information. Therefore, an edit range generation unit that generates and holds an edit range including an edit position by the communication source document editing apparatus, and the edit position updated by the document edit processing unit is based on the previous edit position. An update notification means for generating document update information based on the document data updated by the document edit processing means and notifying the communication processing means to another document editing apparatus, and the communication processing means. If the document update information notified through the document update information is the document update information of another document editing device, the updated document data is obtained based on the document update information and the current editing of the document editing device held above is obtained. Document updating means for obtaining a range and instructing the document editing processing means to update the obtained document data in the current editing range with the obtained updated document data. It is characterized in that was.
[0015]
According to the above configuration, when the editing position by the document editing processing unit exceeds the current editing range held by the editing range generating unit, the document update information is generated by the update notifying unit, and another document editing is performed by the communication processing unit. The device is notified. This document update information notification processing is automatically performed in the course of document editing by the user. When the document update information notified from the other document editing device is received by the communication processing unit, the document editing device generated and held by the editing range generation unit by the document editing processing unit according to the instruction of the document update unit The document data corresponding to the edit range is updated with the updated document data based on the received document update information.
[0016]
Thus, by sending and receiving the document update information between the document editing apparatuses, the document data update results by other document editing apparatuses are automatically reflected in the document data held by the own document editing apparatus.
[0017]
According to a third aspect of the present invention, in the document editing system according to the first or second aspect of the present invention, the editing range generation means is a document between line breaks positioned before and after the editing position in the document data. Extract the data to make the above editing range Edit range It is characterized by having extraction means.
[0018]
According to the above configuration, the editing range generating means Edit range The extraction means searches for line breaks before and after the notified editing position. new line The document data is extracted, and the editing range as a unit of editing is generated. As a result, the size of the document update information is smaller than when editing chapters or pages, and the load on the network is reduced.
[0019]
According to a fourth aspect of the present invention, in the document editing system according to the first aspect, the document editing apparatus includes a display unit for displaying a document, and a current editing position in the document displayed on the display unit. If the current edit position in all document data is within the edit-prohibited area, the cursor is displayed in a display form indicating the edit-prohibited area at the current edit position in the displayed document. On the other hand, it is characterized by comprising a cursor display means for displaying a cursor in a display form indicating that it is not the edit prohibited area at the current edit position in the display document when it is not within the edit prohibited area. .
[0020]
According to the above configuration, when the current editing position in all the document data is within the editing prohibited area, the cursor is displayed on the display unit in a display form indicating that. On the other hand, if it is not in the edit prohibited area, a cursor is displayed in a display form indicating that. In this way, it is discriminated whether or not it is an edit prohibited area regardless of the color.
[0021]
The invention according to claim 5 is the document editing system according to any one of claim 2 or claim 3, wherein the document editing device includes a display means for displaying a document and the communication processing means. When the document update information notified through the document editing device is the document update information of another document editing device, the difference between the document data lengths before and after editing by the document editing processing means is obtained, and the difference value is used to determine The present invention is characterized in that display document update means for correcting the scroll position of the document data so as not to change the position of the cursor currently displayed on the display means and updating the display document of the display means is provided.
[0022]
According to the above configuration, when the document update information notified from the other document editing device by the communication processing unit is received, the display document update unit displays the document update information using the difference value of the document data length before and after editing. The scroll position of the document data is corrected so that the position of the cursor is not changed, and the display document of the display means is updated. Thus, the display document is updated so that the cursor position on the display means does not seem to move.
[0023]
According to a sixth aspect of the present invention, in a storage medium storing a computer program that simultaneously performs editing processing on the same document by a plurality of document editing apparatuses connected to a network, the document editing apparatus is placed at the latest editing position. Editing position notifying means for notifying the editing position information based on other document editing apparatus, and the editing range including the editing position based on the received editing position information after receiving the editing position information notified from the other document editing apparatus Is stored in a document editing program that functions as an editing control means for designating as an editing prohibited area.
[0024]
According to the above configuration, as in the case of the invention according to claim 1, the editing position information is transmitted / received between the document editing devices, the editing range of all the document editing devices is grasped, and the other automatically The editing range of the document editing apparatus is set as the editing prohibited area of the own document editing apparatus.
[0025]
According to a seventh aspect of the present invention, there is provided a storage medium storing a computer program for simultaneously performing editing processing on the same document by a plurality of document editing apparatuses connected to a network. An update notification means for notifying other document editing devices of document update information based on updated document data when the editing range based on the editing position is exceeded, and receiving document update information notified from other document editing devices. Therefore, a document editing program that functions as document update means for updating the document data held using the updated document data based on the received document update information is stored.
[0026]
According to the above configuration, as in the case of the invention according to claim 2, document update information is transmitted / received between the respective document editing devices, and the document data update result by another document editing device is automatically sent to the own document editing device. Is reflected in the document data held by.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the illustrated embodiments. FIG. 2 is a block diagram showing a configuration of the document editing system according to the present embodiment. FIG. 3 is a block diagram showing the configuration of one computer 2 connected to the network 1 in FIG. FIG. 1 is a functional block diagram of the microprocessor 5 in FIG.
[0028]
First, the outline of the document editing system in the present embodiment will be described with reference to FIGS. In this document editing system, a plurality of computers 2 and a shared disk 4 are connected via a network 1 as shown in FIG. Document data 3 to be edited by each computer 2 is stored in the shared disk 4 and can be referred to by each computer 2. Note that the method of connecting each computer 2 to the network 1 is not related to the present embodiment and will not be described here. Further, the number of computers 2 connected to the network 1 is not particularly limited to three. Further, since how the shared disk 4 storing the document data 3 is managed on the network 1 is irrelevant to the present embodiment, it is not described here.
[0029]
One computer 2 connected to the network 1 has a configuration as shown in FIG. The microprocessor 5 controls the memory 6, the display 7, the keyboard 8, and the network controller 9 based on a program such as document editing processing stored in the memory 6 and executes document editing processing and the like. The memory 6 stores document data, programs, data temporarily held by the microprocessor 5, and the like. The display 7 displays the contents of the document data, the editing state, and the like. The keyboard 8 is operated by the user to input characters, editing instructions, and the like. In the present embodiment, the keyboard 8 is used as the input means. However, the present invention is not particularly limited to the keyboard 8 and can be used as an input means including a pointing device such as a mouse. . The network controller 9 connects to the network 1 and performs data communication with other computers 2.
[0030]
FIG. 1 is a functional block diagram of the microprocessor 5. Each function unit in the microprocessor 5 can operate independently for each program unit, and operates based on an instruction such as an event message from another function unit.
[0031]
Under the control of the display control unit 12, the display processing unit 11 displays an editing screen necessary for the user to perform document editing on the display 7. Further, in accordance with an instruction from the display control unit 12, processing such as display of a cursor and display of document data at a scroll position is performed. The display control unit 12 instructs the display processing unit 11 to perform processing such as updating display contents. Further, information necessary for the above processing is acquired from the document editing processing unit 13 or the like. The input processing unit 14 processes characters, operation instructions, and the like for performing document editing input from the keyboard 8 and passes them to the document editing processing unit 13.
[0032]
The document editing processing unit 13 processes the input from the input processing unit 14 and the output to the display control unit 12, and is read into the memory 6 by interlocking with the document data storage unit 15 and the communication processing unit 16. A general editing process for editing the document data 3 on the network 1 is executed. Further, in conjunction with the editing position notification unit 18, the editing control unit 19, the update notification unit 20, and the document update unit 21, a series of processes for simultaneously editing the same document as other computers 2 on the network 1 are executed. The document data storage unit 15 controls the memory 6 to hold the document data to be edited that has been read via the communication processing unit 16 in accordance with an instruction from the document editing processing unit 13. The editing range management unit 17 receives the current cursor position of each computer 2 connected to the network 1, performs extraction between paragraphs from the cursor position to obtain the current editing range of each computer 2, and the editing range. Manage.
[0033]
The editing position notification unit 18 receives the current cursor position in the computer 2 from the document editing processing unit 13, generates editing position information, and notifies the other computer 2 via the communication processing unit 16. The editing control unit 19 receives the editing range of the other computer 2 from the editing range management unit 17 and controls the document editing processing unit 13. The update notification unit 20 receives the current cursor position from the document editing processing unit 13, and determines that the editing of the current editing range has been completed from the cursor position. If it does so, the document update information of the edit range will be produced and it will be notified to the other computer 2 via the communication processing part 16. FIG. The document update unit 21 acquires the document update information of the other computer 2 via the communication processing unit 16 and replaces the document data in the edit range of the other computer 2 with the updated document data according to the information from the edit range management unit 17. . The communication processing unit 16 controls the connection with the network 1 by controlling the network controller 9 and transmits / receives data to / from another computer 2 via the network 1 in accordance with an instruction from the document editing processing unit 13 or the like.
[0034]
In the document editing system having the above configuration, the document editing processing unit 13 reads the document data 3 on the network 1 via the communication processing unit 16 and stores it in the memory 6 under the control of the document data storage unit 15. In addition, the document editing processing unit 13 receives characters and editing operation instructions input from the keyboard 8 by the user, and updates the document data stored in the memory memory 6. Further, the document editing processing unit 13 notifies the display control unit 12 that the document has been updated in order to present the current editing state to the user. Then, the display control unit 12 instructs the display processing unit 11 on the display position of the document data and the display position of the cursor. Then, the display processing unit 11 displays a document and a cursor on the display 7 according to the above instruction. Since this series of editing processing is not different from the document editing by the normal document editing system that has been realized so far, detailed description thereof will be omitted.
[0035]
Hereinafter, the operations of the editing range management unit 17, the editing position notification unit 18, the editing control unit 19, and the relationship with the document editing processing unit 13, which are particularly characteristic in the present embodiment, will be described in detail.
[0036]
The edit range management unit 17 operates according to an instruction from the communication processing unit 16 when the edit position information notified from the edit position notification unit 18 of the local computer 2 is acquired from the network 1 as described later. A table for storing the identifier of the computer 2, the cursor position of the computer 2, and the editing range of the computer 2 is secured on the memory 6. FIG. 4 is a flowchart showing the processing operation of the editing range management unit 17. Hereinafter, the processing operation of the editing range management unit 17 will be described with reference to FIG.
[0037]
In step S1, the notified identifier of the computer 2 and the current cursor position are acquired from the acquired editing position information. In step S2, a new line is searched forward using the acquired cursor position as a starting point. In step S3, a new line is searched backward using the acquired cursor position as a starting point. In step S4, the searched range from the previous line feed position to the subsequent line feed position is determined as the editing range. In step S5, it is determined whether or not the obtained editing range matches the editing range of the corresponding computer 2 secured in the table on the memory 6. As a result, if they match, the process proceeds to step S8, and if not, the process proceeds to step S6.
[0038]
In step S 6, the obtained editing range is stored in the memory 6 as the latest editing range of the computer 2. In step S7, the editing control unit 19 is notified of the update of the editing range by the corresponding computer 2. In step S8, the cursor position acquired in step S1 is stored in the memory 6 as the latest cursor position of the computer 2. After doing so, the event ends.
[0039]
FIG. 5 shows the relationship between the notified cursor position and the editing range obtained by the operation of the editing range management unit 17. In this example, from the position of the cursor 31 designated as shown in FIG. 5 (a), a new line is retrieved in the forward direction as shown in FIG. 5 (b), and a new line 32 is obtained. Thus, the line break 33 can be acquired and the underline area 34 between the line breaks 32 and 33 is determined as the editing range.
[0040]
The editing range management unit 17 processes a notification from an editing position notification unit 18 (to be described later) without distinguishing between the other computer 2. Therefore, the edit range management unit 17 manages the current cursor position and edit range for all the computers 2 editing the same document data.
[0041]
The editing position notification unit 18 operates according to an instruction from the document editing processing unit 13 when any editing operation is performed by the user. FIG. 6 is a flowchart showing the processing operation of the editing position notification unit 18. The processing operation of the editing position notification unit 18 will be described below with reference to FIG.
[0042]
In step S11, the latest cursor position after the editing operation is acquired from the document editing processing unit 13. In step S12, it is determined whether or not the acquired latest cursor position is different from the current cursor position stored in the editing range management unit 17 (that is, updated). As a result, if they are different, the process proceeds to step S13; otherwise, the event is terminated. In step S13, edit position information is created based on the latest cursor position. In step S14, the communication processing unit 16 is instructed to notify all the computers 2 connected to the network 1 of the created editing position information. After doing so, the event ends. In this case, the cursor position notified to the other computer 2 results in notification to the own computer 2 and is processed by the editing range management unit 17 as described above.
[0043]
The editing control unit 19 operates according to an instruction from the editing range management unit 17 when the editing range is updated by the processing operation of the editing range management unit 17. FIG. 7 is a flowchart showing processing operations performed by the editing control unit 19. The processing operation of the editing processing unit 19 will be described below with reference to FIG.
[0044]
In step S21, the edited editing range of the other computer 2 is acquired from the editing range management unit 17. In step S22, the edit range acquired in step S21 is designated as an edit prohibited area and notified to the document edit processing unit 13. After doing so, the event ends. Note that the editing process for prohibiting editing of an arbitrary range already has an actual example, and thus the description thereof is omitted here.
[0045]
As described above, by the processing operations of the editing range management unit 17, the editing position notification unit 18, and the editing control unit 19, the current cursor position can be notified to each computer 2 and the editing area can be grasped. By doing so, the editing area of the other computer 2 can be automatically processed as an editing-inhibiting area of its own computer without requiring a special operation such as declaration.
[0046]
Next, the processing operations of the update notification unit 20 and the document update unit 21 and the relationship with the document edit processing unit 13 will be described in detail.
[0047]
The update notification unit 20 operates according to an instruction from the document editing processing unit 13 when any editing operation is performed by the user. FIG. 8 is a flowchart showing processing operations performed by the update notification unit 20. The processing operation of the update notification unit 20 will be described below with reference to FIG.
[0048]
In step S31, the latest cursor position after the editing operation is acquired from the document editing processing unit 13. In step S32, it is determined whether or not the acquired latest cursor position exceeds the current editing range of the own computer 2 managed by the editing range management unit 17. As a result, if it exceeds, the process proceeds to step S33, and if not, the event ends. In step S33, update data within the current editing range is acquired from the updated document data as document update information. In step S34, the communication processing unit 16 is instructed to notify the computer 2 on the network 1 of the obtained document update information. After doing so, the event ends.
[0049]
Here, the update data of the document in step S33 is, for example, the data in the area indicated by the editing range 34 in FIG. As described above, since the editing range is set between the paragraphs in the present embodiment, the size of the document update information can be reduced as compared with the case where the editing range is a chapter or page, and the load on the network 1 can be reduced. is there. Further, in order to further reduce the data to be transferred onto the network 1, it can be considered that only the changed part is extracted and created as difference information.
[0050]
Note that the operation of the update notification unit 20 needs to be executed earlier in time than the operation of the editing position notification unit 18. This is because the current editing range of the editing range management unit 17 is updated at the latest cursor position after the editing operation by the operation of the editing position notification unit 18. Accordingly, when the cursor position update accompanied by the update of the document data (that is, exceeds the current editing range) occurs by the user operation, the document edit processing unit 13 notifies the update notification unit 20 after the update. The editing position notification unit 18 is notified.
[0051]
The document update unit 21 operates according to an instruction from the communication processing unit 16 when the document update information notified by the update notification unit 20 is acquired from the network 1. FIG. 9 is a flowchart showing the processing operation of the document update unit 21. The processing operation of the document update unit 21 will be described below with reference to FIG.
[0052]
In step S41, update data is acquired from the acquired document update information. In step S42, the current editing range of the computer 2 is obtained from the editing range management unit 17. In step S43, an instruction is issued to the document editing processing unit 13 to replace the editing range portion with the acquired update data. After doing so, the event ends.
[0053]
Regarding the replacement of the document data, as described in the processing operation of the update notification unit 20, the update document data notified by the document update information has the same format as the stored document data. This can be realized by performing processing that is exactly the same as the cut and paste processing. The cut and paste process is a general process and will not be described here.
[0054]
As described above, by the processing operations of the update notification unit 20 and the document update unit 21, the update data of the document data is exchanged between the computers 2 and automatically without requiring a special operation such as declaration, The document update by the other computer 2 can be reflected in the document data of the own computer 2.
[0055]
Next, the cursor display processing operation in the display control unit 12 will be described in detail. As shown in FIG. 10, the display control unit 12 stores the total length La of the document data and the position of the document data currently displayed on the display 7 (that is, the scroll amount Ls from the beginning) in the memory 6. And hold. FIG. 11 shows a flowchart of a processing operation in which the display control unit 12 displays a cursor. Hereinafter, the cursor display processing operation of the display control unit will be described with reference to FIG.
[0056]
In step S51, the cursor position (the number of lines from the beginning of the document) of the computer 2 is obtained from the editing range management unit 17. In step S52, the distance Lc from the beginning of the document of the cursor is obtained based on the cursor position. This is usually obtained from the number of lines representing the cursor position. In step S53, the display position Ld (= Lc-Ls) on the display 7 at the cursor position is obtained. In step S54, the cursor position is compared with the editing range (that is, the editing prohibited range) of the other computer 2 managed by the editing range management unit 17. This comparison is performed with respect to the edit prohibited range related to all the computers 2 managed by the edit range management unit 17. If it is determined in step S35 that the cursor position is within at least one edit-prohibited range as a result of the comparison in step S54, the process proceeds to step S56. Otherwise, the process proceeds to step S57. In step S56, the cursor is displayed in the edit prohibited state at the cursor position Ld on the display 7 obtained in step S53. After doing so, the event ends. In step S57, the cursor is displayed in an editable state at the cursor position Ld on the display 7. After doing so, the event ends.
[0057]
As described above, by the processing operation of the display control unit 12, the cursor display is displayed as a black block in the editable state, for example, as shown in FIG. The editable state and the edit prohibited state can be displayed so as to be visually distinguishable without depending on the color display.
[0058]
Furthermore, the display update processing operation executed by the display control unit 12 will be described. The scroll in the display control unit 12 operates according to an instruction from the document editing processing unit 13 when the document data is updated in the processing operation in the update notification unit 18 described above. A flowchart of the display update processing operation by the display control unit 12 is shown in FIG. Hereinafter, the display update processing operation of the display control unit 12 will be described with reference to FIG.
[0059]
In step S61, an edit range in which the document data is updated (that is, update range information) is received from the document edit processing unit 13. In step S62, it is determined whether or not the obtained update range is before the current cursor position. As a result, if it is before, the process proceeds to step S63, and if not, the process proceeds to step S66. In step S63, since scrolling occurs due to display updating, if the display updating is performed with the scroll amount Ls as it is, the cursor display position Ld on the screen is shifted. Therefore, in this step, the length La ′ of the updated document data is acquired from the document editing processing unit 13. In step S64, the difference Ldf (= La'-La) from the length La of the document data before update is obtained. In step S65, the obtained difference value Ldf is added to the scroll amount Ls, and the added value is corrected to a new scroll amount Ls ′ (= Ls + Ldf). In step S66, scrolling does not occur due to display update, so the display of the update range is updated. After doing so, the event ends. Note that various display update methods have been realized in the past, and in the case of this embodiment, when scrolling does not occur, there is no difference from the above method, and thus it will not be mentioned here.
[0060]
FIG. 14 illustrates the above-described processing operation from the viewpoint of document data. However, FIG. 11A shows a state before update, FIG. 11B shows a state after update by a normal update process, and FIG. 11B shows a state after update according to the present embodiment. Consider a case where the document update area (shaded portion) is updated in FIG. Then, in the normal display update process, as shown in FIG. 14B, the cursor position Ld ′ on the display 7 is shifted by the difference Ldf due to the document update. Accordingly, the display update does not stop at the shaded portion, but the entire display area of the display 7 must be updated. However, if the scroll amount Ls ′ is obtained by the above processing operation and the display is updated with the scroll amount Ls ′, the cursor position Ld ′ on the display screen of the display 7 becomes Ld ′ = Lc′−Ls ′ = Lc ′. -Ls-Ldf. However, after the document data is updated, the current cursor position is also moved by Ldf, and the updated cursor display position Lc ′ is Lc ′ = Lc + Ldf. Therefore, the updated cursor display position is Ld ′ = Lc′−Ls ′ = Lc−Ls, and the cursor position on the display screen of the display 7 does not seem to move as shown in FIG. It is. Further, in this case, the area that needs to be updated on the display 36 is only the hatched portion.
[0061]
As described above, even when the document data is automatically updated by the display update processing operation of the display control unit 12, the cursor position that the user is viewing on the display 36 is moved on the display screen. The editing can be performed without interrupting the user's thinking.
[0062]
By the way, the communication processing means, the document editing processing means, the editing position notifying means, the editing range generating means, the editing control means, the update notifying means, the document updating means, the cursor displaying means and the display document updating by the microprocessor 5 in the above embodiment. The function as means is realized by a document editing processing program recorded on a program recording medium. The program recording medium in the above embodiment is a program medium including the memory 6 in FIG. Alternatively, when an external auxiliary storage device is provided, it may be a program medium that is loaded into the external auxiliary storage device and read. In any case, the program reading means for reading the document editing processing program from the program medium may have a configuration for directly accessing and reading the program medium, or a program storage area provided in the memory 6. The program may be downloaded (not shown) and accessed and read from the program storage area. It is assumed that a download program for downloading from the program medium to the program storage area of the memory 6 is stored in the main unit in advance.
[0063]
Here, the program medium is configured to be separable from the main body side, and is a tape system such as a magnetic tape or a cassette tape, a magnetic disk such as a floppy disk or a hard disk, or a CD (compact disk) -ROM, MO (magneto-optical). Optical discs such as discs, MDs (mini discs), DVDs (digital video discs), card systems such as IC (integrated circuit) cards and optical cards, mask ROMs, EPROMs (ultraviolet erasable ROMs), EEPROMs (electrical This is a medium that carries a fixed program including a semiconductor memory system such as an erasable ROM) and a flash ROM.
[0064]
In addition, the document editing system in the above embodiment has a system configuration that can be connected to a communication network including the Internet. Therefore, the program medium may be a medium that carries the program in a fluid manner by downloading from a communication network or the like. In this case, it is assumed that a download program for downloading from the communication network is stored in the main device in advance. Or it shall be installed from another recording medium.
[0065]
It should be noted that what is recorded on the recording medium is not limited to a program, and data can also be recorded.
[0066]
As described above, in the present embodiment, the microprocessor 5 of the computer 2 in the document editing system including the plurality of computers 2 connected to the network 1 and the shared disk 4 that stores the document data 3 is: An editing range management unit 17, an editing position notification unit 18, and an editing control unit 19 are provided. When the editing position is updated by the editing position notifying unit 18 and the editing position is updated, the editing position information is created from the latest cursor position and all the other computers are communicated from the communication processing unit 16 via the network 1. 2 is notified. Further, the editing range management unit 17 obtains the cursor position from the editing position information notified from the own computer 2 or the other computer 2, and obtains the area between the line feeds before and after the cursor position as the editing range. If it does not match the retained editing range of the notification computer 2 based on the computer identifier obtained from the editing position information, the new editing range is stored in the memory 6 and notified to the editing control unit 19. The latest cursor position is stored in the memory 6. Furthermore, when the new editing range notified from the editing range management unit 17 by the editing control unit 19 is related to the other computer 2, the new editing range is designated as the editing prohibited area. .
[0067]
Therefore, the current cursor position is mutually notified between the computers 2 equipped with the editing range management unit 17, the editing position notification unit 18 and the editing control unit 19, and the editing area of all the computers 2 is grasped and automatically In addition, the editing range of the other computer 2 can be set as the editing prohibited area of the own computer 2. In other words, according to the present embodiment, an editing prohibited range can be automatically set without requiring an operation different from a general editing processing operation such as declaration at the start of editing.
[0068]
In this case, the editing range set by the editing range management unit 17 is an area between paragraphs sandwiched by line breaks before and after the new cursor position. Therefore, the editing unit can be a paragraph unit, and the load of the network 1 can be reduced by reducing the size of the document update information.
[0069]
The microprocessor 5 includes an update notification unit 20 and a document update unit 21. When the update notification unit 20 causes the latest cursor position to exceed the current editing range, document update information is created from the document data in the current editing range, and is automatically transmitted from the communication processing unit 16 via the network 1. Notify all other computers 2. Furthermore, when the notified document update information is acquired by the document update unit 21, updated document data is obtained from the acquired document update information. Then, the document editing processing unit 13 is instructed to replace the notified current editing range of the computer 2 with the updated document data.
[0070]
Therefore, the update document data is mutually notified between the computers 2 equipped with the update notification unit 20 and the document update unit 21, the document update of the other computer 2 is grasped, and the document update contents of the other computer 2 are automatically detected. Can be reflected in the document data of the own computer 2. That is, according to the present embodiment, the editing range can be automatically updated without requiring an operation different from a general editing processing operation such as a declaration when updating the editing area.
[0071]
The microprocessor 5 has a display control unit 12. Then, the display control unit 12 obtains the cursor position on the display 7 and the cursor position from the beginning of the document data based on the acquired current cursor position. When the cursor position on the document data is within the edit prohibited range, the hollow block cursor 38 is displayed at the cursor position on the display 7. On the other hand, when it is outside the edit prohibited range, a black block cursor 37 is displayed.
[0072]
Therefore, according to the present embodiment, it is possible to display whether or not the cursor position is within the edit prohibited range regardless of the color. Therefore, even if a color attribute is added to the document data, it can be easily identified by the cursor whether the cursor position is within the edit prohibited range.
[0073]
Further, when the update range of the document data is before the cursor position, the display control unit 12 obtains the difference Ldf of the length of the document data before and after the update, and the scroll amount Ls is set to Ls ′ (= Ls + Ldf). I am trying to correct it.
[0074]
Accordingly, when the length of the document data is increased by Ldf due to the update of the document data, the cursor position is also moved backward by Ldf. However, since the scroll amount is also moved backward by Ldf, the display content on the display 7 can be updated without moving the cursor position on the display 7.
[0075]
In the present embodiment, the specific form of the computer 2 connected to the network 1 is not particularly limited, and it may be a workstation or a word processor.
[0076]
【The invention's effect】
As is clear from the above, the document editing system of the invention according to claim 1 is connected to a network and can edit the same document on the network 1 at the same time. Based on the editing position information notified from the other document editing apparatus and the editing position notification means for generating the editing position information based on the editing position information and notifying the other document editing apparatus by the communication processing means Since the editing range generating means for generating the range and the editing control means for designating the generated editing range as the edit prohibited area and notifying the document editing processing means are provided, the same document on the network is provided by a plurality of document editing apparatuses. When editing multiple documents at the same time, the editing range of other document editing devices is automatically changed without requiring special operations such as declaration. It is possible to edit prohibited area.
[0077]
In the document editing system according to the second aspect of the present invention, each document editing apparatus connected to a network and capable of simultaneously editing the same document on the network 1 has an editing position by the document editing processing means as an editing range. Update notification means for generating document update information when the current edit range held by the generation means is exceeded and notifying the other document editing apparatus by the communication processing means, and document update information notified from the other document editing apparatus The document editing means for instructing the document editing processing means to update the document data corresponding to the editing range of the document editing apparatus with the updated document data based on the received document update information. When editing the same document on the network at the same time by the editing device, it is automatically performed without any special operation by the user such as declaration. Own document editing device document data update result by the document editing apparatus can be reflected in the document data held.
[0078]
The editing range generation means in the document editing system of the invention according to claim 3 extracts document data between line breaks located before and after the editing position from the document data as the editing range. Edit range Because it has extraction means new line The editing range can be set in units of document data between them. Therefore, the size of the document update information can be made smaller than when the chapter or page is set as the editing range, and the load on the network can be reduced.
[0079]
Further, in the document editing system of the document editing system according to claim 4, if the document editing apparatus displays the document and the current editing position in all document data is within the editing prohibited area, this is indicated. When the cursor is displayed on the display means in the display form indicating that the cursor is not within the edit prohibited area, the cursor display means for displaying the cursor in the display form indicating that is provided. Whether or not it is a prohibited area can be identified by the display form of the cursor regardless of the color.
[0080]
Therefore, even if a color attribute is added to the document displayed on the display means by another function, it can be easily determined whether or not the document is an edit prohibited area.
[0081]
In addition, when the document editing apparatus in the document editing system according to claim 5 is notified of display means for displaying a document and document update information of another document editing apparatus, the document data length before and after editing Display document updating means for correcting the scroll position of the document data and updating the display document of the display means so that the position of the currently displayed cursor does not fluctuate using the difference value of the display means. The display document on the display means can be updated so that the cursor position on the means does not seem to move.
[0082]
Therefore, when the same document on the network is simultaneously edited by a plurality of document editing devices, the position is shifted when the display document of the own document editing device is updated with editing by another document editing device. There is no hassle of returning the cursor to the original position, and the user's thinking is not interrupted.
[0083]
According to a sixth aspect of the present invention, there is provided a storage medium comprising: an editing position notifying unit that notifies a document editing apparatus connected to a network of editing position information based on the latest editing position to another document editing apparatus; Since the editing position information notified from the editing apparatus is received, a document editing program is stored that allows the editing range including the editing position based on the received editing position information to function as an edit control area, which is designated as an edit prohibited area. As in the case of the invention according to claim 1, when the same document on the network is simultaneously edited by a plurality of document editing apparatuses, it is automatically performed without requiring any special operation by the user such as a declaration. The editing range of the other document editing apparatus can be set to the editing prohibited area of the own document editing apparatus.
[0084]
According to a seventh aspect of the present invention, there is provided a storage medium in which a document editing apparatus connected to a network receives document update information based on updated document data when the editing position exceeds the editing range based on the immediately preceding editing position. An update notification means for notifying the document editing apparatus and the document update information notified from another document editing apparatus are received, and the stored document data is updated using the updated document data based on the received document update information. Since the document editing program that functions as the document updating means is stored, as in the case of the invention according to claim 2, when the same document on the network is simultaneously edited by a plurality of document editing devices, a declaration, etc. The result of updating the document data by another document editing device is automatically reflected in the document data held by the own document editing device without requiring any special operation by the user. It can be.
[Brief description of the drawings]
FIG. 1 is a functional block diagram of a microprocessor in a computer constituting a document editing system of the present invention.
FIG. 2 is a block diagram showing a configuration in a document editing system of the present invention.
3 is a block diagram showing a configuration of one computer connected to the network in FIG. 2. FIG.
4 is a flowchart showing the processing operation of the editing range management unit in FIG. 1. FIG.
FIG. 5 is a diagram showing a relationship between a cursor position and a required editing range.
6 is a flowchart showing the processing operation of the document editing processing unit in FIG. 1. FIG.
7 is a flowchart showing processing operations performed by the editing control unit in FIG. 1; FIG.
FIG. 8 is a flowchart showing processing operations performed by an update notification unit in FIG. 1;
FIG. 9 is a flowchart showing the processing operation of the document update unit in FIG. 1;
FIG. 10 is a diagram showing the relationship between the total length of document data and the position (scroll amount) of displayed document data.
FIG. 11 is a flowchart of a cursor display processing operation by the display control unit.
FIG. 12 is a diagram showing an example of cursor display in an editable state and an example of cursor display in an edit prohibited state.
FIG. 13 is a flowchart of a display update control operation by the display control unit.
FIG. 14 is a diagram showing the state of the display and document data before update, after normal update processing, and after update processing according to the present embodiment;
FIG. 15 is a diagram showing an example of document update timing in a conventional document editing system.
[Explanation of symbols]
1 ... Network,
2 ... computer, 4 ... shared disk,
5 ... Microprocessor, 6 ... Memory,
7 ... Display, 8 ... Keyboard,
9 ... Network controller, 12 ... Display control unit,
13 ... Document editing processing unit, 15 ... Document data storage unit,
16: Communication processing unit, 17 ... Editing range management unit,
18 ... Editing position notification unit, 19 ... Editing control unit,
20 ... Update notification unit, 21 ... Document update unit.

Claims (7)

文書編集を行うための複数の文書編集装置と文書格納手段をネットワークに接続してなり、上記文書格納手段に格納された同一文書に対して上記各文書編集装置によって同時に編集可能な文書編集システムであって、
上記文書編集装置は、
上記ネットワークとの接続を制御して、上記ネットワークを介して他の文書編集装置に対してデータを送受する通信処理手段と、
上記通信処理手段を介して上記文書格納手段から読み出された文書データを編集する文書編集処理手段と、
上記文書編集処理手段によって編集位置が更新された場合に、最新の編集位置に基づいて編集位置情報を作成し、上記通信処理手段に他の文書編集装置へ通知させる編集位置通知手段と、
上記通信処理手段を介して通知された編集位置情報に基づいて、通信元の文書編集装置による編集位置を含めた編集範囲を生成する編集範囲生成手段と、
上記編集範囲生成手段から受け取った編集範囲が他の文書編集装置における編集範囲である場合に、上記受け取った編集範囲を編集禁止領域に指定して、上記指定内容を上記文書編集処理手段に通知する編集制御手段を備えたことを特徴とする文書編集システム。
A document editing system in which a plurality of document editing apparatuses and document storage means for performing document editing are connected to a network, and the same document stored in the document storage means can be simultaneously edited by each document editing apparatus. There,
The document editing device
Communication processing means for controlling connection with the network and transmitting / receiving data to / from another document editing apparatus via the network;
Document editing processing means for editing document data read from the document storage means via the communication processing means;
Editing position notifying means for creating editing position information based on the latest editing position when the editing position is updated by the document editing processing means, and for notifying the other document editing apparatus to the communication processing means;
Editing range generation means for generating an editing range including an editing position by the document editing apparatus of the communication source based on the editing position information notified through the communication processing means;
When the editing range received from the editing range generation means is an editing range in another document editing apparatus, the received editing range is designated as an editing prohibited area, and the designated content is notified to the document editing processing means. A document editing system comprising an editing control means.
文書編集を行うための複数の文書編集装置と文書格納手段をネットワークに接続してなり、上記文書格納手段に格納された同一文書に対して上記各文書編集装置によって同時に編集可能な文書編集システムであって、
上記文書編集装置は、
上記ネットワークとの接続を制御して、上記ネットワークを介して他の文書編集装置に対してデータを送受する通信処理手段と、
上記通信処理手段を介して上記文書格納手段から読み出された文書データを編集する文書編集処理手段と、
上記文書編集処理手段によって編集位置が更新された場合に、最新の編集位置に基づいて編集位置情報を作成し、上記通信処理手段に他の文書編集装置へ通知させる編集位置通知手段と、
上記通信処理手段を介して通知された編集位置情報に基づいて、通信元の文書編集装置による編集位置を含めた編集範囲を生成して保持する編集範囲生成手段と、
上記文書編集処理手段によって更新された編集位置が直前の編集位置に基づく現在の編集範囲を越えた場合に、上記文書編集処理手段によって更新された文書データに基づいて文書更新情報を生成し、上記通信処理手段に他の文書編集装置へ通知させる更新通知手段と、
上記通信処理手段を介して通知された文書更新情報が他の文書編集装置の文書更新情報である場合に、当該文書更新情報に基づいて更新文書データを得ると共に、上記保持されている当該文書編集装置の現在の編集範囲を得、上記得られた現在の編集範囲の文書データに対する上記得られた更新文書データによる更新処理を上記文書編集処理手段に指示する文書更新手段を備えたことを特徴とする文書編集システム。
A document editing system in which a plurality of document editing apparatuses and document storage means for performing document editing are connected to a network, and the same document stored in the document storage means can be simultaneously edited by each document editing apparatus. There,
The document editing device
Communication processing means for controlling connection with the network and transmitting / receiving data to / from another document editing apparatus via the network;
Document editing processing means for editing document data read from the document storage means via the communication processing means;
Editing position notifying means for creating editing position information based on the latest editing position when the editing position is updated by the document editing processing means, and for notifying the other document editing apparatus to the communication processing means;
Edit range generation means for generating and holding an edit range including an edit position by the communication source document editing device based on the edit position information notified via the communication processing means;
When the editing position updated by the document editing processing means exceeds the current editing range based on the immediately preceding editing position, document update information is generated based on the document data updated by the document editing processing means, Update notification means for causing the communication processing means to notify other document editing devices;
When the document update information notified via the communication processing means is the document update information of another document editing apparatus, update document data is obtained based on the document update information, and the stored document edit information Characterized in that it comprises a document updating means for obtaining a current editing range of the apparatus and instructing the document editing processing means to perform an update process using the obtained updated document data for the document data in the obtained current editing range. Document editing system.
請求項1あるいは請求項2に記載の文書編集システムにおいて、
上記編集範囲生成手段は、
上記文書データ中から、上記編集位置の前後に位置する改行間の文書データを抽出して上記編集範囲とする編集範囲抽出手段を備えたことを特徴とする文書編集システム。
In the document editing system according to claim 1 or 2,
The editing range generating means
A document editing system, comprising: an editing range extracting means for extracting document data between line breaks positioned before and after the editing position from the document data and making the editing range .
請求項1に記載の文書編集システムにおいて、
上記文書編集装置は、
文書を表示する表示手段と、
上記表示手段に表示された文書中における現在の編集位置を求め、全文書データ中における現在の編集位置が上記編集禁止領域内に在る場合には、上記表示文書中における現在の編集位置に上記編集禁止領域であることを示す表示形態でカーソルを表示する一方、上記編集禁止領域内に無い場合には、上記表示文書中における現在の編集位置に上記編集禁止領域でないことを示す表示形態でカーソルを表示するカーソル表示手段を備えたことを特徴とする文書編集システム。
The document editing system according to claim 1,
The document editing device
Display means for displaying the document;
The current editing position in the document displayed on the display means is obtained, and when the current editing position in all document data is in the editing prohibited area, the current editing position in the display document is set to the current editing position. While the cursor is displayed in a display form indicating that it is an edit prohibited area, if it is not within the edit prohibited area, the cursor is displayed in a display form indicating that it is not the edit prohibited area at the current editing position in the display document A document editing system comprising cursor display means for displaying
請求項2あるいは請求項3の何れか一つに記載の文書編集システムにおいて、
上記文書編集装置は、
文書を表示する表示手段と、
上記通信処理手段を介して通知された文書更新情報が他の文書編集装置の文書更新情報である場合に、上記文書編集処理手段による編集の前後における文書データ長の差を求め、この差の値を用いて、上記表示手段に現在表示されているカーソルの位置が変動しないように上記文書データのスクロール位置を補正して、上記表示手段の表示文書を更新する表示文書更新手段を備えたことを特徴とする文書編集システム。
In the document editing system according to any one of claims 2 and 3,
The document editing device
Display means for displaying the document;
When the document update information notified via the communication processing means is the document update information of another document editing device, the difference between the document data lengths before and after editing by the document editing processing means is obtained, and the value of the difference And a display document update means for correcting the scroll position of the document data so that the position of the cursor currently displayed on the display means does not fluctuate and updating the display document of the display means. Document editing system featuring.
ネットワークに接続された複数の文書編集装置によって同一文書に対する編集処理を同時に行うコンピュータプログラムが記憶された記憶媒体において、
上記文書編集装置を、
最新の編集位置に基づく編集位置情報を他の文書編集装置へ通知する編集位置通知手段と、
他の文書編集装置から通知された編集位置情報を受信して、受信した編集位置情報に基づく編集位置を含めた編集範囲を編集禁止領域と指定する編集制御手段として
機能させる文書編集プログラムが記憶されていることを特徴とする記憶媒体。
In a storage medium storing a computer program for simultaneously performing editing processing on the same document by a plurality of document editing devices connected to a network,
The document editing device
Editing position notification means for notifying other document editing apparatus of editing position information based on the latest editing position;
A document editing program is stored that receives editing position information notified from another document editing apparatus and functions as an editing control means for designating an editing range including an editing position based on the received editing position information as an editing prohibited area. A storage medium characterized by that.
ネットワークに接続された複数の文書編集装置によって同一文書に対する編集処理を同時に行うコンピュータプログラムが記憶された記憶媒体において、
上記文書編集装置を、
編集位置が直前の編集位置に基づく編集範囲を越えた場合に、更新文書データに基づく文書更新情報を他の文書編集装置へ通知する更新通知手段と、
他の文書編集装置から通知された文書更新情報を受信して、受信した文書更新情報に基づく更新文書データを用いて保持している文書データを更新する文書更新手段として
機能させる文書編集プログラムが記憶されていることを特徴とする記憶媒体。
In a storage medium storing a computer program for simultaneously performing editing processing on the same document by a plurality of document editing devices connected to a network,
The document editing device
Update notification means for notifying other document editing devices of document update information based on updated document data when the editing position exceeds the editing range based on the immediately preceding editing position;
A document editing program that receives document update information notified from another document editing apparatus and functions as a document update unit that updates the document data held using the updated document data based on the received document update information is stored. A storage medium characterized by the above.
JP06627599A 1999-03-12 1999-03-12 Document editing system and program recording medium Expired - Fee Related JP3711210B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06627599A JP3711210B2 (en) 1999-03-12 1999-03-12 Document editing system and program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06627599A JP3711210B2 (en) 1999-03-12 1999-03-12 Document editing system and program recording medium

Publications (2)

Publication Number Publication Date
JP2000259623A JP2000259623A (en) 2000-09-22
JP3711210B2 true JP3711210B2 (en) 2005-11-02

Family

ID=13311138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06627599A Expired - Fee Related JP3711210B2 (en) 1999-03-12 1999-03-12 Document editing system and program recording medium

Country Status (1)

Country Link
JP (1) JP3711210B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009025010A1 (en) * 2007-08-21 2009-02-26 Core Appli Incorporated Data edition computer program, data edition computer system
US7941399B2 (en) * 2007-11-09 2011-05-10 Microsoft Corporation Collaborative authoring
US8825758B2 (en) 2007-12-14 2014-09-02 Microsoft Corporation Collaborative authoring modes
US8352870B2 (en) 2008-04-28 2013-01-08 Microsoft Corporation Conflict resolution
US8429753B2 (en) 2008-05-08 2013-04-23 Microsoft Corporation Controlling access to documents using file locks
US8825594B2 (en) 2008-05-08 2014-09-02 Microsoft Corporation Caching infrastructure
JP2011141814A (en) * 2010-01-08 2011-07-21 Hitachi Ltd File sharing management system
US20150288749A1 (en) * 2012-12-27 2015-10-08 Rakuten, Inc. Communication system, electronic book terminal, communication method, program, and recording medium

Also Published As

Publication number Publication date
JP2000259623A (en) 2000-09-22

Similar Documents

Publication Publication Date Title
US9436419B2 (en) Selectively printing portions of a web page based on user selection
US7085999B2 (en) Information processing system, proxy server, web page display method, storage medium, and program transmission apparatus
JP4306991B2 (en) Data processing apparatus and method, computer program, and storage medium
US6731309B1 (en) Real time preview
CN100440222C (en) System and method for text legibility enhancement
US8181104B1 (en) Automatic creation of cascading style sheets
US7966560B2 (en) Laying out web components using mounting and pooling functions
EP0109614B1 (en) Methodology for transforming a first editable document form prepared by an interactive text processing system to a second editable document form usable by an interactive or batch text processing system
JP3711210B2 (en) Document editing system and program recording medium
GB2350537A (en) Display control apparatus and storage medium
EP2437184A1 (en) Host apparatus and method of displaying content by the same
EP1821221A1 (en) Document processing device and document processing method
US20100042914A1 (en) Information processing apparatus, information processing method, and program
KR101649822B1 (en) Apparatus and method for building web-page
JP2001067342A (en) Document processor and storage medium
US6947926B2 (en) Data processing method and apparatus and storage medium
JP2002108323A (en) Information terminal and storage medium
JP4123751B2 (en) Copier
US20040051901A1 (en) Information processsing apparatus, a function extension program, computer readable storage medium storing the program, and information processing method
JP3889397B2 (en) Electronic form management server, client terminal, output data creation system, output data creation processing method and program
JP2922372B2 (en) Text processing device in the area
JP7227468B2 (en) Program, information processing system and its control method device and program processing method
JP2771095B2 (en) Character processing method
JP2004139142A (en) Information processing apparatus, its control process, medium providing control program, and control program
EP0330796A2 (en) Method for processing data of a document having multiple distributed formats

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040525

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040722

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050809

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050812

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080819

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090819

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090819

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100819

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110819

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110819

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120819

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120819

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130819

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees