JPH10222435A - Data managing device - Google Patents

Data managing device

Info

Publication number
JPH10222435A
JPH10222435A JP9021102A JP2110297A JPH10222435A JP H10222435 A JPH10222435 A JP H10222435A JP 9021102 A JP9021102 A JP 9021102A JP 2110297 A JP2110297 A JP 2110297A JP H10222435 A JPH10222435 A JP H10222435A
Authority
JP
Japan
Prior art keywords
data
server
management device
date
local server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP9021102A
Other languages
Japanese (ja)
Inventor
Naoki Matsuo
直樹 松尾
Kazumasa Iwasaki
一正 岩崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Digital Vision Laboratories Corp
Original Assignee
Digital Vision Laboratories Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Digital Vision Laboratories Corp filed Critical Digital Vision Laboratories Corp
Priority to JP9021102A priority Critical patent/JPH10222435A/en
Publication of JPH10222435A publication Critical patent/JPH10222435A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the load of communication traffic, respective servers and network by decreasing the number of times to reload data concerning communication between servers connected on the network. SOLUTION: A possession date 24 of data 23 to be accessed on a local server 20 is compared with a final update date/time 14 of data 13 at a DB server 10 and only, when the data 13 are updated after the data 13 are possessed at the local server 20, the data 13 are to be received so that the double reception of the same data can be prevented and unwanted data reception can be prevented. Further, when receiving the updated data 13, only an update log 12 is received and the data 23 of local server 20 are updated so that the amount of data to be received can be remarkably decreased and the load of network can be reduced.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークコン
ピュータに係り、特に、データを一括管理するホストサ
ーバからデータをロードして各ローカルサーバでデータ
を使用するネットワーク上でのデータ管理方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network computer, and more particularly, to a data management method on a network in which data is loaded from a host server that collectively manages data and each local server uses the data.

【0002】[0002]

【従来の技術】従来、ネットワーク環境下で、複数のサ
ーバが独自にデータの管理を行い、データ管理に関して
連携を行わない環境というものがある。しかし、このま
までは、データの管理がバラバラで無秩序なものになっ
てしまう。このデータの管理のために、データ更新を行
うサーバを一つにしてしまい、このサーバをホストサー
バとし、他のサーバを、このホストサーバからデータを
コピーしてローカルに使用するローカルサーバとする。
このローカルサーバに接続されているデータの使用者、
クライアントは、ローカルサーバからデータを取得して
利用する。
2. Description of the Related Art Conventionally, there is an environment in which a plurality of servers independently manage data in a network environment and do not cooperate in data management. However, if this is done, data management will be fragmented and disorderly. In order to manage this data, the server that updates the data is reduced to one server, this server is used as a host server, and the other servers are local servers that copy data from this host server and use it locally.
Users of data connected to this local server,
The client acquires data from the local server and uses it.

【0003】ところで、クライアントが、ローカルサー
バにデータの使用を要求したとき、ホストサーバ上のデ
ータは更新されている可能性があり、ローカルサーバ上
のデータは、最新のデータであるか否かはわからないの
で、最新のデータが必要とされる場合には、以下のよう
な方法が採られていた。 クライアントからのデータアクセス時、ローカルサー
バは、当該データを持っているネットワーク上のホスト
サーバから無条件にデータを取得する。
When a client requests use of data from a local server, data on the host server may have been updated, and whether data on the local server is the latest data is determined. When the latest data is needed, the following method has been adopted. When accessing data from a client, the local server unconditionally acquires data from a host server on the network that has the data.

【0004】ホストサーバが予めデータに有効期限を
設定し、データの有効期限が過ぎていた場合に、ローカ
ルサーバがホストサーバに対し、データのリロードを要
求する。 ローカルサーバからのデータアクセス時に更新の有無
をホストサーバ側で判定し、更新のあった場合にはデー
タをローカルサーバへリロードする。
[0004] The host server sets an expiration date for the data in advance, and when the expiration date of the data has passed, the local server requests the host server to reload the data. When accessing data from the local server, the host server determines whether or not there is an update. If there is an update, the data is reloaded to the local server.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記方
法にあっては、以下のような問題点がある。 では、データの利用のたびに各ローカルサーバとクラ
イアントはデータのリロードが必要になることからトラ
フィックの増大によるレスポンスの悪化を招く。
However, the above method has the following problems. In such a case, each local server and client need to reload the data every time the data is used, so that the response is deteriorated due to an increase in traffic.

【0006】では、データの更新時期が予め分かって
いない場合には、有効ではない。では、更新が有れば
必ずデータ全体をリロードするため、サイズの大きなデ
ータを対象とする場合にはネットワークに負担がかか
る。そこで本発明は、レスポンスの悪化を防ぎ、ネット
ワークへの負荷を低減することを目的とする。
In this case, if the data update time is not known in advance, it is not effective. Then, if there is an update, the entire data is always reloaded, so that a load is imposed on the network when targeting large-sized data. Therefore, an object of the present invention is to prevent the response from deteriorating and reduce the load on the network.

【0007】[0007]

【課題を解決するための手段】請求項1に記載の発明
は、データ更新が行われる基本データと、該基本データ
の更新された部分を含む基本データの一部を記録した更
新ログと、外部装置とデータの送受信を行う通信手段
と、を備え、該通信手段が、前記基本データの送信要求
を受信すると、前記基本データの代わりに前記更新ログ
を送信することを特徴とするものである。
According to a first aspect of the present invention, there is provided an apparatus for updating basic data to be updated, an update log recording a part of the basic data including an updated portion of the basic data, and an external log. Communication means for transmitting and receiving data to and from the device, wherein the communication means, when receiving the basic data transmission request, transmits the update log instead of the basic data.

