JP2002288027A - Distributed operation supporting system - Google Patents

Distributed operation supporting system

Info

Publication number
JP2002288027A
JP2002288027A JP2001091747A JP2001091747A JP2002288027A JP 2002288027 A JP2002288027 A JP 2002288027A JP 2001091747 A JP2001091747 A JP 2001091747A JP 2001091747 A JP2001091747 A JP 2001091747A JP 2002288027 A JP2002288027 A JP 2002288027A
Authority
JP
Japan
Prior art keywords
database
distributed server
data
sub
client terminal
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
JP2001091747A
Other languages
Japanese (ja)
Inventor
Shigeo Imada
茂雄 今田
Kenichi Tsujikawa
健一 辻川
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.)
Osaka Gas Co Ltd
Original Assignee
Osaka Gas Co Ltd
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 Osaka Gas Co Ltd filed Critical Osaka Gas Co Ltd
Priority to JP2001091747A priority Critical patent/JP2002288027A/en
Publication of JP2002288027A publication Critical patent/JP2002288027A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a distributed operation supporting system capable of being easily incorporated in a conventional database system. SOLUTION: This distributed operation supporting system is provided with a master distribution server 2 constructing the sub-database 2a as a subset replica of the operation database 1a constructed in the host computer 1, and connected to the host computer in a state that they can exchange the data with one another, and a slave distribution server 3 constructing the read-only- type sub-database 3a by the snapshot of the sub-database acquired from the master distribution server. A client terminal 4 acquires the data from the sub- database of the slave distribution server, creates the desired database, and transfers the latest data to the master distribution server.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、各地に配置された
分散サーバのデータベースを通じて各地に配属された営
業担当者が携帯する端末に必要な情報を与えることによ
り営業担当者の日常業務を支援するとともに、営業担当
者から転送された情報に基づいて適切な業務管理を行う
ための分散型業務支援システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention supports the daily operations of sales representatives by giving necessary information to terminals carried by sales representatives assigned to various locations through databases of distributed servers located in various locations. In addition, the present invention relates to a distributed business support system for performing appropriate business management based on information transferred from a sales representative.

【0002】[0002]

【従来の技術】従来、広い地域にわたって事業を展開し
ている会社や機関の分散システムでは、本店や管理セン
ターに設置されたホストコンピュータに全社的な業務情
報等を総合的に管理格納した総合データベースが構築さ
れるとともに、各地域に点在する支店やサービスセンタ
に設置された分散サーバには、総合データベースから該
当支店やサービスセンタにだけ関係がある顧客や商品に
関するデータベース部分が移植されることでサブデータ
ベースが構築されている。このような分散データベース
では、本社のデータベースの内容と支社のデータベース
の内容が同一であることが保証される必要がある。例え
ば、本社のデータベースと支社のデータベースがそれぞ
れ勝手に更新されたら、本社と支社で別のデータベース
が存在してしまう不都合が生じる。
2. Description of the Related Art Conventionally, in a distributed system of a company or an institution that operates in a wide area, a comprehensive database in which company-wide business information and the like are comprehensively managed and stored in a host computer installed in a head office or a management center. Is built, and the distributed server installed at branch offices and service centers scattered in each region is ported from the comprehensive database to the database part of customers and products related only to the branch office or service center. A sub-database has been built. In such a distributed database, it is necessary to ensure that the contents of the database at the head office and the contents of the database at the branch office are the same. For example, if the database at the head office and the database at the branch office are updated independently, there is a disadvantage that separate databases exist at the head office and the branch office.

【0003】[0003]

【発明が解決しようとする課題】このような不都合を避
けるため、支社のサブデータベースの更新内容が即座に
本社の総合データベースに反映されるようなシステムが
必要となる。複数のデータベース間でデータの整合性を
取る場合、データを更新したり、追加したりするのは複
製元のデータベースだけで、複製先は参照だけを許し、
元のデータベースに加えられた変更などは定期的に複製
元に反映させる分散データベースシステムが提案されて
いる。
In order to avoid such inconveniences, a system is required in which the updated contents of the sub-database of the branch office are immediately reflected in the integrated database of the head office. To maintain data consistency between multiple databases, only the source database updates or adds data, the destination only allows browsing,
A distributed database system has been proposed in which changes made to an original database are periodically reflected in a replication source.

