JP2008299450A - Database system and data management method - Google Patents
Database system and data management method Download PDFInfo
- Publication number
- JP2008299450A JP2008299450A JP2007142659A JP2007142659A JP2008299450A JP 2008299450 A JP2008299450 A JP 2008299450A JP 2007142659 A JP2007142659 A JP 2007142659A JP 2007142659 A JP2007142659 A JP 2007142659A JP 2008299450 A JP2008299450 A JP 2008299450A
- Authority
- JP
- Japan
- Prior art keywords
- data
- data server
- servers
- client terminal
- 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
Links
Images
Abstract
Description
本発明は、データベースシステム及びデータ管理方法に係り、特に、複数のデータサーバとこれらに共通にネットワーク接続されたクライアント端末を用いたデータベースシステム及びデータ管理方法に関する。 The present invention relates to a database system and a data management method, and more particularly, to a database system and a data management method using a plurality of data servers and client terminals commonly connected to these data servers.
データサーバ及びクライアント端末間を通信ネットワークにより相互に接続し、特定のテーマに沿ったデータをデータサーバに構造的に蓄積管理してクライアント端末からの検索や抽出等の再利用を容易にしたデータベースシステムが広く用いられるようになった。従来より、この種のシステムにおいては1台のデータサーバで全体のデータを蓄積管理しながら、複数台のクライアント端末によりデータの登録や検索を行なうように構成されることが多い。 A database system in which a data server and a client terminal are connected to each other by a communication network, and data according to a specific theme is structurally stored and managed in the data server to facilitate the reuse and retrieval from the client terminal. Became widely used. Conventionally, this type of system is often configured to register and search data by a plurality of client terminals while storing and managing the entire data with one data server.
一方、複数台のデータサーバを使用する場合、例えば2台のデータサーバを用いて可用性を高める場合等では、1台はマスター用、また他の1台はバックアップ用とし、マスター用のデータサーバが使用できなくなった場合には、バックアップ用のサーバはその機能を引き継いで動作できるように、マスター用のデータサーバからすべてのデータをコピーするなどして、両データサーバ間のデータ整合が絶え間なく行なわれる。このため、データサーバ間の接続を含む通信ネットワーク全体も、瞬時の伝送負荷に耐える十分な容量を確保する必要がある。 On the other hand, when using a plurality of data servers, for example, when using two data servers to increase availability, one is for the master and the other is for backup, and the master data server is If it becomes unusable, the backup server can continuously take over its functions, and all data is copied from the master data server, for example. It is. For this reason, the entire communication network including the connection between the data servers needs to secure a sufficient capacity to withstand the instantaneous transmission load.
また、データサーバの処理負荷や通信ネットワーク内での特にデータサーバ周辺へのトラフィックの集中等を分散させるために、複数台のデータサーバを使用する場合もある。この場合には、例えばデータサーバ数やクライアント端末数の増大等に伴ってシステム全体が大規模化するにつれ、処理負荷の観点からすべてのデータサーバの内容を同一に整合することは難しくなり、不整合を生じる可能性も高くなる。このため、複数台のデータサーバにデータを分散してそれぞれに異なるデータを管理する手法も採用される。 In some cases, a plurality of data servers are used in order to distribute the processing load of the data server and the concentration of traffic especially around the data server in the communication network. In this case, for example, as the entire system becomes larger with an increase in the number of data servers and client terminals, it becomes difficult to match the contents of all the data servers from the viewpoint of processing load. There is also a high probability of matching. For this reason, a method of distributing data to a plurality of data servers and managing different data for each is also adopted.
例えば、インターネット上でドメイン名とIPアドレスとの対応付けを管理しているDNS(Domain Name System)においては、例えばkaisha.co.jpの様なドメイン名に対して、ルートを管理するサーバ、jpを管理するサーバ、co.jpを管理するサーバ、及びkaisha.co.jpを管理するサーバといった、階層化されたサーバ構成の中にデータを分散している。そして、ドメイン名からIPアドレスを得るべくDNSを検索する際は、検索キーとしてドメイン名(例えばkaisha.co.jp)を指定すれば、データが複数台のサーバに分散していても、対象データを蓄積管理しているサーバを特定することができる。 For example, in the DNS (Domain Name System) that manages the association between domain names and IP addresses on the Internet, for example, kaisha. co. For a domain name such as jp, a server that manages the route, a server that manages jp, co. jp managing server, and kaisha. co. Data is distributed in a hierarchical server configuration such as a server that manages jp. When searching for a DNS to obtain an IP address from a domain name, if the domain name (for example, kaisha.co.jp) is specified as a search key, the target data can be obtained even if the data is distributed to a plurality of servers. Can be identified.
なお、複数台のデータサーバ間におけるデータの整合性の維持については、例えば、特許文献1に述べられている。
ところで、データサーバ内にデータベース化されて蓄積管理されるデータの1件分は、例えばデータレコードと呼ばれ、一般には複数のフィールドから構成される。フィールドはそれぞれに特定の属性を有し、その属性に応じて種々のフィールド値を持つ。例えば、作業員の活動位置情報を管理する事例では、1件のデータレコードを一人の作業員に対応させ、作業員名、所属組織、活動地域(都道府県名)、詳細情報等のフィールドにより構成される。そしてデータベースを検索する際には、検索条件としてこれらフィールドを検索キーにしてそのフィールド値を指定し、検索を実行する。このときに1台のデータサーバ、あるいは整合のとれた複数台のデータサーバによりデータが蓄積管理されていれば、既定の1台のデータサーバを対象に検索を実行すればよい。 By the way, one piece of data stored and managed in a database in the data server is called, for example, a data record and is generally composed of a plurality of fields. Each field has a specific attribute, and has various field values depending on the attribute. For example, in the case of managing the activity position information of a worker, one data record corresponds to one worker and consists of fields such as worker name, organization, activity area (prefecture name), and detailed information. Is done. When searching the database, these fields are used as search keys as search conditions, the field values are designated, and the search is executed. At this time, if the data is stored and managed by one data server or a plurality of matched data servers, the search may be executed for one predetermined data server.
しかしながら、複数台のデータサーバに分散させてデータ蓄積管理する場合には、次のような問題を生じることがある。すなわち、上述したDNSのように検索キーとしてのフィールドが単一(ドメイン名)であれば、対象のデータを蓄積管理しているデータサーバを特定できるが、検索キーとなり得るフィールドを複数有する場合には、どのデータがどのデータサーバに蓄積されているかを把握するのが困難になる場合があった。 However, the following problems may occur when data is stored and managed in a plurality of data servers. That is, if the field as a search key is a single (domain name) as in the above-described DNS, the data server that stores and manages the target data can be specified, but there are a plurality of fields that can serve as the search key. In some cases, it is difficult to know which data is stored in which data server.
例えば、上記事例では、作業員の活動位置情報を、活動地域フィールドをキーにしてそのフィールド値である各都道府県毎に対応させて分散配置したデータサーバで蓄積管理する場合、東京都内に位置する作業員の詳細情報を検索するには、東京都のデータを管理するデータサーバを対象に検索を実行すればよい。これに対して、特定の所属組織の作業員の詳細情報を検索するには、その組織の作業員が特定の都道府県内のみで活動しているとは限らないので、検索対象のデータサーバを特定することができない。確実な検索のためには、すべてのデータサーバを対象に検索する必要があり、通信ネットワークに対する伝送負荷も増大させることになる。 For example, in the above example, when the activity location information of workers is stored and managed by a data server distributed and arranged corresponding to each prefecture, which is the field value, using the activity region field as a key, it is located in Tokyo In order to search for the detailed information of the worker, the search should be executed for the data server that manages the data in Tokyo. On the other hand, in order to search for detailed information on workers in a specific organization, workers in that organization are not necessarily active only in specific prefectures. It cannot be specified. In order to perform a reliable search, it is necessary to search all data servers, and the transmission load on the communication network also increases.
本発明は上述の事情を考慮してなされたものであり、複数台のデータサーバによりデータのバックアップを維持しつつ、これらデータサーバ間でのデータ整合を不要として通信ネットワークに対する伝送負荷を軽減したデータベースシステム及びデータ管理方法を提供することを目的とする。 The present invention has been made in consideration of the above-described circumstances, and maintains a data backup by a plurality of data servers, and does not require data matching between these data servers, thereby reducing a transmission load on a communication network. It is an object to provide a system and a data management method.
上記目的を達成するために、本発明のデータベースシステムは、複数のフィールドを有するデータレコードをデータサーバ内にデータベース化して管理するデータベースシステムであって、前記データレコードの少なくとも2以上のフィールドに対してそのフィールド値のそれぞれに対応させて設けた複数台のデータサーバと、これらデータサーバに共通に通信路を介してネットワーク接続され、前記データレコードを前記データサーバに登録するとともに登録されたデータレコードを検索するクライアント端末とを備え、前記データレコードを登録する際は、前記クライアント端末は前記複数台のデータサーバの中で登録するデータレコードのフィールド値が対応しているすべてのデータサーバにこのデータレコードを登録し、前記データレコードを検索する際は、前記クライアント端末は検索条件に指定されたフィールド値に対応する前記複数台のデータサーバの中から所定の優先順位に基づき選択したデータサーバを対象に検索を実行することを特徴とする。 In order to achieve the above object, a database system according to the present invention is a database system that manages a data record having a plurality of fields in a data server by managing the data record in at least two or more fields of the data record. A plurality of data servers provided corresponding to each of the field values, and a network connection to these data servers via a common communication path, registering the data records in the data server and registering the registered data records A client terminal for searching, and when registering the data record, the client terminal sends the data record to all data servers corresponding to field values of the data record to be registered among the plurality of data servers. And register the data When searching for a code, the client terminal performs a search for a data server selected based on a predetermined priority from the plurality of data servers corresponding to a field value specified in a search condition. Features.
また、本発明のデータ管理方法は、複数のフィールドを有するデータレコードを、このデータレコードの少なくとも2以上のフィールドに対してそのフィールド値のそれぞれに対応させて設けた複数台のデータサーバと、これらデータサーバに共通に通信路を介してネットワーク接続され、前記データレコードを前記データサーバに登録するとともに登録されたデータレコードを検索するクライアント端末とを備えたデータベースシステムにおけるデータ管理方法であって、前記データサーバに前記データレコードを登録する際は、前記クライアント端末は前記複数台のデータサーバの中で登録するデータレコードのフィールド値が対応しているすべてのデータサーバにこのデータレコードを登録し、前記データサーバに登録された前記データレコードを検索する際は、検索条件に指定されたフィールド値に対応する前記複数台のデータサーバの中から所定の優先順位に基づき選択したデータサーバを対象に検索を実行することを特徴とする。 Further, the data management method of the present invention includes a plurality of data servers in which data records having a plurality of fields are provided corresponding to each of the field values for at least two or more fields of the data records, and A data management method in a database system, which is connected to a network via a communication path in common with a data server and includes a client terminal that registers the data record in the data server and retrieves the registered data record, When registering the data record in the data server, the client terminal registers the data record in all the data servers corresponding to the field values of the data record to be registered in the plurality of data servers, The data registered in the data server When searching for records, and executes a search target selected data server based on a predetermined priority from among the plurality data server corresponding to the field value specified in the search criteria.
本発明によれば、複数のデータサーバによりデータのバックアップを維持しつつ、これらデータサーバ間でデータの整合を不要とすることができるとともに、通信ネットワークに対する伝送負荷を軽減することのできるデータベースシステム及びデータ管理方法を得ることができる。 According to the present invention, a database system capable of maintaining data backup by a plurality of data servers, eliminating the need for data matching between the data servers, and reducing the transmission load on the communication network, and A data management method can be obtained.
以下に、本発明に係るデータベースシステム及びデータ管理方法を実施するための最良の形態について、図1乃至図7を参照して説明する。 The best mode for carrying out the database system and the data management method according to the present invention will be described below with reference to FIGS.
図1は、本発明に係るデータベースシステムの一実施例を示す構成図である。また図2は、この図1に例示したデータベースシステムで取扱うデータの構成の一例を示す図である。まず、図2を参照して、データについて説明する。図2の事例では、1件分のデータに相当するひとつのデータレコードは、フィールド1〜フィールド5の5つのフィールドを有している。各フィールドは情報の種類を表し、例えばこの事例では、それぞれ作業員名、所属組織、活動地域、車種、及び詳細情報に対応している。そして、それぞれのフィールドはその属性に対応したフィールド値をとり得る。例えば、フィールド2の所属組織はAまたはB、フィールド3の活動地域はTK、KN、CBのいずれか1つ、フィールド4の車種はTまたはNといったフィールド値を有している。
FIG. 1 is a block diagram showing an embodiment of a database system according to the present invention. FIG. 2 is a diagram showing an example of the configuration of data handled by the database system illustrated in FIG. First, data will be described with reference to FIG. In the case of FIG. 2, one data record corresponding to one data has five fields,
図1は、一例としてこの図2に例示したフィールド2、フィールド3、及びフィールド4の3つのフィールドに対して、そのフィールド値のそれぞれに対応させてデータサーバを設けた場合の構成を示す構成図である。この図1に例示したデータベースシステムは、フィールド2データサーバ群10、フィールド3データサーバ群20、フィールド4データサーバ群30、n台のクライアント端末41〜4n、及びこれらの間を相互に接続する通信ネットワーク50から構成されている。
FIG. 1 is a configuration diagram showing a configuration when a data server is provided corresponding to each of the field values for the three fields,
フィールド2データサーバ群10は、図2に例示したデータのフィールド2のフィールド値に対応させて設けられたデータサーバ群であり、Aデータサーバ11、及びBデータサーバ12から構成されている。Aデータサーバ11、及びBデータサーバ12は、後述するクライアント端末41〜4nから通信ネットワーク50を経由して送られてくる、フィールド2のフィールド値がそれぞれのデータサーバに対応しているデータレコードをデータベース化し記憶・管理する。すなわち、図2の事例では、Aデータサーバ11は所属組織がAであるデータレコードを記憶・管理する。また、Bデータサーバ12は所属組織がBであるデータレコードを記憶・管理する。
The
同様に、フィールド3データサーバ群20は、フィールド3のフィールド値に対応させて設けられたデータサーバ群であり、TKデータサーバ21、KNデータサーバ22、及びCBデータサーバ23から構成されている。TKデータサーバ21は、フィールド3、すなわち活動地域がTKであるデータレコードを、KNデータサーバ22は、活動地域がKNであるデータレコードを、また、CBデータサーバ23は、活動地域がCBであるデータレコードをそれぞれデータベース化して記憶・管理する。フィールド4データサーバ群30も、フィールド4のフィールド値に対応させて設けられたデータサーバ群であり、Tデータサーバ31、及びNデータサーバ32から構成されている。Tデータサーバ31は、フィールド4、すなわち車種がTであるデータレコードを、また、Nデータサーバ32は、車種がNであるデータレコードをそれぞれデータベース化して記憶・管理する。
Similarly, the
n台のクライアント端末41〜4nは、上記したデータサーバ群及びデータサーバに通信ネットワーク50を介して接続され、図2に例示したデータレコードを、それぞれにそのフィールド値に基づき対応するデータサーバに送出して登録を要求するとともに、検索条件に基づき所定のデータサーバにデータレコードの検索要求を送出しその結果を受けとる。通信ネットワーク50は、上述したこれらデータサーバ及びクライアント端末間を接続する通信路であり、例えば、有線LANや無線LANにより構成される。
The
次に、前出の図1及び図2、ならびに図3乃至図7の構成図及び説明図を参照して、上述のように構成された本実施例のデータベースシステムの動作について説明する。なお、はじめに説明を簡単化するため、図3に例示したように、2つのフィールド、すなわち、フィールド2の所属組織、及びフィールド3の活動地域に対して、そのフィールド値のそれぞれに対応させてデータサーバを設け、またクライアント端末は4台としたモデルについて説明する。また、図4は、この図3の事例でデータレコードの登録及び検索時の情報の流れを説明するための説明図である。
Next, the operation of the database system of the present embodiment configured as described above will be described with reference to the configuration diagrams and the explanatory diagrams of FIGS. 1 and 2 and FIGS. In order to simplify the description, as illustrated in FIG. 3, data corresponding to each of the field values for two fields, that is, the organization to which
まず、クライアント端末41は、所属組織Aに所属する作業員1により操作されるものとする。このクライアント端末41が活動地域TK内で活動中に、図2のデータ#1に例示した1つのデータレコードを登録する場合、所属組織がAであるデータレコードを記憶・管理するAデータサーバ11、及び活動地域がTKであるデータレコードを記憶・管理するTKデータサーバ21の両方にこのデータレコードを送出する。この時に、送出先のデータサーバを個別に識別するためのアドレス情報については、例えば、図5に示すように、あらかじめ各クライアント端末内に共通に設けられた、各フィールド値とそれに対応するデータサーバのアドレス情報のテーブルを参照することにより把握する。そして、それぞれのデータサーバ11及び21は、このデータレコードを受けとって記憶・管理する。(図4のS401及びS402)。
First, it is assumed that the
また、クライアント端末42は、所属組織Bに所属する作業員2により操作されるものとし、このクライアント端末42が活動地域KN内で活動中に図2のデータ#2に例示したデータレコードを登録する場合は、その送出先は、所属組織がBであるデータレコードを記憶管理するBデータサーバ12、及び活動地域がKNであるデータレコードを記憶・管理するKNデータサーバ22の両方となる。そして、このデータレコードはこれら2つのデータサーバ12及び22で記憶・管理される(図4のS403及びS404)。
Further, the
このように、クライアント端末からのデータレコードを、2台のデータサーバ、すなわち、そのフィールド値に対応して設けられた、2つのデータサーバ群10及び20内のそれぞれ該当するデータサーバに登録することによって、データレコードのバックアップを維持しつつ、各データサーバ間でのデータ整合を不要とすることができる。
As described above, the data record from the client terminal is registered in the two data servers, that is, in the corresponding data servers in the two
一方、検索時の動作は次のようになる。検索条件の検索キーとしては、データサーバ群を設けた2つのフィールド、すなわち所属組織と活動地域のどちらか一方を指定できるものとすると、例えばクライアント端末43から、所属組織Aに所属する作業員3が、所属組織が同一のAであるデータレコードを検索する場合、クライアント端末43は、図5に例示したデータサーバのアドレス情報のテーブルにより、所属組織がAであるデータサーバはAデータサーバ11であることを把握しており、このデータサーバ11を対象に検索を行なって所定の検索結果を得る(図4のS405)。
On the other hand, the search operation is as follows. As the search key of the search condition, if one of the two fields provided with the data server group, that is, either the affiliated organization or the active region can be designated, for example, the
同様に、作業員4がクライアント端末44から活動地域がKNであるデータレコードを検索する場合にも、クライアント端末44は、自端末内にあるデータサーバのアドレス情報のテーブルに基づき、活動地域がKNであるKNデータサーバ22に対して検索を実行することにより、例えば図2のデータ#2のデータレコードが抽出され、所属組織Bの作業員2についての詳細情報を確認することができる(図4のS406)。このように、データレコードを複数のデータサーバに分散し記憶・管理しているので、通信トラフィックも特定のデータサーバに集中せずに分散させることができ、通信ネットワークに対する伝送負荷を軽減することができる。
Similarly, when the
以上は、2つのフィールドのフィールド値に対応させてデータサーバを設けた事例についてであるが、次に、図1のように3つのフィールドのフィールド値に対応させてデータサーバを設けた事例について説明する。なお、クライアント端末の台数は、図3の事例と同様にクライアント端末41〜44の4台とする。図6は、この事例でデータレコードの登録及び検索時の情報の流れを説明するための説明図である。
The above is the case where the data server is provided corresponding to the field values of the two fields. Next, the case where the data server is provided corresponding to the field values of the three fields as shown in FIG. 1 will be described. To do. Note that the number of client terminals is four
まず、例えばクライアント端末41は、所属組織Aに所属する作業員1により操作されるものとする。このクライアント端末41が活動地域TK内で車種Tを使用して活動中に、その詳細情報を含む、図2中のデータ#1に例示したデータレコードを登録する場合、クライアント端末41からは、所属組織がAであるデータレコードを記憶・管理するAデータサーバ11、活動地域がTKであるデータレコードを記憶・管理するTKデータサーバ21、及び車種がTであるデータレコードを記憶・管理するTデータサーバ31の3つのデータサーバに対して、図5に例示したようなデータサーバのアドレス情報のテーブルに基づきそれぞれのデータサーバのアドレス情報を得ながら、このデータレコードを送出する。そして、それぞれのデータサーバ11、21、及び31は、このデータレコードを受けとって記憶・管理する(図6のS601〜S603)。
First, for example, the
また、クライアント端末42から図2中のデータ#2に例示したデータレコードを登録する場合には、このデータレコードの送出先は、所属組織がBであるデータレコードを記憶・管理するBデータサーバ12、活動地域がKNであるデータレコードを記憶・管理するKNデータサーバ22、及び車種がNであるデータレコードを記憶・管理するNデータサーバ32の3つとなる。そして、このデータレコードは、これら3つのデータサーバ12、22、32でそれぞれに記憶・管理される(S604〜S606)。
2 is registered from the
一方、検索時には、ひとつのデータレコードが上記したように3つのデータサーバで記憶・管理されることにより、これらの中から検索対象のデータサーバをひとつ選定した上で検索を進める。この選定にあたっては、本実施例においては、それぞれのクライアント端末41〜44内に、例えば図7に示したように、データサーバを設けた3つのフィールドの中で検索キーとして用いられるフィールドに対して、あらかじめデータサーバ選定の優先順位を設定した優先順位テーブルを設けている。この事例では、3つのフィールドのいずれも検索キーとして用いられるものとし、その優先順位を、活動地域、所属組織、車種の順に設定している。
On the other hand, at the time of retrieval, one data record is stored and managed by the three data servers as described above, and the retrieval is performed after selecting one retrieval target data server from these. In this selection, in this embodiment, for each of the
検索時の動作は次のようになる。例えば作業員3が操作するクライアント端末43から所属組織がA、かつ活動地域がKN、かつ車種がNであるデータレコードを検索する場合、該当するデータレコードは、登録済みであれば次の3つのデータサーバのいずれにおいても記憶・管理されている。すなわち、所属組織がAであるデータレコードを記憶・管理するAデータサーバ11、活動地域がKNであるデータレコードを記憶・管理するKNデータサーバ22、及び車種がNであるデータレコードを記憶・管理するNデータサーバ32の3つのデータサーバである。ここで、クライアント端末43は、自端末内にあらかじめ設けられた、図7に例示した優先順位テーブルを参照すると、このテーブルでは第1優先を活動地域のデータサーバとしているので、検索対象のデータサーバをKNデータサーバ22とする。そして、クライアント端末43は、図5に例示したデータサーバのアドレス情報のテーブルに基づきそのアドレス情報を把握し、KNデータサーバ22を対象に残りのフィールド値を上記のように指定した検索条件で検索を行なって所定の結果を得る(図6のS607)。
The search operation is as follows. For example, when searching for a data record in which the affiliated organization is A, the activity region is KN, and the vehicle type is N from the
また、検索条件として1つのフィールドだけを検索キーとして指定する場合、例えば作業員4が操作するクライアント端末44から車種がTであるデータレコードを検索する場合には、クライアント端末44は、図7に例示した優先順位テーブルを参照する必要は特になく、車種がTであるデータサーバ32を対象に検索を実行する(図6のS608)。
Further, when only one field is designated as a search key as a search condition, for example, when searching for a data record whose vehicle type is T from the
なお、この事例では、複数のデータサーバの中から検索対象とするデータサーバを選定する際に、図7に例示したようにあらかじめ優先順位を設定しているが、例えば、それぞれのクライアント端末が過去に各データサーバと通信を行なったときの応答時間を保持しておき、この応答時間に基づいて優先順位を動的に設定するなどの手法も適用することができる。 In this example, when selecting a data server to be searched from a plurality of data servers, priorities are set in advance as illustrated in FIG. It is also possible to apply a method of holding response times when communicating with each data server and dynamically setting priorities based on the response times.
以上説明したように、上述したこれら実施例においては、複数のフィールドを有するデータレコードをデータベース化して管理するにあたって、少なくとも2以上のフィールドに対してそのフィールド値に対応させてデータサーバを設けてそれぞれデータサーバ群を構成している。そして、クライアント端末からデータレコードを登録する際は、そのデータレコードのフィールド値に対応するすべてのデータサーバ群内のデータサーバに登録している。これにより、データレコードは複数台のデータサーバに同時に登録されるので、データレコードのバックアップを維持しつつ、データレコードの登録されたデータサーバ間でのデータ整合を不要とすることができる。 As described above, in these embodiments described above, when data records having a plurality of fields are managed in a database, a data server is provided corresponding to the field values for at least two or more fields, respectively. It constitutes a data server group. And when registering a data record from a client terminal, it registers with the data server in all the data server groups corresponding to the field value of the data record. As a result, since the data records are simultaneously registered in a plurality of data servers, it is possible to eliminate the need for data matching between the data servers in which the data records are registered while maintaining the backup of the data records.
また、データレコードを複数のデータサーバに分散し記憶・管理しているので、検索の際にはその中から優先順位に基づき1つのデータサーバを検索の対象として選択することによって、通信トラフィックも特定のデータサーバに集中せずに分散させることができ、通信ネットワークに対する伝送負荷を軽減することができる。加えて、本実施例では、例えば活動地域に対応したデータサーバ群のデータサーバのそれぞれを、その対象地域に配置することによってその活動地域内のクライアント端末との通信ネットワーク上での物理的な距離を近づけるなど、特定のデータサーバと特定のクライアント端末との通信ネットワーク上での相互配置の自由度を利用することによってさらに通信トラフィックを分散させることができるので、通信ネットワークの伝送容量が限られる様な場合にも、良好な処理レスポンスを維持することができる。 In addition, since data records are distributed and stored in multiple data servers, communication traffic is also identified by selecting one data server as a search target based on the priority order. Can be distributed without concentrating on the data server, and the transmission load on the communication network can be reduced. In addition, in this embodiment, for example, by arranging each data server of the data server group corresponding to the active area in the target area, the physical distance on the communication network with the client terminal in the active area Communication traffic can be further distributed by using the degree of freedom of mutual arrangement of a specific data server and a specific client terminal on the communication network, such as close to the network, so that the transmission capacity of the communication network is limited. Even in such a case, a good processing response can be maintained.
なお、この発明は、上記した実施例そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施例に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施例に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施例に亘る構成要素を適宜組み合せてもよい。 Note that the present invention is not limited to the above-described embodiments as they are, and can be embodied by modifying the components without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above embodiments. For example, some components may be deleted from all the components shown in the embodiments. Furthermore, the constituent elements in different embodiments may be appropriately combined.
10 フィールド2データサーバ群
11 Aデータサーバ
12 Bデータサーバ
20 フィールド3データサーバ群
21 TKデータサーバ
22 KNデータサーバ
23 CBデータサーバ
30 フィールド4データサーバ群
31 Tデータサーバ
32 Nデータサーバ
41〜4n クライアント端末
50 通信ネットワーク
10
Claims (4)
前記データレコードの少なくとも2以上のフィールドに対してそのフィールド値のそれぞれに対応させて設けた複数台のデータサーバと、
これらデータサーバに共通に通信路を介してネットワーク接続され、前記データレコードを前記データサーバに登録するとともに登録されたデータレコードを検索するクライアント端末とを備え、
前記データレコードを登録する際は、前記クライアント端末は前記複数台のデータサーバの中で登録するデータレコードのフィールド値が対応しているすべてのデータサーバにこのデータレコードを登録し、
前記データレコードを検索する際は、前記クライアント端末は検索条件に指定されたフィールド値に対応する前記複数台のデータサーバの中から所定の優先順位に基づき選択したデータサーバを対象に検索を実行することを特徴とするデータベースシステム。 A database system for managing data records having a plurality of fields in a data server as a database,
A plurality of data servers provided corresponding to each of the field values for at least two or more fields of the data record;
These data servers are connected to a network through a communication path in common, and include a client terminal that registers the data records in the data server and searches for the registered data records.
When registering the data record, the client terminal registers the data record in all the data servers corresponding to the field values of the data record to be registered among the plurality of data servers,
When searching for the data record, the client terminal executes a search for a data server selected based on a predetermined priority from the plurality of data servers corresponding to the field value specified in the search condition. A database system characterized by that.
これらデータサーバに共通に通信路を介してネットワーク接続され、前記データレコードを前記データサーバに登録するとともに登録されたデータレコードを検索するクライアント端末とを備えたデータベースシステムにおけるデータ管理方法であって、
前記データサーバに前記データレコードを登録する際は、前記クライアント端末は前記複数台のデータサーバの中で登録するデータレコードのフィールド値が対応しているすべてのデータサーバにこのデータレコードを登録し、
前記データサーバに登録された前記データレコードを検索する際は、検索条件に指定されたフィールド値に対応する前記複数台のデータサーバの中から所定の優先順位に基づき選択したデータサーバを対象に検索を実行することを特徴とするデータ管理方法。 A plurality of data servers each provided with a data record having a plurality of fields corresponding to each of the field values for at least two or more fields of the data record;
A data management method in a database system that is connected to a network via a communication path in common with these data servers, and includes a client terminal that registers the data records in the data server and retrieves the registered data records,
When registering the data record in the data server, the client terminal registers the data record in all the data servers corresponding to the field values of the data record to be registered in the plurality of data servers,
When searching for the data record registered in the data server, the search is performed for the data server selected based on a predetermined priority from the plurality of data servers corresponding to the field value specified in the search condition. The data management method characterized by performing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007142659A JP2008299450A (en) | 2007-05-29 | 2007-05-29 | Database system and data management method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007142659A JP2008299450A (en) | 2007-05-29 | 2007-05-29 | Database system and data management method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008299450A true JP2008299450A (en) | 2008-12-11 |
Family
ID=40172949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007142659A Pending JP2008299450A (en) | 2007-05-29 | 2007-05-29 | Database system and data management method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008299450A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012053619A (en) * | 2010-08-31 | 2012-03-15 | Fujitsu Ltd | Information retrieval device, information retrieval program, and information retrieval method |
CN104504164A (en) * | 2015-01-21 | 2015-04-08 | 冯山泉 | Storing method and system for KTV data |
-
2007
- 2007-05-29 JP JP2007142659A patent/JP2008299450A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012053619A (en) * | 2010-08-31 | 2012-03-15 | Fujitsu Ltd | Information retrieval device, information retrieval program, and information retrieval method |
CN104504164A (en) * | 2015-01-21 | 2015-04-08 | 冯山泉 | Storing method and system for KTV data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10701011B2 (en) | Re-routing incoming email for a multi-tenant database system | |
RU2431184C2 (en) | Inter-proximity communication within rendezvous federation | |
US7984127B2 (en) | Data matrix method and system for distribution of data | |
US8472311B2 (en) | Systems, methods, and computer readable media for providing instantaneous failover of packet processing elements in a network | |
CN107733670A (en) | A kind of forwarding strategy collocation method and device | |
US10956501B2 (en) | Network-wide, location-independent object identifiers for high-performance distributed graph databases | |
CN107277086A (en) | Transaction processing system, method for processing business and service updating method | |
WO2019233061A1 (en) | Routing resource control method and system for layer 3 switch | |
CN108259218A (en) | A kind of IP address distribution method and device | |
US20110252275A1 (en) | Method and system for partitioning data files for efficient processing | |
CN103139314B (en) | Based on distributed Web services discover method and the system thereof of P2P | |
US7126909B2 (en) | Centralized management technique of call control data | |
JP2008299450A (en) | Database system and data management method | |
CN100596087C (en) | FTN matching management method | |
CN116996585A (en) | Multicast communication method, device, system, computer equipment and storage medium | |
CN108733477A (en) | The method, apparatus and equipment of data clusterization processing | |
JP2006270781A (en) | Resource management apparatus, resource management system and method | |
CN108829709A (en) | Distributed database management method, apparatus, storage medium and processor | |
CN102271144A (en) | P2P (point to point) overlay network, data resource operating method and new node adding method | |
CN103886075B (en) | Distributed network perception information stores and inquiry system | |
WO2019218469A1 (en) | Configuration update method, method for responding to configuration update, server and system | |
JP4583252B2 (en) | Line search system and method | |
CN113364825B (en) | Distributed resource integration system | |
JP5255993B2 (en) | Gateway and routing destination determination method | |
WO2011093492A1 (en) | Event distribution system, event distribution network, event distribution node, event distribution method, and computer-readable storage medium |