【0008】請求項1に記載の発明では、基本データの
代わりに更新ログを送信するので、送信データ量を小さ
く抑えることができる。請求項2に記載の発明は、請求
項1記載のデータ管理装置において、前記通信手段が、
前記更新ログを前回送信した送信日時よりも後に作成さ
れた更新ログを送信することを特徴とするものである。
According to the first aspect of the present invention, since the update log is transmitted instead of the basic data, the amount of transmitted data can be reduced. According to a second aspect of the present invention, in the data management device according to the first aspect, the communication unit includes:
An update log created after the transmission date and time when the update log was transmitted last time is transmitted.

【0009】請求項2に記載の発明では、送信日時より
も後に作成された更新ログだけを送信するので、すでに
送信済みの更新ログを二重に送信することがない。請求
項3に記載の発明は、請求項1記載のデータ管理装置に
おいて、前記更新ログを保存している期間を表す更新ロ
グ有効期限を有し、前記更新ログを前回送信した送信日
時が前記更新ログ有効期限よりも前のとき、前記通信手
段が、前記基本データを送信することを特徴とするもの
である。
According to the second aspect of the present invention, since only the update log created after the transmission date and time is transmitted, the already transmitted update log is not transmitted twice. According to a third aspect of the present invention, in the data management device according to the first aspect, the data management apparatus has an update log expiration date indicating a period during which the update log is stored, and a transmission date and time when the update log was transmitted last time is updated. Before the log expiration date, the communication means transmits the basic data.

【0010】請求項3に記載の発明では、送信日時が更
新ログ有効期限よりも前のとき、基本データを送信させ
るので、更新ログ有効期限よりも前の更新ログを使用す
ることがなくなり、古い更新ログを保存しておく必要が
ない。請求項4に記載の発明は、基本データの概要を表
示する表示手段と、外部装置とデータの送受信を行う通
信手段と、を備え、該通信手段が、前記基本データの内
容の受信要求を送信すると、前記基本データの内容を受
信することを特徴とするものである。
According to the third aspect of the present invention, when the transmission date and time is before the update log expiration date, the basic data is transmitted, so that the update log before the update log expiration date is not used, and the old log is not used. There is no need to keep the update log. According to a fourth aspect of the present invention, there is provided a display unit for displaying an outline of basic data, and a communication unit for transmitting and receiving data to and from an external device, wherein the communication unit transmits a request for receiving the contents of the basic data. Then, the content of the basic data is received.

【0011】請求項4に記載の発明では、表示された基
本データの概要を確認して基本データの内容を受信でき
るので、不要なデータ受信を防ぐことができる。請求項
5に記載の発明は、請求項4記載のデータ管理装置にお
いて、前記基本データの内容が前記データ管理装置内に
あるとき、該装置内にある基本データの内容を前記表示
手段に表示させることを特徴とするものである。
According to the fourth aspect of the present invention, since the outline of the displayed basic data can be confirmed and the contents of the basic data can be received, unnecessary data reception can be prevented. According to a fifth aspect of the present invention, in the data management device according to the fourth aspect, when the content of the basic data is in the data management device, the content of the basic data in the device is displayed on the display means. It is characterized by the following.

【0012】請求項5に記載の発明では、基本データの
内容が管理装置内にあるとき、データの送受信を行わな
いのでネットワークの負荷を低減できる。請求項6に記
載の発明は、請求項4記載のデータ管理装置において、
前記基本データの内容が前記データ管理装置内にあると
き、前記通信手段が、前記基本データの内容の受信要求
を送信すると、前記更新ログを受信することを特徴とす
るものである。
According to the fifth aspect of the present invention, when the contents of the basic data are in the management device, data transmission / reception is not performed, so that the load on the network can be reduced. According to a sixth aspect of the present invention, in the data management device according to the fourth aspect,
When the contents of the basic data are in the data management device, the communication means receives the update log when transmitting a request to receive the contents of the basic data.

【0013】請求項6に記載の発明では、基本データの
代わりに更新ログを送信するので、不要なデータの送信
をせずに、送信するデータ量を小さく抑えることができ
る。請求項7に記載の発明は、請求項5または6記載の
データ管理装置において、前記基本データの信頼性の基
準となる基準値を設け、前記基本データが該基準値を満
たしたとき、前記通信手段が前記受信要求を送信するこ
とを特徴とするものである。
According to the sixth aspect of the present invention, since the update log is transmitted instead of the basic data, the amount of data to be transmitted can be reduced without transmitting unnecessary data. According to a seventh aspect of the present invention, in the data management device according to the fifth or sixth aspect, a reference value serving as a reference for reliability of the basic data is provided, and when the basic data satisfies the reference value, the communication is performed. Means for transmitting the reception request.

【0014】請求項7に記載の発明では、信頼性の基準
値外のデータについては、データの送受信を行わないの
でネットワークの負荷を低減できる。請求項8に記載の
発明は、請求項5または6記載のデータ管理装置におい
て、前記基本データが有効期限を有し、前記基本データ
が該有効期限外のとき、前記通信手段が前記受信要求を
送信することを特徴とするものである。
According to the seventh aspect of the present invention, the transmission and reception of data is not performed for data outside the reliability reference value, so that the load on the network can be reduced. The invention according to claim 8 is the data management device according to claim 5 or 6, wherein the basic data has an expiration date, and when the basic data is out of the expiration date, the communication means transmits the reception request to the basic data. It is characterized by transmitting.

【0015】請求項8に記載の発明では、有効期限内の
データについては、データの送受信を行わないのでネッ
トワークの負荷を低減できる。
According to the eighth aspect of the present invention, data is not transmitted / received for data within the expiration date, so that the load on the network can be reduced.

【0016】[0016]

