JP6384289B2 - Synchronization processing apparatus, synchronization processing system, synchronization processing method, and synchronization processing program - Google Patents

Synchronization processing apparatus, synchronization processing system, synchronization processing method, and synchronization processing program Download PDF

Info

Publication number
JP6384289B2
JP6384289B2 JP2014238828A JP2014238828A JP6384289B2 JP 6384289 B2 JP6384289 B2 JP 6384289B2 JP 2014238828 A JP2014238828 A JP 2014238828A JP 2014238828 A JP2014238828 A JP 2014238828A JP 6384289 B2 JP6384289 B2 JP 6384289B2
Authority
JP
Japan
Prior art keywords
data
synchronization
communication data
update
virtual machine
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
JP2014238828A
Other languages
Japanese (ja)
Other versions
JP2016099946A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2014238828A priority Critical patent/JP6384289B2/en
Publication of JP2016099946A publication Critical patent/JP2016099946A/en
Application granted granted Critical
Publication of JP6384289B2 publication Critical patent/JP6384289B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、同期処理装置、同期処理システム、同期処理方法、および、同期処理プログラム、特に、複数の装置が有するデータの同期を行う同期処理装置、同期処理システム、同期処理方法、および、同期処理プログラムに関する。   The present invention relates to a synchronization processing device, a synchronization processing system, a synchronization processing method, and a synchronization processing program, and in particular, a synchronization processing device, a synchronization processing system, a synchronization processing method, and a synchronization processing for synchronizing data of a plurality of devices. Regarding the program.

特許文献1は、加入者情報管理装置(HSS:Home Subscriber Server)を含む通信システムを開示する。HSSは、加入者の識別情報と当該加入者に提供するサービス情報を含む加入者データを記憶し、当該加入者の端末にサービスを提供する。   Patent Document 1 discloses a communication system including a subscriber information management device (HSS: Home Subscriber Server). The HSS stores subscriber data including subscriber identification information and service information provided to the subscriber, and provides services to the subscriber's terminal.

この通信システムは、A系とB系の2つのHSSを包含する冗長構成を採用している。加入者は、A系またはB系のHSSと通信して加入者データの利用・変更を行う。2つのHSSは、周期的に加入者データのコピー処理を互いに行ってデータを同期させる。このため、加入者は、一方のHSSで更新した加入者データに基づいて、他方のHSSからサービス提供を受けることが出来る。   This communication system employs a redundant configuration including two HSSs of A system and B system. The subscriber communicates with the A-system or B-system HSS to use / change the subscriber data. The two HSSs periodically synchronize data by mutually copying subscriber data. For this reason, the subscriber can receive service provision from the other HSS based on the subscriber data updated by one HSS.

特開2009−278435号公報JP 2009-278435 A

特許文献1が開示する2つのHSSは、周期的に加入者データの同期を行う。したがって、どちらかのHSSに障害が発生したとき、障害が発生する直前の周期の加入者データが消失する。   The two HSSs disclosed in Patent Document 1 periodically synchronize subscriber data. Therefore, when a failure occurs in either HSS, subscriber data in the cycle immediately before the failure is lost.

この加入者データ消失を防止する為に、2つのHSSの加入者データをリアルタイムに同期することが考えられる。しかし、2つのHSSが地域間の2重化による冗長を行っている場合、リアルタイム同期では、距離による同期遅延が発生し処理能力が低下する。   In order to prevent this loss of subscriber data, it is conceivable to synchronize two HSS subscriber data in real time. However, when two HSSs are redundant by inter-region redundancy, in real-time synchronization, a synchronization delay due to distance occurs and processing capacity decreases.

この処理能力低下を防止する為には、地域間の2重化を行ったうえで、地域ごとに2重化構成を採用し、同一地域内のHSS間では加入者データをリアルタイムに同期することが考えられる。しかし、この構成は4重化の冗長構成となってしまい、大量のリソースを消費する。   In order to prevent this reduction in processing capacity, after duplicating between regions, adopt a duplex configuration for each region, and synchronize subscriber data in real time between HSSs in the same region. Can be considered. However, this configuration becomes a quadruple redundant configuration and consumes a large amount of resources.

本発明は、上述の課題を解決するための同期処理装置、同期処理システム、同期処理方法、および、同期処理プログラムを提供することを目的とする。   An object of the present invention is to provide a synchronization processing device, a synchronization processing system, a synchronization processing method, and a synchronization processing program for solving the above-described problems.

本発明の一実施形態の同期処理装置は、仮想計算機内で動作する手段であって、端末装置から受信した通信データから更新データを抽出して、前記仮想計算機がアクセスするファイルを更新するとともに、更新データを含む同期データを他装置に送信する業務処理手段と、1)前記業務処理手段が端末装置から受信する通信データを、前記仮想計算機を動作させる制御手段から取得して保持し、前記業務処理手段による同期データの送信失敗を検出すると、保持している通信データを他装置に送信し、また、2)他装置が保持していた通信データを受信すると更新データを抽出して、前記ファイルを更新する監視手段とを備える。   The synchronization processing apparatus according to an embodiment of the present invention is a unit that operates in a virtual computer, extracts update data from communication data received from a terminal device, updates a file accessed by the virtual computer, Business processing means for transmitting synchronous data including update data to another device; and 1) communication data received by the business processing means from a terminal device is acquired from a control means for operating the virtual machine and retained, and the business processing means When the synchronization data transmission failure is detected by the processing means, the held communication data is transmitted to the other device. 2) When the communication data held by the other device is received, the update data is extracted and the file is extracted. Monitoring means for updating.

