JP3501968B2 - Database management device and recording medium on which the program is recorded - Google Patents
Database management device and recording medium on which the program is recordedInfo
- Publication number
- JP3501968B2 JP3501968B2 JP00703499A JP703499A JP3501968B2 JP 3501968 B2 JP3501968 B2 JP 3501968B2 JP 00703499 A JP00703499 A JP 00703499A JP 703499 A JP703499 A JP 703499A JP 3501968 B2 JP3501968 B2 JP 3501968B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- database management
- tip
- database
- order
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、通信によって、相
手とデータの内容を同一にできるデータベース管理装置
に関し、特に、同期処理時に通信あるいは処理されるデ
ータ量を削減可能なデータベース管理装置、および、そ
のプログラムが記録された記録媒体に関するものであ
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a database management device capable of making the contents of data the same as that of the other party by communication, and in particular, a database management device capable of reducing the amount of data communicated or processed during synchronization processing, and The present invention relates to a recording medium on which the program is recorded.
【0002】[0002]
【従来の技術】従来より、情報処理機器は、広く普及し
ており、近年では、例えば、デスクトップ・パソコンな
どの高性能な情報処理機器と、携帯情報端末などの携帯
性に優れた情報処理機器となど、複数の情報処理機器を
個人が所有することも珍しくない。ここで、これら複数
の情報処理機器によって、例えば、スケジュールやアド
レス帳などの個人情報を管理する場合、いずれの情報処
理機器に設けられたデータベースであっても、同一内容
のデータを持つことが要求される。したがって、例え
ば、パソコンと携帯型情報端末とで個人情報を管理する
場合を例にすると、パソコンでマスターデータベースを
管理し、当該マスターデータベースのデータを携帯型の
情報処理機器のデータベース(携帯データベース)へコ
ピーして、個人情報を持ち歩いている。2. Description of the Related Art Conventionally, information processing devices have been widely spread, and in recent years, for example, high-performance information processing devices such as desktop personal computers and information processing devices having excellent portability such as personal digital assistants. It is not unusual for individuals to own multiple information processing devices. Here, when managing personal information such as a schedule or an address book by these plural information processing devices, it is required that the databases provided in any of the information processing devices have the same data. To be done. Therefore, for example, in the case of managing personal information between a personal computer and a portable information terminal, for example, a personal database is managed by a personal computer, and the data of the master database is transferred to a portable information processing device database (portable database). I copy and carry my personal information with me.
【0003】このように、複数のデータベース管理装置
で同一のデータを管理する場合、あるデータベース管理
装置でデータが変更されると、全てのデータベース管理
装置でも、データベースを更新する必要がある。ここ
で、各データベース管理装置が常時通信可能であれば、
更新したデータベース管理装置が他のデータベース管理
装置へデータ変更を通知すれば、データ変更を即座に反
映できる。ところが、各データベース管理装置は、例え
ば、データベース管理装置が携帯情報端末の場合などの
ように、常に通信できるとは限らない。この場合、デー
タの変更時点では、他のデータベース管理装置のデータ
ベースへ当該データ変更を反映できない。したがって、
データベースの同一性を保つためには、各データベース
管理装置が通信可能になった時点で、データベースの内
容を相手と同一にするための処理、すなわち、同期処理
が必要になる。As described above, when the same data is managed by a plurality of database management devices, when the data is changed by a certain database management device, all the database management devices also need to update the databases. Here, if each database management device can always communicate,
If the updated database management device notifies another database management device of the data change, the data change can be immediately reflected. However, each database management device cannot always communicate, for example, when the database management device is a portable information terminal. In this case, when the data is changed, the data change cannot be reflected in the database of another database management device. Therefore,
In order to maintain the sameness of the databases, a process for making the contents of the database the same as that of the other party, that is, a synchronization process is required when each database management device becomes communicable.
【0004】上述の例で説明すると、携帯情報端末でデ
ータを変更した場合、携帯情報端末を自宅やオフィスな
どへ持ちかえった時点で同期処理が行われ、携帯情報端
末の携帯データベースとパソコン上のマスターデータベ
ースとの間で、データが同一になる。Explaining in the above example, when data is changed in the portable information terminal, synchronization processing is performed when the portable information terminal is moved back to the home or office, and the portable database of the portable information terminal and the master on the personal computer. The data will be the same with the database.
【0005】ここで、従来の同期処理の一例として、ダ
ウンロード/アップロードが挙げられる。具体的には、
パソコンでデータが変更された場合、マスターデータベ
ースの内容が携帯情報端末へコピーされる(ダウンロー
ド)。一方、携帯情報端末でデータが変更された場合
は、携帯データベースの内容がパソコンへコピーされる
(アップロード)。Here, download / upload can be given as an example of the conventional synchronization processing. In particular,
When the data is changed on the personal computer, the contents of the master database are copied to the mobile information terminal (download). On the other hand, when the data is changed on the mobile information terminal, the contents of the mobile database are copied (uploaded) to the personal computer.
【0006】また、他の従来例としては、和集合を用い
る同期処理が挙げられる。この同期処理では、2つのデ
ータベース管理装置が通信可能になった時点で、双方の
データベースの内容が比較され、新たなデータベースと
して、それぞれのデータベースへ追加された情報全てを
含むような和集合が作成される。その後、作成されたデ
ータベースは、双方のデータベース管理装置に格納され
る。[0006] Another conventional example is synchronization processing using a union. In this synchronization processing, when the two database management devices can communicate with each other, the contents of both databases are compared, and a new set is created as a union set containing all the information added to each database. To be done. After that, the created database is stored in both database management devices.
【0007】例えば、両データベースに、当初データ
「A」が含まれており、一方のデータベース管理装置X
で「B」のデータが追加され、他方のデータベース管理
装置Yで「C」のデータが追加された場合、データベー
ス管理装置Xは、自らが保持する内容「A+B」を、デ
ータベース管理装置Yへ送出する。一方、データベース
管理装置Yは、受け取った「A+B」と、自らが保持す
る内容「A+C」との和集合「A+B+C」を作成し、
自らのデータベースとして格納する。さらに、データベ
ース管理装置Yは、当該データベースの内容「A+B+
C」をデータベース管理装置Xへ送り返す。これによ
り、データベース管理装置Xは、自らのデータベースの
内容を、データベース管理装置Yと同じ「A+B+C」
に更新できる。For example, both databases initially contain data "A", and one database management device X
When the data of “B” is added in the above, and the data of “C” is added in the other database managing apparatus Y, the database managing apparatus X sends the content “A + B” held by itself to the database managing apparatus Y. To do. On the other hand, the database management device Y creates a union “A + B + C” of the received “A + B” and the content “A + C” held by itself,
Store as your own database. Further, the database management device Y determines that the contents of the database “A + B +
"C" is sent back to the database management device X. As a result, the database management device X sets the contents of its own database to the same “A + B + C” as the database management device Y.
Can be updated.
【0008】[0008]
【発明が解決しようとする課題】しかしながら、上記同
期処理を行う従来のデータベース管理装置では、同期処
理の際に、両データベース管理装置間を伝送されるデー
タ量(通信量)、および、各データベース管理装置にて
演算されるデータ量が極めて多いという問題を生ずる。However, in the conventional database management apparatus which performs the above-mentioned synchronization processing, the amount of data (communication amount) transmitted between both database management apparatuses and each database management in the synchronization processing. This causes a problem that the amount of data calculated by the device is extremely large.
【0009】具体的には、ダウンロード/アップロード
では、変更したデータの数に拘わらず、一方のデータベ
ースの内容全てが他方のデータベース管理装置へ送信さ
れる。例えば、1000件のデータを持つデータベース
の場合、1件のデータを変更した場合であっても、10
00件分のデータが送信される。この結果、両データベ
ース管理装置間で伝送される通信量が増大する。併せ
て、受信側のデータベース管理装置では、送信側のデー
タベースによって、データベースの内容が置き換えられ
るため、受信側でのデータ変更は、失われてしまう。Specifically, in downloading / uploading, all the contents of one database are transmitted to the other database management device regardless of the number of changed data. For example, in the case of a database having 1000 data, even if one data is changed, 10
00 data is transmitted. As a result, the amount of communication transmitted between both database management devices increases. At the same time, in the database management device on the receiving side, the contents of the database are replaced by the database on the transmitting side, so that the data change on the receiving side is lost.
【0010】また、和集合を用いた同期処理では、和集
合を作成するために、一方のデータベースが他方へ送信
され、作成された和集合が新たなデータベースとして送
り返される。このように、当該同期処理では、データベ
ースの内容全てが両データベース管理装置間を往復する
必要があり、同期処理時の通信量がさらに増大する。Further, in the synchronous processing using the union, one database is transmitted to the other in order to create the union, and the created union is sent back as a new database. As described above, in the synchronization processing, all the contents of the database have to be reciprocated between the two database management devices, which further increases the communication amount during the synchronization processing.
【0011】併せて、一方のみでデータが削除された場
合、他方のデータベースにはデータが残留している。し
たがって、新たなデータベースには、当該データが再び
含まれ、データが削除されない。この結果、データベー
スの記憶に必要なメモリ量が増大すると共に、同期処理
時の通信量がさらに増大する。In addition, when the data is deleted in only one side, the data remains in the other side database. Therefore, the new database contains the data again and the data is not deleted. As a result, the amount of memory required to store the database increases and the amount of communication during synchronization processing further increases.
【0012】これらの問題を解決するために、例えば、
特開平9−6693号公報では、同期処理の他の例とし
て、データベースに含まれる全てのデータに、変更の有
無を示す更新情報が付加されたデータベース管理装置に
ついて記載されている。具体的には、各データベース管
理装置は、データベースに含まれる各データ毎に、当該
データを識別するためのID情報と、変更なし/訂正あ
り/追加/削除を示す更新情報とを記憶しており、デー
タが変更されると、当該データに対応する更新情報を更
新している。さらに、同期処理時には、各データベース
管理装置は、全データのID情報および更新情報を相手
に通知する。一方、相手のデータベース管理装置は、受
け取ったID情報に基づいて、自らのデータベースにお
いて、当該データに対応するデータを検索し、双方の更
新情報を比較する。さらに、一方のみが変更されている
場合、変更側のデータで不変のデータを置き換える。ま
た、両方が変更されている場合は、自らのデータベース
へ、相手のデータを追加し、自らのデータを相手のデー
タベースへ追加する。これにより、いずれのデータベー
ス管理装置でもデータが変更されていない場合、当該デ
ータの送付を省略でき、同期処理時の通信量を削減でき
る。In order to solve these problems, for example,
Japanese Patent Laid-Open No. 9-6693 describes, as another example of the synchronization process, a database management device in which update information indicating whether or not there is a change is added to all data included in the database. Specifically, each database management device stores, for each data included in the database, ID information for identifying the data and update information indicating no change / correction / addition / deletion. When the data is changed, the update information corresponding to the data is updated. Furthermore, at the time of synchronization processing, each database management device notifies the other party of ID information and update information of all data. On the other hand, the counterpart database management device searches the data corresponding to the data in its own database based on the received ID information and compares the update information of both. Furthermore, when only one is changed, the unchanged data is replaced with the changing data. If both have been changed, the other party's data is added to its own database, and its own data is added to the other party's database. As a result, when the data is not changed in any of the database management devices, the sending of the data can be omitted, and the communication amount at the time of synchronization processing can be reduced.
【0013】しかしながら、上記構成であっても、デー
タベース全体でID情報と更新情報とを送受する必要が
ある。さらに、双方でデータが訂正された場合は、それ
ぞれを相手のデータベースへ追加しなければならない。
これらの結果、同期処理時の通信量を充分に削減してい
るとは言いがたい。加えて、双方でデータが訂正された
場合には、データベースに含まれるデータ数が増加して
いくので、データベースの記憶に必要なメモリ量が増大
し、同期処理時の通信量が増大する虞れがある。However, even with the above configuration, it is necessary to send and receive the ID information and the update information in the entire database. Furthermore, if the data is corrected by both parties, each must be added to the other party's database.
As a result, it is hard to say that the amount of communication during synchronization processing has been sufficiently reduced. In addition, when the data is corrected on both sides, the number of data contained in the database increases, so that the amount of memory required for storing the database increases, which may increase the communication amount during synchronization processing. There is.
【0014】本発明は、上記の問題点に鑑みてなされた
ものであり、その目的は、変更の有無の記憶に必要なメ
モリ量が少なく、かつ、同期処理時に通信および処理さ
れるデータ量をさらに削減可能なデータベース管理装置
と、そのプログラムが記録された記録媒体とを実現する
ことにある。The present invention has been made in view of the above problems, and an object of the present invention is to reduce the amount of memory required to store the presence or absence of changes, and to reduce the amount of data to be communicated and processed during synchronization processing. It is to realize a database management device that can be further reduced and a recording medium in which the program is recorded.
【0015】[0015]
【課題を解決するための手段】請求項1の発明に係るデ
ータベース管理装置は、上記の課題を解決するために、
複数のデータベース管理装置と、互いに通信可能になっ
たデータベース管理装置に格納されたデータベース間
で、対応するデータの内容を一致させる同期処理手段と
を有するデータベースシステムを構成するために設けら
れ、少なくとも1つのデータベースを有するデータベー
ス管理装置において、以下の手段を講じたことを特徴と
している。In order to solve the above-mentioned problems, a database management apparatus according to the invention of claim 1
At least one database management device is provided to configure a database system including a plurality of database management devices and a synchronization processing unit that matches the contents of corresponding data between the databases stored in the database management devices that can communicate with each other. A database management device having two databases is characterized by taking the following means.
【0016】すなわち、相手のデータベースとの共有範
囲として、自らのデータベース内に部分集合を設定する
部分集合設定手段と、少なくとも前回の同期処理終了時
に上記部分集合に含まれたデータについて、前回の同期
処理から次の同期処理までの非同期期間中に更新された
か否かを示す更新情報と、非同期期間中に上記部分集合
の内外を移動したか否かを示す移動情報とを含む状態情
報が記憶される状態情報記憶手段と、非同期期間中、対
応する状態情報が上記状態情報記憶手段に格納されてい
る各データを監視して、それぞれの状態情報を更新する
状態情報更新手段とを備えている。That is, as a shared range with the partner database, a subset setting means for setting a subset in its own database, and at least the data included in the subset at the end of the previous synchronization process are synchronized with the previous synchronization. Status information including update information indicating whether or not updated during an asynchronous period from a process to the next synchronous process and movement information indicating whether to move inside or outside the subset during the asynchronous period is stored. State information storing means and state information updating means for monitoring the respective data stored in the state information storing means for corresponding state information during the asynchronous period and updating the respective state information.
【0017】なお、状態情報は、非同期期間中における
上記各データの状態を示しているため、自らのデータベ
ースでは、同じデータであっても、相手のデータと同期
処理する時点が互いに異なっていれば、互いに別の状態
情報として記憶される。ここで、通常、各データベース
管理装置は、相手のデータベース管理装置と同期処理す
る時点を、他のデータベース管理装置に拘わらず決定で
きる。したがって、多くの場合、各データの状態情報
は、相手毎に設けられている。ただし、同期処理する時
点が常に同じであれば、相手が複数であっても、各デー
タの状態情報を共用できる。Since the state information indicates the state of each of the above-mentioned data during the asynchronous period, even if the same data is stored in its own database, the synchronization processing with the partner's data is different from each other. , Are stored as different status information. Here, normally, each database management device can determine the time point at which the synchronization process with the other database management device is performed regardless of the other database management devices. Therefore, in many cases, the status information of each data is provided for each partner. However, if the synchronization processing time is always the same, the status information of each data can be shared even if there are a plurality of parties.
【0018】上記構成によれば、状態情報記憶手段は、
前回の同期処理時に部分集合に存在するデータの状態情
報を記憶している。非同期期間中、当該状態情報は、例
えば、データの移動や削除などによってデータが部分集
合内に存在しなくなった場合であっても保持される。さ
らに、状態情報更新手段は、状態情報が状態情報記憶手
段に格納されている限り、当該状態情報に対応するデー
タを監視し、状態情報を更新する。According to the above configuration, the state information storage means is
The state information of the data existing in the subset at the time of the previous synchronization processing is stored. During the asynchronous period, the state information is retained even if the data no longer exists in the subset due to, for example, moving or deleting the data. Further, the status information updating means monitors the data corresponding to the status information and updates the status information as long as the status information is stored in the status information storage means.
【0019】したがって、次回の同期処理時の状態情報
を参照することによって、部分集合内外を移動したデー
タであっても、前回の同期処理時と次回の同期処理時と
の双方で部分集合内に存在し、かつ、両時点の間で内容
が更新(変更)されていないデータを確実に識別でき
る。ここで、当該データは、相手のデータベース管理装
置から見ると、共有範囲内で移動も更新も行われていな
いデータと同一であり、当該データによる相手のデータ
更新は不要である。この結果、当該データの識別によっ
て、相手のデータベース管理装置へ通信するデータ量を
削減でき、同期処理時に処理されるデータ量を削減でき
る。Therefore, by referring to the state information at the time of the next synchronization processing, even if the data is moved inside or outside the subset, it is included in the subset both at the time of the previous synchronization processing and at the time of the next synchronization processing. It is possible to reliably identify data that exists and whose content has not been updated (changed) between the two points of time. Here, the data is the same as the data that has not been moved or updated within the shared range as seen from the database management apparatus of the other party, and updating of the other party's data by the data is unnecessary. As a result, by identifying the data, it is possible to reduce the amount of data to be communicated to the partner database management device, and to reduce the amount of data processed during the synchronization processing.
【0020】さらに、状態情報を参照すれば、自らのデ
ータベースにて、部分集合の内外を移動しただけのデー
タを確実に識別できる。したがって、移動を識別しない
場合とは異なり、当該データを別のデータと誤って識別
して、データベースに含まれるデータ数を増加させる不
具合が発生しない。この結果、データベースのデータ量
の不所望な増加を防止でき、データベースの記憶に必要
なメモリ量と、次回の同期処理にて通信および処理され
るデータ量とを削減できる。Further, by referring to the state information, it is possible to reliably identify the data that has moved inside and outside the subset in its own database. Therefore, unlike the case where the movement is not identified, the problem that the data is erroneously identified as another data and the number of data included in the database is increased does not occur. As a result, it is possible to prevent an undesired increase in the amount of data in the database, and reduce the amount of memory required to store the database and the amount of data that is communicated and processed in the next synchronization process.
【0021】加えて、上記状態情報は、少なくとも、前
回の同期処理終了時に部分集合に含まれたデータについ
てのみ記憶すればよい。また、状態情報は、更新情報や
移動情報などから構成されており、例えば、2〜3ビッ
ト程度と、データの内容よりも極めて少ないデータ量で
表現できる。したがって、状態情報を記憶するためのメ
モリ量と、当該状態情報を処理する際の演算量とを充分
低いレベルに保つことができる。In addition, the above-mentioned state information may be stored at least only for the data included in the subset at the end of the previous synchronization processing. The state information is composed of update information, movement information, etc., and can be represented by a data amount that is extremely smaller than the content of data, for example, about 2 to 3 bits. Therefore, the amount of memory for storing the state information and the amount of calculation for processing the state information can be kept at a sufficiently low level.
【0022】なお、データベースシステムにおいて、少
なくとも1つのデータベース管理装置が状態情報を記憶
していれば、当該データベース管理装置から相手へ送ら
れるデータ量を削減できるので、上述の各効果が得られ
る。In the database system, if at least one database management device stores the status information, the amount of data sent from the database management device to the other party can be reduced, so that the above-mentioned respective effects can be obtained.
【0023】また、請求項2の発明に係るデータベース
管理装置は、請求項1記載の発明の構成において、上記
同期処理手段を備え、当該同期処理手段には、自らの共
有範囲内の各データと、上記相手の共有範囲内の各デー
タとを対応付ける対応付け手段と、対応付けられた各デ
ータの組について、自らの状態情報記憶手段に格納され
た状態情報と、相手のデータベース管理装置から受け取
った情報とに基づいて、データの内容伝送の要否を判定
する判定手段とが設けられていることを特徴としてい
る。According to a second aspect of the present invention, there is provided the database management device according to the first aspect of the present invention, further comprising the synchronization processing means, wherein the synchronization processing means stores each data within its own shared range. , The association means for associating each data within the shared range of the other party with each other, and the status information stored in the own status information storage means for each associated data set, and received from the other party's database management device. It is characterized in that a determining means for determining whether or not it is necessary to transmit the content of the data based on the information is provided.
【0024】上記構成によれば、同期処理の際、判定手
段は、少なくとも自らの状態情報記憶手段に格納された
状態情報と、相手のデータベース管理装置から受け取っ
た情報とに基づいて、データの内容伝送の要否を判定す
る。これにより、判定手段は、上述の状態情報や更新の
有無など、データの内容自体に比べてデータ量の小さな
情報に基づき、データの内容伝送よりも前の時点で、内
容伝送の要否を判定できる。この結果、同期処理の際、
各データベース管理装置間で伝送されるデータ量、およ
び、それぞれで処理されるデータ量を削減できる。According to the above configuration, the determination means, at the time of the synchronization processing, determines the content of the data based on at least the status information stored in its own status information storage means and the information received from the partner database management device. Determine the need for transmission. With this, the determination means determines whether or not the content transmission is necessary at a time point before the content transmission of the data, based on the information having a smaller data amount than the content of the data itself such as the above-mentioned status information and the presence / absence of update. it can. As a result, during synchronization processing,
The amount of data transmitted between each database management device and the amount of data processed by each can be reduced.
【0025】さらに、請求項3の発明に係るデータベー
ス管理装置は、請求項2記載の発明の構成において、上
記判定手段には、互いに対応付けられた各データの組に
ついて、部分集合内へ移動し、現在部分集合内に存在す
ることを示す状態情報が少なくとも一つのデータベース
管理装置に記憶されている場合、および、自らの状態情
報が部分集合内を示し、かつ、上記相手のデータベース
管理装置から、当該データ組を構成するデータが共有範
囲内に存在していると通知された場合は、当該データ組
に対応する状態情報を部分集合内に設定し、残余の場合
は、部分集合外に設定する内外判定同期手段が設けられ
ていることを特徴としている。Further, in the database management apparatus according to the third aspect of the present invention, in the configuration of the second aspect of the present invention, the determination means moves to the subset for each data set associated with each other. , If the state information indicating that it currently exists in the subset is stored in at least one database management device, and the state information of its own indicates in the subset, and from the other database management device, If it is notified that the data that makes up the data set is within the shared range, the status information corresponding to the data set is set in the subset, and if it is the rest, it is set outside the subset. The inside / outside determination synchronization means is provided.
【0026】上記構成によれば、同期処理の際、内外判
定同期手段は、少なくとも自らの状態情報記憶手段に格
納された状態情報と、相手の状態情報あるいは更新の有
無とに基づいて、対応するデータ組が共有範囲内に存在
するか否かを判定し、例えば、自らの状態情報や、存在
する場合は相手の状態情報など、当該データ組に対応す
る状態情報を部分集合内か、部分集合外かに設定する。
これにより、同期処理手段は、上述の状態情報や更新の
有無などのデータ量の小さな情報によって、各データが
共有範囲内に存在するか否かを判定できる。この結果、
同期処理の際、各データベース管理装置間で伝送される
データ量、および、それぞれで処理されるデータ量を削
減できる。According to the above construction, the inside / outside determination synchronizing means responds at the time of synchronization processing based on at least the state information stored in its own state information storage means and the other party's state information or the presence / absence of update. It is determined whether the data set exists within the shared range, and the status information corresponding to the data set, such as its own status information and the status information of the other party if it exists, is in the subset or a subset. Set it outside.
Thereby, the synchronization processing means can determine whether or not each data exists within the shared range based on the above-mentioned state information and information with a small data amount such as the presence or absence of update. As a result,
At the time of synchronization processing, the amount of data transmitted between the database management devices and the amount of data processed by each can be reduced.
【0027】また、部分集合内か否かの判定結果は、状
態情報などとして、各データ組毎に格納される。また、
判定中に伝送されるデータ量は、データの内容自体に比
べれば極めて少なく、データ組それぞれの判定は、極め
て短時間で終了する。したがって、例えば、通信の切断
などによって、全てのデータ組の判定が終了するまで
に、同期処理が中断される場合であっても、それまでの
判定結果は、保存される。さらに、判定後の状態情報に
基づいて再度判定しても、判定結果が変化しないので、
内外判定同期手段は、同期処理が中断されたか否かに拘
わらず、何ら支障なく、同期処理を再開できる。このよ
うに、各判定の独立性が高いので、通信によって同期処
理を行う場合のように、同期処理が中断される虞れがあ
るデータベースシステムであっても、各データベース間
の整合性を確実に保つことができる。Further, the result of determination as to whether or not it is within the subset is stored for each data set as state information and the like. Also,
The amount of data transmitted during the determination is extremely small compared to the content of the data itself, and the determination of each data set is completed in an extremely short time. Therefore, even if the synchronization process is interrupted by the time the determination of all the data sets is completed due to, for example, disconnection of communication, the determination results up to that point are saved. Furthermore, even if it is judged again based on the status information after judgment, the judgment result does not change, so
The inside / outside determination synchronization means can restart the synchronization processing without any trouble regardless of whether the synchronization processing is interrupted. In this way, since the independence of each judgment is high, it is possible to ensure the consistency between the databases even in a database system in which the synchronization process may be interrupted, as in the case where the synchronization process is performed by communication. Can be kept.
【0028】一方、請求項4の発明に係るデータベース
管理装置は、請求項2または3記載の発明の構成におい
て、上記判定手段には、互いに対応するデータの組のう
ち、少なくとも、同期処理後に共有範囲内に存在するデ
ータ組それぞれについて、当該データ組に対応する状態
情報が更新を示している場合、および、上記相手のデー
タベース管理装置から、当該データ組を構成するデータ
の更新を通知された場合に、当該データ組のうちのいず
れのデータを優先するかを判定する優先側判定手段と、
当該優先側判定手段が優先するデータを決定した場合
は、優先するデータの内容で、非優先側のデータの内容
を置き換えるデータ内容同期手段とが設けられているこ
とを特徴としている。On the other hand, in the database management apparatus according to a fourth aspect of the present invention, in the configuration of the second or third aspect of the invention, the determining means shares at least at least one of the data sets corresponding to each other after the synchronization processing. For each data set existing in the range, if the status information corresponding to the data set indicates an update, and if the other database management device notifies the update of the data that constitutes the data set. A priority side determination means for determining which data of the data set has priority,
When the prioritized side determination means determines the data to be prioritized, the data content synchronization means for replacing the content of the data on the non-priority side with the content of the prioritized data is provided.
【0029】上記構成によれば、同期処理の際、優先側
判定手段は、上記データ組について、少なくとも自らの
状態情報記憶手段に格納された状態情報と、相手の状態
情報あるいは更新の有無とに基づいて、優先側を判定す
る必要があるか否かを判断し、優先側を判定する。それ
ゆえ、極めて少ないデータ量で、優先側判定の要否を判
定できる。さらに、データ内容同期手段は、優先側を決
定できた場合、優先側のデータの内容で非優先側のデー
タの内容を置き換える。したがって、対応するデータ
が、各データベース管理装置それぞれで更新された場合
(データが衝突した場合)であっても、優先側を判定で
きれば、データベースに含まれるデータの増加を抑制で
きる。また、各データ組毎に判定されるので、データベ
ースの全てのデータを通信するよりも、データ量を大幅
に削減できる。さらに、データの置き換えは、1つのデ
ータベース管理装置からデータを送出するだけでよく、
双方向の通信が不要になる。これらの結果、同期処理の
際に、通信あるいは処理されるデータ量を削減できる。According to the above configuration, in the synchronization processing, the priority side determination means determines at least the status information stored in the status information storage means of itself and the status information of the other party or the presence / absence of update of the data set. Based on this, it is determined whether the priority side needs to be determined, and the priority side is determined. Therefore, it is possible to determine the necessity of the priority side determination with an extremely small amount of data. Further, when the priority side can be determined, the data content synchronization means replaces the content of the non-priority side data with the content of the priority side data. Therefore, even if the corresponding data is updated in each database management device (when the data collide), if the priority side can be determined, the increase in the data contained in the database can be suppressed. Further, since the determination is made for each data set, the amount of data can be significantly reduced as compared with the case of communicating all the data in the database. Furthermore, replacement of data only requires sending the data from one database management device,
Two-way communication becomes unnecessary. As a result, it is possible to reduce the amount of data to be communicated or processed during the synchronization processing.
【0030】ここで、データの内容は、上記状態情報な
どに比べれば、比較的データ量が大きいので、転送中に
同期処理が中断されると、非優先側のデータ内容が消失
する虞れがある。ところが、この場合であっても、優先
側のデータ内容と、例えば、状態情報など、優先側判定
手段が参照する情報とが保持されている。したがって、
同期処理の再開後に、優先側のデータ内容を再送すれ
ば、何ら支障なく、同期処理できる。この結果、同期処
理が中断される虞れがあるデータベースシステムであっ
ても、各データベース間の整合性を確実に保つことがで
きる。Here, since the data content has a relatively large amount of data as compared with the above-mentioned status information, if the synchronization process is interrupted during the transfer, the data content on the non-priority side may be lost. is there. However, even in this case, the data content on the priority side and the information referred to by the priority determination unit, such as the state information, are held. Therefore,
If the data content of the priority side is retransmitted after the synchronization processing is restarted, the synchronization processing can be performed without any trouble. As a result, even in a database system in which the synchronization process may be interrupted, the consistency between the databases can be reliably maintained.
【0031】なお、上記優先側判定手段が優先側を判定
する際、データの内容など、状態情報以外のデータを参
照する場合、通信されるデータ量が増加し、判定に要す
る時間が増大しがちである。この場合には、同期処理後
に共有範囲内に存在するデータ組についてのみ、優先側
を判定すれば、データ組全てで優先側を判定する場合に
比べて、判定に要する時間を短縮できる。When the priority side determination means determines the priority side, if data other than status information such as data content is referred to, the amount of data to be communicated increases and the time required for the determination tends to increase. Is. In this case, if the priority side is determined only for the data sets existing within the shared range after the synchronization processing, the time required for the determination can be shortened compared to the case where the priority side is determined for all the data sets.
【0032】さらに、請求項5の発明に係るデータベー
ス管理装置は、請求項3記載の発明の構成において、上
記判定手段には、上記内外判定同期手段による設定に基
づいて、同期処理後に共有範囲内に存在するデータ組を
識別し、当該データ組それぞれについて、当該データ組
に対応する状態情報が更新を示している場合、および、
上記相手のデータベース管理装置から、当該データ組を
構成するデータの更新を通知された場合に、当該データ
組のうちのいずれのデータを優先するかを判定する優先
側判定手段と、当該優先側判定手段が優先するデータを
決定した場合は、優先するデータの内容で、非優先側の
データの内容を置き換えるデータ内容同期手段が設けら
れていることを特徴としている。Further, in the database management apparatus according to a fifth aspect of the present invention, in the configuration of the third aspect of the invention, the determination means is within the shared range after the synchronization processing based on the setting by the inside / outside determination synchronization means. If the status information corresponding to the data set indicates an update for each of the data set, and
A priority side determination means for determining which data in the data set is to be prioritized when the update of the data forming the data set is notified from the partner database management device, and the priority side determination means When the means determines the data to be prioritized, a data content synchronization means for replacing the content of the data on the non-priority side with the content of the prioritized data is provided.
【0033】上記構成によれば、優先側判定手段は、同
期処理後に共有範囲内に存在するデータ組についての
み、優先側を判定できる。さらに、上記優先側判定手段
は、内外判定同期手段の判定結果に基づいて、当該デー
タ組を識別する。したがって、対応するデータ組全てで
優先側を判定する場合、あるいは、内外判定同期手段の
判定とは別に、共有範囲内に存在するか否かを判定する
場合に比べて、判定時間を短縮できる。According to the above configuration, the priority side determination means can determine the priority side only for the data set existing within the shared range after the synchronization processing. Further, the priority side determination means identifies the data set based on the determination result of the inside / outside determination synchronization means. Therefore, the determination time can be shortened as compared with the case where the priority side is determined for all the corresponding data sets, or the case where it is determined whether or not it exists within the shared range separately from the determination by the inside / outside determination synchronization means.
【0034】一方、請求項6の発明に係るデータベース
管理装置は、上記課題を解決するために、複数のデータ
ベース管理装置と、互いに通信可能になったデータベー
ス管理装置に格納されたデータベース間で、対応するデ
ータの内容を一致させる同期処理手段とを有するデータ
ベースシステムを構成するために設けられ、少なくとも
1つのデータベースを有するデータベース管理装置にお
いて、以下の手段を講じたことを特徴としている。On the other hand, in order to solve the above-mentioned problems, a database management apparatus according to a sixth aspect of the present invention corresponds to a plurality of database management apparatuses and a database stored in the database management apparatus which can communicate with each other. The database management apparatus is provided for constructing a database system having a synchronization processing means for matching the contents of data to be processed, and is characterized in that the following means are taken in a database management device having at least one database.
【0035】すなわち、少なくとも自らの共有範囲に含
まれているデータの順序を記憶すると共に、前回の同期
処理では、各データの順序が相手と同一に設定される順
序記憶手段と、上記順序のうち、前回の同期処理での末
尾の順位を示す対応済順位を記憶する対応済順位記憶手
段と、前回の同期処理から次の同期処理までの非同期期
間中は、上記順序記憶手段が格納する順序のうち、上記
対応済順位および当該対応済順位よりも前の順序を保持
すると共に、非同期期間中に自らの共有範囲へ新たに含
まれたデータは、上記対応済順位よりも後になるよう
に、各データの順序を管理する順序管理手段とを備えて
いる。That is, at least the order of data included in its own shared range is stored, and in the previous synchronization processing, the order storage means for setting the order of each data to be the same as that of the other party, and the above order. , The processed order storing means for storing the processed order indicating the last order in the previous synchronization processing, and the order stored by the order storage means during the asynchronous period from the previous synchronization processing to the next synchronization processing. Among them, the above-mentioned corresponded rank and the order prior to the corresponding rank are maintained, and the data newly included in its own shared range during the non-synchronization period is set so as to come after the corresponding rank. An order management means for managing the order of the data is provided.
【0036】なお、データの順序は、請求項1記載の状
態情報と同様、自らのデータベースでは同じデータであ
っても、相手のデータと同期処理する時点が互いに異な
っていれば、互いに別の順序が記憶される。また、順序
の格納方法は、各順位のデータを特定できる格納方法で
あればよく、例えば、データを示す情報が格納される順
序として格納してもよいし、各データ毎に、順序を示す
情報を付加してもよい。さらに、データを示す情報をリ
スト状に記憶することもできる。As in the case of the status information described in claim 1, even if the data is the same in its own database, it will be in a different order from each other if the points of time for synchronous processing with the data of the other party are different. Is memorized. Further, the order storage method may be any storage method that can specify the data of each rank, and for example, may be stored as the order in which the information indicating the data is stored, or the information indicating the order for each data. May be added. Further, information indicating data can be stored in a list.
【0037】上記構成によれば、同期処理が終了した時
点において、各データベース管理装置の順序記憶手段
は、対応するデータの順序が互いに同一になるように、
上記各データの順序を記憶している。また、対応済順位
記憶手段には、末尾のデータの順位が格納される。According to the above arrangement, the order storage means of each database management device is arranged so that the order of the corresponding data will be the same when the synchronization processing is completed.
The order of each of the above data is stored. In addition, the order of the last data is stored in the corresponding order storage means.
【0038】一方、非同期期間では、各データベース管
理装置の順序管理手段は、例えば、削除や移動などによ
って、順序管理手段に格納された順序に対応するデータ
が共有範囲に存在しなくなった場合であっても、当該デ
ータの順位が対応済順位と同じか、それより前の順位で
あれば、当該データの順序を保持しつづける。また、新
規作成や移動などにより、共有範囲に新たに含まれたデ
ータは、対応済順位よりも後になるように、各データの
順序を管理する。これにより、非同期期間中であって
も、各データベース管理装置の順序記憶手段間で、対応
するデータの順位は、互いに同一に保たれる。On the other hand, in the asynchronous period, the order management means of each database management device may be in the case where the data corresponding to the order stored in the order management means does not exist in the shared range due to, for example, deletion or movement. However, if the rank of the data is the same as the corresponding rank or earlier, the order of the data is maintained. Also, the order of each data is managed such that the data newly included in the shared range due to new creation or movement is after the corresponding order. Thus, even during the asynchronous period, the order of corresponding data is kept the same among the order storage means of each database management device.
【0039】上記構成では、各データベース管理装置
は、自らに格納されたデータの順序として対応関係を記
憶している。したがって、対応先のデータを示す対応情
報で対応関係を記憶する場合とは異なり、各データベー
ス管理装置は、他のデータベース管理装置におけるデー
タの格納方法に拘わらず、自らに適した格納方法で対応
関係を記憶できる。これにより、対応情報で記憶する場
合よりも、対応関係の記憶に必要なメモリ量と、同期処
理時の演算量とを削減できる。In the above configuration, each database management device stores the correspondence as the order of the data stored in itself. Therefore, unlike the case where the correspondence relationship is stored with the correspondence information indicating the corresponding data, each database management apparatus uses the storage method suitable for itself, regardless of the data storage method in the other database management apparatus. Can remember As a result, it is possible to reduce the amount of memory required to store the correspondence relationship and the amount of calculation during the synchronization processing, as compared with the case of storing the correspondence information.
【0040】加えて、同期処理の際、例えば、順序を示
す情報、あるいは、データを示す情報(状態情報など)
を送出する順序などによって、相手に対応関係を通知で
きる。したがって、上記対応情報を伝送せずに対応関係
を特定でき、対応情報を伝送する場合に比べて、伝送あ
るいは処理されるデータ量を削減できる。In addition, at the time of synchronization processing, for example, information indicating a sequence or information indicating data (state information, etc.)
The correspondence relationship can be notified to the other party by the order of sending the. Therefore, the correspondence relationship can be specified without transmitting the correspondence information, and the amount of data to be transmitted or processed can be reduced as compared with the case of transmitting the correspondence information.
【0041】さらに、請求項7の発明に係るデータベー
ス管理装置は、請求項6記載の発明の構成において、上
記同期処理手段を備え、当該同期処理手段は、上記相手
のデータベースが格納された相手のデータベース管理装
置と通信して同期処理すると共に、当該同期処理手段に
は、自らの共有範囲内に存在するデータのうち、上記順
序記憶手段に格納された順位が上記対応済順位より後の
データを、相手の共有範囲に追加するデータ追加手段
と、相手の共有範囲へ追加したデータについて、自らの
順序記憶手段に記憶された順位と、相手の順序記憶手段
に記憶された順位とが一致し、かつ、それぞれの順位が
未だ対応付けられていないデータの順位よりも前になる
ように、自らおよび相手の順序記憶手段の少なくとも1
つを更新する追加データ対応付手段と、上記対応済順位
を更新する対応済順位更新手段とを備えていることを特
徴としている。なお、一度の処理で、相手へ追加するデ
ータ数は、1つであってもよいし、全てであってもよ
い。Further, a database management apparatus according to the invention of claim 7 is the configuration of the invention of claim 6, further comprising the synchronization processing means, wherein the synchronization processing means corresponds to a partner in which the database of the partner is stored. The synchronization processing means communicates with the database management device and performs synchronization processing, and the synchronization processing means stores data existing in the shared range of itself that has a rank stored in the order storage means after the corresponding rank. For the data adding means added to the partner's shared range and the data added to the partner's shared range, the rank stored in the own order storage means and the rank stored in the partner's order storage means match, In addition, at least one of the order storage means of itself and the other party is arranged so that the respective ranks come before the ranks of the data that are not yet associated.
It is characterized in that it is provided with an additional data associating means for updating one of the two and a corresponding rank updating means for updating the corresponding rank. Note that the number of data to be added to the other party in one processing may be one or all.
【0042】上記構成によれば、例えば、新規作成や共
有範囲内への移動などによって、非同期期間中に新たに
共有範囲に追加されたデータは、同期処理の際、他のデ
ータベース管理装置の共有範囲へ追加される。さらに、
追加データ対応付手段と対応済順位更新手段とによっ
て、追加されたデータの順序および対応済順位が、各デ
ータベース管理装置間で互いに同一になるように制御さ
れる。これにより、順序や対応済順位が矛盾することな
く、データを追加できる。According to the above configuration, data newly added to the shared range during the asynchronous period due to, for example, new creation or movement into the shared range, is shared by other database management devices during the synchronous processing. Added to range. further,
The additional data associating means and the associated rank updating means control the order of the added data and the associated rank so as to be the same among the database management devices. As a result, data can be added without inconsistency in order or supported order.
【0043】さらに、請求項8の発明に係るデータベー
ス管理装置は、請求項6または7記載の発明の構成にお
いて、上記対応済順位より後の順位で、かつ、自らの共
有範囲に含まれないデータの順序を上記順序記憶手段か
ら削除する第1順序削除手段が設けられていることを特
徴としている。Further, in the database management apparatus according to the invention of claim 8, in the configuration of the invention of claim 6 or 7, the data is not included in its own shared range in a rank after the above-mentioned corresponding rank. It is characterized in that a first order deleting means for deleting the order of from the order storing means is provided.
【0044】上記構成によれば、上記対応済順位より後
で、共有範囲に含まれないデータの順序が、例えば、非
同期期間あるいは同期処理中など、任意の時点で削除さ
れる。ここで、これらの順序は、他のデータベース管理
装置と同期できない非同期期間中において、新たに共有
範囲に含まれた後、次の同期処理までの間に削除された
データ、すなわち、他のデータベース管理装置へ反映さ
れないデータに対応している。したがって、当該順序を
削除することによって、順序の記憶に必要なメモリ量
と、順序の管理時の演算量と、次回の同期処理時に通信
あるいは演算されるデータ量とを削減できる。According to the above configuration, the order of data that is not included in the shared range after the corresponding order is deleted at an arbitrary time point, for example, during the asynchronous period or during the synchronous processing. Here, these orders are the data deleted after the new synchronization range is included in the shared range during the asynchronous period in which the other database management device cannot synchronize, that is, other database management. It corresponds to the data that is not reflected in the device. Therefore, by deleting the sequence, it is possible to reduce the amount of memory required to store the sequence, the amount of calculation at the time of managing the sequence, and the amount of data to be communicated or calculated at the next synchronization processing.
【0045】一方、請求項9の発明に係るデータベース
管理装置は、請求項6、7または8記載の発明の構成に
おいて、同期処理の際、上記順序記憶手段に格納される
順序のうち、自らおよび相手の共有範囲のいずれにも含
まれていないデータに対応する順序を、それぞれの順序
記憶手段から削除する第2順序削除手段が設けられてい
ることを特徴としている。On the other hand, the database management apparatus according to the invention of claim 9 has the structure of the invention according to claim 6, 7 or 8 in the order stored in the order storage means during synchronization processing. It is characterized in that a second order deleting means for deleting the order corresponding to the data not included in any of the shared ranges of the other party from the respective order storing means is provided.
【0046】上記構成によれば、例えば、削除あるいは
共有範囲外へ移動されたデータに対応する順序など、同
期処理終了時点で、それぞれの共有範囲のいずれにも含
まれていないデータの順序は、各順序記憶手段から削除
される。これにより、順序の記憶に必要なメモリ量と、
順序の管理時の演算量と、次回の同期処理時に通信ある
いは演算されるデータ量とを削減できる。According to the above configuration, for example, the order of data that is not included in any of the shared ranges at the end of the synchronization processing, such as the order of data that has been deleted or moved out of the shared range, is as follows. It is deleted from each order storage means. This gives you the amount of memory needed to store the sequence,
It is possible to reduce the amount of calculation when managing the sequence and the amount of data that is communicated or calculated in the next synchronization processing.
【0047】さらに、請求項10の発明に係るデータベ
ース管理装置は、請求項6、7、8または9記載の発明
の構成において、少なくとも前回の同期処理終了時に自
らの共有範囲に含まれたデータについて、非同期期間中
に更新されたか否かを示す更新情報が含まれた状態情報
を記憶する状態情報記憶手段と、非同期期間中、対応す
る状態情報が上記状態情報記憶手段に格納されている各
データを監視して、それぞれの状態情報を更新する状態
情報更新手段とを備えており、上記順序記憶手段は、各
データに対応する状態情報を記憶する順序として、それ
ぞれの順序を記憶していることを特徴としている。な
お、状態情報は、更新情報を含んでいれば、移動情報を
含んでいるか否かを問わない。Further, the database management apparatus according to the invention of claim 10 is, in the configuration of the invention of claim 6, 7, 8 or 9, at least for data included in its own shared range at the end of the previous synchronization processing. A state information storage means for storing state information including update information indicating whether or not the state information has been updated during the asynchronous period, and each data in which corresponding state information is stored in the state information storage means during the asynchronous period. And status information updating means for monitoring each status information and updating each status information, and the order storage means stores each order as an order of storing status information corresponding to each data. Is characterized by. It should be noted that the state information may or may not include movement information as long as it includes update information.
【0048】上記構成では、それぞれの順序は、状態情
報を記憶する順序として記憶される。それゆえ、順序と
状態情報とを別に格納する場合に比べて、格納に必要な
メモリ量を削減できると共に、同期処理時に状態情報を
伝送する順序を決定し易くなる。In the above configuration, each order is stored as the order of storing the state information. Therefore, as compared with the case where the order and the state information are stored separately, the amount of memory required for the storage can be reduced and the order of transmitting the state information during the synchronization processing can be easily determined.
【0049】また、請求項11の発明に係るデータベー
ス管理装置は、請求項10記載の発明の構成において、
相手のデータベースと共有される共有範囲として、自ら
のデータベース内に部分集合を設定する部分集合設定手
段を備え、上記状態情報には、対応するデータが非同期
期間中に上記部分集合の内外を移動したか否かを示す移
動情報が含まれていることを特徴としている。Further, a database management apparatus according to the invention of claim 11 is the structure of the invention of claim 10, wherein
As a shared range shared with the other party's database, it is provided with a subset setting means for setting a subset in its own database, and in the above status information, the corresponding data moved inside and outside the above described subset during the asynchronous period. It is characterized by including movement information indicating whether or not.
【0050】それゆえ、請求項10と同様に、格納に必
要なメモリ量を削減でき、同期処理時に状態情報を伝送
する順序を決定し易くなるだけではなく、請求項1と同
様、移動のみを行ったデータを識別でき、同期処理時に
通信あるいは処理されるデータ量を削減できる。Therefore, as in the tenth aspect, it is possible to reduce the amount of memory required for storage, and it is not only easy to determine the order of transmitting the state information at the time of the synchronization processing, but also in the same way as the first aspect, only the movement is performed. It is possible to identify the performed data and reduce the amount of data that is communicated or processed during the synchronization processing.
【0051】さらに、請求項12の発明に係るデータベ
ース管理装置は、請求項10または11記載の発明の構
成において、上記同期処理手段を備え、当該同期処理手
段は、上記相手のデータベースが格納された相手のデー
タベース管理装置と通信して同期処理すると共に、当該
同期処理手段は、上記順序記憶手段に格納された順序に
応じた順序で、対応するデータの状態情報を伝送するこ
とを特徴としている。Further, a database management apparatus according to the invention of claim 12 is the configuration of the invention according to claim 10 or 11, comprising the synchronization processing means, wherein the synchronization processing means stores the database of the other party. It is characterized in that the synchronization processing means communicates with a counterpart database management device to perform synchronization processing, and the synchronization processing means transmits status information of corresponding data in an order according to the order stored in the order storage means.
【0052】上記構成では、同期処理の際、状態情報
は、順序記憶手段に格納された順序に応じた順序で伝送
される。この結果、同期処理の際、状態情報を伝送する
だけで、対応関係を伝送でき、各データベース管理装置
間で伝送あるいは処理されるデータ量を削減できる。In the above configuration, during the synchronization processing, the state information is transmitted in the order according to the order stored in the order storage means. As a result, at the time of the synchronization processing, the correspondence relationship can be transmitted only by transmitting the status information, and the amount of data transmitted or processed between the database management devices can be reduced.
【0053】ところで、上記各データベースシステムに
おいて、同期処理手段は、各データベース管理装置が通
信可能になった時点で動作する。したがって、少なくと
も1つのデータベース管理装置が同期処理手段を備えて
いれば、全てのデータベース管理装置が同期処理手段を
備えている必要はない。また、状態情報記憶手段などを
有する請求項1記載のデータベース管理装置は、相手が
状態情報記憶手段などを備えていない場合であっても、
同期処理時に通信あるいは処理されるデータ量を削減で
きる。それゆえ、請求項1と通信するデータベース管理
装置が、請求項2に記載の同期処理手段を備えている場
合であっても、充分効果を奏する。By the way, in each of the above database systems, the synchronization processing means operates when each of the database management devices becomes communicable. Therefore, if at least one database management device has the synchronization processing means, not all database management devices need to have the synchronization processing means. Further, the database management apparatus according to claim 1 having a state information storage means, etc., even if the other party does not have the state information storage means,
It is possible to reduce the amount of data that is communicated or processed during the synchronization processing. Therefore, even if the database management device communicating with claim 1 is provided with the synchronization processing means according to claim 2, the effect is sufficiently exerted.
【0054】具体的には、請求項13の発明に係るデー
タベース管理装置は、請求項1記載のデータベース管理
装置と通信する通信手段と、当該データベース管理装置
に格納されたデータベースおよび自らのデータベースの
間で、対応するデータの内容を一致させる同期処理手段
とを有するデータベース管理装置であって、上記課題を
解決するために、当該同期処理手段には、自らの共有範
囲内の各データと、上記相手の共有範囲内の各データと
を対応付ける対応付け手段と、対応付けられた各データ
の組について、相手の状態情報記憶手段に格納された状
態情報と、相手のデータベース管理装置から受け取った
情報とに基づいて、データの内容伝送の要否を判定する
判定手段とが設けられていることを特徴としている。Specifically, a database management apparatus according to the invention of claim 13 is between a communication means for communicating with the database management apparatus according to claim 1 and a database stored in the database management apparatus and its own database. In order to solve the above-mentioned problems, a database management device having a synchronization processing unit that matches the contents of corresponding data, wherein the synchronization processing unit includes each data within its own shared range and the partner. The associating means for associating each data within the shared range with each other, the status information stored in the status information storage means of the other party, and the information received from the other party's database management device for each of the associated data sets. On the basis of this, there is provided a determining means for determining whether or not the content transmission of the data is necessary.
【0055】上記構成の同期処理手段は、相手のデータ
ベース管理装置が請求項1の構成を有している場合、当
該データベース管理装置の状態情報を参照して同期処理
する。それゆえ、請求項2と同様に、同期処理の際に各
データベース管理装置間で伝送されるデータ量、およ
び、それぞれで処理されるデータ量を削減できる。When the counterpart database management apparatus has the configuration of claim 1, the synchronization processing means of the above configuration performs the synchronization processing by referring to the status information of the database management apparatus. Therefore, similarly to the second aspect, it is possible to reduce the amount of data transmitted between the database management devices and the amount of data processed by each in the synchronization process.
【0056】ところで、請求項1記載の発明の構成によ
れば、データの移動および更新を監視して、データの状
態情報を更新することによって、次回の同期処理の際に
内容伝送が不要なデータ、すなわち、部分集合内外を移
動しただけで、更新されていないデータを識別してい
る。ところが、これらのデータ全てについて、内容伝送
を省略しようとすると、各データベース管理装置は、そ
れぞれの使用者が不要と判断して、部分集合の外へ排出
したり、削除したデータであっても、非同期期間中、こ
れらのデータの内容を保持し続ける必要があり、各デー
タベース管理装置に搭載する必要のあるメモリ量が増大
する虞れがある。なお、各データベース管理装置が、こ
れらのデータの内容を不用意に削除すると、次回の同期
処理の結果、当該データが部分集合内に配され、かつ、
内容伝送が不要と判断された場合、各データベース間で
当該データの整合性が失われてしまう。By the way, according to the configuration of the invention described in claim 1, by monitoring the movement and update of the data and updating the status information of the data, the data which need not be transmitted in the next synchronization processing is transmitted. That is, the data that has not been updated is identified only by moving in and out of the subset. However, if it is attempted to omit the content transmission for all of these data, each database management device determines that each user decides that the data is unnecessary, and even if the data is ejected out of the subset or deleted, It is necessary to continue holding the contents of these data during the asynchronous period, which may increase the amount of memory required to be installed in each database management device. In addition, if each database management device carelessly deletes the contents of these data, as a result of the next synchronization processing, the data is arranged in the subset, and
If it is determined that the content transmission is unnecessary, the consistency of the data between the databases will be lost.
【0057】これに対して、請求項14の発明に係るデ
ータベース管理装置は、請求項1記載の発明の構成にお
いて、非同期期間中、上記部分集合外に配されたデータ
について、当該データと状態情報とが対応しているか否
かを記憶する対応データ情報記憶手段と、非同期期間
中、上記部分集合外に配されたデータのうち、それぞれ
のデータベース管理装置で不要と判断されたデータと状
態情報との対応付けを解消して、上記対応データ情報記
憶手段に記憶する対応付け解消手段と、状態情報と対応
付けられていないデータの内容を削除するデータ削除手
段とを備えていることを特徴としている。On the other hand, according to the database management apparatus of the fourteenth aspect of the present invention, in the configuration of the first aspect of the invention, the data and the status information about the data arranged outside the subset during the asynchronous period. Corresponding data information storage means for storing whether or not and, among the data arranged outside the subset during the asynchronous period, the data and the status information which are determined to be unnecessary by the respective database management device. And a data deleting means for deleting the contents of the data not associated with the status information. .
【0058】なお、対応付けの有無は、状態情報の一部
であってもよいし、それぞれを別に設けてもよい。ま
た、対応付けの有無が判定できれば、例えば、対応付け
のあるデータと状態情報との組み合わせのみ、あるい
は、対応付けの無い組み合わせのみを格納してもよい。
一方、対応付け解消手段は、使用者の指示に応じて対応
付けを解消してもよいし、空きメモリ量などに応じて、
自発的に対応付けを解消してもよい。また、不要か否か
は、各データベース管理装置の使用者からの指示や、当
該データへのアクセス頻度などによって判定できる。The presence / absence of correspondence may be a part of the state information, or may be provided separately. Further, if the presence or absence of the association can be determined, for example, only the combination of the associated data and the state information, or only the combination without the association may be stored.
On the other hand, the association canceling unit may cancel the association according to the user's instruction, or depending on the amount of free memory,
The association may be canceled spontaneously. Whether or not it is unnecessary can be determined by an instruction from the user of each database management device, the access frequency to the data, or the like.
【0059】上記構成によれば、対応データ情報記憶手
段は、それぞれのデータベース管理装置で余り重要と判
断されていないデータ、すなわち、上記部分集合に含ま
れていないデータと状態情報とが対応しているか否かを
記憶しており、データの内容が削除される際には、当該
データと状態情報との対応付けが解消される。According to the above configuration, the corresponding data information storage means stores data that is not judged to be very important by each database management device, that is, data that is not included in the subset and status information. It is stored whether or not there is any, and when the content of the data is deleted, the association between the data and the state information is canceled.
【0060】これにより、非同期期間中、各データベー
ス管理装置がそれぞれで不要なデータ内容を削除して必
要なメモリ量を低減する場合であっても、同期処理にお
いて、対応付け情報記憶手段を参照すれば、当該対応付
け情報記憶手段を有するデータベース管理装置で、非同
期期間に内容が削除されたデータを確実に識別できる。As a result, even when each database management device deletes unnecessary data contents to reduce the required memory amount during the asynchronous period, the correspondence information storage means is referred to in the synchronization process. For example, the database management device having the association information storage means can reliably identify the data whose contents are deleted during the asynchronous period.
【0061】この結果、例えば、同期処理時に当該デー
タの内容を伝送するなど、適切な対策を講じることがで
きる。また、データ内容を削除しなかった場合は、請求
項1と同様に、同期処理時におけるデータ伝送量を削減
できる。したがって、各データベース間の整合性を損な
うことなく、かつ、比較的少ないメモリ量で、同期処理
におけるデータ伝送量を削減できる。As a result, for example, appropriate measures can be taken, such as transmitting the contents of the data at the time of synchronization processing. When the data content is not deleted, the data transmission amount at the time of synchronization processing can be reduced as in the first aspect. Therefore, it is possible to reduce the data transmission amount in the synchronous processing without compromising the consistency between the databases and with a relatively small memory amount.
【0062】なお、それぞれのデータベース管理装置で
データを必要とするか否かは、それぞれで判定できるた
め、対応付け解消手段は、非同期期間中の任意の時点な
ど、他のデータベース管理装置と通信できない期間であ
っても、何ら支障なく、対応付けを解消できる。ただ
し、データ内容と対応付けとが記憶されていれば、同期
処理の際、状態情報の交換によって、データの内容伝送
が不要と判明した場合には、内容伝送を省略できる。し
たがって、同期処理の際のデータ転送量を抑制するため
には、データ内容と対応付けとを出来るだけ遅く解消す
ることが望まれる。一方、データの内容を保持しつづけ
れば、空きメモリ量が減少して、データの更新や追加に
支障をきたす虞れがある。これとは逆に、データ内容を
早い時点で削除すれば、空きメモリ量を拡大できる一方
で、同期処理時のデータ転送量が増大してしまう。Since it is possible to determine whether or not each database management device needs data, the association canceling means cannot communicate with other database management devices at any time during the asynchronous period. Even during the period, the association can be resolved without any trouble. However, if the data content and the association are stored, the content transmission can be omitted when it is determined that the content transmission of the data is unnecessary by exchanging the state information during the synchronization processing. Therefore, in order to suppress the data transfer amount in the synchronization processing, it is desired to eliminate the association between the data content and the association as late as possible. On the other hand, if the content of data is kept held, the amount of free memory decreases, which may hinder the updating or addition of data. On the contrary, if the data contents are deleted at an early stage, the amount of free memory can be increased, but the amount of data transfer at the time of synchronization processing will increase.
【0063】これに対して、請求項15の発明に係るデ
ータベース管理装置は、請求項14記載の発明の構成に
おいて、上記対応付け解消手段は、自らを含むデータベ
ース管理装置の空きメモリ量が、予め定められたしきい
値以下になった時点で、上記対応付けを解消することを
特徴としている。なお、上記しきい値は、空きメモリ量
と比較できれば、空きメモリ量であってもよいし、空き
メモリ量と、搭載されているメモリ量などとの比率とし
て設定してもよい。On the other hand, in the database management apparatus according to the fifteenth aspect of the present invention, in the configuration of the invention according to the fourteenth aspect, the association canceling means preliminarily sets the free memory amount of the database management apparatus including itself in advance. It is characterized in that the above-mentioned association is canceled when the threshold value becomes equal to or lower than a predetermined threshold value. The threshold value may be a free memory amount as long as it can be compared with the free memory amount, or may be set as a ratio of the free memory amount to the installed memory amount.
【0064】上記構成によれば、データベース管理装置
の空きメモリ量が少なくなり、しきい値以下になった時
点で、上記対応付け解消手段は、対応付けを解消し、デ
ータ削除手段は、対応付けが解消されたデータの内容を
削除する。この結果、同期処理時のデータ転送量を不要
に増大させることなく、必要な空きメモリ量を確保でき
る。According to the above configuration, when the free memory amount of the database management device decreases and becomes less than or equal to the threshold value, the association canceling means cancels the association and the data deleting means determines the association. Delete the contents of the resolved data. As a result, the required free memory amount can be secured without unnecessarily increasing the data transfer amount during the synchronization processing.
【0065】また、請求項16の発明に係るデータベー
ス管理装置は、請求項14または15記載の発明の構成
において、上記対応付け解消手段は、上記不要なデータ
について、次回の同期処理の際に、相手のデータベース
管理装置からデータ内容を転送する可能性を推定して比
較し、可能性が低いデータから順番に、上記対応付けを
解消することを特徴としている。なお、データ内容の転
送の可能性は、例えば、これまでの同期処理の履歴から
判定してもよいし、データが排出された場合は、削除さ
れた場合よりも転送の可能性が高いと推定するなど、自
らのデータベース管理装置の使用者による操作に基づい
て推測してもよい。According to the database management apparatus of the sixteenth aspect of the invention, in the configuration of the invention of the fourteenth aspect or the fifteenth aspect, the associating means eliminates the unnecessary data at the next synchronization processing. It is characterized in that the possibility of transferring the data contents from the other party's database management device is estimated and compared, and the above-mentioned association is canceled in order from the data with the lowest possibility. Note that the transfer possibility of the data content may be determined from the history of the synchronization processing so far, for example, and it is estimated that the transfer possibility is higher when the data is ejected than when it is deleted. It may be estimated based on the operation by the user of his / her own database management device.
【0066】上記構成によれば、同期処理の際に同期処
理相手のデータベース管理装置からデータ内容を転送す
る可能性が高い間は、当該データの内容を保持してお
き、可能性が低くなった時点で対応付けを解消できる。
この結果、同期処理の際のデータ転送量を効率良く削減
できる。According to the above configuration, the content of the data is retained while the content of the data is highly likely to be transferred from the database management apparatus of the synchronization processing partner during the synchronization processing. The association can be canceled at this point.
As a result, it is possible to efficiently reduce the data transfer amount during the synchronization processing.
【0067】さらにまた、請求項17の発明に係るデー
タベース管理装置は、請求項3記載の発明の構成におい
て、請求項14と同様の対応データ情報記憶手段、対応
付け解消手段およびデータ削除手段を備え、上記同期処
理手段は、上記内外判定同期手段により部分集合内に設
定される状態情報と、データとの対応が、上記対応デー
タ情報記憶手段に記憶されていない場合、相手のデータ
ベース管理装置から、当該データに対応するデータの内
容を受け取ることを特徴としている。Furthermore, the database management apparatus according to the invention of claim 17 is the configuration of the invention of claim 3, further comprising a correspondence data information storage means, a correspondence elimination means and a data deletion means similar to those of claim 14. , The synchronization processing means, if the correspondence between the status information set in the subset by the inside / outside determination synchronization means and the data is not stored in the corresponding data information storage means, from the counterpart database management device, It is characterized by receiving the contents of data corresponding to the data.
【0068】上記構成によれば、同期処理の際、同期処
理手段は、上記対応データ情報記憶手段を参照して、状
態情報とデータとの対応がないデータが部分集合内に配
された場合、当該データの内容を、相手のデータベース
管理装置から受け取ったデータの内容で置き換える。こ
れにより、あるデータベース管理装置でデータの内容が
削除された場合であっても、同期処理によって、各デー
タベース間の整合性を回復できる。According to the above configuration, when performing the synchronization processing, the synchronization processing means refers to the corresponding data information storage means, and when data having no correspondence between the state information and the data is arranged in the subset, The contents of the data are replaced with the contents of the data received from the other database management device. As a result, even if the content of data is deleted by a certain database management device, the consistency between the databases can be restored by the synchronization processing.
【0069】ところで、請求項14ないし16記載のデ
ータ削除手段は、データベースの格納に必要なメモリ量
を削減するために、非同期期間中にデータの内容を削除
しているが、同期処理の終了時にデータの内容を削除し
た場合でも同様にメモリ量を削減できる。 By the way, the data deleting means described in claims 14 to 16 deletes the contents of the data during the asynchronous period in order to reduce the amount of memory required for storing the database, but at the end of the synchronous processing. Even if the contents of data are deleted, the amount of memory can be similarly reduced .
【0070】ところで、請求項5記載のデータベース管
理装置のように、各データベース間で対応するデータの
組を同期処理する際、移動情報に基づいて、部分集合内
に配されるか否かを判定し、更新情報に基づいて、デー
タ内容の優先側を判定した場合、データの配置を判定す
る際に優先したデータベース管理装置と、内容判定の際
に優先したデータベース管理装置とが異なることがあ
る。したがって、使用者が、データの配置と内容との双
方で優先側が同一であると誤解した場合、使用者の混乱
を招く虞れがある。[0070] and in time, such as a database management apparatus according to claim 5, wherein, when processing synchronize a set of corresponding data between the database, based on the movement information, whether disposed within the subset And the priority side of the data content is determined based on the update information, the database management apparatus prioritized in determining the data arrangement may be different from the database management apparatus prioritized in determining the content. is there. Therefore, if the user misunderstands that the priority side is the same in both the arrangement and the content of the data, the user may be confused.
【0071】これに対して、請求項18の発明に係るデ
ータベース管理装置は、請求項2記載の発明の構成にお
いて、上記判定手段には、対応付けられた各データの組
について、自らの状態情報記憶手段に格納された状態情
報と、相手のデータベース管理装置から受け取った情報
とに基づいて、当該データの組がそれぞれの共有範囲内
に存在すると判定した場合、当該データ組に対応する状
態情報の更新情報に拘わらず、当該データ組のうち、共
有範囲内に存在していないデータの内容よりも、共有範
囲内に存在しているデータの内容の方を優先する範囲内
優先手段が設けられていることを特徴としている。On the other hand, in the database management apparatus according to the eighteenth aspect of the present invention, in the configuration of the second aspect of the invention, the determination means has its own status information for each set of associated data. Based on the status information stored in the storage means and the information received from the other party database management device, when it is determined that the data sets are within their respective shared ranges, the status information corresponding to the data sets Regardless of the update information, within-range priority means is provided for giving priority to the content of data existing in the shared range in the relevant data set over the content of data not existing in the shared range. It is characterized by being.
【0072】上記構成によれば、同期処理の際、共有範
囲内に存在しているデータの内容が優先される。この結
果、データの配置を判定する際に優先した側と、データ
の内容を判定する際に優先した側とを一致させることが
できる。この結果、使用者の誤解を招きにくいデータベ
ース管理装置を実現できる。According to the above arrangement, the contents of data existing within the shared range are prioritized during the synchronization processing. As a result, the side prioritized in determining the arrangement of data and the side prioritized in determining the content of data can be matched. As a result, it is possible to realize a database management device that is unlikely to be misunderstood by the user.
【0073】さらに、請求項19の発明に係るデータベ
ース管理装置は、請求項18記載の発明の構成におい
て、請求項3と同様の内外判定同期手段が設けられ、上
記範囲内優先手段は、上記内外判定同期手段によって部
分集合内に変更された状態情報の更新情報を更新なしに
変更すると共に、変更されなかった状態情報の更新情報
を更新ありに変更することを特徴としている。Further, in the database management apparatus according to the invention of claim 19 , in the structure of the invention of claim 18 , the same inside / outside determination synchronizing means as in claim 3 is provided, and the inside / outside priority means is the inside / outside It is characterized in that the update information of the state information changed in the subset by the determination synchronization means is changed without update, and the update information of the state information not changed is changed with update.
【0074】上記構成によれば、内外判定同期手段によ
る移動情報の更新に伴って、範囲内優先手段は、移動情
報を更新する。ここで、請求項3と同様に、内外判定同
期手段および範囲内優先手段が状態情報を更新する際
に、各データベース管理装置間で伝送されるデータ量
は、データの内容自体に比べて極めて少なく、データ組
それぞれの判定結果は、状態情報として保存される。し
たがって、通信の切断などによって、内外判定同期手段
および範囲内優先手段が、全てのデータ組の状態情報が
更新されるまでの間に、同期処理が中断される場合であ
っても、何ら支障なく、同期処理を再開できる。この結
果、通信によって同期処理する場合のように、同期処理
が中断される虞れがあるデータベースシステムであって
も、各データベース間の整合性を確実に保つことができ
る。According to the above arrangement, the within-range priority means updates the movement information as the movement information is updated by the inside / outside determination synchronizing means. Here, similarly to claim 3, when the inside / outside determination synchronization means and the within-range priority means update the state information, the amount of data transmitted between the database management devices is extremely small compared to the content of the data itself. , The determination result of each data set is stored as state information. Therefore, even if the synchronization process is interrupted by the inside / outside determination synchronization means and the within-range priority means until the status information of all data sets is updated due to communication disconnection or the like, there is no problem. , The synchronization process can be restarted. As a result, even in a database system in which the synchronization process may be interrupted as in the case of performing the synchronization process by communication, the consistency between the databases can be reliably maintained.
【0075】また、請求項20の発明に係るデータベー
ス管理装置は、請求項18または19の発明の構成にお
いて、上記範囲内優先手段が動作するか否かを選択する
優先選択手段を備えていることを特徴としている。The database management apparatus according to the invention of claim 20 is, in the configuration of the invention of claim 18 or 19 , provided with priority selection means for selecting whether or not the in-range priority means operates. Is characterized by.
【0076】上記構成によれば、範囲内優先手段が動作
するか否かを選択できるので、使用者の好みに合わせた
設定が可能になり、より使いやすいデータベース管理装
置を実現できる。According to the above configuration, it is possible to select whether or not the in-range priority means operates, so that it is possible to make settings according to the user's preference, and it is possible to realize a database management device that is easier to use.
【0077】ところで、請求項21の発明に係る記録媒
体は、上記課題を解決するために、複数のデータベース
間で互いに対応するデータの内容を同一に管理するため
のプログラムが記録された記録媒体において、請求項1
記載の部分集合設定手段、状態情報記憶手段および状態
情報更新手段として、コンピュータを動作させるための
プログラムが記録されていることを特徴としている。In order to solve the above-mentioned problems, a recording medium according to a twenty-first aspect of the present invention is a recording medium in which a program for managing the same contents of data corresponding to each other among a plurality of databases is recorded. , Claim 1
A program for operating a computer is recorded as the described subset setting means, status information storage means, and status information updating means.
【0078】上記プログラムがコンピュータで実行され
ると、請求項1のデータベース管理装置が実現される。
それゆえ、請求項1と同様に、同期処理時に処理される
データ量を削減できる。When the program is executed by a computer, the database management device according to claim 1 is realized.
Therefore, similarly to the first aspect, it is possible to reduce the amount of data processed during the synchronization processing.
【0079】また、請求項22の発明に係る記録媒体
は、上記課題を解決するために、複数のデータベース間
で互いに対応するデータの内容を同一に管理するための
プログラムが記録された記録媒体において、請求項6記
載の順序記憶手段、対応済順位記憶手段および順序管理
手段として、コンピュータを動作させるためのプログラ
ムが記録されていることを特徴としている。In order to solve the above-mentioned problems, a recording medium according to a twenty-second aspect of the present invention is a recording medium in which a program for managing the contents of data corresponding to each other among a plurality of databases is recorded in the same manner. A program for operating a computer is recorded as the order storage means, the corresponding order storage means, and the order management means according to claim 6.
【0080】上記プログラムがコンピュータで実行され
ると、請求項6のデータベース管理装置が実現される。
それゆえ、請求項6と同様に、対応情報で記憶する場合
よりも、対応関係の記憶に必要なメモリ量と、同期処理
時の演算量とを削減できると共に、同期処理の際、通信
あるいは処理されるデータ量を削減できる。When the program is executed by a computer, a database management device according to claim 6 is realized.
Therefore, as in the sixth aspect, it is possible to reduce the amount of memory required for storing the correspondence relationship and the amount of calculation at the time of synchronization processing, and to perform communication or processing at the time of synchronization processing, as compared with the case where the correspondence information is stored. The amount of data used can be reduced.
【0081】さらに、請求項23の発明に係る記録媒体
は、上記課題を解決するために、複数のデータベース間
で互いに対応するデータの内容を同一に管理するための
プログラムが記録された記録媒体において、請求項13
記載の対応付け手段および判定手段を含む同期処理手
段、並びに通信手段として、コンピュータを動作させる
ためのプログラムが記録されていることを特徴としてい
る。Further, in order to solve the above-mentioned problems, a recording medium according to a twenty- third aspect of the present invention is a recording medium in which a program for managing the contents of corresponding data among a plurality of databases is recorded in the same manner. Claim 13
A program for operating a computer is recorded as the synchronization processing unit including the associating unit and the determining unit described above, and the communication unit.
【0082】当該プログラムがコンピュータで実行され
ると、請求項13記載のデータベース管理装置が実現さ
れる。それゆえ、請求項13と同様に、相手のデータベ
ース管理装置が請求項1の構成を有している場合、同期
処理の際に各データベース管理装置間で伝送されるデー
タ量、および、それぞれで処理されるデータ量を削減で
きる。When the program is executed by a computer, the database management device according to claim 13 is realized. Therefore, as in the case of claim 13, when the partner database management device has the configuration of claim 1, the amount of data transmitted between the database management devices at the time of synchronization processing, and the processing by each The amount of data used can be reduced.
【0083】また、本発明に係るデータベース管理装置
は、上記課題を解決するために、複数のデータベース管
理装置と、互いに通信可能になったデータベース管理装
置に格納されたデータベース間で、対応するデータの内
容を一致させる同期処理手段とを有するデータベースシ
ステムを構成するために設けられ、少なくとも1つのデ
ータベースを有するデータベース管理装置において、同
期処理終了時に、デー タベース間におけるデータの対応
付けが解消された場合、当該データの内容をデータベー
ス内から削除するデータ削除手段が設けられている構成
であってもよい。 A database management device according to the present invention
In order to solve the above problems, multiple database
Management device and database management device that can communicate with each other
Of the corresponding data between databases stored in
A database system having a synchronization processing means for matching the contents.
At least one device provided to configure the stem.
In a database management device that has a database,
During the period process is completed, the corresponding data between the database
If the attachment is canceled, the content of the data is
A configuration that includes data deleting means for deleting from the database
May be
【0084】上記構成において、同期処理により対応付
けが解消されたデータは、整合性を保つ必要の無いデー
タであり、それ以降の同期処理の際、データの内容が転
送されない。したがって、上記データ削除手段が、これ
らのデータの内容を削除することによって、同期処理の
際のデータ転送量を増大させることなく、データベース
管理装置の空きメモリ量を拡大できる。 Correspondence is provided by the synchronization processing in the above configuration.
Data whose injuries have been eliminated is data that does not require consistency.
The data content is converted during the subsequent synchronization processing.
Not sent. Therefore, the data deletion means
By deleting the contents of the data from
Database without increasing data transfer amount
The amount of free memory in the management device can be expanded.
【0085】さらに、本発明に係るデータベース管理装
置は、複数のデータベース管理装置と、互いに通信可能
になったデータベース管理装置に格納されたデータベー
ス間で、対応するデータの内容を一致させる同期処理手
段とを有するデータベースシステムを構成するために設
けられ、少なくとも1つのデータベースを有するデータ
ベース管理装置において、同期処理終了時に、データベ
ース間におけるデータの対応付けが解消された場合、当
該データの内容をデータベース内から削除するデータ削
除手段が設けられており、上記データ削除手段がデータ
を削除するか否かを選択する削除選択手段を備えている
構成であってもよい。なお、各データベース間で、部分
集合の対応付けが複数存在する場合には、対応付け毎に
選択してもよいし、一括して設定してもよい。 Furthermore, the database management system according to the present invention
Oki can communicate with multiple database management devices.
Database stored in the database management device
Synchronization process to match the contents of the corresponding data between
It is designed to configure a database system with
Data having at least one database
At the base management device, the database
If the data correspondence between the source and
Data deletion to delete the contents of the data from the database
Remover is provided, and the data deleter
Is equipped with a delete selection means for selecting whether or not to delete
It may be configured. In addition, between each database,
If there are multiple sets of associations,
They may be selected or set collectively.
【0086】上記構成によれば、例えば、部分集合外に
配されたデータを再利用したい場合には、データを削除
しないことを選択し、再利用よりも、空きメモリ量の増
大が望まれる場合には、データの削除を選択するなど、
データ削除手段がデータを削除するか否かを必要に応じ
て選択でき、使用者の要求に応じた設定が可能になる。 According to the above configuration, for example, outside the subset,
If you want to reuse the distributed data, delete the data
Choose not to increase free memory over reuse.
If you want a large amount, choose to delete the data, etc.
Whether or not the data deletion means deletes the data
It is possible to make a setting according to the user's request.
【0087】また、本発明に係る記録媒体は、上記課題
を解決するために、複数のデータベース間で互いに対応
するデータの内容を同一に管理するためのプログラムが
記録 された記録媒体において、複数のデータベース管理
装置と、互いに通信可能になったデータベース管理装置
に格納されたデータベース間で、対応するデータの内容
を一致させる同期処理手段とを有するデータベースシス
テムを構成するために設けられ、少なくとも1つのデー
タベースを有し、同期処理終了時に、データベース間に
おけるデータの対応付けが解消された場合、当該データ
の内容をデータベース内から削除するデータ削除手段が
設けられているデータベース管理装置におけるデータ削
除手段として、コンピュータを動作させるためのプログ
ラムが記録されている構成であってもよい。 The recording medium according to the present invention has the above-mentioned problems.
Multiple databases to solve each other
A program for managing the contents of data
In the recorded recording medium, a plurality of database management
Device and database management device that can communicate with each other
Corresponding data contents between databases stored in
Database system having synchronous processing means for matching
System to configure at least one
Database, and between the databases at the end of the synchronization process
If the correspondence of the data in the
Data deletion means to delete the contents of
Data deletion in the provided database management device
As a removal method, a program for operating a computer
The configuration may be such that the ram is recorded.
【0088】上記プログラムがコンピュータで実行され
ると、上述のデータベース管理装置が実現される。それ
ゆえ、上述と同様に、同期処理の際のデータ転送量を増
大させることなく、データベース管理装置の空きメモリ
量を拡大できる。 The above program is executed by a computer
Then, the above-mentioned database management device is realized. It
Therefore, in the same way as above, increase the amount of data transfer during synchronization processing.
Free database management device memory
The amount can be expanded.
【0089】[0089]
【発明の実施の形態】〔第1の実施形態〕
本発明の一実施形態について図1ないし図61、並び
に、図64ないし図72に基づいて説明すると以下の通
りである。すなわち、本実施形態に係るデータベースシ
ステムは、例えば、個人情報などを複数のデータベース
管理装置で管理する場合など、互いに通信可能な期間が
制限され、かつ、それぞれが独立してデータを更新可能
な複数のデータベース間で、対応するデータの内容を同
一に保つことが要求される場合に好適に使用されるシス
テムである。システム構成は種々のものが考えられる
が、本実施形態では、携帯情報端末から構成される場合
のように、互いに対等なデータベース管理装置からなる
データベースシステムを例にして説明する。BEST MODE FOR CARRYING OUT THE INVENTION [First Embodiment] The following will describe one embodiment of the present invention with reference to FIGS. 1 to 61 and FIGS. 64 to 72. That is, the database system according to the present embodiment is limited to a plurality of data management devices that manage individual information and the like by a plurality of database management devices and have a limited period during which they can communicate with each other and can update data independently. It is a system suitably used when it is required to keep the contents of corresponding data identical between the databases. Although various system configurations are conceivable, the present embodiment will be described by taking a database system including database management devices, which are equal to each other, as in the case of a mobile information terminal, as an example.
【0090】具体的には、例えば、図2に示すように、
本実施形態に係るデータベースシステム1は、データベ
ースを格納する情報処理機器(データベース管理装置)
2・2を備えており、各情報処理機器2には、相手の情
報処理機器2と通信するための通信装置(通信手段)3
と、使用者との間の入出力を処理する表示装置4および
入力装置5とが接続されている。Specifically, for example, as shown in FIG.
The database system 1 according to the present embodiment is an information processing device (database management device) that stores a database.
Each information processing device 2 includes a communication device (communication means) 3 for communicating with the information processing device 2 of the other party.
And a display device 4 and an input device 5 for processing input / output with the user are connected.
【0091】上記通信装置3は、例えば、LANインタ
ーフェースやRS232Cインターフェースなどのイン
ターフェース、モデム、赤外線送受光器、あるいは、無
線送受信器などであって、情報処理機器2の指示に応
じ、ケーブル、公衆電話回線網、赤外線あるいは無線な
ど、種々の通信媒体のうちの少なくとも1つを介して、
相手の通信装置3と互いに通信できる。また、表示装置
4は、CRTディスプレイや液晶ディスプレイなどであ
って、情報処理機器2のデータベースの内容、あるい
は、データベースに対する操作結果など種々の情報を、
情報処理機器2の指示に応じて表示できる。さらに、入
力装置5は、キーボードやマウス、ペン、あるいは、上
記表示装置4上に配されたタッチパネルなどであって、
使用者の指示を情報処理機器2へ入力できる。The communication device 3 is, for example, an interface such as a LAN interface or an RS232C interface, a modem, an infrared transmitter / receiver, or a wireless transmitter / receiver, and a cable or a public telephone according to an instruction from the information processing device 2. Via at least one of various communication media, such as a network, infrared or wireless,
The communication device 3 of the other party can communicate with each other. The display device 4 is a CRT display, a liquid crystal display, or the like, and displays various information such as the contents of the database of the information processing device 2 or the operation result on the database.
It can be displayed according to an instruction from the information processing device 2. Further, the input device 5 is a keyboard, a mouse, a pen, a touch panel arranged on the display device 4, or the like,
The user's instruction can be input to the information processing device 2.
【0092】一方、本実施形態に係る情報処理機器2に
は、図1に示すように、上記通信装置3に接続され、当
該通信装置3を介して、他の情報処理機器2と通信する
通信部21と、上記表示装置4および入力装置5に接続
され、使用者とのインタフェースとなるユーザ操作部2
2と、データベースDBを格納するデータベース管理部
23と、ユーザ操作部22の指示に応じて、データベー
ス管理部23を制御するデータベース処理部24と、通
信部21およびデータベース管理部23を制御して、他
のデータベースDBとの同期に関連した処理を行う同期
部25とが設けられている。上記各部材は、ハードウェ
アで実現されてもよいし、CPUが所定のプログラムを
実行することで実現される機能ブロックであってもよ
い。後者の場合は、上記プログラムが格納された記録媒
体を配付し、当該記録媒体を読み取り可能なコンピュー
タで実行させるだけで、上記各部材を実現できるため、
配付が容易になる。なお、上記データベース管理部23
は、特許請求の範囲に記載のデータベース、状態情報記
憶手段、順序記憶手段および対応済順位記憶手段に対応
しており、データベース処理部24は、状態情報更新手
段および順序管理手段に対応する。On the other hand, as shown in FIG. 1, the information processing device 2 according to the present embodiment is connected to the communication device 3 and communicates with another information processing device 2 via the communication device 3. The user operation unit 2 which is connected to the display unit 4 and the input device 5 and serves as an interface with the user.
2, the database management unit 23 that stores the database DB, the database processing unit 24 that controls the database management unit 23, the communication unit 21 and the database management unit 23 according to instructions from the user operation unit 22, A synchronization unit 25 that performs processing related to synchronization with another database DB is provided. Each of the above-mentioned members may be realized by hardware, or may be a functional block realized by the CPU executing a predetermined program. In the latter case, each member can be realized only by distributing a recording medium in which the program is stored and executing the recording medium on a computer that can read the recording medium.
Distribution is easy. The database management unit 23
Corresponds to the database, the state information storage means, the order storage means, and the associated order storage means described in the claims, and the database processing unit 24 corresponds to the state information update means and the order management means.
【0093】本実施形態では、図3に示すように、デー
タベースDBがデータ1件を示すティップTとティップ
の母集合となるフクロFとを単位として管理されてお
り、上記データベース管理部23には、データベースを
格納するティップ管理部31およびフクロ管理部(部分
集合設定手段)32が設けられている。また、上記デー
タベース処理部24は、ティップTの更新/追加/削除
をそれぞれ行うティップ更新処理部41・ティップ追加
処理部42・ティップ削除処理部43などを備えてい
る。なお、データベース処理部24は、例えば、ティッ
プTの検索や表示、あるいは、フクロFとの包含関係の
変更など、データベースDBの他の操作に関連する部材
も備えている。これにより、所定の内容のティップTな
ど、所望の条件を満足するティップTを検索して、フク
ロFを生成したり、表示されたティップTのうち、所望
のティップTを選択して、所望のフクロFに挿入したり
できる。In the present embodiment, as shown in FIG. 3, the database DB is managed in units of a tip T indicating one piece of data and a bag F which is a population of the tips. A tip management unit 31 and a bag management unit (subset setting means) 32 for storing a database are provided. Further, the database processing unit 24 includes a tip update processing unit 41, a tip addition processing unit 42, a tip deletion processing unit 43, etc. that respectively update / add / delete the tip T. The database processing unit 24 also includes members related to other operations of the database DB, such as searching and displaying the tip T or changing the inclusion relationship with the bag F. As a result, a tip T that satisfies a desired condition, such as a tip T having a predetermined content, is searched to generate the bag F, or a desired tip T is selected from the displayed tips T to select a desired tip T. It can be inserted into the F bag.
【0094】また、同期部25には、ティップTの同期
処理を行うシンクロナイズ処理部51と、同期処理に先
立って、後述する共有設定を行う共有設定処理部52
と、例えば、同期処理が不要になった場合などに上記共
有設定を解除する共有解除処理部53とが設けられてい
る。なお、上記シンクロナイズ処理部51が、特許請求
の範囲に記載の同期処理手段、対応付け手段、判定手
段、内外同期処理手段、優先側判定手段、データ内容同
期手段、データ追加手段、追加データ対応付手段、対応
済順位更新手段、並びに、第1および第2順序削除手段
に対応する。また、データベース処理部24および同期
部25の構成は、データベース管理部23に格納される
データと密接に関連しており、当該データに基づく動作
に大きな特徴がある。それゆえ、以下では、データベー
ス管理部23の構成についてのみ説明し、データベース
処理部24および同期部25の構成は、動作と共に詳説
する。Further, the synchronizing section 25 includes a synchronizing processing section 51 for performing the synchronization processing of the tip T and a sharing setting processing section 52 for performing a sharing setting described later prior to the synchronization processing.
Further, for example, a sharing cancellation processing unit 53 that cancels the sharing setting when synchronization processing becomes unnecessary is provided. In addition, the synchronization processing unit 51 includes the synchronization processing unit, the association unit, the determination unit, the internal / external synchronization processing unit, the priority side determination unit, the data content synchronization unit, the data addition unit, and the additional data correspondence described in the claims. It corresponds to the means, the corresponded rank updating means, and the first and second order deleting means. Further, the configurations of the database processing unit 24 and the synchronization unit 25 are closely related to the data stored in the database management unit 23, and the operation based on the data has a great feature. Therefore, hereinafter, only the configuration of the database management unit 23 will be described, and the configurations of the database processing unit 24 and the synchronization unit 25 will be described in detail together with the operation.
【0095】具体的には、上記ティップ管理部31は、
1件分のデータをティップと呼ばれるデータ構造で管理
している。各ティップTは、データベースDB内の他の
ティップTと自らとを一意に識別するためのティップI
Dと、1件分のデータが格納される属性リストLAとを
備えている。当該属性リストLAには、図4に示すよう
に、属性Aの種別を示す属性名NAと、当該ティップT
に格納されるデータの内で当該属性Aの値を示す属性値
VAとの組み合わせが、リスト状に格納されている。Specifically, the tip management section 31 is
Data for one case is managed by a data structure called a tip. Each tip T is a tip I for uniquely identifying itself from other tips T in the database DB.
D and an attribute list LA in which data for one case is stored. In the attribute list LA, as shown in FIG. 4, the attribute name NA indicating the type of the attribute A and the tip T
The combination with the attribute value VA indicating the value of the attribute A in the data stored in is stored in a list.
【0096】例えば、データベースDBに住所録を格納
する場合を例にして説明すると、個々のティップTは、
1件の住所データに相当する。各住所データが名前を示
すデータと、住所を示すデータと、電話番号を示すデー
タとの3種のデータから構成される場合、各ティップT
は、名前、住所および電話番号の3つの属性A1 〜A3
の集合として定義され、各ティップTの属性リストLA
は、図4に示すように、属性名NAと属性値VAとの組
み合わせが、順番に並べられたリストとして表現され
る。例えば、第1のティップの属性リストLAには、名
前の属性A1 として、「名前」という属性名NA1 と
「○山×夫」という属性値VA1 との組み合わせが格納
されている。同様に、「住所」および「東京都東京市
…」の組み合わせと、「電話番号」および「0123- …」
の組み合わせとが格納される。For example, the case of storing the address book in the database DB will be described as an example.
It corresponds to one address data. If each address data is composed of three types of data, that is, data indicating a name, data indicating an address, and data indicating a telephone number, each tip T
Has three attributes A 1 to A 3 of name, address and telephone number.
Attribute list LA of each tip T defined as a set of
As shown in FIG. 4, the combination of the attribute name NA and the attribute value VA is expressed as a list arranged in order. For example, in the attribute list LA of the first tip, a combination of an attribute name NA 1 of “name” and an attribute value VA 1 of “○ yama × husband” is stored as the attribute A 1 of the name. Similarly, a combination of "address" and "Tokyo city, Tokyo ...", and "phone number" and "0123 -..."
And a combination of are stored.
【0097】また、上記フクロ管理部32は、データベ
ースDBに含まれるフクロFと、上記各ティップTおよ
びフクロFの包含関係とを記憶している。図5に示すよ
うに、1つの情報処理機器2に複数のデータベースDB
1 、DB2 、DB3 が格納されている場合を例にして説
明すると、情報処理機器2∋データベースDB∋フクロ
F∋ティップTの関係が成立する。上記フクロ管理部3
2は、この関係を図6に示すようなツリー構造Sとして
格納している。The bag management unit 32 stores the bag F included in the database DB and the inclusion relation between the tips T and the bag F. As shown in FIG. 5, one information processing device 2 has a plurality of database DBs.
The case where 1 , DB 2 , and DB 3 are stored will be described as an example. The relationship of the information processing device 2∋database DB∋float F∋tip T is established. The bag management unit 3
2 stores this relationship as a tree structure S as shown in FIG.
【0098】当該ツリー構造Sでは、ティップT2 のよ
うに、単一のフクロ(F1 )に含まれていてもよいし、
ティップT1 のように、複数のフクロ(F1 ・F2 )に
含まれていてもよい。これにより、図5に示すように、
複数のフクロF1 、F2 に含まれるティップT1 を表現
できる。In the tree structure S, like the tip T 2 , it may be contained in a single bag (F 1 ),
Like the tip T 1 , it may be included in a plurality of bags (F 1 · F 2 ). As a result, as shown in FIG.
The tip T 1 included in the plurality of bags F 1 and F 2 can be expressed.
【0099】なお、上記ツリー構造Sを格納できれば、
ツリー構造S全体を格納してもよいし、当該ツリー構造
Sを複数のリストに分割して、情報処理機器2に含まれ
るデータベースDBのリストと、各データベースDB毎
のフクロFのリストと、各フクロF毎のティップTのリ
ストとして格納してもよい。本実施形態では、ティップ
Tと同様に、各情報処理機器2、各データベースDBお
よび各フクロFに対して、それぞれを一意に識別するた
めのIDが割り当てられているので、上記各リストは、
当該IDのリストとして格納される。なお、上記各リス
トとして格納した場合、あるフクロFに含まれるティッ
プTは、当該リストを参照すれば即座に判明するが、こ
れとは逆に、ティップTを含むフクロFは、最悪のケー
スで、全てのリストを検索する必要がある。それゆえ、
検索時間の短縮が要求される場合には、上記各リストと
は別に、ティップT毎に当該ティップTを含むフクロF
のリストを設ける方がよい。If the tree structure S can be stored,
The entire tree structure S may be stored, or the tree structure S may be divided into a plurality of lists and a list of database DBs included in the information processing device 2 and a list of bag F for each database DB may be stored. It may be stored as a list of tips T for each bag F. In the present embodiment, as in the case of the tip T, an ID for uniquely identifying each information processing device 2, each database DB, and each bag F is assigned, so that each list above
It is stored as a list of the ID. When stored as each of the above lists, the tip T included in a certain bag F is immediately found by referring to the list. On the contrary, the bag F including the tip T is the worst case. , I need to search all the lists. therefore,
When the search time is required to be shortened, the bag F including the tip T for each tip T, apart from the above-mentioned lists.
It is better to have a list of.
【0100】本実施形態に係るデータベースシステム1
では、図7に示すように、同期処理の対象となる範囲
(共有範囲)がフクロF単位で決定されており、あるテ
ィップTが他のデータベースDB間で共有されるか否か
は、予め共有すると設定されたフクロ(共有フクロS
F)に所属しているか否かで判定される。Database system 1 according to the present embodiment
Then, as shown in FIG. 7, the range (shared range) that is the target of the synchronization processing is determined in units of the F bags F, and whether or not a certain tip T is shared between other database DBs is shared in advance. Then the set bag (shared bag S
It is determined by whether or not it belongs to F).
【0101】ここで、通常、通信装置3などを介した他
の情報処理機器2へのアクセスは、自らの情報処理機器
2内のアクセスに比べると極めて低速であり、同期処理
の所要時間は増大しがちである。それゆえ、所要時間の
短縮が切望されており、両情報処理機器2a・2b間で
伝送されるデータ量の削減が望まれる。なお、自らの情
報処理機器2内へのアクセスは比較的高速なので、前回
の同期処理と次回の同期処理との間の期間中(非同期期
間中)の処理が増大したとしても、処理時間は、余り長
くならない。Here, normally, access to the other information processing equipment 2 via the communication device 3 or the like is extremely slow as compared with access within the information processing equipment 2 of its own, and the time required for the synchronization processing increases. It tends to be. Therefore, there is a strong demand for shortening the required time, and it is desired to reduce the amount of data transmitted between the information processing devices 2a and 2b. Since the access to the information processing device 2 is relatively fast, even if the processing during the period between the previous synchronization processing and the next synchronization processing (during the asynchronous period) increases, the processing time is Not too long.
【0102】本実施形態に係るフクロ管理部32は、上
記データ量を削減するため、非同期期間中における各テ
ィップTの状態を示すダーティ・ビットDからなるダー
ティ・ビット・リストLDを格納している。ダーティ・
ビット・リストLDは、各ダーティ・ビットDの順序
が、自らと相手とで互いに対応するティップTのダーテ
ィ・ビットDが同じ順位になるように管理されており、
後述するように、ティップTの対応関係をも示してい
る。さらに、フクロ管理部32には、前回の同期処理で
既に対応付けられたティップTの数を示すシンク・リミ
ットLimが格納されており、ダーティ・ビットDに対
応するティップTが、相手の共有フクロSF内のティッ
プTと既に対応付けられているか否かを判別できる。In order to reduce the amount of data, the bag management unit 32 according to this embodiment stores a dirty bit list LD consisting of dirty bits D indicating the state of each tip T during the asynchronous period. . Dirty
In the bit list LD, the order of the dirty bits D is managed so that the dirty bit D of the tip T corresponding to each other in the self and the opponent is the same.
As will be described later, the correspondence relationship between tips T is also shown. Further, the pocket management unit 32 stores a sync limit Lim indicating the number of tips T already associated with the previous synchronization process, and the tip T corresponding to the dirty bit D is shared by the partner. It can be determined whether or not it is already associated with the tip T in the SF.
【0103】例えば、図8に示すように、前回の同期処
理において、両共有フクロSFa ・SFb 間で、3つの
ティップ(T1a〜T3aおよびT1b〜T3b)が対応付けら
れた場合、両情報処理機器2a・2bには、シンク・リ
ミットLimとして、”3”が記憶される。さらに、図
9に示すように、情報処理機器2aのダーティ・ビット
・リストLDa では、各ティップT1a〜T6aに対応する
ダーティ・ビットD1a〜D6aが、この順番で格納されて
いる。同様に、情報処理機器2bのダーティ・ビット・
リストLDb では、各ティップT1b〜T3b、T7bおよび
T8bに対応するダーティ・ビットD1b〜D3b、D7bおよ
びD8bが、この順番で格納されている。この場合、シン
ク・リミットLimが”3”なので、ダーティ・ビット
Dが3番目よりも後に格納されたティップT4a〜T6a、
および、T7b〜T8bは、相手の共有フクロSF内のティ
ップTと対応付けられていない。なお、図9は、ダーテ
ィ・ビット・リストLDの格納方法の一例として、ダー
ティ・ビットDとダーティ・ビットDに対応するティッ
プIDとの組み合わせを順次格納する場合を示してい
る。For example, as shown in FIG. 8, in the previous synchronization processing, three tips (T 1a to T 3a and T 1b to T 3b ) are associated with each other between both shared bags SF a and SF b . In this case, “3” is stored as the sync limit Lim in both the information processing devices 2a and 2b. Furthermore, as shown in FIG. 9, the dirty bit list LD a of the information processing apparatus 2a, the dirty bits D 1a to D 6a corresponding to the tip T 1a through T 6a is stored in this order . Similarly, the dirty bit of the information processing device 2b
In the list LD b , dirty bits D 1b to D 3b , D 7b and D 8b corresponding to the respective tips T 1b to T 3b , T 7b and T 8b are stored in this order. In this case, since the sync limit Lim is “3”, the tips T 4a to T 6a in which the dirty bit D is stored after the third bit,
And, T 7b through T 8b are not associated with the tip T in the shared bag SF of the other party. Note that FIG. 9 shows an example of a method of storing the dirty bit list LD in which a combination of a dirty bit D and a tip ID corresponding to the dirty bit D is sequentially stored.
【0104】以下では、説明の便宜上、ダーティ・ビッ
ト・リストLDにおけるダーティ・ビットDの順位をシ
ンク・タグと称し、図中では、〔〕内の数字として表記
する。また、ダーティ・ビットDとティップTとなど、
対応するデータは、例えば、ダーティ・ビットD1aとテ
ィップT1aとのように、同じ添字を付して表記する。さ
らに、一方の情報処理機器2aに格納される情報は、例
えば、ティップT1aのように添字a を付して、他方の情
報処理機器2bに格納された情報(添字b を付す)と区
別する。なお、特に対応関係を明記する必要がない場
合、あるいは、総称する場合は、添字を省略する。Hereinafter, for convenience of explanation, the order of the dirty bits D in the dirty bit list LD is referred to as a sync tag, and is represented as a number in [] in the figure. Also, Dirty Bit D and Tip T, etc.
Corresponding data are denoted with the same subscript, for example, dirty bit D 1a and tip T 1a . Further, the information stored in one of the information processing devices 2a is attached with a subscript a such as, for example, tip T 1a to be distinguished from the information stored in the other information processing device 2b (subscript b is attached). . The subscripts are omitted when it is not necessary to specify the correspondence or when the names are collectively referred to.
【0105】上記ダーティ・ビットDは、非同期期間中
に一度でも共有フクロSF内に存在したティップTそれ
ぞれに対応して作成されており、対応するティップTが
非同期期間中に更新されたか否かを示す更新パラメタ
と、当該ティップTが非同期期間中に共有フクロSF内
外を移動したか否かを示す移動パラメタとを有してい
る。更新パラメタは、更新を示す「m」、あるいは、維
持を示す「p」の値を取り、移動パラメタの値は、静止
を示す「X」、挿入を示す「I」、あるいは、排出を示
す「O」のいずれかである。より詳細には、「X」は、
前回の同期処理以降、共有フクロSF中に存在し続けて
いることを示し、「I」は、前回の同期処理以降、共有
フクロSFに入れられたこと、あるいは、戻されたこと
を示している。同様に、「O」は、前回の同期処理以
降、共有フクロSFから取り出されたこと、あるいは、
一度挿入された後、再び取り出されたことを示してい
る。上記移動パラメタは、例えば、図10に示すよう
に、共有フクロSFへ追加されたことを示す追加ビット
BIと、共有フクロSFから削除されたことを示す削除
ビットBOとの組み合わせとして格納される。また、例
えば、同期処理の結果、共有フクロSF外に存在すると
判定した場合など、それ以降は、ティップTの状態監視
が不要な場合には、両ビットBIおよびBOが共にオン
に設定される。以下では、更新パラメタの値に拘わら
ず、この状態を無効「K」と称する。したがって、ダー
ティ・ビットDから識別可能なティップTの状態は、静
止維持「Xp」、静止更新「Xm」、挿入維持「I
p」、挿入更新「Im」、排出維持「Op」、排出更新
「Om」および無効「K」の7つとなる。The dirty bit D is created corresponding to each of the tips T existing in the shared bag SF even at least once during the asynchronous period, and whether or not the corresponding tip T is updated during the asynchronous period. It has an update parameter that indicates and a movement parameter that indicates whether the tip T has moved inside or outside the shared bag SF during the asynchronous period. The update parameter takes a value of "m" indicating update or "p" indicating maintenance, and the value of the movement parameter is "X" indicating stillness, "I" indicating insertion, or "I" indicating ejection. It is either "O". More specifically, "X" is
It has been shown that it has continued to exist in the shared bag SF since the last synchronization process, and "I" has been put in the shared bag SF since the last synchronization process or has been returned. . Similarly, “O” has been extracted from the shared bag SF since the previous synchronization processing, or
It shows that it was inserted once and then removed again. The movement parameter is stored, for example, as shown in FIG. 10, as a combination of an addition bit BI indicating addition to the shared bag SF and a deletion bit BO indicating deletion from the shared bag SF. Further, for example, when it is determined as a result of the synchronization processing that the tip T exists outside the shared bag SF, and thereafter, when it is unnecessary to monitor the state of the tip T, both bits BI and BO are set to ON. Hereinafter, this state is referred to as invalid "K" regardless of the value of the update parameter. Therefore, the states of the tip T which can be identified from the dirty bit D are the static maintenance "Xp", the static update "Xm", and the insertion maintenance "I".
There are seven: p ”, insert update“ Im ”, discharge maintenance“ Op ”, discharge update“ Om ”, and invalid“ K ”.
【0106】ところで、同じ共有フクロSFであって
も、相手の共有フクロSFが異なれば、それぞれとの非
同期期間は、通常、互いに異なっている。したがって、
本実施形態では、ダーティ・ビット・リストLDおよび
シンク・リミットLimは、自らの共有フクロSFと相
手の共有フクロSFとの組み合わせ毎に設けられてい
る。By the way, even if the same shared bag SF is used, if the partner shared bag SF is different, the asynchronous period with each is usually different from each other. Therefore,
In the present embodiment, the dirty bit list LD and the sync limit Lim are provided for each combination of the shared bag SF of itself and the shared bag SF of the other party.
【0107】例えば、図11に示すように、共有フクロ
SFa が、3つの異なる共有フクロSFb ・SFc ・S
Fd と対応している場合、図12に示すように、それぞ
れに対応するダーティ・ビット・リストLDab・LDac
・LDad、および、シンク・リミットLimab・Lim
ac・Limadが設けられる。図11および図12に示す
ように、各ダーティ・ビット・リストLDは、相手のダ
ーティ・ビット・リストLDと順序が揃えられていれば
よく、相手が異なるダーティ・ビット・リスト(LDab
・LDacなど)間では、ダーティ・ビットDの順序や
値、あるいは、シンク・リミットLimが異なっていて
もよい。例えば、ダーティ・ビット・リストLDabで
は、ティップT2aを示すダーティ・ビットD2ab (値
は、Im)が、2番目に格納されているが、ダーティ・
ビット・リストLDacでは、ダーティ・ビットD
2ac (値は、Xp)が1番目に格納されている。ただ
し、共有フクロSFb のダーティ・ビット・リストLD
b では、ティップT2b を示すダーティ・ビットD2bが
2番目に格納されており、ダーティ・ビット・リストL
Dc では、ダーティ・ビットD2cが1番目に格納されて
いる。For example, as shown in FIG. 11, the shared bag SF a has three different shared bags SF b , SF c , S.
When it corresponds to F d , as shown in FIG. 12, the corresponding dirty bit list LD ab and LD ac
・ LD ad and sink limit Lim ab・ Lim
ac · Lim ad is provided. As shown in FIGS. 11 and 12, each dirty bit list LD may be in the same order as the dirty bit list LD of the other party, and the dirty bit list (LD ab
The order or value of the dirty bit D or the sync limit Lim may be different between LD ac ). For example, in the dirty bit list LD ab , the dirty bit D 2ab (whose value is Im) indicating the tip T 2a is stored second, but the dirty bit
In the bit list LD ac , dirty bit D
2ac (value is Xp) is stored first. However, dirty bit list LD of shared bag SF b
In b , the dirty bit D 2b indicating the tip T2 b is stored second, and the dirty bit list L
In D c , the dirty bit D 2c is stored first.
【0108】本実施形態に係るフクロ管理部32には、
上記各リストに加えて、各共有フクロSF毎に、当該共
有フクロSFの共有相手を示す共有相手リストLSが設
けられている。このリストLSを参照すれば、ある共有
フクロSFの共有相手全てを容易に検索できるので、例
えば、当該共有フクロSF内のティップTに対して、追
加、削除あるいは内容更新などの変更が加えられた場
合、当該ティップTに対応するダーティ・ビットD全て
をより短時間で更新できる。The bag management unit 32 according to the present embodiment includes:
In addition to each of the above lists, a sharing partner list LS indicating a sharing partner of the sharing bag SF is provided for each sharing bag SF. By referring to this list LS, it is possible to easily search all the sharing partners of a certain shared bag SF, so that, for example, a change such as addition, deletion, or content update is made to the tip T in the shared bag SF. In this case, all the dirty bits D corresponding to the tip T can be updated in a shorter time.
【0109】上記構成のデータベースシステム1の動作
について、図13から図61に基づいて説明する。すな
わち、図13に大略的に示すように、実際の同期処理に
先立って共有設定が行われ、例えば、自らおよび相手の
共有フクロSFの設定、並びに、ダーティ・ビット・リ
ストLDやシンク・リミットLimの生成など、同期処
理に必要な処理が行われる(S1)。なお、この段階で
は、図14に示すように、両共有フクロSFa ・SFb
が共有範囲であることが、両情報処理機器2a・2bに
登録されただけであり、同期処理が行われるまでは両共
有フクロの内容は一致しない。The operation of the database system 1 having the above configuration will be described with reference to FIGS. 13 to 61. That is, as roughly shown in FIG. 13, the sharing setting is performed prior to the actual synchronization processing, and for example, the setting of the shared bag SF of itself and the other party, the dirty bit list LD, and the sync limit Lim are set. The processing required for the synchronization processing, such as the generation of (S1), is performed (S1). At this stage, as shown in FIG. 14, both sharing bags SF a · SF b
It is only registered in both the information processing devices 2a and 2b that the range is a shared range, and the contents of both shared bags do not match until the synchronization process is performed.
【0110】その後、両情報処理機器2a・2bが通信
可能であるか否かに拘わらず、非同期期間中は、自らの
データベースDBへの操作に基づいて、ダーティ・ビッ
ト・リストLDが更新される(S2)。また、両情報処
理機器2a・2bが通信可能な期間には、同期処理が行
われ、図15に示すように、双方の共有フクロSF内の
ティップ数およびティップTの内容は、上記ダーティ・
ビット・リストLDおよびシンク・リミットLimを参
照して揃えられると共に、ダーティ・ビット・リストL
Dおよびシンク・リミットLimも更新される(S
3)。各情報処理機器2a・2b間の通信路が間欠的に
接続される場合、当該S3のように、意図的な同期処理
によって、整合性の保たれる共有フクロは、非常に有用
である。After that, the dirty bit list LD is updated during the asynchronous period, based on the operation to the database DB of itself, regardless of whether the both information processing devices 2a and 2b can communicate. (S2). Further, during a period in which both the information processing devices 2a and 2b can communicate, a synchronization process is performed, and as shown in FIG.
Aligned with reference to bit list LD and sync limit Lim, and dirty bit list L
D and sync limit Lim are also updated (S
3). When the communication path between the information processing devices 2a and 2b is intermittently connected, the shared bag whose consistency is maintained by the intentional synchronization process as in S3 is very useful.
【0111】なお、ティップTは複数のフクロFに入れ
ることができるため、いずれかの共有設定に関連する同
期処理が実行されると、同期処理に関係のないフクロF
に所属するティップTが変更されることがある。ただ
し、いずれの共有設定に関連する同期処理を行った場合
であっても、共有フクロSF以外のフクロFへ、ティッ
プTが挿入されたり、除去されることはない。Note that since the tip T can be put in a plurality of pockets F, if the synchronization processing related to any of the sharing settings is executed, the pockets F not related to the synchronization processing are executed.
Tip T belonging to may be changed. However, the tip T is not inserted into or removed from the bag F other than the shared bag SF regardless of which sharing setting is performed.
【0112】上記S2およびS3の処理は、必要に応じ
て繰り返され、それ以降の同期処理が不要になると、S
4において、共有設定が解除される。なお、図13で
は、ステップS1の後、最初にステップS2が行われる
ように記載しているが、両ステップS2・S3が交互に
繰り返されれば、両ステップS2・S3の順番を入れ換
えてもよい。The processing of S2 and S3 described above is repeated as necessary, and when the subsequent synchronization processing becomes unnecessary, S
In 4, the sharing setting is canceled. Although FIG. 13 describes that step S2 is first performed after step S1, but if both steps S2 and S3 are alternately repeated, the order of both steps S2 and S3 may be exchanged. .
【0113】ここで、共有解除は、基本的には、共有フ
クロSF間の対応を解除するだけであり、共有フクロS
Fの内容が互いに一致しているとは限らない。それゆ
え、共有フクロSFの内容を一致させる場合は、共有解
除の直前に、自動的に、あるいは、使用者の指示によっ
て同期処理すればよい。Here, the sharing cancellation basically only cancels the correspondence between the sharing bags SF, and the sharing bag S
The contents of F do not necessarily match each other. Therefore, when the contents of the shared bag SF are made to coincide with each other, the synchronization process may be performed immediately before the cancellation of sharing, or automatically according to a user's instruction.
【0114】なお、上記では、共有設定と同期処理とを
別に説明しているが、共有設定と同時に同期処理を行う
こともできる。この場合は、例えば、共有設定の終了時
点で、両共有フクロSFの内容が一致する。ただし、本
実施形態では、共有設定と同期処理とを分離して、共有
設定の所要時間を短縮している。これにより、共有設定
の時点では、双方の情報処理機器2がそれぞれの使用者
へ共有設定の可否を確認し、同期処理の時点では、一方
の情報処理機器2の使用者のみが操作する場合、双方の
使用者による操作時間の合計を短縮できる。この結果、
安全性の向上と、操作時間の短縮との双方を実現でき
る。Although the sharing setting and the synchronizing process are separately described above, the synchronizing process can be performed simultaneously with the sharing setting. In this case, for example, the contents of both shared bag SFs match at the end of sharing setting. However, in the present embodiment, the sharing setting and the synchronization process are separated to reduce the time required for the sharing setting. Accordingly, at the time of sharing setting, both information processing devices 2 confirm with each user whether sharing setting is possible, and at the time of synchronization processing, when only the user of one information processing device 2 operates, The total operation time by both users can be shortened. As a result,
Both improvement of safety and reduction of operation time can be realized.
【0115】以下では、上記S1の処理の一例として、
フクロ融合型モデルの共有設定について詳細に説明す
る。フクロ融合型の共有設定は、図14に示すように、
両情報処理機器2a・2bに、予め存在するフクロFa
・Fb 間での共有設定であり、図16に示すように、両
情報処理機器2a・2bが通信可能になると、S11に
おいて、一方の情報処理機器2aに設けられた共有設定
処理部52は、他方の情報処理機器2bへ共有設定要求
を送出する。当該要求には、情報処理機器2aを示すマ
シンIDと、情報処理機器2aのフクロFa を示すフク
ロIDと、共有を希望する情報処理機器2bのフクロF
b を示すフクロIDとが含まれている。なお、以下で
は、共有設定要求を送出する側を共有設定起動側と称
し、共有設定要求を受け取る側を共有設定受動側と称す
る。In the following, as an example of the processing of the above S1,
The sharing setting of the bag fusion type model will be described in detail. As shown in FIG. 14, the sharing settings of the fusion type are as follows.
A balloon F a that is present in advance in both information processing devices 2a and 2b
- a shared settings between F b, as shown in FIG. 16, when both the information processing devices 2a, 2b is communicable, in S11, the shared setting processing unit 52 provided on one of the information processing apparatus 2a , And sends a sharing setting request to the other information processing device 2b. To the request includes a machine ID showing an information processing apparatus 2a, a bag ID showing the bag F a of the information processing apparatus 2a, bag F of an information processing apparatus 2b to the desired share
It includes a bag ID indicating b . In the following, the side that sends the sharing setting request is referred to as the sharing setting activation side, and the side that receives the sharing setting request is referred to as the sharing setting passive side.
【0116】さらに、共有設定起動側の共有設定処理部
52は、S12において、上記共有設定要求と同様の情
報を共有情報として登録する。さらに、共有設定処理部
52は、自らのフクロFa に対応する共有相手リストL
Sを作成し、相手のフクロIDを登録する。これによ
り、当該フクロFa は、共有フクロSFa となる。ま
た、当該共有フクロSFa と相手のフクロFb との組み
合わせに対応するダーティ・ビット・リストLDと、シ
ンク・リミットLimとが作成される。Further, the sharing setting processing unit 52 on the sharing setting starting side registers the same information as the sharing setting request as the sharing information in S12. Further, the sharing setting processing unit 52 causes the sharing partner list L corresponding to the own bag F a.
Create S and register the opponent's bag ID. As a result, the bag F a becomes the shared bag SF a . In addition, a dirty bit list LD and a sync limit Lim corresponding to the combination of the shared bag SF a and the partner bag F b are created.
【0117】一方、共有設定受動側の情報処理機器2b
では、S13において、共有設定処理部52が共有設定
要求を受け取ると、S14において、当該共有設定要求
に基づいて、共有情報を登録する。共有情報には、自ら
の情報処理機器2bを示すマシンIDと、情報処理機器
2aにおいて共有対象となるフクロIDと、情報処理機
器2bにおいて共有対象となるフクロIDと、共有設定
の際に決定されるオプションとが含まれる。さらに、共
有設定処理部52は、共有設定起動側と同様に、自らの
フクロFb に対応する共有相手リストLSへ、相手のフ
クロIDを登録して、共有フクロSFb を生成すると共
に、自らの共有フクロSFb と相手の共有フクロSFa
との組み合わせに対応するダーティ・ビット・リストL
Dおよびシンク・リミットLimを作成する。On the other hand, the information processing device 2b on the sharing setting passive side
Then, when the sharing setting processing unit 52 receives the sharing setting request in S13, the sharing information is registered based on the sharing setting request in S14. The shared information includes a machine ID indicating its own information processing device 2b, a bag ID to be shared by the information processing device 2a, a bag ID to be shared by the information processing device 2b, and determined at the time of sharing setting. Options are included. Furthermore, sharing setting processing unit 52, similarly to the sharing setting initiator, the shared contact list LS that corresponds to his bag F b, and registers the bag ID of the other party, to generate a shared bag SF b, itself The shared scrounger SF b and the other's shared scrounger SF a
Dirty bit list L corresponding to the combination with
Create D and Sync Limit Lim.
【0118】本実施形態に係るデータベースシステム1
では、各情報処理機器2が、例えば、上記S3の同期処
理における優先側決定ルールやダウンロード処理の要
否、衝突時のコピーの要否、あるいは、上記S4の共有
解除で採用するモデルなど、種々のオプション(後述)
を選択可能な場合、当該オプションは、共有設定の段階
において設定されることも特徴としており、上記共有設
定要求には、当該オプションを示す情報も含まれてい
る。これにより、各オプションの設定時点を共有設定時
点に限定できる。Database system 1 according to the present embodiment
Then, various types of information processing devices 2 may be used, for example, whether the priority side determination rule or the download process is necessary in the synchronization process of S3, the necessity of copying at the time of collision, the model adopted in the sharing cancellation of S4, or the like. Options (see below)
If the option is selectable, the option is set at the stage of sharing setting, and the sharing setting request also includes information indicating the option. Thereby, the setting time of each option can be limited to the sharing setting time.
【0119】ここで、各情報処理機器2が任意の時点
で、オプションを設定できる場合は、一方の情報処理機
器2への操作に応じて、優先側決定ルールなどが変更さ
れ、他方の情報処理機器2の使用者にとって不所望な設
定が行われる虞れがある。ところが、上記構成では、各
情報処理機器2が通信可能な共有設定時点のみで、オプ
ションが変更されるので、上記不所望な設定を拒絶でき
る。Here, if each information processing device 2 can set an option at an arbitrary time, the priority side determination rule or the like is changed according to the operation on one of the information processing devices 2 and the other information processing device 2 is processed. There is a risk that the user of the device 2 may make undesired settings. However, in the above configuration, the option is changed only at the time of sharing setting at which each information processing device 2 can communicate, so that the above-mentioned undesired setting can be rejected.
【0120】なお、図16では、共有相手を認証するス
テップを図示していないが、共有設定受動側が、例え
ば、共有設定のオプションなど、共有設定要求の内容に
応じて、共有設定するか否かを決定してもよい。この場
合、共有設定受動側の情報処理機器2は、例えば、受付
可能な共有設定要求を予め格納しておき、格納した共有
設定要求に基づいて要否を決定すればよい。Although the step of authenticating the sharing partner is not shown in FIG. 16, whether or not the sharing setting passive side makes the sharing setting according to the contents of the sharing setting request such as the sharing setting option. May be determined. In this case, the information processing device 2 on the sharing setting passive side may store, for example, a receivable sharing setting request in advance, and determine the necessity based on the stored sharing setting request.
【0121】上記ダーティ・ビット・リストLDおよび
シンク・リミットLimの初期値は、両共有フクロSF
a ・SFb に含まれるティップTの対応関係によって異
なる。例えば、共有設定の際、両共有フクロSFa ・S
Fb 内のティップTをそれぞれ別のティップTと判定す
る場合、シンク・リミットLimの初期値は、0にな
り、各ティップTに対応するダーティ・ビットDは、挿
入更新「Im」に設定される。また、例えば、ティップ
Tの内容などを参照して、ティップTを対応付ける場
合、シンク・リミットLimは、対応付けに成功したテ
ィップTの数になり、当該ティップTに対応するダーテ
ィ・ビットDは、両ダーティ・ビット・リストLD内で
の順位が同一になるように格納される。なお、両ティッ
プTの内容が同一であれば、ダーティ・ビットDの値
は、静止維持「Xp」となり、同一か否かが不明な場合
は、静止更新「Xm」に設定される。The initial values of the dirty bit list LD and the sync limit Lim are as follows:
It depends on the correspondence of the tip T included in a.SF b . For example, when sharing settings, both sharing bags SF a · S
When the tips T in F b are determined to be different tips T, the initial value of the sync limit Lim becomes 0, and the dirty bit D corresponding to each tip T is set to the insertion update “Im”. It Further, for example, in the case of associating the tip T with reference to the content of the tip T, the sync limit Lim is the number of the tips T that have been successfully associated, and the dirty bit D corresponding to the tip T is It is stored so that the ranks in both dirty bit lists LD are the same. It should be noted that if the contents of both tips T are the same, the value of the dirty bit D becomes the still maintenance "Xp", and if it is not clear whether they are the same or not, it is set to the still update "Xm".
【0122】また、共有設定のモデルは、フクロ融合型
モデルに限るものではなく、図17に示すフクロ取込み
型モデルのように、共有設定の際、一方の共有フクロS
Fを新たに作成してもよいし、図18に示すフクロ新規
作成型モデルのように、双方の情報処理機器2a・2b
に、新たな共有フクロSFを作成してもよい。これらの
場合も図16に示す処理と略同様の処理が行われ、それ
ぞれに、共有情報や、ダーティ・ビット・リストLDお
よびシンク・リミットLimや、共有情報などが登録さ
れる。ただし、共有設定受動側に新たな共有フクロSF
が新規作成される場合は、上記共有情報などを登録する
際に、当該共有フクロSFのフクロIDが共有設定起動
側へ返される。The model of sharing setting is not limited to the bag fusion type model, but one of the sharing bags S at the time of sharing setting like the bag taking-in model shown in FIG.
F may be newly created, or both information processing devices 2a and 2b may be created as in the new bag creation model shown in FIG.
Alternatively, a new shared bag SF may be created. In these cases as well, a process substantially similar to the process shown in FIG. 16 is performed, and the shared information, the dirty bit list LD and the sync limit Lim, the shared information, etc. are registered in each of them. However, a new sharing bag SF is added to the sharing setting passive side.
When a new item is created, the bag ID of the shared bag SF is returned to the sharing setting activation side when the shared information is registered.
【0123】続いて、図13に示すS2の処理、すなわ
ち、非同期期間中の処理について詳細に説明する。非同
期期間中には、ティップTへの操作と、操作時点でのダ
ーティ・ビット・リストLDおよびシンク・リミットL
imとに基づいて、ティップTに対応するダーティ・ビ
ットDが、図19に示すように更新される。Next, the process of S2 shown in FIG. 13, that is, the process during the asynchronous period will be described in detail. During the asynchronous period, the operation to the tip T, the dirty bit list LD and the sync limit L at the time of the operation are performed.
Based on im, the dirty bit D corresponding to tip T is updated as shown in FIG.
【0124】具体的には、ティップTの内容更新が指示
された場合、図20に示すS21において、ティップ更
新処理部41(図1参照)は、ユーザ操作部22から当
該指示を受け取り、指示に応じて、ティップTの内容を
更新する。さらに、S22において、当該ティップTに
対応するダーティ・ビットDについて、更新パラメタを
「m」に設定する。なお、移動パラメタは、それまでの
値のまま保たれる。Specifically, when the content update of the tip T is instructed, the tip update processing section 41 (see FIG. 1) receives the instruction from the user operation section 22 in S21 shown in FIG. Accordingly, the content of tip T is updated. Further, in S22, the update parameter is set to "m" for the dirty bit D corresponding to the tip T. The movement parameter is kept as it is.
【0125】上記ティップTは、複数の共有フクロSF
に所属可能であり、また、各共有フクロSFは、複数の
相手と共有されていることがある。この結果、情報処理
機器2全体でみると、当該ティップTに対応するダーテ
ィ・ビットDは、複数存在する場合がある。したがっ
て、当該ティップTに対応する全てのダーティ・ビット
Dが検索され、それぞれが更新される。対応するダーテ
ィ・ビットDの検索は、例えば、全てのダーティ・ビッ
ト・リストLDを参照してもよいし、検索時間を短縮す
るために、各ティップTに対応するダーティ・ビットD
のリストを予め作成しておき、当該リストを参照して検
索してもよい。The tip T is a plurality of shared bag SFs.
, And each shared bag SF may be shared with a plurality of opponents. As a result, as a whole of the information processing device 2, there may be a plurality of dirty bits D corresponding to the tip T. Therefore, all the dirty bits D corresponding to the tip T are searched and each is updated. For searching the corresponding dirty bit D, for example, all the dirty bit lists LD may be referred to, or in order to shorten the search time, the dirty bit D corresponding to each tip T may be searched.
The list may be created in advance, and the search may be performed by referring to the list.
【0126】いずれの場合でも、本実施形態では、非同
期期間に一度でも共有フクロSFに所属したティップT
について、ダーティ・ビットDが作成され、当該ティッ
プTへの操作を監視して、ダーティ・ビットDを更新し
ている。したがって、例えば、ティップTの移動などに
よって、当該ティップTが現時点では共有フクロSFに
存在しない場合であっても、ダーティ・ビットDは、確
実に更新される。In any case, in this embodiment, the tip T that belongs to the shared bag SF even once in the asynchronous period is used.
, The dirty bit D is created, the operation to the tip T is monitored, and the dirty bit D is updated. Therefore, even if the tip T is not present in the shared bag SF at the present time due to, for example, the movement of the tip T, the dirty bit D is surely updated.
【0127】一方、ティップTの新規作成やティップT
の移動などによって、ティップTが共有フクロSFへ挿
入される場合、図21に示すように、ティップ追加処理
部42(図1参照)は、ユーザ操作部22からの指示に
応じて、フクロ管理部32を制御して、当該ティップT
を共有フクロSFに所属させる(S31)。さらに、テ
ィップ追加処理部42は、S32において、当該共有フ
クロSFを示すダーティ・ビット・リストLDが、ティ
ップTに対応するダーティ・ビットDを含んでいるか否
かを判定する。On the other hand, new creation of tip T or tip T
When the tip T is inserted into the shared bag SF due to the movement of the tag or the like, as shown in FIG. 21, the tip addition processing unit 42 (see FIG. 1) causes the bag management unit 42 to respond to the instruction from the user operation unit 22. 32 to control the tip T
Belong to the shared bag SF (S31). Further, in S32, the tip addition processing unit 42 determines whether or not the dirty bit list LD indicating the shared bag SF includes the dirty bit D corresponding to the tip T.
【0128】ここで、ダーティ・ビットDを含んでいる
場合は、例えば、共有フクロSF内のティップTを出し
入れした場合など、当該ティップTの内容更新が既に監
視されていることを示している。したがって、ティップ
追加処理部42は、S33において、当該ダーティ・ビ
ットDの移動パラメタを「I」に設定する。一方、含ん
でいない場合は、例えば、一度も共有フクロSFに含ま
れていない場合やティップTを新規作成した場合などで
あり、非同期期間中に、当該ティップTの内容が更新さ
れたか否かを識別できないことを示している。したがっ
て、ティップ追加処理部42は、S34において、例え
ば、ダーティ・ビット・リストLDの末尾など、シンク
・リミットLimよりも後の順位に、値が「Im」で上
記ティップTを示すダーティ・ビットDを追加する。な
お、共有フクロSFに対応するダーティ・ビット・リス
トLDが複数存在する場合は、全てのダーティ・ビット
・リストLDについて、S32ないしS34の処理が行
われる。Here, when the dirty bit D is included, it indicates that the content update of the tip T is already monitored, for example, when the tip T in the shared bag SF is taken in and out. Therefore, the tip addition processing unit 42 sets the movement parameter of the dirty bit D to "I" in S33. On the other hand, when it is not included, for example, when it is not included in the shared bag SF once, when a tip T is newly created, and the like, it is determined whether the content of the tip T is updated during the asynchronous period. Indicates that it cannot be identified. Therefore, in S34, the tip addition processing unit 42, for example, the dirty bit D indicating the tip T with a value of “Im” in the order after the sync limit Lim, such as the end of the dirty bit list LD. To add. When there are a plurality of dirty bit lists LD corresponding to the shared bag SF, the processes of S32 to S34 are performed for all dirty bit lists LD.
【0129】さらに、例えば、ティップTの削除や移動
などによって、ティップTが共有フクロSFから排出さ
れる場合、図22に示すように、ティップ削除処理部4
3(図1参照)は、ユーザ操作部22からの指示に応じ
て、フクロ管理部32を制御して、当該ティップTを共
有フクロSFから取り除く(S41)。ここで、本実施
形態では、非同期期間に共有フクロSFに一度でも含ま
れたティップTについてダーティ・ビットDを保持して
いる。したがって、ティップ削除処理部43は、S42
において、当該共有フクロSFを示す全てのダーティ・
ビット・リストLDにおいて、当該ティップTに対応す
るダーティ・ビットDの移動パラメタを「O」に変更す
る。なお、更新パラメタは、そのまま保たれる。Furthermore, for example, when the tip T is discharged from the shared bag SF by deleting or moving the tip T, as shown in FIG. 22, as shown in FIG.
3 (see FIG. 1) controls the bag management unit 32 according to an instruction from the user operation unit 22 to remove the tip T from the shared bag SF (S41). Here, in the present embodiment, the dirty bit D is held for the tip T included in the shared bag SF even once in the asynchronous period. Therefore, the tip deletion processing unit 43 causes the S42.
In, all the dirty
In the bit list LD, the movement parameter of the dirty bit D corresponding to the tip T is changed to "O". The update parameter is kept as it is.
【0130】例えば、同期処理の終了時点では、図23
に示すように、両共有フクロSFa・SFb 内の全ての
ティップTは、互いに1対1に対応付けられており、対
応するティップTの内容は、同一に設定されている。し
たがって、図24に示すように、シンク・リミットLi
mは、ダーティ・ビット・リストLDの長さ(ダーティ
・ビットDの数)と同一であり、両ダーティ・ビット・
リストLDにおいて、対応するダーティ・ビットDa ・
Db は、それぞれ同じ順位になるように格納される。ま
た、各ダーティ・ビットDの値は、全て「Xp」に設定
されている。For example, at the end of the synchronization process, FIG.
As shown in FIG. 5, all the tips T in both shared pockets SF a and SF b are in a one-to-one correspondence with each other, and the contents of the corresponding tips T are set to be the same. Therefore, as shown in FIG. 24, the sink limit Li
m is the same as the length of the dirty bit list LD (the number of dirty bits D), and both dirty bits
In the list LD, the corresponding dirty bit D a
D b is stored so as to have the same rank. Further, the value of each dirty bit D is set to "Xp".
【0131】さらに、非同期期間中、両情報処理機器2
で、それぞれのデータベースDBが独立に操作される
と、各情報処理機器2の上記各処理部41〜43は、そ
れぞれのダーティ・ビット・リストLDを更新する。こ
の結果、非同期期間中、ダーティ・ビットDの値は、対
応するティップTの状態を常に示している。これによ
り、それぞれのデータベースDBが独立に更新された場
合、次の同期処理の直前の時点では、両ダーティ・ビッ
ト・リストLDは、例えば、図25に示すように、一致
しなくなる。Furthermore, during the asynchronous period, both information processing devices 2
Then, when the respective databases DB are operated independently, the respective processing units 41 to 43 of the respective information processing devices 2 update the respective dirty bit lists LD. As a result, during the asynchronous period, the value of dirty bit D always indicates the state of the corresponding tip T. As a result, when the respective databases DB are independently updated, both dirty bit lists LD do not match at the time immediately before the next synchronization process, as shown in FIG. 25, for example.
【0132】ただし、両ダーティ・ビット・リストLD
において、シンク・リミットLimが示す順位、およ
び、それ以前のダーティ・ビットDは、対応するティッ
プTが削除されたとしても削除されず、非同期期間中
は、同じ順序を保っている。この結果、ダーティ・ビッ
トD3a・D3bなど、両共有フクロSFa ・SFb で、互
いに対応するティップTを示すダーティ・ビットDの順
位は、互いに同一に保たれている。However, both dirty bit lists LD
In, the rank indicated by the sync limit Lim and the dirty bits D before that are not deleted even if the corresponding tip T is deleted, and the same order is maintained during the asynchronous period. As a result, the ranks of the dirty bits D indicating the tips T corresponding to each other in both shared pockets SF a and SF b such as the dirty bits D 3a and D 3b are kept the same.
【0133】シンク・リミットLimより後のダーティ
・ビットDは、非同期期間中に、新たに共有フクロSF
へ追加されたティップTを示しており、例えば、ダーテ
ィ・ビットD22・D27など、同じ順位に格納されている
ダーティ・ビットDであっても、それぞれのティップT
は、対応していない。これらのシンク・リミットLim
より後のダーティ・ビットDは、「Im」か「Om」を
示しており、「Om」は、共有フクロSFに新たに挿入
されたティップTが、現在は、共有フクロSFに所属し
ていないことを示している。また、追加されたティップ
Tの数が異なる場合、両ダーティ・ビット・リストLD
の長さも互いに異なっている。The dirty bit D after the sync limit Lim is newly added to the shared bag SF during the asynchronous period.
Shows the tip T added to the tip T. For example, even if the dirty bit D is stored in the same order such as the dirty bit D 22 D 27 , the tip T of each dirty bit D 22 D 27 is stored.
Does not correspond. These sink limit lim
The subsequent dirty bit D indicates “Im” or “Om”, and “Om” indicates that the tip T newly inserted in the shared bag SF does not belong to the shared bag SF at present. It is shown that. When the number of added tips T is different, both dirty bit lists LD
Are also different in length.
【0134】この状態で、使用者の指示や、通信可能を
検出するセンサなどによって同期処理が指示されると、
図13のS3に示す同期処理が行われる。より詳細に説
明すると、図26に示すように、S51において、各情
報処理機器2のシンクロナイズ処理部51は、それぞれ
のダーティ・ビット・リストLDにおいて、シンク・リ
ミットLimより後のダーティ・ビットDのうち、移動
パラメタが「O」のダーティ・ビットDを削除する。こ
れにより、図27に示すように、両ダーティ・ビット・
リストLDにおいて、シンク・リミットLimより後の
ダーティ・ビットDは、値が「Im」のみとなる。In this state, if a user's instruction or a sensor for detecting communication is instructed to perform a synchronization process,
The synchronization process shown in S3 of FIG. 13 is performed. More specifically, as shown in FIG. 26, in S51, the synchronization processing unit 51 of each information processing device 2 registers the dirty bit D after the sync limit Lim in each dirty bit list LD. Of these, the dirty bit D whose movement parameter is "O" is deleted. As a result, as shown in FIG. 27, both dirty bits
In the list LD, the value of the dirty bit D after the sync limit Lim is only “Im”.
【0135】上記移動パラメタが「O」のダーティ・ビ
ットDは、対応するティップTが前回の同期処理および
今回の同期処理の時点で、自らの共有フクロSFに含ま
れていない。したがって、当該ティップTの内容は、相
手の共有フクロSFの状態に拘わらず、相手に送出する
必要がない。この結果、これらのティップTを削除する
ことによって、以降の処理において、両情報処理機器2
a・2b間を伝送されるダーティ・ビットDの数を削減
できる。The dirty bit D having the movement parameter "O" is not included in the shared tip SF of the corresponding tip T at the time of the previous synchronization processing and the current synchronization processing. Therefore, the content of the tip T does not need to be sent to the partner regardless of the state of the shared bag SF of the partner. As a result, by deleting these tips T, both information processing devices 2
The number of dirty bits D transmitted between a and 2b can be reduced.
【0136】上記S51にて、ダーティ・ビット・リス
トLDの圧縮が終了すると、両シンクロナイズ処理部5
1は、S52において、シンク・リミットLimより後
のダーティ・ビットDを送受して、相手から送られたダ
ーティ・ビットDに対応するダーティ・ビットDを生成
する。具体的には、一方の情報処理機器2bは、自らの
ダーティ・ビット・リストLDb 内で、シンク・リミッ
トLimb より後のダーティ・ビットDの数Yb を送出
し、他方の情報処理機器2aは、自らのダーティ・ビッ
ト・リストLDa において、シンク・リミットLima
の直後に、値が「Op」のダーティ・ビットDを、受け
取った数Yb だけ挿入する。さらに、両情報処理機器2
a・2bは、それぞれのシンク・リミットLimを上記
Yb だけ増加させる。これにより、図28に示すよう
に、情報処理機器2bで追加されたティップTに対応す
るダーティ・ビットDが、情報処理機器2aにも作成さ
れる。同様にして、情報処理機器2aで追加されたティ
ップTに対応するダーティ・ビットDが、情報処理機器
2bにも追加され、シンク・リミットLimが調整され
る。When the compression of the dirty bit list LD is completed in S51, both synchronization processing units 5
In S52, 1 transmits and receives the dirty bit D after the sync limit Lim and generates the dirty bit D corresponding to the dirty bit D sent from the other party. Specifically, one of the information processing apparatus 2b is a own dirty bit list LD b, and sends the number Y b of dirty bits D after the sink limit Lim b, the other information processing equipment 2a, in their own dirty bit list LD a, sink limit Lim a
Immediately after, the dirty bit D with the value "Op" is inserted by the number Y b received. Furthermore, both information processing devices 2
a-2b increases the respective sink limit Lim only the Y b. As a result, as shown in FIG. 28, the dirty bit D corresponding to the tip T added by the information processing device 2b is also created in the information processing device 2a. Similarly, the dirty bit D corresponding to the tip T added by the information processing device 2a is also added to the information processing device 2b, and the sync limit Lim is adjusted.
【0137】ここで、図28に示すように、情報処理機
器2aのダーティ・ビット・リストLDa へ、情報処理
機器2bのティップTに対するダーティ・ビットDを追
加した状態では、シンク・リミットLimが既に変更さ
れており、情報処理機器2bのダーティ・ビット・リス
トLDb の末尾を示している(この場合、シンク・リミ
ットLim=23)。したがって、情報処理機器2aの
ティップTに対応するダーティ・ビットDを追加する
際、ダーティ・ビット・リストLDb のシンク・リミッ
トLimの直後に、これらのダーティ・ビットDを追加
すると、情報処理機器2aにて追加されたティップT
(T22a 、T24a 、T26a など)に対応するダーティ・
ビットDは、両ダーティ・ビット・リストLDa ・LD
b のいずれにおいても、情報処理機器2bにて追加され
たティップT(T27b 、T29b など)に対応するダーテ
ィ・ビットDよりも、順序が後になる。この結果、両ダ
ーティ・ビット・リストLDa ・LDb において、対応
するダーティ・ビットDの順位は一致する。Here, as shown in FIG. 28, in the state where the dirty bit D for the tip T of the information processing device 2b is added to the dirty bit list LDa of the information processing device 2a, the sync limit Lim has already been reached. It has been changed and indicates the end of the dirty bit list LDb of the information processing device 2b (in this case, the sync limit Lim = 23). Therefore, when the dirty bit D corresponding to the tip T of the information processing device 2a is added, if these dirty bits D are added immediately after the sync limit Lim of the dirty bit list LDb, the information processing device 2a Tip T added in
Dirty corresponding to (T 22a , T 24a , T 26a, etc.)
Bit D is both dirty bit lists LDa and LD
In any of b, the order is later than the dirty bit D corresponding to the tip T (T 27b , T 29b, etc.) added in the information processing device 2b. As a result, in the dirty bit lists LDa and LDb, the ranks of the corresponding dirty bits D match.
【0138】これにより、図29に示すように、両ダー
ティ・ビット・リストLDa ・LDb の長さは、互いに
等しくなり、互いに同じ順位のダーティ・ビットD・D
は、対応するティップTを示すようになる。また、両シ
ンク・リミットLimは、ダーティ・ビット・リストL
Dの長さと同一になり、シンク・リミットLimより後
のダーティ・ビットDは、存在していない。なお、この
段階では、ダーティ・ビット・リストLDおよびシンク
・リミットLimを更新すればよく、ティップTの内容
を伝送する必要はない。As a result, as shown in FIG. 29, the lengths of the dirty bit lists LD a and LD b are equal to each other, and the dirty bits D and D of the same rank are the same.
Indicates the corresponding tip T. Also, both sync limits Lim are dirty bit list L
There is no dirty bit D after the sync limit Lim, which is the same as the length of D. At this stage, the dirty bit list LD and the sync limit Lim may be updated, and the contents of the tip T need not be transmitted.
【0139】なお、上記では、数Ya (Yb )を送受す
る場合を例にして説明したが、対応するティップTのダ
ーティ・ビットDを同一の順位にできれば、送受する情
報は、数Ya (Yb )に限らない。また、上記では、値
が「Op」のダーティ・ビットDを追加したが、「I
m」よりも優先度が低い値であれば同様の効果が得られ
る。In the above description, the case of transmitting and receiving the number Y a (Y b ) has been described as an example. However, if the dirty bits D of the corresponding tips T can be set in the same order, the information to be transmitted and received is the number Y. It is not limited to a (Y b ). Also, in the above, the dirty bit D having a value of “Op” was added,
Similar effects can be obtained if the priority is lower than "m".
【0140】上記S52にて、ダーティ・ビットDの対
応付けが終了すると、S53において、両シンクロナイ
ズ処理部51は、両情報処理機器2a・2b間を伝送さ
れるダーティ・ビットDに基づいて、各ダーティ・ビッ
トDに対応するティップTが共有フクロSF内に配され
るか否かを決定する。もし、両ダーティ・ビットDa・
Db の移動パラメタが異なっていた場合は、例えば、図
30に示す優先ルールで、当該ティップTb が共有フク
ロSFb 内に配されるか否かを判定する。なお、図30
では、矢印の先の方が優先される。When the association of the dirty bit D is completed in the above S52, the two synchronization processing units 51, in S53, based on the dirty bit D transmitted between the two information processing devices 2a and 2b. It is determined whether the tip T corresponding to the dirty bit D is arranged in the shared bag SF. If both dirty bits D a
When the movement parameters of D b are different, for example, the priority rule shown in FIG. 30 is used to determine whether or not the tip T b is arranged in the shared bag SF b . Note that FIG.
Then, the tip of the arrow has priority.
【0141】具体的には、一方の情報処理機器2aから
他方の情報処理機器2bへ、ダーティ・ビット・リスト
LD内のダーティ・ビットDが順次送出される。他方の
情報処理機器2bでは、受け取ったダーティ・ビットD
a と、自らのダーティ・ビット・リストLDb のうち、
受け取った順番と同じ順番のダーティ・ビットDb とを
比較する。情報処理機器2bのシンクロナイズ処理部5
1は、図31に示すように、移動パラメタの組み合わせ
が、(X−X)、(X−I)、(I−I)、(I−K)
および(I−O)のいずれかの場合、ダーティ・ビット
DのティップTが、共有フクロSF内に配されると判定
し、ダーティ・ビットDに対応する両ティップTを、そ
れぞれの共有フクロSFに所属させる。さらに、自らと
相手の移動パラメタを「X」に設定する。Specifically, the dirty bit D in the dirty bit list LD is sequentially transmitted from one information processing device 2a to the other information processing device 2b. In the other information processing device 2b, the received dirty bit D
a and his own dirty bit list LD b
Compare dirty bit D b in the same order as it was received. The synchronization processing unit 5 of the information processing device 2b
31, the combination of movement parameters is (XX), (XI), (II), (IK) as shown in FIG.
In either case of (1−O) and (I−O), it is determined that the tip T of the dirty bit D is arranged in the shared bag SF, and both tips T corresponding to the dirty bit D are set in the shared bag SF. Belong to. Further, the movement parameters of itself and the other party are set to "X".
【0142】これとは逆に、移動パラメタの組み合わせ
が、(X−O)、(O−K)、(O−O)および(K−
K)のいずれかの場合、シンクロナイズ処理部51は、
ティップTが共有フクロSF外に配されると判定し、例
えば、自らおよび相手のティップTをそれぞれの共有フ
クロSFから排出すると共に、それぞれのダーティ・ビ
ットDが無効状態「K」に設定される。なお、両情報処
理機器2a・2bが正常に動作していれば、上記組み合
わせは(X−K)とならない。したがって、この場合
は、エラーと判断し、例えば、使用者の指示を仰ぐなど
のエラー処理を行う。On the contrary, the combinations of movement parameters are (X-O), (O-K), (O-O) and (K-).
In either case of K), the synchronization processing unit 51
It is determined that the tip T is arranged outside the shared bag SF, and, for example, the tip T of itself and the opponent is ejected from the shared bag SF and each dirty bit D is set to the invalid state “K”. . If both the information processing devices 2a and 2b are operating normally, the above combination does not become (X-K). Therefore, in this case, it is determined that an error has occurred, and error processing is performed, for example, asking for a user's instruction.
【0143】上記相手のティップTの排出、および、ダ
ーティ・ビットDの設定は、自らのダーティ・ビットD
を変更前に相手へ送出し、相手のシンクロナイズ処理部
51に処理させてもよいし、自らの判定結果を相手へ伝
えてもよい。いずれの場合であっても、ダーティ・ビッ
トDあるいは判定結果を送出する順番で、相手のダーテ
ィ・ビットDおよびティップTが特定され、それぞれを
特定するための情報が特に送付されない。したがって、
内外判定時に、伝送されるデータ量は、極めて少ない。
この結果、図32に示すように、両ダーティ・ビット・
リストLD内の全てのダーティ・ビットDは、移動パラ
メタが「X」あるいは「K」に設定される。The discharge of the tip T of the opponent and the setting of the dirty bit D are performed by the own dirty bit D.
May be sent to the other party before the change, and may be processed by the other party's synchronization processing unit 51, or the result of its own judgment may be transmitted to the other party. In either case, the dirty bit D and the tip T of the other party are specified in the order in which the dirty bit D or the determination result is sent, and the information for specifying each is not sent in particular. Therefore,
The amount of data transmitted at the time of inside / outside determination is extremely small.
As a result, as shown in FIG. 32, both dirty bits
The movement parameters of all dirty bits D in the list LD are set to "X" or "K".
【0144】なお、移動パラメタが「X」ではないティ
ップT、すなわち、共有フクロSF外と判断されたティ
ップTやエラーとなったティップTは、以下のS54お
よびS55からなるティップ同期処理の対象外であり、
更新パラメタの優先度判定やティップTの内容送付は行
われない。Note that the tip T whose movement parameter is not "X", that is, the tip T judged to be outside the shared bag SF and the tip T having an error are outside the target of the tip synchronization processing of S54 and S55. And
The update parameter priority determination and tip T content transmission are not performed.
【0145】続いて、上記S53のフクロ同期にて、共
有フクロSF内と判定されたティップT(移動パラメタ
が「X」のティップT)について、上記シンクロナイズ
処理部51は、S54において、両ダーティ・ビットD
の更新パラメタを比較して、対応するティップTそれぞ
れの優先度を決定する。ティップTの優先度は、図33
に示すように、更新パラメタによって決められ、更新
「m」の方が維持「p」よりも優先される。これによ
り、ティップTの内容を伝送すべきか否かと、伝送する
場合の方向とが決定される。Subsequently, with respect to the tip T (the tip T having the movement parameter "X") which is determined to be within the shared pocket SF in the balloon synchronization of S53, the synchronization processing unit 51 determines in step S54 that both dirty Bit D
Are compared with each other to determine the priority of each corresponding tip T. The priority of Tip T is shown in FIG.
, The update "m" has priority over the maintenance "p", as determined by the update parameters. As a result, whether or not the contents of the tip T should be transmitted and the direction of the transmission are determined.
【0146】具体的には、シンクロナイズ処理部51
は、図34に示すように、両ダーティ・ビットDa ・D
b を比較して、更新パラメタの組み合わせが(p−p)
の場合、ティップTの内容の送付が不要であると判定す
る。また、組み合わせが(p−m)の場合、更新パラメ
タが「m」の側を優先側と判定し、優先側の情報処理機
器2から、非優先側の情報処理機器2へ、ティップTの
内容を送付すべきと判定する。したがって、両ダーティ
・ビット・リストLDが上記図32に示す値の場合は、
図35に示すように、優先側が判定される。なお、上記
S54にて、組み合わせが(m−m)の場合、すなわ
ち、双方でティップTが更新された場合は、ティップT
の衝突として扱われる。この場合は、後述するように、
例えば、ティップTの内容(更新時刻や所定のキーフィ
ールドなど)や、同期処理を指示した側や共有設定を起
動した側、あるいは、予め設定された側など、ダーティ
・ビットD以外の情報を参照したり、あるいは、使用者
に問い合わせるなど、予め定められた優先ルールで、優
先側を決定する。なお、ティップTが衝突した場合は、
それぞれのティップTを別のティップTと見なし、相手
のティップTを自らの共有フクロSFに追加してもよ
い。Specifically, the synchronization processing section 51
As shown in FIG. 34, both dirty bits D a D
b is compared, and the combination of update parameters is (pp)
In the case of, it is determined that the contents of the tip T need not be sent. When the combination is (pm), the side with the update parameter "m" is determined to be the priority side, and the content of the tip T is transferred from the priority side information processing apparatus 2 to the non-priority side information processing apparatus 2. Determine that should be sent. Therefore, when both dirty bit lists LD have the values shown in FIG. 32,
As shown in FIG. 35, the priority side is determined. In S54, when the combination is (m−m), that is, when the tip T is updated by both, the tip T
Treated as a collision. In this case, as described below,
For example, refer to information other than the dirty bit D, such as the content of the tip T (update time or a predetermined key field), the side instructing the synchronization processing, the side activating the sharing setting, or the side set in advance. Or the user is inquired, and the priority side is determined by a predetermined priority rule. If the tip T collides,
Each tip T may be regarded as another tip T, and the tip T of the opponent may be added to the own shared bag SF.
【0147】上記S54にて、ティップTの優先度が判
定され、ティップTの内容の送付が必要であると判断さ
れた場合、S55において、上記両シンクロナイズ処理
部51は、優先側のティップTの内容を非優先側へ送出
し、非優先側のティップTの内容を優先側の内容で置き
換える。これにより、両ティップTの内容が一致するの
で、それぞれのダーティ・ビットDの更新パラメタが
「p」に設定される。この結果、図36に示すように、
ダーティ・ビット・リストLD内の全てのダーティ・ビ
ットDは、「Xp」あるいは「K」のいずれかに設定さ
れる。When the priority of the tip T is determined in S54 and it is determined that the content of the tip T needs to be sent, the both synchronization processing units 51 of the tip T on the priority side are determined in S55. The content is sent to the non-priority side, and the content of the tip T on the non-priority side is replaced with the content on the priority side. As a result, since the contents of both tips T match, the update parameter of each dirty bit D is set to "p". As a result, as shown in FIG.
All dirty bits D in the dirty bit list LD are set to either "Xp" or "K".
【0148】さらに、上記S54およびS55におい
て、ティップ同期が終了すると、S56において、両ダ
ーティ・ビット・リストLDの圧縮が行われ、値が
「K」のダーティ・ビットDは、それぞれのダーティ・
ビット・リストLDから削除される。例えば、図36で
は、5、6、10、11、19、20および21番目の
7つのダーティ・ビットDが、それぞれのダーティ・ビ
ット・リストLDから削除される。この結果、図37に
示すように、全てのダーティ・ビットDは、「Xp」と
なり、ダーティ・ビットDの数に合わせて、シンク・リ
ミットLimが更新される。なお、図37の例では、値
が「Xp」のダーティ・ビットDの順序を変更していな
いが、両ダーティ・ビット・リストLDで、対応するダ
ーティ・ビットDの順位が同じであれば、順序を変更し
てもよい。Further, when the tip synchronization is completed in S54 and S55, both dirty bit lists LD are compressed in S56, and the dirty bit D having the value "K" is used for the respective dirty bits D.
It is deleted from the bit list LD. For example, in FIG. 36, the seven dirty bits D at the fifth, sixth, tenth, eleventh, nineteenth, and twentieth positions are deleted from the respective dirty bit lists LD. As a result, as shown in FIG. 37, all the dirty bits D become “Xp”, and the sync limit Lim is updated according to the number of dirty bits D. In the example of FIG. 37, the order of the dirty bits D having the value “Xp” is not changed, but if the corresponding dirty bits D are the same in both dirty bit lists LD, You may change the order.
【0149】上記S51ないしS56の同期処理によっ
て、両共有フクロSF内のティップTの数、および、対
応するティップTの内容は、同一になる。この結果、一
方の情報処理機器2で、データベースDBが独立に操作
された場合であっても、他の情報処理機器2と通信可能
になった時点で同期処理を行えば、それぞれの共有フク
ロSFの内容を一致させることができる。それゆえ、互
いに通信可能な期間が断続する情報処理機器2で、デー
タベースシステム1が構成されている場合であっても、
データの整合性を保つことができる。By the synchronization processing of S51 to S56, the number of tips T in both shared bag SFs and the contents of the corresponding tips T become the same. As a result, even when the database DB is operated independently on one of the information processing devices 2, if the synchronization processing is performed at the time when communication with the other information processing device 2 becomes possible, each shared bag SF SF. The contents of can be matched. Therefore, even when the database system 1 is configured with the information processing device 2 in which the periods in which communication is possible with each other is intermittent,
Data integrity can be maintained.
【0150】さらに、上記同期処理では、S55にて、
ティップTの内容を送付する前に、S53およびS54
にて、両情報処理機器2a・2bでダーティ・ビットD
が比較され、内容送付の要否と伝送方向とがティップT
毎に決められる。したがって、この時点で内容の送付が
不要と判明したティップTは、内容の伝送を省略でき
る。ここで、本実施形態では、ダーティ・ビットDを有
するティップTについて、内容の更新を監視している。
したがって、移動も更新も行われていないティップTだ
けではなく、前回の同期処理時点と、今回の同期処理時
点との双方で、共有フクロSF内に存在し、かつ、非同
期期間中、更新されていないティップTについても、内
容の送付を省略できる。Further, in the above synchronization processing, in S55,
Before sending the contents of Tip T, S53 and S54
At both information processing devices 2a and 2b, dirty bit D
Are compared, and whether or not the content needs to be sent and the transmission direction are set to Tip T.
It is decided for each. Therefore, the tip T, which is found to be unnecessary to send the content at this point, can omit the transmission of the content. Here, in this embodiment, the update of the content of the tip T having the dirty bit D is monitored.
Therefore, not only the tip T that has not been moved or updated, but is present in the shared bag SF at both the previous synchronous processing time point and the current synchronous processing time point, and is updated during the asynchronous period. For the tip T that does not exist, it is possible to omit sending the content.
【0151】また、本実施形態では、ティップTの対応
関係がダーティ・ビットDの順位として格納されている
ので、相手のティップTを示すIDを記憶しなくても、
対応関係を記憶できる。加えて、当該IDを送付しなく
ても、対応するティップTを特定できるので、ダーティ
・ビットDの送受の際に、両情報処理機器2a・2b間
を伝送されるデータ量と、ダーティ・ビットDの記憶に
必要なメモリ量とを削減できる。Further, in the present embodiment, since the correspondence relation of the tip T is stored as the rank of the dirty bit D, even if the ID indicating the tip T of the other party is not stored,
Can store correspondence. In addition, since the corresponding tip T can be specified without sending the ID, the amount of data transmitted between the information processing devices 2a and 2b and the dirty bit when the dirty bit D is sent and received. The amount of memory required to store D can be reduced.
【0152】なお、本実施形態では、非同期期間中に一
度でも、共有フクロSFに含まれたティップTについ
て、ダーティ・ビットDを作成しているが、これに限る
ものではない。前回の同期処理の終了時点で、共有フク
ロSFに含まれているティップTについて、ダーティ・
ビットDが作成されていれば、本実施形態と同様に、上
述の移動のみが行われたティップTの内容送付を省略で
きる。ただし、本実施形態のように、現時点で共有フク
ロSFに含まれるティップTについても、ダーティ・ビ
ットDを作成する場合は、非同期期間中に新たに挿入さ
れたティップTを検索する際の速度が向上すると共に、
ダーティ・ビットDの移動パラメタが「X」または
「I」のティップTのみを抽出することで、図6に示す
ツリー構造Sのうち、共有フクロSFに含まれるティッ
プTのリストを作成できる。この結果、当該ティップT
のリストを削除でき、メモリ量を削減できる。In the present embodiment, the dirty bit D is created for the tip T included in the shared bag SF even at least once during the asynchronous period, but the present invention is not limited to this. At the end of the previous synchronization process, the tip T included in the shared bag SF is
If the bit D is created, it is possible to omit the content transmission of the tip T, which has only been moved, as in the present embodiment. However, like the present embodiment, when the dirty bit D is also created for the tip T currently included in the shared bag SF, the speed at which the tip T newly inserted during the asynchronous period is searched for is high. Improve and
By extracting only the tips T of which the movement parameter of the dirty bit D is “X” or “I”, the list of the tips T included in the shared bag SF in the tree structure S shown in FIG. 6 can be created. As a result, the tip T
The list of can be deleted and the amount of memory can be reduced.
【0153】なお、例えば、ティップTの追加など、個
々の処理は、いずれの情報処理機器2のシンクロナイズ
処理部51が行ってもよい。例えば、全ての処理を一方
のシンクロナイズ処理部51が実施してもよいし、双方
が分担して行ってもよい。Note that, for example, the individual processing such as the addition of the tip T may be performed by the synchronization processing section 51 of any of the information processing devices 2. For example, one of the synchronization processing units 51 may perform all the processing, or both of them may share the processing.
【0154】以下では、上記S54にて、ティップTの
衝突が検出された場合の動作について、さらに詳細に説
明する。すなわち、本実施形態では、衝突が検出された
場合、衝突を解決する主体として、以下の3つのモデル
のいずれかを採用している。なお、ある1つのモデルを
採用してもよいが、本実施形態に係る情報処理機器2
は、使用可能な複数のモデルのうち、図13のS1に示
す共有設定の際にオプションとして指示されたモデルを
使用する。The operation in the case where the collision of the tip T is detected in S54 will be described below in more detail. That is, in the present embodiment, when a collision is detected, any one of the following three models is adopted as a main body for resolving the collision. Although one model may be adopted, the information processing device 2 according to the present embodiment
Uses the model designated as an option during the sharing setting shown in S1 of FIG. 13 among the plurality of usable models.
【0155】第1のモデル(話し合いモデル)は、図3
8に示すように、両情報処理機器2a・2bのシンク・
マネージャ61が、それぞれの上位アプリケーション6
2へ優先側を問い合わせ、両情報処理機器2a・2bで
独立して優先側を決定する。また、第2のモデル(選択
解決モデル)は、図39に示すように、両情報処理機器
2a・2bのうちの一方のシンク・マネージャ61のみ
が、上位アプリケーション62へ問い合わせて、優先側
を決定する。さらに、第3のモデル(自動解決モデル)
は、図40に示すように、上位アプリケーション62へ
問い合わせず、双方のシンク・マネージャ61が予め定
められた優先ルールに基づいて、優先側を選択する。な
お、上記シンク・マネージャ61は、図1に示すシンク
ロナイズ処理部51の一部である。また、上位アプリケ
ーション62は、データベースのデータを解析するアプ
リケーションなど、データベースのデータを参照するア
プリケーションや、情報処理機器2の使用者へ優先側を
問い合わせるアプリケーションであり、シンク・マネー
ジャ61からの問い合わせに対して、優先側を返答でき
る。The first model (discussion model) is shown in FIG.
As shown in FIG. 8, the sinks of both information processing devices 2a and 2b
The manager 61 manages each upper application 6
The information processing device 2a and 2b independently determines the priority side. In the second model (selection solution model), as shown in FIG. 39, only the sink manager 61 of both information processing devices 2a and 2b inquires the higher-level application 62 to determine the priority side. To do. Furthermore, the third model (automatic solution model)
As shown in FIG. 40, both sync managers 61 select the priority side based on a predetermined priority rule without inquiring the upper application 62. The sync manager 61 is a part of the synchronization processing unit 51 shown in FIG. The upper application 62 is an application that refers to data in the database, such as an application that analyzes data in the database, or an application that inquires the user of the information processing device 2 about the priority side. Then, the priority side can reply.
【0156】なお、上記選択解決モデルにおいて、一方
の情報処理機器2を選択する方法は、上位アプリケーシ
ョン62の有無や、例えば、共有設定の起動側など、後
述する自動解決モデルの一方選択モデルと同様の方法を
採用できる。ただし、優先側の決定方法を示すモデルと
同様、選択される情報処理機器2が異なる場合、不所望
な方が選択される虞れがあるので、当該情報処理機器2
を選択する方法は、共有設定時に設定される方がよい。In the selection solution model, the method of selecting one of the information processing devices 2 is the same as the one-sided selection model of the automatic solution model to be described later, such as the presence or absence of the higher-level application 62 and the start side of the sharing setting. Can be adopted. However, like the model showing the method of determining the priority side, if the selected information processing device 2 is different, there is a possibility that the undesired one may be selected.
The method of selecting is preferably set when sharing is set.
【0157】上記話し合いモデルは、さらに、衝突を解
決するタイミングによって、衝突を検出した同期処理中
に衝突を解決する折衝解決型モデルと、衝突の検出と衝
突の解決との間で、一度通信を切断するアプリ解決型モ
デルとに分けられる。同様に、選択解決モデルも、クラ
イアント即時型モデルと、クライアント遅延型モデルと
に分けられる。なお、図41に示すように、折衝解決型
モデルとクライアント即時型モデルとは、解決時期が、
検出と同じ同期処理中である即時解決モデルに分類さ
れ、アプリ解決型モデルとクライアント遅延型モデルと
は、解決時期が、衝突の検出よりも後の同期処理中の遅
延解決モデルに分類される。The discussion model further includes a negotiation resolution type model for resolving a collision during synchronization processing in which a collision is detected, and a collision detection and collision resolution communication once according to the timing of resolving a collision. It is divided into an application-solving model that disconnects. Similarly, the selection solution model is divided into a client immediate model and a client delay model. As shown in FIG. 41, the negotiation resolution type model and the client immediate type model are
It is classified into an immediate solution model that is in the same synchronization process as the detection, and the application resolution model and the client delay model are classified into a delay solution model in which the resolution time is in the synchronization process after the collision is detected.
【0158】ここで、即時解決モデルのうち、折衝解決
型モデルを採用した場合、例えば、図42に示すよう
に、S61において、一方の情報処理機器2aのシンク
・マネージャ61は、自らのティップTの内容のうちで
優先側決定に必要な情報と、相手のティップTの内容の
うちで優先側決定に必要な情報とを上位アプリケーショ
ン62へ提示する。同様に、S62では、相手の情報処
理機器2bにおいて、自らのティップTと相手のティッ
プTとを示す情報が上位アプリケーション62へ提示さ
れる。さらに、S63およびS64において、各情報処
理機器2a・2bの上位アプリケーション62は、それ
ぞれ独立して優先側を決定する。Here, in the case where the negotiation solution type model is adopted among the immediate solution models, for example, as shown in FIG. 42, in S61, the sink manager 61 of one of the information processing devices 2a has its own tip T. The information necessary for determining the priority side among the contents of the above and the information necessary for determining the priority side among the contents of the tip T of the other party are presented to the upper application 62. Similarly, in S62, the information indicating the tip T of the user and the tip T of the partner is presented to the higher-level application 62 in the information processing device 2b of the partner. Further, in S63 and S64, the upper application 62 of each of the information processing devices 2a and 2b independently determines the priority side.
【0159】双方で優先側が決定されると、S65にお
いて、シンク・マネージャ61は、双方の優先側が一致
するか否かを判定する。双方が一致した場合(上記S6
5にて YESの場合)、S66において、優先側が自機器
であるか否かが判定される。自機器の場合、シンク・マ
ネージャ61は、S67において、自らのティップTの
内容を相手の情報処理機器2へ送出して、当該内容で、
相手のティップTの内容を置き換える。一方、自機器で
はない場合、S68において、相手の情報処理機器2か
ら、相手のティップTの内容を受け取り、当該内容で、
自らのティップTの内容を置き換える。これにより、衝
突したティップTの組は、内容が同一になる。When the priority side is determined by both sides, the sync manager 61 determines in S65 whether or not the priority side is matched. If both match (S6 above)
If YES in 5), it is determined in S66 whether or not the priority side is the own device. In the case of the own device, the sink manager 61 sends the contents of its own tip T to the partner information processing device 2 in S67,
Replace the contents of Tip T of the opponent. On the other hand, if it is not the own device, in S68, the content of the tip T of the partner is received from the information processing device 2 of the partner,
Replace the contents of your own tip T. As a result, the content of the tip T sets that have collided becomes the same.
【0160】上記S65において、双方の優先側が一致
しなかった場合、情報処理機器2aのシンク・マネージ
ャ61は、S69において、自らの上位アプリケーショ
ン62に対して、上記S61で提示された内容に加え
て、さらに、相手で決定された優先側を提示する。同様
に、S70において、情報処理機器2bのシンク・マネ
ージャ61は、上記S62の提示内容と、情報処理機器
2aが決定した優先側とを、自らの上位アプリケーショ
ン62へ提示する。その後、上記S63以降の処理が繰
り返され、それぞれの上位アプリケーション62で優先
側が再考される。In S65, if the priority sides of both do not match, the sink manager 61 of the information processing device 2a adds the contents in the above-mentioned S61 to the upper application 62 of its own in S69. Furthermore, the priority side decided by the other party is presented. Similarly, in S70, the sink manager 61 of the information processing device 2b presents the presentation content of S62 and the priority side determined by the information processing device 2a to its own upper application 62. After that, the processes from S63 onward are repeated, and the priority side is reconsidered by each upper application 62.
【0161】また、クライアント即時型モデルを採用し
た場合は、例えば、図43に示すように、一方の情報処
理機器2において、図42のS61と同様に、自らのテ
ィップTと相手のティップTとを示す情報が上位アプリ
ケーション62に提示される(S81)。また、S82
において、当該上位アプリケーション62は、これらの
情報に基づいて、優先側を決定する。さらに、優先側が
自機器の場合(S83にて YESの場合)、S84におい
て、相手のティップTの内容を自らのティップTの内容
で置き換え、相手機器を優先する場合(S83にて No
の場合)は、S85において、相手のティップTの内容
で、自らのティップTの内容を置き換える。これによ
り、衝突したティップTの組は、内容が同一になる。When the client immediate model is adopted, for example, as shown in FIG. 43, in one information processing device 2, as in S61 of FIG. Is displayed on the upper application 62 (S81). Also, S82
At, the upper application 62 determines the priority side based on these pieces of information. Further, when the priority side is the own device (YES in S83), the contents of the tip T of the partner is replaced with the contents of the tip T of the partner in S84, and the partner device is prioritized (No in S83).
In the case of), in S85, the content of the tip T of the opponent is replaced with the content of the tip T of the opponent. As a result, the content of the tip T sets that have collided becomes the same.
【0162】一方、遅延解決型モデルのうち、アプリ解
決型モデルを採用した場合は、例えば、図44に示すよ
うに、S91において、両ティップTの内容が一致する
か否かが判定される。両者が一致する場合は、前回の同
期処理にて、ティップTの衝突が検出され、かつ、両者
が独立に提案する解決案が一致した場合である。この場
合、S95において、両情報処理機器2a・2bのシン
ク・マネージャ61は、それぞれ、当該ティップTに対
応する自らのダーティ・ビットDの更新パラメタを維持
「p」に設定して処理を完了する。On the other hand, when the application resolution type model is adopted among the delay resolution type models, for example, as shown in FIG. 44, it is determined in S91 whether the contents of both tips T match. The case where both match is the case where the collision of the tip T is detected in the previous synchronization process, and the solutions independently proposed by both match. In this case, in S95, the sync manager 61 of each of the information processing devices 2a and 2b sets the update parameter of its own dirty bit D corresponding to the tip T to the maintenance "p" and completes the processing. .
【0163】これに対して、両ティップTの内容が一致
しない場合(上記S91にて、 Noの場合)、各シンク
・マネージャ61は、S92にて、ティップTの内容を
互いに交換した後、S93にて、例えば、通信を切断し
たり、他のティップTの衝突を判定したりして、当該テ
ィップTに関する同期処理を一度中断する。さらに、通
信が切断されている間、両情報処理機器2a・2bのシ
ンク・マネージャ61は、S94において、それぞれの
上位アプリケーション62の指示に応じ、相手のシンク
・マネージャ61とは独立に衝突解決処理して、処理を
完了する。On the other hand, when the contents of both tips T do not match (No in S91 above), each sync manager 61 exchanges the contents of tip T with each other in S92, and then S93. Then, for example, by disconnecting the communication or determining the collision of another tip T, the synchronization processing regarding the tip T is interrupted once. Further, while the communication is disconnected, the sync manager 61 of both the information processing devices 2a and 2b responds to the instruction of the respective upper application 62 in S94, independently of the sync manager 61 of the other party, to perform the conflict resolution process. Then, the process is completed.
【0164】以下では、図45に基づいて、上記S94
の処理をさらに詳細に説明する。すなわち、シンク・マ
ネージャ61は、S111において、上記S91にて、
相手から受け取ったティップTの内容と、自らのティッ
プTの内容とを、自らの上位アプリケーション62へ提
示し、上位アプリケーション62から、いずれを優先す
るかの指示を受け取る。In the following, based on FIG. 45, the above S94
The process will be described in more detail. That is, the sync manager 61, in S111, in S91,
The content of the tip T received from the other party and the content of the tip T of its own are presented to the host application 62 of its own, and an instruction of which is prioritized is received from the host application 62.
【0165】上位アプリケーション62が、相手機器の
ティップTの内容を優先すると判断した場合(上記S1
12にて、 YESの場合)、シンク・マネージャ61は、
S113にて、自らのティップTの内容を、相手のティ
ップTの内容で置き換え、S114にて、当該ティップ
Tに対応するダーティ・ビットDの更新パラメタを更新
「m」に設定して、処理を完了する。これとは逆に、自
機器のティップTの内容を優先すると判断した場合(上
記S112にて、 No の場合)、シンク・マネージャ6
1は、上記S113の処理を行わず、上記S114に
て、当該ティップTに対応するダーティ・ビットDの更
新パラメタを更新「m」に設定する。When the upper application 62 determines that the content of the tip T of the partner device is prioritized (S1 above).
If YES in 12), the sync manager 61
In S113, the content of the tip T of the user is replaced with the content of the tip T of the other party, and in S114, the update parameter of the dirty bit D corresponding to the tip T is set to the update "m", and the processing is executed. Complete. On the contrary, when it is determined that the content of the tip T of the own device is prioritized (No in S112 above), the sync manager 6
In step S114, the update parameter of the dirty bit D corresponding to the tip T is set to update "m" without performing the process of step S113.
【0166】ここで、両情報処理機器2a・2bが上記
S111ないしS114の処理を行うと、いずれを優先
側と判断したかに拘わらず、上記S114にて、ダーテ
ィ・ビットDの更新パラメタを更新「m」に設定するの
で、次回の同期処理の際には、一旦、衝突と判断され
る。ところが、双方の優先側が一致した場合には、双方
のティップTの内容が一致しているので、図44に示す
S91の判定が YESとなる。Here, when both the information processing devices 2a and 2b perform the processes of S111 to S114, the update parameter of the dirty bit D is updated in S114 regardless of which is determined to be the priority side. Since it is set to "m", a collision is once determined in the next synchronization processing. However, if both priority sides match, the contents of both tips T match, so the determination in S91 shown in FIG. 44 is YES.
【0167】例えば、情報処理機器2aにて、相手機器
が優先側と判断され、かつ、情報処理機器2bでは、自
機器が優先側と判断された場合を例にすると、情報処理
機器2aでは、上記S112の判定が YESとなるので、
情報処理機器2aのティップTの内容は、情報処理機器
2bのティップTの内容で置き換えられる。また、情報
処理機器2bでは、上記S112の判定が No になるの
で、情報処理機器2bのティップTの内容は、変更され
ない。For example, when the information processing device 2a determines that the partner device is the priority side and the information processing device 2b determines that the own device is the priority side, the information processing device 2a is: Since the judgment in S112 is YES,
The content of the tip T of the information processing device 2a is replaced with the content of the tip T of the information processing device 2b. Further, in the information processing device 2b, since the determination in S112 is No, the content of the tip T of the information processing device 2b is not changed.
【0168】このように、双方の優先側が一致した場合
には、次回の同期処理の時点で双方のティップTの内容
が一致し、上記S91の判定が YESとなる。この結果、
両情報処理機器2a・2bにて、上記S95の処理が行
われ、当該ティップTに対応するダーティ・ビットDの
更新パラメタは、それぞれ、維持「p」となって、衝突
が完全に解決される。As described above, when both priority sides match, the contents of both tips T match at the time of the next synchronization processing, and the determination in S91 is YES. As a result,
The processing of S95 is performed in both the information processing devices 2a and 2b, and the update parameter of the dirty bit D corresponding to the tip T becomes the maintenance "p", and the collision is completely resolved. .
【0169】なお、双方の優先側が一致しなかった場合
は、次回の同期処理の時点で、双方のティップTの内容
が一致しない。したがって、次回の同期処理の際、再
度、S92以降の処理が繰り返され、それぞれの上位ア
プリケーション62に再度衝突解決が求められる。If the two priority sides do not match, the contents of both tips T do not match at the time of the next synchronization processing. Therefore, in the next synchronization process, the processes after S92 are repeated again, and the respective upper applications 62 are requested to resolve the conflict again.
【0170】また、クライアント遅延型モデルの場合、
上位アプリケーション62へ問い合わせる情報処理機器
2では、図46に示す処理が行われる。すなわち、S1
21において、シンク・マネージャ61は、相手のティ
ップTの内容を自らに転送して受け取る。さらに、S1
22において、当該ティップTに対応する相手のダーテ
ィ・ビットDの更新パラメタを維持「p」に変更する。In the case of the client delay type model,
The information processing device 2 that makes an inquiry to the higher-level application 62 performs the process shown in FIG. That is, S1
At 21, the sync manager 61 transfers and receives the contents of the tip T of the other party to itself. Furthermore, S1
At 22, the update parameter of the dirty bit D of the opponent corresponding to the tip T is changed to the maintenance “p”.
【0171】さらに、S123およびS124におい
て、上記S93および図45に示すS111と同様に、
同期処理の中断後に優先側を決定される。相手機器を優
先側と判断した場合(S125にて、 YESの場合)、シ
ンク・マネージャ61は、S126において、上記S1
21にて受け取った相手機器のティップTの内容で、自
らのティップTの内容を置き換える。さらに、S127
では、当該ティップTに対応する自らのダーティ・ビッ
トDの更新パラメタを維持「p」に設定して処理を完了
する。Further, in S123 and S124, similar to S93 and S111 shown in FIG. 45,
The priority side is determined after the interruption of the synchronization process. If it is determined that the partner device is the priority side (YES in S125), the sync manager 61 determines in S126 that the above S1.
The contents of the tip T of the partner device received at 21 are replaced with the contents of the tip T of the own device. Furthermore, S127
Then, the update parameter of its own dirty bit D corresponding to the tip T is set to the maintenance "p" and the processing is completed.
【0172】これとは逆に、自機器を優先側と判断した
場合(S125にて、 No の場合)、シンク・マネージ
ャ61は、当該ティップTに対応する自らのダーティ・
ビットDの更新パラメタを更新「m」に設定する(S1
28)。ここで、上記S122にて、相手機器では、当
該ティップTに対応するダーティ・ビットDの更新パラ
メタが維持「p」に設定されている。したがって、自機
器を優先側と判断した場合(更新パラメタが更新「m」
の場合)は、次回の同期処理の際、相手機器のティップ
Tの内容は、自機器のティップTの内容で置き換えられ
る。On the contrary, when the own device is determined to be the priority side (No in S125), the sync manager 61 determines that its dirty
The update parameter of bit D is set to update "m" (S1
28). Here, in S122, the update parameter of the dirty bit D corresponding to the tip T is set to the maintenance “p” in the partner device. Therefore, when the own device is determined to be the priority side (the update parameter is updated "m")
In this case), the content of the tip T of the partner device is replaced with the content of the tip T of the own device in the next synchronization process.
【0173】上記の遅延解決モデルを採用した場合は、
ある同期処理にて、ティップTの衝突が検出された後、
次回以降の同期処理にて、ティップTの内容が一致され
るため、単一の同期処理中に、優先側を決定する必要が
なくなる。この結果、例えば、上位アプリケーション6
2が使用者の指示を受け取っている場合のように、シン
ク・マネージャ61が優先側を問い合わせてから回答が
得られるまでの時間が長い場合であっても、通信時間の
合計を一定の時間に抑えることができ、通信コストや消
費電力を削減できる。なお、上記では、両ティップTの
内容全てを提示する場合を例にして説明したが、優先側
を決定可能であれば、提示する情報は、衝突の発生や、
ティップTの内容の一部であっても同様の効果が得られ
る。When the above delay solution model is adopted,
After a tip T collision is detected in a certain synchronization process,
Since the contents of the tip T are matched in the synchronization process from the next time onward, it is not necessary to determine the priority side during a single synchronization process. As a result, for example, the upper application 6
Even when the sync manager 61 takes a long time from the inquiry to the priority side until the answer is obtained, as in the case where 2 receives the instruction from the user, the total communication time is set to a fixed time. Therefore, the communication cost and power consumption can be reduced. In the above description, the case where all the contents of both tips T are presented has been described as an example, but if the priority side can be determined, the information to be presented is the occurrence of a collision,
The same effect can be obtained even if the content of the tip T is part.
【0174】一方、自動解決型モデルは、衝突したティ
ップTの組毎に、優先側を決定する逐次決定モデルと、
同期処理の開始時点で、予め1つの情報処理機器2を優
先側と設定する一方選択モデルとに大別できる。前者の
例としては、例えば、最終更新時刻など、ティップTの
内容の一部に基づいて、優先側を判定する方法が挙げら
れる。この場合は、例えば、図47に示すように、S1
31において、図40に示すシンク・マネージャ61
は、自らの情報処理機器2において、処理対象となるテ
ィップTの最終更新時刻t1を取得する。また、S13
2では、当該ティップTに対応する相手のティップTの
最終更新時刻t2を取得する。さらに、S133におい
て、自らの最終更新時刻t1が相手の最終更新時刻t2
よりも新しいか否かを判定する。自らの最終更新時刻t
1の方が新しい場合は、S134にて、自らのティップ
Tの内容で、相手のティップTの内容を置き換える。こ
れとは逆に、相手の最終時刻t2の方が新しい場合は、
S135にて、相手のティップTの内容で自らのティッ
プTの内容を置き換える。これにより、より遅くに更新
したティップTを優先することができる。例えば、図4
8に示す例では、情報処理機器2aのティップT8aの方
が、情報処理機器2bのティップT8bよりも最終の更新
時刻が新しい。それゆえ、ティップT8aの内容で、ティ
ップT8bの内容が置き換えられる。なお、優先側決定の
基準は、最終更新時刻に限るものではなく、ティップT
の内容の一部であれば、同様の効果が得られる。On the other hand, the automatic solution model is a sequential decision model for deciding the priority side for each set of the tips T that have collided,
At the start of the synchronization processing, one information processing device 2 can be roughly divided into a one-side selection model in which the information processing device 2 is set as the priority side in advance. An example of the former is a method of determining the priority side based on a part of the content of the tip T, such as the last update time. In this case, for example, as shown in FIG.
31, the sync manager 61 shown in FIG.
Acquires the last update time t1 of the tip T to be processed in its own information processing device 2. In addition, S13
In 2, the last update time t2 of the tip T of the opponent corresponding to the tip T is acquired. Further, in S133, the last update time t1 of the user is the last update time t2 of the other party.
Is newer than. Own last update time t
If 1 is newer, the contents of the tip T of the opponent are replaced with the contents of the tip T of the opponent in S134. On the contrary, if the last time t2 of the other party is newer,
In S135, the content of the tip T of the opponent is replaced with the content of the tip T of the opponent. As a result, the tip T updated later can be prioritized. For example, in FIG.
In the example shown in FIG. 8, the last update time of the tip T 8a of the information processing device 2a is newer than the tip T 8b of the information processing device 2b. Therefore, the contents of tip T 8a replace the contents of tip T 8b . The criterion for determining the priority side is not limited to the last update time, but the tip T
The same effect can be obtained if it is a part of the contents of.
【0175】また、自動解決型モデルのうち、一方選択
モデルは、例えば、図49に示すように、S141にお
いて、同期処理の開始までに定められた優先側が、自機
器であるか否かが判定される。自機器を優先する場合
は、S142にて、自らのティップTの内容で相手のテ
ィップTの内容が置き換えられ、相手機器を優先する場
合は、S143にて、相手のティップTの内容で、自ら
のティップTの内容が置き換えられる。これにより、予
め定められた側のティップTを優先できる。Further, in the automatic selection model, the one selection model is, for example, as shown in FIG. 49, in S141, it is determined whether or not the priority side determined by the start of the synchronization process is the own device. To be done. If the own device is prioritized, the content of the tip T of the other party is replaced with the content of the tip T of the other party in S142, and if the other device is prioritized, the content of the tip T of the other party is used in S143. The contents of tip T of are replaced. Thereby, the tip T on the predetermined side can be prioritized.
【0176】本実施形態では、上記S141にて参照さ
れる優先側を、以下の3つのモデルのいずれかで決定し
ている。第1のモデルは、図13のS1に示す同期設定
の際に予め優先側を設定し、優先側情報として記憶して
おき、当該優先側情報に基づいて決定するモデルであ
る。なお、優先側の決定方法は、どんな方法でもよく、
例えば、使用者や上位アプリケーション62の指示に応
じて設定してもよい。In this embodiment, the priority side referred to in S141 is determined by one of the following three models. The first model is a model in which the priority side is set in advance during the synchronization setting shown in S1 of FIG. 13, is stored as priority side information, and is determined based on the priority side information. Any method can be used for the priority side.
For example, it may be set according to an instruction from the user or the upper application 62.
【0177】また、第2のモデルは、上記第1のモデル
のうち、共有設定を起動した側に基づいて、優先側を決
定するモデルであり、さらに、共有設定起動側優先モデ
ルと、共有設定受動側優先モデルとに分けられる。共有
設定起動側優先モデルは、例えば、情報処理機器2…か
らなるデータベースシステム1がクライアント/サーバ
型のクライアント側を常に優先したい場合などに好適に
用いられ、同期処理の起動側やティップTの内容などに
拘わらず、常に、共有設定起動側を優先する。一方、共
有設定受動側モデルは、例えば、上記データベースシス
テム1のサーバ側を常に優先したい場合などに好適に用
いられ、共有設定受動側を常に優先する。いずれの場合
であっても、共有設定の起動と、優先側の特定とを同じ
操作で指定できるので、それぞれを別の操作で指定する
場合に比べて操作を簡略化できる。The second model is a model of the first model that determines the priority side based on the side that has activated the sharing setting. Further, the sharing setting activation side priority model and the sharing setting are used. It is divided into the passive side priority model. The sharing setting starting side priority model is preferably used, for example, when the database system 1 including the information processing devices 2 ... Always wants to give priority to the client / server type client side, and the starting side of the synchronization process and the contents of the tip T. Regardless of the above, the sharing setting activation side is always prioritized. On the other hand, the shared setting passive side model is preferably used, for example, when the server side of the database system 1 is always desired to be prioritized, and the shared setting passive side model is always prioritized. In either case, since the activation of the sharing setting and the specification of the priority side can be designated by the same operation, the operation can be simplified as compared with the case where the respective operations are designated by different operations.
【0178】さらに、第3のモデルは、図13のS3に
おいて、同期処理を起動する側に基づいて、優先側を決
定するモデルであり、同期処理起動側優先モデルと、同
期処理受動側優先モデルとに分けられる。これらのモデ
ルは、例えば、各情報処理機器2が対等な場合におい
て、前者は、自機器を優先したい場合に、後者は、相手
機器を優先したい場合に用いられる。いずれの場合であ
っても、同期処理の起動と、優先側の特定とを同じ操作
で指定できるので、それぞれを別の操作で指定する場合
に比べて操作を簡略化できる。さらに、各同期処理の時
点で、いずれの情報処理機器2が同期処理を起動するか
によって、優先側を変更できる。Further, the third model is a model for deciding the priority side based on the side activating the synchronization processing in S3 of FIG. 13, and includes the synchronization processing activation side priority model and the synchronization processing passive side priority model. Can be divided into These models are used, for example, when the information processing devices 2 are equal and the former wants to prioritize its own device, and the latter when it wants to prioritize the other device. In either case, since the activation of the synchronization processing and the identification of the priority side can be designated by the same operation, the operation can be simplified as compared with the case where the respective operations are designated by different operations. Furthermore, the priority side can be changed depending on which information processing device 2 starts the synchronization process at the time of each synchronization process.
【0179】ところで、上記では、図30および図33
に示すように、互いに対応するティップTの組のうち、
追加/削除/更新などの変更があったティップTを優先
し、当該変更を他の情報処理機器2へ反映していたが、
これに限るものではない。例えば、全てのティップTの
組について、同期処理や共有設定の起動側、あるいは、
予め定められた側など、同期処理の開始時点までに決定
された側(優先側)を常に優先し、例えば、図50に示
すように、情報処理機器2a(優先側)の共有フクロS
Fa の内容に合わせて、非優先側となる情報処理機器2
bにおいて、共有フクロSFb の内容を更新してもよ
い。この場合、同期処理は、ダウンロード(アップロー
ド)となる。なお、情報処理機器2がダウンロードを行
うか否かを選択可能な場合、当該選択は、優先側決定の
モデルと同様に、図13のS1に示す共有設定時のオプ
ションとして指定する方がよい。By the way, in the above, FIG. 30 and FIG.
As shown in, among the sets of Tip T corresponding to each other,
Although the tip T having a change such as addition / deletion / update is prioritized and the change is reflected to the other information processing device 2,
It is not limited to this. For example, for all the sets of tip T, the synchronization process and the sharing setting start side, or
The side (priority side) determined by the start time of the synchronization process, such as a predetermined side, is always prioritized. For example, as shown in FIG. 50, the shared bag S of the information processing device 2a (priority side)
In accordance with the content of the F a, the non-preferential information processing apparatus 2
In b, the contents of the shared bag SF b may be updated. In this case, the synchronization process is a download (upload). When the information processing device 2 can select whether to download or not, it is better to specify the selection as an option at the time of sharing setting shown in S1 of FIG. 13, as in the model of the priority side determination.
【0180】具体的には、図51に示すように、S15
1において、優先側のダーティ・ビット・リストLD
は、図26に示すS51と同様に圧縮される。さらに、
S152において、非優先側で、非同期期間中に追加さ
れたティップTを共有フクロSFから削除する。また、
S153では、優先側で追加されたティップTに対応す
るダーティ・ビットDが、S52と同様に、非優先側の
ダーティ・ビット・リストLDに追加される。Specifically, as shown in FIG. 51, S15
In 1, the dirty bit list LD on the priority side
Is compressed similarly to S51 shown in FIG. further,
In S152, the tip T added during the asynchronous period is deleted from the shared bag SF on the non-priority side. Also,
In S153, the dirty bit D corresponding to the tip T added on the priority side is added to the dirty bit list LD on the non-priority side, as in S52.
【0181】S154では、図1に示すシンクロナイズ
処理部51は、優先側のダーティ・ビットDに基づいて
内外判定し、双方のダーティ・ビット・リストLDにお
いて、ダーティ・ビットDの移動パラメタを「X」また
は「K」に設定すると共に、内外判定に応じて、ティッ
プTを移動する。すなわち、優先側のダーティ・ビット
Dの移動パラメタが「X」または「I」の場合は、共有
フクロSF内を示している。したがって、当該ティップ
Tを共有フクロSF内に残すと共に、当該ティップTに
対応する双方のダーティ・ビットDの移動パラメタを
「X」に設定する。また、優先側のダーティ・ビットD
の移動パラメタが「K」または「O」の場合は、共有フ
クロSF外を示しているので、当該ティップTを共有フ
クロSF外へ移動すると共に、当該ティップTに対応す
る双方のダーティ・ビットDの移動パラメタを「K」に
設定する。In S154, the synchronization processing section 51 shown in FIG. 1 makes an internal / external determination based on the dirty bit D on the priority side, and sets the movement parameter of the dirty bit D to "X" in both dirty bit lists LD. Or “K”, and the tip T is moved according to the inside / outside determination. That is, when the movement parameter of the dirty bit D on the priority side is "X" or "I", the inside of the shared bag SF is shown. Therefore, the tip T is left in the shared bag SF and the movement parameter of both dirty bits D corresponding to the tip T is set to “X”. Also, the dirty bit D on the priority side
If the movement parameter of "K" is "K" or "O", it means that the tip T is outside the shared hat SF and the dirty bit D corresponding to the tip T is moved. The movement parameter of is set to "K".
【0182】さらに、S155において、双方のダーテ
ィ・ビットDの更新パラメタに基づいて、優先側のティ
ップTの内容で、非優先側のティップTの内容を置き換
える。具体的には、優先側の更新パラメタが更新「m」
の場合、当該ティップTの内容が非優先側へ送出され
る。また、優先側の更新パラメタが維持「p」の場合で
あっても、非優先側の更新パラメタが更新「m」であれ
ば、同様に、当該ティップTの内容で非優先側を置き換
える。なお、双方の更新パラメタが維持「p」の場合
は、ティップTの内容を転送しない。Further, in S155, the contents of the tip T on the non-priority side are replaced with the contents of the tip T on the priority side based on the update parameters of both dirty bits D. Specifically, the update parameter on the priority side is updated "m".
In the case of, the content of the tip T is sent to the non-priority side. Further, even when the update parameter on the priority side is the maintenance “p”, if the update parameter on the non-priority side is the update “m”, the content of the tip T is similarly replaced on the non-priority side. If both update parameters are maintained “p”, the contents of tip T are not transferred.
【0183】上記S155にて、ティップTの内容同期
が終了すると、S156において、図26のS56と同
様に、双方のダーティ・ビット・リストLDが圧縮され
る。これにより、非優先側の共有フクロSFの内容は、
優先側の共有フクロSFの内容に揃えられ、アップロー
ドやダウンロードを行うことができる。When the content synchronization of the tip T is completed in S155, both dirty bit lists LD are compressed in S156, as in S56 of FIG. As a result, the contents of the shared bag SF on the non-priority side are
The contents can be uploaded or downloaded according to the contents of the shared bag SF on the priority side.
【0184】また、共有設定処理部52にて設定可能な
オプションの一つとして、図52に示すように、衝突し
たティップTを互いに別のティップTと見なして、自ら
のティップTを相手の共有フクロSFへ追加するモデル
も採用できる。ダウンロードの要否と同様に、当該モデ
ルを採用するか否かも、共有設定時のオプションとして
指定される。Further, as one of the options that can be set by the sharing setting processing section 52, as shown in FIG. 52, the tips T that have collided are regarded as different tips T, and their own tips T are shared by the other party. A model added to the bag SF can also be adopted. As with the necessity of downloading, whether or not to adopt the model is also specified as an option at the time of sharing setting.
【0185】具体的には、図53のS161に示すよう
に、ティップT4a・T4bが衝突した場合、相手のダーテ
ィ・ビット・リストLDb において、自らのダーティ・
ビット・リストLDa における当該ダーティ・ビットD
4aの順位と同じ順位に、例えば、「Op」など、自らの
ダーティ・ビットD4aよりも優先度の低いダーティ・ビ
ットD4ab を新たに作成する。同様に、S162におい
て、自らのダーティ・ビット・リストLDa において、
相手のダーティ・ビットD4bと同じ順位に新たなダーテ
ィ・ビットD4ba を作成する。さらに、これらのダーテ
ィ・ビットDに基づいて、S163では、ティップT4a
の内容が情報処理機器2bに伝送され、ティップT4aに
対応する新たなティップT4ab が、共有フクロSFb に
追加される。また、S164において、ティップT4bに
対応する新たなティップT4ba が、共有フクロSFa に
追加される。これにより、ティップTが衝突した場合
に、変更されたティップTの内容全てを保存できる。Specifically, as shown in S161 of FIG. 53, when tips T 4a and T 4b collide with each other, their own dirty bit list LD b
The dirty bit D in the bit list LD a
A dirty bit D 4ab having a lower priority than its own dirty bit D 4a , such as “Op”, is newly created in the same order as that of 4a . Similarly, in S162, in its own dirty bit list LD a ,
Create a new dirty bit D 4ba in the same rank as the opponent's dirty bit D 4b . Further, based on these dirty bits D, in S163, the tip T 4a
The contents of is transmitted to the information processing apparatus 2b, a new tip T 4ab corresponding to the tips T 4a is added to the shared bag SF b. Further, in S164, a new tip T 4ba corresponding to the tip T 4b is added to the shared bag SF a . Thereby, when the tip T collides, all the changed contents of the tip T can be saved.
【0186】なお、図52および図53では、ティップ
Tの衝突が発生した場合のみ、コピーする例について説
明したが、他の選択肢として、図54に示すように、対
応するティップTの少なくとも一方が変更された場合に
コピーするモデルも採用できる。この場合は、変更され
ていないティップTの組は、何ら変更されないが、ティ
ップTの組のうち、少なくとも1つが変更されると、テ
ィップTをコピーする。これにより、一方のみが変更さ
れたティップT2a・T2b、T3a・T3bについてもコピー
が作成され、変更されたティップTの内容全てを保存で
きる。Note that in FIGS. 52 and 53, an example in which copying is performed only when a collision of the tip T occurs has been described. However, as another option, as shown in FIG. 54, at least one of the corresponding tips T is set. A model that copies when it is changed can also be adopted. In this case, the set of tips T that has not been changed is not changed at all, but the tip T is copied when at least one of the sets of tips T is changed. As a result, a copy is also created for the tips T 2a , T 2b and T 3a , T 3b , only one of which has been changed, and the entire contents of the changed tip T can be saved.
【0187】図13のS2に示す非同期期間中の処理
と、上述のS3に示す同期処理とが交互に繰り返され、
それ以降は、同期処理が不要になると、S4において、
共有設定が解除される。共有解除の一例として、情報処
理機器2a・2b双方にフクロFおよびティップTが残
留するモデル(ティップ複写型モデル)について説明す
ると、図55に示すように、一方の情報処理機器2aに
設けられた共有解除処理部53は、S171において、
他方の情報処理機器2bの共有解除処理部53へ共有解
除要求を送出する。当該共有解除要求には、例えば、自
らのフクロIDと相手のIDとの組み合わせなど、自ら
の共有フクロSFを示す情報と、当該共有フクロSFに
対応する相手の共有フクロSFを示す情報とが含まれて
いる。The process during the asynchronous period shown in S2 of FIG. 13 and the synchronous process shown in S3 are alternately repeated.
After that, when the synchronization process becomes unnecessary, in S4,
Sharing settings are canceled. As an example of cancellation of sharing, a model in which the bag F and the tip T remain on both information processing devices 2a and 2b (tip copying type model) will be described. As shown in FIG. 55, the model is provided on one of the information processing devices 2a. The sharing cancellation processing unit 53, in S171,
The sharing cancellation request is sent to the sharing cancellation processing unit 53 of the other information processing device 2b. The sharing cancellation request includes, for example, information indicating the shared pocket SF of the partner such as a combination of the own pocket ID and the ID of the partner, and information indicating the shared pocket SF of the partner corresponding to the shared balloon SF. Has been.
【0188】さらに、共有解除起動側の共有解除処理部
53は、S172において、例えば、上記組み合わせに
応じたダーティ・ビット・リストLDおよびシンク・リ
ミットLim、並びに、共有相手リストLSに登録され
た相手のフクロIDなど、共有設定時に設けられた共有
情報を削除する。一方、共有解除受動側となる情報処理
機器2bでは、受け取った共有解除要求に基づいて、共
有解除処理部53が、自らに格納された上記共有情報を
抹消する(S173、S174)。なお、図55では、
共有相手の認証を図示していないが、共有設定と同様
に、共有解除受動側が共有解除要求の内容に応じて、共
有解除するか否かを決定してもよい。Further, in S172, the sharing cancellation processing unit 53 on the sharing cancellation starting side, for example, the dirty bit list LD and the sync limit Lim corresponding to the above combination, and the partner registered in the sharing partner list LS. The shared information provided at the time of sharing setting, such as the bag ID, is deleted. On the other hand, in the information processing device 2b on the sharing cancellation passive side, the sharing cancellation processing unit 53 deletes the sharing information stored therein based on the received sharing cancellation request (S173, S174). In addition, in FIG. 55,
Although the authentication of the sharing partner is not shown, the sharing cancellation passive side may determine whether or not to cancel the sharing in accordance with the content of the sharing cancellation request, similarly to the sharing setting.
【0189】これにより、図56に示すように、両情報
処理機器2a・2b間で共有されていた共有フクロSF
a ・SFb は、それぞれ非共有のフクロFa ・Fb とな
る。上記ティップ複写型モデルの共有解除では、共有解
除が指示された場合、両共有フクロSFa ・SFb 間の
共有設定が解除されるだけであり、それぞれに含まれて
いるティップTは、双方のフクロFa ・Fb に残留す
る。As a result, as shown in FIG. 56, the shared bag SF shared between the information processing devices 2a and 2b.
The a · SF b is the non-shared bag F a · F b . In the sharing cancellation of the tip copy type model, when the sharing cancellation is instructed, the sharing setting between both sharing bags SF a and SF b is only canceled, and the tip T included in each of them is set to the both sides. Remains on the seams F a and F b .
【0190】なお、共有解除のモデルは、ティップ複写
型モデルに限るものではなく、種々のモデルを適用でき
る。例えば、共有設定が解除された場合、図57に示す
ように、一方のフクロFにのみ、ティップを残し、他方
のフクロFでは、ティップを削除するモデル(ティップ
偏在型モデル)を採用してもよいし、図58に示すよう
に、ティップ消滅型モデル、すなわち、双方のフクロF
からティップTを削除するモデルを採用してもよい。さ
らに、ティップ複写型モデルやティップ偏在型モデルの
場合は、共有解除が指示されたとき、同期処理した後
で、共有解除することもできる。この場合は、特に同期
処理を指示しなくても、共有解除の時点で、ティップT
の整合性を保つことができる。また、ティップ偏在型モ
デル、および、ティップ消滅型モデルのように、ティッ
プTを除去する場合、図59および図60に示すよう
に、ティップTの除去により、空になるフクロFを削除
してもよい。いずれの場合であっても、情報処理機器2
が共有解除のモデルを複数選択可能な場合は、上述の優
先側決定のモデル選択と同様に、図13のS1に示す共
有設定時のオプションとして、共有解除のモデルを設定
する方がよい。The sharing cancellation model is not limited to the tip copy type model, and various models can be applied. For example, when the sharing setting is canceled, as shown in FIG. 57, a model in which a tip is left only in one of the bags F and a tip is deleted in the other bag F (a model in which the tip is unevenly distributed) is adopted. As shown in FIG. 58, the tip extinction type model, that is, both of the bag F
A model in which the tip T is deleted may be adopted. Further, in the case of the tip copy type model or the tip uneven distribution type model, when sharing cancellation is instructed, it is possible to perform sharing processing and then cancel sharing. In this case, even if the synchronization process is not instructed, the tip T
The integrity of can be maintained. Further, in the case of removing the tip T as in the tip uneven distribution model and the tip disappearance model, as shown in FIG. 59 and FIG. Good. In any case, the information processing device 2
If a plurality of sharing cancellation models can be selected, it is better to set the sharing cancellation model as an option at the time of sharing setting shown in S1 of FIG. 13, as in the model selection for determining the priority side.
【0191】ところで、上記では、S51、すなわち、
図13のS3に示す同期処理の際に、シンク・リミット
Limより後のダーティ・ビットDを圧縮したが、この
処理は、自らの情報処理機器2に格納されているダーテ
ィ・ビットDのみを参照しているため、S2の非同期期
間中に実施できる。なお、この場合は、特許請求の範囲
に記載の第1順序削除手段が、データベース処理部24
に対応する。By the way, in the above, S51, that is,
During the synchronization processing shown in S3 of FIG. 13, the dirty bit D after the sync limit Lim was compressed, but this processing only refers to the dirty bit D stored in its own information processing device 2. Therefore, it can be performed during the asynchronous period of S2. In this case, the first order deletion means described in the claims is the database processing unit 24.
Corresponding to.
【0192】この場合は、ティップ削除処理部43(図
1参照)は、ティップTの排出が指示された場合、図2
1に代えて、図61に示す処理を行う。すなわち、S1
81において、当該ティップTに対応するダーティ・ビ
ットDが、シンク・リミットLimより後か否かが判定
され、後の場合は、S182において、ダーティ・ビッ
トDがダーティ・ビット・リストLDから削除される。
一方、後ではない場合は、S183において、ダーティ
・ビットDの移動パラメタが「O」に変更される。この
結果、同期処理時に上記S51の処理が不要になり、所
要時間を短縮できる。In this case, the tip deletion processing section 43 (see FIG. 1) is set to the tip deletion processing section 43 (see FIG. 1) when the ejection of the tip T is instructed.
Instead of 1, the process shown in FIG. 61 is performed. That is, S1
At 81, it is determined whether or not the dirty bit D corresponding to the tip T is after the sync limit Lim. If it is, then at S182, the dirty bit D is deleted from the dirty bit list LD. It
On the other hand, if it is not after, the movement parameter of the dirty bit D is changed to "O" in S183. As a result, the processing of S51 is not required during the synchronization processing, and the required time can be shortened.
【0193】また、非同期期間中に圧縮する場合は、例
えば、誤操作でティップTを挿入したときのように、共
有フクロSF内に存在する期間が極めて短いティップT
に関連するダーティ・ビットDを、ダーティ・ビット・
リストLDから即座に削除できる。この結果、ダーティ
・ビット・リストLDの長さを抑制でき、記憶に必要な
メモリ量を削減できる。Further, in the case of compressing during the asynchronous period, for example, when the tip T is inserted by an erroneous operation, the tip T existing in the shared bag SF is extremely short.
Dirty Bit D associated with
It can be deleted from the list LD immediately. As a result, the length of the dirty bit list LD can be suppressed and the amount of memory required for storage can be reduced.
【0194】図61では、ティップTの排出時にダーテ
ィ・ビット・リストLDを圧縮する場合について説明し
たが、非同期期間中の任意の時点で圧縮することもでき
る。この場合は、例えば、上位アプリケーションの指示
などによって、シンク・リミットLimより後ろに位置
し、かつ、移動パラメタが排出「O」であるダーティ・
ビットDが、ダーティ・ビット・リストLDから削除さ
れる。これにより、1回の処理で複数のティップTのダ
ーティ・ビットDをダーティ・ビット・リストLDから
削除できる。In FIG. 61, the case where the dirty bit list LD is compressed when the tip T is discharged has been described, but the dirty bit list LD may be compressed at any time during the asynchronous period. In this case, for example, due to an instruction from a higher-level application or the like, a dirty file that is located after the sync limit Lim and has a movement parameter of “O” is ejected.
Bit D is deleted from the dirty bit list LD. As a result, the dirty bits D of a plurality of tips T can be deleted from the dirty bit list LD by one processing.
【0195】ところで、上述の説明では、図19に示す
ように、ティップTが共有フクロSFから出された場合
や削除された場合など、ティップTが共有フクロSF内
に存在しなくなった場合、各情報処理機器2は、当該テ
ィップTに対応するダーティ・ビットDにおいて、移動
パラメタを排出「O」に設定している。したがって、テ
ィップTにダーティ・ビットDが割り当てられると、次
に同期処理するまでの間、当該ティップTの内容を保持
する必要があり、各情報処理機器2に必要なメモリ量が
増大する虞れがある。By the way, in the above description, as shown in FIG. 19, when the tip T is no longer present in the shared bag SF, such as when the tip T is removed from the shared bag SF, or when it is deleted. The information processing device 2 sets the movement parameter to discharge “O” in the dirty bit D corresponding to the tip T. Therefore, when the dirty bit D is assigned to the tip T, it is necessary to hold the content of the tip T until the next synchronization processing, which may increase the memory amount required for each information processing device 2. There is.
【0196】具体的には、例えば、図25に示すダーテ
ィ・ビットD14a ・D14b のように、前回の同期処理時
に対応付けられたティップTに対して、一方の情報処理
機器2aでは、当該ティップTに対応するダーティ・ビ
ットDが、挿入維持「Ip」を示し、他方の情報処理機
器2bでは、排出維持「Op」を示す場合がある。この
状態は、例えば、情報処理機器2aにおいて、上記ティ
ップTを共有フクロSFの外へ排出した後で、共有フク
ロSF内に戻す操作が行われ、情報処理機器2bでは、
当該ティップTを共有フクロSFの外へ出す操作が行わ
れた場合に発生する。More specifically, for example, as shown by the dirty bits D 14a and D 14b in FIG. 25, the tip T associated with the previous synchronization process is associated with one of the information processing devices 2a. The dirty bit D corresponding to the tip T may indicate insertion maintenance “Ip”, and the other information processing device 2b may indicate ejection maintenance “Op”. In this state, for example, in the information processing device 2a, after the tip T is ejected to the outside of the shared bag SF, an operation of returning the tip T into the shared bag SF is performed, and in the information processing device 2b,
This occurs when an operation of moving the tip T out of the shared bag SF is performed.
【0197】この状態では、図26のS53に示す内外
判定(フクロ)同期の際、上記ダーティ・ビットD14a
・D14b は、図32に示すように、静止維持「Xp」と
なり、両ティップT14a ・T14b の内容が同じと見なさ
れる。この結果、上記S53に続くS54の優先度判定
では、優先度判定が行われず(図35参照)、S55の
ティップの内容同期においても、各情報処理機器2a・
2b間で、ティップTの内容が伝送されない(図36参
照)。In this state, at the time of inside / outside determination (float) synchronization shown in S53 of FIG. 26, the dirty bit D 14a is used.
As shown in FIG. 32, D 14b becomes the stationary maintenance “Xp”, and the contents of both tips T 14a and T 14b are considered to be the same. As a result, the priority determination is not performed in the priority determination of S54 subsequent to S53 (see FIG. 35), and even in the content synchronization of the tip of S55, each information processing device 2a.
The contents of Tip T are not transmitted between 2b (see FIG. 36).
【0198】したがって、図19に示すように、ダーテ
ィ・ビットDを管理していた場合、同期処理の前に、一
方の情報処理機器2でティップTの内容が消失してしま
うと、図26に示す同期処理の際、当該ティップTの内
容を回復できず、各情報処理機器2間でデータベースD
Bの整合性を保てなくなってしまう。言い換えると、図
19に示すような管理方法の場合、各情報処理機器2
は、それぞれの使用者が不要と判断してティップTを削
除した場合であっても、当該ティップTに対応するダー
ティ・ビットDが存在していれば、次に同期処理が行わ
れるまでの間、当該ティップTの内容を保持する必要が
ある。この結果、長い非同期期間が見込まれる情報処理
機器2ほど、より大きな記憶容量が必要になってしま
う。Therefore, when the dirty bit D is managed as shown in FIG. 19, if the contents of the tip T are lost in one of the information processing devices 2 before the synchronization processing, the result shown in FIG. At the time of the synchronization processing shown, the contents of the tip T cannot be recovered, and the database D is exchanged between the information processing devices 2.
The consistency of B cannot be maintained. In other words, in the case of the management method shown in FIG. 19, each information processing device 2
Even if each user decides that the tip T is unnecessary and deletes the tip T, if the dirty bit D corresponding to the tip T exists, until the next synchronization processing is performed. , It is necessary to hold the contents of the tip T. As a result, the information processing device 2 expected to have a long asynchronous period requires a larger storage capacity.
【0199】ここで、多くの場合、携帯型の情報処理機
器2は、搭載可能なメモリ量が限られており、しかも、
いつ通信可能になって同期処理を実施できるかが不確定
である。したがって、このような情報処理機器2では、
以下の変形例に示すように、図19に示すダーティ・ビ
ットDの管理方法に代えて、図64に示す管理方法を採
用することが望まれる。なお、この場合は、データベー
ス管理部23が特許請求の範囲に記載の対応データ情報
記憶手段にも対応し、ティップ削除処理部43が対応付
け解消手段、データ削除手段および削除選択手段にも対
応する。In many cases, the portable information processing device 2 has a limited mountable memory amount, and
It is uncertain when communication will be possible and synchronization processing can be performed. Therefore, in such an information processing device 2,
As shown in the following modified example, it is desirable to employ the management method shown in FIG. 64 instead of the management method of the dirty bit D shown in FIG. In this case, the database management unit 23 also corresponds to the corresponding data information storage unit described in the claims, and the tip deletion processing unit 43 also corresponds to the association elimination unit, the data deletion unit, and the deletion selection unit. .
【0200】具体的には、本変形例に係る情報処理機器
2では、図19に示す操作に加えて、実体の削除を伴う
ティップ削除操作、実体の削除を伴うティップの排出操
作、並びに、共有フクロSF外のティップTの実体削除
操作を処理できる。両操作の場合、図64に示すよう
に、操作対象となるティップTに対応するダーティ・ビ
ットDは、それまでの値に拘わらず無効「K」に設定さ
れる。また、共有フクロSF外のティップTの実体を削
除する場合も、ダーティ・ビットDの値が無効「K」に
設定される。なお、ダーティ・ビットDの値は、図19
の場合と同様、例えば、図10に示すように、ビットB
O・BIによって表現できる。Specifically, in the information processing device 2 according to the present modification, in addition to the operation shown in FIG. 19, a tip deleting operation involving deletion of an entity, a tip discharging operation involving deletion of an entity, and sharing. It is possible to process the entity deletion operation of the tip T outside the bag SF. In the case of both operations, as shown in FIG. 64, the dirty bit D corresponding to the tip T to be operated is set to invalid “K” regardless of the value up to that point. Also, when the substance of the tip T outside the shared bag SF is deleted, the value of the dirty bit D is set to invalid "K". The value of dirty bit D is shown in FIG.
As in the case of, for example, as shown in FIG.
Can be expressed by OBI.
【0201】この管理方法を採用した場合、図1に示す
ティップ削除処理部43は、使用者からユーザ操作部2
2を介して指示を受けた場合など、実体の削除と共にテ
ィップTを排出する場合、図22に示すS41と同様
に、フクロ管理部32を制御して、操作対象となるティ
ップTを共有フクロSFから排出する(図65に示すS
201)。さらに、S202において、ティップ削除処
理部43は、当該共有フクロSFを示す全てのダーティ
・ビット・リストLDにおいて、当該ティップTに対応
するダーティ・ビットDの移動パラメタの値を無効
「K」に設定する。また、S203において、ティップ
管理部31は、ティップ削除処理部43の指示に従い、
ティップTの実体(例えば、ファイルやメモリ上のデー
タなど)と、ダーティ・ビットDとの対応付けを解消す
る。When this management method is adopted, the tip deletion processing section 43 shown in FIG.
When the tip T is discharged together with the deletion of the entity, such as when receiving an instruction via 2, the flap management unit 32 is controlled to share the tip T as the operation target with the flap SF SF, as in S41 shown in FIG. Discharged from (S shown in FIG. 65)
201). Further, in S202, the tip deletion processing unit 43 sets the value of the movement parameter of the dirty bit D corresponding to the tip T in all the dirty bit lists LD indicating the shared bag SF to invalid "K". To do. Further, in S203, the tip management unit 31 follows the instruction of the tip deletion processing unit 43,
The correspondence between the substance of the tip T (for example, a file or data on the memory) and the dirty bit D is canceled.
【0202】なお、対応付けの解消方法は、例えば、各
ティップTの実体に、それぞれに対応しているダーティ
・ビットDの数が付加されている場合、当該数値を減少
させてもよい。また、共有フクロSFから排出されたテ
ィップTに対応するダーティ・ビットD毎に、ティップ
Tの実体が残っているか否かを示す値を記憶してもよ
い。さらに、全てのダーティ・ビット・リストLDを検
索して、ティップTの実体に対応するダーティ・ビット
Dが存在するか否かを判定すれば、ダーティ・ビットD
を無効「K」に設定すること自体で、対応付けを解消す
ることもできる。いずれの場合であっても、後述のティ
ップTの実体削除処理において、各ティップTに対応し
ているダーティ・ビットDが存在するか否かを判定でき
れば、同様の効果が得られる。なお、後述のティップT
の実体削除処理が続いて行われるのであれば、ティップ
Tの実際削除処理自体を対応付けの解消と見なすことも
できる。Note that, as a method of canceling the correspondence, for example, when the number of dirty bits D corresponding to each tip T is added to the substance of each tip T, the number may be decreased. Further, a value indicating whether or not the substance of the tip T remains may be stored for each dirty bit D corresponding to the tip T discharged from the shared bag SF. Further, if all dirty bit lists LD are searched and it is judged whether or not there is a dirty bit D corresponding to the substance of the tip T, the dirty bit D
It is also possible to cancel the association by itself setting "invalid" to "K". In any case, the same effect can be obtained if it is possible to determine whether or not there is a dirty bit D corresponding to each tip T in the substance deletion processing of the tip T described later. In addition, the tip T described later
If the substantive deletion process of is performed subsequently, the actual deletion process of the tip T itself can be regarded as the cancellation of the association.
【0203】一方、共有フクロSF外のティップTに対
して、実体を削除する場合は、図66のS211および
S212に示すように、情報処理機器2は、図65のS
202およびS203と同様の処理を行い、ティップT
とダーティ・ビットDとの対応付けを解消する。On the other hand, in the case of deleting the substance from the tip T outside the shared bag SF, the information processing device 2 sets the S in FIG. 65 to S211 and S212 in FIG.
The same process as 202 and S203 is performed, and the tip T
And the association between the dirty bit D and.
【0204】実体の削除を伴う処理が、いずれの場合で
あっても、当該ティップTの実体が、他の場所(別の共
有フクロSFや別のアプリケーションなど)からも参照
されていない場合、ティップ削除処理部43は、ティッ
プ管理部31を制御して、ティップTの実体を削除す
る。これにより、情報処理機器2において、データベー
ス管理部23の空き領域を拡大できる。この結果、非同
期期間が長く、多くのティップTが削除される場合であ
っても、データベース管理部23に必要なメモリ量を低
減できる。In any case of the process involving the deletion of the entity, if the entity of the tip T is not referred to from another place (such as another shared bag SF or another application), the tip The deletion processing unit 43 controls the tip management unit 31 to delete the substance of the tip T. As a result, the free area of the database management unit 23 can be expanded in the information processing device 2. As a result, even when the asynchronous period is long and many tips T are deleted, the memory amount required for the database management unit 23 can be reduced.
【0205】ここで、ティップ削除処理部43は、使用
者から実体削除を指示された場合であっても、例えば、
特定のフクロFへティップTを移動するなどして、ティ
ップTの実体と対応付けとをできるだけ長い間保持して
おくと共に、空きメモリ量と予め定められた値とを比較
して、空きメモリ量が不足した時点で、ダーティ・ビッ
トDとティップTの実体との対応を解消する方が望まし
い。これにより、空きメモリ量が不足していない限り、
各ティップTの実体および対応付けを保持できる。この
結果、同期処理時のデータ転送量を削減できると共に、
ティップTの追加や更新など、情報処理機器2の動作に
不可欠なメモリを確保できる。Here, even if the tip deletion processing section 43 is instructed by the user to delete the substance, for example,
The tip T is moved to a specific bag F, and the entity of the tip T and the correspondence are retained for as long as possible, and the free memory amount is compared with a predetermined value. It is preferable to cancel the correspondence between the dirty bit D and the substance of the tip T when the shortage occurs. As a result, unless there is not enough free memory,
The substance and correspondence of each tip T can be held. As a result, it is possible to reduce the amount of data transfer during synchronization processing, and
It is possible to secure a memory that is indispensable for the operation of the information processing device 2, such as adding or updating the tip T.
【0206】さらに、ティップ削除処理部43は、対応
付けを解消する際、次の同期処理の際に、相手の情報処
理機器2からティップTの内容を転送する可能性を推定
して比較し、可能性が低いティップTから順番に、対応
付けを解消することもできる。この可能性は、例えば、
これまでの同期処理の履歴から推定してもよいし、ティ
ップTが排出された場合は、削除された場合よりも転送
の可能性が高いと推定するなど、自らの情報処理機器2
における使用者の操作に基づいて推測してもよい。な
お、対応付けを解消する際、ティップTの実体を削除で
きるか否か、すなわち、他の場所から参照されているか
否かを判定し、削除可能なティップTから、対応付けを
解消する方がよい。これにより、転送の可能性の高いテ
ィップTほど長い間、情報処理機器2の動作に不可欠な
メモリを確保しながら、同期処理の際のデータ転送量を
効率良く削減できる。Further, the tip deletion processing section 43 estimates and compares the possibility of transferring the content of the tip T from the information processing apparatus 2 of the other party when canceling the association and at the time of the next synchronization processing. It is also possible to cancel the association in order from the tip T with the lowest possibility. This possibility is, for example,
It may be estimated from the history of the synchronization processing up to now, or when the tip T is ejected, it is estimated that the possibility of transfer is higher than when it is deleted.
You may guess based on a user's operation in. When canceling the association, it is better to determine whether or not the substance of the tip T can be deleted, that is, whether or not the tip T is referenced from another location, and to cancel the association from the deletable tip T. Good. This makes it possible to efficiently reduce the data transfer amount during the synchronization processing while securing the memory essential for the operation of the information processing device 2 for a longer time as the tip T having a higher transfer possibility.
【0207】いずれの場合であっても、対応付けが解消
されたダーティ・ビットDは、移動パラメタが無効
「K」に設定されており、後述するように、同期処理の
際、必要に応じて、他の情報処理機器2から伝送され
る。したがって、各情報処理機器2が非同期期間中の任
意の時点で、ティップTの実体を削除しても、同期処理
が行われた時点で、データベースシステム1におけるデ
ータベースDBの整合性は保たれる。In any case, the movement parameter of the dirty bit D for which the association has been canceled is set to invalid "K", and as described later, during synchronization processing, it is necessary. , Is transmitted from another information processing device 2. Therefore, even if each information processing device 2 deletes the substance of the tip T at any time during the asynchronous period, the consistency of the database DB in the database system 1 is maintained at the time when the synchronization process is performed.
【0208】具体的には、図19に示す管理方法と同様
に、本変形例でも、非同期期間中、ティップTへの操作
に応じて、ダーティ・ビット・リストLDが更新される
が、本変形例では、ダーティ・ビットDが無効「K」に
変化することがある。したがって、同期処理を開始する
時点の各情報処理機器2a・2bにおいて、ダーティ・
ビット・リストLDa ・LDb には、無効「K」のダー
ティ・ビットDが含まれている。Specifically, similar to the management method shown in FIG. 19, even in this modification, the dirty bit list LD is updated in response to an operation on the tip T during the asynchronous period. In the example, dirty bit D may change to an invalid "K". Therefore, in each of the information processing devices 2a and 2b at the time of starting the synchronization process, the dirty
The bit list LD a , LD b contains the dirty bit D of invalid “K”.
【0209】このダーティ・ビット・リストLDa ・L
Db に対して、図26のS51に示す圧縮処理が実施さ
れると、非同期期間中に新たに共有フクロSFへ追加さ
れたティップTに対応するダーティ・ビットDのうち、
現在共有フクロSFへ含まれていないティップTに対応
するダーティ・ビットDは、それぞれのダーティ・ビッ
ト・リストLDから削除される。[0209] This dirty bit list LD a L
When the compression processing shown in S51 of FIG. 26 is performed on D b , among the dirty bits D corresponding to the tip T newly added to the shared balloon SF during the asynchronous period,
The dirty bit D corresponding to the tip T that is not currently included in the shared bag SF is deleted from each dirty bit list LD.
【0210】具体的には、図67に示すように、シンク
・リミットLima ・Limb =21、Ya =7、Yb
=5の場合を例にすると、シンク・リミットLima ・
Limb よりも後のダーティ・ビットD22a 〜D28a ・
D29b 〜D33b )のうち、排出更新「Om」および無効
「K」のダーティ・ビット(D23a 、D25a …)が削除
される。この結果、図68に示すように、それぞれのダ
ーティ・ビット・リストLDa (LDb )のうち、シン
ク・リミットLima (Limb )よりも後には、挿入
更新「Im」のダーティ・ビットDのみが残留する。Specifically, as shown in FIG. 67, sink limit Lim a Lim b = 21, Y a = 7, Y b
= 5, for example, the sink limit Lim a
Dirty bits D 22a to D 28a after Lim b
Of D 29b to D 33b ), the discharge update “Om” and invalid “K” dirty bits (D 23a , D 25a ...) Are deleted. As a result, as shown in FIG. 68, of the respective dirty bit list LD a (LD b), sink limits the Lim a (Lim b) after the dirty bit D of the insertion update "Im" Only remains.
【0211】さらに、S52では、上述の図27ないし
図29と同様に、それぞれのダーティ・ビット・リスト
LDa (LDb )に、他の情報処理機器2b(2a)で
追加されたダーティ・ビットDb (Da )が追加される
と共に、シンク・リミットLima (Limb )が調整
される(図69参照)。これにより、ダーティ・ビット
・リストLDa ・LDb において、互いに対応するティ
ップTを示すダーティ・ビットDa ・Db は、同じ順序
に配され、ダーティ・ビットDa ・Db 間の対応が付け
られる。ここで、S52の時点では、各情報処理機器2
間で、ダーティ・ビットDa ・Db の対応が付けられて
いるが、ティップTの内容は伝達されていない。したが
って、新たに追加されたダーティ・ビットDの値は、無
効「K」に設定される。[0211] Further, in S52, similarly to FIGS. 27 to 29 described above, each of the dirty bit list LD a (LD b), dirty bit added in the other information processing device 2b (2a) D with b (D a) is added, the sink limit Lim a (Lim b) is adjusted (see FIG. 69). As a result, in the dirty bit list LD a LD b , the dirty bits D a D b indicating the corresponding tips T are arranged in the same order, and the correspondence between the dirty bits D a D b is set. Attached. Here, at the time of S52, each information processing device 2
The dirty bits D a and D b are associated with each other, but the contents of the tip T are not transmitted. Therefore, the value of the newly added dirty bit D is set to invalid "K".
【0212】続いて、S53では、各情報処理機器2a
・2b間でダーティ・ビットDが交換され、ティップT
の内外判定(フクロ)同期が行われる。ただし、本変形
例では、シンク・リミットLimより前のダーティ・ビ
ットDであっても、ティップTの実体が削除されれば、
無効「K」に変化するので、各情報処理機器2間でダー
ティ・ビットDa ・Db が対応付けられた後のダーティ
・ビット・リストLDa ・LDb であっても、無効
「K」が含まれている。したがって、シンクロナイズ処
理部51は、図31に代えて、以下に示すルールによ
り、ティップTを内外判定する。Then, in S53, each information processing device 2a
・ Dirty bit D is exchanged between 2b and Tip T
The inside / outside determination (float) synchronization is performed. However, in this modified example, even if the dirty bit D before the sync limit Lim is deleted, if the substance of the tip T is deleted,
Since it changes to invalid “K”, even if the dirty bit list LD a · LD b after the dirty bits D a · D b are associated between the information processing devices 2 is invalid “K”. It is included. Therefore, the synchronization processing unit 51 determines whether the tip T is inside or outside according to the following rule instead of FIG.
【0213】具体的には、ダーティ・ビットDの移動パ
ラメタの組み合わせが、(X−X)、(X−I)、(I
−I)、(I−K)および(I−O)のいずれかの場
合、当該ダーティ・ビットDに対応するティップTは、
共有フクロSF内に配されると判定し、自らと相手との
ダーティ・ビットDにおいて、移動パラメタを静止
「X」に設定する。一方、移動パラメタの組み合わせ
が、(X−O)、(O−K)、(O−O)および(K−
K)のいずれかの場合、ティップTは、共有フクロSF
外であると判定され、それぞれの移動パラメタが無効
「K」に設定される。Specifically, the combinations of the movement parameters of the dirty bit D are (X−X), (X−I), (I
-I), (I-K) and (I-O), the tip T corresponding to the dirty bit D is
It is determined that the moving parameter is placed in the shared bag SF, and the moving parameter is set to the static “X” in the dirty bit D between itself and the opponent. On the other hand, the combinations of movement parameters are (X-O), (O-K), (O-O) and (K-).
K) in either case, the tip T is the shared bag SF
It is determined to be outside, and each movement parameter is set to invalid “K”.
【0214】さらに、組み合わせが(I−K)のよう
に、一方のダーティ・ビットDが無効「K」で、かつ、
ティップTが共有フクロSF内に配される場合は、各ダ
ーティ・ビットDの更新パラメタも合わせて変更され、
無効「K」のダーティ・ビットDが静止維持「Xp」に
設定されると共に、他のダーティ・ビットDは、静止更
新「Xm」に設定される。これにより、他のダーティ・
ビットDの内容が更新されなかった場合(ダーティ・ビ
ットDが挿入維持「Ip」の場合)であっても、後述す
るS54に示す内容同期において、ティップTの実体が
存在しない情報処理機器2には、必ず、他の情報処理機
器2からティップTの内容が補充される。Furthermore, one of the dirty bits D is invalid "K" such that the combination is (I-K), and
When the tip T is placed in the shared bag SF, the update parameter of each dirty bit D is also changed,
The dirty bit D of invalid "K" is set to the static hold "Xp" while the other dirty bits D are set to the static update "Xm". This allows other dirty
Even if the content of the bit D has not been updated (when the dirty bit D is the insertion maintenance “Ip”), in the content synchronization shown in S54, which will be described later, the information processing device 2 in which the substance of the tip T does not exist does not exist. Must be replenished with the contents of the tip T from another information processing device 2.
【0215】この結果、例えば、シンク・リミットLi
m=28で、ダーティ・ビットDa・Db の組み合わせ
全てが網羅されている場合を例にして説明すると、各ダ
ーティ・ビット・リストLDa ・LDb は、図70に示
す状態から図71に示す状態へと変化する。As a result, for example, the sync limit Li
In the case where m = 28 and all combinations of dirty bits D a and D b are covered, the respective dirty bit lists LD a and LD b are changed from the state shown in FIG. The state changes to.
【0216】ここで、ダーティ・ビットDa ・Db の組
み合わせの判定は、組み合わせ毎に行われ、判定結果
は、移動パラメタおよび更新パラメタの変更として記憶
される。したがって、図19に示す管理方法の場合と同
様に、通信の切断などによって、S53の内外判定(フ
クロ)同期処理が中断されても、何ら支障なく、同期処
理を再開できる。Here, the determination of the combination of the dirty bits D a and D b is performed for each combination, and the determination result is stored as the change of the movement parameter and the update parameter. Therefore, similarly to the case of the management method shown in FIG. 19, even if the inside / outside determination (floor) synchronization processing of S53 is interrupted due to communication disconnection or the like, the synchronization processing can be restarted without any trouble.
【0217】その後は、図19の管理方法の場合と同様
に、S54にて、優先度判定が行われ、S56におい
て、各ダーティ・ビット・リストLDa ・LDb が圧縮
されて、同期処理が終了する。After that, as in the case of the management method of FIG. 19, in S54, priority determination is performed, and in S56, each dirty bit list LD a LD b is compressed and the synchronization processing is performed. finish.
【0218】さらに、同期処理が終了した時点で、ティ
ップ削除処理部43は、同期処理の結果、共有フクロS
F外に配されたティップTについて、実体が他の場所か
ら参照されているか否かを判定し、いずれからも参照さ
れていない場合、ティップ管理部31を制御して、当該
ティップTの実体を削除する。ここで、これらのティッ
プTは、各データベースDB間で整合性を保つ必要の無
いデータであり、それ以降の同期処理の際、内容が転送
されない。したがって、これらのティップTの実体を削
除することによって、同期処理の際のデータ転送量を増
大させることなく、情報処理機器2の空きメモリ量を拡
大できる。Further, when the synchronization processing is completed, the tip deletion processing unit 43 determines that the shared bag S
For the tip T arranged outside F, it is determined whether or not the entity is referenced from another place, and if it is not referenced from any place, the tip management unit 31 is controlled to identify the entity of the tip T. delete. Here, these tips T are data that do not need to maintain consistency between the respective database DBs, and their contents are not transferred in the subsequent synchronization processing. Therefore, by deleting the substance of these tips T, it is possible to increase the free memory amount of the information processing device 2 without increasing the data transfer amount at the time of synchronization processing.
【0219】なお、上記では、同期処理の終了時に、デ
ータベースDB間で対応付けられていないティップTの
実体を削除する場合を例にして説明したが、これに限る
ものではない。例えば、共有フクロSF外に配されたテ
ィップTの内容を頻繁に参照する場合など、当該ティッ
プTの内容を再利用する場合には、同期処理の終了時に
ティップTの実体を削除しなくてもよい。さらに、使用
者の要望に合わせて設定できるように、情報処理機器2
は、ティップ削除処理部43が実体を削除するか否かを
選択可能な方がよい。この場合は、さらに、共有設定毎
に選択してもよいし、全共有設定毎に共通に選択しても
よい。In the above description, the case where the substance of the tip T that is not associated between the databases DB is deleted at the end of the synchronization process has been described as an example, but the present invention is not limited to this. For example, when the content of the tip T is reused, such as when frequently referring to the content of the tip T arranged outside the shared bag SF, the substance of the tip T need not be deleted at the end of the synchronization process. Good. Furthermore, the information processing device 2 can be set so as to meet the user's request.
It is better that the tip deletion processing unit 43 can select whether or not to delete the substance. In this case, further, it may be selected for each sharing setting, or may be commonly selected for all sharing settings.
【0220】また、当該変形例では、ダーティ・ビット
Dの値として、非同期期間中に、無効を示す値「K」を
必ず使用する場合について説明したが、使用者の要求に
応えるために、無効「K」を用いるか否かを設定可能で
あってもよい。この場合、無効「K」の要否を設定する
時点は、共有解除のモデルを設定するときと同様、例え
ば、共有設定時など、各情報処理機器2が互いに通信可
能な期間に限定すれば、同期処理時において、各情報処
理機器2間で設定の相違に起因する不具合の発生を抑制
できるので、より好ましい。In the modification, the value "K" indicating invalidity is always used as the value of the dirty bit D during the asynchronous period, but it is invalid to meet the user's request. It may be possible to set whether to use "K". In this case, the time of setting the necessity of invalid "K" is the same as when setting the sharing cancellation model. This is more preferable because it is possible to suppress the occurrence of troubles due to the difference in settings between the information processing devices 2 during the synchronization processing.
【0221】さらに、上記では、図26を例にして説明
したが、本変形例においても、図61と同様に、非同期
期間中に、自らのダーティ・ビット・リストLDを圧縮
してもよい。この場合は、実体を削除するか否かに拘わ
らず、ティップTに対応するダーティ・ビットDがダー
ティ・ビット・リストLDから削除される。Further, although the above description has been made with reference to FIG. 26 as an example, also in the present modification, the dirty bit list LD of itself may be compressed during the asynchronous period as in the case of FIG. 61. In this case, the dirty bit D corresponding to the tip T is deleted from the dirty bit list LD regardless of whether or not the entity is deleted.
【0222】ところで、上述の説明では、ティップTの
実体を削除するか否かに拘わらず、各情報処理機器2
は、図26のS53に示す内外判定(フクロ)同期にお
いて、ダーティ・ビットDの移動パラメタの組み合わせ
が(挿入「I」−排出「O」)の場合(図32に示す
〔14〕・〔15〕・〔17〕・〔18〕、あるいは、図71に
示す〔16〕・〔17〕・〔20〕・〔21〕)、当該ダーティ
・ビットDに対応するティップTが、共有フクロSF内
に位置すると判定し、それぞれの更新パラメタを変更せ
ずに、それぞれの移動パラメタのみを静止「X」に設定
している。一方、S54に示す優先度判定では、更新パ
ラメタに基づいて、優先側が決定されるので、ダーティ
・ビットDの組み合わせが(Im−Op)の場合、「I
m」の側が優先される。同様に、(Ip−Om)の場
合、「Om」の側が優先され、(Im−Om)の場合、
衝突と判定される。By the way, in the above description, each information processing device 2 is irrespective of whether or not the substance of the tip T is deleted.
In the inside / outside determination (float) synchronization shown in S53 of FIG. 26, when the combination of the movement parameters of the dirty bit D is (insert “I” -ejection “O”) ([14] and [15 shown in FIG. 32. ] [17] / [18] or [16] / [17] / [20] / [21] shown in FIG. 71), the tip T corresponding to the dirty bit D is in the shared bag SF. It is determined that they are located, and the respective movement parameters are set to the static “X” without changing the respective update parameters. On the other hand, in the priority determination shown in S54, the priority side is determined based on the update parameter. Therefore, when the combination of dirty bits D is (Im-Op), “I
The “m” side has priority. Similarly, in the case of (Ip-Om), the side of "Om" is prioritized, and in the case of (Im-Om),
Judged as a collision.
【0223】ここで、(Ip−Om)および(Im−O
m)の場合、内外判定(フクロ)同期では、挿入「I」
側の操作結果が反映されているにも拘わらず、優先度判
定では、排出「O」側の操作結果が反映されることがあ
る。一方、用途や使用者によっては、排出「O」側にお
けるティップTの更新が同期処理の結果に反映されなく
ても、内外判定(フクロ)同期の判定と優先度判定の判
定とを一致させる方がよい場合がある。Here, (Ip-Om) and (Im-O)
In the case of m), the insertion “I” is determined in the inside / outside determination (float) synchronization.
Although the operation result on the side of "O" is reflected, the operation result on the discharge "O" side may be reflected in the priority determination. On the other hand, depending on the application and user, even if the update of the tip T on the discharge “O” side is not reflected in the result of the synchronization processing, the method of matching the determination of inside / outside determination (float) synchronization with the determination of the priority determination May be better.
【0224】以下では、さらに他の変形例として、移動
パラメタの組み合わせが(I−O)の場合には、挿入
「I」側のティップTの内容を優先する場合について、
図72に基づき説明する。なお、この場合、シンクロナ
イズ処理部51が特許請求の範囲に記載の範囲内優先手
段および優先選択手段にも対応する。In the following, as still another modification, when the combination of movement parameters is (I-O), the content of the tip T on the insertion "I" side is given priority.
It will be described with reference to FIG. In this case, the synchronization processing unit 51 also corresponds to the in-range priority unit and the priority selection unit described in the claims.
【0225】本変形例に係る各情報処理機器2では、図
26のS53に示す内外判定(フクロ)同期において、
シンクロナイズ処理部51は、ダーティ・ビットDの組
み合わせが(Ip−Om)および(Im−Op)の場
合、それぞれの移動パラメタを静止「X」に設定するだ
けではなく、挿入「I」側の更新パラメタを更新「m」
に変更し、排出「O」側の更新パラメタを維持「p」に
設定する(図72の〔17〕・〔21〕)。これにより、S
54の優先度判定およびS55の内容同期の際、挿入
「I」側のティップTが必ず優先され、排出「O」側の
ティップTの内容は、挿入「I」側の内容に合わせて変
更される。この結果、内外判定(フクロ)同期と、優先
度判定とを一致させることができる。In each information processing apparatus 2 according to this modification, in the inside / outside determination (float) synchronization shown in S53 of FIG.
When the combination of the dirty bits D is (Ip-Om) and (Im-Op), the synchronization processing unit 51 not only sets each movement parameter to the stationary "X", but also updates the insertion "I" side. Update parameter "m"
And the update parameter on the discharge “O” side is set to maintain “p” ([17] and [21] in FIG. 72). This allows S
At the time of the priority determination of 54 and the content synchronization of S55, the tip T on the insertion "I" side is always prioritized, and the content of the tip T on the ejection "O" side is changed according to the content on the insertion "I" side. It As a result, the inside / outside determination (float) synchronization and the priority determination can be matched.
【0226】なお、上記では、排出「O」側を優先する
場合を例にして説明したが、使用者の要求に応えるため
に、排出「O」側を優先するか否かを設定可能であって
もよい。この場合は、共有解除のモデルを設定する場合
と同様に、例えば、共有設定の時点など、各情報処理機
器2が通信可能な期間に、排出「O」側を優先するか否
かを設定することが望まれる。この設定は、共有設定毎
でもよいし、全共有設定で共通であってもよい。これに
より、各情報処理機器2間で、排出「O」側を優先する
か否かについて確実に同意することができ、各情報処理
機器2間で選択が異なる場合の不具合の発生を防止でき
る。In the above description, the case where the discharge “O” side is prioritized has been described as an example, but it is possible to set whether or not the discharge “O” side is prioritized in order to meet the user's request. May be. In this case, as in the case of setting the sharing cancellation model, whether or not to prioritize the discharge “O” side is set during a period in which each information processing device 2 can communicate, for example, at the time of sharing setting. Is desired. This setting may be common to all shared settings or common to all shared settings. As a result, it is possible to surely agree between the information processing devices 2 as to whether or not the discharge “O” side is prioritized, and it is possible to prevent the occurrence of troubles when the selection is different between the information processing devices 2.
【0227】〔第2の実施形態〕
ところで、第1の実施形態では、データベースシステム
1を構成する各情報処理機器2…が、データベースDB
の部分集合となるフクロFを作成可能で、それぞれが対
等の場合を例にして説明した。これに対して、本実施形
態では、図62に示すように、データベースシステム1
1に、部分集合を設定できない情報処理機器(データベ
ース管理装置)12が含まれる場合について説明する。Second Embodiment By the way, in the first embodiment, each information processing device 2 ...
The description has been given by taking as an example the case in which it is possible to create a bag F that is a subset of, and each is equal. On the other hand, in the present embodiment, as shown in FIG.
A case where 1 includes an information processing device (database management device) 12 that cannot set a subset will be described.
【0228】上記データベースシステム11は、例え
ば、クライアント−サーバ型のデータベースシステムな
ど、互いに対等ではない情報処理機器から構成される場
合に好適に使用される。上記情報処理機器2は、例え
ば、サーバとして動作するデスクトップ型のコンピュー
タなどとして実現され、上記情報処理機器12は、例え
ば、携帯情報端末など、格納可能なデータベースDBの
規模が情報処理機器2よりも小さい機器にて実現され
る。The database system 11 is preferably used when it is composed of information processing devices which are not equal to each other, such as a client-server type database system. The information processing device 2 is realized, for example, as a desktop computer that operates as a server, and the information processing device 12 has a database DB that can be stored in a larger scale than the information processing device 2, such as a mobile information terminal. Realized with a small device.
【0229】当該情報処理機器12は、図1に示す情報
処理機器2と略同一の構造であるが、データベース管理
部23は、図63に示すように、1つのデータベースD
Bを1つのフクロFとして格納しており、図62に示す
ように、情報処理機器12のデータベースDB全体とな
るフクロFが、情報処理機器2のフクロFと共有され
る。The information processing device 12 has a structure substantially the same as that of the information processing device 2 shown in FIG.
B is stored as one bag F, and as shown in FIG. 62, the bag F, which is the entire database DB of the information processing device 12, is shared with the bag F of the information processing device 2.
【0230】上記構成のデータベースシステム11であ
っても、同期処理の際、ティップTの内容伝送に先立っ
て、情報処理機器2・12間でダーティ・ビットDが比
較され、内容伝送の要否と伝送方向とが決定される。こ
こで、情報処理機器2では、第1の実施形態と同様に、
ダーティ・ビットDに基づいて、移動のみが行われたテ
ィップTを判別できる。この結果、当該ティップTの内
容伝送を確実に抑止でき、同期処理時に伝送されるデー
タ量を削減できる。Even in the database system 11 having the above-mentioned configuration, the dirty bit D is compared between the information processing devices 2 and 12 before the content transmission of the tip T during the synchronization processing, and it is determined whether the content transmission is necessary or not. The transmission direction is determined. Here, in the information processing device 2, as in the first embodiment,
Based on the dirty bit D, the tip T that has only been moved can be determined. As a result, the content transmission of the tip T can be reliably suppressed, and the amount of data transmitted during the synchronization processing can be reduced.
【0231】さらに、本実施形態でも、両ダーティ・ビ
ット・リストLDにおけるダーティ・ビットDの順位
で、ティップTの対応関係が記憶されているので、より
少ないメモリ量でティップTの状態を把握できると共
に、同期処理時に通信されるデータ量を削減できる。Further, also in this embodiment, since the correspondence relation of the tips T is stored in the order of the dirty bits D in both the dirty bit lists LD, the state of the tips T can be grasped with a smaller memory amount. At the same time, it is possible to reduce the amount of data communicated during the synchronization processing.
【0232】上記構成のデータベースシステム11の使
用例としては、例えば、会社などに設置され、サーバと
なる情報処理機器2で、全営業マンに必要なアドレス情
報を一括管理し、携帯情報端末となる情報処理機器12
が各営業マンそれぞれに配付される場合が挙げられる。
ここで、各営業マン毎に必要なアドレス情報の組み合わ
せは、互いに異なっており、かつ、複数の営業マンに共
通のアドレス情報があることが多い。したがって、情報
処理機器2にて、データベースDBに全アドレス情報を
格納し、各営業マンに必要なアドレス情報の組み合わせ
をフクロFとして管理することで、情報処理機器2は、
例えば、各営業マン毎のアドレス情報を別のデータベー
スDBに格納する場合と異なり、各アドレス情報を整合
性を損なうことなく管理できる。また、情報処理機器1
2は、情報処理機器2の1つのフクロFを格納できれば
よいので、アドレス情報全体を記憶する場合よりも記憶
容量を削減できる。[0232] As an example of using the database system 11 having the above-mentioned configuration, for example, the information processing device 2 which is installed in a company or the like and serves as a server collectively manages the address information required by all the sales persons, and becomes a portable information terminal. Information processing equipment 12
Can be given to each salesman.
Here, the combination of address information required for each sales person is different from each other, and there are many cases in which a plurality of sales persons have common address information. Therefore, in the information processing device 2, by storing all the address information in the database DB and managing the combination of the address information required for each sales person as the bag F, the information processing device 2 can
For example, unlike the case where the address information for each sales person is stored in another database DB, each address information can be managed without impairing the consistency. Also, the information processing device 1
2 only needs to be able to store one bag F of the information processing device 2, so that the storage capacity can be reduced compared to the case where the entire address information is stored.
【0233】なお、上記第1および第2の実施形態で
は、ティップTが個々の住所を示す場合を例にして説明
したが、当然ながら、ティップTが示すデータは、デー
タベースの用途に応じて自由に設定できる。また、各テ
ィップTが同じ種類の属性A…を有し、共有相手が同じ
ティップTが、共有フクロSFに集められる場合を例に
して説明したが、これに限るものではない。例えば、共
有相手とアプリケーションとの組み合わせ毎に共有フク
ロSFを設けてもよい。アドレス帳、電子帳およびメイ
ルアドレスデータベースのアプリケーションが存在する
場合を例にして説明すると、アドレス帳で使用されるテ
ィップTは、名前、電話番号、メールアドレス、住所お
よび勤務先などを示す属性を備えている。また、電話帳
で使用されるティップTは、名前と電話番号とを示す属
性を備え、メイルアドレスデータベースのティップT
は、名前とメールアドレスとを示す属性を備えている。
さらに、各ティップTは、使用アプリケーションを示す
フクロFに集められる。例えば、電話帳で使用されるテ
ィップTは、アドレス帳を示すフクロFにも所属する。
この場合、アドレス帳全体を新しくしたい場合は、アド
レス帳を示すフクロFに対して共有設定すればよいし、
電話帳のフクロFのみを変更したい場合は、当該フクロ
Fに対し共有設定して同期処理すればよい。このよう
に、使用するアプリケーション毎にフクロFを割り当て
れば、用途毎に同期処理できる。In the first and second embodiments, the case where the tip T indicates an individual address has been described as an example. However, the data indicated by the tip T can be freely changed depending on the use of the database. Can be set to. Further, the case has been described as an example where the tips T have the same type of attribute A ... And the tips T having the same sharing partner are collected in the shared bag SF, but the present invention is not limited to this. For example, the shared bag SF may be provided for each combination of the sharing partner and the application. Taking the case where there are applications of address book, electronic book and mail address database as an example, the tip T used in the address book has attributes indicating a name, a telephone number, a mail address, an address and a place of work. ing. The tip T used in the telephone directory has attributes indicating a name and a telephone number, and the tip T of the mail address database is
Has attributes indicating a name and a mail address.
Further, each tip T is collected in the bag F indicating the application used. For example, the tip T used in the telephone book also belongs to the bag F, which indicates the address book.
In this case, if you want to update the entire address book, you can set sharing for the bag F that shows the address book.
When it is desired to change only the bag F of the phone book, the sharing may be set for the bag F and synchronization processing may be performed. In this way, if the bag F is assigned to each application to be used, synchronous processing can be performed for each application.
【0234】また、上記第1および第2の実施形態で
は、対応関係をダーティ・ビットDの順序として記憶し
ているが、これに限るものではない。例えば、ティップ
IDなど、相手のティップTを示す情報で、対応するテ
ィップTを特定してもよい。ただし、この場合は、同期
処理時に、ダーティ・ビットDだけではなく、相手のテ
ィップIDを送出する必要があり、通信されるデータ量
が増大する虞れがある。In the first and second embodiments, the correspondence is stored as the order of dirty bits D, but the order is not limited to this. For example, the corresponding tip T may be specified by information indicating the tip T of the other party such as the tip ID. However, in this case, it is necessary to send not only the dirty bit D but also the tip ID of the other party at the time of synchronization processing, which may increase the amount of data to be communicated.
【0235】さらに、相手のティップIDは、相手のデ
ータベースDBの規模が増大するに従って、データ量が
多くなる。この結果、特に、第2の実施形態のように、
情報処理機器2と情報処理機器12とが対等ではない場
合、メモリ量の削減が強く要求される情報処理機器12
において、ダーティ・ビットDの順序で特定するより
も、対応関係の記憶に必要なメモリ量が多くなってしま
う。Further, the tip ID of the partner has a large amount of data as the scale of the database DB of the partner increases. As a result, in particular, as in the second embodiment,
When the information processing device 2 and the information processing device 12 are not equal, it is strongly requested to reduce the memory amount.
In the above, the amount of memory required to store the correspondence becomes larger than that specified in the order of the dirty bit D.
【0236】これに対して、上記第1および第2の実施
形態では、ティップTの対応関係は、自らのティップT
に関連する情報の順序で格納さている。したがって、相
手のデータベースDBの規模やティップTの格納方法に
拘わらず、対応関係を格納できる。この結果、相手のテ
ィップTを示す情報で特定する場合よりも、対応関係の
記憶に必要なメモリ量を削減できると共に、同期処理の
際に伝送されるデータ量を削減できる。On the other hand, in the first and second embodiments described above, the correspondence relationship between the tips T is the same as the tips T themselves.
Are stored in the order of information related to. Therefore, the correspondence can be stored regardless of the scale of the partner database DB and the storage method of the tip T. As a result, it is possible to reduce the amount of memory required to store the correspondence relationship and to reduce the amount of data transmitted during the synchronization processing, as compared with the case where the information indicating the tip T of the other party is specified.
【0237】また、上記第1および第2の実施形態で
は、ダーティ・ビットDの順序が、ダーティ・ビット・
リストLDとして格納されているが、これに限るもので
はない。例えば、ダーティ・ビット・リストLDとは別
に順序を示すリストを設けてもよいし、各ティップT毎
に、ダーティ・ビットDと、順位を示す情報とを格納す
ることもできる。ただし、ダーティ・ビットDと順序と
は、同じティップTに対応する場合であっても、自らの
共有フクロSFと相手の共有フクロSFとの組み合わせ
毎に設けられ、共有相手の数は、データベースDBの作
成時点では予測できないことが多い。したがって、ダー
ティ・ビットDと順序とは、ティップTの内容自体とは
別に設ける方がよい。それゆえ、それぞれを別に記憶す
ると、対応するティップTを示す情報が別に必要にな
り、必要なメモリ量が増大する。したがって、ダーティ
・ビットDを格納する順序として、対応関係を格納する
ことで、必要なメモリ量をさらに削減できる。In the first and second embodiments, the order of the dirty bits D is the dirty bit.
Although stored as a list LD, it is not limited to this. For example, a list indicating the order may be provided separately from the dirty bit list LD, and the dirty bit D and information indicating the order may be stored for each tip T. However, even if the dirty bit D and the order correspond to the same tip T, the dirty bit D and the order are provided for each combination of the own shared bag SF and the partner shared bag SF, and the number of shared partners is the database DB. Often unpredictable at the time of creation. Therefore, it is better to provide the dirty bit D and the order separately from the content itself of the tip T. Therefore, if each of them is stored separately, information indicating the corresponding tip T is needed separately, and the required memory amount increases. Therefore, by storing the correspondence relationship as the order of storing the dirty bit D, the required memory amount can be further reduced.
【0238】さらに、上記各実施形態では、自らの共有
フクロSFと相手の共有フクロSFとの組み合わせ毎
に、ダーティ・ビットDを設けているが、非同期期間が
同一であれば、複数の共有フクロSF間で、ダーティ・
ビット・リストLD(ダーティ・ビットD)を共用でき
る。Further, in each of the above-described embodiments, the dirty bit D is provided for each combination of the own shared bag SF and the partner shared bag SF, but if the asynchronous periods are the same, a plurality of shared bag SFs are provided. Dirty between SF
The bit list LD (dirty bit D) can be shared.
【0239】なお、上記各実施形態では、例えば、各情
報処理機器2(12)がシンクロナイズ処理部51を備
えている場合について説明したが、シンクロナイズ処理
部51や共有設定処理部52など、各情報処理機器2
(12)が通信可能な期間のみに動作する部材は、いず
れか一方に設けられていればよい。また、例えば、シン
クロナイズ処理部51のうち、ティップTの衝突を検出
する部分と、優先側を決定する部分とが異なる情報処理
機器2(12)に配されていてもよい。通信可能な時点
で、上記各部材を形成できれば、同様の効果が得られ
る。In each of the above-described embodiments, for example, the case where each information processing device 2 (12) is provided with the synchronization processing section 51 has been described. Processing equipment 2
The member that operates only during the period (12) in which communication is possible may be provided in either one. Further, for example, in the synchronization processing unit 51, a portion that detects a collision of the tip T and a portion that determines the priority side may be arranged in different information processing devices 2 (12). If the above members can be formed at the time when communication is possible, the same effect can be obtained.
【0240】[0240]
【発明の効果】請求項1の発明に係るデータベース管理
装置は、以上のように、共有範囲となる部分集合を設定
する部分集合設定手段と、少なくとも前回の同期処理終
了時に上記部分集合に含まれたデータについて、更新情
報と移動情報とを含む状態情報が記憶される状態情報記
憶手段と、非同期期間中、対応する状態情報が上記状態
情報記憶手段に格納されている各データを監視して、そ
れぞれの状態情報を更新する状態情報更新手段とを備え
ている構成である。As described above, the database management apparatus according to the first aspect of the present invention includes a subset setting means for setting a subset that is a shared range, and at least the subset when the previous synchronization processing is completed. With respect to the data, state information storage means for storing state information including update information and movement information, and during the asynchronous period, corresponding state information is monitored for each data stored in the state information storage means, This is a configuration including state information updating means for updating each state information.
【0241】それゆえ、部分集合内外を移動したデータ
であっても、前回の同期処理時と次回の同期処理時との
双方で部分集合内に存在し、かつ、両時点の間で内容が
更新(変更)されていないデータを確実に識別できる。
この結果、相手のデータベース管理装置へ通信するデー
タ量を削減でき、同期処理時に処理されるデータ量を削
減できるという効果を奏する。Therefore, even if the data is moved inside or outside the subset, it exists in the subset both at the time of the previous synchronization processing and at the time of the next synchronization processing, and the contents are updated between both time points. Data that has not been (modified) can be identified with certainty.
As a result, it is possible to reduce the amount of data to be communicated to the other database management apparatus, and to reduce the amount of data processed during the synchronization processing.
【0242】請求項2の発明に係るデータベース管理装
置は、以上のように、請求項1記載の発明の構成におい
て、上記同期処理手段を備え、当該同期処理手段には、
互いに対応するデータ組毎に、自らの状態情報記憶手段
に格納された状態情報と、相手のデータベース管理装置
から受け取った情報(受信情報)とに基づいて、データ
の内容伝送の要否を判定する判定手段とが設けられてい
る構成である。As described above, the database management apparatus according to the invention of claim 2 is provided with the synchronization processing means in the configuration of the invention of claim 1, and the synchronization processing means comprises:
For each data set corresponding to each other, the necessity of content transmission of data is determined based on the status information stored in the status information storage means of itself and the information (reception information) received from the counterpart database management device. The determination means is provided.
【0243】それゆえ、判定手段は、データの内容伝送
に先立って、上述の状態情報や更新の有無など、データ
の内容自体に比べてデータ量の小さな情報によって、内
容伝送の要否を判定できる。この結果、同期処理の際、
各データベース管理装置間で伝送されるデータ量、およ
び、それぞれで処理されるデータ量を削減できるという
効果を奏する。Therefore, the determination means can determine the necessity of content transmission based on the information having a smaller data amount than the content itself of the data, such as the above-mentioned status information and the presence / absence of update, prior to the data content transmission. . As a result, during synchronization processing,
It is possible to reduce the amount of data transmitted between each database management device and the amount of data processed by each.
【0244】請求項3の発明に係るデータベース管理装
置は、以上のように、請求項2記載の発明の構成におい
て、上記判定手段は、上記状態情報と受信情報とに基づ
いて、同期処理により、共有範囲内に配されるか否かを
判定し、各データ組に対応する状態情報を更新する内外
判定同期手段を備えている構成である。As described above, in the database management apparatus according to the third aspect of the present invention, in the configuration of the second aspect of the invention, the determination means performs synchronization processing based on the status information and the received information. This is a configuration including an inside / outside determination synchronization means for determining whether or not the data is arranged within the shared range and updating the status information corresponding to each data set.
【0245】上記構成によれば、同期処理手段は、小さ
な情報によって、各データが共有範囲内に存在するか否
かを判定できる。それゆえ、同期処理に伝送あるいは処
理されるデータ量を削減できるという効果を奏する。さ
らに、判定結果は、状態情報などとして、各データ組毎
に格納されるので、各判定の独立性を向上できる、この
結果、同期処理が中断される虞れがあるデータベースシ
ステムであっても、各データベース間の整合性を確実に
保つことができるという効果を併せて奏する。With the above arrangement, the synchronization processing means can determine whether or not each piece of data is within the shared range based on a small amount of information. Therefore, it is possible to reduce the amount of data transmitted or processed in the synchronous processing. Further, since the determination result is stored as status information for each data set, it is possible to improve the independence of each determination. As a result, even in a database system in which the synchronization process may be interrupted, The effect that the consistency between the databases can be surely maintained is also achieved.
【0246】請求項4の発明に係るデータベース管理装
置は、以上のように、請求項2または3記載の発明の構
成において、上記判定手段には、互いに対応するデータ
の組のうち、少なくとも、同期処理後に共有範囲内に存
在するデータ組それぞれについて、上記状態情報と受信
情報とに基づいて、当該データ組のうちのいずれのデー
タを優先するかを判定する優先側判定手段と、当該優先
側判定手段が優先するデータを決定した場合は、優先す
るデータの内容で、非優先側のデータの内容を置き換え
るデータ内容同期手段とが設けられている構成である。As described above, in the database management apparatus according to the fourth aspect of the present invention, in the configuration of the second or third aspect of the invention, at least the synchronization unit among the data sets corresponding to each other is synchronized with the determination means. For each data set existing in the shared range after processing, a priority side determination means for determining which data of the data set has priority based on the status information and the reception information, and the priority side determination When the means determines the data to be prioritized, the data content synchronizing means for replacing the content of the non-priority side data with the content of the prioritized data is provided.
【0247】それゆえ、極めて少ないデータ量で、優先
側判定の要否、優先側、および、データ内容を伝送する
際の伝送方向を決定でき、同期処理の際に、通信あるい
は処理されるデータ量を削減できるという効果を奏す
る。Therefore, with a very small amount of data, it is possible to determine the necessity of the priority side determination, the priority side, and the transmission direction when transmitting the data content, and the amount of data to be communicated or processed in the synchronization process. The effect of being able to reduce.
【0248】請求項5の発明に係るデータベース管理装
置は、以上のように、請求項3記載の発明の構成に加え
て、請求項4記載の優先側判定手段およびデータ内容同
期手段を備え、当該優先側判定手段は、上記内外判定同
期手段による設定に基づいて、同期処理後に共有範囲内
に存在するデータ組を識別する構成である。As described above, the database management apparatus according to the invention of claim 5 comprises the priority side determination means and the data content synchronization means of claim 4 in addition to the configuration of the invention of claim 3. The priority side determination means is configured to identify the data set existing in the shared range after the synchronization processing based on the setting by the inside / outside determination synchronization means.
【0249】それゆえ、対応するデータ組全てで優先側
を判定する場合、あるいは、内外判定同期手段の判定と
は別に、共有範囲内に存在するか否かを判定する場合に
比べて、判定時間を短縮できるという効果を奏する。Therefore, as compared with the case where the priority side is judged for all the corresponding data sets, or the case where it is judged whether or not it exists within the shared range, separately from the judgment of the inside / outside judgment synchronization means The effect of being able to shorten.
【0250】請求項6の発明に係るデータベース管理装
置は、以上のように、少なくとも自らの共有範囲に含ま
れているデータの順序を記憶すると共に、前回の同期処
理では、各データの順序が相手と同一に設定される順序
記憶手段と、上記順序のうち、前回の同期処理での末尾
の順位を示す対応済順位を記憶する対応済順位記憶手段
と、前回の同期処理から次の同期処理までの非同期期間
中は、上記順序記憶手段が格納する順序のうち、上記対
応済順位および当該対応済順位よりも前の順序を保持す
ると共に、非同期期間中に自らの共有範囲へ新たに含ま
れたデータは、上記対応済順位よりも後になるように、
各データの順序を管理する順序管理手段とを備えている
構成である。As described above, the database management device according to the invention of claim 6 stores at least the order of data included in its own shared range, and in the previous synchronization processing, the order of each data is the same. From the previous synchronization process to the next synchronization process, an order storage unit that is set to be the same as the above, and a corresponding order storage unit that stores the corresponding order indicating the last order in the previous synchronization process in the above order. During the asynchronous period, among the order stored by the sequence storage means, the above-mentioned corresponded rank and the order prior to the corresponding rank are retained, and they are newly included in their own shared range during the asynchronous period. The data should be after the above-mentioned corresponded rank,
It is the structure provided with the order management means which manages the order of each data.
【0251】上記構成では、各データベース管理装置
は、自らに格納されたデータの順序として対応関係を記
憶している。それゆえ、相手のデータを示す対応情報で
記憶する場合よりも、対応関係の記憶に必要なメモリ量
と、同期処理時の演算量とを削減できると共に、同期処
理の際、通信あるいは処理されるデータ量を削減できる
という効果を奏する。In the above configuration, each database management device stores the correspondence as the order of the data stored in itself. Therefore, it is possible to reduce the amount of memory required for storing the correspondence relationship and the amount of calculation at the time of synchronization processing, and to communicate or process at the time of synchronization processing, as compared with the case of storing the correspondence information indicating the data of the other party. This has the effect of reducing the amount of data.
【0252】請求項7の発明に係るデータベース管理装
置は、以上のように、請求項6記載の発明の構成におい
て、同期処理手段を備え、当該同期処理手段には、自ら
の共有範囲内に存在するデータのうち、上記順序記憶手
段に格納された順位が上記対応済順位より後のデータ
を、相手の共有範囲に追加するデータ追加手段と、相手
の共有範囲へ追加したデータについて、自らの順序記憶
手段に記憶された順位と、相手の順序記憶手段に記憶さ
れた順位とが一致し、かつ、それぞれの順位が未だ対応
付けられていないデータの順位よりも前になるように、
自らおよび相手の順序記憶手段の少なくとも1つを更新
する追加データ対応付手段と、上記対応済順位を更新す
る対応済順位更新手段とを備えている構成である。As described above, the database management apparatus according to the invention of claim 7 is provided with the synchronization processing means in the configuration of the invention of claim 6, and the synchronization processing means exists within its own shared range. Data to be added to the shared range of the other party, and the data added to the shared range of the other party in the order The rank stored in the storage means and the rank stored in the other party's order storage means match, and each rank is prior to the rank of the data that is not yet associated,
This is a configuration including additional data associating means for updating at least one of the own and the partner's order storage means, and a corresponding order updating means for updating the corresponding order.
【0253】上記構成によれば、例えば、新規作成や共
有範囲内への移動などによって、非同期期間中に新たに
共有範囲に追加されたデータであっても、順序や対応済
順位が矛盾することなく、データを追加できるという効
果を奏する。According to the above configuration, even if the data is newly added to the shared range during the asynchronous period due to, for example, new creation or movement into the shared range, the order and the corresponding order are inconsistent. There is an effect that data can be added.
【0254】請求項8の発明に係るデータベース管理装
置は、以上のように、請求項6または7記載の発明の構
成において、上記対応済順位より後の順位で、かつ、自
らの共有範囲に含まれないデータの順序を上記順序記憶
手段から削除する第1順序削除手段が設けられている構
成である。As described above, the database management apparatus according to the invention of claim 8 is, in the configuration of the invention according to claim 6 or 7, included in a rank after the corresponding rank and included in its own shared range. The first order deleting means is provided for deleting the order of the data which is not stored from the order storing means.
【0255】それゆえ、順序の記憶に必要なメモリ量
と、順序の管理時の演算量と、次回の同期処理時に通信
あるいは演算されるデータ量とを削減できるという効果
を奏する。Therefore, it is possible to reduce the amount of memory required for storing the sequence, the amount of calculation for managing the sequence, and the amount of data to be communicated or calculated in the next synchronization processing.
【0256】請求項9の発明に係るデータベース管理装
置は、以上のように、請求項6、7または8記載の発明
の構成において、同期処理の際、上記順序記憶手段に格
納される順序のうち、自らおよび相手の共有範囲のいず
れにも含まれていないデータに対応する順序を、それぞ
れの順序記憶手段から削除する第2順序削除手段が設け
られている構成である。In the database management apparatus according to the ninth aspect of the present invention, as described above, in the configuration of the sixth, seventh or eighth aspect of the present invention, among the sequences stored in the sequence storage means during the synchronization processing. Second order deleting means for deleting the order corresponding to the data not included in the shared range of itself or the other party from the respective order storing means.
【0257】それゆえ、順序の記憶に必要なメモリ量
と、順序の管理時の演算量と、次回の同期処理時に通信
あるいは演算されるデータ量とを削減できるという効果
を奏する。Therefore, it is possible to reduce the amount of memory required for storing the sequence, the amount of calculation for managing the sequence, and the amount of data to be communicated or calculated in the next synchronization processing.
【0258】請求項10の発明に係るデータベース管理
装置は、以上のように、請求項6、7、8または9記載
の発明の構成において、請求項1記載の状態情報記憶手
段および状態情報更新手段とを備えており、上記順序記
憶手段は、各データに対応する状態情報を記憶する順序
として、それぞれの順序を記憶している構成である。As described above, the database management apparatus according to the tenth aspect of the invention has the state information storage means and the state information updating means according to the first aspect in the configuration of the invention according to the sixth aspect, the seventh aspect, the eighth aspect, or the ninth aspect. And the order storage means stores the respective order as the order of storing the state information corresponding to each data.
【0259】それゆえ、順序と状態情報とを別に格納す
る場合に比べて、格納に必要なメモリ量を削減できると
共に、同期処理時に状態情報を伝送する順序を決定し易
くなるという効果を奏する。Therefore, as compared with the case where the order and the state information are stored separately, the amount of memory required for the storage can be reduced, and the order of transmitting the state information during the synchronization processing can be easily determined.
【0260】請求項11の発明に係るデータベース管理
装置は、以上のように、請求項10記載の発明の構成に
おいて、相手のデータベースと共有される共有範囲とし
て、自らのデータベース内に部分集合を設定する部分集
合設定手段を備え、上記状態情報には、対応するデータ
が非同期期間中に上記部分集合の内外を移動したか否か
を示す移動情報が含まれている構成である。As described above, the database management apparatus according to the invention of claim 11 sets a subset in its own database as a shared range shared with the database of the other party in the configuration of the invention of claim 10. The state information includes movement information indicating whether or not the corresponding data has moved inside or outside the subset during the asynchronous period.
【0261】それゆえ、請求項10の効果に加えて、請
求項1と同様、移動のみを行ったデータを識別でき、同
期処理時に通信あるいは処理されるデータ量を削減でき
る。Therefore, in addition to the effect of the tenth aspect, similarly to the first aspect, it is possible to identify the data that has moved only, and reduce the amount of data to be communicated or processed during the synchronization processing.
【0262】請求項12の発明に係るデータベース管理
装置は、以上のように、請求項10または11記載の発
明の構成において、上記同期処理手段を備え、当該同期
処理手段は、上記順序記憶手段に格納された順序に応じ
た順序で、対応するデータの状態情報を伝送する構成で
ある。As described above, the database management apparatus according to the twelfth aspect of the invention has the synchronization processing means in the configuration of the invention according to the tenth or eleventh aspect, and the synchronization processing means is the sequence storage means. The configuration is such that the status information of the corresponding data is transmitted in the order according to the stored order.
【0263】上記構成では、同期処理の際、状態情報
は、順序記憶手段に格納された順序に応じた順序で伝送
される。それゆえ、同期処理の際、状態情報を伝送する
だけで、対応関係を伝送でき、各データベース管理装置
間で伝送あるいは処理されるデータ量を削減できるとい
う効果を奏する。In the above configuration, during the synchronization processing, the state information is transmitted in the order according to the order stored in the order storage means. Therefore, in the synchronous processing, the correspondence relationship can be transmitted only by transmitting the status information, and the amount of data transmitted or processed between the database management devices can be reduced.
【0264】請求項13の発明に係るデータベース管理
装置は、請求項1記載のデータベース管理装置と通信す
る通信手段と、当該データベース管理装置に格納された
データベースおよび自らのデータベースの間で、対応す
るデータの内容を一致させる同期処理手段とを有するデ
ータベース管理装置であって、以上のように、当該同期
処理手段には、自らの共有範囲内の各データと、上記相
手の共有範囲内の各データとを対応付ける対応付け手段
と、対応付けられた各データの組について、相手の状態
情報と、相手のデータベース管理装置からの受信情報と
に基づいて、データの内容伝送の要否を判定する判定手
段とが設けられている構成である。According to a thirteenth aspect of the present invention, there is provided a database management device, wherein data corresponding between a communication means for communicating with the database management device according to the first aspect, a database stored in the database management device and its own database. A database management device having a synchronization processing unit that matches the contents of the above, and as described above, the synchronization processing unit includes each data within its own shared range and each data within the shared range of the other party. Associating means for associating with each other, and for each of the associated data sets, a determining means for determining whether or not it is necessary to transmit the content of the data based on the status information of the partner and the reception information from the database management device of the partner Is provided.
【0265】上記構成の同期処理手段は、相手のデータ
ベース管理装置が請求項1の構成を有している場合、当
該データベース管理装置の状態情報を参照して同期処理
する。それゆえ、請求項2と同様に、同期処理の際に各
データベース管理装置間で伝送されるデータ量、およ
び、それぞれで処理されるデータ量を削減できるという
効果を奏する。When the other database management apparatus has the configuration of claim 1, the synchronization processing means with the above configuration refers to the status information of the database management apparatus and performs the synchronization processing. Therefore, similarly to the second aspect, it is possible to reduce the amount of data transmitted between the database management devices and the amount of data processed by each in the synchronization process.
【0266】請求項14の発明に係るデータベース管理
装置は、以上のように、請求項1記載の発明の構成にお
いて、上記部分集合外に配されたデータと状態情報とが
対応しているか否かを記憶する対応データ情報記憶手段
と、非同期期間中、それぞれのデータベース管理装置で
不要と判断されたデータと状態情報との対応付けを解消
する対応付け解消手段と、状態情報と対応付けられてい
ないデータの内容を削除するデータ削除手段とを備えて
いる構成である。As described above, in the database management apparatus according to the fourteenth aspect of the present invention, in the configuration of the first aspect of the invention, whether or not the data arranged outside the subset corresponds to the status information. A corresponding data information storage means for storing the data, a correspondence canceling means for canceling the correspondence between the data determined to be unnecessary by each database management device and the status information during the asynchronous period, and the status information not associated. It is the structure provided with the data deletion means which deletes the content of data.
【0267】上記構成によれば、非同期期間中、各デー
タベース管理装置がそれぞれで不要なデータ内容を削除
して必要なメモリ量を低減する場合であっても、非同期
期間に内容が削除されたデータを確実に識別できる。こ
の結果、各データベース間の整合性を損なうことなく、
かつ、比較的少ないメモリ量で、同期処理におけるデー
タ伝送量を削減できるという効果を奏する。According to the above configuration, even if each database management device deletes unnecessary data contents to reduce the required memory amount during the asynchronous period, the data whose contents are deleted during the asynchronous period. Can be reliably identified. As a result, without compromising the consistency between each database,
In addition, the data transmission amount in the synchronization processing can be reduced with a relatively small memory amount.
【0268】請求項15の発明に係るデータベース管理
装置は、以上のように、請求項14記載の発明の構成に
おいて、上記対応付け解消手段は、自らを含むデータベ
ース管理装置の空きメモリ量が、予め定められたしきい
値以下になった時点で、上記対応付けを解消する構成で
ある。As described above, in the database management apparatus according to the fifteenth aspect of the present invention, in the configuration of the fourteenth aspect of the present invention, the association eliminating means is configured such that the free memory amount of the database management apparatus including itself is previously set. When the threshold value is equal to or lower than the predetermined threshold value, the above correspondence is canceled.
【0269】上記構成によれば、対応付けが解消された
時点でデータの内容を削除する場合に比べ、同期処理時
のデータ転送量を不要に増大させることなく、必要な空
きメモリ量を確保できるという効果を奏する。According to the above configuration, the required free memory amount can be secured without unnecessarily increasing the data transfer amount at the time of synchronization processing, as compared with the case where the contents of data are deleted at the time when the association is resolved. Has the effect.
【0270】請求項16の発明に係るデータベース管理
装置は、以上のように、請求項14または15記載の発
明の構成において、上記対応付け解消手段は、上記不要
なデータについて、次回の同期処理の際に、相手のデー
タベース管理装置からデータ内容を転送する可能性を推
定して比較し、可能性が低いデータから順番に、上記対
応付けを解消する構成である。As described above, in the database management apparatus according to the sixteenth aspect of the present invention, in the configuration of the invention according to the fourteenth or fifteenth aspect, the association eliminating means performs the next synchronization processing for the unnecessary data. At this time, the possibility of transferring the data contents from the other party's database management device is estimated and compared, and the association is canceled in order from the data with the lowest possibility.
【0271】上記構成によれば、同期処理の際に同期処
理相手のデータベース管理装置からデータ内容を転送す
る可能性が高い間は、当該データの内容を保持できるの
で、同期処理の際のデータ転送量を効率良く削減できる
という効果を奏する。According to the above configuration, the content of the data can be held during the synchronization processing while the content of the data is likely to be transferred from the database management apparatus of the synchronization processing partner. Therefore, the data transfer during the synchronization processing is possible. The effect is that the amount can be efficiently reduced.
【0272】請求項17の発明に係るデータベース管理
装置は、以上のように、請求項3記載の発明の構成にお
いて、同期処理手段は、内外判定同期手段により部分集
合内に設定される状態情報とデータとの対応が、対応デ
ータ情報記憶手段に記憶されていない場合、相手のデー
タベース管理装置から、当該データに対応するデータの
内容を受け取る構成である。As described above, in the database management apparatus according to the seventeenth aspect of the present invention, in the configuration of the third aspect of the invention, the synchronization processing means includes status information set in the subset by the inside / outside determination synchronization means. When the correspondence with the data is not stored in the corresponding data information storage means, the content of the data corresponding to the data is received from the counterpart database management device.
【0273】それゆえ、あるデータベース管理装置でデ
ータの内容が削除された場合であっても、同期処理によ
って、各データベース間の整合性を回復できるという効
果を奏する。 Therefore, even if the contents of data are deleted by a certain database management device, there is an effect that the consistency between the databases can be restored by the synchronization processing .
【0274】請求項18の発明に係るデータベース管理
装置は、以上のように、請求項2記載の発明の構成にお
いて、互いに対応するデータの組がそれぞれの共有範囲
内に存在すると判定した場合、当該データ組に対応する
状態情報の更新情報に拘わらず、当該データ組のうち、
共有範囲内に存在しているデータの内容の方を優先する
範囲内優先手段が設けられている構成である。[0274] The database management apparatus according to the invention of 請 Motomeko 18, as described above, if the configuration of the invention described in claim 2, the corresponding set of data is determined as existing in the respective shared range to each other, Regardless of the update information of the status information corresponding to the data set,
This is a configuration in which an in-range priority means for giving priority to the content of data existing in the shared range is provided.
【0275】上記構成によれば、データの配置を判定す
る際に優先した側と、データの内容を判定する際に優先
した側とを一致させることができるので、使用者の誤解
を招きにくいデータベース管理装置を実現できるという
効果を奏する。According to the above-mentioned structure, the side prioritized in determining the data arrangement and the side prioritized in determining the content of the data can be made to coincide with each other, so that the database is not easily misunderstood by the user. This has the effect of realizing a management device.
【0276】請求項19の発明に係るデータベース管理
装置は、以上のように、請求項18記載の発明の構成に
おいて、上記範囲内優先手段は、上記内外判定同期手段
によって部分集合内に変更された状態情報の更新情報を
更新なしに変更すると共に、変更されなかった状態情報
の更新情報を更新ありに変更する構成である。As described above, in the database management apparatus according to the nineteenth aspect of the invention, in the configuration of the eighteenth aspect of the invention, the within-range priority means is changed into a subset by the inside / outside determination synchronization means. The configuration is such that the update information of the state information is changed to “without update” and the update information of the state information that has not been changed is changed to “with update”.
【0277】上記構成によれば、内外判定同期手段によ
る移動情報の更新に伴って、範囲内優先手段は、移動情
報を更新し、データ組それぞれの判定結果は、状態情報
として保存される。この結果、同期処理が中断される虞
れがあるデータベースシステムであっても、各データベ
ース間の整合性を確実に保つことができるという効果を
奏する。According to the above configuration, the within-range priority means updates the movement information with the update of the movement information by the inside / outside determination synchronizing means, and the determination result of each data set is stored as the state information. As a result, even in a database system in which the synchronization process may be interrupted, there is an effect that the consistency between the databases can be reliably maintained.
【0278】請求項20の発明に係るデータベース管理
装置は、以上のように、請求項18または19の発明の
構成において、上記範囲内優先手段が動作するか否かを
選択する優先選択手段を備えている構成である。As described above, the database management apparatus according to the twentieth aspect of the invention is provided with the priority selecting means for selecting whether or not the in-range priority means operates in the configuration of the eighteenth or nineteenth aspect of the invention. It has a structure.
【0279】上記構成によれば、範囲内優先手段が動作
するか否かを選択できるので、使用者の好みに合わせた
設定が可能になり、より使いやすいデータベース管理装
置を実現できるという効果を奏する。According to the above configuration, it is possible to select whether or not the in-range priority means operates, so that it is possible to make settings according to the preference of the user, and it is possible to realize a database management device that is easier to use. .
【0280】請求項21ないし23の発明に係る記録媒
体は、以上のように、請求項1、6、または13のデー
タベース管理装置を実現するためのプログラムが記録さ
れている構成である。[0280] recording medium according to the invention of claim 21 to 23, as described above, a program for realizing the data <br/> database management apparatus according to claim 1, 6 or 1 3, is recorded It is a composition.
【0281】それゆえ、上記構成のプログラムをコンピ
ュータで実行させることによって、各請求項1、6、ま
たは13と同様に、必要なメモリ量の増大を抑制しなが
ら、同期処理時に処理されるデータ量を削減可能なデー
タベース管理装置を実現できるという効果を奏する。Therefore, by executing the program having the above-mentioned configuration on a computer, each of the claims 1 to 6 or.
Others exhibit the same manner as 1 3, while suppressing an increase in the required memory amount, an effect of reducing a database management system the amount of data to be processed in synchronization time can be realized.
【図1】本発明の一実施形態を示すものであり、情報処
理機器の要部構成を示すブロック図である。FIG. 1 shows an embodiment of the present invention and is a block diagram showing a main configuration of an information processing device.
【図2】上記情報処理機器を使用して構築されるデータ
ベースシステムの一例を示すブロック図である。FIG. 2 is a block diagram showing an example of a database system constructed using the information processing device.
【図3】上記情報処理機器において、データ1件を示す
ティップと、その母集合となるフクロとの関係を示す説
明図である。FIG. 3 is an explanatory diagram showing a relationship between a tip indicating one piece of data and a balloon that is a population thereof in the information processing device.
【図4】上記情報処理機器において、ティップの格納方
法を示す説明図である。FIG. 4 is an explanatory diagram showing a method of storing tips in the information processing device.
【図5】上記情報処理機器において、ティップと、フク
ロと、データベースとの関係を示す説明図である。FIG. 5 is an explanatory diagram showing a relationship among a tip, a bag, and a database in the information processing device.
【図6】上記情報処理機器において、ティップの格納方
法を示すものであり、ティップと、フクロと、データベ
ースとからなるツリー構造を示す説明図である。FIG. 6 is a diagram illustrating a method of storing tips in the information processing device, and is an explanatory diagram illustrating a tree structure including tips, bags, and a database.
【図7】上記データベースシステムにおいて、情報処理
機器の共有範囲となる共有フクロと、他の情報処理機器
の共有フクロとの関係を示す説明図である。FIG. 7 is an explanatory diagram showing a relationship between a shared bag that is a shared range of an information processing device and a shared bag of another information processing device in the database system.
【図8】上記データベースシステムにおいて、ティップ
の対応関係と、対応関係の記憶方法とを示す説明図であ
る。FIG. 8 is an explanatory diagram showing a tip correspondence and a correspondence storage method in the database system.
【図9】上記データベースシステムにおいて、各情報処
理機器に格納されるダーティ・ビット・リストを示す説
明図である。FIG. 9 is an explanatory diagram showing a dirty bit list stored in each information processing device in the database system.
【図10】上記ダーティ・ビット・リストを構成するダ
ーティ・ビットにおいて、移動パラメタの格納例を示す
説明図である。FIG. 10 is an explanatory diagram showing an example of storage of movement parameters in dirty bits forming the dirty bit list.
【図11】自らの共有フクロが複数の共有フクロと共有
される場合において、ティップの対応関係を示す説明図
である。FIG. 11 is an explanatory diagram showing a correspondence relationship of tips when a shared bag of its own is shared with a plurality of shared bags.
【図12】上記対応関係において、ダーティ・ビット・
リストを示す説明図である。FIG. 12 shows the dirty bit
It is explanatory drawing which shows a list.
【図13】上記データベースシステムの概略の動作を示
すフローチャートである。FIG. 13 is a flowchart showing a schematic operation of the database system.
【図14】上記データベースシステムにおいて、フクロ
融合型モデルの共有設定を示す説明図である。FIG. 14 is an explanatory diagram showing sharing settings of a balloon fusion type model in the database system.
【図15】上記データベースシステムにおいて、同期処
理を示す説明図である。FIG. 15 is an explanatory diagram showing a synchronization process in the database system.
【図16】上記データベースシステムにおいて、共有設
定時の動作を詳細に説明するフローチャートである。FIG. 16 is a flowchart illustrating in detail the operation at the time of sharing setting in the database system.
【図17】上記データベースシステムの変形例を示すも
のであり、フクロ取込み型モデルの共有設定を示す説明
図である。FIG. 17 is a diagram showing a modified example of the database system, and is an explanatory diagram showing sharing settings of the bag capture type model.
【図18】上記データベースシステムの他の変形例を示
すものであり、フクロ新規作成型モデルの共有設定を示
す説明図である。FIG. 18 is a diagram showing another modification of the database system, and is an explanatory diagram showing sharing settings for a new balloon model.
【図19】上記データベースシステムにおいて、非同期
期間中の各種操作に応じたダーティ・ビットの変化を示
す説明図である。FIG. 19 is an explanatory diagram showing changes in dirty bits according to various operations during an asynchronous period in the database system.
【図20】上記データベースシステムの非同期期間中の
動作を詳細に説明するものであり、ティップの内容更新
処理を示すフローチャートである。FIG. 20 is a flow chart for explaining the details of the operation during the asynchronous period of the database system, and showing a tip content updating process.
【図21】上記データベースシステムの非同期期間中の
動作を詳細に説明するものであり、ティップの挿入処理
を示すフローチャートである。FIG. 21 is a flowchart for explaining the operation of the above database system during an asynchronous period in detail and showing a tip insertion process.
【図22】上記データベースシステムの非同期期間中の
動作を詳細に説明するものであり、ティップの排出処理
を示すフローチャートである。FIG. 22 is a flowchart for explaining the operation during the asynchronous period of the database system in detail, and is a flowchart showing a tip discharging process.
【図23】上記データベースシステムにおいて、同期処
理の終了直後におけるティップの対応関係を示す説明図
である。FIG. 23 is an explanatory diagram showing a tip correspondence relationship immediately after the end of the synchronization processing in the database system.
【図24】上記データベースシステムにおいて、同期処
理の終了直後におけるダーティ・ビット・リストを示す
説明図である。FIG. 24 is an explanatory diagram showing a dirty bit list immediately after the end of the synchronization processing in the database system.
【図25】上記データベースシステムにおいて、次の同
期処理の直前におけるダーティ・ビット・リストを示す
説明図である。FIG. 25 is an explanatory diagram showing a dirty bit list immediately before the next synchronization process in the database system.
【図26】上記データベースシステムにおいて、同期処
理中の動作を詳細に説明するフローチャートである。FIG. 26 is a flowchart illustrating in detail the operation during synchronization processing in the database system.
【図27】上記データベースシステムにおいて、同期処
理中の状態を説明するものであり、圧縮後のダーティ・
ビット・リストを示す説明図である。FIG. 27 is a diagram for explaining a state during synchronization processing in the above database system.
It is explanatory drawing which shows a bit list.
【図28】上記データベースシステムにおいて、同期処
理中の他の状態を説明するものであり、他の情報処理機
器で追加されたダーティ・ビットが、自らのダーティ・
ビット・リストに追加された状態を示す説明図である。FIG. 28 is a diagram for explaining another state during synchronization processing in the database system, in which the dirty bit added by another information processing device is its own dirty bit.
It is explanatory drawing which shows the state added to the bit list.
【図29】上記データベースシステムにおいて、同期処
理中のさらに他の状態を説明するものであり、自らで追
加されたダーティ・ビットが、他の情報処理機器のダー
ティ・ビット・リストに追加された状態を示す説明図で
ある。FIG. 29 is a view for explaining still another state during synchronization processing in the database system, in which the dirty bit added by itself is added to the dirty bit list of another information processing device. FIG.
【図30】上記データベースシステムの同期処理を説明
するものであり、ダーティ・ビットの移動パラメタの優
先度を示す説明図である。[Fig. 30] Fig. 30 is a diagram for explaining the synchronization processing of the database system, and is an explanatory diagram showing the priority of the dirty bit movement parameter.
【図31】上記データベースシステムの同期処理を説明
するものであり、ダーティ・ビットの変化を示す説明図
である。FIG. 31 is a diagram for explaining the synchronization processing of the database system, and is an explanatory diagram showing changes in dirty bits.
【図32】上記データベースシステムの同期処理を説明
するものであり、内外判定同期処理の終了時点における
ダーティ・ビット・リストを示す説明図である。FIG. 32 is an explanatory diagram for explaining the synchronization processing of the database system, showing the dirty bit list at the end of the inside / outside determination synchronization processing.
【図33】上記データベースシステムの同期処理を説明
するものであり、ダーティ・ビットの更新パラメタの優
先度を示す説明図である。FIG. 33 is a diagram for explaining the synchronization processing of the database system, and is an explanatory diagram showing the priority of the update parameter of the dirty bit.
【図34】上記データベースシステムの同期処理を説明
するものであり、ダーティ・ビットの更新パラメタの変
化を示す説明図である。[Fig. 34] Fig. 34 is a diagram for explaining the synchronization processing of the database system, and is an explanatory diagram illustrating changes in the update parameter of the dirty bit.
【図35】上記データベースシステムの同期処理を説明
するものであり、ダーティ・ビットによる優先側判定を
示す説明図である。FIG. 35 is an explanatory diagram for explaining the synchronization processing of the database system, showing the priority side determination by the dirty bit.
【図36】上記データベースシステムの同期処理を説明
するものであり、データ内容同期処理後のダーティ・ビ
ット・リストを示す説明図である。FIG. 36 is an explanatory diagram for explaining the synchronization processing of the database system, showing the dirty bit list after the data content synchronization processing.
【図37】上記データベースシステムの同期処理を説明
するものであり、データ内容同期処理後に、さらに圧縮
されたダーティ・ビット・リストを示す説明図である。FIG. 37 is an explanatory diagram for explaining the synchronization processing of the database system, showing the dirty bit list further compressed after the data content synchronization processing.
【図38】上記データベースシステムにおいて、ティッ
プ衝突を解決する主体を説明するものであり、話し合い
モデルを示す説明図である。FIG. 38 is an explanatory diagram illustrating a discussion model for explaining a subject that resolves a tip collision in the database system.
【図39】上記データベースシステムにおいて、ティッ
プ衝突を解決する主体を説明するものであり、選択解決
モデルを示す説明図である。[Fig. 39] Fig. 39 is a diagram illustrating a subject that resolves a tip conflict in the database system, and is an explanatory diagram illustrating a selection resolution model.
【図40】上記データベースシステムにおいて、ティッ
プ衝突を解決する主体を説明するものであり、自動解決
モデルを示す説明図である。FIG. 40 is an explanatory diagram illustrating an automatic resolution model for explaining a subject that resolves a tip conflict in the database system.
【図41】上記データベースシステムにおいて、ティッ
プ衝突の解決主体と解決時期との関係を示す説明図であ
る。FIG. 41 is an explanatory diagram showing a relationship between a tip collision resolution subject and a resolution time in the database system.
【図42】上記データベースシステムにおいて、ティッ
プ衝突解決時の動作を示すものであり、折衝解決型モデ
ルを示すフローチャートである。FIG. 42 is a flow chart showing an operation at the time of tip conflict resolution in the database system and showing a negotiation resolution model.
【図43】上記データベースシステムにおいて、ティッ
プ衝突解決時の動作を示すものであり、クライアント即
時型モデルを示すフローチャートである。FIG. 43 is a flow chart showing an operation when resolving a tip conflict in the database system and showing a client immediate model.
【図44】上記データベースシステムにおいて、ティッ
プ衝突解決時の動作を示すものであり、アプリ解決型モ
デルを示すフローチャートである。FIG. 44 is a flowchart showing an operation at the time of tip conflict resolution in the database system, and is a flowchart showing an application resolution model.
【図45】図44をさらに詳細に説明するフローチャー
トである。FIG. 45 is a flowchart illustrating FIG. 44 in more detail.
【図46】上記データベースシステムにおいて、ティッ
プ衝突解決時の動作を示すものであり、クライアント遅
延型モデルを示すフローチャートである。FIG. 46 is a flowchart showing an operation at the time of tip conflict resolution in the database system, and is a flowchart showing a client delay type model.
【図47】上記データベースシステムにおいて、ティッ
プ衝突解決時の動作を示すものであり、最終更新時刻に
基づく自動解決型モデルを示すフローチャートである。FIG. 47 is a flowchart showing an operation at the time of tip conflict resolution in the database system, and is a flowchart showing an automatic resolution type model based on the last update time.
【図48】上記データベースシステムにおいて、各ティ
ップの更新状況を示す説明図である。FIG. 48 is an explanatory diagram showing an update status of each tip in the database system.
【図49】上記データベースシステムにおいて、ティッ
プ衝突解決時の動作を示すものであり、自動解決型モデ
ルのうち、一方選択モデルを示すフローチャートであ
る。FIG. 49 is a flowchart showing an operation at the time of tip conflict resolution in the database system, showing a one-side selection model of the automatic resolution model.
【図50】上記データベースシステムにおいて、ダウン
ロードを示す説明図である。FIG. 50 is an explanatory diagram showing downloading in the database system.
【図51】上記データベースシステムにおいて、ダウン
ロード時の動作を示すフローチャートである。FIG. 51 is a flowchart showing an operation at the time of download in the database system.
【図52】上記データベースシステムにおいて、ティッ
プ衝突時に、コピーを用いて対応付けを変更する場合を
示す説明図である。FIG. 52 is an explanatory diagram showing a case where the association is changed using a copy at the time of a tip collision in the database system.
【図53】上記データベースシステムにおいて、コピー
を用いた対応付け変更時の動作を示すフローチャートで
ある。FIG. 53 is a flowchart showing an operation at the time of changing association using copying in the database system.
【図54】上記データベースシステムにおいて、ティッ
プの変更時に、コピーを用いて対応付けを変更する場合
を示す説明図である。FIG. 54 is an explanatory diagram showing a case where the association is changed by using a copy when changing the tip in the database system.
【図55】上記データベースシステムにおいて、共有解
除の動作を詳細に説明するフローチャートである。[Fig. 55] Fig. 55 is a flowchart describing in detail the sharing cancellation operation in the database system.
【図56】上記データベースシステムにおいて、ティッ
プ複写型モデルの共有解除を示す説明図である。FIG. 56 is an explanatory diagram showing cancellation of sharing of a tip copy type model in the database system.
【図57】上記データベースシステムの変形例を示すも
のであり、ティップ偏在型モデルの共有解除を示す説明
図である。[Fig. 57] Fig. 57 is a diagram illustrating a modification of the database system and is an explanatory diagram illustrating cancellation of sharing of a tip ubiquitous model.
【図58】上記データベースシステムのさらに他の変形
例を示すものであり、ティップ消滅型モデルの共有解除
を示す説明図である。FIG. 58 is a diagram showing still another modification of the database system, and is an explanatory diagram showing cancellation of sharing of the tip extinction type model.
【図59】上記データベースシステムのさらに他の変形
例を示すものであり、ティップ偏在型モデルで、かつ、
空のフクロも消去する場合の共有解除を示す説明図であ
る。FIG. 59 is a view showing still another modified example of the above database system, which is a tip uneven distribution type model, and
It is explanatory drawing which shows the cancellation | release of sharing in the case of also erasing an empty bag.
【図60】上記データベースシステムのさらに他の変形
例を示すものであり、ティップ消滅型モデルで、かつ、
空のフクロも消去する場合の共有解除を示す説明図であ
る。FIG. 60 is a view showing still another modified example of the above database system, which is a tip disappearance model, and
It is explanatory drawing which shows the cancellation | release of sharing in the case of also erasing an empty bag.
【図61】上記データベースシステムのさらに他の変形
例を示すものであり、非同期期間中に、ダーティ・ビッ
ト・リストを圧縮する場合の動作を示すフローチャート
である。[Fig. 61] Fig. 61 is a flowchart showing the operation of compressing the dirty bit list during the asynchronous period, showing still another modification of the database system.
【図62】本発明の他の実施形態を示すものであり、デ
ータベースシステムにおいて、各情報処理機器間で共有
されるティップとフクロとデータベースとの関係を示す
説明図である。FIG. 62 is a diagram showing another embodiment of the present invention, and is an explanatory diagram showing the relationship among tips, bags and databases shared among information processing devices in a database system.
【図63】上記データベースシステムにおいて、データ
ベース全体を1つのフクロとして処理する情報処理機器
に、ティップを格納する方法を示す説明図である。FIG. 63 is an explanatory diagram showing a method of storing tips in an information processing device that processes the entire database as one bag in the database system.
【図64】本発明の変形例を示すものであり、データベ
ースシステムにおいて、非同期期間中の各種操作に応じ
たダーティ・ビットの変化を示す説明図である。FIG. 64 is a diagram showing a modified example of the present invention and is an explanatory diagram showing changes in dirty bits according to various operations during an asynchronous period in the database system.
【図65】上記データベースシステムの非同期期間中の
動作を詳細に説明するものであり、ティップを共有フク
ロから排出し、かつ、ティップの実体とダーティ・ビッ
トとの対応付けを解消する場合の処理を示すフローチャ
ートである。[Fig. 65] Fig. 65 is a diagram for explaining in detail the operation of the above database system during an asynchronous period, illustrating a process for ejecting a tip from a shared bag and canceling the association between the substance of the tip and the dirty bit. It is a flowchart shown.
【図66】上記データベースシステムの非同期期間中の
動作を詳細に説明するものであり、共有フクロの外にあ
るティップの実体とダーティ・ビットとの対応付けを解
消する場合の処理を示すフローチャートである。FIG. 66 is a flowchart for explaining in detail the operation of the above database system during an asynchronous period, and is a flowchart showing a process for canceling the association between the substance of a tip outside the shared bag and the dirty bit. .
【図67】上記データベースシステムにおいて、次の同
期処理の直前におけるダーティ・ビット・リストを示す
説明図である。FIG. 67 is an explanatory diagram showing a dirty bit list immediately before the next synchronization process in the database system.
【図68】上記データベースシステムにおいて、同期処
理中の状態を説明するものであり、圧縮後のダーティ・
ビット・リストを示す説明図である。[Fig. 68] Fig. 68 is a diagram for explaining the state during synchronization processing in the above database system.
It is explanatory drawing which shows a bit list.
【図69】上記データベースシステムにおいて、同期処
理中の状態を説明するものであり、各ダーティ・ビット
の対応付けが終了した時点のダーティ・ビット・リスト
を示す説明図である。[Fig. 69] Fig. 69 is an explanatory diagram illustrating a state during synchronization processing in the database system, and is a diagram illustrating a dirty bit list at the time when association of each dirty bit is completed.
【図70】上記データベースシステムの同期処理中の動
作を説明するものであり、内外判定同期処理の開始時点
におけるダーティ・ビット・リストを示す説明図であ
る。[Fig. 70] Fig. 70 is an explanatory diagram illustrating an operation during synchronization processing of the database system, and is an explanatory diagram illustrating a dirty bit list at the start point of the inside / outside determination synchronization processing.
【図71】上記データベースシステムの同期処理中の動
作を説明するものであり、内外判定同期処理の終了時点
におけるダーティ・ビット・リストを示す説明図であ
る。71 is an explanatory diagram for explaining the operation during the synchronization processing of the database system, showing the dirty bit list at the end of the inside / outside determination synchronization processing; FIG.
【図72】本発明のさらに他の変形例を示すものであ
り、内外判定同期処理におけるダーティ・ビットの変化
を示す説明図である。[Fig. 72] Fig. 72 is a diagram illustrating yet another modification of the present invention, and is an explanatory diagram illustrating changes in dirty bits in the inside / outside determination synchronization processing.
1・11 データベースシステム
2・12 情報処理機器(データベース管理装置)
21 通信部(通信手段)
23 データベース管理部(データベース、状態情報記
憶手段、順序記憶手段、対応済順位記憶手段、対応デー
タ情報記憶手段)
24 データベース処理部(状態情報更新手段、順序管
理手段、第1順序削除手段)
32 フクロ管理部(部分集合設定手段)
43 ティップ削除処理部(対応付け解消手段、データ
削除手段、削除選択手段)
51 シンクロナイズ処理部(同期処理手段、対応付け
手段、判定手段、内外同期処理手段、優先側判定手段、
データ内容同期手段、データ追加手段、追加データ対応
付手段、対応済順位更新手段、第1および第2順序削除
手段、範囲内優先手段、優先選択手段)1/11 Database system 2/12 Information processing equipment (database management device) 21 Communication unit (communication means) 23 Database management unit (database, state information storage means, order storage means, supported order storage means, corresponding data information storage means) ) 24 database processing unit (state information updating means, order managing means, first order deleting means) 32 balloon management unit (subset setting means) 43 tip deleting processing unit (association eliminating means, data deleting means, deletion selecting means) 51 synchronization processing section (synchronization processing means, associating means, determination means, internal / external synchronization processing means, priority side determination means,
(Data content synchronizing means, data adding means, additional data associating means, supported order updating means, first and second order deleting means, range priority means, priority selection means)
───────────────────────────────────────────────────── フロントページの続き (72)発明者 鎌倉 多志 大阪府大阪市阿倍野区長池町22番22号 シャープ株式会社内 (72)発明者 藤田 房之 大阪府大阪市阿倍野区長池町22番22号 シャープ株式会社内 (56)参考文献 特開 平9−134304(JP,A) 特開 平9−128280(JP,A) 特開 平8−328931(JP,A) 特開 平8−241236(JP,A) 特開 平11−327987(JP,A) 特開 平11−327989(JP,A) 伊庭 四郎 外2名,Outlook 98日本語版をはじめ必携11製品ワークグ ループ対応PIMソフト,Hello! PC,日本,ソフトバンク,1998年 5 月 8日,第5巻, 第9号,p. 162 ―― 181 (特に178 ―― 181) 中村 正弘,「どこでもオフィス」の ソフトウェア環境が整う,日経エレクト ロニクス,日本,日経BP社,1994年10 月10日,第619号,p. 137 ―― 141 長谷川 裕行,Windows95では じめるパソコンLAN,日本,エーアイ 出版,1996年 4月22日,第1版,p. 218 ―― 226 (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 G06F 13/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Tama Kamakura 22-22 Nagaike-cho, Abeno-ku, Osaka City, Osaka Prefecture Sharp Corporation (72) Inventor Fusano Fujita 22-22 Nagaike-cho, Abeno-ku, Osaka City, Osaka Sharp (56) References JP-A-9-134304 (JP, A) JP-A-9-128280 (JP, A) JP-A-8-328931 (JP, A) JP-A-8-241236 (JP, A) JP-A-11-327987 (JP, A) JP-A-11-327989 (JP, A) Shiro Iba, two outsiders, PIM software compatible with 11 product workgroups, including Hello 98 Japanese version, Hello! PC, Japan, SoftBank, May 8, 1998, Volume 5, No. 9, p. 162 ―― 181 (especially 178 ―― 181) Masahiro Nakamura, “Anywhere Office” software environment is set up, Nikkei Electronics, Japan, Nikkei BP, October 10, 1994, No. 619, p. 137 ―― 141 Hiroyuki Hasegawa, PC LAN starting with Windows95, Japan, AI Publishing, April 22, 1996, 1st edition, p. 218 ――226 (58) Fields investigated (Int.Cl. 7 , DB name) G06F 12/00 G06F 13/00
Claims (23)
信可能になったデータベース管理装置に格納されたデー
タベース間で、対応するデータの内容を一致させる同期
処理手段とを有するデータベースシステムを構成するた
めに設けられ、少なくとも1つのデータベースを有する
データベース管理装置において、 相手のデータベースとの共有範囲として、自らのデータ
ベース内に部分集合を設定する部分集合設定手段と、 少なくとも前回の同期処理終了時に上記部分集合に含ま
れたデータについて、前回の同期処理から次の同期処理
までの非同期期間中に更新されたか否かを示す更新情報
と、非同期期間中に上記部分集合の内外を移動したか否
かを示す移動情報とを含む状態情報が記憶される状態情
報記憶手段と、 非同期期間中、対応する状態情報が上記状態情報記憶手
段に格納されている各データを監視して、それぞれの状
態情報を更新する状態情報更新手段とを備えていること
を特徴とするデータベース管理装置。1. To configure a database system having a plurality of database management devices and a synchronization processing means for matching the contents of corresponding data between databases stored in the database management devices which can communicate with each other. In a database management device provided with at least one database, a subset setting means for setting a subset in its own database as a shared range with a counterpart database, and at least the subset at the end of the previous synchronization processing. Update information indicating whether the included data was updated during the asynchronous period from the previous synchronization process to the next synchronization process, and movement indicating whether the data was moved inside or outside the subset during the asynchronous period. Corresponds to a status information storage unit that stores status information including information during an asynchronous period. Status information to monitor each data stored in the status information storage unit, a database management system, characterized by comprising a state information updating means for updating each state information.
と、上記相手の共有範囲内の各データとを対応付ける対
応付け手段と、 対応付けられた各データの組について、自らの状態情報
記憶手段に格納された状態情報と、相手のデータベース
管理装置から受け取った情報とに基づいて、データの内
容伝送の要否を判定する判定手段とが設けられているこ
とを特徴とする請求項1記載のデータベース管理装置。2. The synchronization processing means is provided, and the synchronization processing means is associated with associating means for associating each data within its own shared range with each data within the shared range of the other party. For each data set, there is provided determination means for determining whether or not it is necessary to transmit the content of the data, based on the status information stored in its own status information storage means and the information received from the other party database management device. The database management device according to claim 1, wherein
各データの組について、部分集合内へ移動し、現在部分
集合内に存在することを示す状態情報が少なくとも一つ
のデータベース管理装置に記憶されている場合、およ
び、自らの状態情報が部分集合内を示し、かつ、上記相
手のデータベース管理装置から、当該データ組を構成す
るデータが共有範囲内に存在していると通知された場合
は、当該データ組に対応する状態情報を部分集合内に設
定し、残余の場合は、部分集合外に設定する内外判定同
期手段が設けられていることを特徴とする請求項2記載
のデータベース管理装置。3. The at least one database management device stores in the determining means, for each data set associated with each other, status information indicating that the data set is moved into a subset and currently exists in the subset. If the status information indicates that it is in the subset, and the other database management device notifies that the data that constitutes the data set exists within the shared range. 3. The database management apparatus according to claim 2, further comprising an inside / outside determination synchronization means for setting the status information corresponding to the data set in the subset and setting the status information outside the subset in the case of remaining. .
の組のうち、少なくとも、同期処理後に共有範囲内に存
在するデータ組それぞれについて、当該データ組に対応
する状態情報が更新を示している場合、および、上記相
手のデータベース管理装置から、当該データ組を構成す
るデータの更新を通知された場合に、当該データ組のう
ちのいずれのデータを優先するかを判定する優先側判定
手段と、 当該優先側判定手段が優先するデータを決定した場合
は、優先するデータの内容で、非優先側のデータの内容
を置き換えるデータ内容同期手段とが設けられているこ
とを特徴とする請求項2または3記載のデータベース管
理装置。4. The status information corresponding to the data set indicates update for at least each of the data sets existing in the shared range after the synchronization processing among the data sets corresponding to each other. In the case, and, from the database management device of the other party, when notified of the update of the data forming the data set, a priority side determination means for determining which data of the data set has priority, The data content synchronizing means for replacing the content of the non-priority side data with the content of the prioritized data when the priority side determination means determines the data to be prioritized. 3. The database management device described in 3.
による設定に基づいて、同期処理後に共有範囲内に存在
するデータ組を識別し、当該データ組それぞれについ
て、当該データ組に対応する状態情報が更新を示してい
る場合、および、上記相手のデータベース管理装置か
ら、当該データ組を構成するデータの更新を通知された
場合に、当該データ組のうちのいずれのデータを優先す
るかを判定する優先側判定手段と、 当該優先側判定手段が優先するデータを決定した場合
は、優先するデータの内容で、非優先側のデータの内容
を置き換えるデータ内容同期手段が設けられていること
を特徴とする請求項3記載のデータベース管理装置。5. The determination means identifies a data set existing in the shared range after the synchronization processing based on the setting by the inside / outside determination synchronization means, and for each of the data sets, a state corresponding to the data set. When the information indicates updating, and when the other party's database management device notifies the updating of the data forming the data set, it is determined which data in the data set has priority. And a data content synchronization means for replacing the content of the non-priority side data with the content of the priority data when the priority side determination means determines the data to be prioritized. The database management device according to claim 3.
信可能になったデータベース管理装置に格納されたデー
タベース間で、対応するデータの内容を一致させる同期
処理手段とを有するデータベースシステムを構成するた
めに設けられ、少なくとも1つのデータベースを有する
データベース管理装置において、 少なくとも自らの共有範囲に含まれているデータの順序
を記憶すると共に、前回の同期処理では、各データの順
序が相手と同一に設定される順序記憶手段と、 上記順序のうち、前回の同期処理での末尾の順位を示す
対応済順位を記憶する対応済順位記憶手段と、 前回の同期処理から次の同期処理までの非同期期間中
は、上記順序記憶手段が格納する順序のうち、上記対応
済順位および当該対応済順位よりも前の順序を保持する
と共に、非同期期間中に自らの共有範囲へ新たに含まれ
たデータは、上記対応済順位よりも後になるように、各
データの順序を管理する順序管理手段とを備えているこ
とを特徴とするデータベース管理装置。6. A database system comprising a plurality of database management devices and a synchronization processing means for matching the contents of corresponding data between the databases stored in the database management devices which can communicate with each other. In a database management device that is provided and has at least one database, at least the order of data included in its shared range is stored, and in the previous synchronization processing, the order of each data is set to be the same as that of the other party. An order storage means, a supported order storage means for storing a supported order indicating the last order in the previous synchronization processing in the above order, and an asynchronous period from the previous synchronization processing to the next synchronization processing, Among the orders stored by the order storage means, the above-mentioned processed order and the order prior to the processed order are retained. In addition, the data newly included in its own shared range during the asynchronous period is provided with an order management unit that manages the order of each data so that it is later than the corresponding order. Database management device.
段は、上記相手のデータベースが格納された相手のデー
タベース管理装置と通信して同期処理すると共に、 当該同期処理手段には、自らの共有範囲内に存在するデ
ータのうち、上記順序記憶手段に格納された順位が上記
対応済順位より後のデータを、相手の共有範囲に追加す
るデータ追加手段と、 相手の共有範囲へ追加したデータについて、自らの順序
記憶手段に記憶された順位と、相手の順序記憶手段に記
憶された順位とが一致し、かつ、それぞれの順位が未だ
対応付けられていないデータの順位よりも前になるよう
に、自らおよび相手の順序記憶手段の少なくとも1つを
更新する追加データ対応付手段と、 上記対応済順位を更新する対応済順位更新手段とを備え
ていることを特徴とする請求項6記載のデータベース管
理装置。7. The synchronization processing means is provided, the synchronization processing means communicates with a database management device of a partner storing the database of the partner to perform a synchronization process, and the synchronization processing means has its own sharing. Among the data existing within the range, the data adding means for adding the data stored in the order storage means after the corresponding order to the shared range of the partner and the data added to the shared range of the partner , So that the rank stored in its own order storage means and the rank stored in the other party's order storage means match, and each rank comes before the rank of the data that is not yet associated. , Additional data associating means for updating at least one of the order storing means of itself and the other party, and a completed order updating means for updating the completed order. Database management apparatus according to claim 6.
らの共有範囲に含まれないデータの順序を上記順序記憶
手段から削除する第1順序削除手段が設けられているこ
とを特徴とする請求項6または7記載のデータベース管
理装置。8. A first order deleting means for deleting, from the order storing means, an order of data which is after the corresponding order and is not included in its own shared range. The database management device according to claim 6 or 7.
れる順序のうち、自らおよび相手の共有範囲のいずれに
も含まれていないデータに対応する順序を、それぞれの
順序記憶手段から削除する第2順序削除手段が設けられ
ていることを特徴とする請求項6、7または8記載のデ
ータベース管理装置。9. In the synchronization processing, among the orders stored in the order storage means, the order corresponding to data that is not included in either the shared range of itself or the other party is deleted from the respective order storage means. 9. The database management device according to claim 6, further comprising a second order deleting means for performing the operation.
の共有範囲に含まれたデータについて、非同期期間中に
更新されたか否かを示す更新情報が含まれた状態情報を
記憶する状態情報記憶手段と、 非同期期間中、対応する状態情報が上記状態情報記憶手
段に格納されている各データを監視して、それぞれの状
態情報を更新する状態情報更新手段とを備えており、 上記順序記憶手段は、各データに対応する状態情報を記
憶する順序として、それぞれの順序を記憶していること
を特徴とする請求項6、7、8または9記載のデータベ
ース管理装置。10. A status information storage means for storing status information including update information indicating whether or not the data included in its shared range at least at the end of the previous synchronization process was updated during the asynchronous period. During the asynchronous period, the corresponding status information is equipped with status information updating means for monitoring each data stored in the status information storing means and updating each status information. The database management device according to claim 6, 7, 8 or 9, wherein each order is stored as an order of storing the status information corresponding to each data.
囲として、自らのデータベース内に部分集合を設定する
部分集合設定手段を備え、 上記状態情報には、対応するデータが非同期期間中に上
記部分集合の内外を移動したか否かを示す移動情報が含
まれていることを特徴とする請求項10記載のデータベ
ース管理装置。11. A subset setting means for setting a subset in its own database as a shared range shared with the database of the other party, wherein the status information includes the corresponding data during the asynchronous period. 11. The database management device according to claim 10, further comprising movement information indicating whether the user has moved inside or outside of.
手段は、上記相手のデータベースが格納された相手のデ
ータベース管理装置と通信して同期処理すると共に、 当該同期処理手段は、上記順序記憶手段に格納された順
序に応じた順序で、対応するデータの状態情報を伝送す
ることを特徴とする請求項10または11記載のデータ
ベース管理装置。12. The synchronization processing means includes the synchronization processing means, and the synchronization processing means communicates with a database management apparatus of the partner storing the database of the partner to perform the synchronization processing, and the synchronization processing means includes the order storage means. The database management device according to claim 10 or 11, wherein the status information of the corresponding data is transmitted in an order according to the order stored in.
項1記載のデータベース管理装置と通信する通信手段
と、当該データベース管理装置に格納されたデータベー
スおよび自らのデータベースの間で、対応するデータの
内容を一致させる同期処理手段とを有するデータベース
管理装置であって、 当該同期処理手段には、自らの共有範囲内の各データ
と、上記相手の共有範囲内の各データとを対応付ける対
応付け手段と、 対応付けられた各データの組について、相手の状態情報
記憶手段に格納された状態情報と、相手のデータベース
管理装置から受け取った情報とに基づいて、データの内
容伝送の要否を判定する判定手段とが設けられているこ
とを特徴とするデータベース管理装置。13. At least one database, a communication means for communicating with the database management device according to claim 1, and a database stored in the database management device and its own database are matched in contents of corresponding data. A database management device having synchronization processing means for causing the synchronization processing means to associate the respective data within its own shared range with the respective data within the shared range of the other party. For each of the obtained data sets, a determination unit that determines whether or not it is necessary to transmit the content of the data based on the status information stored in the status information storage unit of the partner and the information received from the database management device of the partner. A database management device characterized by being provided.
たデータについて、当該データと状態情報とが対応して
いるか否かを記憶する対応データ情報記憶手段と、 非同期期間中、上記部分集合外に配されたデータのう
ち、それぞれのデータベース管理装置で不要と判断され
たデータと状態情報との対応付けを解消して、上記対応
データ情報記憶手段に記憶する対応付け解消手段と、 状態情報と対応付けられていないデータの内容を削除す
るデータ削除手段とを備えていることを特徴とする請求
項1記載のデータベース管理装置。14. Corresponding data information storage means for storing whether or not the data arranged outside the subset during the asynchronous period correspond to the status information, and the subset during the asynchronous period. Of the data arranged outside, the correspondence canceling means for canceling the correspondence between the data judged to be unnecessary by each database management device and the status information, and storing it in the corresponding data information storage means; 2. The database management apparatus according to claim 1, further comprising a data deleting unit that deletes the content of the data that is not associated with the data.
ータベース管理装置の空きメモリ量が、予め定められた
しきい値以下になった時点で、上記対応付けを解消する
ことを特徴とする請求項14記載のデータベース管理装
置。15. The association eliminating means eliminates the association when the free memory amount of the database management apparatus including itself becomes equal to or less than a predetermined threshold value. Item 14. The database management device according to Item 14.
ータについて、次回の同期処理の際に、相手のデータベ
ース管理装置からデータ内容を転送する可能性を推定し
て比較し、可能性が低いデータから順番に、上記対応付
けを解消することを特徴とする請求項14または15記
載のデータベース管理装置。16. The association canceling means estimates the possibility of transferring the data content of the unnecessary data from the other database management apparatus at the time of the next synchronization processing, and compares the unnecessary data. 16. The database management device according to claim 14, wherein the association is canceled in order from the data.
たデータについて、当該データと状態情報とが対応して
いるか否かを記憶する対応データ情報記憶手段と、 非同期期間中、上記部分集合外に配されたデータのう
ち、それぞれのデータベース管理装置で不要と判断され
たデータと状態情報との対応付けを解消して、上記対応
データ情報記憶手段に記憶する対応付け解消手段と、 状態情報と対応付けられていないデータの内容を削除す
るデータ削除手段とを備え、 上記同期処理手段は、上記内外判定同期手段により部分
集合内に設定される状態情報と、データとの対応が、上
記対応データ情報記憶手段に記憶されていない場合、相
手のデータベース管理装置から、当該データに対応する
データの内容を受け取ることを特徴とする請求項3記載
のデータベース管理装置。17. Corresponding data information storage means for storing whether or not the data arranged outside the subset during the asynchronous period correspond to the data, and the subset during the asynchronous period. Of the data arranged outside, the correspondence canceling means for canceling the correspondence between the data judged to be unnecessary by each database management device and the status information, and storing it in the corresponding data information storage means; Data deletion means for deleting the contents of the data not associated with the synchronization processing means, the correspondence between the status information set in the subset by the inside / outside determination synchronization means and the data is the above correspondence. 4. When not stored in the data information storage means, the content of the data corresponding to the data is received from the counterpart database management device. Placing database management device.
ータの組について、自らの状態情報記憶手段に格納され
た状態情報と、相手のデータベース管理装置から受け取
った情報とに基づいて、当該データの組がそれぞれの共
有範囲内に存在すると判定した場合、当該データ組に対
応する状態情報の更新情報に拘わらず、当該データ組の
うち、共有範囲内に存在していないデータの内容より
も、共有範囲内に存在しているデータの内容の方を優先
する範囲内優先手段が設けられていることを特徴とする
請求項2記載のデータベース管理装置。 18. The decision means is connected to each of the associated data.
Data sets are stored in their own status information storage means.
Status information and received from the other party's database management device
Based on the information obtained,
If it is determined that it exists within the range,
Regardless of the update information of the corresponding status information,
Of the data content that does not exist within the shared range
Also gives priority to the contents of data existing in the shared range
It is characterized in that priority means within the range is provided.
The database management device according to claim 2.
た各データの組について、部分集合内へ移動し、現在部
分集合内に存在することを示す状態情報が少なくとも一
つのデータベース管理装置に記憶されている場合、およ
び、自らの状態情報が部分集合内を示し、かつ、上記相
手のデータベース管理装置から、当該データ組を構成す
るデータが共有範囲内に存在していると通知された場合
は、当該データ組に対応する状態情報を部分集合内に設
定し、残余の場合は、部分集合外に設定する内外判定同
期手段が設けられ、 上記範囲内優先手段は、上記内外判定同期手段によって
部分集合内に変更された状態情報の更新情報を更新なし
に変更すると共に、変更されなかった状態情報の更新情
報を更新ありに変更することを特徴とする請求項18記
載のデータベース管理装置。 19. The determination means are associated with each other.
For each data set, move into the subset and
At least one state information indicating that it exists in the minute set
Stored in one database management device, and
And its own status information indicates within the subset, and
Configure the data set from your database management device.
When it is notified that the data that exists is within the shared range
Sets state information corresponding to the data set in the subset.
If there is a residual, set the outside of the subset
The means for providing priority within the range is provided by the means for synchronizing the inside / outside determination.
No update of updated status information changed in subset
Status information that has not been changed.
19. The information according to claim 18, characterized in that the information is changed to "with update".
Database management device listed.
選択する優先選択手段を備えていることを特徴とする請
求項18または19記載のデータベース管理装置。 20. Whether or not the in-range priority means operates
Contractor characterized by having priority selection means for selecting
The database management device according to claim 18 or 19.
データの内容を同一に管理するためのプログラムが記録
された記録媒体において、 請求項1記載の部分集合設定手段、状態情報記憶手段お
よび状態情報更新手段として、コンピュータを動作させ
るためのプログラムが記録されていることを特徴とする
記録媒体。 21. Correspondence among a plurality of databases
Recorded by a program for managing the same data contents
In the recorded medium, the subset setting means and the status information storing means according to claim 1 are provided.
And operating the computer as a means of updating the status information.
A program for recording is recorded
recoding media.
データの内容を同一に管理するためのプログラムが記録
された記録媒体において、 請求項6記載の順序記憶手段、対応済順位記憶手段およ
び順序管理手段として、コンピュータを動作させるため
のプログラムが記録されていることを特徴とする記録媒
体。 22. Correspondence among a plurality of databases
Recorded by a program for managing the same data contents
The recorded recording medium, the order storage means, the corresponding order storage means, and the order storage means according to claim 6.
And to operate the computer as a sequence management means
A recording medium characterized in that the program of
body.
データの内容を同一に管理するためのプログラムが記録
された記録媒体において、 請求項13記載の対応付け手段および判定手段を含む同
期処理手段、並びに通信手段として、コンピュータを動
作させるためのプログラムが記録されていることを特徴
とする記録媒体。 23. Correspondence among a plurality of databases
Recorded by a program for managing the same data contents
The recorded medium includes the associating means and the determining means according to claim 13.
It operates a computer as a means for processing and communication.
Characteristic that the program for making it recorded
Recording medium.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP00703499A JP3501968B2 (en) | 1998-05-18 | 1999-01-13 | Database management device and recording medium on which the program is recorded |
| US09/311,302 US6493725B1 (en) | 1998-05-18 | 1999-05-14 | Database managing system |
| EP99109696A EP0959417A3 (en) | 1998-05-18 | 1999-05-17 | Database managing system |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10-135782 | 1998-05-18 | ||
| JP13578298 | 1998-05-18 | ||
| JP00703499A JP3501968B2 (en) | 1998-05-18 | 1999-01-13 | Database management device and recording medium on which the program is recorded |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000040025A JP2000040025A (en) | 2000-02-08 |
| JP3501968B2 true JP3501968B2 (en) | 2004-03-02 |
Family
ID=26341279
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP00703499A Expired - Fee Related JP3501968B2 (en) | 1998-05-18 | 1999-01-13 | Database management device and recording medium on which the program is recorded |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3501968B2 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3501943B2 (en) * | 1998-05-18 | 2004-03-02 | シャープ株式会社 | Database management device and recording medium on which the program is recorded |
| JP3501944B2 (en) * | 1998-05-18 | 2004-03-02 | シャープ株式会社 | Database management device and recording medium on which the program is recorded |
| JP3750504B2 (en) | 2000-08-09 | 2006-03-01 | セイコーエプソン株式会社 | Data update method and information processing apparatus |
| US7660833B2 (en) * | 2003-07-10 | 2010-02-09 | Microsoft Corporation | Granular control over the authority of replicated information via fencing and unfencing |
| JP5103807B2 (en) * | 2006-06-30 | 2012-12-19 | 富士通株式会社 | Control program, control method, information processing apparatus, and information processing system |
| JP7180564B2 (en) * | 2019-07-22 | 2022-11-30 | 株式会社デンソー | Fault detection system |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5603026A (en) * | 1994-12-07 | 1997-02-11 | Xerox Corporation | Application-specific conflict resolution for weakly consistent replicated databases |
| JPH08328931A (en) * | 1995-05-29 | 1996-12-13 | Nec Corp | Data processor |
| JPH09128280A (en) * | 1995-10-27 | 1997-05-16 | Toshiba Corp | Data management device and data management method |
| JPH09134304A (en) * | 1995-11-10 | 1997-05-20 | Nippon Telegr & Teleph Corp <Ntt> | Schedule synchronization method |
| JP3501943B2 (en) * | 1998-05-18 | 2004-03-02 | シャープ株式会社 | Database management device and recording medium on which the program is recorded |
| JP3501944B2 (en) * | 1998-05-18 | 2004-03-02 | シャープ株式会社 | Database management device and recording medium on which the program is recorded |
-
1999
- 1999-01-13 JP JP00703499A patent/JP3501968B2/en not_active Expired - Fee Related
Non-Patent Citations (3)
| Title |
|---|
| 中村 正弘,「どこでもオフィス」のソフトウェア環境が整う,日経エレクトロニクス,日本,日経BP社,1994年10月10日,第619号,p. 137 ―― 141 |
| 伊庭 四郎 外2名,Outlook98日本語版をはじめ必携11製品ワークグループ対応PIMソフト,Hello!PC,日本,ソフトバンク,1998年 5月 8日,第5巻, 第9号,p. 162 ―― 181 (特に178 ―― 181) |
| 長谷川 裕行,Windows95ではじめるパソコンLAN,日本,エーアイ出版,1996年 4月22日,第1版,p. 218 ―― 226 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000040025A (en) | 2000-02-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN101167069B (en) | System and method for peer-to-peer synchronization of files | |
| US8335836B2 (en) | System and method for generating a consistent user name-space on networked devices | |
| CN101207580B (en) | System and method for adding and deleting linkman synchronously by instant communication platform and business platform | |
| KR20120018178A (en) | Swarm-based synchronization of networked object stores | |
| JP2009535689A (en) | Datastore filtered replication | |
| US12199697B2 (en) | File transmission/reception device and control method of file transmission/reception device | |
| JP4225729B2 (en) | Information management device | |
| US20090182811A1 (en) | Data sharing system, data sharing method, information processing apparatus,and computer-readable storage medium | |
| JP3501968B2 (en) | Database management device and recording medium on which the program is recorded | |
| JP3756349B2 (en) | Database management apparatus and recording medium on which program is recorded | |
| JP5092234B2 (en) | Information processing apparatus, distributed synchronization information system, information synchronization method, and program | |
| JP3501944B2 (en) | Database management device and recording medium on which the program is recorded | |
| JP3501943B2 (en) | Database management device and recording medium on which the program is recorded | |
| JP4142866B2 (en) | Database synchronization apparatus and program | |
| US20080270832A1 (en) | Efficiently re-starting and recovering synchronization operations between a client and server | |
| JP2013196226A (en) | Data synchronizing method and server device | |
| CN120602476B (en) | Remote file rapid synchronization method and device | |
| JP2009265743A (en) | Web application management system, web application management method and program | |
| KR20010036488A (en) | Personal Information Management Method | |
| CN102483715A (en) | Data synchronization system and data synchronization method | |
| JP2009199324A (en) | Data synchronization system and method | |
| JPH06259363A (en) | System and method for processing execution |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20031202 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20031203 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071212 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081212 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091212 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091212 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101212 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101212 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111212 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121212 Year of fee payment: 9 |
|
| LAPS | Cancellation because of no payment of annual fees |