【発明の実施の形態】以下、本発明の好ましい実施の形
態について添付図面を参照しつつ説明する。本発明に係
るネットワーク上には、図1に示すように、DBサーバ
10とローカルサーバ20を備えており、両者はネット
ワークを介して通信可能である。DBサーバ10は、ネ
ットワーク上でのマスターデータベースであるサーバD
B11、および、このサーバDB11の更新ログ12を
有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below with reference to the accompanying drawings. As shown in FIG. 1, a DB server 10 and a local server 20 are provided on a network according to the present invention, and both can communicate with each other via the network. The DB server 10 is a server D that is a master database on the network.
B11 and an update log 12 of the server DB11.

【0017】ここで、更新ログ12とは、サーバーDB
11の更新の記録を示すものであり、サーバーDB11
が更新された日時、更新されたデータの場所および更新
後のデータの値を示すものである。また、更新ログ12
は、原理的には、更新日の他、更新されたビット単位の
情報を記憶しておけばよいが、実質的には、更新の行わ
れた物理的な単位(例えば、フロッピーディスクにおけ
るセクタ等)で記録される。
Here, the update log 12 is a server DB
11 shows a record of the update of the server DB11.
Indicates the date and time of the update, the location of the updated data, and the value of the updated data. Also, the update log 12
In principle, in addition to the update date, it is sufficient to store updated bit-unit information. However, in practice, the physical unit in which the update was performed (for example, a sector or the like on a floppy disk) ).

【0018】サーバDB11は、各々のデータ13、最
終更新日時14およびデータ13の有効期限15を有し
ている。この最終更新日時とは、データ13を最後に更
新した日時である更新ログ12は、ログの有効期限16
を有し、有効期限16よりも前のログを破棄可能として
いる。
The server DB 11 has data 13, last update date and time 14, and expiration date 15 of the data 13. The last update date and time is the date and time when the data 13 was last updated.
And the logs before the expiration date 16 can be discarded.

【0019】ローカルサーバ20は、サーバDB11と
同じ内容のデータベースであるローカルサーバDB2
1、および、このローカルサーバDB21の使用者がロ
ーカルサーバDB21にアクセスするためのユーザアプ
リケーションプログラム22を有している。ローカルサ
ーバDB21は、DBサーバ10のサーバDB11をコ
ピーしてくればよいが、ローカルサーバ20とDBサー
バ10はネットワークでつながっているので、ネットワ
ークを介してDBサーバ10からロードしてくるだけで
よい。また、ローカルサーバDB21は、各々のデータ
23、キー情報24およびデータ23の有効期限25を
有している。このキー情報24とは、データ23を最後
に取得した日時またはサーバDB11を最後に参照した
日時等である。
The local server 20 is a local server DB2 which is a database having the same contents as the server DB11.
1 and a user application program 22 for a user of the local server DB 21 to access the local server DB 21. The local server DB 21 may copy the server DB 11 of the DB server 10, but since the local server 20 and the DB server 10 are connected via a network, it is only necessary to load from the DB server 10 via the network. . Further, the local server DB 21 has data 23, key information 24, and an expiration date 25 of the data 23. The key information 24 is the date and time when the data 23 was last obtained or the date and time when the server DB 11 was last referenced.

【0020】また、ユーザアプリケーションプログラム
22は、プログラムごとにデータに対する最新性を設け
ている。このデータの最新性とは、データの信頼性、最
新のデータの値を求めるか否かによって、最新性の高低
を設定し、最新性が高いほど最新のデータの値を必要と
する。最新性の高低をここではプログラムごとの指定と
したが、DBサーバ10またはローカルサーバ20上の
データ13、データ23の個々に最新性を設定するなど
の方法もある。
The user application program 22 is provided with the latest data for each program. The latestness of the data is set based on the reliability of the data and whether or not to obtain the latest data value. The higher the latestness, the more the latest data value is required. Here, the degree of currency is specified for each program, but there is a method of setting the currency for each of the data 13 and data 23 on the DB server 10 or the local server 20.

【0021】つぎに、ユーザアプリケーションプログラ
ム22からのデータへのアクセス要求に対して行う処理
を、それぞれの場合について説明する。まず、ユーザア
プリケーションプログラム22からローカルサーバDB
21のデータ23にアクセス要求したときに、データ2
3の有効期限25の期限内であった場合について説明す
る。
Next, processing performed in response to a data access request from the user application program 22 will be described for each case. First, from the user application program 22 to the local server DB
When an access request is made to data 23 of data 21, data 2
The case where the expiration date 25 of the third is within the expiration date will be described.

【0022】この場合に、ユーザアプリケーションプロ
グラム22による、データ23の最新性への要求が低け
れば、ローカルサーバ20内のデータ23をユーザアプ
リケーションプログラム22に受け渡す。データ23の
最新性への要求が高い場合について、以下に説明する。
ユーザアプリケーションプログラム22から出されたデ
ータアクセス要求からローカルサーバ20は、DBサー
バ10へデータアクセス要求と一緒に当該データ23の
キー情報24(ここでは、データ23のDBサーバ10
からのデータ取得日時とする。)を送信する。DBサー
バ10は、当該データ13の最終更新日時14とローカ
ルサーバ20上のデータの取得日時24を比較する。
In this case, if the request for the latest data 23 by the user application program 22 is low, the data 23 in the local server 20 is transferred to the user application program 22. The case where the demand for the latestness of the data 23 is high will be described below.
From the data access request issued from the user application program 22, the local server 20 sends the key information 24 of the data 23 together with the data access request to the DB server 10 (here, the DB server 10 of the data 23).
Data acquisition date and time. ). The DB server 10 compares the last update date and time 14 of the data 13 with the acquisition date and time 24 of the data on the local server 20.

