JP4742769B2 - Shared data access system - Google Patents
Shared data access system Download PDFInfo
- Publication number
- JP4742769B2 JP4742769B2 JP2005270527A JP2005270527A JP4742769B2 JP 4742769 B2 JP4742769 B2 JP 4742769B2 JP 2005270527 A JP2005270527 A JP 2005270527A JP 2005270527 A JP2005270527 A JP 2005270527A JP 4742769 B2 JP4742769 B2 JP 4742769B2
- Authority
- JP
- Japan
- Prior art keywords
- server node
- shared data
- transfer time
- client nodes
- specific 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.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、複数のクライアントノードがサーバノードの共有データにアクセスする共有データアクセスシステムに関するものである。 The present invention relates to a shared data access system in which a plurality of client nodes access shared data of a server node.
生産システムでは、各工程を担当する複数のクライアントノードが、データ共有サービスを提供するサーバノードの共有データにアクセスする、共有データアクセスシステムの形態をとる。 The production system takes the form of a shared data access system in which a plurality of client nodes in charge of each process access shared data of a server node that provides a data sharing service.
図3は、従来の共有データアクセスシステムの構成例を示す機能ブロック図である。1及び2は複数台のクライアントノード中の2台を示す。11及び21は、これらクライアントノードで稼動するアプリケーションである。3は、これらクライアントノードが接続される通信バスである。
FIG. 3 is a functional block diagram showing a configuration example of a conventional shared data access system.
4,5,6は、データ共有サービスを提供する複数台のサーバノード中の3台を示す。これらサーバノードは、通信バス3に接続されてクライアントノードからのアクセスで自己の保持するデータを提供する。
41は、サーバノード4が備えるデータベースであり、DATA1は、これに保持された共有データである。クライアントノード1及び2は、サーバノード4にアクセスし、アプリケーション11及び21は、共有データDATA1を取得して所定の処理を実行する。
Reference numeral 41 denotes a database provided in the
NT1は、アプリケーション11とサーバノード4間のデータの転送時間である。NT2は、アプリケーション21とサーバノード4間のデータの転送時間である。NT3は、アプリケーション11からアプリケーション21に処理を要求する場合のアプリケーション間のデータの転送時間である。これら転送時間は、ネットワーク遅延などで変化する。
NT1 is a data transfer time between the
図3のシステムは、次のように動作する。
(1)アプリケーション11とアプリケーション21がDATA1を共有参照している。
(2)ある時刻にDATA1の値がV1からV2に変化する。
(3)NT1後、アプリケーション11の値がV1からV2に変化する。
(4)アプリケーション11は、アプリケーション21にDATA1の値を使用して処理 を行うように要求を出す。
(5)NT2後、アプリケーション21の値がV1からV2に変化する。
(6)(NT1+NT3)後、アプリケーション21は(4)の要求を受信し、DATA 1の値V2を使用して、ある処理を実行する。
The system of FIG. 3 operates as follows.
(1)
(2) The value of DATA1 changes from V1 to V2 at a certain time.
(3) After NT1, the value of the
(4) The
(5) After NT2, the value of the
(6) After (NT1 + NT3), the
特許文献1には、複数のバスマスタから共有メモリにアクセス可能にした情報処理装置が記載されている。
前述の動作において(NT1+NT3)<NT2の場合、(5)と(6)の実行順序は逆になり、(6)→(5)の順序でこのシステムは動作する。この場合(6)時点では、まだアプリケーション21の持つDATA1の値はV1であり、アプリケーション21はV1を使用することになる。この結果、このシステムは期待どおりの動作を行うことができないという問題がある。
In the above operation, when (NT1 + NT3) <NT2, the execution order of (5) and (6) is reversed, and this system operates in the order of (6) → (5). In this case, at the time (6), the value of DATA1 that the
本発明は上述した問題点を解決するためになされたものであり、ネットワーク遅延などによるデータ転送時間差によって、データを共有しているシステムが誤動作を引き起こすことがない共有データアクセスシステムの実現を目的としている。 The present invention has been made to solve the above-described problems, and aims to realize a shared data access system in which a system sharing data does not cause a malfunction due to a difference in data transfer time due to a network delay or the like. Yes.
このような課題を達成するために、本発明は次の通りの構成になっている。
(1)複数のクライアントノードが通信インターフェースを介してサーバノードの共有データにアクセスする共有データアクセスシステムにおいて、
前記複数のクライアントノード内のアプリケーションと前記サーバノード間のデータ転送時間中の最長転送時間よりも短い時間で転送可能な特定サーバノードを、前記複数のクライアントノードの前記通信インターフェースに保持された前記転送時間情報を取得して検索する特定サーバノード検索手段と、
前記共有データを、検索された前記特定サーバノードに移動させる共有データ移動手段と、前記複数のクライアントノードのアクセス先を、前記特定サーバノードに変更させるアクセス先変更手段と、
前記複数のクライアントノードと前記サーバノード間の転送時間を、前記複数のクライアントノードの前記通信インターフェースに設けられた遅延手段により調整する、転送時間調整手段と、
を備えたことを特徴とする共有データアクセスシステム。
In order to achieve such a subject, the present invention has the following configuration.
(1) In a shared data access system in which a plurality of client nodes access shared data of a server node via a communication interface ,
The specific server node that can be transferred in a time shorter than the longest transfer time in the data transfer time between the application in the plurality of client nodes and the server node , the transfer held in the communication interface of the plurality of client nodes Specific server node search means for acquiring time information and searching;
Shared data moving means for moving the shared data to the searched specific server node; access destination changing means for changing the access destination of the plurality of client nodes to the specific server node;
A transfer time adjusting means for adjusting a transfer time between the plurality of client nodes and the server node by a delay means provided in the communication interface of the plurality of client nodes ;
A shared data access system comprising:
(2)前記転送時間調整手段は、前記複数のクライアントノードの転送時間を、夫々の転送時間と前記最長転送時間との差に基づいて調整することを特徴とする(1)に記載の共有データアクセスシステム。 (2) The shared data according to (1), wherein the transfer time adjusting unit adjusts transfer times of the plurality of client nodes based on a difference between each transfer time and the longest transfer time. Access system.
(3)前記特定サーバノード検索手段は、前記複数のクライアントノードと前記特定サーバノードとの転送時間を、統計処理して計測することを特徴とする(1)に記載の共有データアクセスシステム。 (3) The shared data access system according to (1), wherein the specific server node search unit measures a transfer time between the plurality of client nodes and the specific server node by performing statistical processing.
以上説明したことから明らかなように、本発明によれば次のような効果がある。
(1)ある時刻において、複数アプリケーションが参照する共有データの同値性が保証される。
As is apparent from the above description, the present invention has the following effects.
(1) The equivalence of shared data referred to by a plurality of applications is guaranteed at a certain time.
(2)同値性が保証されるため、これに依存した処理の誤動作を避けることができる。 (2) Since equivalence is guaranteed, malfunction of processing depending on this can be avoided.
(3)同値性が保証されるため、アプリケーションでこれを意識する必要がなくなり、システムの設計が容易となる。 (3) Since equivalence is guaranteed, there is no need to be aware of this in the application, and the system design becomes easy.
以下、本発明を図面により詳細に説明する。図1は本発明を適用した共有データアクセスシステムの一実施形態を示す機能ブロック図である。図3で説明した従来システムと同一要素には同一符号を付して説明を省略する。以下、本発明の特徴部につき説明する。 The present invention will be described in detail below with reference to the drawings. FIG. 1 is a functional block diagram showing an embodiment of a shared data access system to which the present invention is applied. The same elements as those of the conventional system described with reference to FIG. Hereinafter, the characteristic part of the present invention will be described.
図1において、100は本発明の特徴部を形成する管理装置であり、通信バス3に接続されて複数のクライアントノード及び複数のサーバノードと通信する。管理装置100において、101は特定サーバノード検索手段、102は制御手段、103は共有データ移動手段、104はアクセス先変更手段、105は転送時間調整手段である。
In FIG. 1,
アプリケーション11とサーバノード4の転送時間をNT1、アプリケーション21とサーバノード4の転送時間をNT2、アプリケーション11とサーバノード5の転送時間をNT1´、アプリケーション21とサーバノード5の転送時間をNT2´とし、NT1>NT2、NT1´>NT2´と仮定する。
The transfer time between
アプリケーション11がサーバノード4の共有データを参照し、同時に転送時間NT1を記録する。記録情報は通信インターフェース12内にa1として保持される。同様に、アプリケーション21がサーバノード4の共有データを参照し、同時に転送時間NT2を記録する。記録情報は通信インターフェース22内にa2として保持される。
The
特定サーバノード検索手段101は、クライアントノードの通信インターフェース12及び22の記録情報a1及びa2を取得し、クライアントノード中の最長転送時間よりも短い時間で転送可能なサーバノードを検索する。この検索で条件を満足するサーバノードとしてサーバノード5が検索された場合には、これを特定サーバノードとする。
The specific server
検索された特定サーバノードの情報は、制御手段102に渡される。制御手段102は、この特定サーバ情報に基づいて共有データ移動手段103を制御して指令b1及びb2をサーバノード4及び5に出力させ、サーバノード4のデータベース41に保持されていた共有データDATA1を、サーバノード5のデータベース51に移動させる。
Information on the retrieved specific server node is passed to the control means 102. The control unit 102 controls the shared
同時に、制御手段102は、アクセス先変更手段104を制御して指令c1及びc2をクライアントノード1及び2の通信インターフェース12及び22に出力させ、これらクライアントノードのアクセス先を当初設定のサーバノード4から特定サーバノード5に自動変更させる。ユーザはこの自動変更を意識することはない。
At the same time, the control unit 102 controls the access
同時に、制御手段102は、転送時間調整手段104を制御して指令d1及びd2をクライアントノード1及び2の通信インターフェースに出力させ、これらクライアントノードの前記複数のクライアントノードと前記サーバノード間の転送時間を、夫々の転送時間と前記最長転送時間との差に基づいて調整する。
At the same time, the control unit 102 controls the transfer
具体的には、アプリケーション11と特定サーバノード5間の転送時間NT1´に、調整時間(NT2´−NT1´)を付加し、アプリケーション11及びアプリケーション21と特定サーバノード5間のデータ転送時間を、共にNT2´に等しくする。転送時間の調整(遅くする)は、通信インターフェース内に備えた遅延手段により実行される。
Specifically, the adjustment time (NT2′-NT1 ′) is added to the transfer time NT1 ′ between the
図2は、管理装置100により実行される一連のシーケンスによるアクセス状態の変化を示す遷移図である。特定サーバノード5が検索されると、サーバノード4に保持されていた共有データDATA1は、特定サーバノード5に移動される。同時に、アプリケーション11及び21のアクセス先が特定サーバノード5に変更される。更に、アプリケーション11と特定サーバノード5間の転送時間がNT1´からNT2´に調整される。
FIG. 2 is a transition diagram illustrating a change in access state according to a series of sequences executed by the
このような変更シーケンスは、管理装置100によりシステムの転送時間をリアルタイム監視して自動的に実行され、アプリケーションが参照する共有データの同値性が保証される。ユーザはこれを意識することなく、システムの運営を継続することができる。
Such a change sequence is automatically executed by the
各クライアントノードとサーバノード間の転送時間は、ネットワークの状況でダイナミック変化する。従って、転送時間を統計処理(最も簡単には平均処理)して計測することで、特定サーバノード検索の精度を向上させることができる。 The transfer time between each client node and server node changes dynamically depending on the network conditions. Therefore, the accuracy of the specific server node search can be improved by measuring the transfer time by statistical processing (in the simplest case, average processing).
更には、転送時間を、各クライアントとサーバノード間の共有リソース処理のスループットを反映して計測することで、共有リソースの移動が一箇所に集中せず、最適な特定サーバに移動させる精度を向上させることができる。 Furthermore, by measuring the transfer time reflecting the throughput of shared resource processing between each client and server node, the movement of shared resources is not concentrated in one place, improving the accuracy of moving to the optimal specific server. Can be made.
1,2 クライアントノード
11,21 アプリケーション
12,22 通信I/F
3 通信バス
4 サーバノード
5 特定サーバノード
41,51 データベース
42,52 通信I/F
100 管理装置
101 特定サーバノード検索手段
102 制御手段
103 共有データ移動手段
104 アクセス先変更手段
105 転送時間調整手段
1, 2
3
DESCRIPTION OF
Claims (3)
前記複数のクライアントノード内のアプリケーションと前記サーバノード間のデータ転送時間中の最長転送時間よりも短い時間で転送可能な特定サーバノードを、前記複数のクライアントノードの前記通信インターフェースに保持された前記転送時間情報を取得して検索する特定サーバノード検索手段と、
前記共有データを、検索された前記特定サーバノードに移動させる共有データ移動手段と、前記複数のクライアントノードのアクセス先を、前記特定サーバノードに変更させるアクセス先変更手段と、
前記複数のクライアントノードと前記サーバノード間の転送時間を、前記複数のクライアントノードの前記通信インターフェースに設けられた遅延手段により調整する、転送時間調整手段と、
を備えたことを特徴とする共有データアクセスシステム。 In a shared data access system in which a plurality of client nodes access shared data of a server node via a communication interface ,
The specific server node that can be transferred in a time shorter than the longest transfer time in the data transfer time between the application in the plurality of client nodes and the server node , the transfer held in the communication interface of the plurality of client nodes Specific server node search means for acquiring time information and searching;
Shared data moving means for moving the shared data to the searched specific server node; access destination changing means for changing the access destination of the plurality of client nodes to the specific server node;
A transfer time adjusting means for adjusting a transfer time between the plurality of client nodes and the server node by a delay means provided in the communication interface of the plurality of client nodes ;
A shared data access system comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005270527A JP4742769B2 (en) | 2005-09-16 | 2005-09-16 | Shared data access system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005270527A JP4742769B2 (en) | 2005-09-16 | 2005-09-16 | Shared data access system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007080195A JP2007080195A (en) | 2007-03-29 |
JP4742769B2 true JP4742769B2 (en) | 2011-08-10 |
Family
ID=37940409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005270527A Active JP4742769B2 (en) | 2005-09-16 | 2005-09-16 | Shared data access system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4742769B2 (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3307894B2 (en) * | 1999-06-22 | 2002-07-24 | 三菱電機株式会社 | Communication method |
JP2001198363A (en) * | 1999-09-14 | 2001-07-24 | Sega Corp | Data processing method |
JP2001290787A (en) * | 2000-04-10 | 2001-10-19 | Ntt Communications Kk | Data distribution method and storage medium with data distribution program stored therein |
-
2005
- 2005-09-16 JP JP2005270527A patent/JP4742769B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2007080195A (en) | 2007-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831562B2 (en) | Method and system for operating a data center by reducing an amount of data to be processed | |
US10679210B2 (en) | Blockchain transaction commitment ordering | |
JP6457447B2 (en) | Data center network traffic scheduling method and apparatus | |
US7680908B2 (en) | State replication | |
US20070162517A1 (en) | Separation of conflict resolution from synchronization | |
Traub et al. | Optimized on-demand data streaming from sensor nodes | |
WO2015149644A1 (en) | Intelligent file pre-fetch based on access patterns | |
EP3028167A1 (en) | Data stream processing using a distributed cache | |
JP2019016042A (en) | Data acquisition program, device, and method | |
US8412676B2 (en) | Forgetting items with knowledge based synchronization | |
US20240104031A1 (en) | Forwarding incoming io to scm namespaces | |
US10516628B2 (en) | Transfer device, transfer system, and transfer method | |
CN107566341B (en) | Data persistence storage method and system based on federal distributed file storage system | |
US20220214832A1 (en) | Prefetching metadata in a storage system | |
JP4742769B2 (en) | Shared data access system | |
CN116301667B (en) | Database system, data access method, device, equipment and storage medium | |
US20230059072A1 (en) | Configuring unused scm memory space to support namespaces based on io patterns | |
KR102555907B1 (en) | A vehicle and method for controlling communication thereof | |
TW201133347A (en) | Reducing overheads in application processing | |
US20170154064A9 (en) | Forgetting items with knowledge based synchronization | |
EP3761174A1 (en) | Switching program, switching apparatus, and switching method | |
CN114285784B (en) | Data transmission and pipeline construction method, device, computing equipment and storage medium | |
WO2016201704A1 (en) | Optical switch control method and device | |
JP5449471B2 (en) | Method for synchronous processing of update processing for shared data, data sharing system, and data sharing program | |
US20240048452A1 (en) | Generating a network topology for multiple wireless intelligent devices of a single distributed local network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080702 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101126 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101130 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101229 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110412 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110425 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140520 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4742769 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |