TWM530997U - Financial system and financial server - Google Patents

Financial system and financial server Download PDF

Info

Publication number
TWM530997U
TWM530997U TW105208941U TW105208941U TWM530997U TW M530997 U TWM530997 U TW M530997U TW 105208941 U TW105208941 U TW 105208941U TW 105208941 U TW105208941 U TW 105208941U TW M530997 U TWM530997 U TW M530997U
Authority
TW
Taiwan
Prior art keywords
financial
server
contracts
module
contract
Prior art date
Application number
TW105208941U
Other languages
Chinese (zh)
Inventor
柯光隆
莊淑儀
Original Assignee
國泰人壽保險股份有限公司
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 國泰人壽保險股份有限公司 filed Critical 國泰人壽保險股份有限公司
Priority to TW105208941U priority Critical patent/TWM530997U/en
Publication of TWM530997U publication Critical patent/TWM530997U/en

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A financial system is disclosed. Financial system includes a first server and a second server. First server includes a plurality of first financial contracts. Second server includes a plurality of second financial contracts, which are synchronous backups of the plurality of the first financial contracts. When the first server receives a write-in request about one of the first financial contracts, a lock module of the second server locks a corresponding one of the second financial contracts to refuse another write-in request. When the first server completes the write-in of the one of the first financial contracts, a synchronous module of the second server synchronizes the corresponding one of the second financial contracts with the complete written-in one of the first financial contracts. After synchronization completes, an unlock module of the second server unlocks the corresponding one of the second financial contracts.

Description

金融伺服系統及金融伺服器 Financial servo system and financial server

本揭露文件係關於一種伺服系統,特別係關於一種金融伺服系統。 The present disclosure relates to a servo system, and more particularly to a financial servo system.

傳統資料庫雙中心架構中,第二中心多作為備援之用途。為了發揮雙中心架構最大的效益,企業或使用者將希望同時使用各資料庫進行分散作業。而為了達成此目的,系統勢必得隨時進行各資料庫之同步作業以減少各個資料庫彼此間資料的落差。然而,同步過程往往存在有時間差,此時間差將導致各資料庫之資訊不對等的問題發生。而將資料庫雙中心架構運用於金融交易中,各資料庫中資料的落差可能造成企業或客戶財務上的損失。 In the traditional database dual-center architecture, the second center is mostly used for backup purposes. In order to maximize the benefits of the dual-center architecture, companies or users will want to use each database for decentralized operations. In order to achieve this goal, the system is bound to synchronize the data base at any time to reduce the gap between the data of each database. However, there is often a time lag between the synchronization processes, which will result in unequal information in each database. The application of the database dual-center architecture to financial transactions, the gap in the data in each database may cause financial losses for enterprises or customers.

本揭露文件係揭露一種金融伺服系統,可用於寫入並儲存多種金融交易契約,其中金融交易契約可例如為人壽保險、保單借款、保單理賠、生存給付、保單變更、金融期貨等。本揭露文件揭露之金融伺服系統可避免各伺服器 發生資訊不對等之問題。 The disclosure discloses a financial servo system that can be used to write and store a plurality of financial transaction contracts, such as life insurance, policy loans, policy claims, survival payments, policy changes, financial futures, and the like. The financial servo system disclosed in the disclosure can avoid each server There is a problem with information that is not equal.

在本揭露文件之一實施例中,金融伺服系統包含第一伺服器及第二伺服器。第一伺服器包含第一儲存模組、第一上鎖模組、第一同步模組以及第一解鎖模組,其中第一儲存模組儲存有複數筆第一金融契約。第二伺服器包含第二儲存模組、第二上鎖模組、第二同步模組以及第二解鎖模組,其中第二儲存模組儲存有與此複數筆第一金融契約同步備份的複數筆第二金融契約。第二同步模組與第一同步模組連線。當第一伺服器接收到對其中一筆第一金融契約的一寫入請求時,第二上鎖模組將相對應的其中一筆第二金融契約上鎖以拒絕另一寫入請求。當第一伺服器完成對此筆第一金融契約的寫入時,第二同步模組將相對應的其中一筆第二金融契約與寫入完成後的此筆第一金融契約同步。當同步完成時,第二解鎖模組將相對應的其中一筆第二金融契約解鎖。 In an embodiment of the disclosure, the financial servo system includes a first server and a second server. The first server includes a first storage module, a first locking module, a first synchronization module, and a first unlocking module, wherein the first storage module stores a plurality of first financial contracts. The second server includes a second storage module, a second locking module, a second synchronization module, and a second unlocking module, wherein the second storage module stores a plurality of copies synchronized with the first financial contract of the plurality of pens Pen second financial contract. The second synchronization module is connected to the first synchronization module. When the first server receives a write request for one of the first financial contracts, the second lock module locks one of the corresponding second financial contracts to reject another write request. When the first server completes writing the first financial contract, the second synchronization module synchronizes one of the corresponding second financial contracts with the first financial contract after the writing is completed. When the synchronization is completed, the second unlocking module unlocks one of the corresponding second financial contracts.