【0023】取得日時24が最終更新日時14以上のと
き、すなわち、DBサーバ10上のデータ13が最後に
更新された後にローカルサーバ20上にデータ13を取
得しているとき、DBサーバ10は、ローカルサーバ2
0にデータ23が有効であることを伝え、ローカルサー
バ20は、ユーザアプリケーションプログラム22にロ
ーカルサーバ20上のデータ23を渡す。
When the acquisition date / time 24 is equal to or greater than the last update date / time 14, that is, when the data 13 is acquired on the local server 20 after the data 13 on the DB server 10 is last updated, the DB server 10 Local server 2
0, the data 23 is valid, and the local server 20 passes the data 23 on the local server 20 to the user application program 22.

【0024】取得日時24の方が最終更新日時14より
も小さいとき、すなわち、ローカルサーバ20上にデー
タ13を取得後にDBサーバ10上のデータ13が更新
されているとき、DBサーバ10のログの有効期限16
とデータの取得日時24を比較する。データの取得日時
24が、ログの有効期限16内に有れば、DBサーバ1
0は更新ログ12をローカルサーバ20に受け渡し、ロ
ーカルサーバ20は、データ23を更新し、更新された
データ23をユーザアプリケーションプログラム22へ
渡す。
When the acquisition date and time 24 is smaller than the last update date and time 14, that is, when the data 13 on the DB server 10 is updated after the acquisition of the data 13 on the local server 20, the log of the DB server 10 Expiration date 16
And the data acquisition date and time 24 are compared. If the data acquisition date / time 24 is within the log expiration date 16, the DB server 1
0 transfers the update log 12 to the local server 20, and the local server 20 updates the data 23, and passes the updated data 23 to the user application program 22.

【0025】データの取得日時24が、ログの有効期限
16よりも古いときは、DBサーバ10は当該データ1
3をローカルサーバ20にすべてダウンロードする。ロ
ーカルサーバ20は、ダウンロードされたデータ13で
データ23を更新するとともに、ダウンロードされたデ
ータ13をユーザアプリケーションプログラム22へ渡
す。
When the data acquisition date / time 24 is older than the log expiration date 16, the DB server 10
3 are all downloaded to the local server 20. The local server 20 updates the data 23 with the downloaded data 13 and passes the downloaded data 13 to the user application program 22.

【0026】つぎに、ユーザアプリケーションプログラ
ム22からローカルサーバDB21のデータ23にアク
セス要求したときに、データ23の有効期限25の期限
外であった場合には、上記、データ23の最新性への要
求が高い場合と同様の処理を行う。また、有効期限が設
定されていない場合にも、上記、データ23の最新性へ
の要求が高い場合と同様の処理を行う。
Next, when the user application program 22 requests access to the data 23 of the local server DB 21 and the expiration date of the data 23 is out of the validity period 25, the request for the latestness of the data 23 is made. The same processing as in the case where is high is performed. In addition, even when the expiration date is not set, the same processing as that described above when the request for the latestness of the data 23 is high is performed.

【0027】図2〜図8は本発明に係るデータ管理方法
を具体的に示すための一実施例である。本実施例は、図
2に示すように、倉庫内の商品在庫管理を行っているD
Bサーバ30のサーバDB31をネットワークを介して
つながっている各A、B、C店舗のローカルサーバ40
のユーザが参照および各ローカルサーバ40内のローカ
ルサーバDB41を更新するデータ管理方法である。
FIGS. 2 to 8 show an embodiment for specifically showing a data management method according to the present invention. In the present embodiment, as shown in FIG.
Local server 40 of each of A, B, and C stores connecting server DB 31 of B server 30 via a network
Is a data management method in which a user refers to and updates the local server DB 41 in each local server 40.

【0028】図3に示すように、DBサーバ30は、サ
ーバDB31および更新ログ32を有している。サーバ
DB31は、データ33、最終更新日時34および有効
期限35を有している。更新ログ32は、ログの有効期
限36を有している。図4に示すように、ローカルサー
バ40は、ローカルサーバDB41およびユーザアプリ
ケーションプログラム42を有している。ローカルサー
バDB41は、データ43、データ取得日時44および
有効期限45を有している。ここで、データ取得日時4
4は、DBサーバ30からデータ33または更新ログ3
2を取得した日時とする。
As shown in FIG. 3, the DB server 30 has a server DB 31 and an update log 32. The server DB 31 has data 33, last update date and time 34, and expiration date 35. The update log 32 has a log expiration date 36. As shown in FIG. 4, the local server 40 has a local server DB 41 and a user application program 42. The local server DB 41 has data 43, data acquisition date and time 44, and expiration date 45. Here, data acquisition date and time 4
4 is the data 33 or the update log 3 from the DB server 30.
Let 2 be the date and time of acquisition.

【0029】まず、ローカルサーバ40は、DBサーバ
30のサーバDB31からデータ33をダウンロードし
てデータ43とする。つぎに、図5に示すように、商品
の数量:DBサーバ30のデータ33が更新されたとす
る。ここでは、説明を簡単にするために日付のみのデー
タとする。更新ログ32は、図6に示すように、各々デ
ータが更新されるたびに作られる。更新ログ32は、1
月7日にそれ以前のログを削除し、1月7日から新たに
作成し始めるとともにログの有効期限36を1月7日に
設定し直す。
First, the local server 40 downloads the data 33 from the server DB 31 of the DB server 30 to obtain data 43. Next, as shown in FIG. 5, it is assumed that the number of products: the data 33 of the DB server 30 has been updated. Here, for simplicity of explanation, it is assumed that the data is only date. The update log 32 is created each time data is updated, as shown in FIG. The update log 32 is 1
The logs before that date are deleted on the 7th of the month, and a new log is started to be created on the 7th of the month, and the expiration date 36 of the log is reset on the 7th of the month.