【0004】しかしながら、このような分散データベー
スシステムを構築するためには、このシステムを構築し
ている各コンピュータが仕様、つまりOSやファイル構
造等に関して変換容易性を備えている場合は問題ない
が、例えば、ホストコンピュータがメインフレームと呼
ばれる旧来型の大型・中型コンピュータであり、各地域
に分散するデータベースを構築するコンピュータは汎用
的なOS(WindowNTやOS2など)である場合、構造的に
全く異なる2つのコンピュータ間での上述した整合性を
作り出すためのプログラムを作成するのは困難であっ
た。上記実状に鑑み、本発明の課題は、旧来のデータベ
ースシステムに容易に組み込んで構築できる分散型業務
支援システムを提供することである。
[0004] However, in order to construct such a distributed database system, there is no problem if each computer constructing the system has easy conversion in terms of specifications, that is, OS and file structure. For example, if the host computer is a conventional large / medium-sized computer called a mainframe, and the computer that constructs a database distributed in each region is a general-purpose OS (such as WindowNT or OS2), the structure is completely different. It has been difficult to create a program for creating the above-mentioned consistency between two computers. In view of the above situation, an object of the present invention is to provide a distributed business support system that can be easily incorporated into a conventional database system and configured.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するた
め、本発明による分散型業務支援システムは、ホストコ
ンピュータに構築されている業務データベースのサブセ
ットレプリカとしてのサブデータベースを構築するとと
もに前記ホストコンピュータとデータ交換可能に接続さ
れた親型分散サーバと、前記親型分散サーバから取得す
る前記サブデータベースのスナップショットによってリ
ードオンリー型のサブデータベースを構築する子型分散
サーバを含み、前記子型分散サーバはクライアント端末
において所望のデータベースが生成されるように前記ク
ライアント端末に前記サブデータベースからのデータを
送り出し、前記親型分散サーバは前記クライアント端末
からの更新データを受け取るように構成されている。
In order to solve the above problems, a distributed business support system according to the present invention constructs a sub-database as a subset replica of a business database constructed in a host computer, and establishes a connection with the host computer. A parent distributed server connected so that data can be exchanged, and a child distributed server that constructs a read-only sub-database by a snapshot of the sub-database obtained from the parent distributed server, the child distributed server comprising: Data from the sub-database is sent to the client terminal so that a desired database is generated in the client terminal, and the parent distributed server is configured to receive update data from the client terminal.

【0006】この構成では、分散データベースを構築す
る分散サーバを、ホストコンピュータとの間でデータベ
ースファイルの交換、つまりデータ交換を行うことで所
定業務で必要とするサブデータベース、例えば顧客デー
タベースを構築する親型分散サーバと、この親型分散サ
ーバに構築されたサブデータベースのスナップショット
によってローカルなリードオンリーのサブデータベース
を構築する子型分散サーバに分けて構成している。
In this configuration, a distributed server for constructing a distributed database is exchanged with a host computer by exchanging database files, that is, by exchanging data, a parent database for constructing a sub-database required for a predetermined business, for example, a customer database. The distribution server is divided into a distributed server and a child distributed server that constructs a local read-only sub-database by using a snapshot of the sub-database constructed on the parent distributed server.

【0007】旧来のオフコン等で構成されるホストコン
ピュータによって構築された多数のサブデータベースか
らなる業務データベースのうちから適当なものを選んで
そのファイルを親型分散サーバに転送(複製)すること
で親型分散サーバに所望のサブデータベースが構築され
ることになる。このサブデータベースは、クライアント
端末からアクセス可能であり、クライアント端末は必要
とするデータを取得したり、更新したりすることができ
る。このサブデータベースが更新された場合、そのまま
にしておくと、ホストコンピュータにおけるデータベー
スとの整合性が取れなくなるので、更新されたサブデー
タベースの少なくとも更新されたデータを含むファイル
は、総合データベースの更新のために、親型分散サーバ
からホストコンピュータに転送される。
An appropriate database is selected from a large number of sub-databases constructed by a host computer composed of a conventional office computer and the like, and the file is transferred (copied) to the parent distributed server to copy it. A desired sub-database is constructed on the type distribution server. This sub-database is accessible from the client terminal, and the client terminal can acquire and update necessary data. If this sub-database is updated, if it is left as it is, it will become inconsistent with the database on the host computer, so the file containing at least the updated data of the updated sub-database will be used for updating the comprehensive database. Is transferred from the parent distributed server to the host computer.

【0008】親型分散サーバのデータベースと子型分散
サーバのデータベースの関係は、いわゆる分散データベ
ースシステムの技術を用いたものであり、子型分散サー
バのデータベースは、スナップショット・レプリケーシ
ョンによって構築され、これにアクセスするクライアン
ト端末はデータを更新したり、追加したりできず、デー
タの参照だけが許される。
[0008] The relationship between the database of the parent distributed server and the database of the child distributed server is based on the so-called distributed database system technology. The database of the child distributed server is constructed by snapshot replication. The client terminal accessing the server cannot update or add data, and is only allowed to refer to the data.

【0009】上述した構成により、ホストコンピュータ
に構築されている総合データベースとの共存を図りなが
らも、特定の部署で必要とするサブデータベースに関す
る分散データベースシステムを構築することができ、特
にクライアント端末として携帯端末を用いることによ
り、該当部署に属するメンバーの業務をいつでもどこで
も支援することができる。
With the above-described configuration, a distributed database system relating to a sub-database required by a specific department can be constructed while coexisting with a comprehensive database constructed in a host computer. By using the terminal, it is possible to support the work of members belonging to the relevant department anytime and anywhere.