在本揭露文件之一技術態樣中提出一種金融伺服器。金融伺服器包含儲存模組、上鎖模組、同步模組及解鎖模組。儲存模組儲存有複數筆第二金融契約。第二金融契約用以同步備份另一伺服器上的複數筆第一金融契約。當其中一筆第一金融契約接收一寫入請求時,上鎖模組將相對應此筆第一金融契約的其中一筆第二金融契約上鎖以拒絕另一寫入請求。當此筆第一金融契約寫入完成時,同步模組將相對應的此筆第二金融契約與寫入完成後的第一金融契約同步。當同步完成時,解鎖模組將此筆第二金融契約解鎖。 A financial server is proposed in one of the technical aspects of the disclosure. The financial server includes a storage module, a locking module, a synchronization module, and an unlocking module. The storage module stores a plurality of second financial contracts. The second financial contract is used to synchronously back up the plurality of first financial contracts on another server. When one of the first financial contracts receives a write request, the locking module locks one of the second financial contracts corresponding to the first financial contract to reject another write request. When the first financial contract is written, the synchronization module synchronizes the corresponding second financial contract with the first financial contract after the completion of writing. When the synchronization is completed, the unlocking module unlocks the second financial contract.

100‧‧‧金融伺服系統 100‧‧‧Financial Servo System

110a‧‧‧第一伺服器 110a‧‧‧First server

110b‧‧‧第二伺服器 110b‧‧‧Second server

120a、120b‧‧‧輸入界面 120a, 120b‧‧‧ input interface

130a、130b‧‧‧儲存模組 130a, 130b‧‧‧ storage module

140a、140b‧‧‧上鎖模組 140a, 140b‧‧‧Locking module

150a、150b‧‧‧解鎖模組 150a, 150b‧‧‧ unlocking module

160a、160b‧‧‧同步模組 160a, 160b‧‧‧ Synchronous Module

300、400、500‧‧‧流程圖 300, 400, 500‧‧‧ flow chart

S310、S320、S330、S340‧‧‧步驟 S310, S320, S330, S340‧‧‧ steps

S410、S420、S430、S440‧‧‧步驟 S410, S420, S430, S440‧‧ steps

P510、P520、P530、P540、P550、P560‧‧‧過程 P510, P520, P530, P540, P550, P560‧‧‧ Process

A1~An、B1~Bn‧‧‧金融契約 A1~An, B1~Bn‧‧‧ financial contract

第1圖為本揭露文件之一實施例之金融伺服系統架構。 Figure 1 is a diagram of a financial servo system architecture in accordance with one embodiment of the disclosed document.

第2圖為本揭露文件之一實施例之金融伺服系統中儲存模組儲存之資料示意圖。 FIG. 2 is a schematic diagram of data stored in a storage module of a financial servo system according to an embodiment of the disclosure.

第3圖為本揭露文件之一實施例之一金融伺服器運作流程圖。 Figure 3 is a flow chart showing the operation of a financial server in one embodiment of the present disclosure.

第4圖為本揭露文件之一實施例之一金融伺服器運作流程圖。 Figure 4 is a flow chart showing the operation of a financial server in one embodiment of the present disclosure.

第5圖為本揭露文件之一實施例之一金融伺服系統於異常發生時之運作流程圖。 Figure 5 is a flow chart showing the operation of the financial servo system in the case of an abnormality in one embodiment of the disclosed document.

下文係舉實施例配合所附圖式作詳細說明,但所描述的具體實施例僅僅用以解釋本新型,並不用來限定本新型,而結構操作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本新型揭示內容所涵蓋的範圍。 The embodiments are described in detail below with reference to the drawings, but the specific embodiments described are only used to explain the present invention, and are not intended to limit the present invention, and the description of structural operations is not intended to limit the order of execution thereof. The device that is recombined by the components and produces equal devices is the scope covered by the novel disclosure.