【0030】以下、最新のデータに至るまでの間にユー
ザアプリケーションプログラム42からローカルサーバ
DB41のデータ43にデータアクセスがあった場合に
ついて、図7、図8を参照してそれぞれ説明する。ま
ず、ローカルサーバDB41上に商品A,B,Cのデー
タ43がない状態で、1月2日にユーザアプリケーショ
ンプログラム42からローカルサーバDB41に対し
て、商品A,B,Cの数量の問い合わせがあった場合、
商品A,B,Cのデータ43はないので、ローカルサー
バ40はDBサーバ30にアクセスに行きサーバDB3
1から当該データ33の商品A数量10、商品B数量2
0、商品C数量30を受け取り、ローカルサーバDB4
1に商品A,B,Cのデータ43を書き込み、ユーザア
プリケーションプログラム42に上記データ33を受け
渡す。また、ローカルサーバ40は、データ取得日44
として、1月2日を記憶する。
Hereinafter, the case where the user application program 42 accesses the data 43 of the local server DB 41 until the latest data is reached will be described with reference to FIGS. 7 and 8. First, on January 2, the user application program 42 inquires the local server DB 41 about the quantities of the products A, B, and C without the data 43 of the products A, B, and C on the local server DB 41. If
Since there is no data 43 for the products A, B, and C, the local server 40 accesses the DB server 30 to access the server DB3.
1 to 10 of product A and 2 of product B in the data 33
0, the quantity 30 of the product C is received, and the local server DB4
1, the data 43 of the products A, B, and C are written, and the data 33 is transferred to the user application program 42. Further, the local server 40 stores the data acquisition date 44
January 2 is stored.

【0031】つぎに、1月3日にユーザアプリケーショ
ンプログラム42からデータ43に対して、商品A,
B,Cの数量の問い合わせがあった場合、ローカルサー
バ40はDBサーバ30へデータアクセス要求とともに
当該データの取得日44:1月2日を送信する。DBサ
ーバ30は当該データの最終更新日34:1月1日と比
較し、最終更新日34:1月1日が取得日44:1月2
日以前なので、データ33をローカルサーバ40に取得
後に更新が行われていないことがわかる。したがって、
ローカルサーバ40にデータ43が有効であることを伝
える。ローカルサーバ40は、ユーザアプリケーション
プログラム42にローカルサーバ40上のデータ43:
商品A数量10,商品B数量20,商品C数量30を渡
す。
Next, on January 3, the product A,
When there is an inquiry about the quantities of B and C, the local server 40 transmits the data acquisition date 44: January 2 to the DB server 30 together with the data access request. The DB server 30 compares the last update date 34: January 1 of the data with the last update date 34: January 1 and obtains the data 44: January 2
Since the date is before the date, it can be seen that the data 33 has not been updated after being acquired by the local server 40. Therefore,
Inform the local server 40 that the data 43 is valid. The local server 40 sends the user application program 42 data 43 on the local server 40:
The product A quantity 10, the product B quantity 20, and the product C quantity 30 are passed.

【0032】つぎに、1月4日にユーザアプリケーショ
ンプログラム42から最新性への要求をせずに商品A,
B,Cに対しての数量の問い合わせがあった場合、実際
にはDBサーバ30のデータ33は商品Aの数量が11
に変更されているが、最新の値は要求されていないので
ローカルサーバ40内のデータ43,商品A数量10,
商品B数量20,商品C数量30をユーザアプリケーシ
ョンプログラム42に渡す。したがって、ユーザアプリ
ケーションプログラム42に対する応答が早く、ネット
ワーク、DBサーバ30に負荷をかけることがない。
Next, on January 4, the product A, without requesting the latest from the user application program 42,
When the quantity is inquired to B and C, the data 33 of the DB server 30 is actually 11
However, since the latest value is not requested, the data 43 in the local server 40, the product A quantity 10,
The product B quantity 20 and the product C quantity 30 are passed to the user application program 42. Therefore, the response to the user application program 42 is quick and the network and the DB server 30 are not loaded.

【0033】つぎに、1月5日にユーザアプリケーショ
ンプログラム42からデータ43に対して、商品A,
B,Cの数量の問い合わせがあった場合、ローカルサー
バ40はDBサーバ30へデータアクセス要求とともに
当該データの取得日44:1月2日を送信する。DBサ
ーバ30は当該データの最終更新日34:1月4日と比
較し、最終更新日34:1月4日の方が取得日44:1
月2日よりも後なので、データ33をローカルサーバ4
0に取得後に更新がなされていることがわかる。したが
って、次の処理、更新ログ32の有効期限36:1月1
日との比較を行う。ログの有効期限36:1月1日は取
得日44:1月2日以前なので、取得日44:1月2日
以降から当日の1月5日までの更新ログ32、ここでは
1月4日の商品A数量11をローカルサーバ40に送信
する。ローカルサーバ40は、受信した更新ログ32で
データ43を更新し、商品A数量11,商品B数量2
0,商品C数量30とし、さらに、取得日44を1月5
日に更新するとともに、ユーザアプリケーションプログ
ラム42に更新されたデータ43を渡す。
Next, on January 5, the product A,
When there is an inquiry about the quantities of B and C, the local server 40 transmits the data acquisition date 44: January 2 to the DB server 30 together with the data access request. The DB server 30 compares the last update date 34: January 4 of the data with the last update date 34: January 4 and obtains the data 44: 1.
Since the date is after the month 2, the data 33 is transferred to the local server 4
It can be seen that the value has been updated to 0 after the acquisition. Therefore, the next processing, the expiration date 36 of the update log 32: January 1
Make a comparison with the day. Log expiration date 36: January 1 is acquisition date 44: before January 2, so acquisition date 44: update log 32 from January 2 onwards to January 5 of the day, here January 4 Is transmitted to the local server 40. The local server 40 updates the data 43 with the received update log 32, and outputs a product A quantity 11 and a product B quantity 2
0, the product C quantity is 30, and the acquisition date 44 is January 5
The date is updated and the updated data 43 is passed to the user application program 42.