本発明の一実施形態の同期処理方法は、端末装置から受信した通信データから更新データを抽出して、ファイルを更新するとともに、更新データを含む同期データを他装置に送信する業務処理を、仮想計算機内で実行し、1)前記業務処理において端末装置から受信する通信データを、前記仮想計算機を実行させる制御手段から取得して保持し、前記業務処理における同期データの送信失敗を検出すると、保持している通信データを他装置に送信し、また、2)他装置が保持していた通信データを受信すると更新データを抽出して、前記ファイルを更新する監視処理を前記仮想計算機外で実行する。   A synchronization processing method according to an embodiment of the present invention is a virtual processing method that extracts update data from communication data received from a terminal device, updates a file, and transmits synchronization data including the update data to another device. 1) The communication data received from the terminal device in the business process is acquired and held from the control means for executing the virtual machine, and held when synchronization data transmission failure is detected in the business process. 2) When the communication data held by the other device is received, update data is extracted and the monitoring process for updating the file is executed outside the virtual machine. .

本発明の一実施形態の同期処理プログラムは、仮想計算機によって実行されて、端末装置から受信した通信データから更新データを抽出して、ファイルを更新するとともに、更新データを含む同期データを他装置に送信する業務処理を実行する業務処理プログラムと、前記仮想計算機を実行するコンピュータにより前記仮想計算機外で実行され、1)前記業務処理において端末装置から受信する通信データを、前記仮想計算機を実行させる制御手段から取得して保持し、前記業務処理における同期データの送信失敗を検出すると、保持している通信データを他装置に送信し、また、2)他装置が保持していた通信データを受信すると更新データを抽出して、前記ファイルを更新する監視処理を実行する監視プログラムとを、包含する   A synchronization processing program according to an embodiment of the present invention is executed by a virtual machine, extracts update data from communication data received from a terminal device, updates a file, and transmits synchronization data including the update data to another device. A business process program that executes a business process to be transmitted and a computer that is executed outside the virtual machine by a computer that executes the virtual machine. 1) Control that causes the virtual machine to execute communication data received from a terminal device in the business process. When the synchronization data transmission failure in the business process is detected, the communication data held is transmitted to the other device, and 2) the communication data held by the other device is received. Including a monitoring program that extracts update data and executes a monitoring process for updating the file.

本発明にかかる同期処理装置は、複数の装置間で行われる周期的なデータの同期で、データ消失を効率的に防止することができる。   The synchronization processing apparatus according to the present invention can efficiently prevent data loss due to periodic data synchronization performed between a plurality of apparatuses.

図1は、仮想化されたHSSを備える同期化装置10を含む同期化処理システム90の構成例を示す。FIG. 1 shows a configuration example of a synchronization processing system 90 including a synchronization device 10 having a virtualized HSS. 図2は、仮想HSS上のHSS_APLと対向装置72の間の通信データ71の流れを示す。FIG. 2 shows a flow of communication data 71 between the HSS_APL on the virtual HSS and the opposite device 72. 図3は、監視プログラム40を備えた同期処理装置10の構成を示す図である。FIG. 3 is a diagram illustrating a configuration of the synchronization processing apparatus 10 including the monitoring program 40. 図4は、監視プログラム40の処理を説明する為の図である。FIG. 4 is a diagram for explaining the processing of the monitoring program 40. 図5は、第2の実施の形態にかかる同期処理装置10の構成を示す図である。FIG. 5 is a diagram illustrating a configuration of the synchronization processing device 10 according to the second embodiment.

<第1の実施の形態>
本実施の形態において、HSSは仮想化される。図1は、仮想化されたHSSを備える同期処理装置10を含む同期処理システム90の構成例を示す。
<First Embodiment>
In this embodiment, the HSS is virtualized. FIG. 1 shows a configuration example of a synchronization processing system 90 including a synchronization processing apparatus 10 having a virtualized HSS.

本実施の形態において、同期処理装置10はコンピュータ装置である。同期処理装置10は、仮想計算機20を生成して実行させる為のプログラムである仮想計算機モニタ31、及び、その実行環境を与えるホストOS30(Operating System)を備える。   In the present embodiment, the synchronization processing device 10 is a computer device. The synchronous processing apparatus 10 includes a virtual machine monitor 31 that is a program for generating and executing the virtual machine 20, and a host OS 30 (Operating System) that provides an execution environment thereof.

ここで、ホストOS30は、例えば、Linux(登録商標)である。仮想計算機モニタ31は、例えば、KVM(Kernel-based Virtual Machine)である。ホストOS30と仮想計算機モニタ31は、統合された仮想計算機専用の基盤ソフトウェアであっても良い。   Here, the host OS 30 is, for example, Linux (registered trademark). The virtual machine monitor 31 is, for example, a KVM (Kernel-based Virtual Machine). The host OS 30 and the virtual machine monitor 31 may be integrated base software dedicated to the virtual machine.

仮想計算機モニタ31、及び、ホストOS30は、協働して仮想計算機20を実行させる。本実施形態において、この仮想計算機20が、仮想化されたHSS(以降、仮想HSS)である。   The virtual machine monitor 31 and the host OS 30 cooperate to cause the virtual machine 20 to be executed. In the present embodiment, the virtual computer 20 is a virtualized HSS (hereinafter referred to as a virtual HSS).

仮想HSSは、その内部で、ゲストOS23と業務処理プログラム21を実行する。ここで、ゲストOS23は、例えば、Linux(登録商標)である。業務処理プログラム21は、HSSの業務を処理するアプリケーションプログラム(以降、HSS_APL)である。   The virtual HSS executes the guest OS 23 and the business processing program 21 therein. Here, the guest OS 23 is, for example, Linux (registered trademark). The business processing program 21 is an application program (hereinafter referred to as HSS_APL) that processes HSS business.

また、HSSは、仮想計算機20内のHSS_APLがアクセスする業務ファイル22を備える。業務ファイル22は、例えば、利用者情報を格納している。HSS_APLは、例えば、利用者の端末装置と通信データ71の送受信を行い、a)通信データ71から利用者情報更新データを抽出し、b)当該利用者情報更新データに基づいて、業務ファイル22に格納されている利用者情報を更新する。   The HSS also includes a business file 22 that is accessed by the HSS_APL in the virtual machine 20. The business file 22 stores user information, for example. For example, the HSS_APL performs transmission / reception of the communication data 71 with the user's terminal device, a) extracts user information update data from the communication data 71, and b) stores in the business file 22 based on the user information update data. Update stored user information.

業務ファイル22は、HSS_APLがアクセスできるファイルであればよく、必ずしも、同期処理装置10が備えている必要は無い。業務ファイル22は、同期処理装置10とネットワークで接続された他のファイルサーバ装置上に存在しても良い。   The business file 22 may be any file that can be accessed by the HSS_APL, and is not necessarily provided in the synchronization processing apparatus 10. The business file 22 may exist on another file server device connected to the synchronization processing device 10 via a network.

本実施の形態において、同期処理システム90は、複数の地域に分散配置された複数の同期処理装置10を包含する。同期処理システム90は、それら複数の同期処理装置10内の仮想HSSにより、地域間冗長構成(Geo-Redundancy)をとっている。同期処理システム90は、例えば、東京と大阪にそれぞれ、仮想HSSを備え、各々東京地区または大阪地区にいる利用者にサービスを提供している。   In the present embodiment, the synchronization processing system 90 includes a plurality of synchronization processing devices 10 distributed in a plurality of regions. The synchronization processing system 90 has an inter-region redundancy configuration (Geo-Redundancy) by the virtual HSS in the plurality of synchronization processing devices 10. The synchronization processing system 90 includes, for example, virtual HSSs in Tokyo and Osaka, respectively, and provides services to users in the Tokyo and Osaka areas, respectively.

利用者は、それらの複数の仮想HSSの何れかにアクセスして、業務ファイル22内の利用者情報の更新を行ったり、当該利用者情報に基づいて、サービスの提供を受けたりする。すなわち、利用者は、例えば、東京で東京地区の仮想HSSにアクセスして利用者情報を更新し、大阪で、大阪地区の仮想HSSにアクセスして、東京で更新した利用者情報に基づいてサービスの提供を受ける。   The user accesses any one of the plurality of virtual HSSs, updates the user information in the business file 22, and receives a service based on the user information. That is, for example, the user accesses the virtual HSS in the Tokyo area in Tokyo to update the user information, accesses the virtual HSS in the Osaka area in Osaka, and services based on the user information updated in Tokyo. Receive the offer.

したがって、複数の仮想HSSが備える業務ファイル22内に格納されている利用者情報は、同期されていなければならない。通常、この同期は、各仮想HSS上のHSS_APLが利用者の端末装置から受信した更新データを他系に送信し、他系のHSS_APLがその更新データに基づいて自系の業務ファイル22を更新することで達成される。   Therefore, the user information stored in the business file 22 included in the plurality of virtual HSSs must be synchronized. Normally, in this synchronization, the HSS_APL on each virtual HSS transmits update data received from the user's terminal device to the other system, and the other system's HSS_APL updates its own business file 22 based on the update data. Is achieved.

しかし、ある地域のHSS_APLで障害が発生すると、HSS_APLが他地域の仮想HSSへ更新データを送信できない場合がある。本実施の形態は、この課題を効率的に解決する。   However, when a failure occurs in the HSS_APL in a certain area, the HSS_APL may not be able to transmit update data to a virtual HSS in another area. The present embodiment efficiently solves this problem.

図2は、仮想HSS上のHSS_APLと対向装置72の間の通信データ71の流れを示す。ここで、対向装置72は、例えば、利用者の端末装置、および、他の同期処理装置10である。図中の双方向の矢印を持つ線分は、仮想HSS上のHSS_APLと対向装置72間の通信データ71の流れを示す。   FIG. 2 shows a flow of communication data 71 between the HSS_APL on the virtual HSS and the opposite device 72. Here, the opposing device 72 is, for example, a user terminal device and another synchronization processing device 10. A line segment having a bidirectional arrow in the figure indicates a flow of communication data 71 between the HSS_APL on the virtual HSS and the opposing device 72.