請參閱第1圖,其繪示本揭露文件之一實施例之金融伺服系統100架構。金融伺服系統100包含有第一伺服器110a及第二伺服器110b。其中第一伺服器110a具有輸入界面120a、儲存模組130a、上鎖模組140a、解鎖模組150a及同步模組160a,而第二伺服器110b具有輸入界面120b、 儲存模組130b、上鎖模組140b、解鎖模組150b及同步模組160b。同步模組160a與同步模組160b連線以進行第一伺服器110a與第二伺服器110b之間資料的雙向傳輸。 Please refer to FIG. 1 , which illustrates the architecture of a financial servo system 100 in one embodiment of the disclosed document. The financial servo system 100 includes a first server 110a and a second server 110b. The first server 110a has an input interface 120a, a storage module 130a, a locking module 140a, an unlocking module 150a, and a synchronization module 160a, and the second server 110b has an input interface 120b. The storage module 130b, the locking module 140b, the unlocking module 150b, and the synchronization module 160b. The synchronization module 160a is connected to the synchronization module 160b to perform bidirectional transmission of data between the first server 110a and the second server 110b.

請一併參閱第2圖,第2圖繪示第1圖之金融伺服系統100中儲存模組130a及130b所儲存之資料的示意圖。其中,金融伺服系統100中第一伺服器110a之儲存模組130a儲存有複數筆金融契約A1~An,而第二伺服器110b之儲存模組130b儲存有依序相對應於儲存模組130a所儲存之複數筆金融契約A1~An之同步備份的複數筆金融契約B1~Bn。 Please refer to FIG. 2 together. FIG. 2 is a schematic diagram showing the data stored in the storage modules 130a and 130b in the financial servo system 100 of FIG. The storage module 130a of the first server 110a of the financial server system 100 stores a plurality of financial contracts A1~An, and the storage module 130b of the second server 110b stores the corresponding storage modules 130a. A plurality of financial contracts B1~Bn that are stored in a synchronized financial contract A1~An.

在本揭露文件之一實施例中,當使用者於第一伺服器110a之輸入界面120a輸入針對儲存模組130a中的一金融契約之寫入請求(例如契約內容之存取或變更的請求)時,第一伺服器110a將傳送第一伺服器110a已接收此寫入請求之通知至第二伺服器110b。當第二伺服器110b接收到此通知後,上鎖模組140b將儲存模組130b中相對應的金融契約上鎖,以拒絕於第二伺服器110b之輸入界面120b輸入之針對此相對應的金融契約的寫入請求。 In an embodiment of the present disclosure, when the user inputs a write request for a financial contract in the storage module 130a (for example, a request for access or change of the contract content) on the input interface 120a of the first server 110a. At this time, the first server 110a will transmit a notification that the first server 110a has received the write request to the second server 110b. After the second server 110b receives the notification, the locking module 140b locks the corresponding financial contract in the storage module 130b to reject the input corresponding to the input interface 120b of the second server 110b. A write request for a financial contract.

接著,第一伺服器110a開始處理寫入過程。當寫入完成時,第一伺服器110a將發送寫入已完成的通知給第二伺服器110b。於第二伺服器110b接收到寫入已完成之通知後,同步模組160b開始將儲存模組130b中此相對應的金融契約與儲存模組130a中寫入完成後的金融契約同步備份。於同步備份完成後,第二伺服器110b之解鎖模組150b 將儲存模組130b中此相對應的金融契約解鎖。於解鎖後,第二伺服器110b將可重新開始接受針對此相對應的金融契約的寫入請求。 Next, the first server 110a starts processing the write process. When the writing is completed, the first server 110a will send a notification that the writing has been completed to the second server 110b. After the second server 110b receives the notification that the writing has been completed, the synchronization module 160b starts to synchronize the corresponding financial contract in the storage module 130b with the financial contract written in the storage module 130a. After the synchronous backup is completed, the unlocking module 150b of the second server 110b The corresponding financial contract in the storage module 130b is unlocked. After unlocking, the second server 110b will resume accepting write requests for this corresponding financial contract.