【0034】つぎに、1月7日にユーザアプリケーショ
ンプログラム42からデータ43に対して、商品A,
B,Cの数量の問い合わせがあった場合、ローカルサー
バ40はDBサーバ30へデータアクセス要求とともに
当該データの取得日44:1月5日を送信する。DBサ
ーバ30は当該データの最終更新日34:1月7日と比
較し、最終更新日34:1月7日の方が取得日44:1
月5日よりも後なので、データ33をローカルサーバ4
0に取得後に更新がなされていることがわかる。したが
って、次の処理、更新ログ32の有効期限36:1月7
日との比較を行う。ログの有効期限36:1月7日は取
得日44:1月5日より後である。したがって、更新ロ
グ32での更新では不十分なので、DBサーバ30のデ
ータ33:商品A数量11,商品B数量22,商品C数
量29をローカルサーバ40に送信する。ローカルサー
バ40は、受信したデータ33でデータ43を上書き
し、さらに、取得日44を1月7日に更新するととも
に、ユーザアプリケーションプログラム42に受信した
データ33を渡す。
Next, on January 7, the product A,
When the number of B and C is inquired, the local server 40 transmits the data acquisition date 44: January 5 to the DB server 30 together with the data access request. The DB server 30 compares the last update date 34: January 7 with the last update date 34: January 7 of the data and obtains the data 44: 1
Since the date is after March 5, the data 33 is stored in the local server 4
It can be seen that the value has been updated to 0 after the acquisition. Therefore, the following processing, the expiration date 36 of the update log 32: January 7
Make a comparison with the day. The log expiration date 36: January 7 is later than the acquisition date 44: January 5. Therefore, the update in the update log 32 is not enough, so the data 33 of the DB server 30: the number of goods A 11, the number of goods B 22, and the number of goods C 29 are transmitted to the local server 40. The local server 40 overwrites the data 43 with the received data 33, updates the acquisition date 44 on January 7, and passes the received data 33 to the user application program 42.

【0035】以上により、DBサーバ30へのアクセス
要求に対し、データ43の時間的なデッドラインに引っ
かかったもののみを更新し直せば良いため、データ33
のリロード回数が減少し、通信トラフィックとDBサー
バ30、ローカルサーバ40およびクライアントの負荷
が軽減される。さらに、更新についてもデータ33の全
体をリロードしなくて良いため、ネットワークなどへの
負荷は更に低減される。
As described above, in response to the access request to the DB server 30, only the data 43 that has been caught in the time deadline needs to be updated again.
Is reduced, and the communication traffic and the load on the DB server 30, the local server 40, and the client are reduced. Furthermore, since the entire data 33 need not be reloaded for updating, the load on the network and the like is further reduced.

【0036】また、他の実施例として、インターネット
におけるホームページのアクセス方法がある。図9に示
すように、毎日の富士山の写真が掲載されている画面が
ある。ここで、今日の富士山だけみたいと思えば、本日
の富士山とタイトルが出ている項目をマウスでクリック
すればよい。これにより、今日の富士山の写真だけがダ
ウンロードされ、表示される。これを選択の余地がなく
すべて表示してしまうと、6日分の写真を全てダウンロ
ードしてこなければならず、送受信のデータ量が膨大に
なり、ネットワークに負荷がかかるうえ、表示されるま
でに長時間かかってしまう。また、データの概要が表示
されているので、ダウンロードしてくる前にどの項目が
必要なデータであるか確認することができ、余分なデー
タをダウンロードせずに済む。
As another embodiment, there is a method of accessing a home page on the Internet. As shown in FIG. 9, there is a screen on which photos of Mt. Fuji are posted every day. If you only want to see today's Mt. Fuji, you can click on the item with today's Mt. Fuji and the title. As a result, only photos of today's Mount Fuji are downloaded and displayed. If you have no choice but to display them all, you will have to download all the photos for 6 days, the amount of data sent and received will be enormous, the network will be overwhelmed, and before it is displayed It takes a long time. In addition, since an outline of the data is displayed, it is possible to confirm which item is necessary data before downloading, and it is not necessary to download extra data.

【0037】また、図10に示すように、株価の値動き
などにも適用することもでき、指定銘柄のうち現在必要
な銘柄についてだけを指定することにより、敏速に現在
の株価および値動きを知ることができる。
Also, as shown in FIG. 10, the present invention can be applied to the price movement of stock prices and the like. Can be.

【0038】[0038]

【発明の効果】請求項1記載の発明によれば、基本デー
タの送信要求を受信して、基本データの代わりに更新ロ
グを送信できるので、大量のデータを送信せずに、通信
先の外部装置内のデータを更新することができ、ネット
ワークの負荷を低減することができる。
According to the first aspect of the present invention, a transmission request for basic data can be received and an update log can be transmitted instead of the basic data. Data in the device can be updated, and the load on the network can be reduced.

【0039】請求項2記載の発明によれば、前回の送信
日時よりも後に作成された更新ログだけを送信するの
で、更新済みの更新ログを二重に送信することがなく、
ネットワークの負荷を低減しつつ、最新のデータに更新
することができる。請求項3記載の発明によれば、更新
ログが更新ログ有効期限を有し、送信日時が更新ログ有
効期限よりも前のときには、基本データを送信するの
で、更新ログ有効期限よりも前の更新ログを保存してお
く必要がなく、データ領域を有効に活用できる。
According to the second aspect of the invention, only the update log created after the previous transmission date and time is transmitted, so that the updated update log is not transmitted twice.
It is possible to update to the latest data while reducing the load on the network. According to the third aspect of the present invention, when the update log has an update log expiration date and the transmission date and time is before the update log expiration date, the basic data is transmitted. There is no need to save logs and the data area can be used effectively.

【0040】請求項4記載の発明によれば、基本データ
の概要が表示されたものからデータ受信要求を送信でき
るので、不必要なデータを受信することが防げ、ネット
ワークの負荷を低減することができる。請求項5記載の
発明によれば、装置内にデータを有しているときに、外
部との送受信を行わないので、無用なデータの送受信を
防ぎ、ネットワークの負荷を低減することができる。
According to the fourth aspect of the present invention, since a data reception request can be transmitted from the one on which the outline of the basic data is displayed, unnecessary data can be prevented from being received, and the load on the network can be reduced. it can. According to the fifth aspect of the present invention, when data is stored in the device, transmission / reception to / from the outside is not performed, so that unnecessary data transmission / reception can be prevented, and the load on the network can be reduced.

【0041】請求項6記載の発明によれば、装置内にデ
ータを有しているときに、基本データの代わりに更新ロ
グを受信できるので、大量のデータを送信せずに、装置
内のデータを更新することができ、ネットワークの負荷
を低減することができる。請求項7記載の発明によれ
ば、データの信頼性の基準値を設け、基準値を満たした
データについてのみ受信要求を送信するので、基準値外
のデータについては、データの送受信が行われないの
で、ネットワークの負荷を低減することができる。
According to the sixth aspect of the present invention, when data is stored in the device, the update log can be received instead of the basic data. Can be updated, and the load on the network can be reduced. According to the seventh aspect of the present invention, a reference value of data reliability is provided, and a reception request is transmitted only for data that satisfies the reference value. Therefore, data transmission / reception is not performed for data outside the reference value. Therefore, the load on the network can be reduced.

【0042】請求項8記載の発明によれば、データが有
効期限を有し、データが有効期限内にあるときには、デ
ータの送受信を行わないので、不要なデータの送受信を
防ぎ、ネットワークの負荷を低減することができる。
According to the invention of claim 8, when the data has an expiration date and the data is within the expiration date, no data transmission / reception is performed, so that unnecessary data transmission / reception is prevented and the load on the network is reduced. Can be reduced.

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

【図1】本発明に係るDBサーバとローカルサーバの関
係を示す図である。
FIG. 1 is a diagram showing a relationship between a DB server and a local server according to the present invention.

【図2】本発明に係るネットワーク上のDBサーバとロ
ーカルサーバの一実施例を示す図である。
FIG. 2 is a diagram showing one embodiment of a DB server and a local server on a network according to the present invention.

【図3】一実施例のDBサーバのサーバDBおよびデー
タを示す図である。
FIG. 3 is a diagram illustrating a server DB and data of a DB server according to an embodiment;

【図4】一実施例のローカルサーバのローカルサーバD
Bおよびデータを示す図である。
FIG. 4 shows a local server D of a local server according to one embodiment.
It is a figure which shows B and data.

【図5】一実施例における商品数量の変化の推移を示す
図である。
FIG. 5 is a diagram showing a transition of a change in the quantity of goods in one embodiment.

【図6】一実施例における商品数量の変化にともない作
成される更新ログを示す図である。
FIG. 6 is a diagram showing an update log created according to a change in the quantity of goods in one embodiment.

【図7】一実施例におけるユーザアプリケーションプロ
グラムからローカルサーバDBのデータにアクセスした
ときの処理経過を示す図である。
FIG. 7 is a diagram showing a processing progress when data of a local server DB is accessed from a user application program in one embodiment.

【図8】一実施例におけるユーザアプリケーションプロ
グラムからローカルサーバDBのデータにアクセスした
ときの処理経過を示す図である。
FIG. 8 is a diagram showing a processing progress when accessing data in a local server DB from a user application program in one embodiment.

【図9】本発明をインターネットに適用した一実施例を
示す図である。
FIG. 9 is a diagram showing an embodiment in which the present invention is applied to the Internet.

【図10】本発明をインターネットに適用した一実施例
を示す図である。
FIG. 10 is a diagram showing an embodiment in which the present invention is applied to the Internet.

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

