JP4742769B2 - Shared data access system - Google Patents

Shared data access system Download PDF

Info

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
Application number
JP2005270527A
Other languages
Japanese (ja)
Other versions
JP2007080195A (en
Inventor
光 北村
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2005270527A priority Critical patent/JP4742769B2/en
Publication of JP2007080195A publication Critical patent/JP2007080195A/en
Application granted granted Critical
Publication of JP4742769B2 publication Critical patent/JP4742769B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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. Reference numerals 1 and 2 denote two of a plurality of client nodes. Reference numerals 11 and 21 denote applications that run on these client nodes. Reference numeral 3 denotes a communication bus to which these client nodes are connected.

4,5,6は、データ共有サービスを提供する複数台のサーバノード中の3台を示す。これらサーバノードは、通信バス3に接続されてクライアントノードからのアクセスで自己の保持するデータを提供する。   Reference numerals 4, 5, and 6 denote three of a plurality of server nodes that provide a data sharing service. These server nodes are connected to the communication bus 3 and provide data held by the client nodes upon access from the client nodes.

41は、サーバノード4が備えるデータベースであり、DATA1は、これに保持された共有データである。クライアントノード1及び2は、サーバノード4にアクセスし、アプリケーション11及び21は、共有データDATA1を取得して所定の処理を実行する。   Reference numeral 41 denotes a database provided in the server node 4, and DATA1 is shared data held therein. The client nodes 1 and 2 access the server node 4, and the applications 11 and 21 acquire the shared data DATA1 and execute a predetermined process.

NT1は、アプリケーション11とサーバノード4間のデータの転送時間である。NT2は、アプリケーション21とサーバノード4間のデータの転送時間である。NT3は、アプリケーション11からアプリケーション21に処理を要求する場合のアプリケーション間のデータの転送時間である。これら転送時間は、ネットワーク遅延などで変化する。   NT1 is a data transfer time between the application 11 and the server node 4. NT2 is a data transfer time between the application 21 and the server node 4. NT3 is the data transfer time between applications when the application 11 requests the application 21 for processing. These transfer times vary due to network delays and the like.

図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) Application 11 and application 21 share and reference DATA1.
(2) The value of DATA1 changes from V1 to V2 at a certain time.
(3) After NT1, the value of the application 11 changes from V1 to V2.
(4) The application 11 issues a request to the application 21 to perform processing using the value of DATA1.
(5) After NT2, the value of the application 21 changes from V1 to V2.
(6) After (NT1 + NT3), the application 21 receives the request in (4) and executes a certain process using the value V2 of DATA 1.

特許文献1には、複数のバスマスタから共有メモリにアクセス可能にした情報処理装置が記載されている。   Patent Document 1 describes an information processing apparatus in which a shared memory can be accessed from a plurality of bus masters.

特開平6−259315号公報JP-A-6-259315