【0010】本発明による好適な実施形態の1つでは、
親型分散サーバはサブデータベースの入れ換えデータ
(ファイル)をバッチ処理でホストコンピュータに転送
するとともに、このバッチ処理中はクライアント端末か
らの更新データの転送を一時的に禁止して、その後のバ
ッチ処理の終了によってクライアント端末からの更新デ
ータの転送を開始させるものがある。これにより、例え
ば、夜間に、少なくとも更新されたファイルをバッチ処
理でホストコンピュータに転送することで、クライアン
トによるサーバへのアクセスを妨げることができるだけ
抑制されている。場合によっては、親型分散サーバ/ホ
ストコンピュータ間転送処理中にクライアント端末から
更新データの転送処理が生じた場合、親型分散サーバ/
ホストコンピュータ間転送処理の終了後迅速にクライア
ント端末からのデータ転送処理を開始できるので、必要
以上にクライアント端末からの更新データの転送処理が
遅れてしまうことが避けられる。
In one preferred embodiment according to the present invention,
The parent distributed server transfers the replacement data (file) of the sub-database to the host computer in a batch process, temporarily prohibits the transfer of the update data from the client terminal during the batch process, and executes the subsequent batch process. In some cases, transfer of update data from the client terminal is started upon completion. Accordingly, for example, by transferring at least updated files to the host computer in a batch process at night, it is possible to prevent the client from accessing the server as much as possible. In some cases, when transfer processing of update data occurs from a client terminal during transfer processing between the parent distributed server / host computer,
Since the data transfer process from the client terminal can be started immediately after the end of the transfer process between the host computers, it is possible to prevent the transfer process of the update data from the client terminal from being unnecessarily delayed.

【0011】さらに本発明による好適な実施形態の1つ
では、クライアント端末から親型分散サーバへの更新デ
ータの転送の前に前記サブデータベースのキーデータの
変更有無を問い合わせ、キーデータの変更があった場合
はキーデータの変更処理後に更新データの転送を行う。
この構成では、ホストコンピュータや親型分散サーバ側
で、例えば顧客番号などのキーデータの変更あった場合
に備えて、クライアント端末側から更新データを転送す
る前に、変更の有無を確認し、変更があったならば変更
前のデータは変更後のデータに置き換えてから転送処理
される。これにより、データ変更がクライアント端末で
も適時に反映されることになり、分散データベースシス
テムにおける同期がより信頼性の高いものとなる。
Further, in one preferred embodiment according to the present invention, before transferring the update data from the client terminal to the parent distributed server, an inquiry is made as to whether or not the key data of the sub-database has been changed. In this case, the update data is transferred after the key data change processing.
In this configuration, before the update data is transferred from the client terminal side, the presence or absence of the change is checked before the update data is transferred from the client terminal in case the key data such as the customer number is changed on the host computer or the parent distributed server side. If there is, the data before the change is replaced with the data after the change and then transferred. As a result, the data change is reflected in the client terminal in a timely manner, and the synchronization in the distributed database system becomes more reliable.

【0012】このようなデータ変更のクライアント端末
での適時な反映のための好適な方策の1つとして、本発
明では、親型分散サーバから子型分散サーバへのキーデ
ータ変更ファイルの転送がバッチ的に行われ、クライア
ント端末はこのキーデータ変更ファイルにアクセスする
ことで前記キーデータの変更有無に関する問い合わせを
行うことが提案されている。本発明によるその他の特徴
及び利点は、以下図面を用いた実施形態の説明により明
らかになるだろう。
As one of suitable measures for timely reflection of such data change at the client terminal, in the present invention, the transfer of the key data change file from the parent distributed server to the child distributed server is performed in a batch mode. It has been proposed that the client terminal accesses the key data change file to make an inquiry about whether or not the key data has been changed. Other features and advantages according to the present invention will become apparent from the following description of embodiments with reference to the drawings.

【0013】[0013]