舉例來說,當第一伺服器110a之輸入界面120a接收到針對金融契約A1之寫入請求時,第一伺服器110a將通知第二伺服器110b。而當第二伺服器110b接收到此通知後,上鎖模組140b會將儲存模組130b中相對應於金融契約A1的金融契約B1上鎖。此時,若一使用者欲於第二伺服器110b進行對金融契約B1的寫入,第二伺服器110b將拒絕此寫入請求。接者,當第二伺服器110b接收到針對金融契約A1的寫入已完成的通知後,同步模組160b將金融契約B1與寫入完成後的金融契約A1同步。而解鎖模組150b將於同步完成後將金融契約B1解鎖。此時,使用者才能開始於第二伺服器110b進行對金融契約B1的寫入。 For example, when the input interface 120a of the first server 110a receives a write request for the financial contract A1, the first server 110a will notify the second server 110b. When the second server 110b receives the notification, the locking module 140b locks the financial contract B1 corresponding to the financial contract A1 in the storage module 130b. At this time, if a user wants to write the financial contract B1 to the second server 110b, the second server 110b will reject the write request. Then, when the second server 110b receives the notification that the writing of the financial contract A1 has been completed, the synchronization module 160b synchronizes the financial contract B1 with the financial contract A1 after the writing is completed. The unlocking module 150b will unlock the financial contract B1 after the synchronization is completed. At this time, the user can start writing to the financial contract B1 at the second server 110b.

此外,當第一伺服器110a之輸入界面120a接收到針對金融契約A1~An之其中一筆的寫入請求時,上鎖模組140a亦可將此其中一筆金融契約上鎖,以拒絕於輸入界面120a輸入之針對此其中一筆金融契約的另一寫入請求。待寫入完成時,解鎖模組150a才將此其中一筆金融契約解鎖。之後,使用者才能再次輸入針對此其中一筆金融契約的另一寫入請求。 In addition, when the input interface 120a of the first server 110a receives a write request for one of the financial contracts A1~An, the locking module 140a may also lock one of the financial contracts to reject the input interface. 120a enters another write request for one of the financial contracts. When the writing is completed, the unlocking module 150a unlocks one of the financial contracts. After that, the user can enter another write request for one of the financial contracts again.

應注意的是,使用者亦可於第二伺服器110b之輸入界面120b處請求及執行針對金融契約B1~Bn其中一筆金融契約的寫入。此時,第一伺服器110a將金融契約A1~An 中相對應於此其中一筆金融契約的金融契約上鎖,並於寫入完成後進行資料之同步及解鎖。亦即,第一伺服器110a、第二伺服器110b皆是可同時作業或互相支援之伺服器。搭配本揭露文件揭示之上鎖機制,可實現無資訊落差之雙中心系統。 It should be noted that the user can also request and execute the writing of one of the financial contracts B1~Bn at the input interface 120b of the second server 110b. At this time, the first server 110a will financial contract A1~An The financial contract corresponding to one of the financial contracts is locked, and the data is synchronized and unlocked after the writing is completed. That is, the first server 110a and the second server 110b are all servers that can work simultaneously or support each other. In conjunction with the disclosure document, the above-mentioned lock mechanism is disclosed, and a dual-center system without information gap can be realized.

於本揭露文件之一實施例中,雙中心架構之運作流程可分別如第3圖及第4圖所示。第3圖繪示本揭露文件之一實施例之第一伺服器110a運作流程圖300。步驟S310中,第一伺服器110a可於接收到針對其中一筆金融契約(例如A1~An其中一者)的寫入請求時,產生指示此筆金融契約之寫入開始的第一時間戳記T1,並將此第一時間戳記T1發送給第二伺服器110b。於步驟S320中,此其中一筆金融契約將被上鎖以拒絕另一寫入請求。於步驟S330,於第一伺服器110a中針對金融契約的寫入完成時,第一伺服器110a產生指示寫入完成之第二時間戳記T2,並將此第二時間戳記T2發送給第二伺服器110b。而於步驟S340,將此其中一筆金融契約解鎖。 In one embodiment of the present disclosure, the operational flow of the dual-center architecture can be as shown in FIGS. 3 and 4, respectively. FIG. 3 is a flow chart 300 showing the operation of the first server 110a in one embodiment of the disclosed document. In step S310, the first server 110a may generate a first timestamp T1 indicating the start of writing of the financial contract when receiving a write request for one of the financial contracts (for example, one of A1~An). And transmitting the first time stamp T1 to the second server 110b. In step S320, one of the financial contracts will be locked to reject another write request. In step S330, when the writing to the financial contract is completed in the first server 110a, the first server 110a generates a second time stamp T2 indicating that the writing is completed, and transmits the second time stamp T2 to the second servo. The device 110b. In step S340, one of the financial contracts is unlocked.