対向装置72がHSS_APLに送信した通信データ71は、同期処理装置10が備える通信ポート11、例えば、LANポート(Local Area Network)に到達し、ホストOS30で受信される。ホストOS30で受信された通信データ71は、仮想計算機モニタ31によって、仮想計算機20の仮想的な通信ポートに届けられ、ゲストOS23によって受信される。そして、ゲストOS23が、業務処理プログラム21である、HSS_APLに通信データ71を出力する。   The communication data 71 transmitted from the opposite device 72 to the HSS_APL reaches the communication port 11 provided in the synchronization processing device 10, for example, a LAN port (Local Area Network), and is received by the host OS 30. The communication data 71 received by the host OS 30 is delivered to the virtual communication port of the virtual machine 20 by the virtual machine monitor 31 and received by the guest OS 23. Then, the guest OS 23 outputs the communication data 71 to the HSS_APL that is the business processing program 21.

HSS_APLが対向装置72に送信した通信データ71は、上記と逆の流れを辿る。ここでのポイントは、HSS_APLと対向装置72間を流れる通信データ71は、すべて、ホストOS30を経由するということである。   The communication data 71 transmitted by the HSS_APL to the opposite device 72 follows the reverse flow. The point here is that all the communication data 71 flowing between the HSS_APL and the opposing device 72 passes through the host OS 30.

同期処理装置10は、このHSS_APLと対向装置72間を流れる通信データ71を監視し、必要なデータを取得する監視プログラム40を備えている。   The synchronization processing device 10 includes a monitoring program 40 that monitors the communication data 71 flowing between the HSS_APL and the opposite device 72 and acquires necessary data.

図3は、監視プログラム40を備えた同期処理装置10の構成を示す図である。監視プログラム40は、ホストOS30が提供するAPI(Application Program Interface)を利用して通信データ71を取得する。このAPIは、例えば、通信ドライバである。具体的なAPIは、ホストOS30に依存するが、このようなAPIは良く知られたものである。   FIG. 3 is a diagram illustrating a configuration of the synchronization processing apparatus 10 including the monitoring program 40. The monitoring program 40 acquires communication data 71 using an API (Application Program Interface) provided by the host OS 30. This API is, for example, a communication driver. A specific API depends on the host OS 30, but such an API is well known.

監視プログラム40は、例えば、通信ドライバ、または通信ドライバの付加ルーチンと監視用のプロセスとから構成される。なお、仮想計算機モニタ31が通信データ71の監視APIを提供している場合、監視プログラム40は、当該APIを用い通信データ71を監視しても良い。   The monitoring program 40 includes, for example, a communication driver or a communication driver addition routine and a monitoring process. When the virtual machine monitor 31 provides a monitoring API for the communication data 71, the monitoring program 40 may monitor the communication data 71 using the API.

図4は、監視プログラム40の処理を説明する為の図である。   FIG. 4 is a diagram for explaining the processing of the monitoring program 40.

A)まず、監視プログラム40は、上述したAPIを用いて通信データ71を監視し、利用者の端末装置からHSS_APLが受信する通信データ71を保持する(以降、保持されたデータを保持データと呼ぶ)。   A) First, the monitoring program 40 monitors the communication data 71 using the above-described API, and holds the communication data 71 received by the HSS_APL from the user terminal device (hereinafter, the held data is referred to as held data). ).

B)監視プログラム40は、通信データ71を監視し、HSS_APLが他の同期処理装置10に、「更新データを正常に送信していない」ことを検出すると、保持データを、他の同期処理装置10に送信する(図中のBの矢印)。この送信は、ホストOS30と通信ポート11を経由して行われる。HSS_APLが他の同期処理装置10に、更新データを正常に送信していない場合は、自系の仮想HSSに障害が発生した可能性が高い。   B) The monitoring program 40 monitors the communication data 71, and when the HSS_APL detects that "update data is not normally transmitted" to the other synchronization processing device 10, the retained data is transferred to the other synchronization processing device 10 as follows. (B arrow in the figure). This transmission is performed via the host OS 30 and the communication port 11. When the HSS_APL does not normally transmit update data to another synchronization processing apparatus 10, there is a high possibility that a failure has occurred in the own virtual HSS.

ここで、HSS_APLが周期的に更新データを他の同期処理装置10に送信している場合、監視プログラム40は、例えば、その一周期の時間を超えて同期データの送信が無ければ、「更新データを正常に送信していない」と判断する。なお、仮想計算機モニタ31が、各仮想計算機20の正常/異常を通知するAPIを備えている場合、監視プログラム40は、当該APIを用いて、仮想計算機20の異常を検出すると、「更新データを正常に送信していない」と判断しても良い。   Here, when the HSS_APL periodically transmits update data to another synchronization processing apparatus 10, the monitoring program 40, for example, if there is no transmission of synchronization data beyond the time of one cycle, “update data Is not sent normally ". When the virtual machine monitor 31 includes an API for notifying the normality / abnormality of each virtual machine 20, the monitoring program 40 detects the abnormality of the virtual machine 20 using the API, and displays “update data. It may be determined that the message is not transmitted normally.

C)なお、監視プログラム40は、HSS_APLが他の同期処理装置10に更新データを正常に送信したことを検出すると、保持データを破棄しても良い。この場合、直前の周期の自系の更新データは、他系に正常に送信されて他系の業務ファイル22に反映されたと想定できるからである。   C) It should be noted that the monitoring program 40 may discard the retained data when it detects that the HSS_APL has successfully transmitted the update data to the other synchronization processing apparatus 10. In this case, it can be assumed that the update data of the own system in the immediately preceding cycle is normally transmitted to the other system and reflected in the business file 22 of the other system.