【発明の実施の形態】本発明による分散型業務支援シス
テムの1つの実施形態が模式的に図1に示されている。
このシステムでは、本店側に設置されたオフコンがホス
トコンピュータ1として総合データベース1aを構築し
ており、同じく本店側に設置されるとともにホストコン
ピュータ1と社内LANを通じて接続されたサーバコン
ピュータ(以下単にサーバと称する)2が総合データベ
ース1aのサブデータベースである顧客データベース2
aを構築している。支店側にも顧客データベース3aを
構築するサーバ3が設置されている。支店側の顧客デー
タベース3aは本店側の顧客データベース2aの複製で
あり、つまりサーバ2は親型分散サーバとして機能して
おり、サーバ3は子型分散サーバとして機能している。
これらの分散サーバ2、3の顧客データベース2a、3
aに対してアクセス可能なクライアント端末4として各
営業員に携帯端末が割り当てられている。携帯端末とし
ては通常モバイルコンピュータやPDAが採用されてい
るが、クライアント端末4としては汎用的なディスクト
ップ型パソコンであってもよい。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of a distributed business support system according to the present invention is schematically shown in FIG.
In this system, an office computer installed at the head office builds a comprehensive database 1a as a host computer 1, and a server computer (hereinafter simply referred to as a server) installed at the head office and connected to the host computer 1 via an in-house LAN. Customer database 2 which is a sub-database of the comprehensive database 1a
a. The server 3 that builds the customer database 3a is also installed on the branch side. The branch-side customer database 3a is a copy of the head office-side customer database 2a, that is, the server 2 functions as a parent distributed server, and the server 3 functions as a child distributed server.
Customer databases 2a, 3a of these distributed servers 2, 3
A mobile terminal is assigned to each sales representative as a client terminal 4 that can access a. Generally, a mobile computer or a PDA is adopted as a portable terminal, but a general-purpose desktop personal computer may be used as the client terminal 4.

【0014】親型分散サーバ2と子型分散サーバ3とは
ルータ5を介し通信回線6を通じて接続されており、親
型分散サーバ2から顧客データベース2aの複製として
そのスナップショットが毎朝子型分散サーバ3に転送さ
れ、これによってリードオンリー型の顧客データベース
3aが支店側にも構築されることになる。もちろん、こ
のスナップショットの転送は1日の適当な時間帯で複数
回行ってもよい。クライアント端末としての携帯端末4
は、モデム等の通信インターフェース7を介してインタ
ーネット等の通信回線6に接続可能であり、いつでもど
こからでも親型分散サーバ2や子型分散サーバ3にアク
セス可能であり、それぞれの顧客データベース2aや3
aから顧客情報を取得することができる。もちろん、本
店や支店に設置されているディスクトップ型のクライア
ント端末4も同様に、親型分散サーバ2や子型分散サー
バ3に社内LANで接続することによりそれぞれの顧客
データベース2aや3aから顧客情報を取得することが
できる。
The parent distributed server 2 and the child distributed server 3 are connected through a communication line 6 via a router 5, and a snapshot of the customer database 2 a is copied from the parent distributed server 2 to the child distributed server every morning. Then, a read-only customer database 3a is also constructed on the branch side. Of course, the transfer of the snapshot may be performed a plurality of times at an appropriate time of day. Mobile terminal 4 as client terminal
Can be connected to a communication line 6 such as the Internet via a communication interface 7 such as a modem, and can access the parent distributed server 2 and the child distributed server 3 from anywhere at any time.
The customer information can be obtained from a. Needless to say, the desktop client terminal 4 installed in the head office or the branch is similarly connected to the parent distributed server 2 or the child distributed server 3 via an in-house LAN, thereby obtaining customer information from the respective customer databases 2a and 3a. Can be obtained.

【0015】クライアント端末4には、この顧客データ
ベースシステムのフロントエンドとして機能する表計算
ソフトやデータベースソフト、あるいはWWWブラウザ
が搭載されており、最新の顧客情報を即座に参照閲覧す
ることができるが、クライアント端末側で発生したデー
タの追加・更新情報に関しては、子型分散サーバ3側の
顧客データベース3aがリードオンリー型であるので、
親型分散サーバ2に転送して、親型分散サーバ2側でこ
の追加・更新情報に基づいて顧客データベース2aに対
する処理が行われる。
The client terminal 4 is equipped with spreadsheet software or database software functioning as a front end of the customer database system, or a WWW browser, so that the latest customer information can be referenced and browsed immediately. Regarding addition / update information of data generated on the client terminal side, since the customer database 3a of the child distributed server 3 is of a read-only type,
The data is transferred to the parent distributed server 2, and the parent distributed server 2 performs processing on the customer database 2a based on the added / updated information.

【0016】前述したように、クライアント端末4から
転送された追加・更新情報に基づいて親型分散サーバ2
によって処理された顧客データベース2aの変更内容は
ホストコンピュータ1側の総合データベース1aに反映
させなければならない。そのために必要であるホストコ
ンピュータ1と親型分散サーバ2との間のデータ転送は
夜間にバッチ処理として行われる。次に、クライアント
端末4による顧客データベースの内容変更が親型分散サ
ーバ2を通じてホストコンピュータ1側の総合データベ
ース1aに反映される流れを図2によるフローチャート
を用いて説明する。
As described above, based on the addition / update information transferred from the client terminal 4, the parent distributed server 2
The changed contents of the customer database 2a processed by the above must be reflected in the comprehensive database 1a of the host computer 1. The necessary data transfer between the host computer 1 and the parent distributed server 2 is performed as a batch process at night. Next, a flow in which a change in the contents of the customer database by the client terminal 4 is reflected in the comprehensive database 1a of the host computer 1 through the parent distributed server 2 will be described with reference to the flowchart in FIG.