前述の動作において(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 application 21 still has is V1, and the application 21 uses V1. As a result, there is a problem that this system cannot operate as expected.

本発明は上述した問題点を解決するためになされたものであり、ネットワーク遅延などによるデータ転送時間差によって、データを共有しているシステムが誤動作を引き起こすことがない共有データアクセスシステムの実現を目的としている。   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, reference numeral 100 denotes a management apparatus that forms a feature of the present invention, and is connected to a communication bus 3 to communicate with a plurality of client nodes and a plurality of server nodes. In the management apparatus 100, 101 is a specific server node search means, 102 is a control means, 103 is a shared data moving means, 104 is an access destination changing means, and 105 is a transfer time adjusting means.

アプリケーション11とサーバノード4の転送時間をNT1、アプリケーション21とサーバノード4の転送時間をNT2、アプリケーション11とサーバノード5の転送時間をNT1´、アプリケーション21とサーバノード5の転送時間をNT2´とし、NT1>NT2、NT1´>NT2´と仮定する。   The transfer time between application 11 and server node 4 is NT1, the transfer time between application 21 and server node 4 is NT2, the transfer time between application 11 and server node 5 is NT1 ', and the transfer time between application 21 and server node 5 is NT2'. , NT1> NT2 and NT1 ′> NT2 ′.

アプリケーション11がサーバノード4の共有データを参照し、同時に転送時間NT1を記録する。記録情報は通信インターフェース12内にa1として保持される。同様に、アプリケーション21がサーバノード4の共有データを参照し、同時に転送時間NT2を記録する。記録情報は通信インターフェース22内にa2として保持される。   The application 11 refers to the shared data of the server node 4 and simultaneously records the transfer time NT1. The recorded information is held as a1 in the communication interface 12. Similarly, the application 21 refers to the shared data of the server node 4 and simultaneously records the transfer time NT2. The recorded information is held as a2 in the communication interface 22.

特定サーバノード検索手段101は、クライアントノードの通信インターフェース12及び22の記録情報a1及びa2を取得し、クライアントノード中の最長転送時間よりも短い時間で転送可能なサーバノードを検索する。この検索で条件を満足するサーバノードとしてサーバノード5が検索された場合には、これを特定サーバノードとする。   The specific server node search unit 101 acquires the record information a1 and a2 of the communication interfaces 12 and 22 of the client node, and searches for a server node that can be transferred in a time shorter than the longest transfer time in the client node. When the server node 5 is searched as a server node that satisfies the conditions in this search, this is set as a specific server node.

検索された特定サーバノードの情報は、制御手段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 data moving unit 103 based on the specific server information to output the commands b1 and b2 to the server nodes 4 and 5, and the shared data DATA1 held in the database 41 of the server node 4 is stored. To the database 51 of the server node 5.

同時に、制御手段102は、アクセス先変更手段104を制御して指令c1及びc2をクライアントノード1及び2の通信インターフェース12及び22に出力させ、これらクライアントノードのアクセス先を当初設定のサーバノード4から特定サーバノード5に自動変更させる。ユーザはこの自動変更を意識することはない。   At the same time, the control unit 102 controls the access destination changing unit 104 to output the commands c1 and c2 to the communication interfaces 12 and 22 of the client nodes 1 and 2, and the access destination of these client nodes is changed from the initially set server node 4. The specific server node 5 is automatically changed. The user is not aware of this automatic change.

同時に、制御手段102は、転送時間調整手段104を制御して指令d1及びd2をクライアントノード1及び2の通信インターフェースに出力させ、これらクライアントノードの前記複数のクライアントノードと前記サーバノード間の転送時間を、夫々の転送時間と前記最長転送時間との差に基づいて調整する。   At the same time, the control unit 102 controls the transfer time adjusting unit 104 to output the commands d1 and d2 to the communication interfaces of the client nodes 1 and 2, and the transfer times between the plurality of client nodes of the client nodes and the server node. Is adjusted based on the difference between each transfer time and the longest transfer time.

具体的には、アプリケーション11と特定サーバノード5間の転送時間NT1´に、調整時間(NT2´−NT1´)を付加し、アプリケーション11及びアプリケーション21と特定サーバノード5間のデータ転送時間を、共にNT2´に等しくする。転送時間の調整(遅くする)は、通信インターフェース内に備えた遅延手段により実行される。   Specifically, the adjustment time (NT2′-NT1 ′) is added to the transfer time NT1 ′ between the application 11 and the specific server node 5, and the data transfer time between the application 11 and the application 21 and the specific server node 5 is Both are made equal to NT2 '. The transfer time is adjusted (delayed) by delay means provided in the communication interface.

図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 management apparatus 100. When the specific server node 5 is searched, the shared data DATA1 held in the server node 4 is moved to the specific server node 5. At the same time, the access destinations of the applications 11 and 21 are changed to the specific server node 5. Furthermore, the transfer time between the application 11 and the specific server node 5 is adjusted from NT1 ′ to NT2 ′.

このような変更シーケンスは、管理装置100によりシステムの転送時間をリアルタイム監視して自動的に実行され、アプリケーションが参照する共有データの同値性が保証される。ユーザはこれを意識することなく、システムの運営を継続することができる。   Such a change sequence is automatically executed by the management apparatus 100 by monitoring the transfer time of the system in real time, and the equivalence of the shared data referred to by the application is guaranteed. The user can continue to operate the system without being aware of this.

各クライアントノードとサーバノード間の転送時間は、ネットワークの状況でダイナミック変化する。従って、転送時間を統計処理(最も簡単には平均処理)して計測することで、特定サーバノード検索の精度を向上させることができる。   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.

本発明を適用した共有データアクセスシステムの一実施形態を示す機能ブロック図である。It is a functional block diagram which shows one Embodiment of the shared data access system to which this invention is applied. 管理装置により実行される一連のシーケンスによるアクセス状態の変化を示す遷移図である。It is a transition diagram which shows the change of the access state by the series of sequences performed by the management apparatus. 従来の共有データアクセスシステム構成例を示す機能ブロック図である。It is a functional block diagram which shows the example of a conventional shared data access system structure.

符号の説明Explanation of symbols

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 Client node 11, 21 Application 12, 22 Communication I / F
3 Communication bus 4 Server node 5 Specific server node 41, 51 Database 42, 52 Communication I / F
DESCRIPTION OF SYMBOLS 100 Management apparatus 101 Specific server node search means 102 Control means 103 Shared data movement means 104 Access destination change means 105 Transfer time adjustment means

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:
前記転送時間調整手段は、前記複数のクライアントノードの転送時間を、夫々の転送時間と前記最長転送時間との差に基づいて調整することを特徴とする請求項1に記載の共有データアクセスシステム。 2. The shared data access system according to claim 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. 前記特定サーバノード検索手段は、前記複数のクライアントノードと前記特定サーバノードとの転送時間を、統計処理して計測することを特徴とする請求項1に記載の共有データアクセスシステム。 2. The shared data access system according to claim 1, wherein the specific server node search means measures the transfer time between the plurality of client nodes and the specific server node by performing statistical processing.
JP2005270527A 2005-09-16 2005-09-16 Shared data access system Active JP4742769B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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