D)他の監視プログラム40から保持データを受信した場合、監視プログラム40は、まず、1)受信した保持データ、即ち、利用者の端末から他の同期処理装置10のHSS_APLに送信された通信データ71から利用者情報更新データを抽出する。この処理は、上述した、HSS_APLのa)の処理と同じである。   D) When holding data is received from another monitoring program 40, the monitoring program 40 first 1) received holding data, that is, communication data transmitted from the user's terminal to the HSS_APL of the other synchronization processing apparatus 10. User information update data is extracted from 71. This process is the same as the above-described process a) of HSS_APL.

次に、2)監視プログラム40は、抽出した当該利用者情報更新データに基づいて、業務ファイル22を更新する(図中のDの矢印)。この処理は、上述した、HSS_APLのb)の処理と同じである。   Next, 2) the monitoring program 40 updates the business file 22 based on the extracted user information update data (arrow D in the figure). This process is the same as the above-described process b) of HSS_APL.

なお、ここで、監視プログラム40は、仮想計算機20上の業務ファイル22を、仮想計算機20の外から更新することになる。したがって、監視プログラム40は、業務ファイル22について、仮想ファイルのアドレスと当該仮想ファイルを記憶する実ファイルのアドレスとの写像規則を参照することが必要となる。このような写像規則は、業務ファイル22が当該仮想ファイル専用のディスクボリュームにアロケートされている場合は、単純なものになる。写像規則は、ボリューム単位の写像規則となるからである。無論、本実施形態における同期処理装置10は、そのような仮想ファイルのアロケーションを条件とするものではない。   Here, the monitoring program 40 updates the business file 22 on the virtual machine 20 from outside the virtual machine 20. Therefore, the monitoring program 40 needs to refer to the mapping rule between the address of the virtual file and the address of the real file storing the virtual file for the business file 22. Such a mapping rule is simple when the business file 22 is allocated to a disk volume dedicated to the virtual file. This is because the mapping rule is a volume-based mapping rule. Of course, the synchronization processing apparatus 10 according to the present embodiment does not require such virtual file allocation.

本実施の形態にかかる同期処理装置10は、複数の同期処理装置10の間で行われる周期的なファイルの同期で、更新データ消失を効率的に防止することができる。その理由は、監視プログラム40が、業務処理プログラム21による業務ファイル22の更新データ送信がなされないことを検出し、自系の業務処理プログラム21が利用者の端末装置から受信した通信データ71である保持データを他系に送信するからである。他系の監視プログラム40は、保持データを受信すると、保持データに基づいて、自系の業務ファイル22を更新して利用者情報を同期させる。   The synchronization processing apparatus 10 according to the present embodiment can efficiently prevent the loss of update data by periodic file synchronization performed between the plurality of synchronization processing apparatuses 10. The reason is that the monitoring program 40 detects that the update data of the business file 22 is not transmitted by the business processing program 21, and is the communication data 71 received by the local business processing program 21 from the user's terminal device. This is because the retained data is transmitted to another system. When the other-system monitoring program 40 receives the retained data, the other-system monitoring program 40 updates the own business file 22 and synchronizes the user information based on the retained data.

さらに、本実施の形態にかかる同期処理装置10は、高速なパケット通信においても、処理に必要なデータサイズの肥大化を防ぐことができる。その理由は、監視プログラム40が、業務処理プログラム21による業務ファイル22の同期用の更新データ送信を検出すると、保持データを破棄するからである。   Furthermore, the synchronization processing apparatus 10 according to the present embodiment can prevent an increase in data size necessary for processing even in high-speed packet communication. The reason is that when the monitoring program 40 detects transmission of update data for synchronizing the business file 22 by the business processing program 21, the retained data is discarded.

保持データのデータサイズが肥大化しないため、監視プログラム40は通信データ71の保持をメモリ上で行うことができる。そのため、同期処理装置10のディスク入出力を圧迫しない効果がある。仮想化構成では、1台のコンピュータ装置に複数の仮想化した装置が同居することがある。そのため、ディスク入出力を圧迫しない設計にすることは重要となる。   Since the data size of the retained data does not increase, the monitoring program 40 can retain the communication data 71 on the memory. Therefore, there is an effect that the disk input / output of the synchronization processing apparatus 10 is not compressed. In a virtualized configuration, a plurality of virtualized devices may coexist on one computer device. For this reason, it is important to make a design that does not put pressure on the disk input / output.

<第2の実施形態>
図5は、本実施の形態にかかる同期処理装置10の構成を示す図である。
<Second Embodiment>
FIG. 5 is a diagram illustrating a configuration of the synchronization processing device 10 according to the present embodiment.

本実施の形態にかかる同期処理装置10は、業務処理部62、および、監視部63を備える。   The synchronization processing apparatus 10 according to the present embodiment includes a business processing unit 62 and a monitoring unit 63.

業務処理部62は、仮想計算機20内で動作する部分であって、利用者の端末装置から受信した通信データ71から更新データを抽出して、仮想計算機20がアクセスするファイルを更新するとともに、更新データを含む同期データを他装置に送信する。   The business processing unit 62 operates in the virtual machine 20, extracts update data from the communication data 71 received from the user's terminal device, updates the file accessed by the virtual machine 20, and updates Synchronous data including data is transmitted to another device.