第4圖繪示本揭露文件之一實施例之第二伺服器110b運作流程圖400。步驟S410中,第二伺服器110b於接收到來自第一伺服器110a之第一時間戳記T1後,將第一伺服器110a中請求寫入之其中一筆金融契約的相對應金融契約(例如B1~Bn中相對應的一者)上鎖。於步驟S420,第二伺服器110b於接收到來自第一伺服器110a之第二時間戳記T2後,將此相對應的金融契約與第一伺服器110a中寫入 完成之金融契約同步。接著,於步驟S430中,當同步完成後,第二伺服器110b將產生指示同步完成之第三時間戳記T3。於步驟S440中,第二伺服器110b將此同步完成之相對應的金融契約解鎖。 FIG. 4 is a flow chart 400 showing the operation of the second server 110b in one embodiment of the disclosed document. In step S410, after receiving the first time stamp T1 from the first server 110a, the second server 110b writes the corresponding financial contract of one of the financial contracts requested by the first server 110a (for example, B1~ The corresponding one of Bn is locked. In step S420, after receiving the second time stamp T2 from the first server 110a, the second server 110b writes the corresponding financial contract with the first server 110a. The completed financial contract is synchronized. Next, in step S430, when the synchronization is completed, the second server 110b will generate a third time stamp T3 indicating that the synchronization is completed. In step S440, the second server 110b unlocks the corresponding financial contract that is synchronized.

為使解釋更清楚明瞭,下文係以第一伺服器110a接收到針對金融契約A1之寫入請求為例。請參照以下表一: 其中表中T1、T2、T3依序所指為第一時間戳記、第二時間戳記及第三時間戳記,而字元”o”表示時間戳記之存在。當第一伺服器110a和第二伺服器110b中未有任何時間戳記時,第一伺服器110a和第二伺服器110b皆可接受對任何金融契約的寫入請求。當第一伺服器110a接收到針對金融契約A1之寫入請求時,第一時間戳記T1被產生。當表示接收金融契約A1之寫入請求的第一時間戳記T1存在時,第一伺服器110a將拒絕針對金融契約A1的另一寫入請求。同時,第二伺服器110b亦無法接受針對金融契約B1(相對應於A1)的寫入請求。 In order to make the explanation clearer, the following is an example in which the first server 110a receives a write request for the financial contract A1. Please refer to the following table 1: In the table, T1, T2, and T3 are sequentially referred to as a first timestamp, a second timestamp, and a third timestamp, and the character "o" indicates the existence of a timestamp. When there is no time stamp in the first server 110a and the second server 110b, both the first server 110a and the second server 110b can accept write requests for any financial contract. When the first server 110a receives the write request for the financial contract A1, the first time stamp T1 is generated. When the first time stamp T1 indicating that the write request of the financial contract A1 is received exists, the first server 110a will reject another write request for the financial contract A1. At the same time, the second server 110b is also unable to accept a write request for the financial contract B1 (corresponding to A1).

當表示針對金融契約A1之寫入完成的第二時 間戳記T2產生後,第一伺服器110a即可開始接收針對金融契約A1的另一寫入請求。然而,因第二伺服器110b中金融契約B1尚未與新寫入之金融契約A1作同步,故仍無法接受針對金融契約B1的寫入請求。待同步完成後,第三時間戳記T3將被產生,第二伺服器110b則可開始接收針對金融契約B1的寫入請求。 When indicating the second time for the completion of the writing of the financial contract A1 After the interstitial stamp T2 is generated, the first server 110a can begin receiving another write request for the financial contract A1. However, since the financial contract B1 in the second server 110b has not been synchronized with the newly written financial contract A1, the write request for the financial contract B1 cannot be accepted. After the synchronization is completed, the third time stamp T3 will be generated, and the second server 110b may start receiving the write request for the financial contract B1.

簡單來說,對接收針對一筆金融契約的寫入請求之第一伺服器110a來說,只要第一時間戳記T1及第二時間戳記T2存在,即可繼續接收針對同一筆金融契約之另一寫入請求。而對第二伺服器110b來說,只有當第一時間戳記T1、第二時間戳記T2及第三時間戳記T3皆存在時,才能繼續接收針對相對應之金融契約的寫入請求。 Briefly, for the first server 110a that receives the write request for a financial contract, as long as the first timestamp T1 and the second timestamp T2 exist, it can continue to receive another write for the same financial contract. Into the request. For the second server 110b, the write request for the corresponding financial contract can continue to be received only when the first timestamp T1, the second timestamp T2, and the third timestamp T3 are present.

在本揭露文件之一技術態樣中,金融伺服系統100更可包括一第三伺服器或更多伺服器,以同時進行更大規模的分散作業。舉例來說,當第一伺服器接收到針對金融契約之寫入請求時,第二伺服器、第三伺服器或其餘伺服器則將其各自相對應之金融契約上鎖,並於第一伺服器對此金融契約之寫入完成後,進行各自相對應之金融契約與第一伺服器之寫入完成的金融契約作同步。亦即是說,本揭露內容並不以兩個伺服器為限,更可依實際需求增加伺服器之數量。 In one aspect of the disclosure, the financial servo system 100 may further include a third server or more servers to perform larger-scale distributed operations at the same time. For example, when the first server receives the write request for the financial contract, the second server, the third server or the remaining servers lock their respective corresponding financial contracts, and the first servo After the completion of the writing of the financial contract, the financial contract corresponding to the first server is synchronized with the financial contract of the first server. That is to say, the content of the disclosure is not limited to two servers, and the number of servers can be increased according to actual needs.

在本揭露文件之又一技術態樣中,當金融伺服系統中一伺服器發生異常時,金融伺服系統之運作機制於本文揭露。參閱第5圖,第5圖繪示本揭露文件之一實施例之 金融伺服系統100於異常發生時之運作流程圖500。舉例而言,金融伺服系統100包含第一伺服器110a及第二伺服器110b。此處係以第二伺服器110b發生故障或異常為例作說明。於過程P510中,第二伺服器110b發生故障或異常。而於過程P520,金融伺服系統100將第二伺服器110b中之金融契約B1~Bn上鎖,並將進一步寫入或存取操作導至第一伺服器110a,以使服務能持續不間斷。 In another technical aspect of the disclosure document, when an abnormality occurs in a server in the financial servo system, the operation mechanism of the financial servo system is disclosed herein. Referring to FIG. 5, FIG. 5 illustrates an embodiment of the disclosed document. The operational flow diagram 500 of the financial servo system 100 in the event of an anomaly. For example, the financial servo system 100 includes a first server 110a and a second server 110b. Here, the failure or abnormality of the second server 110b will be described as an example. In process P510, the second server 110b fails or is abnormal. In process P520, the financial servo system 100 locks the financial contracts B1~Bn in the second server 110b and directs further write or access operations to the first server 110a so that the service can continue uninterrupted.

於過程P530中,進行第二伺服器110b之故障或異常之排除或修復。於過程P540,當故障或異常排除後,金融伺服系統100將判斷於第二伺服器110b之故障或異常期間,第一伺服器110a是否有針對金融契約之寫入操作。若於第二伺服器110b之故障或異常期間無任何寫入操作,第二伺服器110b則可接受新的寫入請求(過程P560)。若於第二伺服器110b之故障或異常期間有寫入操作於第一伺服器110a中發生,則將過程導向過程P550,進行第二伺服器110b中相對應的金融契約與第一伺服器110a中受寫入後之金融契約的同步。待同步完成時,第二伺服器110b才可進入過程P560以開始接受新的寫入請求以恢復正常之雙中心系統運作。 In process P530, the failure or abnormality of the second server 110b is eliminated or repaired. In process P540, after the fault or abnormality is eliminated, the financial servo system 100 will determine whether the first server 110a has a write operation for the financial contract during the failure or abnormality of the second server 110b. If there is no write operation during the failure or abnormality of the second server 110b, the second server 110b can accept a new write request (process P560). If a write operation occurs in the first server 110a during the failure or abnormality of the second server 110b, the process is directed to the process P550, and the corresponding financial contract in the second server 110b is performed with the first server 110a. The synchronization of the financial contract after being written. When the synchronization is complete, the second server 110b can proceed to process P560 to begin accepting new write requests to resume normal dual center system operation.

雖然本新型之實施例已揭露如上,然其並非用以限定本新型,任何熟習此技藝者,在不脫離本新型之精神和範圍內,當可做些許之更動與潤飾,因此本新型之保護範圍當以後附之申請專利範圍所界定為準。 Although the embodiments of the present invention have been disclosed as above, it is not intended to limit the present invention. Any one skilled in the art can make some modifications and retouchings without departing from the spirit and scope of the present invention. The scope is defined as defined in the scope of the patent application.

100‧‧‧金融伺服系統 100‧‧‧Financial Servo System

110a‧‧‧第一伺服器 110a‧‧‧First server

110b‧‧‧第二伺服器 110b‧‧‧Second server

120a、120b‧‧‧輸入界面 120a, 120b‧‧‧ input interface

130a、130b‧‧‧儲存模組 130a, 130b‧‧‧ storage module

140a、140b‧‧‧上鎖模組 140a, 140b‧‧‧Locking module

150a、150b‧‧‧解鎖模組 150a, 150b‧‧‧ unlocking module

160a、160b‧‧‧同步模組 160a, 160b‧‧‧ Synchronous Module

Claims (10)

一種金融伺服系統,包含:一第一伺服器,包含一第一儲存模組、一第一上鎖模組、一第一同步模組以及一第一解鎖模組,該第一儲存模組儲存有複數筆第一金融契約;一第二伺服器,包含一第二儲存模組、一第二上鎖模組、一第二同步模組以及一第二解鎖模組,該第二儲存模組儲存有與該複數筆第一金融契約同步備份的複數筆第二金融契約,該第二同步模組與該第一同步模組連線;其中當該第一伺服器接收到對其中一筆第一金融契約的一寫入請求時,該第二上鎖模組將相對應的其中一筆第二金融契約上鎖以拒絕另一寫入請求;其中當該第一伺服器完成對該其中一筆第一金融契約的寫入時,該第二同步模組將該相對應的其中一筆第二金融契約與寫入完成後的該其中一筆第一金融契約同步;以及其中當該相對應的其中一筆第二金融契約同步完成時,第二解鎖模組將該相對應的其中一筆第二金融契約解鎖。 A financial servo system includes: a first server, a first storage module, a first locking module, a first synchronization module, and a first unlocking module, wherein the first storage module stores a first financial contract; a second server comprising a second storage module, a second locking module, a second synchronization module, and a second unlocking module, the second storage module Storing a plurality of second financial contracts synchronized with the first financial contract of the plurality of pens, wherein the second synchronization module is connected to the first synchronization module; wherein when the first server receives a pair of first When a write request of the financial contract is made, the second locking module locks one of the corresponding second financial contracts to reject another write request; wherein when the first server completes one of the first When the financial contract is written, the second synchronization module synchronizes one of the corresponding second financial contracts with the one of the first financial contracts after the writing is completed; and wherein the corresponding one of the second financial contracts When the financial contract is synchronized, Two modules to unlock the corresponding financial contract in which the sum of the second unlocked. 如請求項1所述之金融伺服系統,其中當該第一伺服器接收到對其中一筆第一金融契約的該寫入請求時,產生一第一時間戳記,該第二上鎖模組響應該第一時間戳記將相對應的其中一筆第二金融契約上鎖以拒絕另一寫入請求。 The financial servo system of claim 1, wherein when the first server receives the write request for one of the first financial contracts, a first time stamp is generated, and the second locking module responds to the The first timestamp locks one of the corresponding second financial contracts to reject another write request. 如請求項1所述之金融伺服系統,其中當該第一伺服器完成對該其中一筆第一金融契約的寫入時,產生一第二時間戳記,該第二同步模組響應該第二時間戳記將該相對應的其中一筆第二金融契約與寫入完成後的該其中一筆第一金融契約同步。 The financial server system of claim 1, wherein when the first server completes writing the first financial contract, a second time stamp is generated, and the second synchronization module responds to the second time. The stamp synchronizes one of the corresponding second financial contracts with the one of the first financial contracts after the completion of the writing. 如請求項1所述之金融伺服系統,其中當該相對應的其中一筆第二金融契約同步完成時,產生一第三時間戳記,第二解鎖模組響應該第三時間戳記將該相對應的其中一筆第二金融契約解鎖。 The financial server system of claim 1, wherein when the corresponding one of the second financial contracts is synchronized, a third time stamp is generated, and the second unlocking module responds to the third time stamp corresponding to the third time stamp. One of the second financial contracts is unlocked. 如請求項1所述之金融伺服系統,其中第一上鎖模組於該第一伺服器接收到對其中一筆第一金融契約的該寫入請求時,將該其中一筆第一金融契約上鎖以拒絕另一寫入請求。 The financial servo system of claim 1, wherein the first locking module locks one of the first financial contracts when the first server receives the writing request for one of the first financial contracts To reject another write request. 如請求項5所述之金融伺服系統,其中該第一解鎖模組於該第一伺服器完成對該其中一筆第一金融契約的寫入時,解鎖該其中一筆第一金融契約。 The financial server system of claim 5, wherein the first unlocking module unlocks one of the first financial contracts when the first server completes writing the one of the first financial contracts. 如請求項1所述之金融伺服系統,其中當該第二伺服器出現異常時,該第二上鎖模組將該複數筆第二金融契約上鎖以拒絕任何寫入請求。 The financial servo system of claim 1, wherein when the second server is abnormal, the second locking module locks the plurality of second financial contracts to reject any write request. 如請求項7所述之金融伺服系統,其中於該第二伺服器從異常恢復後,該第二同步模組依據於連線 異常期間所寫入之一或多筆第一金融契約,將相對應於該一或多筆第一金融契約之第二金融契約與寫入完成的該一或多筆第一金融契約同步。 The financial servo system of claim 7, wherein the second synchronization module is connected according to the connection after the second server recovers from the abnormality The one or more first financial contracts written during the abnormal period synchronize the second financial contract corresponding to the one or more first financial contracts with the one or more first financial contracts that are written. 一種金融伺服器,包含:一儲存模組,該儲存模組儲存有複數筆第二金融契約,該些第二金融契約用以同步備份另一伺服器上的複數筆第一金融契約;一上鎖模組,當其中一筆第一金融契約接收一寫入請求時,該上鎖模組將相對應該其中一筆第一金融契約的其中一筆第二金融契約上鎖以拒絕另一寫入請求;一同步模組,當該筆第一金融契約寫入完成時,該同步模組將該其中一筆第二金融契約與寫入完成後的該其中一筆第一金融契約同步;以及一解鎖模組,當該其中一筆第二金融契約同步完成時,該解鎖模組將該其中一筆第二金融契約解鎖。 A financial server includes: a storage module, the storage module stores a plurality of second financial contracts, and the second financial contract is used for synchronously backing up a plurality of first financial contracts on another server; The lock module, when one of the first financial contracts receives a write request, the lock module locks one of the second financial contracts corresponding to one of the first financial contracts to reject another write request; a synchronization module, when the first financial contract is written, the synchronization module synchronizes one of the second financial contracts with the one of the first financial contracts after the completion of writing; and an unlocking module When the second financial contract is completed synchronously, the unlocking module unlocks one of the second financial contracts. 如請求項9所述之金融伺服器,其中當該另一伺服器接收到對該其中一筆第一金融契約的該寫入請求時產生一第一時間戳記,該上鎖模組響應該第一時間戳記將該其中一筆第二金融契約上鎖以拒絕另一寫入請求。 The financial server of claim 9, wherein when the another server receives the write request for the first financial contract, the first time stamp is generated, and the locking module responds to the first The timestamp locks one of the second financial contracts to reject another write request.
TW105208941U 2016-06-15 2016-06-15 Financial system and financial server TWM530997U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105208941U TWM530997U (en) 2016-06-15 2016-06-15 Financial system and financial server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105208941U TWM530997U (en) 2016-06-15 2016-06-15 Financial system and financial server

Publications (1)

Publication Number Publication Date
TWM530997U true TWM530997U (en) 2016-10-21

Family

ID=57849990

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105208941U TWM530997U (en) 2016-06-15 2016-06-15 Financial system and financial server

Country Status (1)

Country Link
TW (1) TWM530997U (en)

Similar Documents

Publication Publication Date Title
EP2281240B1 (en) Maintaining data integrity in data servers across data centers
US9720954B2 (en) Systems, methods, and apparatuses for fixing logical or physical corruption in databases using LSM trees
TWI507899B (en) Database management systems and methods
US7536586B2 (en) System and method for the management of failure recovery in multiple-node shared-storage environments
CN102891849B (en) Service data synchronization method, data recovery method, data recovery device and network device
JP4791051B2 (en) Method, system, and computer program for system architecture for any number of backup components
US8190562B2 (en) Linking framework for information technology management
CN110569149B (en) Method for triggering Oracle disaster recovery automatic emergency switching based on fault detection
CN111753013B (en) Distributed transaction processing method and device
KR101993432B1 (en) Systems and methods for supporting transaction recovery based on a strict ordering of two-phase commit calls
CN110807064B (en) Data recovery device in RAC distributed database cluster system
US20110145204A1 (en) Transaction Recovery in a Transaction Processing Computer System Employing Multiple Transaction Managers
CN102710752B (en) Calamity is for storage system
CN101578586A (en) Using virtual copies in a failover and failback environment
US8527454B2 (en) Data replication using a shared resource
CN104994168A (en) distributed storage method and distributed storage system
CN108964986B (en) Application-level double-active disaster recovery system of cooperative office system
CN105975579A (en) Primary and backup copying method of memory database and memory database system
US20090132534A1 (en) Remote replication synchronizing/accessing system and method thereof
KR20160004721A (en) Method for Replicationing of Redo Log without Data Loss and System Thereof
TWI639125B (en) Financial system, financial server and synchronizing method
WO2017078158A1 (en) Data management system
TWM530997U (en) Financial system and financial server
JP2013114628A (en) Data management program, data management method and storage device
JP2015095015A (en) Data arrangement method, data arrangement program, and information processing system