【0017】まず、営業部員の営業業務を通じて発生し
た顧客データの追加・更新は、この営業部員による携帯
端末(クライアント端末)4への入力作業を通じて、こ
の携帯端末4に更新・追加情報として発生する(#1
0)。
First, addition / update of customer data generated through the sales work of the sales staff is generated as update / additional information in the mobile terminal 4 through input work to the mobile terminal (client terminal) 4 by the sales staff. (# 1
0).

【0018】この携帯端末4に発生した更新・追加情報
は、顧客データベース2aに繁栄反映させなければなら
ないので、この携帯端末4から親型分散サーバ2への更
新・追加情報の転送準備が行われる(#20)。この更
新・追加情報の転送準備に関しては、後で詳しく説明す
る。
Since the update / additional information generated in the portable terminal 4 must be reflected in the customer database 2a, preparation for transferring the update / additional information from the portable terminal 4 to the parent distributed server 2 is performed. (# 20). The preparation for transferring the update / additional information will be described later in detail.

【0019】転送準備が終了すると、更新・追加情報
が、携帯端末4から、この場合携帯電話回線、ゲートウ
エイ、インターネット、ルータ5、社内LANで構成さ
れる通信回線6を経て、親型分散サーバ2に転送される
(#30)。
When the transfer preparation is completed, the updated / added information is transmitted from the portable terminal 4 to the parent distributed server 2 via the portable telephone line, the gateway, the Internet, the router 5, and the communication line 6 composed of the company LAN. (# 30).

【0020】携帯端末4から受け取った更新・追加情報
に基づいて親型分散サーバ2は顧客データベース3aの
内容を変更するとともに(#40)、この顧客データベ
ース3aとホストコンピュータ1側の総合データベース
1aとの整合性を維持するためにホストコンピュータ1
に転送するための更新情報をファイル化して更新用ファ
イルを作成する(#50)。
Based on the update / additional information received from the portable terminal 4, the parent distributed server 2 changes the contents of the customer database 3a (# 40), and changes the customer database 3a and the general database 1a of the host computer 1 side. Host computer 1 to maintain the integrity of
A file for update is created by converting the update information to be transferred to the file (# 50).

【0021】親型分散サーバ2/ホストコンピュータ1
間のファイル転送は夜間にネゴシエーションの下でバッ
チ処理されるので所定の時刻とファイル転送の許可が得
られるまでファイル転送は待機状態となる(#60)。
このファイル転送のネゴシエーションは後で詳しく説明
される。バッチ処理の時刻になりネゴシエーションが成
立すると親型分散サーバ2からホストコンピュータ1へ
のファイル転送が行われる(#70)。ホストコンピュ
ータ1は、取得した更新用ファイルを用いて総合データ
ベースの一部である顧客データベースの更新する(#8
0)。前述した携帯端末4から親型分散サーバ2への更
新・追加情報の転送準備のステップ(図2#20)を図
3を用いて詳しく説明する。顧客データベース2a又は
3aからロードされた顧客情報を変更したり新規追加す
る必要が生じると、転送されるべき更新・追加情報とし
て、例えば、更新する物理テーブル名、更新する全ての
フィールド名、追加・変更・削除等の操作モードの指
定、レコード値などを含む更新・追加データが作成され
る(#21)。この更新・追加データを親型分散サーバ
2へ転送する前に、親型分散サーバ2に作成されている
キーデータ変更ファイル又は親型分散サーバ2から転送
されて子型分散サーバ3に格納されているキーデータ変
更ファイルをサーバ2又は3から取得して(#22)、
これから転送しようとしている更新・追加データにすで
にサーバ側で変更処理されたキーデータが含まれていな
いかどうかをチェックする(#23)。
Parent distributed server 2 / host computer 1
Since the file transfer between them is batch-processed under negotiation at night, the file transfer waits until a predetermined time and the permission of the file transfer are obtained (# 60).
This file transfer negotiation will be described in detail later. When the batch processing time comes and the negotiation is established, the file transfer from the parent distributed server 2 to the host computer 1 is performed (# 70). The host computer 1 updates the customer database which is a part of the comprehensive database using the acquired update file (# 8)
0). The step (# 20 in FIG. 2) for preparing the transfer of the update / additional information from the portable terminal 4 to the parent distributed server 2 will be described in detail with reference to FIG. If the customer information loaded from the customer database 2a or 3a needs to be changed or newly added, the update / additional information to be transferred includes, for example, a physical table name to be updated, all field names to be updated, Update / additional data including operation mode designation such as change / deletion, record value, etc. is created (# 21). Before transferring the updated / added data to the parent distributed server 2, the key data change file created in the parent distributed server 2 or transferred from the parent distributed server 2 and stored in the child distributed server 3. The key data change file that is present is obtained from the server 2 or 3 (# 22),
It is checked whether or not the update / additional data to be transferred includes key data that has already been changed on the server side (# 23).

【0022】更新・追加データにすでにサーバ側で変更
処理されたキーデータが含まれている場合(#23でYe
s分岐)、さらに、二重更新などの不正な更新処理を避
けるため親型分散サーバ2にこの更新・追加情報を転送
するかどうかが判定される(#24)。この判定は、キ
ーデータの変更処理のタイムスタンプタグ、例えば日付
で判断される。サーバ側と端末側の両方でタイムスタン
プタグが入っていない場合、タイプスタンプタグがサー
バ側だけに入っている場合、両方に同じタイムスタンプ
タグが入っている場合、転送が可能となる。これ以外は
転送不可となり、転送取り止め処理が行われる(#2
8)。
When the updated / added data already contains key data changed on the server side (Ye in # 23)
(s branch), and it is determined whether or not to transfer the update / additional information to the parent distributed server 2 in order to avoid unauthorized update processing such as double update (# 24). This determination is made based on the time stamp tag of the key data change process, for example, the date. When the time stamp tag is not included in both the server side and the terminal side, when the type stamp tag is included only in the server side, and when the same time stamp tag is included in both, transfer is possible. Otherwise, transfer is disabled, and transfer cancel processing is performed (# 2
8).

【0023】ここで転送可能と判定された場合(#24
でYes分岐)の場合、携帯端末4側で作成されているデ
ータベース(リスト)においてキーデータ変更ファイル
に基づいて変更すべきキーデータを書き換え(#2
4)、正しいキーデータを有する更新・追加データを再
度作成する(#25)。更新・追加データにすでにサー
バ側で変更処理されたキーデータが含まれていない場合
(#23でNo分岐)やキーデータ変更ファイルに基づい
た更新・追加データが再作成された場合(#25)、こ
の更新・追加データを親型分散サーバ2に転送する準備
を行う(#26)。携帯端末4と親型分散サーバ2との
間でデータ転送のセッションが成立すると、データが転
送される(#30)。
If it is determined that transfer is possible (# 24)
In the case of (Yes branch), the key data to be changed is rewritten in the database (list) created on the mobile terminal 4 side based on the key data change file (# 2).
4), update / additional data having correct key data is created again (# 25). When the update / additional data does not include the key data already changed on the server side (No branch in # 23) or when the update / additional data based on the key data change file is re-created (# 25) Then, a preparation is made to transfer the updated / added data to the parent distributed server 2 (# 26). When a data transfer session is established between the portable terminal 4 and the parent distributed server 2, data is transferred (# 30).

【0024】次に、前述した夜間に実施されるバッチ処
理としての親型分散サーバ2/ホストコンピュータ1間
のファイル転送のネゴシエーションを図4を用いて説明
する。まず、前もって設定されているバッチ処理の時刻
であるかどうかをチェックして(#61)、その時刻に
なれば、ネゴシエーションが開始される。ネゴシエーシ
ョンは、ホストコンピュータ1が親型分散サーバ2に更
新用ファイルの転送要求を出すことで始まる(#6
2)。なお、このファイル転送は、上述したような所定
時刻での行う定時処理としてではなく、任意の時間、例
えばマニュアルでの指令入力により行うようにしてもよ
い。
Next, negotiation of file transfer between the parent distributed server 2 and the host computer 1 as a batch process performed at night will be described with reference to FIG. First, it is checked whether it is a preset batch processing time (# 61), and when the time comes, negotiation is started. The negotiation starts when the host computer 1 issues a transfer request of the update file to the parent distributed server 2 (# 6).
2). Note that this file transfer may be performed at an arbitrary time, for example, by a manual command input, instead of the above-described regular processing performed at a predetermined time.

【0025】ホストコンピュータ1によるこの転送要求
に対して親型分散サーバ2は次の4つの応答、つまり
「BUSY」、「OK」、「ALREADY」、「NOTREADY」を行
う。「BUSY」は、現在親型分散サーバ2が携帯端末4か
らのデータを取得中であり、ホストコンピュータ1の転
送要求を受け入れないことを表しており、ホストコンピ
ュータは待機時間後再度転送要求を出さなければならな
い(#63)。「OK]は、親型分散サーバ2がホストコ
ンピュータ1の転送要求を受理したことを表しており、
更新用ファイルが転送フォルダにコピーされる。さら
に、このコピー中は携帯端末4からのセッションを遮断
する(#64)。「ALREADY」は、すでに更新用ファイ
ルが転送フォルダにコピーされていることを表してお
り、ホストコンピュータ1に転送受信を促す(#6
5)。「NOTREADY」は、今回更新用ファイルがないこと
を表しており、次回のバッチ処理まで待機となる(#6
6)。「OK」又は「ALREADY」の場合はいずれにして
も、続いてファイル転送処理が実行される(#70)。
このファイル転送処理はよく知られたFTP方式の手順
にのっとって行われる。
In response to the transfer request from the host computer 1, the parent distributed server 2 makes the following four responses: "BUSY", "OK", "ALREADY", and "NOTREADY". "BUSY" indicates that the parent distributed server 2 is currently acquiring data from the portable terminal 4 and does not accept the transfer request from the host computer 1, and the host computer issues a transfer request again after the waiting time. Must be done (# 63). "OK" indicates that the parent distributed server 2 has accepted the transfer request from the host computer 1, and
The update file is copied to the transfer folder. Further, during the copying, the session from the portable terminal 4 is blocked (# 64). “ALREADY” indicates that the update file has already been copied to the transfer folder, and prompts the host computer 1 to receive the transfer (# 6).
5). “NOTREADY” indicates that there is no update file this time, and waits until the next batch processing (# 6)
6). In either case of "OK" or "ALREADY", the file transfer process is subsequently executed (# 70).
This file transfer process is performed according to a well-known procedure of the FTP system.

【0026】上述した実施形態では、分散サーバ2や3
に構築されるサブデータベースを顧客データベースとし
ていたが、もちろん、これはその他の各種データベー
ス、例えば、スケジュール管理、業務指示確認、配送管
理、売上管理などに関するデータベース、及びこれらを
組み合わせたデータベースであってもよい。また、子型
分散サーバ3は通常各エリアに展開されるし、携帯端末
4は、ローミング処理により、いずれの分散サーバ2又
は3にもアクセスするこことが可能である。クライアン
ト端末4として主に携帯端末をとり挙げて説明している
が、もちろん持ち歩かないディスクトップパソコンやそ
の他のパソコンや専用機もクライアント端末4として用
いることが可能である。
In the above embodiment, the distributed servers 2 and 3
Although the sub-database constructed in the above was the customer database, of course, this may be any other database such as a database relating to schedule management, business instruction confirmation, delivery management, sales management, and the like, and a database combining these. Good. The child distributed server 3 is normally deployed in each area, and the portable terminal 4 can access any of the distributed servers 2 or 3 by roaming processing. Although the portable terminal is mainly described as the client terminal 4, a desktop personal computer, other personal computer, or a dedicated machine that is not carried around can also be used as the client terminal 4.

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

【図1】本発明による分散型業務支援システムの1つの
実施形態を示す模式図
FIG. 1 is a schematic diagram showing one embodiment of a distributed business support system according to the present invention.

【図2】クライアント端末による顧客データベースの内
容変更が親型分散サーバを通じてホストコンピュータの
総合データベースに反映されることを示すフローチャー
FIG. 2 is a flowchart showing that a change in the contents of a customer database by a client terminal is reflected in a comprehensive database of a host computer through a parent distributed server;

【図3】携帯端末から親型分散サーバへの更新・追加情
報の転送準備を示すフローチャート
FIG. 3 is a flowchart showing preparation for transfer of update / additional information from a portable terminal to a parent distributed server;

【図4】親型分散サーバ/ホストコンピュータ間のファ
イル転送のネゴシエーションを示すフローチャート
FIG. 4 is a flowchart showing negotiation of file transfer between a parent distributed server / host computer.

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

1 ホストコンピュータ 1a 総合データベース 2 親型分散サーバ 2a 顧客データベース(サブデータベース) 3 子型分散サーバ 3a リードオンリー型顧客データベース(サブデータ
ベース) 4 クライアント端末(携帯端末) 5 ルータ 6 通信回線 7 モデム
DESCRIPTION OF SYMBOLS 1 Host computer 1a Comprehensive database 2 Parent distributed server 2a Customer database (sub-database) 3 Child distributed server 3a Read-only customer database (sub-database) 4 Client terminal (portable terminal) 5 Router 6 Communication line 7 Modem

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ホストコンピュータに構築されている業務
データベースのサブセットレプリカとしてのサブデータ
ベースを構築するとともに前記ホストコンピュータとデ
ータ交換可能に接続された親型分散サーバと、前記親型
分散サーバから取得する前記サブデータベースのスナッ
プショットによってリードオンリー型のサブデータベー
スを構築する子型分散サーバとから構成され、前記子型
分散サーバはクライアント端末において所望のデータベ
ースが生成されるように前記クライアント端末に前記サ
ブデータベースからのデータを送り出し、前記親型分散
サーバは前記クライアント端末からの更新データを受け
取ることを特徴とする請求項1に記載の分散型業務支援
システム。
A sub-database is constructed as a subset replica of a business database constructed in a host computer, and is acquired from the parent distributed server connected to the host computer in a data exchangeable manner. And a child distributed server that constructs a read-only sub-database by using a snapshot of the sub-database. The child distributed server is configured to store the sub-database in the client terminal so that a desired database is generated in the client terminal. 2. The distributed business support system according to claim 1, wherein the parent distributed server receives update data from the client terminal.
【請求項2】前記親型分散サーバは前記サブデータベー
スの入れ換えデータをバッチ処理で前記ホストコンピュ
ータに転送するとともに、前記バッチ処理中は前記クラ
イアント端末からの更新データの転送を一時的に禁止し
て前記バッチ処理の終了によって前記クライアント端末
からの更新データの転送を開始させることを特徴とする
請求項1に記載の分散型業務支援システム。
2. The parent distributed server transfers batch data of the sub-database to the host computer by batch processing, and temporarily prohibits transfer of update data from the client terminal during the batch processing. 2. The distributed business support system according to claim 1, wherein the transfer of the update data from the client terminal is started upon completion of the batch processing.
【請求項3】前記クライアント端末から前記親型分散サ
ーバへの更新データの転送の前に前記サブデータベース
のキーデータの変更有無を問い合わせ、キーデータの変
更があった場合はキーデータの変更処理後に更新データ
の転送を行うことを特徴とする請求項1又は2に記載の
分散型業務支援システム。
3. An inquiry as to whether or not key data of the sub-database has been changed before transfer of update data from the client terminal to the parent distributed server, and if key data has been changed, after key data change processing. 3. The distributed business support system according to claim 1, wherein update data is transferred.
【請求項4】前記親型分散サーバから前記子型分散サー
バへのキーデータ変更ファイルの転送がバッチ的に行わ
れ、前記クライアント端末はこのキーデータ変更ファイ
ルにアクセスすることで前記キーデータの変更有無に関
する問い合わせを行うことを特徴とする請求項3に記載
の分散型業務支援システム。
4. The key data change file is transferred from the parent distributed server to the child distributed server in batches, and the client terminal accesses the key data change file to change the key data. 4. The distributed business support system according to claim 3, wherein an inquiry about presence or absence is made.
JP2001091747A 2001-03-28 2001-03-28 Distributed operation supporting system Pending JP2002288027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001091747A JP2002288027A (en) 2001-03-28 2001-03-28 Distributed operation supporting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001091747A JP2002288027A (en) 2001-03-28 2001-03-28 Distributed operation supporting system

Publications (1)

Publication Number Publication Date
JP2002288027A true JP2002288027A (en) 2002-10-04

Family

ID=18946315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001091747A Pending JP2002288027A (en) 2001-03-28 2001-03-28 Distributed operation supporting system

Country Status (1)

Country Link
JP (1) JP2002288027A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265829A (en) * 1992-03-16 1993-10-15 Hitachi Ltd Replicate file updating system
JPH06243013A (en) * 1993-02-19 1994-09-02 Toshiba Corp Distributed data base system
JPH1145200A (en) * 1997-07-28 1999-02-16 Nec Corp Centralized managing system for distributed managing information
JP2000020374A (en) * 1998-07-01 2000-01-21 Nec Corp Replication control system
JP2000112803A (en) * 1998-09-30 2000-04-21 Fujitsu Ltd Automatic data updating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265829A (en) * 1992-03-16 1993-10-15 Hitachi Ltd Replicate file updating system
JPH06243013A (en) * 1993-02-19 1994-09-02 Toshiba Corp Distributed data base system
JPH1145200A (en) * 1997-07-28 1999-02-16 Nec Corp Centralized managing system for distributed managing information
JP2000020374A (en) * 1998-07-01 2000-01-21 Nec Corp Replication control system
JP2000112803A (en) * 1998-09-30 2000-04-21 Fujitsu Ltd Automatic data updating system

Similar Documents

Publication Publication Date Title
JP4187302B2 (en) Relational database synchronization method and recording medium recording the program
US8095504B2 (en) N-way synchronization of computer databases
US7225231B2 (en) System and method for transmitting workspace elements across a network
JP4025475B2 (en) Database exchange system
US6023708A (en) System and method for using a global translator to synchronize workspace elements across a network
US7366460B2 (en) System and method for mobile data update
US6240416B1 (en) Distributed metadata system and method
US20050055382A1 (en) Universal synchronization
JPH10340217A (en) Data base network and data updating and duplicating method
JP2011076487A (en) Computer and database management program
JP2003520363A (en) Data maintenance method in a partially replicated database system network
JP2008537818A (en) Adapter architecture for mobile data systems
JP2009518757A (en) Method and system for maintaining up-to-date data of wireless devices
US20070106683A1 (en) Distributed database
EP1480130A2 (en) Method and apparatus for moving data between storage devices
US6065116A (en) Method and apparatus for configuring a distributed application program
US8316058B2 (en) Data structure versioning for data management systems and methods
TWI344604B (en) Network heterogeneous database synchronizing system and method
JP2002288027A (en) Distributed operation supporting system
Cisco Using Info Gateways
JP2001236109A (en) Information management system for production machine
Cisco Using Info Gateways
Cisco Using Info Gateways
JPH10161913A (en) Network archiver system, and computer-readable recording medium recording program constructing the system
JPH09265424A (en) Synchronization system and method for distributed file

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070424

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091210

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100408