監視部63は、業務処理部62が端末装置から受信する通信データ71を、仮想計算機20を動作させる制御部から取得して保持し、業務処理部62による同期データの送信失敗を検出すると、保持している通信データ71を他の同期処理装置10に送信する。また、監視部63は、他の同期処理装置10が保持していた通信データ71を受信すると更新データを抽出して、ファイルを更新する。   The monitoring unit 63 acquires and holds the communication data 71 received from the terminal device by the business processing unit 62 from the control unit that operates the virtual computer 20. The communication data 71 being transmitted is transmitted to the other synchronization processing apparatus 10. In addition, when the monitoring unit 63 receives the communication data 71 held by another synchronization processing apparatus 10, the monitoring unit 63 extracts update data and updates the file.

ここで、制御部は、第1の実施の形態におけるホストOS30および仮想計算機モニタ31に相当するものである。但し、制御部は、仮想計算機20実行用の専用装置として、論理回路で構成されていても良い。   Here, the control unit corresponds to the host OS 30 and the virtual machine monitor 31 in the first embodiment. However, the control unit may be configured by a logic circuit as a dedicated device for executing the virtual machine 20.

業務処理部62は、第1の実施の形態における業務処理プログラム21に相当するものである。但し、業務処理部62は、仮想計算機20の環境内で動作する専用装置として、論理回路で構成されていても良い。   The business processing unit 62 corresponds to the business processing program 21 in the first embodiment. However, the business processing unit 62 may be configured with a logic circuit as a dedicated device that operates within the environment of the virtual machine 20.

なお、業務処理部62が行う業務処理は、HSSの業務処理に限られない。通信データ71から更新データを抽出し、仮想計算機20がアクセスするファイルを更新し、同期データを他の同期処理装置10に送信するのであれば、業務処理は他のものでも良い。   The business processing performed by the business processing unit 62 is not limited to the HSS business processing. As long as the update data is extracted from the communication data 71, the file accessed by the virtual machine 20 is updated, and the synchronization data is transmitted to the other synchronization processing apparatus 10, other business processes may be used.

監視部63は、第1の実施の形態における監視プログラム40に相当するものである。但し、監視部63は、専用装置として論理回路で構成されていても良い。   The monitoring unit 63 corresponds to the monitoring program 40 in the first embodiment. However, the monitoring unit 63 may be configured with a logic circuit as a dedicated device.

本実施の形態にかかる同期処理装置10は、複数の同期処理装置10間で行われる周期的なデータの同期で、データ消失を効率的に防止することができる。その理由は、監視部63が、業務処理部62によるファイルの同期用の更新データ送信がなされないことを検出すると、自系の業務処理部62が利用者の端末装置から受信した通信データ71である保持データを他系に送信するからである。他系の監視部63は、保持データを受信すると、保持データに基づいて、自系のファイルを更新する。   The synchronization processing apparatus 10 according to the present embodiment can efficiently prevent data loss by periodic data synchronization performed between the plurality of synchronization processing apparatuses 10. The reason is that when the monitoring unit 63 detects that the update data for file synchronization is not transmitted by the job processing unit 62, the communication data 71 received by the own job processing unit 62 from the user terminal device is used. This is because certain retained data is transmitted to another system. When the other-system monitoring unit 63 receives the retained data, it updates the own-system file based on the retained data.

以上、実施形態を参照して本願発明を説明したが、本願発明は上記実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。   While the present invention has been described with reference to the embodiments, the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

10 同期処理装置
11 通信ポート
20 仮想計算機
21 業務処理プログラム
22 業務ファイル
23 ゲストOS
30 ホストOS
40 監視プログラム
31 仮想計算機モニタ
62 業務処理部
63 監視部
71 通信データ
72 対向装置
90 同期処理システム
DESCRIPTION OF SYMBOLS 10 Synchronous processing apparatus 11 Communication port 20 Virtual machine 21 Business processing program 22 Business file 23 Guest OS
30 Host OS
40 Monitoring Program 31 Virtual Machine Monitor 62 Business Processing Unit 63 Monitoring Unit 71 Communication Data 72 Opposing Device 90 Synchronous Processing System

Claims (8)