10 DBサーバ 11 サーバDB 12 更新ログ 13 データ 14 最終更新日時 15 有効期限 16 ログの有効期限 20 ローカルサーバ 21 ローカルサーバDB 22 ユーザアプリケーションプログラム 23 データ 24 キー情報 25 有効期限 30 DBサーバ 31 サーバDB 32 更新ログ 33 データ 34 最終更新日時 35 有効期限 36 ログの有効期限 40 ローカルサーバ 41 ローカルサーバDB 42 ユーザアプリケーションプログラム 43 データ 44 データ取得日時 45 有効期限 10 DB Server 11 Server DB 12 Update Log 13 Data 14 Last Update Date 15 Expiration Date 16 Log Expiration Date 20 Local Server 21 Local Server DB 22 User Application Program 23 Data 24 Key Information 25 Expiration Date 30 DB Server 31 Server DB 32 Update Log 33 Data 34 Last update date and time 35 Expiration date 36 Log expiration date 40 Local server 41 Local server DB 42 User application program 43 Data 44 Data acquisition date and time 45 Expiration date

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】データ更新が行われる基本データと、 該基本データの更新された部分を含む基本データの一部
を記録した更新ログと、 外部装置とデータの送受信を行う通信手段と、を備え、 該通信手段が、前記基本データの送信要求を受信する
と、前記基本データの代わりに前記更新ログを送信する
ことを特徴とするデータ管理装置。
1. An apparatus comprising: basic data for which data is updated; an update log recording a part of the basic data including an updated part of the basic data; and communication means for transmitting and receiving data to and from an external device. A data management device for transmitting the update log in place of the basic data when the communication unit receives the basic data transmission request.
【請求項2】請求項1記載のデータ管理装置において、 前記通信手段が、前記更新ログを前回送信した送信日時
よりも後に作成された更新ログを送信することを特徴と
するデータ管理装置。
2. The data management device according to claim 1, wherein said communication means transmits an update log created after a transmission date and time when said update log was previously transmitted.
【請求項3】請求項1記載のデータ管理装置において、 前記更新ログを保存している期間を表す更新ログ有効期
限を有し、 前記更新ログを前回送信した送信日時が前記更新ログ有
効期限よりも前のとき、前記通信手段が、前記基本デー
タを送信することを特徴とするデータ管理装置。
3. The data management device according to claim 1, further comprising an update log expiration date indicating a period during which the update log is stored, wherein the transmission date and time at which the update log was transmitted last time is greater than the update log expiration date. The data management apparatus according to claim 1, wherein the communication unit transmits the basic data.
【請求項4】基本データの概要を表示する表示手段と、 外部装置とデータの送受信を行う通信手段と、を備え、 該通信手段が、前記基本データの内容の受信要求を送信
すると、前記基本データの内容を受信することを特徴と
するデータ管理装置。
And a communication means for transmitting / receiving data to / from an external device, wherein the communication means transmits a request for receiving the contents of the basic data. A data management device for receiving data contents.
【請求項5】請求項4記載のデータ管理装置において、 前記基本データの内容が前記データ管理装置内にあると
き、該装置内にある基本データの内容を前記表示手段に
表示させることを特徴とするデータ管理装置。
5. The data management device according to claim 4, wherein when the content of the basic data is in the data management device, the content of the basic data in the device is displayed on the display means. Data management device.
【請求項6】請求項4記載のデータ管理装置において、 前記基本データの内容が前記データ管理装置内にあると
き、前記通信手段が、前記基本データの内容の受信要求
を送信すると、前記更新ログを受信することを特徴とす
るデータ管理装置。
6. The data management device according to claim 4, wherein when the content of the basic data is in the data management device, the communication unit transmits a request to receive the content of the basic data, A data management device for receiving the data.
【請求項7】請求項5または6記載のデータ管理装置に
おいて、 前記基本データの信頼性の基準となる基準値を設け、 前記基本データが該基準値を満たしたとき、前記通信手
段が前記受信要求を送信することを特徴とするデータ管
理装置。
7. The data management device according to claim 5, wherein a reference value serving as a reference of reliability of the basic data is provided, and when the basic data satisfies the reference value, the communication unit performs the reception. A data management device for transmitting a request.
【請求項8】請求項5または6記載のデータ管理装置に
おいて、 前記基本データが有効期限を有し、 前記基本データが該有効期限外のとき、前記通信手段が
前記受信要求を送信することを特徴とするデータ管理装
置。
8. The data management device according to claim 5, wherein said basic data has an expiration date, and said communication means transmits said reception request when said basic data is outside said expiration date. Characteristic data management device.
JP9021102A 1997-02-04 1997-02-04 Data managing device Pending JPH10222435A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9021102A JPH10222435A (en) 1997-02-04 1997-02-04 Data managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9021102A JPH10222435A (en) 1997-02-04 1997-02-04 Data managing device

Publications (1)

Publication Number Publication Date
JPH10222435A true JPH10222435A (en) 1998-08-21

Family

ID=12045519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9021102A Pending JPH10222435A (en) 1997-02-04 1997-02-04 Data managing device

Country Status (1)

Country Link
JP (1) JPH10222435A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06266599A (en) * 1993-03-11 1994-09-22 Hitachi Ltd Data base update information transfer system
JPH076073A (en) * 1993-04-19 1995-01-10 Nec Corp Automatic delivery system among host terminal devices
JPH0784849A (en) * 1993-06-26 1995-03-31 Just Syst Corp Data access control method
JPH08153054A (en) * 1994-11-28 1996-06-11 Mitsubishi Electric Corp File transfer system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06266599A (en) * 1993-03-11 1994-09-22 Hitachi Ltd Data base update information transfer system
JPH076073A (en) * 1993-04-19 1995-01-10 Nec Corp Automatic delivery system among host terminal devices
JPH0784849A (en) * 1993-06-26 1995-03-31 Just Syst Corp Data access control method
JPH08153054A (en) * 1994-11-28 1996-06-11 Mitsubishi Electric Corp File transfer system

Similar Documents

Publication Publication Date Title
EP1546924B1 (en) Method, system, and program for maintaining data in distributed caches
US6343316B1 (en) Cooperative work support system
US6173445B1 (en) Dynamic splash screen
AU714336B2 (en) Web serving system with primary and secondary servers
KR101130367B1 (en) System and method for a software distribution service
US5768528A (en) Client-server system for delivery of online information
EP1359518A2 (en) Pre-loading content to caches for information appliances
USRE44208E1 (en) System and method for providing information, and recording medium
US20060242327A1 (en) System and Method for Data Synchronization
US20010052003A1 (en) System and method for web page acquisition
US20040220924A1 (en) System and method for updating a cache
US20040203624A1 (en) Technique for sharing of files with minimal increase of storage space usage
US6405201B1 (en) Method and apparatus for reducing network traffic for remote file append operations
JP2011076487A (en) Computer and database management program
EP1239388A1 (en) Event-driven information display system and event-driven information display method
CN1234086C (en) System and method for high speed buffer storage file information
JP3377880B2 (en) Automatic information acquisition apparatus and method
US20030126088A1 (en) Computer program storage medium, client computer, server, content distributing system and content distributing method
US7222184B2 (en) Method of downloading web content to a network kiosk in advance
KR20030038540A (en) Advertisement distribution system
US7222344B2 (en) Method and apparatus for scheduling invalidation tests for HTTP sessions
JPH10222435A (en) Data managing device
WO2000058809A1 (en) Rental ware system
JP3296570B2 (en) File transfer method
JP2009176085A (en) Content viewing apparats and content viewing program