仮想計算機内で動作する手段であって、端末装置から受信した通信データから更新データを抽出して、前記仮想計算機がアクセスするファイルを更新するとともに、更新データを含む同期データを他装置に送信する業務処理手段と、
1)前記業務処理手段が端末装置から受信する通信データを、前記仮想計算機を動作させる制御手段から取得して保持し、前記業務処理手段による同期データの送信失敗を検出すると、保持している通信データを他装置に送信し、また、2)他装置が保持していた通信データを受信すると更新データを抽出して、前記ファイルを更新する監視手段とを備える、同期処理装置。
A means that operates in the virtual machine, extracts update data from communication data received from a terminal device, updates a file accessed by the virtual machine, and transmits synchronous data including the update data to another device Business processing means;
1) The communication data received from the terminal device by the business processing means is acquired from the control means for operating the virtual machine and held, and when the transmission failure of the synchronous data by the business processing means is detected, the held communication data A synchronization processing apparatus comprising: monitoring means for transmitting data to another apparatus, and 2) extracting update data when communication data held by the other apparatus is received and updating the file.
前記業務処理手段は、所定期間ごとに、直前の期間内に得られた更新データを含む同期データを他装置に送信し、また、他装置から同期データを受信すると、更新データを抽出して前記ファイルを更新し、
前記監視手段は、1)同期データの送信を前記制御手段経由で検出すると、保持している通信データを破棄し、また、2)所定期間以上同期データの送出を検出しないと、前記業務処理手段が同期データの送信に失敗したと判断して、保持している通信データを他装置に送信する、請求項1の同期処理装置。
The business processing means transmits the synchronization data including the update data obtained in the immediately preceding period to the other device every predetermined period, and when receiving the synchronization data from the other device, extracts the update data and Update the file,
When the monitoring means detects 1) transmission of synchronous data via the control means, it discards the communication data it holds, and 2) if it does not detect transmission of synchronous data for a predetermined period or more, the business processing means The synchronization processing device according to claim 1, which determines that the transmission of the synchronization data has failed and transmits the held communication data to another device.
前記制御手段は、前記同期処理装置を制御するホストOSおよび前記ホストOS上で実行される仮想計算機モニタであり、
前記業務処理手段は、前記仮想計算機上で実行されるアプリケーションプログラムであって、前記仮想計算機モニタおよび前記ホストOSを経由して、端末装置および他装置と通信を実行し、
前記監視手段は、前記ホストOS上で実行されるプログラムであって、前記ホストOS経由で前記アプリケーションプログラムの通信の検出及び通信データの取得を行う、請求項1乃至2の何れか1項の同期処理装置。
The control means is a host OS that controls the synchronous processing device and a virtual machine monitor that is executed on the host OS,
The business processing means is an application program executed on the virtual computer, and communicates with a terminal device and other devices via the virtual computer monitor and the host OS,
3. The synchronization according to claim 1, wherein the monitoring unit is a program executed on the host OS, and detects communication of the application program and acquires communication data via the host OS. Processing equipment.
請求項1乃至3の何れか1項の同期処理装置、および、前記同期処理装置と同期データを通信する他装置を包含する同期処理システム。   A synchronization processing system including the synchronization processing device according to any one of claims 1 to 3 and another device that communicates synchronization data with the synchronization processing device. 端末装置から受信した通信データから更新データを抽出して、ファイルを更新するとともに、更新データを含む同期データを他装置に送信する業務処理を、仮想計算機内で実行し、
1)前記業務処理において端末装置から受信する通信データを、前記仮想計算機を実行させる制御手段から取得して保持し、前記業務処理における同期データの送信失敗を検出すると、保持している通信データを他装置に送信し、また、2)他装置が保持していた通信データを受信すると更新データを抽出して、前記ファイルを更新する監視処理を前記仮想計算機外で実行する、同期処理方法。
The update data is extracted from the communication data received from the terminal device, the file is updated, and the business process for transmitting the synchronization data including the update data to the other device is executed in the virtual machine,
1) The communication data received from the terminal device in the business process is acquired and held from the control means for executing the virtual machine, and when the synchronization data transmission failure is detected in the business process, the held communication data is 2) A synchronous processing method in which, when communication data held by another device is received, update data is extracted when the communication data held by the other device is received, and monitoring processing for updating the file is executed outside the virtual computer.
前記業務処理において、所定期間ごとに、直前の期間内に得られた更新データを含む同期データを他装置に送信し、また、他装置から同期データを受信すると、更新データを抽出して前記ファイルを更新し、
前記監視処理において、1)同期データの送信を前記制御手段経由で検出すると、保持している通信データを破棄し、また、2)所定期間以上同期データの送出を検出しないと、前記業務処理における同期データの送信に失敗したと判断して、保持している通信データを他装置に送信する、請求項5の同期処理方法。
In the business process, the synchronization data including the update data obtained in the immediately preceding period is transmitted to another device every predetermined period. When the synchronization data is received from the other device, the update data is extracted and the file is extracted. Update
In the monitoring process, 1) if transmission of synchronous data is detected via the control means, the communication data held is discarded, and 2) if transmission of synchronous data is not detected for a predetermined period or longer, The synchronization processing method according to claim 5, wherein it is determined that the transmission of the synchronization data has failed, and the held communication data is transmitted to another device.
仮想計算機によって実行されて、端末装置から受信した通信データから更新データを抽出して、ファイルを更新するとともに、更新データを含む同期データを他装置に送信する業務処理を実行する業務処理プログラムと、
前記仮想計算機を実行するコンピュータにより前記仮想計算機外で実行され、1)前記業務処理において端末装置から受信する通信データを、前記仮想計算機を実行させる制御手段から取得して保持し、前記業務処理における同期データの送信失敗を検出すると、保持している通信データを他装置に送信し、また、2)他装置が保持していた通信データを受信すると更新データを抽出して、前記ファイルを更新する監視処理を実行する監視プログラムとを、包含する同期処理プログラム。
A business processing program that is executed by the virtual machine, extracts update data from the communication data received from the terminal device, updates the file, and executes business processing for transmitting synchronous data including the update data to another device;
It is executed outside the virtual machine by a computer that executes the virtual machine, and 1) acquires and holds communication data received from a terminal device in the business process from a control unit that executes the virtual machine. When the transmission failure of the synchronous data is detected, the communication data held is transmitted to the other device. 2) When the communication data held by the other device is received, the update data is extracted and the file is updated. A synchronization processing program including a monitoring program for executing the monitoring processing.
前記業務処理プログラムは、前記仮想計算機に、所定期間ごとに、直前の期間内に得られた更新データを含む同期データを他装置に送信し、また、他装置から同期データを受信すると、更新データを抽出して前記ファイルを更新する前記業務処理を実行させ、
前記監視プログラムは、前記コンピュータに、1)同期データの送信を前記制御手段経由で検出すると、保持している通信データを破棄し、また、2)所定期間以上同期データの送出を検出しないと、前記業務処理における同期データの送信に失敗したと判断して、保持している通信データを他装置に送信する前記監視処理を実行させる、請求項7の同期処理プログラム。
When the business processing program transmits, to the virtual machine, synchronous data including update data obtained in the immediately preceding period to another device every predetermined period, and when receiving synchronous data from the other device, the update data And execute the business process to update the file,
When the monitoring program detects to the computer 1) transmission of synchronization data via the control means, the communication data held is discarded, and 2) if transmission of synchronization data is not detected for a predetermined period or longer, The synchronization processing program according to claim 7, wherein it is determined that transmission of synchronization data in the business process has failed, and the monitoring process for transmitting the held communication data to another apparatus is executed.
JP2014238828A 2014-11-26 2014-11-26 Synchronization processing apparatus, synchronization processing system, synchronization processing method, and synchronization processing program Active JP6384289B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014238828A JP6384289B2 (en) 2014-11-26 2014-11-26 Synchronization processing apparatus, synchronization processing system, synchronization processing method, and synchronization processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014238828A JP6384289B2 (en) 2014-11-26 2014-11-26 Synchronization processing apparatus, synchronization processing system, synchronization processing method, and synchronization processing program

Publications (2)

Publication Number Publication Date
JP2016099946A JP2016099946A (en) 2016-05-30
JP6384289B2 true JP6384289B2 (en) 2018-09-05

Family

ID=56077910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014238828A Active JP6384289B2 (en) 2014-11-26 2014-11-26 Synchronization processing apparatus, synchronization processing system, synchronization processing method, and synchronization processing program

Country Status (1)

Country Link
JP (1) JP6384289B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7307617B2 (en) * 2019-07-17 2023-07-12 株式会社京三製作所 Mobile IP system and home agent redundancy control method
JP7223912B1 (en) * 2022-11-25 2023-02-16 株式会社インターネットイニシアティブ Communication control device and communication control method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001154897A (en) * 1999-11-25 2001-06-08 Nec Corp Data base system and data base updating method
JP2007241323A (en) * 2004-05-11 2007-09-20 Nippon Telegr & Teleph Corp <Ntt> Multiplex database system and its data synchronization method, mediation device, mediation program, database server and database server program
US20070094659A1 (en) * 2005-07-18 2007-04-26 Dell Products L.P. System and method for recovering from a failure of a virtual machine
JP4744480B2 (en) * 2007-05-30 2011-08-10 株式会社日立製作所 Virtual computer system
JP5125757B2 (en) * 2008-05-15 2013-01-23 日本電気株式会社 Information communication system, subscriber information management apparatus, subscriber information management method and program
JPWO2012108015A1 (en) * 2011-02-09 2014-07-03 富士通株式会社 Data synchronization method, data synchronization program, and data synchronization control device
US20150317175A1 (en) * 2012-11-19 2015-11-05 Hitachi Systems, Ltd. Virtual machine synchronization system

Also Published As

Publication number Publication date
JP2016099946A (en) 2016-05-30

Similar Documents

Publication Publication Date Title
CN106331098B (en) Server cluster system
US9529683B2 (en) Method, system, and apparatus for cloud application redundancy
US9430266B2 (en) Activating a subphysical driver on failure of hypervisor for operating an I/O device shared by hypervisor and guest OS and virtual computer system
US20120151084A1 (en) Asynchronous virtual machine replication
US9992058B2 (en) Redundant storage solution
CN105812169B (en) A kind of switch between master and slave machines method and device
EP3280094A1 (en) Disaster recovery method, device, and system
CN104239120A (en) State information synchronization method, state information synchronization device and state information synchronization system for virtual machine
JP2017536624A (en) Snapshot processing methods and associated devices
US20150277958A1 (en) Management device, information processing system, and management program
JP6384289B2 (en) Synchronization processing apparatus, synchronization processing system, synchronization processing method, and synchronization processing program
WO2018000195A1 (en) Packet transmission method, virtual switch, and server
US20150242236A1 (en) Operation verification device for virtual apparatus, and operation verification system and program for virtual apparatus
CN104935614B (en) Data transmission method and device
EP3355181B1 (en) Method and apparatus for responding to request based on node controller
CN111416851A (en) Method for session synchronization among multiple load balancers and load balancer
CN109428821B (en) Server, method for managing routing of mutual backup device and storage medium
CN106803804B (en) Method and device for transmitting message
CN104486215A (en) Message transmitting method and equipment
JP2011182115A (en) Communication method, communication system and server
CN116010307A (en) Server resource allocation system, method and device
JP2012070293A (en) Duplex communication method and device with high reliability
JP2018010441A (en) Log collection system, log collection server, and log collection method
WO2020244067A1 (en) Fault detection method and related device
CN104796228B (en) A kind of method, apparatus and system of information transmission

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171016

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180619

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: 20180710

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180723

R150 Certificate of patent or registration of utility model

Ref document number: 6384289

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150